* { box-sizing: border-box; }
body { margin: 0; color: var(--forest); background: var(--warm); font: 400 16px/1.5 var(--font-body); }
.site-mast span { font-weight: 650; }
.directory { width: min(100% - 10vw, 1080px); margin: auto; padding: clamp(42px, 7vw, 88px) 0; min-height: 65vh; }
.directory h1 { margin: 0; font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: -.055em; font-weight: 680; }
.intro { margin: 14px 0 32px; color: #405760; font-size: clamp(16px, 2vw, 20px); }
.directory label { display: block; margin-bottom: 7px; font-weight: 600; }
.search-field { display: flex; align-items: center; gap: 12px; max-width: 540px; padding: 0 16px; background: white; border: 1px solid #839699; border-radius: 7px; }
.search-field svg { width: 21px; height: 21px; flex: none; }
.search-field input { min-width: 0; width: 100%; padding: 14px 0; border: 0; background: transparent; color: inherit; font: inherit; }
.search-field:focus-within, .directory a:focus-visible, .directory button:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.search-field input:focus { outline: none; }
#directory-status { margin: 32px 0 10px; color: #435b61; font-size: 15px; }
#directory-retry { padding: 10px 18px; border: 0; border-radius: 5px; color: white; background: var(--forest); font: inherit; cursor: pointer; }
#directory-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; padding: 0; list-style: none; }
#directory-list a { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 82px; height: 100%; padding: 14px 34px 14px 4px; border-top: 1px solid #c6bdb3; color: inherit; text-decoration: none; }
#directory-list a::after { content: ''; position: absolute; right: 7px; width: 8px; height: 8px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
#directory-list a:hover strong, #directory-list a:focus-visible strong { text-decoration: underline; text-underline-offset: 3px; }
#directory-list strong { font-size: 18px; line-height: 1.35; font-weight: 640; }
#directory-list span { margin-top: 3px; color: #435b61; font-size: 14px; }
@media (max-width: 640px) {
  #directory-list { grid-template-columns: minmax(0, 1fr); }
  .directory { width: auto; margin-inline: 6vw; }
}
