.bhg-team-members {
    --bhg-team-green: #173b1a;
    --bhg-team-accent: #3f8a35;
    --bhg-team-card: #f6eed8;
    --bhg-team-shadow: 0 16px 40px rgba(23, 59, 26, 0.08);
    --bhg-team-radius: 10px;
    margin: 0 auto;
    width: min(100%, 1200px);
}

.bhg-team-members__intro {
    margin: 0 0 clamp(1.75rem, 4vw, 2.75rem);
    text-align: center;
}

.bhg-team-members__eyebrow {
    color: var(--bhg-team-accent);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
}

.bhg-team-members__heading {
    color: var(--bhg-team-green);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0;
}

.bhg-team-members__grid {
    display: grid;
    gap: clamp(1rem, 2vw, 1.5rem);
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.bhg-team-members__item {
    min-width: 0;
}

.bhg-team-members__card {
    background: var(--bhg-team-card);
    border-radius: var(--bhg-team-radius);
    box-shadow: var(--bhg-team-shadow);
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.bhg-team-members__card:hover,
.bhg-team-members__card:focus {
    box-shadow: 0 20px 48px rgba(23, 59, 26, 0.12);
    transform: translateY(-4px);
}

.bhg-team-members__media {
    aspect-ratio: 4 / 4.05;
    background: #e8dfc7;
    overflow: hidden;
}

.bhg-team-members__image {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.bhg-team-members__image--placeholder {
    background:
        linear-gradient(135deg, rgba(63, 138, 53, 0.18), rgba(23, 59, 26, 0.08)),
        linear-gradient(180deg, #f2ead4, #e7dcc2);
}

.bhg-team-members__body {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 1.1rem 1.35rem;
    text-align: center;
}

.bhg-team-members__position {
    color: #403b32;
    font-size: 0.7rem;
    line-height: 1.35;
    margin: 0 0 0.35rem;
}

.bhg-team-members__name {
    color: #22201d;
    font-size: clamp(1.3rem, 1.45vw, 1.55rem);
    font-weight: 600;
    line-height: 1.08;
    margin: 0;
}

.bhg-team-directory {
    --bhg-team-directory-border: #ddd5c3;
    --bhg-team-directory-muted: #4f574d;
    --bhg-team-directory-surface: #f7f4ea;
    --bhg-team-directory-button: #f3eedb;
    color: #22201d;
}

.bhg-team-directory [hidden] {
    display: none !important;
}

.bhg-team-directory__layout {
    display: grid;
    grid-template-columns: minmax(320px, 1.2fr) minmax(0, 0.95fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: start;
}

.bhg-team-directory--no-map .bhg-team-directory__layout {
    grid-template-columns: minmax(0, 1fr);
}

.bhg-team-directory__map-panel {
    position: sticky;
    top: 2rem;
}

.bhg-team-directory__map-card {
    background: #fff;
    border: 0px solid var(--bhg-team-directory-border);
    box-shadow: var(--bhg-team-shadow);
    overflow: hidden;
    padding: clamp(0.9rem, 2vw, 1.3rem);
    position: relative;
}

.bhg-team-directory__map-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

.bhg-team-directory__map-card .bhg-image-map__hotspot-overlay {
    height: 100%;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 3;
}

.bhg-team-directory__map-card .bhg-image-map__hotspot-shape {
    fill: rgba(255, 221, 21, 0.36);
    opacity: 0;
    stroke: var(--bhg-team-green);
    stroke-linejoin: round;
    stroke-width: 4;
    transition: opacity 160ms ease;
    vector-effect: non-scaling-stroke;
}

.bhg-team-directory__map-card .bhg-image-map__hotspot-shape.is-active {
    opacity: 1;
}

.bhg-team-directory__map-image[usemap] {
    cursor: pointer;
}

.bhg-team-directory__results {
    min-width: 0;
}

.bhg-team-directory__results-head {
    align-items: end;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.bhg-team-directory__results-eyebrow {
    color: var(--bhg-team-accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

.bhg-team-directory__results-title {
    color: var(--bhg-team-green);
    font-size: clamp(1.6rem, 2.2vw, 2rem);
    line-height: 1.05;
    margin: 0;
}

.bhg-team-directory__reset {
    background: transparent;
    border: 1px solid rgba(23, 59, 26, 0.18);
    color: var(--bhg-team-green);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    min-height: 44px;
    padding: 0.8rem 1rem;
}

.bhg-team-directory__cards {
    display: grid;
    gap: 1rem;
}

.bhg-team-directory__card {
    background: #fff;
    border: 1px solid var(--bhg-team-directory-border);
    border-top: 5px solid #68b662;
    box-shadow: var(--bhg-team-shadow);
    display: grid;
    gap: 1.2rem;
    grid-template-columns: minmax(130px, 160px) minmax(0, 1fr);
    padding: 1rem;
}

.bhg-team-directory__media {
    min-width: 0;
}

.bhg-team-directory__photo-wrap {
    position: relative;
}

.bhg-team-directory__photo {
    aspect-ratio: 1 / 1.14;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.bhg-team-directory__photo--placeholder {
    background:
        linear-gradient(135deg, rgba(63, 138, 53, 0.18), rgba(23, 59, 26, 0.08)),
        linear-gradient(180deg, #efe5cc, #e4d7b7);
}

.bhg-team-directory__mini-map {
    background: #fff;
    bottom: -8px;
    box-shadow: 0 12px 24px rgba(23, 59, 26, 0.14);
    padding: 0.25rem;
    position: absolute;
    right: -8px;
    width: min(46%, 92px);
}

.bhg-team-directory__mini-map-image {
    display: block;
    height: auto;
    width: 100%;
}

.bhg-team-directory__body {
    align-content: start;
    display: grid;
    gap: 0.6rem;
}

.bhg-team-directory__name {
    color: #171715;
    font-size: clamp(1.65rem, 2vw, 2.1rem);
    line-height: 1.02;
    margin: 0;
}

.bhg-team-directory__position {
    color: #262622;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
}

.bhg-team-directory__coverage {
    color: #2d3028;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.bhg-team-directory__coverage strong {
    color: var(--bhg-team-green);
    font-weight: 700;
    margin-right: 0.2rem;
}

.bhg-team-directory__phone {
    align-items: center;
    color: var(--bhg-team-directory-muted);
    display: inline-flex;
    gap: 0.5rem;
    line-height: 1.4;
    margin: 0.15rem 0 0;
}

.bhg-team-directory__phone a {
    color: inherit;
    text-decoration: none;
}

.bhg-team-directory__phone a:hover,
.bhg-team-directory__phone a:focus {
    text-decoration: underline;
}

.bhg-team-directory__phone-icon {
    align-items: center;
    color: var(--bhg-team-accent);
    display: inline-flex;
    flex: 0 0 auto;
    justify-content: center;
}

.bhg-team-directory__phone-icon svg {
    display: block;
    height: 1rem;
    width: 1rem;
}

.bhg-team-directory__button {
    align-items: center;
    background: var(--bhg-team-directory-button);
    color: var(--bhg-team-green);
    display: inline-flex;
    font-size: 0.7rem;
    font-weight: 800;
    justify-content: center;
    letter-spacing: 0.03em;
    margin-top: 0.45rem;
    min-height: 46px;
    padding: 0.85rem 1rem;
    text-decoration: none;
    text-transform: uppercase;
    width: 100%;
}

.bhg-team-directory__button:hover,
.bhg-team-directory__button:focus {
    background: #ebe3ca;
}

.bhg-team-directory__empty {
    color: var(--bhg-team-directory-muted);
    margin: 1rem 0 0;
}

.bhg-team-member-photo,
.bhg-team-member-map {
    display: block;
    height: auto;
    max-width: 100%;
}

.bhg-team-profile-card {
    --bhg-team-accent: #3f8a35;
    --bhg-team-green: #173b1a;
    --bhg-team-shadow: 0 16px 40px rgba(23, 59, 26, 0.08);
    --bhg-team-profile-border: #ddd5c3;
    --bhg-team-profile-header: #faf9f4;
    --bhg-team-profile-surface: linear-gradient(180deg, #f6f0de 0%, #f8f4e8 100%);
    background: var(--bhg-team-profile-surface);
    border: 0;
    border-radius: 0 10px 10px 0;
    box-shadow: var(--bhg-team-shadow);
    margin: 0;
    overflow: hidden;
    width: 100%;
}

.bhg-team-profile-card__content {
    display: grid;
    grid-template-areas:
        "main media"
        "details media";
    grid-template-columns: minmax(0, 1fr) minmax(220px, 255px);
}

.bhg-team-profile-card__main,
.bhg-team-profile-card__details {
    padding-left: clamp(1.5rem, 5vw, 4rem);
    padding-right: clamp(1.5rem, 4vw, 3rem);
}

.bhg-team-profile-card__main {
    align-content: center;
    background: var(--bhg-team-profile-header);
    border-bottom: 1px solid var(--bhg-team-profile-border);
    border-top: 1px solid var(--bhg-team-profile-border);
    display: grid;
    grid-area: main;
    margin-top: calc(1.5rem + 25px);
    max-height: 220px;
    min-height: 190px;
    padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
    padding-top: clamp(1.75rem, 4vw, 3.25rem);
}

.bhg-team-profile-card__name {
    color: #22201d;
    font-size: clamp(2rem, 4vw, 3.15rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 0.98;
    margin: 0;
}

.bhg-team-profile-card__title {
    color: var(--bhg-team-accent);
    font-size: clamp(1rem, 1.6vw, 1.35rem);
    font-weight: 700;
    line-height: 1.3;
    margin: 0.85rem 0 0;
}

.bhg-team-profile-card__details {
    grid-area: details;
    padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
    padding-top: clamp(1.5rem, 3vw, 2.25rem);
}

.bhg-team-profile-card__meta {
    display: grid;
    gap: 1rem;
    margin: 0;
}

.bhg-team-profile-card__row {
    color: #2b271f;
    display: flex;
    flex-wrap: wrap;
    font-size: 1rem;
    gap: 0.25rem;
    line-height: 1.55;
}

.bhg-team-profile-card__row dt,
.bhg-team-profile-card__row dd {
    margin: 0;
}

.bhg-team-profile-card__row dt {
    color: var(--bhg-team-accent);
    font-weight: 700;
}

.bhg-team-profile-card__row dd a {
    color: inherit;
    text-decoration: none;
}

.bhg-team-profile-card__row dd a:hover,
.bhg-team-profile-card__row dd a:focus {
    text-decoration: underline;
}

.bhg-team-profile-card__media {
    align-self: stretch;
    display: flex;
    grid-area: media;
    overflow: hidden;
    padding: 1.5rem 1.5rem 1.5rem 0;
}

.bhg-team-profile-card__image {
    border-radius: 12px;
    display: block;
    height: 100%;
    max-width: none;
    object-fit: cover;
    width: 100%;
}

.bhg-team-profile-card__image--placeholder {
    background:
        linear-gradient(135deg, rgba(63, 138, 53, 0.18), rgba(23, 59, 26, 0.08)),
        linear-gradient(180deg, #efe5cc, #e4d7b7);
    min-height: 320px;
}

@media (max-width: 980px) {
    .bhg-team-directory__layout {
        grid-template-columns: 1fr;
    }

    .bhg-team-directory__map-panel {
        position: static;
    }

    .bhg-team-profile-card__content {
        grid-template-columns: minmax(0, 1fr) minmax(200px, 235px);
    }

    .bhg-team-profile-card__main,
    .bhg-team-profile-card__details {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .bhg-team-profile-card__name {
        font-size: clamp(1.85rem, 5vw, 2.6rem);
    }
}

@media (max-width: 767px) {
    .bhg-team-directory__card {
        grid-template-columns: 1fr;
    }

    .bhg-team-directory__photo-wrap {
        max-width: 220px;
    }

    .bhg-team-directory__name {
        font-size: 1.85rem;
    }

    .bhg-team-members__body {
        padding-inline: 0.9rem;
    }

    .bhg-team-members__name {
        font-size: 1.45rem;
    }

    .bhg-team-profile-card__content {
        grid-template-areas:
            "media"
            "main"
            "details";
        grid-template-columns: minmax(0, 1fr);
    }

    .bhg-team-profile-card__media {
        align-self: auto;
        padding: 1rem;
    }

    .bhg-team-profile-card__main {
        border-top: 1px solid var(--bhg-team-profile-border);
        min-height: 0;
        margin-top: 0;
        max-height: none;
        padding-bottom: 0.75rem;
        padding-top: 1.5rem;
    }

    .bhg-team-profile-card__image {
        height: auto;
        max-width: 100%;
    }

    .bhg-team-profile-card__details {
        border-top: 1px solid var(--bhg-team-profile-border);
        padding-top: 1.25rem;
    }

    .bhg-team-profile-card__name {
        font-size: 2rem;
    }

    .bhg-team-profile-card__title {
        font-size: 1rem;
    }
}
