/* RDO News — follows the Research Agenda hero composition. */
.news-hero { background: var(--deep); color: var(--white); overflow: hidden; }
.news-hero-grid { align-items: stretch; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 440px; }
.news-hero-copy { align-self: center; max-width: 610px; padding: 56px 48px 56px 0; animation: news-rise 700ms var(--ease-premium, var(--ease)) both; }
.news-hero-copy .eyebrow { color: var(--gold); }
.news-hero-copy h1 { color: var(--white); font-size: clamp(35px, 3.4vw, 48px); line-height: 1.08; margin: 0 0 18px; }
.news-hero-accent { color: var(--gold); }
.news-hero-copy > p:not(.eyebrow) { color: var(--ice); font-size: 15px; line-height: 1.65; margin-bottom: 0; max-width: 540px; }
.news-hero-actions { margin-top: 24px; }
.news-hero-copy .button { background: var(--gold); color: var(--ink); }
.news-hero-copy .button:hover { background: var(--white); color: var(--ink); }
.news-hero-copy .button:focus-visible { outline-color: var(--white); }
.news-hero-copy .button span, .news-card .text-link span, .news-featured .text-link span { display: inline-block; transition: transform var(--motion-fast, 200ms) var(--ease-premium, var(--ease)); }
.news-hero-copy .button:hover span, .news-card .text-link:hover span, .news-featured .text-link:hover span { transform: translateX(3px); }
.news-hero-visual { align-self: stretch; margin: 0 calc((100vw - min(1240px, calc(100vw - 80px))) / -2) 0 0; min-height: 440px; overflow: hidden; position: relative; animation: news-fade 900ms var(--ease-premium, var(--ease)) 120ms both; }
.news-hero-visual::after { background: linear-gradient(90deg, var(--deep) 0%, rgba(24,46,111,.4) 22%, transparent 56%), linear-gradient(0deg, rgba(23,52,119,.55) 0%, transparent 38%); content: ''; inset: 0; pointer-events: none; position: absolute; }
.news-hero-visual img { display: block; height: 100%; min-height: 440px; object-fit: cover; object-position: center 35%; width: 100%; }

.news-page { background: var(--white); padding-bottom: 96px; padding-top: 68px; scroll-margin-top: 24px; }
.news-heading { margin: 0 0 34px; max-width: 700px; }
.news-heading h2 { margin-bottom: 9px; }
.news-heading > p:last-child { font-size: 15px; margin: 0; }

.news-featured { background: var(--white); border: 1px solid var(--line); border-radius: 12px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); margin-bottom: 28px; overflow: hidden; transition: transform var(--motion-base, 300ms) var(--ease-premium, var(--ease)), box-shadow var(--motion-base, 300ms) var(--ease-premium, var(--ease)), border-color var(--motion-fast, 200ms) ease; }
.news-featured-image { background: var(--ice); display: block; min-height: 340px; overflow: hidden; position: relative; }
.news-featured-image img { display: block; height: 100%; object-fit: cover; position: absolute; inset: 0; width: 100%; }
.news-featured-body { align-self: center; padding: 40px 44px; }
.news-featured h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.22; margin-bottom: 14px; }
.news-featured h3 a:hover { color: var(--blue); }
.news-featured p { font-size: 15px; line-height: 1.65; margin-bottom: 20px; }
.news-featured .news-meta { margin-bottom: 14px; }
.news-featured .text-link { gap: 8px; }

.news-page .news-grid { display: grid; gap: 28px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.news-page .news-grid:has(> .news-card:only-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.news-page .news-card:only-child { display: flex; max-width: none; min-height: 0; }
.news-page .news-card:only-child .news-image { aspect-ratio: 16 / 10; min-height: 0; }
.news-page .news-card { border-radius: 12px; box-shadow: none; }
.news-page .news-card .text-link { gap: 8px; }
.news-page .pagination { margin-top: 44px; }

@media (hover: hover) and (pointer: fine) {
    .news-page .news-card:hover, .news-featured:hover { border-color: #b9c8ee; box-shadow: 0 12px 26px #182e6f12; transform: translateY(-4px); }
}
@media (max-width: 1023px) {
    .news-hero-grid { min-height: 400px; }
    .news-hero-copy { padding: 44px 28px 44px 0; }
    .news-hero-visual, .news-hero-visual img { min-height: 400px; }
    .news-featured { grid-template-columns: minmax(0, 1fr); }
    .news-featured-image { aspect-ratio: 16 / 9; min-height: 0; }
    .news-featured-body { padding: 30px; }
    .news-page .news-grid, .news-page .news-grid:has(> .news-card:only-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .news-hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .news-hero-copy { padding: 40px 0 30px; }
    .news-hero-copy h1 { font-size: clamp(34px, 9vw, 42px); }
    .news-hero-copy > p:not(.eyebrow) { font-size: 14px; }
    .news-hero-visual { aspect-ratio: 1.6; margin: 0 -20px; min-height: 0; }
    .news-hero-visual::after { background: linear-gradient(180deg, var(--deep), rgba(24,46,111,.1) 40%, transparent 72%); }
    .news-hero-visual img { min-height: 0; }
    .news-page { padding-bottom: 56px; padding-top: 44px; }
    .news-heading h2 { font-size: 28px; }
    .news-featured-body { padding: 24px 22px; }
    .news-page .news-grid, .news-page .news-grid:has(> .news-card:only-child) { gap: 20px; grid-template-columns: minmax(0, 1fr); }
}

@keyframes news-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes news-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
    .news-hero-copy, .news-hero-visual { animation: none; }
    .news-hero-copy .button span, .news-card .text-link span, .news-featured .text-link span, .news-featured, .news-page .news-card { transition: none; }
    .news-page .news-card:hover, .news-featured:hover { transform: none; }
}

/* News category filter: the shared filter-chip pill. The active category is solid blue with a gold underline. */
.news-filters { margin: -14px 0 34px; }
.news-filters ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.news-filters a { align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 999px; color: var(--navy); display: inline-flex; font-family: Montserrat, Arial, sans-serif; font-size: 14px; font-weight: 600; min-height: 44px; padding: 0 18px; text-decoration: none; transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease; }
.news-filters a:hover { background: var(--ice); border-color: #b8c8ef; color: var(--blue); }
.news-filters a[aria-current="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.news-filters a[aria-current="true"]:hover { background: var(--deep); border-color: var(--deep); color: var(--white); }
.news-filters a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.news-results.is-loading { opacity: .35; pointer-events: none; transition: opacity 180ms ease; }
.news-results.is-entering { animation: news-results-in 320ms var(--ease-premium, var(--ease)) both; }
@keyframes news-results-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
    .news-results.is-entering { animation: none; }
    .news-results.is-loading, .news-filters a { transition: none; }
}
