/* Refined masthead. All overrides are contained within the site header. */
.mf-site .mf-header {
    position: relative;
    background: #fffdf7;
    border-bottom: 1px solid #bcc8ad;
    box-shadow: 0 9px 25px -24px rgb(15 54 40 / 55%);
}
.mf-site .mf-header .mf-top {
    background: #153f33;
    border-bottom: 1px solid rgb(224 195 144 / 38%);
    color: #e8eee3;
    font-size: 12px;
    letter-spacing: .035em;
}
.mf-site .mf-header .mf-top > .mf-wrap,
.mf-site .mf-header .mf-navline {
    width: min(100%, 1440px);
    padding-inline: clamp(20px, 2.4vw, 40px);
}
.mf-site .mf-header .mf-top > .mf-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    min-height: 44px;
    padding-block: 0;
}
.mf-site .mf-header .mf-top-description {
    grid-column: auto;
    justify-self: start;
}
.mf-site .mf-header .mf-top-slogan {
    justify-self: center;
    color: #f2dab1;
    font-family: var(--display);
    font-size: 13px;
    font-weight: 550;
    letter-spacing: .035em;
    white-space: nowrap;
}
.mf-site .mf-header .mf-top-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 11px;
    white-space: nowrap;
}
.mf-site .mf-header .mf-top-actions > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #eef2e9;
    text-underline-offset: 4px;
}
.mf-site .mf-header .mf-top-actions > a:hover {
    color: #f1d8aa;
    text-decoration: underline;
}
.mf-site .mf-header .mf-navline {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 96px;
    padding-block: 17px;
}
.mf-site .mf-header .mf-logo {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
}
.mf-site .mf-header .mf-logo img {
    width: 138px;
    height: 60px;
    object-fit: contain;
    object-position: left center;
}
.mf-site .mf-header .mf-menu-toggle {
    display: none;
}
.mf-site .mf-header .mf-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    justify-self: stretch;
    width: auto;
    max-width: 100%;
    min-width: 0;
    order: initial;
    gap: 1px;
    padding: 4px;
    margin: 0;
    border: 1px solid #e1e6d8;
    border-radius: 18px;
    background: #f3f5ee;
    box-shadow: inset 0 1px 0 #fffefb;
}
.mf-site .mf-header .mf-menu > a,
.mf-site .mf-header .mf-navgroup > summary,
.mf-site .mf-header .mf-mobile-callback a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 9px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: #294c3a;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.01em;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.mf-site .mf-header .mf-navgroup > summary::after {
    width: 5px;
    height: 5px;
    margin-left: 7px;
    border-width: 1px;
}
.mf-site .mf-header .mf-menu > a:hover,
.mf-site .mf-header .mf-navgroup > summary:hover,
.mf-site .mf-header .mf-mobile-callback a:hover {
    background: #e3eadc;
    border-color: #d5dfcb;
    color: #163f2f;
}
.mf-site .mf-header .mf-menu > a[aria-current="page"],
.mf-site .mf-header .mf-menu > a.mf-nav-active,
.mf-site .mf-header .mf-navgroup.mf-nav-active > summary,
.mf-site .mf-header .mf-navgroup[open] > summary {
    background: #1d4a37;
    border-color: #1d4a37;
    color: #fffdf7;
    box-shadow: 0 3px 7px -5px rgb(16 52 38 / 55%);
}
.mf-site .mf-header .mf-navgroup ul {
    position: absolute;
    z-index: 20;
    top: calc(100% + 13px);
    left: 0;
    width: max-content;
    min-width: 240px;
    max-width: 310px;
    margin: 0;
    padding: 8px;
    border: 1px solid #cbd5bd;
    border-radius: 18px;
    background: #fffef9;
    box-shadow: 0 20px 45px -23px rgb(17 52 38 / 40%), 0 5px 15px -9px rgb(17 52 38 / 16%);
}
.mf-site .mf-header .mf-navgroup li a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 11px 14px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: #314f3e;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    white-space: normal;
    text-decoration: none;
}
.mf-site .mf-header .mf-navgroup li a:hover,
.mf-site .mf-header .mf-navgroup li a:focus-visible,
.mf-site .mf-header .mf-navgroup li a[aria-current="page"] {
    background: #edf2e6;
    color: #143d2c;
    border-color: #dce5d2;
}
.mf-site .mf-header .mf-mobile-callback {
    display: none;
}
.mf-site .mf-header .mf-header-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    width: auto;
    min-width: 0;
}
.mf-site .mf-header .mf-header-socials {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
}
.mf-site .mf-header .mf-header-social {
    min-width: 44px;
    min-height: 46px;
    padding: 10px;
    gap: 7px;
    border: 1px solid #d6dfc9;
    border-radius: 14px;
    background: #fffef9;
    color: #426447;
    font-size: 13px;
    font-weight: 600;
    box-shadow: inset 0 1px 0 #fff;
}
.mf-site .mf-header .mf-header-social:hover {
    background: #edf2e5;
    border-color: #aabc9a;
    color: #1e4b35;
}
.mf-site .mf-header .mf-header-google_reviews {
    display: inline-flex;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #c4d2e6;
    border-radius: 7px;
    background: #2569ce;
    color: #fff;
    box-shadow: 0 1px 3px rgb(29 57 92 / 15%);
}
.mf-site .mf-header .mf-header-google_reviews:hover {
    background: #205bb3;
    border-color: #8eacd4;
    color: #fff;
}
.mf-site .mf-header .mf-review-mark {
    box-sizing: border-box;
    display: block;
    align-self: stretch;
    width: 48px;
    height: auto;
    min-height: 48px;
    margin: 0;
    padding: 6px;
    object-fit: contain;
    border-radius: 0;
    background: #fff;
}
.mf-site .mf-header .mf-review-copy {
    display: block;
    padding: 6px 9px;
    color: inherit;
    font: 500 12px/1.23 Arial, Helvetica, sans-serif;
    text-align: center;
    text-transform: none;
    letter-spacing: normal;
    white-space: nowrap;
}
.mf-site .mf-header .mf-review-copy strong { font-weight: 700; }
.mf-site .mf-header .mf-navapply {
    min-height: 46px;
    padding: 12px 18px;
    gap: 13px;
    border: 1px solid #c6a267;
    border-radius: 14px;
    background: linear-gradient(110deg, #f3dfb8, #e1c38e);
    color: #193e2e;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 72%), 0 7px 15px -12px rgb(75 55 22 / 50%);
}
.mf-site .mf-header .mf-navapply:hover {
    background: #f1dbad;
    color: #143d2a;
    border-color: #b38e50;
    transform: none;
}
.mf-site .mf-header :is(a, summary, button):focus-visible {
    outline: 3px solid #6b8660;
    outline-offset: 3px;
}
.mf-site .mf-header .mf-top a:focus-visible {
    outline-color: #efd4a3;
}

/* Expanded menus stay in the page flow on smaller screens, including without JS. */
@media (min-width: 1380px) and (max-width: 1440px) {
    .mf-site .mf-header:has(.mf-header-google_reviews):has(.mf-header-facebook):has(.mf-header-instagram) .mf-menu > a,
    .mf-site .mf-header:has(.mf-header-google_reviews):has(.mf-header-facebook):has(.mf-header-instagram) .mf-navgroup > summary {
        padding-inline: 6px;
    }
}
@media (max-width: 1379px) {
    .mf-site .mf-header .mf-navline {
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 14px;
        min-height: 92px;
        padding-block: 16px;
    }
    .mf-site .mf-header .mf-menu {
        grid-column: 1 / -1;
        order: 4;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-self: stretch;
        gap: 4px;
        width: 100%;
        max-width: none;
        padding: 8px;
        margin-top: 2px;
        border-radius: 18px;
    }
    .mf-nav-ready .mf-site .mf-header .mf-menu {
        display: none;
    }
    .mf-nav-ready .mf-site .mf-header .mf-menu.mf-menu-open {
        display: flex;
    }
    .mf-nav-ready .mf-site .mf-header .mf-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-width: 88px;
        min-height: 44px;
        padding: 11px 15px;
        margin: 0;
        border: 1px solid #c9d6bc;
        border-radius: 14px;
        background: #edf2e5;
        color: #264e36;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.35;
        cursor: pointer;
    }
    .mf-site .mf-header .mf-menu-toggle[aria-expanded="true"] {
        background: #214d38;
        border-color: #214d38;
        color: #fffdf7;
    }
    .mf-site .mf-header .mf-menu > a,
    .mf-site .mf-header .mf-navgroup > summary,
    .mf-site .mf-header .mf-mobile-callback a {
        justify-content: space-between;
        padding: 12px 15px;
        min-height: 46px;
        font-size: 14px;
    }
    .mf-site .mf-header .mf-navgroup ul {
        position: static;
        width: 100%;
        min-width: 0;
        max-width: none;
        margin: 6px 0 2px;
        padding: 6px;
        border-radius: 13px;
        border-color: #dce4d2;
        background: #fffef9;
        box-shadow: none;
    }
    .mf-site .mf-header .mf-mobile-callback {
        display: block;
        padding: 4px 0 0;
        border: 0;
        border-top: 1px solid #dce4d3;
    }
}
@media (max-width: 980px) {
    .mf-site .mf-header .mf-top > .mf-wrap {
        grid-template-columns: 1fr auto;
        gap: 0 15px;
        padding-block: 5px;
    }
    .mf-site .mf-header .mf-top-description {
        grid-column: 1 / -1;
        justify-self: center;
        font-size: 10px;
        line-height: 1.5;
    }
    .mf-site .mf-header .mf-top-slogan {
        justify-self: start;
        font-size: 12px;
    }
    .mf-site .mf-header .mf-top-actions {
        gap: 16px;
    }
}
@media (max-width: 680px) {
    .mf-site .mf-header .mf-navline {
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 0;
        gap: 13px 12px;
        padding-block: 13px;
    }
    .mf-site .mf-header .mf-logo {
        min-height: 48px;
    }
    .mf-site .mf-header .mf-logo img {
        width: 120px;
        height: 49px;
    }
    .mf-site .mf-header .mf-menu-toggle {
        justify-self: end;
    }
    .mf-site .mf-header .mf-header-actions {
        grid-column: 1 / -1;
        order: 3;
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
        padding-top: 12px;
        border-top: 1px solid #e0e6d6;
    }
    .mf-site .mf-header .mf-navapply {
        min-height: 44px;
        padding-inline: 14px;
        gap: 10px;
    }
    .mf-site .mf-header .mf-top > .mf-wrap {
        gap: 0 8px;
        padding-block: 4px 0;
    }
    .mf-site .mf-header .mf-top-slogan {
        font-size: 11px;
        letter-spacing: 0;
    }
    .mf-site .mf-header .mf-top-actions {
        gap: 0;
        font-size: 10px;
        letter-spacing: 0;
    }
    .mf-site .mf-header .mf-top-actions > a:first-child:not(:last-child) {
        display: none;
    }
}
@media (max-width: 480px) {
    .mf-site .mf-header .mf-header-socials:has(.mf-header-google_reviews):has(.mf-header-facebook, .mf-header-instagram) {
        display: grid;
        grid-template-columns: 44px auto;
        justify-items: start;
    }
    .mf-site .mf-header .mf-header-socials > .mf-header-google_reviews {
        grid-column: 1 / -1;
    }
    .mf-site .mf-header .mf-header-actions:has(.mf-header-google_reviews) > .mf-navapply {
        align-self: flex-start;
    }
}
@media (max-width: 380px) {
    .mf-site .mf-header .mf-header-actions:has(.mf-header-google_reviews) {
        column-gap: 6px;
    }
    .mf-site .mf-header .mf-header-actions:has(.mf-header-google_reviews) > .mf-navapply {
        gap: 6px;
        padding-inline: 6px;
    }
    .mf-site .mf-header .mf-review-mark {
        width: 40px;
        min-height: 44px;
        padding: 5px;
    }
    .mf-site .mf-header .mf-header-google_reviews .mf-review-copy {
        display: block;
        padding-inline: 6px;
        font-size: 11.5px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .mf-site .mf-header :is(a, summary, button) {
        transition: none;
    }
}
