body {
    padding-top: 100px;
}

/* ===================   TABLE   =================== */
.opacity-70 {
    opacity: 0.60;
}

.team-data {
    display: flex;
    flex-direction: column;
    p {
        margin: 0;
    }
}

.match-date {
    margin-block: auto;
    display: flex;
    align-items: center;
    min-height: 42px;
}

.team-data-wrapper {
    max-width: 300px;
    display: flex;
    flex-direction: column;
    .team-data-name {
        font-weight: 600;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}

.team-elo-dynamic-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;


    .elo-dynamic {
        width: 70px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        p {
            min-width: 33px;
            margin: 0;
        }
        span {
            text-align: right;
        }
    }
}

.team-score {
    margin: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    /*gap: 4px;*/
    padding: 0 4px;
    border-radius: 4px;
    width: 32px;
    background: rgba(234, 234, 234, 0.6);
    justify-content: space-between;
    .divider {
        width: 100%;
       border-bottom: 1px solid #b1b1b1;
    }
    p {
        margin: 0;
        color: #838383;
    }
}

@media (max-width: 1200px) {
    .team-data-wrapper {
        max-width: 180px;
    }
}

@media (max-width: 758px) {
    .team-data-wrapper {
        max-width: 180px;
        .team-data-name {

            font-weight: 400;
        }
    }
}

@media (max-width: 576px) {
    .team-data-wrapper {
        max-width: 120px;
    }

    .team-elo-dynamic-wrapper {
        .elo-dynamic {
            width: 60px;
            gap: 4px;
            p {
                min-width: 27px;
            }
        }
    }


}

.teams-table {
    td {
        > div {
            height: 43px;
            display: flex;
            align-items: center;
        }
    }
    .centered {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ====================  BANNER  =================== */

.banner-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fFFFFF;
    border-radius: var(--border-radius);
    max-height: 200px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow:  var(--box-shadow);


    .banner-left {

    }

    .banner-right {
        display: flex;
        gap: 16px;
        flex-direction: column;
        align-items: flex-end;
        padding-right: 20px;
    }

    h4 {
        font-size: 22px;
        text-transform: uppercase;
        font-weight: 900;
        color: #484848;
        text-align: right;
        margin: 0;
    }

    p {
        margin: 0;
        font-size: 16px;
        max-width: 450px;
        color: #8D8D8D;
        text-align: right;

    }

    .btn-secondary {
        text-transform: uppercase;
        font-weight: 400;
    }


}

@media (max-width: 991px) { /* Условие для экранов до 576px (мобильные устройства) */
    .banner-wrapper {
        svg {
            width: 350px;
        }

        .banner-right {
            gap: 16px;
            padding-right: 24px;
        }

        h4 {
            font-size: 18px;
        }

        p {
            font-size: 14px;
        }
    }
}

@media (max-width: 767px) { /* Условие для экранов до 576px (мобильные устройства) */
    .banner-wrapper {
        /*max-height: 250px;*/
        .banner-left {
            display: none;
        }

        .banner-right {
            align-items: center;
            padding: 24px 12px;
            width: 100%;
        }

        h4 {
            text-align: center;
        }

        p {
            margin: auto;
            text-align: center;
        }
    }
}


/* =============== STATISTICS =======*/

.statistics-wrapper {
    width: 100%;
    /*padding-block: 40px;*/
    .statistics-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        width: 100%;
    }

    .statistic-item {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        padding: 8px;
        border: 1px dashed #dcdcdc;
        border-radius: 4px;
        gap: 8px;
        width: 100%;
    }
    .statistic-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        p {
            margin: 0;
        }
        .statistic-title {
            font-size: 12px;
            color: #878787;
        }

        .statistic-value {
            font-size: 16px;
        }
    }

    .statistic-icon {
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(0, 51, 102, 0.1);
        width: 50px;
        height: 50px;
        border-radius: 4px;
        svg {
            width: 24px;
            height: 24px;
        }
        svg path {
            fill: var(--primary-color);
        }
    }
}

@media (max-width: 991px) {
    .statistics-wrapper {
        .statistics-container  {
            grid-template-columns: repeat(1, 1fr); /* Creates 3 equal columns */
        }
    }

}

@media (max-width: 758px) {
    .statistics-wrapper {
        margin-top: 32px;
        .statistics-container  {
            grid-template-columns: repeat(2, 1fr); /* Creates 3 equal columns */
        }
    }

}

/* ============== ABOUT SECTION ============ */

.about-section {
    width: 100%;
    padding-block: 32px;
    margin-top: 24px;
    .about-container {
        display: flex;
        align-items: center;
        gap: 32px;
        padding-left: 20px;
    }
    .divider {
        min-height: 190px;
        min-width: 6px;
        border-radius: 3px;
        background: var(--primary-dark-color);
    }
    h4 {
        margin-bottom: 24px;
    }
    p {
        margin: 0;
        max-width: 600px;
    }

}

@media (max-width: 576px) { /* Условие для экранов до 576px (мобильные устройства) */
    .about-section {
        .about-container {
            padding-left: 12px;
        }
    }

}

/* ============== HOW IT WORKS ============= */

.timeline {
    position: relative;
    padding-left: 60px;
    margin-top: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    bottom: 0;
    width: 1px;
    background-color: var(--grey-light-color); /* Line color */
}

.timeline-step {
    position: relative;
    margin-bottom: 30px;

}

.timeline-step:last-child {
    margin-bottom: 0;
}


.timeline-icon {
    position: absolute;
    left: -60px;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: #f1f1f1; /* Icon background color */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    svg {
        path {
            fill: var(--primary-dark-color);
        }
    }
}

.timeline-step h6 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #333;
}

.timeline-step p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

