.results { padding-top: clamp(26px, 4vw, 55px); scroll-margin-block-start: 20px; }
.results:not([hidden]) { padding-bottom: clamp(28px, 4.5vw, 62px); }
.results-heading { display: flex; gap: 20px; align-items: flex-start; justify-content: space-between; padding-bottom: 19px; }
.results-heading h2, .visit-intro h2 { font: 450 clamp(30px, 2.8vw, 43px)/1.07 "Spectral", Georgia, serif; letter-spacing: -.045em; }
.results-heading h2 { overflow-wrap: anywhere; }
.results-heading h2:focus { outline: none; }
.results-heading p { margin-top: 8px; color: var(--brand-muted); }
.clean-link, #search-alternatives a, .record-actions a { display: inline-flex; width: fit-content; align-items: center; gap: 7px; min-height: 40px; color: var(--brand-action); text-underline-offset: 4px; font-size: 14px; font-weight: 600; }
.clean-link { flex-shrink: 0; }
#result-list { margin: 0; padding: 0; list-style: none; }
#result-list > li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .92fr) minmax(150px, .59fr); align-items: center; gap: clamp(16px, 3.2vw, 52px); padding: 17px 4px; border-top: 1px solid var(--brand-line); }
#result-list > li:last-child { border-bottom: 1px solid var(--brand-line); }
.record-identity { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: start; gap: 13px; }
.result-icon { display: grid; place-items: center; width: 40px; height: 40px; color: var(--brand-action); background: var(--brand-tint); border-radius: 8px; }
.result-info h3 { font-size: 18px; font-weight: 680; line-height: 1.3; overflow-wrap: anywhere; }
.result-info small, .record-address small, .record-restriction { color: var(--brand-muted); font-size: 13px; line-height: 1.5; }
.record-address { font-style: normal; line-height: 1.45; font-size: 14px; overflow-wrap: anywhere; }
.record-address span { display: block; }
.record-address small { display: block; }
.record-actions { display: grid; justify-content: start; justify-self: end; }
.record-actions a { min-height: 31px; line-height: 1.35; }
.record-actions .map-link { font-weight: 480; }
.record-restriction { display: block; margin-top: 5px; }
#directory-pages { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; padding: 22px 0 10px; font-size: 14px; }
#directory-pages a, .retry-directory { display: inline-flex; align-items: center; min-height: 42px; padding: 4px 13px; border: 1px solid var(--brand-line); border-radius: 6px; text-decoration: none; color: var(--brand-action); background: var(--brand-white); font: inherit; font-weight: 630; cursor: pointer; }
#directory-pages a:hover, .retry-directory:hover { background: var(--brand-tint); }
#directory-pages span, #checked { color: var(--brand-muted); }
#checked { margin-top: 20px; font-size: 13px; line-height: 1.7; }
#checked a { text-underline-offset: 3px; }
#search-alternatives { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; padding: 13px 18px; border-left: 3px solid var(--brand-accent); background: var(--brand-surface); }
.visit-guide { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.3fr); gap: clamp(40px, 6vw, 94px); padding-block: clamp(36px, 5vw, 76px); }
.results:not([hidden]) + .visit-guide { border-top: 1px solid var(--brand-line); }
.visit-intro p { max-width: 49ch; margin-top: 14px; color: var(--brand-muted); line-height: 1.55; }
.visit-links > a { display: grid; grid-template-columns: 36px minmax(0, 1fr) 17px; align-items: start; gap: 11px; padding: 16px 0; border-top: 1px solid var(--brand-line); color: var(--brand-action); text-decoration: none; }
.visit-links > a:last-of-type { border-bottom: 1px solid var(--brand-line); }
.visit-links > a > span:first-child { display: grid; place-items: center; width: 34px; height: 34px; background: var(--brand-surface); border-radius: 7px; }
.visit-links > a > span:last-child { padding-top: 4px; }
.visit-links > a strong { display: block; line-height: 1.4; font-weight: 670; }
.visit-links > a small { display: block; max-width: 64ch; margin-top: 3px; color: var(--brand-muted); font-size: 14px; line-height: 1.45; }
.visit-links > a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.price-compare { margin-top: 14px; color: var(--brand-muted); font-size: 13px; }
.price-compare a { color: var(--brand-action); text-underline-offset: 3px; }
@media (max-width: 820px) {
  #result-list > li { gap: 16px; grid-template-columns: minmax(0, 1.2fr) minmax(0, .86fr) minmax(150px, .7fr); }
  .record-identity { grid-template-columns: minmax(0, 1fr); }
  .result-icon { display: none; }
  .visit-guide { gap: 30px; }
}
@media (max-width: 680px) {
  .results-heading { display: block; padding-bottom: 12px; }
  .clean-link { min-height: 32px; margin-top: 4px; }
  #result-list > li { grid-template-columns: 1fr; gap: 6px; padding-block: 15px; }
  .record-identity { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
  .result-icon { display: grid; width: 32px; height: 32px; border-radius: 6px; }
  .result-icon svg { width: 17px; }
  .record-actions, .record-address { margin-left: 42px; }
  .record-actions { display: flex; flex-wrap: wrap; gap: 1px 16px; justify-self: start; }
  .record-actions a { min-height: 36px; }
  #directory-pages { gap: 8px 12px; }
  .visit-guide { grid-template-columns: 1fr; gap: 20px; }
}
