/* =========================
   REPREZENTUJEME SLOVENSKO
========================= */

.national-team {
    padding: 54px 0 48px;
}

html.dark-mode .national-team {
    background: var(--bg-dark);
}

.national-team-inner {
    display: grid;
    grid-template-columns: 0.95fr 1.25fr;
    gap: 32px;
}

.national-team-content {
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.national-team-content h2 {
    max-width: 520px;
    color: var(--blue-dark);
    font-size: var(--font-h2);
    line-height: 1.05;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.national-team-content p {
    max-width: 520px;
    margin-top: 15px;
    color: var(--text-light);
    font-size: var(--font-h4);
    line-height: 1.75;
}

.team-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 100px;
    margin-bottom: 30px;
}

.team-feature {
    min-width: 0;
    text-align: center;
}

.team-feature img {
    width: 54px;
    height: 54px;
    margin: 0 auto 12px;
    object-fit: contain;
}

.team-feature strong {
    display: block;
    margin-bottom: 5px;
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
}

.team-feature span {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}

.national-team-content .btn {
    width: fit-content;
    min-width: 230px;
    margin-top: auto;
}

.national-team-media {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    border-radius: var(--radius-lg);
    background: var(--bg-dark);
    box-shadow: var(--shadow-overlay);
}

.national-team-media img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    object-position: center;
}

.media-caption {
    position: absolute;
    left: 24px;
    bottom: 22px;
    max-width: 430px;
    padding: 14px 18px;
    border-radius: 10px;
    background: rgba(2, 8, 23, .78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.media-caption span {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, .75);
    font-size: 11px;
    font-weight: 700;
}

.media-caption strong {
    display: block;
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
}

html.dark-mode .national-team-content h2,
html.dark-mode .team-feature strong {
    color: var(--white);
}

html.dark-mode .national-team-content p,
html.dark-mode .team-feature span {
    color: var(--text-white-muted);
}

html.dark-mode .team-feature img {
    filter: brightness(0) invert(1);
}

@media (max-width: 980px) {
    .national-team-inner {
        grid-template-columns: 1fr;
    }

    .national-team-content {
        min-height: auto;
    }

    .team-features {
        margin-top: 36px;
    }

    .national-team-content .btn {
        margin-top: 32px;
    }
}

@media (max-width: 700px) {
    .national-team {
        padding: 44px 0 40px;
    }

    .national-team-content h2 {
        font-size: clamp(26px, 8vw, 32px);
        letter-spacing: -.5px;
    }

    .national-team-content p {
        font-size: 16px;
        line-height: 1.65;
    }

    .team-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 12px;
        margin-top: 30px;
    }

    .national-team-content .btn {
        width: 100%;
        min-width: 0;
    }

    .national-team-media,
    .national-team-media img {
        min-height: 240px;
    }

    .media-caption {
        right: 16px;
        left: 16px;
        bottom: 16px;
    }
}
