/* ── News Carousel – Cosmo-Blog Galaxy ── */
.studies-news-carousel-section {
    padding: 5rem 0;
    background: linear-gradient(170deg, #f0f2ff 0%, #ffffff 40%, #fff5f7 60%, #f0f2ff 100%);
    overflow: hidden;
    position: relative;
}

/* ── Top separator ── */
.studies-news-carousel-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    max-width: 600px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.5), rgba(124, 58, 237, 0.4), rgba(233, 70, 239, 0.6), rgba(249, 115, 22, 0.4), transparent);
    z-index: 2;
    border-radius: 2px;
}

/* ── Background universe ── */
.news-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* ══ Nebula washes (stronger) ══ */
.news-nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}

.news-nebula--1 {
    width: 800px; height: 800px;
    background: radial-gradient(circle at 30% 40%, rgba(37, 99, 235, 0.22), rgba(79, 70, 229, 0.12) 45%, transparent 70%);
    top: -250px; left: -150px;
    animation: newsNebulaDrift 20s ease-in-out infinite alternate;
}

.news-nebula--2 {
    width: 700px; height: 700px;
    background: radial-gradient(circle at 60% 50%, rgba(124, 58, 237, 0.18), rgba(139, 92, 246, 0.08) 45%, transparent 70%);
    bottom: -200px; right: -120px;
    animation: newsNebulaDrift 25s ease-in-out infinite alternate-reverse;
}

.news-nebula--3 {
    width: 500px; height: 500px;
    background: radial-gradient(circle at 50% 50%, rgba(233, 70, 239, 0.14), transparent 60%);
    top: 15%; left: 55%;
    filter: blur(70px);
    animation: newsNebulaPulse 14s ease-in-out infinite alternate;
}

.news-nebula--4 {
    width: 600px; height: 600px;
    background: radial-gradient(circle at 40% 60%, rgba(37, 99, 235, 0.15), rgba(79, 70, 229, 0.06) 50%, transparent 70%);
    top: 40%; right: 25%;
    animation: newsNebulaDrift 18s ease-in-out infinite alternate-reverse;
}

/* ══ Top-left rotating orb ══ */
.news-top-left-orb {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 120px;
    height: 120px;
}

.news-top-left-orb-ring {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(124, 58, 237, 0.3);
    border-radius: 50%;
    border-top-color: rgba(79, 70, 229, 0.8);
    border-right-color: rgba(233, 70, 239, 0.5);
    animation: newsOrbSpin 4s linear infinite;
}

.news-top-left-orb-ring::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 2px solid rgba(37, 99, 235, 0.2);
    border-radius: 50%;
    border-bottom-color: rgba(249, 115, 22, 0.6);
    border-left-color: rgba(124, 58, 237, 0.4);
    animation: newsOrbSpin 3s linear infinite reverse;
}

.news-top-left-orb-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #7c3aed, #4f46e5);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.6), 0 0 40px rgba(79, 70, 229, 0.3);
    animation: newsOrbPulse 2s ease-in-out infinite;
}

@keyframes newsOrbSpin {
    to { transform: rotate(360deg); }
}

@keyframes newsOrbPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.7; }
}

/* ══ Stars constellation ══ */
.news-stars-constellation {
    position: absolute;
    inset: 0;
}

.news-star {
    position: absolute;
    border-radius: 50%;
    animation: newsStarTwinkle 3s ease-in-out infinite alternate;
}

.news-star--1 {
    top: 10%; left: 15%;
    width: 8px; height: 8px;
    background: #4f46e5;
    box-shadow: 0 0 14px rgba(79, 70, 229, 0.8), 0 0 35px rgba(79, 70, 229, 0.3);
    animation-delay: 0s;
}

.news-star--2 {
    top: 6%; left: 25%;
    width: 10px; height: 10px;
    background: #2563eb;
    box-shadow: 0 0 18px rgba(37, 99, 235, 0.8), 0 0 40px rgba(37, 99, 235, 0.3);
    animation-delay: 0.5s;
}

.news-star--3 {
    top: 18%; left: 36%;
    width: 7px; height: 7px;
    background: #d946ef;
    box-shadow: 0 0 12px rgba(233, 70, 239, 0.7), 0 0 28px rgba(233, 70, 239, 0.2);
    animation-delay: 1s;
}

.news-star--4 {
    top: 8%; left: 48%;
    width: 9px; height: 9px;
    background: #7c3aed;
    box-shadow: 0 0 16px rgba(124, 58, 237, 0.8), 0 0 35px rgba(124, 58, 237, 0.3);
    animation-delay: 1.5s;
}

.news-star--5 {
    top: 20%; left: 59%;
    width: 7px; height: 7px;
    background: #d946ef;
    box-shadow: 0 0 12px rgba(233, 70, 239, 0.7), 0 0 28px rgba(233, 70, 239, 0.2);
    animation-delay: 2s;
}

.news-star--6 {
    top: 12%; left: 73%;
    width: 6px; height: 6px;
    background: #f97316;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.5), 0 0 25px rgba(249, 115, 22, 0.15);
    animation-delay: 2.5s;
}

.news-star--7 {
    top: 16%; left: 85%;
    width: 5px; height: 5px;
    background: #4f46e5;
    box-shadow: 0 0 8px rgba(79, 70, 229, 0.5), 0 0 20px rgba(79, 70, 229, 0.15);
    animation-delay: 3s;
}

/* ══ Constellation SVG lines ══ */
.news-constellation-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.12;
}

.news-constellation-path {
    fill: none;
    stroke: url(#newsConstGrad);
    stroke-width: 1;
    stroke-dasharray: 4 6;
    animation: newsConstDash 20s linear infinite;
}

.news-constellation-dot {
    fill: #4f46e5;
    opacity: 0.3;
    animation: newsStarTwinkle 4s ease-in-out infinite alternate;
}

/* ══ Orbital rings (more prominent) ══ */
.news-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid;
    pointer-events: none;
}

.news-orbit--1 {
    width: 350px; height: 350px;
    top: -40px; right: 8%;
    border-color: rgba(79, 70, 229, 0.15);
    animation: newsOrbitSpin 22s linear infinite;
}

.news-orbit--2 {
    width: 240px; height: 240px;
    bottom: 8%; left: 6%;
    animation: newsOrbitSpin 18s linear infinite reverse;
    border-color: rgba(37, 99, 235, 0.12);
}

.news-orbit--3 {
    width: 180px; height: 180px;
    bottom: 35%; left: 45%;
    animation: newsOrbitSpin 14s linear infinite;
    border-color: rgba(233, 70, 239, 0.1);
}

.news-orbit-dot {
    position: absolute;
    border-radius: 50%;
    animation: newsOrbitDotPulse 3s ease-in-out infinite alternate;
}

.news-orbit--1 .news-orbit-dot {
    top: 0; left: 50%;
    width: 10px; height: 10px;
    background: #7c3aed;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.5), 0 0 35px rgba(124, 58, 237, 0.2);
    transform: translate(-50%, -50%);
}

.news-orbit--1 .news-orbit-dot--2 {
    top: 50%; left: 100%;
    width: 7px; height: 7px;
    background: #4f46e5;
    box-shadow: 0 0 12px rgba(79, 70, 229, 0.4), 0 0 25px rgba(79, 70, 229, 0.15);
    animation-delay: 1.5s;
}

.news-orbit--2 .news-orbit-dot {
    top: 0; left: 50%;
    width: 8px; height: 8px;
    background: #2563eb;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.4), 0 0 25px rgba(37, 99, 235, 0.15);
    transform: translate(-50%, -50%);
}

.news-orbit--3 .news-orbit-dot {
    top: 0; left: 50%;
    width: 7px; height: 7px;
    background: #d946ef;
    box-shadow: 0 0 10px rgba(233, 70, 239, 0.4), 0 0 25px rgba(233, 70, 239, 0.15);
    transform: translate(-50%, -50%);
}

.news-orbit--3 .news-orbit-dot--2 {
    top: 50%; left: 100%;
    width: 6px; height: 6px;
    background: #4f46e5;
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.4);
    animation-delay: 1s;
}

.news-orbit--3 .news-orbit-dot--3 {
    top: 100%; left: 50%;
    width: 5px; height: 5px;
    background: #d946ef;
    box-shadow: 0 0 8px rgba(233, 70, 239, 0.3);
    animation-delay: 2s;
}

/* ══ Paper planes (bigger) ══ */
.news-plane {
    position: absolute;
    animation: newsPlaneFloat 20s ease-in-out infinite;
}

.news-plane--1 {
    top: 25%; right: 20%;
    animation-delay: 0s;
}

.news-plane--1::before {
    content: '';
    display: block;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 28px 16px 38px;
    border-color: transparent transparent transparent rgba(37, 99, 235, 0.2);
}

.news-plane--1::after {
    content: '';
    display: block;
    width: 0; height: 0;
    margin-top: -6px;
    margin-left: 8px;
    border-style: solid;
    border-width: 6px 0 10px 26px;
    border-color: transparent transparent transparent rgba(37, 99, 235, 0.08);
}

.news-plane--2::before {
    content: '';
    display: block;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 28px 16px 38px;
    border-color: transparent transparent transparent rgba(124, 58, 237, 0.18);
}

.news-plane--2::after {
    content: '';
    display: block;
    width: 0; height: 0;
    margin-top: -6px;
    margin-left: 8px;
    border-style: solid;
    border-width: 6px 0 10px 26px;
    border-color: transparent transparent transparent rgba(124, 58, 237, 0.07);
}

.news-plane--1::after {
    content: '';
    display: block;
    width: 0; height: 0;
    margin-top: -6px;
    margin-left: 8px;
    border-style: solid;
    border-width: 6px 0 10px 26px;
    border-color: transparent transparent transparent rgba(233, 70, 239, 0.1);
}

.news-plane--2 {
    bottom: 15%; left: 12%;
    animation-delay: 10s;
    transform: rotate(25deg) scale(0.8);
}

.news-plane--2::before {
    content: '';
    display: block;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 28px 16px 38px;
    border-color: transparent transparent transparent rgba(249, 115, 22, 0.2);
}

.news-plane--2::after {
    content: '';
    display: block;
    width: 0; height: 0;
    margin-top: -6px;
    margin-left: 8px;
    border-style: solid;
    border-width: 6px 0 10px 26px;
    border-color: transparent transparent transparent rgba(249, 115, 22, 0.08);
}

/* ══ Quill pen (bigger) ══ */
.news-quill {
    position: absolute;
    animation: newsQuillNod 16s ease-in-out infinite;
}

.news-quill--1 {
    bottom: 32%; right: 22%;
    opacity: 0.12;
    animation-delay: 5s;
}

.news-quill--1::before {
    content: '';
    display: block;
    width: 3px; height: 40px;
    background: linear-gradient(to top, #4f46e5, transparent);
    border-radius: 2px;
    transform: rotate(-18deg);
}

.news-quill--1::after {
    content: '';
    display: block;
    width: 12px; height: 10px;
    background: linear-gradient(135deg, #4f46e5, transparent);
    border-radius: 50% 0 50% 0;
    margin-top: -4px;
    margin-left: -6px;
    transform: rotate(-18deg);
    filter: blur(1px);
}

/* ══ Light bulb (innovation) ══ */
.news-bulb {
    position: absolute;
    animation: newsBulbGlow 4s ease-in-out infinite alternate;
}

.news-bulb--1 {
    top: 30%; left: 6%;
    opacity: 0.15;
    animation-delay: 0s;
}

.news-bulb--1::before {
    content: '';
    display: block;
    width: 18px; height: 18px;
    border-radius: 50% 50% 30% 30%;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.news-bulb--1::after {
    content: '';
    display: block;
    width: 6px; height: 6px;
    background: #f97316;
    margin: 0 auto;
    border-radius: 0 0 3px 3px;
    margin-top: -1px;
}

.news-bulb--2::before {
    content: '';
    display: block;
    width: 18px; height: 18px;
    border-radius: 50% 50% 30% 30%;
    background: linear-gradient(135deg, #fbbf24, #4f46e5);
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
}

.news-bulb--2::after {
    content: '';
    display: block;
    width: 6px; height: 6px;
    background: #4f46e5;
    margin: 0 auto;
    border-radius: 0 0 3px 3px;
    margin-top: -1px;
}

.news-bulb--1::after {
    content: '';
    display: block;
    width: 6px; height: 6px;
    background: #f97316;
    margin: 0 auto;
    border-radius: 0 0 3px 3px;
    margin-top: -1px;
}

.news-bulb--2 {
    bottom: 22%; right: 8%;
    opacity: 0.1;
    animation-delay: 2s;
    transform: scale(0.7) rotate(-10deg);
}

.news-bulb--2::before {
    content: '';
    display: block;
    width: 18px; height: 18px;
    border-radius: 50% 50% 30% 30%;
    background: linear-gradient(135deg, #fbbf24, #d946ef);
    box-shadow: 0 0 20px rgba(233, 70, 239, 0.4);
}

.news-bulb--2::after {
    content: '';
    display: block;
    width: 6px; height: 6px;
    background: #d946ef;
    margin: 0 auto;
    border-radius: 0 0 3px 3px;
    margin-top: -1px;
}

.news-bulb-glow {
    display: none;
}

/* ══ RSS signal waves ══ */
.news-rss {
    position: absolute;
}

.news-rss--1 {
    bottom: 28%; right: 32%;
    opacity: 0.1;
    animation: newsRssPulse 3s ease-in-out infinite;
}

.news-rss--2 {
    top: 40%; left: 18%;
    opacity: 0.07;
    animation: newsRssPulse 4s ease-in-out infinite 1.5s;
}

.news-rss-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1.5px solid #4f46e5;
    transform: translate(-50%, -50%) scale(0);
    animation: newsRssWaveExpand 3s ease-out infinite;
}

.news-rss-wave--1 { width: 16px; height: 16px; animation-delay: 0s; }
.news-rss-wave--2 { width: 32px; height: 32px; animation-delay: 0.8s; }
.news-rss-wave--3 { width: 48px; height: 48px; animation-delay: 1.6s; }

.news-rss--2 .news-rss-wave {
    border-color: #7c3aed;
}

.news-rss--2 .news-rss-wave--1 { width: 12px; height: 12px; animation-delay: 0s; }
.news-rss--2 .news-rss-wave--2 { width: 24px; height: 24px; animation-delay: 0.7s; }

/* ══ Speech bubbles (blog comments) ══ */
.news-bubble {
    position: absolute;
    opacity: 0.08;
    animation: newsBubbleFloat 12s ease-in-out infinite;
}

.news-bubble--1 {
    bottom: 18%; left: 28%;
    animation-delay: 0s;
}

.news-bubble--1::before {
    content: '';
    display: block;
    width: 22px; height: 16px;
    background: #2563eb;
    border-radius: 8px;
    position: relative;
}

.news-bubble--1::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 6px;
    width: 0; height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #2563eb;
}

.news-bubble--2::before {
    content: '';
    display: block;
    width: 18px; height: 12px;
    background: #7c3aed;
    border-radius: 6px;
    position: relative;
}

.news-bubble--2::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 10px;
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #7c3aed;
}

.news-bubble--1::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 6px;
    width: 0; height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #d946ef;
}

.news-bubble--2 {
    top: 45%; right: 12%;
    animation-delay: 6s;
    transform: scale(0.8);
}

.news-bubble--2::before {
    content: '';
    display: block;
    width: 22px; height: 16px;
    background: #f97316;
    border-radius: 8px;
    position: relative;
}

.news-bubble--2::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 10px;
    width: 0; height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #f97316;
}

/* ══ Shooting stars ══ */
.news-shooting-star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255,255,255,0.5);
    opacity: 0;
}

.news-shooting-star::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    width: 40px;
    height: 1px;
    background: linear-gradient(to left, rgba(37, 99, 235, 0.8), transparent);
    transform: translateY(-50%);
}

.news-shooting-star--1 {
    top: 15%; left: 60%;
    animation: newsShootStar 6s ease-in infinite 2s;
}

.news-shooting-star--2 {
    top: 50%; left: 30%;
    animation: newsShootStar 8s ease-in infinite 5s;
}

/* ══ Keyframes ══ */
@keyframes newsNebulaDrift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(70px, -50px) scale(1.35); }
}

@keyframes newsNebulaPulse {
    0% { opacity: 0.4; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.6); }
}

@keyframes newsStarTwinkle {
    0% { opacity: 0.3; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.5); }
}

@keyframes newsConstDash {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -200; }
}

@keyframes newsOrbitSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes newsOrbitDotPulse {
    0% { opacity: 0.2; transform: translate(-50%, -50%) scale(0.7); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.4); }
}

@keyframes newsPlaneFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(18px, -14px) rotate(6deg); }
    50% { transform: translate(-12px, -22px) rotate(-4deg); }
    75% { transform: translate(14px, -8px) rotate(5deg); }
}

@keyframes newsQuillNod {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(12deg); }
}

@keyframes newsBulbGlow {
    0% { opacity: 0.06; transform: scale(0.9); }
    50% { opacity: 0.18; transform: scale(1.15); }
    100% { opacity: 0.08; transform: scale(1); }
}

@keyframes newsRssPulse {
    0%, 100% { opacity: 0.05; }
    50% { opacity: 0.15; }
}

@keyframes newsRssWaveExpand {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    30% { opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

@keyframes newsBubbleFloat {
    0%, 100% { transform: translateY(0); opacity: 0.05; }
    50% { transform: translateY(-12px); opacity: 0.12; }
}

@keyframes newsShootStar {
    0% { transform: translate(0, 0); opacity: 0; }
    5% { opacity: 1; }
    15% { transform: translate(-120px, 80px); opacity: 1; }
    20% { opacity: 0; }
    100% { opacity: 0; }
}

/* ══ Reduced motion ══ */
@media (prefers-reduced-motion: reduce) {
    .news-nebula,
    .news-star,
    .news-constellation-path,
    .news-constellation-dot,
    .news-orbit,
    .news-orbit-dot,
    .news-plane,
    .news-quill,
    .news-bulb,
    .news-rss,
    .news-rss-wave,
    .news-bubble,
    .news-shooting-star,
    .btn-all-news {
        animation: none !important;
    }

    .btn-all-news::before,
    .btn-all-news::after {
        animation: none !important;
        opacity: 0 !important;
    }

    .news-nebula { opacity: 0.1; }
    .news-star { opacity: 0.3; }
    .news-constellation-lines { opacity: 0.05; }
    .news-orbit-dot { opacity: 0.3; }
    .news-plane, .news-quill, .news-bulb, .news-bubble { opacity: 0.04; }
    .news-rss { opacity: 0.03; }
    .news-shooting-star { display: none; }
}

/* ══ Header ══ */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.news-kicker {
    font-family: "Inter", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #4f46e5;
    margin-bottom: 0.6rem;
}

.news-title {
    font-family: "Outfit", sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.03em;
}

.news-innovation {
    background: linear-gradient(135deg, #2563eb, #7c3aed, #d946ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* ══ Nav ══ */
.news-carousel-nav {
    display: flex;
    gap: 0.8rem;
}

.news-carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.news-carousel-btn:hover {
    background: linear-gradient(135deg, #2563eb, #4f46e5, #7c3aed);
    border-color: #4f46e5;
    color: #fff;
    transform: scale(1.08);
}

/* ══ Carousel ══ */
.news-carousel-wrapper {
    position: relative;
    z-index: 1;
    padding: 0.5rem clamp(2.5rem, 5vw, 4rem);
}

.news-carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.news-slide {
    flex: 0 0 calc(33.333% - 1.333rem);
    min-width: 300px;
}

/* ══ Cards ══ */
.news-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f1f5f9;
}

.news-card-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    display: block;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.12);
}

/* ══ Image ══ */
.news-img-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.news-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.news-card:hover .news-img-wrap img {
    transform: scale(1.08);
}

/* ══ Category badge ══ */
.news-cat-badge {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    background: linear-gradient(135deg, #2563eb, #4f46e5, #7c3aed);
    color: #fff;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    font-family: "Inter", sans-serif;
}

/* ══ Body ══ */
.news-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: "Inter", sans-serif;
}

.news-card-title {
    font-family: "Outfit", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.8rem;
    line-height: 1.3;
    color: #0f172a;
    transition: color 0.3s ease;
}

.news-card:hover .news-card-title {
    background: linear-gradient(135deg, #2563eb, #7c3aed, #d946ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-excerpt {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
    font-family: "Inter", sans-serif;
}

.news-read-more {
    margin-top: auto;
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.news-card:hover .news-read-more {
    gap: 10px;
}

/* ══ Footer CTA ══ */
.news-section-footer {
    margin-top: 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.btn-all-news {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 13px 32px;
    background: linear-gradient(135deg, #2563eb, #4f46e5, #7c3aed);
    background-size: 200% 200%;
    border: none;
    color: #fff;
    border-radius: 30px;
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    overflow: visible;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
    animation: newsCtaBreathe 2.8s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
    will-change: transform;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-all-news::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 33px;
    border: 2px solid rgba(37, 99, 235, 0.25);
    animation: newsCtaRing 2.4s ease-out infinite;
    pointer-events: none;
}

.btn-all-news::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 33px;
    border: 2px solid rgba(79, 70, 229, 0.15);
    animation: newsCtaRing 2.4s ease-out infinite 0.8s;
    pointer-events: none;
}

.btn-all-news:hover {
    animation-play-state: paused;
    background-position: 100% 50%;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 35px rgba(37, 99, 235, 0.5);
}

.btn-all-news:active {
    transform: scale(0.95);
    transition-duration: 0.05s;
}

@keyframes newsCtaBreathe {
    0%   { transform: translateY(0) scale(1) rotate(0deg); box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35); }
    22%  { transform: translateY(-6px) scale(1.05) rotate(-0.4deg); box-shadow: 0 25px 50px rgba(37, 99, 235, 0.55); }
    44%  { transform: translateY(-3px) scale(0.97) rotate(0.3deg); box-shadow: 0 12px 28px rgba(37, 99, 235, 0.4); }
    66%  { transform: translateY(-7px) scale(1.04) rotate(-0.2deg); box-shadow: 0 28px 55px rgba(37, 99, 235, 0.6); }
    85%  { transform: translateY(-2px) scale(1.015) rotate(0deg); box-shadow: 0 10px 26px rgba(37, 99, 235, 0.38); }
    100% { transform: translateY(0) scale(1) rotate(0deg); box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35); }
}

@keyframes newsCtaRing {
    0%   { transform: scale(1); opacity: 0.7; }
    60%  { opacity: 0.3; }
    100% { transform: scale(1.25); opacity: 0; }
}

/* ══ Responsive ══ */
@media (max-width: 1024px) {
    .news-slide {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .news-slide {
        flex: 0 0 85%;
    }
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }
    .btn-all-news {
        width: 100%;
        justify-content: center;
    }
}
