.ta-assoc-wrapper-1caf6fb2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default, overridden by settings */
    gap: 20px;
    width: 100%;
}

.ta-assoc-card-1caf6fb2 {
    display: flex;
    flex-direction: column;
    background-color: transparent; /* Modified to transparent */
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.ta-assoc-card-1caf6fb2:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.ta-assoc-image-1caf6fb2 {
    width: 100%;
    text-align: center;
    background-color: transparent; /* Modified to transparent */
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.ta-assoc-image-1caf6fb2 img {
    width: 100px; /* Reduced default size */
    height: auto;
    object-fit: contain;
    max-height: 150px; /* Reduced max height */
    display: block;
    margin: 0 auto;
}

.ta-assoc-content-1caf6fb2 {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.ta-assoc-title-1caf6fb2 {
    margin: 0 0 5px 0;
}

.ta-assoc-phone-1caf6fb2,
.ta-assoc-modalities-1caf6fb2,
.ta-assoc-info-1caf6fb2 {
    line-height: 1.6;
}

.ta-assoc-info-1caf6fb2 {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

/* Ensure WYSIWYG elements follow the alignment */
.ta-assoc-content-1caf6fb2 p {
    margin-bottom: 0;
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 768px) {
    .ta-assoc-wrapper-1caf6fb2 {
        grid-template-columns: repeat(2, 1fr); /* Fallback */
    }
}

@media screen and (max-width: 480px) {
    .ta-assoc-wrapper-1caf6fb2 {
        grid-template-columns: 1fr; /* Fallback */
    }
}