/* Standalone feature stylesheet: no new Sass build dependency. */
.fodi-finder, .fodi-contact-page, .fodi-contact-sticky {
    --contact-dark: var(--wp--preset--color--fodi-dark-blue, #1c293f);
    --contact-red: var(--wp--preset--color--fodi-red, #ed140b);
    --contact-aqua: #59c2d7;
    color: var(--contact-dark);
    font-family: Outfit, sans-serif;
    box-sizing: border-box;
}
.fodi-finder *, .fodi-contact-page *, .fodi-contact-sticky * { box-sizing: border-box; }
.fodi-finder [hidden], .fodi-contact-page [hidden], .fodi-contact-sticky[hidden], .fodi-contact-sticky [hidden] { display: none !important; }
.fodi-finder { position: relative; container-type: inline-size; display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 54%); grid-template-rows: auto 1fr; gap: 0; isolation: isolate; padding: 0; max-width: 1400px; margin-inline: auto; }
/* Proportions follow the supplied 1120 × 732 reference frame. Container units
   keep the composition tied to the block width rather than the browser width. */
.fodi-finder__intro { grid-column: 1; grid-row: 1; min-width: 0; min-height: 24.8cqw; padding: 0 0 5.2cqw; }
.fodi-finder__intro h2 { font-size: clamp(28px, 2.86cqw, 40px); line-height: 1.25; font-weight: 800; margin: 1.8cqw 0 2.2cqw; }
.fodi-finder__intro > p:last-child { font-size: clamp(13px, 1.15cqw, 16px); line-height: 1.6; margin: 0; }
.fodi-finder__eyebrow { font-weight: 600; font-size: clamp(12px, 1.15cqw, 16px); line-height: 1.4; margin: 0; }
.fodi-finder__eyebrow::before { content: ''; display: inline-block; width: .55em; height: .55em; border-radius: 50%; background: var(--contact-red); margin-right: .5em; }
.fodi-finder__panel { position: relative; grid-column: 1; grid-row: 2; min-width: 0; min-height: 40.5cqw; padding: 2.85cqw 2.14cqw 5.2cqw; }
.fodi-finder__panel::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 100cqw; background: #f5f6f8; border-radius: 4px; z-index: -1; }
.fodi-finder__search label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.fodi-finder__search > div { display: flex; flex-wrap: wrap; gap: .75rem; }
.fodi-finder__input { position: relative; display: block; width: 16.5cqw; max-width: 100%; }
.fodi-finder__input .fodi-archive-filters__search-icon { position: absolute; top: 50%; right: .7rem; width: clamp(18px, 1.5cqw, 22px); height: clamp(18px, 1.5cqw, 22px); transform: translateY(-50%); pointer-events: none; }
.fodi-finder__input .fodi-archive-filters__search-icon::before { border-width: 2px; }
.fodi-finder__input .fodi-archive-filters__search-icon::after { height: 2px; }
.fodi-finder__search input { display: block; width: 100%; max-width: 100%; border: 2px solid var(--contact-dark); border-radius: 3px; background: transparent; padding: .4rem 2.4rem .4rem .7rem; font: inherit; color: inherit; }
.fodi-finder__search button, .fodi-contact-national { display: inline-block; border: 0; border-radius: 3px; padding: .75rem 1rem; background: var(--contact-red); color: #fff; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; line-height: 1.2; }
.fodi-contact-text-button { border: 0; padding: .2rem 0; margin: .65rem .7rem .4rem 0; background: none; color: inherit; font: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; }
.fodi-contact-national { margin: .4rem .4rem .4rem 0; }
.fodi-finder__search input, .fodi-finder__search button { min-height: 36px; height: 2.85cqw; font-size: clamp(13px, 1.14cqw, 16px); line-height: 1.2; }
.fodi-finder__search button { padding: .4rem .8rem; }
.fodi-finder .fodi-contact-text-button { font-size: clamp(11px, .98cqw, 14px); line-height: 1.4; margin-top: .7cqw; margin-bottom: 0; }
.fodi-finder :focus-visible, .fodi-contact-page :focus-visible, .fodi-contact-sticky :focus-visible { outline: 3px solid var(--contact-aqua); outline-offset: 4px; }
.fodi-finder [data-contact-status] { font-size: .9rem; }
.fodi-finder [data-contact-status]:not([data-kind="error"]):not([data-kind="loading"]) { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.fodi-finder [data-contact-result] { margin-top: 3.4cqw; }
.fodi-finder [data-contact-result]:empty { margin-top: 0; }
.fodi-contact-card { display: grid; grid-template-columns: minmax(75px, 32%) minmax(0, 1fr); gap: 1.25rem; padding: clamp(1rem, 2vw, 1.75rem); background: #fff; border-radius: 4px; align-items: start; }
.fodi-contact-photo { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.fodi-contact-card__details { min-width: 0; }
.fodi-contact-placeholder { position: relative; overflow: hidden; background: #e6eaf0; }
.fodi-contact-placeholder::before { content: ''; position: absolute; width: 30%; height: 30%; top: 19%; left: 35%; border-radius: 50%; background: #99a8b9; }
.fodi-contact-placeholder::after { content: ''; position: absolute; width: 65%; height: 53%; top: 56%; left: 17.5%; border-radius: 50% 50% 0 0; background: #99a8b9; }
.fodi-contact-card__region { display: inline-block; font-size: .65rem; text-transform: uppercase; background: #f5f6f8; padding: .2rem .35rem; margin: 0 0 .75rem; }
.fodi-contact-card h3 { margin: 0 0 .8rem; font-size: 1.1rem; }
.fodi-contact-card__email, .fodi-contact-card__phone { display: block; color: inherit; text-decoration: none; font-size: .85rem; line-height: 1.6; overflow-wrap: anywhere; margin-block: .3rem; }
.fodi-contact-card__email::before, .fodi-contact-card__phone::before { content: ''; display: inline-block; width: 1.2em; height: 1.2em; margin-right: .4em; background: url('../images/contacts/email.svg') center / contain no-repeat; vertical-align: middle; }
.fodi-contact-card__phone::before { background-image: url('../images/contacts/phone.svg'); }
.fodi-contact-card blockquote { grid-column: 1 / -1; border: 0; padding: 0; margin: .4rem 0 0; font-size: .9rem; line-height: 1.6; }
.fodi-finder .fodi-contact-card { padding: 2.14cqw 1.43cqw; column-gap: 1.43cqw; row-gap: 2.4cqw; align-content: start; }
.fodi-finder .fodi-contact-card h3 { font-size: clamp(14px, 1.14cqw, 16px); line-height: 1.3; margin: 0 0 .8cqw; }
.fodi-finder .fodi-contact-card__region { font-size: clamp(8px, .65cqw, 10px); line-height: 1.4; margin: 0 0 1cqw; }
.fodi-finder .fodi-contact-card__email, .fodi-finder .fodi-contact-card__phone,
.fodi-finder .fodi-contact-card blockquote { font-size: clamp(11px, .98cqw, 14px); }
.fodi-finder .fodi-contact-card__email, .fodi-finder .fodi-contact-card__phone { display: flex; align-items: flex-start; gap: .4em; margin-block: .2cqw; }
.fodi-finder .fodi-contact-card__email::before, .fodi-finder .fodi-contact-card__phone::before { flex: 0 0 1.2em; margin: .2em 0 0; }
.fodi-finder .fodi-contact-card blockquote { margin: 0; }
.fodi-contact-button { margin-top: 1rem; }
.fodi-contact-button .fodi-contact-cta {
    --contact-button-padding: 1rem;
    display: inline-block; width: auto; min-height: 0;
    padding: .75rem var(--contact-button-padding) .75rem calc(var(--contact-button-padding) + .9rem) !important;
    margin: 0; border-radius: 3px;
    font-size: .9rem; font-weight: 600 !important; line-height: 1.2;
    text-decoration: none;
}
.fodi-contact-button .fodi-contact-cta::before { left: var(--contact-button-padding); width: .4rem; height: .4rem; }
.fodi-finder .fodi-contact-button { margin-top: 1cqw; }
.fodi-finder .fodi-contact-cta {
    --contact-button-padding: .9em;
    font-size: clamp(11px, .98cqw, 14px);
    padding-top: .7em !important; padding-bottom: .7em !important;
}
.fodi-finder__map { grid-column: 2; grid-row: 1 / 3; position: relative; align-self: start; width: 86%; margin: 1.8cqw 0 0 7.4%; aspect-ratio: 2750 / 3565; pointer-events: none; }
.fodi-finder__map svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 6px 6px #1c293f30); }
.fodi-finder__map [data-region] { fill: var(--contact-dark); transition: fill .25s ease; }
.fodi-finder__map [data-region].is-active { fill: var(--contact-aqua); }
.fodi-map-portrait { position: absolute; width: 11%; height: auto; aspect-ratio: 1; object-fit: cover; border: 2px solid var(--contact-aqua); border-radius: 50%; transform: translate(-50%, -50%); transition: transform .25s ease, box-shadow .25s ease; background: white; }
.fodi-map-portrait.fodi-contact-placeholder { background: #e6eaf0; }
.fodi-map-portrait.is-active { transform: translate(-50%, -50%) scale(1.35); box-shadow: 0 4px 12px #1c293f35; z-index: 2; }
.fodi-contact-sticky { --sticky-avatar: 116px; position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); width: var(--sticky-avatar); height: var(--sticky-avatar); z-index: 90; color: #fff; }
.fodi-contact-sticky__toggle { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 6px solid var(--contact-dark); border-radius: 50%; background: var(--contact-dark); color: #fff; cursor: pointer; box-shadow: 0 0 10px #1c293f50; }
.fodi-contact-sticky__toggle [data-contact-avatar] { display: block; width: 100%; height: 100%; }
.fodi-contact-sticky__toggle .fodi-contact-photo { width: 100%; height: 100%; }
.fodi-contact-sticky__badge { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 34px; height: 34px; background: var(--contact-red); color: #fff; border-radius: 50%; font-size: 18px; font-weight: 400; line-height: 1; }
.fodi-contact-sticky__panel { position: absolute; right: 46px; bottom: 38px; width: min(312px, calc(100vw - 94px)); padding: 14px 12px 16px; border-radius: 4px; background: var(--contact-dark); color: #fff; max-height: calc(100dvh - 100px); overflow-y: auto; box-shadow: 0 4px 16px #1c293f15; }
.fodi-contact-sticky__close { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; color: #fff; font: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.fodi-contact-sticky__heading, .fodi-contact-sticky__name { font-size: 16px; font-weight: 700; line-height: 1.5; margin: 0 0 14px; }
.fodi-contact-sticky__heading { padding-right: 24px; }
.fodi-contact-sticky__detail { font-weight: 400 !important; display: flex; align-items: flex-start; gap: 5px; font-size: 16px; line-height: 1.5; margin: 4px 0; overflow-wrap: anywhere; text-decoration: none; }
.fodi-contact-sticky__detail::before { content: ''; flex: 0 0 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--contact-red) url('../images/icons/mail.svg') center / 12px 12px no-repeat; }
.fodi-contact-sticky__detail--phone::before { background-image: url('../images/icons/call.svg'); }
.fodi-contact-sticky__detail--mobile::before { background-image: url('../images/icons/mobile.svg'); }
.fodi-contact-sticky__cta { display: inline-block; font-size: 16px; font-weight: 700; line-height: 1.5; margin-top: 12px; text-decoration: underline !important; text-underline-offset: 2px; }
.fodi-contact-sticky__detail:hover, .fodi-contact-sticky__cta:hover { text-decoration: underline; }
.fodi-contact-sticky__actions { display: none; flex-wrap: wrap; gap: 4px 12px; margin-top: 10px; padding-right: 58px; }
.fodi-contact-sticky__actions .fodi-contact-text-button { font-size: 11px; line-height: 1.4; margin: 0; }
.fodi-contact-page { max-width: 850px; margin: 2rem auto; }
.fodi-contact-page > label { display: block; margin: 1.5rem 0; color: #8a909d; font-size: var(--fs-p-small, 14px); line-height: var(--lh-p-small, 22px); font-weight: 400; }
/* Match the adjacent Contact Form 7 fields, including their focus treatment. */
.fodi-contact-page select {
    display: block; max-width: 100%; width: 100%; min-height: 62px;
    padding: 18px 48px 18px 20px; margin-top: 8px;
    border: 1px solid transparent; border-radius: 4px;
    color: var(--fodi-dark-blue, #1d293e);
    background: var(--fodi-light, #f4f5f7) url('../images/icons/chevron-down.svg') right 20px center / 12px 8px no-repeat;
    font-family: Outfit, sans-serif; font-size: var(--fs-p, 17px);
    line-height: var(--lh-p, 26px); font-weight: 400;
    appearance: none; cursor: pointer; text-overflow: ellipsis;
    transition: border-color .25s, background-color .25s;
}
.fodi-contact-page select:focus { border-color: var(--fodi-blue, #59c2d7); background-color: var(--fodi-white, #fff); }
.fodi-contact-page [data-hubspot-container] { --hsf-global__font-family: Outfit, sans-serif; --hsf-global__color: #1c293f; --hsf-button__background-color: #ed140b; --hsf-button__color: white; --hsf-button__border-radius: 3px; }
@media (max-width: 760px) {
    .fodi-finder { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.25rem; background: #f5f6f8; }
    .fodi-finder__intro, .fodi-finder__panel, .fodi-finder__map { grid-column: 1; grid-row: auto; }
    .fodi-finder__intro { min-height: 0; padding: 0; }
    .fodi-finder__intro h2 { margin: 1rem 0 1.25rem; }
    .fodi-finder__intro > p:last-child { font-size: 15px; }
    .fodi-finder__map { width: 92%; max-width: 480px; margin: 0; justify-self: center; }
    .fodi-finder__panel { min-height: 0; padding: 0; }
    .fodi-finder__panel::before { display: none; }
    .fodi-finder__input { width: 11rem; flex: 1 1 9rem; min-width: 0; }
    .fodi-finder__search input, .fodi-finder__search button { height: 44px; }
    .fodi-finder .fodi-contact-text-button { font-size: 12px; margin-top: .6rem; }
    .fodi-finder [data-contact-result] { margin-top: 1.5rem; }
    .fodi-finder .fodi-contact-card { min-height: 0; padding: 1rem; gap: 1rem; }
    .fodi-finder .fodi-contact-card h3 { margin-bottom: .75rem; }
    .fodi-finder .fodi-contact-card__region { margin-bottom: .75rem; }
    .fodi-finder .fodi-contact-card__email, .fodi-finder .fodi-contact-card__phone,
    .fodi-finder .fodi-contact-card blockquote { font-size: 12px; }
    .fodi-finder .fodi-contact-button { margin-top: .75rem; }
    .fodi-finder .fodi-contact-cta { font-size: 12px; }
    .fodi-contact-sticky { --sticky-avatar: 72px; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
    .fodi-contact-sticky__toggle { border-width: 4px; }
    .fodi-contact-sticky__badge { width: 24px; height: 24px; font-size: 12px; top: -5px; right: -5px; }
    .fodi-contact-sticky__panel { right: 40px; bottom: 24px; width: min(256px, calc(100vw - 72px)); max-height: calc(100dvh - 72px); }
    .fodi-contact-sticky__heading, .fodi-contact-sticky__name { font-size: 14px; }
    .fodi-contact-card { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    .fodi-map-portrait, .fodi-finder__map [data-region] { transition: none; }
}

/* Contact preference radios must not inherit full-width text-input sizing. */
.wpcf7 .contact-form-preference { border: 0; padding: 0; min-width: 0; }
.wpcf7 .contact-form-preference legend { color: #8a909d; font-size: var(--fs-p-small, 14px); margin-bottom: 8px; }
.wpcf7 .contact-form-preference .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.wpcf7 .contact-form-preference .wpcf7-list-item { flex: 0 0 auto; margin: 0; }
.wpcf7 .contact-form-preference label { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--fodi-dark-blue, #1d293e); cursor: pointer; }
.wpcf7 .contact-form-preference .wpcf7-list-item-label { white-space: nowrap; }
/* Outrank the theme's text-input selector with its three :not() attributes. */
.wpcf7 .contact-form-container .contact-form-preference .wpcf7-radio input[type="radio"] {
    flex: 0 0 18px; width: 18px; height: 18px; min-width: 18px; min-height: 18px;
    padding: 0; margin: 0; border-radius: 50%; appearance: auto;
    accent-color: var(--contact-red, #e4190e); cursor: pointer;
}
