/*
Theme Name: 123 Good Morning Quotes
Description: A beautiful WordPress theme for sharing inspirational quotes and images
Version: 1.0
Author: Gravity Digitals
License: GPL v2 or later
Text Domain: 123good-morning-images
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    font-size: 16px;
}

/* Remove any default margins that might cause gaps */
html, body {
    margin: 0;
    padding: 0;
}

#page {
    margin: 0;
    padding: 0;
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem /*
 * Custom CSS for Mobile Hamburger Menu Fix
 *
 * This code should be added to Appearance > Customize > Additional CSS.
 * Remember to replace the placeholder selectors with your actual theme's selectors.
 * Use your browser's developer tools (Inspect Element) to find the correct classes/IDs.
 */

/* Target screens smaller than 768px (common breakpoint for tablets/mobiles) */
@media (max-width: 768px) {

    /*
     * Make sure the header container uses flexbox for proper alignment
     * and keeps the title and hamburger on the same row.
     */
    .header-container { /* This is the container holding your site title and the nav-toggle */
        display: flex;
        justify-content: space-between; /* Pushes logo/title to one side, menu toggle to other */
        align-items: center; /* Vertically aligns items in the center */
        flex-wrap: nowrap; /* Prevent wrapping so they stay on one line */
        padding: 10px 20px; /* Add some padding to the header */
        flex-direction: row; /* Ensure they are in a row, overriding any column setting */
    }

    /*
     * Your .nav-toggle already has position: absolute, top, and right.
     * We just need to ensure its parent (.site-header) is positioned relative.
     * Your style.css already has .site-header { position: relative; }.
     * This section is mostly for verification or minor adjustments if needed.
     */
    .nav-toggle { /* This is your hamburger menu icon */
        display: flex; /* Ensure it's displayed on mobile */
        /* The existing styles from your style.css are good: */
        /* position: absolute; */
        /* top: 1rem; */
        /* right: 20px; */
        /* z-index: 1001; */
        /* If it's still not showing, check z-index or if another element is covering it */
    }

    /*
     * If the menu itself is showing, hide it by default on mobile
     * and only show it when the hamburger is clicked (handled by theme's JS).
     * Your theme's CSS already handles this with .nav-container { display: none; }
     * and .main-navigation.nav-open .nav-container { display: block; }.
     * This is just to confirm.
     */
    .main-navigation .nav-container { /* This is the container for your actual menu links */
        /* Your theme already sets display: none; by default and display: block; on .nav-open */
        /* Ensure its position relative to the .main-navigation is correct if it's not appearing */
        position: absolute;
        top: 100%; /* Position it right below the .main-navigation element */
        left: 0;
        right: 0;
        background: white; /* Ensure it has a background when open */
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 999; /* Ensure it's above other content when open, but below the toggle */
        width: 100%; /* Make it full width when it does appear */
    }

    /* Adjust logo size on mobile if it's too big */
    .site-title { /* Targeting the title directly if it's too large */
        font-size: 1.5rem; /* Adjust font size for mobile */
        margin-right: auto; /* Pushes the title to the left, and the nav-toggle to the right */
        text-align: left; /* Align text to the left within its flex item */
    }

    /* Ensure the site-logo img also scales correctly if you use an image logo */
    .site-logo img {
        max-height: 40px; /* Adjust as needed */
        width: auto;
    }
}

/* Responsive Design - Mobile (480px and below) - Refinements */
@media (max-width: 480px) {
    .header-container {
        padding: 10px 15px; /* Slightly less padding on very small screens */
    }

    .site-title {
        font-size: 1.3rem; /* Further reduce font size for very small screens */
    }

    .nav-toggle {
        top: 0.8rem; /* Adjust top position for smaller screens */
        right: 15px; /* Adjust right position for smaller screens */
    }
}

/* You might also need to adjust styles for larger screens if they are affecting mobile */
/* For example, if a desktop-only float is causing issues */
/*
.your-desktop-menu-item {
    float: none !important;
}
*/
0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 0;
    position: relative;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
    margin: 0;
}

.site-title a {
    color: white;
    text-decoration: none;
}

/* Logo Image Support */
.site-logo {
    max-height: 60px;
    width: auto;
    display: block;
}

.site-logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

.site-description {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* Navigation */
.main-navigation {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    margin: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 1rem 0;
    display: block;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #667eea;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    top: 1rem;
    right: 20px;
    z-index: 1001;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
    display: block;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Main Content */
.site-main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

/* Content Area */
.content-area {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.entry-header {
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.entry-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.entry-title a {
    color: white;
    text-decoration: none;
}

.entry-meta {
    opacity: 0.9;
    font-size: 0.9rem;
}

.entry-content {
    padding: 2rem;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Quote of the Day */
.quote-of-the-day {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.quote-of-the-day h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.quote-text {
    font-size: 1.2rem;
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
}

.quote-author {
    font-weight: bold;
    color: #667eea;
}

/* Sidebar */
.widget-area {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1.5rem;
    position: static !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Sidebar area visual fill and separation */
.widget-area {
    background: #f8f9fa;
    border-left: 2px solid #e0e7ef;
    min-height: 100vh;
}

@media (max-width: 1024px) {
    .widget-area {
        border-left: none;
        min-height: auto;
        background: transparent;
    }
}

.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.widget a:hover {
    color: #667eea;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.search-form button {
    padding: 0.5rem 1rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-form button:hover {
    background: #5a6fd8;
}

/* Footer */
.site-footer {
    background: #333;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-widget h3 {
    margin-bottom: 1rem;
    color: #667eea;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 0.5rem;
}

.footer-widget a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    margin-top: 2rem;
}

/* Image Gallery Styles */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.gallery-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-caption {
    padding: 1rem;
    text-align: center;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    padding: 0.5rem 1rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #5a6fd8;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s ease;
    margin-top: 1rem;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Post Navigation */
.post-navigation {
    margin: 2rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-previous a,
.nav-next a {
    display: block;
    padding: 1rem;
    background: white;
    text-decoration: none;
    color: #333;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: #667eea;
    color: white;
}

/* Enhanced Social Sharing */
.social-share {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.social-share h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.social-share-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-share-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-share-links a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-share-links a::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.1rem;
}

.social-share-links a[href*="facebook"]::before {
    content: "\f39e";
}

.social-share-links a[href*="twitter"]::before {
    content: "\f099";
}

.social-share-links a[href*="pinterest"]::before {
    content: "\f0d2";
}

/* Enhanced Comments Area */
.comments-area {
    margin-top: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.comments-title {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
    position: relative;
}

.comments-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.comment-list {
    list-style: none;
    margin-bottom: 2rem;
}

.comment-list li {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #667eea;
}

.comment-author {
    font-weight: bold;
    color: #667eea;
    font-size: 1.1rem;
}

.comment-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.comment-content {
    margin-top: 1rem;
    line-height: 1.6;
}

/* Comment Form */
.comment-respond {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.comment-reply-title {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.comment-form {
    display: grid;
    gap: 1.5rem;
}

.comment-form p {
    margin: 0;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #f8f9fa;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-form .submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.comment-form .submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Search Form Focus */
.search-form.focused {
    transform: scale(1.02);
}

/* Quote Author Display */
.quote-author {
    font-style: italic;
    color: #667eea;
    font-weight: bold;
}

/* Post Type Badge */
.post-type {
    background: #667eea;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Error Pages */
.error-404,
.no-results,
.no-posts {
    text-align: center;
    padding: 2rem;
}

.error-actions {
    margin: 2rem 0;
}

.error-suggestions {
    text-align: left;
    margin: 2rem 0;
}

.error-suggestions ul {
    list-style: none;
    padding: 0;
}

.error-suggestions li {
    margin-bottom: 0.5rem;
}

.error-suggestions a {
    color: #667eea;
    text-decoration: none;
}

.error-suggestions a:hover {
    text-decoration: underline;
}

/* Responsive Design - Tablet (768px and below) */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    .site-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 1rem auto;
        padding: 0 15px;
    }
    
    .header-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .site-title {
        font-size: 1.8rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: relative;
    }
    
    .nav-container {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
        display: none;
    }
    
    .main-navigation.nav-open .nav-container {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation a {
        padding: 1rem 20px;
        border-bottom: 1px solid #eee;
    }
    
    .main-navigation a:last-child {
        border-bottom: none;
    }
    
    .quote-of-the-day {
        margin: 1rem 15px;
        padding: 1.5rem;
    }
    
    .quote-text {
        font-size: 1.1rem;
    }
    
    .entry-header {
        padding: 1.5rem;
    }
    
    .entry-title {
        font-size: 1.6rem;
    }
    
    .entry-content {
        padding: 1.5rem;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .nav-links {
        flex-direction: column;
    }
    
    .nav-previous,
    .nav-next {
        min-width: auto;
    }
    
    .pagination {
        gap: 0.25rem;
    }
    
    .pagination a,
    .pagination span {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Mobile Social Sharing */
    .social-share {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .social-share h4 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .social-share-links {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .social-share-links a {
        justify-content: center;
        padding: 1rem 1.5rem;
    }
    
    /* Mobile Comments */
    .comments-area {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .comments-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .comment-list li {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .comment-respond {
        padding: 1.5rem;
    }
    
    .comment-reply-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
}

/* Responsive Design - Mobile (480px and below) */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    .site-main {
        padding: 0 10px;
        margin: 0.5rem auto;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .site-description {
        font-size: 0.9rem;
    }
    
    .quote-of-the-day {
        margin: 0.5rem 10px;
        padding: 1rem;
    }
    
    .quote-of-the-day h3 {
        font-size: 1.3rem;
    }
    
    .quote-text {
        font-size: 1rem;
    }
    
    .entry-header {
        padding: 1rem;
    }
    
    .entry-title {
        font-size: 1.4rem;
    }
    
    .entry-content {
        padding: 1rem;
    }
    
    .widget-area {
        padding: 1rem;
    }
    
    .widget-title {
        font-size: 1.1rem;
    }
    
    .search-form {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .search-form button {
        width: 100%;
    }
    
    .footer-container {
        padding: 0 10px;
    }
    
    .comments-area {
        padding: 1rem;
    }
    
    .post-navigation {
        padding: 0.5rem;
    }
    
    .nav-previous a,
    .nav-next a {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .social-links a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Small Mobile Social Sharing */
    .social-share {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .social-share h4 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .social-share-links a {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Small Mobile Comments */
    .comments-area {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .comments-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .comment-list li {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .comment-respond {
        padding: 1rem;
    }
    
    .comment-reply-title {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form input[type="url"],
    .comment-form textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .comment-form .submit {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Responsive Design - Large Mobile (481px to 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .site-main {
        padding: 0 15px;
    }
    
    .quote-of-the-day {
        margin: 1rem 15px;
    }
    
    .image-gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Responsive Design - Small Desktop (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .site-main {
        max-width: 95%;
        gap: 1.5rem;
    }
    
    .header-container {
        max-width: 95%;
    }
    
    .nav-container {
        max-width: 95%;
    }
    
    .footer-container {
        max-width: 95%;
    }
    
    .image-gallery {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .nav-toggle span {
        height: 2px;
    }
}

/* Print Styles */
@media print {
    .nav-toggle,
    .main-navigation,
    .social-links,
    .cta-button {
        display: none !important;
    }
    
    .site-main {
        grid-template-columns: 1fr;
    }
    
    .quote-of-the-day {
        break-inside: avoid;
    }
} 

/* Popular Quotes Sidebar Widget */
.popular-quotes-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1rem;
}

.quote-card {
    background: linear-gradient(135deg, #f8fafc 60%, #e0e7ff 100%);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.08);
    padding: 1.2rem 1rem 1rem 1.5rem;
    position: relative;
    border-left: 4px solid #667eea;
    transition: box-shadow 0.2s, transform 0.2s;
}

.quote-card:hover {
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.18);
    transform: translateY(-2px) scale(1.02);
}

.quote-text {
    font-size: 1.08rem;
    color: #333;
    font-style: italic;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.2rem;
}

.quote-text::before {
    content: '\201C';
    color: #667eea;
    font-size: 2rem;
    position: absolute;
    left: 0;
    top: -0.2rem;
    font-family: serif;
    opacity: 0.7;
}

.quote-author {
    color: #764ba2;
    font-weight: 600;
    font-size: 0.98rem;
    text-align: right;
    margin-top: 0.2rem;
}

@media (max-width: 768px) {
    .popular-quotes-list {
        gap: 0.8rem;
    }
    .quote-card {
        padding: 1rem 0.8rem 0.8rem 1rem;
    }
    .quote-text {
        font-size: 1rem;
        padding-left: 1rem;
    }
    .quote-author {
        font-size: 0.92rem;
    }
} 

/* Force sidebar to be static and never scroll independently */
.widget-area, .sidebar, .site-sidebar, .secondary {
    position: static !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: auto !important;
    background-attachment: scroll !important;
} 