/* Details follow the selected theme; hero typography keeps its own photo contrast. */
html:root{--read-ink:#182d3f;--read-muted:#425a6a;--read-card:#ffffff;--read-surface:#edf2f4;--read-line:#ccd6dc;--read-accent:#715122}
html[data-theme=dark]{--read-ink:#f2f6fb;--read-muted:#c4d4e1;--read-card:#192b3a;--read-surface:#142331;--read-line:#4a6274;--read-accent:#f0d391}
html:not([data-theme=dark]) body{background:#f7f5ef!important;color:var(--read-ink)!important}
html[data-theme=dark] body{background:#101c29!important;color:var(--read-ink)!important}
html body #propertyDetails{--property-ink:var(--read-ink);--property-muted:var(--read-muted);--property-card:var(--read-card);--property-surface:var(--read-surface);--property-border:var(--read-line);color:var(--read-ink)}
html body #propertyDetails .content-section{border-color:var(--read-line)!important;overflow:visible}
html body #propertyDetails .section-heading h2,html body #propertyDetails .education-card h3,html body #propertyDetails .plan h3,html body #propertyDetails .visit-card h3{color:var(--read-ink)!important;-webkit-text-fill-color:var(--read-ink)!important;opacity:1!important;text-shadow:none!important}
html body #propertyDetails .section-heading .eyebrow{color:var(--read-accent)!important;font-size:12px;font-weight:700;opacity:1!important}
html body #propertyDetails .section-heading>span{background:var(--read-card)!important;color:var(--read-accent)!important;border:1px solid var(--read-line)}
html body #propertyDetails .facts,html body #propertyDetails .info-card,html body #propertyDetails .plan,html body #propertyDetails .visit-card{background:var(--read-surface)!important;border-color:var(--read-line)!important}
html body #propertyDetails .education-card{background:var(--read-card)!important;color:var(--read-ink)!important;border-color:var(--read-line)!important}
html body #propertyDetails .spec dd,html body #propertyDetails .facts strong,html body #propertyDetails .info-card p,html body #propertyDetails .type-price,html body #propertyDetails .type-area strong{color:var(--read-ink)!important;-webkit-text-fill-color:var(--read-ink)!important;opacity:1!important}
html body #propertyDetails .spec dt,html body #propertyDetails .facts span,html body #propertyDetails .education-prose p,html body #propertyDetails .type-area,html body #propertyDetails .plan li,html body #propertyDetails .visit-card p,html body #propertyDetails figcaption{color:var(--read-muted)!important;opacity:1!important}
html body #propertyDetails .spec>div{border-color:var(--read-line)!important}
html body #propertyDetails .education-pictures,html body #propertyDetails .gallery,html body #propertyDetails .property-photo{min-width:0;max-width:100%;overflow:visible}
html body #propertyDetails .image-open{display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;padding:0!important;background:#fff!important;overflow:visible!important}
html body #propertyDetails .image-open img{display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;max-width:100%!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;background:#fff;filter:none!important}
html body #propertyDetails .closing h2,html body #propertyDetails .closing p{color:#fff!important;-webkit-text-fill-color:#fff!important}
html body #propertyDetails .closing .eyebrow{color:#f6e6c5!important}
html body #propertyDetails{padding-bottom:130px}
@media(max-width:700px){html body #propertyDetails .section-heading h2{font-size:25px!important}html body #propertyDetails .education-card h3{font-size:22px!important}html body #propertyDetails{padding-bottom:150px}}

/* Scroll motion must never hide readable text or maps. */
html.details-motion body #propertyDetails .detail-reveal{opacity:1!important;transition:transform .45s ease!important;transition-delay:0ms!important}
