/* Heritage (baris 191-207); 3 rule nth-child gambar jadi satu --card-img dari ACF — disalin dari _mockup/index.html */
 /* ================= HERITAGE ================= */
 /* shared dim-default / brighten-on-hover utility for JPG photos */
 .photo-dim{transition: filter 0.35s ease;}
 .photo-dim, .photo-dim-bg{filter: brightness(0.8) saturate(0.9);}
 .photo-dim:hover, .photo-dim-bg:hover{filter: brightness(1) saturate(1);}
 .heritage{margin-top:36px; display:grid; grid-template-columns:repeat(3,1fr); gap:2px;}
 .heritage-intro{margin-top:52px; display:grid; grid-template-columns:1fr 1.1fr; gap:40px; align-items:center;}
 .heritage-intro-map img{width:100%; height:auto;}
 @media (max-width:820px){ .heritage-intro{grid-template-columns:1fr; gap:28px;} .heritage-intro-map{order:-1; max-width:320px; margin:0 auto;} }
 .heritage-card{aspect-ratio:3/4; position:relative; overflow:hidden; background:linear-gradient(160deg,#EDEDED,#F7F7F7); cursor:pointer;}
 .heritage-card::before{content:''; position:absolute; inset:0; background-image:var(--card-img, none); background-size:cover; background-position:center; background-repeat:no-repeat; filter:brightness(0.8) saturate(0.9); transition:filter 0.35s ease;}
 .heritage-card:hover::before, .heritage-card:focus-within::before, .heritage-card:active::before{filter:brightness(1) saturate(1);}
 .heritage-cap{position:absolute; left:0; right:0; bottom:0; padding:18px 20px; background:linear-gradient(0deg, rgba(20,20,20,0.55), transparent); color:var(--white); font-size:0.85rem; font-weight:600; z-index:1;}
 @media (max-width:760px){ .heritage{grid-template-columns:1fr;} }
