.home-page-hero {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.home-page-hero__main-container {
    position: relative;
    flex: 1;
    max-width: 1184px;
}

.home-page-hero__slide-container {
    height: 100%;
    display: grid;
    place-items: center;
}

.home-page-hero__slide {
    flex-direction: column;
    height: 100%;
    width: 100%;
    border-radius: 15px;
    grid-column: 1;
    grid-row: 1;
    opacity: 0;
    transition: opacity ease-out 0.5s;
    position: relative;
    pointer-events: all;
    display: grid;
    grid-template-rows: max-content;
    overflow: hidden;
}

.home-page-hero__edit-hero-btn {
    position: absolute;
    right: -26px;
    top: 0px;
    display: none;
}

.home-page-hero__slide--left {
    justify-items: start;
    justify-content: start;
    text-align: start;
}

.home-page-hero__slide--center {
    justify-items: center;
    justify-content: center;
    text-align: center;
}

.home-page-hero__slide--right {
    justify-items: end;
    justify-content: end;
    text-align: end;
}

.home-page-hero__slide--show {
    opacity: 1;
    pointer-events: all;
}

.home-page-hero__slide h1 {
    margin-bottom: 8px;
}

.home-page-hero__dots-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 64px;
    justify-content: center;
    z-index: 2;
}

.home-page-hero__dots-container .design-sys__progress-dot {
    background-color: var(--design-sys-sec-color__grey--10);
}

.home-page-hero__slide button:hover {
    cursor: pointer;
}

.home-page-hero__text-indent {
    text-indent: -18px;
}

.hero-image__button {
    display: grid;
    place-content: center;
    text-decoration: none;
    padding: 0;
    cursor: pointer !important;
    z-index: 1;
    box-shadow: none;
}

.hero-image__button--desktop {
    width: 284px;
    height: 57px;
    border-radius: 8px;
}

.hero-image__button--mobile {
    height: 40px;
    border-radius: 8px;
}

.hero-image__button:hover,
.hero-image__button:hover {
    text-decoration: none;
}

.home-page-hero__template-img {
    position: absolute;
    width: 584px;
    height: 424px;
}

.home-page-hero__template-img img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
}

.home-page-hero__template-video {
    height: 100%;
    width: 100%;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
}

.home-page-hero__background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-page-hero__mobile-background-video {
    display: none;
}

.home-page-hero__content {
    z-index: 1;
}

.home-page-hero__content span {
    display: block;
}

/* Desktop */
@media (min-width: 961px) {
    .home-page-hero__main-container {
        min-height: 424px;
    }

    .home-page-hero__slide {
        padding: 84px 64px 2px;
        align-items: flex-start;
        background-size: cover;
        background-position: right;
    }

    .home-page-hero__content {
        background-image: none !important;
    }

    .home-page-hero__slide > * {
        cursor: auto;
    }

    .home-page-hero__slide-background {
        width: 100%;
        margin-bottom: 36px;
    }

    .home-page-hero__slide button {
        width: 284px;
    }
}

/* Mobile */
@media (max-width: 960px) {
    .home-page-hero {
        margin-top: 16px;
        height: 510px;
    }

    .home-page-hero__slide {
        background-image: none !important;
        gap: 16px;
        border-radius: unset;
    }

    .home-page-hero__slide button {
        width: 100%;
        padding: 7px 24px;
        font-size: 14px;
        line-height: 22px;
    }

    .home-page-hero__slide-background {
        height: 452px;
        border-radius: 8px;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        padding: 18px;
    }

    .home-page-hero__dots-container {
        bottom: 77px;
        gap: 15px;
    }

    .home-page-hero__dot {
        width: 12px;
        height: 12px;
    }

    .home-page-hero__first-slide-br {
        display: none;
    }

    .home-page-hero__text-indent {
        text-indent: 0px;
    }

    .home-page-hero__content {
        background-position: center;
        display: flex;
        flex-direction: column;
    }

    .home-page-hero__template-img {
        width: 100%;
        height: 209px;
        bottom: 58px;
        border-radius: 0px 0px 8px 8px;
        z-index: 2;
    }

    .home-page-hero__slide--left,
    .home-page-hero__slide--right,
    .home-page-hero__slide--center {
        justify-items: unset;
        justify-content: unset;
    }

    .home-page-hero__slide--center .home-page-hero__content {
        align-items: center;
    }

    .home-page-hero__background-video {
        display: none;
    }

    .home-page-hero__mobile-background-video {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 88%;
        object-fit: cover;
        border-radius: 15px;
    }
}
