/* Match Block Styles */
.cb-match-block {
    width: 100%;
    margin: 20px 0;
}

/* Grid Layout */
.cb-match-grid {
    display: grid;
  /*  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); */
    grid-template-columns: auto;
    gap: 20px;
}

/* Match Card - List View (White Theme) */
.cb-match-block .cb-match-card-wrapper {
    transition: transform 0.3s ease !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 25px auto !important;
    display: block !important;
    box-sizing: border-box !important;
}

.cb-match-block .cb-match-card-list-view {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    text-decoration: none !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    font-family: 'Rubik', sans-serif !important;
    color: #333 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.cb-match-block .cb-match-card-list-view:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1) !important;
}

.cb-match-block .cb-match-card-list-view .cb-card-header {
    background: #ffffff !important;
    padding: 20px 30px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid #f2f2f2 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.cb-match-block .cb-match-card-list-view .cb-date {
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 1rem !important;
    color: #1d3163 !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
}

.cb-match-block .cb-match-card-list-view .cb-venue {
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.9rem !important;
    color: #adb5bd !important;
    letter-spacing: 1px !important;
    margin: 0 !important;
}

.cb-match-block .cb-match-card-list-view .cb-card-body {
    padding: 35px 30px !important;
    background: #ffffff !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.cb-match-block .cb-match-main {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 15px !important;
    flex-wrap: nowrap !important;
}

.cb-match-block .cb-team {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    flex: 1 !important;
    min-width: 0 !important;
}

.cb-match-block .cb-team.home {
    justify-content: flex-start !important;
}

.cb-match-block .cb-team.away {
    justify-content: flex-end !important;
    text-align: right !important;
}

.cb-match-block .cb-team-logo-list {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1)) !important;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    margin: 0 !important;
}

.cb-match-block .cb-team-name-list {
    font-weight: 800 !important;
    font-size: 1.5rem !important;
    color: #222 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.cb-match-block .cb-score-list {
    font-weight: 900 !important;
    font-size: 3.5rem !important;
    color: #111 !important;
    padding: 0 10px !important;
    line-height: 1 !important;
}

.cb-match-block .cb-vs-list-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 50px !important;
}

.cb-match-block .cb-vs-list {
    background: #f8f9fa !important;
    color: #ced4da !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    font-weight: 900 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    border: 1px solid #e9ecef !important;
}

.cb-match-block .cb-match-card-list-view .cb-card-footer {
    background: transparent !important;
    padding: 0 30px 30px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.cb-match-block .cb-outcome-list {
    background: #f8f9fa !important;
    color: #6c757d !important;
    padding: 15px 30px !important;
    border-radius: 15px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Responsive Specifics */
@media (max-width: 768px) {
    .cb-match-block .cb-team-name-list {
        font-size: 1.1rem !important;
    }

    .cb-match-block .cb-score-list {
        font-size: 2.2rem !important;
    }

    .cb-match-block .cb-team-logo-list {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
    }

    .cb-match-block .cb-match-main {
        gap: 8px !important;
    }

    .cb-match-block .cb-match-card-list-view .cb-card-body {
        padding: 25px 15px !important;
    }

    .cb-match-block .cb-team {
        gap: 10px !important;
    }
}

/* Slider Layout */
.cb-match-slider {
    position: relative;
    padding: 0 40px;
}

.cb-match-slider .swiper-wrapper {
    padding: 10px 0;
}

.cb-match-slider .swiper-slide {
    height: auto;
}

.cb-match-slider .swiper-button-prev,
.cb-match-slider .swiper-button-next {
    color: #1d3163;
    width: 36px;
    height: 36px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cb-match-slider .swiper-button-prev:after,
.cb-match-slider .swiper-button-next:after {
    font-size: 18px;
}

.cb-match-slider .swiper-pagination-bullet {
    background: #1d3163;
    opacity: 0.3;
}

.cb-match-slider .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Empty State */
.cb-match-block-empty {
    padding: 40px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 12px;
    color: #6c757d;
}

/* Responsive */
@media (max-width: 768px) {
    .cb-match-grid {
        grid-template-columns: 1fr;
    }

    .cb-match-teams {
        flex-direction: column;
        gap: 10px;
    }

    .cb-match-team {
        width: 100%;
        justify-content: flex-start;
    }

    .cb-match-team-away {
        flex-direction: row;
        text-align: left;
    }

    .cb-match-vs {
        transform: rotate(90deg);
    }

    .cb-match-slider {
        padding: 0 30px;
    }
}