.home-page {
    color: var(--um-text);
    background: #ffffff;
}

.home-hero {
    position: relative;
    display: grid;
    min-height: var(--home-hero-desktop-vh, 100vh);
    overflow: hidden;
    place-items: center;
    isolation: isolate;
    background-image: var(--home-hero-poster-desktop);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

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

.home-hero__video {
    z-index: -2;
    object-fit: cover;
    opacity: 0;
    transition: opacity 350ms ease;
}

.home-hero__video.is-ready {
    opacity: 1;
}

.home-hero__overlay {
    z-index: -1;
    background: rgb(0 0 0 / var(--home-hero-overlay, 0.32));
}

.home-hero__content {
    width: min(86%, 1120px);
    padding: calc(var(--site-header-height, 96px) / 2) 24px 24px;
    color: #ffffff;
    text-align: center;
}

.home-hero h1 {
    margin: 0;
    font-family: Onest, Arial, sans-serif;
    font-size: 57px;
    font-weight: 700;
    line-height: 1.12;
}

.home-hero__divider {
    display: block;
    width: 28%;
    min-width: 150px;
    height: 2px;
    margin: 23px auto;
    background: rgb(255 255 255 / 34%);
}

.home-hero p {
    max-width: 960px;
    margin: 0 auto;
    font-family: Onest, Arial, sans-serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
}

.home-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border: 2px solid currentColor;
    border-radius: 0;
    font-family: Onest, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        color 160ms ease,
        border-color 160ms ease,
        background-color 160ms ease,
        transform 160ms ease;
}

.home-button:hover,
.home-button:focus-visible {
    transform: translateY(-1px);
}

.home-button--light {
    margin-top: 20px;
    color: #ffffff;
    background: transparent;
}

.home-button--light:hover,
.home-button--light:focus-visible {
    color: #272727;
    background: #ffffff;
}

.home-introduction,
.home-partner {
    padding: 100px 30px;
}

.home-introduction__inner,
.home-partner__inner {
    display: grid;
    width: min(100%, var(--home-content-width, 1200px));
    margin: 0 auto;
    align-items: center;
}

.home-introduction__inner {
    grid-template-columns: minmax(0, 71.296fr) minmax(0, 28.609fr);
}

.home-introduction__copy {
    padding-right: 12%;
}

.home-introduction h2,
.home-partner h2 {
    margin: 0;
    color: #202020;
    font-family: Onest, Arial, sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.35;
}

.home-introduction h3,
.home-partner h3 {
    margin: 0 0 30px;
    color: #202020;
    font-family: Onest, Arial, sans-serif;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.4;
}

.home-richtext {
    color: #444444;
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
}

.home-richtext p {
    margin: 0;
}

.home-introduction__media {
    display: flex;
    margin: 0;
    align-items: center;
    justify-content: center;
}

.home-introduction__media img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}

.home-products {
    padding: 50px 0 70px;
    background: #eceae5;
}

.home-products__header {
    width: min(100% - 40px, var(--home-content-width, 1200px));
    margin: 0 auto 50px;
    text-align: center;
}

.home-products__header h2 {
    margin: 0;
    color: #202020;
    font-family: Onest, Arial, sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.35;
}

.home-products__rows {
    width: min(100%, var(--home-content-width, 1200px));
    margin: 0 auto;
}

.home-products__row {
    display: grid;
    grid-template-columns: repeat(
        var(--home-row-columns, 3),
        minmax(0, 1fr)
    );
}

@media (min-width: 768px) {
    .home-products__rows {
        display: grid;
        row-gap: 70px;
    }

    .home-products__row {
        column-gap: 24px;
    }
}

.home-product-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 466px;
    overflow: hidden;
    color: #ffffff;
    background-image:
        linear-gradient(
            rgb(0 0 0 / var(--home-card-opacity, 0.48)),
            rgb(0 0 0 / var(--home-card-opacity, 0.48))
        ),
        var(--home-card-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-product-card__content {
    display: flex;
    width: 100%;
    padding: 50px 30px;
    flex-direction: column;
    align-items: flex-start;
}

.home-product-card__offer {
    margin-bottom: 10px;
    padding: 5px 9px;
    color: #ffffff;
    background: #a62a2a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.home-product-card h3,
.home-product-card h4 {
    font-family: Onest, Arial, sans-serif;
    font-weight: 600;
}

.home-product-card h3 {
    margin: 0;
    font-size: 25px;
    line-height: 1.25;
}

.home-product-card h4 {
    margin: 3px 0 18px;
    font-size: 17px;
    line-height: 1.4;
}

.home-product-card__excerpt {
    flex: 1 1 auto;
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
}

.home-product-card__excerpt p {
    margin: 0;
}

.home-button--card {
    margin-top: 22px;
    color: #ffffff;
    background: transparent;
}

.home-button--card:hover,
.home-button--card:focus-visible {
    color: #272727;
    background: #ffffff;
}

.home-partner__inner {
    grid-template-columns: minmax(0, 47fr) minmax(0, 52.953fr);
}

.home-partner__copy {
    padding-right: 40px;
}

.home-button--dark {
    margin-top: 20px;
    color: #000000;
    background: transparent;
}

.home-button--dark:hover,
.home-button--dark:focus-visible {
    border-color: var(--um-blue);
    color: #ffffff;
    background: var(--um-blue);
}

.home-partner__media {
    margin: 0;
}

.home-partner__media img {
    display: block;
    width: 100%;
    height: auto;
}

.home-facebook {
    padding: 72px max(20px, calc((100% - var(--home-content-width, 1200px)) / 2));
    background: #ffffff;
}

.home-facebook__header {
    display: flex;
    margin-bottom: 30px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.home-facebook__header h2,
.home-newsletter h2 {
    margin: 0;
    color: #202020;
    font-family: Onest, Arial, sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.35;
}

.home-facebook__controls {
    display: flex;
    gap: 10px;
}

.home-facebook__controls button {
    width: 46px;
    height: 46px;
    border: 1px solid #1e5365;
    border-radius: 50%;
    color: #1e5365;
    background: #ffffff;
    font-size: 22px;
    cursor: pointer;
}

.home-facebook__controls button:hover,
.home-facebook__controls button:focus-visible {
    color: #ffffff;
    background: #1e5365;
}

.home-facebook__controls button:disabled {
    border-color: #b7c0c4;
    color: #9ba7ac;
    background: #f4f5f5;
    cursor: default;
}

.home-facebook__viewport {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
    scrollbar-color: #7b969f #e8edef;
}

.home-facebook__track {
    display: flex;
    padding-bottom: 16px;
    gap: 24px;
}

.home-facebook-card {
    display: flex;
    min-width: 0;
    flex: 0 0 clamp(270px, 31vw, 380px);
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dce4e7;
    background: #ffffff;
    box-shadow: 0 14px 34px rgb(14 53 68 / 10%);
    scroll-snap-align: start;
}

.home-facebook-card__image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e9eef0;
}

.home-facebook-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.home-facebook-card__image:hover img,
.home-facebook-card__image:focus-visible img {
    transform: scale(1.025);
}

.home-facebook-card__body {
    display: flex;
    padding: 24px;
    flex: 1 1 auto;
    flex-direction: column;
}

.home-facebook-card time {
    color: #66777d;
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
}

.home-facebook-card p {
    margin: 12px 0 22px;
    color: #33474f;
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

.home-facebook-card__link {
    margin-top: auto;
    color: #075c79;
    font-family: Onest, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-newsletter {
    padding: 72px 30px;
    color: #ffffff;
    background: #123f50;
}

.home-newsletter__inner {
    display: grid;
    width: min(100%, var(--home-content-width, 1200px));
    margin: 0 auto;
    grid-template-columns: minmax(240px, 0.8fr) minmax(420px, 1.2fr);
    align-items: center;
    gap: 24px 60px;
}

.home-newsletter .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.home-newsletter h2 {
    color: #ffffff;
}

.home-newsletter__copy p,
.home-newsletter__unavailable,
.home-newsletter__preview p {
    margin: 12px 0 0;
    color: rgb(255 255 255 / 84%);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.65;
}

.home-newsletter__form,
.home-newsletter__preview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 14px;
}

.home-newsletter__email input,
.home-newsletter__preview input {
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid rgb(255 255 255 / 60%);
    border-radius: 0;
    color: #1f3138;
    background: #ffffff;
    font: 16px Inter, Arial, sans-serif;
}

.home-newsletter__consent {
    display: flex;
    grid-column: 1 / -1;
    align-items: flex-start;
    gap: 10px;
    color: rgb(255 255 255 / 88%);
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

.home-newsletter__consent input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    flex: 0 0 auto;
    accent-color: #67b7d1;
}

.home-newsletter__consent a {
    color: #ffffff;
    text-underline-offset: 3px;
}

.home-button--newsletter {
    min-height: 52px;
    margin: 0;
    border-color: #ffffff;
    color: #123f50;
    background: #ffffff;
    cursor: pointer;
}

.home-button--newsletter:hover,
.home-button--newsletter:focus-visible {
    color: #ffffff;
    background: transparent;
}

.home-newsletter__feedback {
    grid-column: 1 / -1;
    margin: 0;
    padding: 12px 16px;
    font-family: Inter, Arial, sans-serif;
}

.home-newsletter__feedback--success {
    color: #123f50;
    background: #dff3e8;
}

.home-newsletter__feedback--error {
    color: #6b1e1e;
    background: #fde4e4;
}

.home-newsletter__preview p {
    grid-column: 1 / -1;
    font-size: 13px;
}

@media (max-width: 1024px) {
    .home-hero {
        min-height: var(--home-hero-tablet-vh, 63vh);
    }

    .home-hero__content {
        width: 86%;
        padding: 4%;
    }

    .home-hero h1 {
        font-size: 53px;
    }

    .home-hero p {
        font-size: 23px;
    }

    .home-button {
        padding: 16px;
    }

    .home-introduction,
    .home-partner {
        padding: 4%;
    }

    .home-introduction__copy {
        padding-right: 40px;
    }

    .home-introduction h2,
    .home-introduction h3,
    .home-partner h2,
    .home-partner h3 {
        font-size: 22px;
    }

    .home-introduction h3,
    .home-partner h3 {
        margin-bottom: 30px;
    }

    .home-products__rows {
        width: 92%;
    }

    .home-newsletter__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .home-hero {
        min-height: var(--home-hero-mobile-vh, 74vh);
        background-image: var(--home-hero-poster-mobile);
    }

    .home-hero__content {
        width: 100%;
        padding: 82px 6% 28px;
    }

    .home-hero h1 {
        font-size: 26px;
    }

    .home-hero p {
        font-size: 16px;
    }

    .home-button--light {
        margin-top: 12px;
    }

    .home-introduction__inner,
    .home-partner__inner {
        grid-template-columns: 1fr;
    }

    .home-introduction,
    .home-partner {
        padding: 4%;
    }

    .home-introduction__copy,
    .home-partner__copy {
        padding: 0;
    }

    .home-introduction h2,
    .home-introduction h3,
    .home-partner h2,
    .home-partner h3 {
        font-size: 18px;
        line-height: 1.5;
    }

    .home-introduction h2,
    .home-partner h2 {
        margin-top: 30px;
    }

    .home-introduction h3,
    .home-partner h3 {
        margin: 30px 0;
    }

    .home-introduction__media {
        margin: 26px 0 30px;
        justify-content: flex-start;
    }

    .home-products {
        padding-bottom: 6%;
    }

    .home-products__rows {
        width: 92%;
    }

    .home-products__row {
        grid-template-columns: repeat(
            var(--home-mobile-columns, 1),
            minmax(0, 1fr)
        );
        gap: 30px;
        margin-bottom: 30px;
    }

    .home-products__row:last-child {
        margin-bottom: 0;
    }

    .home-product-card {
        min-height: 520px;
    }

    .home-product-card__content {
        padding: 50px 30px;
    }

    .home-partner__media {
        margin-top: 30px;
    }

    .home-facebook {
        padding: 48px 4%;
    }

    .home-facebook__header h2,
    .home-newsletter h2 {
        font-size: 22px;
    }

    .home-facebook-card {
        flex-basis: min(84vw, 340px);
    }

    .home-newsletter {
        padding: 48px 6%;
    }

    .home-newsletter__form,
    .home-newsletter__preview {
        grid-template-columns: 1fr;
    }

    .home-button--newsletter {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__video {
        display: none;
    }

    .home-button,
    .home-hero__video,
    .home-facebook-card__image img {
        transition: none;
    }

    .home-facebook__viewport {
        scroll-behavior: auto;
    }
}
