/* Borealis Bulletin — design system (borealis template). Toronto
   Telegraph's layout in the owner's brand package (28 Nov 2026), which
   shipped this sheet: its colours (Polar Midnight, Boreal Pine, Aurora
   Emerald, Glacier Ice, Frost Mist, Lichen Copper), the Polar Compass &
   Aurora Roundel, Archivo and Archivo Narrow headlines over Source
   Serif 4 body copy, and IBM Plex Mono for datelines, chips and the
   weather. The brand build kept it, with three changes: the class
   prefix is the foundation's bo- (bb- already names three other
   papers' sheets), every colour is declared once below, and the
   chrome gained the network's breaking strip.

   Every family named here is declared in this file (lesson 9) as well
   as in fonts.css. Nothing loads from a font CDN. Aurora Emerald never
   sets small text on white (3.35:1); Boreal Pine and Polar Midnight set
   all text on light grounds. */
@import url('/assets/css/fonts.css');

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62.5% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo Narrow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/archivo-narrow-700-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('/assets/fonts/source-serif-4-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url('/assets/fonts/source-serif-4-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/plex-mono-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/plex-mono-500-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/plex-mono-600-latin.woff2') format('woff2');
}

.t-borealis {
  /* The package's colours, by its names. */
  --bo-midnight:  #0B1E2D;  /* Polar Midnight: the wordmark's first line, the dark grounds (utility strip, hero, subscribe box, footer), Subscribe */
  --bo-pine:      #0F5243;  /* Boreal Pine: links, the wordmark's second line, Territories, Land & Climate and Communities chips (9.1:1 on white) */
  --bo-aurora:    #2E9E76;  /* Aurora Emerald: rules, the current section, the no-art card bar, buttons. Never small text on white */
  --bo-aurora-hi: #38B889;  /* Aurora Luminous: the reversed wordmark, buttons on Polar Midnight */
  --bo-glacier:   #4C9DB8;  /* Glacier Ice: the weather box's rule, the masthead horizon */
  --bo-mist:      #EEF4F5;  /* Frost Mist: the corridor bar, the weather box, quotes, the empty state */
  --bo-copper:    #9E4A1E;  /* Lichen Copper: Opinion chips and the breaking strip (white on it, 6.1:1) */
  --bo-ink:       #121C24;  /* body type */
  --bo-muted:     #4C5E6B;  /* Permafrost Slate: bylines, datelines, captions (6.7:1 on white) */
  --bo-line:      #B7C6CE;  /* Drift Silver: card borders and rules, never text */
  --bo-hair:      #D7E1E6;  /* hairlines between rows, never text */
  --bo-paper:     #FFFFFF;  /* the page; type on the dark grounds */
  /* The tints the package's sheet set inline, named once here. */
  --bo-frost:     #A9C3CF;  /* quiet type on Polar Midnight: the utility strip, the footer's tagline */
  --bo-glow:      #8EE0CD;  /* aurora light on Polar Midnight: the latitude tag, footer heads, hovers */
  --bo-kick:      #7EE0BE;  /* the hero's desk kicker */
  --bo-on-dark:   #D7E5EC;  /* the hero's standfirst */
  --bo-sub-text:  #CFE0E8;  /* the subscribe box's copy */
  --bo-foot-text: #C7D7E0;  /* the footer band's text */
  --bo-foot-link: #D2E0E8;  /* the footer's links */
  --bo-sep:       #3D6B82;  /* the utility strip's separators, never text */
  --bo-on-aurora: #061822;  /* type on Aurora buttons */
  --bo-night:     #071521;  /* the no-art hero's gradient, from */
  --bo-lagoon:    #0E3337;  /* the no-art hero's gradient, to */
  --bo-sans:     'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --bo-narrow:   'Archivo Narrow', 'Archivo', 'Arial Narrow', sans-serif;
  --bo-serif:    'Source Serif 4', Georgia, serif;
  --bo-mono:     'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

body.t-borealis {
  margin: 0;
  background: var(--bo-paper);
  color: var(--bo-ink);
  font-family: var(--bo-serif);
  font-size: 17px;
  line-height: 1.65;
}
.t-borealis a { color: var(--bo-pine); text-decoration: none; }
.t-borealis a:hover { color: var(--bo-midnight); }
.t-borealis img { max-width: 100%; height: auto; display: block; }
.bo-wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---- polar utility strip (Telegraph util adapted with latitude telemetry) ---- */
.bo-util {
  background: var(--bo-midnight);
  color: var(--bo-frost);
  font-family: var(--bo-sans);
  font-size: 12.5px;
  letter-spacing: .04em;
  border-bottom: 2px solid var(--bo-aurora);
}
.bo-util .in {
  max-width: 1140px;
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.bo-util .lat {
  font-family: var(--bo-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--bo-glow);
}
.bo-util a { color: var(--bo-paper); }
.bo-util a:hover { color: var(--bo-glow); }
.bo-util .sep { margin: 0 8px; color: var(--bo-sep); }

/* ---- masthead (Telegraph white bar + stacked two-tone wordmark + aurora horizon rule) ---- */
.bo-head {
  background: var(--bo-paper);
  border-bottom: 4px solid var(--bo-midnight);
  position: relative;
}
.bo-head::after {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--bo-pine) 0%, var(--bo-aurora) 42%, var(--bo-glacier) 78%, var(--bo-midnight) 100%);
}
.bo-head .in {
  max-width: 1140px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.bo-lock { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.bo-lock img { width: 54px; height: 54px; flex: 0 0 auto; }
.bo-name { display: flex; flex-direction: column; line-height: .94; }
.bo-name .top {
  font-family: var(--bo-narrow);
  font-weight: 700;
  font-size: 27px;
  letter-spacing: .025em;
  color: var(--bo-midnight);
  text-transform: uppercase;
}
.bo-name .mid {
  font-family: var(--bo-narrow);
  font-weight: 700;
  font-size: 27px;
  letter-spacing: .025em;
  color: var(--bo-pine);
  text-transform: uppercase;
}
.bo-name .sub {
  font-family: var(--bo-mono);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: .16em;
  color: var(--bo-muted);
  text-transform: uppercase;
  margin-top: 5px;
}
.bo-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
  font-family: var(--bo-sans);
  font-weight: 600;
  font-size: 13.5px;
}
.bo-nav a { color: var(--bo-ink); padding: 4px 0; border-bottom: 3px solid transparent; transition: color .15s, border-color .15s; white-space: nowrap; }
.bo-nav a:hover { color: var(--bo-pine); }
.bo-nav a[aria-current="page"] { color: var(--bo-midnight); border-bottom-color: var(--bo-aurora); }
.bo-nav a.bo-sub-btn,
.bo-sub-btn {
  display: inline-block;
  background: var(--bo-midnight);
  color: var(--bo-paper) !important;
  font-family: var(--bo-sans);
  font-weight: 600;
  font-size: 13.5px;
  padding: 8px 16px;
  border-radius: 3px;
  border-bottom: 0;
}
.bo-nav a.bo-sub-btn:hover,
.bo-sub-btn:hover { background: var(--bo-pine); color: var(--bo-paper) !important; }
.bo-btn {
  display: inline-block;
  background: var(--bo-aurora);
  color: var(--bo-on-aurora) !important;
  font-family: var(--bo-sans);
  font-weight: 700;
  font-size: 14.5px;
  padding: 11px 22px;
  border-radius: 3px;
  transition: background .15s, color .15s;
}
.bo-btn:hover { background: var(--bo-glow); color: var(--bo-on-aurora) !important; }

/* ---- northern footprint sub-bar (subtle regional compass strip) ---- */
.bo-corridor {
  background: var(--bo-mist);
  border-bottom: 1px solid var(--bo-hair);
  font-family: var(--bo-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bo-muted);
}
.bo-corridor .in {
  max-width: 1140px;
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.bo-corridor .places { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.bo-corridor .dot { color: var(--bo-aurora); font-weight: 700; }

/* ---- breaking (Lichen Copper, the guide's colour for breaking tags; shown only while pp_breaking_live()) ---- */
.bo-brk { background: var(--bo-copper); color: var(--bo-paper); font-family: var(--bo-sans); }
.bo-brk .in { max-width: 1140px; margin: 0 auto; padding: 9px 20px; display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }
.bo-brk .lbl { font-family: var(--bo-mono); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.bo-brk a { color: var(--bo-paper); font-weight: 600; font-size: 15.5px; }
.bo-brk a:hover { color: var(--bo-paper); text-decoration: underline; text-underline-offset: 3px; }

/* ---- hero (Telegraph dark scrim / watermark hero, Polar Midnight + Aurora palette) ---- */
.bo-hero {
  position: relative;
  background: linear-gradient(135deg, var(--bo-night) 0%, var(--bo-midnight) 52%, var(--bo-lagoon) 100%);
  color: var(--bo-paper);
  overflow: hidden;
}
.bo-hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bo-hero .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--bo-midnight) 96%, transparent) 24%, color-mix(in srgb, var(--bo-midnight) 82%, transparent) 52%, color-mix(in srgb, var(--bo-pine) 22%, transparent) 100%);
}
.bo-hero .pad {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 60px 20px 64px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.bo-hero .pad > * { max-width: 630px; }
.bo-hero .kick {
  font-family: var(--bo-mono);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bo-kick);
}
.bo-hero h1 {
  margin: 0;
  font-family: var(--bo-sans);
  font-weight: 800;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: .005em;
  text-transform: uppercase;
}
.bo-hero h1 a { color: var(--bo-paper); }
.bo-hero h1 a:hover { color: var(--bo-glow); }
.bo-hero .meta {
  font-family: var(--bo-serif);
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--bo-on-dark);
}
.bo-hero .bo-btn { align-self: flex-start; }
.bo-hero--noart .wm {
  position: absolute;
  right: -24px;
  bottom: -64px;
  width: 340px;
  opacity: .16;
  pointer-events: none;
}

/* ---- section titles (Telegraph ruled title + Polaris compass diamond) ---- */
.bo-ttl { display: flex; align-items: center; gap: 12px; margin: 32px 0 18px; }
.bo-ttl .star { color: var(--bo-aurora); font-size: 14px; line-height: 1; }
.bo-ttl h2 {
  margin: 0;
  font-family: var(--bo-sans);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .01em;
  color: var(--bo-midnight);
}
.bo-ttl::after { content: ""; flex: 1; height: 1px; background: var(--bo-line); }

/* ---- two-column home (exact Telegraph 1fr / 320px rail) ---- */
.bo-home { display: grid; grid-template-columns: 1fr 320px; gap: 34px; align-items: start; }

/* ---- featured cards (Telegraph 3-col card grid) ---- */
.bo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bo-card {
  background: var(--bo-paper);
  border: 1px solid var(--bo-line);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .15s;
}
.bo-card:hover { border-color: var(--bo-pine); }
.bo-card .txt { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bo-card h3 { margin: 0; font-family: var(--bo-sans); font-weight: 700; font-size: 18px; line-height: 1.24; }
.bo-card h3 a { color: var(--bo-ink); }
.bo-card h3 a:hover { color: var(--bo-pine); }
.bo-chip {
  align-self: flex-start;
  display: inline-block;
  background: var(--bo-midnight);
  color: var(--bo-paper);
  font-family: var(--bo-mono);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
}
.bo-chip--opinion { background: var(--bo-copper); }
.bo-chip--pine { background: var(--bo-pine); }
.bo-card .meta, .bo-row .meta, .bo-rail .meta {
  font-family: var(--bo-sans);
  font-size: 13px;
  color: var(--bo-muted);
}
.bo-card .meta--date {
  font-family: var(--bo-mono);
  font-size: 11.5px;
  color: var(--bo-muted);
  margin-top: auto;
}
.bo-card.noart .txt { border-top: 4px solid var(--bo-aurora); }

/* ---- story rows ---- */
.bo-row {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--bo-hair);
  align-items: start;
}
.bo-row.noart { grid-template-columns: 1fr; }
.bo-row h3 { margin: 6px 0 6px; font-family: var(--bo-sans); font-weight: 700; font-size: 20px; line-height: 1.22; }
.bo-row h3 a { color: var(--bo-ink); }
.bo-row h3 a:hover { color: var(--bo-pine); }
.bo-row p { margin: 0 0 6px; font-size: 15.5px; color: var(--bo-muted); }
.bo-row img { border-radius: 3px; }

/* ---- rail (Weather, Trending North of 60°, Subscribe Box) ---- */
.bo-rail { display: flex; flex-direction: column; gap: 22px; margin-top: 32px; }
.bo-box {
  border: 1px solid var(--bo-line);
  border-radius: 3px;
  padding: 16px 18px;
  background: var(--bo-paper);
}
.bo-box .hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bo-mist);
}
.bo-box .hd h3 {
  margin: 0;
  font-family: var(--bo-sans);
  font-weight: 800;
  font-size: 17.5px;
  color: var(--bo-midnight);
}
.bo-box .hd .lat {
  font-family: var(--bo-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--bo-pine);
}
.bo-weather { background: var(--bo-mist); border-color: var(--bo-line); border-top: 3px solid var(--bo-glacier); }
.bo-weather .hd { border-bottom-color: var(--bo-hair); }
.bo-weather .now { display: flex; align-items: baseline; gap: 12px; }
.bo-weather .temp { font-family: var(--bo-mono); font-weight: 600; font-size: 36px; color: var(--bo-midnight); letter-spacing: -.02em; }
.bo-weather .cond { font-family: var(--bo-sans); font-size: 14.5px; color: var(--bo-muted); font-weight: 600; }
.bo-weather .src { margin-top: 10px; font-family: var(--bo-sans); font-size: 12px; line-height: 1.45; color: var(--bo-muted); }
.bo-weather .src a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.bo-trend ol { list-style: none; margin: 0; padding: 0; }
.bo-trend li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid var(--bo-hair);
}
.bo-trend li:last-child { border-bottom: 0; }
.bo-trend .n {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 3px;
  background: var(--bo-pine);
  color: var(--bo-paper);
  font-family: var(--bo-mono);
  font-weight: 600;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.bo-trend a { font-family: var(--bo-sans); font-weight: 600; font-size: 14.5px; line-height: 1.35; color: var(--bo-ink); }
.bo-trend a:hover { color: var(--bo-pine); }

.bo-subbox {
  background: var(--bo-midnight);
  border-top: 4px solid var(--bo-aurora);
  border-radius: 3px;
  color: var(--bo-paper);
  padding: 20px 18px;
}
.bo-subbox .kicker {
  font-family: var(--bo-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bo-glow);
  margin-bottom: 6px;
}
.bo-subbox h3 { margin: 0 0 8px; font-family: var(--bo-sans); font-weight: 800; font-size: 19px; color: var(--bo-paper); }
.bo-subbox p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.5; color: var(--bo-sub-text); }
.bo-subbox .bo-btn { background: var(--bo-aurora-hi); color: var(--bo-on-aurora) !important; }
.bo-subbox .bo-btn:hover { background: var(--bo-paper); color: var(--bo-midnight) !important; }

/* ---- article ---- */
.bo-article { max-width: 760px; margin: 30px auto 0; }
.bo-article h1 { margin: 8px 0 12px; font-family: var(--bo-sans); font-weight: 800; font-size: 38px; line-height: 1.08; color: var(--bo-midnight); }
.bo-article .lede { font-size: 20px; line-height: 1.5; color: var(--bo-muted); margin: 0 0 12px; }
.bo-byline {
  font-family: var(--bo-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--bo-muted);
  text-transform: uppercase;
  border-top: 3px solid var(--bo-midnight);
  border-bottom: 1px solid var(--bo-hair);
  padding: 9px 0;
  margin: 0 0 18px;
}
.bo-article .body { font-size: 17.5px; }
.bo-article .body a { color: var(--bo-pine); border-bottom: 1px solid var(--bo-aurora); }
.bo-article .body a:hover { color: var(--bo-midnight); border-bottom-color: var(--bo-midnight); }
.bo-article .body h2 { font-family: var(--bo-sans); font-weight: 800; font-size: 22px; color: var(--bo-midnight); margin: 1.6em 0 .5em; }
.bo-article .body blockquote {
  margin: 26px 0;
  padding: 16px 22px;
  border-left: 4px solid var(--bo-aurora);
  background: var(--bo-mist);
  font-size: 19px;
  color: var(--bo-midnight);
}
.bo-article figure { margin: 18px 0; }
.bo-article figcaption { font-family: var(--bo-sans); font-size: 13px; color: var(--bo-muted); padding-top: 6px; }
.bo-related { max-width: 760px; margin: 30px auto 0; }

/* ---- section front ---- */
.bo-section { padding-bottom: 12px; }
.bo-more { margin: 22px 0; }

/* ---- empty state ---- */
.bo-empty { background: var(--bo-mist); border-left: 4px solid var(--bo-pine); padding: 18px 20px; font-size: 16px; margin: 26px 0; }

/* ---- footer (Polar Midnight band + aurora horizon top bar) ---- */
.bo-foot {
  background: var(--bo-midnight);
  color: var(--bo-foot-text);
  margin-top: 48px;
  border-top: 4px solid var(--bo-aurora);
}
.bo-foot .cols {
  max-width: 1140px;
  margin: 0 auto;
  padding: 36px 20px 22px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 26px;
}
.bo-foot .bo-name .top { color: var(--bo-paper); }
.bo-foot .bo-name .mid { color: var(--bo-aurora-hi); }
.bo-foot .bo-name .sub { color: var(--bo-frost); }
.bo-foot h4 {
  margin: 0 0 10px;
  font-family: var(--bo-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bo-glow);
}
.bo-foot a { display: block; color: var(--bo-foot-link); font-family: var(--bo-sans); font-size: 14.5px; padding: 3px 0; }
/* The lockup is a link too: keep the roundel beside the wordmark, as the
   masthead sets it, against the column links' block display. */
.bo-foot a.bo-lock { display: inline-flex; padding: 0; }
.bo-foot a:hover { color: var(--bo-paper); }
.bo-foot .legal {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 20px 24px;
  border-top: 1px solid color-mix(in srgb, var(--bo-paper) 14%, transparent);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--bo-sans);
  font-size: 13px;
}
.bo-foot .legal .strong { font-family: var(--bo-mono); font-size: 11.5px; letter-spacing: .08em; color: var(--bo-glow); text-transform: uppercase; }

/* ---- responsive ---- */
@media (max-width: 980px) {
  .bo-home { grid-template-columns: 1fr; }
  .bo-grid { grid-template-columns: repeat(2, 1fr); }
  .bo-foot .cols { grid-template-columns: 1fr 1fr; }
  .bo-hero h1 { font-size: 34px; }
}
@media (max-width: 620px) {
  .bo-grid { grid-template-columns: 1fr; }
  .bo-row { grid-template-columns: 1fr; }
  .bo-row img { order: -1; }
  .bo-foot .cols { grid-template-columns: 1fr; }
  .bo-hero h1 { font-size: 28px; }
  .bo-article h1 { font-size: 28px; }
  .bo-name .top, .bo-name .mid { font-size: 26px; }
  .bo-corridor { display: none; }
}
