/* Rentals: a side route within Plan. Hero, estimator, four rooms of different widths, booking, hand-off. */

.rent-hero { align-content: start; row-gap: clamp(0.75rem, 2.2vh, 1.5rem); }
.rent-hero .side a { min-height: 2.75rem; text-decoration: none; }
.rent-hero .side a:hover { text-decoration: underline; }
.rent-hero__rate { align-self: end; }
.rent-hero .shot figcaption { margin-top: 0; }

.rent-intro .prose > * + * { margin-top: 1rem; }
.rent-intro .passes { margin-top: 1.25rem; }
.rent-intro .passes li { font-size: 1rem; min-height: 2.5rem; padding-inline: 1.1rem; }

/* Estimator */
.est { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); }
.est > * + * { margin-top: 0; }
.est__controls > * + * { margin-top: 1rem; }
.est__label { font-size: 1rem; margin-bottom: 0.5rem; }
.est__row { display: flex; gap: 0.6rem; overflow-x: auto; padding: 0.25rem; margin: -0.25rem; }
.est__row .pill { flex: 0 0 auto; min-width: 3.5rem; min-height: 2.75rem; padding-inline: 1.25rem; }
.est__result { display: grid; align-content: center; gap: 1rem; }
.est__out {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.875rem, 3.4vw, 3.25rem);
  line-height: 1.12;
  text-wrap: balance;
}
.est__result .note { font-size: 1rem; max-width: 32em; }

/* Rooms */
.rooms-head { padding-bottom: 0; align-items: end; }
.room { align-items: start; }
.room .shot figcaption { font-size: 1rem; }
.room__text { display: grid; gap: 1rem; align-content: start; justify-items: start; }
.room__text .facts { width: 100%; }
.room__text p { max-width: 30em; }
.facts { font-size: 1rem; }
.facts dd { max-width: 58%; }
.room--theatre { row-gap: 1rem; align-items: end; }
.room--theatre .shot { margin-top: 0.5rem; }
.room--theatre .room__go { align-self: center; }

/* Booking and hand-off */
.band .panel .facts a { overflow-wrap: anywhere; }
.rent-end { align-items: center; }
.rent-end__act { display: grid; gap: 1rem; justify-items: start; }
.pill--big { min-height: 3.75rem; padding-inline: 2.25rem; font-size: 1.25rem; }

@media (min-width: 48rem) {
  .rent-hero .shot { --frame: 24 / 7; }
  .rent-hero .shot img { border-radius: var(--r); }
  .est { grid-template-columns: 1fr 1fr; align-items: center; }
  .est__row { overflow: visible; flex-wrap: wrap; }
  .room--pair > .cell { grid-row: 1; }
  .room--pair .shot { --frame: 4 / 3; }
  .room--theatre .shot { --frame: 5 / 2; }
  .room--theatre > h2 { grid-row: 1; }
  .room--theatre > .lead { grid-row: 1; }
  .rooms-head .lead, .rent-hero__rate { padding-bottom: 0.25rem; }
}

@media (max-width: 47.99rem) {
  .rent-hero .side a { font-size: 1rem; }
  .est__row { flex-wrap: nowrap; }
  .facts dd { max-width: 55%; }
  .rent-end__act, .pill--big { width: 100%; }
}
