.european-competitions-page {
    min-height: 430px;
    padding: 28px 0 54px;
}

.european-competitions-wrap {
    max-width: 1200px;
}

.european-competition-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 18px;
}

.european-competition-tab {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dce5df;
    border-radius: 8px;
    background: #fff;
    color: #5e6862;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

a.european-competition-tab:hover {
    border-color: var(--fanat-green-dark);
    color: var(--fanat-green-dark);
}

.european-competition-tab.is-active {
    border-color: var(--fanat-green-dark);
    background: var(--fanat-green-dark);
    color: #fff;
}

a.european-competition-tab.is-active:hover {
    color: #fff;
}

/* ÇL active tab fallback: this stylesheet is loaded only for Champions League. */
.european-competition-tabs > .european-competition-tab:nth-child(1) {
    border-color: var(--fanat-green-dark);
    background: var(--fanat-green-dark);
    color: #fff;
}

.european-competition-tabs > .european-competition-tab:nth-child(2),
.european-competition-tabs > .european-competition-tab:nth-child(3) {
    border-color: #dce5df;
    background: #fff;
    color: #5e6862;
}

.champions-league-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}

.champions-league-heading h1 {
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
}

.champions-league-match-count {
    color: var(--muted);
    font-size: 13px;
}

.champions-league-match-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.champions-league-match-card {
    overflow: hidden;
    border: 1px solid #e3e8e5;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(24, 54, 35, .07);
}

.champions-league-match-top,
.champions-league-match-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 18px;
}

.champions-league-match-top {
    border-bottom: 1px solid #edf0ee;
    background: #fbfcfb;
}

.champions-league-match-top > div {
    display: grid;
    gap: 3px;
}

.champions-league-match-top strong {
    font-size: 14px;
}

.champions-league-match-top div span,
.champions-league-match-bottom {
    color: #7d8581;
    font-size: 12px;
}

.champions-league-match-status {
    padding: 6px 10px;
    border-radius: 999px;
    background: #edf0ef;
    color: #48504c;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.champions-league-scoreboard {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 26px 14px;
}

.champions-league-team {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.champions-league-team-emblem {
    display: inline-flex;
    box-sizing: border-box;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #dfe5e1;
    border-radius: 8px;
    background: #f4f6f5;
    padding: 4px;
    box-shadow: 0 2px 7px rgba(24, 54, 35, .10);
}

.champions-league-team-emblem img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.champions-league-team strong {
    max-width: 110px;
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.champions-league-score {
    display: grid;
    min-width: 82px;
    gap: 7px;
    text-align: center;
}

.champions-league-score strong {
    color: #151816;
    font-size: 32px;
    line-height: 1;
}

.champions-league-score strong span {
    padding: 0 4px;
    color: #a6aca9;
    font-weight: 400;
}

.champions-league-score > span {
    color: #858d89;
    font-size: 11px;
    white-space: nowrap;
}

.champions-league-match-bottom {
    border-top: 1px solid #edf0ee;
}

@media (max-width: 767px) {
    .champions-league-match-list {
        grid-template-columns: 1fr;
    }

    .european-competitions-page {
        padding-top: 20px;
    }

    .european-competition-tabs {
        gap: 6px;
    }

    .european-competition-tab {
        min-height: 38px;
    }

    .champions-league-scoreboard {
        gap: 12px;
        padding: 24px 14px;
    }

    .champions-league-team-emblem {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .champions-league-team strong {
        max-width: 96px;
        font-size: 14px;
    }

    .champions-league-score {
        min-width: 82px;
    }

    .champions-league-score strong {
        font-size: 27px;
    }

    .champions-league-match-top,
    .champions-league-match-bottom {
        align-items: flex-start;
    }

    .champions-league-match-bottom {
        flex-direction: column;
        gap: 8px;
    }
}

/* Avrokubok oyun vəziyyəti düymələri */
.european-match-view-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-width: 560px;
    margin: 0 auto 18px;
}

.european-match-view-tab {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dce5df;
    border-radius: 8px;
    background: #fff;
    color: #5e6862;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.european-match-view-tab:hover {
    border-color: var(--fanat-green-dark);
    color: var(--fanat-green-dark);
}

.european-match-view-tab.is-active {
    border-color: var(--fanat-green-dark);
    background: var(--fanat-green-dark);
    color: #fff;
}

.european-match-view-tab.is-active:hover {
    color: #fff;
}

.european-upcoming-empty {
    padding: 34px 20px;
    border: 1px solid #e3e8e5;
    border-radius: 10px;
    background: #fff;
    color: #7d8581;
    text-align: center;
}

.european-upcoming-empty p {
    margin: 0;
}

@media (max-width: 767px) {
    .european-match-view-tabs {
        gap: 6px;
        margin-bottom: 16px;
    }

    .european-match-view-tab {
        min-height: 38px;
        padding: 0 8px;
        font-size: 13px;
    }
}


.champions-league-date-group + .champions-league-date-group {
    margin-top: 30px;
}
