.detail-topic{display:block}.house-topic-heading{margin-bottom:30px}.house-topic-heading h2{font-size:clamp(26px,3vw,38px);line-height:1.2;letter-spacing:-1px;margin:12px 0 0;color:#19372d}.house-topic-row{display:grid;grid-template-columns:minmax(270px,.8fr) 1.2fr;gap:65px;align-items:center}.house-topic-row .detail-copy>p:first-child{margin-top:0}.detail-topic:nth-child(even) .house-topic-row figure,.detail-topic:nth-child(even) .house-topic-row .detail-copy{grid-column:auto;grid-row:auto}@media(max-width:740px){.house-topic-row{grid-template-columns:1fr;gap:25px}.house-topic-heading{margin-bottom:25px}}

/* Desktop reading sequence: keep the title and clip in view while the copy scrolls past. */
@media (min-width: 901px) and (min-height: 850px) and (prefers-reduced-motion: no-preference){
  .detail-topic{min-height:150svh;}
  .detail-topic .house-topic-heading{position:sticky;top:0;z-index:6;background:#f3f5ef;padding:16px 0 20px;margin:-16px 0 0;}
  .detail-topic .house-topic-row{min-height:calc(150svh - 120px);align-items:start;}
  .detail-topic .house-topic-row figure{position:sticky;top:128px;align-self:start;}
  .detail-topic .house-topic-row .detail-copy{padding-top:34svh;}
}

/* Approfondimenti tecnici della pagina Casa */
.technical-detail{margin-top:26px;border:1px solid #bfd0bc;border-radius:12px;background:#f5f8f1;overflow:hidden}.technical-detail>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 19px;color:#173d32;font:700 13px Manrope,sans-serif;letter-spacing:.01em}.technical-detail>summary::-webkit-details-marker{display:none}.technical-detail>summary::after{content:"+";display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#246d57;color:#fff;font-size:17px;font-weight:400}.technical-detail[open]>summary::after{content:"−"}.technical-detail>summary:hover,.technical-detail>summary:focus-visible{background:#e5efe1}.technical-detail>summary:focus-visible{outline:2px solid #246d57;outline-offset:-2px}.technical-detail-content{border-top:1px solid #bfd0bc;padding:20px}.technical-detail-content h3{margin:0 0 10px;color:#173d32;font:800 18px Manrope,sans-serif}.technical-detail-content p{margin:0 0 14px}.technical-detail-content .technical-note{font-size:12px;color:#456851}.technical-detail-content pre{box-sizing:border-box;overflow:auto;max-width:100%;margin:0;background:#112b28;color:#e6f3e7;border-radius:8px;padding:18px;font:12px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:2}.technical-detail-content code{font:inherit;white-space:pre}
