/* Reglas de logos trasladadas desde el editor de MyProtein. */
.ff-case-clients { width: 100%; }

.ff-case-clients-label,
.ff-case-contact-label {
    display: flex;
    align-items: center;
    gap: .15rem;
    margin: 0;
    color: #0f11158c;
    font-size: 12.48px;
    font-weight: 500;
    letter-spacing: .1em;
}

.ff-case-clients-label { margin-left: 40px; color: #f9f7f18c; }

.ff-case-clients-number,
.ff-case-contact-number { color: #b0361d; font-weight: 600; }

.ff-case-clients .clients__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
    gap: 16px;
    padding: 72px 40px;
    width: 100%;
    box-sizing: border-box;
    background: #000;
}

.ff-case-clients .client__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    opacity: 1;
    transition: opacity .65s ease;
}

.ff-case-clients .client__item.fade-out { opacity: 0; }

.ff-case-clients .client__item img {
    width: 100%;
    max-width: 180px;
    height: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 1024px) {
    .ff-case-clients .clients__grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 56px 24px;
    }
}

@media (max-width: 768px) {
    .ff-case-clients .clients__grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 48px 20px;
        gap: 20px;
    }
    .ff-case-clients .client__item img { max-width: 140px; }
}

/* Mantiene el cierre en dos columnas al quitar el bloque Columns del editor. */
.ff-case-contact-layout {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: var(--wp--style--block-gap, 2rem);
}

.ff-case-contact-layout > .wp-block-column {
    flex: 1 1 0;
    min-width: 0;
}

@media (max-width: 781px) {
    .ff-case-contact-layout { flex-wrap: wrap; }
    .ff-case-contact-layout > .wp-block-column { flex-basis: 100%; }
}
