.network-page {
    --ink:#102f29;
    --gold:#d99105;
    --green:#087b51;
    background:#faf9f5;
    color:#172c28;
    padding:48px 0 64px;
}

.network-page .container {
    max-width:1240px;
}

.network-kicker {
    color:#84600c;
    display:block;
    font-size:.76rem;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
    margin-bottom:12px;
}

.network-page h1 {
    font-size:clamp(2.1rem,4.5vw,4rem);
    font-weight:850;
    letter-spacing:-.035em;
    line-height:1.08;
    max-width:960px;
    margin:0 0 20px;
}

.network-page h2 {
    font-size:clamp(1.5rem,2.6vw,2.1rem);
    font-weight:800;
    margin:0 0 16px;
}

.network-page h3 {
    font-size:1.2rem;
    font-weight:750;
}

.network-intro {
    max-width:780px;
    font-size:1.12rem;
    line-height:1.65;
    color:#56645e;
    margin-bottom:28px;
}

.network-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
    margin:28px 0;
}

.network-grid.two {
    grid-template-columns:repeat(2,minmax(0,1fr));
}

.network-card {
    background:white;
    border:1px solid #e2e6df;
    border-radius:14px;
    padding:28px;
    min-width:0;
}

.network-card p {
    color:#56645e;
    line-height:1.65;
}

.network-card ul {
    padding-left:20px;
    line-height:1.9;
}

.network-card .network-icon {
    display:grid;
    place-items:center;
    width:48px;
    height:48px;
    background:#f9efd9;
    color:#9e6900;
    border-radius:12px;
    font-size:1.2rem;
    margin-bottom:20px;
}

.network-actions {
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    align-items:center;
    margin-top:24px;
}

.network-button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    background:#087b51;
    color:white;
    text-decoration:none;
    border:1px solid #087b51;
    border-radius:7px;
    font-weight:700;
    padding:12px 20px;
    line-height:1.4;
}

.network-button:hover {
    background:#075f40;
    color:white;
}

.network-button.secondary {
    background:transparent;
    color:#12573e;
    border-color:#b8cbbf;
}

.network-button.gold {
    background:#d99105;
    border-color:#d99105;
    color:#102f29;
}

.network-note {
    padding:18px 22px;
    border-left:3px solid #d99105;
    background:#fff5df;
    color:#564628;
    line-height:1.65;
    margin:24px 0;
}

.network-tabs {
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin:24px 0;
}

.network-tabs a {
    border:1px solid #d2dcd4;
    border-radius:30px;
    color:#335d4a;
    text-decoration:none;
    padding:9px 16px;
}

.network-tabs a.active {
    background:#102f29;
    color:#fff;
    border-color:#102f29;
}

.network-form {
    max-width:850px;
}

.network-form label,.directory-search label {
    font-weight:650;
    display:block;
    margin-bottom:6px;
}

.network-form .form-control,.network-form .form-select,.directory-search .form-control,.directory-search .form-select {
    min-height:45px;
    border-color:#ced8cf;
}

.network-form textarea.form-control {
    min-height:110px;
}

.network-form .form-check-label {
    font-weight:400;
}

.network-form .form-check-input {
    margin-top:.35em;
}

.network-form fieldset {
    border:1px solid #dce4dc;
    border-radius:10px;
    padding:24px;
    margin:24px 0;
}

.network-form legend {
    float:none;
    font-size:1.1rem;
    font-weight:750;
    width:auto;
    padding:0 8px;
}

.network-form .form-check {
    margin:18px 0;
}

.directory-search {
    background:#fff;
    border:1px solid #dce4dc;
    border-radius:12px;
    padding:24px;
    margin:24px 0;
}

.member-portrait {
    width:82px;
    height:82px;
    object-fit:cover;
    border-radius:50%;
    margin-bottom:16px;
}

.member-initial {
    display:grid;
    place-items:center;
    background:#e9f3eb;
    color:#087b51;
    font-size:1.8rem;
    font-weight:800;
}

.network-badge {
    display:inline-block;
    padding:4px 10px;
    background:#f6edda;
    color:#7a5715;
    border-radius:20px;
    font-size:.8rem;
    margin-bottom:12px;
}

.network-meta {
    color:#5c6b62;
    font-size:.9rem;
}

.home-member-section {
    padding:55px 0;
    background:#f3f5f0;
}

.home-member-section h2 {
    font-weight:800;
    color:#102f29;
}

.network-card a:not(.network-button) {
    color:#087b51;
}

.network-detail {
    white-space:pre-line;
    overflow-wrap:anywhere;
}

.network-page .pagination {
    margin-top:24px;
}

.privacy-copy {
    max-width:850px;
    line-height:1.85;
}

.privacy-copy h2 {
    margin-top:32px;
    font-size:1.3rem;
}

@media(max-width:991.98px) {
    .network-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:575.98px) {
    .network-page {
        padding:30px 0 44px;
    }
    .network-grid,.network-grid.two {
        grid-template-columns:1fr;
        gap:16px;
    }
    .network-card {
        padding:22px;
    }
    .network-form fieldset {
        padding:18px 14px;
    }
    .directory-search {
        padding:18px;
    }
    .network-actions .network-button {
        width:100%;
    }
}

@media(prefers-reduced-motion:reduce) {
    .network-page * {
        scroll-behavior:auto!important;
    }
}

[hidden] {
    display:none!important;
}

[data-filter-region][aria-busy="true"] {
    cursor:progress;
}

.filter-feedback:not(.visually-hidden) {
    max-width:1140px;
    margin:16px auto;
}

/* Match the original header typography and white dropdown panels. */
.site-header .mega-menu {
    padding:14px 22px;
    margin:0;
    border:0;
    border-radius:10px;
    background:#fff;
    box-shadow:0 16px 36px rgba(0,0,0,.14);
}

.mega-links {
    list-style:none;
    margin:0;
    padding:0;
}

.mega-menu-links,
.mega-menu-links-two {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:0;
}

.site-header .mega-link {
    display:grid;
    grid-template-columns:22px minmax(0,1fr);
    align-items:center;
    gap:10px;
    padding:12px 0;
    margin:0;
    width:100%;
    border-radius:0;
    color:#151922;
    font-family:var(--site-font);
    font-size:clamp(.88rem,.95vw,1rem);
    font-weight:700;
    line-height:1.5;
    white-space:normal;
    overflow-wrap:anywhere;
}

.mega-icon {
    display:flex;
    align-items:center;
    justify-content:center;
    width:22px;
    height:22px;
    background:transparent;
    color:#151922;
    font-size:1rem;
}

.mega-icon > i,
.mega-icon > svg {
    width:20px;
    height:20px;
    text-align:center;
}

.site-header .mega-link:hover,
.site-header .mega-link:focus {
    color:#d99105;
    background:transparent;
}

.site-header .mega-link-accent {
    color:#151922;
    font-weight:700;
}

.site-header .mega-link-accent .mega-icon {
    color:#151922;
    background:transparent;
}

.site-header .mega-link-support {
    background:transparent;
    color:#a31c3b;
    font-weight:700;
}

.site-header .mega-link-support .mega-icon {
    background:transparent;
    color:#000;
    font-size:.95rem;
}

.site-header .mega-link-support:hover,
.site-header .mega-link-support:focus {
    background:transparent;
    color:#86132e;
}

.site-header .mega-link.active {
    color:#9a6200;
    background:transparent;
}

.site-header .mega-link.active .mega-icon {
    color:#151922;
    background:transparent;
}

.site-header .mega-link-support.active .mega-icon {
    background:transparent;
}

.site-header a:focus-visible {
    outline:2px solid #087b51;
    outline-offset:3px;
}

.site-header .service-navigation > .nav-item > .nav-link:focus-visible {
    outline:none;
    box-shadow:none;
    text-decoration:none;
}

@media(min-width:992px) {
    body,
    body.home-page-body {
        padding-top:160px;
    }
    .site-header .header-mainbar {
        min-height:116px;
    }
    .site-header .header-mainbar > .container-fluid {
        position:relative;
        display:grid;
        grid-template-columns:auto minmax(0,1fr);
        grid-template-rows:72px 44px;
    }
    .site-header .navbar-brand {
        grid-column:1;
        grid-row:1;
        flex:0 0 auto;
        gap:12px;
        margin-right:24px;
    }
    .site-header .brand-subtitle {
        display:flex;
        flex:0 0 auto;
        font-size:clamp(.72rem,.86vw,.84rem);
        line-height:1.32;
        margin-left:0;
    }
    .site-header .brand-divider {
        display:block;
        flex:0 0 1px;
        height:44px;
        margin:0;
    }
    .site-header .brand-name {
        font-size:clamp(1.8rem,2.2vw,2.4rem);
    }
    .site-header .logo-img {
        height:56px;
    }
    .site-header .navbar-nav {
        gap:4px;
    }
    .site-header .navbar-collapse {
        display:contents!important;
    }
    .site-header .service-navigation {
        grid-column:1 / -1;
        grid-row:2;
        justify-content:center;
        gap:clamp(2px,1vw,16px);
        width:100%;
        height:44px;
        margin:0!important;
        border-top:1px solid #e8eeea;
    }
    .site-header .service-navigation > .mega-dropdown {
        position:relative;
    }
    .site-header .service-navigation > .nav-item > .nav-link {
        padding:10px 8px;
        color:#575757;
        font-family:var(--site-font);
        font-size:clamp(.88rem,.95vw,1rem);
        font-weight:700;
        line-height:22px;
    }
    .site-header .service-navigation > .nav-item > .nav-link:hover,
    .site-header .service-navigation > .nav-item > .nav-link:focus,
    .site-header .service-navigation > .nav-item > .nav-link.active,
    .site-header .service-navigation > .nav-item > .nav-link.show {
        color:#151922;
        background:transparent;
    }
    .site-header .nav-link.active::after,
    .site-header .nav-item.dropdown.show > .nav-link::after,
    .site-header .nav-item.dropdown:hover > .nav-link::after {
        bottom:4px;
    }
    .site-header .mega-menu {
        top:100%;
        left:0;
        right:auto;
        width:max-content;
        min-width:280px;
        max-width:calc(100vw - 36px);
        margin:0;
        max-height:calc(100dvh - 178px);
        overflow-y:auto;
    }
    .site-header #resourcesMenu + .mega-menu,
    .site-header #eventsMenu + .mega-menu,
    .site-header #partnershipsMenu + .mega-menu {
        left:auto;
        right:0;
    }
    .site-header .mega-dropdown:hover > .mega-menu:not(.show) {
        display:none;
    }
    .site-header .mega-dropdown:has(> .dropdown-toggle.show)::before {
        content:'';
        position:absolute;
        top:calc(100% - 8px);
        left:50%;
        width:16px;
        height:16px;
        background:#fff;
        transform:translateX(-50%) rotate(45deg);
        z-index:1001;
        pointer-events:none;
    }
    .site-header .desktop-account-nav {
        grid-column:2;
        grid-row:1;
        justify-self:end;
        flex-shrink:0;
        gap:14px;
        margin:0!important;
    }
    .site-header .member-cta {
        font-size:.9rem;
        padding:10px 14px;
    }
    .site-header .navbar-toggler {
        display:none;
    }
}

@media(min-width:992px) and (max-width:1199.98px) {
    .site-header .navbar-brand {
        margin-right:8px;
    }
    .site-header .brand-name {
        font-size:1.75rem;
    }
    .site-header .logo-img {
        height:54px;
    }
    .site-header .brand-subtitle {
        font-size:.68rem;
    }
    .site-header .service-navigation {
        gap:2px;
    }
    .site-header .service-navigation > .nav-item > .nav-link {
        font-size:.88rem;
        padding-left:4px;
        padding-right:4px;
    }
    .site-header .desktop-account-nav {
        gap:8px;
    }
    .site-header .account-icon {
        width:40px;
        height:40px;
    }
    .site-header .member-cta {
        font-size:.82rem;
        padding:10px;
    }
}

@media(max-width:991.98px) {
    .site-header .navbar-brand {
        flex-basis:auto;
    }
    .site-header .service-navigation > .nav-item > .nav-link {
        display:flex;
        align-items:center;
        justify-content:space-between;
        padding:10px 0;
        color:#151922;
        font-size:.88rem;
        font-weight:700;
    }
    .site-header .mega-menu {
        position:static;
        min-width:0;
        padding:8px 10px;
        margin:0 0 12px;
        border:0;
        border-radius:8px;
        background:#f5f8f6;
        box-shadow:none;
    }
    .mega-menu-links,
    .mega-menu-links-two {
        grid-template-columns:minmax(0,1fr);
        gap:2px;
    }
    .site-header .mega-link {
        padding-top:6px;
        padding-bottom:6px;
    }
}

.network-page .container {
    padding-left:24px;
    padding-right:24px;
}

@media(min-width:576px) and (max-width:991.98px) {
    body.home-page-body {
        padding-top:114px;
    }
}
