/* ==========================================================================
   KONTAKTY.CSS
   ========================================================================== */

.contacts-hero {
    background-color: #ffffff;
    padding: 140px 0 0 0;
}

.contacts-hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: 70px;
    line-height: 1.1;
    text-transform: uppercase;
    margin-top: 10px;
}

.contacts-main {
    background-color: #ffffff;
}

.contacts-section {
    padding: 60px 0;
}

.contacts-section--gray {
    background-color: #f0f2f5;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.person-card {
    background-color: #e3e8ed;
    border-radius: 10px;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.person-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.person-card--featured {
    background-color: #0b2429;
    color: #fff;
}

.person-photo-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 18px;
    border: 3px solid #379967;
}

.person-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.person-photo-wrapper--empty {
    background-color: transparent;
    border: 2px solid #379967;
    display: flex;
    align-items: center;
    justify-content: center;
}

.person-photo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #379967;
}

.person-name {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0b2429;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.person-card--featured .person-name {
    color: #ffffff;
}

.person-card {
    min-width: 0;
}

.person-phone {
    font-size: 14px;
    color: #506070;
    margin-bottom: 4px;
    font-weight: 700;
    word-break: break-word;
    max-width: 100%;
}

.person-card--featured .person-phone {
    color: #a0b0b2;
}

.person-email {
    font-size: 13px;
    color: #506070;
    margin-bottom: 15px;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
}

.person-card--featured .person-email {
    color: #a0b0b2;
}

.person-role {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #379967;
    letter-spacing: 0.3px;
    margin-top: auto;
    border-top: 1px solid rgba(55, 153, 103, 0.3);
    padding-top: 12px;
    width: 100%;
}

.nav-active {
    color: #379967 !important;
}

@media (max-width: 850px) {
    .contacts-hero {
        padding: 110px 0 0 0;
    }

    .contacts-hero-title {
        font-size: 45px;
    }

    .people-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .team-filters {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .people-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .person-card {
        padding: 20px 15px;
    }

    .person-photo-wrapper {
        width: 75px;
        height: 75px;
    }

    .person-name {
        font-size: 16px;
    }
}

/* ==========================================================================
   VYLEPŠENÁ RESPONZIVITA
   ========================================================================== */

@media (max-width: 850px) {
    /* Hero */
    .hero-title { font-size: 48px; }
    .hero-desc { font-size: 14px; }
    .btn { padding: 12px 22px; font-size: 13px; }
    .badges { flex-wrap: wrap; }

    /* Sekce */
    .news-section, .matches-section, .results-section,
    .teams-section, .history-section, .sponsors-section { padding: 50px 0; }
    .section-title { font-size: 36px; }

    /* Výsledky */
    .res-team { font-size: 11px; }
    .res-score { font-size: 36px; }
    .res-logo { width: 50px; height: 50px; }

    /* Tabulka */
    .league-table th, .league-table td { padding: 8px 10px; font-size: 12px; }

    /* Týmy */
    .team-card { padding: 25px 15px; }
    .team-name { font-size: 15px; }

    /* Historie */
    .timeline-year { font-size: 26px; min-width: 55px; }
    .timeline-content h4 { font-size: 14px; }

    /* Patička */
    .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    /* Hero */
    .hero-title { font-size: 38px; }
    .main-header { padding-top: 60px; }
    .stat-number { font-size: 26px; }
    .stat-title { font-size: 9px; }

    /* Countdown */
    .cd-num { font-size: 20px; }
    .cd-box { padding: 6px 7px; min-width: 38px; }
    .cd-sep { font-size: 16px; }
    .cd-lbl { font-size: 7px; }
    .match-countdown { gap: 4px; }

    /* Match karty */
    .match-logo { width: 60px; height: 60px; }
    .match-score { font-size: 32px; }
    .match-vs { font-size: 24px; }
    .match-date { font-size: 18px; }
    .match-time { font-size: 36px; }
    .match-card { padding: 25px 15px; }

    /* Výsledky */
    .res-score { font-size: 28px; }
    .res-logo { width: 40px; height: 40px; }
    .res-center { padding: 0 10px; }
    .result-card { padding: 14px 10px; }

    /* Filtry */
    .filter-btn { padding: 8px 16px; font-size: 12px; }

    /* Sekce */
    .section-title { font-size: 30px; }
    .container { padding: 0 16px; }
    .news-section, .matches-section, .results-section,
    .teams-section, .history-section, .sponsors-section { padding: 40px 0; }

    /* Týmy */
    .teams-grid, .teams-grid--other { grid-template-columns: 1fr 1fr; gap: 10px; }
    .team-card { padding: 20px 10px; }
    .team-badge { width: 42px; height: 42px; font-size: 14px; }
    .team-name { font-size: 13px; }
    .team-league { font-size: 11px; }

    /* Patička */
    .footer-top { grid-template-columns: 1fr 1fr; gap: 20px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-col-title { font-size: 12px; }
    .footer-links a { font-size: 12px; }

    /* Banner */
    #zkusebni-banner {
        bottom: 12px;
        padding: 10px 14px;
        gap: 10px;
        border-radius: 12px;
        font-size: 12px;
        max-width: 95vw;
    }
}

@media (max-width: 380px) {
    .hero-title { font-size: 30px; }
    .section-title { font-size: 26px; }
    .teams-grid, .teams-grid--other { grid-template-columns: 1fr 1fr; }
    .match-logo { width: 45px; height: 45px; }
    .res-team { font-size: 10px; }
}