.address-main { padding-bottom: 36px; }
.address-site-header .header-inner { justify-content: space-between; }
.address-header-inner .brand img { width: 170px; }
.address-top-nav { justify-content: flex-end; gap: 24px; }
.address-top-nav a { color: #fff; }
.address-top-nav a:hover,.address-top-nav a:focus-visible { color: #a8c7e7; }
.address-utility { align-items: center; gap: 16px; }
.address-utility a,.address-site-footer a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.address-directory__intro { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(280px,.7fr); align-items: end; gap: 36px; margin: 30px 0 34px; }
.address-directory__intro h1,.address-detail__header h1 { margin: 5px 0 10px; font-size: clamp(28px,4vw,38px); line-height: 1.15; letter-spacing: -.5px; }
.address-directory__intro p,.address-detail__location { color: var(--muted); margin: 0; }
.address-search { display: grid; gap: 7px; }
.address-search label { font-weight: 600; }
.address-search__controls { display: flex; min-width: 0; }
.address-search input { min-width: 0; width: 100%; padding: 11px 12px; border: 1px solid #aeb8bb; border-right: 0; border-radius: 3px 0 0 3px; background: #fff; color: var(--ink); font: inherit; }
.address-search button { flex: 0 0 auto; padding: 10px 18px; border: 1px solid var(--blue); border-radius: 0 3px 3px 0; background: var(--blue); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.address-search button:hover { background: #21456d; }
.address-search__reset { width: fit-content; color: var(--blue); font-size: 13px; text-decoration: underline; text-underline-offset: 2px; }
.address-section { margin: 32px 0; }
.address-section__heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.address-section__heading h2,.address-detail h2 { margin: 0; font-size: 21px; line-height: 1.3; font-weight: 600; }
.address-section__heading > span { color: var(--muted); font-size: 13px; }
.address-entry-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 28px; margin: 0; padding: 0; list-style: none; }
.address-entry-grid li { min-width: 0; border-bottom: 1px solid var(--line); }
.address-entry { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 4px; color: var(--blue); }
.address-entry:hover { color: #173c60; background: #f7f8f6; }
.address-entry > span:first-child { overflow-wrap: anywhere; }
.address-entry__count { flex: 0 0 auto; min-width: 28px; padding: 2px 7px; border-radius: 999px; background: #edf1f1; color: #52616a; text-align: center; font-size: 12px; }
.address-result-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 18px; margin-top: 16px; }
.address-result { min-width: 0; padding: 16px; border: 1px solid var(--line); border-top: 3px solid #a6b5b5; background: #fafbf9; }
.address-result h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.35; font-weight: 600; }
.address-result h3 a { color: var(--blue); text-decoration: underline; text-decoration-color: #b7c5ca; text-underline-offset: 3px; overflow-wrap: anywhere; }
.address-result p { margin: 0; color: var(--muted); font-size: 13px; }
.address-result__geo { display: inline-block; margin-top: 8px; color: #536a58; font-size: 12px; }
.address-empty { grid-column: 1/-1; margin: 0; padding: 22px; background: var(--paper); color: var(--muted); }
.address-pagination { align-items: center; gap: 12px; }
.address-pagination a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.address-detail__header { margin: 26px 0 30px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.address-detail__location { margin-top: 8px; font-size: 16px; }
.address-map-link { display: inline-block; margin-top: 12px; color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.address-detail__facts { margin: 30px 0; }
.address-detail__facts dl { margin: 14px 0 0; border-top: 1px solid var(--line); }
.address-detail__facts dl > div { display: grid; grid-template-columns: minmax(160px,.45fr) minmax(0,1fr); gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.address-detail__facts dt { font-weight: 600; }
.address-detail__facts dd { margin: 0; overflow-wrap: anywhere; }
.address-footer-inner { grid-template-columns: minmax(0,2fr) minmax(180px,1fr); }
.address-site-footer .footer-inner nav { grid-column: auto; }
@media (max-width: 760px) {
  .address-directory__intro { grid-template-columns: 1fr; gap: 18px; margin-top: 22px; }
  .address-result-list { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .address-header-inner { align-items: flex-start; flex-direction: column; padding: 13px 0; }
  .address-header-inner .brand img { width: 145px; }
  .address-top-nav { justify-content: flex-start; gap: 18px; font-size: 12px; }
  .address-utility { align-items: flex-start; flex-direction: column; gap: 3px; }
  .address-entry-grid { grid-template-columns: 1fr; }
  .address-detail__facts dl > div { grid-template-columns: 1fr; gap: 3px; }
  .address-pagination { flex-wrap: wrap; }
  .address-footer-inner { grid-template-columns: 1fr; }
}
