/* ==========================================================================
   WORLD AGARWOOD - PREMIUM CSS DESIGN SYSTEM
   ========================================================================== */

/* 1. Global Variables & Base Resets */
:root {
    --bg-dark-primary: #030704;       /* Extra deep forest black */
    --bg-dark-secondary: #081109;     /* Deep jade black */
    --bg-dark-tertiary: #0c170d;      /* Highlight jade black */
    
    --gold-primary: #D4AF37;          /* Classic gold */
    --gold-light: #F3D075;            /* Bright reflective gold */
    --gold-dark: #C59737;             /* Bronze gold */
    --gold-accent: #ffd700;           /* Vivid gold */
    --gold-glow: rgba(212, 175, 55, 0.4);
    
    --text-light: #F4F7F5;            /* Off-white */
    --text-muted: #8E9A90;            /* Muted greenish gray */
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --header-height-desktop: 70px;
    --header-height-scrolled: 55px;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #000000;
    color: var(--text-light); /* Adjusted text color for dark background */
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* ==========================================================================
   2. Header Component Styles
   ========================================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height-desktop);
    z-index: 1000;
    background: #000000; /* Solid pitch black background */
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

/* Sticky Header on Scroll */
.main-header.scrolled {
    height: var(--header-height-scrolled);
    background: #000000; /* Solid pitch black background */
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 1px 15px rgba(212, 175, 55, 0.1);
}

.header-container {
    width: 96%;
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* --- Brand Logo Styling --- */
.logo-area {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    transition: var(--transition-smooth);
}

.logo-area:hover {
    transform: scale(1.02);
}

.header-logo {
    height: 57px; /* Balanced size */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 4px var(--gold-glow));
    transition: var(--transition-smooth);
}

/* --- Desktop Menu Styling --- */
.nav-menu {
    display: block;
    height: 100%;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
}

.nav-menu li {
    height: 100%;
    display: flex;
}

.nav-item {
    font-size: 11px;
    font-weight: 600;
    color: #b5c4b8;
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0 7px; /* Balanced padding */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    white-space: nowrap; /* Prevent text from wrapping to multiple lines */
    transition: var(--transition-smooth);
}

.nav-icon {
    width: 25px;
    height: 20px;
    object-fit: contain;
    margin-right: 8px;
    display: none; /* Hidden until user sets a valid src */
}

/* When the img has a src, show it */
.nav-icon[src]:not([src=""]) {
    display: inline-block;
}

.nav-item:hover {
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.02);
}

/* Custom Bottom Underline Highlight for Hover */
.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-light);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 10;
}

.nav-item:hover::after {
    transform: scaleX(0.7);
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

/* Active Area: Glowing background highlight and bottom neon gold light line */
.nav-item.active {
    color: var(--gold-light) !important;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(243, 208, 117, 0.6);
    background: linear-gradient(to top, rgba(212, 175, 55, 0.35) 0%, rgba(212, 175, 55, 0.12) 50%, rgba(212, 175, 55, 0) 100%);
}

.nav-item.active::after {
    transform: scaleX(1);
    height: 4px;
    background: var(--gold-light);
    box-shadow: 0 -3px 15px var(--gold-accent), 0 0 25px var(--gold-accent);
}

/* --- Submenu Styling --- */
.nav-dropdown {
    position: relative;
}

.dropdown-icon {
    margin-left: 6px;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.nav-menu .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background: #000000;
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-top: 3px solid var(--gold-primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    height: auto; /* Override inherited height: 100% from .nav-menu ul */
    padding: 0; /* Removed top/bottom padding to allow active background to fill entirely */
    z-index: 1010;
}

.nav-dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .submenu li {
    display: block;
    width: 100%;
    height: auto;
}

.flag-icon {
    width: 28px;
    height: 21px;
    border-radius: 2px;
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 0 4px rgba(0,0,0,0.5);
}

.submenu-item {
    font-size: 13px;
    font-weight: 500;
    color: #b5c4b8;
    text-decoration: none;
    padding: 14px 24px; /* Slightly increased vertical padding since container padding is removed */
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    width: 100%;
    transition: var(--transition-fast);
}

.submenu-item:hover, .submenu-item.active {
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.15);
    font-weight: 700;
    text-shadow: 0 0 8px rgba(243, 208, 117, 0.4);
}


/* --- Call To Action (LIÊN HỆ NGAY) --- */
.header-cta {
    display: block;
}

.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border-radius: 50px;
    background: linear-gradient(135deg, #F3D075 0%, #C59737 50%, #A2761C 100%);
    color: var(--bg-dark-primary);
    text-decoration: none;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    overflow: hidden;
    white-space: nowrap; /* Prevent text wrapping */
    flex-shrink: 0; /* Prevent button from shrinking */
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(197, 151, 55, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-button i {
    font-size: 12px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 208, 117, 0.5);
    color: #000;
}

.cta-button:active {
    transform: translateY(1px);
}

/* CTA Shine Animation Effect */
.cta-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: none;
    animation: shine 4s infinite linear;
}

/* --- Mobile Menu Toggle Icon --- */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2.5px;
    background-color: var(--gold-light);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.mobile-toggle.open span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.mobile-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}


/* ==========================================================================
   3. Mobile Drawer Navigation Panel
   ========================================================================== */

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100%;
    background: #000000;
    z-index: 1005;
    padding: 30px 24px;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left: 1px solid rgba(212, 175, 55, 0.2);
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow-y: auto; /* Enable scrolling for small screens when submenu is open */
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding-bottom: 20px;
}

.drawer-logo {
    height: 55px; /* Increased to make it more legible */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 3px var(--gold-glow));
}

.drawer-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 32px;
    cursor: pointer;
    transition: var(--transition-fast);
    line-height: 1;
}

.drawer-close:hover {
    color: var(--gold-light);
}

.drawer-links {
    list-style: none;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
}

.drawer-item {
    font-size: 15px;
    font-weight: 600;
    color: #ccd7ce;
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.drawer-item i {
    font-size: 16px;
    color: var(--gold-dark);
}

.drawer-item:hover {
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.08);
    border-left: 3px solid var(--gold-primary);
}

.drawer-item.active {
    color: var(--gold-light) !important;
    font-weight: 700;
    background: linear-gradient(to right, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.05) 50%, transparent 100%);
    border-left: 3px solid var(--gold-light);
    text-shadow: 0 0 10px rgba(243, 208, 117, 0.6);
    box-shadow: inset 4px 0 15px rgba(212, 175, 55, 0.2);
}

/* --- Mobile Submenu Styling --- */
.drawer-dropdown {
    flex-direction: column;
}

.drawer-dropdown > a {
    justify-content: space-between;
    width: 100%;
}

.drawer-dropdown > a .fa-chevron-down {
    transition: transform 0.3s ease;
}

.drawer-dropdown.open > a .fa-chevron-down {
    transform: rotate(180deg);
}

.drawer-submenu {
    list-style: none;
    display: none; /* hidden by default */
    flex-direction: column;
    padding-left: 30px;
    margin-top: 5px;
    gap: 8px;
}

.drawer-dropdown.open .drawer-submenu {
    display: flex;
}

.drawer-submenu-item {
    font-size: 14px;
    font-weight: 500;
    color: #8e9a90;
    text-decoration: none;
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.drawer-submenu-item:hover,
.drawer-submenu-item.active {
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.05);
}

.drawer-footer {
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding-top: 20px;
}

.drawer-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    color: var(--bg-dark-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(197, 151, 55, 0.2);
}

/* Drawer Dark Overlay */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1004;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}


/* ==========================================================================
   4. Main Content Tab System
   ========================================================================== */

main {
    margin-top: var(--header-height-desktop);
    min-height: calc(100vh - var(--header-height-desktop));
    width: 100%;
}

.tab-content {
    display: none; /* Hide all tabs by default */
    width: 100%;
    animation: fadeIn 0.4s ease-in-out;
}

.tab-content.active {
    display: block; /* Show active tab */
}

.lang-img {
    display: none; /* Hide all language images by default */
    width: 100%;
    height: auto;
    object-fit: cover;
}

.lang-img.active {
    display: block; /* Show active language image */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

footer {
    width: 100%;
}


/* ==========================================================================
   5. Keyframe Animations
   ========================================================================== */

/* Shimmer reflection sweep on CTA */
@keyframes shine {
    0% {
        left: -100%;
    }
    15%, 100% {
        left: 200%;
    }
}

/* Subtle breathing glow on the tree SVG */
@keyframes pulseGlow {
    0% {
        filter: drop-shadow(0 0 3px rgba(212, 175, 55, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.65));
    }
}

/* Floating animation for icons removed */


/* ==========================================================================
   6. Responsive Layout Media Queries
   ========================================================================== */

/* Responsive break points for navigation layout */
@media (max-width: 1100px) {
    .nav-menu ul {
        gap: 12px;
    }
    
    .nav-item {
        font-size: 11.5px;
        padding: 6px 8px;
    }
    
    .active-home {
        padding: 6px 12px;
    }
    
    .brand-title {
        font-size: 16px;
    }
    
    .brand-subtitle {
        font-size: 13.5px;
    }
    
    .brand-slogan {
        font-size: 7px;
    }
}

@media (max-width: 1024px) {
    /* Hide desktop nav and CTA button */
    .nav-menu {
        display: none;
    }
    
    .header-cta {
        display: none;
    }
    
    /* Display mobile hamburger toggle button */
    .mobile-toggle {
        display: flex;
    }
    
    /* Adjust Main top spacing for mobile header height */
    main {
        margin-top: var(--header-height-desktop);
        min-height: calc(100vh - var(--header-height-desktop));
    }
}

@media (max-width: 480px) {
    .header-container {
        width: 90%;
    }
    
    .logo-svg {
        width: 38px;
        height: 38px;
    }
    
    .brand-title {
        font-size: 14px;
    }
    
    .brand-subtitle {
        font-size: 12px;
        letter-spacing: 1px;
    }
    
    .brand-slogan {
        display: none; /* Hide brand slogan on narrow phones */
    }
    
    .mobile-drawer {
        width: 100%; /* Drawer occupies full viewport width on mobile */
    }
    
    /* Placeholder content styles removed */
}



/* ==========================================================================
   WORLD AGARWOOD - PREMIUM NEWS & ARTICLE DETAIL CSS
   ========================================================================== */

/* 1. Hero Banner Section */
.news-hero {
    position: relative;
    padding: 120px 20px 80px 20px;
    background: linear-gradient(180deg, rgba(8, 17, 9, 0.4) 0%, rgba(3, 7, 4, 0.75) 60%, rgba(3, 7, 4, 1) 100%), 
                url('/wp-content/uploads/2026/06/newsherobg.jpg') no-repeat center center;
    background-size: cover;
    text-align: center;
    overflow: hidden;
}

/* Background subtle ambient glows */
.news-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.news-hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(12, 23, 13, 0.3) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.news-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.news-hero h1 {
    
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.news-hero h1 span {
    background: linear-gradient(to right, var(--gold-light), var(--gold-primary), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.news-hero p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 1px;
    max-width: 600px;
    margin: 0 auto;
}

/* Luxury Dividers */
.gold-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px auto;
    width: 200px;
}

.gold-divider span {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-primary), transparent);
    flex-grow: 1;
}

.gold-divider i {
    color: var(--gold-primary);
    font-size: 10px;
    text-shadow: 0 0 6px var(--gold-glow);
}

/* 2. Category Filter Sidebar Layout */
.news-hub-layout {
    max-width: 1440px;
    margin: 40px auto 80px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 25%;
    gap: 20px;
    position: relative;
}

.news-main-content {
    display: flex;
    flex-direction: column;
}

.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Base button styling override for filters in the sidebar */
.news-sidebar .filter-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    padding: 12px 0;
    cursor: pointer;
    transition: var(--transition-fast);
    border-bottom: 1px solid rgba(212, 175, 55, 0.05);
}

.news-sidebar .filter-btn:hover {
    color: var(--gold-light);
    padding-left: 6px;
    background: transparent;
    box-shadow: none;
    transform: none;
    border-bottom-color: rgba(212, 175, 55, 0.2);
}

.news-sidebar .filter-btn.active {
    color: var(--gold-light);
    font-weight: 700;
    background: transparent;
    border-color: transparent;
    border-bottom: 1px solid var(--gold-primary);
    box-shadow: none;
    text-shadow: 0 0 8px rgba(243, 208, 117, 0.3);
}

.news-sidebar .filter-btn .category-count {
    font-size: 0.8rem;
    background: var(--bg-dark-tertiary);
    color: var(--gold-primary);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition-fast);
}

.news-sidebar .filter-btn.active .category-count {
    background: var(--gold-primary);
    color: #000000;
    border-color: var(--gold-light);
}

/* 3. News Grid Bố cục */
.news-grid-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 80px 20px;
    position: relative;
}

/* Featured Article Option */
.featured-post-container {
    margin-bottom: 40px;
}

.featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: var(--bg-dark-secondary);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    transition: var(--transition-smooth);
    min-height: 420px;
}

.featured-card:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.1);
}

.featured-img-wrapper {
    position: relative;
    overflow: hidden;
}

.featured-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.featured-card:hover .featured-img-wrapper img {
    transform: scale(1.04);
}

.featured-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* General Card Grid style */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card {
    background: var(--bg-dark-secondary);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 15px rgba(212, 175, 55, 0.05);
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 60%; /* 5:3 Aspect Ratio */
    overflow: hidden;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.card-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

/* Card Categories Tag */
.category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(8, 17, 9, 0.85);
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 4px;
    z-index: 5;
    transition: var(--transition-fast);
    backdrop-filter: blur(4px);
}

.article-card:hover .category-tag,
.featured-card:hover .category-tag {
    background: var(--gold-primary);
    color: #000000;
    box-shadow: 0 0 10px var(--gold-glow);
}

/* Card Body Content */
.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 500;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-meta i {
    color: var(--gold-primary);
}

.card-title {
    
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition-fast);
}

.card-title a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.article-card:hover .card-title,
.featured-card:hover .featured-title {
    color: var(--gold-light);
}

.card-excerpt {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* Luxury Read More Button */
.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
    transition: var(--transition-fast);
    align-self: flex-start;
}

.read-more-btn i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.read-more-btn:hover {
    color: var(--gold-light);
}

.read-more-btn:hover i {
    transform: translateX(5px);
}

/* 4. Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: var(--bg-dark-secondary);
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.page-link:hover {
    border-color: var(--gold-primary);
    color: var(--gold-light);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.page-link.active {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    border-color: var(--gold-light);
    color: #000000;
    font-weight: 700;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.page-link.arrow {
    font-size: 0.8rem;
}

/* 5. Article Detail Layout */
.article-detail-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 20px 80px 20px;
    display: grid;
    grid-template-columns: 1fr 25%;
    gap: 20px;
}

/* Main Content Area */
.article-main {
    background: var(--bg-dark-secondary);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.article-header {
    margin-bottom: 30px;
}

.article-header .category-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.article-title-text {
    
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.3;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.article-header-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding-bottom: 20px;
}

.article-header-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-header-meta i {
    color: var(--gold-primary);
}

/* Featured image on detail page */
.article-featured-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    margin-bottom: 35px;
}

/* Body Content Typography */
.article-body-content {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #e0e6e2;
    line-height: 1.85;
}

.article-body-content p {
    margin-bottom: 25px;
}

.article-body-content h2 {
    
    font-size: 1.55rem;
    color: var(--gold-light);
    margin: 40px 0 20px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.article-body-content h3 {
    
    font-size: 1.25rem;
    color: var(--gold-primary);
    margin: 30px 0 15px 0;
}

/* Blockquotes styling */
.article-body-content blockquote {
    position: relative;
    background: var(--bg-dark-tertiary);
    border-left: 4px solid var(--gold-primary);
    padding: 24px 30px;
    margin: 35px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-light);
    box-shadow: inset 4px 0 15px rgba(212, 175, 55, 0.05);
}

.article-body-content blockquote::before {
    content: '"';
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    color: rgba(212, 175, 55, 0.15);
    position: absolute;
    top: -10px;
    left: 10px;
    line-height: 1;
}

.article-body-content blockquote p {
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.article-body-content blockquote cite {
    display: block;
    font-size: 0.85rem;
    color: var(--gold-light);
    margin-top: 10px;
    font-weight: 600;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Bold highlights */
.article-body-content strong {
    color: #ffffff;
    font-weight: 600;
}

/* Figures / embedded images */
.article-body-content figure {
    margin: 35px 0;
    text-align: center;
}

.article-body-content figure img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.article-body-content figcaption {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 10px;
    font-style: italic;
}

/* Callout Info Boxes */
.article-callout {
    background: rgba(12, 23, 13, 0.5);
    border: 1px dashed var(--gold-primary);
    border-radius: 8px;
    padding: 24px;
    margin: 35px 0;
}

.article-callout h4 {
    
    color: var(--gold-light);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 1.05rem;
}

.article-callout p:last-child {
    margin-bottom: 0;
}

/* Social Share section */
.article-share-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

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

.article-tag-item {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--bg-dark-tertiary);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 5px 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.article-tag-item:hover {
    color: var(--gold-light);
    border-color: var(--gold-primary);
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-dark-tertiary);
    border: 1px solid rgba(212, 175, 55, 0.15);
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.share-btn:hover {
    color: #000000;
    background: var(--gold-primary);
    border-color: var(--gold-light);
    box-shadow: 0 0 10px var(--gold-glow);
    transform: translateY(-2px);
}

/* 6. Sidebar Widgets */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: var(--bg-dark-secondary);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-top: 3px solid var(--gold-primary);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.widget-title {
    
    font-size: 1.1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

/* Sidebar Categories list */
.widget-categories {
    list-style: none;
}

.widget-categories li {
    margin-bottom: 12px;
}

.widget-categories li:last-child {
    margin-bottom: 0;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
    padding: 4px 0;
}

.category-link:hover {
    color: var(--gold-light);
    padding-left: 5px;
}

.category-count {
    font-size: 0.8rem;
    background: var(--bg-dark-tertiary);
    color: var(--gold-primary);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

/* Sidebar Featured Posts */
.widget-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.widget-post-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
}

.widget-post-img {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid rgba(212, 175, 55, 0.15);
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.widget-post-item:hover .widget-post-img {
    border-color: var(--gold-primary);
    transform: scale(1.03);
}

.widget-post-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.widget-post-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.4;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition-fast);
}

.widget-post-item:hover .widget-post-title {
    color: var(--gold-light);
}

.widget-post-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}


/* 7. Responsive Media Queries */
@media (max-width: 1100px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .article-detail-container, .news-hub-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .news-sidebar {
        order: -1; /* Sidebar goes to top on smaller screens so users can filter first */
    }
    
    .article-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 850px) {
    .featured-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .featured-info {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .news-hero h1 {
        font-size: 2.2rem;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .card-content {
        padding: 15px; /* Compact padding for 2-column mobile layout */
    }
    
    .card-title {
        font-size: 0.95rem; /* Scale down font size so titles don't wrap too much */
        margin-bottom: 8px;
        -webkit-line-clamp: 2;
    }
    
    .card-excerpt {
        font-size: 0.8rem;
        margin-bottom: 12px;
        line-height: 1.5;
        -webkit-line-clamp: 2; /* Truncate to 2 lines to save vertical space on mobile */
    }
    
    .card-meta {
        gap: 8px;
        font-size: 0.7rem;
        margin-bottom: 8px;
    }
    
    .read-more-btn {
        font-size: 0.75rem;
    }
    
    .article-main {
        padding: 24px;
    }
    
    .article-title-text {
        font-size: 1.8rem;
    }
    
    .article-sidebar {
        grid-template-columns: 1fr;
    }
    
    .article-detail-container, .news-hub-layout {
        padding: 20px 15px 60px 15px;
    }
}

@media (max-width: 480px) {
    .news-hero h1 {
        font-size: 1.8rem;
        letter-spacing: 1.5px;
    }
    
    .news-grid {
        gap: 10px; /* Even tighter gap for narrow phone screens */
    }
    
    .card-content {
        padding: 10px;
    }
    
    .card-title {
        font-size: 0.85rem;
    }
    
    .card-excerpt {
        display: none; /* Hide excerpt on very small screens to keep cards neat */
    }
    
    .card-meta span:last-child {
        display: none; /* Hide author tag to save space */
    }
    
    .article-title-text {
        font-size: 1.5rem;
    }
    
    .article-share-section {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* 8. Desktop Sticky Sidebar */
@media (min-width: 1101px) {
    .news-sidebar, .article-sidebar {
        position: sticky;
        top: 100px; /* Space from top header */
        align-self: start;
        z-index: 10;
    }
}
body{
    height: unset !important;
}
.widget-categories .filter-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-decoration: none;
    cursor: pointer;
}