:root {
  --red: #8d0009;
  --red-deep: #6b0007;
  --cream: #fffff0;
  --yellow: #ffff7f;
  --yellow-soft: #fffbc4;
  --ink: #222;
  --ink-soft: #555;
  --line: #e7e2c8;
  --radius: 10px;
  --serif: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--red) url("assets/bg1.gif") repeat;
  color: var(--ink);
  font: 17px/1.55 var(--sans);
}

a { color: var(--red); }
a:hover { color: var(--red-deep); }
img { max-width: 100%; height: auto; display: block; }

.page {
  max-width: 1120px;
  margin: 24px auto;
  padding: 14px;
  background: var(--cream);
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}

/* Header and menu */
.masthead {
  background: var(--red);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 18px 20px;
}
.masthead__logo { display: block; max-width: 760px; }

.menu {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 4px 12px;
}
.menu ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu ul a {
  display: block;
  padding: 10px 16px;
  color: #000;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
}
.menu ul a:hover { background: rgba(141, 0, 9, .1); color: var(--red); }
.menu__fb { color: #1877f2; display: flex; }

/* Moving notice */
.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 16px 0 0;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--red);
  border-radius: var(--radius);
}
.notice svg { color: var(--red); flex: none; margin-top: 2px; }
.notice strong { color: var(--red); }
.notice__extra { display: block; margin-top: 4px; font-weight: 600; }

/* Layout */
.layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 20px;
  margin-top: 20px;
}
.main { grid-column: 2; grid-row: 1; min-width: 0; }
.sidebar { grid-column: 1; grid-row: 1; }

.section-title {
  margin: 0;
  font: 700 30px/1.2 var(--serif);
  color: var(--red);
  text-align: center;
}
.section-sub {
  margin: 4px 0 18px;
  text-align: center;
  color: var(--ink-soft);
}

/* Show cards */
.shows {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.show {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.show:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 0, 0, .12); }
.show__media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--red-deep);
  cursor: pointer;
  aspect-ratio: 4 / 3;
}
.show__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.date-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 54px;
  text-align: center;
  background: var(--cream);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
  line-height: 1;
}
.date-badge span { display: block; padding: 5px 0 4px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.date-badge b { display: block; padding: 6px 0; font-size: 22px; color: var(--ink); }
.show__body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.show__name { margin: 0; font-size: 19px; line-height: 1.25; }
.show__tagline { margin: 2px 0 0; color: var(--ink-soft); font-size: 15px; }
.show__when { margin: 10px 0 0; font-weight: 600; font-size: 15px; }
.show__price { margin: 2px 0 14px; color: var(--ink-soft); font-size: 15px; }
.show__actions { display: flex; gap: 8px; margin-top: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 2px solid var(--red);
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font: 700 15px/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--red); }
.btn--ghost:hover { background: var(--yellow-soft); color: var(--red); border-color: var(--red); }
.show__actions .btn { flex: 1; }

/* Panels */
.panel {
  margin-top: 28px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.panel .section-title { text-align: left; font-size: 24px; margin-bottom: 10px; }
.lead { margin-top: 0; }
.facts { margin: 12px 0 0; padding-left: 20px; }
.ticket-box {
  padding: 14px 16px;
  background: var(--yellow-soft);
  border-radius: 8px;
}
.ticket-box p { margin: 0 0 6px; }
.ticket-box p:last-child { margin-bottom: 0; }

.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.contact h3 { margin: 0 0 4px; font-size: 15px; text-transform: uppercase; letter-spacing: .05em; color: var(--red); }
.contact p { margin: 0; }

/* Sidebar */
.sidebar {
  align-self: start;
  padding: 10px;
  background: var(--red);
  border-radius: var(--radius);
}
.sidebar__photo { width: 100%; border-radius: 6px; }
.sidebar__box {
  margin-top: 10px;
  padding: 12px 14px;
  background: var(--yellow);
  border-radius: 6px;
}
.sidebar__box h2 { margin: 0 0 8px; font: 700 18px/1.2 var(--serif); color: var(--red); text-align: center; }
.next-up { margin: 0; padding: 0; list-style: none; }
.next-up li { border-top: 1px dashed rgba(0, 0, 0, .2); }
.next-up li:first-child { border-top: 0; }
.next-up a { display: flex; gap: 10px; padding: 8px 0; color: var(--ink); text-decoration: none; }
.next-up a:hover strong { color: var(--red); text-decoration: underline; }
.next-up time { flex: none; width: 38px; text-align: center; font-size: 11px; font-weight: 700; line-height: 1.1; color: var(--red); }
.next-up time b { display: block; font-size: 18px; color: var(--ink); }
.next-up strong { font-size: 14px; line-height: 1.3; }
.sidebar__about { font-size: 14px; text-align: center; }
.sidebar__about p { margin: 0 0 10px; }
.sidebar__about img { margin: 0 auto; border-radius: 4px; }

.footer {
  margin-top: 20px;
  padding: 14px;
  background: var(--yellow);
  border-radius: var(--radius);
  text-align: center;
  font-size: 15px;
}
.footer p { margin: 0; }
.footer p + p { margin-top: 6px; }
.footer__links { font-weight: 600; }
.footer__credit { font-size: 13px; color: var(--ink-soft); }

.noscript { padding: 16px; background: var(--yellow-soft); border-radius: 8px; }

/* Show details dialog */
.show-dialog {
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.show-dialog::backdrop { background: rgba(40, 0, 3, .7); }
.show-dialog__close {
  position: sticky;
  top: 10px;
  float: right;
  margin: 10px 10px 0 0;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}
.detail__hero { background: var(--red-deep); }
.detail__hero img { max-height: 420px; width: auto; margin: 0 auto; }
.detail__body { padding: 20px 26px 26px; }
.detail__body h2 { margin: 0; font: 700 26px/1.2 var(--serif); color: var(--red); }
.detail__tagline { margin: 4px 0 0; font-size: 18px; color: var(--ink-soft); }
.detail__meta {
  display: grid;
  gap: 4px;
  margin: 16px 0;
  padding: 12px 16px;
  background: var(--yellow-soft);
  border-radius: 8px;
}
.detail__meta p { margin: 0; }
.detail__desc p { margin: 0 0 12px; }
.detail__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }

@media (max-width: 820px) {
  .page { margin: 0; border-radius: 0; padding: 10px; }
  .layout { grid-template-columns: 1fr; }
  .main, .sidebar { grid-column: 1; grid-row: auto; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .sidebar__photo { grid-row: span 2; height: 100%; object-fit: cover; }
  .sidebar__box { margin-top: 0; }
  .sidebar > .sidebar__box:nth-of-type(1) { display: none; }
  .menu { flex-wrap: wrap; justify-content: center; }
  .menu ul a { padding: 8px 10px; font-size: 15px; }
  .section-title { font-size: 25px; }
  .panel { padding: 18px; }
  .detail__body { padding: 18px; }
}

@media (max-width: 480px) {
  .masthead { padding: 12px; }
  .sidebar { grid-template-columns: 1fr; }
  .sidebar__photo { display: none; }
}

/* Sold-out and low-seat flags on show cards */
.flag {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: #000;
  font-size: 13px;
  font-weight: 700;
}
.flag--off { background: #fff; color: var(--red); }

/* Ticket purchase form in the show dialog */
.buy {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 2px solid var(--red);
  border-radius: 10px;
}
.buy h3 { margin: 0; font: 700 20px/1.2 var(--serif); color: var(--red); }
.buy__type {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: var(--yellow-soft);
  border-radius: 8px;
}
.buy__type label { display: grid; }
.buy__type span { font-size: 14px; color: var(--ink-soft); }
.buy select, .buy input {
  font: 17px var(--sans);
  padding: 9px 10px;
  border: 1px solid #bbb;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.buy select { min-width: 70px; }
.buy__field { display: grid; gap: 4px; }
.buy__field label { font-weight: 600; font-size: 15px; }
.buy__total { margin: 0; font-weight: 700; }
.buy__error { margin: 0; color: var(--red); font-weight: 700; }
.buy__error:empty { display: none; }
.buy__fine { margin: 0; font-size: 14px; color: var(--ink-soft); }
.btn--big { padding: 14px 20px; font-size: 17px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.detail__video { position: relative; margin: 18px 0; aspect-ratio: 16 / 9; }
.detail__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 8px; }

.detail__links { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.detail__links a { display: inline-block; padding: 7px 14px; border: 2px solid var(--red); border-radius: 999px; font-weight: 700; text-decoration: none; }
.detail__links a:hover { background: var(--yellow-soft); }
.buy__names { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 420px) { .buy__names { grid-template-columns: 1fr; } }

/* Content pages (About, Visit, Rent, Performers) */
.content-page { margin-top: 20px; display: grid; gap: 20px; }
.content-page .panel { margin-top: 0; }
.content-page .section-title { text-align: left; margin-bottom: 12px; }
.content-page h2:not(.section-title) { margin: 22px 0 8px; font: 700 22px/1.25 var(--serif); color: var(--red); }
.content-page .ticket-box h2:not(.section-title) { margin-top: 0; }
.content-page h3 { margin: 16px 0 6px; font-size: 18px; }
.content-page p, .content-page li { max-width: 72ch; }
.content-page ul { padding-left: 22px; }
.content-page li { margin-bottom: 4px; }
.split { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.split--reverse { grid-template-columns: 300px 1fr; }
.photo { margin: 0; }
.photo img { width: 100%; border-radius: 10px; box-shadow: 0 4px 16px rgba(0, 0, 0, .15); }
.photo figcaption { margin-top: 6px; font-size: 14px; color: var(--ink-soft); text-align: center; }
.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px 28px; }
.columns--4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.map { position: relative; aspect-ratio: 16 / 9; margin: 14px 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--yellow-soft); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.award { display: flex; align-items: center; gap: 16px; margin-top: 18px; font-weight: 600; }
.award img { flex: none; border-radius: 6px; }
.menu ul a[aria-current="page"] { background: rgba(141, 0, 9, .12); color: var(--red); }
.policy { margin-top: 12px; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 820px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .photo { max-width: 340px; margin: 0 auto; }
  .award { flex-direction: column; text-align: center; }
}
/* Comfortable tap target for the Facebook icon */
.menu__fb { padding: 10px; margin: -4px 0; border-radius: 8px; }
.buy__optin { display: flex; gap: 10px; align-items: center; font-size: 16px; padding: 4px 0; }
.buy__optin input { width: 20px; height: 20px; accent-color: var(--red); }
/* Mailing list page */
.signup__perks { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 6px; }
.signup__perks li { position: relative; padding-left: 28px; font-weight: 600; }
.signup__perks li::before { content: "★"; position: absolute; left: 0; top: 0; color: var(--red); }
.signup__form { max-width: 520px; }
.signup__title { margin: 0; font: 700 20px/1.2 var(--serif); color: var(--red); }
.content-page .signup__title { margin: 0; font-size: 20px; }
.signup__opt { font-weight: 400; color: var(--ink-soft); }
.signup__form .btn--big { width: 100%; }
.signup__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup__done { max-width: 520px; padding: 22px; text-align: center; background: var(--yellow-soft); border: 2px solid var(--red); border-radius: 10px; color: var(--red); outline: none; }
.content-page .signup__done h2 { margin: 8px 0 6px; }
.signup__done p { color: var(--ink); margin: 0 auto 10px; }
/* Privacy Policy and Ticket Terms */
.legal__updated { margin: -6px 0 14px; font-size: 14px; color: var(--ink-soft); }
.signup__form[hidden] { display: none; }
.human-check:empty { display: none; }
.human-check { display: flex; justify-content: center; max-width: 100%; overflow: hidden; }
.detail__buy { width: 100%; }
.show { cursor: pointer; }
/* Contact form */
.contact-form { max-width: 640px; }
.contact-form textarea, .contact-form select { font: 17px var(--sans); padding: 9px 10px; border: 1px solid #bbb; border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.contact-form .buy__names[hidden] { display: none; }
.contact-form[hidden] { display: none; }
/* Promo code in the ticket form */
.buy__promo-link { justify-self: start; font-size: 15px; }
.buy__promo[hidden], .buy__promo-link[hidden] { display: none; }
.buy__promo-row { display: flex; gap: 8px; }
.buy__promo-row input { flex: 1; min-width: 0; text-transform: uppercase; }
.buy__promo-note { margin: 6px 0 0; font-weight: 700; font-size: 15px; }
.link-btn { padding: 0; border: 0; background: none; color: var(--red); font: inherit; text-decoration: underline; cursor: pointer; }
.detail__video video { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 8px; background: #000; }
