/* ── Contacto page ───────────────────────────────────────────────────────── */

#contacto {
    background-color: var(--azul-c);
    padding: 8%;
}

#contacto h2 {
    color: var(--negro);
}

#contacto iframe {
    min-height: 120%;
}

.rrss {
    width: 100%;
    min-height: 10vh;
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 50px;
}

.rrss_el {
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
    background-color: var(--negro);
    width: 7vw;
    height: 7vw;
    cursor: pointer;
}

.rrss_el:hover {
    background-color: var(--acento);
}

#linktree  { background-image: url('../resc/img/imgs/logos/linktree_logo.svg'); }
#instagram { background-image: url('../resc/img/imgs/logos/instagram_logo.svg'); }
#facebook  { background-image: url('../resc/img/imgs/logos/facebook_logo.svg'); }
#x_twitter { background-image: url('../resc/img/imgs/logos/x_logo.svg'); }
#youtube   { background-image: url('../resc/img/imgs/logos/youtube_logo.svg'); }

/* ── Entidades section ───────────────────────────────────────────────────── */

#entidades_redes {
    padding: 4% 8%;
    text-align: center;
}

#entidades {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2rem;
}

.ent {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 13rem;
}

/* Fixed-height logo area so all logos appear proportional */
.ent > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 6.5rem;
}

.ent > a img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Smaller icon strip inside each entity card */
.ent .rrss {
    margin-top: 0;
    min-height: 0;
    width: auto;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.ent .rrss .rrss_el {
    width: 2.8rem;
    height: 2.8rem;
}

/* Bluesky icon (shared with main.css .rrss-bluesky, kept here for ID fallback) */
#bluesky { background-image: url('../resc/img/imgs/logos/bluesky_logo.svg'); }

@media (max-width: 900px) {
    #contacto #contacto-cols {
        flex-direction: column;
    }

    #contacto .col {
        min-width: 100%;
        width: 100%;
    }
}

@media (max-width: 600px) {
    #contacto h2 {
        font-size: 8vw;
        margin-bottom: 4vh;
    }

    .rrss_el {
        width: 10vw;
        height: 10vw;
    }
}
