.ibg-home-reviews {
    box-sizing: border-box;
    width: 100%;
    padding: 28px 0 32px;
    overflow: hidden;
    background: #fff;
}

.ibg-home-reviews__inner {
    width: min(1150px, calc(100% - 48px));
    min-height: 0;
    margin: 0 auto;
}

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

.el-footer .ibg-newsletter {

    align-items: center !important;






}

.el-footer .ibg-newsletter__copy {

}

.el-footer .ibg-newsletter__copy h2 {
    font-size:var(--ibg-site-h2-size);
    line-height:var(--ibg-site-h2-line);
}

.ibg-newsletter-open {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid #f0c76d;
    border-radius: 999px;
    background: #f0c76d;
    color: #062b52;
    font: 650 14px/1.2 Onest, Arial, sans-serif;
    white-space: nowrap;
    cursor: pointer;
}

.el-footer .ibg-newsletter__native[hidden],
.ibg-newsletter-modal[hidden] {
    display: none !important;
}

.ibg-newsletter-modal {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(3, 21, 39, 0.72);
}

.el-footer .ibg-newsletter__native.ibg-newsletter-modal-form:not([hidden]) {
    box-sizing: border-box;
    position: fixed !important;
    z-index: 100001;
    top: 50%;
    left: 50%;


    max-height: calc(100vh - 40px);
    overflow: auto;

    transform: translate(-50%, -50%);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.ibg-newsletter-modal__close {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: #062b52;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.ibg-newsletter-modal-form iframe {
    display: block !important;
    width: 100% !important;
    max-width: 440px !important;
    height: 720px !important;
    margin: 0 auto !important;
}

body.ibg-newsletter-modal-open {
    overflow: hidden;
}

@media (max-width: 700px) {
    .ibg-home-reviews {
        padding: 20px 0 24px;
    }

    .ibg-home-reviews__inner {
        width: calc(100% - 32px);
        min-height: 0;
    }

    .el-footer .ibg-newsletter {



    }

    .ibg-newsletter-open {
        justify-self: start;
    }
}

@media (max-width: 430px) {
    .ibg-newsletter-modal {
        padding: 8px;
    }

    .el-footer .ibg-newsletter__native.ibg-newsletter-modal-form:not([hidden]) {

        max-height: calc(100vh - 16px);

    }

    .ibg-newsletter-modal-form iframe {
        height: 700px !important;
    }
}

/* Content-driven vertical rhythm for the ACF-rendered homepage only. */
body.ibg-el-page main[data-ibg-home-source="acf"] :where(.el-card-section, .el-feature) {
    min-height: 0 !important;
    padding-block: 32px !important;
}

body.ibg-el-page main[data-ibg-home-source="acf"] .el-hero {
    height: auto !important;
    min-height: 620px !important;
}

body.ibg-el-page main[data-ibg-home-source="acf"] .el-card-section {
    gap: 24px !important;
}

body.ibg-el-page main[data-ibg-home-source="acf"] .el-feature {
    height: auto !important;
    min-height: 0 !important;
    gap: 32px !important;
}

body.ibg-el-page main[data-ibg-home-source="acf"] .el-feature-media {
    height: auto !important;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

body.ibg-el-page main[data-ibg-home-source="acf"] :where(.el-trust, .el-cta-section) {
    height: auto !important;
    min-height: 0 !important;
    padding-block: 24px !important;
}

body.ibg-el-page main[data-ibg-home-source="acf"] .el-promo-cta {
    height: auto !important;
    min-height: 0 !important;
    padding: 28px 40px !important;
}

@media (max-width: 767px) {
    body.ibg-el-page main[data-ibg-home-source="acf"] :where(.el-card-section, .el-feature) {
        padding-block: 24px !important;
    }

    body.ibg-el-page main[data-ibg-home-source="acf"] .el-hero {
        min-height: 0 !important;
    }

    body.ibg-el-page main[data-ibg-home-source="acf"] :where(.el-card-section, .el-feature) {
        gap: 20px !important;
        padding-right: 16px !important;
        padding-left: 16px !important;
    }

    body.ibg-el-page main[data-ibg-home-source="acf"] .el-feature-media,
    body.ibg-el-page main[data-ibg-home-source="acf"] .el-feature-content {
        width: 100% !important;
        max-width: 420px !important;
    }

    body.ibg-el-page main[data-ibg-home-source="acf"] :where(.el-trust, .el-cta-section) {
        padding-block: 24px !important;
    }

    body.ibg-el-page main[data-ibg-home-source="acf"] .el-promo-cta {
        gap: 24px !important;
        padding: 24px !important;
    }
}

/* The editorial serif has no Cyrillic subset; keep Russian typography coherent. */
html[lang^="ru"] body.ibg-el-page :where(main, .el-header, .el-footer){

}
html[lang^="ru"] body.ibg-el-page :where(main, .el-header, .el-footer) :where(p, li, a, button, input, select, textarea, label) {

}

html[lang^="ru"] body.ibg-el-page main :where(h1, h2, h3, h4, h5, h6) {

    font-weight:600;
    letter-spacing:normal;
}

/* Balanced typography for the separately rendered editable homepage. */
body.ibg-el-page main[data-ibg-home-source="acf"] h1 {
    font-size:var(--ibg-site-h1-size);
    line-height:var(--ibg-site-h1-line);
    letter-spacing:normal;
}

body.ibg-el-page main[data-ibg-home-source="acf"] h2 {
    font-size:var(--ibg-site-h2-size);
    line-height:var(--ibg-site-h2-line);
    letter-spacing:normal;
}

body.ibg-el-page main[data-ibg-home-source="acf"] h3 {
    font-size:var(--ibg-site-h3-size);
    line-height:var(--ibg-site-h3-line);
    letter-spacing:normal;
}

body.ibg-el-page main[data-ibg-home-source="acf"] .el-card-main > p {
    font-size:var(--ibg-site-body-size);
    line-height:var(--ibg-site-body-line);
}

/* Compact homepage cards: equal per row, sized by content rather than a fixed box. */
body.ibg-el-page main[data-ibg-home-source="acf"] :where(.el-card, article.el-card) {
    height: 100% !important;
    min-height: 0 !important;
    align-self: stretch !important;
    padding: 0 !important;
}

body.ibg-el-page main[data-ibg-home-source="acf"] .el-card-section :where(.el-card-grid, .el-grid) {
    align-items: stretch !important;
}

body.ibg-el-page main[data-ibg-home-source="acf"] .el-card-content {
    min-height: 0 !important;
    padding: 20px 24px !important;
}

body.ibg-el-page main[data-ibg-home-source="acf"] .el-card-main {
    min-height: 0 !important;
    height: auto !important;
}

body.ibg-el-page main[data-ibg-home-source="acf"] .el-card-main > :where(h2, h3) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.ibg-el-page main[data-ibg-home-source="acf"] .el-card-main > p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.ibg-el-page main[data-ibg-home-source="acf"] .el-card-content > a:last-child {
    margin-top: 20px !important;
}

.ibg-collection-cta {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 32px;
}

.ibg-collection-cta__link {
    display: inline-flex !important;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 22px !important;
    border: 1px solid #062b52 !important;
    border-radius: 999px !important;
    background: #062b52 !important;
    color: #fff !important;
    font: 650 15px/1.2 Onest, Arial, sans-serif !important;
    text-decoration: none !important;
}

.ibg-collection-cta__link:hover {
    background: #0b416f !important;
}

/* IBG global ultra-compact footer v3.
 * The newsletter opens the existing Sender form in a modal; its form wrapper
 * never reserves space in the footer itself. */
.el-footer,
body.ibg-p3a-global-shell.ibg-el-internal .el-footer {
    box-sizing: border-box !important;


    align-items: center !important;





}

.el-footer > .ibg-newsletter {
    position: relative !important;


    align-items: center !important;







    border: 0 !important;
}

.el-footer .ibg-newsletter__copy {
    min-width: 0 !important;


}

.el-footer .ibg-newsletter__copy .screen-reader-text {
    position: absolute !important;




    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.el-footer .ibg-newsletter__eyebrow {

    font-size:var(--ibg-site-helper-size);
    line-height:var(--ibg-site-helper-line);
}

.el-footer .ibg-newsletter__copy > p {

    font-size:var(--ibg-site-body-size);
    line-height:var(--ibg-site-body-line);
}

.el-footer .ibg-newsletter__native:not(.ibg-newsletter-modal-form) {
    position: absolute !important;



    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.el-footer .ibg-newsletter-open {



    font-size: 13px !important;
}

.el-footer > .el-footer-utility {


    align-items: center !important;

    min-width: 0 !important;





}

.el-footer .el-footer-legal {

}

.el-footer .el-footer-legal > p {

    font-size:var(--ibg-site-body-size);
    line-height:var(--ibg-site-body-line);
    white-space: nowrap !important;
}

.el-footer .el-footer-legal > nav {

    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;

    min-width: 0 !important;

}

.el-footer .el-footer-legal a {


    font-size: 12px !important;
}

.el-footer .el-footer-social {

    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;

    min-width: 0 !important;




}

.el-footer .el-footer-social > strong {
    margin-right: 2px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
}

.el-footer .el-footer-social a {




    align-items: center !important;
    justify-content: center !important;


}

.el-footer .el-footer-social img {


}

@media (max-width: 1279px) {
    .el-footer,
    body.ibg-p3a-global-shell.ibg-el-internal .el-footer {



    }
}

@media (max-width: 1000px) {
    .el-footer > .el-footer-utility {

        row-gap: 6px !important;
    }

    .el-footer .el-footer-social {
        grid-column: 1 / -1 !important;
        justify-content: flex-start !important;
    }
}

@media (max-width: 700px) {
    .el-footer,
    body.ibg-p3a-global-shell.ibg-el-internal .el-footer {


    }

    .el-footer > .ibg-newsletter {


    }

    .el-footer .ibg-newsletter-open,
    .el-footer .el-footer-legal a,
    .el-footer .el-footer-social a {

    }

    .el-footer .el-footer-social a {


    }

    .el-footer > .el-footer-utility {


    }

    .el-footer .el-footer-legal > p {
        grid-column: 1 !important;
        white-space: normal !important;
    }

    .el-footer .el-footer-legal > nav:first-of-type {
        grid-column: 2 !important;
    }

    .el-footer .el-footer-legal > nav:last-of-type{
        grid-column: 1 / -1 !important;
    }
    .el-footer .el-footer-social {
        grid-column: 1 / -1 !important;
    }

    .el-footer .el-footer-legal > nav {
        flex-wrap: wrap !important;
    }

    .el-footer .el-footer-social {
        position: relative !important;
        flex-wrap: nowrap !important;

    }

    .el-footer .el-footer-social > strong {
        position: absolute !important;


        overflow: hidden !important;
        clip-path: inset(50%) !important;
    }
}

@media (max-width: 380px) {
    .el-footer > .ibg-newsletter {


    }

    .el-footer .ibg-newsletter-open {
        justify-self: start !important;
    }
}

@media (max-width: 350px) {
    .el-footer,
    body.ibg-p3a-global-shell.ibg-el-internal .el-footer {
        padding-inline: 16px !important;
    }

    .el-footer > .el-footer-utility {

    }

    .el-footer .el-footer-legal > p{
        grid-column: 1 !important;
    }
    .el-footer .el-footer-legal > nav:first-of-type,
    .el-footer .el-footer-legal > nav:last-of-type{
        grid-column: 1 !important;
    }
    .el-footer .el-footer-social {
        grid-column: 1 !important;
    }
}
