.allMathes {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}
.allMathes__card {
    border-radius: 8px;
    width: 100%;
    background-color: #0d1321;
    position: relative;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 12px 0;
}
.allMathes__card::before {
    content: "";
    position: absolute;
    background-image: url(../assets/images/rectangle.svg);
    top: 14px;
    left: 0;
    width: 39px;
    height: 34px;
}
.allMathes__card::after {
    content: "";
    position: absolute;
    top: 47px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #e55a53 0%, #1c1c1c 40%);
}
.allMathes__card_header {
    padding: 0 14px 0 44px;
    text-transform: uppercase;
}
.allMathes__card_header > * {
    display: inline-block;
}
.allMathes__card_header_date {
    color: #e55a53;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #e55a53;
    margin-right: 24px;
    font-size: 16px;
}
.allMathes__card_header_time {
    font-size: 11px !important;
    opacity: 60%;
}
.allMathes__card_teams_left {
    padding-left: 14px;
    margin: 28px 0 18px 0;
}
.allMathes__card_teams_left > *:not(:last-child) {
    margin-bottom: 12px;
}

.allMathes__card_left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.allMathes__card_right {
    display: flex;
    flex-direction: row;
    gap: 36px;
    align-items: start;
    padding-right: 14px;
    position: relative;
}
.allMathes__card_teams {
}
@media (max-width: 768px) {
    .allMathes__card_teams {
        width: 60vw;
    }
}
.allMathes__card_teams_title {
    opacity: 80%;
    font-size: 14px;
    text-align: center;
    margin-bottom: 32px;
}
.allMathes__card_teams_body {
    background-color: #121b31;
    border-radius: 8px;
    padding: 0px 12px;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    min-width: 189px;
    max-width: 189px;
    max-height: 74px;
    min-height: 72px;
}
.allMathes__card_teams_body_tie {
    background-color: #121b31;
    border-radius: 8px;
    position: relative;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    min-width: 64px;
    min-height: 72px;
    width: max-content;
}
@media (max-width: 768px) {
    .allMathes__card_teams_body_tie {
        width: 100%;
    }
}
.allMathes__card_teams_body_left {
    max-width: 54px;
    max-height: 54px;
    min-width: 54px;
    min-height: 54px;
}
.allMathes__card_teams_body_right {
    font-size: 12px !important;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: end;
    height: 100%;
    justify-content: space-between;
}
.allMathes__card_teams_body_right_name {
    opacity: 80%;
    max-width: 114px;
    width: 100%;
    max-width: 114px;
    max-height: 36px;
    min-height: 34px;

    /* margin-bottom: 15px; */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    /* -webkit-line-clamp: 2; */
    overflow: hidden;
}
@media (max-width: 580px) {
    .allMathes__card_teams_body_right_name {
        font-size: 10px !important;
        max-height: 30px;
    }
}
.allMathes__card_teams_body_right_kd {
    color: #e55a53;
}

.allMathes__card_footer {
    padding-left: 14px;
    font-size: 12px !important;
    opacity: 60%;
}

@media (max-width: 768px) {
    .allMathes__card_header {
        padding: 0 12px;
    }
    .allMathes__card_header_time {
        float: right;
    }
    .allMathes__card_teams_left {
        display: none;
    }
    .allMathes__card {
        flex-direction: column;
        gap: 24px;
    }
    .allMathes__card_teams_title {
        margin-bottom: 12px;
    }
    .allMathes__card_right {
        align-items: center;
        justify-content: center;
        padding-left: 14px;
        gap: 2%;
    }
    .allMathes__card_teams_body_tie {
        min-width: 15vw;
    }
    .allMathes__card_teams_body {
        min-width: 72px;
        gap: 1vw;
    }
    .allMathes__card::before {
        top: 32px;
    }
    .allMathes__card::after {
        top: 65px;
    }
}
