.adpi-locators {--blue:#153e65;--blue-dark:#102f4e;--pale:#e9f2f6;--line:#d9e1e6;--text:#263747;--muted:#607080;--white:#fff}
.adpi-locators * {box-sizing:border-box}
.adpi-locators a {color:#17628f}
.adpi-locators a:hover {text-decoration:none}
.adpi-locators #chapter-map {height:410px;background:#e4eef1;border:1px solid var(--line);border-radius:3px;z-index:0}
.adpi-locators .map-note {font-size:12px;color:var(--muted);margin:6px 0 0}
.adpi-locators .search-panel {margin:26px 0 28px;padding:25px;background:#f5f8fa;border:1px solid var(--line)}
.adpi-locators .search-grid {display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px}
.adpi-locators .search-grid label {font-size:14px;font-weight:700;color:var(--blue)}
.adpi-locators input, .adpi-locators select {display:block;width:100%;height:44px;margin-top:7px;padding:0 12px;border:1px solid #bacbd6;border-radius:2px;background:white;color:var(--text);font:15px Arial,sans-serif}
.adpi-locators input:focus, .adpi-locators select:focus, .adpi-locators button:focus-visible, .adpi-locators a:focus-visible {outline:3px solid #8ab7d2;outline-offset:2px}
.adpi-locators .search-actions {display:flex;justify-content:flex-end;margin-top:15px}
.adpi-locators .button-secondary, .adpi-locators .page-button {border:1px solid #9cb2c0;background:white;color:var(--blue);padding:9px 16px;cursor:pointer;border-radius:2px;font-weight:600}
.adpi-locators .button-secondary:hover, .adpi-locators .page-button:hover {background:var(--pale)}
.adpi-locators .results-heading {display:flex;align-items:baseline;justify-content:space-between;gap:15px;border-bottom:2px solid var(--blue);margin-bottom:5px}
.adpi-locators .results-heading h2 {font:normal 27px Georgia,serif;color:var(--blue);margin:0 0 12px}
.adpi-locators .results-heading p {margin:0;color:var(--muted);font-size:14px}
.adpi-locators .chapter-card {padding:24px 4px;border-bottom:1px solid var(--line);scroll-margin-top:18px}
.adpi-locators .chapter-card.highlight {background:#f3f8fc;outline:2px solid #7ba8c5;outline-offset:-2px;padding-left:12px}
.adpi-locators .chapter-card h3 {font:normal 24px Georgia,serif;color:var(--blue);margin:0 0 4px}
.adpi-locators .school-name {font-weight:bold;font-size:17px;margin:0 0 6px}
.adpi-locators .location {color:var(--muted);margin:0 0 12px}
.adpi-locators .chapter-details {display:grid;grid-template-columns:1fr 1fr;gap:5px 24px;margin:0}
.adpi-locators .chapter-details div {display:flex;gap:7px;min-width:0}
.adpi-locators .chapter-details dt {font-weight:bold;flex-shrink:0}
.adpi-locators .chapter-details dd {margin:0;overflow-wrap:anywhere}
.adpi-locators .chapter-links {display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:14px}
.adpi-locators .chapter-links a {font-weight:600;font-size:14px}
.adpi-locators .map-popup h3 {margin:0 0 4px;color:var(--blue);font-size:16px}
.adpi-locators .map-popup p {margin:3px 0}
.adpi-locators .map-popup button {margin-top:9px;background:var(--blue);color:#fff;border:0;border-radius:3px;padding:7px 10px;cursor:pointer}
.adpi-locators .empty {padding:35px 5px;color:var(--muted)}
.adpi-locators .error-message {padding:16px;background:#fff0ef;color:#922c22;border:1px solid #efc2bc;margin:12px 0}
.adpi-locators #pagination {display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin:26px 0 45px}
.adpi-locators .page-button[aria-current="page"] {background:var(--blue);color:#fff}
.adpi-locators .page-button:disabled {opacity:.45;cursor:not-allowed}
@media (max-width:720px) {.adpi-locators #chapter-map {height:330px}
.adpi-locators .search-grid {grid-template-columns:1fr;gap:13px}
.adpi-locators .search-panel {padding:18px}
.adpi-locators .chapter-details {grid-template-columns:1fr}
.adpi-locators .results-heading {align-items:start;flex-direction:column;gap:0}
.adpi-locators .results-heading p {margin-bottom:12px}}
.adpi-popup-wrapper .leaflet-popup-content { width: 530px !important; max-width: calc(100vw - 85px); margin: 14px 12px; color: #003366; font: 16px/1.42 Arial,Helvetica,sans-serif; }
.adpi-popup-wrapper .leaflet-popup-content-wrapper { border-radius: 2px; }
.adpi-popup-wrapper .leaflet-popup-content h2.popup-title { color: #003366; font: 700 17px/1.35 Arial,Helvetica,sans-serif; margin: 0 24px 14px 0; }
.adpi-popup-wrapper .popup-columns { display: grid; grid-template-columns: minmax(0,1fr) 180px; gap: 16px; align-items: start; }
.adpi-popup-wrapper .popup-line { overflow-wrap: anywhere; }
.adpi-popup-wrapper .popup-label { font-weight: 400; }
.adpi-popup-wrapper .popup-section-heading { color: #003366; font: 700 17px/1.25 Arial,Helvetica,sans-serif; margin: 18px 0 2px; }
.adpi-popup-wrapper .popup-image-column { display: flex; justify-content: center; align-items: flex-start; padding-top: 3px; }
.adpi-popup-wrapper .popup-chapter-image { display: block; width: 150px; height: auto; max-width: 100%; object-fit: contain; }
.adpi-popup-wrapper .popup-social-links { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.adpi-popup-wrapper .popup-social-links a { display: inline-flex; color: #003366; text-decoration: none; }
.adpi-popup-wrapper .popup-social-links a:hover { color: #1971a2; }
@media (max-width: 550px)  {.adpi-popup-wrapper .leaflet-popup-content { width: 270px !important; }
.adpi-popup-wrapper .popup-columns { grid-template-columns: 1fr; gap: 10px; }
.adpi-popup-wrapper .popup-image-column { justify-content: flex-start; }
.adpi-popup-wrapper .popup-chapter-image { max-height: 85px; width: auto; }}
.adpi-locators #chapter-map { width: 100%; height: 450px; border: 0; border-radius: 0; }
.adpi-locators .search-panel { margin: 0; padding: 0; border: 0; background: transparent; }
.adpi-locators .search-title { color: var(--blue); font: normal 27px Georgia,serif; margin: 0 0 18px; }
.adpi-locators .search-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 18px; }
.adpi-locators .search-actions { justify-content: flex-start; }
@media  (min-width: 992px)  {}
@media  (min-width: 1200px)  {}
@media  (max-width: 991.98px)  {}
@media  (max-width: 720px)  {.adpi-locators #chapter-map { height: 330px; }
.adpi-locators .search-panel { padding: 0; }}
.adpi-locators .chapter-links { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-top:14px; }
.adpi-locators .chapter-links a { display:inline-flex; align-items:center; justify-content:center; color:#003366; text-decoration:none; line-height:1; }
.adpi-locators .chapter-links a:hover { color:#1971a2; }
.adpi-locators .chapter-links svg { display:block; width:22px; height:22px; }
.adpi-locators #chapter-map { height: 800px; }
@media  (max-width: 1199.98px)  {.adpi-locators #chapter-map { height: 650px; }}
@media  (max-width: 767.98px)  {.adpi-locators #chapter-map { height: 450px; }}
.adpi-locators .chapter-card { padding: 18px 0 20px; border-bottom: 1px solid #b9cbd8; color: #003366; }
.adpi-locators .chapter-card-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.adpi-locators .chapter-card-info, .adpi-locators .chapter-card-facility { min-width: 0; }
.adpi-locators .chapter-card .chapter-card-title { font: 700 17px/1.4 Arial, Helvetica, sans-serif; color: #003366; margin: 0; }
.adpi-locators .chapter-card-line, .adpi-locators .chapter-card-section-label { font: 400 16px/1.42 Arial, Helvetica, sans-serif; color: #003366; overflow-wrap: anywhere; }
.adpi-locators .chapter-card-social { margin-top: 16px; }
.adpi-locators .chapter-card .chapter-links { margin-top: 4px; gap: 12px; }
.adpi-locators .chapter-card .chapter-links a { color: #003366; }
.adpi-locators .chapter-card .chapter-links a:hover { color: #1971a2; }
.adpi-locators .chapter-card-facility { padding-top: 21px; }
@media  (max-width: 767.98px)  {.adpi-locators .chapter-card-columns { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.adpi-locators .chapter-card-facility { padding-top: 0; }}
.adpi-locators #chapter-map { height: 800px; }
@media  (max-width:1199.98px)  {.adpi-locators #chapter-map { height:650px; }}
@media  (max-width:767.98px)  {.adpi-locators #chapter-map { height:450px; }}
.adpi-locators .search-panel { margin-top:0; }
.adpi-locators .results-section { margin-top:0; }
.adpi-locators .chapter-card:first-child { padding-top:0; }
.adpi-locators #pagination { justify-content: flex-start; align-items: stretch; gap: 0; margin: 10px 0 45px; }
.adpi-locators #pagination .page-button, .adpi-locators #pagination .page-ellipsis {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; min-height: 38px; padding: 7px 11px;
  border: 1px solid #d7e0e8; border-radius: 0; margin-left: -1px;
  background: #fff; color: #0056a6; font: 400 15px/1.4 Arial, Helvetica, sans-serif;
}
.adpi-locators #pagination .page-button:first-child, .adpi-locators #pagination .page-ellipsis:first-child { border-radius: 4px 0 0 4px; margin-left: 0; }
.adpi-locators #pagination .page-button:last-child { border-radius: 0 4px 4px 0; }
.adpi-locators #pagination .page-button:hover { background: #eef4f9; }
.adpi-locators #pagination .page-button[aria-current="page"] { background: #003366; color: #fff; border-color: #003366; position: relative; z-index: 1; }
.adpi-locators #pagination .page-ellipsis { cursor: default; color: #003366; }
.adpi-locators .chapter-card .chapter-card-title { margin: 0 0 2px; }
.adpi-locators .chapter-card-facility { padding-top: 0; }
/* Parent template controls columns and spacing; no fixed width on shortcode mounts. */
.adpi-locators {width:100%;min-width:0;box-sizing:border-box;}
.adpi-locators .search-grid input,.adpi-locators .search-grid select {width:100%;max-width:100%;}
.adpi-locators .chapter-card {width:100%;}

/* v1.0.2: typography aligned with the public website. */
.adpi-locators .chapter-card .chapter-card-title {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
}
.adpi-locators .chapter-card,
.adpi-locators .chapter-card-line,
.adpi-locators .chapter-card-section-label,
.adpi-locators .chapter-card-facility,
.adpi-locators .chapter-card-info {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 15px;
}
.adpi-locators .search-grid label {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 15px;
}
.adpi-popup-wrapper .leaflet-popup-content {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 15px;
}
.adpi-popup-wrapper .leaflet-popup-content h2.popup-title {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
}
.adpi-popup-wrapper .popup-section-heading {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 15px;
}

/* v1.0.3: search field labels use regular weight. */
.adpi-locators .search-grid label {
  font-weight: 400;
}
