:root {
  --ink: #221917;
  --muted: #6b625f;
  --paper: #fffaf2;
  --panel: #ffffff;
  --line: #eadfd2;
  --wine: #8d1f28;
  --wine-dark: #541018;
  --gold: #d99d3c;
  --sage: #66785f;
  --teal: #24515b;
  --shadow: 0 18px 48px rgba(60, 33, 24, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }

.construction-bar {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  width: 100%;
  height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: #fff;
  background: #b51624;
  border-bottom: 2px solid #f4bd62;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 250, 242, 0.94);
  border-bottom: 1px solid rgba(234, 223, 210, 0.82);
  backdrop-filter: blur(16px);
}
.construction-bar + .site-header { top: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: var(--wine);
  border-radius: 8px;
  font-weight: 800;
}
.brand-logo {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: 12px; }
.mobile-menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--ink);
  background: #fffaf5;
  cursor: pointer;
  font-weight: 800;
}
.menu-icon {
  position: relative;
  width: 18px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 100%;
  border-top: 2px solid currentColor;
}
.mobile-menu-toggle[aria-expanded="true"] .menu-icon {
  border-color: transparent;
}
.mobile-menu-toggle[aria-expanded="true"] .menu-icon::after {
  top: 4px;
  transform: rotate(45deg);
}
.mobile-menu-toggle[aria-expanded="true"] .menu-icon::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 100%;
  border-top: 2px solid currentColor;
  transform: rotate(-45deg);
}
.main-nav { display: flex; align-items: center; gap: 10px; }
.main-nav a {
  padding: 9px 12px;
  border-radius: 8px;
  color: #493c38;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.main-nav a:hover, .reserved-link { background: #f2e7dc; }

.construction-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #f8efe5;
  background:
    linear-gradient(90deg, rgba(27, 15, 13, 0.9), rgba(27, 15, 13, 0.64)),
    url("assets/theatre-hero.png") center / cover;
}
.construction-page-panel {
  width: min(100%, 720px);
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid rgba(248, 239, 229, 0.18);
  border-radius: 8px;
  background: rgba(34, 25, 23, 0.84);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}
.construction-page-panel .brand { margin-bottom: 34px; color: #f8efe5; }
.construction-page-panel .brand small { color: rgba(248, 239, 229, 0.72); }
.construction-page-panel h1 {
  max-width: 660px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 8vw, 74px);
  line-height: 0.95;
}
.construction-page-panel p:not(.eyebrow) {
  max-width: 560px;
  margin: 22px 0 30px;
  color: rgba(248, 239, 229, 0.82);
  font-size: 18px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: end;
  gap: clamp(24px, 6vw, 72px);
  padding: clamp(72px, 13vh, 130px) clamp(18px, 6vw, 86px) 46px;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(27, 15, 13, 0.88), rgba(27, 15, 13, 0.56) 42%, rgba(27, 15, 13, 0.1)),
    url("assets/theatre-hero.png");
  background-position: center;
  background-size: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(0deg, rgba(34, 25, 23, 0.66), transparent);
  pointer-events: none;
}
.hero-content, .hero-panel { position: relative; z-index: 1; }
.hero-content { max-width: 760px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.hero h1, .section-heading h1, .section-heading h2, .booking-copy h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}
.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.96;
}
.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 21px);
}
.hero-actions, .form-actions, .calendar-tools { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions { margin-top: 30px; }

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}
.button.primary { color: #fff; background: var(--wine); box-shadow: 0 10px 28px rgba(141, 31, 40, 0.28); }
.button.ghost { color: #fff; border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.12); }
.button.secondary { color: var(--ink); border-color: var(--line); background: var(--panel); }
.button.full { width: 100%; }
.button.compact { min-height: 36px; padding: 7px 10px; font-size: 13px; }

.hero-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}
.hero-panel div { padding: 18px; background: rgba(255, 255, 255, 0.14); }
.panel-label { display: block; color: rgba(255, 255, 255, 0.68); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.hero-panel strong { display: block; margin-top: 4px; font-size: 18px; }

.section { padding: clamp(58px, 8vw, 96px) clamp(18px, 6vw, 86px); }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.section-heading h1, .section-heading h2, .booking-copy h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(31px, 4vw, 56px);
  line-height: 1;
}
.intro-band { background: #fff5e8; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature {
  padding: 24px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.feature-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 8px;
  font-weight: 800;
}
.feature h3 { margin: 20px 0 8px; font-size: 21px; }
.feature p, .booking-copy p { margin: 0; color: var(--muted); }

.gallery-strip { display: grid; grid-template-columns: 1.35fr 0.8fr 0.85fr; min-height: 320px; }
.photo-tile {
  position: relative;
  display: flex;
  align-items: end;
  min-height: 320px;
  padding: 22px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.photo-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(20, 13, 11, 0.72)); }
.photo-tile span { position: relative; color: #fff; font-size: 26px; font-weight: 800; }
.photo-main { background-image: url("assets/theatre-hero.png"); }
.photo-seat { background-image: linear-gradient(135deg, rgba(36, 81, 91, 0.65), rgba(84, 16, 24, 0.45)), url("assets/theatre-hero.png"); background-position: right center; }
.photo-detail { background-image: linear-gradient(135deg, rgba(102, 120, 95, 0.55), rgba(217, 157, 60, 0.28)), url("assets/theatre-hero.png"); background-position: 58% center; }

.calendar-section { background: #f7eee4; }
.calendar-layout { display: grid; grid-template-columns: minmax(300px, 430px) 1fr; gap: 22px; }
.month-card, .contact-panel, .admin-form, .admin-table-wrap, .login-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.month-card { padding: 18px; }
.month-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.weekdays, .days-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.weekdays { margin-bottom: 8px; color: var(--muted); font-size: 12px; font-weight: 800; text-align: center; text-transform: uppercase; }
.day {
  position: relative;
  min-height: 48px;
  border: 1px solid #eee3d7;
  border-radius: 8px;
  background: #fffbf6;
  color: var(--ink);
  font-weight: 800;
}
.day.muted { color: #b7aba1; background: #f7efe7; }
.day.has-event::after {
  content: "";
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--wine);
}
.event-list { display: grid; gap: 12px; align-content: start; }
.event-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(60, 33, 24, 0.08);
}
.event-date { display: grid; place-items: center; align-content: center; min-height: 86px; color: #fff; background: var(--wine-dark); border-radius: 8px; text-align: center; }
.event-date strong { font-size: 30px; line-height: 1; }
.event-date span { font-size: 12px; font-weight: 800; text-transform: uppercase; }
.event-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: start; }
.event-copy { min-width: 0; }
.event-card h3 { margin: 2px 0 5px; font-size: 22px; }
.event-card p { margin: 0 0 8px; color: var(--muted); }
.event-card-occupied { border-color: #cfd8d2; background: #fbfdfb; }
.event-card-occupied .event-date { background: var(--sage); }
.event-card-occupied h3 { letter-spacing: 0; color: #263b2d; }
.event-image {
  width: 132px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.event-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tag, .chip, .admin-badge { display: inline-flex; min-height: 30px; align-items: center; border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 800; }
.tag { color: var(--wine-dark); background: #f4dedc; }
.tag-occupied { color: #24362c; background: #dfece2; }
.chip { border: 1px solid var(--line); background: var(--panel); text-decoration: none; }
.chip.active { color: #fff; border-color: var(--teal); background: var(--teal); }

.booking-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 430px); gap: clamp(24px, 5vw, 70px); align-items: start; background: var(--paper); }
.booking-copy { max-width: 720px; }
.booking-copy p:not(.eyebrow) { margin-top: 18px; font-size: 18px; }
.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(60, 33, 24, 0.08);
}
.contact-form .button { justify-self: start; }
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-panel { padding: 20px; }
.contact-row { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-row span { color: var(--muted); font-weight: 700; }
.contact-row a, .contact-row strong { font-weight: 800; text-align: right; }
.contact-panel .button { margin-top: 18px; }

.admin-section, .login-page { background: #22201f; color: #f8efe5; min-height: 100vh; }
.admin-section .eyebrow, .login-page .eyebrow { color: #f4bd62; }
.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 250, 242, 0.96);
  border-bottom: 1px solid rgba(234, 223, 210, 0.82);
  backdrop-filter: blur(16px);
}
.admin-top-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.admin-top-actions form { margin: 0; }
.admin-menu {
  position: sticky;
  top: 73px;
  z-index: 25;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: #2c2826;
  border-bottom: 1px solid rgba(255, 250, 242, 0.1);
}
.admin-menu-item {
  display: grid;
  gap: 2px;
  min-height: 64px;
  align-content: center;
  padding: 12px 14px;
  color: #f8efe5;
  border: 1px solid rgba(248, 239, 229, 0.14);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.08);
  text-decoration: none;
}
.admin-menu-item:hover,
.admin-menu-item.active {
  color: var(--ink);
  background: #f8efe5;
}
.admin-menu-item span {
  color: currentColor;
  opacity: 0.72;
  font-size: 13px;
}
.admin-heading { align-items: center; }
.admin-badge { color: #172d32; background: #cfe7e1; }
.admin-layout { display: grid; grid-template-columns: minmax(380px, 520px) minmax(0, 1fr); gap: 28px; align-items: start; }
.admin-form, .admin-table-wrap, .login-panel { color: var(--ink); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25); }
.admin-form, .login-panel { display: grid; gap: 14px; padding: 22px; overflow: hidden; }
.admin-form h2 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 24px;
}
.calendar-dashboard { display: grid; gap: 18px; }
.calendar-dashboard-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}
.calendar-filter-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr)) auto;
  gap: 10px;
  align-items: end;
  padding: 16px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.16);
}
.filter-actions {
  display: flex;
  gap: 8px;
}
.event-form-panel form { display: grid; gap: 14px; }
label { display: grid; min-width: 0; gap: 7px; color: #4c413e; font-size: 13px; font-weight: 800; }
input, select, textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: #fffdf9;
  color: var(--ink);
}
textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-row { display: flex; align-items: center; gap: 10px; }
.check-row input { width: auto; }
.current-image {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf5;
  color: var(--muted);
  font-size: 13px;
}
.current-image img {
  width: 86px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}
.field-hint { margin: 0; color: var(--muted); font-size: 13px; }
.occurrence-editor {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf5;
}
.occurrence-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.occurrence-list { display: grid; gap: 10px; }
.occurrence-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr) minmax(0, 0.85fr);
  gap: 10px;
  align-items: end;
}
.occurrence-remove { justify-self: start; }
.date-picker, .time-picker { min-height: 44px; }
.occurrence-remove:disabled { opacity: 0.45; cursor: not-allowed; }
.admin-table-wrap { overflow: hidden; }
.admin-table-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; border-bottom: 1px solid var(--line); }
.admin-table { display: grid; }
.admin-event-table { display: grid; overflow-x: auto; }
.admin-event-head,
.admin-event-row {
  display: grid;
  grid-template-columns: 132px 72px 130px minmax(220px, 1.2fr) minmax(170px, 0.9fr) 112px auto;
  gap: 14px;
  align-items: center;
  min-width: 1080px;
  padding: 14px 16px;
}
.admin-event-head {
  color: #657184;
  background: #f7f9fb;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.admin-event-row {
  border-bottom: 1px solid var(--line);
}
.admin-event-row:last-child { border-bottom: 0; }
.admin-event-row strong, .admin-event-row span { display: block; }
.admin-event-row span:not(.tag) { color: var(--muted); font-size: 13px; }
.admin-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.admin-row:last-child { border-bottom: 0; }
.admin-row strong, .admin-row span { display: block; }
.admin-row span { color: var(--muted); font-size: 13px; }
.row-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.row-actions form { margin: 0; }
.row-actions button, .row-actions a {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf5;
  color: var(--ink);
  cursor: pointer;
  padding: 8px 10px;
  font-weight: 800;
  text-decoration: none;
}
.row-actions a.active {
  color: #fff;
  border-color: var(--wine);
  background: var(--wine);
}
.row-actions .delete { color: var(--wine); }
.empty-state, .alert { padding: 18px; border-radius: 8px; }
.empty-state { color: var(--muted); text-align: center; }
.alert.success { color: #173c2b; background: #dff2e8; }
.alert.error { color: #6b131b; background: #f8d7da; }
.login-shell { display: grid; min-height: 100vh; place-items: center; padding: 22px; }
.login-card { width: min(100%, 430px); }
.login-card h1 { margin: 0 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: 42px; line-height: 1; }
.content-form { display: grid; gap: 18px; }
.content-group {
  padding: 20px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}
.content-group h2 { margin: 0 0 16px; font-size: 24px; }
.content-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 24px clamp(18px, 6vw, 86px); color: #f8efe5; background: #151211; }
.site-footer span { color: rgba(248, 239, 229, 0.68); }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { color: #f8efe5; }

.legal-page { background: #fffaf2; }
.legal-panel {
  max-width: 940px;
  padding: clamp(22px, 4vw, 40px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.legal-panel h2 { margin: 30px 0 8px; font-size: 24px; }
.legal-panel p { color: var(--muted); }
.legal-panel a { color: var(--wine); font-weight: 800; }
.legal-panel code { padding: 2px 5px; border-radius: 4px; background: #f3e7db; }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  overflow-wrap: anywhere;
}
.legal-table th, .legal-table td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.legal-table th { background: #fff5e8; }

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  width: min(720px, calc(100vw - 36px));
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 250, 242, 0.98);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(20, 13, 11, 0.22);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 5px 0 0; color: var(--muted); }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }

@media (max-width: 920px) {
  .main-nav { flex-wrap: wrap; justify-content: flex-end; }
  .admin-menu { grid-template-columns: 1fr; position: static; }
  .admin-topbar { position: static; align-items: start; flex-direction: column; }
  .hero, .calendar-layout, .booking-section, .admin-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .feature-grid, .gallery-strip { grid-template-columns: 1fr; }
  .section-heading { align-items: start; flex-direction: column; }
}

@media (max-width: 1180px) {
  .admin-layout { grid-template-columns: 1fr; }
  .calendar-dashboard-actions { grid-template-columns: 1fr; }
  .calendar-dashboard-actions > .button { justify-self: start; }
  .calendar-filter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding-inline: 14px;
  }
  .brand { min-width: 0; }
  .brand span:last-child { min-width: 0; }
  .brand strong, .brand small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-menu-toggle { display: inline-flex; }
  .main-nav {
    grid-column: 1 / -1;
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    width: 100%;
    transition: max-height 180ms ease;
  }
  .main-nav.is-open { max-height: 260px; }
  .main-nav a {
    display: block;
    min-width: 0;
    margin-top: 10px;
    padding: 13px 14px;
  }
  .main-nav > * {
    min-height: 0;
  }
  .admin-topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .admin-top-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .admin-mobile-toggle { grid-column: 1 / -1; justify-content: center; }
  .admin-top-actions .button,
  .admin-top-actions form,
  .admin-top-actions form button { width: 100%; justify-content: center; }
  .admin-menu {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    padding-block: 0;
    transition: max-height 180ms ease, padding-block 180ms ease;
  }
  .admin-menu.is-open {
    max-height: 340px;
    gap: 10px;
    padding-block: 12px;
  }
  .admin-menu-item {
    min-height: 0;
    overflow: hidden;
  }
  .hero { padding: 56px 18px 28px; }
  .hero h1 { font-size: 42px; }
  .section { padding-inline: 18px; }
  .event-card, .admin-row { grid-template-columns: 1fr; }
  .event-body { grid-template-columns: 1fr; }
  .event-image { width: min(100%, 260px); }
  .occurrence-row { grid-template-columns: 1fr; }
  .content-fields { grid-template-columns: 1fr; }
  .event-date { width: 88px; }
  .form-row { grid-template-columns: 1fr; }
  .calendar-filter-form { grid-template-columns: 1fr; }
  .filter-actions { flex-wrap: wrap; }
  .contact-row { display: grid; }
  .contact-row a, .contact-row strong { text-align: left; }
  .cookie-banner { grid-template-columns: 1fr; right: 12px; bottom: 12px; width: calc(100vw - 24px); }
  .cookie-actions { justify-content: start; }
  .legal-table { display: block; overflow-x: auto; }
}
