
/* Meesaikarar Murukku — Heritage gallery */
.heritage-slider{
    width:100%;
    max-width:680px;
    margin-left:auto;
}
.heritage-slider-viewport{
    position:relative;
    width:100%;
    aspect-ratio:16/9;
    overflow:hidden;
    border-radius:22px;
    background:#2a1b15;
    box-shadow:0 18px 45px rgba(0,0,0,.22);
}
.heritage-slide{
    position:absolute;
    inset:0;
    margin:0;
    opacity:0;
    visibility:hidden;
    transform:translateX(18px);
    transition:opacity .35s ease,transform .35s ease,visibility .35s;
}
.heritage-slide.is-active{
    opacity:1;
    visibility:visible;
    transform:translateX(0);
}
.heritage-slide img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}
.heritage-slide figcaption{
    position:absolute;
    left:16px;
    bottom:14px;
    margin:0;
    padding:7px 11px;
    border-radius:999px;
    background:rgba(32,22,17,.78);
    color:#fff;
    font-size:12px;
    letter-spacing:.03em;
    backdrop-filter:blur(6px);
}
.heritage-slider-controls{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-top:14px;
}
.heritage-slider-controls>button{
    width:38px;
    height:38px;
    border:1px solid rgba(255,255,255,.22);
    border-radius:50%;
    background:rgba(255,255,255,.08);
    color:#fff;
    cursor:pointer;
    font-size:16px;
}
.heritage-slider-controls>button:hover{
    background:rgba(255,255,255,.16);
}
.heritage-slider-dots{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    flex:1;
}
.heritage-slider-dots button{
    width:8px;
    height:8px;
    padding:0;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.35);
    cursor:pointer;
}
.heritage-slider-dots button.is-active{
    width:24px;
    border-radius:999px;
    background:#e5b95f;
}
@media(max-width:900px){
    .heritage-slider{
        max-width:100%;
    }
    .heritage-slider-viewport{
        border-radius:18px;
    }
}
@media(prefers-reduced-motion:reduce){
    .heritage-slide{
        transition:none;
    }
}
