/* Navigation shared by the service bar and the main header. */
.gd-masthead { display: block; }
.gd-masthead #gd-search[hidden],
.gd-masthead #gd-mobile[hidden],
.gd-masthead #gd-service-links[hidden],
.gd-masthead #gd-services,
.gd-masthead .gd-phone-links { display: none; }
.gd-masthead #gd-search:not([hidden]) { display: block; }
@media (max-width: 1279px) {
    .gd-masthead { display: grid; grid-template-columns: minmax(0,1fr); }
    .gd-masthead .gd-service-bar { grid-row: 1; }
    .gd-masthead .gd-header { grid-row: 2; }
    .gd-masthead .gd-find-row { grid-row: 3; }
    .gd-masthead .gd-service-bar .inner-container {
        display: flex; align-items: center; justify-content: space-between; gap: 6px; padding-block: 0;
    }
    .gd-masthead .gd-service-bar .top-panel-menu { display: none; }
    .gd-masthead #gd-services, .gd-masthead .gd-service-bar .set-mode {
        display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
        color: #fff; font: inherit; font-size: clamp(.75rem, 3.3vw, .875rem); line-height: 1.2;
    }
    .gd-masthead #gd-services { justify-content: end; text-align: end; }
    .gd-masthead #gd-services svg { flex: none; }
    .gd-masthead #gd-services[aria-expanded=true] svg { transform: rotate(180deg); }
    .gd-masthead .gd-header .gd-tool { min-width: 44px; min-height: 44px; }
    .gd-masthead .gd-menu-toggle { white-space: nowrap; }
    .gd-masthead .gd-header > .container > div > .not-prose { padding-block: 10px; }
    .gd-masthead .gd-header .gd-logo { object-fit: contain; }
    .gd-masthead #gd-mobile, .gd-masthead #gd-service-links:not([hidden]) {
        width: var(--gd-width); margin: 0 auto; padding: 6px 0 14px; border-top: 1px solid #cad8e5;
    }
    .gd-masthead .gd-mobile-links, .gd-masthead #gd-service-links:not([hidden]) {
        display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px;
    }
    .gd-masthead .gd-mobile-links li { min-width: 0; }
    .gd-masthead .gd-mobile-links a, .gd-masthead .gd-phone-links a {
        display: flex; align-items: center; gap: 12px; min-height: 48px;
        padding: 10px 12px; margin: 0; color: #153656; font-size: 1rem; font-weight: 600;
        line-height: 1.35; text-decoration: none; overflow-wrap: anywhere;
        border: 0; border-bottom: 1px solid #dce5ee; border-radius: 0; background: #fff;
    }
    .gd-masthead .gd-mobile-links a::after, .gd-masthead .gd-phone-links a::after {
        content: ''; width: 7px; height: 7px; flex: none; margin-left: auto; margin-right: 3px;
        border: solid #53728e; border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg);
    }
    .gd-masthead .gd-phone-links a svg { width: 20px; height: 20px; flex: none; color: #215b90; }
    .gd-masthead .gd-mobile-links a[aria-current=page],
    .gd-masthead .gd-mobile-links .current-menu-item > a {
        background: #ecf3fb; color: #123f70; box-shadow: inset 3px 0 #24659b;
    }
    .gd-masthead .gd-mobile-links a:hover, .gd-masthead .gd-phone-links a:hover { background: #f1f6fa; }
    .gd-masthead :is(a,button,input):focus-visible { outline: 2px solid #3685c1; outline-offset: -2px; }
    .gd-masthead .gd-service-bar :focus-visible { outline-color: #d6eafa; }
}
@media (max-width: 599px) {
    .gd-masthead .gd-mobile-links, .gd-masthead #gd-service-links:not([hidden]) { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 360px) {
    .gd-masthead .gd-service-bar .set-mode svg { width: 20px; }
    .gd-masthead .gd-header .gd-tool { padding-inline: 6px; }
}

