/* ── 8. NEWS ───────────────────────────────────────────────── */
.news-home, .news-page-section, .pubs-home { padding: clamp(3rem, 6vw, 5rem) 0; }
.news-page-section { padding-bottom: clamp(4rem, 7vw, 6rem); }
.news-home, .news-page-section {
    position: relative; overflow: hidden;
    background-color: var(--ink);
    background-image:
        radial-gradient(circle at 8px 8px, rgba(255,255,255,.06) 1.4px, transparent 1.6px);
    background-size: 34px 34px;
}
.news-home .eyebrow, .news-page-section .eyebrow { color: var(--blue-300); }
.news-home h2, .news-page-section h1, .news-page-section h2 { color: #fff; }
.news-home .section-inner, .news-page-section .section-inner { position: relative; z-index: 1; }
.news-deco {
    position: absolute; top: 50%; right: -2%; width: min(760px, 60vw); transform: translateY(-50%);
    opacity: .9;
    pointer-events: none; z-index: 0;
}
@media (max-width: 1080px) { .news-deco { width: 560px; right: -7%; } }
@media (max-width: 900px) { .news-deco { width: 420px; right: -13%; opacity: .6; } }
@media (max-width: 640px) { .news-deco { width: 300px; right: -21%; opacity: .4; } }

.news-home__content { max-width: 700px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }

/* Home "Latest news" — a 2-up carousel (not a static grid) so the decorative
   brain illustration has room to breathe on the right of the section. */
.news-carousel-wrap { position: relative; }
.news-grid--home {
    display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    scrollbar-width: none; padding-bottom: .2rem;
}
.news-grid--home::-webkit-scrollbar { display: none; }
.news-grid--home .news-card { flex: 0 0 calc(50% - .75rem); scroll-snap-align: start; scroll-snap-stop: always; }
/* Cards inside a horizontally-scrolling track must not translateY on reveal:
   overflow-x:auto implicitly clips the Y axis too, so a vertical slide-in
   gets cropped at the top of the track while it's still animating. */
.news-grid--home .news-card.reveal,
.pub-carousel__track .reveal { translate: 0 0 !important; scale: 1 !important; }
@media (max-width: 900px) {
    /* One card per view, no sliver of the next one peeking in */
    .news-grid--home .news-card { flex: 0 0 100%; }
}

.carousel-nav { display: flex; justify-content: center; gap: .8rem; margin-top: 1.4rem; }
.carousel-nav__btn {
    width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
    color: #fff; display: flex; align-items: center; justify-content: center;
    transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease);
}
.carousel-nav__btn svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
    .carousel-nav__btn:hover:not(:disabled) { background: #fff; color: var(--ink); border-color: #fff; }
}
.carousel-nav__btn:disabled { opacity: .3; cursor: not-allowed; }
.news-card {
    border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid rgba(255,255,255,.16);
    /* No backdrop-filter / hover lift: both put the card's text on its own
       layer and soften it on scaled screens */
    background: rgba(255,255,255,.07);
    transition: box-shadow var(--dur-base) var(--ease), background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), var(--reveal-transition);
}
@media (hover: hover) and (pointer: fine) {
    .news-card:hover { box-shadow: var(--shadow-lg); background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); }
}
.news-card__img { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--blue-50); position: relative; }
.news-card__img img { width: 100%; height: 100%; object-fit: contain; padding: .5rem; box-sizing: border-box; background: rgba(255,255,255,.05); transition: transform var(--dur-slow) var(--ease); }
@media (hover: hover) and (pointer: fine) {
    .news-card:hover .news-card__img img { transform: scale(1.03); }
}
.news-card__img--empty { display: flex; align-items: center; justify-content: center; }
.news-card__arrow {
    position: absolute; top: .8rem; right: .8rem; width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,.9);
    display: flex; align-items: center; justify-content: center; color: var(--ink);
    transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.news-card__arrow svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) {
    .news-card:hover .news-card__arrow { background: var(--ink); color: #fff; transform: translate(2px, -2px); }
}
.news-card__mark { width: 46px; height: 46px; color: var(--blue-300); }
.news-card__mark svg { width: 100%; height: 100%; }
.news-card__body { padding: 1.4rem 1.5rem 1.6rem; }
.news-card__date { font-size: .78rem; font-weight: 700; color: var(--blue-300); text-transform: uppercase; letter-spacing: .04em; }
.news-card__title { font-size: 1.05rem; margin: .5rem 0 .6rem; }
.news-card__title a { color: #fff; }
@media (hover: hover) and (pointer: fine) {
    .news-card__title a:hover { color: var(--blue-300); }
}
.news-card__desc { font-size: .9rem; margin-bottom: .8rem; color: rgba(255,255,255,.72); }
.news-card__more { font-weight: 700; font-size: .85rem; color: #fff; }
