.team-hero .program-detail-hero-media {
    aspect-ratio: 3 / 2;
}

.team-hero .program-detail-hero-copy,
.team-hero h1,
.team-hero .program-detail-lead {
    max-width: 100%;
}

.team-heading {
    max-width: 820px;
    margin-bottom: 34px;
}

.team-heading > p:last-child {
    max-width: 760px;
}

.team-path {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.team-path li {
    position: relative;
    display: grid;
    min-width: 0;
    gap: 7px;
    padding: 24px 28px 24px 25px;
    border-block: 1px solid #dce7ef;
    background: #fff;
}

.team-path li:first-child {
    border-left: 1px solid #dce7ef;
    border-radius: 16px 0 0 16px;
}

.team-path li:last-child {
    border-right: 1px solid #dce7ef;
    border-radius: 0 16px 16px 0;
}

.team-path li:not(:last-child)::after {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: -8px;
    width: 15px;
    height: 15px;
    border-top: 1px solid #dce7ef;
    border-right: 1px solid #dce7ef;
    background: #fff;
    content: "";
    transform: translateY(-50%) rotate(45deg);
}

.team-path span {
    color: #00a8ff;
    font-size: .73rem;
    font-weight: 850;
    letter-spacing: .08em;
}

.team-path strong {
    color: #001d40;
    font-size: 1rem;
}

.team-path small {
    color: #63778b;
    font-size: .84rem;
    line-height: 1.5;
}

.team-split,
.team-competition-layout,
.team-schedule-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, .86fr);
    align-items: center;
    gap: clamp(40px, 7vw, 92px);
}

.team-split--reverse {
    grid-template-columns: minmax(380px, .86fr) minmax(0, 1fr);
}

.team-split--reverse .program-detail-copy {
    grid-column: 2;
    grid-row: 1;
}

.team-split--reverse .team-license-steps {
    grid-column: 1;
    grid-row: 1;
}

.team-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: #0056b3;
    font-weight: 750;
}

.team-inline-link span {
    font-size: 1.1em;
    transition: transform .2s ease;
}

.team-inline-link:hover span {
    transform: translateX(3px);
}

.team-check-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.team-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 17px 18px;
    border: 1px solid #d7e4ed;
    border-left: 3px solid #00a8ff;
    border-radius: 13px;
    background: rgba(255, 255, 255, .92);
}

.team-check-list svg,
.team-notice svg {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #0067c7;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.team-check-list span {
    color: #5b6f82;
    font-size: .91rem;
    line-height: 1.55;
}

.team-check-list strong {
    display: block;
    margin-bottom: 2px;
    color: #001d40;
    font-size: .96rem;
}

.team-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.team-process-grid article,
.team-style-grid article,
.team-benefits article {
    min-width: 0;
    border: 1px solid #d8e5ee;
    border-top: 3px solid #00a8ff;
    border-radius: 16px;
    background: #fff;
}

.team-process-grid article {
    padding: 24px;
}

.team-process-grid span {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: #eaf7ff;
    color: #0062bd;
    font-size: .82rem;
    font-weight: 850;
}

.team-process-grid h3,
.team-style-grid h3,
.team-benefits h3 {
    margin-top: 18px;
    color: #001d40;
    font-size: 1.05rem;
}

.team-process-grid p,
.team-style-grid p,
.team-benefits p {
    margin-top: 8px;
    color: #5c7084;
    font-size: .9rem;
    line-height: 1.62;
}

.team-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 22px;
    padding: 18px 20px;
    border: 1px solid #cfe2ef;
    border-radius: 13px;
    background: #f2f9fd;
}

.team-notice p {
    margin: 0;
    color: #425a70;
    font-size: .91rem;
    line-height: 1.65;
}

.team-notice strong {
    color: #001d40;
}

.team-schedule-card {
    overflow: hidden;
    border: 1px solid #cddde9;
    border-top: 3px solid #00a8ff;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 20px 45px rgba(0, 29, 64, .09);
}

.team-schedule-label {
    margin: 0;
    padding: 15px 20px;
    background: #001d40;
    color: #fff;
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
}

.team-session {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px 20px;
    padding: 21px 24px;
}

.team-session + .team-session {
    border-top: 1px solid #e0e8ef;
}

.team-session span {
    color: #425a70;
    font-weight: 750;
}

.team-session strong {
    grid-column: 2;
    grid-row: 1 / span 2;
    color: #0056b3;
    font-size: 1.28rem;
}

.team-session small {
    color: #718398;
    font-size: .8rem;
}

.team-schedule-note {
    margin: 0;
    padding: 15px 20px;
    border-top: 1px solid #e0e8ef;
    background: #f4f8fb;
    color: #536b80;
    font-size: .8rem;
    line-height: 1.5;
    text-align: center;
}

.team-style-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.team-style-grid article {
    padding: 25px;
}

.team-style-grid span {
    color: #00a8ff;
    font-size: .73rem;
    font-weight: 850;
    letter-spacing: .08em;
}

.team-training-band {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.team-training-band span {
    padding: 8px 13px;
    border: 1px solid #d5e3ec;
    border-radius: 999px;
    background: #f6fafc;
    color: #3f5970;
    font-size: .82rem;
    font-weight: 700;
}

.team-license-steps {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.team-license-steps li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border: 1px solid #d4e2ec;
    border-radius: 15px;
    background: #fff;
}

.team-license-steps > li > span {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    background: #0056b3;
    color: #fff;
    font-size: .82rem;
    font-weight: 850;
}

.team-license-steps strong {
    color: #001d40;
}

.team-license-steps p {
    margin: 5px 0 0;
    color: #607489;
    font-size: .87rem;
    line-height: 1.55;
}

.team-competition-layout {
    align-items: start;
}

.team-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.team-benefits article {
    padding: 20px;
}

.team-benefits h3 {
    margin-top: 0;
}

.team-coach-callout {
    padding-top: 0;
}

.team-coach-card,
.team-final-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid #cfe0eb;
    border-top: 3px solid #00a8ff;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(0, 29, 64, .07);
}

.team-coach-card h2,
.team-final-card h2 {
    margin-top: 8px;
    color: #001d40;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    letter-spacing: -.03em;
}

.team-coach-card p:last-child,
.team-final-card > div > p:last-child {
    max-width: 760px;
    margin-top: 12px;
    color: #536b80;
    line-height: 1.7;
}

.team-faq-layout {
    display: grid;
    grid-template-columns: minmax(260px, .52fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(36px, 7vw, 90px);
}

.team-faq-list {
    border-top: 1px solid #ccdce7;
}

.team-faq-list details {
    border-bottom: 1px solid #ccdce7;
}

.team-faq-list summary {
    position: relative;
    padding: 20px 42px 20px 2px;
    color: #001d40;
    cursor: pointer;
    font-weight: 750;
    line-height: 1.45;
    list-style: none;
}

.team-faq-list summary::-webkit-details-marker {
    display: none;
}

.team-faq-list summary::after {
    position: absolute;
    top: 18px;
    right: 4px;
    color: #0067c7;
    content: "+";
    font-size: 1.35rem;
    font-weight: 500;
}

.team-faq-list details[open] summary::after {
    content: "−";
}

.team-faq-list details p {
    margin: -5px 0 20px;
    padding-right: 36px;
    color: #566d82;
    line-height: 1.7;
}

.team-final {
    background: linear-gradient(135deg, #edf8ff 0%, #f8fbfd 100%);
}

.team-final-card {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
}

.team-final-card .program-detail-actions {
    justify-content: flex-end;
    margin-top: 0;
}

.team-back-link {
    grid-column: 1 / -1;
    justify-self: start;
    color: #536c82;
    font-size: .84rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 1024px) {
    .team-path,
    .team-process-grid,
    .team-style-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .team-path li,
    .team-path li:first-child,
    .team-path li:last-child {
        border: 1px solid #dce7ef;
        border-radius: 14px;
    }

    .team-path li::after {
        display: none;
    }

    .team-split,
    .team-split--reverse,
    .team-schedule-layout,
    .team-competition-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .team-split--reverse .program-detail-copy,
    .team-split--reverse .team-license-steps {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 760px) {
    .team-jump .container {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .team-jump .container::-webkit-scrollbar {
        display: none;
    }

    .team-jump a {
        flex: 0 0 auto;
    }

    .team-path,
    .team-process-grid,
    .team-style-grid,
    .team-benefits,
    .team-faq-layout,
    .team-coach-card,
    .team-final-card {
        grid-template-columns: 1fr;
    }

    .team-path li,
    .team-process-grid article,
    .team-style-grid article {
        padding: 20px;
    }

    .team-session {
        gap: 4px 12px;
        padding: 19px 18px;
    }

    .team-session strong {
        font-size: 1.08rem;
    }

    .team-faq-list details p {
        padding-right: 0;
    }

    .team-coach-card,
    .team-final-card {
        align-items: start;
        padding: 24px 20px;
    }

    .team-coach-card .program-detail-secondary {
        width: 100%;
    }

    .team-final-card .program-detail-actions {
        display: grid;
        width: 100%;
        justify-content: stretch;
    }

    .team-final-card .btn,
    .team-final-card .program-detail-secondary {
        width: 100%;
    }
}

@media (max-width: 430px) {
    .team-hero h1 {
        overflow-wrap: anywhere;
    }

    .team-hero .program-detail-eyebrow {
        font-size: .7rem;
        letter-spacing: .085em;
    }

    .team-session {
        grid-template-columns: 1fr;
    }

    .team-session strong,
    .team-session small {
        grid-column: 1;
        grid-row: auto;
    }

    .team-session strong {
        margin-top: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .team-inline-link span {
        transition: none;
    }
}
