.path {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 1.5rem;
}

.path-text {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--color-muted);
}

.path-text a {
    color: var(--color-muted);
    text-decoration: none;
}

.path-text a:hover {
    color: var(--color-primary);
}

.path-sep {
    margin: 0 0.35rem;
    color: var(--color-secondary-strong);
}

.path-text [aria-current="page"] {
    color: var(--color-ink);
}

.mobile-nav-open {
    display: none;
    flex: 0 0 2rem;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 0;
    background: var(--color-primary);
    color: #fff;
    cursor: pointer;
}

.mobile-nav-open svg {
    width: 1.1rem;
    height: 1.1rem;
}

/* Hierarchical Navigation Styles */
.nav-group {
    margin-bottom: 0.5rem;
}

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 0.95rem;
    color: var(--color-ink);
    transition: background-color 0.2s;
}

.nav-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.nav-toggle .chevron {
    width: 12px;
    height: 12px;
    transition: transform 0.2s;
}

.nav-toggle[aria-expanded="true"] .chevron {
    transform: rotate(90deg);
}

.nav-sub {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 1rem;
}

.nav-sub li {
    margin: 0;
}

.nav-subgroup {
    margin: 0.25rem 0;
}

.nav-sub-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.4rem 0.6rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 0.9rem;
    color: var(--color-muted);
    transition: background-color 0.2s;
}

.nav-sub-toggle:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.nav-link {
    display: block;
    padding: 0.4rem 0.6rem;
    color: var(--color-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link[aria-current="page"] {
    color: var(--color-primary);
    font-weight: 500;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
    border-color: #dc3545;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

.site-footer {
    background: var(--color-primary);
    color: #e7f1f7;
    margin-top: 4rem;
    padding: 2.75rem var(--content-pad) 1.75rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem 1.5rem;
    width: min(100%, 78rem);
    margin: 0 auto 1.5rem;
}

.footer-col h2 {
    margin: 0 0 0.85rem;
    color: var(--color-secondary);
    font-size: 0.8rem;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li + li {
    margin-top: 0.45rem;
}

.footer-col a {
    color: #dceaf3;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-col a:hover,
.footer-col a:focus-visible {
    color: #fff;
}

.brand-footer {
    width: min(100%, 78rem);
    margin-left: auto;
    margin-right: auto;
    padding-top: 1.35rem;
    border-top: 1px solid color-mix(in srgb, var(--color-secondary) 28%, transparent);
}

.brand-logo {
    display: inline-block;
    height: 42px;
    width: auto;
    margin-bottom: 0.65rem;
}

.brand-email {
    display: inline-block;
    margin-top: 0.35rem;
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 600;
}

.brand-email:hover,
.brand-email:focus-visible {
    color: #fff;
}

@media (max-width: 64rem) {
    .mobile-nav-open {
        display: grid;
    }
}

@media (max-width: 48rem) {
    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 30rem) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
