/*
Theme Name: The Daily Chronicle
Theme URI: https://banglafeel.top
Description: A responsive newspaper theme based on The Daily Chronicle design
Version: 1.0
Author: SA Samim
Author URI: https://facebook.com/sa.samim.bd
Tags: news, blog, newspaper, responsive, dark-mode, custom-menu, featured-images, post-formats, translation-ready
Text Domain: daily-chronicle
*/

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

:root {
    --primary-color: #1a1a1a;
    --accent-color: #c41e3a;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #666;
    --text-color: #333;
    --white: #fff;
    --font-heading: 'Georgia', serif;
    --font-body: 'Helvetica Neue', Arial, sans-serif;
    --bg-color: #fff;
    --card-bg: #fff;
    --footer-bg: #1a1a1a;
    --footer-text: #fff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.dark-mode {
    --primary-color: #f0f0f0;
    --accent-color: #e74c3c;
    --light-gray: #2d2d2d;
    --medium-gray: #444;
    --dark-gray: #aaa;
    --text-color: #e0e0e0;
    --white: #1a1a1a;
    --bg-color: #121212;
    --card-bg: #2d2d2d;
    --footer-bg: #0a0a0a;
    --footer-text: #e0e0e0;
    --border-color: #444;
    --shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s, color 0.3s;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== FIXED HEADER STYLES ===== */
.site-header {
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    width: 100%;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    position: relative;
    width: 100%;
}

/* Logo Styles */
.logo {
    flex-shrink: 0;
    z-index: 1002;
}

.site-logo {
    height: 35px;
    width: auto;
    transition: all 0.3s ease;
}

.dark-mode .site-logo {
    filter: brightness(0) invert(1);
}

.site-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1002;
}

/* Search Box */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-form {
    display: flex;
    margin: 0;
}

.search-input {
    padding: 8px 15px 8px 35px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 0.85rem;
    width: 160px;
    transition: all 0.3s ease;
    margin: 0;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-color);
    width: 180px;
}

.search-icon {
    position: absolute;
    left: 12px;
    color: var(--dark-gray);
    font-size: 0.9rem;
    z-index: 1;
    pointer-events: none;
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: var(--light-gray);
    transform: rotate(30deg);
}

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 4px;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1002;
}

.bar {
    height: 2px;
    width: 22px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
}

/* Active state for mobile toggle */
.mobile-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

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

/* Mobile Navigation */
.mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-color);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    max-height: 0;
    overflow: hidden;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    max-height: 80vh;
    overflow-y: auto;
}

.mobile-menu {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.mobile-menu li {
    border-bottom: 1px solid var(--border-color);
}

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

.mobile-menu a {
    display: block;
    padding: 15px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.mobile-menu a:hover {
    background: var(--light-gray);
    color: var(--accent-color);
}

/* ===== MAIN CONTENT SECTIONS ===== */

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--dark-gray);
}

.breadcrumb a {
    color: var(--accent-color);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Featured Stories Section */
.featured-stories {
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
    transition: border-color 0.3s;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 8px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
}

.view-all {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 0.9rem;
}

.featured-stories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.main-featured {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.main-featured img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}

.main-featured:hover img {
    transform: scale(1.03);
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 15px;
}

.featured-overlay h1 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.featured-overlay h1 a {
    color: var(--white);
}

.featured-overlay p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.read-more {
    color: var(--white);
    font-weight: bold;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 2px;
    display: inline-block;
    font-size: 0.9rem;
}

.side-featured {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.side-featured-story {
    display: flex;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    transition: border-color 0.3s;
}

.side-featured-story:last-child {
    border-bottom: none;
}

.side-featured-story img {
    width: 80px;
    height: 70px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}

.side-featured-content h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.category-tag {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* Top Stories Section */
.top-stories-section {
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
    transition: border-color 0.3s;
}

.top-stories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.story-card {
    background-color: var(--card-bg);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.story-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.story-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s;
}

.story-card:hover img {
    transform: scale(1.05);
}

.card-content {
    padding: 15px;
}

.card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.card-content p {
    color: var(--dark-gray);
    font-size: 0.85rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

/* Tags Section */
.tags-section {
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
    transition: border-color 0.3s;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tag {
    background-color: var(--light-gray);
    color: var(--text-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: background-color 0.3s, color 0.3s;
}

.tag:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

/* Single Post Content */
.single-post {
    padding: 30px 0;
}

.post-header {
    margin-bottom: 30px;
    text-align: center;
}

.post-category {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 3px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.post-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    color: var(--dark-gray);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-featured-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
}

.post-content {
    max-width: 100%;
    margin: 0 auto;
}

.post-content p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.7;
}

.post-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.post-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin: 25px 0 12px;
    color: var(--primary-color);
}

.post-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 15px;
    margin: 25px 0;
    font-style: italic;
    color: var(--dark-gray);
    font-size: 1.1rem;
}

.post-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px 0;
}

.post-content ul, .post-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.post-content li {
    margin-bottom: 8px;
}

/* Post Actions */
.post-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 25px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 30px 0;
}

.post-actions-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.social-share {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-color);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.share-btn:hover {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

.print-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-color);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.print-btn:hover {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

.post-navigation {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-btn {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-color);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.nav-btn:hover {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

/* Related Tags */
.related-tags {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

/* Author Bio */
.author-bio {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
}

.author-info h3 {
    font-family: var(--font-heading);
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.author-info p {
    color: var(--dark-gray);
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.author-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.author-social a {
    color: var(--dark-gray);
    transition: color 0.3s;
    font-size: 1.1rem;
}

.author-social a:hover {
    color: var(--accent-color);
}

/* Related Posts */
.related-posts {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.related-card {
    background-color: var(--card-bg);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s;
}

.related-card:hover img {
    transform: scale(1.05);
}

/* Pagination Section */
.pagination-section {
    padding: 30px 0;
    display: flex;
    justify-content: center;
}

.pagination-nav {
    width: 100%;
}

.pagination {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.pagination-item {
    margin: 0;
}

.pagination-link,
.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: var(--bg-color);
    font-size: 0.9rem;
    text-decoration: none;
}

.pagination-link:hover,
.page-numbers:hover {
    background-color: var(--light-gray);
    border-color: var(--accent-color);
}

.pagination-link.active,
.page-numbers.current {
    background-color: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

.pagination-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-link.disabled:hover {
    background-color: var(--bg-color);
    border-color: var(--border-color);
}

.pagination-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--dark-gray);
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--light-gray);
    padding: 40px 0;
    text-align: center;
    transition: background-color 0.3s;
}

.newsletter-content {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.newsletter-content p {
    margin-bottom: 20px;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    font-size: 1rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: border-color 0.3s, background-color 0.3s;
}

.newsletter-btn {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.newsletter-btn:hover {
    background-color: var(--primary-color);
}

/* Footer */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 40px 0 20px;
    transition: background-color 0.3s, color 0.3s;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
}

.footer-brand {
    max-width: 100%;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: var(--footer-text);
}

.footer-description {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.footer-column h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--footer-text);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    font-size: 0.85rem;
    color: #999;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    color: #999;
    transition: color 0.3s;
    font-size: 1.1rem;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* ===== WORDPRESS SPECIFIC STYLES ===== */
.aligncenter {
    display: block;
    margin: 1em auto;
    text-align: center;
}

.alignleft {
    float: left;
    margin: 0 1em 1em 0;
}

.alignright {
    float: right;
    margin: 0 0 1em 1em;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 1em;
}

.wp-caption-text {
    font-style: italic;
    margin-top: 0.5em;
    text-align: center;
    color: var(--dark-gray);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1em;
    margin: 1em 0;
}

.gallery-item {
    text-align: center;
}

/* Comments Styling */
.comments-area {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.comments-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.comment-list {
    list-style: none;
    margin: 0 0 40px 0;
    padding: 0;
}

.comment {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.comment-body {
    display: flex;
    gap: 15px;
}

.comment-author {
    flex-shrink: 0;
}

.comment-author .avatar {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.comment-meta {
    margin-bottom: 10px;
}

.comment-author-name {
    font-weight: bold;
    color: var(--primary-color);
}

.comment-metadata {
    font-size: 0.8rem;
    color: var(--dark-gray);
}

.comment-content {
    line-height: 1.6;
}

.comment-content p {
    margin-bottom: 10px;
}

.comment-reply-link {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: bold;
}

/* Comment Form */
.comment-respond {
    margin-top: 40px;
}

.comment-reply-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.comment-form {
    display: grid;
    gap: 15px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 0.9rem;
    transition: border-color 0.3s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

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

.comment-form .form-submit {
    margin-top: 15px;
}

.comment-form .submit {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.comment-form .submit:hover {
    background-color: var(--primary-color);
}

/* Widgets Styling */
.widget {
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 5px;
    box-shadow: var(--shadow);
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 8px;
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.widget a {
    color: var(--text-color);
    transition: color 0.3s;
}

.widget a:hover {
    color: var(--accent-color);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Mobile Styles */
@media (max-width: 767px) {
    .desktop-nav {
        display: none !important;
    }
    
    .mobile-toggle {
        display: flex !important;
    }
    
    .search-input {
        width: 140px;
    }
    
    .search-input:focus {
        width: 160px;
    }
    
    .header-actions {
        gap: 8px;
    }
    
    .site-logo {
        height: 30px;
    }
    
    .site-title {
        font-size: 1.3rem;
    }
    
    /* Prevent body scroll when mobile menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    body.menu-open .site-header {
        position: fixed;
        width: 100%;
        background: var(--bg-color);
    }
    
    body.menu-open .header-content {
        padding-bottom: 15px;
    }

    /* Adjust main content when menu is open */
    body.menu-open main {
        margin-top: 70px;
    }
}

/* Tablet Styles */
@media (min-width: 768px) {
    .desktop-nav {
        display: block !important;
    }
    
    .mobile-toggle {
        display: none !important;
    }
    
    .mobile-nav {
        display: none !important;
    }
    
    .site-logo {
        height: 45px;
    }
    
    .site-title {
        font-size: 1.8rem;
    }
    
    .search-input {
        width: 180px;
    }
    
    .search-input:focus {
        width: 220px;
    }
    
    /* Grid layouts for tablet */
    .featured-stories-grid {
        grid-template-columns: 2fr 1fr;
        gap: 25px;
    }
    
    .top-stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Typography for tablet */
    .featured-overlay h1 {
        font-size: 1.8rem;
    }
    
    .main-featured img {
        height: 300px;
    }
    
    .post-title {
        font-size: 2.2rem;
    }
    
    .post-featured-image {
        height: 350px;
    }
    
    /* Layout adjustments */
    .post-actions-top {
        flex-direction: row;
    }
    
    .post-navigation {
        flex-direction: row;
        gap: 15px;
    }
    
    .author-bio {
        flex-direction: row;
        text-align: left;
        gap: 20px;
    }
    
    .author-avatar {
        margin: 0;
    }
    
    .footer-main {
        grid-template-columns: 1fr 2fr;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* Desktop Styles */
@media (min-width: 992px) {
    .site-logo {
        height: 50px;
    }
    
    .site-title {
        font-size: 2rem;
    }
    
    .nav-menu {
        gap: 35px;
    }
    
    .search-input {
        width: 200px;
    }
    
    .search-input:focus {
        width: 240px;
    }
    
    /* Grid layouts for desktop */
    .top-stories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Typography for desktop */
    .featured-overlay h1 {
        font-size: 2rem;
    }
    
    .main-featured img {
        height: 350px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .story-card img {
        height: 200px;
    }
    
    .post-title {
        font-size: 2.5rem;
    }
    
    .post-featured-image {
        height: 400px;
    }
    
    .post-content {
        max-width: 700px;
    }
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
    .main-featured img {
        height: 400px;
    }
    
    .featured-overlay h1 {
        font-size: 2.2rem;
    }
    
    .post-title {
        font-size: 2.8rem;
    }
    
    .post-featured-image {
        height: 450px;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .breadcrumb,
    .post-actions,
    .related-tags,
    .author-bio,
    .related-posts,
    .newsletter-section,
    .site-footer,
    .comments-area {
        display: none !important;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    .post-title {
        font-size: 18pt;
        color: #000;
    }
    
    .post-content {
        max-width: 100%;
    }
    
    .post-content h2 {
        font-size: 14pt;
        color: #000;
    }
    
    .post-content h3 {
        font-size: 12pt;
        color: #000;
    }
    
    .post-content blockquote {
        border-left: 2px solid #000;
        color: #333;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* High contrast and accessibility */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --accent-color: #ff0000;
        --text-color: #000000;
        --border-color: #000000;
    }
    
    .dark-mode {
        --primary-color: #ffffff;
        --accent-color: #ff6b6b;
        --text-color: #ffffff;
        --border-color: #ffffff;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* Logo Styles */
.site-logo {
    max-height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.logo .site-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

@media (min-width: 576px) {
    .site-logo {
        max-height: 70px;
    }
    
    .logo .site-title {
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    .site-logo {
        max-height: 80px;
    }
    
    .logo .site-title {
        font-size: 2.5rem;
    }
}

/* Mobile menu icon transition */
.mobile-menu-btn i {
    transition: transform 0.3s ease;
}

 /* ===== HOT TOPICS SECTION ===== */
.hot-topics-section {
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-color);
}

.hot-topics-section .section-header {
    position: relative;
    margin-bottom: 25px;
}

.hot-badge {
    background: linear-gradient(135deg, #ff6b35, #ff8e53);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Hot topic items using side-featured-story layout */
.hot-topic-item {
    position: relative;
    transition: all 0.3s ease;
}

.hot-topic-item:hover {
    transform: translateX(5px);
}

.hot-topic-item .side-featured-content {
    flex: 1;
}

.hot-topic-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.hot-topic-tag {
    background: linear-gradient(135deg, #ff6b35, #ff8e53) !important;
    color: white !important;
    border: none;
    font-size: 0.6rem !important;
    padding: 2px 6px !important;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.view-count {
    color: var(--dark-gray);
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 500;
}

.hot-topic-date {
    color: var(--dark-gray);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 5px;
}

/* Ensure the side-featured layout works for hot topics */
.hot-topics-section .side-featured {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Dark mode adjustments */
.dark-mode .hot-topic-tag {
    color: white !important;
}

.dark-mode .view-count {
    color: var(--dark-gray);
}

/* ===== RESPONSIVE DESIGN FOR HOT TOPICS ===== */

@media (min-width: 576px) {
    .hot-topics-section .side-featured {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (min-width: 768px) {
    .hot-topics-section .side-featured {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .hot-topic-item {
        margin-bottom: 0;
    }
}

@media (min-width: 992px) {
    .hot-topics-section .side-featured {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* Animation for hot topics */
@keyframes slideInHot {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hot-topic-item {
    animation: slideInHot 0.5s ease-out;
}

.hot-topic-item:nth-child(1) {
    animation-delay: 0.1s;
}

.hot-topic-item:nth-child(2) {
    animation-delay: 0.2s;
}

.hot-topic-item:nth-child(3) {
    animation-delay: 0.3s;
}
/* ===== SITEMAP STYLES ===== */
.sitemap-header {
    padding: 40px 0 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.sitemap-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.sitemap-description {
    font-size: 1.1rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

.sitemap-content {
    padding: 40px 0;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.sitemap-section {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-color);
}

.sitemap-section-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sitemap-section-title i {
    color: var(--accent-color);
}

.sitemap-links ul,
.sitemap-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sitemap-list li,
.sitemap-posts li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.sitemap-list li:last-child,
.sitemap-posts li:last-child {
    border-bottom: none;
}

.sitemap-list a,
.sitemap-posts a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.sitemap-list a:hover,
.sitemap-posts a:hover {
    color: var(--accent-color);
}

.post-date,
.post-count {
    font-size: 0.8rem;
    color: var(--dark-gray);
    margin-left: 5px;
}

/* Categories */
.sitemap-category {
    margin-bottom: 25px;
}

.sitemap-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.category-title a {
    color: inherit;
    text-decoration: none;
}

.category-title a:hover {
    color: var(--accent-color);
}

.view-all {
    font-weight: bold;
    margin-top: 10px;
}

.view-all-link {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.view-all-link:hover {
    background: var(--primary-color);
    color: white;
}

/* Tags Cloud */
.sitemap-tags {
    margin-top: 15px;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-link {
    background: var(--light-gray);
    color: var(--text-color);
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.tag-link:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.tag-count {
    font-size: 0.7em;
    opacity: 0.7;
}

/* Sitemap Footer */
.sitemap-footer {
    padding: 40px 0;
    background: var(--light-gray);
    text-align: center;
}

.sitemap-search h3 {
    font-family: var(--font-heading);
    margin-bottom: 10px;
    color: var(--primary-color);
}

.sitemap-search p {
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.sitemap-search .search-form {
    max-width: 400px;
    margin: 0 auto;
}

.sitemap-search .search-input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 1rem;
}

.sitemap-search .search-input:focus {
    border-color: var(--accent-color);
    outline: none;
}

/* Dark mode adjustments */
.dark-mode .sitemap-section {
    background: var(--card-bg);
}

.dark-mode .tag-link {
    background: var(--medium-gray);
    border-color: var(--border-color);
}

.dark-mode .sitemap-footer {
    background: var(--light-gray);
}

/* ===== RESPONSIVE SITEMAP ===== */
@media (min-width: 768px) {
    .sitemap-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .sitemap-section:nth-child(5),
    .sitemap-section:nth-child(6) {
        grid-column: 1 / -1;
    }
    
    .sitemap-title {
        font-size: 3rem;
    }
}

@media (min-width: 992px) {
    .sitemap-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .sitemap-section:nth-child(5),
    .sitemap-section:nth-child(6) {
        grid-column: auto;
    }
}

/* Print styles for sitemap */
@media print {
    .sitemap-section {
        break-inside: avoid;
        border: 1px solid #ccc;
        margin-bottom: 20px;
    }
    
    .sitemap-grid {
        display: block;
    }
    
    .tag-link {
        border: 1px solid #ccc;
        background: none;
    }
}
/* ===== ENHANCED PRINT STYLES ===== */
@media print {
    /* Hide unnecessary elements */
    .site-header,
    .breadcrumb,
    .post-actions,
    .related-tags,
    .author-bio,
    .related-posts,
    .newsletter-section,
    .site-footer,
    .comments-area,
    .mobile-nav,
    .desktop-nav,
    .header-actions,
    .theme-toggle,
    .search-box,
    .mobile-toggle {
        display: none !important;
    }
    
    /* Reset container styles */
    .container {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }
    
    /* Body and typography */
    body {
        font-size: 12pt !important;
        line-height: 1.4 !important;
        color: #000000 !important;
        background: #ffffff !important;
        margin: 0.5in !important;
        padding: 0 !important;
        width: 100% !important;
    }
    
    /* Single post styling */
    .single-post {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    
    /* Post header */
    .post-header {
        text-align: left !important;
        margin-bottom: 20pt !important;
        border-bottom: 2pt solid #000000 !important;
        padding-bottom: 10pt !important;
    }
    
    .post-title {
        font-size: 18pt !important;
        color: #000000 !important;
        margin-bottom: 10pt !important;
        line-height: 1.2 !important;
    }
    
    .post-category {
        background: #000000 !important;
        color: #ffffff !important;
        font-size: 9pt !important;
    }
    
    .post-meta {
        justify-content: flex-start !important;
        color: #666666 !important;
        font-size: 10pt !important;
        margin-bottom: 15pt !important;
    }
    
    /* Post content */
    .post-content {
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .post-content p {
        font-size: 12pt !important;
        line-height: 1.4 !important;
        margin-bottom: 12pt !important;
        text-align: justify !important;
    }
    
    .post-content h2 {
        font-size: 14pt !important;
        color: #000000 !important;
        margin: 20pt 0 10pt 0 !important;
        page-break-after: avoid !important;
    }
    
    .post-content h3 {
        font-size: 12pt !important;
        color: #000000 !important;
        margin: 15pt 0 8pt 0 !important;
        page-break-after: avoid !important;
    }
    
    .post-content blockquote {
        border-left: 3pt solid #000000 !important;
        padding-left: 12pt !important;
        margin: 15pt 0 !important;
        font-style: italic !important;
        color: #444444 !important;
        font-size: 11pt !important;
    }
    
    /* Images */
    .post-featured-image {
        max-width: 100% !important;
        height: auto !important;
        margin: 15pt 0 !important;
        page-break-inside: avoid !important;
    }
    
    .post-content img {
        max-width: 100% !important;
        height: auto !important;
        margin: 10pt 0 !important;
        page-break-inside: avoid !important;
    }
    
    /* Lists */
    .post-content ul,
    .post-content ol {
        margin: 10pt 0 !important;
        padding-left: 20pt !important;
    }
    
    .post-content li {
        margin-bottom: 6pt !important;
        font-size: 12pt !important;
    }
    
    /* Links */
    a {
        color: #000000 !important;
        text-decoration: underline !important;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        color: #666666;
    }
    
    /* Avoid breaking elements */
    .post-content {
        page-break-inside: avoid !important;
    }
    
    h1, h2, h3 {
        page-break-after: avoid !important;
    }
    
    img {
        page-break-inside: avoid !important;
    }
    
    /* Print URL at the bottom */
    body:after {
        content: "Printed from: " attr(data-url);
        display: block;
        text-align: center;
        margin-top: 20pt;
        font-size: 9pt;
        color: #666666;
    }
}

/* Print button styling enhancement */
.print-btn {
    position: relative;
    overflow: hidden;
}

.print-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.print-btn:hover:before {
    left: 100%;
}

/* Loading state for print button */
.print-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.print-btn.loading:after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.author-photo,
.author-bio .avatar {
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e0e0e0;
    width: 70px;
    height: 70px;
}

.author-bio {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 40px 0;
    border-left: 4px solid #c41e3a;
}

.author-info h3 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-size: 1.3em;
}

.author-info p {
    margin: 0 0 12px 0;
    color: #666;
    line-height: 1.5;
}

.author-social {
    display: flex;
    gap: 12px;
}

.author-social a {
    color: #666;
    font-size: 16px;
    transition: color 0.3s ease;
}

.author-social a:hover {
    color: #c41e3a;
}

/* Dark mode support */
.dark-mode .author-bio {
    background: #2d3748;
    border-left-color: #e53e3e;
}

.dark-mode .author-info h3 {
    color: #e2e8f0;
}

.dark-mode .author-info p {
    color: #a0aec0;
}

.dark-mode .author-social a {
    color: #a0aec0;
}

.dark-mode .author-social a:hover {
    color: #e53e3e;
}
/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reading-progress.visible {
    opacity: 1;
}

.reading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #c41e3a, #e74c3c);
    width: 0%;
    transition: width 0.1s ease;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #c41e3a;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #a0182e;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(196, 30, 58, 0.4);
}

/* Dark mode support */
.dark-mode .reading-progress {
    background: rgba(255, 255, 255, 0.1);
}

.dark-mode .back-to-top {
    background: #e74c3c;
}

.dark-mode .back-to-top:hover {
    background: #c0392b;
}

/* Responsive */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}
/* Text Size Adjuster - Fixed for your header */
.text-size-adjuster {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: 8px;
}

.text-size-btn {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-color);
    transition: all 0.3s ease;
    font-size: 12px;
    padding: 0;
}

.text-size-btn:hover {
    background: var(--light-gray);
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: none;
}

.text-size-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.text-size-btn:disabled:hover {
    background: var(--bg-color);
    border-color: var(--border-color);
    color: var(--text-color);
}

/* Text Size Classes - Match your theme */
body.text-size-small {
    font-size: 14px;
}

body.text-size-small .post-content {
    font-size: 15px;
    line-height: 1.5;
}

body.text-size-small .post-title {
    font-size: 1.6em;
}

body.text-size-small h1 {
    font-size: 1.8em;
}

body.text-size-small h2 {
    font-size: 1.5em;
}

body.text-size-small h3 {
    font-size: 1.3em;
}

body.text-size-small .section-title {
    font-size: 1.3rem;
}

body.text-size-large {
    font-size: 18px;
}

body.text-size-large .post-content {
    font-size: 19px;
    line-height: 1.7;
}

body.text-size-large .post-title {
    font-size: 2.4em;
}

body.text-size-large h1 {
    font-size: 2.2em;
}

body.text-size-large h2 {
    font-size: 1.8em;
}

body.text-size-large h3 {
    font-size: 1.5em;
}

body.text-size-large .section-title {
    font-size: 1.7rem;
}

body.text-size-xlarge {
    font-size: 20px;
}

body.text-size-xlarge .post-content {
    font-size: 21px;
    line-height: 1.8;
}

body.text-size-xlarge .post-title {
    font-size: 2.8em;
}

body.text-size-xlarge h1 {
    font-size: 2.5em;
}

body.text-size-xlarge h2 {
    font-size: 2em;
}

body.text-size-xlarge h3 {
    font-size: 1.7em;
}

body.text-size-xlarge .section-title {
    font-size: 1.9rem;
}

/* Responsive adjustments for text size buttons */
@media (max-width: 768px) {
    .text-size-adjuster {
        margin-right: 5px;
        gap: 3px;
    }
    
    .text-size-btn {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .text-size-adjuster {
        display: none; /* Hide on very small screens if needed */
    }
}
/* ===== MOBILE MENU FIX ===== */
/* Remove the !important from mobile-nav display */
@media (min-width: 768px) {
    .mobile-nav {
        display: none;
    }
    
    .mobile-toggle {
        display: none;
    }
}

/* Ensure mobile menu works on mobile */
@media (max-width: 767px) {
    .mobile-nav:not(.active) {
        display: none;
    }
    
    .mobile-nav.active {
        display: block;
    }
    
    .mobile-toggle {
        display: flex !important;
    }
}

/* Fix for body scroll when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

body.menu-open .site-header {
    position: fixed;
    width: 100%;
    background: var(--bg-color);
    z-index: 1000;
}

body.menu-open main {
    margin-top: 70px;
}