.meet-the-team {
    overflow-x: clip;
}

.meet-the-team__inner {
    margin-inline: auto;
    min-width: 0;
}

.meet-the-team__layout {
    align-items: start;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--block-column-gap);
    row-gap: 0;
    min-width: 0;
    width: 100%;
}

.meet-the-team__intro {
    grid-column: 1 / span 8;
    max-width: none;
    min-width: 0;
}

.meet-the-team__preheading {
}

.meet-the-team__heading {
    margin: 0;
}

.meet-the-team__slider-shell {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--block-column-gap);
    row-gap: 1.5rem;
    min-width: 0;
    width: 100%;
}

.meet-the-team__slider {
    grid-column: 1 / -1;
    --meet-the-team-gap-mobile: var(--space-m, 1.5rem);
    --meet-the-team-gap-tablet: var(--meet-the-team-gap-mobile);
    --meet-the-team-gap-desktop: var(--space-m, 1.5rem);
    --meet-the-team-slider-overhang: calc((100dvw - 100%) / 2);
    inline-size: calc(100% + var(--meet-the-team-slider-overhang));
    margin-inline-end: calc(var(--meet-the-team-slider-overhang) * -1);
    overflow: visible;
    min-width: 0;
}

.meet-the-team__track {
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: stretch;
}

.meet-the-team__slider[data-base-theme-swiper-ready="1"] .meet-the-team__track.block-column-gap {
    gap: 0;
}

.meet-the-team__slide {
    height: auto;
    width: min(84vw, 22rem);
}

.meet-the-team__card {
    position: relative;
    height: 100%;
    padding: var(--space-m);
    background: var(--color-midnight-blue, #0c2840);
    color: var(--color-soft-white, #f5f5f5);
    transform: translateY(0);
    transition: transform 220ms ease;
}

.meet-the-team__card:hover,
.meet-the-team__card:focus-within {
    transform: translateY(-0.25rem);
}

.meet-the-team__card-trigger {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.meet-the-team__card-trigger:focus-visible {
    outline: 3px solid var(--color-ginger, #f35608);
    outline-offset: -3px;
}

.meet-the-team__card-body {
	min-width: 0;
	padding-bottom: var(--space-m);
	padding-top: var(--space-m);
}

.meet-the-team__card-body.block-content-stack > .meet-the-team__role {
    margin-top: var(--space-xs);
    margin-bottom: 0;
    margin-block-start: var(--space-xs);
    margin-block-end: 0;
}

.meet-the-team__media {
    aspect-ratio: 342/360;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-grey, #d9d9d9);
}

.meet-the-team__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1);
    transition: filter 220ms ease, transform 220ms ease;
}

.meet-the-team__card:hover .meet-the-team__image,
.meet-the-team__card:focus-within .meet-the-team__image {
    filter: brightness(1.06);
    transform: scale(1.035);
}

.meet-the-team__initials {
    font-size: var(--font-size-xxl);
    color: #333;
    opacity: 0.6;
}

.meet-the-team__name {
    margin: 0;
    color: var(--color-ginger, #f35608);
    font-size: clamp(2rem, 3vw, 2.85rem);
    line-height: 1.05;
}

.meet-the-team__role {
    margin: 0;
    color: var(--color-soft-white, #f5f5f5);
    font-size: clamp(1.05rem, 1.7vw, 1.25rem);
    line-height: 1.3;
}

@media (prefers-reduced-motion: reduce) {
    .meet-the-team__card,
    .meet-the-team__image {
        transition: none;
    }

    .meet-the-team__card:hover,
    .meet-the-team__card:focus-within,
    .meet-the-team__card:hover .meet-the-team__image,
    .meet-the-team__card:focus-within .meet-the-team__image {
        transform: none;
    }
}

.meet-the-team__controls {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	grid-column: 9 / span 4;
	gap: var(--space-l);
	width: fit-content;
	margin-inline-start: 0;
	padding: 10px 16px;
	border: 2px solid var(--color-midnight-blue, #0c2840);
	border-radius: 999px;
	justify-self: end;
}

.meet-the-team__nav {
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    color: var(--color-midnight-blue, #0c2840);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.meet-the-team__nav-icon {
    width: 1.5625rem;
    height: 1.3125rem;
    display: block;
}

.meet-the-team__nav-icon--image {
    object-fit: contain;
}

.meet-the-team__nav:hover,
.meet-the-team__nav:focus-visible {
    color: var(--color-ginger, #f35608);
}

.meet-the-team__nav:focus-visible {
    outline: 2px solid var(--color-ginger, #f35608);
    outline-offset: 2px;
}

.meet-the-team__nav.swiper-button-disabled {
    opacity: 0.45;
    cursor: default;
    transform: none;
}

@media (min-width: 640px) {
    .meet-the-team__slide {
        width: calc((100% - var(--meet-the-team-gap-tablet)) / 2);
    }
}

@media (min-width: 960px) {
    .meet-the-team__slide {
        width: calc((100% - (var(--block-column-gap, var(--meet-the-team-gap-desktop)) * 2)) / 3);
    }
}

body.meet-the-team-modal-is-open {
    overflow: hidden;
}

.meet-the-team__modal[hidden] {
    display: none;
}

.meet-the-team__inner > .meet-the-team__modal {
    margin-top: 0;
    margin-block-start: 0;
}

.meet-the-team__modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    background: rgba(12, 40, 64, 0.72);
    opacity: 0;
    overflow: hidden;
    transition: opacity 260ms ease;
}

.meet-the-team__modal[data-meet-the-team-modal-open="1"] {
    opacity: 1;
}

.meet-the-team__modal-panel {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    min-height: 100dvh;
    max-height: none;
    overflow: hidden;
    background: var(--color-dark-slate, #2f4658);
    color: #0b0b0b;
    opacity: 0;
    transform: translateY(1rem) scale(0.992);
    transition: opacity 260ms ease, transform 260ms ease;
}

.meet-the-team__modal[data-meet-the-team-modal-open="1"] .meet-the-team__modal-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.meet-the-team__modal-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    max-height: 100dvh;
    padding: clamp(1.5rem, 4vw, 3rem);
    padding-inline-end: clamp(2rem, 5vw, 4rem);
    overflow-y: auto;
    background: var(--color-soft-white, #f5f5f5);
}

.meet-the-team__modal-name {
    color: var(--color-ginger, #f35608);
    font-size: var(--font-heading-size-large-hero);
}

.meet-the-team__modal-content.block-content-stack > .meet-the-team__modal-role {
    margin-top: var(--space-m);
    margin-block-start: var(--space-m);
    color: var(--color-dark-slate);
    max-width: 22ch;
}

.meet-the-team__modal-content.block-content-stack > .meet-the-team__modal-bio {
    margin-top: var(--space-xxl);
    margin-block-start: var(--space-xxl);
}

.meet-the-team__modal-bio > :last-child {
    margin-bottom: 0;
}

.meet-the-team__modal-content.block-content-stack > .meet-the-team__modal-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xxs);
    margin-top: var(--space-xl);
    margin-block-start: var(--space-xl);
}

.meet-the-team__modal-link {
    align-items: center;
    color: var(--color-teal, #177775) !important;
    display: inline-flex;
    gap: 0.75rem;
    font-size: var(--font-size-l);
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none !important;
    text-decoration-color: currentColor;
}

.meet-the-team__modal-link:hover,
.meet-the-team__modal-link:focus-visible {
    color: var(--color-teal, #177775) !important;
    text-decoration: none !important;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.meet-the-team__modal-link-icon {
    color: currentColor;
    flex: 0 0 auto;
    transition: transform 180ms ease;
    width: 1.25rem;
}

.meet-the-team__modal-link-arrow {
    height: auto;
    width: 100%;
}

.meet-the-team__modal-link:hover .meet-the-team__modal-link-icon,
.meet-the-team__modal-link:focus-visible .meet-the-team__modal-link-icon {
    transform: translateX(0.35rem);
}

.meet-the-team__modal-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 100dvh;
    overflow: hidden;
    background: var(--color-grey, #d9d9d9);
}

.meet-the-team__modal-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.meet-the-team__modal-initials {
    color: #333;
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 700;
    opacity: 0.45;
}

.meet-the-team__modal-close {
    position: absolute;
    top: var(--space-l);
    right: var(--space-l);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--color-midnight-blue, #0c2840);
    cursor: pointer;
    transition: transform 180ms ease, opacity 180ms ease;
}

.meet-the-team__modal-close svg {
    display: block;
    width: 2.75rem;
    height: 2.75rem;
}
.meet-the-team__modal-close svg path {
    transition: fill 180ms ease;
}
.meet-the-team__modal-close:hover svg path {
    fill: var(--color-midnight-blue, #0c2840);
}

.meet-the-team__modal-close:focus-visible {
    color: var(--color-ginger, #f35608);
}

.meet-the-team__modal-close:focus-visible {
    outline: 2px solid var(--color-ginger, #f35608);
    outline-offset: 3px;
}

@media (max-width: 639px) {
    .meet-the-team__controls {
        grid-column: 1 / -1;
        justify-content: flex-start;
        justify-self: start;
    }

    .meet-the-team__nav {
        width: 4.5rem;
        height: 3.5rem;
    }
}

@media (max-width: 959px) {
    .meet-the-team__layout,
    .meet-the-team__slider-shell {
        grid-template-columns: 1fr;
    }

    .meet-the-team__intro,
    .meet-the-team__controls,
    .meet-the-team__slider {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .meet-the-team__modal-panel {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(16rem, 42dvh) minmax(0, 1fr);
        width: 100%;
        min-height: 100dvh;
    }

    .meet-the-team__modal-content {
        order: 2;
        padding: 1.5rem;
        max-height: none;
        overflow-y: auto;
    }

    .meet-the-team__modal-media {
        order: 1;
        min-height: 16rem;
        aspect-ratio: auto;
    }

    .meet-the-team__modal-links {
        margin-top: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .meet-the-team__modal,
    .meet-the-team__modal-panel {
        transition: none;
    }

    .meet-the-team__modal-panel {
        transform: none;
    }
}
