/* Native, silent archive players: never crop or stretch the supplied frame. */
.ss-hotel-video {
  width: 100%;
  max-width: 320px;
  margin: 2rem auto;
}
.ss-hotel-video video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  background: #101d39;
}
.ss-hotel-video video:focus-visible {
  outline: 3px solid #2a5fae;
  outline-offset: 4px;
}
.ss-hotel-video figcaption {
  margin-top: .65rem;
  color: #4c525c;
  font: 400 .85rem/1.5 var(--sans, sans-serif);
  text-align: center;
  overflow-wrap: anywhere;
}
.ss-hotel-video .ss-video-note {
  display: block;
  margin-top: .25rem;
  font-size: .75rem;
}
#atlas-card .ss-hotel-video {
  max-width: 240px;
  margin: 1rem auto;
}
#atlas-card .ss-map-video-actions { display: none; }
@media (max-width: 860px) {
  #atlas-card.has-archive-video {
    position: fixed;
    top: max(80px, env(safe-area-inset-top));
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    right: 12px;
    max-height: calc(100svh - 92px);
    overscroll-behavior: contain;
  }
  #atlas-card.has-archive-video .card-close {
    position: sticky;
    top: 0;
    float: right;
    margin-left: 8px;
    z-index: 1;
  }
  #atlas-card .ss-hotel-video video {
    width: auto;
    height: var(--ss-map-video-height, 180px);
    max-width: 100%;
    margin-inline: auto;
  }
  #atlas-card .ss-map-video-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
  }
  #atlas-card .ss-map-video-actions button,
  #atlas-card .ss-map-video-actions a {
    flex: 1;
    min-height: 44px;
    padding: 6px;
    color: #151f33;
    background: #ffffff;
    border: 1px solid #626b7c;
    border-radius: 4px;
    font: 500 .75rem/1.3 var(--sans, sans-serif);
    cursor: pointer;
  }
  #atlas-card .ss-map-video-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: underline;
  }
  #atlas-card .ss-map-video-actions [hidden] { display: none; }
  #atlas-card .ss-map-video-actions button:focus-visible,
  #atlas-card .ss-map-video-actions a:focus-visible {
    outline: 3px solid #2a5fae;
    outline-offset: 2px;
  }
  #atlas-card .ss-hotel-video video:fullscreen {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
  }
}
