/* Switch branch directory additions; palette comes from variables.css. */
#switch-branches { font-family: 'Poppins', sans-serif; font-weight: 400; }
#switch-branches .branch-directory__lead,
#switch-branches .branch-card address,
#switch-branches .branch-card__contact { font-weight: 400; }
#switch-branches .branch-card__phone { font-weight: 600; }
#switch-branches .branch-directory__hero { border-color: var(--site-accent); }
#switch-branches .branch-directory__eyebrow { color: var(--site-accent-hover); }
#switch-branches .branch-directory__hero-icon { color: var(--site-accent-hover); }
#switch-branches .branch-directory__grid { align-items: stretch; }
#switch-branches .branch-card { transition: transform .2s ease, border-color .2s ease; }
#switch-branches .branch-card__heading { padding-bottom: 20px; border-bottom: 1px solid var(--site-divider); }
#switch-branches .branch-card address { color: var(--site-text); }
#switch-branches .branch-card__map-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 14px 28px; background: var(--site-surface-soft); color: var(--site-text-muted); font-size: 11px; line-height: 1.6; font-weight: 600; letter-spacing: .3px; }
#switch-branches .branch-card__map-heading > span:first-child { display: inline-flex; align-items: center; gap: 9px; }
#switch-branches .branch-card__map-heading i { color: var(--site-action); font-size: 14px; }
#switch-branches .branch-card__map-embed { height: 240px; }
#switch-branches .branch-card__map-embed iframe { height: 240px; }
#switch-branches .branch-card__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
#switch-branches .branch-card__directions { background: var(--site-action-gradient); }
#switch-branches .branch-card__directions:hover { background: var(--site-action-gradient-hover); }
html.dark #switch-branches .branch-card__directions,
html.dark #switch-branches .branch-card__directions:hover { color: var(--site-brand-primary-deep) !important; }
#switch-branches .branch-card__enquiry { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--site-text-strong); font-size: 12px; font-weight: 600; }
#switch-branches .branch-card__enquiry:hover { color: var(--site-action-hover); text-decoration: underline; text-underline-offset: 4px; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    #switch-branches .branch-card:hover { transform: translateY(-3px); border-color: var(--site-action); }
}
@media (max-width: 700px) {
    #switch-branches .branch-card__map-heading { padding: 14px 24px; }
    #switch-branches .branch-card__map-embed,
    #switch-branches .branch-card__map-embed iframe { height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
    #switch-branches .branch-card { transition: none; }
}
