* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
}
.header {
    width: 100%;
    background-color: #001A6E;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    text-align: start;
}
/* Hero Slider Styles */
.slider-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    border: 1px solid #ddd;
    background-color: #fff;
}

.slider-main {
    flex: 2;
    position: relative;
    overflow: hidden;
}

.slider-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.slider-caption {
    width: 95%;
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    font-size: 18px;
}

.slider-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #ddd;
}

.slider-right-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

.slider-right-item:hover {
    background-color: #f1f1f1;
}

.slider-right-item img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 4px;
}

.slider-right-item.active {
    background-color: #000957;
    color: #fff;
}

.slider-right-item.active img {
    border: 2px solid #fff;
}

.slider-right-item-title {
    font-weight: bold;
}

.slider-right-item-date {
    font-size: 12px;
    color: #666;
}

.read-more {
    margin-left: auto;
    color: #007bff;
    text-decoration: none;
    font-size: 12px;
}

.read-more:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .slider-container {
        flex-direction: column;
    }

    .slider-main img {
        height: 350px; /* Reduce main slider image height */
    }

    .slider-caption {
        width: 90%;
        font-size: 16px;
        padding: 8px;
        bottom: 8px;
        left: 20px;
    }

    .slider-right {
        flex-direction: row;
        flex-wrap: wrap; /* Wrap items to fit */
        border-left: none;
        border-top: 1px solid #ddd; /* Change border direction */
    }

    .slider-right-item {
        flex: 1 1 45%; /* Take 45% width, allow wrapping */
        margin: 5px;
        padding: 8px;
        border: 1px solid #ddd;
    }

    .slider-right-item img {
        width: 40px;
        height: 40px;
    }

    .slider-right-item-title {
        font-size: 14px;
    }

    .slider-right-item-date {
        font-size: 10px;
    }

    .read-more {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .slider-main img {
        height: 250px; /* Further reduce image height */
    }

    .slider-caption {
        font-size: 14px;
        padding: 6px;
        bottom: 5px;
        left: 10px;
    }

    .slider-right-item {
        flex: 1 1 100%; /* Stack items in one column */
        padding: 6px;
    }

    .slider-right-item img {
        width: 30px;
        height: 30px;
    }

    .slider-right-item-title {
        font-size: 12px;
    }

    .slider-right-item-date {
        font-size: 10px;
    }

    .read-more {
        font-size: 10px;
    }
}
/* Hero slider end */
/* hero table start */
.header {
    width: 100%;
    background-color: #001A6E;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    text-align: start;
}

.fixtures, .results {
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    margin-bottom: 10px;
}

.fixtures_details {
    text-align: center;
}

.table-container {
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.match-info {
    font-size: 16px;
    font-weight: bold;
    color: #c00;
    padding: 10px 0;
}
.positive {
    color: green;
    font-weight: bold;
}

.negative {
    color: red;
    font-weight: bold;
}
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px 0;
}

.countdown-item {
    text-align: center;
}

.number {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.venue {
    font-size: 12px;
    font-style: italic;
    color: #555;
}

.label {
    font-size: 14px;
    color: #666;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f2f2f2;
}

.team-name img {
    width: 24px;
    height: 16px;
    margin-right: 10px;
}

.table-footer {
    text-align: center;
    padding: 10px;
    font-size: 14px;
    background-color: #f9f9f9;
    color: #007bff;
}

.table-footer a {
    text-decoration: none;
    color: #666;
    font-weight: bold;
}

.table-footer a:hover {
    transform: translateY(-2.1rem);
}

.countdown-container {
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.gallery-container {
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: start;
    margin-top: 20px;
}

@media (max-width: 768px) {
    video {
        height: 270px;
        margin-top: 0;
        margin-bottom: 20px;
    }
    
    .league_header{
        width: 155% !important;
    }
    .table-container {
        overflow-x: auto;
    }

    .header > .league_header{
        width: 150% !important;
    }
    
    .header > .upcoming_header{
        width: 130% !important;
    }

    table {
        display: block;
        width: 100%;
    }

    th, td {
        white-space: nowrap;
    }
}
/* Hero table end */     