/* ANCC Search — intentionally scoped to avoid overriding the site theme. */
.ancc-search-trigger { background:transparent;border:0;cursor:pointer;padding:0;color:inherit;font:inherit; }
.ancc-search-overlay[hidden] { display:none!important; }
.ancc-search-overlay {position:fixed;inset:0;z-index:999999;background:rgba(6,25,47,.76);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:20px;}
.ancc-search-panel {position:relative;background:#fff;color:#10283e;border-radius:18px;padding:clamp(28px,5vw,54px);width:min(100%,690px);box-shadow:0 24px 90px rgba(0,0,0,.26);}
.ancc-search-close {position:absolute;right:18px;top:14px;border:0;background:transparent;font-size:35px;line-height:1;color:#436174;cursor:pointer;}
.ancc-search-eyebrow,.ancc-results-kicker {font-size:12px;font-weight:800;letter-spacing:.19em;color:#0b8491;margin-bottom:15px;}
.ancc-search-panel h2 {font-size:clamp(25px,4vw,39px);font-weight:750;line-height:1.16;margin:0 0 12px;}
.ancc-search-hint {color:#647587;margin-bottom:25px;}
.ancc-search-form,.ancc-results-form {display:flex;gap:10px;}
.ancc-search-form input,.ancc-results-form input {flex:1;min-width:0;border:1px solid #cad9df;background:#fff;border-radius:8px;padding:16px;color:#10283e;outline-offset:2px;font:inherit;}
.ancc-search-submit,.ancc-results-form button {border:0;background:#0a8290;color:#fff;border-radius:8px;padding:0 24px;font-weight:700;cursor:pointer;}
.ancc-search-submit:hover,.ancc-results-form button:hover {background:#075965;}
.ancc-search-footnote {margin:15px 0 0;color:#778a96;font-size:13px;}
body.ancc-search-modal-open {overflow:hidden;}
.ancc-results-page {background:#f6f8fa;min-height:70vh;color:#10283e;}
.ancc-results-hero {background:linear-gradient(120deg,#08253e,#0a5364);color:#fff;padding:72px 0 66px;}
.ancc-results-hero h1 {font-size:clamp(34px,5vw,54px);line-height:1.12;font-weight:750;margin-bottom:12px;color:#fff;}
.ancc-results-hero p:not(.ancc-results-kicker) {color:#c7dbe2;margin-bottom:28px;}
.ancc-results-form {background:#fff;border-radius:10px;padding:7px;max-width:800px;box-shadow:0 12px 35px rgba(0,0,0,.1);}
.ancc-results-form input {border:0;}
.ancc-results-content {padding-bottom:90px!important;}
.ancc-alpha-intro h2 {color:#10283e;}
.ancc-alpha-reset {color:#067685;font-weight:600;}
.ancc-letter {min-width:37px;height:40px;padding:0 11px;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid #d7e3e8;border-radius:7px;color:#213c4f;text-decoration:none;font-weight:700;font-size:14px;}
.ancc-letter:hover,.ancc-letter:focus,.ancc-letter.is-active {background:#087c8a;color:#fff;border-color:#087c8a;text-decoration:none;}
.ancc-results-meta {border-top:1px solid #e2e8ee;padding-top:17px;color:#425768;}
.ancc-meta-tip {font-size:13px;color:#8493a1;}
.ancc-result-card {background:#fff;border:1px solid #e6ebef;border-radius:13px;overflow:hidden;box-shadow:0 6px 22px rgba(13,42,66,.05);transition:transform .2s,box-shadow .2s;display:flex;flex-direction:column;}
.ancc-result-card:hover {transform:translateY(-3px);box-shadow:0 12px 35px rgba(13,42,66,.1);}
.ancc-result-image {height:195px;overflow:hidden;display:block;background:#e6eef1;}
.ancc-result-image img {width:100%;height:100%;object-fit:cover;display:block;}
.ancc-result-placeholder {display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0d354e,#0b8292);}
.ancc-result-placeholder span {color:#fff;font-weight:800;font-size:32px;letter-spacing:.2em;}
.ancc-result-body {padding:25px;display:flex;flex-direction:column;align-items:flex-start;flex:1;}
.ancc-result-type {display:inline-block;font-size:11px;font-weight:750;letter-spacing:.075em;text-transform:uppercase;background:#e6f4f5;color:#087985;border-radius:6px;padding:6px 10px;margin-bottom:14px;}
.ancc-result-title {font-size:21px;line-height:1.36;font-weight:750;margin-bottom:12px;}
.ancc-result-title a {color:#112f45;text-decoration:none;}
.ancc-result-title a:hover {color:#087c8a;}
.ancc-result-excerpt {color:#687b88;line-height:1.7;font-size:14px;flex:1;}
.ancc-result-link {color:#087985;font-weight:750;text-decoration:none;margin-top:11px;}
.ancc-result-link:hover {text-decoration:underline;}
.ancc-result-pagination .nav-links {display:flex;gap:8px;justify-content:center;flex-wrap:wrap;}
.ancc-result-pagination .page-numbers {background:#fff;color:#12364c;border:1px solid #d9e3e8;padding:10px 15px;border-radius:7px;text-decoration:none;}
.ancc-result-pagination .page-numbers.current,.ancc-result-pagination .page-numbers:hover {background:#087c8a;color:#fff;border-color:#087c8a;}
.ancc-empty-state {background:#fff;border:1px solid #e1ebf0;border-radius:14px;}
.ancc-empty-state h2 {font-size:27px;}
.ancc-empty-state p {color:#667d8d;}
.ancc-empty-icon {font-size:70px;color:#0a8290;}
.ancc-empty-state a {color:#087985;font-weight:700;}
@media (max-width:575px) {.ancc-search-form,.ancc-results-form {flex-direction:column;}.ancc-search-submit,.ancc-results-form button {padding:14px 16px;}.ancc-results-hero {padding:45px 0;}.ancc-result-image {height:180px;}}
@media (prefers-reduced-motion:reduce) {.ancc-result-card {transition:none;}}
