.nextcore-team-shell,
.nextcore-team-shell * {
    box-sizing: border-box;
}

.nextcore-team-host {
    position: relative;
    isolation: isolate;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 44px !important;
    align-content: center !important;
    min-height: var(--section-height, calc(100svh - 88px)) !important;
    padding-block: var(--section-space, 48px) !important;
}

.nextcore-team-host::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    z-index: -1;
    width: 100vw;
    height: 100%;
    background-color: color-mix(in srgb, var(--bg, #070b0d) 94%, var(--panel, #101618));
    background-image: repeating-linear-gradient(
        135deg,
        color-mix(in srgb, var(--red, #ed1523) 5%, transparent) 0,
        color-mix(in srgb, var(--red, #ed1523) 5%, transparent) 1px,
        transparent 1px,
        transparent 34px
    );
    transform: translateX(-50%);
}

.nextcore-team-host .team-heading {
    grid-column: 1 / -1;
}

.nextcore-team-host .team-heading .eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    letter-spacing: 1.1px;
}

.nextcore-team-host .team-heading .eyebrow::before {
    content: '';
    width: 4px;
    height: 19px;
    flex-shrink: 0;
    background: #ed1523;
}

.nextcore-team-host .team-description {
    max-width: 800px;
    margin-top: 22px;
    color: var(--muted, #69717a);
    font-size: 16px;
    line-height: 1.75;
}

.nextcore-team-host .nextcore-team-shell {
    width: 100%;
}

.nextcore-team-menu-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    list-style: none;
}

.nextcore-team-section {
    margin-bottom: 32px;
    scroll-margin-top: 80px;
}

.nextcore-team-grid {
    display: grid;
    grid-template-columns: repeat(var(--nct-columns, 3), minmax(0, 1fr));
    gap: var(--nct-gap, 28px);
}

.nextcore-team-photo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.nextcore-team-ratio-1-1 img { aspect-ratio: 1; }
.nextcore-team-ratio-4-5 img { aspect-ratio: 4 / 5; }
.nextcore-team-ratio-3-4 img { aspect-ratio: 3 / 4; }
.nextcore-team-ratio-16-9 img { aspect-ratio: 16 / 9; }

.nextcore-team-photo-placeholder svg {
    width: 64px;
    height: 64px;
}

.nextcore-team-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nextcore-team-contact a {
    display: inline-flex;
    align-items: center;
}

.nextcore-team-contact svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

@media (max-width: 1024px) {
    .nextcore-team-grid {
        grid-template-columns: repeat(var(--nct-tablet-columns, 2), minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .nextcore-team-host {
        gap: 30px !important;
        min-height: auto !important;
        padding-block: 32px 48px !important;
    }

    .nextcore-team-host .team-description {
        font-size: 15px;
    }

    .nextcore-team-grid {
        grid-template-columns: repeat(var(--nct-mobile-columns, 1), minmax(0, 1fr));
    }
}
