/* =====================================================
   OUR CLUB - CLUB PROFILE
===================================================== */

.oc-club-profile {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 15px 50px;
    color: #252525;
    box-sizing: border-box;
}

.oc-club-profile *,
.oc-club-profile *::before,
.oc-club-profile *::after {
    box-sizing: border-box;
}

/* HEADER */

.oc-club-profile-header {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px;
    margin-bottom: 25px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, .04);
}

.oc-club-profile-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 130px;
    width: 130px;
    height: 130px;
    padding: 10px;
    background: #f7f7f7;
    border-radius: 10px;
}

.oc-club-profile-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.oc-club-profile-logo .dashicons {
    width: 55px;
    height: 55px;
    font-size: 55px;
    color: #aaa;
}

.oc-club-profile-heading {
    flex: 1;
    min-width: 0;
}

.oc-club-profile-heading h1 {
    margin: 0 0 8px;
    padding: 0;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 800;
    color: var(--oc-club-secondary);
}

.oc-club-short-name {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--oc-club-secondary);
}

.oc-club-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.oc-club-profile-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--oc-club-secondary);
	font-weight: bold;
}

.oc-club-profile-meta .dashicons {
    width: 17px;
    height: 17px;
    font-size: 17px;
}

/* CONTENT CARDS */

.oc-club-profile-card {
    margin-bottom: 25px;
    padding: 25px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, .035);
}

.oc-club-profile-card > h2 {
    margin: 0 0 20px;
    padding: 0 0 13px;
    border-bottom: 1px solid #eee;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 800;
    color: #222;
}

/* SEASON SELECTOR */

.oc-club-season-form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 20px;
}

.oc-club-season-form label {
    font-size: 13px;
    font-weight: 700;
    color: #555;
}

.oc-club-season-form select {
    min-width: 200px;
    height: 42px;
    padding: 0 35px 0 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    color: #333;
}

.oc-club-season-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.oc-club-season-dates span {
    flex: 1 1 180px;
    padding: 14px 16px;
    border-radius: 7px;
    background: #f7f7f7;
    font-size: 13px;
    color: #555;
}

.oc-club-season-dates strong {
    color: #222;
}

/* LEAGUES */

.oc-club-league-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.oc-club-league-item {
    padding: 17px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #f9f9f9;
    transition: border-color .2s, background .2s;
}

.oc-club-league-item:hover {
    border-color: #ddd;
    background: #fff;
}

.oc-club-league-item h3 {
    margin: 0 0 7px;
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

.oc-club-league-item p {
    margin: 0 0 8px;
    font-size: 12px;
    color: #777;
}

.oc-club-league-item > div > span {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    background: #eee;
    font-size: 11px;
    font-weight: 700;
    color: #666;
}

/* VENUE */

.oc-club-venue {
    padding: 18px;
    border-radius: 8px;
    background: #f8f8f8;
}

.oc-club-venue h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

.oc-club-venue p {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.6;
    color: #666;
}

.oc-club-venue a {
    display: inline-block;
    padding: 9px 15px;
    border-radius: 5px;
    background: #222;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.oc-club-venue a:hover {
    background: #e30613;
    color: #fff;
}

/* EMPTY TEXT */

.oc-club-profile-card > p {
    margin: 0;
    padding: 15px;
    border: 1px dashed #ddd;
    border-radius: 7px;
    background: #fafafa;
    font-size: 13px;
    color: #777;
}

/* RESPONSIVE */

@media (max-width: 767px) {

    .oc-club-profile {
        padding: 15px 10px 35px;
    }

    .oc-club-profile-header {
        flex-direction: column;
        gap: 15px;
        padding: 22px 15px;
        text-align: center;
    }

    .oc-club-profile-logo {
        flex-basis: 100px;
        width: 100px;
        height: 100px;
    }

    .oc-club-profile-heading h1 {
        font-size: 22px;
    }

    .oc-club-profile-meta {
        justify-content: center;
    }

    .oc-club-profile-card {
        padding: 18px 15px;
    }

    .oc-club-profile-card > h2 {
        font-size: 17px;
    }

    .oc-club-league-list {
        grid-template-columns: 1fr;
    }

    .oc-club-season-form {
        align-items: stretch;
        flex-direction: column;
    }

    .oc-club-season-form select {
        width: 100%;
    }

    .oc-club-season-dates {
        flex-direction: column;
    }
}

.oc-club-profile {
    --oc-club-primary: #111111;
    --oc-club-secondary: #ffffff;
}

.oc-club-profile-header {
    background: var(--oc-club-primary);
    color: var(--oc-club-secondary);
}

.oc-club-profile-card h2 {
    color: var(--oc-club-primary);
    border-bottom: 2px solid var(--oc-club-primary);
}

.oc-club-league-item {
    border-left: 4px solid var(--oc-club-primary);
}

.oc-club-season-form select {
    border-color: var(--oc-club-primary);
}

/* =====================================
   KULÜP PROFİLİ - ANA SEKMELER
===================================== */

.oc-club-main-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin: 20px 0;
    padding-bottom: 5px;
}

.oc-club-main-tabs a {
    flex: 0 0 auto;
    padding: 11px 18px;
    border: 1px solid #e5e9e7;
    border-radius: 8px;
    color: #47524b;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.oc-club-main-tabs a.is-active {
    border-color: var(--oc-club-primary);
    background: var(--oc-club-primary);
    color: var(--oc-club-secondary);
}

.oc-club-tab-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

/* =====================================
   LİG KARTLARI
===================================== */

.oc-club-league-card {
    min-width: 0;
    padding: 16px;
    border: 1px solid #e5e9e7;
    border-radius: 12px;
    background: #fff;
}

.oc-club-league-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf0ee;
}

.oc-club-league-card-header h3 {
    margin: 0 0 5px;
    font-size: 17px;
}

.oc-club-league-card-header span {
    display: inline-block;
    margin-right: 8px;
    color: #707a74;
    font-size: 12px;
}

.oc-club-empty-message {
    margin: 0;
    padding: 18px 10px;
    color: #707a74;
    font-size: 13px;
    text-align: center;
}

/* =====================================
   MAÇ TABLOSU
===================================== */

.oc-club-match-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.oc-club-match-table {
    width: 100%;
    min-width: 950px;
    border-collapse: collapse;
    font-size: 12px;
}

.oc-club-match-table th {
    padding: 12px 10px;
    background: #f3f6f4;
    color: #47524b;
    font-weight: 800;
    text-align: left;
    white-space: nowrap;
}

.oc-club-match-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #edf0ee;
    vertical-align: middle;
}

.oc-club-match-table tbody tr:hover {
    background: #f8faf8;
}

.oc-club-match-team {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #26332b;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.oc-club-match-team img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.oc-club-match-team:hover,
.oc-club-match-score:hover {
    color: var(--oc-club-primary);
}

.oc-club-match-score {
    color: #26332b;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
}

.oc-club-match-score strong {
    font-size: 15px;
    font-variant-numeric: tabular-nums;
}

.oc-club-match-status {
    display: inline-block;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.oc-club-match-status.is-scheduled {
    background: #edf3ef;
    color: #176b42;
}

.oc-club-match-status.is-completed {
    background: #e8eefc;
    color: #3156a3;
}

.oc-club-match-status.is-live {
    background: #fdecec;
    color: #c62828;
}

.oc-club-match-status.is-postponed {
    background: #fff3df;
    color: #9a5b00;
}

.oc-club-match-status.is-cancelled {
    background: #f0f0f0;
    color: #666;
}

.oc-club-match-table td small {
    display: block;
    margin-top: 3px;
    color: #707a74;
    font-size: 10px;
}

@media (max-width: 767px) {
    .oc-club-league-card {
        padding: 12px;
    }

    .oc-club-main-tabs a {
        padding: 10px 13px;
        font-size: 12px;
    }
}
/* =====================================
   SEZON SAHASI HARİTASI
===================================== */

.oc-club-venue {
    min-width: 0;
    width: 100%;
}

.oc-club-venue-map {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    height: 280px;
    margin-top: 12px;
    overflow: hidden;
    border-radius: 8px;
    z-index: 1;
}

.oc-club-venue-map-overlay,
.oc-club-venue .oc-club-venue-map-overlay {
    position: static;
    display: inline-block;
    width: auto;
    max-width: 100%;
    margin-top: 10px;
    padding: 9px 15px;
    box-sizing: border-box;
    border-radius: 6px;
    background: var(--oc-club-primary, #111);
    color: var(--oc-club-secondary, #fff);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.oc-club-venue .oc-club-venue-map-overlay:hover {
    opacity: .85;
    color: var(--oc-club-secondary, #fff);
}

@media (max-width: 767px) {
    .oc-club-venue-map {
        height: 220px;
    }
}

/* Takım / Lig iç sekmeleri */
.oc-club-team-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e5e5;
}

.oc-club-team-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 6px;
    background: #f3f4f5;
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.oc-club-team-tabs a.is-active {
    background: var(--oc-club-primary);
    color: var(--oc-club-secondary);
}

/* Teknik ekip */
.oc-club-staff-section,
.oc-club-players-section {
    margin-top: 28px;
}

.oc-club-staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 16px;
}

.oc-club-person-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}

.oc-club-person-card img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 50%;
}

.oc-club-person-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.oc-club-person-info span {
    font-size: 13px;
    opacity: .7;
}

/* Oyuncu performans tablosu */
.oc-club-player-performance-table th,
.oc-club-player-performance-table td {
    white-space: nowrap;
    text-align: center;
}

.oc-club-player-performance-table th:first-child,
.oc-club-player-performance-table td:first-child {
    text-align: left;
}

.oc-club-player-performance-table .oc-icon {
    font-size: 18px;
}

.oc-player-performance-table th .oc-icon {
    display: inline-block;
    font-size: 17px;
    cursor: help;
    vertical-align: middle;
}

