/* =========================================================
   DUTCH KINGDOM - SPELERS
   /css/dutch-kingdom-spelers.css

   Volledige stylesheet voor:
   - hero
   - teamoverzicht
   - teamleiding
   - alfabetische spelerslijst
   - spelers accordion
   - gameprofielen
   - bijzonderheden-kaart
   - bijzonderheden modal
   - bijzonderheden carousel
   - desktop / tablet / mobiel
   ========================================================= */


/* =========================================================
   BASIS
   ========================================================= */

.dk-players-page {
    overflow-x: hidden;
}

.dk-players-page .eyebrow {
    margin: 0 0 .55rem;
    color: #ef5428;
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .11em;
}

body.player-specials-open {
    overflow: hidden;
}


/* =========================================================
   HERO
   ========================================================= */

.players-hero {
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4.6rem;
    color: #fff;

    background:
        linear-gradient(
            120deg,
            #082640 0%,
            #0d3d63 55%,
            #196093 100%
        );
}

.players-hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    top: -260px;
    right: -110px;
    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 205, 61, .17),
            transparent 68%
        );
}

.players-hero::after {
    content: "👥";
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%) rotate(7deg);
    opacity: .05;
    font-size: 14rem;
    pointer-events: none;
}

.players-hero__content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.players-hero .eyebrow {
    color: #ffd044;
}

.players-hero h1 {
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 950;
    line-height: .96;
    letter-spacing: -.05em;
}

.players-hero__intro {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 1rem;
    line-height: 1.72;
}


/* =========================================================
   TEAMOVERZICHT
   ========================================================= */

.players-summary {
    position: relative;
    z-index: 5;
    margin-top: -1.8rem;
    padding-top: 0;
}

.players-summary__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .8rem;
}

.players-summary__item {
    min-height: 108px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
    border: 1px solid #e1e7ec;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(16, 44, 67, .08);
}

.players-summary__number {
    color: #0d2e49;
    font-size: 1.7rem;
    font-weight: 950;
    line-height: 1;
}

.players-summary__label {
    margin-top: .3rem;
    color: #7c8b98;
    font-size: .68rem;
    font-weight: 800;
}


/* =========================================================
   SECTIES
   ========================================================= */

.players-leadership,
.players-list-section,
.players-footer-section {
    padding: 5rem 0;
}

.players-leadership {
    background:
        linear-gradient(
            180deg,
            #fff,
            #f8fafb
        );
}

.players-list-section {
    background:
        linear-gradient(
            180deg,
            #f7f9fb,
            #fff
        );
}

.section-heading {
    max-width: 780px;
    margin-bottom: 1.8rem;
}

.section-heading h2 {
    margin: 0 0 .4rem;
    color: #0d2c46;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 950;
    letter-spacing: -.035em;
}

.section-heading p:last-child {
    margin: 0;
    color: #758694;
    font-size: .84rem;
    line-height: 1.65;
}


/* =========================================================
   GENERIEK GAMEPROFIEL
   ========================================================= */

.dk-game-avatar {
    position: relative;
    display: block;
    flex: 0 0 auto;
}

.dk-game-avatar__photo {
    position: absolute;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;

    background:
        linear-gradient(
            135deg,
            #0d3554,
            #1b5a86
        );

    font-weight: 950;
    transform: translate(var(--dk-frame-photo-x, 0%), var(--dk-frame-photo-y, 0%)) scale(var(--dk-frame-photo-scale, 1));
    transform-origin: center;
}

.dk-game-avatar__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.dk-game-avatar__frame {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
}


/* =========================================================
   GAMEPROFIEL - NAAM + TOKEN
   ========================================================= */

.dk-game-name-line {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: .38rem;
}

.dk-game-token {
    display: block;
    flex: 0 0 auto;
    object-fit: contain;
    object-position: center;
}

.dk-game-name {
    min-width: 0;
    display: inline-block;
    color: #102f49;
    font-weight: 950;
}

.dk-game-name--gradient {
    background:
        linear-gradient(
            90deg,
            var(--dk-name-color-1, #7b4dff),
            var(--dk-name-color-2, #b58cff)
        );

    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}


/* =========================================================
   TEAMLEIDING
   ========================================================= */

.leadership-strip {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.leadership-person {
    min-width: 240px;
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    padding: .8rem .95rem;
    color: inherit;
    border: 1px solid #dce3e8;
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    box-shadow: 0 5px 14px rgba(16, 44, 67, .04);

    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.leadership-person:hover {
    transform: translateY(-1px);
    border-color: rgba(214, 165, 31, .45);
    box-shadow: 0 8px 20px rgba(16, 44, 67, .07);
}

.leadership-person--leader {
    border-color: rgba(222, 168, 23, .45);

    background:
        linear-gradient(
            135deg,
            #fff8de,
            #fff
        );
}

.leadership-person__game-avatar {
    width: 54px;
    height: 54px;
}


/* =========================================================
   TEAMLEIDING - PROFIELFOTO

   DIT BLOK BEPAALT ALLEEN DE FOTO IN HET KADER.

   top:
   hoger getal = foto verder naar beneden

   width / height:
   kleiner getal = foto kleiner
   ========================================================= */

.leadership-person__game-avatar
.dk-game-avatar__photo {
    width: 34px;
    height: 37px;
    top: 14px;
    left: 10px;
    border-radius: 7px;
}

.leadership-person__game-avatar
.dk-game-avatar__frame {
    width: 54px;
    height: 54px;
}

.leadership-person__content {
    min-width: 0;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.leadership-person__content
.dk-game-name-line {
    margin-bottom: .08rem;
}

.leadership-person__content
.dk-game-token {
    width: 22px;
    height: 22px;
}

.leadership-person__content
.dk-game-name {
    overflow: hidden;
    max-width: 180px;
    font-size: .8rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.leadership-person__content small {
    color: #8695a1;
    font-size: .58rem;
}


/* =========================================================
   ALFABET
   ========================================================= */

.alphabet-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: 1.5rem;
}

.alphabet-nav a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #36556d;
    border: 1px solid #dfe5ea;
    border-radius: 9px;
    background: #fff;
    font-size: .66rem;
    font-weight: 900;
    text-decoration: none;

    transition:
        color .18s ease,
        background .18s ease,
        border-color .18s ease,
        transform .18s ease;
}

.alphabet-nav a:hover {
    color: #0c2c47;
    border-color: rgba(213, 164, 31, .45);
    background: #fffaf0;
    transform: translateY(-1px);
}


/* =========================================================
   LETTERGROEP
   ========================================================= */

.players-groups {
    display: grid;
    gap: 2rem;
}

.player-letter-group {
    scroll-margin-top: 1.5rem;
}

.player-letter-group__heading {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: .8rem;
}

.player-letter-group__heading::after {
    content: "";
    height: 1px;
    flex: 1;

    background:
        linear-gradient(
            90deg,
            #d9e1e7,
            transparent
        );
}

.player-letter-group__heading span {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #0d2f4a;
    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #ffeaa0,
            #ffd550
        );

    font-size: .76rem;
    font-weight: 950;
}

.player-profile-list {
    display: grid;
    gap: .55rem;
}


/* =========================================================
   SPELERKAART
   ========================================================= */

.player-profile-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #dce4ea;
    border-left: 4px solid #d4a91f;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(16, 44, 67, .045);
    scroll-margin-top: 1.5rem;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.player-profile-card:hover {
    border-color: #d0dbe3;
    border-left-color: #c9970e;
    box-shadow: 0 7px 20px rgba(16, 44, 67, .07);
}

.player-profile-card[open] {
    border-color: #ccd8e1;
    border-left-color: #d19a0c;
    box-shadow: 0 13px 34px rgba(16, 44, 67, .09);
}

.player-profile-card--leader {
    border-left-color: #d99f07;
}

.player-profile-card--coleader {
    border-left-color: #d8b13e;
}


/* =========================================================
   SUMMARY
   ========================================================= */

.player-profile-card__summary {
    min-height: 74px;
    display: grid;

    grid-template-columns:
        62px
        minmax(0, 1fr)
        auto
        34px;

    align-items: center;
    gap: .75rem;
    padding: .55rem .85rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
    outline: none;
    background: #fff;

    transition:
        background .18s ease;
}

.player-profile-card__summary::-webkit-details-marker {
    display: none;
}

.player-profile-card__summary::marker {
    content: "";
}

.player-profile-card__summary:hover {
    background: #fbfcfd;
}

.player-profile-card[open]
> .player-profile-card__summary {
    background:
        linear-gradient(
            90deg,
            #fffaf0 0%,
            #fff 34%
        );

    border-bottom: 1px solid #e3e9ed;
}


/* =========================================================
   SUMMARY AVATAR
   ========================================================= */

.player-profile-card__summary-game-avatar {
    width: 58px;
    height: 58px;
}

.player-profile-card__summary-game-avatar
.dk-game-avatar__photo {
    width: 34px;
    height: 38px;
    top: 18px;
    left: 12px;
    border-radius: 8px;
}


/* =========================================================
   SUMMARY TEKST
   ========================================================= */

.player-profile-card__summary-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.player-profile-card__summary-main > small {
    margin-bottom: .12rem;
    color: #9aa6af;
    font-size: .48rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.player-profile-card__summary-main
.dk-game-token {
    width: 24px;
    height: 24px;
}

.player-profile-card__summary-main
.dk-game-name {
    overflow: hidden;
    max-width: 280px;
    font-size: .84rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.player-profile-card__summary-main
> span:not(.dk-game-name-line) {
    margin-top: .08rem;
    color: #7c8c98;
    font-size: .56rem;
    font-weight: 750;
}

.player-profile-card__summary-quick {
    min-width: 130px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-right: .25rem;
    text-align: right;
}

.player-profile-card__summary-quick small {
    color: #9aa6af;
    font-size: .48rem;
}

.player-profile-card__summary-quick strong {
    color: #536b7d;
    font-size: .59rem;
}


/* =========================================================
   CHEVRON
   ========================================================= */

.player-profile-card__chevron {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f2f5f7;
}

.player-profile-card__chevron span {
    width: 8px;
    height: 8px;
    display: block;
    border-right: 2px solid #587085;
    border-bottom: 2px solid #587085;
    transform: rotate(45deg) translate(-1px, -1px);

    transition:
        transform .22s ease;
}

.player-profile-card[open]
.player-profile-card__chevron span {
    transform: rotate(225deg) translate(-1px, -1px);
}


/* =========================================================
   UITGEKLAPT
   ========================================================= */

.player-profile-card__expanded {
    display: grid;

    grid-template-columns:
        minmax(0, 1.85fr)
        minmax(280px, .75fr);

    background: #fff;
}

.player-profile-card__main {
    min-width: 0;
    padding: 1.25rem;
}

.player-profile-card__header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e6ebef;
}

.player-profile-card__identity {
    display: flex;
    align-items: center;
    gap: .85rem;
}


/* =========================================================
   UITGEKLAPT AVATAR
   ========================================================= */

.player-profile-card__identity-game-avatar {
    width: 72px;
    height: 72px;
}

.player-profile-card__identity-game-avatar
.dk-game-avatar__photo {
    width: 40px;
    height: 46px;
    top: 21px;
    left: 17px;
    border-radius: 7px;
}

.player-profile-card__identity > div {
    min-width: 0;
}

.player-profile-card__identity small {
    display: block;
    margin-bottom: .14rem;
    color: #84929e;
    font-size: .55rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.player-profile-card__identity
.dk-game-token {
    width: 30px;
    height: 30px;
}

.player-profile-card__identity
.dk-game-name {
    margin: 0;
    overflow: hidden;
    max-width: 400px;
    font-size: 1.2rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.player-profile-card__role {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    margin-top: .22rem;
    color: #667b8d;
    font-size: .63rem;
    font-weight: 800;
}


/* =========================================================
   PERSOONLIJK
   ========================================================= */

.player-profile-card__personal {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
    margin-bottom: 1rem;
}

.player-profile-card__personal-item {
    padding: .7rem .75rem;
    border: 1px solid #e4e9ed;
    border-radius: 10px;
    background: #f8fafb;
}

.player-profile-card__personal-item span {
    display: block;
    margin-bottom: .14rem;
    color: #8795a0;
    font-size: .55rem;
    font-weight: 800;
}

.player-profile-card__personal-item strong {
    color: #163550;
    font-size: .72rem;
    font-weight: 900;
}


/* =========================================================
   PRESTATIES
   ========================================================= */

.player-profile-card__achievements {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
}

.player-profile-card__achievement {
    appearance: none;
    width: 100%;
    min-width: 0;

    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto;

    align-items: center;
    gap: .55rem;

    padding: .66rem .7rem;

    border: 1px solid #e4e9ed;
    border-radius: 10px;

    background:
        linear-gradient(
            180deg,
            #fff,
            #f8fafb
        );

    color: inherit;
    font: inherit;
    text-align: left;
}

button.player-profile-card__achievement {
    cursor: pointer;

    transition:
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

button.player-profile-card__achievement:hover {
    transform: translateY(-1px);
    border-color: #d5dde4;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f5f8fa
        );

    box-shadow:
        0 4px 12px rgba(16, 44, 67, .06);
}

.player-profile-card__achievement-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 205, 59, .16);
    font-size: .72rem;
}

.player-profile-card__achievement-label {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.player-profile-card__achievement-label strong {
    overflow: hidden;
    color: #314b60;
    font-size: .66rem;
    font-weight: 900;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.player-profile-card__achievement-label small {
    margin-top: .08rem;
    overflow: hidden;
    color: #98a4ad;
    font-size: .49rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.player-profile-card__achievement b {
    min-width: 38px;
    color: #d44e28;
    font-size: .8rem;
    font-weight: 950;
    text-align: right;
}


/* =========================================================
   BIJZONDERHEDEN KAART

   Exact dezelfde stijl als de rest.
   ========================================================= */

.player-profile-card__achievement--specials {
    border-color: #e4e9ed;

    background:
        linear-gradient(
            180deg,
            #fff,
            #f8fafb
        );
}

.player-profile-card__achievement--specials
.player-profile-card__achievement-icon {
    background: rgba(255, 205, 59, .16);
}

.player-profile-card__achievement--specials
.player-profile-card__achievement-label strong {
    color: #314b60;
}

.player-profile-card__achievement--specials
.player-profile-card__achievement-label small {
    color: #98a4ad;
}

.player-profile-card__achievement--specials b {
    color: #d44e28;
}


/* =========================================================
   RECHTERDEEL
   ========================================================= */

.player-profile-card__about {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border-left: 1px solid #e2e8ec;

    background:
        linear-gradient(
            160deg,
            #f7f9fb,
            #eef3f6
        );
}


/* =========================================================
   GROTE PROFIELFOTO
   ========================================================= */

.player-profile-card__about-photo-wrap {
    position: relative;
    width: 100%;
    padding: .7rem;
}

.player-profile-card__photo {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #d9e2e8;
    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            #edf2f5,
            #f8fafb,
            #e8eef2
        );
}

.player-profile-card__photo img {
    width: 100%;
    height: 100%;
    display: block;
    padding: .35rem;
    object-fit: contain;
}

.player-profile-card__about-frame {
    position: absolute;
    z-index: 3;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}


/* =========================================================
   INTRO
   ========================================================= */

.player-profile-card__about-content {
    min-width: 0;
    padding: .55rem .2rem .1rem;
}

.player-profile-card__about-content > small {
    display: block;
    margin-bottom: .18rem;
    color: #d19b13;
    font-size: .52rem;
    font-weight: 900;
    text-transform: uppercase;
}

.player-profile-card__about-content
.dk-game-token {
    width: 26px;
    height: 26px;
}

.player-profile-card__about-content
.dk-game-name {
    margin: 0;
    font-size: .9rem;
}

.player-profile-card__about-content p {
    margin: 0;
    color: #5d7284;
    font-size: .66rem;
    line-height: 1.6;
}


/* =========================================================
   BIJZONDERHEDEN MODAL
   ========================================================= */

.player-specials-modal {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.player-specials-modal[hidden] {
    display: none !important;
}

.player-specials-modal__backdrop {
    position: absolute;
    inset: 0;

    background:
        rgba(5, 24, 39, .80);

    backdrop-filter:
        blur(7px);

    -webkit-backdrop-filter:
        blur(7px);

    opacity: 0;

    transition:
        opacity .2s ease;
}

.player-specials-modal.is-open
.player-specials-modal__backdrop {
    opacity: 1;
}


/* =========================================================
   MODAL DIALOG
   ========================================================= */

.player-specials-modal__dialog {
    position: relative;
    z-index: 2;

    width: min(92vw, 760px);
    max-height: min(90vh, 900px);

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 30px 80px rgba(4, 26, 43, .32);

    opacity: 0;

    transform:
        translateY(14px)
        scale(.98);

    transition:
        opacity .2s ease,
        transform .2s ease;
}

.player-specials-modal.is-open
.player-specials-modal__dialog {
    opacity: 1;

    transform:
        translateY(0)
        scale(1);
}


/* =========================================================
   MODAL ONZICHTBARE TITEL
   ========================================================= */

.player-specials-modal__sr-title {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}


/* =========================================================
   MODAL SLUITEN
   ========================================================= */

.player-specials-modal__close {
    position: absolute;
    z-index: 20;

    top: 14px;
    right: 14px;

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 50%;

    background:
        rgba(8, 39, 63, .84);

    color: #fff;

    font: inherit;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 5px 16px rgba(0, 0, 0, .18);

    transition:
        transform .18s ease,
        background .18s ease;
}

.player-specials-modal__close:hover {
    transform: scale(1.06);
    background: #0d3d63;
}


/* =========================================================
   CAROUSEL CONTENT
   ========================================================= */

.player-specials-modal__content {
    overflow-y: auto;
    overscroll-behavior: contain;
}

.player-specials-carousel__slides {
    width: 100%;
}


/* =========================================================
   CAROUSEL SLIDE
   ========================================================= */

.player-specials-slide {
    width: 100%;
    background: #fff;
}

.player-specials-slide[hidden] {
    display: none !important;
}

.player-specials-slide.is-active {
    animation:
        player-special-slide-in
        .22s
        ease;
}

@keyframes player-special-slide-in {

    from {
        opacity: 0;
        transform: translateX(8px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* =========================================================
   CAROUSEL FOTO
   ========================================================= */

.player-specials-slide__image {
    width: 100%;

    min-height: 340px;
    max-height: 590px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #e9eef2,
            #f8fafb
        );
}

.player-specials-slide__image img {
    display: block;

    width: 100%;
    height: 100%;

    max-height: 590px;

    object-fit: contain;
    object-position: center;

    background: #f2f5f7;
}

.player-specials-slide__image-empty {
    display: grid;

    width: 100px;
    height: 100px;

    place-items: center;

    border-radius: 50%;

    background: #fff7d9;

    font-size: 2.4rem;
}


/* =========================================================
   CAROUSEL TEKST

   FOTO
   TITEL
   BESCHRIJVING
   ========================================================= */

.player-specials-slide__content {
    padding: 22px 28px 27px;
}

.player-specials-slide__content h3 {
    margin: 0;

    color: #0d2f4a;

    font-size: clamp(
        1.2rem,
        3vw,
        1.65rem
    );

    font-weight: 950;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.player-specials-slide__content p {
    margin: .65rem 0 0;

    color: #617687;

    font-size: .86rem;
    line-height: 1.7;
}


/* =========================================================
   CAROUSEL PIJLEN
   ========================================================= */

.player-specials-modal__nav {
    position: absolute;
    z-index: 15;

    top: 43%;

    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, .70);
    border-radius: 50%;

    background:
        rgba(8, 39, 63, .84);

    color: #fff;

    font: inherit;
    font-size: 2rem;
    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 5px 16px rgba(0, 0, 0, .20);

    transform:
        translateY(-50%);

    transition:
        transform .18s ease,
        background .18s ease,
        opacity .18s ease;
}

.player-specials-modal__nav:hover {
    background: #0d3d63;

    transform:
        translateY(-50%)
        scale(1.06);
}

.player-specials-modal__nav--prev {
    left: 16px;
}

.player-specials-modal__nav--next {
    right: 16px;
}

.player-specials-modal__nav[hidden] {
    display: none !important;
}


/* =========================================================
   CAROUSEL DOTS
   ========================================================= */

.player-specials-modal__dots {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 0 20px 20px;

    background: #fff;
}

.player-specials-modal__dots[hidden] {
    display: none !important;
}

.player-specials-modal__dot {
    width: 8px;
    height: 8px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #cbd3d9;

    cursor: pointer;

    transition:
        width .18s ease,
        background .18s ease,
        transform .18s ease;
}

.player-specials-modal__dot:hover {
    transform: scale(1.2);
    background: #a9b5be;
}

.player-specials-modal__dot.is-active {
    width: 22px;

    border-radius: 999px;

    background: #e4ad17;
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.players-empty {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    border: 1px dashed #d8e0e6;
    border-radius: 14px;
    background: #fff;
}


/* =========================================================
   FOOTER
   ========================================================= */

.players-footer-section {
    background: #fff;
}

.players-footer-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.7rem;
    color: #fff;
    border-radius: 17px;

    background:
        linear-gradient(
            125deg,
            #092944,
            #154f79
        );

    box-shadow:
        0 16px 38px rgba(10, 42, 68, .13);
}

.players-footer-box .eyebrow {
    color: #ffd046;
}

.players-footer-box h2 {
    margin: 0 0 .3rem;
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    font-weight: 950;
}

.players-footer-box p:last-child {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: .72rem;
    line-height: 1.55;
}

.players-footer-box__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .players-summary__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .player-profile-card__expanded {
        grid-template-columns:
            minmax(0, 1.55fr)
            minmax(250px, .85fr);
    }

    .player-profile-card__achievements {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   KLEINE TABLET
   ========================================================= */

@media (max-width: 820px) {

    .players-hero {
        padding: 4.8rem 0 3.7rem;
    }

    .players-leadership,
    .players-list-section,
    .players-footer-section {
        padding: 4rem 0;
    }

    .leadership-strip {
        display: grid;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .leadership-person {
        min-width: 0;
        width: 100%;
    }

    .player-profile-card__summary {
        grid-template-columns:
            58px
            minmax(0, 1fr)
            34px;
    }

    .player-profile-card__summary-quick {
        display: none;
    }

    .player-profile-card__expanded {
        grid-template-columns: 1fr;
    }

    .player-profile-card__about {
        display: grid;

        grid-template-columns:
            minmax(210px, 270px)
            minmax(0, 1fr);

        gap: 1rem;

        border-left: 0;
        border-top: 1px solid #e2e8ec;
    }
}


/* =========================================================
   MOBIEL
   ========================================================= */

@media (max-width: 600px) {

    .players-hero {
        padding: 3.6rem 0 3rem;
    }

    .players-hero h1 {
        font-size: 2.45rem;
    }

    .players-summary {
        margin-top: -.85rem;
    }

    .players-summary__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: .5rem;
    }

    .players-summary__item {
        min-height: 80px;
    }

    .players-leadership,
    .players-list-section,
    .players-footer-section {
        padding: 3.35rem 0;
    }

    .leadership-strip {
        grid-template-columns: 1fr;
    }

    .leadership-person {
        padding: .72rem .75rem;
    }


    /* =====================================================
       MOBIEL - TEAMLEIDING FOTO
       ===================================================== */

    .leadership-person__game-avatar {
        width: 48px;
        height: 48px;
    }

    .leadership-person__game-avatar
    .dk-game-avatar__photo {
        width: 30px;
        height: 33px;
        top: 13px;
        left: 9px;
        border-radius: 6px;
    }

    .leadership-person__game-avatar
    .dk-game-avatar__frame {
        width: 48px;
        height: 48px;
    }


    /* =====================================================
       ACCORDION MOBIEL
       ===================================================== */

    .player-profile-card__summary {
        min-height: 72px;

        grid-template-columns:
            54px
            minmax(0, 1fr)
            30px;

        gap: .5rem;
        padding: .5rem .58rem;
    }

    .player-profile-card__summary-game-avatar {
        width: 52px;
        height: 52px;
    }

    .player-profile-card__summary-game-avatar
    .dk-game-avatar__photo {
        width: 30px;
        height: 34px;
        top: 16px;
        left: 11px;
    }

    .player-profile-card__summary-main > small {
        display: none;
    }

    .player-profile-card__summary-main
    .dk-game-token {
        width: 19px;
        height: 19px;
    }

    .player-profile-card__summary-main
    .dk-game-name {
        max-width: 100%;
        font-size: .76rem;
    }

    .player-profile-card__main {
        padding: .85rem;
    }

    .player-profile-card__identity-game-avatar {
        width: 62px;
        height: 62px;
    }

    .player-profile-card__identity-game-avatar
    .dk-game-avatar__photo {
        width: 34px;
        height: 39px;
        top: 18px;
        left: 14px;
    }

    .player-profile-card__identity
    .dk-game-token {
        width: 22px;
        height: 22px;
    }

    .player-profile-card__identity
    .dk-game-name {
        max-width: 190px;
        font-size: .98rem;
    }

    .player-profile-card__personal {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: .45rem;
    }

    .player-profile-card__achievements {
        grid-template-columns: 1fr;
    }

    .player-profile-card__about {
        display: flex;
        flex-direction: column;
        border-left: 0;
        border-top: 1px solid #e2e8ec;
    }

    .player-profile-card__about-photo-wrap:has(.player-profile-card__about-frame) {
        width: min(72vw, 250px);
        margin: 0 auto;
    }


    /* =====================================================
       CAROUSEL MOBIEL
       ===================================================== */

    .player-specials-modal {
        padding: 10px;
    }

    .player-specials-modal__dialog {
        width: 100%;
        max-height: calc(100vh - 20px);
        border-radius: 16px;
    }

    .player-specials-slide__image {
        min-height: 260px;
        max-height: 58vh;
    }

    .player-specials-slide__image img {
        max-height: 58vh;
    }

    .player-specials-slide__content {
        padding: 18px 19px 21px;
    }

    .player-specials-slide__content h3 {
        font-size: 1.2rem;
    }

    .player-specials-slide__content p {
        font-size: .78rem;
        line-height: 1.65;
    }

    .player-specials-modal__close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }

    .player-specials-modal__nav {
        width: 38px;
        height: 38px;
        font-size: 1.65rem;
    }

    .player-specials-modal__nav--prev {
        left: 8px;
    }

    .player-specials-modal__nav--next {
        right: 8px;
    }

    .player-specials-modal__dots {
        padding-bottom: 16px;
    }

    .players-footer-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .players-footer-box__actions {
        width: 100%;
        flex-direction: column;
    }

    .players-footer-box__actions .button {
        width: 100%;
        justify-content: center;
    }
}


/* =========================================================
   ZEER KLEIN
   ========================================================= */

@media (max-width: 390px) {

    .players-hero h1 {
        font-size: 2.2rem;
    }

    .player-profile-card__personal {
        grid-template-columns: 1fr;
    }

    .player-specials-modal {
        padding: 0;
    }

    .player-specials-modal__dialog {
        width: 100%;
        max-height: 100vh;
        min-height: 100vh;
        border: 0;
        border-radius: 0;
    }

    .player-specials-slide__image {
        min-height: 250px;
        max-height: 62vh;
    }

    .player-specials-slide__image img {
        max-height: 62vh;
    }

    .player-specials-slide__content {
        padding: 17px;
    }
}


/* =========================================================
   TOEGANKELIJKHEID
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .player-profile-card,
    .player-profile-card__summary,
    .leadership-person,
    .alphabet-nav a,
    .player-specials-modal__backdrop,
    .player-specials-modal__dialog,
    .player-specials-slide,
    .player-specials-modal__nav,
    .player-specials-modal__dot {
        transition: none;
        animation: none;
    }
}

/* =========================================================
   BIJZONDERHEDEN - VIDEO
   ========================================================= */

.player-specials-slide__image video {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 520px;
    object-fit: contain;
    border-radius: inherit;
    background: #000;
}

/* =========================================================
   PROFIELKADERS - DEFINITIEVE SYNCHRONISATIE MET PROFIELBEHEER

   Eén geometrie voor ALLE kaderweergaven:
   - basis foto: 72% x 72%
   - top/left: 14%
   - daarna opgeslagen schaal/X/Y uit Profielbeheer

   Zowel de nieuwe --framed classes als de bestaande markup
   met :has(.player-profile-card__about-frame) worden ondersteund.
   ========================================================= */

.dk-game-avatar--framed,
.player-profile-card__about-photo-wrap--framed,
.player-profile-card__about-photo-wrap:has(.player-profile-card__about-frame) {
    position: relative;
    overflow: visible;
}

.dk-game-avatar--framed .dk-game-avatar__photo,
.player-profile-card__about-photo-wrap--framed .player-profile-card__photo,
.player-profile-card__about-photo-wrap:has(.player-profile-card__about-frame) .player-profile-card__photo {
    position: absolute;
    z-index: 1;

    width: 72%;
    height: 72%;
    top: 14%;
    left: 14%;

    overflow: hidden;
    border: 0;
    border-radius: 14%;
    background: #0d3554;

    transform:
        translate(
            var(--dk-frame-photo-x, 0%),
            var(--dk-frame-photo-y, 0%)
        )
        scale(var(--dk-frame-photo-scale, 1));

    transform-origin: center center;
}

.dk-game-avatar--framed .dk-game-avatar__photo img,
.player-profile-card__about-photo-wrap--framed .player-profile-card__photo img,
.player-profile-card__about-photo-wrap:has(.player-profile-card__about-frame) .player-profile-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
    object-position: center;
}

.dk-game-avatar--framed .dk-game-avatar__frame,
.player-profile-card__about-photo-wrap--framed .player-profile-card__about-frame,
.player-profile-card__about-photo-wrap:has(.player-profile-card__about-frame) .player-profile-card__about-frame {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
}

/* Grote geopende profielweergave */
.player-profile-card__about-photo-wrap--framed,
.player-profile-card__about-photo-wrap:has(.player-profile-card__about-frame) {
    width: 50%;
    aspect-ratio: 1 / 1;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

/* Zonder kader blijft de normale foto-layout intact. */
.player-profile-card__about-photo-wrap:not(:has(.player-profile-card__about-frame)) {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

/* picture mag de absolute positionering van het kader niet beïnvloeden */
.dk-frame-picture {
    display: contents;
}

@media (max-width: 700px) {
    .player-profile-card__about-photo-wrap--framed,
    .player-profile-card__about-photo-wrap:has(.player-profile-card__about-frame),
    .player-profile-card__about-photo-wrap:not(:has(.player-profile-card__about-frame)) {
        width: 50%;
    }
}
