/* Shared News and Publications design for AXIOPHYS and PRIME-CAE. */
.news-page{background:#f3f6f9;color:#11253a}
.news-page .nav__a[aria-current="page"]{color:#76cafa}
.news-hero{padding:calc(var(--nav-h) + 72px) 0 76px;background:#030a14;color:#f5f9ff;border-bottom:1px solid #23394f}
.news-kicker{font-family:var(--font-mono);font-size:.875rem;letter-spacing:.1em;text-transform:uppercase;color:#76cafa;margin-bottom:24px}
.news-hero h1{font-family:var(--font-sans);font-size:clamp(2.8rem,6vw,5.8rem);line-height:1.06;letter-spacing:-.045em;font-weight:500;max-width:1000px}
.news-hero h1 span{color:#76cafa}
.news-hero p:last-child{font-size:1.125rem;color:#c5d2df;max-width:660px;margin-top:26px;line-height:1.75}
.news-content{padding-top:60px;padding-bottom:90px}
.news-feature{display:grid;grid-template-columns:1fr 1fr;background:white;border:1px solid #d5dfe8;border-radius:12px;overflow:hidden;margin-bottom:54px}
.news-feature__copy{padding:clamp(26px,4vw,56px);align-self:center}
.news-meta{font-family:var(--font-mono);font-size:.875rem;color:#3c6483;letter-spacing:.025em;margin-bottom:18px}
.news-feature h2,.news-summary h2{font-family:var(--font-sans);font-size:clamp(1.9rem,3vw,3rem);line-height:1.15;letter-spacing:-.03em;font-weight:500}
.news-feature p:not(.news-meta){margin:20px 0 28px;color:#435b70;line-height:1.75}
.news-link{display:inline-block;font-weight:600;border-bottom:1px solid currentColor;padding:8px 0;color:#0870c5}
.news-link:hover{color:#03518d}
.news-filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}
.news-filters button{padding:10px 20px;border:1px solid #b5c5d3;border-radius:30px;color:#29445f;min-height:44px}
.news-filters button[aria-pressed="true"]{background:#0f204b;border-color:#0f204b;color:white}
.news-entry{display:grid;grid-template-columns:180px 1fr auto;gap:24px;align-items:center;padding:30px 0;border-top:1px solid #cbd7e1}
.news-entry,.news-empty{scroll-margin-top:calc(var(--nav-h) + env(safe-area-inset-top) + 20px)}
.news-entry__badge{display:flex;align-items:center;justify-content:center;min-height:108px;padding:18px;background:#071322;border:1px solid #d5dfe8;border-radius:6px}
.news-entry__badge img{display:block;max-width:100%;height:auto}
.news-entry__badge--nvidia{flex-direction:column;gap:5px;color:#fff;font-size:.75rem;letter-spacing:.05em;text-align:center;text-transform:uppercase}
.news-entry__badge--nvidia img{width:145px}
.news-entry h3{font-family:var(--font-sans);font-size:1.5rem;font-weight:500;margin-bottom:8px}
.news-entry p{color:#435b70;max-width:650px}
.news-entry .news-meta{margin:0}
.news-empty{padding:36px 0;color:#435b70;border-top:1px solid #cbd7e1}
.news-empty h3{color:#11253a;font-size:1.35rem;margin-bottom:10px}
[hidden]{display:none!important}
.news-summary{background:#071322;color:#f5f9ff;padding:70px 0}
.news-summary__grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.news-summary p:not(.news-kicker){color:#bacbda;max-width:570px;margin:20px 0}
.news-summary .news-link{color:#76cafa}
.news-summary__item{border-top:1px solid #34495c;padding-top:24px}
.news-summary__item h3{font-family:var(--font-sans);font-size:1.75rem;font-weight:500}
.news-summary .news-meta{color:#94b4ce}
.news-article{max-width:850px;margin:auto;padding:60px var(--gutter) 90px}
.news-article h2{font-family:var(--font-sans);font-size:2rem;line-height:1.25;margin:40px 0 18px;font-weight:500}
.news-article p{margin:18px 0;color:#29445f;line-height:1.85}
.news-article ul{list-style:disc;padding-left:24px;color:#29445f}
.news-article li{margin:14px 0}
.news-page .news-back{color:#76cafa;margin-bottom:30px;display:inline-block}
@media(max-width:760px){.news-feature,.news-summary__grid{grid-template-columns:1fr}.news-entry{grid-template-columns:1fr;gap:14px}.news-hero{padding-top:calc(var(--nav-h) + 44px);padding-bottom:48px}.news-content{padding-top:32px}.news-summary__grid{gap:32px}.news-entry .news-link{justify-self:start}}

.news-feature__figure{display:flex;flex-direction:column;justify-content:center;background:#fff;padding:24px;border-right:1px solid #d5dfe8;gap:18px}
.news-feature__figure img{width:100%;height:auto;object-fit:contain}
.news-feature__figure figcaption{font-size:.875rem;color:#435b70;line-height:1.5}
.news-demo{margin:32px 0;background:white;border:1px solid #d5dfe8;border-radius:8px;overflow:hidden}
.news-demo img{width:100%;height:auto}
.news-demo figcaption{padding:18px 22px;font-size:.9375rem;line-height:1.65;color:#435b70;border-top:1px solid #e0e8ef}
@media(max-width:760px){.news-feature__figure{padding:16px;border-right:0;border-bottom:1px solid #d5dfe8}}

.news-entry__thumbnail{display:block;background:#fff;border:1px solid #d5dfe8;border-radius:6px;overflow:hidden}.news-entry__thumbnail img{width:100%;height:auto;aspect-ratio:5/3;object-fit:contain}.news-article #cfd-mesh{scroll-margin-top:110px}@media(max-width:760px){.news-entry__thumbnail{max-width:260px}}

.news-wave-video{display:block;width:100%;height:auto;background:#fff;aspect-ratio:8/5}.news-article #guided-waves{scroll-margin-top:110px}

.news-wave-feature{margin-bottom:64px}.news-wave-feature>h2{font-family:var(--font-sans);font-size:clamp(1.8rem,3vw,2.7rem);line-height:1.2;font-weight:500;max-width:1000px;margin:0 0 32px}.news-wave-feature .news-demo{margin:28px 0}.news-dispersion{margin:24px 0 34px}.news-dispersion h3{font-size:1.4rem;margin-bottom:10px}.news-dispersion p{color:#435b70;margin-bottom:22px}.news-dispersion iframe{display:block;width:100%;height:850px;border:1px solid #cbd7e1;border-radius:8px;background:white}.news-dispersion .news-link{margin-top:14px}.news-wave-feature #guided-waves{scroll-margin-top:110px}@media(max-width:760px){.news-dispersion iframe{height:760px}}

/* Compact masthead on the News index. */
.news-index .news-hero{padding-top:calc(var(--nav-h) + 32px);padding-bottom:32px}
.news-index .news-hero .news-kicker{margin-bottom:12px}
.news-index .news-hero h1{font-size:clamp(2.2rem,4vw,3.6rem)}
.news-index .news-hero p:last-child{margin-top:14px;font-size:1rem;max-width:none}
@media(max-width:760px){.news-index .news-hero{padding-top:calc(var(--nav-h) + 22px);padding-bottom:24px}.news-index .news-hero h1{font-size:clamp(2rem,7vw,2.8rem)}}

/* Keep publication media and long titles within narrow viewports. */
.news-page main,.news-content,.news-entry>*,.news-feature>*,.news-article{min-width:0}
.news-page h1,.news-page h2,.news-page h3,.news-page figcaption{overflow-wrap:anywhere}
.news-entry__thumbnail img,.news-demo img,.news-wave-video{max-width:100%}
.news-filters button{flex-shrink:0}
@media(max-width:480px){.news-page .nav__brand{min-width:0}.news-page .nav__logo{max-width:100%}.news-article{padding-inline:18px}.news-content{padding-inline:18px}.news-page .news-hero .shell{padding-inline:18px}.news-dispersion iframe{height:900px}.news-demo figcaption{padding:16px}.news-feature__copy{padding:24px}}

.news-cube-video{margin-bottom:56px}.news-cube-video>h2{font-family:var(--font-sans);font-size:clamp(1.8rem,3vw,2.7rem);line-height:1.2;font-weight:500;margin-bottom:24px}.news-cube-video video{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#fff}

/* Phone layout for the News index and publication pages. */
@media(max-width:600px){
 .news-content{padding-top:24px;padding-bottom:48px}
 .news-index .news-hero{padding-top:calc(var(--nav-h) + 16px);padding-bottom:24px}
 .news-index .news-hero p:last-child{line-height:1.6}
 .news-feature{margin-bottom:32px}
 .news-feature__copy{padding:22px}
 .news-feature__copy p:not(.news-meta){margin:16px 0}
 .news-cube-video,.news-wave-feature{margin-bottom:36px}
 .news-cube-video>h2,.news-wave-feature>h2{font-size:clamp(1.45rem,5.5vw,1.85rem);line-height:1.3;margin-bottom:20px}
 .news-dispersion{margin:20px 0 28px}
 .news-dispersion h3{font-size:1.2rem}
 .news-demo{margin:22px 0}
 .news-demo figcaption{padding:14px;overflow-wrap:anywhere}
 .news-link{min-height:44px;display:inline-flex;align-items:center;line-height:1.5}
 .news-meta{line-height:1.6;overflow-wrap:anywhere}
 .news-filters{gap:6px}
 .news-filters button{flex:1 1 auto;min-width:0;padding:10px 6px;font-size:.875rem}
 .news-entry{padding:24px 0}
 .news-entry__thumbnail{max-width:none}
 .news-article{padding-top:32px;padding-bottom:48px}
}

/* Full-width player canvases with media fitted to the available screen height. */
.news-demo video,.news-cube-video video{width:100%;height:min(66svh,680px);max-height:680px;aspect-ratio:auto;object-fit:contain;background:#fff}
.news-html-canvas{position:relative;width:100%;height:min(70svh,720px);overflow:hidden;background:#fff;border:1px solid #cbd7e1;border-radius:8px}
.news-dispersion .news-html-canvas iframe{position:absolute;display:block;max-width:none;border:0;border-radius:0;transform-origin:top left;left:0;top:0}
@media(max-width:600px){.news-demo video,.news-cube-video video{height:auto;max-height:66svh;aspect-ratio:auto}.news-html-canvas{height:auto;overflow:visible}.news-dispersion .news-html-canvas iframe{position:static;width:100%;transform:none}}

/* Media on the left, explanatory copy on the right. */
.news-media-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(230px,1fr);gap:0;align-items:stretch}
.news-media-visual{min-width:0;background:#fff;display:flex;align-items:center}
.news-media-copy{min-width:0;padding:clamp(22px,3vw,40px);align-self:center}
.news-media-copy h3{font-family:var(--font-sans);font-size:clamp(1.35rem,2vw,1.9rem);font-weight:500;line-height:1.25;margin-bottom:18px;color:#11253a}
.news-media-copy p{color:#435b70;font-size:1rem;line-height:1.75;margin:16px 0}
.news-demo figcaption.news-media-copy{border-top:0;border-left:1px solid #e0e8ef;padding:clamp(22px,3vw,40px)}
.news-media-copy .news-media-note{font-size:.875rem;line-height:1.65}
.news-dispersion.news-media-row{border:1px solid #cbd7e1;border-radius:8px;overflow:hidden;background:#fff}
.news-media-row .news-html-canvas{border:0;border-radius:0}
.news-media-row video{height:min(60svh,600px);max-height:600px}
@media(max-width:700px){.news-media-row{grid-template-columns:minmax(0,1fr)}.news-demo figcaption.news-media-copy{border-left:0;border-top:1px solid #e0e8ef;padding:22px}.news-media-copy{padding:22px}.news-media-copy h3{font-size:1.4rem}.news-media-row video{height:auto;max-height:60svh}}

/* Match the homepage hero's display typography at article-title sizes. */
.news-media-copy h3{font-family:var(--font-sans);font-weight:500;font-style:normal;letter-spacing:-.036em;line-height:var(--lh-title)}

/* Full-width interactive plot workspace; scientific tables sit inside on the right. */
.news-dispersion>.news-html-canvas{height:min(82svh,850px)}
.news-dispersion .news-html-canvas iframe{inset:0;width:100%;height:100%;transform:none}
@media(max-width:700px){.news-dispersion>.news-html-canvas{height:auto}.news-dispersion .news-html-canvas iframe{position:static;inset:auto}}

.news-dispersion>.news-html-canvas{height:min(82svh,850px)}
.news-dispersion .news-html-canvas iframe{position:absolute;inset:0}
.news-dispersion>.news-html-canvas--mobile{height:auto}
.news-dispersion .news-html-canvas--mobile iframe{position:static;inset:auto}

/* Dark navy titles throughout the light News content. */
.news-content h2,.news-content h3,.news-article h2,.news-article h3{color:var(--prime-navy,#0F204B)}

/* Match News section titles to the masthead's display face and tracking. */
.news-content h2,.news-content h3,.news-article h2,.news-article h3{font-family:var(--font-sans);font-weight:500;font-style:normal;letter-spacing:-.045em;line-height:1.06;color:#176B9B}

.news-category[hidden]{display:none!important}
.news-category{scroll-margin-top:calc(var(--nav-h) + env(safe-area-inset-top) + 20px)}
