.sc-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    padding: 20px 0;
}

/* Hardcode arrow widths so the flexbox math is perfectly symmetrical */
.sc-prev, .sc-next {
    cursor: pointer;
    color: #4a4a4a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    width: 50px;
    flex-shrink: 0;
}

.sc-prev:hover, .sc-next:hover {
    color: #000;
}

/* Ensure Swiper takes up exactly the remaining space, balancing the center */
.sponsor-swiper {
    width: calc(100% - 100px); 
    overflow: hidden;
    margin: 0;
}

.sc-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.3; /* Slightly lower opacity for inactive items */
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.sc-content-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 15px;
}

.sc-text {
    font-family: inherit;
    font-size: 1.1rem;
    color: #999;
    font-weight: 400;
    line-height: 1.4;
    transition: all 0.4s ease;
}

.sc-logo {
    max-width: 100%;
    max-height: 100px; /* Restrict height so varied logos don't break flex alignment */
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.4s ease;
}

.sponsor-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1.05);
}

.sponsor-swiper .swiper-slide-active .sc-text {
    color: #000;
    font-weight: 700;
}

.sponsor-swiper .swiper-slide-active .sc-logo {
    filter: grayscale(0%);
}
