.uep-spotlight-section {
    padding-bottom: 4rem;
    background-image: var(--gray-100);
}

.uep-spotlight-container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.uep-spotlight-section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.uep-spotlight-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--daikin-blue);
    margin: 0;
}

/* --- Carousel --- */
.uep-spotlight-carousel {
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.uep-spotlight-carousel-viewport {
    overflow: hidden;
}

.uep-spotlight-carousel-track {
    display: flex;
    margin-left: -1rem;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.uep-spotlight-carousel-slide {
    flex: 0 0 100%;
    min-width: 0;
    padding-left: 1rem;
    box-sizing: border-box;
}

/* --- Card --- */
.uep-spotlight-spotlight-card {
    width: 100%;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    transition: box-shadow 300ms ease-in-out;
    background-color: var(--gray-50);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.uep-spotlight-spotlight-card:hover {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.uep-spotlight-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    height: 100%;
    /* align-items: center; */
}

.uep-spotlight-card-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.uep-spotlight-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    color: var(--gray-800);
    line-height: 1.25;
}

.uep-spotlight-card-description {
    font-size: 0.75rem;
    color: var(--gray-600);
    line-height: 1.625;
    margin: 0;
}

.uep-spotlight-card-image-container {
    position: relative;
    height: 100%;
    height: 500px;
}

.uep-spotlight-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Navigation Buttons --- */
.uep-spotlight-carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2rem;
    width: 2rem;
    border-radius: 9999px;
    background-color: white;
    border: 2px solid rgba(0, 154, 210, 0.2);
    cursor: pointer;
    transition: all 200ms ease-in-out;
}

.uep-spotlight-carousel-button:hover {
    background-color: var(--daikin-blue);
    color: white;
    border-color: var(--daikin-blue);
}

.uep-spotlight-carousel-button-prev {
    left: -3rem;
}

.uep-spotlight-carousel-button-next {
    right: -3rem;
}

.uep-spotlight-icon {
    height: 1rem;
    width: 1rem;
}

/* Accessibility class for screen readers */
.uep-spotlight-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* --- Responsive Media Queries --- */
@media (min-width: 640px) {
    .uep-spotlight-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .uep-spotlight-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .uep-spotlight-section-title {
        font-size: 1.875rem;
    }
    .uep-spotlight-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .uep-spotlight-card-text {
        padding: 3rem;
    }
    .uep-spotlight-card-title {
        font-size: 1.5rem;
    }
    .uep-spotlight-card-description {
        font-size: 0.875rem;
    }
}

/* Additional responsive styles for carousel navigation */
@media (max-width: 767px) {
    .uep-spotlight-carousel-button-prev {
        left: 0.5rem;
    }
    
    .uep-spotlight-carousel-button-next {
        right: 0.5rem;
    }
    
    .uep-spotlight-carousel-button {
        height: 1.75rem;
        width: 1.75rem;
        border-width: 1px;
    }
    
    .uep-spotlight-icon {
        height: 0.875rem;
        width: 0.875rem;
    }
    .uep-spotlight-card-image-container {
        height: 300px;
    }
    
    .uep-spotlight-section {
        padding: 2rem 0;
    }
    
    .uep-spotlight-section-header {
        margin: 0;
    }
    
    .uep-spotlight-card-text {
        height: 350px;
    }
}

/* Animation preferences */
@media (prefers-reduced-motion: reduce) {
    .uep-spotlight-carousel-track {
        transition: none;
    }
}