/* ============ WP NAVIGATION DROPDOWN ============ */
.nav-links .menu-item { position: relative; }
.nav-links .menu-item > a {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    padding: 10px 18px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
}
.nav-links .menu-item > a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%; right: 50%;
    height: 2px;
    background: var(--teal);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links .menu-item > a:hover { color: var(--white); }
.nav-links .menu-item > a:hover::after { left: 18px; right: 18px; }

/* Remove list dots from nav items */
.nav-links,
.nav-links .menu-item,
.nav-links .sub-menu,
.nav-links .sub-menu .menu-item {
    list-style: none !important;
    list-style-type: none !important;
}
.nav-links .menu-item::marker,
.nav-links .sub-menu .menu-item::marker {
    content: none;
    display: none;
}

.nav-links .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(15, 31, 53, 0.96);
    backdrop-filter: blur(24px);
    border-radius: 12px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.08);
    z-index: 100;
    list-style: none;
}

.nav-links .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links .sub-menu .menu-item > a {
    padding: 10px 24px 10px 40px;
    font-size: 13px;
    border-radius: 0;
    display: block;
    white-space: nowrap;
    position: relative;
}
.nav-links .sub-menu .menu-item > a::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
}
/* Sport-specific submenu dot colors */
.nav-links .sub-menu .menu-item:nth-child(1) > a::before { background: #183050; }
.nav-links .sub-menu .menu-item:nth-child(2) > a::before { background: #2e7abe; }
.nav-links .sub-menu .menu-item:nth-child(3) > a::before { background: #095ba5; }
.nav-links .sub-menu .menu-item:nth-child(4) > a::before { background: #ef7e82; }
.nav-links .sub-menu .menu-item:nth-child(5) > a::before { background: #03b4bc; }
.nav-links .sub-menu .menu-item:nth-child(6) > a::before { background: #005c60; }
.nav-links .sub-menu .menu-item > a::after { display: none; }
.nav-links .sub-menu .menu-item > a:hover {
    background: rgba(3, 180, 188, 0.12);
    color: var(--teal);
}

/* Nav CTA button in WP menu */
.nav-links .menu-item.nav-cta-item > a {
    background: linear-gradient(135deg, var(--teal), #02a0a7);
    color: var(--white);
    padding: 10px 24px;
    margin-left: 12px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(3, 180, 188, 0.3);
}
.nav-links .menu-item.nav-cta-item > a::after { display: none; }
.nav-links .menu-item.nav-cta-item > a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(3, 180, 188, 0.45);
}

/* ============ NEWS ENHANCED GRID ============ */
.news-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ============ SPORT SUBPAGE STYLES ============ */
.sport-page-hero {
    position: relative;
    padding: 180px 0 80px;
    background: var(--navy-deep);
    overflow: hidden;
}
.sport-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,31,53,0.3), rgba(15,31,53,0.9));
    z-index: 1;
}
.sport-page-hero .container { position: relative; z-index: 2; }
.sport-page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(48px, 7vw, 96px);
    color: var(--white);
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 16px;
}
.sport-page-hero .sport-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    max-width: 600px;
}

.sport-content { padding: var(--section-pad) 0; }
.sport-section { margin-bottom: 60px; }

.sport-section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 42px);
    color: var(--navy);
    letter-spacing: 1px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--teal);
    display: inline-block;
}

.sport-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-600);
    max-width: 800px;
    margin-bottom: 32px;
}

.sport-teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 32px;
}

.sport-team-badge {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 14px 16px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--navy);
    transition: all 0.3s ease;
}

.sport-team-badge:hover {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(3,180,188,0.25);
}

.sport-schedule-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    margin-bottom: 32px;
}

.sport-schedule-table thead { background: var(--navy); color: var(--white); }

.sport-schedule-table th {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 16px 20px;
    text-align: left;
}

.sport-schedule-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
    color: var(--gray-800);
}

.sport-schedule-table tbody tr:nth-child(even) { background: var(--gray-50); }
.sport-schedule-table tbody tr:hover { background: rgba(3,180,188,0.06); }

.sport-coaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.sport-coach-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.sport-coach-card[data-has-desc="1"] { cursor: pointer; }

.sport-coach-card:hover {
    border-color: var(--teal);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.sport-coach-card[role="button"]:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}

.sport-coach-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: var(--teal);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: gap 0.3s ease;
}

.sport-coach-more i { font-size: 11px; transition: transform 0.3s ease; }
.sport-coach-card:hover .sport-coach-more { gap: 12px; }
.sport-coach-card:hover .sport-coach-more i { transform: translateX(2px); }

/* Coach image */
.sport-coach-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hide broken img element when src is empty */
.sport-coach-img img[src=""],
.sport-coach-img img:not([src]) {
    display: none;
}

/* Fallback icon when no image */
.sport-coach-img::after {
    content: '\f007';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 48px;
    color: var(--gray-300);
    position: absolute;
    z-index: 0;
}

/* Hide fallback icon when a real image exists */
.sport-coach-img:has(img[src]:not([src=""]))::after {
    display: none;
}

.sport-coach-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.sport-coach-card:hover .sport-coach-img img {
    transform: scale(1.05);
}

/* Coach avatar placeholder (when no image) */
.sport-coach-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.sport-coach-info {
    padding: 20px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Fallback: if no .sport-coach-info wrapper, add padding to card directly */
.sport-coach-card > .sport-coach-name:first-child {
    padding-top: 24px;
    padding-left: 24px;
    padding-right: 24px;
}

.sport-coach-name {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--navy);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.sport-coach-role {
    font-size: 13px;
    color: var(--teal);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.sport-coach-contact {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-top: auto;
}

.sport-coach-contact a { color: var(--blue); transition: color 0.2s; }
.sport-coach-contact a:hover { color: var(--teal); }

/* Cards without images - add padding */
.sport-coach-card > .sport-coach-name {
    padding: 24px 24px 0 24px;
}
.sport-coach-card > .sport-coach-role {
    padding: 0 24px;
}
.sport-coach-card > .sport-coach-contact {
    padding: 0 24px 24px;
}

.sport-contact-box {
    background: linear-gradient(135deg, var(--navy-deep), var(--navy));
    border-radius: 20px;
    padding: 40px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.sport-contact-box::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(3,180,188,0.15), transparent 70%);
    border-radius: 50%;
}

.sport-contact-box h3 {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    position: relative;
}

.sport-contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    position: relative;
}

.sport-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.75);
    font-size: 15px;
}

.sport-contact-item svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; }
.sport-contact-item a { color: var(--teal); transition: color 0.2s; }
.sport-contact-item a:hover { color: var(--pink-light); }

/* ============ DOCUMENTS PAGE ============ */
.docs-page-hero {
    position: relative;
    padding: 180px 0 80px;
    background: var(--navy-deep);
    overflow: hidden;
}
.docs-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,31,53,0.3), rgba(15,31,53,0.9));
    z-index: 1;
}
.docs-page-hero .container { position: relative; z-index: 2; }
.docs-page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(48px, 7vw, 80px);
    color: var(--white);
    letter-spacing: 2px;
    line-height: 1;
}

.docs-content { padding: var(--section-pad) 0; }
.docs-category { margin-bottom: 48px; }

.docs-category-title {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--navy);
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-200);
}

.docs-list { display: grid; gap: 12px; }

.doc-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--gray-800);
}

.doc-item:hover {
    border-color: var(--teal);
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.doc-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.doc-icon i { font-size: 20px; color: var(--white); }
.doc-info { flex: 1; }
.doc-name { font-weight: 700; font-size: 15px; color: var(--navy); margin-bottom: 2px; }
.doc-meta { font-size: 12px; color: var(--gray-600); }

.doc-download {
    width: 36px; height: 36px;
    background: var(--gray-50);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    color: var(--gray-600);
}

.doc-item:hover .doc-download { background: var(--teal); color: var(--white); }
.doc-download i { font-size: 16px; }

/* ============ SINGLE POST ============ */
.single-post-hero {
    position: relative;
    padding: 160px 0 60px;
    background: var(--navy-deep);
    overflow: hidden;
}
.single-post-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,31,53,0.4), rgba(15,31,53,0.9));
    z-index: 1;
}
.single-post-hero .container { position: relative; z-index: 2; }
.single-post-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 64px);
    color: var(--white);
    letter-spacing: 1px;
    line-height: 1.1;
    margin-bottom: 16px;
}

.single-post-meta {
    display: flex;
    gap: 20px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    flex-wrap: wrap;
}
.single-post-meta span { display: flex; align-items: center; gap: 6px; }
.single-post-meta i { font-size: 14px; }

.single-post-content { padding: 60px 0 var(--section-pad); }
.single-post-content .container { max-width: 800px; }

.single-post-content .entry-content {
    font-size: 17px;
    line-height: 1.9;
    color: var(--gray-800);
}

.single-post-content .entry-content h2 {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--navy);
    margin: 40px 0 16px;
    letter-spacing: 1px;
}

.single-post-content .entry-content h3 {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--navy);
    margin: 32px 0 12px;
}

.single-post-content .entry-content p { margin-bottom: 20px; }
.single-post-content .entry-content img { border-radius: 16px; margin: 24px 0; }

.single-post-content .entry-content blockquote {
    border-left: 4px solid var(--teal);
    padding: 20px 24px;
    margin: 24px 0;
    background: var(--gray-50);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--gray-600);
}

.single-post-content .entry-content ul,
.single-post-content .entry-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
    list-style: disc;
}
.single-post-content .entry-content li { margin-bottom: 8px; }

.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-200);
}

.post-nav a {
    padding: 20px 24px;
    background: var(--gray-50);
    border-radius: 12px;
    transition: all 0.3s ease;
    display: block;
}

.post-nav a:hover {
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.post-nav .nav-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.post-nav .nav-title { font-weight: 700; color: var(--navy); font-size: 15px; }
.post-nav .next { text-align: right; }

/* ============ ARCHIVE ============ */
.archive-content .news-title { color: var(--navy); }
.archive-content .news-card:hover .news-title { color: var(--teal); }
.archive-content .news-date { color: var(--gray-600); }
.archive-content .news-date svg,
.archive-content .news-date i { opacity: 0.6; }
.archive-content .news-excerpt { color: var(--gray-600); }
.archive-content .news-body { background: var(--white); border-radius: 0 0 16px 16px; display: flex; flex-direction: column; flex: 1; }
.archive-content .news-card { border: 1px solid var(--gray-200); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.archive-content .news-card > a { display: flex; flex-direction: column; flex: 1; }
.archive-content .news-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.08); transform: translateY(-4px); }
.archive-content .news-excerpt { flex: 1; }
.archive-content .news-read-more { margin-top: auto; }

.archive-hero {
    position: relative;
    padding: 160px 0 60px;
    background: var(--navy-deep);
    overflow: hidden;
}
.archive-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,31,53,0.4), rgba(15,31,53,0.9));
    z-index: 1;
}
.archive-hero .container { position: relative; z-index: 2; }
.archive-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(42px, 6vw, 72px);
    color: var(--white);
    letter-spacing: 2px;
    line-height: 1;
}

.archive-content { padding: var(--section-pad) 0; }

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

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination .page-numbers {
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    color: var(--gray-600);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}

/* ============ 404 ============ */
.error-404-content {
    padding: 180px 0 var(--section-pad);
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.error-404-content h1 {
    font-family: var(--font-display);
    font-size: clamp(80px, 15vw, 200px);
    color: var(--gray-200);
    line-height: 1;
    margin-bottom: 16px;
}

.error-404-content h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 48px);
    color: var(--navy);
    margin-bottom: 16px;
}

.error-404-content p { font-size: 16px; color: var(--gray-600); margin-bottom: 32px; }

/* ============ FOOTER BILLING ============ */
.footer-billing {
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 32px;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

.footer-billing-row {
    display: contents;
}

.footer-billing-row span {
    white-space: nowrap;
}

.footer-billing-row i {
    color: var(--teal);
    width: 16px;
    text-align: center;
    margin-right: 6px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .footer-billing {
        flex-direction: column;
        gap: 8px;
    }
}

/* ============ DOCS FILTER TABS ============ */
.docs-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

.docs-filter-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s ease;
}

.docs-filter-btn:hover,
.docs-filter-btn.active {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}

/* ============ RESPONSIVE EXTRAS ============ */
@media (max-width: 1024px) {
    .archive-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid-6 { grid-template-columns: repeat(2, 1fr); }
    .sport-coaches-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .archive-grid { grid-template-columns: 1fr; }
    .news-grid-6 { grid-template-columns: 1fr; }
    .post-nav { grid-template-columns: 1fr; }
    .sport-teams-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
    .sport-contact-info { grid-template-columns: 1fr; }
    .sport-contact-box { padding: 28px; }

    .nav-links {
        position: fixed;
        top: 0; right: 0;
        width: 300px;
        height: 100vh;
        background: rgba(15, 31, 53, 0.98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
    }
    .nav-links.active { transform: translateX(0); }
    .nav-links .menu-item > a {
        padding: 14px 0;
        width: 100%;
        font-size: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .nav-links .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        min-width: 0;
        display: none;
    }
    .nav-links .menu-item-has-children.open > .sub-menu { display: block; }
    .nav-links .sub-menu .menu-item > a { padding: 10px 0; font-size: 14px; }
    .mobile-toggle { display: flex; }
}

/* ============ SZÉCHENYI LOGO ============ */
#szechenyi_2020_logo, #szechenyi_2020_logo_extra {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear 0s;
}
#szechenyi_2020_logo_extra {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 9999;
}
#szechenyi_2020_logo_extra.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
#szechenyi_2020_logo_extra img {
    display: block;
    max-height: 80px;
    width: auto;
}

/* ============ WP SPECIFIC ============ */
.wp-block-image img { border-radius: 12px; }
.alignleft { float: left; margin-right: 24px; margin-bottom: 12px; }
.alignright { float: right; margin-left: 24px; margin-bottom: 12px; }
.aligncenter { display: block; margin: 0 auto 24px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--gray-600); text-align: center; margin-top: 8px; }
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ============ COACH MODAL ============ */
.coach-modal .modal {
    max-width: 640px;
    padding: 0;
    overflow: hidden;
}

.coach-modal-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 32px 60px 24px 36px;
    border-bottom: 1px solid var(--gray-100);
}

.coach-modal-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--navy));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.coach-modal-photo i {
    font-size: 32px;
    color: rgba(255,255,255,0.7);
}

.coach-modal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.coach-modal-name {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--navy);
    letter-spacing: 0.5px;
    margin: 0 0 4px 0;
    line-height: 1.15;
}

.coach-modal-role {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--teal);
}

.coach-modal-desc {
    padding: 24px 36px 36px;
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.8;
    max-height: 60vh;
    overflow-y: auto;
    white-space: pre-line;
}

.coach-modal-teams {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 18px 36px 0;
}

.coach-modal-teams:empty { display: none; }

.coach-modal-team {
    background: var(--gray-100);
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 5px 12px;
    border-radius: 999px;
}

@media (max-width: 768px) {
    .coach-modal-header { padding: 24px 60px 20px 24px; gap: 16px; }
    .coach-modal-photo { width: 64px; height: 64px; }
    .coach-modal-photo i { font-size: 26px; }
    .coach-modal-name { font-size: 22px; }
    .coach-modal-desc { padding: 20px 24px 28px; }
    .coach-modal-teams { padding: 14px 24px 0; }
}

/* ============ COACH HOVER OVERLAY (sport pages) ============ */
/* .sport-coach-img már position: relative — lásd fentebb. */

.sport-coach-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,31,53,0) 0%, rgba(15,31,53,0.85) 50%, rgba(15,31,53,0.95) 100%);
    color: var(--white);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.sport-coach-card:hover .sport-coach-overlay,
.sport-coach-card:focus-within .sport-coach-overlay { opacity: 1; }

.sport-coach-overlay-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 6px;
}

.sport-coach-overlay-teams {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.sport-coach-team {
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 4px 10px;
    border-radius: 999px;
}

.sport-coach-overlay-short {
    font-size: 12.5px;
    line-height: 1.55;
    color: rgba(255,255,255,0.92);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sport-coach-teams-line {
    font-size: 12px;
    color: var(--gray-600);
    line-height: 1.4;
    margin: -4px 0 8px 0;
}

/* On touch devices show overlay permanently — :hover doesn't fire reliably. */
@media (hover: none) {
    .sport-coach-overlay {
        opacity: 1;
        background: linear-gradient(180deg, rgba(15,31,53,0) 30%, rgba(15,31,53,0.88) 100%);
    }
}
