/* Carousel Block Frontend Styles */
.results-carousel-section {
    position: relative;
    width: 100%;
    background-color: white;
}

.results-carousel-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.results-carousel-section .flex {
    display: flex;
}

.results-carousel-section .overflow-hidden {
    overflow: hidden;
}

.results-carousel-section .mb-4 {
    margin-bottom: 1rem;
}

.results-carousel-section .flex-shrink-0 {
    flex-shrink: 0;
}

.results-carousel-section .px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.results-carousel-section .w-80 {
    width: 20rem;
}

.results-carousel-section .bg-gray-50 {
    background-color: #f9fafb;
}

.results-carousel-section .rounded-lg {
    border-radius: 0.5rem;
}

.results-carousel-section .p-6 {
    padding: 1.5rem;
}

.results-carousel-section .h-32 {
    height: 8rem;
}

.results-carousel-section .flex {
    display: flex;
}

.results-carousel-section .items-center {
    align-items: center;
}

.results-carousel-section .justify-center {
    justify-content: center;
}

.results-carousel-section .hover\:bg-gray-100:hover {
    background-color: #f3f4f6;
}

.results-carousel-section .transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.results-carousel-section .duration-300 {
    transition-duration: 300ms;
}

.results-carousel-section .transform {
    transform: translateZ(0);
}

.results-carousel-section .hover\:scale-105:hover {
    transform: scale(1.05);
}

.results-carousel-section .relative {
    position: relative;
}

.results-carousel-section .max-w-full {
    max-width: 100%;
}

.results-carousel-section .max-h-full {
    max-height: 100%;
}

.results-carousel-section .object-contain {
    object-fit: contain;
}

.results-carousel-section .filter {
    filter: grayscale(100%);
}

.results-carousel-section .grayscale {
    filter: grayscale(100%);
}

.results-carousel-section .hover\:grayscale-0:hover {
    filter: grayscale(0%);
}

.results-carousel-section .filter-none {
    filter: none;
}

.results-carousel-section .absolute {
    position: absolute;
}

.results-carousel-section .bottom-2 {
    bottom: 0.5rem;
}

.results-carousel-section .right-2 {
    right: 0.5rem;
}

.results-carousel-section .w-6 {
    width: 1.5rem;
}

.results-carousel-section .h-4 {
    height: 1rem;
}

.results-carousel-section .rounded-sm {
    border-radius: 0.125rem;
}

.results-carousel-section .shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Animaciones de scroll infinito */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-33.333%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Clases de animación */
.results-carousel-section .animate-scroll-left {
    animation: scroll-left 80s linear infinite;
}

.results-carousel-section .animate-scroll-right {
    animation: scroll-right 80s linear infinite;
}

/* Responsive adjustments */
@media (min-width: 640px) {
    .results-carousel-section .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .results-carousel-section .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Hover effects */
.results-carousel-section .hover\:bg-gray-100:hover {
    background-color: #f3f4f6;
}

.results-carousel-section .hover\:scale-105:hover {
    transform: scale(1.05);
}

.results-carousel-section .hover\:grayscale-0:hover {
    filter: grayscale(0%);
}

/* Focus styles for accessibility */
.results-carousel-section .focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.results-carousel-section .focus\:ring-2:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

/* Smooth transitions */
.results-carousel-section * {
    transition: all 0.3s ease-in-out;
}

/* Ensure proper spacing */
.results-carousel-section {
    padding: 2rem 0;
}

/* Logo container styles */
.results-carousel-section .logo-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.results-carousel-section .logo-container img {
    max-width: 120px;
    max-height: 80px;
    object-fit: contain;
}

/* Country flag styles */
.results-carousel-section .country-flag {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    width: 1.5rem;
    height: 1rem;
    border-radius: 0.125rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
