
/*
  2.16.67
  CSS ONLY. No DOM moves, cloning, reconstruction, image reassignment, or JS.
  Purpose: preserve recovered structure while preventing the catalog/right support
  column from rendering beyond the visible viewport.
*/

body.slc-hc-21667-page,
body.slc-hc-21667-page #page,
body.slc-hc-21667-page .wp-site-blocks,
body.slc-hc-21667-page main {
    max-width: 100vw !important;
    overflow-x: clip !important;
    box-sizing: border-box !important;
}

body.slc-hc-21667-page #slc21617-rehost {
    width: min(1320px, calc(100vw - 64px)) !important;
    max-width: calc(100vw - 64px) !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

body.slc-hc-21667-page #slc21617-rehost .slc21617-live-root,
body.slc-hc-21667-page #slc21617-rehost .slc21620-row,
body.slc-hc-21667-page #slc21617-rehost .slc21621-authoritative-grid,
body.slc-hc-21667-page #slc21617-rehost .slc-grid2 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Reassert a bounded two-column desktop row without altering content nodes. */
@media (min-width: 821px) {
    body.slc-hc-21667-page #slc21617-rehost .slc21621-authoritative-grid,
    body.slc-hc-21667-page #slc21617-rehost .slc21620-row,
    body.slc-hc-21667-page #slc21617-rehost .slc-grid2 {
        display: grid !important;
        grid-template-columns: minmax(0, 2fr) minmax(220px, 0.82fr) !important;
        column-gap: 24px !important;
        align-items: start !important;
    }
}

/* The critical containment rule: neither column nor its descendants may
   establish an intrinsic minimum wider than the grid track. */
body.slc-hc-21667-page #slc21617-rehost .slc21620-primary-owner,
body.slc-hc-21667-page #slc21617-rehost .slc21620-support-owner,
body.slc-hc-21667-page #slc21617-rehost .slc21621-primary,
body.slc-hc-21667-page #slc21617-rehost .slc21621-support,
body.slc-hc-21667-page #slc21617-rehost .slc21621-authoritative-grid > *,
body.slc-hc-21667-page #slc21617-rehost .slc21620-row > *,
body.slc-hc-21667-page #slc21617-rehost .slc-grid2 > * {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Preserve photographs/plans without stretching. */
body.slc-hc-21667-page #slc21617-rehost img {
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
}

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

/* Preserve the recovered Linden 3x2 construction presentation. */
body.slc-hc-21667-page #slc21617-rehost .slc21626-gallery {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
}

@media (max-width: 820px) {
    body.slc-hc-21667-page #slc21617-rehost {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
    }
    body.slc-hc-21667-page #slc21617-rehost .slc21621-authoritative-grid,
    body.slc-hc-21667-page #slc21617-rehost .slc21620-row,
    body.slc-hc-21667-page #slc21617-rehost .slc-grid2 {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}
