/*
Theme Name: ALEA Spielbar
Theme URI: https://alea-spielbar.ch/
Author: ALEA Spielbar
Description: A modern playful WordPress theme for ALEA Spielbar with Gutenberg support, page templates, searchable boardgame list, and responsive layouts.
Version: 1.0.3
Requires at least: 6.5
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: alea-spielbar
*/

:root {
  --ink: #231f20;
  --muted: #5f6960;
  --paper: #f3f7f0;
  --paper-2: #e4ecdf;
  --line: #c9d8c5;
  --coral: #c0202d;
  --teal: #231f20;
  --gold: #9b9998;
  --blue: #3e3b3c;
  --green: #2f8b57;
  --green-dark: #1f6541;
  --green-soft: #dfeadd;
  --plum: #7f141d;
  --shadow: 0 18px 50px rgba(31, 101, 65, 0.15);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

.wp-page-content > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.wp-page-content > .wp-block-cover,
.wp-page-content > .wp-block-group,
.wp-page-content > .section,
.wp-page-content > .quick-links {
  margin-block-start: 0;
  margin-block-end: 0;
}

.grid > .wp-block-group,
.quick-grid > .wp-block-group,
.photo-grid > .wp-block-group,
.game-list > .wp-block-group,
.feature-row > .wp-block-group,
.transit-grid > .wp-block-group,
.label-row > .wp-block-paragraph,
.hero-strip > .wp-block-group {
  margin-block-start: 0;
  margin-block-end: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(201, 216, 197, 0.9);
  background: rgba(243, 247, 240, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 112px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 102px;
  height: 102px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(35, 31, 32, 0.16));
}

.brand span {
  display: grid;
  line-height: 1.02;
}

.brand small {
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg,
.icon svg {
  width: 20px;
  height: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links .menu-item,
.footer-links .menu-item {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  padding: 10px 10px;
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--green-soft);
  box-shadow: inset 0 0 0 1px var(--line);
}

.nav-links .book-link {
  margin-left: 6px;
  color: #fff;
  background: var(--green-dark);
  box-shadow: none;
}

.nav-links .book-link:hover,
.nav-links .book-link[aria-current="page"] {
  color: #fff;
  background: var(--coral);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: clamp(620px, 86vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero-image) center / cover no-repeat;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(35, 31, 32, 0.58);
}

.wp-block-cover.hero,
.wp-block-cover.page-hero {
  padding: 0;
  overflow: hidden;
}

.wp-block-cover.hero::before,
.wp-block-cover.hero::after,
.wp-block-cover.page-hero::before,
.wp-block-cover.page-hero::after {
  content: none;
}

.wp-block-cover.hero .wp-block-cover__inner-container,
.wp-block-cover.page-hero .wp-block-cover__inner-container {
  width: 100%;
  color: inherit;
}

.hero-inner,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  padding: 128px 0 56px;
}

.hero-logo {
  width: min(300px, 54vw);
  margin: 0 0 26px;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.38));
}

.hero .wp-block-image:first-child {
  width: fit-content;
  margin: 0 0 26px;
}

.hero .wp-block-image:first-child img {
  width: min(300px, 54vw);
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.38));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #f1f2f2;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 10px;
  border-radius: 20px;
  background: var(--green);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
.page-title {
  max-width: 880px;
  margin-bottom: 22px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(3.1rem, 8vw, 7.8rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.page-title {
  font-size: clamp(2.7rem, 6vw, 5.9rem);
}

.hero p,
.page-hero p {
  max-width: 670px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 1.5vw, 1.34rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.wp-block-button.button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  background: var(--green);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(47, 139, 87, 0.28);
}

.button:hover,
.wp-block-button.button .wp-block-button__link:hover {
  transform: translateY(-1px);
}

.button.secondary,
.wp-block-button.secondary .wp-block-button__link {
  color: var(--ink);
  background: #fff;
  box-shadow: none;
}

.button.dark,
.wp-block-button.dark .wp-block-button__link {
  background: var(--green-dark);
  box-shadow: 0 14px 30px rgba(31, 101, 65, 0.22);
}

.hero-strip {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.hero-stat {
  min-height: 118px;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-stat:last-child {
  border-right: 0;
}

.hero-stat strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.9rem, 3vw, 3.1rem);
  line-height: 1;
}

.hero-stat h3 {
  display: block;
  margin: 0 0 4px;
  color: #fff;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.9rem, 3vw, 3.1rem);
  line-height: 1;
}

.hero-stat span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
}

.hero-stat p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
}

.quick-links {
  margin-top: -38px;
  position: relative;
  z-index: 2;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.quick-link {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fbfdf9;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.quick-link strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.4rem;
  line-height: 1;
}

.quick-link h3 {
  display: block;
  margin: 0 0 6px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.4rem;
  line-height: 1;
}

.quick-link span {
  color: var(--muted);
  font-weight: 700;
}

.quick-link p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section.tint {
  background: var(--green-soft);
}

.section.deep {
  color: #fff;
  background: var(--green-dark);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.section-header h2 {
  margin-bottom: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.1rem, 4.2vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-header p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.deep .section-header p {
  color: rgba(255, 255, 255, 0.72);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tile,
.event-card,
.info-panel,
.voucher,
.booking-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 253, 249, 0.82);
  box-shadow: var(--shadow);
}

.tile-green {
  --tile-color: var(--green);
}

.tile-green-dark {
  --tile-color: var(--green-dark);
}

.tile-coral {
  --tile-color: var(--coral);
}

.tile-blue {
  --tile-color: var(--blue);
}

.accent-green {
  --accent: var(--green);
}

.accent-green-dark {
  --accent: var(--green-dark);
}

.accent-coral {
  --accent: var(--coral);
}

.accent-gold {
  --accent: var(--gold);
}

.accent-blue {
  --accent: var(--blue);
}

.accent-plum {
  --accent: var(--plum);
}

.band-green {
  --band-a: var(--green);
}

.band-green-dark {
  --band-a: var(--green-dark);
}

.band-coral {
  --band-a: var(--coral);
}

.tile {
  min-height: 260px;
  padding: 24px;
  display: grid;
  align-content: space-between;
  position: relative;
  overflow: hidden;
}

.tile::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 18px;
  width: 82px;
  height: 82px;
  border-radius: 12px;
  opacity: 0.14;
  transform: rotate(9deg);
  background:
    radial-gradient(circle at 26% 26%, #fff 0 5px, transparent 6px),
    radial-gradient(circle at 74% 26%, #fff 0 5px, transparent 6px),
    radial-gradient(circle at 50% 50%, #fff 0 5px, transparent 6px),
    radial-gradient(circle at 26% 74%, #fff 0 5px, transparent 6px),
    radial-gradient(circle at 74% 74%, #fff 0 5px, transparent 6px),
    var(--tile-color, var(--teal));
}

.tile h3,
.event-card h3,
.info-panel h3,
.voucher h3,
.booking-panel h3 {
  margin-bottom: 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.65rem;
  line-height: 1.05;
}

.tile p,
.event-card p,
.info-panel p,
.voucher p,
.booking-panel p {
  color: var(--muted);
}

.label-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--green-soft);
  font-size: 0.82rem;
  font-weight: 850;
}

.price-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdf9;
  box-shadow: var(--shadow);
}

.price-card strong,
.price-card .price-value {
  display: block;
  margin-bottom: 12px;
  color: var(--accent, var(--coral));
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 0.9;
  font-weight: 850;
}

.price-card h3 {
  margin-bottom: 8px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.05;
}

.price-card p,
.source-note {
  color: var(--muted);
}

.source-note {
  margin-top: 18px;
  font-size: 0.92rem;
}

.source-note a {
  font-weight: 850;
}

.mini-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdf9;
  font-weight: 800;
}

.feature-row {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 28px;
  align-items: center;
}

.image-stack {
  position: relative;
  min-height: 500px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-stack img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.image-stack .wp-block-image,
.image-stack .wp-block-image img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.image-stack::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(35, 31, 32, 0.12);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.photo-card {
  position: relative;
  min-height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.photo-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.photo-card .wp-block-image {
  width: 100%;
  height: 100%;
  min-height: 360px;
}

.photo-card .wp-block-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.photo-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  color: #fff;
  background: rgba(35, 31, 32, 0.76);
  backdrop-filter: blur(12px);
  font-weight: 850;
}

.photo-card .photo-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--radius);
  color: #fff;
  background: rgba(35, 31, 32, 0.76);
  backdrop-filter: blur(12px);
  font-weight: 850;
}

.game-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.game-pill {
  min-height: 74px;
  padding: 16px;
  border-radius: var(--radius);
  background: #fbfdf9;
  border-left: 8px solid var(--accent, var(--teal));
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(35, 31, 32, 0.08);
}

.game-pill small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.game-pill .game-pill-detail {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.game-browser {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: #fbfdf9;
  box-shadow: var(--shadow);
}

.game-browser-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(190px, 0.36fr) auto;
  gap: 14px;
  align-items: end;
}

.game-browser-tools .field span {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

.game-check {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--green-soft);
  font-weight: 850;
}

.game-check input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--green);
}

.game-browser-summary {
  margin: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.game-browser-summary strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1;
}

.game-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.game-result {
  min-height: 142px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdf9;
  border-left: 7px solid var(--accent, var(--coral));
}

.game-result h3 {
  margin-bottom: 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.08;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.game-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

.game-result p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.game-result p + p {
  margin-top: 8px;
}

.game-empty {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.menu-list {
  display: grid;
  gap: 12px;
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.menu-item strong {
  font-size: 1.04rem;
}

.menu-item h3 {
  margin: 0 0 4px;
  font-family: inherit;
  font-size: 1.04rem;
  line-height: 1.25;
}

.menu-item span {
  color: var(--muted);
}

.menu-item p:not(.menu-price) {
  margin: 0;
  color: var(--muted);
}

.menu-item b {
  white-space: nowrap;
}

.menu-item .menu-price {
  margin: 0;
  font-weight: 900;
  white-space: nowrap;
}

.page-hero {
  color: #fff;
  background: var(--hero-image) center / cover no-repeat;
  position: relative;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(35, 31, 32, 0.68);
}

.page-hero .hero-inner {
  padding: 104px 0 72px;
}

.event-card {
  overflow: hidden;
}

.event-band {
  min-height: 104px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: #fff;
  background: var(--band-a, var(--ink));
}

.event-band strong,
.event-band h3 {
  margin: 0;
  color: #fff;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.6rem;
  line-height: 0.85;
}

.event-card .body,
.voucher,
.booking-panel,
.info-panel {
  padding: 24px;
}

.booking-panel .page-title,
.info-panel .page-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1;
}

.calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.calendar div {
  min-height: 92px;
  padding: 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.calendar div:nth-child(7n) {
  border-right: 0;
}

.calendar strong {
  display: block;
  margin-bottom: 6px;
}

.calendar span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.booking-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(47, 139, 87, 0.18);
  border-color: var(--green);
}

textarea {
  min-height: 112px;
  resize: vertical;
}

.stepper {
  display: flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.stepper button {
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
}

.stepper output {
  min-width: 52px;
  text-align: center;
  font-weight: 900;
}

.time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.time-slots button {
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.time-slots button.active,
.time-slots button:hover {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.hours {
  width: 100%;
  border-collapse: collapse;
}

.wp-block-table.hours {
  margin: 0;
  overflow-x: visible;
}

.wp-block-table.hours table {
  width: 100%;
  border-collapse: collapse;
  border: 0 !important;
}

.wp-block-table.hours tbody,
.wp-block-table.hours tr {
  border: 0 !important;
}

.wp-block-table.hours th,
.wp-block-table.hours td {
  border-top: 0 !important;
  border-right: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  border-left: 0 !important;
}

.hours th,
.hours td {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.hours th {
  width: 42%;
}

.map-panel {
  min-height: 390px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--green-soft);
  box-shadow: var(--shadow);
}

.transit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.transit-grid div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 26px rgba(35, 31, 32, 0.08);
}

.transit-grid strong {
  display: block;
  color: var(--green-dark);
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.transit-grid h3 {
  display: block;
  margin: 0 0 6px;
  color: var(--green-dark);
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.transit-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.map-marker {
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border-radius: 50% 50% 50% 10%;
  transform: rotate(-45deg);
  color: #fff;
  background: var(--green);
  box-shadow: 0 24px 46px rgba(47, 139, 87, 0.32);
}

.map-marker span {
  transform: rotate(45deg);
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  font-weight: 900;
}

.map-marker p {
  margin: 0;
  transform: rotate(45deg);
  color: #fff;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  font-weight: 900;
}

.voucher {
  position: relative;
  min-height: 246px;
  overflow: hidden;
}

.voucher::before,
.voucher::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
}

.voucher::before {
  left: -18px;
}

.voucher::after {
  right: -18px;
}

.voucher strong,
.voucher .voucher-value {
  display: block;
  margin-bottom: 16px;
  color: var(--accent, var(--coral));
  font-family: "Fraunces", Georgia, serif;
  font-size: 3.4rem;
  line-height: 0.9;
  font-weight: 850;
}

.cta-band {
  padding: 38px;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  color: #fff;
  background: var(--green-dark);
}

.cta-band h2 {
  margin-bottom: 4px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.cta-band p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
}

.site-footer {
  padding: 48px 0;
  color: #fff;
  background: var(--green-dark);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: start;
}

.site-footer .brand img {
  width: 112px;
  height: 112px;
}

.footer-inner p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 860px) {
  .nav {
    min-height: 68px;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    display: none;
    width: 100%;
    padding-bottom: 14px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a,
  .nav-links .book-link {
    margin-left: 0;
  }

  .hero {
    min-height: 700px;
  }

  .hero::after {
    background: rgba(35, 31, 32, 0.64);
  }

  .hero-strip,
  .quick-grid,
  .photo-grid,
  .game-browser-tools,
  .game-results,
  .grid.three,
  .grid.four,
  .grid.two,
  .section-header,
  .feature-row,
  .booking-layout,
  .footer-inner,
  .transit-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    margin-top: 46px;
  }

  .hero-stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero-stat:last-child {
    border-bottom: 0;
  }

  .form-grid,
  .game-list {
    grid-template-columns: 1fr;
  }

  .calendar {
    grid-template-columns: 1fr;
  }

  .calendar div,
  .calendar div:nth-child(7n) {
    border-right: 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .brand img {
    width: 78px;
    height: 78px;
  }

  .hero-inner {
    padding-top: 96px;
  }

  .hero-logo {
    width: min(230px, 62vw);
  }

  .section {
    padding: 56px 0;
  }

  .tile,
  .event-card .body,
  .voucher,
  .booking-panel,
  .info-panel,
  .cta-band {
    padding: 20px;
  }

  .image-stack,
  .image-stack img {
    min-height: 360px;
  }
}
