/* Locality lookup and jurisdiction comparison */
.opening { border-bottom: 1px solid var(--rule); }
.opening-grid { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, .9fr); align-items: center; gap: clamp(2rem, 6.6vw, 7rem); padding-block: clamp(2.5rem, 4vw, 4.2rem); }
.locator h1 { margin: .8rem 0 1rem; font-size: clamp(4.25rem, 6.5vw, 6.6rem); font-weight: 760; line-height: .94; letter-spacing: -.068em; }
.locator h1 span { display: block; color: var(--blue); }
.locator-intro { color: #425169; font-size: clamp(1.02rem, 1.36vw, 1.23rem); line-height: 1.45; max-width: 44ch; }
#locality-form { margin-top: 1.4rem; position: relative; }
.search-box { display: flex; align-items: center; gap: .75rem; padding: 4px 4px 4px 1rem; background: white; border: 2px solid var(--blue); border-radius: 3px; }
.search-box:focus-within { outline: 3px solid #b4c7ff; outline-offset: 2px; }
.search-box > .icon { color: var(--blue); width: 22px; height: 22px; }
.search-box input { min-width: 0; width: 100%; flex: 1; color: var(--ink); border: 0; outline: 0; padding-block: .3rem; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.search-box input::placeholder { color: #626e82; opacity: 1; }
.search-box button { min-height: 45px; padding: .55rem 1.1rem; color: white; background: var(--blue); border: 0; border-radius: 1px; font-weight: 650; }
.search-box button:hover { background: var(--blue-dark); }
.matches { position: absolute; z-index: 5; top: calc(100% + 3px); inset-inline: 0; border: 1px solid var(--blue); background: #fff; box-shadow: 0 4px 12px #1725411f; }
.matches p { padding: .5rem .8rem; font-size: .82rem; font-weight: 600; background: var(--soft); }
.matches ul { margin: 0; padding: 0; list-style: none; max-height: 15rem; overflow: auto; }
.matches li + li { border-top: 1px solid var(--rule); }
.matches button { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: .75rem; text-align: left; min-height: 44px; padding: .5rem .8rem; background: #fff; border: 0; font-weight: 650; color: var(--ink); }
.matches button small { text-align: right; font: .79rem/1.3 var(--sans); color: var(--muted); }
.matches button:hover, .matches button:focus-visible { background: var(--pale-blue); }
.matches button:focus-visible { outline-offset: -3px; }
.locator-links { display: flex; align-items: center; flex-wrap: wrap; column-gap: 1.4rem; margin-top: .3rem; }
.locator-links a, .answer-actions a, .answer-actions button { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-size: .89rem; font-weight: 650; }
.locator-links a { text-decoration: none; }
.locator-links a:hover { text-decoration: underline; }
.locator-links .icon, .answer-actions .icon { width: 15px; height: 15px; }
.comparison { background: var(--blue); color: white; padding: clamp(1.4rem, 2.5vw, 2.65rem); border-radius: 2px; min-width: 0; }
.comparison-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.comparison-heading > .icon { width: 26px; height: 26px; color: #d1dfff; }
.comparison .eyebrow, .comparison .answer-label { color: #dae5ff; }
.comparison h2 { font-size: clamp(2.4rem, 3.55vw, 3.6rem); letter-spacing: -.055em; margin-top: .35rem; }
.comparison-prompt { margin: .35rem 0 .95rem; color: #f2f6ff; font-size: .95rem; }
.comparison fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.jurisdiction-switch { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.jurisdiction-switch label { display: flex; justify-content: center; align-items: center; gap: .45rem; text-align: center; min-height: 45px; border: 1px solid #c0d1ff; padding: .52rem .35rem; color: white; font-size: .91rem; font-weight: 650; line-height: 1.22; cursor: pointer; }
.jurisdiction-switch label:first-of-type { border-radius: 2px 0 0 2px; }
.jurisdiction-switch label:last-of-type { border-radius: 0 2px 2px 0; border-inline-start: 0; }
.jurisdiction-switch label::before { content: ""; width: 9px; height: 9px; flex-shrink: 0; border: 1.5px solid currentColor; border-radius: 50%; }
.jurisdiction-switch input:checked + label { background: white; color: var(--blue-dark); }
.jurisdiction-switch input:checked + label::before { background: currentColor; box-shadow: inset 0 0 0 1.8px white; }
.jurisdiction-switch input:focus-visible + label, .comparison a:focus-visible, .comparison button:focus-visible, .comparison h2:focus-visible { outline: 3px solid #fff; outline-offset: 4px; z-index: 1; }
.pair-answer, .other-answer { grid-column: 1 / -1; border-top: 1px solid #87a6f3; padding-top: 1rem; margin-top: 1.1rem; }
.pair-answer { display: none; }
#area-city:checked ~ .city-answer, #area-county:checked ~ .county-answer { display: block; }
.comparison h3 { font-size: clamp(1.25rem, 1.9vw, 1.72rem); margin-top: .35rem; line-height: 1.2; }
.answer-note { margin-top: .35rem; color: #edf2ff; font-size: .94rem; }
.service-link, .comparison a:hover { color: white; }
.service-link { margin-top: .15rem; }
.answer-actions { display: flex; flex-wrap: wrap; gap: 0 1.1rem; border-top: 1px solid #87a6f3; margin-top: .6rem; }
.answer-actions a, .answer-actions button { color: white; }
.answer-actions button { border: 0; padding: 0; background: none; text-decoration: underline; text-underline-offset: .2em; }
/* Name index and topic directory */
.directory-body { display: grid; grid-template-columns: minmax(0,2.1fr) minmax(250px,.87fr); gap: clamp(2rem, 5vw, 5rem); margin-top: clamp(2rem,3.2vw,3.3rem); align-items: start; }
.list-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .3rem .9rem; margin-bottom: 1.1rem; }
.list-heading span { font: .76rem/1.5 var(--mono); color: var(--muted); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; text-align: left; }
th, td { vertical-align: top; text-align: left; }
table thead { color: #334660; background: var(--soft); border-top: 2px solid var(--blue); }
table thead th { font: 700 .7rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: .62rem .85rem; }
table tbody tr { border-bottom: 1px solid var(--rule); }
.directory-table td, .directory-table tbody th { vertical-align: middle; }
.directory-table td { font-size: .87rem; color: #46536a; padding: .65rem .85rem; }
.directory-table tbody th { padding-inline: .85rem; }
.directory-table th a { display: inline-flex; align-items: center; min-height: 48px; padding: .28rem 0; font-size: 1.04rem; line-height: 1.25; font-weight: 720; text-decoration: none; }
.directory-table th a:hover { text-decoration: underline; }
.directory-table tbody tr:hover, .provider-table tbody tr:hover { background: #f7f9fe; }
.directory-note { margin-top: 1rem; font-size: .9rem; }
.home-desks { border-left: 1px solid var(--rule); padding-left: clamp(1.25rem, 2.4vw, 2.4rem); }
.home-desks h2 { font-size: clamp(1.65rem, 2.2vw, 2.2rem); padding-bottom: .9rem; }
.desk-row, .entry { display: flex; align-items: center; gap: 1rem; min-height: 48px; padding: .95rem .1rem; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--rule); }
.desk-row { align-items: flex-start; gap: .75rem; }
.desk-row > .icon:first-child { color: var(--blue); width: 20px; height: 20px; margin-top: .2rem; }
.desk-row strong, .entry strong { font-weight: 690; display: block; line-height: 1.35; }
.desk-row small, .entry small { display: block; color: var(--muted); font-size: .86rem; margin-top: .24rem; line-height: 1.4; }
.desk-row > .icon:last-child, .entry > .icon { margin-left: auto; width: 16px; height: 16px; color: var(--blue); }
.desk-row:hover strong, .entry:hover strong { text-decoration: underline; color: var(--blue); }
.itinerary-list { margin-top: 2rem; }
.itinerary-list h2 { font-size: 1.45rem; padding-bottom: .25rem; }
/* Local provider records, itineraries and reference desks */
.section { margin-top: clamp(2rem, 3.8vw, 3.75rem); }
.reading-grid, .split { display: grid; gap: clamp(2rem, 5.5vw, 5.5rem); align-items: start; }
.reading-grid { grid-template-columns: minmax(0,2fr) minmax(235px,.82fr); }
.split, .region-grid { grid-template-columns: 1fr 1fr; }
.narrow { max-width: 800px; }
.city-head { padding-top: .6rem; }
.city-title { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(240px,1fr); align-items: end; gap: 2rem; padding-block: .2rem 1.8rem; }
.city-title h1 { margin: .4rem 0 0; }
.jurisdiction-facts { border-left: 3px solid var(--blue); padding-left: 1.15rem; display: grid; gap: .55rem; }
.jurisdiction-facts dt { color: var(--muted); font-size: .65rem; }
.jurisdiction-facts dd { margin-top: .12rem; font-weight: 650; }
.jump-links { border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: .3rem 1.45rem; }
.jump-links a, .region-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: .89rem; font-weight: 650; }
.provider-section, .article-section, .cultural { scroll-margin-top: 1.25rem; }
.provider-section { margin-bottom: 2.5rem; }
.provider-section h2 { margin-bottom: 1rem; }
.provider-table { margin-bottom: 1.1rem; }
.provider-table th:first-child { width: 46%; }
.provider-table tbody th { font-weight: 600; padding: .75rem .85rem; }
.provider-table td { padding: .14rem .85rem; }
.provider-table td a { display: inline-block; min-height: 44px; padding-block: .65rem; line-height: 1.42; }
.provider-table td .icon { width: 14px; height: 14px; }
.provider-section p + p, .article-section p + p { margin-top: .75rem; }
.article-section { border-bottom: 1px solid var(--rule); margin-bottom: 1.7rem; padding-bottom: 1.7rem; }
.article-section h2 { margin-bottom: .75rem; }
.article-section h3 { margin: 1.1rem 0 .4rem; }
.article-section .text-link { margin-right: 1rem; }
.cultural { border-top: 3px solid var(--blue); padding-top: 1.1rem; }
.cultural .eyebrow { margin-bottom: .65rem; }
.operator-links { margin-top: .4rem; }
.aside-panel { border-top: 3px solid var(--blue); padding-top: 1rem; }
.aside-panel h2 { font-size: 1.5rem; margin-bottom: .6rem; }
.aside-panel p { font-size: .94rem; color: var(--muted); }
.source-note, .pair { background: var(--soft); border-left: 3px solid var(--blue); padding: 1.15rem 1.35rem .8rem; }
.source-note { margin-top: 2rem; font-size: .9rem; }
.source-note strong { font: 700 .72rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.source-note p { margin-top: .35rem; }
.pair h2 { margin: .65rem 0; }
.itinerary-lead { padding-block: .9rem 1.25rem; border-block: 1px solid var(--rule); }
.itinerary-lead h2 { margin: .5rem 0; }
.itinerary-lead h2 a { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; }
.itinerary-lead h2 .icon { width: 22px; height: 22px; }
.section-head { border-top: 2px solid var(--blue); padding-top: 1rem; margin-bottom: 1rem; }
.region-links { display: flex; flex-wrap: wrap; gap: .2rem 1.1rem; margin-bottom: 1.1rem; }
.region-grid { display: grid; gap: 2rem 3.5rem; }
.region-block { border-top: 2px solid var(--blue); padding-top: .9rem; scroll-margin-top: 1rem; }
.region-block h2 { font-size: 1.7rem; }
.form-frame { display: block; width: 100%; height: 720px; border: 1px solid var(--rule); margin-top: .8rem; background: #fff; }
@media (max-width: 940px) {
  .opening-grid { gap: 2rem; grid-template-columns: 1fr 1fr; }
  .directory-body { gap: 1.8rem; }
  .directory-table .region-col { display: none; }
}
@media (max-width: 730px) {
  .opening-grid, .directory-body, .reading-grid, .split, .region-grid { grid-template-columns: minmax(0,1fr); }
  .opening-grid { gap: 1.1rem; padding-block: 1.45rem 1.7rem; }
  .locator h1 { font-size: clamp(2.5rem, 7.7vw, 3.9rem); line-height: 1.02; margin: .45rem 0 .55rem; }
  .locator h1 span { display: inline; }
  .locator-intro { font-size: 1rem; line-height: 1.4; max-width: 52ch; }
  #locality-form { margin-top: .85rem; }
  .locator-links { margin-top: .1rem; }
  .comparison { padding: 1.2rem; }
  .comparison h2 { font-size: 2.15rem; }
  .comparison-prompt { margin: .3rem 0 .65rem; }
  .pair-answer, .other-answer { margin-top: .85rem; padding-top: .85rem; }
  .home-desks { padding: 0; border: 0; }
  .city-title { grid-template-columns: minmax(0,1fr); gap: 1rem; padding-bottom: 1.2rem; }
  .jurisdiction-facts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem 1rem; }
  .jump-links { column-gap: 1rem; }
  .city-title .eyebrow { margin-top: .45rem; }
}
@media (max-width: 440px) {
  .search-box { padding-left: .7rem; gap: .45rem; }
  .search-box > .icon { width: 18px; height: 18px; }
  .search-box button { padding-inline: .75rem; }
  .directory-table td, .directory-table tbody th, table thead th, .provider-table td, .provider-table tbody th { padding-inline: .55rem; }
  .provider-table { font-size: .92rem; }
  .jump-links { gap: .1rem .8rem; }
  .jump-links a { font-size: .84rem; }
}
