:root {
  /* Figma regarts.fig — dark charcoal + vivid crimson */
  --bg: #0a0a0a;
  --bg-deep: #050505;
  --panel: rgba(10, 10, 10, 0.82);
  --surface: rgba(18, 18, 18, 0.88);
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --brand: #ff1f3d;
  --brand-hover: #ff4d63;
  --brand2: #b30f24;
  --brand-soft: rgba(255, 31, 61, 0.14);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.18);
  --glow-brand: rgba(255, 31, 61, 0.42);
  --font-display: "Bebas Neue", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  background:
      radial-gradient(980px 520px at 12% -5%, var(--glow-brand), transparent 52%),
      radial-gradient(720px 420px at 88% 8%, rgba(179, 15, 36, 0.38), transparent 55%),
      radial-gradient(900px 480px at 50% 100%, rgba(255, 31, 61, 0.12), transparent 60%),
      repeating-radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.028) 0 2px, transparent 2px 12px),
      linear-gradient(180deg, #101010 0%, var(--bg) 42%, var(--bg-deep) 100%);
  color: var(--text);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

button, .btn {
  font-family: inherit;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}

.container--portal {
  max-width: 1280px;
}

.brand-link {
  text-decoration: none;
  color: inherit;
}
.brand-link:hover {
  text-decoration: none;
  opacity: 0.92;
}

.nav--portal {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.navlinks--portal {
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: min(100%, 640px);
}

.navlinks--portal a {
  text-transform: none;
  letter-spacing: 0.03em;
  font-size: 13px;
  font-weight: 600;
}

.navlinks--portal-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 18px;
}

.portal-top-user {
  font-size: 13px;
  color: var(--muted);
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 4px;
}

/* Staff + customer portal: sidebar + main */
.portal-shell {
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-height: calc(100vh - 140px);
  margin-top: 8px;
}

.portal-sidebar {
  flex: 0 0 232px;
  position: sticky;
  top: 20px;
  align-self: flex-start;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 12px 16px;
  background: var(--surface);
  backdrop-filter: blur(10px);
}

.portal-sidebar__title {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px 10px;
  font-weight: 800;
}

.portal-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.portal-sidebar__nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
}

.portal-sidebar__nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.portal-sidebar__nav a.is-active {
  font-weight: 800;
  background: var(--brand-soft);
  border-color: rgba(255, 31, 61, 0.45);
  box-shadow: 0 0 20px rgba(255, 31, 61, 0.12);
}

.portal-sidebar__meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  padding-left: 12px;
  padding-right: 8px;
  line-height: 1.45;
  word-break: break-word;
}

.portal-sidebar__role {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: #d1d5db;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.portal-main {
  flex: 1;
  min-width: 0;
  padding: 0 0 32px 28px;
}

.portal-main .form {
  max-width: none;
}

.footer--portal {
  margin-top: auto;
  padding-top: 20px;
}

.section {
  margin-top: 22px;
}

.section-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  margin: 0 0 18px 0;
  text-transform: uppercase;
  color: var(--text);
}

.section--past-events {
  position: relative;
  padding-top: 8px;
}
.past-events-title-bg {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 9vw, 4.75rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 -0.42em 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 31, 61, 0.22);
  text-stroke: 1px rgba(255, 31, 61, 0.22);
  pointer-events: none;
  user-select: none;
}
.section-title--past {
  position: relative;
  z-index: 1;
  margin-bottom: 22px;
}
.section-title--past::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: var(--brand);
  box-shadow: 0 0 18px var(--glow-brand);
}
.past-events-grid {
  margin-top: 8px;
}
.past-event-tile {
  display: flex;
  flex-direction: column;
}
.past-event-thumb {
  aspect-ratio: 1 / 1;
  width: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(0, 0, 0, 0.35);
}
.past-event-tile .event-actions .btn.primary {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.nav--site {
  flex-wrap: wrap;
  row-gap: 14px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.brand-logo-link:hover {
  text-decoration: none;
  opacity: 0.92;
}
.brand-logo-img {
  height: 72px;
  width: auto;
  max-width: min(300px, 52vw);
  display: block;
  object-fit: contain;
  object-position: left center;
}
.brand-logo-link--portal .brand-logo-img {
  height: 48px;
  max-width: 220px;
}

.nav__main {
  flex: 1 1 200px;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.navlinks--site {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  backdrop-filter: none;
}
.navlinks--site a {
  text-transform: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.92;
}
.navlinks--site a:hover {
  color: var(--text);
  text-decoration: none;
  opacity: 1;
}
.navlinks--site a.active {
  color: var(--brand);
  font-weight: 800;
  text-shadow: 0 0 20px var(--glow-brand);
  opacity: 1;
}

.nav__end {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Account menu (round avatar + dropdown) */
.nav-user-menu {
  position: relative;
}
.nav-user-menu__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  color: inherit;
  border-radius: 999px;
}
.nav-user-menu__summary::-webkit-details-marker {
  display: none;
}
.nav-user-menu__summary::marker {
  content: "";
}
.nav-user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  background: linear-gradient(145deg, rgba(255, 31, 61, 0.38), rgba(18, 18, 18, 0.96));
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #fafafa;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.nav-user-avatar--guest {
  background: rgba(28, 28, 28, 0.96);
  color: #c4c4c4;
}
.nav-user-avatar__icon {
  display: block;
  flex-shrink: 0;
}
.nav-user-menu[open] .nav-user-avatar {
  border-color: rgba(255, 31, 61, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 31, 61, 0.2), 0 6px 20px rgba(0, 0, 0, 0.5);
}
.nav-user-menu__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 248px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  z-index: 90;
}
.nav-user-menu__header {
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
}
.nav-user-menu__name {
  margin: 0 0 4px 0;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.3;
}
.nav-user-menu__email {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  word-break: break-word;
}
.nav-user-menu__links {
  display: flex;
  flex-direction: column;
  padding: 6px 0 8px;
}
.nav-user-menu__links a {
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
}
.nav-user-menu__links a:hover {
  background: rgba(255, 31, 61, 0.1);
  text-decoration: none;
  color: var(--text);
}
.nav-user-menu__links a.is-active {
  color: var(--brand);
  font-weight: 800;
}

.btn--subscribe {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 800;
  padding: 11px 22px;
  border-radius: 999px;
  white-space: nowrap;
}
.btn--subscribe:hover {
  text-decoration: none;
}
.btn--nav-cta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  white-space: nowrap;
  text-decoration: none;
}
.btn--nav-cta:hover {
  text-decoration: none;
  border-color: rgba(255, 31, 61, 0.45);
  color: var(--text);
}

.nav__account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.nav__account a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
  text-decoration: none;
}
.nav__account a:hover {
  opacity: 1;
  color: var(--brand);
  text-decoration: none;
}
.nav__account a.active {
  color: var(--brand);
  opacity: 1;
}
.nav__account-sep {
  opacity: 0.35;
  user-select: none;
}

@media (max-width: 900px) {
  .nav--site .nav__main {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
  }
  .nav--site .nav__end {
    margin-left: auto;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-color: var(--border-strong);
  box-shadow: 0 0 32px rgba(255, 31, 61, 0.15);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  backdrop-filter: blur(8px);
}

.navlinks { display: flex; gap: 10px; flex-wrap: wrap; }
.navlinks a {
  opacity: 0.88;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.navlinks a:hover { opacity: 1; text-decoration: none; color: var(--text); }
.navlinks a.active {
  opacity: 1;
  font-weight: 800;
  color: var(--brand);
  text-shadow: 0 0 24px var(--glow-brand);
}

.hero {
  position: relative;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 28px 28px 26px;
  background: linear-gradient(135deg, rgba(255, 31, 61, 0.08) 0%, var(--surface) 38%, rgba(10, 10, 10, 0.95) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 31, 61, 0.12),
    0 24px 64px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(255, 31, 61, 0.08);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 280px at 20% 0%, var(--glow-brand), transparent 65%);
  opacity: 0.35;
  pointer-events: none;
}

.hero > * { position: relative; z-index: 1; }

.hero h1 {
  margin: 0 0 12px 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.85rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.05;
  text-transform: uppercase;
}
.hero p { margin: 0; color: var(--muted); max-width: 62ch; font-size: 15px; }

.hub-breadcrumb {
  margin: 0 0 16px 0;
  font-size: 13px;
  color: var(--muted);
}
.hub-breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
}
.hub-breadcrumb__list li { display: inline; }
.hub-breadcrumb__list a {
  color: var(--brand);
  text-decoration: none;
}
.hub-breadcrumb__list a:hover { text-decoration: underline; }

.hub-hero p + p { margin-top: 12px; }

.hubs-index__list {
  list-style: none;
  margin: 12px 0 0 0;
  padding: 0;
}
.hubs-index__list li {
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.hubs-index__list li:last-child { border-bottom: none; }
.hubs-index__link {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
.hubs-index__link:hover { color: var(--brand); }

@media (max-width: 900px) {
  .hubs-index.grid > .hubs-index__col {
    grid-column: 1 / -1 !important;
  }
}

/* Deep link from home CTA: scroll to listings below hero */
.upcoming-events-list {
  scroll-margin-top: 96px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.card {
  grid-column: span 6;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  border-color: rgba(255, 31, 61, 0.28);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.card h3 { margin: 0 0 6px 0; }
.card p { margin: 0; color: var(--muted); }

.prose { color: var(--text); }
.prose p { margin: 0 0 12px 0; color: var(--muted); }
.prose p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { margin: 8px 0 12px 20px; color: var(--muted); }
.prose li { margin: 4px 0; }
.prose a { color: #fde68a; text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: #fff; }
.prose strong, .prose b { color: var(--text); }

.about-grid .about-card { grid-column: span 12; padding: 0; overflow: hidden; }
.about-card--split { display: grid; grid-template-columns: 1.15fr 1fr; }
.about-card__visual { min-height: 320px; background: rgba(0,0,0,0.2); }
.about-card__body { padding: 20px; }
.about-card__visual--portrait {
  background-color: rgba(0, 0, 0, 0.35);
  background-image:
    radial-gradient(900px 340px at 40% 0%, rgba(255, 31, 61, 0.22), transparent 60%),
    linear-gradient(135deg, rgba(255,31,61,0.18), rgba(0,0,0,0.75)),
    url('/assets/img/about-portrait.png');
  background-size: 100% 100%, 100% 100%, contain;
  background-position: center;
  background-repeat: no-repeat;
}
.about-card__visual--stage {
  background-color: rgba(0, 0, 0, 0.35);
  background-image:
    radial-gradient(900px 340px at 40% 0%, rgba(255, 31, 61, 0.22), transparent 60%),
    linear-gradient(135deg, rgba(255,31,61,0.14), rgba(0,0,0,0.78)),
    url('/assets/img/about-stage.webp');
  background-size: 100% 100%, 100% 100%, contain;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 860px) {
  .about-card--split { grid-template-columns: 1fr; }
  .about-card__visual { min-height: 260px; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.about-card--updates {
  grid-column: span 12;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border, #2a2a32);
  border-radius: 14px;
  background: #000;
}
.about-updates__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: 420px;
}
.about-updates__visual {
  min-height: 280px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.72) 100%),
    url("https://images.unsplash.com/photo-1514525253161-7a46d19cd819?w=900&q=80") center/cover no-repeat;
  border-radius: 14px 0 0 14px;
}
.about-updates__body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #000;
  box-sizing: border-box;
}
.about-updates__title {
  color: #fff;
  text-transform: none;
}
.about-updates__form.subscribe-modal__form .subscribe-modal__fields {
  grid-template-columns: 1fr 1fr;
}
.about-updates__form.subscribe-modal__form .field label.sr-only + input,
.about-updates__form.subscribe-modal__form .field label.sr-only + textarea {
  margin-top: 0;
}
.about-updates__form.subscribe-modal__form .field input,
.about-updates__form.subscribe-modal__form .field textarea {
  margin-top: 0;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #3a3a3a;
  background: #2b2b2b;
  color: #f3f4f6;
  font-size: 15px;
}
.about-updates__form.subscribe-modal__form .field input::placeholder,
.about-updates__form.subscribe-modal__form .field textarea::placeholder {
  color: #9ca3af;
}
.about-updates__form.subscribe-modal__form .field input:focus,
.about-updates__form.subscribe-modal__form .field textarea:focus {
  outline: none;
  border-color: rgba(255, 31, 61, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 31, 61, 0.25);
}
.about-updates__field-message {
  grid-column: 1 / -1;
}
.about-updates__form.subscribe-modal__form .about-updates__field-message textarea {
  min-height: 48px;
  max-height: 120px;
  resize: vertical;
  line-height: 1.4;
}
.about-updates__privacy {
  color: #fff;
  font-weight: 500;
}
.about-updates__privacy a {
  color: var(--brand, #ff1f3d);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.about-updates__privacy a:hover {
  color: #ff6b7e;
}
.about-updates__actions {
  justify-content: flex-start !important;
  margin-top: 12px;
}
.btn--about-updates-submit {
  min-width: 140px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 800;
  padding: 12px 28px;
  background: #c62828;
  border-color: #c62828;
}
.btn--about-updates-submit:hover {
  filter: brightness(1.08);
  text-decoration: none;
}
.about-updates__success {
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(46, 160, 67, 0.15);
  border: 1px solid rgba(46, 160, 67, 0.35);
}
.about-updates__success-msg {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #b6f0c8;
}
@media (max-width: 860px) {
  .about-updates__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .about-updates__visual {
    min-height: 200px;
    border-radius: 14px 14px 0 0;
  }
  .about-updates__body {
    padding: 22px 18px 28px;
  }
  .about-updates__form.subscribe-modal__form .subscribe-modal__fields {
    grid-template-columns: 1fr;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}
.btn.primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(180deg, var(--brand-hover) 0%, var(--brand) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 10px 36px var(--glow-brand);
}
.btn.primary:hover {
  color: #fff;
  background: linear-gradient(180deg, #ff6b7a 0%, var(--brand-hover) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 14px 44px var(--glow-brand);
  text-decoration: none;
}

.table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}
.table th, .table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.table th { text-align: left; color: #d1d5db; font-size: 13px; }
.table td { color: #e5e7eb; }
.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: #d1d5db;
  font-size: 12px;
}
.badge.green { border-color: rgba(34,197,94,0.35); color: #86efac; }
.badge.yellow { border-color: rgba(234,179,8,0.35); color: #fde68a; }
.badge.red { border-color: rgba(239,68,68,0.35); color: #fca5a5; }

.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.spacer { height: 18px; }

/* Homepage commercial strip (Phase C) */
.home-commercial {
  margin-top: 8px;
  margin-bottom: 8px;
}
.home-commercial__inner {
  padding: 22px 24px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.home-commercial__title {
  margin: 0 0 10px 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.home-commercial__lead {
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 62ch;
}
.home-commercial__actions {
  justify-content: center;
}

/* Services hub & detail */
.services-hub {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}
.services-hub__card {
  display: block;
  padding: 20px 22px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.services-hub__card:hover {
  text-decoration: none;
  border-color: rgba(255, 31, 61, 0.28);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}
.services-hub__card-title {
  margin: 0 0 10px 0;
  font-size: 17px;
  font-weight: 800;
}
.services-hub__card-lead {
  margin: 0 0 14px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.services-hub__card-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
}
.service-detail-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 22px 24px;
}
@media (max-width: 720px) {
  .services-hub {
    grid-template-columns: 1fr;
  }
}

.form {
  max-width: 720px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  background: var(--surface);
}
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; color: #d4d4d4; margin-bottom: 6px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: rgba(5, 5, 5, 0.75);
  color: var(--text);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: rgba(255, 31, 61, 0.55);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.field textarea { min-height: 120px; resize: vertical; }

/* Native date/time pickers (admin & forms): keep calendar UI usable on dark theme */
.form input[type="date"],
.form input[type="time"],
.form input[type="datetime-local"] {
  color-scheme: dark;
  min-height: 44px;
}

/* Home: move collaboration block below upcoming on mobile */
@media (max-width: 720px) {
  .home-sections {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .home-featured { order: 1; }
  .home-upcoming { order: 2; }
  .home-commercial { order: 3; }
}

/* Contact page */
.contact-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 0 20px;
}
.contact-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border, #2a2a32);
  background: #000;
}
.contact-page__header {
  text-align: center;
  padding: 8px 16px 18px;
  margin: 0 0 4px;
}
.contact-page__title {
  margin: 0 auto 10px;
  max-width: 100%;
  font-family: var(--font-display, "Bebas Neue", sans-serif);
  font-size: clamp(1.5rem, 3.2vw, 2.35rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.1;
  color: #fff;
  text-transform: uppercase;
}
.contact-page__meta {
  color: #fff;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 10px;
}
.contact-page__meta--inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 0;
}
.contact-page__meta-sep {
  color: var(--muted);
  margin: 0 10px;
  user-select: none;
}
.contact-page__meta p {
  margin: 0;
}
.contact-page__meta-label {
  color: var(--muted);
  margin-right: 6px;
}
.contact-page__meta a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.contact-page__meta a:hover {
  color: var(--brand, #ff1f3d);
}
.contact-page__social {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-page__social .social-link {
  width: 40px;
  height: 40px;
}
.contact-page__social .social-link svg {
  width: 18px;
  height: 18px;
}
.contact-page__visual {
  position: relative;
  min-width: 0;
  min-height: 260px;
  background: #0a0a0a;
  overflow: hidden;
  display: flex;
  border-right: 1px solid var(--border, #2a2a32);
}
.contact-page__visual-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  flex: 1;
  object-fit: cover;
  object-position: center 35%;
}
.contact-page__form-col {
  padding: 16px 18px 18px;
  box-sizing: border-box;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}
.contact-page__form-panel {
  background: rgba(24, 24, 28, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 18px 18px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.contact-page__form-title {
  margin: 0 0 12px 0;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}
.contact-page__notice {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 12px;
}
.contact-page__notice--ok {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
}
.contact-page__notice--err {
  background: rgba(255, 31, 61, 0.12);
  border: 1px solid rgba(255, 31, 61, 0.35);
  color: #ffb4bc;
}
.contact-page__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}
.contact-page__form .field {
  margin-bottom: 0;
}
.contact-page__form .field input,
.contact-page__form .field textarea,
.contact-page__form .field select {
  margin-top: 0;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #3a3a3a;
  background: #2b2b2b;
  color: #f3f4f6;
  font-size: 14px;
}
.contact-page__form .field label:not(.sr-only) {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #d4d4d4;
  margin-bottom: 6px;
}
.contact-page__form .field select {
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.contact-page__form .field input::placeholder,
.contact-page__form .field textarea::placeholder {
  color: #9ca3af;
}
.contact-page__form .field input:focus,
.contact-page__form .field textarea:focus,
.contact-page__form .field select:focus {
  outline: none;
  border-color: rgba(200, 50, 50, 0.55);
  box-shadow: 0 0 0 1px rgba(200, 50, 50, 0.2);
}
.contact-page__city-inquiry {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
  align-items: start;
}
.contact-page__city-inquiry .field {
  margin-bottom: 0;
}
.contact-page__field-message {
  grid-column: 1 / -1;
}
.contact-page__form .contact-page__field-message textarea {
  min-height: 88px;
  resize: vertical;
}
.contact-page__submit-wrap {
  margin-top: 12px;
}
.contact-page__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  border-radius: 999px;
  padding: 12px 24px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid #b82828;
  background: #c52f2f;
  color: #fff;
  box-shadow: 0 2px 12px rgba(197, 47, 47, 0.35);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-page__submit:hover {
  background: #d63a3a;
  border-color: #c52f2f;
  color: #fff;
  box-shadow: 0 4px 18px rgba(197, 47, 47, 0.45);
  text-decoration: none;
}
.contact-page__submit:focus-visible {
  outline: 2px solid rgba(255, 80, 90, 0.85);
  outline-offset: 2px;
}
@media (max-width: 860px) {
  .contact-page__layout {
    grid-template-columns: 1fr;
  }
  .contact-page__visual {
    border-right: none;
    border-bottom: 1px solid var(--border, #2a2a32);
    min-height: 200px;
    max-height: 48vw;
  }
  .contact-page__header {
    padding: 8px 12px 14px;
  }
  .contact-page__meta--inline {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
  }
  .contact-page__social {
    justify-content: center;
  }
  .contact-page__visual-img {
    min-height: 200px;
    max-height: 48vw;
    object-position: center 40%;
  }
  .contact-page__fields {
    grid-template-columns: 1fr;
  }
  .contact-page__city-inquiry {
    grid-template-columns: 1fr;
  }
  .contact-page__meta-sep {
    display: none;
  }
}

/* Footer: Stay Connected banner */
.footer-connect {
  position: relative;
  width: 100vw;
  /* Do not use max-width: 100% here — it resolves against .container and caps width
     while margin-left still breaks out left, so the banner looks off-center. */
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 36px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0;
}
.footer-connect__bg {
  position: absolute;
  inset: 0;
  background-color: #1a0f0a;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.72) 100%),
    url("/assets/img/footer-stay-connected.png");
  background-size: cover;
  background-position: center 40%;
  filter: saturate(0.85) contrast(1.05);
}
.footer-connect__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 48px 24px;
  max-width: 720px;
}
.footer-connect__title {
  margin: 0 0 22px 0;
  font-family: var(--font-display, "Bebas Neue", sans-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65);
}
.footer-connect__social {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  text-decoration: none;
}
.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
  text-decoration: none;
  color: #fff;
}
.footer-connect .social-link {
  width: 52px;
  height: 52px;
}
.social-link--facebook {
  background: #1877f2;
}
.social-link--telegram {
  background: #2aabee;
}
.social-link--instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.social-link--x {
  background: #000;
}
.social-link--youtube {
  background: #ff0000;
}
.social-link--linkedin {
  background: #0a66c2;
}
.social-link--tiktok {
  background: #000;
}
.social-link--threads {
  background: #fff;
  color: #000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.social-link--threads:hover {
  color: #000;
}
.social-link--bluesky {
  background: #0085ff;
}
.social-link--discord {
  background: #5865f2;
}
.social-link--custom {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: none;
}
.social-link--custom:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
}

.footer {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}
.footer-connect + .footer {
  margin-top: 0;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

/* 404 — page not found */
.error404 {
  text-align: center;
  padding: clamp(28px, 6vw, 56px) 16px 8px;
  max-width: 640px;
  margin: 0 auto;
}
.error404__heading {
  margin: 0 0 8px 0;
  font-weight: 800;
  font-size: clamp(1.15rem, 2.8vw, 1.4rem);
  letter-spacing: 0.04em;
  color: var(--text);
}
.error404__kicker {
  display: inline-block;
}
.error404__stage {
  position: relative;
  width: min(100%, 400px);
  height: min(72vw, 320px);
  max-height: 360px;
  margin: 8px auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.error404__circle {
  position: absolute;
  inset: 4% 6%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 49, 61, 0.95) 0%, var(--brand2) 48%, #3d060e 100%);
  box-shadow:
    0 0 100px rgba(255, 31, 61, 0.22),
    inset 0 0 60px rgba(0, 0, 0, 0.35);
}
.error404__code {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.25rem, 22vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: 0.06em;
  color: #ebe6dc;
  text-shadow: 0 6px 48px rgba(0, 0, 0, 0.75);
  transform: translateY(-6%);
}
.error404__cone {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 2%;
  transform: translateX(-50%);
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.55));
}
.error404__deco {
  position: absolute;
  z-index: 3;
  width: 22px;
  height: 22px;
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.error404__deco::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 18px solid rgba(255, 255, 255, 0.22);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
}
.error404__deco::after {
  content: "!";
  position: relative;
  z-index: 1;
  line-height: 1;
}
.error404__deco--tl {
  top: 10%;
  left: 8%;
  transform: rotate(-12deg);
}
.error404__deco--tr {
  top: 14%;
  right: 6%;
  transform: rotate(8deg);
}
.error404__deco--bl {
  bottom: 18%;
  left: 4%;
  transform: rotate(6deg);
}
.error404__lead {
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 34em;
}

/* Thank you (post-purchase landing, e.g. Ticket Tailor) */
.regarts-thanks {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(32px, 7vw, 60px) 20px 48px;
  text-align: center;
}
.regarts-thanks .card {
  padding: clamp(28px, 5vw, 40px) clamp(20px, 4vw, 32px);
  text-align: center;
}
.regarts-thanks h2 {
  margin: 0 0 12px 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.1rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
}
.regarts-thanks .muted {
  margin: 0 auto;
  max-width: 42ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
}
.regarts-thanks__order {
  margin-top: 24px;
}
.regarts-thanks h3 {
  margin: 0 0 10px 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand);
}
.regarts-thanks .meta-list {
  list-style: none;
  margin: 8px auto 0;
  padding: 0;
  max-width: 480px;
  border-top: 1px solid var(--border);
  text-align: left;
}
.regarts-thanks .meta-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--muted);
}
.regarts-thanks .meta-list strong {
  color: var(--text);
  font-weight: 600;
}
.regarts-thanks .cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.regarts-thanks .cta-row .btn:not(.primary) {
  border: 1px solid var(--brand);
  background: transparent;
}
.regarts-thanks .cta-row .btn:not(.primary):hover {
  border-color: var(--brand-hover);
  background: var(--brand-soft);
}

.carousel-shell {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}
.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.carousel { scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel-item {
  scroll-snap-align: start;
  overflow: hidden;
  display: block;
}
.carousel-img {
  height: 360px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(0, 0, 0, 0.4);
}
.carousel-meta {
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  background: rgba(8, 8, 8, 0.9);
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(0,0,0,0.60);
  color: white;
  display: grid;
  place-items: center;
  cursor: pointer;
  user-select: none;
}
.carousel-arrow.left { left: -18px; }
.carousel-arrow.right { right: -18px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
}
.carousel-dot.active { background: var(--brand); box-shadow: 0 0 12px var(--glow-brand); }

.event-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.event-tile {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.event-tile:hover {
  border-color: rgba(255, 31, 61, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.event-flyer {
  height: 170px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(0, 0, 0, 0.35);
}
.event-body { padding: 10px 12px; }
.event-name { font-weight: 800; margin: 0; font-size: 14px; }
.event-sub { margin: 6px 0 0 0; color: var(--muted); font-size: 12px; }
a.event-title-link {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}
a.event-title-link:hover {
  text-decoration: underline;
}
.event-actions { display:flex; gap: 8px; padding: 10px 12px 12px; }
.event-actions .btn { width: 100%; padding: 8px 10px; font-size: 12px; border-radius: 999px; }

/* Event listing badges (age N+, sold out, almost sold out) */
.carousel-img-wrap {
  position: relative;
  display: block;
  height: 360px;
}
.event-flyer-wrap,
.past-event-thumb-wrap {
  position: relative;
  display: block;
}
.carousel-img-wrap .carousel-img {
  height: 100%;
}
.event-media-badges {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.event-media-badges__stack {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  max-width: calc(100% - 56px);
}
.event-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(8, 8, 8, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f5f5f5;
  line-height: 1.2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}
.event-badge--soldout {
  border-color: rgba(255, 31, 61, 0.65);
  color: #fecaca;
}
.event-badge--almost {
  border-color: rgba(234, 179, 8, 0.55);
  color: #fde68a;
}
.event-badge--age {
  position: absolute;
  top: 8px;
  right: 8px;
  bottom: auto;
  left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1;
  border-radius: 999px;
  border-width: 2px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(8, 8, 8, 0.9);
}
.event-badge--age.event-badge--inline {
  position: static;
  display: inline-flex;
  min-width: 38px;
  min-height: 38px;
  padding: 0 8px;
  font-size: 13px;
  margin-left: 6px;
  margin-top: 4px;
  vertical-align: middle;
  box-shadow: none;
}
.event-badge--inline:not(.event-badge--age) {
  position: static;
  margin-left: 6px;
  margin-top: 4px;
  font-size: 10px;
  vertical-align: middle;
  box-shadow: none;
}
.event-inline-badges {
  display: inline;
}
.event-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.event-hero-badges .event-badge--inline {
  margin-left: 0;
  margin-top: 0;
}

@media (max-width: 900px) {
  .event-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-shell { max-width: 100%; }
  .carousel-arrow.left { left: 6px; }
  .carousel-arrow.right { right: 6px; }
}

@media (max-width: 768px) {
  .portal-shell {
    flex-direction: column;
    min-height: 0;
  }
  .portal-sidebar {
    flex: none;
    width: 100%;
    position: static;
  }
  .portal-main {
    padding: 20px 0 0 0;
  }
  .nav--portal .navlinks--portal {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .event-grid { grid-template-columns: 1fr; }
  .carousel-img { height: 280px; }
  .carousel-img-wrap { height: 280px; }
}

/* Admin event form: image dropzones & galleries */
.field--checkbox {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.field-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
.field-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}
.field--almost-soldout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 0;
}
.field--almost-soldout .field-checkbox {
  flex-shrink: 0;
}
.field-almost-soldout__hint {
  margin: 0;
  font-size: 12px;
  color: #a3a3a3;
  line-height: 1.45;
  max-width: 42ch;
}
.event-image-drop {
  position: relative;
  min-height: 120px;
  border: 2px dashed var(--border-strong);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.event-image-drop:hover {
  border-color: rgba(255, 31, 61, 0.45);
}
.event-image-drop.is-dragover {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.event-image-drop__placeholder {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 12px;
}
.event-image-drop__input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}
/* Public event page: full-bleed gallery (archived + photos). */
.event-gallery-back {
  margin-bottom: 18px;
}
.event-gallery-back .pill {
  text-decoration: none;
}
.event-gallery-back .pill:hover {
  text-decoration: none;
}
.section--event-gallery {
  margin-left: -24px;
  margin-right: -24px;
  padding: 32px 24px 48px;
  background: #050505;
  border-radius: 0;
  box-sizing: border-box;
}
.section-title--gallery-headline {
  text-transform: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}
a.event-admin-title-link {
  color: inherit;
  text-decoration: none;
}
a.event-admin-title-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.event-gallery-subtitle {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 20px 0;
  letter-spacing: 0.06em;
}
.event-gallery-city-block + .event-gallery-city-block {
  margin-top: 44px;
}
.event-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.event-gallery-grid--card {
  margin-top: 12px;
}
.event-gallery-card .event-gallery-inline--multi + .event-gallery-inline--multi {
  margin-top: 24px;
}
.event-gallery-inline-meta {
  margin: 0 0 10px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.event-gallery-cell {
  position: relative;
  display: block;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 2px;
  overflow: visible;
  text-decoration: none;
  color: inherit;
  background: transparent;
  isolation: isolate;
}
.event-gallery-cell:hover {
  text-decoration: none;
  outline: 1px solid rgba(255, 31, 61, 0.35);
  outline-offset: -1px;
}
.event-gallery-thumb-wrap {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 2px;
  overflow: visible;
  background: rgba(0, 0, 0, 0.4);
}
.event-gallery-thumb-link {
  display: block;
  overflow: hidden;
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  width: 100%;
  padding: 0;
  margin: 0;
  font: inherit;
  text-align: left;
  box-sizing: border-box;
}
button.event-gallery-thumb-link {
  border: none;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.event-gallery-thumb-link:hover {
  text-decoration: none;
}
.event-gallery-thumb-link:focus-visible {
  outline: 2px solid rgba(255, 31, 61, 0.85);
  outline-offset: 2px;
}

/* Public event gallery: full-screen image preview */
.event-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: flex;
  flex-direction: column;
  padding: 12px 12px 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
}
.event-gallery-lightbox[hidden] {
  display: none !important;
}
.event-gallery-lightbox__toolbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 4px 12px;
  max-width: min(1200px, 100%);
  width: 100%;
  margin: 0 auto;
}
.event-gallery-lightbox__close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.event-gallery-lightbox__close:hover {
  background: rgba(255, 31, 61, 0.4);
}
.event-gallery-lightbox__download {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.55);
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.event-gallery-lightbox__download:hover {
  background: rgba(0, 0, 0, 0.65);
  border-color: rgba(255, 255, 255, 0.85);
  transform: scale(1.05);
}
.event-gallery-lightbox__download:focus-visible {
  outline: 2px solid rgba(255, 31, 61, 0.85);
  outline-offset: 2px;
}
.event-gallery-lightbox__download .event-gallery-download__svg {
  width: 20px;
  height: 20px;
}
.event-gallery-lightbox__viewport {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: min(1200px, 100%);
  margin: 0 auto;
  gap: 6px;
}
.event-gallery-lightbox__stage {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.event-gallery-lightbox__nav {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  align-self: center;
}
.event-gallery-lightbox__nav:hover {
  background: rgba(255, 31, 61, 0.35);
  border-color: rgba(255, 255, 255, 0.75);
}
.event-gallery-lightbox__nav:focus-visible {
  outline: 2px solid rgba(255, 31, 61, 0.85);
  outline-offset: 2px;
}
.event-gallery-lightbox__nav[hidden] {
  display: none !important;
}
.event-gallery-lightbox__img {
  max-width: 100%;
  max-height: min(85dvh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
}
@media (max-width: 520px) {
  .event-gallery-lightbox__nav {
    width: 42px;
    height: 42px;
  }
  .event-gallery-lightbox__viewport {
    gap: 2px;
  }
}
.event-gallery-thumb-wrap--video {
  overflow: hidden;
  border-radius: 2px;
}
.event-gallery-video {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
  object-fit: contain;
  object-position: center;
  background: rgba(0, 0, 0, 0.5);
}
/* Direct child of cell: reliable top-right overlay (avoids broken `>` chains / old markup) */
.event-gallery-cell > a.event-gallery-download {
  position: absolute;
  top: 6px;
  right: 6px;
  left: auto;
  bottom: auto;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  max-width: 30px;
  max-height: 30px;
  flex: 0 0 auto;
  margin: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.55);
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.event-gallery-download:hover {
  background: rgba(0, 0, 0, 0.65);
  border-color: rgba(255, 255, 255, 0.85);
  transform: scale(1.05);
}
.event-gallery-download:focus-visible {
  outline: 2px solid rgba(255, 31, 61, 0.85);
  outline-offset: 2px;
}
.event-gallery-download__svg {
  width: 18px;
  height: 18px;
  display: block;
}
.event-gallery-download[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 0;
  bottom: calc(100% + 6px);
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  white-space: nowrap;
  color: #fff;
  background: rgba(0, 0, 0, 0.88);
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 3;
}
.event-gallery-download[data-tooltip]:hover::after,
.event-gallery-download[data-tooltip]:focus-visible::after {
  opacity: 1;
}
.event-gallery-thumb {
  aspect-ratio: 1 / 1;
  width: 100%;
  background-size: contain;
  background-position: top center;
  background-repeat: no-repeat;
  background-color: rgba(0, 0, 0, 0.35);
}
@media (max-width: 900px) {
  .event-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .event-gallery-grid {
    grid-template-columns: 1fr;
  }
}

.admin-gallery-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.admin-gallery-card {
  width: 168px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.admin-gallery-card:hover {
  border-color: rgba(255, 31, 61, 0.35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  color: inherit;
}
.admin-gallery-card__thumb {
  aspect-ratio: 1 / 1;
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.admin-gallery-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.admin-gallery-card__empty {
  font-size: 12px;
  color: var(--muted);
  padding: 8px;
  text-align: center;
}
.admin-gallery-card__city {
  font-weight: 800;
  font-size: 14px;
  padding: 10px 10px 4px;
  text-align: center;
}
.admin-gallery-card__meta {
  font-size: 12px;
  color: var(--muted);
  padding: 0 10px 12px;
  text-align: center;
}
.gallery-upload-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 16px;
}
.gallery-upload-previews__item {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-upload-previews__item img,
.gallery-upload-previews__item video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.gallery-upload-previews__item video {
  aspect-ratio: 1 / 1;
  max-height: 120px;
  background: rgba(0, 0, 0, 0.45);
}
.gallery-manage-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.gallery-manage-item {
  position: relative;
  width: 140px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}
.gallery-manage-item__badge {
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  padding: 4px 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  color: #fff;
  background: rgba(201, 39, 40, 0.92);
  border-radius: 6px;
  pointer-events: none;
}
.gallery-manage-item > img,
.gallery-manage-item__video {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  vertical-align: top;
  background: rgba(0, 0, 0, 0.35);
}
.gallery-manage-item__video {
  border: 0;
}
.gallery-manage-item__remove {
  padding: 8px;
  border-top: 1px solid var(--border);
}
.field-file-multi {
  font-size: 13px;
}

/* Public subscribe modal */
.subscribe-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
}
.subscribe-modal[hidden] {
  display: none !important;
}
.subscribe-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.subscribe-modal__panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  background: var(--surface, #1a1a1f);
  border: 1px solid var(--border, #2a2a32);
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}
.subscribe-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.subscribe-modal__close:hover {
  background: rgba(255, 31, 61, 0.35);
}
.subscribe-modal__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: 420px;
}
.subscribe-modal__visual {
  min-height: 280px;
  background-color: rgba(0, 0, 0, 0.4);
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.7) 100%),
    url("/assets/img/about-stage.webp");
  background-size: 100% 100%, contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 14px 0 0 14px;
}
.subscribe-modal__body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.subscribe-modal__title {
  font-family: var(--font-display, "Bebas Neue", sans-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.15;
  text-transform: none;
}
.subscribe-modal__lead {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.subscribe-modal__alert {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.45;
}
.subscribe-modal__alert--error {
  background: rgba(255, 31, 61, 0.12);
  border: 1px solid rgba(255, 31, 61, 0.35);
  color: #ffb4bc;
}
.subscribe-modal__form .subscribe-modal__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.subscribe-modal__form .field label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.subscribe-modal__form .field input,
.subscribe-modal__form .field textarea {
  width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
}
.subscribe-modal__privacy {
  margin-top: 4px;
  align-items: flex-start;
  line-height: 1.45;
  font-weight: 500;
}
.subscribe-modal__privacy a {
  color: var(--brand, #ff1f3d);
  text-decoration: none;
}
.subscribe-modal__privacy a:hover {
  text-decoration: underline;
}
.subscribe-modal__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}
.btn--subscribe-modal {
  min-width: 120px;
}
@media (max-width: 720px) {
  .subscribe-modal__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .subscribe-modal__visual {
    min-height: 180px;
    border-radius: 14px 14px 0 0;
  }
  .subscribe-modal__body {
    padding: 22px 18px 26px;
  }
  .subscribe-modal__form .subscribe-modal__fields {
    grid-template-columns: 1fr;
  }
}

