/* Shared saved geometry. Only the left selection list scrolls; the right summary stays fixed. */
.hotel-page .tulua-media.section-shell {
  width: calc(100% - 48px);
  max-width: none;
  margin-inline: auto;
}
.hotel-page .hotel-media-card {
  --media-card-height: 520px;
  display: grid;
  grid-template-columns: clamp(210px, 17vw, 250px) minmax(0, 1fr);
  border: 1px solid #dbe1d9;
  border-radius: 24px;
  background: #f6f5ef;
  box-shadow: 0 20px 48px rgba(18, 62, 49, .1);
  isolation: isolate;
}
.hotel-page .hotel-media-navigation { min-width: 0; position: relative; border-radius: 24px 0 0 24px; background: #f6f5ef; }
.hotel-media-nav-heading { padding: 24px 22px 18px; display: grid; gap: 6px; color: #203f35; }
.hotel-media-nav-heading strong { font-size: 16px; line-height: 1.4; font-weight: 700; }
.hotel-media-nav-heading small { color: #67796e; font-size: 12px; line-height: 1.5; }
.hotel-page .hotel-media-mobile-toggle { display: none; }
.hotel-page .hotel-media-choice-list {
  position: absolute;
  inset: 94px 10px 24px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.hotel-page .hotel-media-choice-list::-webkit-scrollbar { display: none; }
.hotel-page .hotel-media-card .tulua-media-tabs:not([hidden]) {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 3px;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 2px 4px;
  overflow: visible;
}
.hotel-page .hotel-media-card .tulua-media-tabs > button {
  width: 100%;
  height: auto;
  min-height: 48px;
  margin: 0;
  padding: 13px 14px;
  flex: 0 0 auto;
  align-self: stretch;
  color: #29473d;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}
.hotel-page .hotel-media-card .tulua-media-tabs > button:hover { background: #e7ede4; }
.hotel-page .hotel-media-card .tulua-media-tabs > button.is-active {
  color: #fff;
  background: #203f35;
  box-shadow: inset 3px 0 #e58d62;
  font-weight: 700;
}
.hotel-page .hotel-media-card button:focus-visible,
.hotel-page .hotel-media-card a:focus-visible { outline: 3px solid #c96639; outline-offset: -3px; }
.hotel-media-scroll-cue {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 25px;
  display: none;
  align-items: center;
  justify-content: center;
  color: #587266;
  border-radius: 0 0 0 24px;
  background: linear-gradient(transparent, #f6f5ef 35%);
  pointer-events: none;
  font-size: 16px;
}
.has-more-choices .hotel-media-scroll-cue { display: flex; }
.hotel-page .hotel-media-card .tulua-media-stage { min-width: 0; border-radius: 0 23px 23px 0; overflow: hidden; box-shadow: none; }
.hotel-page .hotel-media-card .tulua-media-panel {
  height: var(--media-card-height);
  min-height: 0;
  grid-template-rows: minmax(0, 1fr);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(290px, 1fr);
  gap: 0;
  border-radius: 0;
  background: #203f35;
}
.hotel-page .hotel-media-card [hidden] { display: none !important; }
.hotel-page .hotel-media-card .tulua-media-panel > figure {
  order: -1;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  margin: 0;
  aspect-ratio: auto;
  border-radius: 0;
}
.hotel-page .hotel-media-card .media-copy {
  min-width: 0;
  min-height: 0;
  overflow: clip;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 26px;
  justify-content: flex-start;
  overflow-wrap: anywhere;
}
.hotel-page .hotel-media-card .media-copy > * { flex-shrink: 0; }
.hotel-page .hotel-media-card .media-copy > p:first-child { margin: 0 0 10px; font-size: 12px; line-height: 1.5; letter-spacing: .1em; }
.hotel-page .hotel-media-card .media-copy h3 { margin: 0 0 10px; font-size: clamp(26px, 2vw, 34px); line-height: 1.16; }
.hotel-page .hotel-media-card .media-copy > p:not(:first-child) { margin: 0 0 10px; color: #e0e8e1; font-size: 15px; line-height: 1.65; }
.hotel-page .hotel-media-card .media-copy dl { margin: 8px 0 0; }
.hotel-page .hotel-media-card .media-copy dl > div { padding: 10px 0; grid-template-columns: minmax(80px, .7fr) minmax(0, 1fr); gap: 14px; }
.hotel-page .hotel-media-card .media-copy dt { color: #bfcec3; font-size: 12px; line-height: 1.5; }
.hotel-page .hotel-media-card .media-copy dd { font-size: 13px; line-height: 1.5; }
.hotel-page .hotel-media-card .media-copy > a { min-height: 44px; margin-top: auto; padding-top: 10px; gap: 14px; font-size: 13px; line-height: 1.5; }
.hotel-page .hotel-media-card .hotel-media-toolbar { inset: 14px 14px auto; gap: 6px; }
.hotel-page .hotel-media-card .hotel-media-document { font-size: 13px; }
.hotel-page .hotel-media-card .media-copy > .hotel-media-document { align-self: flex-start; margin-top: 12px; }
.hotel-page .hotel-media-card .hotel-media-caption { padding: 8px 10px; font-size: 12px; }
.hotel-page .hotel-media-card .tulua-media-arrow { width: 44px; height: 44px; }
.hotel-page .hotel-media-card .tulua-media-arrow--previous { left: 12px; }
.hotel-page .hotel-media-card .tulua-media-arrow--next { right: 12px; }
.hotel-page .hotel-media-card .tulua-media-thumbnails { left: 12px; right: 12px; bottom: 12px; padding: 7px; gap: 6px; border-radius: 12px; }
.hotel-page .hotel-media-card .tulua-media-thumbnails button { width: 60px; height: 46px; flex-basis: 60px; }

@media (max-width: 1100px) {
  .hotel-page .hotel-media-card { grid-template-columns: minmax(0, 1fr); }
  .hotel-page .hotel-media-navigation { z-index: 8; border-radius: 23px 23px 0 0; }
  .hotel-media-nav-heading { display: none; }
  .hotel-page .hotel-media-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    height: 70px;
    min-height: 70px;
    padding: 16px 22px;
    color: #203f35;
    border: 0;
    border-radius: 23px 23px 0 0;
    background: transparent;
    font: 700 15px/1.5 "DM Sans", Arial, sans-serif;
    text-align: left;
    cursor: pointer;
  }
  .hotel-media-mobile-toggle > span:first-child { min-width: 0; display: grid; gap: 3px; }
  .hotel-media-mobile-toggle small { color: #697b70; font-size: 12px; font-weight: 600; }
  .hotel-media-mobile-toggle [data-media-current-label] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hotel-media-mobile-toggle > span:last-child { font-size: 22px; color: #bb623b; }
  .hotel-media-mobile-toggle[aria-expanded="true"] > span:last-child { transform: rotate(180deg); }
  .hotel-page .hotel-media-choice-list {
    display: none;
    inset: 100% 8px auto;
    max-height: min(360px, 55dvh);
    padding: 8px;
    border: 1px solid #d2dcd3;
    border-radius: 0 0 14px 14px;
    background: #f6f5ef;
    box-shadow: 0 15px 25px rgba(18, 62, 49, .18);
  }
  .hotel-page .hotel-media-navigation.is-open .hotel-media-choice-list { display: block; }
  .hotel-page .hotel-media-card .tulua-media-stage { border-radius: 0 0 23px 23px; }
  .hotel-media-scroll-cue { display: none !important; }
}
@media (max-width: 760px) {
  .hotel-page .tulua-media.section-shell { width: calc(100% - 8px); }
  .hotel-page .hotel-media-card { border-radius: 20px; }
  .hotel-page .hotel-media-navigation {
    padding: 8px;
    border-radius: 20px 20px 0 0;
    background: #edf2eb;
  }
  .hotel-page .hotel-media-mobile-toggle {
    height: auto;
    min-height: 74px;
    padding: 11px 12px 11px 14px;
    gap: 12px;
    border: 2px solid #c66a40;
    border-radius: 14px;
    background: #fffdf9;
    box-shadow: 0 7px 18px rgba(23, 63, 52, .1);
  }
  .hotel-media-mobile-toggle > span:first-child { gap: 2px; }
  .hotel-media-mobile-toggle small {
    color: #a9502d;
    font-weight: 800;
  }
  .hotel-media-mobile-toggle > span:last-child {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: #c66a40;
    line-height: 1;
    transition: transform .2s ease, background .2s ease;
  }
  .hotel-page .hotel-media-navigation.is-open .hotel-media-mobile-toggle {
    color: #fff;
    border-color: #173f34;
    background: #173f34;
  }
  .hotel-page .hotel-media-navigation.is-open .hotel-media-mobile-toggle small { color: #f3b08d; }
  .hotel-page .hotel-media-navigation.is-open .hotel-media-mobile-toggle > span:last-child { background: #d9774c; }
  .hotel-page .hotel-media-card .tulua-media-panel { height: auto; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; }
  .hotel-page .hotel-media-card .tulua-media-panel > figure {
    min-height: clamp(420px, 112vw, 480px);
    height: clamp(420px, 112vw, 480px);
    aspect-ratio: auto;
    background: #102d25;
  }
  .hotel-page .hotel-media-card .tulua-media-panel > figure > img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center !important;
    transform: none !important;
  }
  .hotel-page .hotel-media-card .media-copy { height: auto; min-height: 0; overflow: visible; padding: 18px; }
  .hotel-page .hotel-media-card .media-copy > a { margin-top: 16px; }
  .hotel-page .hotel-media-card .media-copy dl > div { padding-block: 8px; }
  .hotel-page .hotel-media-card .media-copy h3 { font-size: 28px; }
  .hotel-page .hotel-media-card .hotel-media-toolbar { inset: 10px 10px auto; }
  .hotel-page .hotel-media-card .hotel-media-caption { max-width: 100%; font-size: 12px; }
  .hotel-page .hotel-media-card .hotel-dossier-preview { padding: 18px; }
  .hotel-page .hotel-media-card .hotel-dossier-canvas { inset: 64px 14px 14px; }
  .hotel-page .hotel-media-card .tulua-media-thumbnails {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 9px;
    gap: 8px;
  }
  .hotel-page .hotel-media-card .tulua-media-thumbnails button {
    width: 86px;
    height: 64px;
    flex-basis: 86px;
    border-radius: 12px;
  }
}

/* Source-backed venues without an attributable photo: no empty image column. */
.hotel-page .tulua-media-panel.media-panel--text-only {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
}
.hotel-page .tulua-media-panel.media-panel--text-only .media-copy {
  grid-column: 1 / -1;
  max-width: 76ch;
}

/* Related PDFs stay discoverable without covering the entire venue photograph. */
.hotel-page .hotel-document-choice { position: relative; max-width: 100%; pointer-events: auto; }
.hotel-page .hotel-document-choice > summary { list-style: none; cursor: pointer; }
.hotel-page .hotel-document-choice > summary::-webkit-details-marker { display: none; }
.hotel-page .hotel-document-choice > summary::after { content: '+'; margin-left: 8px; font-size: 20px; }
.hotel-page .hotel-document-choice[open] > summary::after { content: '−'; }
.hotel-page .hotel-document-choice-list { position: absolute; top: calc(100% + 6px); left: 0; width: 300px; max-width: min(300px, calc(100vw - 76px)); max-height: 260px; overflow-y: auto; overscroll-behavior: contain; padding: 6px; border: 1px solid #b8c9c0; border-radius: 14px; background: #fbf9f3; box-shadow: 0 8px 24px #173f3426; z-index: 12; }
.hotel-page .hotel-document-choice-list .hotel-media-document { display: block; width: 100%; min-height: 44px; margin: 0; border: 0; border-radius: 8px; box-shadow: none; padding: 10px 12px; text-align: left; white-space: normal; overflow-wrap: anywhere; color: #173f34; font-size: 14px; }
.hotel-page .hotel-document-choice-list .hotel-media-document:hover { background: #e4eee5; }
.hotel-page .tulua-media-panel figure:has(.hotel-document-choice[open]) { overflow: visible; z-index: 10; }

/* Expanded room amenities remain readable within the shared card. */
.hotel-page .hotel-media-card .media-copy:has(> details[open]) { overflow-y: auto; scrollbar-width: none; }
.hotel-page .hotel-media-card .media-copy:has(> details[open])::-webkit-scrollbar { display: none; }

/* Short entries without an image must not let the following offers section
   cover an open mobile selection list outside the isolated card. */
@media (max-width: 1100px) {
  .hotel-page .hotel-media-card:has(.hotel-media-navigation.is-open) {
    position: relative;
    z-index: 9;
  }
}
