/* news — the page's one area hue made real on month rules and the lead label, not only the header wash */
.p-nw-hue .p-nw-month .sec-h h2{border-inline-start:3px solid hsl(var(--h) 42% 45%);padding-inline-start:12px;margin-inline-start:-12px;color:hsl(var(--h) 38% 36%)}
.p-nw-hue .p-lead-story small{color:hsl(var(--h) 40% 38%)}
[data-mode=dark] .p-nw-hue .p-nw-month .sec-h h2{border-inline-start-color:hsl(var(--h) 55% 62%);color:hsl(var(--h) 55% 68%)}
[data-mode=dark] .p-nw-hue .p-lead-story small{color:hsl(var(--h) 55% 68%)}

/* notices — same device: the rose area hue carried onto real section headings */
.p-nt-hue .sec-h h2{border-inline-start:3px solid hsl(var(--h) 42% 45%);padding-inline-start:12px;margin-inline-start:-12px;color:hsl(var(--h) 38% 36%)}
[data-mode=dark] .p-nt-hue .sec-h h2{border-inline-start-color:hsl(var(--h) 55% 62%);color:hsl(var(--h) 55% 68%)}

/* detail pages: main + aside, aside sections stack with the section rhythm */
.p-dt-two{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}
.p-dt-two aside .sec{margin-top:0}
.p-dt-two aside .sec+.sec{margin-top:clamp(28px,4vw,44px)}
@media (max-width:860px){.p-dt-two{grid-template-columns:minmax(0,1fr)}.p-dt-two aside .sec{margin-top:clamp(28px,4vw,44px)}}

/* a secondary list below a two-column detail row runs 2-up at desktop instead of trailing on alone; CSS columns (not grid rows) so an odd count never leaves a hole */
@media (min-width:860px){
  .p-rows-2col{columns:2;column-gap:clamp(24px,3vw,40px)}
  .p-rows-2col .p-row{break-inside:avoid}
  .p-rows-2col .p-row>.p-link{grid-template-columns:minmax(0,1fr) auto}
  .p-rows-2col .p-row-ev>.p-link,.p-rows-2col .p-row-ev{display:grid;grid-template-columns:4.5rem minmax(0,1fr);gap:2px 14px;align-items:baseline;padding-block:14px}
  .p-rows-2col .p-row-ev .p-end{grid-column:2;text-align:start;white-space:normal}
}

/* journals: a 2-4 item fact grid never leaves a lone item short of the row; the leftover spans full */
.p-journal-tx .p-facts-j{grid-template-columns:repeat(2,minmax(0,1fr))}
.p-facts-j>div:last-child:nth-child(odd){grid-column:1/-1}

/* public labs: the per-faculty hue already set on the section becomes a visible mark on its heading */
.p-lab-h2{border-inline-start:3px solid hsl(var(--h) 45% 48%);padding-inline-start:12px;margin-inline-start:-12px;color:hsl(var(--h) 42% 40%)}
.p-lab-h2 a{color:inherit}
[data-mode=dark] .p-lab-h2{border-inline-start-color:hsl(var(--h) 50% 62%);color:hsl(var(--h) 55% 68%)}

/* contact: the route heading no longer stretches to the height of its (measurement-invisible) definition list; the message form fills the width its own column already grants it instead of stopping at an arbitrary cap */
.p-ct-top+.p-split{align-items:start}
.p-ct-form .p-form{max-width:none}

/* history: the founding moment reads as a statement before the timeline resumes */
.p-hist-origin{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px clamp(24px,4vw,48px);align-items:start;padding:clamp(22px,3.6vw,36px);margin-bottom:clamp(32px,5vw,56px);border-radius:var(--r-lg,10px);background:var(--surface)}
.p-hist-origin-y{font-size:clamp(52px,6.4vw,88px);font-weight:700;line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--ink);display:flex;flex-direction:column;gap:4px}
.p-hist-origin-y small{font-size:var(--t-cap);font-weight:400;color:var(--ink-3)}
.p-hist-origin h2{font-size:var(--t-xl);margin-bottom:8px;line-height:1.3}
.p-hist-origin p{color:var(--ink-2);max-width:60ch;line-height:1.8;margin:0}
@media (max-width:640px){.p-hist-origin{grid-template-columns:minmax(0,1fr)}}

.p-fc-two{margin-top:0}
@media(min-width:761px){.p-people:not(.p-people-1){display:grid}}
.p-people-c{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.p-ad-top{margin-top:clamp(20px,3vw,32px)}
.p-route-h{grid-template-columns:auto minmax(0,24rem) minmax(0,22rem) auto}
@media(min-width:1000px){.p-rows-prog>li{grid-column:span 4!important}}
.p-rows-snug .p-row>.p-link{grid-template-columns:minmax(0,1fr) auto}
.p-rows-snug .p-end [class*="p-status-"]{white-space:nowrap}
.p-fact-since{grid-template-columns:max-content minmax(0,1fr)}
.p-fact-since dt{white-space:nowrap}
.p-course-main{flex-direction:row;align-items:baseline;gap:10px}
.p-course-code{white-space:nowrap;color:var(--ink-3);font-size:var(--t-cap)}
.p-se-sec{margin-top:16px;padding-top:12px}
