.u-section-1 {
    padding: 60px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.u-text-1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #323d90;
    text-align: center;
    width: 100%;
}

.u-text-2 {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    text-align: center;
    width: 100%;
}

.u-list-1 {
    margin-top: 2rem;
    width: 100%;
}

.u-repeater-1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 1rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.u-container-layout {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}

.u-container-layout:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.u-container-layout a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.u-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 160px;
    width: auto;
    margin: 0 auto;
    display: block;
}

.sponsor-name {
    font-size: 1.1rem;
    color: #323d90;
    margin: 1rem 0 0;
    font-weight: 600;
    text-align: center;
    width: 100%;
}

/* Specific adjustments for Castania logo */
.u-image-7 {
    max-height: 200px !important;
    width: auto !important;
    margin: 0 auto;
}

/* Adjustments for smaller logos */
.u-image-2, .u-image-3, .u-image-4, .u-image-5, .u-image-6, .u-image-8, .u-image-9, .u-image-10, .u-image-11, .u-image-12 {
    max-height: 180px !important;
    width: auto !important;
    margin: 0 auto;
}

/* Specific adjustments for Sofi de France, Mearco Assurance, and other small logos */
.u-image-9, .u-image-11 {
    max-height: 200px !important;
    width: auto !important;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .u-repeater-1 {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 2rem;
    }
    
    .u-text-1 {
        font-size: 2rem;
    }
    
    .u-text-2 {
        font-size: 1rem;
    }

    .u-container-layout {
        min-height: 200px;
        padding: 1.5rem;
    }

    .u-image {
        max-height: 140px;
    }

    .sponsor-name {
        font-size: 1rem;
        margin-top: 0.8rem;
    }

    /* Adjust mobile sizes for larger logos */
    .u-image-7, .u-image-9, .u-image-11 {
        max-height: 160px !important;
    }
}