
/* =========================================================
   VARIABLES
   ========================================================= */

:root {

    --mv-header-ink: #111827;

    --mv-header-muted: #5f6b7e;

    --mv-header-line: #e1e6eb;

    --mv-header-accent: #1267a5;

    --mv-header-accent-dark: #0c4f81;

    --mv-header-soft: #f6f8fa;

    --mv-header-white: #ffffff;
}


/* =========================================================
   HIDE GENERATEPRESS DEFAULT HEADER / NAVIGATION
   ========================================================= */

.site-header,
#site-navigation,
.main-navigation {

    display: none !important;
}


/* =========================================================
   HEADER
   ========================================================= */

.mv-site-header {

    position: relative;

    z-index: 1000;

    width: 100%;

    background: var(--mv-header-white);

    border-bottom: 1px solid var(--mv-header-line);
}


.mv-header-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    width: 100%;

    max-width: 1180px;

    min-height: 82px;

    margin: 0 auto;

    padding: 0 24px;

    box-sizing: border-box;
}


/* =========================================================
   WORDMARK
   ========================================================= */

.mv-wordmark,
.mv-panel-wordmark {

    color: var(--mv-header-ink) !important;

    text-decoration: none !important;

    letter-spacing: -.04em;

    font-weight: 650;
}


.mv-wordmark {

    display: inline-flex;
	
	flex-direction: row-reverse;

    align-items: center;

    gap: 7px;

    white-space: nowrap;

    flex: 0 0 auto;

    margin-right: 32px;

    font-size: 29px;

    line-height: 1;
}


.mv-wordmark:hover,
.mv-panel-wordmark:hover {

    color: var(--mv-header-ink) !important;
}


/* Flag extracted from the user's flat Canadian-flag reference. */
.mv-wordmark .mv-flag-svg,
.mv-mobile-wordmark .mv-flag-svg {
    display: block;
    flex: none;
    width: 32px;
    height: 16px;
    position: relative;
    top: 3px;
}

.mv-wordmark .mv-brand-text,
.mv-mobile-wordmark .mv-brand-text {
    display: block;
}

/* =========================================================
   DESKTOP NAVIGATION
   ========================================================= */

.mv-desktop-nav {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 21px;

    min-width: 0;

    margin-left: auto;
}


.mv-nav-link {

    position: relative;

    display: inline-flex;

    align-items: center;

    min-height: 82px;

    color: var(--mv-header-ink) !important;

    font-size: 13.5px;

    line-height: 1;

    font-weight: 520;

    white-space: nowrap;

    text-decoration: none !important;

    transition: color .16s ease;
}


.mv-nav-link:hover {

    color: var(--mv-header-accent) !important;
}


.mv-nav-link.is-current {

    color: var(--mv-header-accent) !important;
}


.mv-nav-link.is-current::after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    height: 2px;

    background: var(--mv-header-accent);
}


/* =========================================================
   SUBSCRIBE DESKTOP
   ========================================================= */

.mv-subscribe-link,
.mv-subscribe-link:link,
.mv-subscribe-link:visited {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 36px;

    padding: 0 13px;

    border: 1px solid #cad1d9;

    border-radius: 3px;

    background: #ffffff !important;

    color: var(--mv-header-ink) !important;

    font-size: 13px;

    line-height: 1;

    font-weight: 620;

    text-decoration: none !important;

    white-space: nowrap;
}


.mv-subscribe-link:hover {

    border-color: var(--mv-header-accent);

    background: #ffffff !important;

    color: var(--mv-header-accent) !important;
}


/* =========================================================
   BUTTON RESET
   ========================================================= */

.mv-site-header button,
.mv-site-header button:hover,
.mv-site-header button:focus,
.mv-site-header button:active,

.mv-menu-panel button,
.mv-menu-panel button:hover,
.mv-menu-panel button:focus,
.mv-menu-panel button:active,

.mv-search-panel .mv-panel-close,
.mv-search-panel .mv-panel-close:hover,
.mv-search-panel .mv-panel-close:focus,
.mv-search-panel .mv-panel-close:active {

    background: transparent !important;

    background-color: transparent !important;

    box-shadow: none !important;

    border-color: transparent !important;
}


/* =========================================================
   SEARCH ICON
   ========================================================= */

.mv-header-search-button,
.mv-mobile-search-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 38px;

    height: 38px;

    padding: 0;

    border: 0 !important;

    border-radius: 0;

    background: transparent !important;

    color: var(--mv-header-ink) !important;

    cursor: pointer;
}


.mv-header-search-button svg,
.mv-mobile-search-button svg {

    display: block;

    width: 23px;

    height: 23px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;

    stroke-linejoin: round;
}


.mv-header-search-button:hover,
.mv-header-search-button:focus,

.mv-mobile-search-button:hover,
.mv-mobile-search-button:focus {

    background: transparent !important;

    color: var(--mv-header-accent) !important;
}


/* =========================================================
   MOBILE / TABLET NAVIGATION
   ========================================================= */

.mv-mobile-nav {

    position: relative;

    display: none;

    align-items: center;

    justify-content: space-between;

    width: 100%;

    min-width: 0;
}


/* MOBILE / TABLET BRAND */

.mv-mobile-wordmark,
.mv-mobile-wordmark:link,
.mv-mobile-wordmark:visited {

    display: none;

    position: absolute;

    left: 50%;

    top: 50%;

    transform: translate(-50%, -50%);

    margin: 0;

    padding: 8px 10px;

    color: var(--mv-header-ink) !important;

    font-size: 20px;

    line-height: 1;

    font-weight: 700;

    letter-spacing: -.035em;

    text-decoration: none !important;

    white-space: nowrap;

    gap: 6px;

    z-index: 2;
}


.mv-mobile-wordmark:hover,
.mv-mobile-wordmark:focus {

    color: var(--mv-header-accent) !important;

    text-decoration: none !important;
}


/* MENU */

.mv-mobile-menu-button {

    position: relative;

    z-index: 3;

    display: inline-flex;

    align-items: center;

    gap: 12px;

    flex: 0 0 auto;

    padding: 0;

    border: 0 !important;

    background: transparent !important;

    color: var(--mv-header-ink) !important;

    cursor: pointer;
}


.mv-mobile-menu-button:hover,
.mv-mobile-menu-button:focus {

    background: transparent !important;

    color: var(--mv-header-ink) !important;
}


.mv-mobile-menu-text {

    font-size: 16px;

    line-height: 1;

    font-weight: 500;
}


/* HAMBURGER */

.mv-hamburger {

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 5px;

    width: 25px;

    height: 25px;
}


.mv-hamburger span {

    display: block;

    width: 25px;

    height: 2px;

    border-radius: 2px;

    background: var(--mv-header-ink);
}



/* =========================================================
   PANELS
   ========================================================= */

.mv-menu-panel,
.mv-search-panel {

    position: fixed;

    inset: 0;

    z-index: 999999;

    visibility: hidden;

    opacity: 0;

    pointer-events: none;

    transition:
        opacity .20s ease,
        visibility .20s ease;
}


.mv-menu-panel.is-open,
.mv-search-panel.is-open {

    visibility: visible;

    opacity: 1;

    pointer-events: auto;
}


.mv-panel-backdrop,
.mv-search-backdrop {

    position: absolute;

    inset: 0;

    background: rgba(17, 24, 39, .45);
}


/* =========================================================
   MOBILE MENU PANEL
   ========================================================= */

.mv-menu-panel-inner {

    position: relative;

    z-index: 2;

    width: min(470px, 90vw);

    height: 100%;

    padding: 29px 29px 35px;

    overflow-y: auto;

    background: #ffffff;

    box-shadow:
        18px 0 60px
        rgba(17, 24, 39, .15);

    transform: translateX(-100%);

    transition: transform .25s ease;

    box-sizing: border-box;
}


.mv-menu-panel.is-open
.mv-menu-panel-inner {

    transform: translateX(0);
}


/* =========================================================
   PANEL TOP
   ========================================================= */

.mv-panel-top,
.mv-search-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding-bottom: 23px;

    border-bottom: 1px solid var(--mv-header-line);
}


.mv-panel-wordmark {

    font-size: 27px;

    line-height: 1;
}


.mv-panel-close {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 38px;

    height: 38px;

    padding: 0;

    border: 0 !important;

    background: transparent !important;

    color: #475467 !important;

    font-size: 31px;

    line-height: 1;

    font-weight: 300;

    cursor: pointer;
}


.mv-panel-close:hover {

    background: transparent !important;

    color: var(--mv-header-ink) !important;
}


/* =========================================================
   MOBILE MENU LINKS
   ========================================================= */

.mv-mobile-menu-links {

    margin-top: 15px;
}


.mv-mobile-menu-links a {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    padding: 17px 0;

    border-bottom: 1px solid var(--mv-header-line);

    color: var(--mv-header-ink) !important;

    font-size: 19px;

    line-height: 1.3;

    font-weight: 590;

    letter-spacing: -.018em;

    text-decoration: none !important;
}


.mv-mobile-menu-links a:hover {

    color: var(--mv-header-accent) !important;
}


.mv-mobile-menu-arrow {

    flex: 0 0 auto;

    color: var(--mv-header-accent);

    font-size: 17px;

    transition: transform .16s ease;
}


.mv-mobile-menu-links a:hover
.mv-mobile-menu-arrow {

    transform: translateX(4px);
}


/* =========================================================
   MOBILE MENU NEWSLETTER
   ========================================================= */

.mv-mobile-menu-subscribe {

    margin-top: 36px;

    padding: 23px;

    border: 1px solid var(--mv-header-line);

    background: var(--mv-header-soft);
}


.mv-menu-subscribe-label {

    margin-bottom: 12px;

    font-size: 10.5px;

    line-height: 1.3;

    font-weight: 700;

    letter-spacing: .12em;

    color: var(--mv-header-accent);
}


.mv-menu-subscribe-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 22px;
}


.mv-menu-subscribe-row strong {

    display: block;

    margin-bottom: 4px;

    font-size: 17px;

    color: var(--mv-header-ink);
}


.mv-menu-subscribe-row p {

    max-width: 230px;

    margin: 0;

    font-size: 12px;

    line-height: 1.5;

    color: var(--mv-header-muted);
}


.mv-menu-subscribe-row > a,
.mv-menu-subscribe-row > a:link,
.mv-menu-subscribe-row > a:visited {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 40px;

    padding: 0 14px;

    border-radius: 3px;

    background: var(--mv-header-ink) !important;

    color: #ffffff !important;

    font-size: 12.5px;

    font-weight: 650;

    text-decoration: none !important;
}


.mv-menu-subscribe-row > a:hover {

    background: var(--mv-header-accent-dark) !important;

    color: #ffffff !important;
}


/* =========================================================
   SEARCH PANEL
   ========================================================= */

.mv-search-panel {

    display: flex;

    align-items: flex-start;

    justify-content: center;
}


.mv-search-panel-inner {

    position: relative;

    z-index: 2;

    width: 100%;

    padding:
        28px
        max(
            24px,
            calc((100vw - 1180px) / 2 + 24px)
        )
        37px;

    background: #ffffff;

    box-shadow:
        0 14px 45px
        rgba(17, 24, 39, .12);

    transform: translateY(-100%);

    transition: transform .25s ease;

    box-sizing: border-box;
}


.mv-search-panel.is-open
.mv-search-panel-inner {

    transform: translateY(0);
}


.mv-search-label {

    font-size: 12px;

    line-height: 1.3;

    font-weight: 700;

    letter-spacing: .12em;

    text-transform: uppercase;

    color: var(--mv-header-accent);
}


.mv-search-form {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    gap: 10px;

    max-width: 820px;

    margin-top: 25px;
}


.mv-search-form input[type="search"] {

    width: 100%;

    height: 54px;

    padding: 0 17px;

    border: 1px solid #c7ced6;

    border-radius: 3px;

    background: #ffffff;

    color: var(--mv-header-ink);

    font-size: 16px;

    box-sizing: border-box;

    box-shadow: none;
}


.mv-search-form input[type="search"]:focus {

    border-color: var(--mv-header-accent);

    outline: 2px solid rgba(18, 103, 165, .15);

    outline-offset: 0;
}


.mv-search-form button,
.mv-search-form button:hover,
.mv-search-form button:focus {

    min-width: 110px;

    height: 54px;

    padding: 0 21px;

    border: 1px solid var(--mv-header-ink) !important;

    border-radius: 3px;

    background: var(--mv-header-ink) !important;

    color: #ffffff !important;

    font-size: 14px;

    font-weight: 650;

    cursor: pointer;
}


.mv-search-form button:hover {

    border-color: var(--mv-header-accent-dark) !important;

    background: var(--mv-header-accent-dark) !important;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.screen-reader-text {

    position: absolute !important;

    width: 1px;

    height: 1px;

    padding: 0;

    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;
}


/* =========================================================
   MOBILE / TABLET: BRAND LEFT, MENU RIGHT
   Search is available in the header and inside the open mobile menu.
   ========================================================= */
@media (max-width: 1250px) {
    /* The thin rule below the mobile/tablet header spans 85%, centered. */
    .mv-site-header { border-bottom: 0; }
    .mv-site-header::after {
        content: "";
        display: block;
        position: absolute;
        bottom: 0;
        left: 2.5%;
        width: 95%;
        height: 1px;
        background: var(--mv-header-line);
        pointer-events: none;
    }
    .mv-mobile-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0;
        direction: ltr;
    }

    .mv-mobile-wordmark,
    .mv-mobile-wordmark:link,
    .mv-mobile-wordmark:visited {
        position: static;
        transform: none;
        left: auto;
        top: auto;
        order: 1;
        flex: 0 0 auto;
        flex-direction: row;
        padding: 0;
        gap: 6px;
        margin: 0;
    }

    .mv-mobile-wordmark .mv-brand-text { order: 1; }
    .mv-mobile-wordmark .mv-flag-svg { order: 2; top: 0; }

    

    
    

    .mv-mobile-menu-button {
        order: 3;
        margin-left: 7px;
        gap: 6px;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .mv-mobile-menu-text { display: inline !important; }

    

    
}

/* 85%-width centered dividers in the slide-out navigation. */
@media (max-width: 1250px) {
    .mv-mobile-menu-links a {
        position: relative;
        border-bottom: 0;
    }
    .mv-mobile-menu-links a::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 7.5%;
        width: 85%;
        height: 1px;
        background: var(--mv-header-line);
        pointer-events: none;
    }
}

.mv-panel-wordmark {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
}
.mv-panel-wordmark .mv-flag-svg {
    width: 32px;
    height: 16px;
    display: block;
    flex: none;
}

/* =========================================================
   DESKTOP TOOLS DROPDOWN
   ========================================================= */
.mv-tools-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}
.mv-site-header .mv-tools-trigger,
.mv-site-header .mv-tools-trigger:hover,
.mv-site-header .mv-tools-trigger:focus {
    display: inline-flex;
    gap: 5px;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 520;
    cursor: pointer;
    padding: 0;
    border: 0 !important;
    color: var(--mv-header-ink) !important;
    background: transparent !important;
}
.mv-site-header .mv-tools-trigger:hover,
.mv-site-header .mv-tools-trigger[aria-expanded="true"] {
    color: var(--mv-header-accent) !important;
}
.mv-tools-trigger svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.mv-tools-list {
    position: absolute;
    top: calc(100% - 8px);
    right: -18px;
    width: 292px;
    padding: 16px 10px 10px;
    border: 1px solid var(--mv-header-line);
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(17, 24, 39, .13);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(5px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
    z-index: 1005;
}
.mv-tools-dropdown:hover .mv-tools-list,
.mv-tools-dropdown:focus-within .mv-tools-list,
.mv-tools-dropdown.is-open .mv-tools-list {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.mv-tools-eyebrow {
    display: block;
    padding: 2px 10px 9px;
    font-size: 10px;
    font-weight: 700;
    color: var(--mv-header-muted);
    letter-spacing: .11em;
}
.mv-tools-list a {
    display: block;
    padding: 10px;
    border-radius: 4px;
    color: var(--mv-header-ink) !important;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 550;
    text-decoration: none !important;
}
.mv-tools-list a:hover,
.mv-tools-list a:focus-visible {
    background: var(--mv-header-soft);
    color: var(--mv-header-accent) !important;
}

/* Guides dropdown uses exactly the Tools design, with a subtle final link. */
.mv-tools-list .mv-guides-all-link,
.mv-mobile-tools-list .mv-guides-all-link {
    border-top: 1px solid var(--mv-header-line) !important;
    margin-top: 6px;
    padding-top: 13px;
    color: var(--mv-header-accent) !important;
    font-weight: 650;
}

/* =========================================================
   MOBILE / TABLET TOOLS ACCORDION
   ========================================================= */
.mv-mobile-tools { border: 0; margin: 0; }
.mv-mobile-tools summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 17px 0;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 590;
    letter-spacing: -.018em;
    color: var(--mv-header-ink);
    cursor: pointer;
    list-style: none;
}
.mv-mobile-tools summary::-webkit-details-marker { display: none; }
.mv-mobile-tools summary::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 7.5%;
    width: 85%;
    height: 1px;
    background: var(--mv-header-line);
}
.mv-mobile-tools summary:hover { color: var(--mv-header-accent); }
.mv-mobile-tools-chevron {
    font-size: 22px;
    line-height: 1;
    color: var(--mv-header-accent);
    transition: transform .18s ease;
}
.mv-mobile-tools[open] .mv-mobile-tools-chevron { transform: rotate(180deg); }
.mv-mobile-tools-list {
    padding: 12px 0 14px 13px;
    border-bottom: 1px solid var(--mv-header-line);
}
.mv-mobile-tools-list .mv-tools-eyebrow { padding: 4px 0 7px; }
.mv-mobile-menu-links .mv-mobile-tools-list a {
    display: block;
    padding: 10px 0;
    border: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0;
}
.mv-mobile-menu-links .mv-mobile-tools-list a::after { display: none; }
@media (max-width: 620px) {
    .mv-mobile-tools summary { padding: 16px 0; font-size: 18px; }
}

/* =========================================================
   DESKTOP FIT
   ========================================================= */

@media (max-width: 1180px) {


    .mv-desktop-nav {

        gap: 16px;
    }


    .mv-nav-link {

        font-size: 12.5px;
    }


    .mv-wordmark {

        margin-right: 20px;

        font-size: 27px;
    }

}


/* =========================================================
   TABLET / MOBILE HEADER
   ========================================================= */

@media (max-width: 1250px) {


    .mv-header-inner {

        min-height: 76px;
    }


    .mv-wordmark,
    .mv-desktop-nav {

        display: none;
    }


    .mv-mobile-nav {

        display: flex;
    }


    .mv-mobile-wordmark,
    .mv-mobile-wordmark:link,
    .mv-mobile-wordmark:visited {

        display: inline-flex;

        align-items: center;

        justify-content: center;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 620px) {


    .mv-header-inner {

        min-height: 72px;

        padding: 0 19px;
    }


    .mv-mobile-wordmark .mv-flag-svg {
        width: 32px;
        height: 16px;
    }

    .mv-mobile-wordmark {
        font-size: 18px;
        padding: 0;
    }


    


    


    .mv-mobile-search-button {

        width: 36px;

        height: 36px;
    }


    .mv-mobile-search-button svg {

        width: 22px;

        height: 22px;
    }


    .mv-menu-panel-inner {

        width: 91vw;

        padding: 25px 22px 31px;
    }


    .mv-mobile-menu-links a {

        padding: 16px 0;

        font-size: 18px;
    }


    .mv-mobile-menu-subscribe {

        margin-top: 30px;

        padding: 20px;
    }


    .mv-menu-subscribe-row {

        align-items: flex-start;

        flex-direction: column;

        gap: 14px;
    }


    .mv-menu-subscribe-row > a {

        min-width: 110px;
    }


    .mv-search-panel-inner {

        padding: 24px 19px 29px;
    }


    .mv-search-form {

        grid-template-columns: 1fr;
    }


    .mv-search-form button {

        width: 100%;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {
    .mv-header-inner { padding-left: 12px; padding-right: 12px; }
    .mv-mobile-wordmark { font-size: 16px; gap: 4px; }
    .mv-mobile-wordmark .mv-flag-svg { width: 26px; height: 13px; }
    
    .mv-mobile-menu-button { margin-left: 3px; gap: 4px; }
    .mv-mobile-menu-text { display: inline !important; font-size: 13px; }
    .mv-hamburger, .mv-hamburger span { width: 19px; }
    .mv-hamburger { gap: 4px; }
    
    .mv-mobile-search-button { width: 29px; height: 32px; }
    .mv-mobile-search-button svg { width: 19px; height: 19px; }
}

@media (max-width: 350px) {
    .mv-header-inner { padding-left: 8px; padding-right: 8px; }
    .mv-mobile-wordmark { font-size: 14px; gap: 3px; }
    .mv-mobile-wordmark .mv-flag-svg { width: 22px; height: 11px; }
    .mv-mobile-menu-text { font-size: 12px; }
    
    .mv-mobile-search-button { width: 25px; }
    .mv-mobile-menu-button { margin-left: 2px; gap: 3px; }
    .mv-hamburger, .mv-hamburger span { width: 17px; }
}


/* =========================================================
   FINAL MOBILE/TABLET LAYOUT
   Header: Maplevisa + flag at left; Menu and Search at right.
   Search is available in the header and inside the open menu.
   ========================================================= */
@media (max-width: 1250px) {
    .mv-mobile-nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        direction: ltr;
    }
    .mv-mobile-wordmark,
    .mv-mobile-wordmark:link,
    .mv-mobile-wordmark:visited {
        order: 1;
        display: inline-flex;
        flex: 0 1 auto;
        white-space: nowrap;
        min-width: 0;
        align-items: center;
    }
    .mv-mobile-menu-button {
        order: 2;
        margin-left: auto;
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
    }
    .mv-mobile-menu-text { display: inline !important; }
    .mv-site-header::after { left: 2.5%; width: 95%; }
    .mv-panel-top { gap: 10px; }
    .mv-panel-wordmark { flex: 0 1 auto; min-width: 0; }
    .mv-panel-search-button {
        display: inline-flex;
        flex: 0 0 auto;
        margin-left: 4px;
        color: #10283e !important;
    }
    .mv-panel-close { margin-left: auto; flex: 0 0 auto; }
    .mv-menu-subscribe-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }
    .mv-menu-subscribe-row p {
        max-width: none;
        white-space: nowrap;
        font-size: 11.5px;
        letter-spacing: -.015em;
    }
}
@media (max-width: 370px) {
    .mv-mobile-menu-text { display: inline !important; }
    .mv-menu-subscribe-row p { font-size: 10.5px; }
    .mv-panel-wordmark { font-size: 23px; }
    .mv-panel-wordmark .mv-flag-svg { width: 26px; height: 13px; }
}


/* Final header sizing and accessible desktop search. */
@media (min-width: 1251px) {
    .mv-header-inner { max-width: 1180px; }
    .mv-wordmark { margin-right: 20px; }
    .mv-desktop-nav { gap: 14px; }
    .mv-site-header .mv-header-search-button {
        display: inline-flex !important;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        visibility: visible;
        opacity: 1;
    }
    .mv-subscribe-link { flex: 0 0 auto; min-height: 44px; }
}
@media (max-width: 1250px) {
    .mv-mobile-wordmark,
    .mv-mobile-wordmark:link,
    .mv-mobile-wordmark:visited { font-size: 23px; }
}
@media (max-width: 620px) {
    .mv-mobile-wordmark,
    .mv-mobile-wordmark:link,
    .mv-mobile-wordmark:visited { font-size: 21px; }
}
@media (max-width: 430px) {
    .mv-mobile-wordmark,
    .mv-mobile-wordmark:link,
    .mv-mobile-wordmark:visited { font-size: 20px; }
}
@media (max-width: 350px) {
    .mv-mobile-wordmark,
    .mv-mobile-wordmark:link,
    .mv-mobile-wordmark:visited { font-size: 18px; }
}
.mv-site-header .mv-mobile-header-search:focus-visible,
.mv-site-header .mv-header-search-button:focus-visible,
.mv-site-header .mv-mobile-menu-button:focus-visible,
.mv-menu-panel .mv-panel-search-button:focus-visible {
    outline: 2px solid var(--mv-header-accent);
    outline-offset: 3px;
}

/* Mobile header: wordmark | Search | Menu */
@media (max-width: 1250px) {
    .mv-mobile-nav { gap: 8px; justify-content: flex-start; }
    .mv-mobile-wordmark, .mv-mobile-wordmark:link, .mv-mobile-wordmark:visited { order: 1; margin-left: 0; }
    .mv-site-header .mv-mobile-header-search {
        order: 2;
        display: inline-flex;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        margin: 0 0 0 auto;
    }
    .mv-mobile-menu-button { order: 3; margin-left: 0; min-height: 44px; }
}
@media (max-width: 430px) {
    .mv-mobile-nav { gap: 4px; }
    .mv-site-header .mv-mobile-header-search svg { width: 20px; height: 20px; }
}
@media (max-width: 350px) {
    .mv-mobile-nav { gap: 2px; }
}

