/* BAYT exterior: minimal, isolated responsive normalization.
   Retain the original card's natural image size and no extra backdrop-filter.
   Do not set galleries or image frames to height:0 or force expensive blur.
   The first BAYT exterior card remains unmodified and is the reference. */
html body #mondo #byat .exterior-track > .exterior-panel:is(.plan-editorial,.elevation-editorial) {
  box-sizing: border-box !important;
  height: 100% !important;
  max-height: none !important;
  min-height: 0 !important;
  align-self: stretch !important;
  min-width: 0 !important;
}
html body #mondo #byat .exterior-track > .exterior-panel:is(.plan-editorial,.elevation-editorial) > .photo-gallery {
  min-width: 0 !important;
  min-height: 0 !important;
}
html body #mondo #byat .exterior-track > .exterior-panel:is(.plan-editorial,.elevation-editorial) .photo-slide,
html body #mondo #byat .exterior-track > .exterior-panel.plan-editorial .plan-comparison > img {
  object-fit: contain !important;
  object-position: center !important;
}
@media (min-width: 901px) {
  html body #mondo #byat .exterior-track > .exterior-panel:is(.plan-editorial,.elevation-editorial) {
    display: grid !important;
    grid-template-columns: minmax(0,var(--ds-editorial-copy-width)) minmax(0,1fr) !important;
    grid-template-rows: minmax(0,1fr) !important;
    overflow: hidden !important;
  }
  html body #mondo #byat .exterior-track > .exterior-panel:is(.plan-editorial,.elevation-editorial) > .byat-copy {
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    max-height: none !important;
    overflow-y: auto !important;
  }
  html body #mondo #byat .exterior-track > .exterior-panel:is(.plan-editorial,.elevation-editorial) > .photo-gallery {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    max-height: none !important;
    overflow: hidden !important;
  }
  html body #mondo #byat .exterior-track > .exterior-panel:is(.plan-editorial,.elevation-editorial) .photo-stage {
    flex: 1 1 auto !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
  }
}
@media (max-width: 900px) {
  html body #mondo #byat .exterior-track > .exterior-panel:is(.plan-editorial,.elevation-editorial) {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: clamp(6px,1svh,12px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }
  html body #mondo #byat .exterior-track > .exterior-panel:is(.plan-editorial,.elevation-editorial) > .byat-copy {
    display: flex !important;
    flex-direction: column !important;
    flex: 0 0 auto !important;
    height: auto !important;
    max-height: none !important;
    min-width: 0 !important;
    overflow: visible !important;
  }
  html body #mondo #byat .exterior-track > .exterior-panel:is(.plan-editorial,.elevation-editorial) > .photo-gallery {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 0 auto !important;
    height: auto !important;
    min-height: clamp(165px,28dvh,330px) !important;
    max-height: none !important;
    overflow: visible !important;
  }
  html body #mondo #byat .exterior-track > .exterior-panel:is(.plan-editorial,.elevation-editorial) .photo-stage {
    position: relative !important;
    flex: 1 0 auto !important;
    height: clamp(165px,28dvh,330px) !important;
    min-height: clamp(165px,28dvh,330px) !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
  }
  html body #mondo #byat .exterior-track > .exterior-panel:is(.plan-editorial,.elevation-editorial) .editorial-thumbnails {
    display: none !important;
  }
  html body #mondo #byat .exterior-track > .exterior-panel:is(.plan-editorial,.elevation-editorial) .photo-dots {
    display: flex !important;
    position: absolute !important;
    bottom: 14px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: max-content !important;
    max-width: calc(100% - 32px) !important;
    z-index: 9 !important;
    gap: 6px !important;
    padding: 6px 10px !important;
    background: color-mix(in srgb,var(--brand-plum) 70%,transparent) !important;
    border-radius: 30px !important;
  }
  html body #mondo #byat .exterior-track > .exterior-panel:is(.plan-editorial,.elevation-editorial) .photo-dots button {
    display: block !important;
    flex: 0 0 24px !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    padding: 0 !important;
    border: 7px solid transparent !important;
    border-radius: 50% !important;
    background: var(--brand-white) !important;
    background-clip: content-box !important;
    opacity: .75 !important;
  }
  html body #mondo #byat .exterior-track > .exterior-panel:is(.plan-editorial,.elevation-editorial) .photo-dots button[aria-pressed=true] {
    background-color: var(--brand-primary) !important;
    opacity: 1 !important;
  }
  html body #mondo #byat .exterior-track > .exterior-panel:is(.plan-editorial,.elevation-editorial) > .mobile-dynamic-caption {
    display: block !important;
    box-sizing: border-box !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-height: none !important;
    padding: 6px 12px 12px !important;
    margin: 0 !important;
    color: var(--brand-plum) !important;
  }
  html body #mondo #byat .exterior-track > .exterior-panel:is(.plan-editorial,.elevation-editorial) > .mobile-dynamic-caption p {
    color: inherit !important;
    font-size: clamp(11px,2.8vw,13px) !important;
    line-height: 1.4 !important;
  }
}
