/* ==========================================================================
   BunnyBasicsHQ - Public Magazine Theme Stylesheet
   Color Palette:
   - Primary: #0B3D3A (Deep Pine / Forest Green)
   - Accent:  #D9A441 (Warm Ochre / Sun Gold)
   - BG:      #F7F7F4 (Natural Canvas / Warm Cream)
   - Text:    #1D2525 (Deep Charcoal)
   ========================================================================== */

:root {
    --primary: #0B3D3A;
    --primary-light: #155551;
    --primary-dark: #072624;
    --accent: #D9A441;
    --accent-hover: #b88628;
    --bg: #F7F7F4;
    --bg-white: #ffffff;
    --text: #1D2525;
    --text-muted: #627070;
    --border: #e3e6e4;
    --border-light: #f0f2f0;
    --shadow-sm: 0 2px 8px rgba(11, 61, 58, 0.05);
    --shadow-md: 0 6px 20px rgba(11, 61, 58, 0.08);
    --shadow-lg: 0 12px 36px rgba(11, 61, 58, 0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --font-heading: "Playfair Display", Georgia, serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --container-max: 1200px;
}

/* Reset & Global Performance */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeSpeed;
}

img { max-width: 100%; height: auto; display: block; content-visibility: auto; }
a { color: var(--primary); text-decoration: none; transition: color 0.15s ease; touch-action: manipulation; }
a:hover { color: var(--accent); }
button { touch-action: manipulation; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--primary); line-height: 1.25; margin-top: 0; font-weight: 700; font-display: swap; }

/* Below-the-fold content optimization for mobile */
.site-footer { content-visibility: auto; contain-intrinsic-size: 400px; }
.related-guides-section { content-visibility: auto; contain-intrinsic-size: 300px; }

/* Base Standard Container */
.container { 
    width: 100%; 
    max-width: var(--container-max); 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* ==========================================================================
   LAYOUT PROPORTIONS:
   Desktop: 5% Left Empty | 65% Blog Area | 25% Elena Sidebar | 5% Right Empty
   ========================================================================== */
@media (min-width: 993px) {
    .container-blog,
    .container-article,
    .blog-container,
    .main-layout-wrap,
    .container:not(.site-header .container):not(.site-footer .container):not(.hero-section .container) {
        width: 90% !important;
        max-width: 90vw !important;
        margin-left: 5% !important;
        margin-right: 5% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .main-layout {
        display: grid !important;
        grid-template-columns: 65fr 25fr !important;
        column-gap: 36px !important;
        row-gap: 40px !important;
        padding: 40px 0 !important;
        width: 100% !important;
    }

    .main-layout .content-area,
    .main-layout > main {
        width: 100% !important;
        min-width: 0;
    }

    .main-layout .sidebar,
    .main-layout > aside {
        width: 100% !important;
        min-width: 0;
    }
}

/* ==========================================================================
   HEADER & NAVIGATION (Normal Standard Width)
   ========================================================================== */
.site-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.site-header .container {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 0;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo img { height: 40px; width: auto; }
.site-title { font-family: var(--font-heading); font-size: 22px; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; margin: 0; white-space: nowrap; }
.site-title span { color: var(--accent); }

.nav-container { 
    display: flex; 
    align-items: center; 
    justify-content: flex-start;
    margin-left: 36px;
    flex: 1;
}
.nav-menu { 
    display: flex; 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    gap: 26px; 
    align-items: center; 
    justify-content: flex-start;
    flex-wrap: nowrap;
}
.nav-item { position: relative; white-space: nowrap; }
.nav-item > a {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text);
    padding: 8px 0;
    display: inline-block;
    transition: color 0.15s ease;
}
.nav-item:hover > a, .nav-item.active > a { color: var(--primary); }

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    max-height: 320px;
    overflow-y: auto;
    background: var(--bg-white);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.12), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 8px 0;
    list-style: none;
    margin: 0;
    display: none;
    border: 1px solid var(--border);
    z-index: 100;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}
.sub-menu::-webkit-scrollbar {
    width: 5px;
}
.sub-menu::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.sub-menu li a {
    display: block;
    padding: 9px 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    transition: all 0.15s ease;
}
.sub-menu li a:hover { 
    background: #f0fdf4; 
    color: #15803d;
    padding-left: 22px; 
}
.nav-item:hover .sub-menu { display: block; }

/* ==========================================================================
   SECONDARY HORIZONTAL CATEGORIES BAR (Rubriques & Pills Strip)
   ========================================================================== */
.site-category-bar {
    background: #f8fafc;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid var(--border);
    padding: 7px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}
.site-category-bar::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}
.category-bar-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}
.category-bar-inner::-webkit-scrollbar {
    display: none;
}
.cat-pill {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 5px 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.cat-pill:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: #eef6f4;
    transform: translateY(-1px);
}
.cat-pill.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(11, 61, 58, 0.2);
}

.header-actions { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    flex-shrink: 0;
}
.btn-search-trigger { background: none; border: none; font-size: 18px; cursor: pointer; color: var(--text); padding: 8px; }
.mobile-nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--primary); }

/* Language Switcher Dropdown */
.lang-switcher-wrapper {
    position: relative;
    display: inline-block;
}
.lang-switcher-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}
.lang-switcher-btn:hover, .lang-switcher-btn.active {
    background: #eef6f4;
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}
.lang-switcher-btn .lang-flag {
    font-size: 15px;
    line-height: 1;
}
.lang-switcher-btn .lang-code {
    letter-spacing: 0.5px;
}
.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    min-width: 150px;
    padding: 6px;
    z-index: 1050;
    animation: langDropdownFade 0.2s ease;
}
@keyframes langDropdownFade {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
.lang-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    transition: background 0.15s ease, color 0.15s ease;
}
.lang-dropdown-item:hover {
    background: #f1f5f9;
    color: var(--primary);
}
.lang-dropdown-item.active {
    background: #eef6f4;
    color: var(--primary);
    font-weight: 700;
}
.lang-dropdown-item .lang-flag {
    font-size: 16px;
}
.lang-dropdown-item .lang-name {
    flex: 1;
}
.lang-dropdown-item .lang-check {
    color: var(--primary);
    font-weight: bold;
    font-size: 12px;
}

/* ==========================================================================
   PREMIUM EDITORIAL HERO SECTION
   ========================================================================== */
.premium-hero-wrap {
    position: relative;
    background: linear-gradient(145deg, #064e3b 0%, #065f46 45%, #047857 100%);
    color: #ffffff;
    padding: 70px 0 60px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-backdrop-glow {
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(6, 78, 59, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-top-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 22px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background-color: #34d399;
    border-radius: 50%;
    box-shadow: 0 0 10px #34d399;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.badge-text {
    font-size: 12px;
    font-weight: 800;
    color: #fef08a;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-main-heading {
    font-family: var(--font-heading);
    font-size: 44px;
    line-height: 1.18;
    color: #ffffff;
    margin: 0 0 16px;
    font-weight: 800;
    letter-spacing: -0.8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .hero-main-heading {
        font-size: 50px;
    }
}

.hero-lead-text {
    font-size: 17.5px;
    color: #e2e8f0;
    line-height: 1.6;
    max-width: 740px;
    margin: 0 auto 32px;
    font-weight: 400;
    opacity: 0.95;
}

/* Floating Hero Search Box */
.hero-search-wrapper {
    max-width: 640px;
    margin: 0 auto 24px;
}

.hero-search-form {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    padding: 6px 8px;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.25s ease;
}

.hero-search-form:focus-within {
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
}

.search-input-box {
    display: flex;
    align-items: center;
    flex: 1;
    padding-left: 16px;
    gap: 12px;
}

.search-input-box .search-icon {
    color: #94a3b8;
    flex-shrink: 0;
}

.hero-search-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 15px;
    color: #0f172a;
    font-weight: 500;
    background: transparent;
    padding: 8px 0;
}

.hero-search-input::placeholder {
    color: #94a3b8;
}

.hero-search-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 14.5px;
    font-weight: 800;
    border-radius: 40px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.hero-search-submit-btn:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    transform: scale(1.02);
    box-shadow: 0 6px 18px rgba(217, 119, 6, 0.5);
}

/* Trending Tags */
.hero-trending-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

.trending-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #a7f3d0;
    margin-right: 4px;
}

.trending-pills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.trending-pill {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.trending-pill:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fef08a;
    border-color: #fef08a;
    transform: translateY(-1px);
}

/* 4-Tool Quick Interactive Launcher Ribbon */
.hero-tools-ribbon {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-top: 10px;
}

.tool-ribbon-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: #ffffff;
    text-align: left;
    transition: all 0.25s ease;
}

.tool-ribbon-card:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #f59e0b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.tool-ribbon-card .tool-icon {
    font-size: 26px;
    flex-shrink: 0;
}

.tool-ribbon-card .tool-text {
    flex: 1;
    min-width: 0;
}

.tool-ribbon-card .tool-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tool-ribbon-card .tool-text small {
    display: block;
    font-size: 11px;
    color: #d1fae5;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tool-ribbon-card .tool-arrow {
    color: #f59e0b;
    font-weight: 800;
    font-size: 16px;
    transition: transform 0.2s ease;
}

.tool-ribbon-card:hover .tool-arrow {
    transform: translateX(3px);
}

/* ==========================================================================
   PREMIUM ARTICLE CARDS GRID
   ========================================================================== */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 28px;
}

.premium-article-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.premium-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.12);
    border-color: #cbd5e1;
}

.card-image-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f1f5f9;
}

.card-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.card-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-article-card:hover .card-thumb-img {
    transform: scale(1.06);
}

.card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.35) 100%);
    pointer-events: none;
}

.card-floating-cat-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #15803d;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    transition: all 0.2s ease;
    z-index: 3;
}

.card-floating-cat-badge:hover {
    background: #15803d;
    color: #ffffff;
    transform: scale(1.03);
}

.card-content-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-top-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
    font-weight: 600;
}

.card-top-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-top-meta .meta-bullet {
    color: #cbd5e1;
}

.card-headline {
    font-family: var(--font-heading);
    font-size: 19px;
    line-height: 1.35;
    font-weight: 800;
    margin: 0 0 10px;
    color: #0f172a;
}

.card-headline a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
}

.premium-article-card:hover .card-headline a {
    color: #15803d;
}

.card-summary {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 20px;
    flex: 1;
}

.card-bottom-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
    margin-top: auto;
}

.author-micro-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
}

.author-badge-icon {
    font-size: 14px;
}

.card-read-guide-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 800;
    color: #15803d;
    text-decoration: none;
    transition: all 0.2s ease;
}

.card-read-guide-btn:hover {
    color: #047857;
    transform: translateX(3px);
}

/* ==========================================================================
   EDITORIAL SPOTLIGHT CARD (Featured Hero Post)
   ========================================================================== */
.editorial-spotlight-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px -5px rgba(11, 61, 58, 0.08);
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    margin-bottom: 40px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.editorial-spotlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -8px rgba(11, 61, 58, 0.15);
    border-color: #cbd5e1;
}

.spotlight-image-wrap {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    background: #f1f5f9;
}

.spotlight-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.spotlight-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.editorial-spotlight-card:hover .spotlight-thumb-img {
    transform: scale(1.05);
}

.spotlight-badge-floating {
    position: absolute;
    top: 18px;
    left: 18px;
    background: linear-gradient(135deg, #15803d, #047857);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(21, 128, 61, 0.35);
    z-index: 2;
}

.spotlight-content {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spotlight-category-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.spotlight-category-tag {
    background: #f0fdf4;
    color: #15803d;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.spotlight-category-tag:hover {
    background: #dcfce7;
    color: #166534;
}

.spotlight-readtime {
    font-size: 12.5px;
    color: #64748b;
    font-weight: 600;
}

.spotlight-title {
    font-family: var(--font-heading);
    font-size: 26px;
    line-height: 1.3;
    font-weight: 800;
    margin: 0 0 14px;
    color: #0f172a;
}

.spotlight-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
}

.editorial-spotlight-card:hover .spotlight-title a {
    color: #15803d;
}

.spotlight-excerpt {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 24px;
}

.spotlight-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.spotlight-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spotlight-author-avatar {
    font-size: 24px;
}

.spotlight-author-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.spotlight-author-role {
    display: block;
    font-size: 11.5px;
    color: #64748b;
}

.spotlight-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #15803d;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.25);
}

.spotlight-cta-btn:hover {
    background: #166534;
    color: #ffffff;
    transform: translateX(2px);
    box-shadow: 0 6px 16px rgba(21, 128, 61, 0.35);
}

/* ==========================================================================
   SECTION HEADINGS & DIVIDERS
   ========================================================================== */
.section-divider-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 36px 0 24px;
}

.section-heading-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    white-space: nowrap;
}

.section-heading-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #e2e8f0 0%, transparent 100%);
}

@media (max-width: 768px) {
    .editorial-spotlight-card {
        grid-template-columns: 1fr;
    }
    .spotlight-image-wrap {
        min-height: 220px;
        aspect-ratio: 16 / 9;
    }
    .spotlight-content {
        padding: 22px;
    }
    .spotlight-title {
        font-size: 20px;
    }
    .spotlight-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .spotlight-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

.card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.card-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.card-title {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.35;
}
.card-title a { color: var(--primary); }
.card-title a:hover { color: var(--accent); }
.card-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
}
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-light);
    padding-top: 14px;
    font-size: 13px;
    font-weight: 600;
}

/* Featured Article Banner */
.featured-banner {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    border: 1px solid var(--border);
}
.featured-media { min-height: 380px; position: relative; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-content { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.featured-title { font-size: 32px; margin: 12px 0 16px; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 35px; }
.widget {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 26px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}
.widget-title {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    position: relative;
}

.widget-author { text-align: center; }
.widget-author-avatar { width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 14px; object-fit: cover; border: 3px solid var(--accent); }
.widget-author h4 { margin: 0 0 6px; font-size: 18px; }
.widget-author p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0; }

.recent-post-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.recent-post-item { display: flex; gap: 14px; align-items: center; }
.recent-post-thumb { width: 70px; height: 70px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.recent-post-info h5 { margin: 0 0 4px; font-size: 14px; line-height: 1.4; }
.recent-post-info span { font-size: 12px; color: var(--text-muted); }

/* Newsletter Widget */
.newsletter-box {
    background: var(--primary);
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
}
.newsletter-box h3 { color: #ffffff; margin-bottom: 10px; }
.newsletter-box p { color: #d1dedd; font-size: 14px; margin-bottom: 20px; }
.newsletter-form input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 6px;
    border: none;
    margin-bottom: 10px;
    font-size: 14px;
}
.newsletter-form button {
    width: 100%;
    padding: 12px;
    background: var(--accent);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.newsletter-form button:hover { background: var(--accent-hover); }

/* Single Article Layout */
.article-header { margin-bottom: 30px; }
.article-breadcrumbs { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.article-breadcrumbs a { color: var(--text-muted); }
.article-breadcrumbs a:hover { color: var(--primary); }
.single-title { font-size: 40px; line-height: 1.25; margin-bottom: 18px; }
.article-byline {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--text-muted);
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.author-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.single-featured-img {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 25px 0 35px;
    box-shadow: var(--shadow-md);
}

.article-body {
    font-size: 18px;
    line-height: 1.85;
    color: var(--text);
}
.article-body p { margin-bottom: 24px; }
.article-body h2 { font-size: 28px; margin-top: 40px; margin-bottom: 18px; }
.article-body h3 { font-size: 22px; margin-top: 30px; margin-bottom: 14px; }

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: #d1dedd;
    padding: 70px 0 30px;
    margin-top: 60px;
}
.site-footer .container {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}
.footer-col h4 { color: #ffffff; font-size: 17px; margin-bottom: 20px; }
.footer-col p { font-size: 14px; line-height: 1.7; color: #a9bcbb; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-links a { color: #a9bcbb; }
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #8da4a3;
}
.social-icons { display: flex; gap: 14px; }
.social-icons a { color: #ffffff; font-size: 16px; transition: color 0.2s; }
.social-icons a:hover { color: var(--accent); }

/* ==========================================================================
   RESPONSIVE BREAKPOINTS: 95% Width on Smartphone & Tablet
   ========================================================================== */
@media (max-width: 992px) {
    .container-blog,
    .container-article,
    .blog-container,
    .main-layout-wrap,
    .container:not(.site-header .container):not(.site-footer .container):not(.hero-section .container) {
        width: 95% !important;
        max-width: 95vw !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .main-layout { 
        display: grid !important;
        grid-template-columns: 1fr !important; 
        gap: 30px !important; 
        padding: 30px 0 !important;
    }

    .featured-banner { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-title { font-size: 36px; }
    .single-title { font-size: 30px; }
}

@media (max-width: 768px) {
    .container-blog,
    .container-article,
    .blog-container,
    .main-layout-wrap,
    .container:not(.site-header .container):not(.site-footer .container):not(.hero-section .container) {
        width: 95% !important;
        max-width: 95vw !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .site-header .container {
        width: 100% !important;
        padding: 0 16px !important;
    }

    .nav-container { display: none; }
    .mobile-nav-toggle { display: block; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    .hero-section { padding: 45px 0; }
    .hero-title { font-size: 26px; }
    .hero-search-form { flex-direction: column; border-radius: var(--radius-md); padding: 8px; }
    .hero-search-input { border-radius: var(--radius-sm); margin-bottom: 8px; }
    .hero-search-btn { border-radius: var(--radius-sm); width: 100%; }
    .single-title { font-size: 26px; }
    .article-body { font-size: 16.5px; line-height: 1.75; }
    .article-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Social Sharing & Instagram Integration
   ========================================================================== */
.article-share-section {
    margin: 28px 0;
    padding: 16px 20px;
    background: #f8faf9;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.share-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
}
.share-buttons-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
    cursor: pointer;
    border: none;
    transition: transform 0.15s ease, opacity 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.92;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    color: #ffffff;
}
.share-btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.share-btn-whatsapp {
    background: #25D366;
}
.share-btn-facebook {
    background: #1877F2;
}
.share-btn-twitter {
    background: #000000;
}
.share-btn-pinterest {
    background: #E60023;
}
.share-btn-copy {
    background: #4a5568;
}

.btn-instagram-follow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 14px;
}
.btn-instagram-follow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 39, 67, 0.35);
}

.header-social-ig {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    background: #fdf2f4;
    color: #dc2743 !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #fbcfe8;
    transition: all 0.2s ease;
}
.header-social-ig:hover {
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
    color: #ffffff !important;
    border-color: transparent;
}

/* Toast notification */
.share-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99999;
    background: #0B3D3A;
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.share-toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   Interactive Enhancements: Progress Bar, Audio Player, TOC & Star Rating
   ========================================================================== */

/* 1. Reading Progress Bar */
#readingProgressBar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #D9A441, #F3C669, #0B3D3A);
    z-index: 999999;
    width: 0%;
    transition: width 0.1s linear;
}

/* 2. Text-to-Speech "Listen to Article" Bar */
.article-audio-bar {
    background: linear-gradient(135deg, #f0f7f5 0%, #e2efe9 100%);
    border: 1.5px solid #b8ddd3;
    border-radius: 12px;
    padding: 14px 20px;
    margin: 20px 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}
.audio-player-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.audio-play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(11,61,58,0.25);
    transition: transform 0.15s ease, background 0.15s ease;
}
.audio-play-btn:hover {
    background: var(--primary-light);
    transform: scale(1.05);
}
.audio-speed-btn {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
}

/* 3. Auto Table of Contents (TOC) */
.article-toc {
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 26px 0 32px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.article-toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}
.article-toc-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.article-toc-list {
    margin: 16px 0 0;
    padding-left: 20px;
    list-style-type: decimal;
}
.article-toc-list li {
    margin-bottom: 8px;
    font-size: 14.5px;
    line-height: 1.5;
}
.article-toc-list li a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.15s ease;
}
.article-toc-list li a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* 4. Interactive 5-Star Rating Box */
.star-rating-box {
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    margin: 35px 0 25px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.03);
}
.star-rating-stars {
    display: inline-flex;
    gap: 6px;
    font-size: 28px;
    cursor: pointer;
    margin: 10px 0;
}
.star-rating-star {
    color: #cbd5e1;
    transition: color 0.15s ease, transform 0.15s ease;
}
.star-rating-star.active,
.star-rating-star.hover {
    color: #f59e0b;
}
.star-rating-star:hover {
    transform: scale(1.15);
}

/* 5. High-Converting Affiliate Travel Deal Boxes */
.affiliate-deal-box {
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    margin: 28px 0;
    box-shadow: 0 6px 20px rgba(11,61,58,0.06);
    position: relative;
    overflow: hidden;
}
.affiliate-deal-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #D9A441, #0B3D3A);
}
.deal-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}
.deal-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(217, 164, 65, 0.15);
    color: #B38022;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}
.deal-discount-badge {
    background: #dcfce7;
    color: #166534;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}
.deal-box-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}
.deal-box-content {
    flex: 1;
    min-width: 250px;
}
.deal-box-content h4 {
    margin: 0 0 6px;
    font-size: 18px;
    color: var(--primary);
}
.deal-box-content p {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
}
.deal-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0B3D3A;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(11,61,58,0.2);
    transition: all 0.2s ease;
    white-space: nowrap;
}
.deal-cta-btn:hover {
    background: #D9A441;
    color: #0B3D3A !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(217,164,65,0.35);
}

/* ==========================================================================
   LIVE SEARCH SYSTEM & MODAL DRAWER
   ========================================================================== */
.header-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #f8fafc;
    color: var(--primary);
    border: 1px solid var(--border);
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.header-search-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: scale(1.08);
    box-shadow: 0 4px 10px rgba(11,61,58,0.2);
}
.header-search-btn svg {
    transition: transform 0.2s ease;
}
.header-search-btn:hover svg {
    transform: scale(1.1);
}

/* ==========================================================================
   FLOATING SOCIAL DOCK (Bottom-Left Corner on Desktop)
   ========================================================================== */
.floating-social-dock {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 990;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.floating-social-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #ffffff !important;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}
.floating-social-btn.pin {
    background: #E60023;
}
.floating-social-btn.ig {
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
}
.floating-social-btn:hover {
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
}
.floating-social-btn svg {
    display: block;
}
.floating-social-label {
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) translateX(-6px);
    background: #0B3D3A;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
.floating-social-btn:hover .floating-social-label {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
    .floating-social-dock {
        display: none !important;
    }
}

/* Modal Overlay */
.search-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 80px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.search-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.search-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 61, 58, 0.65);
    backdrop-filter: blur(4px);
}
.search-modal-card {
    position: relative;
    z-index: 2;
    background: #ffffff;
    width: 90%;
    max-width: 650px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    transform: translateY(-20px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.search-modal-overlay.active .search-modal-card {
    transform: translateY(0);
}

/* Modal Header & Input */
.search-modal-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    gap: 12px;
}
.search-input-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    position: relative;
}
.search-input-icon {
    position: absolute;
    left: 12px;
    color: #94a3b8;
}
.live-search-input {
    width: 100%;
    padding: 12px 38px 12px 42px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    font-size: 15.5px;
    outline: none;
    font-family: inherit;
    background: #f8fafc;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.live-search-input:focus {
    border-color: var(--primary);
    background: #ffffff;
}
.search-clear-btn {
    position: absolute;
    right: 12px;
    background: #e2e8f0;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #475569;
    cursor: pointer;
}
.search-modal-close {
    background: #f1f5f9;
    border: none;
    font-size: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.search-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Category Scope Filter Bar */
.search-scope-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    padding: 10px 20px;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 8px;
}
.search-scope-info {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
}
.search-scope-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 700;
    color: #0369a1;
    background: #e0f2fe;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #bae6fd;
    transition: all 0.2s ease;
}
.search-scope-toggle:hover {
    background: #bae6fd;
}
.search-scope-toggle input {
    cursor: pointer;
}

/* Search Results Body */
.search-results-body {
    padding: 16px 20px;
    overflow-y: auto;
    flex: 1;
}

/* Search History & Sections */
.search-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.search-section-title {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}
.btn-clear-history {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.btn-clear-history:hover {
    color: #ef4444;
    background: #fee2e2;
}

.recent-searches-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.recent-search-pill {
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 4px 10px 4px 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}
.recent-search-pill:hover {
    background: #eef6f4;
    border-color: #0B3D3A;
    color: #0B3D3A;
}
.recent-search-pill .pill-text {
    margin-right: 6px;
}
.recent-search-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    font-size: 9.5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}
.recent-search-delete:hover {
    background: #ef4444;
    color: #ffffff;
}

/* Quick tags */
.search-quick-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
}
.quick-tag-btn {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 5px 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s ease;
}
.quick-tag-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* Vertical Results List */
.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text);
    transition: background 0.15s ease, transform 0.15s ease;
    border: 1px solid transparent;
}
.search-result-item:hover {
    background: #f8fafc;
    border-color: var(--border);
    transform: translateX(4px);
}
.search-result-thumb {
    width: 65px;
    height: 55px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #e2e8f0;
}
.search-result-info {
    flex: 1;
    min-width: 0;
}
.search-result-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 4px 0;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-result-item:hover .search-result-title {
    color: var(--accent);
}
.search-result-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #64748b;
}
.search-result-badge {
    background: #eef6f4;
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 11px;
}

/* Loading & Empty */
.search-loading-state,
.search-empty-state {
    text-align: center;
    padding: 30px 20px;
    color: #64748b;
}
.search-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid #e2e8f0;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spinSearch 0.7s linear infinite;
    margin: 0 auto 10px auto;
}
@keyframes spinSearch {
    to { transform: rotate(360deg); }
}

/* Modal Footer */
.search-modal-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--border);
    background: #f8fafc;
    text-align: center;
}
.view-all-results-link {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}
.view-all-results-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* ==========================================================================
   RIGHT-SIDE MOBILE & TABLET NAVIGATION DRAWER
   ========================================================================== */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    visibility: hidden;
    transition: visibility 0.3s ease;
}
.mobile-drawer-overlay.active {
    visibility: visible;
}

.mobile-drawer-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 61, 58, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}
.mobile-drawer-overlay.active .mobile-drawer-backdrop {
    opacity: 1;
}

.mobile-drawer-right {
    position: absolute;
    top: 0;
    right: 0;
    width: min(340px, 86vw);
    height: 100%;
    background: #ffffff;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
    overflow-y: hidden;
}
.mobile-drawer-overlay.active .mobile-drawer-right {
    transform: translateX(0);
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.mobile-drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.mobile-drawer-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.3px;
}
.mobile-drawer-title span {
    color: var(--accent);
}

.mobile-drawer-close {
    background: #e2e8f0;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 15px;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.mobile-drawer-close:hover {
    background: #ef4444;
    color: #ffffff;
}

.mobile-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px 20px;
    -webkit-overflow-scrolling: touch;
}

.mobile-drawer-search-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f1f5f9;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 13.5px;
    color: #64748b;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.2s ease;
    text-align: left;
}
.mobile-drawer-search-btn:hover {
    background: #eef6f4;
    border-color: var(--primary);
    color: var(--primary);
}

.mobile-drawer-section {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}
.mobile-drawer-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.mobile-drawer-label {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.mobile-drawer-nav ul,
.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mobile-drawer-nav li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    transition: all 0.15s ease;
}
.mobile-drawer-nav li a:hover {
    background: #f1f5f9;
    color: var(--primary);
    padding-left: 16px;
}

.mobile-destinations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.mobile-dest-pill {
    display: block;
    padding: 8px 10px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    text-align: center;
    transition: all 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mobile-dest-pill:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.mobile-drawer-socials {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mobile-social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.mobile-social-link.ig {
    background: #fdf2f8;
    color: #be185d;
    border: 1px solid #fbcfe8;
}
.mobile-social-link.ig:hover {
    background: #fce7f3;
}
.mobile-social-link.pin {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}
.mobile-social-link.pin:hover {
    background: #fee2e2;
}

.mobile-drawer-footer {
    padding: 14px 20px;
    background: #f8fafc;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

/* ==========================================================================
   TABLET & MOBILE RESPONSIVE ENGINE (< 1024px, < 768px, < 640px)
   ========================================================================== */

/* Tablet Screens (<= 1024px) */
@media (max-width: 1024px) {
    .nav-container {
        display: none !important;
    }
    .mobile-nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #f1f5f9;
        border: 1px solid var(--border);
        border-radius: 8px;
        font-size: 20px;
        color: var(--primary);
        cursor: pointer;
        transition: all 0.2s ease;
    }
    .mobile-nav-toggle:hover {
        background: #e2e8f0;
    }
    .header-social-ig {
        display: none !important;
    }
    .articles-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    .hero-title {
        font-size: 38px !important;
    }
    .hero-subtitle {
        font-size: 16px !important;
    }
    .single-article-layout {
        flex-direction: column !important;
    }
    .article-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 30px;
    }
}

/* Mobile Screens (<= 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 16px !important;
    }
    .header-top {
        padding: 12px 0 !important;
    }
    .site-title {
        font-size: 20px !important;
    }
    .site-logo img {
        height: 34px !important;
    }
    .hero-section {
        padding: 50px 0 60px !important;
    }
    .hero-title {
        font-size: 30px !important;
        line-height: 1.25 !important;
    }
    .hero-subtitle {
        font-size: 15px !important;
        margin-bottom: 24px !important;
    }
    .hero-search-form {
        border-radius: 12px !important;
        flex-direction: column !important;
        padding: 8px !important;
        gap: 8px !important;
    }
    .hero-search-input {
        border-radius: 8px !important;
        padding: 10px 14px !important;
    }
    .hero-search-btn {
        border-radius: 8px !important;
        padding: 12px !important;
        width: 100% !important;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

/* Small Mobile Screens (<= 640px) */
@media (max-width: 640px) {
    .articles-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
    .article-card-image-wrap {
        height: 190px !important;
    }
    .article-card-title {
        font-size: 16.5px !important;
        line-height: 1.35 !important;
    }
    .search-modal-overlay {
        padding-top: 0 !important;
    }
    .search-modal-card {
        width: 100% !important;
        height: 100vh !important;
        max-height: 100vh !important;
        border-radius: 0 !important;
    }
    .header-search-btn {
        width: 36px !important;
        height: 36px !important;
        padding: 0 !important;
    }
    
    /* Responsive Tables inside Articles */
    .article-body table,
    .article-content table {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        white-space: nowrap !important;
        border-collapse: collapse !important;
    }
    .article-body table th,
    .article-body table td,
    .article-content table th,
    .article-content table td {
        padding: 8px 12px !important;
        font-size: 13px !important;
    }

    /* Single Article Elements */
    .article-header h1 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }
    .article-lead {
        font-size: 15.5px !important;
    }
    .tbg-faq-item summary {
        font-size: 14.5px !important;
        padding: 12px 14px !important;
    }
    .star-rating-box {
        flex-direction: column !important;
        text-align: center !important;
        gap: 10px !important;
    }
}

/* ==========================================================================
   ADVANCED SMARTPHONE & TABLET ULTRA-RESPONSIVE ENGINE
   ========================================================================== */

/* Tablet & iPad Pro/Air (<= 1024px) */
@media (max-width: 1024px) {
    .main-layout {
        flex-direction: column !important;
        gap: 32px !important;
    }
    .content-area {
        width: 100% !important;
        max-width: 100% !important;
    }
    .sidebar {
        width: 100% !important;
        max-width: 100% !important;
    }
    .article-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    .hero-tools-ribbon {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}

/* Large Smartphones & Small Tablets (<= 768px) */
@media (max-width: 768px) {
    .article-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .editorial-spotlight-card {
        grid-template-columns: 1fr !important;
        border-radius: 12px !important;
    }
    .spotlight-image-wrap {
        min-height: 220px !important;
        height: 220px !important;
    }
    .spotlight-content {
        padding: 20px !important;
    }
    .spotlight-title {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }
    .hero-main-heading {
        font-size: 28px !important;
        line-height: 1.25 !important;
    }
    .hero-lead-text {
        font-size: 15px !important;
    }
    .hero-tools-ribbon {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .hero-trending-tags {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }
    .trending-pills-list {
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 6px !important;
        flex-wrap: nowrap !important;
    }
    .trending-pill {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    .article-share-section {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    .share-buttons-grid {
        width: 100% !important;
        flex-wrap: wrap !important;
    }
    .article-audio-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .card-thumb-img {
        height: 210px !important;
    }
}

/* Compact Smartphones (<= 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 14px !important;
    }
    .site-header .container {
        padding: 0 12px !important;
    }
    .hero-search-wrapper {
        width: 100% !important;
    }
    .hero-search-form {
        flex-direction: column !important;
        border-radius: 12px !important;
        padding: 6px !important;
    }
    .hero-search-submit-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px !important;
    }
    .card-content-body {
        padding: 16px !important;
    }
    .card-headline {
        font-size: 17px !important;
        line-height: 1.35 !important;
    }
    .single-title {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }
    .article-content {
        font-size: 16px !important;
        line-height: 1.7 !important;
    }
    .single-featured-img img {
        border-radius: 8px !important;
    }
}




