/* Keep Tiran's printed-paper palette across ordinary device appearances. */
:root {
  color-scheme: light;
  color-scheme: only light;
  --masthead-green: #0b3627;
  --masthead-text: #faf2e5;
  --score-paper: #eaf0e5;
  --score-ink: #103a27;
  --control-edge: #65796b;
  --paper: #f8f7f2;
  --ink: #12231a;
  --green: #0b3627;
  --red: #ce1c28;
  --line: #d4d9ce;
}
.site-header {
  position: relative;
  color: var(--masthead-text);
  background: var(--masthead-green);
  border-bottom: 1px solid #365b49;
}
.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(to left, #103b2b 0 86%, #d21b27 86%);
}
.head-inner { flex-wrap: wrap; min-height: 83px; height: auto; gap: 0 clamp(24px,4.1vw,74px); }
.site-header .brand { gap: 10px; }
.site-header .brand picture { display: block; flex: none; }
.site-header .brand-name { width: 87px; height: 57px; }
.site-header .brand-symbol { height: 46px; }
.main-nav a { font-weight: 625; color: inherit; font-size: 1.06rem; }
.main-nav a.is-active, .main-nav a:hover { color: white; }
.main-nav a::after { background: var(--red); inset-inline: 0; height: 3px; bottom: 0; }
.site-header :is(.search-trigger,.icon-btn,.header-table-link) { color: inherit; }
.search-trigger { border: 1px solid #90ad9c; border-radius: 3px; padding: 0 13px; }
.site-header .tools > :is(a,button):hover { background: #254f3d; }
.site-header :focus-visible { outline: 3px solid #ffe2a6; outline-offset: 2px; }
.saved-tool { border: none; width: 43px; padding: 0; }
.ticker { background: #eeefe7; }
.ticker-items {
  overflow-x: auto;
  scrollbar-width: none;
  scroll-padding-inline: 9px;
}
.ticker-items::-webkit-scrollbar { display: none; }
.ticker-wrap { min-height: 37px; }
.ticker b { font-weight: 550; }
.ticker-items a { font-size: .84rem; padding-block: 4px; }
.card-grid .story-card { position: relative; }
.card-grid .card-photo a { border-radius: 0; }
.card-grid .card-meta { min-height: 38px; margin: 9px 0 0; gap: 8px; }
.card-grid .card-meta .save {
  margin-inline-start: auto;
  border-radius: 3px;
  color: #36503d;
  background: transparent;
  width: 40px;
  height: 40px;
}
.card-grid .card-meta .save:hover { background: #e7ebdf; }
.card-grid .story-card h3 { font-size: clamp(1.17rem,1.55vw,1.58rem); line-height: 1.65; }
.card-grid .story-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.edition-footer {
  background: #0b3023;
  color: #f5f0e6;
}
.edition-footer .foot-inner {
  display: flex; align-items: center;
  min-height: 136px; gap: clamp(24px,4vw,60px);
}
.edition-footer .foot-brand {
  display: flex; flex-direction: column; gap: 3px; align-items: flex-start;
  margin: 0; flex: none;
}
.foot-brand p { color: #dae2d2; font: 400 .86rem/1.7 var(--tiran-interface); }
.edition-footer .foot-nav { display: flex; flex-wrap: wrap; gap: 28px; font: 500 1rem/1.7 var(--tiran-interface); }
.foot-seal { margin-inline-start: auto; width: 42px; height: 44px; object-fit: contain; }
dialog { border-radius: 2px; border: 1px solid #aabaac; border-top: 4px solid var(--green); }
.plain-icon:hover { background: #e8eddf; }
.search-field { border-radius: 2px; }
.results a:focus-visible, .mobile-links a:focus-visible { outline-offset: 0; }
@media (forced-colors: active) {
  :root { color-scheme: light dark; --control-edge: ButtonText; }
  :is(button, input, select, a):focus-visible { outline-color: Highlight; }
  /* The artwork in the two <picture> elements keeps its original colours.
     Protect only its backing while controls follow the user's system palette. */
  .site-header .brand {
    --brand-backing: #0b3627;
    forced-color-adjust: none;
    background: var(--brand-backing);
    box-shadow: 0 0 0 2px var(--brand-backing);
    border-radius: 2px;
  }
  .site-header .brand:focus-visible { outline-color: Highlight; }
  .site-header .main-nav a[aria-current] {
    text-decoration: underline;
    text-underline-offset: .3em;
    text-decoration-thickness: 2px;
  }
}
@media (forced-colors: active) and (prefers-color-scheme: light) {
  .site-header .brand { --brand-backing: #faf9f4; }
}
@media (min-width: 78.01em) {
  .main-nav { flex: 1 1 0%; min-width: 0; justify-content: center; flex-wrap: wrap; row-gap: 0; }
  .main-nav a { min-height: 2.75rem; }
}
@media (max-width: 78em) {
  .head-inner { min-height: 66px; height: auto; }
  .main-nav { display: none; }
  .tools { gap: 4px; max-width: 100%; flex-wrap: wrap; }
  .mobile-menu { display: inline-flex; }
  .site-header .brand-name { width: 73px; height: 46px; }
  .site-header .brand-symbol { height: 35px; }
  .search-trigger,.icon-btn { min-width: 44px; height: 44px; }
  .search-trigger { border: 0; padding: 0; }
  .search-trigger span { display: none; }
  #search-dialog[open], #nav-dialog[open] {
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    max-height: 80dvh;
    overflow: hidden;
  }
  .dialog-head, .search-field { flex: none; }
  .dialog-head [data-close] { min-width: 44px; min-height: 44px; }
  #results, #nav-dialog .mobile-links {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior-y: contain;
  }
}
@media (max-width: 600px) {
  .edition-footer .foot-inner { padding-block: 24px; gap: 20px 24px; }
  .edition-footer .foot-brand { flex-direction: column; flex-basis: auto; }
  .edition-footer .foot-nav { order: 3; flex-basis: 100%; gap: 18px; font-size: .9rem; }
  .card-grid .card-meta .save { width: 44px; height: 44px; }
}
