/*===================================================================
 * MEC EVENTS CUSTOM STYLES
===================================================================*/

.mec-event-meta .mec-single-event-time, .mec-event-meta .mec-local-time-details {
    display:none;
}
.mec-event-meta .mec-single-event-fecha, .mec-event-meta .mec-single-event-modalidad, .mec-event-meta .mec-single-event-sede {
    padding: 12px 14px 8px;
    margin-bottom: 12px;
    vertical-align: baseline;
    position: relative;
}
/* 

/* Quitar borde a las cajas que no son el sidebar*/
.mec-wrap .col-md-8 .mec-frontbox {
    border: none;
    padding: 0;
}
.mec-wrap h4.mec-schedule-part {
    font-size: 20px;
}
/* Ocultar categorías del blog en sidebar de eventos*/
#block-41, #block-42 {
    display: none;
}
/* Estilos de botones RRSS*/
.mec-wrap li.mec-event-social-icon a>svg {
    fill: var(--ast-global-color-2);
    transition: all .2s linear;
}

.mec-single-event .mec-event-social a.twitter:hover svg path {
    fill: var(--ast-global-color-0) !important;
}

.mec-single-event .mec-event-social a {
    background: transparent !important;
    border-radius: 100% !important;
    color: var(--ast-global-color-2) !important;
    border: 1px solid var(--ast-global-color-2);
}

.mec-wrap li.mec-event-social-icon a:hover {
    color: var(--ast-global-color-0) !important;
    border-color: var(--ast-global-color-0);
}
@media only screen and (max-width: 479px) {
    .mec-container {
        width: 100%;
    }
}

/**
* FORMULARIO DE INSCRIPCIÓN A INICIATIVAS
**/

/* Página del formulario */
body.page-template-inscripcion-iniciativa .site-main {
    padding: 40px 24px;
}

body.page-template-inscripcion-iniciativa .entry-title {
    display: block !important;
    visibility: visible !important;
}

/* Estilos formularios */
.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
}

.form-control[readonly] {
    background-color: #e9ecef;
    color: #888;
}


.form-inscripcion-iniciativa fieldset{
    margin-bottom: 24px;
    padding: 24px;
    border-color: #dee2e6;
}

.form-inscripcion-iniciativa legend{
    font-size: 18px;
    margin-bottom: 0;
}
.form-inscripcion-iniciativa .form-row .form-group .form-control{
    box-shadow: none;
    border-color: #ced4da;
}
.form-inscripcion-iniciativa .box-submit{
    text-align: right;
}

.form-inscripcion-iniciativa #boton-inscribirse:disabled {
    background-color: #adb5bd;
    border-color: #adb5bd;
    color: #fff;
    cursor: not-allowed;
    opacity: 0.7;
}

/**
 * COLABORADORES / PONENTES DE INICIATIVA
 **/

.mec-wrap .mec-colaboradores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.mec-wrap .mec-colaborador-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 24px 16px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mec-wrap .mec-colaborador-foto {
    width: 140px;
    height: 140px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.mec-wrap .mec-colaborador-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.mec-wrap .mec-colaborador-foto--logo img {
    object-fit: contain;
    border-radius: 0;
    padding: 8px;
}

.mec-wrap .mec-colaborador-nombre {
    margin: 0 0 auto;
    font-size: 16px;
    font-weight: 700!important;
    color: var(--ast-global-color-2, #030200);
    line-height: 1.3;
}

.mec-wrap .mec-colaborador-tipo {
    margin: 8px 0 0;
    font-size: 14px!important;
    text-transform: uppercase;
    color: var(--ast-global-color-0, #a66703)!important;
}

.mec-wrap .mec-colaborador-linkedin {
    display: inline-block;
    margin-top: 8px;
    color: #0077b5;
    font-size: 18px;
}

@media (max-width: 768px) {
    .mec-wrap .mec-colaboradores-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .mec-wrap .mec-colaboradores-grid { grid-template-columns: 1fr; }
}