/* District masthead: seal, formal wordmark, and restrained seal-gold accents. */
.masthead {
    border-top: 4px solid #d8b35c;
    background: radial-gradient(ellipse at 75% 0%, #123b60 0%, #082844 46%, #041d33 100%);
}
.masthead .brand-row { height: 180px; min-height: 180px; justify-content: flex-start; gap: clamp(48px, 7vw, 112px); padding-top: 14px; padding-bottom: 14px; align-items: center; }
.masthead .brand { gap: 24px; position: relative; flex: 0 1 auto; min-width: 0; height: auto; min-height: 0; padding: 0; background: none; }
.masthead .brand img { width: 128px; height: 128px; flex-shrink: 0; object-fit: contain; border-radius: 0; box-shadow: none; }
.masthead .brand strong {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 38px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.15;
}
.masthead .brand b { font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; line-height: 1.35; margin: 4px 0 0; }
.masthead .brand small { display: inline-block; color: #ebcb85; border-top: 1px solid #d8b35c65; padding-top: 8px; margin-top: 10px; font-size: 13px; text-transform: uppercase; letter-spacing: 2.5px; }
.masthead .brand small .tn-tristar { display: inline-block; width: 16px; height: 16px; margin-left: 10px; vertical-align: middle; object-fit: contain; border-radius: 0; box-shadow: none; }
.masthead-service { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; border-left: 1px solid #ffffff30; padding-left: 30px; font-size: 15px; }
.masthead-service { flex-shrink: 0; padding-left: 20px; }
.masthead-service>span { color: #ebcb85; text-transform: uppercase; letter-spacing: 1.3px; font-size: 12px; }
.masthead-service strong { font-size: 15px; font-weight: 400; }
.masthead-service a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 8px; border: 1px solid #d8b35c; border-radius: 4px; padding: 8px 20px; background: transparent; color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; }
.masthead-service a:hover { background: #183e60; }
.masthead .main-nav { border-top: 1px solid #d8b35c80; box-shadow: inset 0 -1px 0 #ffffff14; }
.masthead .nav-links>a:hover, .masthead .nav-links>li>a:hover { box-shadow: inset 0 -3px 0 #d8b35c; }
@media(max-width:1100px) {
    .masthead-service { display: none; }
    .masthead .brand-row { min-height: 180px; }
    .masthead .brand img { width: 128px; height: 128px; }
    .masthead .brand { min-height: 0; }
}
@media(min-width:761px) and (max-width:950px) {
    .masthead .brand { padding: 0; gap: 20px; }
    .masthead .brand img { width: 96px; height: 96px; }
    .masthead .brand strong { font-size: 29px; }
    .masthead .brand b { font-size: 12px; }
    .masthead .brand small { font-size: 11px; letter-spacing: 1.5px; }
}
@media(max-width:760px) {
    .masthead .brand-row { height: auto; min-height: 148px; gap: 12px; padding-top: 18px; padding-bottom: 18px; position: relative; }
    .masthead .brand { flex: 1 1 100%; gap: 14px; padding: 0; width: 100%; height: auto; min-height: 0; background: none; }
    .masthead .brand img { width: 76px; height: 76px; }
    .masthead .brand strong { font-size: clamp(23px, 5.8vw, 32px); letter-spacing: .5px; }
    .masthead .brand b { font-size: 12px; letter-spacing: .7px; margin-top: 5px; }
    .masthead .brand small { font-size: 11px; letter-spacing: 1px; margin-top: 8px; padding-top: 7px; }
    .masthead .brand small .tn-tristar { width: 13.333px; height: 13.333px; margin-left: 6px; }
    .masthead .brand-row { flex-wrap: wrap; }
    .masthead .menu-toggle { width: 100%; text-align: left; background: #041d33; border-color: #d8b35c65; padding: 10px 14px; }
}



