/* Additions scoped to academic news; existing clinical pages are untouched. */
.academic-news-entry{align-items:start}
.academic-news-body{margin-top:22px;font-size:16px;line-height:1.85;max-width:760px}
.academic-news-body p+p{margin-top:16px}
.academic-news-entry .news-entry-info>div{grid-template-columns:76px minmax(0,1fr)}
.academic-news-entry .news-entry-info dd{overflow-wrap:anywhere;word-break:keep-all}
.academic-news-entry .news-entry-photo{align-self:start;margin-top:10px}
.academic-date-note{font-size:14px;color:var(--muted);margin-top:12px;max-width:240px}
.news-card .news-meta{flex-wrap:wrap;row-gap:7px}
.news-card h3{word-break:keep-all;overflow-wrap:break-word}
@media(max-width:760px){.academic-news-entry .news-entry-info>div{grid-template-columns:68px minmax(0,1fr);gap:12px}.academic-news-body{font-size:16px;line-height:1.8}.academic-date-note{max-width:none;margin-bottom:16px}}

/* Five selected home news items; full archive remains on news.html. */
.news-grid-featured{grid-template-columns:repeat(5,minmax(0,1fr));gap:22px}
.news-grid-featured .news-card{min-width:0}
.news-grid-featured .news-card h3{font-size:18px;line-height:1.6;margin-top:12px}
.news-grid-featured .news-card-body>p{font-size:14px;line-height:1.75;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news-grid-featured .news-meta{gap:6px 10px;font-size:12px}
.news-grid-featured .news-meta time{flex-basis:100%}
.news-grid-featured .news-upcoming{font-size:12px}
.news-grid-featured .news-university-visual{aspect-ratio:16/10;min-height:0;padding:12px}
.news-grid-featured .university-mark{width:64px;height:auto}
.news-grid-featured .news-university-visual>p{font-size:12px}
@media(max-width:1100px){.news-grid-featured{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.news-grid-featured{grid-template-columns:1fr}.news-grid-featured .news-card h3{font-size:21px}.news-grid-featured .news-card-body>p{font-size:16px}.news-grid-featured .news-meta{font-size:13px}.news-grid-featured .university-mark{width:100px;height:auto}}

/* Education archive additions; no invented event photographs. */
.news-page .news-entry-text-only{grid-template-columns:minmax(0,1fr)}
.news-page .news-entry-text-only .news-entry-copy{max-width:850px}
.news-page .news-publications{display:inline-block;margin-top:14px;font-size:13px}
.news-page .education-news-entry .news-entry-photo img{width:100%;height:auto;object-fit:contain}
.news-page .news-filters button{word-break:keep-all}

.news-topic{display:inline-block;border:1px solid var(--line);padding:3px 8px;font-size:12px;line-height:1.6;color:var(--accent);white-space:nowrap}
/* One compact media size for every news image, on desktop and mobile. */
.news-page .news-expanded{grid-template-columns:200px minmax(0,1fr);gap:28px}
.news-page .news-expanded .news-entry-photo,.news-page .news-expanded .news-media-stack{width:200px;max-width:100%;margin:0;justify-self:start;align-self:start}
.news-page .news-image-frame,.news-grid-featured .news-card-photo,.news-grid-featured .news-university-visual{width:200px;max-width:100%;height:140px;aspect-ratio:auto;min-height:0;display:flex;align-items:center;justify-content:center;background:var(--sand);padding:0;overflow:hidden}
.news-page .news-image-frame>a{display:flex;width:100%;height:100%;align-items:center;justify-content:center}
.news-page .news-image-frame>img,.news-page .news-image-frame>a>img,.news-grid-featured .news-card-photo img{display:block;width:100%;height:100%;max-width:100%;max-height:140px;object-fit:contain;transform:none}
.news-page .news-institution-photo .news-image-frame{padding:16px}
.news-page .news-image-frame .news-university-visual{width:100%;height:100%;min-height:0;aspect-ratio:auto;padding:12px;gap:8px}
.news-page .news-image-frame .university-mark,.news-grid-featured .university-mark{width:70px;height:auto;flex-shrink:0}
.news-page .news-image-frame .news-university-visual>p,.news-grid-featured .news-university-visual>p{font-size:12px;line-height:1.5}
.news-grid-featured .news-university-visual{padding:12px;gap:8px}
.news-page .news-expanded .news-entry-photo figcaption{font-size:12px;line-height:1.6;margin-top:8px}
.news-page .news-entry{padding-block:24px}
@media(max-width:760px){.news-page .news-expanded{grid-template-columns:minmax(0,1fr);gap:18px}.news-page .news-expanded .news-entry-photo,.news-page .news-expanded .news-media-stack{justify-self:start}.news-grid-featured .news-card-photo,.news-grid-featured .news-university-visual{width:200px;height:140px}.news-grid-featured .news-card-body{padding-top:14px}}

/* Home expands to all compact news links; the archive always shows full articles. */
.news-expand-button{background:none;border:0;padding:0;font:inherit;cursor:pointer;color:var(--accent)}
.news-expand-button:focus-visible,.news-card-link:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
.news-grid-featured{align-items:start;row-gap:32px}
.news-grid-featured [hidden],.news-page .news-entry[hidden]{display:none!important}
.news-grid-featured .news-card-link{cursor:pointer;display:block}
.news-grid-featured .news-card-body>.text-link{display:inline-block;margin-top:14px;font-size:14px}
.news-page .news-entries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;align-items:start}
.news-page .news-entry{display:flex;flex-direction:column;gap:16px;padding:20px 0;min-width:0;scroll-margin-top:110px}
.news-page .news-entry-copy{order:2;width:100%;min-width:0;max-width:none}
.news-page .news-entry-photo,.news-page .news-media-stack{order:1;width:200px;max-width:100%;margin:0;align-self:start}
.news-page .news-entry h2{font-size:21px;line-height:1.55;margin:12px 0 0;word-break:keep-all;overflow-wrap:break-word}
.news-page .news-meta{flex-wrap:wrap;gap:6px 10px;font-size:12px}
.news-page .news-meta time{flex-basis:100%}
.news-page .news-entry-description,.news-page .academic-news-body{font-size:16px;line-height:1.75;margin-top:14px;word-break:keep-all;overflow-wrap:break-word}
.news-page .academic-news-body p+p{margin-top:10px}
.news-page .news-entry-info{font-size:13px;line-height:1.65;margin-top:16px;padding-top:12px;gap:6px}
.news-page .news-entry-info>div{grid-template-columns:62px minmax(0,1fr);gap:10px}
.news-page .news-entry-info dd{overflow-wrap:anywhere}
.news-page .news-entry-photo figcaption{font-size:12px;line-height:1.5;margin-top:6px}
.news-page .news-entry-copy>.text-link{font-size:13px;margin-top:14px}
@media(max-width:1100px){.news-page .news-entries{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.news-page .news-entries{grid-template-columns:minmax(0,1fr);gap:12px}.news-page .news-entry{padding:22px 0}.news-page .news-entry h2{font-size:22px}}

/* Shared rows align every thumbnail, metadata block, title and summary. */
.news-heading-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.news-heading-actions .text-link{display:inline-flex;align-items:center;gap:12px;white-space:nowrap;font-size:14px}
.news-grid-featured{align-items:stretch;row-gap:14px}
.news-grid-featured .news-card{display:grid;grid-template-rows:subgrid;grid-row:span 4;padding-bottom:22px;margin-bottom:14px}
.news-grid-featured .news-card-link,.news-grid-featured .news-card-body{display:contents}
.news-grid-featured .news-meta{display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;gap:8px}
.news-grid-featured .news-tags{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}
.news-grid-featured .news-meta time{flex-basis:auto;display:block}
.news-grid-featured .news-card h3{margin:0;align-self:start}
.news-grid-featured .news-card-body>p{margin:0;align-self:start}
.news-grid-featured .news-card-photo,.news-grid-featured .news-university-visual{margin:0}
.news-grid-featured .news-card:hover img{transform:none}
#youtube .video-card{display:grid;grid-template-rows:subgrid;grid-row:span 4}
#youtube .video-grid{row-gap:14px}
#youtube .video-category,#youtube .video-card h3,#youtube .video-external{margin-block:0}
@media(max-width:760px){.news-heading-actions{gap:18px}.news-heading-actions .text-link{font-size:13px}.news-grid-featured .news-card{margin-bottom:10px}}

.news-grid-featured .news-card:has(.news-card-link:focus-visible){outline:2px solid var(--accent);outline-offset:5px}

/* Every activity category can be reached directly, including education. */
.home-news-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;margin:0 0 24px}
.home-news-filters{display:flex;flex-wrap:wrap;gap:8px}
.home-news-filters button{min-height:44px;padding:9px 15px;border:1px solid var(--line);background:transparent;color:var(--muted);font:400 15px/1.6 var(--sans);cursor:pointer;word-break:keep-all}
.home-news-filters button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.home-news-filters button:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.home-news-count{font-size:14px;color:var(--muted);margin:0}
@media(max-width:760px){.home-news-toolbar{gap:10px;margin-bottom:22px}.home-news-filters{width:100%;gap:6px}.home-news-filters button{flex:1 1 auto;padding:9px 11px;font-size:14px}.news-heading-actions{width:100%}}

/* Archive rows share six tracks, so description length cannot shift dividers. */
.news-page .news-entries{align-items:stretch;row-gap:16px}
.news-page .news-entry{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:subgrid;grid-row:span 6;gap:16px;padding:22px 0;margin:0 0 12px}
.news-page .news-entry-copy{display:contents}
.news-page .news-entry>.news-entry-photo,.news-page .news-entry>.news-media-stack{grid-column:1;grid-row:1;order:0;align-self:start}
.news-page .news-entry-copy>.news-meta{grid-column:1;grid-row:2;align-self:start;margin:0}
.news-page .news-entry-copy>h2{grid-column:1;grid-row:3;align-self:start;margin:0}
.news-page .news-entry-copy>.news-entry-description,.news-page .news-entry-copy>.academic-news-body{grid-column:1;grid-row:4;align-self:start;margin:0}
.news-page .news-entry-copy>.news-entry-info{grid-column:1;grid-row:5;align-self:start;margin:0;padding-top:12px}
.news-page .news-entry-copy>.text-link{grid-column:1;grid-row:6;align-self:start;justify-self:start;width:fit-content;margin:0}
@media(max-width:760px){.news-page .news-entry{row-gap:14px;margin-bottom:6px}}

/* A single mobile column needs no shared subgrid tracks. */
@media(max-width:760px){
 .news-grid-featured .news-card{display:block;grid-row:auto}
 .news-grid-featured .news-card-link{display:block}
 .news-grid-featured .news-card-body{display:block;padding:14px 0 0}
 .news-grid-featured .news-card h3{margin:12px 0 8px}
 .news-page .news-entry{display:flex;grid-row:auto;flex-direction:column}
 .news-page .news-entry-copy{display:block;order:2}
 .news-page .news-entry-copy>h2{margin-top:12px}
 .news-page .news-entry-copy>.academic-news-body,.news-page .news-entry-copy>.news-entry-description,.news-page .news-entry-copy>.news-entry-info,.news-page .news-entry-copy>.text-link{margin-top:14px}
}
