.hero-carousel {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline:0;
    max-width: none!important;
}

/* Slides stack on top of each other */
.hero-carousel__images {
    position: absolute;
    inset: 0;
}

.hero-carousel__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.9s ease;
}

.hero-carousel__slide.is-active {
    opacity: 1;
}

/* Overlay content — same pattern as WP Cover block */
.hero-carousel__content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    /* padding: 2rem; */
    width: 100%;
    /* max-width: 800px; */
}

/* Dots */
.hero-carousel__dots {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}

.hero-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
    transition: background 0.3s;
    padding: 0;
}

.hero-carousel__dot.is-active {
    background: #fff;
}

/* Arrows */
.hero-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.hero-carousel__arrow:hover { background: rgba(255,255,255,0.4); }
.hero-carousel__arrow--prev { left: 1rem; }
.hero-carousel__arrow--next { right: 1rem; }