/* Addressed DS house child pages only. No global selector or tariff logic. */
.ds-house-child{--ds-child-yellow:#ffca05;--ds-child-ink:#292929;--ds-child-border:#e2e4e7;color:var(--ds-child-ink)}
.ds-house-child .ds-house-pricing{background:#fff;padding:40px 0;margin:0;clear:both}
.ds-house-child .ds-house-pricing>.container{width:100%;max-width:1170px;margin:0 auto;padding:0 20px;box-sizing:border-box}
.ds-house-child .ds-house-pricing__title{font-family:inherit;font-size:clamp(25px,3vw,36px);font-weight:700;line-height:1.2;margin:0 0 20px;color:var(--ds-child-ink)}
.ds-house-child .ds-house-pricing p{font-size:17px;line-height:1.55;margin:14px 0;max-width:100%;overflow-wrap:anywhere}
.ds-house-child .ds-house-pricing__scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--ds-child-border);border-radius:12px;outline-offset:4px}
.ds-house-child .ds-house-pricing .ds-price-table{display:table;width:100%;min-width:580px;border-collapse:collapse;border-spacing:0;margin:0;background:#fff;color:var(--ds-child-ink);font-family:inherit;font-size:16px;line-height:1.45;table-layout:auto}
.ds-house-child .ds-house-pricing .ds-price-table th,.ds-house-child .ds-house-pricing .ds-price-table td{display:table-cell;padding:15px 18px;border:0;border-bottom:1px solid var(--ds-child-border);vertical-align:top;text-align:left;white-space:normal;background:transparent;color:inherit;font-size:inherit;line-height:inherit}
.ds-house-child .ds-house-pricing .ds-price-table thead th{background:#fff6ce;font-weight:700}
.ds-house-child .ds-house-pricing .ds-price-table tbody th{font-weight:500}
.ds-house-child .ds-house-pricing .ds-price-table tr:last-child>*{border-bottom:0}
.ds-house-child .ds-house-pricing__note{padding:16px 18px;border-left:4px solid var(--ds-child-yellow);background:#fafafa;border-radius:0 8px 8px 0}
.ds-house-child .ba-grid--no-media{display:block}.ds-house-child .ba-grid--no-media .ba-left{width:100%;max-width:none}
.ds-house-child .ba-grid--gallery-only{display:block}.ds-house-child .ba-grid--gallery-only .ba-right{width:100%;max-width:none}
.ds-house-child .ba-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ds-house-child .ba-gallery figure{margin:0;min-width:0}.ds-house-child .ba-gallery img{display:block;width:100%;height:260px;object-fit:cover;border-radius:10px}
.ds-house-child .ba-gallery figcaption{font-size:15px;line-height:1.45;margin-top:10px;overflow-wrap:anywhere;color:#454545}
.ds-house-child .seo-text{max-width:100%;line-height:1.55}.ds-house-child .seo-text>img{max-width:100%;height:auto}
.ds-house-child .rex-child-seo{padding:34px 0}.ds-house-child .rex-child-seo>.container>.container{padding:0}
.ds-house-child .rex-child-seo img{max-width:100%;height:auto;display:block;margin:0 auto 22px}
.ds-house-child .rex-child-seo .seo-text{margin:0;padding:0}.ds-house-child .rex-child-seo h2{font-size:clamp(25px,3vw,36px);line-height:1.25;margin:18px 0}
.ds-house-child .rex-child-seo p,.ds-house-child .rex-child-seo li{font-size:17px;line-height:1.6}
.ds-house-child #test{scroll-margin-top:110px}.ds-house-child #test>.container>h2{font-family:inherit;font-size:clamp(25px,3vw,36px);line-height:1.25}
.ds-house-child .ds-house-individual{padding:28px 0;background:#f7f8fa;border-block:1px solid var(--ds-child-border)}
.ds-house-child .ds-house-individual p{font-size:18px;line-height:1.5}.ds-house-child .ds-house-individual a{display:inline-block;padding:16px 24px;border-radius:8px;background:var(--ds-child-yellow);color:#222;font-weight:700}
@media(max-width:767px){.ds-house-child .ds-house-pricing{padding:28px 0}.ds-house-child .ds-house-pricing>.container{padding:0 16px}.ds-house-child .ds-house-pricing .ds-price-table{font-size:15px}.ds-house-child .ds-house-pricing .ds-price-table th,.ds-house-child .ds-house-pricing .ds-price-table td{padding:12px}.ds-house-child .ba-gallery{grid-template-columns:1fr;gap:24px}.ds-house-child .ba-gallery img{height:auto;max-height:65vh;object-fit:contain}.ds-house-child .rex-child-seo{padding:24px 0}}
/* Repair proven legacy overflow only inside the nine addressed child pages. */
.ds-house-child .ds-house-subservices .services-list__item,
.ds-house-child .ds-house-subservices .services-list__con{min-width:0;box-sizing:border-box}



.ds-house-child .ds-house-subservices .services-list__bot .btn{max-width:100%;box-sizing:border-box;white-space:normal}
.ds-house-child .neighbor__bot{flex-wrap:wrap;gap:16px}
.ds-house-child .neighbor__btn{max-width:100%;box-sizing:border-box;white-space:normal;margin-right:0}
@media(max-width:900px){.ds-house-child .ds-house-subservices .services-list.temp-ver1 .services-list__item{width:47%!important;margin-left:1%!important;margin-right:1%!important}}
@media(max-width:767px){
 .ds-house-child .trust .trust__img{width:100%!important;max-width:100%;margin-left:0;margin-right:0;transform:none!important}
 .ds-house-child .trust .trust__img img{max-width:100%;height:auto}
 .ds-house-child .trust .trust__img-posa{max-width:100%;left:0!important;right:auto!important;transform:none!important}
 .ds-house-child .all-filtes{max-width:100%;width:100%;margin-left:0;margin-right:0;box-sizing:border-box}
 .ds-house-child .all-filtes__item{max-width:100%;box-sizing:border-box;white-space:normal}
 .ds-house-child .ds-house-subservices .services-list.temp-ver1 .services-list__item{width:100%!important;margin-left:0!important;margin-right:0!important}
 .ds-house-child .ds-house-subservices .services-list__con .t30{overflow-wrap:anywhere}
}
/* Bound legacy trust artwork at tablet/desktop widths as well. */
.ds-house-child .trust .trust__img{max-width:100%;margin-right:0!important;transform:none!important}
/* Inline links/strong text must flow together, not become separate flex items. */
.ds-house-child .rex-child-seo .seo-text ul.seo-list li,
.ds-house-child .ds-house-main .seo-text ul.seo-list li{display:block;position:relative;box-sizing:border-box;max-width:100%;min-width:0;padding-left:34px;white-space:normal;overflow-wrap:anywhere}
.ds-house-child .rex-child-seo .seo-text ul.seo-list li>img,
.ds-house-child .ds-house-main .seo-text ul.seo-list li>img{position:absolute;left:0;top:0;width:24px;height:24px;margin:0;object-fit:contain}

/* Issue39: local slots reuse ba-grid, ba-list and the current original card component. */
.ds-review-intro{position:relative}.ds-review-intro .ba-block{padding:32px 0}.ds-review-intro .ba-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:start}.ds-review-intro .ba-left,.ds-review-intro .ba-right{width:auto;max-width:none;min-width:0}.ds-review-intro .ba-h2{font-size:clamp(25px,2.5vw,34px);line-height:1.25}.ds-house-child .ds-review-intro .ba-block[data-rex-house-pilot] .ba-gallery{display:block}.ds-review-intro .ba-gallery img{height:auto;max-height:440px;object-fit:contain}.ds-review-intro .ba-gallery figure{margin:0}.ds-review-intro .ba-text p{line-height:1.55;margin:0 0 14px}.ds-review-intro .ba-text .ba-item{margin:8px 0}

.ds-review-gallery{margin:24px auto}.ds-review-gallery .ba-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ds-review-gallery .ba-gallery img{width:100%;height:220px;object-fit:contain}.ds-review-gallery figcaption{font-size:14px;line-height:1.45;margin-top:8px}
.ds-review-lower .services-top{align-items:flex-start;gap:24px}.ds-review-lower .services-top__item{min-width:0}.ds-review-lower .seo-text{margin:0;line-height:1.55}.ds-review-lower .seo-text p{margin:0 0 14px}.ds-review-lower .seo-text h2:first-child{margin-top:0}.ds-review-lower .services-top__item>img{max-width:100%;height:auto;max-height:360px;object-fit:contain}.ds-review-lower .seo-text>img{max-height:360px;object-fit:contain}
@media(max-width:767px){.ds-review-intro .ba-grid{grid-template-columns:1fr;gap:20px}.ds-review-gallery .ba-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ds-review-gallery .ba-gallery img{height:180px}.ds-review-lower .services-top{display:block}.ds-review-lower .services-top__item{width:100%;margin-bottom:24px}}

/* Issue39 r2: only existing review child/building slots; the approved hub matches none. */
.ds-review-media-section .services-form{overflow:hidden}
.ds-house-subservices .services-list__pr .pr-link{flex-shrink:0;white-space:nowrap}
.ds-review-intro--buildings .ba-right img{display:block;width:100%;height:auto;border-radius:10px}

.ds-review-gallery .ba-gallery figure{margin:0;min-width:0;display:flex;flex-direction:column;align-items:stretch}
.ds-review-gallery .ba-gallery img{display:block;max-width:100%;object-position:bottom center}
.ds-review-gallery .ba-gallery figcaption{margin:6px 0 0;line-height:1.4;color:#454545}
.ds-review-lower .seo-text p{margin:0 0 10px}.ds-review-lower .seo-text h2,.ds-review-lower .seo-text h3{margin:12px 0 10px}.ds-review-lower .seo-text .h2-icon-block h2,.ds-review-lower .seo-text .h2-icon-block h3{margin:0}
.ds-review-lower .services-top__item>p:has(>img:only-child){margin:0 0 16px}
@media(max-width:767px){.ds-review-gallery .ba-gallery{grid-template-columns:1fr;gap:20px}.ds-review-gallery .ba-gallery img{height:auto;max-height:360px}}
