.elementor-10297 .elementor-element.elementor-element-c092703{--display:flex;}/* Start custom CSS *//* Fix for brand carousel logo alignment and sizing */

/* Ensure all carousel slides have consistent height */
.e-n-carousel .swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

/* Make the container elements fill the full height */
.e-n-carousel .swiper-slide .e-con {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.e-n-carousel .swiper-slide .e-con-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Brand container styling - set a consistent height and center content */
.custom-brand {
    height: 200px !important; /* Set consistent height for all brand containers */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #d9dcdf !important;
    border-radius: 0px; /* Optional: add slight border radius */
}

/* Brand thumbnail link - center the content */
.custom-brand .img-thumbnail {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    padding: 1.5rem !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Brand logo image - maintain aspect ratio and fit within container */
.custom-brand .img-thumbnail img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center !important;
}

/* Ensure porto-tb-featured-image fills the container */
.custom-brand .porto-tb-featured-image {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Optional: Add hover effects */
.custom-brand .img-thumbnail:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.custom-brand .img-thumbnail img:hover {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .custom-brand {
        height: 150px !important;
    }
    
    .custom-brand .img-thumbnail {
        padding: 1rem !important;
    }
}

@media (max-width: 480px) {
    .custom-brand {
        height: 120px !important;
    }
    
    .custom-brand .img-thumbnail {
        padding: 0.75rem !important;
    }
}/* End custom CSS */