@font-face {
    font-family:TaInter;
    src:url("fonts/Inter.ttf") format("truetype");
    font-weight:100 900;
    font-display:swap;
}

body.ta-members-directory {
    background:radial-gradient(ellipse at 43% 20%,#2d2022 0%,transparent 32%),
        radial-gradient(ellipse at 92% 0%,#181225 0%,transparent 38%),
        linear-gradient(165deg,#100e19,#090910 76%,#0c0a12) !important;
}

body.ta-members-directory :is(#page, #page > .container, .site-sub-header, .site-wrapper, #primary,
    #primary > article.page, #primary .entry-content, #buddypress, #buddypress .bp-wrap,
    #buddypress .screen-content, #members-dir-list) {
    background:transparent !important;
}

body.ta-members-directory :is(.site-sub-header, #primary .entry-header) :is(h1, h2.entry-title, .page-title),
body.ta-members-directory #primary h1.entry-title {
    color:#fff8f4;
    font:900 clamp(39px,4.1vw,68px)/1.04 TaInter,system-ui,sans-serif !important;
    letter-spacing:-.046em !important;
}

body.ta-members-directory :is(.site-sub-header, #primary .entry-header) :is(.entry-title, .page-title) a {
    color:inherit;
    font:inherit;
    text-decoration:none;
}

/* Directory controls sit on the dark canvas. Keep theme styles local to cards intact. */
body.ta-members-directory #buddypress :is(.members-type-navs, .subnav-filters, .bp-pagination, .bp-pagination-count),
body.ta-members-directory :is(.site-sub-header .breadcrumbs, .site-sub-header .breadcrumb-trail) {
    background:transparent;
    color:#c4bfce;
    font-family:TaNavigation,system-ui,sans-serif;
}

body.ta-members-directory #buddypress :is(.members-type-navs, .subnav-filters, .bp-pagination) :is(li, label, p, a, button, select, input) {
    font-family:TaNavigation,system-ui,sans-serif !important;
}

body.ta-members-directory #buddypress :is(.members-type-navs a, .bp-pagination a),
body.ta-members-directory .site-sub-header :is(.breadcrumbs, .breadcrumb-trail) a {
    color:#ffb447;
}

body.ta-members-directory #buddypress .members-type-navs li {
    background:transparent;
}

body.ta-members-directory #buddypress .members-type-navs :is(.selected, .current) a {
    background:#27202d;
    color:#fff8f4;
    border-color:#ffb447;
}

body.ta-members-directory #buddypress .members-type-navs .count {
    background:#362c3d;
    color:#fff8f4;
}

body.ta-members-directory #buddypress .subnav-filters :is(.bp-search form, input[type="search"], select, button) {
    background-color:#191620 !important;
    border-color:#625969 !important;
    color:#fff8f4 !important;
    color-scheme:dark;
}

body.ta-members-directory #buddypress .subnav-filters :is(button, select):hover {
    border-color:#ffb447 !important;
}

body.ta-members-directory #buddypress .subnav-filters input::placeholder {
    color:#c4bfce;
}

body.ta-members-directory #buddypress :is(.subnav-filters, .members-type-navs, .bp-pagination) :focus-visible {
    outline:3px solid #ffb447 !important;
    outline-offset:3px;
}

body.ta-members-directory #primary .entry-content > p,
body.ta-members-directory #buddypress :is(.subnav-filters label, .bp-pagination-count p, .bp-pagination .current) {
    color:#c4bfce;
    font-family:TaNavigation,system-ui,sans-serif;
}
