/* BHO LEGAL – dynamic team carousel. Deliberately scoped; no theme resets. */
.bho-team-karussell {
    --bho-team-gap: 6px;
    --bho-team-visible: 4;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    color: inherit;
    font-family: inherit;
}
.bho-team-karussell *,
.bho-team-karussell *::before,
.bho-team-karussell *::after { box-sizing: border-box; }
.bho-team-karussell__controls[hidden] { display: none !important; }
.bho-team-karussell__controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    margin: 0 0 15px;
}
.bho-team-karussell__button {
    display: inline-grid;
    place-items: center;
    appearance: none;
    width: 35px;
    height: 35px;
    min-width: 35px;
    padding: 0;
    border: 1px solid #d4dbe2;
    border-radius: 50%;
    color: #273643;
    background: transparent;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease;
}
.bho-team-karussell__button:hover { background: #f3f6f8; border-color: #98a8b6; }
.bho-team-karussell__button:focus-visible,
.bho-team-karussell__link:focus-visible { outline: 2px solid #315d82; outline-offset: 3px; }
.bho-team-karussell__button svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.bho-team-karussell__toggle svg { fill: currentColor; stroke: none; width: 15px; height: 15px; }
.bho-team-karussell__icon-play { display: none !important; }
.bho-team-karussell.is-paused .bho-team-karussell__icon-pause { display: none !important; }
.bho-team-karussell.is-paused .bho-team-karussell__icon-play { display: block !important; }
.bho-team-karussell__viewport { overflow: hidden; max-width: 100%; touch-action: pan-y; }
.bho-team-karussell__viewport:focus-visible { outline: 2px solid #315d82; outline-offset: 3px; }
.bho-team-karussell__track {
    display: flex;
    position: relative;
    align-items: flex-start;
    gap: var(--bho-team-gap);
    transform: translate3d(0, 0, 0);
    transition: transform 520ms cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}
.bho-team-karussell__item {
    position: relative;
    flex: 0 0 calc((100% - (var(--bho-team-visible) - 1) * var(--bho-team-gap)) / var(--bho-team-visible));
    min-width: 0;
    margin: 0;
    padding: 0;
}
.bho-team-karussell__link,
.bho-team-karussell__link:visited {
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
    background: transparent;
}
.bho-team-karussell__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center center;
    border-radius: 0;
    background-color: #f1f3f5;
    transition: none;
}
.bho-team-karussell__name {
    display: block;
    margin-top: 14px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.38;
    letter-spacing: 0;
    color: inherit;
}
.bho-team-karussell__role {
    display: block;
    margin-top: 3px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0;
    color: inherit;
}
.bho-team-karussell__link:hover .bho-team-karussell__name,
.bho-team-karussell__link:focus-visible .bho-team-karussell__name { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1299px) {
    .bho-team-karussell { --bho-team-visible: 3; }
}
@media (max-width: 979px) {
    .bho-team-karussell { --bho-team-visible: 2; }
}
@media (max-width: 639px) {
    .bho-team-karussell { --bho-team-visible: 1.16; }
    .bho-team-karussell__controls { margin-bottom: 11px; }
    .bho-team-karussell__button { width: 38px; height: 38px; min-width: 38px; }
}
@media (prefers-reduced-motion: reduce) {
    .bho-team-karussell__track,
    .bho-team-karussell__button { transition: none; }
}
