/* A shared layout refinement for all ET/EN/RU theme pages. */
body .mm-global-top,body .mm-footer,body #mm-site-home,body .mm-contact{box-sizing:border-box;width:var(--fjd-viewport-width,100vw)!important;max-width:var(--fjd-viewport-width,100vw)!important}
.mm-global-top *,.mm-footer *{box-sizing:border-box}
.mm-global-top__links .fjd-switch{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;border-left:1px solid #ccd9d2;padding-left:11px}
.mm-global-top__links .fjd-switch a{font-size:12px;padding:4px 3px}
.mm-global-top__links .fjd-switch [aria-current]{font-weight:900;text-decoration:underline!important}
.fjd-form{box-sizing:border-box;scroll-margin-top:30px;font:inherit}
.fjd-form label:not(.consent){display:block;font-weight:650;margin-top:15px}
.fjd-form .consent{display:flex;align-items:flex-start;gap:12px;line-height:1.5;font-weight:400;margin:22px 0}
.fjd-form .consent input{width:22px;height:22px;flex:0 0 22px;margin:2px 0 0;accent-color:#173430}
.fjd-form button[type=submit]{min-height:48px;width:100%;background:#173430;color:white;border:0;border-radius:8px;padding:13px 24px;font:inherit;font-weight:700;cursor:pointer}
.fjd-form button[type=submit]:hover{background:#285b43}
.fjd-form button:focus-visible,.fjd-form input:focus-visible,.fjd-form textarea:focus-visible,.fjd-form select:focus-visible{outline:3px solid #d89c16;outline-offset:3px}
.fjd-note{font-size:14px;color:#50625a;line-height:1.55;margin:16px 0 0}
.fjd-status{padding:15px;border:1px solid #8baa93;border-radius:6px;background:#eef6ec;color:#173430}
.fjd-unified-page .entry-content figure.wp-block-image img{height:auto}
.fjd-unified-page .entry-content .alignfull{margin-left:calc(-1 * var(--wp--style--root--padding-left,0px));margin-right:calc(-1 * var(--wp--style--root--padding-right,0px));max-width:none}
.fjd-unified-page .entry-content .alignfull>.wp-block-heading,.fjd-unified-page .entry-content .alignfull>p,.fjd-unified-page .entry-content .alignfull>.wp-block-buttons,.fjd-unified-page .entry-content .alignfull>.wp-block-table{max-width:1100px;margin-left:auto;margin-right:auto}
.fjd-unified-page .wp-block-table{overflow-x:auto}
@media(max-width:1150px){.mm-global-top__links{gap:12px 18px}.mm-global-top__in{gap:16px}}
@media(max-width:950px){.mm-global-top__in{flex-wrap:wrap;justify-content:center}.mm-global-top__links{order:2;flex:1 1 100%;justify-content:center;margin-left:0}}
@media(max-width:700px){.fjd-unified-page .entry-content>.wp-block-heading:first-child{font-size:clamp(30px,7vw,44px);line-height:1.15}.mm-global-top__links a{white-space:normal}.mm-global-top__links .fjd-switch{white-space:nowrap}.fjd-form{padding:18px}.fjd-unified-page .entry-content .alignfull{padding-left:20px!important;padding-right:20px!important}}


/* v1.4.5 — Preserve the WordPress theme's original typography.
   The 1.4.3 site-wide font-family and font-weight overrides were removed.
   Headings, navigation and yellow button labels now inherit the exact
   typography defined by the active site theme, without forced bold weight.
   Browser font fallback still handles Cyrillic for RU pages as needed. */

/* v1.4.4 — contrast correction. WordPress default dark buttons must
   always have legible white text, before hover and after hover/focus.
   Do not override deliberately colored buttons (yellow or white), nor
   outline-style buttons: those preserve their explicitly chosen colors. */
body:not(.wp-admin) .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-text-color):not(.has-background),
body:not(.wp-admin) .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-text-color):not(.has-background):is(:hover,:focus,:focus-visible,:active,:visited){
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff;
}
/* Independently styled dark call-to-action elements on ET/EN/RU pages. */
body:not(.wp-admin) :is(.mm-global-top__cta,.mm-ec100-offer-cta,.fjd-form button[type="submit"],.mirme-contact-form input[type="submit"]),
body:not(.wp-admin) :is(.mm-global-top__cta,.mm-ec100-offer-cta,.fjd-form button[type="submit"],.mirme-contact-form input[type="submit"]):is(:hover,:focus-visible){
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff;
}

/* v1.4.6 — mirror the verified two-line ET solutions heading without changing font weight,
   font family or colors. Applies only to the matching page across ET/EN/RU. */
@media (min-width:900px){
  body.fjd-solutions-page .wp-block-post-content > .wp-block-group:first-child > h1.wp-block-heading{
    max-width:900px!important;
    margin-left:0!important;
    margin-right:auto!important;
  }
}
