.match-images {
    margin: 20px 0;
}

.match-main-image, .match-additional-image {
    margin-bottom: 15px;
}

.match-main-image img.main-image,
.match-additional-image img.additional-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.image-description {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* Матчі, супротивники, турніри */
.match-row
{
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    background-color: #f8f9fa;
}
.match-info-tournament,
.match-tournament
{
    display: flex;
}
.tournament-row img {
    max-height: 100px;
    margin-right: 10px;
    border-radius: 4px;
    max-width: 100%;
}

.match-teams-maps,
.match-tournament
{
    padding: 10px;
}
.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.match-teams .team {
    display: flex;
    align-items: center;
    flex-basis: 40%;
    justify-content: flex-start;
    text-align: left;
}

.match-teams .team-logo {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 4px;
    object-fit: cover;
    background-color: #e9ecef;
    border: 1px solid #ddd;
}

.match-teams .team-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.match-teams .match-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-basis: 20%;
    text-align: center;
    padding: 10px;
}

.match-teams .match-score .score {
    font-size: 24px;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 5px;
}

.match-teams .match-score .format {
    font-size: 14px;
    color: #6c757d;
}


.map-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.map-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.map-name {
    font-weight: bold;
    color: #333;
    padding: 5px;
    display: inline-block;
}

.map-score {
    font-size: 14px;
    color: #666;
    padding: 5px;
    display: inline-block;
}



@media (max-width: 768px) {
    .match-teams {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .match-teams .team {
        flex-basis: auto;
        justify-content: center;
        margin-bottom: 10px;
    }

    .match-teams .match-score {
        margin: 10px 0;
    }
    .match-info-tournament, .match-tournament
    {
        display: block;
    }
}
@media (max-width: 576px) {
    .match-row,

    .tournament-row {
        flex-direction: column;
        align-items: flex-start;
    }
}
