/* === HERO BLOCK === */
.ma-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.ma-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
.ma-hero__inner {
  position: relative;
  max-width: 800px;
  z-index: 1;
}
.ma-hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .8rem;
  margin-bottom: 1rem;
  opacity: .9;
}
.ma-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 1rem;
}
.ma-hero__subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: .92;
}
.ma-hero__cta {
  display: inline-block;
  padding: .9rem 1.75rem;
  border-radius: 999px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease;
}
.ma-hero__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0,0,0,.2);
}

/* === CHAT CTA BLOCK (opens Madam AI / Momants widget) === */
.ma-chat-cta {
  --chat-pad-y: clamp(1.5rem, 3vw, 2.5rem);
  --chat-pad-x: clamp(1.25rem, 3vw, 2.5rem);
  margin: clamp(1.5rem, 3vw, 2.5rem) 0;
  font-family: var(--ma-font-body);
}
.ma-chat-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.5rem;
  font-family: var(--ma-font-display);
  font-weight: 700;
  font-size: clamp(.95rem, 1.1vw, 1.1rem);
  letter-spacing: -.005em;
  color: var(--ma-text);
  background: transparent;
  border: 1px solid var(--ma-border);
  border-radius: 0 14px 0 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color .3s ease, background .3s ease, border-color .3s ease, transform .35s var(--ma-ease-2, ease);
}
.ma-chat-cta__btn:hover {
  transform: translate(2px, -2px);
}
.ma-chat-cta__btn--accent {
  background: var(--ma-accent);
  border-color: var(--ma-accent);
  color: #fff;
}
.ma-chat-cta__btn--accent:hover {
  background: var(--ma-accent-deep, #d6003c);
  border-color: var(--ma-accent-deep, #d6003c);
}
.ma-chat-cta__btn--ghost {
  background: transparent;
  color: var(--ma-text);
  border-color: var(--ma-border);
}
.ma-chat-cta__btn--ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ma-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .55s var(--ma-ease-2, ease);
  z-index: -1;
}
.ma-chat-cta__btn--ghost:hover {
  color: #fff;
  border-color: var(--ma-accent);
}
.ma-chat-cta__btn--ghost:hover::before { transform: scaleX(1); }
.ma-chat-cta__btn--lg {
  padding: 1.1rem 1.8rem;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
}
.ma-chat-cta__icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}
.ma-chat-cta__sub {
  margin-top: .8rem;
  font-size: .95rem;
  color: var(--ma-text-2);
  max-width: 56ch;
}
.ma-chat-cta__title {
  font-family: var(--ma-font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: -.025em;
  line-height: 1.1;
  margin: 0;
  color: var(--ma-text);
}

/* Card variant */
.ma-chat-cta--card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .8rem;
  padding: var(--chat-pad-y) var(--chat-pad-x);
  border: 1px solid var(--ma-border);
  border-radius: 0 14px 0 14px;
  background: rgba(255, 255, 255, .02);
}
.ma-chat-cta__icon-lg {
  display: inline-flex;
  width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  background: var(--ma-accent);
  color: #fff;
  border-radius: 0 10px 0 10px;
  margin-bottom: .25rem;
}
.ma-chat-cta__icon-lg svg { width: 1.3rem; height: 1.3rem; }

/* Full-width variant */
.ma-chat-cta--full .ma-chat-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: var(--chat-pad-y) var(--chat-pad-x);
  background: var(--ma-bg-2, #0a0a0a);
  border-top: 1px solid var(--ma-border);
  border-bottom: 1px solid var(--ma-border);
}
.ma-chat-cta--full .ma-chat-cta__copy { flex: 1 1 320px; }
.ma-chat-cta--full .ma-chat-cta__sub { margin-top: .3rem; }

@media (max-width: 700px) {
  .ma-chat-cta--full .ma-chat-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   A'DAM BLOCK LIBRARY — shared layout for editor blocks
   (reuse the editorial section styling; add only what's new)
   ========================================================= */

/* Rich-text body inside the Section block — Inter, readable.
   Full white (not --ma-text-2) so it matches the intro body + stays legible on mobile. */
.ma-ed__rich {
  font-family: var(--ma-font-body);
  font-weight: 400;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.6;
  color: var(--ma-text);
  max-width: 60ch;
  margin-top: clamp(1rem, 2vh, 1.5rem);
}
.ma-ed__rich p { margin: 0 0 1em; }
.ma-ed__rich p:last-child { margin-bottom: 0; }
.ma-ed__rich a { color: var(--ma-accent); text-decoration: underline; text-underline-offset: .15em; }
.ma-ed__rich strong { color: var(--ma-text); font-weight: 600; }
.ma-ed__rich ul, .ma-ed__rich ol { margin: 0 0 1em 1.2em; }
.ma-ed__rich li { margin-bottom: .35em; }

/* Centered CTA row variant */
.ma-ed__cta-row--center { justify-content: center; }

/* Facts block: constrain width so a standalone facts column doesn't stretch full-bleed */
.ma-block__facts-wrap .ma-ed__facts { max-width: 38rem; }

/* Block rhythm on the free-blocks page: consistent vertical spacing,
   tighter than the bespoke detail-page sections, and collapse the double
   top-border when blocks stack. */
.ma-blocks__main > .ma-block + .ma-block { border-top: 0; }
.ma-blocks__main > .ma-block--photostrip { padding-block: 0; }
.ma-blocks__main > .ma-block:first-child { padding-top: clamp(5.5rem, 11vh, 8rem); }  /* clear the topbar */
/* Scroll-button hugs the block above it (it belongs with that text) — drop its top
   padding and pull it up into the preceding block's bottom padding, leaving a small gap. */
.ma-blocks__main > .ma-block--scrollbtn { padding-top: 0; margin-top: clamp(-4.5rem, -6vh, -2.5rem); }

/* Hero block as first block already clears the topbar via .ma-ed__hero margin-top */
.ma-blocks__main > .ma-block--hero:first-child,
.ma-blocks__main > .ma-block--herotitle:first-child { padding-top: 0; }

/* 404: the title block is first (no hero image above it), so it needs to clear the
   fixed topbar; and "Page not found" is long, so keep the heading from dominating. */
.ma-404 .ma-blocks__main > .ma-block--herotitle:first-child { padding-top: clamp(5rem, 10vh, 7rem); }
.ma-404 .ma-ed__h1 { font-size: clamp(2.25rem, 7vw, 4.5rem); }
/* Quick links sit below the tiles — give them air, and centre them on desktop
   where the tiles are centred (they stay left under the full-width mobile tiles). */
.ma-404__links { margin-top: clamp(1.6rem, 4.5vh, 2.8rem); }
@media (min-width: 701px) { .ma-404__links { justify-content: center; } }

/* Intro block heading inside the lead column */
.ma-block__intro-heading { margin-bottom: clamp(1rem, 2vh, 1.5rem); }

/* ===========================================================
   SCHEDULE / TIMELINE — day moments with accent dots + line
   (e.g. Skybar: daytime via LOOKOUT → evening ticket → By Night)
   =========================================================== */
.ma-sched {
  list-style: none;
  margin: clamp(1.6rem, 3.5vh, 2.4rem) 0 0;
  padding: 0;
  max-width: 42rem;
}
.ma-sched__row {
  position: relative;
  padding: 0 0 clamp(1.5rem, 3.5vh, 2.2rem) 2.1rem;
}
.ma-sched__row::before {              /* verbindingslijn */
  content: '';
  position: absolute;
  left: 7px;
  top: 22px;
  bottom: 2px;
  width: 1px;
  background: var(--ma-border);
}
.ma-sched__row:last-child { padding-bottom: 0; }
.ma-sched__row:last-child::before { display: none; }
.ma-sched__dot {
  position: absolute;
  left: 0;
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid var(--ma-accent);
  background: transparent;
}
.ma-sched__row.is-accent .ma-sched__dot { background: var(--ma-accent); }
.ma-sched__head {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-wrap: wrap;
}
.ma-sched__time {
  font-family: var(--ma-font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  letter-spacing: -.015em;
  line-height: 1.1;
  color: var(--ma-text);
}
.ma-sched__title {
  font-family: var(--ma-font-body);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: var(--ma-ls-label, .22em);
  text-transform: uppercase;
  color: var(--ma-text-2);
  border: 1px solid var(--ma-border);
  padding: .3em .6em;
}
.ma-sched__row.is-accent .ma-sched__title {
  color: #fff;
  background: var(--ma-accent);
  border-color: var(--ma-accent);
}
.ma-sched__text {
  margin: .5rem 0 0;
  font-family: var(--ma-font-body);
  font-size: clamp(.95rem, 1.1vw, 1.05rem);
  line-height: 1.55;
  color: var(--ma-text);
  max-width: 56ch;
}
.ma-sched__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .6rem;
  font-family: var(--ma-font-display);
  font-weight: 700;
  font-size: .92rem;
  color: var(--ma-accent);
  transition: color .3s ease;
}
.ma-sched__link:hover { color: var(--ma-text); }

/* ===========================================================
   THREE WORLDS / CHOICE TILES — moved from home.css so the
   "Keuze-tegels" block works site-wide (home still uses these too).
   =========================================================== */
.ma-choices--mini {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(.5rem, 1vh, .75rem);
  border: 0;
  margin-top: 0;
  padding: 0;
  width: 100%;
}
.ma-choices--mini .ma-choice {
  position: relative;
  width: 100%;
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 1rem;
  padding: 1rem 1.15rem;
  overflow: hidden;
  isolation: isolate;
  background: #0e0e0e;
  border: 1px solid var(--ma-border);
  border-radius: 0 14px 0 14px;          /* TL sharp · TR/BL rounded · BR sharp */
  transition: border-color .4s ease;
  animation: ma-tile-in .8s var(--ma-ease-2) both;
}
.ma-choices--mini .ma-choice:nth-child(1) { animation-delay: .15s; }
.ma-choices--mini .ma-choice:nth-child(2) { animation-delay: .28s; }
.ma-choices--mini .ma-choice:nth-child(3) { animation-delay: .41s; }
@keyframes ma-tile-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Red edge bar — grows from a sliver to full on hover */
.ma-choices--mini .ma-choice__edge {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--ma-accent);
  transform: scaleY(.34);
  transform-origin: center;
  transition: transform .5s var(--ma-ease-2);
  z-index: 1;
}
.ma-choices--mini .ma-choice:hover .ma-choice__edge { transform: scaleY(1); }

/* Big ghost index number — graphic watermark, right side */
.ma-choices--mini .ma-choice__index {
  position: absolute;
  right: 4rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
  font-family: var(--ma-font-display);
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243,237,226,.16);
  pointer-events: none;
  transition: -webkit-text-stroke-color .5s ease;
}
.ma-choices--mini .ma-choice:hover .ma-choice__index {
  -webkit-text-stroke-color: color-mix(in srgb, var(--ma-accent) 55%, transparent);
}

/* Name */
.ma-choices--mini .ma-choice__name {
  grid-column: 1;
  align-self: end;
  font-family: var(--ma-font-display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -.025em;
  line-height: 1;
  color: var(--ma-text);
  display: block;
  min-height: 0;
}
/* Keep the accent M-badge glued to the last word so it never wraps onto its own
   line (e.g. "Panorama Restaurant" on mobile → "Panorama" / "Restaurant●"). */
.ma-name-tail { white-space: nowrap; }
.ma-choice__logo {
  display: block;
  width: 168px;
  height: auto;
}

/* Time — clear, with accent separator */
.ma-choices--mini .ma-choice__meta {
  grid-column: 1;
  align-self: start;
  margin-top: .45rem;
  font-family: var(--ma-font-body);
  font-weight: 600;
  text-transform: uppercase;
  text-align: left;
  max-width: none;
  font-size: .68rem;
  letter-spacing: .12em;
  color: rgba(243,237,226,.92);
  line-height: 1.2;
  padding: 0;
  background: transparent;
}
.ma-choices--mini .ma-choice__meta-day,
.ma-choices--mini .ma-choice__meta-time { display: inline; }
.ma-choices--mini .ma-choice__meta-day::after {
  content: '·';
  color: var(--ma-accent);
  margin: 0 .45em;
  font-weight: 700;
}

/* Arrow — circular button, fills accent on hover.
   Hide the unicode glyph, draw the arrow as a masked ::before (no iOS emoji). */
.ma-choices--mini .ma-choice__arrow {
  position: static;
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: center;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(243,237,226,.35);
  border-radius: 50%;
  font-size: 0;                       /* hide ↗ text node */
  color: var(--ma-text);
  transition: background .35s ease, border-color .35s ease, transform .45s var(--ma-ease-2);
}
.ma-choices--mini .ma-choice__arrow::before {
  content: '';
  width: 1.05rem;
  height: 1.05rem;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") no-repeat center / contain;
}
.ma-choices--mini .ma-choice:hover .ma-choice__arrow {
  background: var(--ma-accent);
  border-color: var(--ma-accent);
  transform: translate(3px, -3px);
}

/* ===========================================================
   DESKTOP — compact square photo tiles, centered (≥701px)
   =========================================================== */
@media (min-width: 701px) {
  .ma-choices--mini {
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    gap: clamp(.6rem, 1vw, 1rem);
  }
  .ma-choices--mini .ma-choice {
    width: clamp(140px, 18vw, 200px);
    min-height: 0;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: .3rem;
    column-gap: 0;
    padding: clamp(.95rem, 1.5vw, 1.3rem);
    background: #0a0a0a;
    border-radius: 0 14px 0 14px;
    transition: border-color .35s ease;
  }
  /* Photo background returns on desktop */
  .ma-choices--mini .ma-choice::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--choice-img);
    background-size: cover;
    background-position: center;
    filter: grayscale(.4) brightness(.85);
    transform: scale(1);
    transition: transform 1.4s var(--ma-ease-2), filter .5s ease;
    z-index: -2;
  }
  .ma-choices--mini .ma-choice::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.68) 72%, rgba(0,0,0,.88) 100%);
    z-index: -1;
  }
  .ma-choices--mini .ma-choice:hover { border-color: rgba(255,255,255,.35); }
  .ma-choices--mini .ma-choice:hover::before {
    transform: scale(1.06);
    filter: grayscale(0) brightness(1);
  }

  .ma-choices--mini .ma-choice__edge { display: none; }

  /* Index — small accent number, top-left (not ghost) */
  .ma-choices--mini .ma-choice__index {
    position: static;
    transform: none;
    z-index: auto;
    align-self: flex-start;
    -webkit-text-stroke: 0;
    text-stroke: 0;
    color: var(--ma-accent);
    font-family: var(--ma-font-body);
    font-weight: 500;
    font-size: .62rem;
    letter-spacing: .28em;
    text-transform: uppercase;
  }
  .ma-choices--mini .ma-choice:hover .ma-choice__index { color: var(--ma-text); }

  .ma-choices--mini .ma-choice__name {
    align-self: auto;
    font-size: clamp(1.05rem, 1.7vw, 1.5rem);
    line-height: 1.05;
    letter-spacing: -.02em;
    min-height: 2.1em;          /* reserve 2 lines so names align */
  }
  .ma-choice__logo { width: clamp(110px, 12vw, 150px); filter: drop-shadow(0 2px 10px rgba(0,0,0,.5)); }

  .ma-choices--mini .ma-choice__meta {
    align-self: auto;
    margin-top: 0;
    font-family: var(--ma-font-display);
    font-weight: 700;
    text-transform: none;
    font-size: clamp(.78rem, .95vw, .88rem);
    letter-spacing: -.005em;
    color: #fff;
    line-height: 1.3;
  }
  /* Narrow square tiles: stack the day above the time instead of one line */
  .ma-choices--mini .ma-choice__meta-day,
  .ma-choices--mini .ma-choice__meta-time { display: block; }
  .ma-choices--mini .ma-choice__meta-day::after { content: none; }

  /* Arrow — small masked glyph top-right (no circle on desktop) */
  .ma-choices--mini .ma-choice__arrow {
    position: absolute;
    grid-column: auto;
    grid-row: auto;
    top: clamp(.7rem, 1.2vw, 1rem);
    right: clamp(.8rem, 1.3vw, 1.1rem);
    width: auto; height: auto;
    border: 0;
    border-radius: 0;
    transition: transform .4s var(--ma-ease-2);
  }
  .ma-choices--mini .ma-choice__arrow::before { width: 1.2rem; height: 1.2rem; }
  .ma-choices--mini .ma-choice:hover .ma-choice__arrow {
    background: transparent;
    transform: translate(4px, -4px);
  }
}


/* Choice-tiles block header (logo + title above the tiles) */
.ma-block--choices { }
.ma-choices-head { margin-bottom: clamp(1.5rem, 4vh, 2.5rem); }
.ma-choices-logo {
  display: block;
  width: clamp(170px, 22vw, 300px);
  height: auto;
  margin: 0 0 1rem;
}
.ma-choices-heading {
  font-family: var(--ma-font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.9rem);
  letter-spacing: -.025em;
  line-height: 1.05;
  color: var(--ma-text);
  margin: 0;
}
