.matches-block.mode-widget .tabs .nav .nav-item .nav-link {
    /* font-size: 0.8rem; */
}

.matches-block .match-content-wrapper {
    transition: all 0.3s ease;
    opacity: 1;
}

.matches-block .match-content-wrapper.fade-out {
    opacity: 0;
    pointer-events: none;
}

.matches-block .matches-view-type {
    display: flex;
    align-items: center;
    column-gap: 0.2rem;
    width: 100%;
    justify-content: end;
}
.matches-block .matches-view-type span {
    color: #ffffff80;
    font-size: 0.9rem;
}

.matches-block :not(tbody).matches-list {
    display: flex;
    flex-direction: column;
    row-gap: 6px;
}
.matches-block .matches-list .matches-item-wrapper {
    padding: 0.5rem 1rem;
    background: var(--color-dark-grey);
    border-radius: 6px;
}

.matches-block .matches-list .matches-item-wrapper .tournament-name {
    align-items: center;
    position: relative;
    column-gap: 0.2rem;
    font-size: 0.8rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}
.matches-block .matches-list .matches-item-wrapper .tournament-name::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    background: linear-gradient(
        90deg,
        #746239 0%,
        #edd397 45.8%,
        #edd397 56.1%,
        #746239 100%
    );
}

.matches-block #team-search {
    background: #2d3032;
    color: white;
}

.matches-block .matches-list .matches-item-wrapper:hover {
    background: #e624293d;
}

.matches-block .matches-list :not(tr).matches-item {
    column-gap: 1rem;
    display: flex;
    align-items: center;
}

.matches-block .matches-list .matches-item .bo-schedule {
    display: flex;
    flex-direction: column;
}

.matches-block .matches-list .matches-item .bo {
    background: #ffffff1f;
    border-radius: 6px;
    padding: 0.2rem 0.7rem;
    max-height: 32px;
    text-align: center;
    max-width: fit-content;
}

.matches-block .matches-list .matches-item .schedule {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
}

.matches-block .matches-list .matches-item .schedule .schedule-date {
    min-width: 81px;
    line-height: 1;
}

.matches-block
    .type-time
    .matches-list
    .matches-item
    .bo-schedule
    .schedule-time {
    text-align: center;
}

.matches-block .matches-list .matches-item .team-info {
    min-width: 100px;
    font-size: 0.9rem;
    display: flex;
}

.matches-block
    .matches-list
    .matches-item
    .team-info
    .win
    .team-info-short-name,
.matches-block .matches-list .matches-item .team-info .win .team-info-name {
    font-weight: 700;
}
.matches-block .matches-list .matches-item .team-info .win .team-info-score {
    color: var(--color-win);
}
.matches-block
    .matches-list
    .matches-item
    .team-info
    .lose
    .team-info-short-name,
.matches-block .matches-list .matches-item .team-info .lose .team-info-name {
    color: var(--color-white-70);
    font-weight: 500;
}
.matches-block .matches-list .matches-item .team-info .lose .team-info-score {
    color: var(--color-lose);
}

.matches-block .matches-list .matches-item .team-info .team-extra {
    display: none;
    align-items: center;
    justify-content: center;
}
.matches-block.mode-widget .matches-list .matches-item .team-info .team-extra {
    display: none;
}

.matches-block.mode-full .matches-list .matches-item .team-info {
    flex-direction: column;
    width: 400px;
    justify-content: space-between;
    column-gap: 1rem;
}

.matches-block.mode-widget .matches-list .matches-item .team-info {
    flex-direction: column;
}

.matches-block.mode-widget
    .matches-list
    .matches-item
    .team-info
    .team-info-name {
    margin-left: 0.5rem;
    display: none;
}

.matches-block .matches-list .matches-item .team-info .team-info-short-name {
    margin-left: 0.5rem;
    display: inline;
    font-size: 0.75rem;
    font-weight: 600;
}

.matches-block.mode-full
    .matches-list
    .matches-item
    .team-info
    .team-info-name {
    margin: 0 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.matches-block.mode-full
    .matches-list
    .matches-item
    .team-info
    .team-info-name {
    display: none;
}

.matches-block .matches-list .matches-item .team-info-2 .team-info-name {
    text-align: right;
}

.matches-block.mode-full
    .matches-list
    .matches-item
    .team-info
    .team-info-short-name {
    display: inline;
}

.matches-block .matches-list .matches-item .team-info .team-info-score {
    margin-left: auto;
}

.matches-block .matches-list .matches-item .team-info .team-info-1,
.matches-block .matches-list .matches-item .team-info .team-info-2 {
    display: flex;
    align-items: center;
    width: 100%;
}

.matches-block.mode-full .matches-list .matches-item .team-info .team-info-1,
.matches-block.mode-full .matches-list .matches-item .team-info .team-info-2 {
    justify-content: space-between;
}

.matches-block.mode-full .matches-list .matches-item .team-info .team-info-1,
.matches-block.mode-full .matches-list .matches-item .team-info .team-info-2 {
}

table.table-statistics .team-logo,
.matches-block .matches-list .matches-item .team-info .team-info-logo {
    width: 32px;
    height: 32px;
}

table.table-statistics .team-logo img,
.matches-block .matches-list .matches-item .team-info .team-info-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.matches-block .matches-list .matches-item .team-info .lose .team-info-logo {
    opacity: 0.8;
}

.matches-block .matches-list .matches-item .match-statistic-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    row-gap: 0.3rem;
    column-gap: 1rem;
    margin-left: auto;
    min-width: 74px;
}

/* .matches-block .matches-list .matches-item .match-status {
        text-transform: capitalize;
        font-size: 0.8rem;
        text-align: center;
    }

    .matches-block .matches-list .matches-item .match-status.completed {
        color: #ffffff80;
        font-weight: lighter;
    }

    .matches-block .matches-list .matches-item .match-status.upcoming {
        color: #66ed9d;
        font-weight: bold;
    }

    .matches-block .matches-list .matches-item .match-status.ongoing {
        white-space: nowrap;
        font-weight: bold;
        color: var(--color-red-theme);
    } */

.matches-block.mode-widget .matches-list .matches-item .match-statistics {
    display: none;
}
.matches-block .matches-list .matches-item .match-statistics {
    color: white;
    width: 25px;
    background: var(--color-red-theme);
    height: 25px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.matches-block .match-inline-name {
    display: none;
}

.matches-block .matches-item-wrapper {
    display: flex;
    flex-direction: column;
}

.matches-block .tournament-name {
    display: none;
}

.matches-block.mode-full .no-accordion .tournament-name,
.matches-block .type-time .tournament-name {
    display: flex;
}

.matches-block .hide-tn .tournament-name {
    display: none !important;
}

.match-single-block.compact .team-info-logo {
    width: 32px;
    height: 32px;
}

.match-single-block.compact .accordion-title {
    font-size: 0.9rem;
}

.match-single-block.compact .compact-info {
    padding: 0.2rem 1rem;
    background: #ffffff0f;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.matches-block .accordion {
    margin-bottom: 0.5rem;
}

@media (min-width: 992px) {
    .matches-block #team-search {
        min-width: 240px;
    }

    .matches-block .type-time .tournament-name {
        display: none;
    }

    .matches-block .match-inline-name {
        display: block;
    }

    .matches-block .matches-list .matches-item .match-status {
        width: 90px;
    }

    .matches-block .matches-list .matches-item .match-statistic-wrapper {
        flex-direction: row;
        align-items: center;
    }

    .matches-block .matches-list .matches-item .team-info .team-extra {
        display: flex;
    }
    .matches-block.mode-full .matches-list .matches-item .team-info {
        flex-direction: row;
        width: 600px;
    }

    .matches-block.mode-full .table-m .matches-list .matches-item .team-info {
        width: 400px;
    }
    .matches-block.mode-full
        .matches-list
        .matches-item
        .team-info
        .team-info-2 {
        flex-direction: row-reverse;
    }
    .matches-block.mode-full
        .matches-list
        .matches-item
        .team-info
        .team-info-2
        .team-info-score {
        margin-left: unset;
        margin-right: auto;
    }

    .matches-block .matches-view-type {
        column-gap: 1rem;
    }

    .matches-block.mode-full
        .matches-list
        .matches-item
        .team-info
        .team-info-name {
        display: inline;
    }

    .matches-block.mode-full
        .matches-list
        .matches-item
        .team-info
        .team-info-short-name {
        display: none;
    }

    .matches-block
        .matches-list
        .matches-item
        .team-info
        .team-info-short-name {
        font-size: 0.85rem;
    }

    .matches-block.mode-full
        .matches-list
        .matches-item
        .team-info
        .team-info-name {
        font-size: 0.85rem;
    }
}
