/*========================================
0. GENERICOS
========================================*/

/* 1. Importación de la fuente desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* 2. Aplicación global a todo el sitio */
body, h3, h4, h5, h6, p, a, li, span, div {
    font-family: 'Inter', sans-serif !important;
}

body {
   background: #fff;
}

.material-icons {
    font-family: 'Material Icons' !important;
}

.col .responsive-img,
.video-responsive{
border-radius: 24px;
}

.header img,
.footer img,
.icons img {
border-radius:0!important;
}

.dynamicform:has(> .header) {
  min-width: 100%!important;
}

.dynamicform:has(> .margin-block) {
  overflow: hidden;
  padding: 24px;
}

.dynamicform:has(> .center) {
    display: flex;
    align-items: center;
    gap: 24px;
   }

span.blue-text {
       color: #1a3e77 !important;
}

.reverse {
   flex-direction: column-reverse;
}


/*================================   
1. TIPOGRAFÍA
================================*/

h1,
h1 *{
    display: block;
    width: 100%;
    font-size: clamp(3rem, 6vw, 3.5rem);
    line-height: 1.2 ;
    font-weight: 700 ;
    word-wrap: normal ;
    margin-top: 120px;
   font-family: 'Outfit', sans-serif!important;
}

@media (max-width: 768px) {
h1, 
.white-text {
        margin-top: 48px !important;
    }
}

h2,
h2 * { 
    font-size: clamp(1.875rem, 4vw, 2.5rem) !important;
    line-height: 1.3 !important;
    margin-top: 86px;
    font-family: 'Outfit', sans-serif!important;
}

h3 { 
    color: #1C1D1F; 
    font-size: 28px; 
}

p { 
    font-size: 17px; 
    color: #1C1D1F; 
}

.p-large p{
  font-size: clamp(1.375rem, 3vw, 1.75rem) !important;
  line-height: 1.3 !important;
}



/* -------------------------------------------------------
   HERO 
--------------------------------------------------------*/
.row:has(> .dynamicform > .gradient-sunset) {
    border-bottom: 30px solid;
    border-image-source: linear-gradient(
        90deg,
        #063f7b 0%,
        #063f7b 10%,
        #d3dcec 45%,
        #d3dcec 55%,
        #063f7b 90%,
        #063f7b 100%
    );
    border-image-slice: 1;
}

}


/*=============================
MARGIN-SECTION
=============================*/
.row:has(> div > .margin-section) {   
    padding: 35px 0;
    display: block;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .row:has(> div > .margin-section) {
        padding: 24px !important;
        margin-bottom: 40px;
    }
}


/*========================
MARGEN TEXTO 
=========================*/

.dynamicform:has(> .margin-text){
    margin-top: 20px; 
}



/* -------------------------------------------------------
   SAVE THE DATE
--------------------------------------------------------*/

/* Contenedor exacto de las 3 fechas */
.save-date div:has(> p):not(:has(> div)) 
.logos {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px;
    margin: 48px auto 0;
}

/* Cada bloque de fecha */
.save-date div:has(> p):not(:has(> div)) > p {
    background-color: #333;
    color: white;
    border-radius: 24px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    flex: 0 0 auto !important;

    width: 125px;
    min-width: 125px;
    max-width: 125px;

    margin: 0 !important;
    padding: 26px 36px;

    font-size: 26px;
    font-weight: 800;
    line-height: 0.8;
}

/* Día: JUE, VIE, SÁB */
.save-date p::first-line {
    font-size: 46px;
    font-weight: bold;
    line-height: 1;
}

/* Contenedor de las 3 fechas */
.save-date div:has(> p) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;

    justify-content: center !important;
    align-items: center !important;

    gap: 10px;
    width: 100% !important;
    margin: 48px auto 0 !important;
}

/* Tarjetas */
.save-date div:has(> p) > p {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

@media (max-width: 600px) {

    /* Padre que contiene los elementos de save-date */
    .save-date .col.s12 > div {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

}



/*===================================
FONDO GRIS CON BORDES REDONDEADOS
====================================*/


/* ==========================
   FILA SUPERIOR
========================== */

.row:has(> div > .border-radius-top) {
    border-radius: 24px 24px 0 0;

    margin: 50px 24px 0 24px !important;

    padding: 50px 7% 15px 7% !important;

    box-sizing: border-box;
}


/* CONTENEDOR INTERIOR */
.row:has(> div > .border-radius-top) > div {
    width: 100% !important;

    display: grid !important;
    grid-template-columns: 1fr 1fr 2fr;

    align-items: center;

    margin: 0 !important;
}


/* Quitamos las columnas vacías laterales */
.row:has(> div > .border-radius-top) > div > .col:first-child,
.row:has(> div > .border-radius-top) > div > .col:last-child {
    display: none !important;
}


/* Reseteamos las columnas del CMS */
.row:has(> div > .border-radius-top) > div > .border-radius-top {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 20px !important;

    float: none !important;

    box-sizing: border-box;

    text-align: center;
}


/* Línea vertical antes de Lateral */
.row:has(> div > .border-radius-top)
> div
> .border-radius-top:nth-of-type(4) {

    border-left: 1px solid #000000;

    min-height: 205px;

    display: flex !important;
    align-items: center;
    justify-content: center;
}


/* Centramos contenido interno */
.row:has(> div > .border-radius-top)
> div
> .border-radius-top
> div {

    width: 100%;
}


/* Quitamos márgenes raros del CMS */
.row:has(> div > .border-radius-top) p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}



/* ==========================
   FILA INFERIOR
========================== */

.row:has(> div > .border-radius-bottom) {
    border-radius: 0 0 24px 24px;

    margin: 0 24px 60px 24px !important;

    padding: 0 7% 45px 7% !important;

    box-sizing: border-box;
}


/* Contenedor interior */
.row:has(> div > .border-radius-bottom) > div {
    width: 100% !important;

    display: grid !important;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    margin: 0 !important;
}


/* Las dos columnas inferiores */
.row:has(> div > .border-radius-bottom)
> div
> .border-radius-bottom {

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 20px !important;

    float: none !important;

    text-align: center;

    box-sizing: border-box;
}


/* Quitamos márgenes internos */
.row:has(> div > .border-radius-bottom) p {
    margin: 0 !important;
}



/* ==========================
   FILA CENTRAL
========================== */

.row:has(> div > .border-radius-center) {
    margin: 0 24px !important;
}



/* =================================
   TABLET / MÓVIL
================================= */

@media (max-width: 768px) {

    .row:has(> div > .border-radius-top) {
        margin: 30px 16px 0 16px !important;
        padding: 30px 20px 15px !important;
    }


    .row:has(> div > .border-radius-bottom) {
        margin: 0 16px 40px 16px !important;
        padding: 10px 20px 30px !important;
    }


    /* Una columna por bloque */
    .row:has(> div > .border-radius-top) > div,
    .row:has(> div > .border-radius-bottom) > div {
        display: flex !important;
        flex-direction: column !important;

        gap: 25px;
    }


    .row:has(> div > .border-radius-top)
    > div
    > .border-radius-top,

    .row:has(> div > .border-radius-bottom)
    > div
    > .border-radius-bottom {

        width: 100% !important;
        padding: 0 !important;
    }


    /* Quitamos línea vertical */
    .row:has(> div > .border-radius-top)
    > div
    > .border-radius-top:nth-of-type(4) {

        border-left: none;

        min-height: auto;
    }
}

/*==============
LOGOS
==============*/
.logos {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 30px;
    margin-top: 45px;
}

.logos > div {
    flex: 0 0 auto !important;
    width: auto !important;
}

@media (max-width: 600px) {

    /* Padre que contiene todos los logos */
    .logos {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 40px;
        margin-top: 70px !important;
    }
}


/* ==========================================================================
   4. SOLUTIONS DARK (OVERLAY EFFECTS)
   ========================================================================== */


/* CONTENEDOR DE LAS DOS TARJETAS */
.dynamicform:has(> .solutions-dark) {
    display: flex;
    align-items: stretch;
    gap: 30px;
}


/* LAS DOS TARJETAS OCUPAN EL MISMO ANCHO */
.dynamicform:has(> .solutions-dark) > .solutions-dark {
    flex: 1 1 0 !important;
    width: 50% !important;
    max-width: 50% !important;
    box-sizing: border-box;
}


/* TARJETA */
.col.solutions-dark {
    position: relative;

    height: 400px !important;
    min-height: 400px !important;

    border-radius: 30px;

    overflow: hidden;

    box-sizing: border-box;
}


/* ==========================================================================
   CONTENEDOR DE LA IMAGEN
   ========================================================================== */

.col.solutions-dark > div:first-child {
    position: absolute;

    inset: 0;

    width: 100% !important;
    height: 100% !important;

    z-index: 1;

    border-radius: 30px;

    overflow: hidden;
}


/* ROW INTERNO */
.col.solutions-dark > div:first-child > .row {
    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* COLUMNA INTERNA */
.col.solutions-dark > div:first-child > .row > .col {
    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* ==========================================================================
   IMAGEN
   ========================================================================== */

.col.solutions-dark img {
    position: relative;

    display: block;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;

    object-fit: cover;
    object-position: center;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 30px;

    z-index: 1;

    transition:
        filter 0.45s ease,
        transform 0.45s ease;

    will-change: transform, filter;
}


/* ==========================================================================
   OVERLAY
   ========================================================================== */

.col.solutions-dark > div:nth-child(2) {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 2;

    border-radius: 30px;

    background: rgba(0, 0, 0, 0);

    transition: background 0.45s ease;

    padding: 3rem;

    box-sizing: border-box;
}


/* ==========================================================================
   TEXTOS DEL OVERLAY
   ========================================================================== */

.col.solutions-dark > div:nth-child(2) h3,
.col.solutions-dark > div:nth-child(2) p {
    position: absolute;

    left: 1.5rem;
    right: 1.5rem;

    z-index: 3;

    margin: 0;

    color: #fff;

    will-change: transform, opacity;
}


/* ETIQUETA SUPERIOR */
.col.solutions-dark > div:nth-child(2) p {
    display: inline;

    right: auto;

    background-color: #eeeeeee6;

    color: #1C1D1F;

    border-radius: 20px;

    padding: 3px 26px;

    overflow: inherit;
}


/* TÍTULO GRANDE */
.col.solutions-dark > div:nth-child(2) h3 {
    top: 0;
    bottom: 0;

    opacity: 1;

    transform: translateY(0);

    transition:
        transform 0.45s ease,
        opacity 0.35s ease;

    z-index: 5;

    align-self: end;

    font-size: 42px;
    margin-left: 30px;
    margin-bottom: 50px; 

}


/* ==========================================================================
   TODA LA TARJETA CLICABLE
   ========================================================================== */

.col.solutions-dark > div:nth-child(2) h3 a::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 10;

    cursor: pointer;
}


/* ==========================================================================
   HOVER
   ========================================================================== */

.col.solutions-dark:hover img {
    filter: brightness(40%);

    transform: scale(1.02);
}


.col.solutions-dark:hover > div:nth-child(2) h3 {
    transform: translateY(-24px);
}


.dynamicform .solutions-dark:hover::after {
    opacity: 0;

    visibility: hidden;
}


/* ==========================================================================
   INVITATION
   ========================================================================== */

.dynamicform:has(> .invitation) {
    margin-top: 120px;
}


.invitation {
    padding-bottom: 80px !important;
}


/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 992px) {

    .dynamicform:has(> .solutions-dark) {
        gap: 20px;
    }


    .dynamicform:has(> .solutions-dark) > .solutions-dark {
        flex: 1 1 0 !important;

        width: 50% !important;
        max-width: 50% !important;
    }


    .col.solutions-dark {
        height: 320px !important;
        min-height: 320px !important;
    }


    .col.solutions-dark > div:nth-child(2) {
        padding: 2rem;
    }


    .col.solutions-dark > div:nth-child(2) h3 {
        font-size: 34px;
    }
}


/* ==========================================================================
   MÓVIL
   ========================================================================== */

@media (max-width: 600px) {

    .dynamicform:has(> .solutions-dark) {
        display: flex;

        flex-wrap: wrap;

        gap: 20px;
    }


    .dynamicform:has(> .solutions-dark) > .solutions-dark {
        flex: 0 0 100% !important;

        width: 100% !important;
        max-width: 100% !important;
    }


    .col.solutions-dark {
        width: 100% !important;

        height: 280px !important;
        min-height: 280px !important;

        border-radius: 24px;
    }


    .col.solutions-dark > div:first-child {
        border-radius: 24px;
    }


    .col.solutions-dark img {
        width: 100% !important;
        height: 100% !important;

        object-fit: cover;

        border-radius: 24px;
    }


    .col.solutions-dark > div:nth-child(2) {
        border-radius: 24px;

        padding: 1.5rem;
    }


    .col.solutions-dark > div:nth-child(2) h3 {
        left: 1.2rem;
        right: 1.2rem;

        font-size: 30px;
    }


    .col.solutions-dark > div:nth-child(2) p {
        left: 1.2rem;

        padding: 3px 20px;
    }
}

/* ==========================================================================
   INVITATION
   ========================================================================== */

.dynamicform:has(> .invitation) {
    margin-top: 120px;
}

.invitation {
    padding-bottom: 80px !important;
}


/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 992px) {

    .dynamicform:has(> .solutions-dark) {
        gap: 20px;
    }


    .dynamicform:has(> .solutions-dark) > .solutions-dark {
        flex: 1 1 0 !important;

        width: 50% !important;
        max-width: 50% !important;
    }


    .col.solutions-dark {
        height: 320px;
        min-height: 320px;
    }


    .col.solutions-dark div:nth-of-type(2) {
        padding: 2rem;
    }


    .col.solutions-dark div:nth-of-type(2) h3 {
        font-size: 34px;
    }
}


/* ==========================================================================
   MÓVIL
   ========================================================================== */

@media (max-width: 600px) {

    /* LAS TARJETAS PASAN A UNA DEBAJO DE OTRA */
    .dynamicform:has(> .solutions-dark) {
        display: flex;

        flex-wrap: wrap;

        gap: 20px;
    }


    .dynamicform:has(> .solutions-dark) > .solutions-dark {
        flex: 0 0 100% !important;

        width: 100% !important;
        max-width: 100% !important;
    }


    /* MISMO TAMAÑO PARA AMBAS EN MÓVIL */
    .col.solutions-dark {
        width: 100% !important;

        height: 280px;
        min-height: 280px;

        border-radius: 24px;
    }


    .col.solutions-dark img {
        width: 100% !important;

        height: 100% !important;

        object-fit: cover;

        border-radius: 24px;
    }


    .col.solutions-dark div:nth-of-type(1) {
        width: 100%;

        height: 100%;

        border-radius: 24px;
    }


    .col.solutions-dark div:nth-of-type(2) {
        border-radius: 24px;

        padding: 1.5rem;
    }


    .col.solutions-dark div:nth-of-type(2) h3 {
        font-size: 30px;

        left: 1.2rem;
        right: 1.2rem;
    }


    .col.solutions-dark div:nth-of-type(2) p {
        left: 1.2rem;

        padding: 3px 20px;
    }
}


/* -------------------------------------
BOTÓN SORTEO SEPES
--------------------------------------- */

.invitation a.btn.black {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 28px 36px !important;
    font-weight: 800 !important;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    border-radius: 40px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}




/* Efecto al pasar el ratón */
.invitation a.btn.black:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Móvil */
@media (max-width: 600px) {
    .invitation a.btn.black {
        width: 100%;
        min-width: 0;

        padding: 16px 20px !important;

        font-size: 18px !important;

        box-sizing: border-box;
    }
}


.row:has(> div > .invitation) {
    margin-bottom: 50px !important;
}





/************************
BOTÓN BLANCO EVENTO
************************/

.btn-white-event a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff !important;
    color: #000000 !important;
    padding: 14px 45px;
    border: none !important;
    border-radius: 50px !important;
    line-height: 1;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    margin: 30px auto;
}


/* HOVER */
.btn-white-event a:hover {
    background-color: #eeeeee !important;
    color: #000000 !important;
}

/* PADRE DEL BOTÓN */
.row:has(.center-align > a.btn-white-event) {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    width: 100% !important;

    margin-top: 30px !important;
    margin-bottom: 30px !important;
}

/* MÓVIL */
@media (max-width: 768px) {
    .btn-white-event {
        width: 100%;
        min-width: 0;
        min-height: 62px;
        padding: 16px 25px;
        font-size: 18px;
    }
}

/*==========================================
BOX WHITE MULTI
==========================================*/

.box-white-multi {
  display: flex !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  background: transparent !important;
  padding: 0 !important;
  gap: 0 !important;
  flex-wrap: wrap;
}


/* Contenedor blanco formado por icono + texto */
.box-white-multi > div:nth-child(2),
.box-white-multi > div:nth-child(3) {
  background-color: #ffffff !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
}

/* Caja Icono */
.box-white-multi > div:nth-child(2) {
  width: 140px !important;
  min-width: 140px !important;
  justify-content: center !important;
  padding: 28px 16px 28px 24px !important;
  border-radius: 20px 0 0 20px !important;
}

.box-white-multi > div:nth-child(2) .col .responsive-img{
width: auto !important;
height: 53px !important;
border-radius: 0;

}



/* Texto */
.box-white-multi > div:nth-child(3) {
  flex: 1 1 0 !important;
  max-width: none !important;
  justify-content: center !important;
  padding: 28px 40px 28px 10px !important;
  border-radius: 0 20px 20px 0 !important;
}

/* Texto interno */
.box-white-multi > div:nth-child(3) *,
.box-white-multi > div:nth-child(3) p {
  color: #000000;
  margin: 0;
  text-align: left;
  font-weight: 600;
  line-height: 1.2;
}

.box-white-multi > div:nth-child(2),
.box-white-multi > div:nth-child(3) {
   flex-wrap: nowrap;
   margin-top: 18px!important;
   margin-bottom: 18px!important;
}

/* Estilos de tipografía fina para el texto interior */
.box-white-multi > div:nth-child(3) *,
.box-white-multi > div:nth-child(3) {  
  line-height: 1.4 !important;
}


/* Responsive */
@media (max-width: 768px) {

.row:has(> div > .box-white) {
padding: 0 16px 16px 16px !important;
}

.box-white-multi > div:nth-child(2) {
    width: 68px !important;
    min-width: 80px !important;
    padding: 22px 10px 22px 18px !important;
  }

.box-white-multi > div:nth-child(2) > * {
    width: 50px !important;
    height: 42px !important;
    border-radius: 6px;
  }

.box-white-multi > div:nth-child(2) .col .responsive-img{
    width: 40px !important;
    height: 36px !important;
}

.box-white-multi > div:nth-child(3) {
    padding: 22px 24px 22px 8px !important;
  }

.box-white-multi > div:nth-child(3) p {
   font-size: 14px!important;
   font-weight: 500;
  }
}





/* -------------------------------------
STAND
---------------------------------------*/
.dynamicform:has(> .stand) {
    display: flex;
    justify-content: center; 
    align-items: center;
    gap: 10px;              
}

.dynamicform:has(> .contact-form) {
    display: flex;
    justify-content: center;
    gap: 10px;
    background-color: #EEEEEE;
    border-radius: 32px;
    padding: 62px;
    margin-bottom: 120px;
}


/* =====================================================
   PONENCIAS
===================================================== */

.dynamicform:has(> .tarjeta-ponencia) {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    overflow: visible;
    position: relative;
    min-height: 400px;
    margin-bottom: 120px;
}


/* =====================================================
   COLUMNAS PRINCIPALES
===================================================== */

.tarjeta-ponencia {
    position: relative;
    min-height: 400px;
}


/* Columna oscura */
.tarjeta-ponencia:nth-of-type(2) {
    border-image: none !important;

    /* Franja inferior */
    border-bottom: 30px solid transparent;

    background-image:
        linear-gradient(#333, #333),
        linear-gradient(
            90deg,
            #063f7b 0%,
            #d3dcec 50%,
            #063f7b 100%
        );

    background-origin: border-box;
    background-clip: padding-box, border-box;
    background-repeat: no-repeat;

    border-radius: 20px 0 0 20px;
}


/* =====================================================
   CONTENIDO INTERIOR
===================================================== */

.tarjeta-ponencia .col.s12 > div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    align-items: flex-start;

    column-gap: 16px;
    row-gap: 16px;

    padding: 45px 72px;

    box-sizing: border-box;

    width: 100%;
}


/* =====================================================
   ÁREA DE FORMACIÓN
===================================================== */

.tarjeta-ponencia p:nth-child(1) {
    flex: 0 0 100%;
    width: 100%;

    margin: 0 0 25px 0 !important;

    line-height: 1.5rem;
}


.tarjeta-ponencia .blue-grey-text {
    color: #969696 !important;
}


/* =====================================================
   TÍTULO
===================================================== */

.tarjeta-ponencia p:nth-child(2) {
    flex: 0 0 100%;
    width: 100%;

    margin: 0 0 20px 0 !important;

    line-height: 1.5rem;
}


/* =====================================================
   DESCRIPCIÓN
===================================================== */

.tarjeta-ponencia p:nth-child(3) {
    flex: 0 0 100%;
    width: 100%;

    margin: 0 0 25px 0 !important;

    line-height: 1.5rem;
}


/* =====================================================
   PONENTE
===================================================== */

.tarjeta-ponencia p:nth-child(4) {
    flex: 0 0 100%;
    width: 100%;

    display: flex !important;
    flex-direction: row !important;

    align-items: center !important;
    justify-content: flex-start !important;

    gap: 12px;

    background: transparent !important;

    color: white;

    padding: 0 !important;

    margin: 0 0 32px 0 !important;

    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;

    text-align: left !important;
}


/* "PONENTE:" */
.tarjeta-ponencia p:nth-child(4) > span:first-child {
    display: inline-flex !important;

    align-items: center;

    width: auto !important;

    color: white !important;

    background: transparent !important;

    padding: 0 !important;
    margin: 0 !important;

    line-height: 1.2 !important;

    white-space: nowrap;
}


/* Nombre del ponente */
.tarjeta-ponencia p:nth-child(4) > span:nth-child(2) {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    width: auto !important;

    background-color: white !important;

    color: #333 !important;

    border-radius: 999px;

    padding: 7px 20px !important;

    margin: 0 !important;

    line-height: 1.1 !important;

    font-weight: 600;

    white-space: nowrap;
}


/* =====================================================
   FECHA / HORARIO / UBICACIÓN
===================================================== */

/*
   IMPORTANTE:
   Los 3 comparten automáticamente el espacio disponible.

   Así NO saltan de línea cuando aparece el menú lateral.
*/

.tarjeta-ponencia p:nth-child(5),
.tarjeta-ponencia p:nth-child(6),
.tarjeta-ponencia p:nth-child(7) {

    flex: 1 1 0 !important;

    width: auto !important;

    min-width: 0 !important;
    max-width: none !important;

    height: 150px !important;
    min-height: 150px !important;
    max-height: 150px !important;

    display: flex !important;
    flex-direction: column !important;

    align-items: center !important;
    justify-content: flex-start !important;

    background-color: white !important;

    color: #333 !important;

    border-radius: 18px;

    text-align: center;

    padding: 10px 10px !important;

    margin: 0 !important;

    box-sizing: border-box;

    line-height: 0.2 !important;

    overflow: visible !important;
}


/**************************
VERTICAL CENTER
*************************/
.row > div:has(> .horizontal-center) {
    display: flex;
    flex-direction: row;
    justify-content: center;   
    align-items: center;   
}

@media only screen and (max-width: 992px) {
    .row > div:has(> .horizontal-center.reverse-column) {
        flex-direction: column-reverse;
    }
    .row > div:has(> .horizontal-center) {
        flex-wrap: wrap;
    }
}








/* =====================================================
   TÍTULOS DE LOS RECUADROS
===================================================== */

/*
FECHA
HORARIO
UBICACIÓN
*/

.tarjeta-ponencia p:nth-child(5) > span:first-child,
.tarjeta-ponencia p:nth-child(6) > span:first-child,
.tarjeta-ponencia p:nth-child(7) > span:first-child {

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;

    height: 35px !important;
    min-height: 35px !important;

    margin: 0 0 12px 0 !important;

    padding: 0 !important;

    line-height: 1.1 !important;
}


/* Strong */
.tarjeta-ponencia p:nth-child(5) strong,
.tarjeta-ponencia p:nth-child(6) strong,
.tarjeta-ponencia p:nth-child(7) strong {

    display: block;

    margin: 0 !important;

    line-height: 1.1 !important;
}


/* Todos los textos interiores */
.tarjeta-ponencia p:nth-child(5) span,
.tarjeta-ponencia p:nth-child(6) span,
.tarjeta-ponencia p:nth-child(7) span {

    line-height: 1.2 !important;

    max-width: 100%;

    box-sizing: border-box;
}


/* =====================================================
   FOTO DEL PONENTE
===================================================== */

.tarjeta-ponencia > div:nth-of-type(2) img {

    position: absolute;

    top: 50%;
    left: 40px;

    transform: translate(-50%, -50%);

    width: 280px;
    max-width: none;
    height: auto;

    border-radius: 25px;

    z-index: 10;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}


/* =====================================================
   LOGO SUPERIOR
===================================================== */

.tarjeta-ponencia > div:nth-of-type(1) img {

    position: absolute;

    top: 20px;
    right: 30px;

    z-index: 10;

    width: 130px !important;
}


/* =====================================================
   CONTACT FORM
===================================================== */

.contact-form .col > div p:nth-of-type(2) {

    padding: 50px;

    background-color: #BFCAD8;

    border-radius: 20px;

    margin-top: 64px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 992px) {

    .dynamicform:has(> .tarjeta-ponencia) {
        flex-flow: column-reverse;
    }


    .dynamicform > .tarjeta-ponencia,
    .dynamicform > .tarjeta-ponencia:nth-of-type(2) {

        width: calc(100% - 40px) !important;

        margin-left: 20px;
        margin-right: 20px;
    }


    /* Parte oscura */
    .dynamicform > .tarjeta-ponencia:nth-of-type(2) {

        border-radius: 0 0 20px 20px;
    }


    /* Parte superior */
    .dynamicform > .tarjeta-ponencia:first-of-type {

        border-radius: 20px 20px 0 0;
    }


    /* Foto y logo */
    .tarjeta-ponencia > div:nth-of-type(1) img,
    .tarjeta-ponencia > div:nth-of-type(2) img {

        position: initial;

        transform: none;

        margin-bottom: 20px;
    }


    /* Contenedor */
    .tarjeta-ponencia .col.s12 > div {

        padding: 35px 30px;

        justify-content: center;

        column-gap: 16px;
        row-gap: 16px;
    }


    /*
       TABLET:
       Los cuadros vuelven a poder saltar de línea.
       Dos arriba + uno debajo si no hay espacio.
    */

    .tarjeta-ponencia p:nth-child(5),
    .tarjeta-ponencia p:nth-child(6),
    .tarjeta-ponencia p:nth-child(7) {

        flex: 0 1 calc(50% - 8px) !important;

        width: calc(50% - 8px) !important;

        min-width: 180px !important;
        max-width: none !important;

        height: 150px !important;
        min-height: 150px !important;
        max-height: 150px !important;
    }
}


/* =====================================================
   MÓVIL
===================================================== */

@media (max-width: 600px) {

    .dynamicform:has(> .stand) {
        flex-wrap: wrap;
    }


    .dynamicform:has(> .contact-form) {

        padding: 43px 32px 0 32px;

        flex-wrap: wrap;
    }


    .col.solutions-dark div:nth-of-type(2) {
        padding: 3rem 1rem;
    }


    /* Interior */
    .tarjeta-ponencia .col.s12 > div {

        padding: 30px 20px;

        column-gap: 12px;
        row-gap: 12px;
    }


    /* Ponente */
    .tarjeta-ponencia p:nth-child(4) {

        flex-wrap: wrap;

        gap: 8px;

        margin-bottom: 24px !important;
    }


    /*
       MÓVIL:
       dos tarjetas por fila
    */

    .tarjeta-ponencia p:nth-child(5),
    .tarjeta-ponencia p:nth-child(6),
    .tarjeta-ponencia p:nth-child(7) {

        flex: 0 0 calc(50% - 6px) !important;

        width: calc(50% - 6px) !important;

        min-width: 0 !important;
        max-width: none !important;

        height: 145px !important;
        min-height: 145px !important;
        max-height: 145px !important;

        padding: 18px 8px !important;
    }
}


/* =====================================================
   MÓVIL MUY PEQUEÑO
===================================================== */

@media (max-width: 420px) {

    /*
       Si la pantalla es demasiado pequeña,
       una tarjeta por fila para no aplastar el texto.
    */

    .tarjeta-ponencia p:nth-child(5),
    .tarjeta-ponencia p:nth-child(6),
    .tarjeta-ponencia p:nth-child(7) {

        flex: 0 0 100% !important;

        width: 100% !important;

        min-width: 0 !important;

        height: 140px !important;
        min-height: 140px !important;
        max-height: 140px !important;
    }
}






/*******************************
RECUADRO NÚMERO VERDE
********************************/

.number-card-green {
    background-color: #55A870;
    border-radius: 14px;

    min-height: 130px;
    width: 130px!important;
    margin: 30px 40px;

    display: flex !important;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: #ffffff;

    padding: 20px !important;
    box-sizing: border-box;
}


/* Quitamos márgenes del párrafo */
.number-card-green p {
    margin: 0 !important;
    padding: 0 !important;
}


/* Número: 248 */
.number-card-green p > strong > span:first-child {
    display: inline-block;
    font-size: 36px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    margin-bottom: 16px;
}


/* Texto: Clínicas */
.number-card-green p > strong > span:last-child {
    display: inline-block;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.2;
}



.row:has(> div > .number-card-green) {
   justify-items: center;
     }

/*******************************
RECUADRO NÚMERO AZUL
********************************/

.number-card-blue {
    background-color: #1A3E77;
    border-radius: 14px;

    min-height: 130px;
    width: 130px!important;
    margin: 30px 40px;

    display: flex !important;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: #ffffff;

    padding: 20px !important;
    box-sizing: border-box;
}


/* Quitamos márgenes del párrafo */
.number-card-blue p {
    margin: 0 !important;
    padding: 0 !important;
}


/* Número: 248 */
.number-card-blue p > strong > span:first-child {
    display: inline-block;
    font-size: 36px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    margin-bottom: 16px;
}


/* Texto: Clínicas */
.number-card-blue p > strong > span:last-child {
    display: inline-block;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.2;
}



/*******************************
RECUADRO NÚMERO PURPLE
********************************/

.number-card-purple {
    background-color: #750F47;
    border-radius: 14px;

    min-height: 130px;
    width: 130px!important;
    margin: 30px 40px;

    display: flex !important;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: #ffffff;

    padding: 20px !important;
    box-sizing: border-box;
}


/* Quitamos márgenes del párrafo */
.number-card-purple p {
    margin: 0 !important;
    padding: 0 !important;
}


/* Número: 248 */
.number-card-purple p > strong > span:first-child {
    display: inline-block;
    font-size: 36px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    margin-bottom: 16px;
}


/* Texto: Clínicas */
.number-card-purple p > strong > span:last-child {
    display: inline-block;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.2;
}


/*******************************
RECUADRO NÚMERO BLACK
********************************/

.number-card-black {
    background-color: #000000;
    border-radius: 14px;

    min-height: 130px;
    width: 130px!important;
    margin: 30px 40px;

    display: flex !important;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: #ffffff;

    padding: 20px !important;
    box-sizing: border-box;
}


/* Quitamos márgenes del párrafo */
.number-card-black p {
    margin: 0 !important;
    padding: 0 !important;
}


/* Número: 248 */
.number-card-black p > strong > span:first-child {
    display: inline-block;
    font-size: 36px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    margin-bottom: 16px;
}


/* Texto: Clínicas */
.number-card-black p > strong > span:last-child {
    display: inline-block;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.2;
}


/**************************************
   PONENTES
**************************************/

/* Columna completa de cada ponente */
.img-ponente {
    text-align: center;
}

@media (min-width: 1400px) {

.row:has(> div > .img-ponente),
.row:has(> div > .border-radius-top),
.row:has(> div > .border-radius-bottom) {
max-width: 70%;
margin: auto;
     }

.row:has(> div > .border-radius-top),
.row:has(> div > .border-radius-bottom){
        margin: 50px auto 0 auto !important;
      }

.row:has(> div > .border-radius-bottom){
margin: -11px auto 0 auto !important;
}
}

/* =========================
   IMAGEN
========================= */

/* Contenedor de la imagen */
.img-ponente > div,
.img-ponente .row,
.img-ponente .col {
    text-align: center !important;
   /* margin-top: 12px; */
}

/* Contenedor margen
.img-ponente .row{
margin-top: 50px!important;
}
*/
/* Foto del ponente */
.img-ponente img {
    width: 160px !important;
    height: 160px !important;

    max-width: 160px !important;

    object-fit: cover;
    object-position: center;

    border-radius: 50%;

    display: block;
    margin: 0 auto !important;
}


/* =========================
   TEXTO DEL PONENTE
========================= */

/*
El módulo de texto está justo después
del módulo que contiene .img-ponente

.row:has(.img-ponente) p {
    text-align: center !important;
}*/


/* Nombre 
.row:has(.img-ponente) span[style*="font-size:24px"] {
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.2;
}
*/

/* =========================
   ESPACIADO
========================= */

/* Espacio entre imagen y nombre */
.img-ponente {
    margin-bottom: 12px;
}


/* Evitar espacios excesivos 
.row:has(.img-ponente) p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.45;
}
*/

/* =========================
   TABLET
========================= */

@media (max-width: 992px) {

    .img-ponente img {
        width: 140px !important;
        height: 140px !important;
        max-width: 140px !important;
    }
}


/* =========================
   MÓVIL
========================= */

@media (max-width: 768px) {

    .img-ponente img {
        width: 130px !important;
        height: 130px !important;
        max-width: 130px !important;
    }

    .img-ponente {
        margin-bottom: 10px;
    }
}



/********************************
TARJETA HORARIO
********************************/

/* Padre */
.schedule-card {
    display: flex !important;
    justify-content: center;
    align-items: center;

    margin: 50px 0 20px 0 !important;
}


/* Primer hijo directo del padre */
.schedule-card > div:first-child {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Row interior */
.schedule-card > div:first-child > .row {
    margin: 0 !important;
}


/* Columna interior */
.schedule-card > div:first-child > .row > .col:first-child {
    padding: 0 !important;
}


/* Recuadro negro */
.schedule-card > div:first-child > .row > .col:first-child > div {
    background-color: #000000;

    min-width: 160px;
    height: 74px;

    border-radius: 8px;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 0 30px;
    box-sizing: border-box;
}


/* Quitamos márgenes que mete el CMS al párrafo */
.schedule-card p {
    margin: 0 !important;
    padding: 0 !important;

    color: #ffffff;
    text-align: center;

    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}


/* Por si el CMS mete spans/strong */
.schedule-card p span,
.schedule-card p strong {
    color: #ffffff !important;
}


/********************************
MÓVIL
********************************/

@media (max-width: 768px) {

    .schedule-card {
        margin: 20px 0 18px 0 !important;
    }

    .schedule-card > div:first-child > .row > .col:first-child > div {
        min-width: 145px;
        height: 65px;
        padding: 0 24px;
    }

    .schedule-card p {
        font-size: 20px;
    }
}



/********************************
UBICACIÓN EVENTO
********************************/

.location-event {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}

/* Contenedor del texto */
.location-event p {
    display: flex !important;
    align-items: center;
    justify-content: center;

    gap: 10px;

    margin: 0 !important;
}


/* ICONO UBICACIÓN */
.location-event p::before {
    content: "";

    width: 24px;
    height: 24px;

    flex: 0 0 24px;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3Cpath d='M8 22h8'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}


/********************************
MÓVIL
********************************/

@media (max-width: 768px) {

    .location-event {
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }

    .location-event p {
        gap: 8px;
    }

    .location-event p::before {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
    }
}


/* PADRE DE LOCATION EVENT */
.row:has(> div > .location-event) {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}


/********************************
LOGOS EVENTO
********************************/

.logos-event {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    margin: 30px auto 50px auto !important;
}


/* Centramos los contenedores internos del CMS */
.logos-event > div,
.logos-event .row,
.logos-event .col {
    width: 100% !important;
    text-align: center !important;
}


/* Imagen de los logos */
.logos-event img.responsive-img {
    display: block !important;

    width: 90px !important;
    max-width: 85% !important;
    height: auto !important;

    margin: 0 auto !important;
}


/* TABLET */
@media (max-width: 992px) {

    .logos-event img.responsive-img {
        width: 700px !important;
        max-width: 90% !important;
    }
}


/* MÓVIL */
@media (max-width: 768px) {

    .logos-event {
        margin: 20px auto 30px auto !important;
    }

    .logos-event img.responsive-img {
        width: 100% !important;
        max-width: 100% !important;
    }
}