table,
tr {
    color: white;
}

.table tbody tr {
    height: 55px;
}

.table tbody td,
.table tbody th {
    vertical-align: middle;
}

.card {
    background-color: #2d3844;
    color: #fff;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 250px;
    margin: 10px auto;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
}

.card img {
    height: 150px;
    object-fit: cover;
    border-bottom: 2px solid #667f99;
}

.card-body {
    height: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.card:hover {
    transform: scale(1.02);
}

.cstv-carousel-wrapper {
    width: 100%;
    margin-top: 25px;
    margin-bottom: 25px;
}

#cstvCarousel {
    width: 100%;
    margin: 0 auto;
    background-color: #2d3844;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

#cstvCarousel .carousel-item img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
}

#cstvCarousel .carousel-item {
    position: relative;
}

#cstvCarousel .carousel-item::after {
    content: "";
    position: absolute;
    inset: 40% 0 0 0;
    background: linear-gradient(to bottom,
            transparent,
            rgba(0, 0, 0, 0.85));
    pointer-events: none;
}

#cstvCarousel .carousel-caption {
    z-index: 2;
    bottom: 18px;
    padding: 10px 25px;
}

.sponsor-grid {
    max-width: 900px;
    margin: 20px auto 0;
}

.sponsor-grid img {
    width: 100%;
    max-width: 140px;
    height: 75px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.sponsor-grid a:hover img {
    transform: scale(1.1);
}