.ndb-us-directory-pilot { color: #e5e7ef; }
.ndb-us-directory-pilot *, .ndb-us-directory-pilot *::before, .ndb-us-directory-pilot *::after { box-sizing: border-box; }
.ndb-us-directory-pilot__intro, .ndb-us-directory-pilot__filters, .ndb-us-directory-pilot__guide { padding: 22px; margin: 18px 0; background: #151a28; border: 1px solid #303647; border-radius: 16px; }
.ndb-us-directory-pilot__intro h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.25; }
.ndb-us-directory-pilot a:not(.btn) { color: #d3b4ff; text-decoration: underline; }
.ndb-us-directory-pilot__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ndb-us-directory-pilot__card { display: flex; flex-direction: column; min-width: 0; padding: 16px; border: 1px solid #303647; border-radius: 16px; background: #151a28; overflow-wrap: anywhere; box-shadow: 0 6px 20px #0002; }
.ndb-us-directory-pilot__offer-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ndb-us-directory-pilot__offer-heading > a { flex: 0 0 80px; }
.ndb-us-directory-pilot__card .ndb-us-directory-pilot__offer-heading img { display: block; width: 80px; height: 80px; object-fit: cover; border-radius: 12px; }
.ndb-us-directory-pilot__card h3 { min-width: 0; font-size: 17px; font-weight: 700; line-height: 1.4; margin: 0; }
.ndb-us-directory-pilot__card h3 a:not(.btn) { color: #f6f5fa; text-decoration: none; }
.ndb-us-directory-pilot__card h3 a:hover { text-decoration: underline; }
.ndb-us-directory-pilot__card dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin: 0 0 12px; }
.ndb-us-directory-pilot__card dl div { min-width: 0; padding: 8px 10px; background: #242938; border: 1px solid #343a4a; border-radius: 8px; }
.ndb-us-directory-pilot__card dt { font-size: 11px; line-height: 1.4; font-weight: 600; color: #b9c0d2; }
.ndb-us-directory-pilot__card dd { font-size: 13px; line-height: 1.45; margin: 3px 0 0; font-weight: 600; }
.ndb-us-directory-pilot__code { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin: auto 0 12px; padding-top: 4px; font-size: 14px; }
.ndb-us-directory-pilot__code strong { color: #f0c642; letter-spacing: .035em; }
.ndb-us-directory-pilot__code button { margin-left: auto; min-height: 44px; color: #e5e7ef; background: #252a39; border: 1px solid #464d61; border-radius: 8px; padding: 8px 12px; font: inherit; cursor: pointer; }
.ndb-us-directory-pilot__actions { display: flex; align-items: stretch; gap: 10px; }
.ndb-us-directory-pilot__actions > a:first-child { display: flex; align-items: center; justify-content: center; padding: 10px 12px; min-height: 46px; border: 1px solid #464d61; border-radius: 10px; color: #e5e7ef; font-size: 13px; text-decoration: none; background: #252a39; }
.ndb-us-directory-pilot__actions .btn { display: flex; align-items: center; justify-content: center; flex: 1; min-width: 0; min-height: 46px; margin: 0; padding: 10px 14px; border: 0; border-radius: 10px; background: linear-gradient(110deg,#cc3f8a,#7941ed); color: #fff; font-size: 16px; font-weight: 800; line-height: 1.3; text-transform: none; text-decoration: none; }
.ndb-us-directory-pilot__actions .btn:hover { filter: brightness(1.12); }
.ndb-us-directory-pilot__notice { font-size: 10px; line-height: 1.5; text-align: center; color: #aeb6c8; margin: 10px 0 0; }
.ndb-us-directory-pilot__filters > p { font-size: 13px; line-height: 1.5; margin: 0 0 14px; }
.ndb-us-directory-pilot .searchandfilter { background: transparent; padding: 0; margin: 0; }
.ndb-us-directory-pilot .searchandfilter > ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; padding: 0; margin: 0; background: transparent; }
.ndb-us-directory-pilot .searchandfilter > ul > li { display: block; float: none; width: auto; min-width: 0; padding: 0; margin: 0; list-style: none; }
.ndb-us-directory-pilot .searchandfilter label { display: block; width: 100%; margin: 0; }
.ndb-us-directory-pilot .searchandfilter input[type=text], .ndb-us-directory-pilot .searchandfilter select { width: 100%; max-width: 100%; min-width: 0; height: 48px; margin: 0; padding: 10px 12px; border: 1px solid #41485d; border-radius: 10px; color: #f1f2f7; background-color: #202637; font-size: 16px; font-style: normal; font-weight: 500; text-align: left; }
.ndb-us-directory-pilot .searchandfilter input::placeholder { color: #bdc4d5; opacity: 1; }
.ndb-us-directory-pilot .searchandfilter input[type=submit] { width: 100%; height: 48px; margin: 0; padding: 10px 16px; border: 0; border-radius: 10px; color: white; background: linear-gradient(110deg,#cc3f8a,#7941ed); font-size: 16px; font-weight: 700; cursor: pointer; }
.ndb-us-directory-pilot__pagination { margin: 22px 0; }
.ndb-us-directory-pilot__pagination .wp-pagenavi { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ndb-us-directory-pilot__pagination a, .ndb-us-directory-pilot__pagination span.current { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 8px; border: 1px solid #41485d; border-radius: 8px; text-decoration: none; }
.ndb-us-directory-pilot__pagination span.current { background: #7941bd; }
.ndb-us-directory-pilot__guide h3 { font-size: 1.25rem; margin-top: 24px; }
.ndb-us-directory-pilot :focus-visible { outline: 3px solid #f3c970; outline-offset: 3px; }
@media (max-width: 700px) {
 .ndb-us-directory-pilot__grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
 .ndb-us-directory-pilot__intro, .ndb-us-directory-pilot__filters, .ndb-us-directory-pilot__guide { padding: 14px; margin: 12px 0; }
 .ndb-us-directory-pilot__intro p { font-size: 14px; line-height: 1.5; }
 .ndb-us-directory-pilot__card { padding: 12px; }
 .ndb-us-directory-pilot__offer-heading { gap: 10px; margin-bottom: 10px; }
 .ndb-us-directory-pilot__offer-heading > a { flex-basis: 64px; }
 .ndb-us-directory-pilot__card .ndb-us-directory-pilot__offer-heading img { width: 64px; height: 64px; border-radius: 10px; }
 .ndb-us-directory-pilot__card h3 { font-size: 15px; }
 .ndb-us-directory-pilot .searchandfilter > ul { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
 .ndb-us-directory-pilot .searchandfilter > ul > li.sf-field-search, .ndb-us-directory-pilot .searchandfilter > ul > li.sf-field-submit { grid-column: 1 / -1; }
}

/* Editorial guide and author styling belongs only to the opt-in pilot. */
.ndb-us-directory-pilot__eyebrow { display:block; color:#efc447; font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; margin-bottom:8px; }
.ndb-us-directory-pilot__guide-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 28px; }
.ndb-us-directory-pilot__guide-grid section { border-top:1px solid #343a4a; }
.ndb-us-directory-pilot__guide p { line-height:1.65; }
.ndb-us-directory-pilot__table { overflow-x:auto; margin:20px 0; border:1px solid #41485d; border-radius:10px; }
.ndb-us-directory-pilot__table table { width:100%; min-width:560px; border-collapse:collapse; margin:0; font-size:14px; }
.ndb-us-directory-pilot__table caption { color:#e5e7ef; padding:12px; caption-side:top; text-align:left; }
.ndb-us-directory-pilot__table th, .ndb-us-directory-pilot__table td { padding:12px; text-align:left; vertical-align:top; border:1px solid #343a4a; }
.ndb-us-directory-pilot__table thead { background:#29243c; color:#d1b7ed; }
.ndb-us-directory-pilot__disclosure { border-top:1px solid #343a4a; padding-top:16px; font-size:13px; color:#b9c0d2; }
.ndb-us-directory-pilot__author { display:grid; grid-template-columns:minmax(240px,1fr) 2fr; gap:24px; align-items:center; margin:24px 0; padding:24px; border:1px solid #56416d; border-top:3px solid #b13bca; border-radius:16px; background:linear-gradient(120deg,#242038,#151a28 70%); }
.ndb-us-directory-pilot__author-identity { display:flex; align-items:center; gap:16px; min-width:0; }
.ndb-us-directory-pilot__author img { width:88px; height:88px; flex:0 0 88px; object-fit:cover; border-radius:50%; border:3px solid #a045d0; }
.ndb-us-directory-pilot__author h2 { font-size:20px; line-height:1.3; margin:0 0 6px; }
.ndb-us-directory-pilot__author p { font-size:14px; line-height:1.6; margin:0 0 10px; }
.ndb-us-directory-pilot__author h2 a:not(.btn) { color:#fff; text-decoration:none; }
.ndb-us-directory-pilot__author-bio > a { font-size:14px; font-weight:700; }
@media(max-width:700px) { .ndb-us-directory-pilot__guide-grid,.ndb-us-directory-pilot__author { grid-template-columns:minmax(0,1fr); } .ndb-us-directory-pilot__author { padding:18px; gap:14px; } }

.ndb-us-directory-pilot__code { column-gap:12px; row-gap:8px; }
.ndb-us-directory-pilot__checked { color:#b9c0d2; font-size:12px; line-height:1.5; }
.ndb-us-directory-pilot__code-value { min-width:0; }
@media(max-width:700px) { .ndb-us-directory-pilot__checked { flex-basis:100%; } }

/* Compact term/code strip; wraps when long terms need more room. */
.ndb-us-directory-pilot__terms-row { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:0 0 8px; }
.ndb-us-directory-pilot__terms-row dl { display:flex; flex-wrap:wrap; gap:6px; margin:0; flex:0 1 auto; }
.ndb-us-directory-pilot__terms-row dl div { flex:0 1 auto; max-width:160px; padding:6px 9px; }
.ndb-us-directory-pilot__terms-row .ndb-us-directory-pilot__code { display:inline-flex; flex:0 1 auto; flex-wrap:nowrap; width:auto; max-width:100%; min-width:0; margin:0; padding:4px 5px 4px 10px; gap:8px; border:1px solid #41405a; border-radius:9px; background:#211d30; }
.ndb-us-directory-pilot__terms-row .ndb-us-directory-pilot__code-value { flex:0 1 auto; font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
.ndb-us-directory-pilot__terms-row .ndb-us-directory-pilot__code button { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; min-width:44px; min-height:44px; padding:8px; margin:0; }
.ndb-us-directory-pilot__terms-row .ndb-us-directory-pilot__code button img { width:20px; height:20px; object-fit:contain; }
.ndb-us-directory-pilot__terms-row .ndb-us-directory-pilot__code button p { font-size:12px; }
.ndb-us-directory-pilot__checked { display:flex; align-items:center; gap:6px; margin:8px 0 0; font-size:12px; line-height:1.5; color:#b9c0d2; }
.ndb-us-directory-pilot__checked svg { flex-shrink:0; }
.ndb-us-directory-pilot__check { color:#72d88b; font-weight:800; }
.ndb-us-directory-pilot__pagination { padding:14px; border:1px solid #303647; border-radius:14px; background:#151a28; }
.ndb-us-directory-pilot__pagination .wp-pagenavi, .ndb-us-directory-pilot__pagination ul.page-numbers { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:8px; padding:0; margin:0; list-style:none; }
.ndb-us-directory-pilot .ndb-us-directory-pilot__pagination a:not(.btn), .ndb-us-directory-pilot__pagination span.current { min-width:42px; min-height:42px; margin:0; padding:8px 12px; border:1px solid #41405a; border-radius:10px; color:#e5e7ef; background:#242638; font-size:14px; line-height:1.4; font-weight:600; text-decoration:none; }
.ndb-us-directory-pilot__pagination span.current { background:linear-gradient(110deg,#cc3f8a,#7941ed); border-color:#af57d9; color:#fff; box-shadow:0 3px 12px #7938cb40; }
.ndb-us-directory-pilot .ndb-us-directory-pilot__pagination a:hover { color:#f4ce63; border-color:#b85ae0; background:#30233f; }
.ndb-us-directory-pilot__pagination .pages { border:0; background:transparent; padding:6px 10px; margin:0 auto 0 0; color:#b9c0d2; font-size:12px; }
.ndb-us-directory-pilot__pagination .extend { border:0; padding:6px; color:#b9c0d2; }
@media(max-width:700px) { .ndb-us-directory-pilot__pagination .pages { flex-basis:100%; text-align:center; margin:0; } }

.ndb-us-directory-pilot__offer-title { flex:1; min-width:0; }
.ndb-us-directory-pilot__offer-title .ndb-us-directory-pilot__checked { text-align:left; }
.ndb-us-directory-pilot__terms-row { margin-bottom:14px; align-items:stretch; }
.ndb-us-directory-pilot__terms-row dl { align-items:stretch; }
.ndb-us-directory-pilot__terms-row .ndb-us-directory-pilot__activation { font-size:12px; line-height:1.5; padding:5px 0; }
@media(max-width:700px) {
 .ndb-us-directory-pilot__offer-heading { align-items:flex-start; }
 .ndb-us-directory-pilot__offer-title .ndb-us-directory-pilot__checked { font-size:11px; gap:4px; margin-top:7px; }
 .ndb-us-directory-pilot__terms-row { gap:8px; }
}

/* Guide hierarchy and a readable stacked comparison on narrow screens. */
.ndb-us-directory-pilot .ndb-us-directory-pilot__guide h2 { font-size:clamp(23px,2.5vw,30px); font-weight:750; color:#fff; line-height:1.3; margin:6px 0 16px; }
.ndb-us-directory-pilot .ndb-us-directory-pilot__guide h3 { font-size:19px; font-weight:700; color:#f3c64d; line-height:1.4; margin:28px 0 12px; }
.ndb-us-directory-pilot__guide-grid { gap:16px; margin:26px 0; }
.ndb-us-directory-pilot__guide-grid > section { padding:20px; border:1px solid #46405c; border-radius:13px; background:linear-gradient(135deg,#232239,#1b2030); box-shadow:inset 3px 0 #9550cb; }
.ndb-us-directory-pilot .ndb-us-directory-pilot__guide-grid h3 { display:flex; align-items:center; gap:12px; margin:0 0 14px; font-size:18px; color:#fff; }
.ndb-us-directory-pilot__guide-icon { display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; flex:0 0 38px; border:1px solid #665079; background:#352742; border-radius:10px; color:#f3c64d; }
.ndb-us-directory-pilot__guide-grid p { margin:0; font-size:15px; line-height:1.7; color:#cbd0dc; }
.ndb-us-directory-pilot__table { border-color:#4a425b; background:#1e2436; }
.ndb-us-directory-pilot__table caption { padding:14px 16px; background:#25213a; color:#f3c64d; font-size:15px; font-weight:700; }
.ndb-us-directory-pilot__table thead { background:#352444; color:#d1b7ed; }
.ndb-us-directory-pilot__table tbody tr:nth-child(even) { background:#242a3e; }
.ndb-us-directory-pilot__table tbody th { color:#fff; }
.ndb-us-directory-pilot__table td,.ndb-us-directory-pilot__table th { padding:14px 16px; line-height:1.6; border-color:#403e54; }
.ndb-us-directory-pilot__mobile-label { display:none; }
@media(max-width:700px) {
 .ndb-us-directory-pilot__guide-grid > section { padding:16px; }
 .ndb-us-directory-pilot__table { overflow:visible; border:0; background:transparent; }
 .ndb-us-directory-pilot__table table { display:block; min-width:0; width:100%; }
 .ndb-us-directory-pilot__table caption { display:block; border:1px solid #4a425b; border-radius:10px; margin-bottom:12px; }
 .ndb-us-directory-pilot__table thead { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
 .ndb-us-directory-pilot__table tbody { display:grid; gap:12px; }
 .ndb-us-directory-pilot__table tbody tr { display:block; border:1px solid #4a425b; border-radius:12px; overflow:hidden; background:#1e2436; }
 .ndb-us-directory-pilot__table tbody th { display:block; border:0; background:#30243e; color:#fff; font-size:16px; }
 .ndb-us-directory-pilot__table tbody td { display:block; border:0; border-top:1px solid #403e54; font-size:14px; }
 .ndb-us-directory-pilot__mobile-label { display:block; margin-bottom:5px; color:#d1b7ed; font-size:12px; font-weight:700; }
}

/* S&F uses .pagination a; neutralize generic theme pagination layout here. */
.ndb-us-directory-pilot .ndb-us-directory-pilot__pagination.pagination { display:block; width:100%; }
.ndb-us-directory-pilot__ajax-results { min-width:0; }
