/* ==========================================================================
           EDITORIAL MAGAZINE NEWS STYLES - CV ANEUK COKLAT
           ========================================================================== */
        
        :root {
    --primary: #5C3D2E;
    --primary-dark: #3E2723;
    --secondary: #2E5A44;
    --secondary-light: #E8F5E9;
    --accent: #C5A059;
    --accent-gold: #C5A059;
    --bg-light: #FAF6F0;
    --bg-white: #FFFFFF;
    --text-dark: #2C1B12;
    --text-muted: #4A3E37;
    --text-tertiary: #8A7A6E;
    --border-color: #E6DFD9;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 999px;

    /* Aliased Magazine Tokens */
    --mag-primary: var(--secondary, #2E5A44);
    --mag-primary-dark: var(--primary-dark, #3E2723);
    --mag-secondary: var(--secondary, #2E5A44);
    --mag-secondary-light: var(--secondary-light, #E8F5E9);
    --mag-accent: var(--accent, #C5A059);
    --mag-accent-light: #FAF6F0;
    --mag-gold-glow: rgba(197, 160, 89, 0.35);
    --mag-green-glow: rgba(46, 90, 68, 0.25);
    --mag-bg-cream: var(--bg-light, #FAF6F0);
    --mag-card-bg: #FFFFFF;
    --mag-text-heading: var(--text-dark, #2C1B12);
    --mag-text-body: var(--text-muted, #4A3E37);
    --mag-text-muted: var(--text-tertiary, #8A7A6E);
    --mag-border: var(--border-color, #E6DFD9);
    --mag-font-editorial: 'Outfit', sans-serif;
}

        /* 1. TICKER WIDGET HARGA KAKAO */
        .price-ticker-wrapper {
            background: #0d2319;
            color: #ffffff;
            border-bottom: 1px solid rgba(197, 160, 89, 0.3);
            font-size: 0.85rem;
            position: sticky;
            top: 70px;
            z-index: 99;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }

        .ticker-inner {
            display: flex;
            align-items: center;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        .ticker-label {
            background: linear-gradient(135deg, #c5a059, #9a7b38);
            color: #0d2319;
            font-weight: 800;
            padding: 0.6rem 1.25rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 0.75rem;
            white-space: nowrap;
            z-index: 2;
            box-shadow: 4px 0 12px rgba(0,0,0,0.3);
        }

        .ticker-label .live-dot {
            width: 8px;
            height: 8px;
            background-color: #0d2319;
            border-radius: 50%;
            display: inline-block;
            animation: pulseDot 1.5s infinite;
        }

        @keyframes pulseDot {
            0% { transform: scale(0.9); opacity: 1; }
            50% { transform: scale(1.3); opacity: 0.4; }
            100% { transform: scale(0.9); opacity: 1; }
        }

        .ticker-content-track {
            display: flex;
            align-items: center;
            gap: 2.5rem;
            white-space: nowrap;
            overflow-x: auto;
            scrollbar-width: none;
            padding: 0.6rem 1.5rem;
            width: 100%;
        }

        .ticker-content-track::-webkit-scrollbar {
            display: none;
        }

        .ticker-item {
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            color: #E6DFD9;
            font-weight: 500;
        }

        .ticker-item .price-title {
            color: #a0aec0;
        }

        .ticker-item .price-val {
            color: #ffffff;
            font-weight: 700;
        }

        .badge-up {
            background: rgba(34, 197, 94, 0.2);
            color: #4ade80;
            padding: 0.15rem 0.5rem;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            gap: 0.2rem;
        }

        .badge-steady {
            background: rgba(234, 179, 8, 0.2);
            color: #facc15;
            padding: 0.15rem 0.5rem;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 700;
        }

        .ticker-timestamp {
            color: #718096;
            font-size: 0.75rem;
            margin-left: auto;
            white-space: nowrap;
            padding-left: 1rem;
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }

        /* 2. EDITORIAL HERO SECTION */
        .magazine-hero {
            background: linear-gradient(180deg, #0d2319 0%, #16382b 100%);
            color: #ffffff;
            padding: 4rem 0 5rem;
            position: relative;
            overflow: hidden;
        }

        .magazine-hero::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(197, 160, 89, 0.12) 0%, rgba(0,0,0,0) 70%);
            pointer-events: none;
        }

        .magazine-hero-grid {
            display: grid;
            grid-template-columns: 1.3fr 1fr;
            gap: 3rem;
            align-items: center;
        }

        @media (max-width: 992px) {
            .magazine-hero-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
        }

        .hero-featured-image-wrapper {
            position: relative;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0,0,0,0.4);
            border: 1px solid rgba(197, 160, 89, 0.3);
        }

        .hero-featured-img {
            width: 100%;
            height: 440px;
            object-fit: cover;
            display: block;
            transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        .hero-featured-image-wrapper:hover .hero-featured-img {
            transform: scale(1.04);
        }

        .hero-featured-badge {
            position: absolute;
            top: 1.25rem;
            left: 1.25rem;
            background: rgba(13, 35, 25, 0.85);
            backdrop-filter: blur(8px);
            border: 1px solid #c5a059;
            color: #c5a059;
            padding: 0.4rem 1rem;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        }

        .hero-featured-content {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .editorial-kicker {
            color: #c5a059;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            font-size: 0.85rem;
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .hero-editorial-title {
            font-family: var(--mag-font-editorial);
            font-size: 2.5rem;
            line-height: 1.2;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 1.25rem;
            transition: color 0.3s ease;
        }

        @media (max-width: 768px) {
            .hero-editorial-title {
                font-size: 1.85rem;
            }
        }

        .hero-editorial-excerpt {
            color: #E6DFD9;
            font-size: 1.05rem;
            line-height: 1.7;
            margin-bottom: 2rem;
        }

        .author-meta-box {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem 1.25rem;
            background: rgba(255, 255, 255, 0.06);
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            margin-bottom: 2rem;
            width: fit-content;
        }

        .author-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #c5a059;
        }

        .author-info h5 {
            margin: 0;
            color: #ffffff;
            font-size: 0.95rem;
            font-weight: 600;
        }

        .author-info p {
            margin: 0;
            color: #94a3b8;
            font-size: 0.8rem;
        }

        .hero-cta-btn {
            background: linear-gradient(135deg, #c5a059, #a3813c);
            color: #0d2319;
            font-weight: 700;
            padding: 0.9rem 2rem;
            border-radius: 12px;
            border: none;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            box-shadow: 0 8px 25px rgba(197, 160, 89, 0.3);
            width: fit-content;
        }

        .hero-cta-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(197, 160, 89, 0.5);
            background: linear-gradient(135deg, #d4af66, #b8934b);
        }

        /* 3. INTERACTIVE SEARCH & FILTER BAR */
        .filter-section-wrapper {
            background: var(--mag-bg-cream);
            padding: 3rem 0 2rem;
        }

        .magazine-filter-card {
            background: #ffffff;
            border-radius: 20px;
            padding: 1.75rem 2rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.06);
            border: 1px solid #E6DFD9;
            margin-bottom: 2.5rem;
        }

        .filter-top-row {
            display: flex;
            gap: 1.5rem;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            margin-bottom: 1.5rem;
        }

        .magazine-search-box {
            position: relative;
            flex: 1;
            min-width: 280px;
        }

        .magazine-search-box input {
            width: 100%;
            padding: 0.85rem 1.2rem 0.85rem 3rem;
            border: 1.5px solid #E6DFD9;
            border-radius: 12px;
            font-family: 'Inter', sans-serif;
            font-size: 0.95rem;
            transition: all 0.25s ease;
            background: #FAF6F0;
        }

        .magazine-search-box input:focus {
            outline: none;
            border-color: #2d6a4f;
            background: #ffffff;
            box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.12);
        }

        .magazine-search-box i {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: #4A3E37;
        }

        .sort-select-wrapper {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .sort-select-wrapper label {
            font-size: 0.85rem;
            font-weight: 600;
            color: #475569;
            white-space: nowrap;
        }

        .sort-select {
            padding: 0.75rem 1rem;
            border-radius: 10px;
            border: 1.5px solid #E6DFD9;
            background: #ffffff;
            font-family: 'Inter', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            color: #1e293b;
            cursor: pointer;
            transition: border-color 0.2s ease;
        }

        .sort-select:focus {
            outline: none;
            border-color: #2d6a4f;
        }

        .pill-categories-track {
            display: flex;
            gap: 0.6rem;
            flex-wrap: wrap;
            align-items: center;
        }

        .mag-pill-btn {
            padding: 0.6rem 1.2rem;
            border-radius: 50px;
            border: 1px solid #E6DFD9;
            background: #f1f5f9;
            color: #475569;
            font-family: 'Outfit', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
        }

        .mag-pill-btn:hover {
            background: #E6DFD9;
            color: #1e293b;
            transform: translateY(-2px);
        }

        .mag-pill-btn.active {
            background: #1b4332;
            color: #ffffff;
            border-color: #1b4332;
            box-shadow: 0 4px 14px rgba(27, 67, 50, 0.25);
        }

        .results-count-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.85rem;
            color: #4A3E37;
            margin-bottom: 2rem;
            padding: 0 0.5rem;
        }

        /* 4. ARTICLE CARDS GRID */
        .magazine-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
            gap: 2.25rem;
            margin-bottom: 4rem;
        }

        @media (max-width: 768px) {
            .magazine-grid {
                grid-template-columns: 1fr;
            }
        }

        .mag-card {
            background: #ffffff;
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid #E6DFD9;
            box-shadow: 0 8px 20px rgba(0,0,0,0.04);
            transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .mag-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 35px rgba(0,0,0,0.1);
            border-color: #E6DFD9;
        }

        .mag-card-img-wrapper {
            position: relative;
            height: 220px;
            overflow: hidden;
        }

        .mag-card-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .mag-card:hover .mag-card-img {
            transform: scale(1.08);
        }

        .glowing-category-tag {
            position: absolute;
            top: 1rem;
            left: 1rem;
            background: rgba(27, 67, 50, 0.88);
            backdrop-filter: blur(6px);
            color: #ffffff;
            font-size: 0.72rem;
            font-weight: 700;
            padding: 0.3rem 0.8rem;
            border-radius: 50px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            box-shadow: 0 0 12px var(--mag-green-glow);
            border: 1px solid rgba(255,255,255,0.2);
        }

        .glowing-category-tag.pasar {
            background: rgba(180, 83, 9, 0.9);
            box-shadow: 0 0 12px rgba(180, 83, 9, 0.35);
        }

        .glowing-category-tag.klon {
            background: rgba(30, 58, 138, 0.9);
            box-shadow: 0 0 12px rgba(30, 58, 138, 0.35);
        }

        .mag-card-body {
            padding: 1.75rem;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .mag-card-meta {
            display: flex;
            align-items: center;
            gap: 1rem;
            font-size: 0.8rem;
            color: #4A3E37;
            margin-bottom: 0.75rem;
        }

        .mag-card-meta span {
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }

        .mag-card-title {
            font-family: var(--mag-font-editorial);
            font-size: 1.35rem;
            font-weight: 700;
            line-height: 1.35;
            color: #1e293b;
            margin-bottom: 0.85rem;
            transition: color 0.2s ease;
        }

        .mag-card:hover .mag-card-title {
            color: #2d6a4f;
        }

        .mag-card-excerpt {
            font-size: 0.9rem;
            color: #4A3E37;
            line-height: 1.65;
            margin-bottom: 1.5rem;
            flex-grow: 1;
        }

        .mag-card-footer {
            padding-top: 1.25rem;
            border-top: 1px solid #f1f5f9;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .author-mini {
            display: flex;
            align-items: center;
            gap: 0.6rem;
        }

        .author-mini img {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            object-fit: cover;
        }

        .author-mini span {
            font-size: 0.8rem;
            font-weight: 600;
            color: #334155;
        }

        .btn-read-card {
            color: #2d6a4f;
            font-weight: 700;
            font-size: 0.85rem;
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
            background: #f0fdf4;
            padding: 0.4rem 0.9rem;
            border-radius: 8px;
            transition: all 0.2s ease;
            border: 1px solid #dcfce7;
        }

        .mag-card:hover .btn-read-card {
            background: #2d6a4f;
            color: #ffffff;
            border-color: #2d6a4f;
        }

        /* 5. TRENDING & FARMER GUIDES SECTION */
        .trending-section {
            padding: 4rem 0 5rem;
            background: #ffffff;
            border-top: 1px solid #E6DFD9;
        }

        .trending-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
        }

        @media (max-width: 992px) {
            .trending-grid {
                grid-template-columns: 1fr;
            }
        }

        .section-header-editorial {
            margin-bottom: 2rem;
        }

        .section-header-editorial h3 {
            font-family: var(--mag-font-editorial);
            font-size: 1.85rem;
            color: #1b4332;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.5rem;
        }

        .trending-list {
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
        }

        .trending-item {
            display: flex;
            gap: 1.25rem;
            align-items: center;
            padding: 1.25rem;
            background: #FAF6F0;
            border-radius: 16px;
            border: 1px solid #E6DFD9;
            transition: all 0.25s ease;
            cursor: pointer;
        }

        .trending-item:hover {
            background: #ffffff;
            box-shadow: 0 10px 25px rgba(0,0,0,0.06);
            transform: translateX(6px);
            border-color: #E6DFD9;
        }

        .trending-num {
            font-family: var(--mag-font-editorial);
            font-size: 2.2rem;
            font-weight: 800;
            color: #E6DFD9;
            line-height: 1;
            min-width: 40px;
        }

        .trending-item:nth-child(1) .trending-num { color: #c5a059; }
        .trending-item:nth-child(2) .trending-num { color: #94a3b8; }
        .trending-item:nth-child(3) .trending-num { color: #b45309; }

        .trending-thumb {
            width: 80px;
            height: 80px;
            border-radius: 12px;
            object-fit: cover;
            flex-shrink: 0;
        }

        .trending-content h4 {
            font-size: 1.05rem;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 0.4rem;
            line-height: 1.35;
        }

        .trending-meta {
            font-size: 0.78rem;
            color: #4A3E37;
            display: flex;
            gap: 1rem;
        }

        /* FARMER GUIDES ACCORDION */
        .guide-accordion {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .guide-accordion-item {
            border: 1.5px solid #E6DFD9;
            border-radius: 16px;
            overflow: hidden;
            background: #ffffff;
            transition: border-color 0.25s ease;
        }

        .guide-accordion-header {
            padding: 1.2rem 1.5rem;
            background: #FAF6F0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            font-weight: 700;
            color: #1b4332;
            font-size: 1rem;
            user-select: none;
        }

        .guide-accordion-header:hover {
            background: #f1f5f9;
        }

        .guide-accordion-body {
            padding: 0 1.5rem;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease, padding 0.35s ease;
            font-size: 0.92rem;
            color: #475569;
            line-height: 1.7;
        }

        .guide-accordion-item.active {
            border-color: #2d6a4f;
        }

        
        .guide-accordion-header i,
        .guide-accordion-header svg {
            transition: transform 0.3s ease;
        }

        .guide-accordion-item.active .guide-accordion-header i,
        .guide-accordion-item.active .guide-accordion-header svg {
            transform: rotate(180deg);
        }

        .guide-accordion-item.active .guide-accordion-header {
            background: #edf7f2;
            color: #2d6a4f;
        }

        .guide-accordion-item.active .guide-accordion-body {
            padding: 1.25rem 1.5rem;
            max-height: 300px;
        }

        /* 6. WHATSAPP VIP BANNER CTA */
        .vip-whatsapp-section {
            background: linear-gradient(135deg, #0d2319 0%, #1b4332 50%, #2d6a4f 100%);
            color: #ffffff;
            padding: 4.5rem 2rem;
            border-radius: 28px;
            margin: 4rem auto 5rem;
            position: relative;
            overflow: hidden;
            box-shadow: 0 25px 50px rgba(13, 35, 25, 0.3);
            border: 1px solid rgba(197, 160, 89, 0.4);
            text-align: center;
        }

        .vip-whatsapp-section::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -10%;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(37, 211, 102, 0.2) 0%, rgba(0,0,0,0) 70%);
            pointer-events: none;
        }

        .vip-content-wrapper {
            position: relative;
            z-index: 2;
            max-width: 750px;
            margin: 0 auto;
        }

        .vip-badge {
            background: rgba(37, 211, 102, 0.15);
            border: 1px solid #25d366;
            color: #25d366;
            padding: 0.35rem 1.1rem;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            margin-bottom: 1.25rem;
        }

        .vip-title {
            font-family: var(--mag-font-editorial);
            font-size: 2.3rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: #ffffff;
            line-height: 1.25;
        }

        .vip-desc {
            color: #E6DFD9;
            font-size: 1.05rem;
            margin-bottom: 2rem;
            line-height: 1.7;
        }

        .vip-benefits-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
            margin-bottom: 2.5rem;
            text-align: left;
        }

        @media (max-width: 768px) {
            .vip-benefits-grid {
                grid-template-columns: 1fr;
            }
        }

        .vip-benefit-card {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(6px);
            padding: 1rem 1.25rem;
            border-radius: 14px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            font-size: 0.88rem;
            color: #E6DFD9;
        }

        .vip-benefit-card i {
            color: #25d366;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .btn-wa-vip {
            background: #25d366;
            color: #ffffff;
            font-weight: 800;
            font-size: 1.05rem;
            padding: 1rem 2.5rem;
            border-radius: 50px;
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
            border: none;
            cursor: pointer;
            text-decoration: none;
        }

        .btn-wa-vip:hover {
            background: #20ba5a;
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
            color: #ffffff;
        }

        /* 7. READING MODAL EDITORIAL */
        .mag-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(13, 35, 25, 0.85);
            backdrop-filter: blur(8px);
            z-index: 9999;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 1.5rem;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .mag-modal-overlay.active {
            display: flex;
            opacity: 1;
        }

        .mag-modal-container {
            background: #ffffff;
            border-radius: 20px;
            max-width: 1180px;
            width: 94%;
            max-height: 92vh;
            overflow-y: auto;
            position: relative;
            box-shadow: 0 30px 80px rgba(0,0,0,0.4);
            border: 1px solid rgba(226, 232, 240, 0.8);
            animation: modalSlideUp 0.35s ease cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        /* Custom Scrollbar for Modal Container */
        .mag-modal-container::-webkit-scrollbar {
            width: 8px;
        }
        .mag-modal-container::-webkit-scrollbar-track {
            background: #f1f5f9;
            border-radius: 0 20px 20px 0;
        }
        .mag-modal-container::-webkit-scrollbar-thumb {
            background: #E6DFD9;
            border-radius: 4px;
        }
        .mag-modal-container::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }

        @keyframes modalSlideUp {
            from { transform: translateY(30px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        .modal-close-icon {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            background: #f1f5f9;
            border: none;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #475569;
            transition: all 0.2s ease;
            z-index: 20;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .modal-close-icon:hover {
            background: #E6DFD9;
            color: #1e293b;
            transform: rotate(90deg) scale(1.05);
        }

        .modal-editorial-body {
            padding: 3rem 3.5rem;
        }

        /* 2-COLUMN EDITORIAL GRID LAYOUT FOR DESKTOP */
        .modal-layout-grid {
            display: grid;
            grid-template-columns: 1fr 340px;
            gap: 2.5rem;
            margin-top: 1.5rem;
            align-items: start;
        }

        .modal-main-column {
            min-width: 0;
        }

        .modal-sidebar-column {
            position: sticky;
            top: 0;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .modal-cover-wrapper {
            margin-bottom: 2rem;
            border-radius: 16px;
            overflow: hidden;
            background: #FAF6F0;
            box-shadow: 0 8px 24px rgba(0,0,0,0.06);
        }

        .modal-hero-cover {
            width: 100%;
            max-height: 460px;
            object-fit: cover;
            display: block;
        }

        .modal-cover-caption {
            font-size: 0.82rem;
            color: #4A3E37;
            padding: 0.6rem 1rem;
            background: #FAF6F0;
            border-top: 1px solid #f1f5f9;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            font-style: italic;
        }

        .modal-editorial-card-info {
            background: #FAF6F0;
            border: 1px solid #E6DFD9;
            border-radius: 16px;
            padding: 1.25rem;
        }

        .modal-editorial-card-info h4 {
            color: #1e293b;
            font-size: 0.95rem;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            font-weight: 700;
        }

        .modal-editorial-card-info p {
            color: #4A3E37;
            font-size: 0.85rem;
            line-height: 1.5;
            margin-bottom: 0.75rem;
        }

        .verified-badge-pill {
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
            background: #dcfce7;
            color: #15803d;
            font-weight: 700;
            font-size: 0.75rem;
            padding: 0.25rem 0.6rem;
            border-radius: 20px;
        }

        .modal-cta-card-box {
            background: linear-gradient(135deg, #0d2319 0%, #1b4332 100%);
            color: #ffffff;
            border-radius: 16px;
            padding: 1.5rem;
            text-align: center;
            box-shadow: 0 10px 25px rgba(13, 35, 25, 0.25);
        }

        .modal-cta-card-box h4 {
            color: #ffffff;
            font-size: 1.05rem;
            margin-bottom: 0.5rem;
            font-weight: 700;
        }

        .modal-cta-card-box p {
            color: #E6DFD9;
            font-size: 0.85rem;
            line-height: 1.5;
            margin-bottom: 1.25rem;
        }

        .btn-sidebar-wa {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            background: linear-gradient(135deg, #25d366, #128c7e);
            color: #ffffff;
            font-weight: 700;
            font-size: 0.85rem;
            padding: 0.75rem 1.25rem;
            border-radius: 10px;
            text-decoration: none;
            width: 100%;
            transition: all 0.2s ease;
            box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
        }

        .btn-sidebar-wa:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
        }

        @media (max-width: 1024px) {
            .mag-modal-container {
                max-width: 92%;
            }
            .modal-layout-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            .modal-sidebar-column {
                position: static;
            }
        }

        @media (max-width: 768px) {
            .modal-editorial-body {
                padding: 2rem 1.25rem;
            }
            .modal-headline {
                font-size: 1.6rem;
            }
            .modal-editorial-body {
                padding: 2rem 1.25rem;
            }
        }

        .modal-category-badge {
            display: inline-block;
            background: #edf7f2;
            color: #2d6a4f;
            font-weight: 700;
            font-size: 0.8rem;
            padding: 0.3rem 0.9rem;
            border-radius: 50px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 1rem;
        }

        .modal-headline {
            font-family: var(--mag-font-editorial);
            font-size: 2.2rem;
            color: #1b4332;
            line-height: 1.25;
            margin-bottom: 1.5rem;
        }

        .modal-author-strip {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem 0;
            border-top: 1px solid #f1f5f9;
            border-bottom: 1px solid #f1f5f9;
            margin-bottom: 2rem;
        }

        .modal-author-strip img {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            object-fit: cover;
        }

        .modal-author-info {
            flex: 1;
        }

        .modal-author-info h6,
        .modal-author-info .author-byline {
            margin: 0;
            font-size: 0.92rem;
            color: #1e293b;
            font-weight: 700;
        }

        .modal-author-info span {
            font-size: 0.8rem;
            color: #4A3E37;
        }

        .modal-hero-cover {
            width: 100%;
            height: 320px;
            object-fit: cover;
            border-radius: 16px;
            margin-bottom: 2rem;
        }

        /* KEY TAKEAWAYS BOX */
        .key-takeaways-box {
            background: #f0fdf4;
            border: 1.5px solid #bbf7d0;
            border-radius: 16px;
            padding: 1.5rem;
            margin-bottom: 2rem;
        }

        .key-takeaways-box h3,
        .key-takeaways-box h5 {
            color: #166534;
            font-size: 1rem;
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .key-takeaways-box ul {
            margin: 0;
            padding-left: 1.25rem;
            color: #15803d;
            font-size: 0.92rem;
            line-height: 1.65;
        }

        /* QUOTE CALLOUT BOX */
        .editorial-quote-box {
            border-left: 4px solid #c5a059;
            background: #faf7f2;
            padding: 1.5rem 1.75rem;
            margin: 2rem 0;
            border-radius: 0 16px 16px 0;
            font-family: var(--mag-font-editorial);
            font-size: 1.2rem;
            font-style: italic;
            color: #2c1b12;
            line-height: 1.6;
        }

        .editorial-quote-author {
            font-family: 'Inter', sans-serif;
            font-style: normal;
            font-size: 0.85rem;
            font-weight: 700;
            color: #9a7b38;
            margin-top: 0.5rem;
            display: block;
        }

        .modal-text-content {
            font-family: 'Inter', sans-serif;
            font-size: 1.05rem;
            color: #334155;
            line-height: 1.8;
        }

        .modal-text-content p {
            margin-bottom: 1.5rem;
        }

        .modal-share-bar {
            margin-top: 3rem;
            padding-top: 1.5rem;
            border-top: 1px solid #E6DFD9;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .share-buttons-group {
            display: flex;
            gap: 0.75rem;
        }

        .btn-share-wa {
            background: #25d366;
            color: #ffffff;
            border: none;
            padding: 0.6rem 1.2rem;
            border-radius: 10px;
            font-weight: 700;
            font-size: 0.85rem;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            text-decoration: none;
            transition: background 0.2s ease;
        }

        .btn-share-wa:hover {
            background: #1da851;
            color: #ffffff;
        }

        .btn-copy-link {
            background: #f1f5f9;
            color: #475569;
            border: 1px solid #E6DFD9;
            padding: 0.6rem 1.2rem;
            border-radius: 10px;
            font-weight: 600;
            font-size: 0.85rem;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.2s ease;
        }

        .btn-copy-link:hover {
            background: #E6DFD9;
            color: #1e293b;
        }

        /* TOAST NOTIFICATION */
        .toast-notification {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            background: #1b4332;
            color: #ffffff;
            padding: 0.85rem 1.5rem;
            border-radius: 12px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.25);
            border: 1px solid #c5a059;
            font-size: 0.9rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.6rem;
            z-index: 10000;
            transform: translateY(100px);
            opacity: 0;
            transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        .toast-notification.show {
            transform: translateY(0);
            opacity: 1;
        }

        /* Footer Headings Visual Design */
        .footer-links h3, .footer-products h3, .footer-column h3,
        .footer-links h4, .footer-products h4, .footer-column h4,
        .footer-links h5, .footer-products h5 {
            font-size: 1.1rem;
            margin-bottom: 20px;
            color: var(--accent, #c5a059);
        }

/* ==========================================================================
   ITB ACADEMIC & INSTITUTIONAL NEWS PORTAL STYLES (itb.ac.id/berita Inspired)
   ========================================================================== */

.itb-portal-wrapper {
    background: #ffffff;
    min-height: 100vh;
    padding-bottom: 4rem;
}

/* Breadcrumb Navigation */
.itb-breadcrumb-container {
    background: #FAF6F0;
    border-bottom: 1px solid #E6DFD9;
    padding: 0.9rem 0;
    font-size: 0.88rem;
}

.itb-breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    color: #4A3E37;
    list-style: none;
    margin: 0;
    padding: 0;
}

.itb-breadcrumb-list a {
    color: #1b4332;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.itb-breadcrumb-list a:hover {
    color: #2d6a4f;
    text-decoration: underline;
}

.itb-breadcrumb-list .sep {
    color: #E6DFD9;
    display: inline-flex;
    align-items: center;
}

.itb-breadcrumb-list .active-crumb {
    color: #0f172a;
    font-weight: 700;
}

/* Article Header Section */
.itb-article-header-wrapper {
    padding: 2.5rem 0 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.itb-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #edf7f2;
    color: #1b4332;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.5rem 1.1rem;
    border-radius: 8px;
    border: 1px solid #c2e7d5;
    cursor: pointer;
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: all 0.2s ease;
}

.itb-btn-back:hover {
    background: #1b4332;
    color: #ffffff;
    transform: translateX(-4px);
}

.itb-category-pill {
    display: inline-block;
    background: linear-gradient(135deg, #1b4332, #2d6a4f);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.35rem 0.9rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1rem;
}

.itb-headline-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.6rem;
    color: #0f172a;
    line-height: 1.25;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

/* Meta Info Bar */
.itb-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 1.2rem 1.5rem;
    background: #FAF6F0;
    border-radius: 12px;
    border: 1px solid #E6DFD9;
}

.itb-author-profile {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.itb-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.itb-author-details h5 {
    margin: 0;
    font-size: 0.98rem;
    color: #0f172a;
    font-weight: 700;
}

.itb-author-details span {
    font-size: 0.82rem;
    color: #4A3E37;
}

.itb-meta-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: #475569;
    font-weight: 600;
}

.itb-meta-stats span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Article Hero Feature Image */
.itb-hero-figure {
    margin: 2rem 0 2.5rem;
    border-radius: 16px;
    overflow: hidden;
    background: #f1f5f9;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.itb-hero-img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.itb-hero-caption {
    background: #FAF6F0;
    color: #475569;
    font-size: 0.85rem;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid #E6DFD9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-style: italic;
}

/* 2-Column Main Layout Grid */
.itb-grid-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

.itb-article-body-main {
    min-width: 0;
}

.itb-prose-content {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    color: #1e293b;
    line-height: 1.85;
}

.itb-prose-content p {
    margin-bottom: 1.75rem;
}

.itb-prose-content h3,
.itb-prose-content h4 {
    font-family: 'Playfair Display', serif;
    color: #1b4332;
    font-size: 1.5rem;
    margin: 2.2rem 0 1rem;
    line-height: 1.3;
    font-weight: 700;
}

/* Quote Box ITB Style */
.itb-quote-callout {
    border-left: 5px solid #1b4332;
    background: #f0fdf4;
    padding: 1.75rem 2rem;
    margin: 2.5rem 0;
    border-radius: 0 16px 16px 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-style: italic;
    color: #081c15;
    line-height: 1.65;
}

.itb-quote-author {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-size: 0.88rem;
    font-weight: 700;
    color: #2d6a4f;
    margin-top: 0.75rem;
    display: block;
}

/* Key Takeaways Box ITB */
.itb-takeaways-card {
    background: #faf7f2;
    border: 1.5px solid #e5d5be;
    border-radius: 16px;
    padding: 1.75rem;
    margin-bottom: 2.5rem;
}

.itb-takeaways-card h4 {
    color: #8c6827;
    font-size: 1.05rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
}

.itb-takeaways-card ul {
    margin: 0;
    padding-left: 1.25rem;
    color: #4a3717;
    font-size: 0.95rem;
    line-height: 1.7;
}

.itb-takeaways-card li {
    margin-bottom: 0.5rem;
}

/* ITB Sidebar Widgets */
.itb-sidebar-widget {
    background: #ffffff;
    border: 1px solid #E6DFD9;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.itb-widget-header {
    border-bottom: 2px solid #1b4332;
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
}

.itb-widget-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #1b4332;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.itb-related-item {
    display: flex;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    transition: background 0.2s ease;
}

.itb-related-item:last-child {
    border-bottom: none;
}

.itb-related-thumb {
    width: 76px;
    height: 76px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.itb-related-info h5 {
    margin: 0 0 0.3rem;
    font-size: 0.88rem;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.itb-related-item:hover .itb-related-info h5 {
    color: #2d6a4f;
}

.itb-related-info span {
    font-size: 0.75rem;
    color: #4A3E37;
}

/* Responsive ITB Layout */
@media (max-width: 1024px) {
    .itb-grid-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .itb-headline-title {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .itb-headline-title {
        font-size: 1.65rem;
    }
    .itb-meta-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ==========================================================================
   ENHANCED MOBILE RESPONSIVENESS (< 768px & < 480px)
   ========================================================================== */

@media (max-width: 768px) {
    /* Main Layout Containers */
    main#main-content {
        padding-top: 80px !important;
    }

    .container {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    /* Magazine Hero */
    .magazine-hero {
        padding: 2rem 0 !important;
    }

    .magazine-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .hero-featured-img {
        max-height: 260px !important;
        border-radius: 16px !important;
    }

    .hero-editorial-title {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.75rem !important;
    }

    .hero-editorial-excerpt {
        font-size: 0.92rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.25rem !important;
    }

    .hero-cta-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.85rem 1.5rem !important;
    }

    /* Search & Filter Bar */
    .filter-top-row {
        flex-direction: column;
        align-items: stretch !important;
        gap: 1rem !important;
    }

    .magazine-search-box {
        width: 100% !important;
    }

    .sort-select-wrapper {
        width: 100% !important;
    }

    .sort-select {
        width: 100% !important;
    }

    .pill-scroll-wrapper {
        gap: 0.5rem !important;
        padding-bottom: 0.5rem !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    /* Card Grid */
    .magazine-article-grid {
        grid-template-columns: 1fr !important;
        gap: 1.75rem !important;
    }

    .mag-card-img {
        height: 200px !important;
    }

    .mag-card-title {
        font-size: 1.2rem !important;
        line-height: 1.35 !important;
    }

    /* ITB Article Reader Mobile View */
    .itb-headline-title {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
    }

    .itb-meta-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        padding: 1rem !important;
    }

    .itb-meta-stats {
        flex-wrap: wrap !important;
        gap: 0.85rem !important;
        font-size: 0.8rem !important;
    }

    .itb-hero-figure {
        margin: 1.25rem 0 1.75rem !important;
        border-radius: 12px !important;
    }

    .itb-hero-img {
        max-height: 280px !important;
    }

    .itb-grid-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .itb-prose-content {
        font-size: 1.05rem !important;
        line-height: 1.75 !important;
    }

    .itb-quote-callout {
        padding: 1.25rem 1.5rem !important;
        font-size: 1.1rem !important;
        margin: 1.75rem 0 !important;
    }

    .itb-takeaways-card {
        padding: 1.25rem !important;
    }

    .itb-btn-back {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Trending & Farmer Guides */
    .trending-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    .trending-item {
        padding: 0.85rem !important;
    }

    .trending-thumb {
        width: 68px !important;
        height: 68px !important;
    }

    /* VIP WhatsApp CTA Banner */
    .cta-banner-card {
        padding: 2rem 1.25rem !important;
        border-radius: 20px !important;
    }

    .cta-banner-card h2 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }

    .cta-features-grid {
        grid-template-columns: 1fr !important;
        gap: 0.85rem !important;
    }

    .btn-wa-vip {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.9rem 1.5rem !important;
    }

    /* Toast Notification Mobile */
    .toast-notification {
        left: 1rem !important;
        right: 1rem !important;
        bottom: 1.25rem !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .itb-headline-title {
        font-size: 1.4rem !important;
    }
    .mag-card-title {
        font-size: 1.1rem !important;
    }
    .hero-editorial-title {
        font-size: 1.35rem !important;
    }
}


/* PDF CATALOG DOWNLOAD BUTTON STYLES */
.btn-download-pdf-gold {
    background: linear-gradient(135deg, #c5a059, #a37d38);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none !important;
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.35);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-download-pdf-gold:hover {
    background: linear-gradient(135deg, #b38c47, #8e6a27);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(197, 160, 89, 0.5);
    color: #ffffff !important;
}

.btn-download-pdf-green {
    background: #1b4332;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.75rem 1.4rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none !important;
    border: 1px solid #2d6a4f;
    transition: all 0.3s ease;
}

.btn-download-pdf-green:hover {
    background: #2d6a4f;
    transform: translateY(-2px);
    color: #ffffff !important;
}


/* ==========================================================================
   PERFORMANCE & SMOOTH 60FPS HARDWARE ACCELERATION (GPU OPTIMIZATION)
   ========================================================================== */

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    touch-action: manipulation;
}

/* Hardware Acceleration for Sticky Header */
header.navbar, #navbar {
    will-change: transform, background-color;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Hardware Acceleration for Cards & Modals */
.mag-card, .magazine-hero, .itb-portal-wrapper, .cta-banner-card {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Optimized Backdrop Filter fallback for low-end GPUs */
@supports not (backdrop-filter: blur(10px)) {
    .navbar.scrolled, .mag-modal-overlay {
        background: rgba(13, 35, 25, 0.98) !important;
    }
}


/* MULTI-LANGUAGE SWITCHER WIDGET STYLES */
.lang-switcher-container {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 30px;
    padding: 3px;
    margin-left: 12px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: #E6DFD9;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25 ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lang-btn.active {
    background: #c5a059;
    color: #0d2319 !important;
    box-shadow: 0 2px 8px rgba(197, 160, 89, 0.4);
}

.lang-btn:hover {
    color: #ffffff;
}

/* --- NATIVE HTML DETAILS ACCORDION STYLING --- */
.guide-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

details.guide-accordion-item {
    border: 1.5px solid #E6DFD9;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.25s ease;
}

details.guide-accordion-item summary.guide-accordion-header {
    padding: 1.2rem 1.5rem;
    background: #FAF6F0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: #1b4332;
    font-size: 1rem;
    user-select: none;
    list-style: none;
}

details.guide-accordion-item summary.guide-accordion-header::-webkit-details-marker,
details.guide-accordion-item summary.guide-accordion-header::marker {
    display: none;
    content: "";
}

details.guide-accordion-item summary.guide-accordion-header:hover {
    background: #f1f5f9;
}

details.guide-accordion-item .guide-accordion-body {
    padding: 1.25rem 1.5rem;
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.7;
    background: #ffffff;
    border-top: 1px solid #E6DFD9;
    animation: detailsFadeIn 0.3s ease-in-out;
}

@keyframes detailsFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

details.guide-accordion-item[open] {
    border-color: #2d6a4f;
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.08);
}

details.guide-accordion-item[open] summary.guide-accordion-header {
    background: #edf7f2;
    color: #2d6a4f;
}

details.guide-accordion-item summary.guide-accordion-header i,
details.guide-accordion-item summary.guide-accordion-header svg {
    transition: transform 0.3s ease;
}

details.guide-accordion-item[open] summary.guide-accordion-header i,
details.guide-accordion-item[open] summary.guide-accordion-header svg {
    transform: rotate(180deg);
}

/* BULLETPROOF MULTI-LANGUAGE SWITCHER WIDGET STYLES */
.lang-switcher-container {
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(255, 255, 255, 0.25) !important;
    border: 1.5px solid rgba(197, 160, 89, 0.7) !important;
    border-radius: 30px !important;
    padding: 3px !important;
    margin-left: 12px !important;
    position: relative !important;
    z-index: 999999 !important;
    pointer-events: auto !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.lang-btn {
    background: transparent !important;
    border: none !important;
    color: #1e293b !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    padding: 5px 12px !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    z-index: 999999 !important;
    pointer-events: auto !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.lang-btn.active {
    background: #c5a059 !important;
    color: #0d2319 !important;
    box-shadow: 0 2px 10px rgba(197, 160, 89, 0.6) !important;
}

.lang-btn:hover {
    color: #0d2319 !important;
}

/* =========================================================================
   IMMUTABLE FIXED HEIGHT HEADER & NON-WRAPPING NAV LINKS (ID / EN NO-JUMP)
   ========================================================================= */
header.navbar, .navbar {
    height: 76px !important;
    display: flex !important;
    align-items: center !important;
}

.navbar-container {
    height: 76px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    max-width: 1240px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

.logo {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

.logo-text {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    font-size: 1.25rem !important;
}

.nav-menu {
    display: flex !important;
    align-items: center !important;
    gap: 1.1rem !important;
    flex-wrap: nowrap !important;
    flex-shrink: 1 !important;
}

.nav-link {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    font-size: 0.9rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 40px !important;
    line-height: 1 !important;
    padding: 0 4px !important;
}

.btn-contact-nav {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 40px !important;
    padding: 0 16px !important;
    line-height: 1 !important;
    border-radius: 8px !important;
}

.lang-switcher-container {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

@media (max-width: 1180px) and (min-width: 769px) {
    .nav-menu {
        gap: 0.65rem !important;
    }
    .nav-link {
        font-size: 0.82rem !important;
    }
    .btn-contact-nav {
        padding: 0 12px !important;
        font-size: 0.82rem !important;
    }
    .logo-text {
        font-size: 1.1rem !important;
    }
}
