.landing-page .umpire-showcase {
    display: grid;
    max-width: none;
    margin: 0;
    gap: 24px;
    padding: clamp(42px, 6vw, 76px) max(24px, calc((100% - 1232px) / 2));
    background:
        radial-gradient(circle at 88% 8%, rgba(253, 140, 0, .12), transparent 24rem),
        linear-gradient(180deg, #f6f8f7, #edf3f0);
}

.umpire-showcase-heading {
    display: flex;
    width: 100%;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
}

.umpire-showcase-heading > div:first-child {
    text-align: left;
}

.umpire-showcase-heading .eyebrow {
    color: #9b5b17;
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .15em;
}

.umpire-showcase-heading h2 {
    margin: 8px 0 5px;
    color: #0d2834;
    font-size: clamp(1.8rem, 3.3vw, 2.7rem);
    font-weight: 900;
    letter-spacing: -.065em;
}

.umpire-showcase-heading p {
    margin: 0;
    color: #71858b;
    font-size: .78rem;
}

.umpire-slider-controls {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.umpire-slider-controls[hidden] {
    display: none;
}

.umpire-slider-controls button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid #d5e2dd;
    border-radius: 50%;
    color: #0d5444;
    background: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: color .18s ease, background .18s ease, border-color .18s ease, opacity .18s ease;
}

.umpire-slider-controls button:not(:disabled):hover,
.umpire-slider-controls button:not(:disabled):focus-visible {
    border-color: #0d5444;
    color: #fff;
    background: #0d5444;
}

.umpire-slider-controls button:focus-visible,
.umpire-profile-track:focus-visible {
    outline: 3px solid #fd8c00;
    outline-offset: 3px;
}

.umpire-slider-controls button:disabled {
    opacity: .42;
    cursor: not-allowed;
}

.umpire-profile-track {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 5px 2px 14px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-color: #9bb7a9 transparent;
    scrollbar-width: thin;
}

.umpire-profile-card {
    position: relative;
    display: flex;
    flex: 0 0 100%;
    min-width: 0;
    min-height: 260px;
    flex-direction: column;
    padding: 19px;
    overflow: hidden;
    border: 1px solid #dce7e1;
    border-radius: 17px;
    background: linear-gradient(150deg, #fff, #f8fbf9);
    box-shadow: 0 12px 28px rgba(16, 51, 41, .06);
    scroll-snap-align: start;
}

.umpire-profile-card::after {
    position: absolute;
    right: -30px;
    bottom: -74px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(14, 113, 79, .08);
    border-radius: 50%;
    box-shadow: 0 0 0 16px rgba(14, 113, 79, .025), 0 0 0 32px rgba(14, 113, 79, .02);
    content: "";
    pointer-events: none;
}

.umpire-profile-topline,
.umpire-profile-footer,
.umpire-rating-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.umpire-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #15724f;
    font-size: .53rem;
    font-weight: 900;
    letter-spacing: .09em;
}

.umpire-verified::before {
    display: grid;
    width: 13px;
    height: 13px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #16805b;
    content: "✓";
    font-size: .55rem;
}

.umpire-card-number {
    color: #9aa9a4;
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .1em;
}

.umpire-profile-identity {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    margin-top: 22px;
}

.umpire-profile-avatar {
    display: grid;
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    place-items: center;
    border: 3px solid #fff;
    border-radius: 19px;
    object-fit: cover;
    background: #dcefe6;
    box-shadow: 0 5px 15px rgba(14, 113, 79, .12);
}

.umpire-profile-avatar-fallback {
    color: #075a42;
    background: linear-gradient(145deg, #dff8e9, #9bd8b5);
    font-size: 1.35rem;
    font-weight: 950;
}

.umpire-profile-identity > div {
    min-width: 0;
}

.umpire-role-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #9a661f;
    font-size: .5rem;
    font-weight: 900;
    letter-spacing: .11em;
}

.umpire-role-label::before {
    width: 7px;
    height: 7px;
    border: 2px solid currentColor;
    border-radius: 50%;
    content: "";
}

.umpire-profile-identity h3 {
    overflow: hidden;
    margin: 5px 0 3px;
    color: #152f37;
    font-size: .98rem;
    font-weight: 900;
    letter-spacing: -.035em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.umpire-profile-identity p {
    overflow: hidden;
    margin: 0;
    color: #81918d;
    font-size: .64rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.umpire-rating-row {
    justify-content: flex-start;
    gap: 9px;
    margin-top: 20px;
}

.umpire-stars {
    color: #e88a16;
    font-size: .92rem;
    letter-spacing: .06em;
    white-space: nowrap;
}

.umpire-rating-row strong {
    color: #163b32;
    font-size: .88rem;
    font-weight: 950;
}

.umpire-rating-row small {
    color: #8c9d96;
    font-size: .62rem;
    font-weight: 700;
}

.umpire-rating-caption {
    margin: 4px 0 14px;
    color: #8a9994;
    font-size: .58rem;
}

.umpire-profile-footer {
    position: relative;
    z-index: 1;
    min-height: 37px;
    margin-top: auto;
    padding-top: 11px;
    border-top: 1px solid #e8efeb;
    color: #788982;
    font-size: .58rem;
}

.umpire-profile-footer > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.umpire-profile-footer > span::before {
    margin-right: 4px;
    color: #16805b;
    content: "⌖";
    font-size: .8rem;
}

.umpire-profile-footer strong {
    flex: 0 0 auto;
    color: #62766e;
    font-weight: 750;
}

.umpire-profile-footer strong b {
    color: #0d5444;
    font-size: .74rem;
}

@media (min-width: 1000px) {
    .umpire-profile-track {
        gap: 15px;
    }

    .umpire-profile-card {
        flex: 1 0 calc((100% - 45px) / 4);
    }
}

@media (min-width: 650px) and (max-width: 999px) {
    .umpire-profile-card {
        flex-basis: calc((100% - 15px) / 2);
    }
}

@media (max-width: 649px) {
    .landing-page .umpire-showcase {
        padding: 42px 24px;
    }

    .umpire-showcase-heading {
        align-items: flex-start;
    }

    .umpire-showcase-heading p {
        max-width: 270px;
        line-height: 1.55;
    }

    .umpire-slider-controls {
        gap: 5px;
    }

    .umpire-slider-controls button {
        width: 36px;
        height: 36px;
    }

    .umpire-profile-track {
        gap: 11px;
        margin-right: -17px;
        padding-right: 17px;
    }

    .umpire-profile-card {
        flex-basis: 88%;
    }
}

@media (max-width: 480px) {
    .landing-page .umpire-showcase {
        padding: 42px 17px;
    }
}

@media (max-width: 390px) {
    .umpire-showcase-heading {
        flex-wrap: wrap;
    }

    .umpire-slider-controls {
        margin-left: auto;
    }

    .umpire-profile-track {
        gap: 11px;
    }

    .umpire-profile-card {
        flex-basis: 94%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .umpire-profile-track {
        scroll-behavior: auto;
    }
}
