.stay-summary {
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  margin-block-start: 0;
  text-wrap: balance;
}

.stay-summary span {
  white-space: nowrap;
}

.stay-details {
  background-color: #f3efe7;
  padding: 36px clamp(12px, 4vw, 24px);
}

.stay-details address {
  font-style: normal;
}

.stay-details a[href^="tel:"] span {
  white-space: nowrap;
}

.wp-block-details summary {
  cursor: pointer;
}

.photo-trigger {
  align-items: stretch;
  background: none;
  border: 0;
  color: inherit;
  cursor: zoom-in;
  display: flex;
  flex: 1;
  min-width: 0;
  padding: 0;
  width: 100%;
}

.photo-trigger:focus-visible,
.album-dialog button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -3px;
}

.album-dialog {
  background: #000;
  border: 0;
  box-sizing: border-box;
  color: #fff;
  height: 100%;
  inset: 0;
  margin: 0;
  max-height: none;
  max-width: none;
  padding: 16px;
  width: 100%;
}

.album-dialog[open] {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

html:has(.album-dialog[open]) {
  overflow: hidden;
}

.album-dialog button {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: 2rem/1 system-ui, sans-serif;
  min-height: 44px;
  min-width: 44px;
}

.album-close {
  position: absolute;
  right: 12px;
  top: 12px;
}

.album-photo {
  margin: 0;
  text-align: center;
}

.album-photo img {
  display: block;
  margin-inline: auto;
  max-height: 82vh;
  max-width: 100%;
  object-fit: contain;
}

.album-position {
  margin-top: 12px;
}

@media (max-width: 600px) {
  .album-dialog[open] {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    justify-items: center;
  }

  .album-photo {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
  }

  .album-photo img {
    max-height: 73dvh;
  }
}
