/* Shared visual system: dark burgundy, warm ivory, cinematic photographs. */
.horror-visual{display:block;margin:0;min-width:0;color:#c8b4ad;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.horror-visual-frame{position:relative;overflow:hidden;isolation:isolate;aspect-ratio:16/9;background:#1b1014;border:1px solid rgba(216,176,103,.22);border-radius:16px;box-shadow:0 18px 40px rgba(0,0,0,.24)}
.horror-visual-frame::after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 40px rgba(14,5,10,.16)}
.horror-visual img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 52%}
.horror-visual img[hidden]{display:none}
.horror-visual figcaption{display:block;margin:9px 2px 0;color:#c4b2aa;font-size:11px;line-height:1.5;font-weight:400;letter-spacing:.01em;text-align:left}
.horror-visual figcaption[hidden]{display:none}
.horror-visual--hero{margin:0 0 clamp(24px,4vw,38px)}
.horror-visual--hero .horror-visual-frame{border-radius:20px}
.hstory-hero:has(.horror-visual--hero){padding-top:6px}
.horror-visual--card{margin:-18px -18px 18px}
.horror-visual--card .horror-visual-frame{border-radius:16px 16px 0 0;border:0;border-bottom:1px solid rgba(216,176,103,.16);box-shadow:none}
.horror-visual--card figcaption{margin:9px 18px 0;font-size:10px}
.horror-card-v7 .horror-card-link:focus-visible{outline:2px solid #efadb5;outline-offset:-3px;border-radius:16px}
.horror-visual--popup{margin:2px 0 14px}
.horror-visual--popup .horror-visual-frame{border-radius:10px;box-shadow:none}
.horror-visual--popup figcaption{font-size:9px;line-height:1.4;margin-top:5px}
.hmap-page .leaflet-popup-content:has(.horror-visual){width:min(270px,calc(100vw - 90px))!important}
.hmap-page .leaflet-popup-content-wrapper:has(.horror-visual){background:#160e13;color:#f7efe8;border:1px solid rgba(217,133,145,.28);box-shadow:0 18px 50px rgba(0,0,0,.5)}
.hmap-page .leaflet-popup:has(.horror-visual) .leaflet-popup-tip{background:#160e13}
.hmap-page .leaflet-popup:has(.horror-visual) .leaflet-popup-close-button{color:#f4d4dc}
.hmap-page .leaflet-popup-content:has(.horror-visual) .hmap-popup-title{color:#fff4ec}
.hmap-page .leaflet-popup-content:has(.horror-visual) .hmap-popup-meta,
.hmap-page .leaflet-popup-content:has(.horror-visual) .hmap-popup-teaser{color:#d3bdb8}
.horror-visual--nearby{grid-column:1/-1;margin:0 0 8px}
.horror-visual--nearby .horror-visual-frame{max-height:270px;box-shadow:none}
.horror-visual--unavailable .horror-visual-frame{aspect-ratio:3/1;box-shadow:none}
@media(max-width:640px){
  .horror-visual--hero .horror-visual-frame{border-radius:14px}
  .horror-visual--card{margin:-16px -16px 16px}
  .horror-visual--card figcaption{margin-inline:16px}
}
@media(prefers-reduced-motion:no-preference){
  .horror-visual--card img{transition:transform .5s ease}
  @media(hover:hover){.horror-card-link:hover .horror-visual--card img{transform:scale(1.035)}}
}

.horror-visual--source figcaption{font-size:11px;line-height:1.55;color:#d3c2b8;overflow-wrap:anywhere}
.horror-visual--source figcaption a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.horror-visual--source figcaption a:focus-visible{outline:2px solid #efadb5;outline-offset:2px}
.horror-visual--portrait img{object-position:center top}
.hstory-page .hstory-warning[hidden]{display:none!important}
