/* All copy is real HTML. Measurements below give the paper five narrow columns. */
:root {
  color-scheme: light;
  --paper: #f5efdf;
  --ink: #29251e;
  --faint-ink: #665c4b;
  --rule: #776e5c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #d4cdbf;
  color: var(--ink);
  font-family: "Baskerville", "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.34;
}
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.reader-nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 0 15px;
  display: flex;
  gap: 25px;
  font-size: 14px;
}
.reader-nav > span { margin-right: auto; font-style: italic; }
.sheet {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 38px;
  padding: 28px 32px 18px;
  background: var(--paper);
  box-shadow: 0 2px 7px #362b1726;
  scroll-margin-top: 18px;
}
h1, h2, h3, p, figure { margin: 0; }
h2, h3 { text-align: center; font-weight: 700; }
h2 { font-size: 26px; line-height: 1.05; letter-spacing: -.5px; }
h3 { font-size: 16px; line-height: 1.13; margin-bottom: 8px; }
p { text-align: justify; hyphens: auto; }
p + p { text-indent: 1em; }
.masthead-top, .issue-line, .running-header, .page-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.masthead-top { border-top: 1px solid var(--ink); padding: 6px 0; font-size: 11px; font-variant: small-caps; letter-spacing: .6px; }
.masthead h1 {
  font-family: "Big Caslon", "Baskerville", "Times New Roman", serif;
  text-align: center;
  font-size: clamp(36px, 5.25vw, 66px);
  font-weight: 900;
  letter-spacing: -2.6px;
  line-height: 1.15;
  padding: 8px 0 3px;
}
.masthead-the { font-size: .53em; font-style: italic; letter-spacing: -1px; }
.motto { text-align: center; font-size: 12px; font-style: italic; margin: 3px 0 12px; }
.issue-line { border-top: 3px double var(--ink); border-bottom: 3px double var(--ink); padding: 7px 0 6px; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; }
.front-top { display: grid; grid-template-columns: 3fr 2fr; gap: 21px; margin-top: 17px; }
.front-top > *, .inside-top > * { min-width: 0; }
.lead-story { padding-right: 21px; border-right: 1px solid var(--rule); }
.section-label { text-align: center; font-variant: small-caps; letter-spacing: 1.25px; font-size: 13px; margin-bottom: 12px; }
.lead-headline { font-size: 51px; line-height: .98; letter-spacing: -1.7px; margin: 12px 0; }
.short-rule { width: 68px; border-top: 1px solid var(--ink); margin: 12px auto; }
.standfirst { text-align: center; font-size: 18px; line-height: 1.45; margin: 10px 0; font-weight: bold; }
.standfirst br + * { font-size: 13px; }
.lead-story .standfirst { font-size: 16px; }
.deck { font-style: italic; text-align: center; font-size: 14px; margin: 8px 0 16px; text-indent: 0; }
figure { margin: 12px 0 15px; break-inside: avoid; }
.image-placeholder {
  width: 100%;
  border: 1px solid #938773;
  outline: 1px solid #938773;
  outline-offset: -5px;
  background: #e9e0cf;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 14px;
  color: #655b4a;
  gap: 8px;
}
.image-placeholder strong { font-size: 18px; letter-spacing: 1px; line-height: 1.2; }
.image-placeholder > span:not(.plate-number):not(.size-note) { font-size: 13px; font-style: italic; }
.image-placeholder small { font-size: 12px; line-height: 1.4; }
.plate-number { font-variant: small-caps; font-size: 12px; letter-spacing: 1px; margin-bottom: 12px; }
.size-note { font-size: 10px; letter-spacing: 1px; font-variant: small-caps; margin-top: 12px; }
.house-slot { aspect-ratio: 3 / 2; }
.bridge-slot { aspect-ratio: 8 / 5; }
.room-slot { aspect-ratio: 2 / 1; }
.portrait-slot { aspect-ratio: 3 / 4; }
figure img { display: block; width: 100%; height: auto; border: 1px solid #938773; }
figcaption { font-size: 11px; text-align: center; font-style: italic; line-height: 1.3; padding-top: 7px; }
.story-columns { columns: 3; column-gap: 19px; column-rule: 1px solid #776e5c66; font-size: 14px; }
.story-columns p { orphans: 3; widows: 3; }
.dateline { font-style: italic; font-size: 12px; text-align: center; margin-bottom: 8px; }
.dateline + p { text-indent: 0; }
.drop-cap::first-letter { float: left; font-size: 47px; line-height: .85; padding: 5px 4px 0 0; }
.continued { text-align: center; font-size: 12px; font-style: italic; margin-top: 10px; text-indent: 0; }
.continued a { text-decoration: none; }
.continued a:hover { text-decoration: underline; }
.subheading { text-align: center; font-style: italic; margin: 7px 0 10px; font-size: 14px; }
.two-columns { columns: 2; column-gap: 20px; column-rule: 1px solid #776e5c66; }
.front-side .two-columns { font-size: 14px; }
.side-notices { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; border-top: 1px solid var(--rule); margin-top: 17px; padding-top: 14px; font-size: 14px; }
.side-notices > :first-child { border-right: 1px solid var(--rule); padding-right: 18px; }
.small-caps { font-variant: small-caps; }
.centred { text-align: center; margin: 6px 0; }
.weather-reading { text-align: center; font-style: italic; font-size: 12px; margin-top: 10px; text-indent: 0; }
.advert { border: 3px double var(--ink); padding: 13px 9px; text-align: center; break-inside: avoid; }
.advert p { text-align: center; text-indent: 0; font-size: 12px; margin-top: 7px; line-height: 1.45; }
.advert .ad-kicker { font-style: italic; font-size: 13px; margin: 0 0 8px; }
.advert h3 { font-size: 27px; letter-spacing: -.7px; line-height: 1.03; }
.advert .price { font-size: 21px; font-weight: bold; line-height: 1.15; margin: 10px 0; }
.tea-ad { margin-top: 18px; }
.tea-ad h3 { font-size: 30px; }
.section-band { display: flex; justify-content: space-between; align-items: baseline; border-top: 3px double var(--ink); border-bottom: 1px solid var(--ink); padding: 7px 0; margin: 20px 0 15px; }
.section-band > :first-child { font-size: 21px; font-weight: bold; font-variant: small-caps; }
.section-band > :last-child { font-size: 12px; font-style: italic; }
.five-columns { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.five-columns > article { border-right: 1px solid var(--rule); padding-right: 17px; }
.six-columns { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.six-columns > article { padding-right: 15px; }
.lower-news { font-size: 13px; }
.lower-news h3 { font-size: 14px; }
.lower-news .compact-ad h3 { font-size: 24px; }
.compact-ad { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.page-footer { border-top: 3px double var(--ink); margin-top: 20px; padding-top: 8px; font-size: 11px; }
.page-footer > :last-child { font-size: 15px; }
.running-header { padding: 3px 0 10px; border-bottom: 3px double var(--ink); font-variant: small-caps; font-size: 14px; }
.running-header > :nth-child(2) { font-size: 23px; font-weight: bold; letter-spacing: 1px; }
.inside-top { display: grid; grid-template-columns: 3fr 2fr; gap: 21px; margin-top: 19px; }
.full-account { border-right: 1px solid var(--rule); padding-right: 21px; scroll-margin-top: 18px; }
.inside-headline { font-size: 39px; letter-spacing: -1px; }
.full-account .two-columns { font-size: 14px; }
.inline-heading { font-size: 13px; margin: 13px 0 7px; break-after: avoid; }
.room-slot { min-height: 220px; }
.account-end { margin-top: 13px; }
.remembrances > h2 { font-size: 26px; }
.remembrances figure { width: 73%; margin: 16px auto; }
.remembrance-intro { text-align: center; font-style: italic; font-size: 13px; max-width: 270px; margin: 0 auto 15px; }
.tribute { border-top: 1px solid var(--rule); padding-top: 13px; margin-top: 13px; }
.tribute h3 { font-size: 17px; font-variant: small-caps; }
.tribute p { font-size: 14px; }
.inside-bottom { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin-top: 21px; padding-top: 17px; border-top: 3px double var(--ink); font-size: 13px; }
.inside-bottom-column:not(:last-child) { padding-right: 17px; border-right: 1px solid var(--rule); }
.inside-bottom-column > article + article { border-top: 1px solid var(--rule); padding-top: 13px; margin-top: 15px; }
.inside-bottom h3 { font-size: 14px; }
.inside-bottom .advert { padding: 12px 7px; }
.inside-bottom .advert h3 { font-size: 18px; }
.inside-bottom .tailor-ad h3 { font-size: 26px; }
.concert-ad, .soap-ad { margin-top: 16px; }
.inside-bottom .soap-ad .price { font-size: 16px; }
.classifieds p { padding-bottom: 9px; margin-bottom: 8px; border-bottom: 1px solid #776e5c55; text-indent: 0; font-size: 12px; }
.classifieds .classified-rate { text-align: center; font-size: 11px; font-style: italic; }
.classifieds .notice-to-correspondents { font-style: italic; border-bottom: 0; }
.edition-note { max-width: 840px; padding: 0 24px 30px; margin: 0 auto; text-align: center; color: #51483b; font-size: 13px; line-height: 1.5; }

/* Reading order stays natural when the broad sheet becomes a narrow screen. */
@media screen and (max-width: 1000px) {
  .reader-nav { padding-inline: 24px; }
  .sheet { padding: 22px; }
  .masthead-top { font-size: 10px; }
  .lead-headline { font-size: 40px; }
  .story-columns { columns: 2; }
  .front-side .two-columns { columns: 1; }
  .side-notices { grid-template-columns: 1fr; }
  .side-notices > :first-child { border-right: 0; padding-right: 0; }
  .side-notices > :last-child { border-top: 1px solid var(--rule); padding-top: 12px; }
  .inside-headline { font-size: 31px; }
  .running-header > :nth-child(2) { font-size: 18px; }
  .five-columns, .six-columns, .inside-bottom { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
  .remembrances figure { width: 90%; }
}
@media screen and (max-width: 680px) {
  body { font-size: 17px; }
  .reader-nav { font-size: 13px; gap: 20px; padding: 16px; }
  .reader-nav > span { display: none; }
  .sheet { width: calc(100% - 20px); padding: 18px 16px 14px; margin-bottom: 20px; }
  .masthead h1 { font-size: clamp(32px, 7vw, 46px); letter-spacing: -1.5px; }
  .masthead-the { display: block; font-size: .45em; }
  .masthead-top { gap: 5px; font-size: 10px; }
  .masthead-top > :nth-child(2) { display: none; }
  .issue-line { flex-wrap: wrap; font-size: 10px; letter-spacing: .4px; gap: 5px; }
  .issue-line > :nth-child(2) { order: -1; width: 100%; text-align: center; font-size: 12px; padding-bottom: 3px; }
  .front-top, .inside-top, .curiosities { grid-template-columns: 1fr; }
  .curiosities > :first-child { padding-right: 0; border-right: 0; }
  .lead-story, .full-account { border-right: 0; padding-right: 0; }
  .lead-headline { font-size: clamp(32px, 8.2vw, 48px); letter-spacing: -1px; }
  .story-columns, .two-columns, .full-account .two-columns { columns: 1; font-size: 17px; }
  .front-side { border-top: 3px double var(--ink); padding-top: 17px; }
  .front-side .two-columns, .side-notices, .tribute p { font-size: 16px; }
  .house-slot, .bridge-slot, .room-slot { min-height: 220px; }
  .five-columns, .six-columns, .inside-bottom { grid-template-columns: 1fr 1fr; }
  .lower-news, .inside-bottom { font-size: 15px; }
  .five-columns > article, .inside-bottom-column:not(:last-child) { padding-right: 0; border-right: 0; }
  .five-columns > :last-child, .inside-bottom-column:last-child { grid-column: 1 / -1; }
  .lower-news h3, .inside-bottom h3 { font-size: 15px; }
  .section-band { display: block; }
  .section-band > :last-child { display: block; padding-top: 3px; }
  .running-header { flex-wrap: wrap; font-size: 11px; gap: 4px; }
  .running-header > :nth-child(2) { font-size: 17px; }
  .running-header > :last-child { width: 100%; text-align: right; }
  .inside-headline { font-size: 30px; }
  .remembrances { border-top: 3px double var(--ink); padding-top: 16px; }
  .remembrances figure { max-width: 280px; }
  .classifieds p { font-size: 15px; }
  .page-footer { font-size: 10px; align-items: flex-end; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* A3 preserves legible column text. Each section is a separate printed page. */
@page { size: A3 portrait; margin: 10mm; }
@media print {
  html, body { margin: 0; background: white; }
  body { zoom: .85; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .reader-nav, .edition-note { display: none; }
  .sheet { width: 100%; margin: 0; padding: 0; box-shadow: none; background: white; break-after: page; }
  .sheet:last-child { break-after: auto; }
  a { text-decoration: none; }
  .masthead h1 { font-size: 59px; }
  .lead-headline { font-size: 45px; }
  .inside-headline { font-size: 35px; }
  .image-placeholder { background: #f2efe9; }
  .page-footer { break-inside: avoid; }
  .sheet.turning, .sheet.under { position: static; transform: none; translate: none; box-shadow: none; }
  .sheet.turning::before, .sheet.turning::after, .sheet.under::after { content: none; }
}

/* The reader shows one sheet at a time; the print edition always shows all sheets. */
.reader-nav .reader-hint { margin: 0; font-style: normal; font-variant: small-caps; }
.reader-enabled .fallback-links { display: none; }
.reader-enabled { padding-bottom: 75px; }
.sheet:focus { outline: none; }
.sheet:focus-visible { outline: 1px solid var(--rule); outline-offset: 4px; }
.reader-controls {
  position: fixed;
  z-index: 5;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 5vw, 70px);
  padding: 13px 16px max(13px, env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 3px double var(--ink);
  box-shadow: 0 -4px 18px #29251e15;
}
.reader-controls[hidden] { display: none; }
.reader-controls button {
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  padding: 9px 16px;
  cursor: pointer;
}
.reader-controls button:disabled { opacity: .4; cursor: default; }
.reader-controls button:not(:disabled):hover { background: #e5dac5; }
.reader-controls button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.page-status { font-size: 14px; font-variant: small-caps; white-space: nowrap; }
.sound-toggle { font-size: 12px !important; padding: 6px 10px !important; font-variant: small-caps; letter-spacing: .5px; }
.sound-toggle[aria-pressed="false"] { opacity: .6; }

/* The page turn: the moving sheet folds about the left-hand spine on top of the sheet beneath.
   --shade drives a gradient that darkens the sheet toward the spine and a highlight along the
   curl, and a cast shadow on the sheet beneath; both are animated from reader.js. */
@property --shade { syntax: '<number>'; inherits: false; initial-value: 0; }
.reader-stage { position: relative; perspective: 2600px; perspective-origin: 50% 35%; }
.sheet.under { position: relative; }
.sheet.turning {
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0;
  z-index: 3;
  transform-origin: left center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
  box-shadow: 0 2px 7px #362b1726, -18px 14px 46px #29251e59;
}
.sheet.turning::before, .sheet.turning::after, .sheet.under::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--shade);
}
.sheet.turning::after { background: linear-gradient(to right, #29251e7a 0%, #29251e30 30%, transparent 62%); }
.sheet.turning::before { background: linear-gradient(to right, transparent 50%, #fffdf566 70%, transparent 86%); mix-blend-mode: screen; }
.sheet.under::after { background: linear-gradient(to right, #29251e8c 0%, #29251e3d 26%, transparent 58%); }
.front-feature { border-right: 1px solid var(--rule); padding-right: 21px; }
.front-feature .lead-story { padding: 0; border: 0; }
.front-feature .lead-headline { font-size: 39px; }
.front-lead-body { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.front-lead-body > * { min-width: 0; }
.front-lead-body figure { margin-top: 0; }
.front-summary { font-size: 14px; }
.front-summary .drop-cap { text-indent: 0; }
.front-lead-body .house-slot { min-height: 0; padding-block: 12px; gap: 5px; }
.front-lead-body .plate-number { margin-bottom: 6px; }
.front-lead-body .size-note { margin-top: 6px; }
.front-lead-body .image-placeholder { padding-inline: 8px; }
.front-lead-body .image-placeholder strong { font-size: 16px; }
.front-lead-body .image-placeholder small { font-size: 11px; }
.front-misc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 3px double var(--ink); padding-top: 17px; margin-top: 20px; font-size: 14px; }
.front-misc > * { min-width: 0; }
.front-misc > :first-child { padding-right: 19px; border-right: 1px solid var(--rule); }
.front-misc h2 { font-size: 25px; }
.front-misc .section-label { font-size: 11px; letter-spacing: .7px; }
.pleasure-ad { margin-top: 22px; }
.pleasure-ad h3 { font-size: 28px; }
.issue-guide { text-align: center; border-top: 1px solid var(--rule); margin-top: 19px; padding-top: 12px; font-size: 13px; font-style: italic; }
.middle-banner { margin-top: 16px; }
.curiosities { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; margin-top: 18px; font-size: 14px; }
.curiosities > * { min-width: 0; }
.curiosities > :first-child { padding-right: 21px; border-right: 1px solid var(--rule); }
.curiosities h3 { font-size: 20px; }
.curiosities figure { margin: 10px 0 12px; }
.middle-top { display: grid; grid-template-columns: 3fr 2fr; gap: 21px; margin-top: 21px; }
.middle-top > * { min-width: 0; }
.politics-column { padding-right: 21px; border-right: 1px solid var(--rule); }
.politics-column .two-columns, .sport-column { font-size: 14px; }
.school-slot { aspect-ratio: 2 / 1; }
.politics-column figure { margin-top: 20px; }
.parliament-notes { border-top: 1px solid var(--rule); }
.score-table { width: 100%; border-collapse: collapse; margin: 19px 0; font-size: 15px; }
.score-table caption { font-variant: small-caps; font-weight: bold; margin-bottom: 8px; }
.score-table th, .score-table td { padding: 6px 10px; border-bottom: 1px solid var(--rule); text-align: left; }
.score-table td:last-child, .score-table th:last-child { text-align: right; }
.score-table thead { border-top: 3px double var(--ink); }
.score-table tfoot td:last-child { text-align: center; font-style: italic; font-size: 13px; border-bottom: 3px double var(--ink); }
.sport-notice { padding-top: 15px; border-top: 1px solid var(--rule); margin-top: 16px; }
.cycle-ad { margin-top: 19px; }
.cycle-ad h3 { font-size: 27px; }
.riddle-answer { font-size: 12px; margin-top: 16px; text-align: center; }
.riddle-answer summary { cursor: pointer; font-style: italic; }
.riddle-answer p { text-align: center; margin-top: 5px; }

@media screen and (max-width: 1000px) and (min-width: 681px) {
  .front-lead-body { grid-template-columns: 1fr; }
  .front-lead-body .house-slot { min-height: 0; }
  .front-summary { columns: 2; column-gap: 18px; }
  .front-misc { grid-template-columns: 1fr; }
  .front-misc > :first-child { border-right: 0; padding-right: 0; }
  .sport-column .two-columns { columns: 1; }
}
@media screen and (max-width: 680px) {
  .reader-nav .reader-hint { display: block; font-size: 12px; }
  .front-feature, .politics-column { border-right: 0; padding-right: 0; }
  .front-feature .lead-headline { font-size: clamp(30px, 8vw, 39px); }
  .front-lead-body, .middle-top { grid-template-columns: 1fr; }
  .front-lead-body .house-slot { min-height: 0; }
  .front-summary, .front-misc, .politics-column .two-columns, .sport-column, .sport-column .two-columns { font-size: 16px; }
  .front-misc { gap: 14px; }
  .front-misc > :first-child { padding-right: 13px; }
  .front-misc h2 { font-size: 20px; }
  .pleasure-ad h3 { font-size: 24px; }
  .middle-banner > :first-child { font-size: 22px; }
  .sport-column { border-top: 3px double var(--ink); margin-top: 5px; padding-top: 18px; }
  .reader-controls { gap: 10px; padding-inline: 8px; }
  .reader-controls button { padding: 10px 8px; font-size: 13px; }
  .page-status { font-size: 12px; }
  .school-slot { min-height: 230px; }
}
@media print {
  .reader-controls, .reader-nav { display: none !important; }
  .reader-enabled { padding-bottom: 0; }
  .sheet[hidden] { display: block !important; }
  .sheet { transform: none !important; opacity: 1 !important; }
  .front-feature .lead-headline { font-size: 37px; }
  .riddle-answer:not([open]) { display: none; }
}
