/* REAL46 000.040.010 — 9:16 gallery and full-width description, public detail only. */
.rs-product-detail .rs-back{margin:27px 0 22px}
.rs-product-detail .rs-product-layout{display:grid;grid-template-columns:minmax(0,398px) minmax(0,1fr);column-gap:clamp(22px,2.6vw,38px);row-gap:26px;align-items:start}
.rs-product-detail .rs-detail-summary{min-width:0;align-self:start}
.rs-product-detail .rs-detail-summary h1{font-size:clamp(29px,3.1vw,43px);line-height:1.13;letter-spacing:-.035em;margin:0 0 16px}
.rs-product-detail .rs-detail-summary .rs-overline{margin:1px 0 13px}
.rs-product-detail .rs-detail-summary .rs-facts{margin:15px 0 15px;gap:7px}
.rs-product-detail .rs-detail-summary .rs-facts span{padding:7px 10px;font-size:13px}
.rs-product-detail .rs-detail-summary .rs-lead{font-size:17px;line-height:1.7;margin:15px 0 0;color:#536b77}
/* Fixed 9:16 media slots, independent of the original image dimensions. No crop. */
.rs-product-detail .rs-gallery{position:static;display:grid;grid-template-columns:65px minmax(0,1fr);align-items:start;gap:12px;min-width:0;max-width:415px}
.rs-product-detail .rs-gallery-thumbs{display:flex;flex-direction:column;gap:10px;max-height:558px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b8c9c2 transparent;padding:2px}
.rs-product-detail .rs-gallery-thumb{position:relative;display:block;flex:0 0 auto;width:100%;aspect-ratio:9 / 16;border:2px solid transparent;border-radius:9px;padding:0;overflow:hidden;background:#edf2f0;cursor:pointer;transition:border-color .15s ease}
.rs-product-detail .rs-gallery-thumb:hover,.rs-product-detail .rs-gallery-thumb:focus-visible{border-color:#659e89;outline:none}
.rs-product-detail .rs-gallery-thumb.is-active{border-color:#1b6953;box-shadow:0 0 0 1px #1b6953}
.rs-product-detail .rs-gallery-thumb img,.rs-product-detail .rs-gallery-thumb video{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
.rs-product-detail .rs-gallery-play{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:21px;text-shadow:0 1px 8px #142723;background:#10261b25;pointer-events:none}
.rs-product-detail .rs-gallery-stage{width:min(100%,310px,calc(69dvh * 9 / 16));aspect-ratio:9 / 16;height:auto;min-height:0;max-height:none;position:relative;background:#edf2f0;border:1px solid #e5eeea;border-radius:12px;overflow:hidden;display:block;isolation:isolate;outline-offset:3px}
.rs-product-detail .rs-gallery-view{position:absolute;inset:0;display:grid;place-items:center}
.rs-product-detail .rs-gallery-view img,.rs-product-detail .rs-gallery-view video{display:block;width:100%;height:100%;object-fit:contain}
.rs-product-detail .rs-gallery-step{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:34px;height:43px;border:0;border-radius:8px;color:#183b37;background:#fffffff0;box-shadow:0 4px 14px #102a2224;font-size:31px;line-height:1;cursor:pointer}
.rs-product-detail .rs-gallery-prev{left:7px}.rs-product-detail .rs-gallery-next{right:7px}
.rs-product-detail .rs-gallery-step:hover,.rs-product-detail .rs-gallery-fullscreen:hover{background:#fff;color:#0b5941}
.rs-product-detail .rs-gallery-tools{position:absolute;z-index:2;bottom:10px;right:10px;left:10px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}
.rs-product-detail .rs-gallery-counter{display:inline-block;background:#102e2fc4;color:#fff;padding:5px 9px;font-size:12px;border-radius:7px;font-weight:600}
.rs-product-detail .rs-gallery-fullscreen{pointer-events:auto;border:0;border-radius:8px;background:#ffffffeb;color:#1b4439;font-size:22px;line-height:1;width:34px;height:34px;cursor:pointer}
.rs-product-detail .rs-gallery-stage:fullscreen{width:100%;height:100%;max-height:none;border:0;border-radius:0;background:#101819;aspect-ratio:auto}
.rs-product-detail .rs-gallery-stage:fullscreen .rs-gallery-view img,.rs-product-detail .rs-gallery-stage:fullscreen .rs-gallery-view video{object-fit:contain}
/* Long-form content starts below the entire first row, spanning both columns. */
.rs-product-detail .rs-detail-body{grid-column:1 / -1;min-width:0;border-top:1px solid #e4ebec;padding-top:25px}
.rs-product-detail .rs-detail-body .rs-prose{max-width:none;width:100%;font-size:17px;line-height:1.8;color:#384d59;overflow-wrap:anywhere}
.rs-product-detail .rs-detail-body .rs-prose h2{font-size:clamp(22px,2.2vw,27px)}
.rs-product-detail .rs-detail-body .rs-contact{max-width:none;padding:26px 0 0;margin-top:30px}
@media(max-width:1050px){.rs-product-detail .rs-product-layout{grid-template-columns:minmax(0,370px) minmax(0,1fr);gap:23px}.rs-product-detail .rs-gallery{grid-template-columns:55px minmax(0,1fr);gap:9px}.rs-product-detail .rs-gallery-stage{width:min(100%,290px,calc(69dvh * 9 / 16))}.rs-product-detail .rs-detail-summary h1{font-size:clamp(27px,3.4vw,37px)}}
@media(max-width:760px){.rs-product-detail .rs-back{margin:23px 0 16px}.rs-product-detail .rs-product-layout{display:flex;flex-direction:column;gap:20px;align-items:stretch}.rs-product-detail .rs-gallery{width:100%;max-width:none;display:flex;flex-direction:column-reverse;align-items:center;gap:10px}.rs-product-detail .rs-gallery-stage{width:min(100%,310px,calc(72dvh * 9 / 16));height:auto;min-height:0;max-height:none}.rs-product-detail .rs-gallery-thumbs{width:100%;flex-direction:row;overflow-x:auto;overflow-y:hidden;max-height:none;padding:3px 2px 6px;gap:8px}.rs-product-detail .rs-gallery-thumb{width:58px;min-width:58px;aspect-ratio:9 / 16}.rs-product-detail .rs-detail-summary h1{font-size:clamp(29px,6.4vw,40px)}.rs-product-detail .rs-detail-summary .rs-lead{font-size:16px}.rs-product-detail .rs-detail-body{padding-top:23px}.rs-product-detail .rs-detail-body .rs-prose{font-size:16px}.rs-product-detail .rs-gallery-step{width:34px;height:42px}}
@media(prefers-reduced-motion:reduce){.rs-product-detail .rs-gallery-thumb{transition:none}}

/* 000.040.011: paragraph-safe lead and other published projects carousel. */
.rs-product-detail .rs-short-prose{font-weight:400}
.rs-short-prose p{margin:0 0 15px}
.rs-short-prose p:last-child{margin-bottom:0}
.rs-short-prose ul,.rs-short-prose ol{padding-left:23px;margin:8px 0 13px}
.rs-short-prose a{color:#175d49;text-decoration:underline}
.rs-related{border-top:1px solid #e4ebec;padding:30px 0 10px;margin-top:32px}
.rs-related-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}
.rs-related-head h2{margin:0;font-size:clamp(22px,2.4vw,30px);letter-spacing:-.025em;color:#173a46}
.rs-related-nav{display:flex;gap:8px}
.rs-related-arrow{border:1px solid #c9dbd6;border-radius:9px;background:#fff;color:#175647;cursor:pointer;width:39px;height:39px;font-size:27px;line-height:1}
.rs-related-arrow:disabled{opacity:.35;cursor:default}
.rs-related-track{display:flex;gap:15px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;scrollbar-width:thin;padding:0 0 14px}
.rs-related-card{flex:0 0 clamp(172px,21vw,235px);scroll-snap-align:start;display:block;min-width:0;border:1px solid #e4edeb;background:#fff;border-radius:13px;overflow:hidden;text-decoration:none;color:#1e3d48}
.rs-related-card:hover{border-color:#abcbbf;box-shadow:0 5px 18px #18534712}
.rs-related-cover{position:relative;aspect-ratio:9/16;background:#eff4f1;overflow:hidden}
.rs-related-cover img,.rs-related-cover video{width:100%;height:100%;display:block;object-fit:contain}
.rs-related-play{position:absolute;inset:0;display:grid;place-items:center;color:white;font-size:32px;text-shadow:0 2px 10px #0008;pointer-events:none}
.rs-related-caption{display:block;padding:12px 13px 15px}
.rs-related-caption small{display:block;font-size:12px;color:#3d7161;margin-bottom:7px}
.rs-related-caption strong{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.35}
@media(max-width:760px){.rs-related-track{gap:10px}.rs-related-card{flex-basis:clamp(145px,48vw,200px)}.rs-related{padding-top:24px}}
@media(prefers-reduced-motion:reduce){.rs-related-track{scroll-behavior:auto}}
