/*
 The Spaces (v2): room rows with the photo side alternating, 640px photo column
 (420px tall), INCLUDES diamond bullets, 110px between rows, no hairlines.
========================================================================== */
.block-spaces .container {
  padding-block: clamp(64px, 3rem + 3.62vw, 100px) clamp(72px, 3.6rem + 4.33vw, 120px);
}
.block-spaces .section-header {
  margin-bottom: 64px;
}
.block-spaces .spaces-rows {
  display: flex;
  flex-direction: column;
  gap: 110px;
}
@media screen and (max-width: 991px) {
  .block-spaces .spaces-rows {
    gap: 64px;
  }
}
.block-spaces .space-row {
  display: grid;
  grid-template-columns: minmax(0, 640px) 1fr;
  gap: 80px;
  align-items: center;
}
.block-spaces .space-row.is-photo-right {
  grid-template-columns: 1fr minmax(0, 640px);
}
.block-spaces .space-row.is-photo-right img.space-row__photo {
  order: 2;
}
.block-spaces .space-row img.space-row__photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.block-spaces .space-row__name {
  font-size: clamp(32px, 1.9rem + 1.2vw, 48px);
  line-height: 1;
  letter-spacing: 0.5px;
  margin: 0;
}
.block-spaces .space-row__capacity {
  font-family: var(--wp--preset--font-family--accent, var(--wp--preset--font-family--primary));
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--wp--preset--color--tertiary);
  margin: 10px 0 0;
}
.block-spaces .space-row__desc {
  font-family: var(--wp--preset--font-family--secondary);
  font-size: 18px;
  line-height: 1.65;
  color: var(--wp--preset--color--shade);
  max-width: 460px;
  margin: 18px 0 0;
}
.block-spaces .space-row .includes-label {
  margin: 32px 0 8px;
}
.block-spaces .space-row .includes-list {
  gap: 6px;
}
@media screen and (max-width: 1279px) {
  .block-spaces .space-row {
    gap: 48px;
  }
  .block-spaces .space-row, .block-spaces .space-row.is-photo-right {
    grid-template-columns: 1fr 1fr;
  }
  .block-spaces .space-row img.space-row__photo {
    height: 360px;
  }
}
@media screen and (max-width: 991px) {
  .block-spaces .space-row {
    gap: 28px;
  }
  .block-spaces .space-row, .block-spaces .space-row.is-photo-right {
    grid-template-columns: 1fr;
  }
  .block-spaces .space-row img.space-row__photo, .block-spaces .space-row.is-photo-right img.space-row__photo {
    order: 0;
    height: 260px;
  }
}

/*
 Scroll reveal (data-reveal="wipe"): the photo wipes in from its own side;
 the copy stays put. Gated on html.reveal-ready (js/motion.js), so the editor
 and no-JS visitors see the rows at rest.
========================================================================== */
.reveal-ready .block-spaces .space-row img.space-row__photo {
  clip-path: inset(0);
  transition: clip-path 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-ready .block-spaces .space-row:not(.is-revealed) img.space-row__photo {
  clip-path: inset(0 100% 0 0);
}
.reveal-ready .block-spaces .space-row:not(.is-revealed).is-photo-right img.space-row__photo {
  clip-path: inset(0 0 0 100%);
}
