.home-without-hero main { padding-top: var(--header); }
.managed-slide-panel { position: relative; }
[data-home-slides] [data-slide-stage] { touch-action: pan-y; }
[data-home-slides] [data-slide-stage]:focus-visible { outline: 3px solid #fffdf5; outline-offset: -4px; }
[data-home-slides] .slide-image-link, [data-home-slides] [data-slide] picture {
  display: block;
  width: 100%;
  height: 100%;
}
[data-home-slides] .slide-image-link:focus-visible { outline: 3px solid #fffdf5; outline-offset: -5px; }
.scroll-hero .scene-photo::after, .scroll-hero .scene-caption { pointer-events: none; }
[data-home-slides] :is(.scene-caption, figcaption) { overflow-wrap: anywhere; }
[data-home-slides] :is(.scene-caption, figcaption) p { white-space: pre-line; }
.managed-carousel .tour-main-controls, .managed-carousel .tour-autoplay { z-index: 4; }
.managed-carousel:not(.slides-ready) :is(.tour-main-controls, .tour-autoplay, .managed-dots, .tour-rail) { display: none; }
.managed-carousel .tour-arrow {
  width: min(var(--managed-arrow-size), 22vw);
  height: min(var(--managed-arrow-size), 22vw);
  color: var(--managed-arrow-color);
}
.managed-carousel .tour-arrow:is(:hover, :focus-visible) { color: var(--managed-arrow-hover); }
.managed-carousel .tour-arrow:disabled { opacity: .4; cursor: default; }
.managed-carousel .tour-arrow .icon { width: 45%; height: 45%; stroke-width: var(--managed-arrow-thickness); }
.managed-carousel .managed-dots {
  display: flex;
  align-items: center;
  width: max-content;
  max-width: calc(100% - 3rem);
  margin: 0 auto;
  padding: .5rem;
  overflow-x: auto;
}
.managed-carousel .managed-dot { flex: none; padding: .5rem .3rem; border: 0; background: transparent; }
.managed-dot > span, .tour-thumb picture::after {
  display: block;
  width: var(--managed-dot-size);
  height: var(--managed-dot-size);
  border-radius: 999px;
  background: var(--managed-dot-color);
  box-shadow: 0 0 0 1px #394b4180;
}
.managed-dot[aria-pressed="true"] > span, .tour-thumb[aria-pressed="true"] picture::after {
  width: var(--managed-active-dot-size);
  background: var(--managed-active-dot-color);
}
.scroll-hero[data-dot-position="inside-bottom"] .managed-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: clamp(1.1rem, 3vw, 2.8rem);
  max-width: min(60%, calc(100% - 9rem));
  transform: translateX(-50%);
}
.scroll-hero .tour-autoplay { bottom: clamp(1.1rem, 3vw, 2.8rem); }
.tour-gallery .tour-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 53%;
  user-select: none;
}
.tour-gallery .tour-thumb picture {
  position: relative;
  display: block;
  height: 116px;
  overflow: hidden;
}
.tour-thumb picture::after { content: ""; position: absolute; bottom: 6px; left: 6px; }
.tour-thumb picture img { width: 100%; height: 100%; object-fit: cover; user-select: none; }
.tour-thumb.is-active picture { outline: 2px solid #f3f3df; outline-offset: -3px; }
.tour-gallery[data-dot-position="below-image"] .tour-rail {
  position: relative;
  inset: auto;
  transform: none;
  padding-top: 1.2rem;
}
.tour-gallery[data-dot-position="below-image"] .tour-thumbnails { background: var(--paper); border-color: var(--line); }
.tour-gallery[data-dot-position="below-image"] :is(.tour-thumb, .tour-thumb.is-active > span, .tour-rail-note, .tour-thumb i) { color: var(--ink); }
.tour-gallery[data-dot-position="below-image"] .tour-thumb > span { text-shadow: none; }
.tour-gallery[data-dot-position="below-image"] .tour-thumb.is-active picture { outline-color: var(--ink); }
.tour-gallery:is(:not(.has-pagination), [data-dot-position="below-image"]) :is(figcaption, .tour-autoplay) { bottom: clamp(1.5rem, 4vw, 3rem); }
@media screen {
  .managed-carousel .scroll-hero-frame { height: var(--screen); overflow: hidden; }
  .managed-carousel .hero-scene { position: absolute; inset: 0; min-height: 0; }
  .managed-carousel .hero-scene, .managed-carousel .tour-slide {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.035);
    transition: opacity var(--slide-duration, 0s) ease, transform var(--slide-duration, 0s) ease, visibility 0s linear var(--slide-duration, 0s);
  }
  .managed-carousel [data-slide].is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transform: translateX(var(--tour-drag, 0px)) scale(1);
    transition-delay: 0s;
  }
  .managed-carousel .is-dragging > [data-slide].is-active { transition: none; }
}
@media (max-width: 1200px) { .tour-gallery .tour-thumb picture { height: 112px; } }
@media (max-width: 960px) { .tour-gallery .tour-thumb picture { height: 108px; } }
@media (max-width: 640px) {
  .tour-gallery .tour-thumb picture { height: 79px; }
  .tour-gallery .tour-slide img { object-position: center; }
  .scroll-hero[data-dot-position="inside-bottom"] .managed-dots { left: 1rem; transform: none; }
}

/* Two original photographs have a portrait frame centered in a landscape JPEG. */
@media (min-width: 768px) {
  .crop-portrait-desktop { --photo-inset: inset(0 25%); --crop-width: max(200%, 150cqh); --crop-height: auto; }
}
@media (max-width: 767px) {
  .crop-portrait-mobile { --photo-inset: inset(0 25%); --crop-width: max(200%, 150cqh); --crop-height: auto; }
}
.tour-gallery picture img { object-view-box: var(--photo-inset, none); }
@supports not (object-view-box: inset(0 25%)) {
  .tour-gallery picture { position: relative; container-type: size; overflow: hidden; }
  .tour-gallery picture img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--crop-width, 100%);
    max-width: none;
    height: var(--crop-height, 100%);
    transform: translate(-50%, -50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .managed-carousel [data-slide] { transition: none; }
}
@media print {
  .home-without-hero main { padding-top: 0; }
  [data-home-slides] :is(.tour-main-controls, .managed-dots, .tour-autoplay, .tour-rail) { display: none; }
  .scroll-hero.is-pinned .hero-scene { visibility: visible; }
}
