/* Footer custom per Osona 2024 */
.site-footer-custom {
    background: #000;
    color: #fff;
    font-family: 'Gordita', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    font-weight: 500; /* Medium */
    padding: 2.25rem 0;
}

.footer-inner {
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    right: 50%;
    margin-right: -50vw;
}

.site-footer {
        position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    right: 50%;
    margin-right: -50vw;
}


/* Primera fila */
.footer-row-1 {
    margin-bottom: 1rem;
}
.footer-logo img {
    width: 250px;
    height: auto;
    display: block;
    max-width: 100%;
}

/* Segona fila: grid amb 6 columnes iguals */
.footer-row-2 {
    border-top: 1px solid #fff;
        padding-top: 1rem;
    margin-top: 1rem;
    margin-bottom: 1.25rem;
}
.footer-collab-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    align-items: center;
}
.collab-label {
    font-weight: 600;
    color: #fff;
}
.collab-item {
    display: flex;
    align-items: center;
    justify-content: center;
}
.collab-item img {
    max-height: 48px;
    width: auto;
    display: block;
    filter: none;
}

/* Third row: border blanca entre segona i tercera fila */
.footer-row-3 {
    border-top: 1px solid #fff;
    padding-top: 1rem;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #fff;
}

/* Responsive behaviour */
@media (max-width: 767px) {
    .footer-collab-grid {
        grid-template-columns: 1fr;
    }
    .collab-label {
        margin-bottom: 0.5rem;
    }
    .footer-row-1 { text-align:left; }
}

@media (min-width: 768px) and (max-width: 991px) {
    /* Tablet: 2 per fila */
    .footer-collab-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-inner { padding: 0 1.5rem; }
}
