/* Wine Fly field-guide layer. Loaded after each page's own styles. */

:root {
  --ink: #241c18;
  --ink-soft: #5c5148;
  --paper: #f6f1e7;
  --paper-2: #fffdf8;
  --rule: #e3d7c6;
  --wine: #6e2430;
  --wine-deep: #4e1822;
  --moss: #3f5340;
  --stamp: #8c6a3f;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #f4f1eb !important;
  background-image: none !important;
  color: var(--ink);
  font-family: Figtree, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

.container {
  width: min(1080px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
}

h1, h2, h3, .wordmark strong, .nav-brand {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.02em;
}

a { color: var(--wine); }
a:hover { color: var(--wine-deep); }

/* Masthead */
body { padding-top: var(--update-offset, 0px); }
header,
header.mast {
  position: sticky;
  top: var(--update-offset, 0px);
  z-index: 4000;
  background: rgba(244, 241, 235, 0.96) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule) !important;
  box-shadow: none !important;
}
header .container,
.mast-inner {
  padding-top: 10px;
  padding-bottom: 10px;
}
header.mast {
  padding: 0 !important;
}
header.mast > .container,
footer.site-footer > .container {
  width: min(1080px, calc(100% - 32px)) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}
header.mast > .container {
  padding-top: 10px !important;
  padding-bottom: 8px !important;
}
footer.site-footer > .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.mast-inner,
header .nav-container,
header nav {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.wordmark,
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--wine);
  text-decoration: none;
  font-family: Fraunces, Georgia, serif;
  font-size: 22px;
}
header .container:has(.nav-brand) {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 20px;
  flex-wrap: wrap;
  padding-bottom: 8px;
}
a.nav-brand,
a.wordmark {
  background: transparent !important;
  padding: 0 !important;
  color: var(--wine) !important;
}
a.nav-brand:hover,
a.wordmark:hover {
  background: transparent !important;
  color: var(--wine) !important;
}
a.nav-brand picture { display: block; line-height: 0; }
a.nav-brand img.logo {
  width: 163px;
  height: auto;
  aspect-ratio: 163 / 148;
  display: block;
  border-radius: 0;
  object-fit: contain;
}
@media (max-width: 1024px) {
  a.nav-brand img.logo { width: 108px; }
}
@media (max-width: 640px) {
  a.nav-brand img.logo { width: 72px; }
}
.wordmark span { display: flex; flex-direction: column; line-height: 1.05; }
.wordmark strong { font-size: 22px; color: var(--wine); }
.wordmark em {
  font-style: normal;
  font-family: Figtree, sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stamp);
  font-weight: 650;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.nav-links a,
header nav a {
  font-family: Figtree, sans-serif;
  font-size: 17px;
  font-weight: 650;
  color: var(--ink) !important;
  background: transparent !important;
  border-radius: 999px;
  padding: 12px 16px;
  text-decoration: none;
}
header.mast .nav-links,
header.mast nav {
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  margin: 0;
  padding: 0 0 2px;
  border: 0;
  background: transparent;
  box-shadow: none;
  position: static;
}
.mast-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 0 0 2px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.nav-search { position: relative; }
header.mast .nav-search input[type="search"] {
  width: 13rem;
  margin: 0;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 560;
  line-height: 1.2;
  padding: 12px 16px;
  min-height: 0;
  box-shadow: none;
}
header.mast .nav-search input[type="search"]::placeholder { color: #8a7b6e; }
.nav-search-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(340px, 78vw);
  max-height: 320px;
  overflow: auto;
  background: #fffdf8;
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(28, 22, 20, 0.12);
  padding: 6px;
  z-index: 2;
}
.nav-search-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--ink) !important;
  background: transparent !important;
  text-decoration: none;
  font-family: Figtree, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 650;
}
.nav-search-list a span {
  color: var(--ink-soft);
  font-weight: 560;
  font-size: 12px;
  white-space: nowrap;
}
.nav-search-list a:hover,
.nav-search-list a:focus {
  background: #efe6d6 !important;
  color: var(--wine) !important;
}
.nav-links a:hover,
header nav a:hover,
.nav-links a[aria-current="page"] {
  background: #efe6d6 !important;
  color: var(--wine) !important;
}

/* Article heroes: paper, not a coloured banner */
.hero {
  background: transparent !important;
  color: var(--ink) !important;
  text-align: left !important;
  padding: 2.2rem 0 0.4rem !important;
  max-width: 820px;
  margin: 0 auto;
}
.hero h1,
.hero p { color: var(--ink) !important; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.3rem) !important;
  line-height: 1.05;
  margin-bottom: 0.6rem !important;
}
.hero p {
  font-size: 1.15rem !important;
  color: var(--ink-soft) !important;
  max-width: 38rem;
}
.hero::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 1.1rem;
  background: var(--wine);
}

.section-box h2,
.wine-farm h2,
.content-container h2,
.container h2 {
  color: var(--wine-deep);
}

.section-box,
.wine-farm,
.intro,
.highlight-box,
.family-tip {
  border-color: var(--rule);
}

/* Homepage */
.lede {
  padding: 12px 0 4px;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 32px;
  align-items: center;
}
.lede .kicker,
.lede h1,
.lede .deck { grid-column: 1; max-width: 40rem; }
.lede .lede-actions {
  grid-column: 2;
  grid-row: 1 / span 3;
  justify-self: end;
  align-self: center;
  margin: 0;
}
.kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stamp);
}
.lede h1 {
  margin: 0 0 10px;
  padding: 0;
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  line-height: 1.02;
  color: var(--ink);
}
.deck { margin: 0; font-size: 1.12rem; color: var(--ink-soft); }

.finder { margin-top: 18px; }
.day-grid, .region-grid, .guide-index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}
.day, .region-card, .guide-index a {
  display: block;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 16px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(28, 22, 20, 0.04);
}
.guide-index a:hover, .region-card:hover, .day:hover {
  border-color: #d5c4ae;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(28, 22, 20, 0.06);
}
.day h3, .region-card h3, .guide-index strong {
  display: block;
  margin: 0 0 4px;
  font-size: 1.15rem;
  color: var(--ink);
}
.meta {
  display: block;
  margin-bottom: 6px;
  color: var(--stamp);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.day p, .region-card p, .guide-index span {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.day button, .text-btn {
  margin-top: 10px;
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--wine);
  font-weight: 650;
  cursor: pointer;
  min-height: 0;
}

.section-title {
  margin: 36px 0 6px;
  font-size: clamp(1.6rem, 3vw, 2rem);
}
.section-lead { margin: 0 0 14px; color: var(--ink-soft); max-width: 40rem; }

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin: 18px 0;
}
.facts div {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 12px;
}
.facts b { display: block; font-family: Fraunces, Georgia, serif; font-size: 1.15rem; }
.facts span { color: var(--ink-soft); font-size: 0.86rem; }

.prose { max-width: 42rem; }
.prose h2 { margin: 1.6rem 0 0.4rem; font-size: 1.7rem; color: var(--wine-deep); }
.prose h3 { margin: 1.1rem 0 0.3rem; font-size: 1.2rem; }
.prose p, .prose li { color: #3a312c; }
.answer {
  border-left: 3px solid var(--wine);
  padding: 4px 0 4px 14px;
  margin: 12px 0 18px;
}
.month-list { list-style: none; padding: 0; }
.month-list li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--rule);
}
.month-list b { color: var(--wine-deep); }

footer {
  background: transparent !important;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  margin-top: 28px;
  padding: 22px 0 36px;
}
footer p { margin: 0 0 8px; font-size: 0.92rem; }
footer .footer-links { line-height: 1.7; }
footer .footer-legal { color: var(--ink); }
button.cookie-choices {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  color: var(--wine) !important;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-choices { margin: 0 0 8px; }

@media (max-width: 640px) {
  .month-list li { grid-template-columns: 1fr; gap: 2px; }
  .hero { padding-left: 1rem !important; padding-right: 1rem !important; }
}

.goto-card {
  display: inline-block;
  background: #6e2430;
  color: #fff8ee !important;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.goto-card:hover { background: #4e1822; color: #fff !important; text-decoration: none; }
.goto-quiet {
  display: inline-block;
  background: transparent;
  color: var(--wine) !important;
  border: 1.5px solid var(--wine);
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.goto-quiet:hover { background: #efe6d6; text-decoration: none; }
.day a { display: inline-block; margin-left: 12px; font-weight: 650; }

.play-main { padding: 28px 0 48px; }
.play-main h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; margin: 0 0 10px; }
.valley-pick {
  display: grid;
  gap: 6px;
  max-width: 24rem;
  margin: 22px 0 8px;
  font-size: 0.85rem;
  font-weight: 650;
  color: #5c5148;
}
.valley-pick select,
.note-form input,
.note-form select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e3d7c6;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 500;
  color: #241c18;
  background: #fff;
}
.valley-pick select { font-size: 1.05rem; }
.sheet {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  border: 1px solid #e3d7c6;
  box-shadow: 0 1px 2px rgba(28, 22, 20, 0.04);
  margin: 16px 0 28px;
}
.sheet h2 { margin: 0 0 8px; }
.sheet h3 { margin: 22px 0 8px; font-size: 1.2rem; }
.who { color: #5c5148; margin-top: 8px; }
.style-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.style-list li {
  border: 1px solid #e3d7c6;
  border-radius: 999px;
  padding: 6px 12px;
  color: #5c5148;
  background: #f6f1e7;
}
.style-list li.noted { background: #e7efe4; color: #243226; border-color: #c9dcc6; }
.note-form {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr auto;
  gap: 8px;
  align-items: center;
}
.note-form button,
.row-btns button,
.scan-row button {
  background: #6e2430;
  color: #fff8ee;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.scan-row { margin: 8px 0 0; }
.scan-row button { background: transparent; color: #6e2430; padding: 0; }
.note-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.note-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  background: #f6f1e7;
  border-radius: 12px;
  padding: 12px 14px;
}
.note-list strong { font-family: Fraunces, Georgia, serif; font-weight: 560; }
.note-list span { display: block; color: #5c5148; font-size: 0.92rem; }
.note-list button {
  background: transparent;
  color: #6e2430;
  border: 0;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  padding: 8px;
}
.row-btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 18px; }
#scanVideo {
  width: min(100%, 420px);
  border-radius: 16px;
  background: #241c18;
  margin: 8px 0;
}
.scan-note { min-height: 1.2em; color: #3f5340; font-weight: 650; }
.text-link { font-weight: 650; }
@media (max-width: 800px) {
  .note-form { grid-template-columns: 1fr; }
}

.dir-search { display: grid; gap: 6px; margin: 18px 0 12px; max-width: 36rem; }
.dir-search label { font-size: 0.85rem; font-weight: 650; color: #5c5148; }
.dir-search input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e3d7c6;
  border-radius: 999px;
  padding: 12px 16px;
  font: inherit;
  background: #fffdf8;
}
.dir-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.dir-chips button, .farm-tag, .dir-chips a {
  border: 1px solid #e3d7c6;
  background: #fffdf8;
  color: #241c18 !important;
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.dir-chips button.on, .dir-chips a.on { background: #6e2430; color: #fff8ee !important; border-color: #6e2430; }
.dir-count { color: #5c5148; font-weight: 650; margin: 8px 0 0; }
.farm-group { margin: 22px 0; }
.farm-group h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin: 0 0 10px;
  font-size: 1.7rem;
}
.group-plan {
  font-family: Figtree, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0;
}
.name-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.name-list a {
  display: inline-block;
  background: #fff;
  border: 1px solid #e3d7c6;
  border-radius: 999px;
  padding: 8px 14px;
  text-decoration: none;
  font-weight: 650;
}
.name-list a:hover { background: #efe6d6; }
.farm-card {
  background: #fff;
  border: 1px solid #e3d7c6;
  border-radius: 16px;
  padding: 16px 16px 12px;
  margin: 0 0 12px;
  box-shadow: 0 1px 2px rgba(28, 22, 20, 0.04);
}
.farm-card h2,
.farm-card h3 { margin: 0 0 6px; font-size: 1.35rem; color: var(--ink); }
.farm-card p { margin: 0 0 8px; }
.farm-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.farm-links { display: flex; flex-wrap: wrap; gap: 12px; font-weight: 650; }
.farm-links a { text-decoration: none; }
.farm-links a:hover { text-decoration: underline; }
.lede-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; }

.trivia-home {
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  gap: 8px 28px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 18px;
  margin: 6px 0 18px;
}
.trivia-home h2 {
  margin: 0 0 8px;
  font-size: 1.7rem;
  color: var(--ink);
}
.trivia-home p { margin: 0 0 12px; color: var(--ink-soft); }
.trivia-ask {
  margin: 0 0 10px;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--ink);
}
.trivia-options { display: grid; gap: 8px; }
.trivia-options button,
.trivia-next {
  text-align: left;
  border: 1px solid var(--rule);
  background: #fffdf8;
  color: var(--ink);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  white-space: normal;
  min-width: 0;
}
.trivia-options button:hover:not(:disabled) { background: #efe6d6; }
.trivia-options button.is-right {
  background: #e7efe4;
  border-color: #c9dcc6;
  color: #243226;
}
.trivia-options button.is-wrong {
  background: #f8ece8;
  border-color: #e3c8c2;
  color: #6e2430;
}
.trivia-options button:disabled { cursor: default; }
.trivia-note { margin: 12px 0 0; color: #3a312c; }
.trivia-count { margin: 8px 0 0; font-size: 0.85rem; font-weight: 650; color: var(--ink-soft); }
.trivia-next {
  margin-top: 12px;
  background: var(--wine);
  color: #fff8ee;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
}
.trivia-next:hover { background: var(--wine-deep); }
.trivia-board {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 16px;
  margin: 16px 0 8px;
}
.trivia-level {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stamp);
}
.trivia-blurb { margin: 0 0 12px; color: var(--ink-soft); }
.trivia-card {
  display: block;
  width: min(100%, 420px);
  height: auto;
  margin-top: 14px;
  border-radius: 16px;
  border: 1px solid var(--rule);
}
.trivia-next:disabled { opacity: 0.55; cursor: default; }

.wheel-modes { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.wheel-modes button {
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.wheel-modes button.is-on {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff8ee;
}
.wheel-stage {
  position: relative;
  width: min(100%, 360px);
  margin: 22px auto 0;
}
.wheel-pointer,
.wheel-pointer span {
  position: absolute;
  left: 50%;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
}
.wheel-pointer {
  z-index: 2;
  top: -2px;
  border-top: 28px solid #f6f1e7;
}
.wheel-pointer span {
  top: -26px;
  border-left-width: 9px;
  border-right-width: 9px;
  border-top: 20px solid #6e2430;
}
.wheel-rotor canvas {
  display: block;
  width: 100%;
  height: auto;
}
#wheelSpin { display: block; margin: 16px auto 0; }
.wheel-result {
  margin: 16px auto 0;
  max-width: 36rem;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.45;
}
.wheel-pick {
  display: block;
  margin-bottom: 4px;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.15;
  color: var(--ink);
}
.games-block { margin-top: 28px; }

.btn-primary {
  background: var(--wine) !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-weight: 650 !important;
  padding: 10px 16px !important;
}
.btn-primary:hover { background: var(--wine-deep) !important; }
.chip.active {
  background: var(--wine) !important;
  border-color: var(--wine) !important;
  box-shadow: none !important;
  color: #fff !important;
}
#map, #results {
  border-radius: 16px !important;
  box-shadow: 0 1px 2px rgba(28, 22, 20, 0.04) !important;
}
#map {
  position: relative;
  z-index: 0;
  isolation: isolate;
}
.finder, .panel {
  border-radius: 16px !important;
  box-shadow: 0 1px 2px rgba(28, 22, 20, 0.04) !important;
}
.ad-container {
  margin: 28px 0;
  padding: 8px 0;
}
.ad-label {
  display: block;
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6d5d52;
  text-align: center;
}
#cookieBanner.cookie-banner {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 80 !important;
  display: none;
  width: auto !important;
  max-width: none;
  margin: 0 !important;
  background: #241c18;
  color: #f6f1e7;
  border-radius: 0;
  padding: 14px 20px;
  box-shadow: 0 16px 40px rgba(28, 22, 20, 0.2);
  transform: none !important;
  animation: none !important;
}
#cookieBanner.cookie-banner.show { display: block !important; }
#cookieBanner .cookie-text { flex: 1 1 240px; min-width: 0; }
#cookieBanner a { color: #f6d7c8; }
#cookieBanner .cookie-content { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
#cookieBanner .cookie-btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
#cookieBanner .cookie-btn-accept { background: #fff; color: #241c18; }
#cookieBanner .cookie-btn-decline { background: transparent; color: #f6f1e7; border: 1px solid rgba(246, 241, 231, 0.4); }
html { scroll-padding-top: 96px; }

@media (max-width: 800px) {
  header.mast > .container {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    row-gap: 4px;
  }
  a.nav-brand { grid-column: 1; grid-row: 1; }
  .mast-tools { display: contents; }
  header.mast .nav-search {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-width: 0;
  }
  header.mast .nav-search input[type="search"] { width: 100%; }
  header.mast .nav-links,
  header.mast nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-content: flex-end;
    gap: 0;
  }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 132px; }
  .nav-links a, header nav a { padding: 8px 8px; font-size: 15px; }
  .play-main h1, .lede h1 { font-size: 2.1rem; }
  .lede { display: block; }
  .lede .lede-actions { margin: 14px 0 0; justify-self: start; }
  .trivia-home { grid-template-columns: minmax(0, 1fr); }
  .trivia-home > * { min-width: 0; }
  #map {
    height: 52vh;
    min-height: 360px;
    scroll-margin-top: 12px;
  }
}
