/* WMT: bounded dropdown columns, including the fixed header. */
@media (min-width: 801px) {
    .header-menu .main-menu__sub {
        box-sizing: border-box;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        columns: 4;
        column-gap: 24px;
    }

    .header-menu .main-menu__item--parent:hover > .main-menu__sub,
    .header-menu .main-menu__item--parent.main-menu__item--open > .main-menu__sub,
    .header-menu .main-menu__item--parent:focus-within > .main-menu__sub {
        display: block;
    }

    .header-menu .main-menu__sub > li {
        width: auto !important;
        max-width: none !important;
        margin: 0 0 16px;
        padding: 0;
        break-inside: avoid;
    }

    .header-menu .main-menu__sub a {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .fixed-menu__wrap {
        position: relative;
    }

    .fixed-menu__menu {
        flex: 1;
        min-width: 0;
        margin-left: 16px;
    }

    .fixed-menu .header-menu {
        position: static;
    }

    .fixed-menu .main-menu {
        width: 100%;
        margin: 0;
        gap: 4px;
    }

    .fixed-menu .main-menu__item {
        min-width: 0;
        margin-right: 0;
    }

    .fixed-menu .main-menu__link {
        white-space: normal;
        text-align: center;
        padding: 0;
    }

    .fixed-menu .main-menu__sub {
        margin: 0;
    }
}

@media (min-width: 801px) and (max-width: 1200px) {
    .header-menu .main-menu__sub {
        columns: 3;
    }

    .fixed-menu__logo {
        flex: 0 0 100px;
    }

    .fixed-menu__logo img {
        width: 100px;
    }

    .fixed-menu .main-menu__link {
        font-size: 14px;
        line-height: 18px;
    }
}

@media (min-width: 801px) and (max-width: 1000px) {
    .header-menu > .main-menu {
        gap: 4px;
    }

    .header-menu > .main-menu > .main-menu__item {
        min-width: 0;
    }

    .header-menu .main-menu__link {
        font-size: 14px;
        line-height: 18px;
        white-space: normal;
        text-align: center;
    }
}

/* Undo desktop inline sizing and hover rules on touch/narrow navigation. */
@media (max-width: 800px) {
    .header-menu .main-menu__sub {
        display: none !important;
        box-sizing: border-box;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        columns: auto;
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .header-menu .main-menu__item--parent.active > .main-menu__sub {
        display: flex !important;
    }

    .header-menu .main-menu__sub li {
        width: 100% !important;
        max-width: none !important;
        min-width: 0;
    }

    .header-menu .main-menu__sub li a {
        box-sizing: border-box;
        height: auto;
        min-height: 30px;
        padding-top: 5px;
        padding-bottom: 5px;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

.wmt-back-to-top {
    --wmt-safe-bottom: env(safe-area-inset-bottom, 0px);
    position: fixed;
    z-index: 12;
    right: 24px;
    bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #25848a;
    border-radius: 50%;
    background: #80c6c9;
    color: #173f42;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
    cursor: pointer;
}

.wmt-back-to-top[hidden] {
    display: none;
}

.wmt-back-to-top:hover {
    background: #66cccc;
}

.wmt-back-to-top:focus-visible {
    outline: 3px solid #173f42;
    outline-offset: 3px;
}

/* Applied only to the compact launcher, never the expanded feedback form. */
#CalltouchWidgetFrame.wmt-feedback-raised {
    bottom: var(--wmt-feedback-bottom) !important;
}
