.country-page {
    padding-bottom: 3rem;
}

.country-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 1.5rem 0 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.country-breadcrumb a,
.country-source-note a {
    color: var(--accent-color);
}

.country-hero {
    padding-bottom: 2rem;
}

.country-primary-link,
.country-track-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.country-primary-link:hover,
.country-track-link:hover {
    background: var(--accent-color);
    color: #07110c;
}

.country-data-note,
.country-source-note {
    margin: 1.25rem 0 2rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    line-height: 1.65;
}

.country-league-section {
    margin: 2rem 0;
}

.country-league-section h2,
.country-source-note h2 {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin: 0 0 0.5rem;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.country-league-section h2 span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.country-player-list,
.country-directory-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.country-player-row {
    display: grid;
    grid-template-columns: 44px minmax(140px, 1fr) minmax(180px, 0.8fr) auto;
    align-items: center;
    gap: 0.85rem;
    min-height: 68px;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-color);
}

.country-player-photo {
    width: 42px;
    height: 42px;
    border-radius: 4px;
    object-fit: cover;
    background: var(--bg-surface);
}

.country-player-info {
    min-width: 0;
}

.country-player-info h3,
.country-player-info p {
    margin: 0;
    overflow-wrap: anywhere;
}

.country-player-info h3 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
}

.country-player-info p {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.country-player-club {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    color: var(--text-secondary);
}

.country-player-club img {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    object-fit: contain;
}

.country-player-club span {
    overflow-wrap: anywhere;
}

.country-track-link {
    min-height: 36px;
    padding: 0.4rem 0.75rem;
}

.country-directory-list li {
    border-bottom: 1px solid var(--border-color);
}

.country-directory-list a {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0.25rem;
    color: var(--text-primary);
    text-decoration: none;
}

.country-directory-list a:hover span:first-child {
    color: var(--accent-color);
}

.country-directory-list span:last-child {
    color: var(--text-secondary);
    text-align: right;
}

.country-source-note p {
    margin: 0.6rem 0;
}

@media (max-width: 700px) {
    .country-player-row {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        column-gap: 0.65rem;
    }

    .country-player-club {
        grid-column: 2;
        font-size: 0.9rem;
    }

    .country-track-link {
        grid-column: 3;
        grid-row: 1 / span 2;
    }

    .country-directory-list a {
        align-items: flex-start;
    }
}
