:root {
  --site-font: Calibri, Carlito, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

/* Keep the same typeface on pages with older local body font declarations. */
body {
  font-family: var(--site-font) !important;
}

button, input, select, textarea {
  font-family: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 1rem;
  margin-bottom: 1.75rem;
  border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  border-radius: 1rem;
  background: color-mix(in srgb, currentColor 4%, transparent);
}
.site-header img {
  display: block;
  width: clamp(3rem, 11vw, 4.5rem);
  height: auto;
  border-radius: .55rem;
}
.site-header a {
  border-radius: .55rem;
}
.site-header a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.site-header:has(.partner-logo) {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}
.site-header .partner-logo { justify-self: center; }
.site-header .partner-logo img {
  width: auto;
  height: clamp(3rem, 11vw, 4.5rem);
}
.site-header:has(.partner-logo) > :last-child { justify-self: end; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  margin-top: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid #cbd4e4;
  border-top-color: light-dark(#cbd4e4, #414b65);
  text-align: left;
  font-size: .9rem;
}
.site-feedback, .page-nav a {
  display: inline-flex;
  align-items: baseline;
  gap: .4rem;
  padding: .55rem .85rem;
  border: 1px solid light-dark(#b4c3e6, #677ba8);
  border-radius: .65rem;
  background: light-dark(#e4ecff, #253451);
  color: inherit;
  font-weight: 650;
}
.site-feedback { margin-inline-start: auto; }
.site-feedback, .page-nav a { text-decoration: none; }
.site-feedback:hover, .page-nav a:hover { text-decoration: underline; }

.page-nav a[href="/"] { padding: .55rem .85rem; }

.site-footer a.site-feedback {
  border-color: #b3324e;
  color: #fff;
  background: #8b1738;
  background-image: linear-gradient(110deg, #781332 12%, #951b3c 38%, #a52b49 50%, #8b1738 62%, #781332 88%);
  background-size: 240% 100%;
  box-shadow: 0 2px 8px #831b3830;
}
@media (forced-colors: active) {
  .site-footer a.site-feedback { color: LinkText; background: Canvas; border-color: LinkText; }
}
@media (prefers-reduced-motion: no-preference) {
  .site-feedback { animation: feedback-shimmer 5s ease-in-out infinite alternate; }
  @keyframes feedback-shimmer {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
  }
}

.site-language { position: relative; margin-inline-start: auto; }
.site-language summary, .language-options a {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .85rem;
  border-radius: .65rem;
  color: inherit;
  font-weight: 650;
}
.site-language summary { cursor: pointer; border: 1px solid #8797bc; background: light-dark(#e4ecff, #253451); }
.site-language summary::after { content: "▾" / ""; }
.site-language summary::-webkit-details-marker { display: none; }
.language-options { position: absolute; z-index: 1; bottom: calc(100% + .35rem); inset-inline-end: 0; min-width: 9rem; padding: .25rem; background: light-dark(#fff, #202536); border: 1px solid #8797bc; border-radius: .65rem; }
.language-options a:hover { background: light-dark(#e4ecff, #253451); }
.flag-de { display: inline-block; width: 1.15rem; height: .75rem; background: linear-gradient(#161616 33.33%, #d00 33.33% 66.66%, #ffce00 66.66%); border-radius: 2px; }
.site-language + .site-feedback { margin-inline-start: 0; }
.site-language summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.site-footer > span {
  box-sizing: border-box;
  max-width: 100%;
  padding: .55rem .85rem;
  border: 1px solid #a9ccc7;
  border-color: light-dark(#a9ccc7, #628d86);
  border-radius: .65rem;
  background-color: light-dark(#eaf6f3, #213b37);
  white-space: normal;
  overflow-wrap: anywhere;
}

.language-options {
  width: max-content;
  max-width: min(17rem, 80vw);
  max-height: min(24rem, 55vh);
  overflow-y: auto;
}
.language-note { margin: .4rem .65rem .15rem; font-size: .78rem; font-weight: 600; }

[dir="rtl"] .site-header, [dir="rtl"] .site-footer { direction: ltr; }
[dir="rtl"] .site-language, [dir="rtl"] .site-feedback { direction: rtl; }

/* Action icons and contrast for cards and buttons. */
:root { --action-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m10%2014%204-4m-6%206-1%201a3%203%200%201%201-4-4l4-4a3%203%200%200%201%204%200m5-1%201-1a3%203%200%201%201%204%204l-4%204a3%203%200%200%201-4%200%22%2F%3E%3C%2Fsvg%3E"); }
:is([href*="/weltkarte"]) { --action-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cellipse%20cx%3D%2212%22%20cy%3D%2212%22%20rx%3D%224%22%20ry%3D%229%22%2F%3E%3Cpath%20d%3D%22M3%2012h18%22%2F%3E%3C%2Fsvg%3E"); }
:is([href*="/ideenpruefung"]) { --action-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2020%204.8%2013a4.5%204.5%200%200%201%206.4-6.4l.8.8.8-.8a4.5%204.5%200%200%201%206.4%206.4z%22%2F%3E%3C%2Fsvg%3E"); }
:is([href*="apps.apple.com/de/developer"]) { --action-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%208h14l1%2013H4zM9%2010V6a3%203%200%200%201%206%200v4%22%2F%3E%3C%2Fsvg%3E"); }
:is([href*="play.google.com/store/apps"]) { --action-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m6%204%2014%208-14%208z%22%2F%3E%3C%2Fsvg%3E"); }
:is([href$="support.html"], [href$="support.en.html"], .site-feedback, .mail-link, .access-mail) { --action-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%205h16v11H9l-5%204zM8%209h8m-8%203h6%22%2F%3E%3C%2Fsvg%3E"); }
:is([href$="kaeufe.html"], [href$="kaeufe.en.html"], [href*="reportaproblem.apple.com"], [href*="account/subscriptions"]) { --action-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M3%2010h18m-14%205h4%22%2F%3E%3C%2Fsvg%3E"); }
:is([href*="/barrierefreiheit"]) { --action-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%224%22%20r%3D%222%22%2F%3E%3Cpath%20d%3D%22M5%208l7%202%207-2m-7%202v5m0%200-4%206m4-6%204%206%22%2F%3E%3C%2Fsvg%3E"); }
:is([href*="/agb"], [href*="stdeula"]) { --action-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203h8l4%204v14H6zM14%203v5h4M9%2012h6m-6%204h6%22%2F%3E%3C%2Fsvg%3E"); }
:is([href*="/datenschutz"], [href*="cloudflare.com/turnstile"]) { --action-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%203%207%203v5c0%204-2.5%207-7%2010-4.5-3-7-6-7-10V6zM9%2012l2%202%204-4%22%2F%3E%3C%2Fsvg%3E"); }
:is([href*="/impressum"]) { --action-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Ccircle%20cx%3D%228%22%20cy%3D%2210%22%20r%3D%222%22%2F%3E%3Cpath%20d%3D%22M5.5%2016c.4-3%204.6-3%205%200m3-5h4m-4%204h4%22%2F%3E%3C%2Fsvg%3E"); }
:is([href*="/appwish-teilnahmebedingungen"]) { --action-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2010h16v10H4zM3%207h18v3H3zM12%207v13m0-13C6%208%206%202%209%203c2%200%203%204%203%204zm0%200c6%201%206-5%203-4-2%200-3%204-3%204z%22%2F%3E%3C%2Fsvg%3E"); }
:is([href*="/aufsmaulwurf"]) { --action-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%2017V6l10-2v11M9%2010l10-2%22%2F%3E%3Cellipse%20cx%3D%226%22%20cy%3D%2218%22%20rx%3D%223%22%20ry%3D%222%22%2F%3E%3Cellipse%20cx%3D%2216%22%20cy%3D%2216%22%20rx%3D%223%22%20ry%3D%222%22%2F%3E%3C%2Fsvg%3E"); }
:is([href*="/werbung"], [href*="admob.google.com"]) { --action-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%2010%205%200%2011-5v14l-11-5H3zM8%2014l2%206h3l-2-5%22%2F%3E%3C%2Fsvg%3E"); }
:is(.group-sources a) { --action-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%2018a4%204%200%200%201-1-8%206%206%200%200%201%2011-2%205%205%200%200%201%202%2010z%22%2F%3E%3C%2Fsvg%3E"); }
:is([href*="/apps.html"], [href*="/apps.en.html"]) { --action-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2012h14m-6-6%206%206-6%206%22%2F%3E%3C%2Fsvg%3E"); }

:is(.link-group li a, .purchase-links a, .support-links a, .store-link, .partner-link, .mail-link, .access-mail, .site-feedback, .hero-apps)::before {
  content: "";
  display: inline-block;
  flex: none;
  width: 1.2em;
  height: 1.2em;
  background: currentColor;
  mask: var(--action-icon) center / contain no-repeat;
  -webkit-mask: var(--action-icon) center / contain no-repeat;
  vertical-align: -.2em;
}
.link-group li a::before {
  justify-self: center;
  width: 1.65rem;
  height: 1.65rem;
  margin-bottom: .45rem;
  background: light-dark(color-mix(in srgb, var(--accent) 80%, #172038), #e2ebff);
}
.link-group li a {
  border-color: color-mix(in srgb, var(--accent) 46%, transparent);
  color: light-dark(#152139, #f3f6ff);
}
.link-group li a:hover { box-shadow: inset 0 0 0 1px var(--accent); }
:is(.store-link, .partner-link, .support-links a, .mail-link, .access-mail)::before { margin-inline-end: .45em; }
:is(.purchase-links a, .support-links a, .store-link, .partner-link, .app-icon) { outline: 1px solid light-dark(#889ab9, #7586a9); outline-offset: -1px; }
.hero-apps::before { grid-column: 1 / -1; width: 1.5rem; height: 1.5rem; }
.site-feedback::before { align-self: center; }
:is(.link-group a, .hero-apps, .purchase-links a, .support-links a, .store-link, .partner-link, .site-feedback):focus-visible {
  outline: 2px solid light-dark(#173d9f, #a9c2ff);
  outline-offset: 3px;
}

.platform li a:not(:has(.app-icon))::before {
  content: "";
  grid-area: 1 / 1;
  width: 1.65rem;
  height: 1.65rem;
  background: currentColor;
  mask: var(--action-icon) center / contain no-repeat;
  -webkit-mask: var(--action-icon) center / contain no-repeat;
}
[dir="rtl"] .hero-apps .arrow { transform: scaleX(-1); }

.language-group + .language-group {
  border-top: 1px solid light-dark(#cbd4e4, #586583);
  margin-top: .3rem;
  padding-top: .3rem;
}
.language-group p {
  margin: .35rem .85rem .15rem;
  font-size: .78rem;
  font-weight: 750;
}

.site-footer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-inline-start: auto; }
.site-footer-actions .site-language { margin-inline-start: 0; }
.site-ideas {
  display: grid;
  padding: .5rem .85rem;
  border: 1px solid light-dark(#906637, #c79964);
  border-radius: .65rem;
  background: light-dark(#fff0d9, #513922);
  color: light-dark(#513419, #fff1d8);
  line-height: 1.3;
  text-decoration: none;
}
.site-ideas small { font-size: .82em; }
.site-ideas:hover strong { text-decoration: underline; }
.site-ideas:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
[dir="rtl"] .site-ideas { direction: rtl; }
.site-footer:has(.site-footer-actions) {
  align-items: stretch;
  justify-content: space-between;
  gap: .55rem;
}
.site-footer > span {
  flex: 1 1 max-content;
  min-width: 0;
  align-content: center;
  font-size: .86rem;
  line-height: 1.4;
}
.site-footer-actions { flex: 0 1 auto; max-width: 100%; align-items: stretch; justify-content: center; margin: 0; }
.site-footer-actions :is(.site-ideas, .site-feedback, summary) {
  box-sizing: border-box;
  min-height: 2.85rem;
  height: 100%;
  align-items: center;
}

@media (min-width: 54rem) {
  .site-footer:has(.site-footer-actions) {
    flex-wrap: nowrap;
    gap: .45rem;
  }
  .site-footer:has(.site-footer-actions) > span {
    align-content: center;
    flex: 1 1 0;
    min-height: 2.65rem;
    padding: .4rem .65rem;
    font-size: .78rem;
    white-space: nowrap;
  }
  .site-footer-actions {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: .4rem;
  }
  .site-footer-actions :is(.site-ideas, .site-feedback, summary) {
    min-height: 2.65rem;
    padding: .4rem .65rem;
    font-size: .8rem;
    white-space: nowrap;
  }
}

@media (width < 54rem) {
  .site-footer:has(.site-footer-actions) { justify-content: center; }
  .site-footer:has(.site-footer-actions) > span { flex-basis: 100%; text-align: center; }
  .site-footer-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    flex: 0 1 28rem;
    gap: clamp(.25rem, 1.4vw, .55rem);
  }
  .site-footer-actions > * { min-width: 0; }
  .site-footer-actions :is(.site-ideas, .site-feedback, summary) {
    justify-content: center;
    gap: .25rem;
    padding: .4rem clamp(.25rem, 1.2vw, .65rem);
    font-size: clamp(.75rem, 3.4vw, .875rem);
    line-height: 1.2;
    overflow-wrap: anywhere;
    text-align: center;
  }
  .site-footer-actions .site-feedback { margin-inline-start: 0; }
  .site-footer-actions .flag { flex-shrink: 0; }
  .site-footer-actions .language-options { inset-inline-end: auto; inset-inline-start: 50%; transform: translateX(-50%); }
}

/* Counts on expandable media, station and VPN rows. */
:is(.directory-row-count, .station-section-count, .vpn-count) {
  justify-self: end;
  flex: none;
  margin-inline-start: auto;
  padding: .18rem .55rem;
  border: 1px solid light-dark(#bdc9df, #647393);
  border-radius: .45rem;
  background: light-dark(#edf2fc, #2e3b58);
  color: light-dark(#334761, #e1eaff);
  font-size: .82rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
  white-space: nowrap;
}
#media-directory .md-counted-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .45rem;
  min-block-size: 1.65rem;
  list-style: none;
}
.md-counted-summary::-webkit-details-marker { display: none; }
.md-counted-summary::before {
  content: "";
  inline-size: .4rem;
  block-size: .4rem;
  border-inline-end: 2px solid currentColor;
  border-block-end: 2px solid currentColor;
  transform: rotate(-45deg);
}
[dir="rtl"] .md-counted-summary::before { transform: rotate(135deg); }
:root details[open] > .md-counted-summary::before { transform: rotate(45deg); }
.channel-country > summary:has(> .directory-row-count)::after { margin-inline-start: 0; }
:is(.channel-country, .station-section) > summary > span:first-child {
  min-inline-size: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 430px) {
  #media-directory .md-counted-summary,
  main :is(.channel-country, .station-section) > summary {
    column-gap: .35rem;
    padding-inline: .55rem;
  }
  .md-group > .md-entry { margin-inline: .15rem; }
  .md-entry-content { padding-inline: .5rem; }
  :is(.directory-row-count, .station-section-count, .vpn-count) {
    padding-inline: .35rem;
    font-size: .75rem;
  }
}

/* Keep both navigation actions distinct throughout the site. */
nav.page-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: .65rem .95rem;
}

nav.page-nav a[data-site-back],
nav.page-nav a[data-site-home],
nav.page-nav a[data-stats-back],
nav.page-nav a[data-media-back],
nav.page-nav a[data-media-home] {
  margin-inline-start: 0;
  padding: .55rem .85rem;
}

nav.page-nav a[data-site-back],
nav.page-nav a[data-stats-back],
nav.page-nav a[data-media-back] {
  border-color: #9eafe0;
  background: #e4ecff;
  color: #23375e;
  border-color: light-dark(#9eafe0, #677ba8);
  background: light-dark(#e4ecff, #253451);
  color: light-dark(#23375e, #e4ecff);
}

nav.page-nav a[data-site-home],
nav.page-nav a[data-stats-back] + a,
nav.page-nav a[data-media-home] {
  border-color: #85b7a3;
  background: #e2f2eb;
  color: #184a38;
  border-color: light-dark(#85b7a3, #609b85);
  background: light-dark(#e2f2eb, #193c32);
  color: light-dark(#184a38, #e2f2eb);
}

/* Context navigation follows Back and Home and has its own button color. */
nav.page-nav > a[href]:nth-of-type(3) {
  margin-inline-start: 0;
  padding: .55rem .85rem;
  border-color: #c49a5b;
  background: #fff0d6;
  color: #603c12;
  border-color: light-dark(#c49a5b, #9e7746);
  background: light-dark(#fff0d6, #49351e);
  color: light-dark(#603c12, #ffe2af);
}
