/*
 * BrightFrame Team - front end.
 *
 * Built to survive inside Divi 4/5 and block themes: lists are divs with
 * roles, resets are wrapped in :where() so they never outrank component
 * rules, and [hidden] is forced. Theme it with the custom properties on .bf-team.
 */

.bf-team,
.bf-team-dialog {
    --bf-team-accent: var(--gcid-primary-color, #1d4ed8);
    --bf-team-text: #1f2933;
    --bf-team-muted: #5d6977;
    --bf-team-border: #e2e6eb;
    --bf-team-surface: #fff;
    --bf-team-soft: #f3f5f8;
    --bf-team-radius: 10px;
    --bf-team-gap: 28px;
    --bf-team-avatar: 72px;
    --bf-team-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
    --bf-team-shadow-hover: 0 10px 28px rgba(16, 24, 40, .14);
    --bf-team-panel-bg: var(--bf-team-accent);
    --bf-team-panel-ink: #fff;
    --bf-team-panel-bg2: #1f2933;
    --bf-team-panel-ink2: var(--bf-team-panel-ink);
    --bf-team-accent-ink: #fff;                      /* text on the accent (the renderer sets black for a light accent) */
    --bf-team-accent-text: var(--bf-team-accent);    /* the accent as small text on white (darkened by the renderer when too light) */
}
/* When the accent is a theme variable the renderer could not read (no inline --bf-team-accent-text), darken it in the browser. */
@supports (color: color-mix(in srgb, red 70%, #000)) {
    .bf-team:not([style*="--bf-team-accent-text"]),
    .bf-team-dialog:not([style*="--bf-team-accent-text"]) { --bf-team-accent-text: color-mix(in srgb, var(--bf-team-accent) 70%, #000); }
}
.bf-team {
    container-type: inline-size;
    color: var(--bf-team-text);
    margin: 0 0 2em;
    width: 100%;
    max-width: 100%;
    align-self: stretch;
}
/* Divi's own wrapper around the module (the flex-column rule Joe measured on Documents and Jobs). */
.bf_team { width: 100%; min-width: 0; }
/* A SHORTCODE inside a Divi 5 Text or Code module (2026-10-22, Joe's finding on the design site): Divi's column is a flex
   column with align-items: flex-start, so a module whose only content is the board is sized to its content — and a grid of
   minmax(0,1fr) tracks has no content width, so the whole board resolved to 0 px. The module wrapper rule above covers the
   MODULE (its own class); a shortcode has no such class, so the Divi module HOLDING it takes the width instead. */
.et_pb_module:has(> .et_pb_text_inner > .bf-team), .et_pb_module:has(> .et_pb_code_inner > .bf-team), .et_pb_module:has(> .bf-team) { width: 100%; min-width: 0; }
/* Inside Divi's wrapper the module's Spacing element owns the gap, not this margin. */
.bf_team .bf-team { margin-bottom: 0; }
.bf-team [hidden],
.bf-team-dialog[hidden],
.bf-team-dialog [hidden] { display: none !important; }
:where(.bf-team, .bf-team-dialog) :where(h2, h3, h4, h5, h6, p, fieldset, legend, dl, dd, dt, blockquote) { margin: 0; padding: 0; }
:where(.bf-team, .bf-team-dialog) :where(*, *::before, *::after) { box-sizing: border-box; }
.bf-team-sr {
    position: absolute !important;
    width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.bf-team-heading { font-size: 1.6em; margin-bottom: .8em !important; }
.bf-team.is-loading .bf-team-results { opacity: .5; transition: opacity .15s; }
.bf-team-icon { width: 1.1em; height: 1.1em; vertical-align: -.2em; flex: none; }
.bf-team-align-center .bf-team-body,
.bf-team-align-center .bf-team-caption { text-align: center; align-items: center; }
.bf-team-align-center .bf-team-contact,
.bf-team-align-center .bf-team-facts { justify-content: center; }

/* ---- Filters ---------------------------------------------------------- */
.bf-team-filters { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-start; margin-bottom: 22px; }
.bf-team-search { position: relative; flex: 1 1 240px; max-width: 420px; }
.bf-team-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--bf-team-muted); pointer-events: none; }
.bf-team .bf-team-search input[type=search] {
    width: 100%; padding: 10px 12px 10px 38px; border: 1px solid var(--bf-team-border); border-radius: 999px;
    background: var(--bf-team-surface); font: inherit; font-size: 15px; color: var(--bf-team-text); line-height: 1.3; margin: 0; box-shadow: none;
}
.bf-team .bf-team-search input[type=search]:focus { outline: 2px solid var(--bf-team-accent); outline-offset: 1px; border-color: transparent; }
.bf-team-facet { border: 0; min-width: 0; }
.bf-team-facet legend { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--bf-team-muted); margin-bottom: 6px; }
.bf-team-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.bf-team-pill, .bf-team-tab { position: relative; cursor: pointer; margin: 0; }
.bf-team-pill input, .bf-team-tab input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bf-team-pill span {
    display: inline-block; padding: 6px 12px; border: 1px solid var(--bf-team-border); border-radius: 999px;
    background: var(--bf-team-surface); font-size: 13.5px; line-height: 1.3; color: var(--bf-team-text); transition: background .12s, border-color .12s;
}
.bf-team-pill small { color: var(--bf-team-muted); font-size: 11.5px; margin-left: 2px; }
.bf-team-pill:hover span { border-color: var(--bf-team-accent); }
.bf-team-pill input:checked + span { background: var(--bf-team-accent); border-color: var(--bf-team-accent); color: var(--bf-team-accent-ink); }
.bf-team-pill input:checked + span small { color: inherit; opacity: .8; }
.bf-team-pill input:focus-visible + span, .bf-team-tab input:focus-visible + span { outline: 2px solid var(--bf-team-accent); outline-offset: 2px; }
.bf-team-tablist { display: flex; flex-wrap: wrap; gap: 2px; border-bottom: 2px solid var(--bf-team-border); }
.bf-team-tab span { display: inline-block; padding: 10px 16px; border-bottom: 2px solid transparent; margin-bottom: -2px; font-size: 15px; font-weight: 600; color: var(--bf-team-muted); }
.bf-team-tab:hover span { color: var(--bf-team-text); }
.bf-team-tab input:checked + span { color: var(--bf-team-accent-text); border-bottom-color: var(--bf-team-accent); }
.bf-team-filters-tabs { flex-direction: column; }
.bf-team-select select { padding: 9px 36px 9px 14px; border: 1px solid var(--bf-team-border); border-radius: 8px; font: inherit; font-size: 15px; background: var(--bf-team-surface); color: var(--bf-team-text); min-width: 220px; }
.bf-team-filter-actions { display: flex; gap: 12px; align-items: center; align-self: flex-end; }
.bf-team-filters.is-live .bf-team-apply { display: none; }
.bf-team-reset { font-size: 13.5px; color: var(--bf-team-muted); text-decoration: underline; }
.bf-team-status { font-size: 13px; color: var(--bf-team-muted); margin-bottom: 12px; min-height: 1em; }
.bf-team-status:empty { display: none; }
.bf-team .bf-team-empty { padding: 28px 18px; margin: 0; text-align: center; color: var(--bf-team-muted); background: var(--bf-team-soft); border-radius: var(--bf-team-radius); }
.bf-team-error { color: #b42318; margin: 8px 0; }

/* ---- Buttons ---------------------------------------------------------- */
.bf-team .bf-team-button,
.bf-team-dialog .bf-team-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 16px; border: 1px solid var(--bf-team-border); border-radius: 8px;   /* justify: a button given a width (Sizing) keeps its words centered (Joe, TEAM-05) */
    background: var(--bf-team-surface); color: var(--bf-team-text); font: inherit; font-size: 14px; font-weight: 600; line-height: 1.3;
    text-decoration: none; cursor: pointer; transition: background .12s, border-color .12s, color .12s;
}
.bf-team .bf-team-button:hover, .bf-team-dialog .bf-team-button:hover { border-color: var(--bf-team-accent); color: var(--bf-team-accent-text); }
.bf-team .bf-team-button-primary, .bf-team-dialog .bf-team-button-primary { background: var(--bf-team-accent); border-color: var(--bf-team-accent); color: var(--bf-team-accent-ink); }
.bf-team .bf-team-button-primary:hover, .bf-team-dialog .bf-team-button-primary:hover { color: var(--bf-team-accent-ink); filter: brightness(.92); }
.bf-team .bf-team-button:focus-visible, .bf-team-dialog .bf-team-button:focus-visible,
.bf-team .bf-team-open:focus-visible, .bf-team a:focus-visible { outline: 2px solid var(--bf-team-accent); outline-offset: 2px; }
.bf-team .bf-team-open { text-decoration: none; }
.bf-team .bf-team-plus {
    display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 6px;
    background: var(--bf-team-accent); color: var(--bf-team-accent-ink); transition: filter .12s, transform .12s;
}
.bf-team .bf-team-plus:hover { filter: brightness(.9); transform: translateY(-1px); }
.bf-team .bf-team-plus[aria-expanded=true] .bf-team-icon { transform: rotate(45deg); }
.bf-team .bf-team-plus .bf-team-icon { width: 20px; height: 20px; transition: transform .15s; }
.bf-team .bf-team-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--bf-team-accent-text); }
.bf-team .bf-team-arrow:hover .bf-team-icon { transform: translateX(3px); }
.bf-team .bf-team-arrow .bf-team-icon { transition: transform .15s; }

/* ---- Cards ------------------------------------------------------------ */
.bf-team-items { display: grid; gap: var(--bf-team-row-gap, var(--bf-team-gap)) var(--bf-team-gap); }
.bf-team-grid { grid-template-columns: repeat(var(--bf-team-cols, 3), minmax(0, 1fr)); }
/* last_row="center": a grid cannot center a short last row, so the same columns are laid out as a wrapping row.
   --bf-team-n is the column count in force (the breakpoints below restate it); 0.02px keeps a rounded-up width from wrapping early. */
.bf-team-last-center .bf-team-grid { display: flex; flex-wrap: wrap; justify-content: center; --bf-team-n: var(--bf-team-cols, 3); }
.bf-team-last-center .bf-team-grid > * { flex: 0 0 calc((100% - (var(--bf-team-n) - 1) * var(--bf-team-gap)) / var(--bf-team-n) - 0.02px); }
.bf-team-list { grid-template-columns: minmax(0, 1fr); gap: var(--bf-team-row-gap, 18px) var(--bf-team-gap); }
.bf-team-alternating { grid-template-columns: minmax(0, 1fr); gap: var(--bf-team-row-gap, 56px) var(--bf-team-gap); }
.bf-team-card { display: flex; flex-direction: column; min-width: 0; position: relative; }
.bf-team-card-flat .bf-team-card, .bf-team-card-lifted .bf-team-card, .bf-team-card-bordered .bf-team-card {
    background: var(--bf-team-surface); border-radius: var(--bf-team-radius); overflow: hidden;
}
.bf-team-card-flat .bf-team-card { background: var(--bf-team-soft); }
.bf-team-card-bordered .bf-team-card { border: 1px solid var(--bf-team-border); }
.bf-team-card-lifted .bf-team-card { box-shadow: var(--bf-team-shadow); transition: transform .15s, box-shadow .15s; }
.bf-team-card-lifted .bf-team-card:hover { box-shadow: var(--bf-team-shadow-hover); transform: translateY(-3px); }
.bf-team-card-flat .bf-team-body, .bf-team-card-lifted .bf-team-body, .bf-team-card-bordered .bf-team-body { padding: 18px 20px 20px; }
.bf-team-card-none .bf-team-body { padding: 14px 0 0; }
.bf-team-body { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; min-width: 0; }
.bf-team-body:empty { display: none; }

/* photo */
.bf-team-photo { position: relative; background: var(--bf-team-soft); overflow: hidden; border-radius: var(--bf-team-radius); }
.bf-team-card-flat .bf-team-photo, .bf-team-card-lifted .bf-team-photo, .bf-team-card-bordered .bf-team-photo { border-radius: 0; }
.bf-team-photo-link { display: block; color: inherit; }
.bf-team .bf-team-img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.bf-team-photo-square .bf-team-img { aspect-ratio: 1 / 1; }
.bf-team-photo-landscape .bf-team-img { aspect-ratio: 4 / 3; }
.bf-team-photo-original .bf-team-img { aspect-ratio: auto; height: auto; }
.bf-team-photo-circle .bf-team-photo { border-radius: 50%; aspect-ratio: 1 / 1; width: min(100%, 320px); margin: 0 auto; }
.bf-team-photo-circle .bf-team-img { aspect-ratio: 1 / 1; }
.bf-team-fit-contain .bf-team-img { object-fit: contain; background: var(--bf-team-soft); }
.bf-team .bf-team-img-empty {
    display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; font-size: 3em; font-weight: 700; color: var(--bf-team-muted); background: var(--bf-team-soft);
}
.bf-team-photo-square .bf-team-img-empty, .bf-team-photo-circle .bf-team-img-empty { aspect-ratio: 1 / 1; }
.bf-team .bf-team-img-hover { position: absolute; inset: 0; opacity: 0; transition: opacity .25s; }
.bf-team-card.has-hover:hover .bf-team-img-hover,
.bf-team-card.has-hover:focus-within .bf-team-img-hover { opacity: 1; }
@media (hover: none) { .bf-team .bf-team-img-hover { display: none; } }
.bf-team-frame { position: absolute; inset: 7%; border: 3px solid #fff; pointer-events: none; }
.bf-team-photo-circle .bf-team-frame { border-radius: 50%; }

/* overlay caption */
.bf-team-caption-over {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; color: #fff;
    background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0));
}
.bf-team-caption-over .bf-team-name { color: #fff; font-size: 1.05em; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bf-team-caption-role { margin: 2px 0 0; font-weight: 400; font-size: .9em; line-height: 1.35; color: inherit; opacity: .92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bf-team-caption-over { min-height: calc(1.05em * 1.3 + .9em * 1.35 + 2px + 28px); }   /* name + role + the padding: every band in a row the same height */
.bf-team-framed .bf-team-caption-over { padding: 14px 12%; background: none; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.bf-team-caption-overlay .bf-team-caption-over { background: var(--bf-team-accent); color: var(--bf-team-accent-ink); }
.bf-team-caption-overlay .bf-team-caption-over .bf-team-name { color: inherit; }
.bf-team-caption-overlay.bf-team-framed .bf-team-caption-over { background: none; }
.bf-team-caption-overlay-hover .bf-team-caption-over { opacity: 0; transition: opacity .2s; }
.bf-team-caption-overlay-hover .bf-team-card:hover .bf-team-caption-over,
.bf-team-caption-overlay-hover .bf-team-card:focus-within .bf-team-caption-over { opacity: 1; }

/* hover bio */
.bf-team-hover {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 10%;
    background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .25s; pointer-events: none;
}
.bf-team-framed .bf-team-hover { padding: 12%; }
.bf-team-hover-text { background: rgba(255, 255, 255, .95); color: var(--bf-team-text); padding: 16px 18px; font-size: 14.5px; line-height: 1.5; max-height: 100%; overflow: auto; border: 3px solid #fff; }
.bf-team-card:hover .bf-team-hover,
.bf-team-card:focus-within .bf-team-hover { opacity: 1; }
.bf-team-reveal-hover .bf-team-card:hover .bf-team-caption-over { opacity: 0; }
.bf-team-reveal-hover .bf-team-photo { cursor: pointer; }

/* words */
.bf-team .bf-team-name { font-size: 1.15em; line-height: 1.3; margin: 0; font-weight: 700; }
.bf-team .bf-team-name a { color: inherit; text-decoration: none; }
.bf-team .bf-team-name a:hover { color: var(--bf-team-accent); }
.bf-team-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--bf-team-accent-text); }
.bf-team-role { font-size: 15px; color: var(--bf-team-muted); line-height: 1.4; }
.bf-team-role-upper .bf-team-role { text-transform: uppercase; letter-spacing: .06em; font-size: 12.5px; font-weight: 600; }
.bf-team-role-2 { font-size: 14px; font-style: italic; color: var(--bf-team-muted); }
.bf-team-credentials { font-size: 13.5px; font-style: italic; color: var(--bf-team-muted); }
.bf-team-pronouns, .bf-team-nickname { font-size: 13px; color: var(--bf-team-muted); }
.bf-team-meta { font-size: 13.5px; color: var(--bf-team-muted); line-height: 1.5; }
.bf-team-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.bf-team-tag { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--bf-team-soft); font-size: 12px; color: var(--bf-team-muted); }
.bf-team-quote { font-style: italic; font-size: 1.05em; line-height: 1.5; padding-left: 14px; border-left: 3px solid var(--bf-team-accent); margin: 6px 0; }
.bf-team-summary { font-size: 14.5px; line-height: 1.55; }
.bf-team-bio { font-size: 15px; line-height: 1.6; }
.bf-team-bio :where(p, ul, ol) { margin: 0 0 1em; }
.bf-team-bio :where(p:last-child) { margin-bottom: 0; }
/* Divi's base `p { padding-bottom: 1em }` (0,0,1) beats the :where() reset, doubling the gap between bio paragraphs (Joe, TEAM-07 1). */
.bf-team .bf-team-bio p, .bf-team-dialog .bf-team-bio p { padding: 0; }
.bf-team-bio :where(ul, ol) { padding-left: 1.4em; }
.bf-team-bio :where(h1, h2, h3, h4) { margin: 1em 0 .4em; font-size: 1.1em; }
/* A variable font chosen for the bio in the Divi module (Roboto Flex, Open Sans Variable…): Divi writes the weight twice,
   `font-weight: 500` and `font-variation-settings: "wght" 500`. The second is inherited by every descendant and, on a variable
   font, beats font-weight outright — so a <strong> or an inline font-weight span inside the bio rendered at the body's weight
   (badlizard.com, 2026-10-28). Emphasis drops the inherited axes; font-weight / font-style then drive them the usual way. */
.bf-team-bio :where(strong, b, em, i, h1, h2, h3, h4, h5, h6, [style*="font-weight"], [style*="font-style"]) { font-variation-settings: normal; }
.bf-team-facts { display: grid; grid-template-columns: minmax(auto, max-content) 1fr; column-gap: 10px; row-gap: 4px; font-size: 13.5px; line-height: 1.5; }
.bf-team-fact { display: contents; }
.bf-team-fact dt { color: var(--bf-team-muted); max-width: 200px; }
.bf-team-fact dt::after { content: ' –'; }
.bf-team-fact dt.has-colon::after { content: ''; }
.bf-team-fact dd a { color: var(--bf-team-accent-text); }
.bf-team-contact { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 4px; font-size: 14px; }
.bf-team-contact-words { flex-direction: column; align-items: flex-start; gap: 3px; }
.bf-team-align-center .bf-team-contact-words { align-items: center; }
.bf-team .bf-team-contact-item { display: inline-flex; align-items: center; gap: 6px; color: var(--bf-team-text); text-decoration: none; }
.bf-team .bf-team-contact-item:hover { color: var(--bf-team-accent-text); }
.bf-team-contact-words .bf-team-contact-item { min-height: 36px; }   /* a comfortable tap target (Joe, TEAM-01 D.3) */
.bf-team-contact-icons .bf-team-contact-item {
    width: 40px; height: 40px; justify-content: center; border-radius: 50%; background: var(--bf-team-soft); color: var(--bf-team-accent-text);
}
.bf-team-contact-icons .bf-team-contact-item:hover { background: var(--bf-team-accent); color: var(--bf-team-accent-ink); }
.bf-team-contact-icons .bf-team-cta { width: auto; height: auto; border-radius: 8px; }
.bf-team-contact-label { color: var(--bf-team-muted); }
.bf-team-contact-both .bf-team-icon { color: var(--bf-team-accent-text); }
.bf-team-at { font-size: .9em; }
.bf-team .bf-team-cta { margin-top: 4px; }
.bf-team-body .bf-team-open { margin-top: 8px; align-self: flex-start; }
.bf-team-align-center .bf-team-body .bf-team-open { align-self: center; }

/* list layout */
.bf-team-list .bf-team-card { flex-direction: row; gap: 22px; align-items: flex-start; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--bf-team-border); }
.bf-team-card-flat .bf-team-list .bf-team-card, .bf-team-card-lifted .bf-team-list .bf-team-card, .bf-team-card-bordered .bf-team-list .bf-team-card { padding: 18px; border-bottom: 0; }
.bf-team-list .bf-team-photo { flex: 0 0 200px; }
.bf-team-list .bf-team-body { flex: 1 1 320px; padding: 0; }
.bf-team-list .bf-team-reveal { flex-basis: 100%; }

/* alternating layout */
.bf-team-alternating .bf-team-card { flex-direction: row; gap: clamp(24px, 5cqw, 64px); align-items: center; flex-wrap: wrap; }
.bf-team-alternating .bf-team-card:nth-child(even) { flex-direction: row-reverse; }
.bf-team-alternating .bf-team-photo { flex: 1 1 320px; max-width: 48%; }
.bf-team-alternating .bf-team-body { flex: 1 1 320px; padding: 0; gap: 10px; }
.bf-team-alternating .bf-team-name { font-size: 2em; line-height: 1.1; }
.bf-team-alternating .bf-team-role { font-size: 1.1em; }

/* avatars layout */
.bf-team-avatars { display: flex; flex-wrap: wrap; gap: var(--bf-team-row-gap, 12px) var(--bf-team-gap, 12px); }
.bf-team-avatars .bf-team-card { flex-direction: row; }
.bf-team .bf-team-avatar { position: relative; display: block; width: var(--bf-team-avatar); text-decoration: none; color: inherit; }
.bf-team-avatar-photo { display: block; width: var(--bf-team-avatar); height: var(--bf-team-avatar); border-radius: 50%; overflow: hidden; background: var(--bf-team-soft); border: 3px solid var(--bf-team-surface); box-shadow: var(--bf-team-shadow); }
.bf-team-avatar-photo .bf-team-img { aspect-ratio: 1 / 1; }
.bf-team-avatar-photo .bf-team-img-empty { aspect-ratio: 1 / 1; font-size: 1.4em; }
.bf-team-avatar-name {
    position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%); white-space: nowrap; padding: 4px 10px; border-radius: 6px;
    background: var(--bf-team-text); color: #fff; font-size: 12.5px; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 2;
}
.bf-team .bf-team-avatar:hover .bf-team-avatar-name, .bf-team .bf-team-avatar:focus-visible .bf-team-avatar-name { opacity: 1; }

/* sections (group_by headings) */
.bf-team-sections { display: flex; flex-direction: column; gap: 40px; }
.bf-team .bf-team-section-title { font-size: 1.25em; margin: 0 0 18px !important; padding: 12px 18px; background: var(--bf-team-accent); color: var(--bf-team-accent-ink); border-radius: 6px; }
.bf-team-count { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, .25); font-size: 12.5px; font-weight: 600; }

/* group rows (the accordion of faces) */
.bf-team-groups { display: flex; flex-direction: column; gap: 10px; }
.bf-team-group { border: 1px solid var(--bf-team-border); border-radius: var(--bf-team-radius); background: var(--bf-team-surface); overflow: hidden; }
.bf-team-group-row { display: flex; align-items: center; gap: 18px; padding: 16px 20px; cursor: pointer; list-style: none; }
.bf-team-group-row::-webkit-details-marker { display: none; }
.bf-team-group-row:hover { background: var(--bf-team-soft); }
.bf-team-group-row:focus-visible { outline: 2px solid var(--bf-team-accent); outline-offset: -2px; }
.bf-team-group-name { font-size: 1.15em; font-weight: 700; flex: 0 0 auto; min-width: 160px; }
.bf-team-group-name .bf-team-count { background: var(--bf-team-soft); color: var(--bf-team-muted); }
.bf-team-group-faces { display: flex; flex: 1 1 auto; min-width: 0; overflow: hidden; }
.bf-team-face { display: block; width: calc(var(--bf-team-avatar) * .6); height: calc(var(--bf-team-avatar) * .6); border-radius: 50%; overflow: hidden; border: 2px solid var(--bf-team-surface); margin-left: -8px; background: var(--bf-team-soft); flex: none; transition: transform .15s; }
.bf-team-face:first-child { margin-left: 0; }
.bf-team-group-row:hover .bf-team-face { transform: translateY(-2px); }
.bf-team-face .bf-team-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.bf-team-group-names { flex-wrap: wrap; gap: 6px; overflow: visible; }
.bf-team-face-pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 2px; border-radius: 999px; background: var(--bf-team-soft); font-size: 13px; font-weight: 600; color: var(--bf-team-text); }
.bf-team-face-pill .bf-team-face { margin-left: 0; width: 28px; height: 28px; }
.bf-team-face-empty, .bf-team-face-more { display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--bf-team-muted); }
.bf-team-group-chevron { width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s; flex: none; color: var(--bf-team-muted); }
.bf-team-group[open] .bf-team-group-chevron { transform: rotate(45deg); }
.bf-team-group[open] .bf-team-group-faces { opacity: .35; }
.bf-team-group-body { padding: 6px 20px 24px; }

/* ---- The reveal panel (inline / lifted into the dialog) ---------------- */
.bf-team-reveal { display: none; position: relative; margin-top: 16px; padding: 22px 24px; background: var(--bf-team-soft); border-radius: var(--bf-team-radius); }
.bf-team-reveal:target, .bf-team-reveal.is-open { display: block; }
.bf-team-reveal-close { position: absolute; top: 10px; right: 10px; color: var(--bf-team-muted); }
.bf-team-reveal-close:hover { color: var(--bf-team-text); }
.bf-team-person { display: flex; flex-wrap: wrap; gap: 28px; }
.bf-team-person-main { display: flex; flex-wrap: wrap; gap: 28px; flex: 1 1 520px; min-width: 0; align-items: flex-start; }
.bf-team-person-photo { flex: 0 0 var(--bf-team-panel-photo, 220px); max-width: 100%; align-self: flex-start; }
.bf-team-person-photo .bf-team-person-img { display: block; width: 100%; height: auto; border-radius: var(--bf-team-radius); object-fit: cover; aspect-ratio: 4 / 5; }
/* The panel's photo takes the board's Photo Shape (the dialog body carries the board's bf-team-photo-* class) — it was
   always portrait, so a square board opened a portrait panel (Atlas Chiropractic, 2026-10-29). */
.bf-team-photo-square .bf-team-person-img, .bf-team-photo-circle .bf-team-person-img { aspect-ratio: 1 / 1; }
.bf-team-photo-landscape .bf-team-person-img { aspect-ratio: 4 / 3; }
.bf-team-photo-original .bf-team-person-img { aspect-ratio: auto; }
.bf-team-photo-circle .bf-team-person-photo .bf-team-person-img { border-radius: 50%; }
.bf-team-person-words { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 8px; max-width: 65ch; }
.bf-team .bf-team-person-name, .bf-team-dialog .bf-team-person-name { font-size: var(--bf-team-panel-name-size, 1.6em); line-height: 1.15; margin: 0; }
.bf-team-person .bf-team-role { font-size: var(--bf-team-panel-role-size, 15px); }
.bf-team-person .bf-team-bio { font-size: var(--bf-team-panel-bio-size, 15px); line-height: 1.6; }
.bf-team-person-side { flex: 0 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.bf-team-person-bare .bf-team-person-main { gap: 0; }
.bf-team-person-side .bf-team-contact { flex-direction: column; align-items: flex-start; }
.bf-team-person-side .bf-team-contact-icons { flex-direction: row; }
.bf-team-person-more a { font-weight: 600; }
.bf-team-reveal .bf-team-person-photo { display: none; }   /* inline: the card already shows the photo */
.bf-team-layout-list .bf-team-reveal .bf-team-person-photo { display: none; }

/* no photo in the panel: the words take its width (Joe, TEAM-06 1) */
.bf-team-person-nophoto .bf-team-person-words { max-width: none; flex: 1 1 auto; width: 100%; }
/* control_position="bottom": the control sits at the foot of the card, so a row of buttons lines up whatever the roles' length (Joe, TEAM-06 2) */
.bf-team-control-bottom .bf-team-body > .bf-team-open { margin-top: auto; padding-top: 0; }
.bf-team-control-bottom .bf-team-body > .bf-team-open::before { content: ""; display: block; height: 8px; }

/* panel_align="center": the panel's own words, apart from the cards' align (Joe, TEAM-05 1) */
.bf-team-panel-center .bf-team-person-words { text-align: center; align-items: center; }
.bf-team-panel-center .bf-team-person-main { justify-content: center; }
.bf-team-panel-center .bf-team-person-side .bf-team-contact, .bf-team-panel-center .bf-team-facts { align-items: center; justify-content: center; }
.bf-team-panel-center .bf-team-person-bare .bf-team-person-words { text-align: inherit; align-items: stretch; }   /* inline: the card already set the alignment */

/* ---- The dialog (modal / fullscreen) ------------------------------------ */
.bf-team-dialog { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.admin-bar .bf-team-dialog { top: var(--wp-admin--admin-bar-height, 32px); }   /* logged in on a phone: the close button sat under the admin bar */
.bf-team-dialog-backdrop { position: absolute; inset: 0; background: rgba(16, 24, 40, .6); }
.bf-team-dialog-frame {
    position: relative; width: min(var(--bf-team-panel-width, 900px), 100%); max-height: 100%;   /* of the dialog, which already stops at the admin bar */ display: flex; flex-direction: column;
    background: var(--bf-team-surface); color: var(--bf-team-text); border-radius: var(--bf-team-radius); box-shadow: 0 24px 60px rgba(16, 24, 40, .3); overflow: hidden;
}
.bf-team-dialog-scope { display: contents; }
.bf-team-dialog .bf-team-dialog-scope { background: none !important; border: 0 !important; box-shadow: none !important; margin: 0 !important; padding: 0 !important; }
.bf-team-dialog .bf-team-dialog-body.bf-team { margin: 0; container-type: inline-size; color: inherit; }
.bf-team-dialog-body { overflow: auto; padding: 36px 40px 32px; }
.bf-team-dialog-body .bf-team-reveal { display: block; margin: 0; padding: 0; background: none; }
/* The centred panel's padding lives on the lifted .bf-team-reveal, so the module's Panel part (spacing) and its
   Custom CSS slot set it — the body is bare (Joe, TEAM-06 5). Full screen keeps its own measure on .bf-team-person. */
.is-modal .bf-team-dialog-body { padding: 0; }
.is-modal .bf-team-dialog-body .bf-team-reveal { padding: 36px 40px 32px; }
.bf-team-dialog-body .bf-team-reveal-close { display: none; }
.bf-team-dialog-body .bf-team-person-photo { display: block; }
.bf-team-dialog.is-modal { --bf-team-panel-photo: 260px; --bf-team-panel-name-size: 1.7em; --bf-team-panel-role-size: 16px; --bf-team-panel-bio-size: 16px; }
.bf-team-dialog .bf-team-person-photo .bf-team-person-img { border-radius: var(--bf-team-radius); }
.bf-team-dialog .bf-team-bio a, .bf-team-dialog .bf-team-fact dd a, .bf-team-dialog .bf-team-person-more a { color: inherit; text-decoration: underline; }
.bf-team-dialog .bf-team-dialog-close, .bf-team-dialog .bf-team-dialog-prev, .bf-team-dialog .bf-team-dialog-next {
    position: absolute; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%;
    background: var(--bf-team-surface); color: var(--bf-team-text); cursor: pointer; box-shadow: var(--bf-team-shadow); padding: 0;
}
.bf-team-dialog .bf-team-dialog-close { top: 12px; right: 12px; }
.bf-team-dialog:not(.has-nav) .bf-team-dialog-prev, .bf-team-dialog:not(.has-nav) .bf-team-dialog-next { display: none !important; }
.bf-team-dialog .bf-team-dialog-prev { left: 12px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.bf-team-dialog .bf-team-dialog-next { right: 12px; top: 50%; transform: translateY(-50%); }
.bf-team-dialog .bf-team-dialog-close:hover, .bf-team-dialog .bf-team-dialog-prev:hover, .bf-team-dialog .bf-team-dialog-next:hover { background: var(--bf-team-soft); }
.bf-team-dialog .bf-team-dialog-close:focus-visible, .bf-team-dialog .bf-team-dialog-prev:focus-visible, .bf-team-dialog .bf-team-dialog-next:focus-visible { outline: 2px solid var(--bf-team-accent); }
.bf-team-dialog .bf-team-icon { width: 22px; height: 22px; }
body.bf-team-dialog-open { overflow: hidden; }
/* panel_backdrop="clear": the page stays as it is and the panel casts its own shadow (Joe, TEAM-05 1) */
.bf-team-dialog.is-clear .bf-team-dialog-backdrop { background: transparent; }
.bf-team-dialog.is-clear.is-modal .bf-team-dialog-frame { box-shadow: 0 12px 48px rgba(16, 24, 40, .32), 0 0 0 1px rgba(16, 24, 40, .08); }
/* panel_edge — the centred panel's edge; wins over the built-in shadows above (Joe, TEAM-07 2) */
.bf-team-dialog.is-modal[data-bf-edge="none"] .bf-team-dialog-frame { box-shadow: none; border: 0; }
.bf-team-dialog.is-modal[data-bf-edge="shadow"] .bf-team-dialog-frame { box-shadow: 0 2px 18px rgba(0, 0, 0, .3); border: 0; }
.bf-team-dialog.is-modal[data-bf-edge="border"] .bf-team-dialog-frame { box-shadow: none; border: 1px solid var(--bf-team-panel-edge, rgba(16, 24, 40, .22)); }
.bf-team-dialog.is-modal[data-bf-edge="both"] .bf-team-dialog-frame { box-shadow: 0 2px 18px rgba(0, 0, 0, .3); border: 1px solid var(--bf-team-panel-edge, rgba(16, 24, 40, .22)); }
/* panel_motion — open / close (TEAM-07 3). The frame goes display:none → flex on each open, so the keyframes replay. */
.bf-team-dialog[data-bf-motion] .bf-team-dialog-frame, .bf-team-dialog[data-bf-motion] .bf-team-dialog-backdrop { animation-duration: var(--bf-team-motion-ms, 300ms); animation-timing-function: cubic-bezier(.2, .7, .3, 1); animation-fill-mode: both; }
.bf-team-dialog[data-bf-motion] .bf-team-dialog-backdrop { animation-name: bf-team-fade-in; }
.bf-team-dialog[data-bf-motion].is-closing .bf-team-dialog-backdrop { animation-name: bf-team-fade-out; }
.bf-team-dialog[data-bf-motion="fade"] .bf-team-dialog-frame { animation-name: bf-team-fade-in; }
.bf-team-dialog[data-bf-motion="zoom"] .bf-team-dialog-frame { animation-name: bf-team-zoom-in; }
.bf-team-dialog[data-bf-motion="slide-up"] .bf-team-dialog-frame { animation-name: bf-team-slide-in; }
.bf-team-dialog[data-bf-motion="fade"].is-closing .bf-team-dialog-frame { animation-name: bf-team-fade-out; }
.bf-team-dialog[data-bf-motion="zoom"].is-closing .bf-team-dialog-frame { animation-name: bf-team-zoom-out; }
.bf-team-dialog[data-bf-motion="slide-up"].is-closing .bf-team-dialog-frame { animation-name: bf-team-slide-out; }
@keyframes bf-team-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes bf-team-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes bf-team-zoom-in { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }
@keyframes bf-team-zoom-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(.5); } }
@keyframes bf-team-slide-in { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
@keyframes bf-team-slide-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(48px); } }

/* fullscreen */
.bf-team-dialog.is-fullscreen { padding: 0; }
.bf-team-dialog.is-fullscreen .bf-team-dialog-frame { width: 100%; height: 100%; max-height: none; border-radius: 0; background: var(--bf-team-panel-bg); color: var(--bf-team-panel-ink); }
.bf-team-dialog.is-fullscreen { --bf-team-panel-photo: clamp(300px, 32vw, 420px); --bf-team-panel-name-size: clamp(32px, 4vw, 46px); --bf-team-panel-role-size: 18px; --bf-team-panel-bio-size: 17px; }
.bf-team-dialog.is-fullscreen .bf-team-dialog-body { padding: 0; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
/* The lifted .bf-team-reveal is the module's Panel part (its Design background, spacing, border). On the full screen it fills the
   frame — so the Panel background paints the whole screen, not a text-block-sized box at the top left — and the person centres
   inside it both ways (it used to sit top-left: the reveal, a block, sized to the 1100px block and the body never grew to the
   frame's height; Atlas Chiropractic, 2026-10-29). Over the panel color: a Panel background with alpha tints it, a solid one replaces it. */
.bf-team-dialog.is-fullscreen .bf-team-dialog-body .bf-team-reveal { display: flex; flex: 1 0 auto; width: 100%; }
/* The text block is the WORDS' width: the gutters sit outside it, so a 1400px block reads 1400px wide (it used to be 1100px with
   the 96px gutters taken out of it — 908px of words on a 1920 screen, "smushed"; Gwen, Atlas Chiropractic, 2026-11-05). On a screen
   narrower than the block plus its gutters the block takes what is left, about 90% of the screen. */
.bf-team-dialog.is-fullscreen .bf-team-person { width: 100%; max-width: calc(var(--bf-team-panel-width, 1400px) + 2 * clamp(24px, 5vw, 96px)); margin: auto; padding: 80px clamp(24px, 5vw, 96px); align-items: center; }
.bf-team-dialog.is-fullscreen .bf-team-person-side .bf-team-contact { gap: 10px; }
.bf-team-dialog.is-fullscreen .bf-team-person-name { color: inherit; }
.bf-team-dialog.is-fullscreen .bf-team-person-side .bf-team-contact-item, .bf-team-dialog.is-fullscreen .bf-team-eyebrow, .bf-team-dialog.is-fullscreen .bf-team-role, .bf-team-dialog.is-fullscreen .bf-team-meta, .bf-team-dialog.is-fullscreen .bf-team-fact dt, .bf-team-dialog.is-fullscreen .bf-team-contact-label, .bf-team-dialog.is-fullscreen .bf-team-credentials, .bf-team-dialog.is-fullscreen .bf-team-role-2 { color: inherit; opacity: .9; }
.bf-team-dialog.is-fullscreen .bf-team-contact-icons .bf-team-contact-item { background: rgba(255, 255, 255, .15); color: inherit; }
.bf-team-dialog.is-fullscreen .bf-team-contact-icons .bf-team-contact-item:hover { background: rgba(255, 255, 255, .3); }
.bf-team-dialog.is-fullscreen .bf-team-cta { background: var(--bf-team-panel-ink); color: var(--bf-team-panel-bg); border-color: transparent; }
.bf-team-dialog.is-fullscreen .bf-team-person-more a { color: inherit; }
.bf-team-dialog.is-fullscreen .bf-team-quote { border-color: currentColor; }
.bf-team-dialog.is-fullscreen .bf-team-dialog-close { top: 20px; right: 20px; width: 48px; height: 48px; background: transparent; color: var(--bf-team-panel-ink); box-shadow: none; border: 2px solid currentColor; }
.bf-team-dialog.is-fullscreen .bf-team-dialog-close:hover { background: rgba(255, 255, 255, .15); }
/* split: the words on one colour, the contact details on another */
.bf-team-dialog.is-fullscreen.is-split .bf-team-dialog-frame { background: var(--bf-team-panel-bg2); }
.bf-team-dialog.is-fullscreen.is-split .bf-team-person { padding: 0; gap: 0; margin: 0; min-height: 100%; max-width: none; align-items: stretch; }
.bf-team-dialog.is-fullscreen.is-split .bf-team-person-main { flex: 1 1 60%; background: var(--bf-team-panel-bg); padding: 80px clamp(24px, 6vw, 96px); align-content: center; }
.bf-team-dialog.is-fullscreen.is-split .bf-team-person-side { flex: 1 1 36%; background: var(--bf-team-panel-bg2); color: var(--bf-team-panel-ink2); padding: 80px clamp(24px, 5vw, 72px); justify-content: center; }
.bf-team-dialog.is-fullscreen.is-split .bf-team-person-main .bf-team-person-words { max-width: none; }

/* ---- Pager ------------------------------------------------------------ */
.bf-team-pager { margin-top: 24px; text-align: center; }
.bf-team-pager:empty { display: none; }
.bf-team-pages { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.bf-team .bf-team-page {
    display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 8px;
    border: 1px solid var(--bf-team-border); border-radius: 8px; background: var(--bf-team-surface); color: var(--bf-team-text); text-decoration: none; font-size: 14px;
}
.bf-team .bf-team-page:hover { border-color: var(--bf-team-accent); color: var(--bf-team-accent); }
.bf-team .bf-team-page.is-current { background: var(--bf-team-accent); border-color: var(--bf-team-accent); color: var(--bf-team-accent-ink); }
.bf-team-gap { align-self: center; color: var(--bf-team-muted); }

/* ---- Profile page ------------------------------------------------------ */
.bf-team-single { margin: 0 0 1.5em; }
.bf-team-single .bf-team-person-photo { flex-basis: 280px; }
.bf-team-back { margin-top: 28px !important; font-weight: 600; }
.bf-team-back a { text-decoration: none; }

/* ---- Responsive ------------------------------------------------------- */
@container (max-width: 980px) {
    .bf-team-grid { grid-template-columns: repeat(min(var(--bf-team-cols, 3), 3), minmax(0, 1fr)); }
    .bf-team-cols-tablet .bf-team-grid { grid-template-columns: repeat(var(--bf-team-cols-t), minmax(0, 1fr)); }
    .bf-team-last-center .bf-team-grid { --bf-team-n: min(var(--bf-team-cols, 3), 3); }
    .bf-team-last-center.bf-team-cols-tablet .bf-team-grid { --bf-team-n: var(--bf-team-cols-t); }
}
@container (max-width: 760px) {
    .bf-team-grid { grid-template-columns: repeat(min(var(--bf-team-cols, 3), 2), minmax(0, 1fr)); }
    .bf-team-cols-tablet .bf-team-grid { grid-template-columns: repeat(var(--bf-team-cols-t), minmax(0, 1fr)); }
    .bf-team-last-center .bf-team-grid { --bf-team-n: min(var(--bf-team-cols, 3), 2); }
    .bf-team-last-center.bf-team-cols-tablet .bf-team-grid { --bf-team-n: var(--bf-team-cols-t); }
    .bf-team-alternating .bf-team-card, .bf-team-alternating .bf-team-card:nth-child(even) { flex-direction: column; align-items: stretch; }
    .bf-team-alternating .bf-team-photo { max-width: none; }
    .bf-team-alternating .bf-team-name { font-size: 1.6em; }
    .bf-team-list .bf-team-photo { flex-basis: 140px; }
    .bf-team-group-row { flex-wrap: wrap; gap: 10px 18px; }
    .bf-team-group-name { min-width: 0; flex-basis: calc(100% - 40px); }
    .bf-team-search { max-width: none; }
}
@container (max-width: 480px) {
    .bf-team-grid { grid-template-columns: minmax(0, 1fr); }
    .bf-team-cols-phone .bf-team-grid { grid-template-columns: repeat(var(--bf-team-cols-p), minmax(0, 1fr)); }
    .bf-team-last-center .bf-team-grid, .bf-team-last-center.bf-team-cols-tablet .bf-team-grid { --bf-team-n: 1; }
    .bf-team-last-center.bf-team-cols-phone .bf-team-grid { --bf-team-n: var(--bf-team-cols-p); }
    .bf-team-list .bf-team-card { flex-direction: column; }
    .bf-team-list .bf-team-photo { flex-basis: auto; width: 100%; max-width: 240px; }
    .bf-team-list .bf-team-img { height: auto; }   /* height:100% had nothing to resolve: a 0×0 photo (Joe, TEAM-01 E.1) */
    .bf-team-person-photo { flex-basis: 100%; max-width: 240px; }
}
@media (max-width: 640px) {
    .bf-team-dialog { padding: 0; }
    .bf-team-dialog-frame { width: 100%; height: 100%; max-height: none; border-radius: 0; }
    .bf-team-dialog-body { padding: 64px 22px 28px; }
    .is-modal .bf-team-dialog-body .bf-team-reveal { padding: 64px 22px 28px; }
    .bf-team-dialog.is-fullscreen .bf-team-person, .bf-team-dialog.is-fullscreen.is-split .bf-team-person-main, .bf-team-dialog.is-fullscreen.is-split .bf-team-person-side { padding: 64px 22px 28px; }
    .bf-team-dialog .bf-team-dialog-prev, .bf-team-dialog .bf-team-dialog-next { top: auto; bottom: 12px; transform: none; }
    .bf-team-dialog .bf-team-dialog-prev { transform: rotate(180deg); }
}
/* A SPLIT full-screen panel stacks into one column on small screens (2026-11-20, the Novamira workshop: at 390px the
   two percentage bases never wrapped, the bio sat in a 198px column and the email ran off the screen). Main half on
   top in its color, the contact half under it in the second color, only as tall as its words; the frame behind is the
   second color, so a short panel ends in it. panel_stack: phone (767px, the default) | tablet (980px) | never.
   The 84px on top keeps the close button off the name; the 76px at the bottom clears the previous / next arrows. */
@media (max-width: 767px) {
    .bf-team-dialog.is-fullscreen.is-split:not(.is-stack-never) .bf-team-person { flex-direction: column; flex-wrap: nowrap; }
    .bf-team-dialog.is-fullscreen.is-split:not(.is-stack-never) .bf-team-person-main { flex: 0 0 auto; width: 100%; padding: 84px 22px 32px; align-content: flex-start; }
    .bf-team-dialog.is-fullscreen.is-split:not(.is-stack-never) .bf-team-person-side { flex: 0 0 auto; width: 100%; padding: 28px 22px 76px; justify-content: flex-start; }
    .bf-team-dialog.is-fullscreen.is-split:not(.is-stack-never).is-side-first .bf-team-person-side { order: -1; padding: 84px 22px 28px; }
    .bf-team-dialog.is-fullscreen.is-split:not(.is-stack-never).is-side-first .bf-team-person-main { flex: 1 0 auto; padding: 32px 22px 76px; }
}
@media (max-width: 980px) {
    .bf-team-dialog.is-fullscreen.is-split.is-stack-tablet .bf-team-person { flex-direction: column; flex-wrap: nowrap; }
    .bf-team-dialog.is-fullscreen.is-split.is-stack-tablet .bf-team-person-main { flex: 0 0 auto; width: 100%; padding: 84px 22px 32px; align-content: flex-start; }
    .bf-team-dialog.is-fullscreen.is-split.is-stack-tablet .bf-team-person-side { flex: 0 0 auto; width: 100%; padding: 28px 22px 76px; justify-content: flex-start; }
    .bf-team-dialog.is-fullscreen.is-split.is-stack-tablet.is-side-first .bf-team-person-side { order: -1; padding: 84px 22px 28px; }
    .bf-team-dialog.is-fullscreen.is-split.is-stack-tablet.is-side-first .bf-team-person-main { flex: 1 0 auto; padding: 32px 22px 76px; }
}
/* Contact lines in a panel's side never run off it: a long address wraps anywhere, a number stays in one piece
   (it moves under its label instead of breaking in the middle). */
.bf-team-person-side .bf-team-contact-item { max-width: 100%; flex-wrap: wrap; }
.bf-team-person-side .bf-team-contact-text { min-width: 0; overflow-wrap: anywhere; }
.bf-team-person-side .bf-team-contact-phone .bf-team-contact-text, .bf-team-person-side .bf-team-contact-mobile .bf-team-contact-text, .bf-team-person-side .bf-team-contact-fax .bf-team-contact-text { white-space: nowrap; overflow-wrap: normal; }
@media (prefers-reduced-motion: reduce) {
    .bf-team *, .bf-team-dialog * { transition: none !important; }
    .bf-team-dialog[data-bf-motion] .bf-team-dialog-frame, .bf-team-dialog[data-bf-motion] .bf-team-dialog-backdrop { animation: none !important; }
    .bf-team-card-lifted .bf-team-card:hover { transform: none; }
}
