:root {
    --gray: #d4d4d4;
    --red: #cc1114;
    --dark: #111;
    --light: #f5f3ee;
    --bone: #f3f2ed;
    --bg-gray: #f3f5f8;
    --verde: #419644;
    --purple-light: #f3f5f8;
    --purple: #bf2bbf;
}

.all-section.is-loading {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.all-section.is-loading> :not(.eventos-loading) {
    display: none !important;
}

.eventos-loading {
    width: 100%;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.eventos-loading[hidden] {
    display: none !important;
}

.eventos-loading__spinner {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid rgba(17, 17, 17, 0.15);
    border-top-color: var(--red);
    animation: eventos-spin 0.8s linear infinite;
}

.bloque-patrocinadores-eventos {
    padding: 0 12px;
    margin-bottom: 52px;
}


@keyframes eventos-spin {
    to {
        transform: rotate(360deg);
    }
}

/* BLOQUE ESPECIAL */

.apertura-art-formulario {
    margin-bottom: 52px;
}

.bloque-contenido-eventos {
    margin-bottom: 52px;
}

.bloque-contenido-eventos .es-head img {
    width: 100%;
}

.bloque-contenido-eventos .col-30-70-top-one-col .htmlcontainer-portlet {
    background: #e8f0f6;
}

.bloque-contenido-eventos .es-head p {
    font-size: 14px;
    text-align: center;
    padding: 24px;
    margin-bottom: 0;
}

.bloque-contenido-eventos .es-head hr {
    margin: 0;
}

.bloque-contenido-eventos .es-fot {
    display: flex;
    padding: 24px;
    align-items: center;
    gap: 17px;
    justify-content: center;
    border-bottom: 2px solid #0f5d9c;
}

.bloque-contenido-eventos .es-fot p {
    font-size: 14px;
    text-align: center;
    margin-bottom: 0;
}

.bloque-formulario-eventos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 64px;
}

.bloque-contenido-eventos .es-fot img {
    width: 87px;
}

.bloque-contenido-eventos .noticias {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.bloque-contenido-eventos .headline a {
    text-decoration: none;
}

.bloque-contenido-eventos .headline h2 {
    font-size: 16px;
    color: #000;
}

.bloque-contenido-eventos .sect-date {
    margin: 6px 0;
    display: flex;
    gap: 8px;
    align-items: center;
}

.sect-date .section {
    background: var(--bg-gray);
    padding: 8px;
    font-size: 13px;
    text-decoration: none;
    color: #000;
}

.sect-date .date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.sect-date .date::before {
    content: "";
    width: 8px;
    height: 8px;
    background-color: var(--red);
    /* rojo */
    border-radius: 50%;
    display: inline-block;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    font-size: 13px;
    line-height: 16px;
    border-bottom: 1px solid var(--gray);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 36px;
}

.section-title .text_ {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    transform: translateY(60%);
    height: 4px;
    width: 30px;
    background: var(--red);
}

/* BLOQUE eventos */

.item-portada {
    position: relative;
    min-height: 560px;
    color: #fff;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border: 1px solid #e6e6e6;
    background: #9b9b9b;
}

.item-portada__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
    transform: scale(1.02);
}

.item-portada__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.35) 55%,
            rgba(0, 0, 0, 0) 100%);
}

.item-portada__content {
    position: relative;
    z-index: 2;
    padding: 28px 32px;
    max-width: 640px;
}

.item-portada__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e9e9e9;
    margin-bottom: 12px;
}

.item-portada__meta-badge {
    width: 18px;
    height: 18px;
    border-radius: 3px;
    background: #e30613;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.item-portada__title {
    font-size: 28px;
    line-height: 1.2;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.item-portada__subtitle {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 16px 0;
    color: #f2f2f2;
}

.eve-speakers-section {
    padding: 32px 0 36px;
}

.eve-speakers {
    margin-top: 20px;
}

.eve-speakers-swiper {
    padding-bottom: 42px;
}

.eve-speakers-swiper .swiper-wrapper {
    align-items: stretch;
}

.eve-speakers-swiper .swiper-slide {
    height: auto;
}

.speaker-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

/* .speaker-card__avatar {
    width: 96px;
    height: 96px;
    border-radius: 999px;
    overflow: hidden;
    background: #ececec;
} */

.speaker-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.speaker-card__body {
    min-width: 0;
}

.speaker-card__name {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.2;
    color: #111;
}

.speaker-card__role {
    margin: 0 0 12px;
    font-size: 14px;
    color: #555;
}

.speaker-card__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.speaker-card__social-link {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.speaker-card__social-link:hover {
    background: #cc1114;
}

.eve-speakers-pagination {
    bottom: 0 !important;
}

.eve-speakers-pagination .swiper-pagination-bullet {
    background: #111;
    opacity: 0.25;
}

.eve-speakers-pagination .swiper-pagination-bullet-active {
    background: #cc1114;
    opacity: 1;
}

.bloque-expositores-eventos {
    background: #F3F2ED;
    margin-bottom: 52px;
}

/* agenda */

.section-agenda {
    margin-bottom: 52px;
    padding: 48px 0 8px;
    background: #F3F2ED;
    border-radius: 16px;
}

.agenda-loading {
    width: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #111;
    font-size: 14px;
    font-weight: 600;
}

.agenda-loading[hidden] {
    display: none !important;
}

.agenda-loading__spinner {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 3px solid rgba(17, 17, 17, 0.14);
    border-top-color: var(--red);
    animation: eventos-spin 0.8s linear infinite;
}

.agenda-shell {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

.agenda-header {
    margin-bottom: 18px;
    text-align: center;
}

.agenda-kicker {
    margin: 0 0 6px;
    color: #111;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 16px;
}

.agenda-title {
    margin: 0;
    font-size: clamp(16px, 3vw, 16px);
    line-height: 1.1;
    color: #333;
    font-weight: 400;
}

.agenda-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.agenda-item {
    display: grid;
    grid-template-columns: 0.6fr 1fr 2fr 1fr;
    gap: 18px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #ece8df;
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.04);
}

.agenda-item__time {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 18px;
    border-right: 1px solid var(--gray);
    color: #111;
}

.agenda-item__time-range {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.agenda-item__speaker {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.agenda-item__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
    background: #f0f0f0;
}

.agenda-item__speaker-text {
    min-width: 0;
}

.agenda-item__speaker-name {
    margin: 0 0 3px;
    font-size: 15px;
    line-height: 1.2;
    color: #111;
    font-weight: 500;
}

.agenda-item__speaker-role {
    margin: 0;
    color: #666;
    font-size: 13px;
    line-height: 1.3;
}

.agenda-item__content {
    min-width: 0;
    padding-left: 18px;
    border-left: 1px solid #ebe6dd;
}

.agenda-item__title {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.25;
    color: #111;
    text-transform: uppercase;
    font-weight: 500;
}

.agenda-item__description {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.45;
}

.agenda-item__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.agenda-item__download,
.agenda-item__video {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex: 0 0 auto;
}

.agenda-item__download {
    gap: 10px;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 6px;
    border: 1px solid #262626;
    color: #111;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.agenda-item__download:hover {
    background: #ddd;
    /* color: #fff; */
    border-color: #111;
}

.agenda-item__download-icon {
    font-size: 12px;
    line-height: 1;
}

.agenda-item__video {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(17, 17, 17, 0.18);
}

.agenda-item__video:hover {
    background: var(--red);
}

.agenda-empty {
    margin: 0;
    padding: 20px 0;
    color: #666;
    font-size: 14px;
}

.agenda-footer {
    text-align: center;
    display: block;
}

.agenda-footer a {
    background: #CC1114;
    color: #fff;
    padding: 8px 40px;
    border-radius: 4px;
    display: inline-block;
    margin: 48px 0;
    text-decoration: none;
}


@media (max-width: 1279px) {
    .agenda-item {
        grid-template-columns: 0.5fr 0.8fr 1fr 1fr;
    }

}

@media (max-width: 991px) {
    /* .agenda-item {
        grid-template-columns: 0.5fr 0.8fr 1fr 1fr;
    } */

    .agenda-item {
        grid-template-columns: 0.5fr 0.8fr 1fr;
    }

    /* .agenda-item__content {
        grid-column: 2;
        padding-left: 0;
        border-left: 0;
    }

    .agenda-item__actions {
        grid-column: 2;
        margin-left: 0;
        justify-content: flex-start;
    } */
}

@media (max-width: 767px) {
    .section-agenda {
        padding: 48px 0px
    }

    .agenda-shell {
        padding: 0 12px;
    }

    .agenda-item {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 14px;
    }

    .agenda-item__time {
        justify-content: flex-start;
        padding-right: 0;
        border-right: 0;
        padding-bottom: 2px;
        border-bottom: 1px solid var(--gray);
        padding-bottom: 14px;
    }

    .agenda-item__speaker {
        border-bottom: 1px solid var(--gray);
        padding-bottom: 14px;
    }

    .agenda-item__content,
    .agenda-item__actions {
        grid-column: auto;
    }

    .agenda-item__actions {
        flex-wrap: wrap;
    }

    .agenda-item__content {
        /* grid-column: 2; */
        padding-left: 0;
        border-left: 0;
    }

    .bloque-formulario-eventos {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 640px) {
    .item-portada {
        min-height: 460px;
    }

    .item-portada__content {
        padding: 20px;
    }

    .item-portada__title {
        font-size: 22px;
    }

    .speaker-card {
        grid-template-columns: 1fr;
        justify-items: start;
    }

}


@media (max-width: 575px) {
    .bloque-formulario-eventos {
        padding: 0 12px;
    }
}

.seccion-eventos {
    border-radius: 4px;
}

.seccion-eventos #pages-a7b1708932ef11f1bd4e020017097938 {
    max-width: 640px;
    border-radius: 4px;
    border: 0.5px solid #ddd;
    padding: 28px 24px;
}

.seccion-eventos .blocksfields {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.seccion-eventos .field_form {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.seccion-eventos .campo_obligatorio {
    display: none;
}

.seccion-eventos .label_ant {
    font-size: 13px;
    font-weight: 500;
    color: #555;
}

.seccion-eventos .label_pos {
    display: none;
}

.seccion-eventos .field_elem[type="text"],
.seccion-eventos .field_elem[type="date"],
.seccion-eventos .field_elem[type="email"],
.seccion-eventos .field_elem[type="tel"],
.seccion-eventos select.field_elem,
.seccion-eventos .field_elem,
.seccion-eventos textarea.field_elem {
    width: 100%;
    box-sizing: border-box;
    border: 0.5px solid #ccc;
    border-radius: 4px;
    padding: 9px 12px;
    font-size: 14px;
    color: #1a1a1a;
    background: #fff;
    outline: none;
    font-family: var(--font-sans);
    transition: border-color 0.15s;
}

.seccion-eventos .field_elem[type="text"]:focus,
.seccion-eventos .field_elem[type="date"]:focus,
.seccion-eventos .field_elem[type="email"]:focus,
.seccion-eventos .field_elem[type="tel"]:focus,
.seccion-eventos .field_elem:focus,
.seccion-eventos textarea.field_elem:focus {
    border-color: #c0392b;
    box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.12);
}

.seccion-eventos textarea.field_elem {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
}

.seccion-eventos .field_elem[type="file"] {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 12px;
    border: 1px dashed #ccc;
    border-radius: 6px;
    background: #fafafa;
    font-size: 13px;
    color: #888;
    cursor: pointer;
}

.seccion-eventos .btts_forms {
    margin-top: 6px;
}

.seccion-eventos .btts_forms input[type="submit"] {
    width: 100%;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: background 0.15s;
}

.seccion-eventos .btts_forms input[type="submit"]:hover {
    background: #a10c0f;
}

.seccion-eventos .tab {
    display: none !important;
}

.seccion-eventos .element_form .radio_option {
    display: flex;
    gap: 11px;
}

.ui-dialog.dialog_error {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 360px !important;
    margin: 40px auto;
    border-radius: 4px !important;
    box-shadow: none !important;
    background: #fff;
    overflow: hidden;
    z-index: 99999999999999 !important;
}

.dialog_error .ui-dialog-titlebar {
    background: #111 !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.dialog_error .ui-dialog-title {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    flex: 1;
}

.dialog_error .ui-dialog-titlebar-close {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #fff !important;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px !important;
}

.dialog_error .ui-dialog-titlebar-close:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

.dialog_error .ui-icon-closethick {
    background-image: none !important;
    position: relative;
}

.dialog_error .ui-icon-closethick::before,
.dialog_error .ui-icon-closethick::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 1.5px;
    background: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.dialog_error .ui-icon-closethick::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.dialog_error .ui-button-text {
    display: none;
}

.dialog_error .error.ui-dialog-content {
    padding: 28px 24px 24px !important;
    text-align: center;
    height: auto !important;
}

.dialog_error .label_error {
    font-size: 18px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.dialog_error .btts_error {
    display: flex;
    justify-content: center;
}

.dialog_error .btt_repetir {
    background: #111;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 9px 32px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: background 0.15s;
}

.dialog_error .btt_repetir:hover {
    background: #252525;
}

.dialog_error .ui-resizable-handle {
    display: none;
}

.eventos-toast {
    position: fixed;
    left: 50%;
    top: 134px;
    transform: translate(-50%, 20px);
    width: min(92vw, 420px);
    opacity: 0;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.eventos-toast.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}

.eventos-toast__bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(17, 17, 17, 0.96);
    color: #fff;
    box-shadow: 0 16px 40px rgba(17, 17, 17, 0.22);
    /* border-left: 4px solid #cc1114; */
    backdrop-filter: blur(8px);
}

.eventos-toast[data-type="success"] .eventos-toast__bar {
    background: #419644;
}

.eventos-toast[data-type="error"] .eventos-toast__bar {
    background: #cc1114;
}

.eventos-toast__content {
    flex: 1;
    min-width: 0;
}

.eventos-toast__title {
    display: none;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.eventos-toast .label_error {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 500;
    color: #fff;
}

.eventos-toast__close {
    flex: 0 0 auto;
    min-width: 52px;
    height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}

.eventos-toast__close:hover {
    transform: translateY(-1px);
    background: #f1f1f1;
}

@media (max-width: 480px) {
    .eventos-toast {
        bottom: 14px;
    }

    .eventos-toast__bar {
        padding: 12px 14px;
        gap: 12px;
    }

    .eventos-toast__close {
        min-width: 48px;
        height: 34px;
    }
}

/* cintillo  conteo */

.cintillo-conteo {
    background-color: #111111;
    color: #ffffff;
    padding: 20px 10px;
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.cintillo-conteo .mensaje {
    font-size: 1.2rem;
    font-weight: bold;
}

.cintillo-conteo .btn-agenda {
    background-color: #d31e1e;
    color: white;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s;
}

.cintillo-conteo .btn-agenda:hover {
    background-color: #f12525;
}

.cintillo-conteo .conteo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cintillo-conteo .texto-faltan {
    font-size: 0.9rem;
    color: #888;
}

.cintillo-conteo .timer-grid {
    display: flex;
    gap: 10px;
}

.cintillo-conteo .timer-box {
    border: 1px solid #444;
    border-radius: 8px;
    min-width: 65px;
    padding: 8px;
    text-align: center;
}

.cintillo-conteo .timer-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 4px;
}

.cintillo-conteo .timer-val {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: "Courier New", Courier, monospace;
}

/*sponsors*/
.eve-sponsors {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    justify-content: space-around;
    gap: 5rem;
}

.eve-s-title {
    font-size: 24px;
    font-weight: 500px;
    text-align: center;
}

.eve-s-desc {
    font-size: 16px;
    font-weight: 400px;
    text-align: center;
}

.eve-sponsors img {
    width: 100%;
}



@media (max-width: 768px) {
    .cintillo-conteo {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 767px) {
    .bloque-contenido-eventos .noticias {
        grid-template-columns: 1fr 1fr;
    }

    .cintillo-conteo .conteo-wrapper {
        flex-direction: column;
    }

    .dialog_error .ui-dialog {
        width: 90% !important;
    }

    .bloque-contenido-eventos .headline h2 {
        font-size: 14px;
    }

    .sect-date .date {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 16px 0 !important;
        padding-top: calc(var(--vz-barra-blanca) + var(--vz-barra-negra)) !important;
    }
}