.ohw-directory{margin:32px 0;padding:24px;border:1px solid #dce8e2;border-radius:18px;background:#f8fcfa;color:#17324b}.ohw-directory-heading{display:flex;gap:20px;align-items:center;justify-content:space-between}.ohw-directory-heading h2{margin:6px 0;font-size:27px}.ohw-kicker{font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#19794e}.ohw-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}.ohw-category-card{padding:20px;border:1px solid #dfebe5;border-radius:14px;background:#fff;min-width:0}.ohw-category-card h3{font-size:18px;margin:0 0 12px;line-height:1.4}.ohw-category-card a{color:#155d43;text-decoration:none;overflow-wrap:anywhere}.ohw-category-card a:hover,.ohw-breadcrumbs a:hover{text-decoration:underline}.ohw-subcategories{padding:0;list-style:none;margin:0 0 12px}.ohw-subcategories li{margin:0}.ohw-subcategories a{display:block;padding:7px 0;line-height:1.45;font-size:15px}.ohw-category-card summary{cursor:pointer;padding:10px 0;color:#245c4a;font-weight:600}.ohw-parent-link,.ohw-place-link{display:inline-block;padding:12px 0;font-weight:700;color:#126140}.ohw-breadcrumbs{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0;font-size:14px}.ohw-breadcrumbs a{color:#275e50}.ohw-directory-page{padding-top:24px}.ohw-location-grid{margin-bottom:28px}.ohw-directory a:focus-visible,.ohw-directory summary:focus-visible,.ohw-directory-page a:focus-visible{outline:3px solid #14764c;outline-offset:4px;border-radius:3px}.ohw-context-links{line-height:1.8}@media(max-width:1000px){.ohw-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.ohw-directory{padding:17px;margin:24px 0}.ohw-category-grid{grid-template-columns:1fr}.ohw-directory-heading{display:block}.ohw-directory-heading h2{font-size:23px}.ohw-category-card{padding:17px}.ohw-subcategories a{min-height:28px;padding:9px 0}}

/* Tablet header overflow guard: legacy state/district templates render seven desktop nav links. */
@media (min-width:701px) and (max-width:960px) {
  .nav { padding-left:3%; padding-right:3%; gap:12px; }
  .nav .navlinks.desktop-navlinks { gap:9px; font-size:12px; }
  .nav .navlinks.desktop-navlinks a.outline,
  .nav .navlinks.desktop-navlinks a.primary { padding:8px 9px; }
}

/* Give single-category Explore pages the available horizontal space. */
.ohw-category-grid:has(> .ohw-category-card:only-child){grid-template-columns:minmax(0,1fr)}
.ohw-category-grid>.ohw-category-card:only-child .ohw-subcategories{columns:3;column-gap:28px}
.ohw-category-grid>.ohw-category-card:only-child .ohw-subcategories li{break-inside:avoid}
@media(max-width:900px){.ohw-category-grid>.ohw-category-card:only-child .ohw-subcategories{columns:2}}
@media(max-width:640px){.ohw-category-grid>.ohw-category-card:only-child .ohw-subcategories{columns:1}}
