
.oc-match-schedule {
    --oc-ms-primary: var(--our-club-primary, #176b42);
    --oc-ms-border: #e5e9e7;
    --oc-ms-muted: #707a74;
    width: 100%;
    color: #202923;
}

.oc-ms-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.oc-ms-eyebrow {
    color: var(--oc-ms-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.oc-ms-heading h2 {
    margin: 5px 0;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.2;
}

.oc-ms-heading p {
    margin: 0;
    color: var(--oc-ms-muted);
    font-size: 14px;
}

.oc-ms-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px;
    border: 1px solid var(--oc-ms-border);
    border-radius: 12px;
    background: #fff;
}

.oc-ms-filters label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
}

.oc-ms-filters select {
    width: 100%;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid var(--oc-ms-border);
    border-radius: 8px;
    background: #fff;
    color: inherit;
}

.oc-ms-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-bottom: 18px;
    padding-bottom: 4px;
}

.oc-ms-tabs a {
    flex: 0 0 auto;
    padding: 10px 15px;
    border: 1px solid var(--oc-ms-border);
    border-radius: 8px;
    color: #47524b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.oc-ms-tabs a.is-active {
    border-color: var(--oc-ms-primary);
    background: var(--oc-ms-primary);
    color: #fff;
}

.oc-ms-week {
    margin: 22px 0 10px;
    padding: 10px 14px;
    border-radius: 7px;
    background: #f0f5f2;
    color: var(--oc-ms-primary);
    font-size: 13px;
    font-weight: 800;
}

.oc-ms-match {
    margin-bottom: 12px;
    padding: 16px;
    border: 1px solid var(--oc-ms-border);
    border-radius: 12px;
    background: #fff;
    transition: box-shadow .2s ease, transform .2s ease;
}

.oc-ms-match:hover {
    box-shadow: 0 6px 22px rgb(20 45 30 / 7%);
    transform: translateY(-1px);
}

.oc-ms-match-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: var(--oc-ms-muted);
    font-size: 11px;
}

.oc-ms-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #c62828;
    font-weight: 800;
}

.oc-ms-live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d62828;
}

.oc-ms-status {
    color: var(--oc-ms-primary);
    font-weight: 800;
}

.oc-ms-match-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 105px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 20px 0 14px;
}

.oc-ms-team {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    font-size: 14px;
    font-weight: 800;
}

.oc-ms-home {
    justify-content: flex-start;
}

.oc-ms-away {
    justify-content: flex-end;
    text-align: right;
}

.oc-ms-team img,
.oc-ms-team-placeholder {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.oc-ms-team-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf3ef;
    color: var(--oc-ms-primary);
    font-size: 19px;
    font-weight: 800;
}

.oc-ms-team > span:last-child {
    overflow-wrap: anywhere;
}

.oc-ms-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
}

.oc-ms-result > strong {
    font-size: 25px;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.oc-ms-result > strong span {
    padding: 0 4px;
    color: #8a938d;
}

.oc-ms-result .oc-ms-vs {
    color: var(--oc-ms-primary);
    font-size: 19px;
}

.oc-ms-date,
.oc-ms-time {
    color: var(--oc-ms-muted);
    font-size: 11px;
}

.oc-ms-time {
    font-weight: 800;
}

.oc-ms-venue {
    padding-top: 10px;
    border-top: 1px solid #f0f2f0;
    color: var(--oc-ms-muted);
    font-size: 12px;
}

.oc-ms-empty {
    padding: 42px 18px;
    border: 1px dashed #d5ddd7;
    border-radius: 12px;
    text-align: center;
}

.oc-ms-empty-icon {
    font-size: 30px;
}

.oc-ms-empty h3 {
    margin: 12px 0 6px;
}

.oc-ms-empty p {
    margin: 0;
    color: var(--oc-ms-muted);
    font-size: 13px;
}

@media (max-width: 600px) {
    .oc-ms-filters {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .oc-ms-match {
        padding: 12px;
    }

    .oc-ms-match-main {
        grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
        gap: 6px;
        padding-top: 16px;
    }

    .oc-ms-team {
        flex-direction: column;
        gap: 7px;
        font-size: 12px;
        text-align: center;
    }

    .oc-ms-home,
    .oc-ms-away {
        justify-content: flex-start;
    }

    .oc-ms-team img,
    .oc-ms-team-placeholder {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .oc-ms-result > strong {
        font-size: 21px;
    }

    .oc-ms-result .oc-ms-vs {
        font-size: 16px;
    }
}


/* =========================================
   OUR CLUB - MAÇ PROGRAMI
   İki sütunlu maç kartları
   ========================================= */

.oc-match-schedule {
    width: 100%;
    min-width: 0;
}

/* Maç kartları ve hafta başlıkları için grid */
.oc-match-schedule {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

/* Başlık, filtreler, sekmeler ve boş durum */
.oc-match-schedule > .oc-ms-heading,
.oc-match-schedule > .oc-ms-filters,
.oc-match-schedule > .oc-ms-tabs,
.oc-match-schedule > .oc-ms-empty {
    grid-column: 1 / -1;
}

/* Hafta başlığı iki sütunu kaplasın */
.oc-match-schedule > .oc-ms-week {
    grid-column: 1 / -1;
    margin: 8px 0 0;
}

/* Maç kartı */
.oc-match-schedule > .oc-ms-match {
    width: 100%;
    min-width: 0;
    margin: 0;
    box-sizing: border-box;
    align-self: stretch;
}

/* Takım isimleri taşmasın */
.oc-ms-match .oc-ms-match-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

.oc-ms-match .oc-ms-team {
    min-width: 0;
}

.oc-ms-match .oc-ms-team > span:last-child {
    overflow-wrap: anywhere;
}

/* Tablet ve mobil */
@media (max-width: 767px) {
    .oc-match-schedule {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .oc-match-schedule > .oc-ms-heading,
    .oc-match-schedule > .oc-ms-filters,
    .oc-match-schedule > .oc-ms-tabs,
    .oc-match-schedule > .oc-ms-empty,
    .oc-match-schedule > .oc-ms-week {
        grid-column: 1;
    }

    .oc-match-schedule > .oc-ms-week {
        margin-top: 6px;
    }
}


/* Hafta numarası filtresi */
.oc-ms-week-filter input {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #d9dee7;
    border-radius: 8px;
    background: #fff;
    color: #1f2937;
    box-sizing: border-box;
}

.oc-ms-filter-button {
    min-height: 42px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: var(--oc-primary, #166534);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    align-self: end;
}

.oc-ms-filter-button:hover {
    filter: brightness(0.92);
}

.oc-ms-match-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.oc-ms-match-link:hover {
    color: inherit;
    text-decoration: none;
}

.oc-ms-match-link .oc-ms-match {
    cursor: pointer;
    transition: box-shadow .2s ease, transform .2s ease;
}

.oc-ms-match-link:hover .oc-ms-match {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.oc-ms-match-link:focus-visible {
    outline: 2px solid #176b3a;
    outline-offset: 3px;
    border-radius: 12px;
}

/* Maç Programı: maç kartı bağlantısındaki alt çizgiyi kaldır */
.oc-match-schedule a.oc-ms-match-link,
.oc-match-schedule a.oc-ms-match-link:hover,
.oc-match-schedule a.oc-ms-match-link:focus,
.oc-match-schedule a.oc-ms-match-link:visited,
.oc-match-schedule a.oc-ms-match-link:active {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Kart içindeki yazılarda da alt çizgi olmasın */
.oc-match-schedule .oc-ms-match-link *,
.oc-match-schedule .oc-ms-match-link:hover * {
    text-decoration: none !important;
}