.azur-crew {
    --azur-crew-grid-columns: 3;
    --azur-crew-slides-per-view: 3;
    --azur-crew-grid-column-gap: 54px;
    --azur-crew-grid-row-gap: 42px;
    --azur-crew-carousel-gap: 40px;
    --azur-crew-track-padding: 0px;
    --azur-crew-partial-peek: 0px;
    --azur-crew-card-max-width: 300px;
    --azur-crew-header-gap: 44px;
    --azur-crew-card-content-gap: 18px;
    --azur-crew-accent-color: #eadfd3;
    --azur-crew-accent-opacity: .82;
    --azur-crew-accent-width: 118%;
    --azur-crew-accent-height: 112%;
    --azur-crew-accent-x: 16px;
    --azur-crew-accent-y: 2px;
    --azur-crew-frame-color: #c9a77f;
    --azur-crew-frame-width: 1px;
    --azur-crew-frame-offset: 0px;
    position: relative;
    width: 100%;
    background: #f7f3ef;
    color: #10283d;
}

.azur-crew *,
.azur-crew *::before,
.azur-crew *::after {
    box-sizing: border-box;
}

.azur-crew__inner {
    width: 100%;
    margin-inline: auto;
}

.azur-crew__header {
    width: 100%;
    margin-inline: auto;
    margin-bottom: var(--azur-crew-header-gap);
}

.azur-crew__eyebrow {
    display: block;
    color: #b79572;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.azur-crew__heading {
    margin: 0;
    color: #10283d;
    font-size: clamp(30px, 3.2vw, 48px);
    font-weight: 500;
    line-height: 1.12;
}

.azur-crew__introduction {
    margin-inline: auto;
    color: #617184;
    font-size: 16px;
    line-height: 1.7;
}

.azur-crew__introduction > :first-child,
.azur-crew__biography > :first-child {
    margin-top: 0;
}

.azur-crew__introduction > :last-child,
.azur-crew__biography > :last-child {
    margin-bottom: 0;
}

.azur-crew__stage,
.azur-crew__viewport {
    position: relative;
    min-width: 0;
    width: 100%;
}

.azur-crew__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.azur-crew[data-display-mode="grid"] .azur-crew__list {
    display: grid;
    grid-template-columns: repeat(var(--azur-crew-grid-columns), minmax(0, 1fr));
    column-gap: var(--azur-crew-grid-column-gap);
    row-gap: var(--azur-crew-grid-row-gap);
}

.azur-crew__item {
    display: flex;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.azur-crew__card,
.azur-crew__card-link {
    width: 100%;
    max-width: var(--azur-crew-card-max-width);
}

.azur-crew__card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.azur-crew__card-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 5px;
}

.azur-crew__card {
    display: flex;
    flex-direction: column;
    gap: var(--azur-crew-card-content-gap);
    min-width: 0;
}

.azur-crew__visual {
    position: relative;
    margin-inline: auto;
    isolation: isolate;
}

.azur-crew__accent,
.azur-crew__offset-frame {
    position: absolute;
    pointer-events: none;
}

.azur-crew__accent {
    z-index: -2;
    width: var(--azur-crew-accent-width);
    height: var(--azur-crew-accent-height);
    inset-inline-start: 50%;
    top: 50%;
    transform: translate(calc(-50% + var(--azur-crew-accent-x)), calc(-50% + var(--azur-crew-accent-y)));
    background-color: var(--azur-crew-accent-color);
    opacity: var(--azur-crew-accent-opacity);
    -webkit-mask: url("../images/decor/azur-crew-brush.svg") center / contain no-repeat;
    mask: url("../images/decor/azur-crew-brush.svg") center / contain no-repeat;
}

.azur-crew__offset-frame {
    z-index: -1;
    inset: var(--azur-crew-frame-offset);
    border: var(--azur-crew-frame-width) solid var(--azur-crew-frame-color);
}

.azur-crew--accent-none .azur-crew__accent,
.azur-crew--accent-none .azur-crew__offset-frame,
.azur-crew--accent-brush .azur-crew__offset-frame,
.azur-crew--accent-frame .azur-crew__accent {
    display: none;
}

.azur-crew__frame {
    position: relative;
    width: 100%;
    background: rgba(255, 255, 255, .55);
    overflow: clip;
}

.azur-crew__image,
.azur-crew__image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
}

.azur-crew__image {
    object-fit: cover;
    object-position: center center;
    transition-property: filter, opacity, transform;
    transition-timing-function: ease;
}

.azur-crew__image-placeholder {
    min-height: 220px;
    background:
        linear-gradient(135deg, rgba(16, 40, 61, .05), rgba(16, 40, 61, .12)),
        #eef1f3;
}

.azur-crew__content {
    min-width: 0;
}

.azur-crew__name,
.azur-crew__role,
.azur-crew__biography {
    overflow-wrap: anywhere;
}

.azur-crew__name {
    margin: 0;
    color: #10283d;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
}

.azur-crew__role {
    color: #6e7b89;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .08em;
    line-height: 1.5;
    text-transform: uppercase;
}

.azur-crew__biography {
    color: #617184;
    font-size: 14px;
    line-height: 1.65;
}

.azur-crew[data-display-mode="carousel"] .azur-crew__viewport {
    overflow-x: auto;
    overflow-y: clip;
    padding-inline: var(--azur-crew-track-padding);
    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
    cursor: grab;
}

.azur-crew[data-display-mode="carousel"][data-touch="false"] .azur-crew__viewport {
    touch-action: pan-y;
}

.azur-crew[data-display-mode="carousel"] .azur-crew__viewport::-webkit-scrollbar {
    display: none;
}

.azur-crew[data-display-mode="carousel"] .azur-crew__viewport.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}

.azur-crew[data-display-mode="carousel"] .azur-crew__list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(
        (100% - ((var(--azur-crew-slides-per-view) - 1) * var(--azur-crew-carousel-gap)) - var(--azur-crew-partial-peek))
        / var(--azur-crew-slides-per-view)
    );
    gap: var(--azur-crew-carousel-gap);
    min-width: 100%;
}

.azur-crew__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.azur-crew__arrows {
    display: flex;
    gap: 10px;
}

.azur-crew__nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #d9c8b6;
    border-radius: 4px;
    background: #fff;
    color: #10283d;
    font: inherit;
    line-height: 1;
    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease, background-color .2s ease, color .2s ease;
}

.azur-crew__nav-button:hover {
    transform: translateY(-1px);
}

.azur-crew__nav-button:focus-visible,
.azur-crew__dot:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.azur-crew__nav-button:disabled {
    opacity: .38;
    cursor: not-allowed;
    transform: none;
}

.azur-crew__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.azur-crew__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c5b7aa;
    cursor: pointer;
    transition: width .2s ease, border-radius .2s ease, background-color .2s ease;
}

.azur-crew__dot[aria-current="true"] {
    width: 24px;
    border-radius: 4px;
    background: #10283d;
}

.azur-crew__autoplay-toggle[aria-pressed="true"] .azur-crew__pause-icon,
.azur-crew__autoplay-toggle[aria-pressed="false"] .azur-crew__play-icon {
    display: none;
}

.azur-crew__editor-empty {
    padding: 24px;
    border: 1px dashed #b9c2ca;
    background: #f8fafc;
    color: #526a81;
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .azur-crew[data-display-mode="carousel"] .azur-crew__viewport {
        scroll-behavior: auto;
    }

    .azur-crew__image,
    .azur-crew__nav-button,
    .azur-crew__dot {
        transition-duration: 0s;
    }
}
