/* Preview imagery only; approved layout, typography and copy remain unchanged. */
.temp-reference { margin:0; position:relative; height:100%; min-height:inherit; background:#e8e6df; display:flex; flex-direction:column; }
.temp-reference img { width:100%; flex:1; min-height:0; object-fit:cover; }
.temp-reference--contain img { object-fit:contain; background:#eeede9; }
.temp-reference figcaption { flex:none; max-width:none; padding:9px 12px; color:#333a34; background:#f0eee7; font:10px/1.5 Arial,sans-serif; letter-spacing:.03em; }
.hero__media:has(.temp-reference),.split__media:has(.temp-reference),.structure__field:has(.temp-reference) { height:610px; }
.hero__media:has(.temp-reference) { align-self:start; }
.split__media:has(.temp-reference) { height:520px; }
.structure__field:has(.temp-reference) { height:620px; }
.card-media:has(.temp-reference) { aspect-ratio:auto; }
.card-media .temp-reference { height:auto; min-height:0; }
.card-media .temp-reference img { flex:none; height:auto; aspect-ratio:4/3; }
.card:has(.temp-reference) .card__topline { flex-wrap:wrap; }
.temp-resource-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin-bottom:32px; }
.temp-resource-grid .temp-reference { height:320px; }
.temp-resource-grid h3 { font:500 18px/1.4 Arial,sans-serif; margin:12px 0; }
.local-preview-note { padding:10px 20px; background:#e3e8e1; font:12px/1.5 Arial,sans-serif; text-align:center; }
@media(max-width:900px) { .hero__media:has(.temp-reference),.split__media:has(.temp-reference),.structure__field:has(.temp-reference) {height:430px; min-height:0;} .temp-resource-grid {grid-template-columns:1fr;} .temp-resource-grid .temp-reference {height:350px;} }
