/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://www.smartgyanshare.com/
 Description:  GeneratePress Child Theme - AdSense 2026 Optimized Design
 Author:       Smart Gyan Share
 Author URI:   https://www.smartgyanshare.com/
 Template:     generatepress
 Version:      2.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  generatepress-child
*/

/* ============================================
   CSS VARIABLES - DESIGN SYSTEM
   ============================================ */
:root {
    --primary-color: #1a73e8;
    --primary-hover: #1557b0;
    --secondary-color: #34a853;
    --accent-color: #ea4335;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --text-light: #80868b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f4;
    --border-color: #dadce0;
    --border-light: #e8eaed;
    --shadow-sm: 0 1px 2px rgba(60,64,67,0.1);
    --shadow-md: 0 2px 6px rgba(60,64,67,0.15);
    --shadow-lg: 0 4px 12px rgba(60,64,67,0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --max-width: 1200px;
    --content-width: 780px;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans', sans-serif;
    --font-heading: 'Segoe UI', Roboto, 'Noto Sans', sans-serif;
    --transition: 0.2s ease;
}

/* ============================================
   GLOBAL RESET & BASE STYLES
   ============================================ */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   HEADER - MODERN PROFESSIONAL DESIGN 2026
   ============================================ */

/* Top info bar */
.top-bar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #b0b0c0;
    font-size: 0.8rem;
    padding: 6px 0;
    text-align: center;
    letter-spacing: 0.3px;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
}

/* Main header */
.site-header {
    background: var(--bg-primary);
    border-bottom: none;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.site-header .inside-header {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    min-height: 70px;
}

/* Logo/Site branding */
.site-logo {
    margin-right: auto;
}

.site-logo img,
.custom-logo {
    max-height: 45px;
    width: auto;
    transition: opacity var(--transition);
}

.site-logo img:hover,
.custom-logo:hover {
    opacity: 0.85;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1.2;
}

.site-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition);
}

.site-title a:hover {
    color: var(--primary-color);
}

.site-description {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 2px;
    font-weight: 400;
    display: none; /* Hide tagline for cleaner look */
}

/* ============================================
   NAVIGATION - CLEAN & MODERN
   ============================================ */
.main-navigation {
    font-size: 0.9rem;
}

.main-navigation .main-nav > ul {
    display: flex;
    align-items: center;
    gap: 2px;
}

.main-navigation .main-nav ul li a {
    color: var(--text-primary);
    padding: 12px 18px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

.main-navigation .main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 18px;
    right: 18px;
    height: 2.5px;
    background: var(--primary-color);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.main-navigation .main-nav ul li a:hover::after,
.main-navigation .main-nav ul li.current-menu-item a::after {
    transform: scaleX(1);
}

.main-navigation .main-nav ul li a:hover {
    color: var(--primary-color);
    background: rgba(26, 115, 232, 0.04);
}

.main-navigation .main-nav ul li.current-menu-item a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Dropdown menus */
.main-navigation .main-nav ul ul {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    padding: 8px;
    min-width: 220px;
    margin-top: 4px;
}

.main-navigation .main-nav ul ul li {
    margin: 0;
}

.main-navigation .main-nav ul ul li a {
    padding: 10px 16px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    border-radius: 6px;
}

.main-navigation .main-nav ul ul li a::after {
    display: none;
}

.main-navigation .main-nav ul ul li a:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

/* Header search button (optional) */
.header-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
    margin-left: 12px;
    transition: var(--transition);
}

.header-search-btn:hover {
    background: var(--bg-tertiary);
    color: var(--primary-color);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
}

/* Mobile navigation */
@media (max-width: 768px) {
    .site-header .inside-header {
        min-height: 60px;
        padding: 0 16px;
    }
    
    .site-logo img,
    .custom-logo {
        max-height: 36px;
    }
    
    .site-title {
        font-size: 1.2rem;
    }
    
    .menu-toggle {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 0.85rem;
        font-weight: 500;
    }
    
    .main-navigation .main-nav > ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        background: var(--bg-primary);
        border-top: 1px solid var(--border-light);
    }
    
    .main-navigation .main-nav ul li a {
        padding: 14px 16px;
        border-radius: 6px;
    }
    
    .main-navigation .main-nav ul li a::after {
        display: none;
    }
    
    .main-navigation .main-nav ul ul {
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        margin-top: 0;
    }
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
.site-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 30px 20px;
}

.content-area {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 0;
    overflow: hidden;
}

/* ============================================
   BLOG POST CARDS (Archive/Homepage)
   ============================================ */
article.post {
    padding: 30px 35px;
    border-bottom: 1px solid var(--border-light);
    transition: background var(--transition);
}

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

article.post:hover {
    background: var(--bg-secondary);
}

.entry-header {
    margin-bottom: 12px;
}

.entry-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
}

.entry-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition);
}

.entry-title a:hover {
    color: var(--primary-color);
}

/* Post Meta */
.entry-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.entry-meta a {
    color: var(--text-secondary);
    text-decoration: none;
}

.entry-meta a:hover {
    color: var(--primary-color);
}

/* Featured Image */
.post-image {
    margin-bottom: 16px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

article.post:hover .post-image img {
    transform: scale(1.02);
}

/* Excerpt */
.entry-summary p,
.entry-content p:first-of-type {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Read More */
.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: 8px;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-hover);
}

.read-more::after {
    content: ' →';
    margin-left: 4px;
}

/* ============================================
   SINGLE POST / PAGE CONTENT
   ============================================ */
.single .content-area,
.page .content-area {
    padding: 40px;
}

.entry-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-primary);
}

.entry-content p {
    margin-bottom: 1.6em;
}

.entry-content h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 2.2em;
    margin-bottom: 0.8em;
    color: var(--text-primary);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
}

.entry-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 1.8em;
    margin-bottom: 0.6em;
    color: var(--text-primary);
}

.entry-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.entry-content ul,
.entry-content ol {
    margin: 1.2em 0;
    padding-left: 1.5em;
}

.entry-content li {
    margin-bottom: 0.6em;
    line-height: 1.7;
}

.entry-content blockquote {
    border-left: 4px solid var(--primary-color);
    background: var(--bg-secondary);
    padding: 20px 24px;
    margin: 1.5em 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-secondary);
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 1.5em 0;
}

.entry-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.entry-content a:hover {
    border-bottom-color: var(--primary-color);
}

/* Tables */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.entry-content th {
    background: var(--bg-tertiary);
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 2px solid var(--border-color);
}

.entry-content td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-light);
}

.entry-content tr:last-child td {
    border-bottom: none;
}

/* Code blocks */
.entry-content code {
    background: var(--bg-tertiary);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.entry-content pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 20px;
    border-radius: var(--radius-sm);
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   SIDEBAR
   ============================================ */
.widget-area {
    padding: 20px 0;
}

.widget {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    margin-bottom: 20px;
}

.widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

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

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

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

.widget ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.widget ul li a:hover {
    color: var(--primary-color);
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.rank-math-breadcrumb {
    font-size: 0.85rem;
    color: var(--text-light);
    padding: 12px 0;
    margin-bottom: 10px;
}

.rank-math-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}

.rank-math-breadcrumb a:hover {
    color: var(--primary-color);
}

/* ============================================
   FOOTER - MODERN PROFESSIONAL ADSENSE 2026
   ============================================ */
.site-footer {
    background: #ffffff;
    color: #4a5568;
    margin-top: 50px;
    border-top: 3px solid #1a73e8;
}

/* Footer widgets area */
.footer-widgets {
    background: #f0f7ff !important;
    border-bottom: 1px solid #e2e8f0;
}

.footer-widgets .inside-footer-widgets {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 48px 24px 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
}

.footer-widgets .footer-widget-1,
.footer-widgets .footer-widget-2,
.footer-widgets .footer-widget-3 {
    padding: 0;
}

.footer-widgets .widget {
    background: transparent;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    margin-bottom: 0;
}

.footer-widgets .widget-title {
    color: #1a202c;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a73e8;
    display: inline-block;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.footer-widgets .widget p {
    color: #4a5568;
    font-size: 0.88rem;
    line-height: 1.75;
    margin-bottom: 10px;
}

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

.footer-widgets .widget ul li {
    padding: 0;
    border-bottom: none;
    margin-bottom: 8px;
}

.footer-widgets .widget ul li a {
    color: #2d5ca6;
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.2s ease;
    display: inline-block;
    padding: 3px 0;
}

.footer-widgets .widget ul li a:hover {
    color: #1a73e8;
    transform: translateX(3px);
}

/* Footer Navigation Bar */
.footer-nav {
    text-align: center;
    padding: 18px 24px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.footer-nav a {
    color: #1a73e8;
    margin: 0 4px;
    padding: 6px 14px;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-nav a:hover {
    color: #ffffff;
    background: #1a73e8;
}

/* Copyright / Site Info */
.site-info {
    text-align: center;
    padding: 16px 24px;
    font-size: 0.8rem;
    color: #94a3b8;
    background: #ffffff;
}

.site-info a {
    color: #64748b;
    text-decoration: none;
}

.site-info a:hover {
    color: #1a73e8;
}

.copyright-notice {
    text-align: center;
    padding: 0;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Footer responsive */
@media (max-width: 1024px) {
    .footer-widgets .inside-footer-widgets {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        padding: 36px 20px 32px;
    }
}

@media (max-width: 768px) {
    .footer-widgets .inside-footer-widgets {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px 16px 28px;
    }
    
    .footer-nav {
        padding: 16px;
    }
    
    .footer-nav a {
        margin: 3px;
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}
    color: #80809a;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ============================================
   COOKIE CONSENT BANNER (GDPR COMPLIANT)
   ============================================ */
.cookie-consent-banner {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: #1a202c !important;
    color: #ffffff;
    padding: 0;
    z-index: 2147483647 !important;
    display: none;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.3);
}

.cookie-consent-banner.show {
    display: block !important;
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-consent-banner .cookie-text {
    flex: 1;
    font-size: 0.88rem;
    color: #cbd5e0;
    line-height: 1.6;
}

.cookie-consent-banner .cookie-text strong {
    color: #fff;
    display: block;
    margin-bottom: 4px;
}

.cookie-consent-banner .cookie-text a {
    color: #63b3ed;
    text-decoration: underline;
}

.cookie-btn-group {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-accept-btn {
    background: #48bb78 !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 32px !important;
    cursor: pointer !important;
    border-radius: 6px;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    transition: all 0.2s ease;
    white-space: nowrap;
    pointer-events: all !important;
}

.cookie-accept-btn:hover {
    background: #38a169 !important;
    box-shadow: 0 4px 12px rgba(72,187,120,0.4);
}

.cookie-reject-btn {
    background: transparent !important;
    color: #a0aec0 !important;
    border: 1px solid #4a5568 !important;
    padding: 14px 24px !important;
    cursor: pointer !important;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    pointer-events: all !important;
}

.cookie-reject-btn:hover {
    border-color: #a0aec0 !important;
    color: #fff !important;
}

@media (max-width: 768px) {
    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
        padding: 16px;
        gap: 14px;
    }
    .cookie-btn-group {
        width: 100%;
    }
    .cookie-accept-btn,
    .cookie-reject-btn {
        flex: 1;
    }
}

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

.error-404-content h1 {
    font-size: 100px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.error-404-content h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.error-404-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 30px;
}

.error-404-content .back-home-btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 14px 36px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.error-404-content .back-home-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   PAGINATION
   ============================================ */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 30px 0;
}

.nav-links a,
.nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-links a {
    background: var(--bg-primary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    text-decoration: none;
}

.nav-links a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.nav-links .current {
    background: var(--primary-color);
    color: #fff;
    border: 1px solid var(--primary-color);
}

/* ============================================
   SEARCH FORM
   ============================================ */
.search-form {
    display: flex;
    gap: 0;
}

.search-form .search-field {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.search-form .search-field:focus {
    border-color: var(--primary-color);
}

.search-form .search-submit {
    padding: 12px 20px;
    background: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

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

/* ============================================
   COMMENTS
   ============================================ */
.comments-area {
    padding: 30px 35px;
    border-top: 1px solid var(--border-light);
}

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

.comment-body {
    padding: 20px;
    margin-bottom: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.comment-author {
    font-weight: 600;
    margin-bottom: 8px;
}

/* ============================================
   TABLE OF CONTENTS (ETOC Plugin)
   ============================================ */
#ez-toc-container {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    padding: 20px 24px !important;
    margin: 24px 0 !important;
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip navigation link */
.screen-reader-text:focus {
    background: var(--bg-primary);
    color: var(--primary-color);
    padding: 12px 20px;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 100000;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ============================================ */
@media (max-width: 1024px) {
    .site-content {
        padding: 20px 15px;
    }
    
    .single .content-area,
    .page .content-area {
        padding: 30px 25px;
    }
    
    article.post {
        padding: 24px 25px;
    }
}

@media (max-width: 768px) {
    :root {
        --radius-md: 8px;
    }
    
    body {
        font-size: 15px;
    }
    
    .site-content {
        padding: 15px 12px;
    }
    
    .single .content-area,
    .page .content-area {
        padding: 24px 18px;
    }
    
    article.post {
        padding: 20px 18px;
    }
    
    .entry-title {
        font-size: 1.25rem;
    }
    
    .entry-content h2 {
        font-size: 1.35rem;
    }
    
    .entry-content h3 {
        font-size: 1.15rem;
    }
    
    .footer-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .footer-nav a {
        margin: 4px 10px;
        font-size: 0.85rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .single .content-area,
    .page .content-area {
        padding: 20px 14px;
    }
    
    .entry-content {
        font-size: 1rem;
    }
    
    .entry-title {
        font-size: 1.15rem;
    }
    
    .error-404-content h1 {
        font-size: 60px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .site-header,
    .site-footer,
    .cookie-consent-banner,
    .widget-area,
    .nav-links,
    .comments-area {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .content-area {
        box-shadow: none;
    }
}

/* ============================================
   PERFORMANCE - REDUCE LAYOUT SHIFT (CLS)
   ============================================ */
img {
    aspect-ratio: attr(width) / attr(height);
}

.post-image img,
.entry-content img {
    height: auto;
    max-width: 100%;
}

/* Prevent content jump from ads loading */
.ad-container {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}
