.oa-hero-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.oa-hero-carousel__slides {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.oa-hero-carousel__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.oa-hero-carousel__slide.is-active {
    opacity: 1;
    position: relative;
    z-index: 2;
}

.oa-hero-carousel__slide img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    display: block;
}

.oa-hero-carousel__content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 50%;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background-color: rgba(51, 51, 51, 0.7);
    border-top-right-radius: 32px;
    border-bottom-right-radius: 32px;
    padding-left: 3.4375rem;
}

.oa-hero-carousel__content-inner {
    width: 100%;
    max-width: calc(var(--wp--style--global--content-size) / 2);
    padding: var(--wp--preset--spacing--50, 2rem);
    text-align: center;
}

.oa-hero-carousel__dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

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

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

.oa-hero-carousel__content-inner .wp-block-buttons {
    justify-content: center;
}

@media (max-width: 768px) {
    .oa-hero-carousel__content {
        width: 100%;
        border-radius: 0;
        background-color: rgba(51, 51, 51, 0.8);
        justify-content: center;
    }

    .oa-hero-carousel__content-inner {
        max-width: none;
        padding: var(--wp--preset--spacing--40, 1.5rem);
    }
}