._landing {
    overflow: hidden;
}

._landing ._landing__container > p {
    font-size: 16px;
    padding-inline: 48px;
    max-width: 80%;
    margin-inline: auto;
    margin-bottom: 12px;
}

._landing__container {
    width: calc(100% - 32px);
    max-width: 1140px;
    margin-inline: auto;
    padding-inline: 16px;
}
._landing__fw {
    width: 100vw;
    margin-left: calc((100vw - 1110px) / 2 * -1);
}

._landing__contacts {
    padding: 60px;
    margin: 80px 0;
    background-color: var(--color-primary);
    border-radius: 24px;
    display: grid;
    grid-template-columns: 5fr 3fr;
    gap: 48px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    color: white;
    align-items: center;
}

._landing__contacts__title {
    font-size: 26px;
    text-align: center;
    margin-bottom: 12px;
}

._landing__contacts__subtitle {
    font-size: 18px;
    text-align: center;
    margin-bottom: 12px;
}

._landing__contacts input {
    width: 100%;
    height: 48px;
    outline: none;
    font-size: 16px;
    padding: 0 16px;
    border: none;
    margin-bottom: 4px;
}

._landing__contacts input[type="submit"] {
    background-color: var(--color-secondary);
    color: white;
    cursor: pointer;
}

._landing__contacts .wpcf7-spinner {
    display: none;
}

._landing__contacts .text-politic {
    width: 60%;
    margin: 24px auto 0;
    text-align: center;
}

._landing__contacts .text-politic a {
    opacity: .6;
    font-size: 12px;
    color: white;
    line-height: 16px;
}

._landing__photo-with-text {
    /*margin-block: 36px;*/
}

._landing__photo-with-text__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 80px 0;
    gap: 84px;
    align-items: center;
}

._landing__photo-with-text__text {
    font-size: 18px;
    width: 80%;
}

._landing__photo-with-text__thumbnail img{
    border-radius: 24px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

._landing__photo-with-text__wrap-right {

}

._landing__shadow {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

._landing__format-group {
    margin-block: 60px;
}

._landing__format-group__wrap {
    display: grid;
    justify-content: space-around;
    gap: 48px;
    flex-wrap: wrap;
    grid-template-columns: repeat(auto-fit, minmax(100px, 30%));
}

._landing__format-group__el {
    border-radius: 24px;
    padding: 24px 36px;
    text-align: center;
}

._landing__format-group__title {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--color-primary-dark);
}

._landing .wp-block-image img {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    border-radius: 24px !important;
}

._landing figure {
    overflow: inherit !important;
}

._landing__button__el {
    height: 60px;
    outline: none;
    font-size: 16px;
    padding: 0 60px;
    border: none;
    border-radius: 6px;
    background-color: var(--color-secondary);
    color: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: .3s;
    /*text-transform: uppercase;*/
    letter-spacing: 0.05em;
    font-weight: 700;
}

._landing__button {
    text-align: center;
}

._landing__button__el:hover {
    color: white;
    background-color: var(--color-secondary-dark);
}

._landing__primary-banner {
    min-height: calc(100vh - 114px);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

._landing__primary-banner__content {
    height: 100%;
    display: flex;
    justify-content: end;
}

._landing__primary-banner__wrap {
    max-width: 480px;
    padding: 36px 48px;
    background-color: white;
    border-radius: 24px;
}

._landing__primary-banner__title {
    color: var(--color-primary-dark);
    font-size: 30px;
    margin-bottom: 12px;
    line-height: 42px;
}

._landing__primary-banner__subtitle {
    font-size: 16px;
    margin-bottom: 36px;
}

@media all and (max-width: 1180px) {
    ._landing__container {
        width: 100%;
        padding-inline: 0;
        margin: 0;
    }
    ._landing__fw {
        margin-left: 0;
        padding-inline: 24px;
    }

    ._landing__contacts,
    ._landing__format-group {
        width: 96%;
        margin-inline: auto;
    }
}

@media all and (max-width: 768px) {
    ._landing__fw {
        margin-left: 0;
        padding-inline: 16px;
    }

    ._landing__primary-banner__content {
        justify-content: center;
    }

    ._landing__primary-banner {
        align-items: end;
        padding-bottom: 24px;
    }

    ._landing__primary-banner__wrap {
        text-align: center;
    }

    ._landing__photo-with-text__wrap {
        gap: 48px;
    }

    ._landing__photo-with-text__text {
        font-size: 16px;
        width: 100%;
    }

    ._landing__contacts__title {
        font-size: 24px;
    }

    ._landing__contacts__subtitle {
        font-size: 16px;
    }

    ._landing__format-group__wrap {
        gap: 24px;
        grid-template-columns: 1fr 1fr;
    }
}

@media all and (max-width: 500px) {
    ._landing__primary-banner__wrap {
        padding: 24px 36px;
    }

    ._landing__primary-banner__title {
        font-size: 24px;
        line-height: 36px;
    }

    ._landing__primary-banner__subtitle {
        font-size: 14px;
    }

    ._landing__photo-with-text__wrap {
        gap: 24px;
        grid-template-columns: 1fr;
        padding-block: 24px;
    }

    ._landing__photo-with-text__text {
        padding-inline: 12px;
    }

    ._landing__fw {
        padding-inline: 0;
    }

    ._landing__photo-with-text__wrap-right ._landing__photo-with-text__content{
         order: 2;
    }

    ._landing__contacts {
        padding: 36px;
        gap: 24px;
        grid-template-columns: 1fr;
    }

    ._landing__format-group__wrap {
        grid-template-columns: 1fr;
    }

    ._landing ._landing__container > p {
        max-width: 100%;
    }
}

@media all and (max-width: 375px) {
    ._landing ._landing__container > p {
        padding-inline: 24px;
    }
}