.promo-banner{
    display: flex;
    margin: auto;
    margin-top: 30px;
    max-width: 1150px;
    width: 90%;
    min-height: 280px;
    background: #f6f7fb;
    border-radius: 5px;
    overflow: hidden;
    font-family:Arial,sans-serif;

    line-height: 1;
}

.promo-image{
    flex:1;
}
.promo-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.promo-content{flex:1;padding:30px;display:flex;flex-direction:column;justify-content:center;}
.promo-content p {margin:0 0 20px; font-size:16px; }
.promo-btn{align-self:flex-start;padding:14px 28px;background:#4f46e5;color:#fff;text-decoration:none;border-radius:8px;font-weight:600;transition:background .2s;}
.promo-btn:hover{background:#4338ca;}
@media (max-width:768px) {
    .promo-banner{ flex-direction:column; width: 100%; margin: 0; border-radius: 0px; }
    .promo-image{ height:200px; }
    .promo-content{ display: none; }
}

/* Стили только для верхнего и нижнего блоков, добавляемых loan.js. */
#vv_top_external {
    position: relative;
    z-index: 1 !important;
    width: 100%;
    padding: 36px 0 0;
    background: #f7fcf9;
}

#vv_top_external .promo-banner {
    display: grid;
    width: min(1140px, calc(100% - 48px));
    max-width: none;
    height: 360px;
    min-height: 0;
    grid-template-columns: 55% 45%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    background: #f7f7f7;
    box-shadow: 0 4px 12px rgba(43, 45, 51, .08), 0 1px 2px rgba(43, 45, 51, .12);
    color: #232323;
    font-family: Arial, sans-serif;
    line-height: normal;
}

#vv_top_external .promo-content {
    display: flex;
    order: 1;
    padding: 48px 60px;
    align-items: flex-start;
    justify-content: center;
}

#vv_top_external .promo-image {
    order: 2;
    height: 100%;
    min-width: 0;
    min-height: 0;
}

#vv_top_external .promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

#vv_top_external .promo-content p:first-child {
    margin: 0 !important;
    color: #232323 !important;
    font-size: 44px !important;
    font-weight: 500;
    line-height: 44px !important;
}

#vv_top_external .promo-content p:first-child b {
    font-weight: 500;
}

#vv_top_external .promo-content p:last-child {
    max-width: 470px;
    margin: 12px 0 0 !important;
    color: #585858 !important;
    font-size: 18px !important;
    line-height: 26px !important;
}

#vv_bottom_external {
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 0 36px;
    background: #fff;
}

#vv_bottom_external .b_bottom_view {
    display: block !important;
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 2px 0 36px;
    border-top: 1px solid #e5e9e7;
    border-bottom: 1px solid #e5e9e7;
    background: none !important;
    color: #232323;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
}

#vv_bottom_external .b_bottom_view > div {
    width: min(1140px, calc(100% - 48px));
    margin: 0 auto;
}

#vv_bottom_external h3 {
    margin: 32px 0 16px;
    font-size: 28px;
    font-weight: 500;
    line-height: 32px;
}

#vv_bottom_external .b_bottom_view > div > h3:first-of-type {
    margin-top: 30px;
}

#vv_bottom_external ul {
    margin: 0;
    color: #585858;
    font-size: 16px;
    line-height: 24px;
}

#vv_bottom_external a {
    color: #406cff;
    text-underline-offset: 3px;
}

@media (min-width: 620px) and (max-width: 900px) {
    #vv_top_external .promo-content {
        padding: 48px 32px;
    }

    #vv_top_external .promo-content p:first-child {
        font-size: 32px !important;
        line-height: 34px !important;
    }

    #vv_top_external .promo-content p:last-child {
        font-size: 16px !important;
        line-height: 22px !important;
    }

    #vv_top_external .promo-image img {
        object-position: right top;
    }
}

.od24-standard-footer-hidden {
    display: none !important;
}

#vv_bottom_external .od24-company-footer,
#vv_bottom_external .od24-company-footer * {
    box-sizing: border-box;
}

#vv_bottom_external .od24-company-footer {
    display: block !important;
    width: min(1140px, calc(100% - 48px)) !important;
    max-width: none !important;
    margin: 36px auto 0 !important;
    color: #232323;
    font-family: "Mabry Pro", Arial, sans-serif;
}

#vv_bottom_external .od24-company-footer__card {
    padding: 24px;
    border-radius: 16px;
    background: #f7fcf9;
}

#vv_bottom_external .od24-company-footer__heading {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(69, 155, 99, .18);
}

#vv_bottom_external .od24-company-footer__heading strong {
    display: block;
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
}

#vv_bottom_external .od24-company-footer__heading p {
    margin: 2px 0 0;
    color: #585858;
    font-size: 14px;
    line-height: 18px;
}

#vv_bottom_external .od24-company-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 20px;
    margin: 16px 0 0;
}

#vv_bottom_external .od24-company-footer__item {
    min-width: 0;
    margin: 0;
}

#vv_bottom_external .od24-company-footer__item--wide {
    grid-column: span 2;
}

#vv_bottom_external .od24-company-footer__item dt {
    margin: 0 0 2px;
    color: #585858;
    font-size: 13px;
    line-height: 16px;
}

#vv_bottom_external .od24-company-footer__item dd {
    margin: 0;
    font-size: 14px;
    line-height: 19px;
    overflow-wrap: anywhere;
}

#vv_bottom_external .od24-company-footer a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#vv_bottom_external .od24-company-footer__regulation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(69, 155, 99, .18);
    color: #585858;
    font-size: 12px;
    line-height: 17px;
}

#vv_bottom_external .od24-company-footer__regulation p {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

#vv_bottom_external .od24-company-footer__regulation strong {
    display: block;
    margin-bottom: 2px;
    color: #232323;
    font-weight: 500;
}

#vv_bottom_external .od24-company-footer__ombudsman {
    grid-row: 1 / span 2;
    grid-column: 1;
}

#vv_bottom_external .od24-company-footer__regulation p:nth-child(2) {
    grid-row: 1;
    grid-column: 2;
}

#vv_bottom_external .od24-company-footer__regulation p:nth-child(3) {
    grid-row: 2;
    grid-column: 2;
}

#vv_bottom_external .od24-company-footer__bank a {
    display: block;
    width: max-content;
    max-width: 100%;
}

#vv_bottom_external .od24-company-footer__membership {
    grid-column: 1 / -1;
}

@media (max-width: 1023px) {
    #vv_bottom_external .od24-company-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 619px) {
    #vv_bottom_external .od24-company-footer {
        width: calc(100% - 32px) !important;
        margin-top: 32px !important;
    }

    #vv_bottom_external .od24-company-footer__card {
        padding: 20px 16px;
        border-radius: 16px;
    }

    #vv_bottom_external .od24-company-footer__heading {
        padding-bottom: 14px;
    }

    #vv_bottom_external .od24-company-footer__heading strong {
        font-size: 17px;
        line-height: 20px;
    }

    #vv_bottom_external .od24-company-footer__heading p {
        font-size: 13px;
        line-height: 17px;
    }

    #vv_bottom_external .od24-company-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 12px;
        margin-top: 14px;
    }

    #vv_bottom_external .od24-company-footer__item--wide {
        grid-column: span 2;
    }

    #vv_bottom_external .od24-company-footer__item dt {
        font-size: 12px;
        line-height: 15px;
    }

    #vv_bottom_external .od24-company-footer__item dd {
        font-size: 14px;
        line-height: 19px;
    }

    #vv_bottom_external .od24-company-footer__regulation {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 14px;
        padding-top: 14px;
    }

    #vv_bottom_external .od24-company-footer__regulation p:nth-child(2),
    #vv_bottom_external .od24-company-footer__regulation p:nth-child(3),
    #vv_bottom_external .od24-company-footer__ombudsman {
        grid-row: auto;
        grid-column: auto;
    }
}

@media (min-width: 620px) and (max-width: 768px) {
    #vv_top_external .promo-banner {
        display: flex;
        height: auto;
        flex-direction: column;
    }

    #vv_top_external .promo-image {
        order: 1;
        width: 100%;
        height: 280px;
        flex: 0 0 280px;
    }

    #vv_top_external .promo-image img {
        object-position: center top;
    }

    #vv_top_external .promo-content {
        order: 2;
        padding: 32px;
        align-items: center;
        text-align: center;
    }

    #vv_top_external .promo-content p:first-child {
        max-width: 360px;
    }

    #vv_top_external .promo-content p:last-child {
        max-width: 600px;
    }
}

@media (max-width: 619px) {
    #vv_top_external {
        padding: 32px 0 0;
    }

    #vv_top_external .promo-banner {
        display: flex;
        width: calc(100% - 32px);
        height: auto;
        min-height: 0;
        flex-direction: column;
        gap: 16px;
        border-radius: 18px;
    }

    #vv_top_external .promo-image {
        order: 1;
        width: 100%;
        height: 280px;
        flex: 0 0 280px;
    }

    #vv_top_external .promo-content {
        display: flex;
        order: 2;
        padding: 0 16px 20px;
        align-items: stretch;
        text-align: center;
    }

    #vv_top_external .promo-content p:first-child {
        font-size: 22px !important;
        line-height: 24px !important;
    }

    #vv_top_external .promo-content p:last-child {
        margin-top: 8px !important;
        font-size: 16px !important;
        line-height: 22px !important;
    }

    #vv_bottom_external {
        padding-bottom: 32px;
    }

    #vv_bottom_external .b_bottom_view {
        width: 100% !important;
        padding: 2px 0 32px;
        font-size: 15px;
        line-height: 22px;
    }

    #vv_bottom_external .b_bottom_view > div {
        width: calc(100% - 32px);
    }

    #vv_bottom_external h3 {
        margin: 24px 0 12px;
        font-size: 22px;
        line-height: 26px;
    }

    #vv_bottom_external .b_bottom_view > div > h3:first-of-type {
        margin-top: 28px;
    }

    #vv_bottom_external ul {
        padding-inline-start: 24px !important;
        padding-inline-end: 0 !important;
        font-size: 15px;
        line-height: 22px;
    }
}
