/* Isolate the requested environment-page edits from shared site styling. */
.access-page #equipment-label ~ p,
.access-page #amenities-label ~ p {
 width:100%;max-width:none;white-space:normal;text-wrap:wrap;
 word-break:normal;overflow-wrap:normal;
}
@media(max-width:768px) {
 .access-page #amenities-label + h2 {
  width:100%;max-width:none;
  font-size:clamp(16px,5vw,22px);
  letter-spacing:normal;white-space:nowrap;
 }
}
/* Match the existing homepage closing panel without changing shared code. */
.access-page .access-closing {
  background: #e8e0d5;
}

.access-page .access-closing .section {
  width: min(88%, 800px);
  max-width: 800px;
  margin: 0 auto;
  padding: 85px 0;
  text-align: center;
}

.access-page .access-closing .section-en {
  text-align: center;
}

.access-page .access-closing h2 {
  font: 400 30px/1.9 var(--serif);
  letter-spacing: .04em;
  color: #302a25;
  margin: 0;
  text-align: center;
  text-wrap: balance;
}

.access-page .access-closing .section > p:not(.booking-status) {
  max-width: 640px;
  margin: 25px auto;
  font-size: 13px;
  line-height: 2.3;
  color: var(--text);
  text-align: center;
  text-align-last: auto;
  text-wrap: pretty;
}

.access-page .access-closing .reserve-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 16px;
  width: fit-content;
  min-width: 280px;
  min-height: 54px;
  padding: 15px 25px;
  margin: 30px auto 0;
  font-size: 13px;
  line-height: 1.6;
  border-radius: 3px;
  background: linear-gradient(110deg, #a29482, #857057);
  color: #fff;
}

.access-page .access-closing .booking-status {
  text-align: center;
  text-align-last: auto;
}


@media (max-width: 768px) {
  .access-page .access-closing .section {
    padding: 50px 0;
  }

  .access-page .access-closing h2 {
    font-size: clamp(20px, 5.7vw, 26px);
    letter-spacing: normal;
  }

  .access-page .access-closing h2 .phrase {
    display: block;
    white-space: normal;
  }

  .access-page .access-closing .section > p:not(.booking-status) {
    margin: 22px auto;
    font-size: 12px;
    line-height: 2.2;
  }

  .access-page .access-closing .reserve-link {
    width: 100%;
    min-width: 0;
    padding: 15px 17px;
    margin-top: 25px;
    font-size: 12px;
  }
}

/* Give only EQUIPMENT body copy an 18px mobile gutter, without changing type. */
@media(max-width:768px) {
 .access-page #equipment-label ~ p {
  width:calc(100% + 2 * max(0px, var(--detail-gutter) - 18px));
  margin-left:calc(0px - max(0px, var(--detail-gutter) - 18px));
 }
}

@media(max-width:389px) {
 .access-page #equipment-label ~ p {width:100%;margin-left:0;}
}

/* Keep the panorama frame; trim only spare ceiling space, not either machine. */
.access-page .studio-panorama .studio-overview-photo {
 width:min(100%,690px);height:auto;aspect-ratio:3 / 2;
 object-fit:cover;object-position:center bottom;
}
@media(max-width:768px) {
 .access-page .studio-panorama .studio-overview-photo {
  width:min(100%,420px,97.5vw);
 }
}
