/*
Theme Name: The Bose Times
Theme URI: https://bosetimes.com
Author: BoseTimes Team
Author URI: https://bosetimes.com
Description: A professional news theme inspired by classic newspaper design, dedicated to covering South Asian geopolitics and world news with editorial independence.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bosetimes
Tags: news, magazine, journalism, blog, two-columns, custom-menu, featured-images, responsive
*/

/* ===========================
   RESET & BASE STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #326891;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #1a1a1a;
    text-decoration: underline;
}

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: #121212;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.75;
}

/* ===========================
   LAYOUT CONTAINER
   =========================== */
.site-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   HEADER STYLES
   =========================== */
.site-header {
    border-bottom: 1px solid #e2e2e2;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.header-top {
    border-bottom: 1px solid #e2e2e2;
    padding: 8px 0;
}

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

.header-date {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.75rem;
    color: #666;
    font-weight: 400;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.btn-subscribe,
.btn-login {
    padding: 6px 16px;
    font-size: 0.75rem;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease;
}

.btn-subscribe {
    background-color: #567b95;
    color: #fff;
}

.btn-subscribe:hover {
    background-color: #4a6a82;
    text-decoration: none;
}

.btn-login {
    background-color: #6c757d;
    color: #fff;
}

.btn-login:hover {
    background-color: #5a6268;
    text-decoration: none;
}

/* Logo Section */
.site-branding {
    text-align: center;
    padding: 20px 0;
}

.site-logo {
    font-family: 'OldEnglish', 'UnifrakturMaguntia', serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: #000;
    text-decoration: none;
    letter-spacing: 2px;
    display: inline-block;
    font-style: italic;
}

.site-logo:hover {
    text-decoration: none;
    color: #000;
}

/* Alternative Gothic Style Logo using CSS */
.site-title {
    font-family: 'Georgia', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    letter-spacing: 3px;
    display: inline-block;
    font-style: normal;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
}

/* ===========================
   NAVIGATION MENU
   =========================== */
.main-navigation {
    border-top: 1px solid #e2e2e2;
    border-bottom: 2px solid #000;
    background: #fff;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 12px 18px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    text-decoration: none;
}

.nav-menu > li > a:hover {
    color: #000;
    background-color: #f7f7f7;
    text-decoration: none;
}

/* Dropdown Menu */
.nav-menu li.menu-item-has-children > a::after {
    content: ' ▼';
    font-size: 0.6rem;
    margin-left: 4px;
}

.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #e2e2e2;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    z-index: 1000;
}

.nav-menu li:hover > .sub-menu {
    display: block;
}

.sub-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.sub-menu li:last-child {
    border-bottom: none;
}

.sub-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.875rem;
    color: #333;
    white-space: nowrap;
}

.sub-menu a:hover {
    background-color: #f7f7f7;
    color: #000;
    text-decoration: none;
}

/* ===========================
   MAIN CONTENT AREA
   =========================== */
.site-content {
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.content-area {
    min-width: 0;
}

/* ===========================
   HOMEPAGE LAYOUT
   =========================== */
.featured-section {
    border-bottom: 1px solid #e2e2e2;
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.featured-main {
    position: relative;
}

.featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin-bottom: 15px;
}

.category-label {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: inline-block;
}

.featured-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
}

.featured-title a {
    color: #121212;
    text-decoration: none;
}

.featured-title a:hover {
    color: #326891;
    text-decoration: underline;
}

.featured-excerpt {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
}

.article-meta {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.8rem;
    color: #666;
}

.read-time {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Featured Sidebar */
.featured-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.secondary-story {
    border-bottom: 1px solid #e2e2e2;
    padding-bottom: 25px;
}

.secondary-story:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.secondary-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 12px;
}

.secondary-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
}

.secondary-title a {
    color: #121212;
    text-decoration: none;
}

.secondary-title a:hover {
    color: #326891;
    text-decoration: underline;
}

/* Article Grid */
.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.article-card {
    border-bottom: 1px solid #e2e2e2;
    padding-bottom: 30px;
}

.article-card:last-child {
    border-bottom: none;
}

.article-thumbnail {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
}

.article-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}

.article-title a {
    color: #121212;
    text-decoration: none;
}

.article-title a:hover {
    color: #326891;
    text-decoration: underline;
}

.article-excerpt {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* ===========================
   SIDEBAR
   =========================== */
.widget-area {
    position: sticky;
    top: 80px;
    height: fit-content;
}

.widget {
    margin-bottom: 40px;
    border-bottom: 1px solid #e2e2e2;
    padding-bottom: 30px;
}

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

.widget-title {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    margin-bottom: 20px;
    border-bottom: 1px solid #000;
    padding-bottom: 8px;
}

.widget ul {
    list-style: none;
}

.widget li {
    margin-bottom: 15px;
}

.widget a {
    color: #121212;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

.widget a:hover {
    color: #326891;
}

/* ===========================
   SINGLE ARTICLE PAGE
   =========================== */
.single-post .site-content {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin: 40px auto;
}

.article-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #e2e2e2;
    padding-bottom: 30px;
}

.article-category {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.article-headline {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 15px;
    color: #121212;
}

.article-subtitle {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: 400;
}

.article-byline {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    color: #333;
    margin-bottom: 10px;
}

.author-name {
    font-weight: 700;
    color: #121212;
}

.article-date {
    color: #666;
}

.article-featured-image {
    width: 100%;
    margin: 30px 0;
}

.article-featured-image img {
    width: 100%;
    height: auto;
}

.image-caption {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    color: #666;
    margin-top: 10px;
    line-height: 1.5;
}

.article-content {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #333;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.article-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.article-content blockquote {
    border-left: 3px solid #000;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

/* Social Sharing */
.social-sharing {
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
}

.social-sharing-title {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    border-radius: 3px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.share-btn:hover {
    opacity: 0.85;
    text-decoration: none;
}

.share-btn-facebook {
    background-color: #1877f2;
}

.share-btn-twitter {
    background-color: #1da1f2;
}

.share-btn-linkedin {
    background-color: #0077b5;
}

.share-btn-whatsapp {
    background-color: #25d366;
}

.share-btn-email {
    background-color: #666;
}

/* ===========================
   FOOTER - Clean Minimal Design
   =========================== */
.site-footer {
    border-top: 2px solid #000;
    background-color: #fafafa;
    padding: 40px 20px 30px;
    margin-top: 60px;
    text-align: center;
}

/* Footer Logo */
.site-footer .footer-logo {
    margin-bottom: 25px;
    text-align: center;
}

.site-footer .footer-logo-text {
    font-family: 'Georgia', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    letter-spacing: 2px;
    transition: color 0.2s ease;
    display: inline-block;
}

.site-footer .footer-logo-text:hover {
    color: #333;
    text-decoration: none;
}

/* Footer Navigation Links */
.site-footer .footer-nav {
    margin-bottom: 25px;
    text-align: center;
}

.site-footer .footer-links {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 30px;
}

.site-footer .footer-links li {
    margin: 0;
    padding: 0;
    display: inline-block;
}

.site-footer .footer-links a {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer .footer-links a:hover {
    color: #000;
    text-decoration: underline;
}

/* Footer Bottom - Copyright */
.site-footer .footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.site-footer .footer-bottom p {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.8rem;
    color: #777;
    margin: 0 0 6px 0;
}

.site-footer .footer-bottom .copyright {
    font-size: 0.8rem;
    color: #777;
}

.site-footer .footer-bottom .tagline {
    font-family: 'Georgia', serif;
    font-size: 0.85rem;
    font-style: italic;
    color: #999;
    margin: 0;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 1024px) {
    .site-content {
        grid-template-columns: 1fr;
    }
    
    .widget-area {
        position: static;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* ===========================
       MOBILE HEADER OPTIMIZATION
       =========================== */
    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    /* Hide top bar on mobile for more space */
    .header-top {
        display: none;
    }

    /* Compact logo section */
    .site-branding {
        padding: 12px 0;
    }

    .site-logo,
    .site-title {
        font-size: 1.75rem;
        letter-spacing: 1px;
    }

    /* ===========================
       MOBILE HORIZONTAL NAV BAR
       =========================== */
    .main-navigation {
        border-top: 1px solid #e2e2e2;
        border-bottom: 1px solid #333;
        overflow: hidden;
    }

    .nav-menu {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
        padding: 0 10px;
        margin: 0;
        gap: 0;
    }

    /* Hide scrollbar for Webkit browsers */
    .nav-menu::-webkit-scrollbar {
        display: none;
    }

    .nav-menu > li {
        flex: 0 0 auto;
        position: relative;
    }

    .nav-menu > li > a {
        display: block;
        padding: 10px 14px;
        font-size: 0.8rem;
        font-weight: 600;
        color: #333;
        white-space: nowrap;
        border-bottom: none;
    }

    .nav-menu > li > a:hover,
    .nav-menu > li > a:active {
        color: #000;
        background-color: transparent;
    }

    /* Dropdown arrow styling on mobile - shows it's expandable */
    .nav-menu li.menu-item-has-children > a::after {
        content: ' ▾';
        font-size: 0.7rem;
        margin-left: 2px;
        display: inline;
    }

    /* MOBILE: COMPLETELY HIDE SUB-MENUS BY DEFAULT */
    .sub-menu {
        display: none !important;
        position: absolute !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    /* Disable all hover effects on mobile */
    .nav-menu li:hover > .sub-menu {
        display: none !important;
    }

    /* ===========================
       MOBILE CONTENT STYLES
       =========================== */
    .article-headline {
        font-size: 2rem;
    }

    .featured-title {
        font-size: 1.75rem;
    }

    /* Mobile Footer */
    .site-footer {
        padding: 30px 15px 25px;
        margin-top: 40px;
    }

    .site-footer .footer-logo-text {
        font-size: 1.5rem;
    }

    .site-footer .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .site-footer .footer-links a {
        font-size: 0.9rem;
    }

    .site-footer .footer-bottom .tagline {
        font-size: 0.8rem;
        padding: 0 10px;
    }

    /* Reduce content top margin on mobile */
    .site-content {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    /* Even more compact header on small phones */
    .site-branding {
        padding: 10px 0;
    }

    .site-logo,
    .site-title {
        font-size: 1.5rem;
    }

    /* Smaller nav items for tiny screens */
    .nav-menu > li > a {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    .article-headline {
        font-size: 1.5rem;
    }

    .featured-title {
        font-size: 1.25rem;
    }

    .article-content {
        font-size: 1rem;
    }

    /* Reduce page padding on mobile */
    .site-content {
        padding: 0 15px;
        margin-top: 15px;
    }
}

/* ===========================
   AUTHOR BIO
   =========================== */
.author-bio {
    margin: 40px 0;
    padding: 30px;
    background-color: #f7f7f7;
    border-left: 3px solid #000;
    display: flex;
    gap: 20px;
}

.author-avatar img {
    border-radius: 50%;
}

.author-info {
    flex: 1;
}

.author-bio .author-name {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #121212;
}

.author-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

/* ===========================
   RELATED POSTS
   =========================== */
.related-posts {
    margin: 60px 0;
    padding-top: 40px;
    border-top: 1px solid #e2e2e2;
}

.related-posts .section-title {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000;
    margin-bottom: 30px;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-article img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 12px;
}

.related-title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
}

.related-title a {
    color: #121212;
    text-decoration: none;
}

.related-title a:hover {
    color: #326891;
    text-decoration: underline;
}

/* ===========================
   SEARCH FORM
   =========================== */
.search-form {
    margin: 30px 0;
    display: flex;
    gap: 10px;
    max-width: 600px;
}

.search-form label {
    flex: 1;
    margin: 0;
}

.search-field {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 1px solid #e2e2e2;
    border-radius: 3px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.search-submit {
    padding: 12px 24px;
    background-color: #567b95;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-submit:hover {
    background-color: #4a6a82;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ===========================
   PAGE HEADER
   =========================== */
.page-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e2e2;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #121212;
    margin-bottom: 10px;
}

.archive-description {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.6;
}

/* ===========================
   ERROR PAGE
   =========================== */
.error-404 {
    padding: 60px 20px;
    text-align: center;
}

.error-404 .page-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.error-404 .page-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-actions {
    margin: 30px 0;
}

/* ===========================
   ARTICLE FOOTER / TAGS
   =========================== */
.article-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e2e2;
}

.article-tags {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    color: #666;
}

.article-tags strong {
    color: #333;
    margin-right: 10px;
}

.article-tags a {
    display: inline-block;
    padding: 4px 12px;
    margin: 4px 4px 4px 0;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.2s ease;
}

.article-tags a:hover {
    background-color: #e2e2e2;
    text-decoration: none;
}

/* ===========================
   PAGINATION
   =========================== */
.pagination {
    margin: 40px 0;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 16px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    border: 1px solid #e2e2e2;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.pagination a:hover {
    background-color: #f7f7f7;
    border-color: #ccc;
    text-decoration: none;
}

.pagination .current {
    background-color: #567b95;
    color: #fff;
    border-color: #567b95;
}

/* ===========================
   NO POSTS / EMPTY STATE
   =========================== */
.no-posts {
    padding: 60px 20px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.no-posts h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.no-posts p {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 30px;
}

/* ===========================
   RESPONSIVE ADDITIONS
   =========================== */
@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .author-bio {
        flex-direction: column;
        padding: 20px;
    }

    .search-form {
        flex-direction: column;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .error-404 .page-title {
        font-size: 1.75rem;
    }

    /* Article cards spacing on mobile */
    .article-card {
        padding-bottom: 20px;
    }

    .article-thumbnail {
        height: 200px;
    }

    .article-title {
        font-size: 1.35rem;
    }

    /* Featured section mobile */
    .featured-section {
        padding-bottom: 25px;
        margin-bottom: 25px;
    }

    .featured-image {
        height: 220px;
    }

    .secondary-image {
        height: 150px;
    }

    .secondary-title {
        font-size: 1.1rem;
    }

    /* Widget area on mobile */
    .widget {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }

    /* Single article mobile */
    .single-post .site-content {
        padding: 0 15px;
        margin: 20px auto;
    }

    .article-header {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
}

/* ===========================
   UTILITY CLASSES
   =========================== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.pt-20 {
    padding-top: 20px;
}

.pb-20 {
    padding-bottom: 20px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* ===========================
   MOBILE NAV ENHANCEMENTS
   =========================== */

/* Hide any legacy menu-toggle buttons */
.menu-toggle {
    display: none !important;
}

/* Scrolled header state - more compact on scroll */
.site-header.scrolled {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
    /* Even more compact header when scrolled on mobile */
    .site-header.scrolled .site-branding {
        padding: 8px 0;
    }

    .site-header.scrolled .site-title,
    .site-header.scrolled .site-logo {
        font-size: 1.5rem;
    }

    /* Active nav item indicator */
    .nav-menu > li.current-menu-item > a,
    .nav-menu > li.current_page_item > a,
    .nav-menu > li.current-menu-ancestor > a {
        color: #000;
        border-bottom: 2px solid #000;
        margin-bottom: -1px;
    }

    /* Fade effect at nav edges to indicate scrollable */
    .main-navigation::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 30px;
        background: linear-gradient(to right, transparent, #fff);
        pointer-events: none;
    }

    .main-navigation {
        position: relative;
    }
}

@media (max-width: 480px) {
    .site-header.scrolled .site-branding {
        padding: 6px 0;
    }

    .site-header.scrolled .site-title,
    .site-header.scrolled .site-logo {
        font-size: 1.25rem;
    }
}
