@media (max-width: 990px) {
    .tournament-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .tournament-links a {
        margin-bottom: 5px;
    }
}

.tournament-links {
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
}

.tournament-links a {
    text-decoration: none;
    padding: 0 5px;
}

.logo {
    width: 30%;
    cursor: pointer;
}

@media (max-width: 767px) {
    .logo {
        width: 40%;
    }
}

.container1 {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.league-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 20px;
}

.league-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.league-flag {
    max-height: 40px;
    margin-right: 5px;
    object-fit: contain;
}

.item {
    padding: 10px;
}

.alith_latest_trading_img_position_relative {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.alith_post_thumb {
    margin: 0;
}

.alith_post_title_small {
    flex-grow: 1;
    text-align: center;
    margin: 0 15px;
}

.meta {
    margin-bottom: 0;
}

.alith_news_img img {
    max-height: 100px;
    width: auto;
}

.alith_post_title {
    margin-bottom: 10px;
}

.post_meta {
    margin-top: 10px;
}

.meta_author_name,
.meta_categories,
.meta_date {
    display: block;
    margin-bottom: 5px;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    padding: 1px 2px !important;
}

.custom-table {
    width: auto;
    margin: 0 auto;
    font-size: 12px;
    text-align: center;
    border-collapse: collapse;
    border: 1px solid #ddd;
}

.custom-table thead th,
.custom-table tbody td {
    padding: 2px 5px;
    border: 1px solid #ddd;
    line-height: 1.2;
    vertical-align: middle;
    color: #525252;
}

.custom-table img {
    max-height: 15px;
    object-fit: contain;
}

.custom-table .form-square {
    display: inline-flex;
    width: 15px;
    height: 15px;
    border-radius: 2px;
    margin-right: 2px;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
}

.article-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.winner-name {
    grid-column: 1 / 4;
    grid-row: 3 / 4;
    text-align: center;
    font-size: 13px;
    margin: 0;
    color: #333333;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    position: relative;
    z-index: 1;
    max-width: 393px;
}

.winner-name::before {
    content: "";
    position: absolute;
    top: 0;
    left: -10px;
    right: -10px;
    bottom: -5px;
    background: #525252;
    z-index: 0;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.winner-name .winner-text {
    color: #ffcb00;
    font-weight: 500;
    position: relative;
    z-index: 1;
    margin-top: 5px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: block;
}

.winner-name .static-text {
    color: #666666;
}

@media (max-width: 425px) {
    .winner-name {
        font-size: 12px;
        padding: 8px;
    }
    .winner-name::before {
        left: -10px;
        right: -10px;
        bottom: -5px;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }
}

@media (max-width: 370px) {
    .winner-name {
        font-size: 11px;
        padding: 6px;
    }
    .winner-name::before {
        left: -10px;
        right: -10px;
        bottom: -5px;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }
}

.article-compact {
    position: relative;
    max-width: 415px;
    width: 100%;
    display: grid;
    grid-template-columns: 50px auto 50px;
    align-items: center;
    gap: 10px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-bottom: none;
    border-radius: 8px;
    padding: 5px 10px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.article-compact:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 6px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.team-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 5px;
}

.article-compact .team-info {
    text-align: center;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.match-details {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
}

.match-details .referee-info {
    font-size: 12px;
    color: #666666;
}

.match-details .match-date {
    font-size: 12px;
    color: #999999;
    margin-top: 2px;
}

.article-compact .match-score {
    font-size: 16px;
    font-weight: bold;
    color: #ff5722;
    margin: 4px 0;
}


.mini-chart-container {
    width: 190px;
    height: 100px;
    margin: 5px auto 0;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 425px) {
    .mini-chart-container {
        width: 170px;
    }
}

@media (max-width: 400px) {
    .mini-chart-container {
        width: 150px;
    }
}

@media (max-width: 380px) {
    .mini-chart-container {
        width: 140px;
    }
}

@media (max-width: 370px) {
    .mini-chart-container {
        width: 130px;
    }
}

.mini-spider-chart {
    width: 70%;
    height: 100%;
}

.legend-container {
    width: 25%;
    height: 100%;
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.legend-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    font-size: 12px;
}

.legend-text {
    flex: 1;
    text-align: left;
}

.legend-scale {
    position: absolute;
    width: 50px;
    height: 6px;
    background: rgba(200, 200, 200, 0.5);
    margin: 0 90px;
}

.legend-fill-home,
.legend-fill-away {
    position: absolute;
    top: 0;
    height: 100%;
}

.legend-fill-home {
    left: 0;
    background: rgb(252, 209, 40);
}

.legend-fill-away {
    right: 0;
    background: rgb(82, 82, 82);
}

.legend-percent-home,
.legend-percent-away {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(204, 35, 35);
    font-size: 10px;
    text-align: center;
}

.legend-percent-home {
    left: -30px;
}

.legend-percent-away {
    right: -30px;
}

#off-canvas-toggle {
    display: none !important;
}

@media (max-width: 1399px) {
    #off-canvas-toggle {
        display: inline-block !important;
    }
}

@media (max-width: 1399px) {
    .unique-sidebar {
        display: none;
    }
}

@media (max-width: 1199px) {
    .unique-carousel {
        display: none;
    }
}

@media (max-width: 1199px) {
    .unique-fixtures-title {
        display: none;
    }
}

@media (min-width: 1400px) {
    #sidebar-wrapper {
        display: none;
    }
}

@media (max-width: 480px) {
    .time a {
        display: table-cell;
        margin-left: 0;
        margin-top: 5px;
    }
}

#sidebar-wrapper::-webkit-scrollbar {
    display: none;
}

.fixture-link-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
}

.fixture-link-wrapper:hover article {
    background-color: rgba(0, 0, 0, 0.05);
}