.wp-hero-slider {
    position: relative;
    display: block;
    width: 100%;
    height: 50vh;
    min-height: 320px;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background: #000;
    isolation: isolate;
}

.wp-hero-slides {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.wp-hero-slide {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.wp-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.wp-hero-slide-image {
    position: absolute !important;
    inset: 0;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover;
    filter: brightness(75%);
}

.wp-hero-slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    width: 90%;
    max-width: 800px;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff;
    text-align: center;
    opacity: 0;
    transform: translate(-50%, -40%);
    transition: opacity .8s ease-out .5s,
                transform .8s ease-out .5s;
}

.wp-hero-slide.is-active .wp-hero-slide-content {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.wp-hero-slide-content h2,
.wp-hero-slide-content p {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.wp-hero-slide-content h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.2;
}

.wp-hero-slide-content p {
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.wp-hero-cta {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    background: #ff4757;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.wp-hero-cta:hover {
    background: #ff6b81;
    color: #fff;
}

.wp-hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    color: #fff;
    cursor: pointer;
    font-size: 1.5rem;
    transform: translateY(-50%);
}

.wp-hero-prev {
    left: 20px;
}

.wp-hero-next {
    right: 20px;
}

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

.wp-hero-dots button {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    cursor: pointer;
}

.wp-hero-dots button.is-active {
    background: #fff;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .wp-hero-slider {
        height: 40vh;
    }

    .wp-hero-arrow {
        width: 40px;
        height: 40px;
    }

    .wp-hero-prev {
        left: 10px;
    }

    .wp-hero-next {
        right: 10px;
    }
}