/**
 * Doctor search results — list layout.
 * Source: Figma "Black Doctor | Design", page Find A Doctor,
 * desktop feed 3286:3268 and mobile feed 3310:1550.
 *
 * Tokens mirror the Figma variables of the same name, scoped to the results
 * block so the theme can override any of them without touching this file.
 */
.bdfad-results {
    --bdfad-bg-primary: #f4f1ed;          /* Background/Background Primary */
    --bdfad-bg-faded: rgba(0, 0, 0, 0.05); /* Background/Background Faded, Form/Input */
    --bdfad-bg-page-button: rgba(0, 0, 0, 0.07); /* Black/black-alpha-7 */
    --bdfad-bg-accent: #efb14d;           /* Background/Background Accent */
    --bdfad-bg-placeholder: #aba9a6;      /* Background/Background Placeholder */
    --bdfad-text-primary: #000;           /* Text/Text Primary */
    --bdfad-text-secondary: #494847;      /* Text/Text Secondary */
    --bdfad-border-primary: #000;         /* Border/Border Primary */
    --bdfad-border-secondary: #aba9a6;    /* Border/Border Secondary */
    --bdfad-button-primary: #000;         /* Button/Button Primary */
    --bdfad-button-text: #fff;            /* Button/Button Text */

    --bdfad-font-primary: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --bdfad-font-secondary: "Erode Variable", "Erode", Georgia, "Times New Roman", serif;

    --bdfad-space-xs: 4px;
    --bdfad-space-s: 8px;
    --bdfad-space-m: 12px;
    --bdfad-space-l: 16px;
    --bdfad-space-xl: 24px;
    --bdfad-space-2xl: 32px;
    --bdfad-space-3xl: 40px;

    width: 100%;
    max-width: 1440px;                    /* Width/max-width */
    margin: 0 auto;
    container: bdfad-results / inline-size;
    font-family: var(--bdfad-font-primary);
    color: var(--bdfad-text-primary);
    zoom: var(--bdfad-zoom, 1);           /* "Desktop size" setting; 1 = Figma size */
}

/* "Mobile size" setting. Keep in sync with BDFAD_Settings::MOBILE_MAX_WIDTH. */
@media (max-width: 767px) {
    .bdfad-results {
        zoom: var(--bdfad-zoom-mobile, 1);
    }
}

.bdfad-results *,
.bdfad-results *::before,
.bdfad-results *::after {
    box-sizing: border-box;
}

.bdfad-results p,
.bdfad-results h3,
.bdfad-results ul {
    margin: 0;
    padding: 0;
}

.bdfad-results li {
    list-style: none;
    margin: 0;
}

.bdfad-icon {
    display: block;
    flex-shrink: 0;
    max-width: none;
}

.bdfad-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Figma sizes text by cap height (text-box-trim). Browsers that support it
   match the design exactly; others fall back to normal line boxes. */
.bdfad-results__count,
.bdfad-results__sort-label,
.bdfad-select__label,
.bdfad-select__control,
.bdfad-badge,
.bdfad-doctor__name,
.bdfad-doctor__distance span,
.bdfad-doctor__address,
.bdfad-button span,
.bdfad-page {
    text-box: trim-both cap alphabetic;
}

.bdfad-results__message {
    padding: var(--bdfad-space-3xl) 0;
    font-size: 20px;
    line-height: 1.3;
}

/* ── Toolbar ─────────────────────────────────────────────────────────────── */

.bdfad-results__toolbar {
    display: flex;
    align-items: flex-start;
    gap: var(--bdfad-space-xl);
    padding-bottom: var(--bdfad-space-2xl);
    border-bottom: 1px solid var(--bdfad-border-primary);
    margin: 0;
}

.bdfad-results__controls {
    display: flex;
    align-items: center;
    gap: var(--bdfad-space-l);
    flex-shrink: 0;
}

.bdfad-results__summary {
    display: flex;
    flex: 1 0 0;
    align-items: center;
    gap: var(--bdfad-space-xl);
    min-width: 0;
    align-self: stretch;
}

/* Toolbar text sizes come from Settings -> Results display -> Text sizes.
   Dividing by the zoom makes the entered pixel size the size visitors see,
   whatever the Desktop / Mobile size percentage is. */
.bdfad-results__count {
    flex: 1 0 0;
    min-width: 0;
    font-size: calc(var(--bdfad-fs-count, 30px) / var(--bdfad-zoom, 1));
    line-height: 1.5;
    font-weight: 400;
    white-space: nowrap;
}

.bdfad-results__sort {
    display: flex;
    flex: 1 0 auto;                       /* never squeeze the select; the count gives way instead */
    align-items: center;
    justify-content: flex-end;
    gap: var(--bdfad-space-m);
    min-width: 0;
}

.bdfad-results__sort .bdfad-select {
    flex-shrink: 0;
}

.bdfad-results__sort-label {
    font-size: calc(var(--bdfad-fs-sort-label, 20px) / var(--bdfad-zoom, 1));
    line-height: 1.3;
    font-weight: 400;
    white-space: nowrap;
}

/* Form/ Select */
.bdfad-select {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--bdfad-space-m);
    min-height: 56px;
    margin: 0;
    padding: var(--bdfad-space-m) var(--bdfad-space-s) var(--bdfad-space-m) var(--bdfad-space-l);
    background: var(--bdfad-bg-faded);
    border: 1px solid var(--bdfad-border-secondary);
    border-radius: 0;
    color: var(--bdfad-text-primary);
    font-family: var(--bdfad-font-primary);
    font-size: calc(var(--bdfad-fs-control, 20px) / var(--bdfad-zoom, 1));
    line-height: 1.3;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
}

/* Native selects own the whole box, padding included, so every pixel opens them. */
.bdfad-select--native {
    padding: 0;
}

.bdfad-select__control {
    appearance: none;
    -webkit-appearance: none;
    min-height: 54px;                     /* 56px box minus the 1px borders */
    margin: 0;
    padding: var(--bdfad-space-m) 44px var(--bdfad-space-m) var(--bdfad-space-l); /* 12 gap + 24 chevron + 8 */
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: 1.3;
    cursor: pointer;
    box-shadow: none;
    outline: none;
    field-sizing: content;                /* size to the chosen option, like the Figma select */
}

.bdfad-select > .bdfad-icon--chevron-down {
    pointer-events: none;
}

.bdfad-select--native > .bdfad-icon--chevron-down {
    position: absolute;
    right: var(--bdfad-space-s);
    top: 50%;
    transform: translateY(-50%);
}

.bdfad-select:focus-within,
.bdfad-filters__toggle:focus-visible {
    outline: 2px solid var(--bdfad-text-primary);
    outline-offset: 2px;
}

/* More filters */
.bdfad-filters {
    position: relative;
}

.bdfad-filters__toggle {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    text-transform: none;
    letter-spacing: normal;
}

.bdfad-filters__toggle[aria-expanded="true"] > .bdfad-icon--chevron-down {
    transform: rotate(180deg);
}

.bdfad-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 26px;                         /* 8px padding around a cap-trimmed 14px line */
    padding: 0 var(--bdfad-space-s);
    background: var(--bdfad-bg-accent);
    border-radius: 4px;                   /* corner-xsmall */
    color: var(--bdfad-text-primary);
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.84px;
    font-feature-settings: "calt" 0;
    text-align: center;
}

.bdfad-filters__panel {
    position: absolute;
    top: calc(100% + var(--bdfad-space-s));
    left: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: var(--bdfad-space-l);
    width: 360px;
    padding: var(--bdfad-space-l);
    background: var(--bdfad-bg-primary);
    border: 1px solid var(--bdfad-border-secondary);
}

.bdfad-filters__panel[hidden] {
    display: none;
}

.bdfad-filters__panel:focus {
    outline: none;
}

.bdfad-filters__panel .bdfad-specialty-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--bdfad-space-s);
    width: 100%;
    margin: 0;
}

/* Not drawn in Figma: styled with the same Form/Input tokens as the selects,
   and scoped tightly so the homepage form's underline style doesn't leak in. */
.bdfad-filters__panel .bdfad-specialty-field .doctor-search-form__label {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    margin: 0;
    font-family: "Inter", var(--bdfad-font-primary);
    font-size: 16px;
    line-height: 1.4;
    color: var(--bdfad-text-secondary);
}

.bdfad-filters__panel .bdfad-specialty-field .doctor-search-form__input {
    width: 100%;
    min-height: 56px;
    margin: 0;
    padding: var(--bdfad-space-m) var(--bdfad-space-l);
    background: var(--bdfad-bg-faded);
    border: 1px solid var(--bdfad-border-secondary);
    border-radius: 0;
    box-shadow: none;
    color: var(--bdfad-text-primary);
    font-family: var(--bdfad-font-primary);
    font-size: 20px;
    line-height: 1.3;
}

.bdfad-filters__panel .bdfad-specialty-field .doctor-search-form__input:focus {
    outline: 2px solid var(--bdfad-text-primary);
    outline-offset: 2px;
}

.bdfad-filters__panel .doctor-search-form__clear {
    position: static;
    align-self: flex-start;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    color: var(--bdfad-text-primary);
    font-family: var(--bdfad-font-primary);
    font-size: 16px;
    line-height: 1.4;
    text-decoration: underline;
    text-transform: none;
    cursor: pointer;
}

.bdfad-filters__panel > .bdfad-button {
    width: 100%;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.bdfad-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--bdfad-space-s);
    min-height: 56px;
    margin: 0;
    padding: var(--bdfad-space-m) var(--bdfad-space-xl);
    border-radius: 0;
    font-family: var(--bdfad-font-primary);
    font-size: 20px;
    line-height: 1.3;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}

/* Button/ Button — primary */
.bdfad-button--primary {
    background: var(--bdfad-button-primary);
    border: 2px solid var(--bdfad-button-primary);
    color: var(--bdfad-button-text);
    font-weight: 500;
}

/* Forced: theme link colors were tinting the phone number. */
.bdfad-results .bdfad-button--primary,
.bdfad-results .bdfad-button--primary:link,
.bdfad-results .bdfad-button--primary:visited,
.bdfad-results .bdfad-button--primary:hover,
.bdfad-results .bdfad-button--primary:focus,
.bdfad-results .bdfad-button--primary:active,
.bdfad-results .bdfad-button--primary * {
    color: var(--bdfad-button-text) !important;
    text-decoration: none !important;
}

/* Button/ Button — faded (pagination Previous / Next) */
.bdfad-button--faded {
    padding: var(--bdfad-space-l) var(--bdfad-space-xl);
    background: var(--bdfad-bg-faded);
    border: 0;
    color: var(--bdfad-text-primary);
    font-weight: 400;
}

/* Same theme-link guard for the other links in the block. */
.bdfad-results .bdfad-button--faded,
.bdfad-results .bdfad-button--faded:visited,
.bdfad-results .bdfad-button--faded:hover,
.bdfad-results .bdfad-button--faded:focus,
.bdfad-results .bdfad-button--faded *,
.bdfad-results a.bdfad-page,
.bdfad-results a.bdfad-page:visited,
.bdfad-results a.bdfad-page:hover,
.bdfad-results a.bdfad-page:focus,
.bdfad-results .bdfad-doctor__link,
.bdfad-results .bdfad-doctor__link:visited,
.bdfad-results .bdfad-doctor__link:hover,
.bdfad-results .bdfad-doctor__link:focus {
    color: var(--bdfad-text-primary) !important;
    text-decoration: none !important;
}

.bdfad-button.is-disabled {
    opacity: 0.4;
    cursor: default;
}

/* ── Doctor row ──────────────────────────────────────────────────────────── */

.bdfad-results__list {
    display: flex;
    flex-direction: column;
}

/* Desktop row: one grid so the columns line up down the list, with the spare
   width shared between name, distance and address rather than all landing
   after the name. Name 3 : distance 1.2 : address 2.6, then a fixed 240px
   call-button column. Nothing here may size from a row's own content (a
   phone number's digits, "4 miles" vs "18.4 miles"), or each row would
   compute a different grid and the columns would stop lining up. */
.bdfad-doctor {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1.2fr) minmax(0, 2.6fr) 240px;
    column-gap: var(--bdfad-space-2xl);
    align-items: start;
    padding: var(--bdfad-space-3xl) 64px var(--bdfad-space-3xl) var(--bdfad-space-xl); /* extra right inset keeps the button off the edge */
    background-color: var(--bdfad-bg-primary);
}

.bdfad-doctor + .bdfad-doctor {
    border-top: 1px solid var(--bdfad-border-secondary);
}

/* Hover state: Background Faded laid over Background Primary. Limited to
   pointers that hover, so a tap on a phone doesn't leave a row gray. */
@media (hover: hover) {
    .bdfad-doctor:hover {
        background-image: linear-gradient(var(--bdfad-bg-faded), var(--bdfad-bg-faded));
    }
}

.bdfad-doctor:focus-within {
    background-image: linear-gradient(var(--bdfad-bg-faded), var(--bdfad-bg-faded));
}

.bdfad-doctor--linked {
    cursor: pointer;
}

.bdfad-doctor__identity {
    display: flex;
    align-items: flex-start;
    gap: var(--bdfad-space-xl);
    min-width: 0;
}

.bdfad-doctor__thumb {
    position: relative;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 9999px;                /* corner-pill */
    background: var(--bdfad-bg-placeholder);
}

.bdfad-doctor__thumb img {
    display: block;
    width: 100px;
    height: 100px;
    max-width: none;
    object-fit: cover;
}

/* Framed portal photos: size and position come from the inline style. */
.bdfad-doctor__thumb img[data-bdfad-framed] {
    position: absolute;
    object-position: initial;
}

/* Desktop/Heading/Heading 4 */
.bdfad-doctor__name {
    flex: 1 0 0;
    min-width: 0;
    font-family: var(--bdfad-font-secondary);
    font-size: 40px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.4px;
    color: var(--bdfad-text-primary);
    overflow-wrap: break-word;
}

/* The whole row is the profile link; the phone button sits above it. */
.bdfad-doctor__link::after {
    content: "";
    position: absolute;
    inset: 0;
}

.bdfad-doctor__link:focus-visible {
    outline: none;
}

.bdfad-doctor__link:focus-visible::after {
    outline: 2px solid var(--bdfad-text-primary);
    outline-offset: -2px;
}

/* Its three columns take part in the row's grid directly. */
.bdfad-doctor__details {
    display: contents;
}

.bdfad-doctor__col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    min-height: 100px;
}

.bdfad-doctor__col--distance {
    white-space: nowrap;                  /* "18.4 miles" never wraps */
}

.bdfad-doctor__col--action {
    flex-direction: row;
    align-items: flex-start;
}

/* Desktop/Body/Small */
.bdfad-doctor__distance,
.bdfad-doctor__address {
    font-family: "Inter", var(--bdfad-font-primary);
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    color: var(--bdfad-text-secondary);
}

/* Tags + Icons */
.bdfad-doctor__distance {
    display: flex;
    align-items: center;
    gap: var(--bdfad-space-s);
    width: 100%;
    min-height: 24px;
}

.bdfad-doctor__distance span {
    flex: 1 0 0;
    min-width: 0;
}

.bdfad-doctor__address {
    width: 100%;
}

/* Street on one line, "City, State, ZIP" on the next -- desktop and mobile. */
.bdfad-doctor__street,
.bdfad-doctor__locality {
    display: block;
}

.bdfad-results .bdfad-doctor__phone,
.bdfad-results .bdfad-doctor__phone * {
    font-weight: 400 !important;          /* lighter than the Figma button's 500, per client request */
}

.bdfad-doctor__phone {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* ── Pagination ──────────────────────────────────────────────────────────── */

.bdfad-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--bdfad-space-xs);
    padding-top: var(--bdfad-space-m);
    border-top: 1px solid var(--bdfad-border-secondary);
    background: var(--bdfad-bg-primary);
}

.bdfad-pagination__prev,
.bdfad-pagination__next {
    display: flex;
    flex: 1 0 0;
    flex-direction: column;
    min-width: 0;
}

.bdfad-pagination__prev {
    align-items: flex-start;
}

.bdfad-pagination__next {
    align-items: flex-end;
}

.bdfad-pagination__pages {
    display: flex;
    flex: 1 0 0;
    align-items: center;
    justify-content: center;
    gap: var(--bdfad-space-s);
    min-width: 0;
}

/* letter v2 */
.bdfad-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 44px;
    padding: 0 var(--bdfad-space-l);
    background: linear-gradient(var(--bdfad-bg-page-button), var(--bdfad-bg-page-button)), var(--bdfad-bg-primary);
    border: 0;
    color: var(--bdfad-text-primary);
    font-family: var(--bdfad-font-primary);
    font-size: 20px;
    line-height: 1.3;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
}

.bdfad-page.is-current {
    background: var(--bdfad-text-primary);
    border: 1px solid var(--bdfad-text-primary);
    color: var(--bdfad-bg-primary);
}

/* Mobile text sizes follow the same 767px line as the Mobile size setting. */
@media (max-width: 767px) {
    .bdfad-results__count {
        font-size: calc(var(--bdfad-fs-count-m, 24px) / var(--bdfad-zoom-mobile, 1));
    }

    .bdfad-results__sort-label {
        font-size: calc(var(--bdfad-fs-sort-label-m, 20px) / var(--bdfad-zoom-mobile, 1));
    }

    .bdfad-results .bdfad-select {
        font-size: calc(var(--bdfad-fs-control-m, 20px) / var(--bdfad-zoom-mobile, 1));
    }
}

/* ── Mobile (Figma frame 402px, feed 370px) ──────────────────────────────────
   Keyed to the results block's own width, not the viewport: the desktop row
   needs ~980px (150 distance + 210 address + 280 phone + a readable name), and
   the theme's container, not the screen, decides whether that's available. */

@container bdfad-results (max-width: 979px) {
    .bdfad-results__toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: var(--bdfad-space-xl);
    }

    .bdfad-results__controls {
        flex-direction: column;
        align-items: stretch;
        gap: var(--bdfad-space-l);
    }

    .bdfad-results__controls > .bdfad-select,
    .bdfad-filters,
    .bdfad-filters__toggle {
        width: 100%;
    }

    .bdfad-results__controls .bdfad-select__control {
        width: 100%;
        text-align: center;
        text-align-last: center;
    }

    .bdfad-filters__panel {
        width: 100%;
    }

    .bdfad-results__summary {
        gap: var(--bdfad-space-l);
    }

    .bdfad-doctor {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: var(--bdfad-space-l);
        padding: var(--bdfad-space-2xl) 0;
    }

    .bdfad-doctor__identity {
        flex: none;
        flex-direction: column;
        align-items: center;
        max-width: 600px;
    }

    .bdfad-doctor__name {
        flex: none;
        width: 100%;
    }

    .bdfad-doctor__details {
        display: flex;
        flex: none;
        flex-direction: column;
        align-items: stretch;
        gap: var(--bdfad-space-l);
        min-width: 0;
    }

    .bdfad-doctor__col,
    .bdfad-doctor__col--distance,
    .bdfad-doctor__col--address,
    .bdfad-doctor__col--action {
        flex: none;
        width: 100%;
        min-width: 0;
        min-height: 0;
        padding: 0;
    }

    .bdfad-doctor__col:empty {
        display: none;
    }

    .bdfad-doctor__phone {
        flex: 1 0 0;
        width: 100%;
    }

    .bdfad-pagination {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--bdfad-space-m);
    }

    .bdfad-pagination__pages {
        grid-column: 1 / span 2;
        grid-row: 1;
        justify-content: flex-start;
    }

    .bdfad-pagination__pages li:has(.bdfad-page--gap) {
        flex: 1 0 0;
    }

    .bdfad-pagination__pages .bdfad-page--gap {
        width: 100%;
    }

    .bdfad-pagination__prev,
    .bdfad-pagination__next {
        grid-row: 2;
        align-items: stretch;
    }

    .bdfad-pagination__prev .bdfad-button,
    .bdfad-pagination__next .bdfad-button {
        width: 100%;
    }
}

/* ---------------------------------------------------------------------------
   Zero-result state: explain the gap, then offer nearby primary care instead
   of leaving the visitor on an empty page.
   --------------------------------------------------------------------------- */
.bdfad-no-match {
    padding: var(--bdfad-space-xl, 24px) 0 0;
}

.bdfad-no-match__title {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
}

.bdfad-no-match__body {
    margin: 0;
    width: 100%;
    max-width: none;
    font-size: 16px;
    line-height: 1.6;
    color: var(--bdfad-text-secondary, #494847);
    text-wrap: pretty;
}

.bdfad-no-match__actions {
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.5;
}

.bdfad-no-match__link {
    font-weight: 600;
    text-decoration: underline;
}

.bdfad-no-match__tip {
    margin-left: 6px;
    color: var(--bdfad-text-secondary, #494847);
}

.bdfad-no-match__divider {
    margin: var(--bdfad-space-xl, 24px) 0;
    border: 0;
    border-top: 1px solid var(--bdfad-border-secondary, #aba9a6);
}

.bdfad-no-match__subtitle {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}

@media (max-width: 767px) {
    .bdfad-no-match__title { font-size: 20px; }
    .bdfad-no-match__body { font-size: 15px; }
}

/* "Similar health care professionals" on a profile page (Figma, doctor template). */
.bdfad-similar { margin: 48px 0 0; }
.bdfad-similar__title {
    margin: 0;
    padding: 0 0 16px;
    border-bottom: 1px solid #000;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: var(--bdfad-fs-similar-title, 20px);
    font-weight: 400;
    line-height: 1.3;
    color: #000;
}
.bdfad-results--similar { background: transparent; }
.bdfad-results--similar .bdfad-doctor__name { font-size: var(--bdfad-fs-similar-name, 24px); line-height: 1.25; }
.bdfad-doctor__thumb--placeholder svg { display: block; width: 100%; height: 100%; }
.bdfad-results--similar .bdfad-doctor__thumb,
.bdfad-results--similar .bdfad-doctor__thumb img:not([data-bdfad-framed]) { width: 64px; height: 64px; }

/* Similar doctors: sizes, hover and spacing from Settings → Profiles (CSS variables printed inline). */
.bdfad-results--similar .bdfad-doctor__distance { font-size: var(--bdfad-fs-similar-distance, 16px); }
.bdfad-results--similar .bdfad-doctor__address { font-size: var(--bdfad-fs-similar-address, 16px); }
.bdfad-results--similar .bdfad-doctor__phone,
.bdfad-results--similar .bdfad-doctor__phone span { font-size: var(--bdfad-fs-similar-button, 20px) !important; }
@media (min-width: 768px) {
    .bdfad-results--similar .bdfad-doctor { padding-top: var(--bdfad-similar-pad, 40px); padding-bottom: var(--bdfad-similar-pad, 40px); }
}
@media (hover: hover) {
    .bdfad-results--similar .bdfad-doctor:hover { background-image: linear-gradient(var(--bdfad-similar-hover, rgba(0, 0, 0, 0.05)), var(--bdfad-similar-hover, rgba(0, 0, 0, 0.05))); }
}
.bdfad-results--similar .bdfad-doctor:focus-within { background-image: linear-gradient(var(--bdfad-similar-hover, rgba(0, 0, 0, 0.05)), var(--bdfad-similar-hover, rgba(0, 0, 0, 0.05))); }
