/* ==========================================================================
   BLOCK, WIDGET & ELEMENTOR: FICHA DE LA SEDE (EXF - CAJÓN DESASTRE)
   ========================================================================== */

.exf-block-sede-info {
    font-family: inherit;
}

.exf-sede-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.exf-sede-detail-item {
    display: var(--exf-item-display, flex);
    align-items: var(--exf-item-align, center);
    gap: var(--exf-item-gap, 12px);
    text-decoration: var(--exf-item-text-dec, none) !important;
    color: var(--exf-item-color, inherit);
    padding: var(--exf-item-padding, 14px 18px);
    border-radius: var(--exf-item-radius, 14px);
    background: var(--exf-item-bg, rgba(0, 0, 0, 0.03));
    border-width: var(--exf-item-border-w, 1px);
    border-style: var(--exf-item-border-s, solid);
    border-color: var(--exf-item-border-c, rgba(0, 0, 0, 0.07));
    transition: all 0.2s ease;
}

.exf-sede-detail-item.exf-clickable:hover {
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    opacity: 0.95;
}

.exf-sede-detail-item .dashicons {
    /* Toma el color del texto actual y lo suaviza si es necesario, o hereda */
    color: inherit;
    opacity: 0.8;
}

.exf-item-content {
    display: flex;
    flex-direction: column;
}

.exf-item-content .exf-label {
    font-weight: bold;
    text-transform: uppercase;
    color: inherit;
    opacity: 0.7;
    letter-spacing: 0.5px;
    font-size: 0.8em;
}

.exf-item-content .exf-value {
    color: inherit;
    font-weight: inherit;
}

/* Mapa */
.exf-sede-map-wrap {
    margin-top: 15px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(128, 128, 128, 0.2);
}

/* Redes sociales */
.exf-sede-redes-sociales {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.exf-social-circle-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(128, 128, 128, 0.1);
    color: inherit;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border: 1px solid rgba(128, 128, 128, 0.2);
}

.exf-social-circle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: rgba(128, 128, 128, 0.2);
}

/* Colores de marca opcionales solo para iconos específicos si se desea, 
   pero heredan bien con opacidad para temas oscuros/claros */
.exf-social-circle-btn.social-facebook {
    color: #1877F2;
}

.exf-social-circle-btn.social-instagram {
    color: #E1306C;
}

.exf-social-circle-btn.social-x,
.exf-social-circle-btn.social-twitter {
    color: inherit;
}

/* ==========================================================================
   DISEÑO HORIZONTAL (REJILLA / COLUMNAS)
   ========================================================================== */
.exf-layout-horizontal .exf-sede-details {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 12px !important;
}

.exf-layout-horizontal .exf-sede-detail-item {
    flex: 1 1 calc(50% - 12px);
    min-width: 220px;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    text-align: left !important;
    padding: 14px 16px !important;
}

@media (max-width: 600px) {
    .exf-layout-horizontal .exf-sede-detail-item {
        flex: 1 1 100%;
    }
}
