/* ============================================================
   news.css
   PT. Rayard Deli Indonesia - Company Journey / Milestones
   Premium Vertical Timeline — Ultra Modern Corporate Design
   ============================================================ */

/* ---------- Variables ---------- */
:root {
    --primary: #800000;
    --primary-dark: #5A0000;
    --primary-light: #a33434;
    --secondary: #18345D;
    --secondary-dark: #10294b;
    --secondary-light: #1f446e;
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #777777;
    --border-light: #E8E8E8;
    --shadow-sm: 0 4px 16px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.07);
    --shadow-hover: 0 20px 56px rgba(24,52,93,0.12);
    --shadow-lg: 0 24px 64px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 18px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Global Smooth Scroll ---------- */
html {
    scroll-behavior: smooth;
}

/* ---------- Reveal Animations (untuk section lain) ---------- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* ---------- Stagger Children ---------- */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.stagger-children.active > *:nth-child(1) { transition-delay: 0.04s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.10s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.22s; opacity: 1; transform: translateY(0); }

/* ---------- Section Label ---------- */
.news-section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}

.news-section-label--light {
    color: var(--primary-light);
}

.highlight {
    color: var(--primary);
}

/* ---------- SECTION 1 — HERO ---------- */
.news-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background: var(--secondary);
}

.news-hero-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    transition: transform 0.1s linear;
    z-index: 0;
    will-change: transform;
}

.news-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg,
        rgba(24,52,93,0.75) 0%,
        rgba(128,0,0,0.35) 60%,
        rgba(24,52,93,0.50) 100%
    );
    z-index: 1;
}

.news-hero-glass {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(
        ellipse at 30% 20%,
        rgba(255,255,255,0.05) 0%,
        transparent 60%
    );
    pointer-events: none;
    animation: glassPulse 8s ease-in-out infinite alternate;
}

@keyframes glassPulse {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.2); }
}

/* Floating Orbs */
.news-hero-orb {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    z-index: 1;
    pointer-events: none;
    animation: orbFloat 12s ease-in-out infinite alternate;
}

.news-hero-orb--1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    background: rgba(128,0,0,0.06);
    animation-duration: 15s;
}

.news-hero-orb--2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -80px;
    background: rgba(24,52,93,0.08);
    animation-duration: 10s;
    animation-delay: 2s;
}

.news-hero-orb--3 {
    width: 200px;
    height: 200px;
    top: 30%;
    left: 60%;
    background: rgba(128,0,0,0.04);
    animation-duration: 8s;
    animation-delay: 4s;
}

@keyframes orbFloat {
    0% { transform: translateY(0) rotate(0deg) scale(1); }
    50% { transform: translateY(-30px) rotate(5deg) scale(1.05); }
    100% { transform: translateY(0) rotate(-5deg) scale(1); }
}

.news-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
    animation: heroFadeIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heroFadeIn {
    0% { opacity: 0; transform: scale(0.97) translateY(30px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.news-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.news-hero-badge {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    padding: 0.4em 1.4em;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 30px;
    backdrop-filter: blur(4px);
    margin-bottom: 20px;
    animation: borderPulse 3s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% { border-color: rgba(255,255,255,0.12); }
    50% { border-color: rgba(255,255,255,0.30); }
}

.news-hero-title {
    font-size: clamp(3.2rem, 9vw, 5.6rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 16px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.25);
}

.news-hero-highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.news-hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 0.05em;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--primary);
    border-radius: 4px;
    opacity: 0.5;
    transform: scaleX(0);
    transform-origin: left;
    animation: underlineReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}

@keyframes underlineReveal {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

.news-hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    font-weight: 300;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-top: 8px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.3);
}

.news-hero-scroll {
    margin-top: 3.5em;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1s forwards;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.news-hero-scroll-line {
    display: block;
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
    margin-top: 0.6em;
    animation: scrollLine 2.4s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); opacity: 0; transform-origin: top; }
    40% { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(0); opacity: 0; transform-origin: bottom; }
}

/* ---------- SECTION 2 — INTRODUCTION ---------- */
.news-intro {
    padding: 100px 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.news-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
    align-items: center;
}

.news-intro-left {
    animation: slideLeft 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes slideLeft {
    0% { opacity: 0; transform: translateX(-40px); }
    100% { opacity: 1; transform: translateX(0); }
}

.news-intro-heading {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.news-intro-heading .highlight {
    color: var(--primary);
}

.news-intro-right {
    animation: slideRight 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

@keyframes slideRight {
    0% { opacity: 0; transform: translateX(40px); }
    100% { opacity: 1; transform: translateX(0); }
}

.news-intro-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-medium);
    margin-bottom: 16px;
}

.news-intro-text:last-of-type {
    margin-bottom: 0;
}

.news-intro-divider {
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 4px;
    margin-top: 24px;
}

/* ---------- SECTION 3 — VERTICAL TIMELINE ---------- */
.news-timeline-section {
    padding: 100px 0 120px;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

/* Noise texture */
.news-timeline-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.news-timeline-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 1;
}

.news-timeline-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.news-timeline-title .highlight {
    color: var(--primary);
}

.news-timeline-subtitle {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-top: 8px;
}

/* ---------- TIMELINE CONTAINER ---------- */
.news-timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
    z-index: 1;
}

/* ---------- TIMELINE LINE ---------- */
.news-timeline-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    transform: translateX(-50%);
    background: var(--border-light);
    border-radius: 4px;
    overflow: hidden;
    z-index: 0;
}

.news-timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        var(--primary) 0%,
        var(--secondary) 25%,
        var(--primary) 50%,
        var(--secondary) 75%,
        var(--primary) 100%
    );
    background-size: 100% 200%;
    transform: scaleY(0);
    transform-origin: top;
    border-radius: 4px;
    animation: gradientFlow 4s linear infinite;
    /* --- Responsive fix: no transition, use will-change --- */
    transition: none;
    will-change: transform;
}

@keyframes gradientFlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 0% 100%; }
}

/* ---------- MILESTONE ITEMS ---------- */
/* 
   FIX: Parent selalu tampil, tidak ada opacity/transform.
   Dot, connector, year selalu terlihat sejak awal.
*/
.news-milestone {
    position: relative;
    margin-bottom: 70px;
    display: flex;
    align-items: flex-start;
}

.news-milestone:last-child {
    margin-bottom: 0;
}

/* ---------- DOT ---------- */
/* 
   FIX: Dot selalu merah dengan glow lembut.
   Tidak bergantung pada class --visible atau --active.
*/
.news-milestone-dot {
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    background: var(--primary);
    border: 3px solid var(--primary);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 6px rgba(128,0,0,0.12), 0 0 18px rgba(128,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

/* Ripple ring dasar — selalu ada tapi transparan */
.news-milestone-dot::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(128,0,0,0.10);
    transition: border-color 0.5s ease, transform 0.5s ease;
}

/* Saat milestone aktif: dot berdenyut sekali + ripple */
.news-milestone--active .news-milestone-dot {
    box-shadow: 0 0 0 8px rgba(128,0,0,0.15), 0 0 30px rgba(128,0,0,0.25);
    animation: dotPulse 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes dotPulse {
    0% { transform: translateX(-50%) scale(1); }
    40% { transform: translateX(-50%) scale(1.25); }
    100% { transform: translateX(-50%) scale(1); }
}

.news-milestone--active .news-milestone-dot::after {
    border-color: rgba(128,0,0,0.20);
    animation: ripple 2s ease-out 1;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.4); opacity: 0; }
}

/* ---------- YEAR ---------- */
.news-milestone-year {
    position: absolute;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
    white-space: nowrap;
    opacity: 0.7;  /* selalu terlihat, hanya lebih terang saat aktif */
    transition: opacity 0.4s ease;
}

.news-milestone--active .news-milestone-year {
    opacity: 1;
}

/* ---------- CONNECTOR ---------- */
.news-milestone-connector {
    position: absolute;
    top: 16px;
    height: 2px;
    background: var(--border-light);
    z-index: 0;
    transition: background 0.6s ease;
}

.news-milestone--active .news-milestone-connector {
    background: var(--primary);
}

/* ---------- CARD ---------- */
/* 
   FIX: Hanya card yang dianimasikan.
   Awalnya: opacity .55, sedikit turun 20px, TANPA BLUR.
   Saat --visible: opacity 1, naik ke posisi semula.
   Efek ini lebih clean & premium (Apple-style tanpa blur).
*/
.news-milestone-card {
    width: calc(50% - 50px);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    position: relative;

    /* State awal (hanya fade + slide, tanpa blur) */
    opacity: .55;
    transform: translateY(20px);
    filter: none;

    /* Transisi yang halus */
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Saat milestone terlihat di viewport, card muncul sempurna */
.news-milestone--visible .news-milestone-card {
    opacity: 1;
    transform: translateY(0);
    filter: none;
}

/* Hover effect tetap */
.news-milestone-card:hover {
    transform: translateY(-6px) !important; /* timpa efek --visible */
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

/* Even items (0,2,4...) go left */
.news-milestone:nth-child(even) .news-milestone-card {
    margin-left: auto;
}

.news-milestone:nth-child(even) .news-milestone-connector {
    right: 50%;
    left: auto;
    width: 40px;
}

.news-milestone:nth-child(even) .news-milestone-year {
    right: calc(50% + 40px);
    top: 16px;
    transform: translateX(100%);
}

/* Odd items (1,3,5...) go right */
.news-milestone:nth-child(odd) .news-milestone-card {
    margin-right: auto;
}

.news-milestone:nth-child(odd) .news-milestone-connector {
    left: 50%;
    right: auto;
    width: 40px;
}

.news-milestone:nth-child(odd) .news-milestone-year {
    left: calc(50% + 40px);
    top: 16px;
    transform: translateX(-100%);
}

/* ---------- CARD IMAGE ---------- */
.news-milestone-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.news-milestone-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-milestone-card:hover .news-milestone-image img {
    transform: scale(1.06);
}

.news-milestone-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--primary);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.25em 1.2em;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* ---------- CARD CONTENT ---------- */
.news-milestone-content {
    padding: 20px 24px 26px;
}

.news-milestone-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

.news-milestone-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.news-milestone-card:hover .news-milestone-title {
    color: var(--primary);
}

.news-milestone-description {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin: 0;
}

/* ---------- SECTION 4 — ACHIEVEMENTS ---------- */
.news-achievements {
    padding: 100px 0;
    background: var(--secondary);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.news-achievements::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(128,0,0,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.news-achievements::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.news-achievements-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 1;
}

.news-achievements-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.news-achievements-title .highlight {
    color: var(--primary);
}

.news-achievements-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-top: 8px;
}

.news-achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.news-achievement-card {
    text-align: center;
    padding: 35px 20px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(4px);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.news-achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.news-achievement-card:hover::before {
    opacity: 1;
}

.news-achievement-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-6px);
    border-color: var(--primary);
}

.news-achievement-number {
    font-size: 3.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    display: inline-block;
}

.news-achievement-suffix {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-block;
    margin-left: 2px;
}

.news-achievement-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 8px 0 4px;
}

.news-achievement-card p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

/* ---------- SECTION 5 — GALLERY ---------- */
.news-gallery {
    padding: 100px 0;
    background: var(--bg-white);
}

.news-gallery-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.news-gallery-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.news-gallery-title .highlight {
    color: var(--primary);
}

.news-gallery-subtitle {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-top: 8px;
}

.news-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 18px;
}

.news-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.news-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-gallery-item:hover img {
    transform: scale(1.06);
}

.news-gallery-item--tall {
    grid-row: span 2;
}

.news-gallery-item--wide {
    grid-column: span 2;
}

.news-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(24,52,93,0.55);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.news-gallery-item:hover .news-gallery-overlay {
    opacity: 1;
}

.news-gallery-icon {
    font-size: 2.6rem;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 6px;
}

.news-gallery-label {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-align: center;
    padding: 0 12px;
}

/* ---------- SECTION 6 — CTA ---------- */
.news-cta {
    padding: 100px 20px;
    background: var(--secondary);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.news-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(128,0,0,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.news-cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.news-cta-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.news-cta-title .highlight {
    color: var(--primary);
}

.news-cta-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
    line-height: 1.7;
}

.news-cta-button {
    display: inline-block;
    padding: 16px 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.news-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.news-cta-button:hover::before {
    left: 100%;
}

.news-cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(128,0,0,0.35);
    color: #fff;
}

.news-cta-orb {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.02);
    pointer-events: none;
    animation: orbFloat 12s ease-in-out infinite alternate;
}

.news-cta-orb--1 {
    width: 400px;
    height: 400px;
    top: -120px;
    right: -120px;
    background: rgba(128,0,0,0.06);
    animation-duration: 14s;
}

.news-cta-orb--2 {
    width: 250px;
    height: 250px;
    bottom: -80px;
    left: -80px;
    background: rgba(24,52,93,0.08);
    animation-duration: 10s;
    animation-delay: 1s;
}

/* ---------- LIGHTBOX ---------- */
.news-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.news-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.news-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
    cursor: pointer;
}

.news-lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-lightbox.active .news-lightbox-content {
    transform: scale(1);
}

.news-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
}

.news-lightbox-close:hover {
    background: var(--primary-dark);
    transform: rotate(90deg);
}

.news-lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    display: block;
    border-radius: var(--radius);
}

.news-lightbox-caption {
    display: block;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-medium);
    margin-top: 12px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .news-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .news-achievements-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .news-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .news-gallery-item--tall {
        grid-row: span 1;
    }
    .news-gallery-item--wide {
        grid-column: span 1;
    }

    /* Timeline adjustments for tablet */
    .news-milestone-card {
        width: calc(50% - 35px);
    }

    .news-milestone:nth-child(even) .news-milestone-connector {
        width: 25px;
    }
    .news-milestone:nth-child(odd) .news-milestone-connector {
        width: 25px;
    }

    .news-milestone:nth-child(even) .news-milestone-year {
        right: calc(50% + 25px);
    }
    .news-milestone:nth-child(odd) .news-milestone-year {
        left: calc(50% + 25px);
    }
}

@media (max-width: 768px) {
    .news-hero {
        min-height: 60vh;
        padding: 0 16px;
    }
    .news-hero-title {
        font-size: 2.6rem;
        letter-spacing: -1px;
    }
    .news-hero-subtitle {
        font-size: 0.95rem;
    }
    .news-hero-badge {
        font-size: 10px;
        letter-spacing: 3px;
        padding: 0.3em 1em;
    }

    .news-intro {
        padding: 60px 0;
    }
    .news-intro-heading {
        font-size: 2rem;
    }
    .news-intro-text {
        font-size: 0.95rem;
    }

    .news-timeline-section {
        padding: 60px 0 80px;
    }

    /* Mobile: Timeline moves to left */
    .news-timeline-line {
        left: 20px;
        transform: none;
    }

    .news-milestone {
        padding-left: 45px;
        margin-bottom: 50px;
    }

    .news-milestone-dot {
        left: 20px;
        top: 8px;
        transform: translateX(-50%);
        width: 18px;
        height: 18px;
    }

    .news-milestone-card {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .news-milestone-connector {
        display: none;
    }

    .news-milestone-year {
        display: none;
    }

    /* Mobile: all cards right aligned */
    .news-milestone:nth-child(even) .news-milestone-card,
    .news-milestone:nth-child(odd) .news-milestone-card {
        margin-left: 0;
        margin-right: 0;
    }

    .news-milestone-image {
        height: 160px;
    }

    .news-milestone-content {
        padding: 16px 18px 20px;
    }
    .news-milestone-title {
        font-size: 1rem;
    }
    .news-milestone-description {
        font-size: 0.85rem;
    }

    .news-achievements {
        padding: 60px 0;
    }
    .news-achievements-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .news-achievement-number {
        font-size: 2.6rem;
    }
    .news-achievement-suffix {
        font-size: 1.8rem;
    }
    .news-achievement-card {
        padding: 24px 16px;
    }
    .news-achievement-card h3 {
        font-size: 0.95rem;
    }
    .news-achievement-card p {
        font-size: 0.8rem;
    }

    .news-gallery {
        padding: 60px 0;
    }
    .news-gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 160px;
        gap: 14px;
    }

    .news-cta {
        padding: 60px 20px;
    }
    .news-cta-title {
        font-size: 2.2rem;
    }
    .news-cta-text {
        font-size: 0.95rem;
    }
    .news-cta-button {
        padding: 12px 34px;
        font-size: 0.95rem;
    }

    .news-hero-orb--1 {
        width: 200px;
        height: 200px;
        top: -60px;
        right: -60px;
    }
    .news-hero-orb--2 {
        width: 150px;
        height: 150px;
        bottom: -40px;
        left: -40px;
    }
    .news-cta-orb--1 {
        width: 200px;
        height: 200px;
        top: -60px;
        right: -60px;
    }
    .news-cta-orb--2 {
        width: 120px;
        height: 120px;
        bottom: -40px;
        left: -40px;
    }

    .news-lightbox-content {
        padding: 12px;
        max-width: 95vw;
    }
    .news-lightbox-close {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
        top: -10px;
        right: -10px;
    }
    .news-lightbox-image {
        max-height: 60vh;
    }
    .news-lightbox-caption {
        font-size: 0.85rem;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .news-hero-title {
        font-size: 2rem;
    }
    .news-hero-subtitle {
        font-size: 0.85rem;
    }
    .news-intro-heading {
        font-size: 1.6rem;
    }

    .news-achievements-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .news-achievement-number {
        font-size: 2.2rem;
    }
    .news-achievement-suffix {
        font-size: 1.4rem;
    }
    .news-achievement-card {
        padding: 18px 12px;
    }
    .news-achievement-card h3 {
        font-size: 0.85rem;
    }
    .news-achievement-card p {
        font-size: 0.7rem;
    }

    .news-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .news-cta-title {
        font-size: 1.8rem;
    }
    .news-cta-button {
        padding: 10px 28px;
        font-size: 0.9rem;
    }
    .news-milestone-image {
        height: 140px;
    }
}