/* ==========================================================================
   Home page: hero section
   Layout/positioning only — typography and button colors come from the
   shared design-system classes in hpb-base.css (.hpb-h1, .hpb-text,
   .hpb-btn-red, .hpb-btn-outline-white).
   ========================================================================== */

.home-hero {
    position: relative;
    overflow: hidden;
    background-color: var(--hpb-color-dark);
}

.home-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.wrapper .home-hero__image,
.home-hero__image {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.home-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    min-height: 783px;
    padding-top: 80px;
    padding-bottom: 80px;
}

.home-hero__content {
    max-width: 100%;
}

.home-hero__title {
    color: var(--hpb-color-white);
}

.home-hero__text {
    margin-top: 24px;
    color: var(--hpb-color-subtext);
}

.home-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.home-hero__button {
    width: 100%;
}

.home-hero__button--secondary::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    vertical-align: middle;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 0L7 12.175L1.4 6.575L0 8L8 16L16 8L14.6 6.575L9 12.175L9 0L7 0Z' fill='white'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 0L7 12.175L1.4 6.575L0 8L8 16L16 8L14.6 6.575L9 12.175L9 0L7 0Z' fill='white'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

@media (min-width: 768px) {
    .home-hero__inner {
        align-items: center;
        min-height: 560px;
        padding-top: 100px;
        padding-bottom: 130px;
    }

    .home-hero__content {
        max-width: 680px;
    }

    .home-hero__text {
        margin-top: 16px;
    }

    .home-hero__actions {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        margin-top: 32px;
    }

    .home-hero__button {
        width: auto;
    }
}


@media (max-width: 991px) {
    .home-hero__text br {
        display: none;
    }
}
