/* ISSL Parent Newsletter, "Editorial" theme.
   Set like a school paper: Newsreader for text, Archivo for labels, black ink
   plus one red, hairline column rules. The logo is the only full-colour element. */

@font-face { font-family: "Newsreader Text"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/newsreader-text-400.woff2") format("woff2"); }
@font-face { font-family: "Newsreader Text"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/newsreader-text-600.woff2") format("woff2"); }
@font-face { font-family: "Newsreader Text"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/newsreader-text-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Newsreader Display"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/newsreader-display-600.woff2") format("woff2"); }
@font-face { font-family: "Newsreader Display"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/newsreader-display-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/archivo-500.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/archivo-700.woff2") format("woff2"); }
@font-face { font-family: "Archivo Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/archivo-condensed-700.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --paper: #FCFBF8;
  --ink: #16140F;
  --text: #2A2620;
  --grey: #6A655B;
  --rule: #D6D0C4;
  --red: #B3301B;
  --tint: #F3F0E9;

  --serif: "Newsreader Text", Georgia, "Times New Roman", serif;
  --display: "Newsreader Display", "Newsreader Text", Georgia, serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --cond: "Archivo Condensed", "Arial Narrow", "Archivo", sans-serif;

  --gap: 28px;
  --pad: clamp(16px, 3vw, 32px);
}
/* dark: follows the device unless the reader picked a mode (data-mode on <html>) */
@media (prefers-color-scheme: dark) {
  :root:not([data-mode]) {
    --paper: #141311;
    --ink: #F0ECE4;
    --text: #DAD5CA;
    --grey: #A39D91;
    --rule: #3A372F;
    --red: #FF8166;
    --tint: #1D1B18;

    color-scheme: dark;
  }
}
:root[data-mode="dark"] {
  --paper: #141311;
  --ink: #F0ECE4;
  --text: #DAD5CA;
  --grey: #A39D91;
  --rule: #3A372F;
  --red: #FF8166;
  --tint: #1D1B18;

  color-scheme: dark;
}

/* ------------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.125rem/1.55 var(--serif); font-kerning: normal; font-variant-ligatures: common-ligatures; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-weight: inherit; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
strong { font-weight: 600; color: var(--ink); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -50px; z-index: 50; padding: 8px 12px; background: var(--ink); color: var(--paper); font: 700 14px var(--sans); text-decoration: none; }
.skip:focus { top: 8px; }
.frame { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--pad); }

/* small type styles used everywhere */
.label, .kicker, .rail-h, .cal-flag, .mi-dir, .so-role, .year-h, .ear-h {
  font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; line-height: 1.2;
}
.label, .kicker, .cal-flag, .mi-dir, .ear-h { color: var(--red); }
.caption { font: 500 .8125rem/1.45 var(--sans); color: var(--grey); margin-top: 8px; }
.caption b { font-weight: 700; color: var(--ink); }
.more { font: 700 .875rem/1.3 var(--sans); color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.more::after { content: " →"; }
.more:hover { text-decoration-color: currentColor; }

/* --------------------------------------------------------------- toolbar */

.toolbar { border-bottom: 1px solid var(--rule); font: 500 .8125rem/1 var(--sans); color: var(--grey); }
.toolbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.toolbar a { color: var(--ink); text-decoration: none; padding: 8px 0; }
.toolbar a:hover { text-decoration: underline; }
.toolbar-right { display: flex; align-items: center; gap: 22px; }
.mode { font: inherit; color: var(--ink); background: none; border: 0; padding: 8px 0; cursor: pointer; }
.mode::before { content: ""; display: inline-block; width: .7em; height: .7em; margin-right: .45em; border: 1px solid currentColor; border-radius: 50%; background: linear-gradient(90deg, currentColor 50%, transparent 50%); vertical-align: -.05em; }
.mode:hover { text-decoration: underline; }
@media (max-width: 520px) { .toolbar-site { display: none; } }

/* -------------------------------------------------------------- masthead */

.nameplate { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: clamp(18px, 3vw, 30px) 0 clamp(12px, 2vw, 18px); }
.ear { font: 500 .75rem/1.45 var(--sans); color: var(--grey); width: 170px; }
.ear-left { display: flex; align-items: center; gap: 12px; }
.ear-left img { width: 30px; height: auto; flex: none; }
.ear-right { justify-self: end; border-left: 1px solid var(--rule); padding-left: 14px; }
.ear-h { font-size: .75rem; margin-bottom: 4px; }
.ear ul { list-style: none; }
.ear-right a { color: var(--ink); text-decoration: none; }
.ear-right a:hover { text-decoration: underline; }
.np { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); min-width: 0; }
.np-school { font: 700 clamp(.6875rem, .6rem + .3vw, .875rem)/1 var(--cond); text-transform: uppercase; letter-spacing: .14em; margin-bottom: clamp(6px, 1vw, 10px); text-align: center; }
.np-title { font: 600 clamp(3.5rem, 6.3vw, 5.25rem)/.95 var(--display); letter-spacing: -0.02em; white-space: nowrap; }

/* thick-and-thin rule, then a dateline */
.folio { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; margin-top: 6px; padding: 7px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font: 500 .8125rem/1.3 var(--sans); color: var(--ink); }
.folio::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 3px; background: var(--ink); }
.folio-motto { color: var(--grey); letter-spacing: .02em; }
.folio-actions { display: flex; gap: 4px; }
.folio button { font: inherit; color: inherit; background: none; border: 0; padding: 4px 6px; margin: -4px -6px -4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.folio button:hover { text-decoration-thickness: 2px; }
.page-archive .folio > :last-child { text-align: right; }

@media (max-width: 1099px) {
  .nameplate { grid-template-columns: 1fr; }
  .ear { display: none; }
  .np-title { font-size: min(10.4vw, 5.25rem); }
}
@media (max-width: 700px) {
  .folio-motto { display: none; }
  .page-archive .folio > :first-child { display: none; }
}

/* -------------------------------------------------------------- the front */

.front { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-areas: "lead notice" "lead calendar" "lead standings"; grid-template-rows: auto auto 1fr; padding-top: var(--gap); }
.lead-story { grid-area: lead; padding-right: var(--gap); min-width: 0; }
.notice-box { grid-area: notice; }
.calendar { grid-area: calendar; }
.standings { grid-area: standings; }
.notice-box, .rail-block { margin-left: var(--gap); }
.front::after { content: ""; grid-column: 2; grid-row: 1 / -1; border-left: 1px solid var(--rule); pointer-events: none; }

.notice-box { border: 2px solid var(--ink); padding: 14px 16px 16px; margin-bottom: 26px; }
.notice-box .label { font-size: .875rem; }
.box-title { font: 600 1.625rem/1.1 var(--display); color: var(--ink); margin-top: 4px; letter-spacing: -0.01em; }
.box-text { font-style: italic; margin-top: 4px; }

.rail-block + .rail-block { margin-top: 30px; }
.rail-h { font-size: .9375rem; color: var(--ink); border-top: 3px solid var(--ink); padding-top: 7px; margin-bottom: 4px; }

.cal { width: 100%; border-collapse: collapse; }
.cal caption { text-align: left; font: italic 400 .9375rem/1.3 var(--serif); color: var(--grey); padding: 2px 0 6px; }
.cal th, .cal td { vertical-align: top; border-top: 1px solid var(--rule); padding: 9px 0; text-align: left; }
.cal th { width: 4.5rem; padding-right: 12px; white-space: nowrap; font-weight: 400; }
.cal-wk { display: block; font: 500 .6875rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: .04em; color: var(--grey); }
.cal-day { display: block; font: 600 1.375rem/1.05 var(--display); color: var(--ink); font-variant-numeric: lining-nums; }
.k-closed .cal-day { color: var(--red); }
.cal td { font-size: 1rem; line-height: 1.35; }
.cal-flag { display: block; font-size: .75rem; margin-bottom: 1px; }
.k-change .cal-flag { color: var(--grey); }
.cal-title { font-weight: 600; color: var(--ink); }
.cal-note { display: block; color: var(--grey); font-size: .9375rem; }
.calendar .more { display: inline-block; margin-top: 12px; }

.std { width: 100%; border-collapse: collapse; font: 500 .9375rem/1.3 var(--sans); color: var(--ink); }
.std th { font: 500 .6875rem/1 var(--sans); text-transform: uppercase; letter-spacing: .04em; color: var(--grey); text-align: left; padding: 10px 0 7px; border-bottom: 1px solid var(--ink); }
.std td { padding: 9px 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.std .num { text-align: right; font-variant-numeric: tabular-nums lining-nums; padding-left: 12px; }
.std .pts { font: 600 1.375rem/1 var(--display); }
.std .first td:first-child { font-weight: 700; }
.sw { display: inline-block; width: 10px; height: 10px; margin-right: 9px; }

/* lead story */
.fig a { display: block; }
.fig img { width: 100%; }
.lead-story .fig { margin-bottom: 18px; }
.kicker { font-size: .875rem; margin-bottom: 6px; }
.hed { font-family: var(--display); font-weight: 600; color: var(--ink); line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }
.hed-lead { font-size: clamp(2.125rem, 1.35rem + 2.6vw, 3.5rem); margin-bottom: 18px; }
.body p { margin-bottom: .85em; text-wrap: pretty; hyphens: auto; -webkit-hyphens: auto; }
.body p:last-child { margin-bottom: 0; }
.body em { font-style: italic; }
.body-cols { columns: 2; column-gap: var(--gap); column-rule: 1px solid var(--rule); }
.dropcap > p:first-child::first-letter { float: left; font: 600 4.1em/.8 var(--display); color: var(--ink); margin: .06em .08em 0 0; }
@supports (initial-letter: 3) or (-webkit-initial-letter: 3) {
  .dropcap > p:first-child::first-letter { float: none; font-size: 1em; line-height: inherit; margin: 0 .1em 0 0; -webkit-initial-letter: 3; initial-letter: 3; }
}
.lead-story .gallery { margin-top: 26px; }

/* photo rows: planned at build time so each row fills the width */
.rows { display: flex; flex-direction: column; gap: 6px; }
.g-row { display: flex; gap: 6px; width: 100%; max-width: calc(var(--sum) * 440px); }
.g-item { flex: var(--ar) 1 0; min-width: 0; aspect-ratio: var(--ar); }
.g-item a, .fig a { display: block; height: 100%; background: var(--tint); cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; }
.g-item a:hover img, .fig a:hover img { filter: brightness(.94); }

/* ------------------------------------------------------------- sections */

.section { margin-top: clamp(40px, 6vw, 64px); }
.flag { font: 700 clamp(1.375rem, 1.1rem + 1vw, 1.875rem)/1 var(--cond); text-transform: uppercase; letter-spacing: .01em; color: var(--ink); border-top: 3px solid var(--ink); padding-top: 10px; margin-bottom: 20px; }

.feature-grid { border-top: 3px solid var(--ink); padding-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; }
.feature-text { padding-right: var(--gap); }
.feature .fig { padding-left: var(--gap); border-left: 1px solid var(--rule); }
.feature .hed { font-size: clamp(1.875rem, 1.3rem + 1.9vw, 2.75rem); margin-bottom: 16px; }
.feature .gallery { margin-top: 26px; padding-top: 0; }

.photo-sets { display: grid; grid-template-columns: 1fr 1fr; }
.photo-sets.one { grid-template-columns: 1fr; }
.photo-sets .gallery + .gallery { border-left: 1px solid var(--rule); padding-left: var(--gap); }
.photo-sets .gallery:first-child:not(:last-child) { padding-right: var(--gap); }
.body-narrow { max-width: 42rem; margin-bottom: 20px; }

.notice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.notice-grid > * { padding: 0 var(--gap); border-left: 1px solid var(--rule); }
.notice-grid > :first-child { padding-left: 0; border-left: 0; }
.notice-grid > :last-child { padding-right: 0; }
.notice h3 { font: 600 1.5rem/1.1 var(--display); color: var(--ink); margin-bottom: 8px; letter-spacing: -0.01em; }
.notice p { font-size: 1.0625rem; }
.notice p + p { margin-top: 12px; }
.pull p { font: italic 400 clamp(1.375rem, 1.1rem + .9vw, 1.75rem)/1.25 var(--display); color: var(--ink); text-indent: -.42em; }
.pull p::before { content: "“"; color: var(--red); }
.pull p::after { content: "”"; color: var(--red); }

.closing-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
.letter { padding-right: var(--gap); }
.letter-body { max-width: 40rem; }
.letter-body > p:first-child { font-size: 1.25rem; line-height: 1.55; color: var(--ink); }
.signoff { margin-top: 22px; }
.signoff span { display: block; }
.so-greet { font-style: italic; }
.so-name { font: 600 1.5rem/1.2 var(--display); color: var(--ink); margin-top: 4px; }
.so-role { font-size: .8125rem; color: var(--red); margin-top: 2px; }
.contact-line { margin-top: 22px; font: 500 .875rem/1.5 var(--sans); color: var(--grey); }
.contact-line a { color: var(--ink); }
.more-issues { padding-left: var(--gap); border-left: 1px solid var(--rule); }
.more-issues ul { list-style: none; }
.more-issues a { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.more-issues li:first-child a { padding-top: 0; }
.mi-dir { display: block; font-size: .75rem; }
.mi-date { display: block; font: 500 .8125rem/1.4 var(--sans); color: var(--grey); }
.mi-title { display: block; font: 600 1.1875rem/1.2 var(--display); margin-top: 2px; }
.more-issues a:hover .mi-title { text-decoration: underline; }

/* -------------------------------------------------------------- colophon */

.colophon { position: relative; margin-top: clamp(48px, 7vw, 80px); padding-top: 22px; padding-bottom: 40px; text-align: center; font: 500 .8125rem/1.6 var(--sans); color: var(--grey); }
.colophon::before, .colophon::after { content: ""; position: absolute; left: var(--pad); right: var(--pad); top: -5px; height: 3px; background: var(--ink); }
.colophon::after { top: 0; height: 1px; }
.colophon img { width: 22px; margin: 0 auto 10px; }
.colophon-school { font: 600 1.125rem/1.3 var(--display); color: var(--ink); }
.colophon-motto { text-transform: uppercase; letter-spacing: .08em; font-size: .6875rem; margin-bottom: 6px; }
.colophon-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-top: 6px; }
.colophon-links a { color: var(--ink); }

/* -------------------------------------------------------------- archive */

.latest { padding-top: var(--gap); }
.latest-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); text-decoration: none; color: inherit; }
.latest-fig { padding-right: var(--gap); border-right: 1px solid var(--rule); }
.latest-fig img { width: 100%; }
.latest-text { padding-left: var(--gap); }
.latest-date { font: 500 .875rem/1.4 var(--sans); color: var(--grey); margin-top: 8px; }
.latest .hed { font-size: clamp(2rem, 1.3rem + 2.3vw, 3.125rem); margin-top: 6px; }
.deck { font: italic 400 1.25rem/1.4 var(--display); color: var(--text); margin-top: 12px; }
.latest-list { list-style: none; margin: 18px 0; border-top: 1px solid var(--ink); }
.latest-list li { padding: 8px 0; border-bottom: 1px solid var(--rule); font-weight: 600; font-size: 1rem; color: var(--ink); }
.latest-grid:hover .hed { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

.index-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; border-top: 3px solid var(--ink); padding-top: 10px; margin-bottom: 8px; }
.index-head .flag { border: 0; padding: 0; margin: 0; }
.search input { font: 500 .9375rem/1.2 var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); padding: 6px 0; width: min(260px, 50vw); }
.search input:focus { outline: none; border-bottom-width: 2px; }
.year + .year { margin-top: 32px; }
.year-h { font-size: .875rem; color: var(--grey); padding: 10px 0; }
.idx { list-style: none; }
.idx-row { display: grid; grid-template-columns: 7rem minmax(0, 1fr) 160px; gap: var(--gap); align-items: start; padding: 18px 0; border-top: 1px solid var(--rule); text-decoration: none; color: inherit; }
.idx li:last-child .idx-row { border-bottom: 1px solid var(--rule); }
.idx-date { display: flex; align-items: flex-start; gap: 8px; }
.idx-day { font: 600 3rem/.85 var(--display); color: var(--ink); font-variant-numeric: lining-nums; }
.idx-mon { font: 700 .75rem/1.3 var(--sans); text-transform: uppercase; letter-spacing: .04em; color: var(--grey); padding-top: 2px; }
.idx-hed { display: block; font: 600 1.625rem/1.12 var(--display); color: var(--ink); letter-spacing: -0.01em; }
.idx-stories { display: block; margin-top: 6px; font-size: 1rem; }
.idx-meta { display: block; margin-top: 8px; font: 500 .8125rem/1.4 var(--sans); color: var(--grey); }
.idx-thumb img { width: 160px; aspect-ratio: 3 / 2; object-fit: cover; }
.idx-row:hover .idx-hed { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.empty { padding: 32px 0; color: var(--grey); font-style: italic; }

/* -------------------------------------------------------------- lightbox */

.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0E0D0B; color: #EEE; overflow: hidden; }
.lightbox::backdrop { background: #0E0D0B; }
.lightbox[open] { display: grid; place-items: center; }
.lb-figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; align-items: center; gap: 12px; width: 100%; height: 100%; padding: 60px 84px 20px; }
.lb-figure img { max-width: 100%; max-height: calc(100vh - 136px); max-height: calc(100dvh - 136px); width: auto; height: auto; object-fit: contain; touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; }
.lb-figure figcaption { max-width: 820px; text-align: center; font: italic 400 1rem/1.45 var(--serif); color: #DDD; min-height: 1.45em; }
.lb-count { font: 500 .75rem/1 var(--sans); font-style: normal; color: #999; margin-left: 10px; white-space: nowrap; }
.lb-btn { position: absolute; min-width: 48px; height: 48px; padding: 0 14px; border: 1px solid rgb(255 255 255 / .28); background: transparent; color: #FFF; font: 700 .875rem/1 var(--sans); cursor: pointer; }
.lb-btn:hover { background: rgb(255 255 255 / .1); }
.lb-btn[hidden] { display: none; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); font-size: 1.25rem; }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); font-size: 1.25rem; }
html:has(.lightbox[open]) { overflow: hidden; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1023px) {
  .front { grid-template-columns: 1fr 1fr; grid-template-areas: "notice notice" "lead lead" "calendar standings"; grid-template-rows: auto; column-gap: var(--gap); }
  .front::after { display: none; }
  .lead-story { padding-right: 0; }
  .notice-box, .rail-block { margin-left: 0; }
  .rail-block { margin-top: 36px; }
  .rail-block + .rail-block { margin-top: 36px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-text { padding-right: 0; margin-bottom: 20px; }
  .feature .fig { padding-left: 0; border-left: 0; }
  .notice-grid { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .notice-grid > .pull { grid-column: 1 / -1; border-left: 0; padding: 20px 0 0; border-top: 1px solid var(--rule); }
  .notice-grid > :nth-child(2) { padding-right: 0; }
  .closing-grid { grid-template-columns: 1fr; }
  .letter { padding-right: 0; }
  .more-issues { padding-left: 0; border-left: 0; margin-top: 40px; }
  .latest-grid { grid-template-columns: 1fr; }
  .latest-fig { padding-right: 0; border-right: 0; }
  .latest-text { padding-left: 0; margin-top: 18px; }
}

@media (max-width: 700px) {
  body { font-size: 1.0625rem; }
  .front { grid-template-columns: 1fr; grid-template-areas: "notice" "lead" "calendar" "standings"; padding-top: 18px; }
  .notice-box { margin-bottom: 22px; }
  .body-cols { columns: 1; }
  .photo-sets { grid-template-columns: 1fr; }
  .photo-sets .gallery:first-child:not(:last-child) { padding-right: 0; }
  .photo-sets .gallery + .gallery { border-left: 0; padding-left: 0; margin-top: 22px; }
  .notice-grid { grid-template-columns: 1fr; }
  .notice-grid > * { padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .notice-grid > :first-child { padding-top: 0; border-top: 0; }
  .notice-grid > :nth-child(2) { padding-right: 0; }
  .idx-row { grid-template-columns: 3.25rem minmax(0, 1fr) 88px; gap: 14px; }
  .idx-date { flex-direction: column; gap: 4px; }
  .idx-day { font-size: 2.25rem; }
  .idx-hed { font-size: 1.25rem; }
  .idx-stories { display: none; }
  .idx-thumb img { width: 88px; }
  .lb-figure { padding: 58px 6px 70px; }
  .lb-figure img { max-height: calc(100dvh - 150px); }
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
}

/* phones: let photos flow two or three to a row instead of fixed rows */
@media (max-width: 559px) {
  .rows { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .g-row { display: contents; }
  .g-item { flex: calc(var(--ar) * 100) 1 calc(var(--ar) * 120px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  :root { --paper: #fff; }
  body { font-size: 10.5pt; }
  .toolbar, .folio-actions, .lightbox, .more-issues, .calendar .more, .skip { display: none !important; }
  .np-title { font-size: 44pt; }
  .front { grid-template-columns: 2fr 1fr; grid-template-areas: "lead notice" "lead calendar" "lead standings"; }
  .g-row { break-inside: avoid; max-width: calc(var(--sum) * 210px); }
  .section, .notice, .notice-box, .rail-block { break-inside: avoid-page; }
  .feature-text, .hed, .flag { break-after: avoid; }
  .colophon { padding-bottom: 0; }
  .sw, .notice-box, .folio::before, .colophon::before { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
