.sports-card {
    background: var(--bgColor);
    padding: 24px;
}

.sports-card .nav-pills .nav-link {
    padding: 10px 24px;
    border-radius: 0;
    font-weight: 500;
    font-size: 15px;
    line-height: 1;
    color: var(--midNightBlue);
}

.sports-card-right .nav-pills .nav-link {
    padding: 10px 15px;
}

.sports-card .nav-pills .nav-link.active {
    background-color: var(--primary);
    color: var(--white);
}

.sports-card-box {
    background: var(--white);
}

.sports-header {
    padding: 12px 20px;
    border-bottom: 2px solid #edeff1;
}

.sports-header h4,
.sports-header p {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    color: #080f18;
    margin-bottom: 8px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 100%;
    display: block;
}

.sports-header p {
    font-weight: 400;
    color: var(--placeholderColor);
    margin-bottom: 0;
}

.sports-card-footer {
    border-top: 2px solid #f7f7f7;
    padding: 15px;
    text-align: center;
}

.sports-card-body {
    padding: 20px;
}

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

.score-card-box {
    display: flex;
    align-items: center;
}

.score-card-box .team-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.score-card-box:last-of-type .team-logo {
    margin-right: 0;
    margin-left: 10px;
}

.score-card-box .team-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.score-card-box .team-info .team-name,
.score-card-box .team-info .total-score,
.team-name .name {
    font-weight: 700;
    font-size: 15px;
    color: var(--textColor);
    line-height: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.score-card-box .team-info .total-score {
    color: rgba(8, 15, 24, 0.5);
    margin-top: 5px;
}

.score-card-box:last-of-type .team-info {
    text-align: right;
}

.sports-card-footer .watch-now {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    color: var(--primary);
    display: inline-block;
}

.match-start,
.match-start-time {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.5;
    color: var(--textColor);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    max-width: 100%;
}

.match_overflow {
    max-height: 138px;
    overflow-y: auto;
}

.match-start-time {
    color: var(--primary);
}

.match-info-card {
    background: var(--white);
    padding-bottom: 20px;
}

.match-info-gradient {
    height: 50px;
    border-top: 2px solid #edeff1;
    margin-bottom: 20px;
}

.match-info-gradient .match-info-box:last-child {
    position: relative;
    opacity: 0.1;
}

.match-info-gradient .match-info-box:last-child:after {
    content: "";
    position: absolute;
    bottom: 12px;
    height: 45px;
    background: linear-gradient(187deg, rgba(255, 255, 255, 0) 0%, #fff 77.24%);
    width: 100%;
    left: 0;
}

.match-info-box {
    display: flex;
    align-items: center;
    padding: 16px 20px;
}

.serial-no {
    font-weight: 500;
    font-size: 15px;
    line-height: 1;
    color: var(--textColor);
    margin-right: 12px;
    white-space: nowrap;
    flex-grow: 1;
}

.team-name {
    display: flex;
    align-items: center;
    flex-grow: 8;
}

.team-name .logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 10px;
    overflow: hidden;
}

.team-name .logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-scoreboard {
    flex-grow: 3;
    text-align: right;
}

.total-score {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    color: var(--textColor);
}

.team-scoreboard .over {
    font-weight: 400;
    font-size: 15px;
    line-height: 1.2;
    color: var(--businessGray);
}

.team-rank-btn {
    position: relative;
    z-index: 1;
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 15px;
    height: 42px;
    line-height: 1;
    color: var(--primary);
    transition: 0.3s ease-out;
    margin: 0 20px;
}

.team-rank-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.sports-card .owl-nav {
    position: absolute;
    top: -35px;
    right: 10px;
}

.sports-card .owl-nav .owl-prev {
    left: -40px;
    right: 0;
}

.sports-card .owl-nav .owl-next {
    left: 0;
    right: auto;
}

.sports-card .owl-dots {
    position: initial;
}

.sports-card .owl-dots .owl-dot span {
    background-color: rgba(217, 217, 217, 0.56) !important;
}

.sports-card .owl-dots .owl-dot.active span {
    background-color: var(--primary) !important;
}

@media screen and (max-width: 1440px) {
    .sports-header {
        padding: 12px 15px;
    }

    .match-info-box {
        padding: 15px;
    }

    .score-card-box .team-logo,
    .team-name .logo {
        width: 30px;
        height: 30px;
    }

    .total-score,
    .team-rank-btn {
        font-size: 15px;
    }

    .score-card-box .team-info .total-score,
    .serial-no,
    .team-scoreboard .over {
        font-size: 13px;
    }
}

@media screen and (max-width: 1280px) {
    .sports-card {
        padding: 20px;
    }

    .score-card-box .team-info .team-name,
    .team-name .name {
        font-size: 14px;
    }

    .total-score,
    .team-rank-btn {
        font-size: 14px;
    }

    .sports-header p {
        font-size: 14px;
    }
}

@media screen and (max-width: 992px) {
    .sports-card-right {
        margin-top: 30px;
    }
}

@media screen and (max-width: 991px) {
    .match_overflow {
        max-height: 400px;
    }
}

@media screen and (max-width: 767px) {

    .sports-card .owl-carousel .owl-nav {
        display: none !important;
    }

    .sports-card .nav-pills .nav-link {
        font-size: 13px;
        padding: 8px 16px;
    }

    .total-score,
    .team-rank-btn {
        font-size: 13px;
    }

    .score-card-box .team-logo,
    .team-name .logo {
        width: 24px;
        height: 24px;
    }

    .match-start,
    .match-start-time {
        font-size: 14px;
    }
}

@media screen and (max-width: 576px) {

    .sports-card,
    .sports-card-body {
        padding: 12px;
    }

    .sports-card .nav-pills .nav-link {
        font-size: 12px;
        padding: 6px 12px;
    }

    .match-info-gradient {
        height: auto;
        margin-bottom: 0;
    }

    .match-info-gradient .match-info-box:last-child {
        opacity: 1;
    }

    .match-info-gradient .match-info-box:last-child:after {
        display: none;
    }

    .sports-card-right .tab-content {
        position: relative;
        padding-bottom: 70px;
    }

    .team-rank-btn {
        position: absolute;
        bottom: 0;
        width: 100%;
        margin: 0 0 10px;
    }
}