:root {
    --red: #e01020;
    --red-dark: #b80d1a;
    --black: #0a0a0a;
    --dark: #111111;
    --dark2: #1c1c1c;
    --mid: #2e2e2e;
    --gray: #5a5a5a;
    --light-gray: #aaaaaa;
    --border: #e0e0e0;
    --bg: #f6f4f1;
    --white: #ffffff;
    --cream: #faf8f5;
    --accent-gold: #c9a227;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--black);
    font-size: 15px;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; object-fit: cover; }

/* ── TICKER ── */
.ticker-bar {
    background: var(--black);
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 34px;
}
.ticker-label {
    background: var(--red);
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}
.ticker-track {
    overflow: hidden;
    flex: 1;
    position: relative;
}
.ticker-inner {
    display: inline-flex;
    gap: 80px;
    white-space: nowrap;
    animation: ticker 55s linear infinite;
}
@keyframes ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ticker-sep { color: var(--red); margin: 0 10px; }
.ticker-social {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 16px;
    flex-shrink: 0;
}
.ticker-social a {
    color: var(--light-gray);
    font-size: 13px;
    transition: color .2s;
}
.ticker-social a:hover { color: var(--red); }

/* ── HEADER ── */
header {
    background: var(--white);
    border-bottom: 3px solid var(--black);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 64px;
}
.logo {
    font-family: 'Old English Text MT', 'UnifrakturMaguntia', 'MedievalSharp', serif;
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.01em;
    line-height: 1;
    white-space: nowrap;
}
.logo span { color: var(--red); }

nav { display: flex; align-items: center; gap: 0; }
.nav-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--mid);
    padding: 0 14px;
    height: 64px;
    display: flex;
    align-items: center;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    transition: color .2s, border-color .2s;
    white-space: nowrap;
    letter-spacing: 0.01em;
    position: relative;
}
.nav-link:hover, .nav-link.active {
    color: var(--red);
}
.nav-link:hover::after {
    content: "";
    position: absolute;
    bottom: 15px;
    border-radius: 10px;
    left: auto;
    width: 60%;
    height: 2px;
    background-color: var(--red);
}
.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 15px;
    border-radius: 10px;
    left: auto;
    width: 60%;
    height: 2px;
    background-color: var(--red);
}
.nav-link.active { font-weight: 600; }

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.btn-search {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--mid);
    font-size: 18px;
    padding: 6px;
    transition: color .2s;
}
.btn-search:hover { color: var(--red); }
.btn-subscribe {
    background: var(--red);
    color: var(--white);
    border: none;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background .2s;
}
.btn-subscribe:hover { background: var(--red-dark); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: all .3s;
}

/* ── DATE BAR ── */
.date-bar {
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    text-align: center;
    padding: 6px 20px;
    font-size: 11.5px;
    color: var(--gray);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ── MAIN LAYOUT ── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── HERO ── */
.hero-section {
    padding: 28px 0 0;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
}

/* Hero Feature */
.hero-feature {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
    max-height: 572px;
}
.hero-feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    display: block;
}
.hero-feature:hover .hero-slide.active img { transform: scale(1.03); }
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
    z-index: 1;
    max-height: 572px;
    overflow: hidden;
    border-radius: 10px;
}
.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
    position: relative; /* Keep height if possible, but hero-feature has max-height */
    display: block;
}
.carousel-container {
    position: relative;
    overflow: hidden;
}
.carousel-track {
    width: 100%;
    height: 100%;
}
.carousel-dots {
    position: absolute;
    bottom: 20px;
    right: 28px;
    display: flex;
    gap: 8px;
    z-index: 10;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}
.dot.active {
    background: var(--red);
    transform: scale(1.2);
}
.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}
.hero-feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 40%, rgba(0,0,0,0.1) 100%);
    z-index: 5;
}
.hero-feature-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    z-index: 10; /* Ensure text is above shimmer */
}
.tag {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px;
    margin-bottom: 12px;
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 10px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;
}
.hero-excerpt {
    font-size: 13px;
    color: rgba(255,255,255,0.78);
    line-height: 1.55;
    margin-bottom: 14px;
    font-family: 'Source Serif 4', serif;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;
}
.hero-meta {
    font-size: 11.5px;
    color: rgba(255,255,255,0.55);
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-meta .author { color: rgba(255,255,255,0.8); font-weight: 500; }
.meta-dot { color: rgba(255,255,255,0.3); }

/* Side Articles Carousel */
.side-articles-container {
    height: 570px;
    overflow: hidden;
    position: relative;
    padding-left: 10px;
}
.side-carousel-track {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.side-article {
    height: 85px; /* 78px img + 4px for border/padding */
    flex-shrink: 0;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 14px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: opacity .2s;
}
.side-article:last-child { border-bottom: none; }

.side-article-img {
    width: 110px;
    height: 78px;
    object-fit: cover;
    overflow: hidden;
    border-radius: 5px;
    }
.side-article img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease-in-out;
}
.side-article:hover { opacity: 0.8; }
.side-article:hover img { transform: scale(1.03); }
.side-article:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

.cat-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 5px;
}
.cat-tag span {
    color: gray;
    font-size: 10px;
    font-family: sans-serif;
    text-transform: capitalize;
    font-style: italic;
    font-weight: 500;
}
.cat-tag.tech { color: #0066cc; }
.cat-tag.sports { color: #008844; }
.cat-tag.ent { color: #8833cc; }
.side-article h3 {
    font-family: 'Playfair Display', serif;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--black);
    margin-bottom: 4px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;
}
.side-article-meta {
    font-size: 11px;
    color: var(--light-gray);
}
.bookmark {
    margin-left: auto;
    align-self: start;
    color: var(--light-gray);
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
    flex-shrink: 0;
}
.bookmark:hover { color: var(--red); }
.bookmark.active {
    color: var(--red);
}
.bookmark.active svg {
    fill: var(--red);
}

/* ── SECTION DIVIDER ── */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0 16px;
    border-bottom: 3px solid var(--black);
    margin-bottom: 20px;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--black);
    letter-spacing: -0.01em;
}
.view-all {
    font-size: 12px;
    font-weight: 600;
    color: var(--red);
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap .2s;
}
.view-all:hover { gap: 8px; }

/* ── FILTER TABS ── */
.filter-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.filter-tab {
    font-size: 12px;
    font-weight: 500;
    padding: 6px 16px;
    cursor: pointer;
    border: 1.5px solid var(--border);
    color: var(--mid);
    background: var(--white);
    transition: all .2s;
    border-radius: 2px;
}
.filter-tab:hover { border-color: var(--red); color: var(--red); }
.filter-tab.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

/* ── NEWS CARDS GRID ── */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}
.news-card {
    cursor: pointer;
    transition: transform .2s;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    overflow: hidden;
}

.news-card-content {
    padding: 10px;
}
.news-card:hover { 
    transform: translateY(-2px);
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.news-card-img {
    position: relative;
    overflow: hidden;
    max-height: 180px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-cat {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.news-card-cat span{
    color: gray;
    font-size: 11px;
    font-family: sans-serif;
    text-transform: capitalize;
    font-style: italic;
    font-weight: 500;
} 
.news-card-cat.world { color: #916363; }
.news-card-cat.business { color: #0055aa; }
.news-card-cat.technology { color: #0066cc; }
.news-card-cat.health { color: #007744; }
.news-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--black);
    margin-bottom: 8px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;
}
.news-card p {
    font-size: 12.5px;
    color: var(--gray);
    line-height: 1.5;
    font-family: 'Source Serif 4', serif;
    margin-bottom: 10px;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;
}
.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.news-card-meta {
    font-size: 11px;
    color: var(--light-gray);
}

/* ── FOOTER ── */
footer {
    background: var(--dark);
    color: rgba(255,255,255,0.65);
    padding: 48px 0 24px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-logo {
    font-family: 'Old English Text MT', 'UnifrakturMaguntia', serif;
    font-size: 36px;
    color: var(--white);
    margin-bottom: 8px;
}
.footer-tagline {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c3c1c1d4;
    margin-bottom: 32px;
    position: relative;
}

.footer-social {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    align-items: center;
    transition: all 0.3s ease;
}

.footer-social a{
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff3b;
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 18px;
}
.footer-social a:hover{
    transform: translateY(-2px);
    background-color: #f1e8e8e1;
    color: var(--red);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 24px;
}
.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 16px;
}
.footer-col p {
    font-size: 12.5px;
    line-height: 1.7;
    color: rgba(255,255,255,0.45);
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    transition: color .2s;
}
.footer-links a:hover { color: var(--red); }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: rgba(255,255,255,0.25);
    flex-wrap: wrap;
    gap: 10px;
}
.footer-bottom-links { display: flex; gap: 5px; }
.footer-bottom-links a { color: rgba(255,255,255,0.25); transition: color .2s; }
.footer-bottom-links a:hover { color: var(--red); }

/* ── MOBILE NAV OVERLAY ── */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;

    width: max(300px, 60vw); /* 👈 max 300px or 60vw */
    background: var(--white);
    z-index: 200;

    display: flex;
    flex-direction: column;
    padding: 20px;

    transform: translateX(100%); /* hidden off-screen (right) */
    opacity: 0;
    pointer-events: none;

    transition: transform 0.4s ease, opacity 0.3s ease;
}
.mobile-nav.open { 
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto; 
}
.mobile-nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.mobile-nav-divider{
    width: 100%;
    height: 1px;
    background-color: var(--border);
}
.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--black);
    line-height: 1;
}
.mobile-nav a {
    font-size: 16px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--black);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    transition: color .2s;
}
.mobile-nav a:hover { color: var(--red); }

/* --- YouTube iframe full width fix for mobile --- */
.iframe-crop { 
    width: 100%; 
    aspect-ratio: 16/9; 
    overflow: hidden; 
    border-radius: 15px; 
    margin-bottom: 30px; 
    background: #000;
}
.iframe-crop iframe { 
    width: 100%; 
    height: 100%; 
    border: none;
}
@media (max-width: 768px) {
    .iframe-crop {
        height: auto;
    }
}


/* about us design  */

.about-hero {
    background: linear-gradient(120deg, #0f172a, #1e3a8a);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.about-hero h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.about-hero p {
    font-size: 18px;
    opacity: 0.85;
}

.about-section {
    padding: 20px 0px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.about-text p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 10px;
}

.about-section {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
    margin-bottom: 60px; 
    align-items: center;
}

.about-image {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    object-fit: cover;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
}

.about-image:hover img {
    transform: scale(1.05);
}


.about-stats {
    background: #f8fafc;
    padding: 50px 20px;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat h3 {
    font-size: 28px;
    color: #1e3a8a;
}

.stat p {
    color: #666;
}

.about-mission {
    padding: 60px 20px;
    text-align: center;
}

.about-mission h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.about-mission p {
    max-width: 700px;
    margin: auto;
    color: #555;
    line-height: 1.7;
}


/* Responsive */
@media (max-width: 768px) {
    .about-section {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        flex-direction: column;
        gap: 20px;
    }
}

.policy-hero {
    background: linear-gradient(120deg, #0f172a, #1e3a8a);
    color: #fff;
    padding: 70px 20px;
    text-align: center;
}

.policy-hero h1 {
    font-size: 36px;
    margin-bottom: 8px;
}

.policy-hero p {
    opacity: 0.8;
}

.policy-content {
    padding: 50px 20px;
    background: #ffffff;
}

.policy-content .container {
    max-width: 900px;
    margin: auto;
}

.policy-content h2 {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 22px;
    color: #1e3a8a;
}

.policy-content p {
    color: #555;
    line-height: 1.7;
}

.policy-content ul {
    padding-left: 18px;
}

.policy-content li {
    margin-bottom: 6px;
    color: #555;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    nav { display: none; }
    .hamburger { display: flex; }
}

@media (max-width: 768px) {
    .btn-subscribe { display: none; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-feature img { height: 260px; }
    .side-articles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0;
    }
    .side-article { border-bottom: 1px solid var(--border); }
    .strip-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .date-bar { font-size: 10px; }
}

@media (max-width: 520px) {
    .news-grid { grid-template-columns: 1fr; }
    .side-articles { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .logo { font-size: 26px; }
    .header-inner { height: 56px; }
    .hero-feature-content { padding: 18px; }
    .hero-title { font-size: 20px; }
}

/* ── NEWS GALLERY ── */
.gallery-container { margin-bottom: 48px; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 220px 220px;
    gap: 12px;
}

/* Large item spans 2 cols × 2 rows */
.gallery-item--large {
    grid-column: span 2;
    grid-row: span 2;
}
/* Tall item spans 1 col × 2 rows */
.gallery-item--tall {
    grid-row: span 2;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    background: var(--dark2);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease, filter .45s ease;
    display: block;
}
.gallery-item:hover img {
    transform: scale(1.07);
    filter: brightness(0.72);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px;
    opacity: 0;
    transition: opacity .35s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-cat {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(224,16,32,0.5);
    padding: 2px 8px;
    border-radius: 2px;
    align-self: flex-start;
    margin-bottom: 6px;
}
.gallery-caption {
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    flex: 1;
}
.gallery-item--large .gallery-caption { font-size: 17px; }
.gallery-zoom-icon {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    align-self: flex-end;
    margin-top: 6px;
    transition: color .2s;
}
.gallery-item:hover .gallery-zoom-icon { color: var(--white); }

/* Responsive gallery */
@media (max-width: 900px) {
    .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    }
    .gallery-item--large { grid-column: span 2; grid-row: span 1; height: 240px; }
    .gallery-item--tall  { grid-row: span 1; }
    .gallery-item        { height: 180px; }
    .gallery-overlay     { opacity: 1; }
}
@media (max-width: 520px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item--large, .gallery-item--tall, .gallery-item { grid-column: span 1; height: 200px; }
    .gallery-overlay { opacity: 1; }
}

/* ── LIGHTBOX ── */
.lightbox-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5,5,8,0.96);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: lbFadeIn .25s ease;
}
.lightbox-backdrop.active { display: flex; }
@keyframes lbFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.lightbox-box {
    width: 100%;
    max-width: 1060px;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: 0 10px;
}

/* Toolbar */
.lightbox-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 6px 10px;
    flex-shrink: 0;
    gap: 12px;
}
.lightbox-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.lb-cat {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    border: 1px solid rgba(224,16,32,0.45);
    padding: 2px 9px;
    border-radius: 2px;
    white-space: nowrap;
    flex-shrink: 0;
}
.lb-caption {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    color: rgba(255,255,255,0.82);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lightbox-controls {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.lb-btn {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.75);
    width: 38px;
    height: 38px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s, border-color .2s;
}
.lb-btn:hover {
    background: rgba(255,255,255,0.14);
    color: var(--white);
    border-color: rgba(255,255,255,0.25);
}
.lb-btn--close {
    background: rgba(224,16,32,0.15);
    border-color: rgba(224,16,32,0.3);
    color: rgba(255,80,80,0.9);
}
.lb-btn--close:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}
.lb-divider {
    width: 1px;
    height: 24px;
    background: rgba(255,255,255,0.12);
    margin: 0 4px;
}

/* Stage */
.lightbox-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 0;
}
.lb-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
#lbImg {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    transition: transform .3s ease, opacity .25s ease;
    cursor: grab;
    user-select: none;
    box-shadow: 0 20px 80px rgba(0,0,0,0.8);
}
#lbImg.changing { opacity: 0; transform: scale(0.96); }
#lbImg:active { cursor: grabbing; }

.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background .2s, transform .2s;
    flex-shrink: 0;
}
.lb-nav:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-50%) scale(1.08);
}
.lb-prev { left: 10px; }
.lb-next { right: 10px; }

/* Footer */
.lightbox-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 6px 14px;
    flex-shrink: 0;
    gap: 12px;
}
.lb-counter {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.06em;
    white-space: nowrap;
    flex-shrink: 0;
}
.lb-thumbnails {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
}
.lb-thumbnails::-webkit-scrollbar { display: none; }
.lb-thumb {
    width: 52px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    opacity: 0.45;
    cursor: pointer;
    border: 2px solid transparent;
    transition: opacity .2s, border-color .2s, transform .2s;
    flex-shrink: 0;
}
.lb-thumb:hover { opacity: 0.75; }
.lb-thumb.active {
    opacity: 1;
    border-color: var(--red);
    transform: scale(1.08);
}

@media (max-width: 600px) {
    .lb-caption { display: none; }
    .lb-prev { left: 4px; }
    .lb-next { right: 4px; }
    .lb-nav  { width: 38px; height: 38px; }
    .lb-thumb { width: 38px; height: 30px; }
}
/* ── SHIMMER & LAZY LOADING ── */
.shimmer {
    position: relative;
    overflow: hidden;
    background: #e2e8f0; /* Slightly darker for visibility */
    min-height: 20px;
}
.shimmer::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 1.5s infinite linear;
}
@keyframes shimmer {
    100% { transform: translateX(100%); }
}

/* Skeleton Placeholders to prevent layout shift */
.news-card-img.shimmer {
    aspect-ratio: 16/9;
    background: #e2e8f0;
}

.hero-feature.shimmer {
    min-height: 400px;
    background: #e2e8f0;
}

.side-article-img.shimmer {
    width: 110px;
    height: 78px;
    background: #e2e8f0;
    flex-shrink: 0;
}

.gallery-item.shimmer {
    min-height: 200px;
    background: #e2e8f0;
}
.gallery-item--large.shimmer { height: 452px; }
.gallery-item--tall.shimmer { height: 452px; }

/* Skeleton Placeholders */
.skeleton-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
}
.skeleton-text {
    height: 14px;
    margin-bottom: 10px;
    border-radius: 4px;
}
.skeleton-text.short { width: 40%; }
.skeleton-text.mid { width: 70%; }
.skeleton-text.long { width: 100%; }

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Image loading states */
.lazy-img {
    opacity: 0;
    transition: opacity 0.4s ease-in;
}
.lazy-img.loaded {
    opacity: 1;
}

/* Specific Shimmer Layouts */
.news-card.loading .news-card-img {
    height: 180px;
}
.news-card.loading .news-card-content {
    padding: 15px;
}