.meduzas-top-header .ed-container-home,
#masthead.meduzas-header > .ed-container-home {
    width: 100%;
    max-width: 1660px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.top-header.meduzas-top-header {
    position: relative;
    padding: 0;
    background: #ff0051;
    color: #fff;
    z-index: 10000;
}
.meduzas-top-header .header-callto { min-height: clamp(54px, 4vw, 66px); }
.meduzas-header-languages .wpml-ls { padding: 0; border: 0; }
.meduzas-header-languages .wpml-ls ul { display: flex; gap: 16px; }
.meduzas-header-languages .wpml-ls a {
    padding: 10px 0;
    background: transparent;
    color: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}
.meduzas-header-languages .wpml-ls a span { font-weight: inherit; }
.meduzas-header-languages .wpml-ls-current-language a { font-weight: 700; }
.meduzas-header-phones { display: flex; align-items: center; gap: 20px; }
.meduzas-header-phones img { filter: brightness(0) invert(1); }
.meduzas-header-phones a { color: inherit; font-size: 18px; font-weight: 600; white-space: nowrap; }
.meduzas-header-phones a + a { padding-left: 20px; border-left: 1px solid currentColor; }
.meduzas-header-phone-dropdown { display: none; }
#masthead.meduzas-header {
    position: sticky;
    top: 0;
    margin: 0;
    padding: 0;
    background: #fff;
    border-bottom: 1px solid #edf2f6;
    color: #0b2141;
    z-index: 9999;
}
#masthead.meduzas-header > .ed-container-home { min-height: clamp(106px, 7.4vw, 124px); }
#masthead .site-branding {
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto;
    padding: 12px 0;
    flex-shrink: 0;
}
#masthead .site-logo { margin: 0; flex-shrink: 0; }
#masthead .site-logo img { display: block; width: clamp(76px, 5.4vw, 90px); height: clamp(80px, 5.5vw, 92px); object-fit: contain; }
#masthead .site-text a { color: #0b2141; }
#masthead .site-title { font-size: clamp(30px, 2.15vw, 36px); font-weight: 600; line-height: 1.2; }
#masthead .site-description { margin: 2px 0 0; font-size: 12px; color: #64728b; }
#masthead #site-navigation { position: static; top: auto; right: auto; width: auto; padding: 0; float: none; flex: 1; text-align: center; }
#masthead #primary-menu { display: flex; align-items: center; justify-content: center; gap: 22px; width: 100%; background: transparent; }
#masthead #primary-menu > li { flex-shrink: 0; }
#masthead #primary-menu > li > a {
    padding: 22px 0;
    color: #0b2141;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}
#masthead #primary-menu > li > a:hover,
#masthead #primary-menu > li.current-menu-item > a { color: #ff0051; }
#masthead .callto-right { flex-shrink: 0; }
#masthead .request {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 20px;
    border-radius: 12px;
    background: #ff0051;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
}
#masthead .request:hover { background: #d80046; }
#masthead .meduzas-booking-mobile { display: none; }
.meduzas-top-header a:focus-visible,
.meduzas-top-header summary:focus-visible,
#masthead a:focus-visible,
#masthead button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (min-width: 981px) and (max-width: 1350px) {
    #masthead.meduzas-header > .ed-container-home { gap: 18px; padding: 0 20px; }
    #masthead .site-logo img { width: 58px; height: 68px; }
    #masthead .site-title { font-size: 24px; }
    #masthead .site-description { font-size: 10px; }
    #masthead #primary-menu { gap: 14px; }
    #masthead #primary-menu > li > a,
    #masthead .request { font-size: 14px; }
    #masthead .request { padding: 10px 14px; }
}
@media (min-width: 981px) and (max-width: 1120px) {
    #masthead .site-description { display: none; }
    #masthead .site-logo img { width: 44px; height: 58px; }
    #masthead .site-title { font-size: 20px; }
    #masthead #primary-menu { gap: 10px; }
    #masthead #primary-menu > li > a,
    #masthead .request { font-size: 12px; }
}
@media (max-width: 980px) {
    .top-header.meduzas-top-header { background: #e1eef7; color: #0b2141; }
    .meduzas-top-header .header-callto { min-height: 38px; padding: 0 20px; gap: 12px; }
    .meduzas-header-languages .wpml-ls ul { gap: 12px; }
    .meduzas-header-languages .wpml-ls a { padding: 8px 0; font-size: 14px; color: #8b939c; }
    .meduzas-header-languages .wpml-ls-current-language a { color: #0b2141; }
    .meduzas-header-phones { display: none; }
    .meduzas-header-phone-dropdown { display: block; position: relative; margin: 0; }
    .meduzas-header-phone-dropdown summary {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 0;
        list-style: none;
        cursor: pointer;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.4;
        white-space: nowrap;
    }
    .meduzas-header-phone-dropdown summary::-webkit-details-marker { display: none; }
    .meduzas-header-phone-dropdown summary img { filter: brightness(0); width: 18px; height: 18px; }
    .meduzas-header-phone-dropdown summary::after {
        content: '';
        width: 7px;
        height: 7px;
        margin-left: 2px;
        border: solid currentColor;
        border-width: 0 2px 2px 0;
        transform: translateY(-2px) rotate(45deg);
    }
    .meduzas-header-phone-dropdown[open] summary::after { transform: translateY(2px) rotate(225deg); }
    .meduzas-header-phone-dropdown > div {
        position: absolute;
        top: 100%;
        right: 0;
        min-width: 220px;
        padding: 8px 16px;
        border-radius: 0 0 12px 12px;
        background: #fff;
        box-shadow: 0 8px 20px rgba(11, 33, 65, .16);
    }
    .meduzas-header-phone-dropdown a { display: block; padding: 10px 0; color: #0b2141; font-size: 16px; }
    #masthead.meduzas-header > .ed-container-home { min-height: 68px; padding: 0 12px; gap: 16px; }
    #masthead .site-branding { padding: 8px 0; gap: 0; margin-right: auto; }
    #masthead .site-logo img { width: 46px; height: 50px; }
    #masthead .site-title { font-size: 18px; }
    #masthead .site-description { display: none; }
    #masthead .callto-right { order: 1; }
    #masthead .request { min-height: 36px; padding: 8px 13px; border-radius: 9px; font-size: 14px; }
    #masthead .meduzas-booking-desktop { display: none; }
    #masthead .meduzas-booking-mobile { display: inline; }
    #masthead #site-navigation { position: static; order: 2; flex: 0 0 auto; width: auto; }
    #masthead .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: auto;
        height: 36px;
        float: none;
        margin: 0;
        padding: 6px 10px;
        border: 1px solid #ff0051;
        border-radius: 8px;
        background: #fff;
        color: #101010;
        box-shadow: none;
        text-shadow: none;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.4;
    }
    .meduzas-menu-grid { display: grid; grid-template-columns: repeat(2, 7px); gap: 3px; }
    .meduzas-menu-grid span { width: 7px; height: 7px; border: 1.5px solid #ff0051; border-radius: 2px; }
    #masthead #site-navigation > div { position: absolute; top: 100%; left: 0; width: 100%; }
    #masthead #primary-menu {
        display: none;
        position: static;
        width: 100%;
        height: auto;
        max-height: calc(100dvh - 110px);
        overflow-y: auto;
        padding: 8px 16px 16px;
        background: #fff;
        transform: none;
        box-shadow: 0 12px 20px rgba(11, 33, 65, .12);
        text-align: left;
    }
    #masthead #site-navigation.toggled #primary-menu { display: block; }
    #masthead #primary-menu > li { border-bottom: 1px solid #edf2f6; }
    #masthead #primary-menu > li > a { padding: 12px 8px; font-size: 16px; }
    #masthead #site-navigation .meduzas-departments-toggle { top: 6px; color: #0b2141; }
}
@media (max-width: 420px) {
    #masthead.meduzas-header > .ed-container-home { gap: 12px; }
    #masthead .site-logo img { width: 42px; }
    #masthead .site-title { font-size: 17px; }
}
@media (max-width: 374px) {
    #masthead.meduzas-header > .ed-container-home { gap: 8px; padding: 0 8px; }
    #masthead .site-logo img { width: 36px; }
    #masthead .site-title { font-size: 15px; }
    #masthead .request { padding: 8px 10px; font-size: 12px; }
    #masthead .menu-toggle { gap: 6px; padding: 6px 8px; font-size: 12px; }
}
