/* ============================================
   VENUE HERO
   ============================================ */
.venue-hero {
  min-height: 100vh;
  min-height: 100dvh;            /* dynamic viewport unit voor mobiel met url-balk */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* badge bovenin, tekstblok onderin */
  padding: var(--nav-height) 2rem calc(4rem + var(--diag));
}

/* Badge — boven gecentreerd, zelfde plek als het logo op de homepage */
.venue-hero-badge-wrap {
  position: relative;
  z-index: 1;
  padding-top: 1.5rem;
  display: flex;
  justify-content: center;
}

/* Vloeiend van ~220px op telefoon (fors, want daar is de hero smal)
   naar 275px vanaf ±550px breed — geen sprong op een breakpoint. */
.venue-hero-badge {
  width: clamp(220px, 50vw, 275px);
  height: auto;
  display: block;
}

.venue-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 6s ease;
}

.venue-hero:hover .venue-hero-bg {
  transform: scale(1);
}

.venue-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.venue-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(1,1,1,0.85) 0%,
    rgba(1,1,1,0.35) 55%,
    rgba(1,1,1,0.15) 100%
  );
}

.venue-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.venue-hero-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.venue-hero-inner h1 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  color: var(--color-text);
  line-height: 1.05;
  margin-bottom: 2rem;
  /* "Pakhuismeesteren," is breder dan een telefoonscherm. Afbreken gebeurt
     alléén op de &shy; in de HTML — dus altijd "pakhuis-meesteren", in elke
     browser. Automatische hyphenation is bewust uit: die koos afhankelijk
     van het woordenboek "pakhuismeeste-ren". */
  -webkit-hyphens: manual;
  hyphens: manual;
  /* Vangnet voor lange woorden zonder &shy; */
  overflow-wrap: break-word;
}

/* ============================================
   VENUE SLIDER — sfeerbeelden carousel (zelfde patroon als homepage)
   ============================================ */
.venue-slider-section {
  position: relative;
  margin-top: calc(-1 * var(--diag));
  /* Extra padding zodat de geroteerde band ruimte heeft */
  padding: calc(5rem + var(--diag)) 0 calc(5rem + var(--diag));
  background: var(--color-bg-light);
  overflow: hidden;
  /* "/" clip aan onderkant — past in de venue-page diagonal flow */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--diag)), 0 100%);
}

/* Rotatie-wrapper: kantelt de hele band 7,5° zonder de animatie te breken.
   De track binnenin doet z'n eigen translateX-animatie. */
.venue-slider-rotate {
  transform: rotate(-7.5deg);
  /* Kleine schaling zodat de hoeken van de band buiten beeld vallen
     (anders zie je witte plekken aan de uiteinden waar de rotatie
     diagonaal afloopt) */
  width: 110%;
  margin-left: -5%;
}

.venue-slider-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: venue-slider-scroll 60s linear infinite;
}

.venue-slider-slide {
  flex-shrink: 0;
  width: 660px;
  height: 440px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.venue-slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@keyframes venue-slider-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .venue-slider-slide {
    width: 360px;
    height: 240px;
  }
}

/* Intro-tekst nu in de hero zelf, op video-achtergrond */
.venue-hero-lead {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  max-width: 65ch;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.venue-hero-body {
  font-size: clamp(0.95rem, 1.1vw, 1rem);
  line-height: 1.75;
  letter-spacing: 0.02em;
  color: rgba(221, 215, 200, 0.88);
  max-width: 70ch;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* ============================================
   VENUE INTRO — licht; intro-tekst onder de hero (zoals de homepage)
   ============================================ */
.venue-intro {
  background: var(--color-bg-light);
  padding: 7rem 2rem;
}

.venue-intro-inner {
  max-width: 760px;
  margin: 0 auto;
}

.venue-intro-lead {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.45;
  color: var(--color-text-on-light);
  margin-bottom: 2rem;
}

.venue-intro-body {
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--color-muted-on-light);
}

/* ============================================
   STANDS — donker
   ============================================ */
.stands-section {
  background: var(--color-bg);
  padding: 7rem 2rem;
}

.stands-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.stands-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--color-text);
  max-width: 26ch;
  margin-bottom: 4rem;
}

.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
  display: block;
}

.stands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stand-card {
  display: block;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: none;
  text-align: left;
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.stand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.stand-card-img {
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  background-color: var(--color-surface);
  transition: transform 400ms ease;
}

.stand-card:hover .stand-card-img {
  transform: scale(1.04);
}

.stand-card-body {
  padding: 1rem 1.1rem 1.2rem;
}

.stand-card-body h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.stand-card-body p {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

/* ============================================
   BARS — licht (brand beige)
   ============================================ */
.bars-section {
  background: var(--color-bg-light);
  padding: 7rem 2rem;
}

.bars-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.bars-section .section-label {
  color: var(--color-accent);
}

.bars-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--color-text-on-light);
  max-width: 32ch;
  margin-bottom: 4rem;
}

.bars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.bar-card {
  display: block;
  background: var(--color-bg-light-alt);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: left;
  color: var(--color-text-on-light);
}

.bar-card-img {
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  background-color: var(--color-bg-light-alt);
}

.bar-card-body {
  padding: 1.25rem 1.25rem 1.4rem;
}

.bar-card-body h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-on-light);
  margin-bottom: 0.5rem;
}

.bar-card-body p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-muted-on-light);
}

/* Rotterdam heeft 2 bars i.p.v. 3 — kleinere grid, gecentreerd */
html.theme-rotterdam .bars-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  margin: 0 auto;
}

/* ============================================
   FAQ — rood
   ============================================ */
.venue-faq {
  background: var(--color-bg-red);
  padding: 7rem 2rem;
}

.venue-faq-inner {
  max-width: 820px;
  margin: 0 auto;
}

.venue-faq .section-label {
  color: var(--color-muted-on-red);
}

.venue-faq h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--color-text-on-red);
  margin-bottom: 3rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-top: 1px solid var(--color-border-red);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--color-border-red);
}

/* Trigger knop */
.faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.4rem 0;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--color-text-on-red);
  text-align: left;
  gap: 1rem;
  background: none;
  border: none;
  cursor: pointer;
}

.faq-summary::after {
  content: '+';
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  color: var(--color-muted-on-red);
  transition: transform 600ms cubic-bezier(0.76, 0, 0.24, 1);
}

.faq-item.is-open .faq-summary::after {
  transform: rotate(45deg);
}

/* Animatie via grid-trick */
.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 600ms cubic-bezier(0.76, 0, 0.24, 1);
}

.faq-item.is-open .faq-body {
  grid-template-rows: 1fr;
}

.faq-body-inner {
  overflow: hidden;
}

.faq-body-inner p {
  font-size: 0.9rem;
  line-height: 1.75;
  letter-spacing: 0.02em;
  color: var(--color-muted-on-red);
  padding-bottom: 1.4rem;
}

/* Links binnen FAQ-antwoorden — zelfde styling als in inner.css.
   Lichtere cream + bold + permanente onderlijn (currentColor) zodat
   ze duidelijk klikbaar zijn op de rode FAQ-achtergrond. */
.faq-body-inner a {
  color: #f0eadc;
  font-weight: 700;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  text-decoration: none;
  transition: background-size 200ms ease;
}

.faq-body-inner a:hover {
  background-size: 100% 2px;
}

/* ============================================
   EVENTS CTA — licht
   ============================================ */
.venue-events-cta {
  background: var(--color-bg-light);
  padding: 7rem 2rem;
}

.venue-events-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.venue-events-cta-text {
  display: flex;
  flex-direction: column;
}

.venue-events-cta .section-label {
  color: var(--color-accent);
}

.venue-events-cta h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--color-text-on-light);
  margin-bottom: 1.25rem;
}

.venue-events-cta p {
  font-size: 0.95rem;
  line-height: 1.75;
  letter-spacing: 0.02em;
  color: var(--color-muted-on-light);
  margin-bottom: 2rem;
}

/* Foto rechts: gevuld op aspect-ratio, met afgeronde hoeken */
.venue-events-cta-image {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  min-height: 320px;
  transition: transform 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.venue-events-cta-image:hover {
  transform: scale(1.015);
}

/* Knoppen onder de tekst, naast elkaar. Zelfde stijling als overal anders;
   alleen de secondary-tekstkleur omdraaien voor leesbaarheid op licht thema
   (de standaard `--color-text` is lichtcrème en zou wegvallen tegen de
   lichte sectie-achtergrond). */
.venue-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.venue-events-cta .btn-secondary {
  color: var(--color-text-on-light);
  border-color: var(--color-text-on-light);
}

.venue-events-cta .btn-secondary:hover {
  border-color: var(--color-text-on-light);
  background: rgba(0, 0, 0, 0.04);
}

/* Mobiel: stapelen */
@media (max-width: 800px) {
  .venue-events-cta-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .venue-events-cta-image {
    aspect-ratio: 16 / 10;
    min-height: 0;
    order: -1;             /* foto bovenaan op mobiel */
  }
}

@media (max-width: 480px) {
  .venue-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .venue-events-cta .btn-primary,
  .venue-events-cta .btn-secondary {
    text-align: center;
  }
}

/* ============================================
   STAND MODAL
   ============================================ */
/* Keyframes */
@keyframes modal-backdrop-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes modal-backdrop-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

@keyframes modal-panel-in {
  from { opacity: 0; transform: translateY(48px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}
@keyframes modal-panel-out {
  from { opacity: 1; transform: translateY(0)    scale(1);    }
  to   { opacity: 0; transform: translateY(48px) scale(0.94); }
}

@keyframes modal-panel-mobile-in {
  from { transform: translateY(100%); }
  to   { transform: translateY(0);    }
}
@keyframes modal-panel-mobile-out {
  from { transform: translateY(0);    }
  to   { transform: translateY(100%); }
}

/* Backdrop */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: modal-backdrop-in 400ms cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-overlay.is-closing {
  animation: modal-backdrop-out 400ms cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.modal-overlay.is-closing .modal-panel {
  animation: modal-panel-out 400ms cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

/* Panel */
.modal-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 90vw;
  max-width: 1080px;
  height: 84vh;
  border-radius: var(--radius-md);
  overflow: hidden;
  animation: modal-panel-in 520ms cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  z-index: 10;
  font-size: 1.15rem;
  color: var(--color-text);
  opacity: 0.55;
  transition: opacity var(--transition);
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  opacity: 1;
}

.modal-image {
  background-size: cover;
  background-position: center;
  height: 100%;
}

.modal-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3.5rem;
  overflow-y: auto;
  background: var(--color-bg);
}

.modal-cuisine {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.modal-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--color-text);
  margin-bottom: 1rem;
}

.modal-tagline {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  max-width: 42ch;
}

.modal-tagline:empty { display: none; }

.modal-desc {
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 42ch;
}

.modal-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0;
  margin: 0 0 2.5rem;
  max-width: 42ch;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.modal-meta-row { display: block; }

.modal-meta-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 0.4rem;
  display: block;
}

.modal-meta-value {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.4;
  margin: 0;
  display: block;
}

.modal-cta {
  align-self: flex-start;
}

/* ============================================
   DIAGONALE SECTIE-OVERGANGEN
   ============================================ */

/* Hero: eerste sectie — clip aan onderkant, geen negatieve marge */
.venue-hero {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--diag)), 0 100%);
}

/* Overige secties: schuiven onder vorige */
.venue-intro,
.stands-section,
.bars-section,
.venue-faq,
.venue-events-cta,
.venue-map-section {
  position: relative;
  margin-top: calc(-1 * var(--diag));
  padding-top: calc(7rem + var(--diag));
  padding-bottom: calc(7rem + var(--diag));
}

/* Lichte secties: "\" clip */
.venue-intro,
.venue-events-cta {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--diag)));
}

/* De intro wordt gevolgd door de (eveneens lichte) slider-band: onderaan
   krap houden, net als .about-section op de homepage. */
.venue-intro {
  padding-top: calc(8rem + var(--diag));
  padding-bottom: calc(2rem + var(--diag));
}

/* Donkere secties: "/" clip */
.stands-section,
.bars-section {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--diag)), 0 100%);
}

/* Stands gevolgd door bars: "\" clip ipv "/" — geeft een andersom lopende
   schuinte boven de bars-sectie, zodat de richting afwisselt met de overige
   diagonale overgangen op de pagina. */
.stands-section:has(+ .bars-section) {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--diag)));
}

/* Rode sectie: "\" clip */
.venue-faq {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--diag)));
}

/* Laatste sectie: geen clip aan onderkant */
.page-content > section:last-child {
  clip-path: none;
  padding-bottom: 7rem;
}

/* Z-index stacking */
.page-content > section:nth-child(1) { z-index: 10; }
.page-content > section:nth-child(2) { z-index: 9; }
.page-content > section:nth-child(3) { z-index: 8; }
.page-content > section:nth-child(4) { z-index: 7; }
.page-content > section:nth-child(5) { z-index: 6; }
.page-content > section:nth-child(6) { z-index: 5; }
.page-content > section:nth-child(7) { z-index: 4; }
.page-content > section:nth-child(8) { z-index: 3; }

/* ============================================
   VENUE MAP — Leaflet met dark tiles
   ============================================ */
.venue-map-section {
  background: var(--color-bg);
}

.venue-map-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.venue-map-inner .section-label {
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.venue-map-inner h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.venue-map-address {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.venue-map-directions {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 2.5rem;
  transition: color var(--transition);
}

.venue-map-directions:hover {
  color: var(--color-accent-hover);
}

.venue-map {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

/* Leaflet overrides voor dark look */
.leaflet-container {
  background: var(--color-bg-alt);
  font-family: inherit;
}

/* Tegels iets oplichten — minder somber dan default Dark Matter */
.leaflet-tile-pane {
  filter: brightness(1.55) contrast(0.92) saturate(1.05);
}

.leaflet-control-attribution {
  background: rgba(0, 0, 0, 0.55) !important;
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 0.6rem !important;
  padding: 2px 6px !important;
  border-radius: 2px 0 0 0 !important;
  backdrop-filter: blur(4px);
}

.leaflet-control-attribution a {
  color: rgba(255, 255, 255, 0.75) !important;
}

.leaflet-control-zoom {
  border: none !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4) !important;
}

.leaflet-control-zoom a,
.leaflet-control-zoom a:visited {
  background: var(--color-surface) !important;
  color: var(--color-text) !important;
  border: 1px solid var(--color-border) !important;
  transition: background var(--transition) !important;
}

.leaflet-control-zoom a:hover {
  background: var(--color-bg-alt) !important;
  color: var(--color-accent) !important;
}

/* Custom pin */
.venue-map-pin-wrapper { background: none; border: none; }

.venue-map-pin {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}

.venue-map-pin::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.45;
  animation: venue-map-pulse 2s ease-out infinite;
}

.venue-map-pin::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: var(--color-accent);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

@keyframes venue-map-pulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  100% { transform: scale(3.5); opacity: 0; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .stands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .stands-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bars-grid,
  html.theme-rotterdam .bars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .venue-events-cta-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .venue-cta-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .modal-panel {
    width: 100%;
    max-width: none;
    height: 95svh;
    border-radius: 16px 16px 0 0;
    grid-template-columns: 1fr;
    grid-template-rows: 36vh 1fr;
    animation: modal-panel-mobile-in 540ms cubic-bezier(0.76, 0, 0.24, 1) forwards;
  }

  .modal-overlay.is-closing .modal-panel {
    animation: modal-panel-mobile-out 400ms cubic-bezier(0.76, 0, 0.24, 1) forwards;
  }

  .modal-image {
    height: 100%;
  }

  .modal-content {
    padding: 2rem 1.5rem 2.5rem;
    justify-content: flex-start;
  }

  .modal-meta {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
}

@media (max-width: 480px) {
  .stands-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .bars-grid,
  html.theme-rotterdam .bars-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* Meer ruimte onder de titel zodat die hoger in beeld staat */
  .venue-hero {
    padding: var(--nav-height) 1.25rem calc(9rem + var(--diag));
  }

  /* De hero verdeelt met space-between: het tekstblok hangt aan de onderkant en
     groeit omhóóg. "Pakhuis-meesteren, onze Rotterdamse locatie." beslaat op een
     telefoon vier regels tegen drie in Amsterdam, en schuift daardoor dichter
     tegen de badge aan. Alleen hier het blok wat lager hangen. */
  html.theme-rotterdam .venue-hero {
    padding-bottom: calc(6.5rem + var(--diag));
  }

  .venue-hero-badge-wrap {
    padding-top: 0.75rem;
  }

  /* Op smalle telefoons meeschalen: "Rotterdamse" is te kort om af te
     breken en past bij een vaste 2.5rem niet meer op de regel. */
  .venue-hero-inner h1 {
    font-size: clamp(1.9rem, 9vw, 2.5rem);
  }

  .venue-intro,
  .stands-section,
  .bars-section,
  .venue-faq,
  .venue-events-cta {
    padding: calc(5rem + var(--diag)) 1.25rem calc(5rem + var(--diag));
  }

  .venue-intro {
    padding-bottom: calc(1.5rem + var(--diag));
  }

  .page-content > section:last-child {
    padding-bottom: 5rem;
  }
}
