.elementor-widget-box_hero {
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
}

.elementor-widget-box_hero > .elementor-widget-container {
    width: 100%;
}

.box-hero {
    position: relative;
    width: 100%;
    min-height: 90vh;
    overflow: hidden;
    background: #f2f2f2;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.box-hero.is-dragging {
    cursor: grabbing;
}

.box-hero,
.box-hero * {
    box-sizing: border-box;
}

.box-hero__slides,
.box-hero__slide {
    position: absolute;
    inset: 0;
}

.box-hero__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 80px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 700ms ease;
}

.box-hero__slide.is-active,
.box-hero--single .box-hero__slide {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.box-hero__media,
.box-hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.box-hero__media {
    object-fit: cover;
    display: block;
    z-index: 0;
}

.box-hero__media--mobile {
    display: none;
}

.box-hero__overlay {
    z-index: 1;
    background: rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

.box-hero__content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 90%;
    text-align: center;
}

.box-hero__heading {
    margin: 0 0 26px;
    color: #000;
    font-size: clamp(36px, 4.4vw, 74px);
    line-height: 1.08;
    font-weight: 400;
    text-transform: uppercase;
}

.box-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    min-height: 40px;
    padding: 12px 30px;
    border: 1px solid var(--box-hero-button-border-color, #000);
    background: var(--box-hero-button-bg, transparent);
    color: var(--box-hero-button-color, #000);
    font-size: 13px;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.box-hero__button:hover,
.box-hero__button:focus {
    background: var(--box-hero-button-hover-bg, #000) !important;
    color: var(--box-hero-button-hover-color, #fff) !important;
    border-color: var(--box-hero-button-hover-border-color, #000) !important;
}

.box-hero__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    appearance: none;
    color: #000;
    cursor: pointer;
    transform: translateY(-50%);
}

.box-hero__arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 11px;
    border-top: 1px solid currentColor;
    border-left: 1px solid currentColor;
}

.box-hero__arrow--prev {
    left: 28px;
}

.box-hero__arrow--prev::before {
    transform: translate(-35%, -50%) rotate(-45deg);
}

.box-hero__arrow--next {
    right: 28px;
}

.box-hero__arrow--next::before {
    transform: translate(-65%, -50%) rotate(135deg);
}

.box-hero__dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 5;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.box-hero__dot {
    width: 34px;
    height: 2px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.35);
    cursor: pointer;
}

.box-hero__dot.is-active {
    background: #000;
}

@media (max-width: 767px) {
    .box-hero {
        min-height: 100vh;
        min-height: 100svh;
    }

    .box-hero__slide {
        min-height: inherit;
        padding: 96px 24px 72px;
    }

    .box-hero__slide.has-mobile-media .box-hero__media--desktop {
        display: none;
    }

    .box-hero__slide.has-mobile-media .box-hero__media--mobile {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .box-hero__heading {
        font-size: 38px;
    }

    .box-hero__arrow {
        display: none;
    }
}
