:root {
  color-scheme: light;
  --ink: #181818;
  --breaking: #ad2424;
  --muted: #595959;
  --line: #d9d9d9;
  --paper: #f2f2f2;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: white; font: 1rem/1.55 var(--sans); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .17em; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #555; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.08; }
img { display: block; width: 100%; height: auto; }
.wrap { width: min(1320px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: 12px; z-index: 9; background: white; padding: 8px; transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { background: #171717; color: white; border-bottom: 1px solid #303030; }
.site-header a:hover { color: inherit; }
.site-header :focus-visible { outline-color: white; }
.brand-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(14px, 2vw, 30px); min-height: 72px; }
.brand { display: inline-block; width: fit-content; }
.brand:hover { text-decoration: none; color: inherit; }
.brand-row > .brand { grid-column: 1; }
.brand-row .masthead { font-size: 2.7rem; padding-top: .2em; }
.brand-row .irish { font-size: .23em; color: inherit; }
.masthead { position: relative; display: inline-block; padding-top: .16em; font: 700 clamp(3.2rem, 6.3vw, 4.8rem)/.86 var(--serif); letter-spacing: -.065em; padding-right: .075em; }
.irish { position: absolute; top: 0; left: .17em; font-size: .19em; letter-spacing: -.025em; color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 12px; justify-self: end; }
.icon-button { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; border: 0; background: none; color: inherit; font-size: .875rem; padding: 5px; }
.icon-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.menu-button { display: none; justify-self: start; }
.button { display: inline-block; width: fit-content; background: var(--ink); color: white; border: 1px solid var(--ink); font-size: .875rem; font-weight: 650; padding: 10px 16px; }
.button:hover { background: #363636; color: white; text-decoration: none; }
#navigation { display: flex; justify-content: flex-start; align-items: center; column-gap: clamp(8px, 1.35vw, 22px); }
#navigation a { padding: 12px 0; font-weight: 600; font-size: .8125rem; }
.header-subscribe { order: -1; background: transparent; border-color: #aaa; color: inherit; padding: 7px 10px; }
#open-search span { display: none; }
.ticker { display: flex; gap: 16px; align-items: center; border-bottom: 1px solid var(--line); padding: 10px 0; }
.ticker-label { padding: 5px 9px; background: var(--breaking); color: white; flex-shrink: 0; font-size: .8rem; font-weight: 700; }
.ticker-label small { font-size: inherit; font-weight: 500; }
.ticker > div { display: flex; justify-content: space-between; flex: 1; min-width: 0; }
.ticker a { padding: 0 13px; border-left: 1px solid var(--line); font-size: .83rem; }
.front-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .32fr); gap: 24px; margin-block: 27px 35px; }
.lead { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(18px, 2.6vw, 36px); align-items: center; }
.eyebrow { color: var(--muted); font-size: .77rem; font-weight: 750; letter-spacing: .075em; text-transform: uppercase; }
.eyebrow span { color: var(--muted); font-weight: 600; white-space: nowrap; }
.lead h1 { margin: .2em 0 .28em; font-size: clamp(2.1rem, 4.3vw, 4.5rem); line-height: .99; letter-spacing: -.053em; }
.dek { font: 1.2rem/1.42 var(--serif); color: #404040; }
.lead .button { margin-top: 20px; }
.concept-note, figcaption, .rail-note { color: var(--muted); font-size: .79rem; }
.concept-note { margin-top: 9px; }
.lead figure { padding: 14px 14px 8px; background: #eeeeee; }
.lead figure a { display: block; }
.hero-cover { max-height: 495px; object-fit: contain; }
figcaption { margin-top: 6px; text-align: center; }
.trending { border-left: 1px solid var(--line); padding-left: 20px; }
.trending h2 { font-size: 1.85rem; letter-spacing: -.04em; }
.trending article { display: grid; grid-template-columns: 76px 1fr; align-items: start; gap: 11px; border-top: 1px solid var(--line); padding: 13px 0; }
.trending .rail-note { margin: 4px 0 10px; }
.trending img { aspect-ratio: 1; object-fit: cover; }
.trending h3 { font-size: 1.04rem; margin-top: 3px; line-height: 1.18; }
.section-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 2px solid var(--ink); padding-top: 11px; margin-bottom: 16px; }
.section-bar > span { color: var(--muted); font-size: .82rem; }
.section-title { font-size: clamp(1.85rem, 3.2vw, 2.7rem); letter-spacing: -.045em; }
.latest-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 19px; }
.card img { aspect-ratio: 1.63; object-fit: cover; margin-bottom: 10px; }
.card h3, .briefs h3, .covers h3 { font-size: 1.45rem; letter-spacing: -.025em; margin: 4px 0 7px; }
.card p:last-child, .briefs p:last-child, .covers p:last-child { color: var(--muted); font-size: .92rem; }
.below { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .32fr); gap: 26px; margin-block: 42px; }
.topic { border-top: 1px solid var(--ink); padding-top: 11px; margin-bottom: 30px; }
.topic:last-child { margin-bottom: 0; }
.topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 16px; }
.briefs { border-left: 1px solid var(--line); padding-left: 20px; }
.briefs article + article { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.popular { align-self: start; border-top: 2px solid var(--ink); background: var(--paper); padding: 14px 18px; }
.popular ol { padding: 0 0 0 1.3rem; margin: 8px 0 0; }
.popular li { border-top: 1px solid var(--line); font: 700 1.12rem/1.2 var(--serif); padding: 12px 0 12px 5px; }
.popular li::marker { color: var(--muted); }
.covers { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.covers article { display: grid; grid-template-columns: minmax(92px, 37%) 1fr; gap: 17px; align-items: center; padding: 15px; background: var(--paper); }
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; align-items: center; margin-block: 36px; padding: 26px; background: var(--paper); border-top: 2px solid var(--ink); }
.newsletter h2 { font-size: 2.2rem; margin: 4px 0 8px; }
label { font-size: .875rem; font-weight: 650; }
.form-row { display: flex; margin-top: 6px; }
input { border: 1px solid #767676; background: white; color: var(--ink); padding: 10px; min-width: 0; border-radius: 0; }
.form-row input { flex: 1; }
#newsletter-status, #search-status { margin-top: 8px; font-size: .82rem; color: var(--muted); }
footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 28px; }
.footer-inner p { color: var(--muted); font-size: .83rem; margin-top: 8px; }
.footer-inner .masthead { font-size: 2.75rem; }
.footer-inner nav { display: grid; grid-template-columns: repeat(2, 1fr); align-content: start; gap: 8px 12px; font-size: .875rem; }
dialog { width: min(640px, calc(100% - 28px)); max-height: 84dvh; padding: 22px; border: 1px solid var(--line); color: var(--ink); }
dialog::backdrop { background: rgb(0 0 0 / .67); }
body:has(dialog[open]) { overflow: hidden; }
.dialog-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.dialog-bar h2 { font-size: 1.9rem; }
.dialog-bar .icon-button { min-width: 42px; justify-content: center; }
#query { display: block; width: 100%; margin-top: 6px; }
#results { list-style: none; padding: 0; }
#results li { border-top: 1px solid var(--line); padding: 9px 0; }
#story-title { font-size: clamp(2rem, 6vw, 3.3rem); letter-spacing: -.04em; }
#story-dialog article p { margin-top: 14px; }
section[id], article[id] { scroll-margin-top: 12px; }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 56px); }
  .trending article { grid-template-columns: 58px 1fr; }
}
@media (max-width: 850px) {
  .wrap { width: calc(100% - 36px); }
  .front-page { grid-template-columns: 1fr; gap: 22px; }
  .trending { border-left: 0; border-top: 1px solid var(--line); padding: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .trending h2, .trending .rail-note { grid-column: 1 / -1; }
  .lead h1 { font-size: clamp(2.2rem, 5.3vw, 4rem); }
  .hero-cover { max-height: 390px; }
  .latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .below { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .brand-row { grid-template-columns: 1fr auto 1fr; min-height: 66px; gap: 8px; }
  .brand-row > .brand { grid-column: 2; grid-row: 1; }
  .header-actions { grid-column: 3; grid-row: 1; }
  .brand-row .masthead { font-size: 2.5rem; }
  .menu-button { display: inline-flex; grid-column: 1; grid-row: 1; }
  .header-subscribe, .menu-button span { display: none; }
  #navigation { display: none; grid-column: 1 / -1; grid-row: 2; border-top: 1px solid #454545; padding-bottom: 8px; }
  #navigation a { font-size: .875rem; }
  #navigation.open { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
}
@media (max-width: 650px) {
  .ticker { gap: 9px; }
  .ticker > div { overflow-x: auto; scrollbar-width: thin; }
  .ticker a { flex: 0 0 190px; }
  .front-page { margin-top: 19px; }
  .lead { grid-template-columns: 1fr; }
  .lead h1 { font-size: clamp(2.2rem, 9.5vw, 3.5rem); }
  .lead figure { padding: 10px 10px 7px; }
  .hero-cover { max-height: 470px; }
  .card h3 { font-size: 1.2rem; }
  .card p:last-child { font-size: .84rem; }
  .covers, .newsletter, .footer-inner { grid-template-columns: 1fr; }
  .newsletter { padding: 18px; gap: 15px; }
}
@media (max-width: 390px) {
  .wrap { width: calc(100% - 28px); }
  .trending, .topic-grid { grid-template-columns: 1fr; }
  .briefs { border-left: 0; border-top: 1px solid var(--line); padding: 12px 0 0; }
}
#navigation .mobile-newsletter { display: none; }
@media (max-width: 980px) {
  #navigation .mobile-newsletter { display: block; }
}
