.home-hero {
    padding-block: 28px 18px;
}

.home-hero__media {
    position: relative;
    min-height: clamp(360px, 39vw, 470px);
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background:
        linear-gradient(90deg, rgba(14, 27, 40, 0.74) 0%, rgba(14, 27, 40, 0.55) 36%, rgba(14, 27, 40, 0.20) 62%, rgba(14, 27, 40, 0.04) 82%),
        url("../images/home/home-hero-test-cover.jpg") center 48% / cover no-repeat;
    box-shadow: var(--shadow-sm);
}

.home-hero__content {
    position: relative;
    z-index: 2;
    width: min(650px, 62%);
    min-height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(34px, 4.2vw, 60px);
    color: #ffffff;
}

.home-hero__kicker.section-label {
    align-self: flex-start;
    margin: 0 0 12px;
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(17, 28, 38, 0.38);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.055em;
}

.home-hero h1 {
    max-width: 640px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.02;
    letter-spacing: -0.05em;
    text-wrap: balance;
}

.home-hero__lead {
    max-width: 590px;
    margin: 16px 0 20px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.48;
}

.home-hero__search {
    width: min(520px, 100%);
}

.home-hero__search .search-input {
    height: 50px;
    padding: 0 50px 0 16px;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.95);
    color: #202a35;
    font-size: 15px;
    box-shadow: 0 9px 26px rgba(0, 0, 0, 0.1);
}

.home-hero__search .search-input::placeholder {
    color: #7b858e;
}

.home-hero__search .search-submit {
    top: 1px;
    right: 1px;
    width: 48px;
    height: 48px;
    color: #26445f;
}

.home-hero__search .search-submit svg {
    width: 19px;
    height: 19px;
}

.home-hero__browse {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
}

.home-hero__browse a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.home-content {
    padding-bottom: 20px;
}

html[data-theme="dark"] .home-hero__media {
    border-color: #263647;
    background:
        linear-gradient(90deg, rgba(4, 12, 22, 0.84) 0%, rgba(4, 12, 22, 0.66) 38%, rgba(4, 12, 22, 0.28) 66%, rgba(4, 12, 22, 0.10) 84%),
        url("../images/home/home-hero-test-cover.jpg") center 48% / cover no-repeat;
}

@media (max-width: 900px) {
    .home-hero__media {
        min-height: 460px;
        background:
            linear-gradient(180deg, rgba(9, 20, 31, 0.10) 0%, rgba(9, 20, 31, 0.28) 40%, rgba(9, 20, 31, 0.78) 72%, rgba(9, 20, 31, 0.90) 100%),
            url("../images/home/home-hero-test-cover.jpg") 68% center / cover no-repeat;
    }

    html[data-theme="dark"] .home-hero__media {
        background:
            linear-gradient(180deg, rgba(4, 12, 22, 0.20) 0%, rgba(4, 12, 22, 0.42) 42%, rgba(4, 12, 22, 0.84) 74%, rgba(4, 12, 22, 0.94) 100%),
            url("../images/home/home-hero-test-cover.jpg") 68% center / cover no-repeat;
    }

    .home-hero__content {
        width: 100%;
        justify-content: flex-end;
        padding: clamp(28px, 7vw, 46px);
    }

}

@media (max-width: 560px) {
    .home-hero {
        padding-top: 28px;
    }

    .home-hero__media {
        min-height: 430px;
    }

    .home-hero__content {
        padding: 24px 20px;
    }

    .home-hero h1 {
        font-size: clamp(32px, 10vw, 44px);
    }

    .home-hero__lead {
        margin-block: 15px 18px;
        font-size: 15px;
    }

    .home-hero__search .search-input {
        height: 48px;
        font-size: 14px;
    }

    .home-hero__search .search-submit {
        width: 46px;
        height: 46px;
    }
}
