/* Shared branding and footer updates requested in September 2026. */
.topnav .navbar-brand.mass-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto;
    height: 128px;
    padding: 4px 0;
    background: none;
}

.mass-brand img {
    width: 120px;
    height: 120px;
    flex: none;
}

.mass-brand-name {
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.mass-brand:focus-visible,
.section-footer .social-icons a:focus-visible,
.section-copyright a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.section-copyright .copyright-simple-menu span {
    white-space: normal;
}

@media (min-width: 993px) {
    .topnav .navbar-nav {
        margin-top: 25px;
    }

    .topnav ul.nav > li > a {
        padding-right: 12px;
        padding-left: 12px;
    }
}

@media (min-width: 993px) and (max-width: 1199px) {
    .topnav ul.nav > li > a {
        padding-right: 8px;
        padding-left: 8px;
        letter-spacing: 1px;
    }
}

@media (max-width: 992px) {
    .topnav .navbar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .topnav .navbar-brand.mass-brand {
        height: 112px;
    }

    .mass-brand img {
        width: 104px;
        height: 104px;
    }

    .mass-brand-name {
        font-size: 17px;
    }

    .topnav .navbar-header .navbar-toggle {
        order: 2;
        margin: 0;
    }
}

@media (max-width: 360px) {
    .mass-brand-name {
        width: 80px;
        white-space: normal;
    }
}
