/* =========================================================
   Responsive media intro component
   ========================================================= */

.responsive-intro,
.responsive-intro * {
    box-sizing: border-box;
}

.responsive-intro {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 80px 15px;
}

.responsive-intro__desktop {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 1370px;
    height: 700px;
    overflow: hidden;
    border: 1px solid #eee9ed;
    border-radius: 10px;
    background-color: #f7f4f8;
    background-image: var(--responsive-intro-desktop-background-image, none);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.responsive-intro__desktop-media {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    overflow: hidden;
}

.responsive-intro__desktop-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.responsive-intro__desktop-content {
    position: relative;
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 60px;
    min-width: 0;
    height: 100%;
    padding: 80px 40px;
}

.responsive-intro__logo {
    display: block;
    height: auto;
}

.responsive-intro__logo--desktop {
    width: 258px;
}

.responsive-intro__content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.responsive-intro__title {
    width: 100%;
    margin: 0;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0;
    color: #292524;
}

.responsive-intro__title--desktop {
    font-size: 64px;
}

.responsive-intro__description {
    width: 100%;
    margin: 0;
    font-weight: 500;
    line-height: 34px;
    letter-spacing: 0;
    color: #292524;
    opacity: 0.7;
}

.responsive-intro__description--desktop {
    font-size: 24px;
}

.responsive-intro__responsive {
    display: none;
}

.responsive-intro__copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
    padding: 100px 15px 40px;
    text-align: center;
}

.responsive-intro__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
    color: #44403c;
}

.responsive-intro__logo--responsive {
    width: 413px;
    max-width: calc(100vw - 40px);
}

.responsive-intro__visual {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 30px;
    width: 100%;
    height: 650px;
    overflow: hidden;
    text-align: center;
}

@media (max-width: 1199px) {
    .responsive-intro {
        display: block;
        padding: 0;
    }

    .responsive-intro__desktop {
        display: none;
    }

    .responsive-intro__responsive {
        display: flex;
        position: relative;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        overflow: hidden;
        background-image: var(--responsive-intro-responsive-background-image, none);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        text-align: center;
    }

    .responsive-intro__copy {
        padding: 100px 15px 40px;
    }

    .responsive-intro__content {
        align-items: center;
    }

    .responsive-intro__title {
        font-size: 64px;
    }

    .responsive-intro__description {
        font-size: 24px;
        color: #44403c;
    }

    .responsive-intro__visual {
        height: 650px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .responsive-intro__logo--responsive {
        width: 340px;
    }

    .responsive-intro__description {
        font-style: normal;
        font-weight: 500;
        line-height: 34px;
        letter-spacing: -1.2px;
        color: #44403c;
        opacity: 0.7;
    }
}

@media (max-width: 767px) {
    .responsive-intro__copy {
        gap: 30px;
        padding: 60px 16px 40px;
    }

    .responsive-intro__text {
        gap: 22px;
    }

    .responsive-intro__logo--responsive {
        width: 260px;
    }

    .responsive-intro__content {
        gap: 15px;
    }

    .responsive-intro__title {
        font-size: 32px;
        font-style: normal;
        font-weight: 800;
        line-height: 130%;
        letter-spacing: -0.96px;
    }

    .responsive-intro__description {
        font-size: 17px;
        font-style: normal;
        font-weight: 500;
        line-height: 130%;
        letter-spacing: -0.85px;
    }

    .responsive-intro__visual {
        height: 360px;
    }
}
