/* ============================================================
   Block-140: Промо-баннер (суррогатное материнство)
   Автономный CSS - все значения hardcoded, без var() темы.
   Работает в Гутенберг-редакторе и на фронте одинаково.
   ============================================================ */

.promo {
    position: relative;
    width: min(1500px, calc(120% + 180px));
    max-width: none;
    left: 56%;
    transform: translateX(-50%);
    margin: 0;
    padding: 38px 0 30px;
    box-sizing: border-box;
}

.promo .container {
    max-width: 1310px;
    padding: 0 10px;
    margin: 0 auto;
    box-sizing: border-box;
}

.promo h1 {
    color: #323F4B;
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    margin-bottom: 20px;
    max-width: 100%;
    text-align: center;
}

.promo h1 span {
    color: #4D6F9E;
    font: inherit;
}

.promo .promo-title {
    color: #FFF;
    font-size: 36px;
    font-weight: 700;
    line-height: 40px;
    margin: 0;
    max-width: 100%;
}

.promo h3 {
    color: #FFF;
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
    margin: 0;
    max-width: 100%;
}

.promo-content {
    border-radius: 40px;
    position: relative;
    padding: 50px 0;
    background: linear-gradient(90deg, #144282 0%, #4D6F9E 100%);
}

.promo-content .container {
    padding-left: 40px;
}

.promo-content__wrap {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.promo-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}

.promo-li {
    position: relative;
    padding-left: 30px;
}

.promo-li::before {
    content: '';
    min-width: 20px;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    background: url('/wp-content/uploads/2026/02/check.png') center center/20px no-repeat;
}

.promo-li,
.promo-li .text {
    color: #FFF;
    font-size: 14px;
    line-height: 18px;
}

.promo-btns {
    display: flex;
    gap: 30px;
    flex-wrap: nowrap;
    align-items: center;
    position: relative;
    z-index: 2;
}

.promo-btns .btn,
.promo-btns .btn-beige,
.promo-btns .btn-border {
    display: flex;
    border: none;
    align-items: center;
    white-space: nowrap;
    justify-content: center;
    text-align: center;
    padding: 20px 60px;
    transition: all .4s;
    font-size: 11px;
    height: 55px;
    border-radius: 40px;
    font-weight: 700;
    line-height: 11px;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    flex: 0 0 auto;
    cursor: pointer;
    width: auto;
}

.promo-btns .btn {
    color: #FFF !important;
    background: linear-gradient(180deg, #144282 0%, #4D6F9E 100%) !important;
}

.promo-btns .btn-beige {
    background: #F8C7B2 !important;
    color: #323F4B !important;
}

.promo-btns .btn-border {
    background: transparent !important;
    color: #FFF !important;
    border: 1px solid #FFF;
}

.promo-btns .btn:hover {
    background: linear-gradient(180deg, #0D3770 0%, #284D80 100%) !important;
}

.promo-btns .btn-beige:hover {
    background: #E7AE95 !important;
}

.promo-btns .btn-border:hover {
    color: #323F4B !important;
    background: linear-gradient(180deg, #EBC3B2 0%, #FFD3A6 100%) !important;
}

.promo-btns .associate {
    width: auto;
    flex: 0 0 auto;
}

.promo-btns .associate img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
}

.page-id-61 .promo-btns .associate {
    margin-left: 30px;
}

.promo-flag {
    display: flex;
    gap: 10px;
    align-items: center;
    padding-left: 30px;
    border-left: 1px solid rgba(255, 255, 255, 0.20);
    flex: 0 0 auto;
}

.promo-flag img {
    display: block;
    flex: 0 0 auto;
}

.promo-flag__text {
    color: rgba(255, 255, 255, 0.80);
    font-size: 12px;
    line-height: 16px;
}

.promo-img {
    position: absolute;
    bottom: 20px;
    right: 40px;
    width: 24%;
    max-width: 380px;
    height: 460px;
    z-index: 1;
}

.page-id-63 .promo-img {
    right: 100px;
}

.promo-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
}

@media screen and (max-width: 1100px) {
    .promo-img {
        display: none;
    }

    .promo-list {
        max-width: 100%;
    }
}

@media screen and (max-width: 769px) {
    .promo {
        width: 100%;
        max-width: 100%;
        left: auto;
        transform: none;
        margin: 0;
        padding: 30px 0;
    }

    .page-id-61 .promo-btns .associate {
        margin: 0 auto;
    }

    .promo-flag {
        align-items: center;
        padding-left: 0;
        margin: 0 auto;
        border-left: none;
    }

    .promo .promo-title {
        font-size: 32px;
        line-height: 44px;
    }

    .promo h3 {
        font-size: 20px;
        line-height: 28px;
    }

    .promo-content__wrap {
        gap: 20px;
    }

    .promo-btns {
        gap: 12px;
        flex-wrap: wrap;
    }

    .promo-content .container {
        padding-left: 10px;
    }

    .promo-btns .btn,
    .promo-btns .btn-beige,
    .promo-btns .btn-border {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        white-space: normal;
        padding: 16px 20px;
        min-height: 55px;
        height: auto;
        line-height: 14px;
    }

    .promo-flag {
        width: 100%;
        max-width: 340px;
    }

    .promo-flag__text {
        overflow-wrap: anywhere;
    }
}

@media screen and (max-width: 550px) {
    .promo .promo-title {
        margin-bottom: 20px;
        font-size: 21px;
        line-height: 24px;
    }

    .promo h3 {
        text-align: center;
        font-size: 16px;
        margin-top: 20px;
        line-height: 21px;
    }

    .promo h1 {
        font-size: 24px;
        line-height: 28px;
        margin-bottom: 15px;
    }

    .promo-content {
        border-radius: 20px;
        padding: 30px 0;
        margin: 0 auto;
        width: calc(100% - 20px);
    }

    .promo-content .promo-title {
        text-align: center;
    }

    .promo-list,
    .promo-content__wrap {
        gap: 10px;
    }

    .promo-btns {
        margin-top: 10px;
    }

    .promo .associate {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .promo-img {
        display: flex;
        position: initial;
        margin-bottom: -30px;
        width: 100%;
    }
}
