/* MediCall eight-language international landing pages — draft-only styling. */
/* Russian legal labels are longer than French ones. Keep the original footer
   design, but let the legal row wrap cleanly rather than overflow the viewport. */
body.page-id-2093 .footer-bottom {
    height: auto !important;
    min-height: 0 !important;
    padding: 17px 0 22px !important;
    overflow: visible !important;
}
body.page-id-2093 .footer-bottom .bottom-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    height: auto !important;
    min-height: 0 !important;
    gap: 10px 22px !important;
}
body.page-id-2093 .footer-bottom .copyright,
body.page-id-2093 .footer-bottom .medicall-footer-legal-links {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.page-id-2093 .footer-bottom .copyright p {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}
body.page-id-2093 .footer-bottom .medicall-footer-legal-links {
    display: flex !important;
    flex: 0 1 auto !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 5px 9px !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    overflow-wrap: anywhere;
}
body.page-id-2093 .footer-bottom .medicall-footer-legal-links a {
    font-size: inherit !important;
    line-height: inherit !important;
    white-space: normal !important;
}
@media (max-width: 991px) {
    body.page-id-2093 .footer-bottom .bottom-inner {
        flex-direction: column !important;
        justify-content: center !important;
        text-align: center !important;
    }
    body.page-id-2093 .footer-bottom .medicall-footer-legal-links {
        justify-content: center !important;
    }
}

/* Place the compact desktop language selector immediately before the main contact CTA. */
.medicall-top-language {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    z-index: 110;
    margin-right: 10px;
    font-family: inherit;
}
.medicall-top-language .medicall-language-picker > summary {
    min-height: 40px;
    padding: 8px 12px;
    color: #133747;
    border: 1px solid #dde8eb;
    background: #fff;
    border-radius: 8px;
}
.medicall-top-language .medicall-language-picker > summary:hover {
    border-color: #26a7aa;
}
@media (max-width: 991px) {
    .medicall-top-language { display: none; }
}

.medicall-language-item {
    position: relative;
    min-width: 0;
}
.main-menu .medicall-language-item--mobile {
    display: none !important;
}
.medicall-language-picker {
    position: relative;
    font: inherit;
    line-height: 1.5;
}
.medicall-language-picker > summary {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    list-style: none;
    color: inherit;
    white-space: nowrap;
}
.medicall-language-picker > summary::-webkit-details-marker {
    display: none;
}
.medicall-language-picker > summary:focus-visible,
.medicall-language-options a:focus-visible {
    outline: 3px solid #157bc0;
    outline-offset: 2px;
}
.medicall-language-options {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 999;
    margin: 0;
    padding: 6px;
    min-width: 170px;
    max-width: min(90vw, 260px);
    background: #fff;
    color: #172c39;
    border-radius: 8px;
    box-shadow: 0 9px 28px rgba(15, 39, 54, .20);
    list-style: none;
}
.medicall-language-options > li {
    display: block;
    float: none !important;
    width: 100%;
    border: 0 !important;
}
.medicall-language-options a {
    display: block;
    text-decoration: none;
    color: #172c39 !important;
    padding: 8px 11px;
    border-radius: 4px;
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    white-space: normal;
    overflow-wrap: anywhere;
    height: auto !important;
}
.medicall-language-options a:hover,
.medicall-language-options a[aria-current="page"] {
    background: #e9f3f5;
    color: #00405d !important;
}
/* The hamburger-panel selector is rendered server-side, independently of nav cloning. */
.medicall-mobile-language { display: none; }
@media (max-width: 991px) {
    .main-menu .medicall-language-item--desktop {
        display: none !important;
    }
    .mobile-menu .medicall-mobile-language {
        position: relative;
        z-index: 3;
        display: block !important;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, .13);
    }
    .mobile-menu .medicall-mobile-language .medicall-language-picker > summary {
        width: 100%;
        min-height: 46px;
        justify-content: space-between;
        padding: 11px 20px;
        color: #fff;
        font-size: 15px;
    }
    .mobile-menu .medicall-mobile-language .medicall-language-options {
        position: static;
        width: 100%;
        max-width: none;
        min-width: 0;
        padding: 4px 16px 12px;
        box-shadow: none;
        border-radius: 0;
        background: #fff;
    }
    .mobile-menu .medicall-mobile-language .medicall-language-options a {
        padding: 8px 10px;
        font-size: 15px;
        line-height: 1.5;
    }
}
/* Final pass: keep the selector visually separated from the email, and above the
   translucent main navigation row. Earlier rows were washing out menu items. */
.main-header .header-top {
    position: relative !important;
    z-index: 120 !important;
    overflow: visible !important;
}
.main-header .header-top .auto-container,
.main-header .header-top .outer-box,
.main-header .header-top__right {
    overflow: visible !important;
}
.main-header .header {
    position: relative;
    z-index: 20 !important;
}
.main-header .header-top__right .medicall-top-language {
    margin-left: 24px !important;
    margin-right: 16px !important;
    flex: 0 0 auto;
    isolation: isolate;
    z-index: 121;
}
.main-header .header-top__right .medicall-top-language .medicall-language-picker > summary {
    min-width: 88px;
    min-height: 44px;
    padding: 10px 12px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #123c4a !important;
    background: #f8fafb !important;
    border: 1px solid #cbdde1 !important;
    border-radius: 9px;
    box-shadow: 0 2px 6px rgba(8, 43, 53, .04);
    font-weight: 750;
    font-size: 14px;
    opacity: 1 !important;
}
.main-header .medicall-language-picker[open] > summary,
.main-header .medicall-language-picker > summary:hover {
    background: #eaf5f5 !important;
    border-color: #4d9f9c !important;
}
.medicall-language-current {
    display: inline-block;
    min-width: 0;
}
.medicall-language-globe {
    display: inline-block !important;
    color: #087a76 !important;
    font-family: FontAwesome !important;
    font-style: normal;
    font-size: 16px;
    opacity: 1 !important;
    flex-shrink: 0;
}
.medicall-lang-chevron {
    display: inline-block;
    font-size: 12px;
    color: #335260 !important;
    opacity: 1 !important;
    margin-left: 1px;
    flex-shrink: 0;
}
.main-header .medicall-top-language .medicall-language-options {
    position: absolute !important;
    top: calc(100% + 7px) !important;
    right: 0 !important;
    z-index: 99999 !important;
    min-width: 190px !important;
    padding: 6px !important;
    border: 1px solid #dbe6e8 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 16px 35px rgba(10, 39, 50, .20) !important;
    opacity: 1 !important;
    filter: none !important;
    visibility: visible !important;
    transform: none !important;
}
.main-header .medicall-top-language .medicall-language-options > li {
    display: block !important;
    width: 100% !important;
    float: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent !important;
    filter: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}
.main-header .medicall-top-language .medicall-language-options > li > a {
    display: flex !important;
    align-items: center;
    min-height: 42px !important;
    width: 100% !important;
    padding: 10px 13px !important;
    color: #173845 !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 5px !important;
    text-align: left !important;
    text-transform: none !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    pointer-events: auto !important;
}
.main-header .medicall-top-language .medicall-language-options > li > a:hover,
.main-header .medicall-top-language .medicall-language-options > li > a:focus-visible {
    color: #073f48 !important;
    background: #e7f4f3 !important;
}
.main-header .medicall-top-language .medicall-language-options > li > a[aria-current="page"] {
    color: #064853 !important;
    background: #e1f0ef !important;
    font-weight: 800 !important;
}
@media (min-width: 992px) and (max-width: 1450px) {
    .main-header .header-top__right .medicall-top-language {
        margin-left: 10px !important;
        margin-right: 9px !important;
    }
}
@media (max-width: 991px) {
    .main-header .header-top__right .medicall-top-language {
        display: none !important;
    }
    .mobile-menu .medicall-mobile-language {
        background: #103342 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    .mobile-menu .medicall-mobile-language .medicall-language-picker > summary {
        display: flex !important;
        min-height: 50px !important;
        gap: 10px;
        align-items: center;
        justify-content: flex-start !important;
        color: #ffffff !important;
        background: #103342 !important;
        opacity: 1 !important;
        padding: 12px 20px !important;
        border: 0 !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        cursor: pointer;
    }
    .mobile-menu .medicall-mobile-language .medicall-language-current {
        flex: 1 1 auto;
        min-width: 0;
        overflow-wrap: anywhere;
        color: #ffffff !important;
    }
    .mobile-menu .medicall-mobile-language .medicall-language-globe,
    .mobile-menu .medicall-mobile-language .medicall-lang-chevron {
        color: #ffffff !important;
    }
    .mobile-menu .medicall-mobile-language .medicall-language-options {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: min(60vh, 390px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        overscroll-behavior: contain;
        padding: 6px 15px 10px !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        opacity: 1 !important;
        background: #ffffff !important;
        filter: none !important;
        visibility: visible !important;
    }
    .mobile-menu .medicall-mobile-language .medicall-language-options > li {
        display: block !important;
        float: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: #ffffff !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .mobile-menu .medicall-mobile-language .medicall-language-options > li > a {
        display: flex !important;
        align-items: center;
        min-height: 46px !important;
        width: 100% !important;
        padding: 11px 12px !important;
        color: #183947 !important;
        background: #ffffff !important;
        font-size: 15px !important;
        font-weight: 650 !important;
        opacity: 1 !important;
        visibility: visible !important;
        filter: none !important;
        border: 0 !important;
        border-radius: 5px !important;
        text-decoration: none !important;
    }
    .mobile-menu .medicall-mobile-language .medicall-language-options > li > a[aria-current="page"],
    .mobile-menu .medicall-mobile-language .medicall-language-options > li > a:hover {
        color: #05505a !important;
        background: #e7f4f3 !important;
    }
}
/* Header desktop one-line containment: retain the Ambons logo/contact/CTA design.
   The theme's default flex-wrap was moving all contact items to a second row. */
@media (min-width: 1200px) {
    .main-header .header-top .outer-box {
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        column-gap: 12px !important;
    }
    .main-header .header-top__left {
        flex: 0 0 auto !important;
    }
    .main-header .header-top__right {
        display: flex !important;
        flex-flow: row nowrap !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex: 0 1 auto !important;
        min-width: 0;
        white-space: nowrap;
    }
    .main-header .header-top__right .header-contact-info-style1 {
        flex: 0 1 auto;
        min-width: 0;
    }
    .main-header .header-contact-info-style1 ul {
        margin: 0;
        white-space: nowrap;
    }
    .main-header .header-top__right .medicall-top-language {
        display: inline-flex !important;
        flex: 0 0 auto !important;
        margin-left: 18px !important;
        margin-right: 0 !important;
    }
    .main-header .header-top__right .medicall-top-language .medicall-language-picker > summary {
        min-width: 66px !important;
        min-height: 40px !important;
        padding: 7px 9px !important;
        gap: 5px !important;
        font-size: 13px !important;
    }
    .main-header .header-top__right .medicall-top-language .medicall-language-globe {
        display: none !important;
    }
    .main-header .header-top__right .header-button-style1 {
        flex: 0 0 auto !important;
        margin-left: 14px !important;
    }
    .main-header .header-top__right .header-button-style1 .btn-one {
        white-space: nowrap;
    }
}
@media (min-width: 1200px) and (max-width: 1399px) {
    .main-header .header-top .outer-box {
        column-gap: 6px !important;
    }
    .main-header .header-top__right .header-contact-info-style1 ul li {
        margin-right: 12px !important;
    }
    .main-header .header-top__right .header-contact-info-style1 ul li:last-child {
        margin-right: 0 !important;
    }
    .main-header .header-top__right .medicall-top-language {
        margin-left: 7px !important;
    }
    .main-header .header-top__right .header-button-style1 {
        margin-left: 9px !important;
    }
}
/* Avoid collision between the original Ambons fixed navigation and the
   WordPress admin toolbar when logged in and previewing translated pages.
   These selectors do not alter the main site's header or public page layout. */
body.admin-bar.medicall-localized-landing .main-header {
    z-index: 9990 !important;
}
@media (min-width: 783px) {
    body.admin-bar.medicall-localized-landing .main-header.fixed-header .sticky-header {
        top: 32px !important;
    }
}
@media (max-width: 782px) {
    body.admin-bar.medicall-localized-landing .main-header.fixed-header .sticky-header {
        top: 46px !important;
    }
}

/* International landing breadcrumbs on phones: remove absolute pill overlap.
   Keep the original Ambons title/crumb structure and desktop layout untouched. */
@media only screen and (max-width: 767px) {
    body.medicall-localized-landing .breadcrumb-area .inner-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 78px 0 28px !important;
        text-align: center;
    }
    body.medicall-localized-landing .breadcrumb-area .title {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
    }
    body.medicall-localized-landing .breadcrumb-area .title h2,
    body.medicall-localized-landing .breadcrumb-area .title h1 {
        font-size: clamp(27px, 7.7vw, 35px) !important;
        line-height: 1.2 !important;
        letter-spacing: -0.025em !important;
        font-weight: 700 !important;
        overflow-wrap: break-word !important;
        hyphens: auto;
        margin: 0 !important;
    }
    body.medicall-localized-landing .breadcrumb-area .breadcrumb-menu {
        position: relative !important;
        display: flex !important;
        inset: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 2;
    }
    body.medicall-localized-landing .breadcrumb-area .breadcrumb-menu ul {
        box-sizing: border-box !important;
        display: flex !important;
        flex-flow: row nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        width: auto !important;
        max-width: 100% !important;
        padding: 12px 15px !important;
        border-radius: 16px !important;
        overflow: hidden;
    }
    body.medicall-localized-landing .breadcrumb-area .breadcrumb-menu ul li {
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
        text-transform: none !important;
    }
    body.medicall-localized-landing .breadcrumb-area .breadcrumb-menu ul li:first-child {
        flex: 0 0 auto !important;
        white-space: nowrap;
    }
    body.medicall-localized-landing .breadcrumb-area .breadcrumb-menu ul li:first-child::after {
        content: '/';
        margin: 0 8px;
        color: #7e9199;
    }
    body.medicall-localized-landing .breadcrumb-area .breadcrumb-menu ul li:last-child {
        flex: 0 1 auto !important;
        display: block !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        text-align: left !important;
    }
}

/* Keep section anchors visible after navigation from localized mobile menus. */
.mcx #mcx-home,
.mcx #mcx-services,
.mcx #mcx-process,
.mcx #mcx-faq,
.mcx #mcx-contact {
    scroll-margin-top: 105px;
}
@media (max-width: 991px) {
    .mcx #mcx-home,
    .mcx #mcx-services,
    .mcx #mcx-process,
    .mcx #mcx-faq,
    .mcx #mcx-contact {
        scroll-margin-top: 64px;
    }
}
/* Keep the seven translated footer quotation CTAs compact and on a
   single line at desktop widths without altering the Ambons gold button. */
body.medicall-localized-landing .footer-widget-quote-box .btn-box {
    line-height: normal;
}
body.medicall-localized-landing .footer-widget-quote-box .btn-box a.btn-one {
    box-sizing: border-box;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 52px;
    height: auto !important;
    padding: 11px 14px !important;
    line-height: 1.25 !important;
    vertical-align: middle;
}
body.medicall-localized-landing .footer-widget-quote-box .btn-box a.btn-one .txt {
    display: inline-block !important;
    max-width: 100%;
    white-space: nowrap !important;
    font-size: 14px !important;
    font-weight: 700;
    line-height: 1.25 !important;
    text-align: center !important;
}
@media (max-width: 359px) {
    body.medicall-localized-landing .footer-widget-quote-box .btn-box a.btn-one .txt {
        white-space: normal !important;
        font-size: 13px !important;
    }
}
/* Use flexible heights instead of masking translated copy behind fixed boxes. */
.mcx,
.mcx .mcx-hero-inner,
.mcx .mcx-trust > div,
.mcx .mcx-route > *,
.mcx .mcx-cardgrid > *,
.mcx .mcx-steps > *,
.mcx .mcx-duo > *,
.mcx .mcx-bottom > * {
    min-width: 0;
}
.mcx h1,
.mcx h2,
.mcx h3,
.mcx p,
.mcx .mcx-point,
.mcx .mcx-trust span,
.mcx .mcx-btn {
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}
.mcx .mcx-hero-inner,
.mcx .mcx-card,
.mcx .mcx-route,
.mcx .mcx-step,
.mcx .mcx-bottom {
    height: auto;
}
.mcx .mcx-actions > *,
.mcx .mcx-bottom-actions > * {
    max-width: 100%;
    white-space: normal;
    text-align: center;
}
@media (max-width: 390px) {
    .mcx { max-width: 100%; }
    .mcx .mcx-hero-inner { padding: 32px 18px 39px; }
    .mcx .mcx-bottom,
    .mcx .mcx-route { padding-left: 18px; padding-right: 18px; }
    .mcx .mcx-card,
    .mcx .mcx-step { padding: 20px; }
    .mcx .mcx-trust { margin-left: 8px; margin-right: 8px; }
}
.elementor-widget-heading,
.elementor-widget-text-editor,
.service-details-area .text-holder,
.service-details-area .content-box {
    min-width: 0;
    height: auto;
    overflow-wrap: break-word;
}

/* Clear mobile-language scrolling cue: remains visible below the scrollable list
   on iOS Safari, where native scrollbars are hidden by default. */
@media (max-width: 991px) {
    .mobile-menu .medicall-mobile-language .medicall-language-picker[open] {
        background: #fff !important;
    }
    .mobile-menu .medicall-mobile-language .medicall-language-options {
        max-height: min(46vh, 310px) !important;
        overflow-y: scroll !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #6a9a9c #e8f0f1;
        padding-bottom: 14px !important;
    }
    .mobile-menu .medicall-mobile-language .medicall-language-options::-webkit-scrollbar {
        width: 6px;
        display: block;
    }
    .mobile-menu .medicall-mobile-language .medicall-language-options::-webkit-scrollbar-thumb {
        background: #6a9a9c;
        border-radius: 6px;
    }
    .mobile-menu .medicall-language-scroll-hint {
        display: block !important;
        padding: 9px 15px 12px !important;
        color: #0b4a53 !important;
        background: #e9f3f2 !important;
        border-top: 1px solid #c6deda;
        font-size: 12px !important;
        font-weight: 700 !important;
        line-height: 1.4 !important;
        text-align: center;
    }
}
@media (min-width: 992px) {
    .medicall-language-scroll-hint { display: none !important; }
}

/* Localized landing pages: remove empty template space before the footer.
   Keep the international footer reveal and mobile navigation untouched. */
html body.medicall-localized-landing .blog-page-three {
  padding-bottom: 12px !important;
  margin-bottom: 0 !important;
  min-height: 0 !important;
}
html body.medicall-localized-landing .blog-page-three .blog-content-box,
html body.medicall-localized-landing .blog-page-three .thm-unit-test {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
html body.medicall-localized-landing .mcx {
  margin-bottom: 14px !important;
}
html body.medicall-localized-landing .bottom-parallax {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
@media (max-width: 767px) {
  html body.medicall-localized-landing .blog-page-three { padding-bottom: 10px !important; }
  html body.medicall-localized-landing .mcx { margin-bottom: 10px !important; }
}


