
/*
 SmallLake.City Home Catalog 2.16.50
 LEGACY WIDTH-LAYER NEUTRALIZATION & SINGLE GEOMETRY AUTHORITY

 One catalog-only desktop authority.
 Header, navigation, footer, Property Explorer and DSM are untouched.
*/

html,
body.slc-hc-21650-page {
  overflow-x: hidden !important;
}

@media (min-width: 1200px) {

  body.slc-hc-21650-page #slc21617-rehost.slc21650-authority {
    width: min(1560px, calc(100vw - 96px)) !important;
    max-width: min(1560px, calc(100vw - 96px)) !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    translate: none !important;
    position: relative !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  body.slc-hc-21650-page #slc21617-rehost.slc21650-authority > .slc21617-live-root {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  /* One authoritative model-row geometry. */
  body.slc-hc-21650-page #slc21617-rehost .slc21650-model-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1.78fr) minmax(320px, .90fr) !important;
    gap: clamp(30px, 2.1vw, 44px) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    align-items: start !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  body.slc-hc-21650-page #slc21617-rehost .slc21650-primary,
  body.slc-hc-21650-page #slc21617-rehost .slc21650-support {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.slc-hc-21650-page #slc21617-rehost img {
    max-width: 100% !important;
    height: auto !important;
  }

  body.slc-hc-21650-page #slc21617-rehost img.slc21620-primary-img,
  body.slc-hc-21650-page #slc21617-rehost img.slc21621-primary-img,
  body.slc-hc-21650-page #slc21617-rehost img.slc21620-support-img,
  body.slc-hc-21650-page #slc21617-rehost img.slc21621-support-img,
  body.slc-hc-21650-page #slc21617-rehost img.slc21622-linden-primary {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
  }

  body.slc-hc-21650-page #slc21617-rehost .slc21650-gallery,
  body.slc-hc-21650-page #slc21617-rehost .slc21626-gallery {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
    left: 0 !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  body.slc-hc-21650-page #slc21617-rehost .slc21626-gallery img,
  body.slc-hc-21650-page #slc21617-rehost img.slc21626-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  body.slc-hc-21650-page #slc21617-rehost .slc21650-model-row {
    grid-template-columns: minmax(0, 1.6fr) minmax(240px, .8fr) !important;
    gap: 24px !important;
  }
}

@media (max-width: 899px) {
  body.slc-hc-21650-page #slc21617-rehost,
  body.slc-hc-21650-page #slc21617-rehost > .slc21617-live-root {
    max-width: 100% !important;
    transform: none !important;
  }

  body.slc-hc-21650-page #slc21617-rehost .slc21650-model-row {
    grid-template-columns: 1fr !important;
  }
}
