:root {
    color-scheme: light;
    --navy: #082957;
    --red: #d9203b;
    --gold: #f7bb38;
    --text: #142e4c;
    --muted: #53677d;
    --border: #dbe4ee;
    font: 16px/1.45 system-ui, sans-serif;
    color: var(--text);
    background: #eef3f9;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #1866bb; outline-offset: 3px; }

.directory {
    width: min(100% - 28px, 570px);
    margin: clamp(14px, 5vw, 54px) auto;
}

.hero {
    display: grid;
    justify-items: center;
    gap: 4px;
    text-align: center;
    color: white;
    background: var(--red);
    border-radius: 24px 24px 10px 10px;
    border-bottom: 5px solid var(--gold);
    padding: clamp(16px, 5vw, 30px) 16px 18px;
    margin-bottom: 14px;
}

.hero img { display: block; width: min(84%, 270px); height: auto; }
h1 { margin: 0; font-size: clamp(1.45rem, 5vw, 1.9rem); letter-spacing: -.04em; }
h2 { margin: 0 0 10px; font-size: 1.12rem; letter-spacing: -.02em; }

.contact, .social { display: grid; gap: 8px; }
.social { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 53px;
    padding: 11px 14px;
    border-radius: 11px;
    border: 1px solid var(--border);
    background: white;
    text-decoration: none;
    transition: background-color .15s, border-color .15s;
}

.link-text { display: grid; gap: 2px; }
.link small { color: var(--muted); }
.link > span[aria-hidden] { color: var(--navy); flex: none; }
.link:hover { border-color: #95acc8; background: #f7faff; }
.link.featured { background: var(--navy); color: white; border-color: var(--navy); }
.link.featured:hover { background: #12396b; }
.link.featured small { color: #dbe7f8; }
.link.featured > span[aria-hidden] { color: var(--gold); }

.section { margin-top: 22px; }
.location { overflow: hidden; border: 1px solid var(--border); border-radius: 15px; background: white; }
.location-copy { padding: 15px 16px; }
address { font-style: normal; color: var(--muted); }
.directions { display: inline-flex; align-items: center; gap: 5px; margin-top: 9px; padding-block: 5px; color: var(--navy); font-weight: 700; }
.location iframe { display: block; width: 100%; height: clamp(215px, 55vw, 300px); border: 0; }

@media (max-width: 330px) {
    .social { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .link { transition: none; }
}

.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
    width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor;
    stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle;
}
.icon-tile {
    width: 34px; height: 34px; flex: none; display: grid; place-items: center;
    border-radius: 9px; color: var(--navy); background: #edf3fb;
}
.link { justify-content: flex-start; }
.link > .icon-arrow { margin-inline-start: auto; width: 1rem; height: 1rem; }
.link.featured .icon-tile { background: #ffffff24; color: white; }
.link.featured > .icon-arrow { color: var(--gold); }
h2 .icon { color: var(--navy); margin-inline-end: 3px; }
.directions .icon { width: .9rem; height: .9rem; }
@media (max-width: 380px) {
    .social .link { padding-inline: 9px; gap: 6px; }
    .social .icon-tile { width: 26px; height: 30px; }
    .social .icon-tile .icon { width: 1rem; height: 1rem; }
}
