.agency-intro { padding-block: 28px 44px; }
.agency-intro .breadcrumbs { margin-bottom: 40px; }
.agency-intro-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 70px; align-items: end; }
.agency-intro h1 { font-size: clamp(40px,5vw,72px); line-height:1.08; letter-spacing:-.045em; margin-top:18px; }
.agency-intro .eyebrow { color:var(--wine); }
.agency-intro-grid > p { max-width:460px; font-size:18px; line-height:1.75; color:var(--muted); }
.directory { padding-bottom:70px; }
.agency-filters { display:grid; grid-template-columns: 1.7fr 1fr auto; gap:20px; align-items:end; background:#fff; padding:28px; border-radius:12px; }
.agency-filters label { display:block; font-size:14px; font-weight:600; margin-bottom:12px; }
.agency-filters input,.agency-filters select { width:100%; min-height:52px; border:1px solid #b9adb0; border-radius:6px; background:#fff; color:var(--ink); padding:12px 14px; font:inherit; font-size:16px; }
.agency-filters input:focus-visible,.agency-filters select:focus-visible { outline:3px solid #b98835; outline-offset:3px; }
.filter-reset { border:0; background:#eee7e2; border-radius:6px; min-height:52px; padding:12px 18px; font-size:14px; }
.directory-toolbar { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; padding-block:26px; font-size:14px; color:var(--muted); }
#agency-count { font-weight:600; color:var(--wine); }
.directory-layout { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr); gap:28px; align-items:start; }
.agency-results { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.agency-card { display:flex; flex-direction:column; background:#fff; border-radius:10px; padding:26px; transition:box-shadow .18s; min-width:0; }
.agency-card.is-selected { box-shadow:0 0 0 2px var(--wine); }
.agency-province { color:var(--muted); font-size:12px; margin-bottom:12px; }
.agency-card h2 { font-size:25px; line-height:1.2; letter-spacing:-.025em; margin-bottom:22px; overflow-wrap:anywhere; }
.agency-card address { font-style:normal; font-size:15px; line-height:1.65; color:#63595d; flex:1; }
.agency-card address p + p { margin-top:8px; }
.agency-card-actions { display:flex; flex-direction:column; align-items:flex-start; gap:16px; margin-top:24px; }
.agency-card-actions > a { color:var(--wine); font-size:19px; font-weight:600; text-decoration:none; }
.agency-card-actions > a:hover { text-decoration:underline; text-underline-offset:4px; }
.agency-map-button { border:0; border-radius:5px; background:#eee6e2; padding:11px 15px; font-size:14px; min-height:44px; }
.agency-map-button:hover { background:#dfd1cd; }
.agency-pending { font-size:13px; color:var(--muted); }
.agency-map { position:sticky; top:24px; background:#eee7e2; border-radius:12px; overflow:hidden; scroll-margin-top:20px; }
.map-header { padding:28px; }.map-header .eyebrow { color:var(--wine); margin-bottom:15px; }
.map-header h2 { font-size:29px; letter-spacing:-.025em; line-height:1.2; margin-bottom:14px; }
.map-header > p:last-child { font-size:15px; line-height:1.65; color:var(--muted); }
.map-placeholder { display:grid; place-items:center; min-height:330px; padding:30px; color:var(--wine); }
.map-placeholder svg { width:220px; max-width:100%; opacity:.7; }
.map-placeholder p { color:var(--muted); font-size:14px; }
.agency-map iframe { border:0; width:100%; height:360px; display:block; background:#e5dfd8; }
.map-footer { display:flex; flex-direction:column; align-items:flex-start; gap:16px; padding:24px 28px; }
.map-footer a { font-size:15px; line-height:1.6; color:var(--wine); text-underline-offset:4px; }
.map-footer button { border:0; padding:8px 0; background:transparent; font-size:13px; text-decoration:underline; color:var(--muted); }
#agency-more { margin-top:28px; }
.agency-empty { background:#fff; border-radius:10px; padding:35px; }
.agency-empty h2 { font-size:26px; line-height:1.2; margin-bottom:18px; }
.agency-empty p { line-height:1.7; margin-bottom:20px; }
.agency-empty button { border:0; background:var(--wine); color:#fff; padding:14px 20px; border-radius:6px; }
.agency-assistance { background:#eee5df; padding-block:60px; }
.agency-assistance h2 { font-size:clamp(30px,3.5vw,46px); line-height:1.2; }
.agency-assistance p { font-size:17px; margin-block:20px 26px; line-height:1.7; }
@media(max-width:1100px) { .agency-results { grid-template-columns:1fr; }.directory-layout { grid-template-columns:minmax(0,1fr) minmax(280px,1fr); }.agency-intro-grid { gap:35px; } }
@media(max-width:750px) { .agency-intro-grid { grid-template-columns:1fr; gap:22px; }.agency-intro-grid > p { font-size:17px; }.agency-filters { grid-template-columns:1fr; padding:22px; gap:20px; }.filter-reset { justify-self:start; min-height:44px; }.directory-layout { display:flex; flex-direction:column-reverse; gap:22px; }.directory-layout > div,.agency-map { width:100%; }.agency-map { position:static; }.map-header { padding:22px; }.map-placeholder { min-height:0; padding:0 22px 22px; }.map-placeholder svg { display:none; }.map-placeholder p { display:none; }.map-header > p:last-child { margin-bottom:0; }.agency-card { padding:24px; }.agency-card-actions { flex-direction:row; flex-wrap:wrap; align-items:center; justify-content:space-between; }.agency-card h2 { font-size:25px; margin-bottom:18px; }.agency-intro .breadcrumbs { margin-bottom:30px; }.agency-map iframe { height:300px; } }
@media(prefers-reduced-motion:reduce) { .agency-card { transition:none; } }
.agency-results.is-single { grid-template-columns:1fr; }
