[data-hotel-catalog] .hotel-card:has(> .hotel-image--property-cover) { align-self: stretch; }
[data-hotel-catalog] .hotel-card > .hotel-image--property-cover {
  aspect-ratio: 16 / 10;
  isolation: isolate;
}
.hotel-image--property-cover img { object-position: center var(--hotel-focus, 50%); }
.hotel-hero--property:has(> .hotel-image--property-cover img[src]:not([src=""])) {
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
}
.hotel-hero--property > .hotel-image--property-cover { min-height: clamp(310px, 35vw, 460px); }
.hotel-cover-open { position: absolute; inset: 0; cursor: zoom-in; }
.hotel-cover-open:focus-visible { outline: 3px solid var(--accent-light); outline-offset: -6px; }
.hotel-cover-open span {
  position: absolute;
  inset: auto 13px 13px auto;
  max-width: calc(100% - 26px);
  padding: 6px 11px;
  border: 1px solid #ffffff3b;
  border-radius: 999px;
  background: #102719eb;
  color: #fff;
  font-size: .82rem;
  font-weight: 650;
}
.hotel-cover-open:hover span { background: var(--deep); }
[data-hotel-catalog] .hotel-card:not(:has(> .hotel-image)) {
  background: linear-gradient(155deg, var(--white) 53%, color-mix(in srgb, var(--sage) 24%, var(--white)));
}
[data-hotel-catalog] .hotel-grid:not(:has(> .hotel-card:not([hidden]) > .hotel-image--property-cover)) { align-items: stretch; }
[data-hotel-catalog] .hotel-card:not(:has(> .hotel-image)) .hotel-card-copy { flex: 1; }

.hotel-photo-section {
  margin-block-start: clamp(30px, 5vw, 66px);
  min-width: 0;
}
.hotel-photo-section > h2 {
  margin-bottom: clamp(14px, 2.3vw, 26px);
  color: var(--deep);
  font-size: clamp(1.7rem, 3.75vw, 3.25rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}
.hotel-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: clamp(11px, 1.9vw, 22px);
  max-width: 68rem;
}
.hotel-photo-grid > .hotel-photo-card {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: clamp(12px, 1.4vw, 18px);
  background: var(--white);
}
.hotel-photo-card > a {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--deep);
  cursor: zoom-in;
}
.hotel-photo-card > a:focus-visible {
  z-index: 1;
  outline: 3px solid var(--accent-light);
  outline-offset: -5px;
}
.hotel-photo-card img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center var(--hotel-focus, 50%);
}
.hotel-photo-card figcaption {
  padding: 9px clamp(11px, 1.5vw, 16px);
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.42;
  overflow-wrap: anywhere;
}
.hotel-photo-grid > .hotel-photo-card:only-child { max-width: 46rem; }

.hotel-photo-dialog {
  width: min(94vw, 72rem);
  max-width: none;
  max-height: 94dvh;
  overflow: auto;
  padding: clamp(9px, 2vw, 19px);
  border: 1px solid var(--line);
  border-radius: clamp(12px, 1.7vw, 21px);
  background: var(--white);
  color: var(--text);
}
.hotel-photo-dialog::backdrop { background: #0a190fe8; }
.hotel-photo-view { display: grid; gap: clamp(8px, 1.8vw, 15px); }
.hotel-photo-view-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hotel-photo-view-head h2 {
  color: var(--deep);
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.13;
  overflow-wrap: anywhere;
}
.hotel-photo-close, .hotel-photo-step {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--deep);
  font-weight: 650;
}
.hotel-photo-close:not(:disabled):hover, .hotel-photo-step:not(:disabled):hover {
  border-color: var(--accent-dark);
  background: var(--sage);
}
.hotel-photo-close {
  flex: 0 0 44px;
  font-size: 1.35rem;
  line-height: 1;
}
.hotel-photo-full {
  display: block;
  width: 100%;
  height: min(68dvh, 47rem);
  object-fit: contain;
  border-radius: 9px;
  background: var(--deep);
}
.hotel-photo-caption {
  color: var(--muted);
  text-align: center;
  overflow-wrap: anywhere;
}
.hotel-photo-view-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  align-items: center;
  gap: 6px 12px;
}
.hotel-photo-step {
  padding: 8px 12px;
  overflow-wrap: anywhere;
  line-height: 1.2;
}
.hotel-photo-step:last-child { grid-column: -2; }
.hotel-photo-step:disabled { opacity: .48; cursor: default; }
.hotel-photo-view-bar:not(:has(.hotel-photo-step:not([hidden]))) { grid-template-columns: 1fr; }

@media (max-width: 720px) {
  .hotel-hero--property:has(> .hotel-image--property-cover img[src]:not([src=""])) {
    grid-template-columns: minmax(0, 1fr);
  }
  .hotel-hero--property > .hotel-image--property-cover {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 550px) {
  .hotel-photo-grid { grid-template-columns: minmax(0, 1fr); }
  .hotel-photo-full { height: min(58dvh, 118vw); }
  .hotel-photo-view-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hotel-photo-caption { grid-row: 1; grid-column: 1 / -1; }
  .hotel-photo-step { grid-row: 2; }
}
