/* =========================================================
   XX CEI 2026
   CONGRESO DE ESTUDIANTES DE INGENIERÍA

   HOJA DE ESTILOS PRINCIPAL
   ========================================================= */


/* =========================================================
   1. CONFIGURACIÓN GENERAL
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #FFFFFF;

    color: #0E153B;

    line-height: 1.5;
}


button,
input,
select,
textarea,
a {
    font-family: inherit;
}


button {
    cursor: pointer;
}


img {
    max-width: 100%;
}


a {
    color: inherit;
}


.container {
    width: min(1180px,
            92%);

    margin: 0 auto;
}



/* =========================================================
   2. ENCABEZADO
   ========================================================= */

.site-header {

    min-height: 76px;

    background: #ffffff;

    border-bottom:
        1px solid #1A144A;

    display: flex;

    flex-direction: column;

    position: sticky;

    top: 0;

    z-index: 1000;

}


.header-inner {

    width: min(1180px,
            92%);

    min-height: 76px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    gap: 25px;

}



/* =========================================================
   3. LOGOTIPO
   ========================================================= */

.logo-container {

    display: flex;

    align-items: center;

    gap: 12px;

    text-decoration: none;

    flex-shrink: 0;

}


.unicaribe-logo {

    width: 822px;

    max-height: 42px;

    object-fit: contain;

}


.congress-logo {

    width: 100px;

    max-height: 50px;

    object-fit: contain;

}


.logo-text {

    display: flex;

    flex-direction: column;

    min-width: 130px;

}


.logo-text strong {

    font-size: 18px;

    color: #0E153B;

    line-height: 1.1;

}


.logo-text span {

    margin-top: 4px;

    font-size: 10px;

    color: #1A144A;

    line-height: 1.2;

}



/* =========================================================
   4. NAVEGACIÓN
   ========================================================= */

.main-nav {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 24px;

    flex: 1;

}


.main-nav a {

    position: relative;

    padding:
        28px 0;

    color: #1A144A;

    font-size: 14px;

    font-weight: 500;

    text-decoration: none;

    transition:
        color 0.2s ease;

}


.main-nav a:hover {

    color: #1FCFCC;

}


.main-nav a.active {

    color: #0E153B;

    font-weight: 700;

}


.main-nav a.active::after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: 18px;

    height: 3px;

    background: #1FCFCC;

    border-radius: 999px;

}



/* =========================================================
   5. BOTÓN DE CUENTA
   ========================================================= */

.account-button {

    border: none;

    background: #0E153B;

    color: #ffffff;

    padding:
        11px 20px;

    border-radius: 25px;

    font-size: 13px;

    font-weight: 700;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        transform 0.2s ease;

}


.account-button:hover {

    background: #1FCFCC;

    transform:
        translateY(-1px);

}



/* =========================================================
   6. MENÚ MÓVIL
   ========================================================= */

.mobile-menu-button {

    display: none;

    border: none;

    background: transparent;

    color: #0E153B;

    font-size: 26px;

    padding: 5px;

}


#mobile-nav {

    display: none;

    width: 100%;

    background: #ffffff;

    border-top:
        1px solid #1A144A;

}


#mobile-nav.open {

    display: flex;

    flex-direction: column;

}


#mobile-nav a {

    padding:
        14px 5%;

    border-bottom:
        1px solid #FFFFFF;

    color: #1A144A;

    text-decoration: none;

    font-size: 14px;

}


#mobile-nav a:hover,

#mobile-nav a.active {

    color: #1FCFCC;

}



/* =========================================================
   7. HERO
   ========================================================= */

.hero {

    min-height: 600px;

    background: #0E153B;

    color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding:
        80px 20px;

    position: relative;

    overflow: hidden;

}


.hero::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(135deg,
            transparent 0%,
            rgba(255,
                255,
                255,
                0.025) 50%,
            transparent 100%);

    pointer-events: none;

}


.hero-content {

    position: relative;

    z-index: 1;

    width: min(900px,
            100%);

}


.hero-badge {

    display: inline-block;

    border:
        1px solid #1FCFCC;

    color: #00D0CA;

    padding:
        8px 18px;

    border-radius: 20px;

    font-size: 13px;

    margin-bottom: 25px;

}


.hero h1 {

    font-size:
        clamp(42px,
            6vw,
            72px);

    line-height: 1.04;

    margin-bottom: 18px;

    letter-spacing: -1.5px;

}


.hero h1 span {

    display: block;

    color: #1FCFCC;

}


.hero-location {

    font-size: 18px;

    font-weight: 700;

    margin-bottom: 12px;

    color: #ffffff;

}


.hero-motto {

    max-width: 800px;

    margin:
        0 auto 18px;

    color: #1FCFCC;

    font-size: 18px;

    font-weight: 600;

    line-height: 1.5;

}


.hero-description {

    max-width: 650px;

    margin: 0 auto;

    line-height: 1.7;

    color: #FFFFFF;

    font-size: 15px;

}


.hero-date {

    display: inline-block;

    margin-top: 25px;

    padding:
        10px 18px;

    border-radius: 8px;

    background:
        rgba(255,
            255,
            255,
            0.08);

    border:
        1px solid rgba(255,
            255,
            255,
            0.15);

    color: #ffffff;

}


.hero-buttons {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    margin-top: 30px;

}



/* =========================================================
   8. BOTONES GENERALES
   ========================================================= */

.btn-primary,
.btn-secondary,
.btn-secondary-dark,
.btn-primary-dark {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 45px;

    padding:
        12px 22px;

    border-radius: 8px;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;

}


.btn-primary {

    border:
        1px solid #ffffff;

    background: #ffffff;

    color: #0E153B;

}


.btn-primary:hover {

    transform:
        translateY(-1px);

}


.btn-secondary {

    border:
        1px solid #1FCFCC;

    background: transparent;

    color: #ffffff;

}


.btn-secondary:hover {

    background:
        rgba(255,
            255,
            255,
            0.08);

}


.btn-secondary-dark {

    border:
        1px solid #0E153B;

    background: transparent;

    color: #0E153B;

}


.btn-secondary-dark:hover {

    background: #FFFFFF;

}


.btn-primary-dark {

    border:
        1px solid #0E153B;

    background: #0E153B;

    color: #ffffff;

}


.btn-primary-dark:hover {

    background: #1FCFCC;

    border-color: #1FCFCC;

}


.full-button {

    width: 100%;

}



/* =========================================================
   9. SECCIONES
   ========================================================= */

.section {

    padding:
        75px 0;

}


.section-light {

    background: #FFFFFF;

}


.section-header {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 30px;

    margin-bottom: 35px;

}


.section-label {

    display: block;

    color: #1FCFCC;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;

}


.section-header h2,

.section-title {

    font-size:
        clamp(28px,
            4vw,
            38px);

    line-height: 1.15;

    margin:
        8px 0;

    color: #0E153B;

}


.section-header p,

.section-description {

    max-width: 700px;

    color: #1A144A;

}


.section-link {

    color: #1FCFCC;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    white-space: nowrap;

}


.section-link:hover {

    text-decoration: underline;

}



/* =========================================================
   10. ANUNCIO DESTACADO
   ========================================================= */

.featured-announcement {

    padding:
        70px 0;

    background: #ffffff;

}


.announcement-featured-card {

    display: grid;

    grid-template-columns:
        minmax(320px,
            1.15fr) minmax(280px,
            1fr);

    min-height: 440px;

    overflow: hidden;

    background: #FFFFFF;

    border:
        1px solid #1A144A;

    border-radius: 18px;

    text-decoration: none;

    box-shadow:
        0 8px 30px rgba(14, 21, 59,
            0.07);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}


.announcement-featured-card:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 15px 40px rgba(14, 21, 59,
            0.12);

}

/* Separación entre anuncios destacados en Inicio */
.featured-announcement .container>.announcement-featured-card {
    margin-bottom: 24px;
}

.featured-announcement .container>.announcement-featured-card:last-child {
    margin-bottom: 0;
}

.announcement-featured-image {

    min-height: 440px;

    background: #0E153B;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    padding: 14px;

    position: relative;

}


.announcement-featured-image img {

    width: 100%;

    height: 100%;

    max-height: 460px;

    object-fit: contain;

    display: block;

    margin: auto;

    transition: transform 0.3s ease;

}

.announcement-featured-card:hover .announcement-featured-image img {

    transform: scale(1.02);

}

.announcement-featured-image img.img-fallback-active {

    opacity: 0.15;

    filter: grayscale(1);

}


.announcement-image-placeholder {

    width: 100%;

    height: 100%;

    min-height: 330px;

    align-items: center;

    justify-content: center;

    padding: 30px;

    color: #ffffff;

    text-align: center;

    font-weight: 700;

}

.announcement-image-placeholder.announcement-fallback-discreet {

    display: none;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 6px;

    padding: 20px;

    color: rgba(255, 255, 255, 0.9);

    text-align: center;

    font-size: 0.95rem;

    font-weight: 600;

}

.announcement-image-placeholder.announcement-fallback-discreet small {

    font-size: 0.8rem;

    font-weight: 400;

    color: rgba(255, 255, 255, 0.7);

}


.announcement-featured-content {

    padding:
        40px;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.announcement-tag {

    align-self: flex-start;

    display: inline-block;

    margin-bottom: 15px;

    padding:
        5px 10px;

    border-radius: 20px;

    background: #FFFFFF;

    color: #00D0CA;

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

}


.announcement-featured-content h3 {

    margin-bottom: 18px;

    color: #0E153B;

    font-size:
        clamp(22px,
            3vw,
            30px);

    line-height: 1.2;

}


.announcement-featured-content p {

    color: #1A144A;

    margin-bottom: 12px;

    font-size: 14px;

}


.announcement-action {

    margin-top: 15px;

    color: #1FCFCC;

    font-size: 14px;

    font-weight: 800;

}



/* =========================================================
   11. PRESENTACIÓN DEL CONGRESO
   ========================================================= */

.intro-grid {

    display: grid;

    grid-template-columns:
        1.2fr 0.8fr;

    gap: 60px;

    align-items: center;

}


.intro-content p {

    color: #1A144A;

    margin-bottom: 18px;

    line-height: 1.7;

}


.intro-content .btn-primary-dark {

    margin-top: 10px;

}


.intro-highlights {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 15px;

}


.highlight-card {

    padding:
        25px 20px;

    background: #ffffff;

    border:
        1px solid #1A144A;

    border-radius: 12px;

    box-shadow:
        0 5px 20px rgba(0,
            0,
            0,
            0.04);

}


.highlight-card strong {

    display: block;

    color: #1FCFCC;

    font-size: 27px;

    line-height: 1;

    margin-bottom: 8px;

}


.highlight-card span {

    color: #1A144A;

    font-size: 12px;

}



/* =========================================================
   12. ACTIVIDADES DESTACADAS EN INICIO
   ========================================================= */

.home-activity-preview {

    display: grid;

    grid-template-columns:
        repeat(4,
            1fr);

    gap: 18px;

}


.preview-card {

    padding:
        25px 20px;

    background: #ffffff;

    border:
        1px solid #1A144A;

    border-radius: 14px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;

}


.preview-card:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 10px 25px rgba(14, 21, 59,
            0.08);

}


.preview-icon {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 15px;

    border-radius: 10px;

    background: #FFFFFF;

    color: #00D0CA;

    font-weight: 800;

}


.preview-card h3 {

    margin-bottom: 8px;

    color: #0E153B;

    font-size: 17px;

}


.preview-card p {

    color: #1A144A;

    font-size: 13px;

    line-height: 1.6;

}



/* =========================================================
   13. ACCESO RÁPIDO
   ========================================================= */

.quick-access {

    padding:
        60px 0;

    background: #1A144A;

    color: #ffffff;

}


.quick-access-content {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 35px;

}


.quick-access .section-label {

    color: #1FCFCC;

}


.quick-access h2 {

    margin:
        8px 0 10px;

    font-size:
        clamp(25px,
            4vw,
            36px);

}


.quick-access p {

    max-width: 700px;

    color: #FFFFFF;

}



/* =========================================================
   14. ENCABEZADO DE PÁGINAS INTERNAS
   ========================================================= */

.page-header {

    padding:
        75px 0;

    background: #0E153B;

    color: #ffffff;

}


.page-header h1 {

    margin:
        8px 0 12px;

    font-size:
        clamp(35px,
            5vw,
            52px);

    line-height: 1.1;

}


.page-header p {

    max-width: 700px;

    color: #FFFFFF;

}


.page-header .section-label {

    color: #1FCFCC;

}



/* =========================================================
   15. TARJETAS DE ACTIVIDADES
   ========================================================= */

.activities {

    padding:
        70px 0;

}


body[data-page="actividades"] .activities .section-header {

    margin-bottom: 25px;

}


body[data-page="actividades"] .activities .section-header h2 {

    margin-bottom: 0;

}


.activities-grid {

    display: grid;

    grid-template-columns:
        repeat(3,
            1fr);

    gap: 25px;

}


.activity-card {

    overflow: hidden;

    background: #ffffff;

    border:
        1px solid #1A144A;

    border-radius: 14px;

    box-shadow:
        0 5px 20px rgba(0,
            0,
            0,
            0.05);

}


.activity-image {

    position: relative;

    height: 200px;

    background: #FFFFFF;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

}


.activity-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.activity-image-placeholder {

    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #1A144A;

    font-size: 13px;

}



.activity-content {

    padding: 20px;

}


.activity-content h3 {

    margin-bottom: 8px;

    color: #0E153B;

    font-size: 19px;

}


.activity-content p {

    color: #1A144A;

    font-size: 13px;

}


.activity-speaker {

    color: #0E153B;

    font-size: 14px;

    font-weight: 700;

    margin-bottom: 2px;

}


.activity-institution {

    color: #1A144A;

    font-size: 12px;

    font-weight: 600;

    margin-bottom: 2px;

}


.activity-meta {

    display: flex;

    flex-direction: column;

    gap: 5px;

    margin:
        15px 0;

    color: #1A144A;

    font-size: 12px;

}


.activity-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-top: 15px;

}


.activity-registration,

.activity-no-registration {

    display: inline-block;

    padding:
        5px 8px;

    border-radius: 15px;

    font-size: 10px;

    font-weight: 700;

}


.activity-registration {

    background: #FFFFFF;

    color: #00D0CA;

}


.activity-no-registration {

    background: #FFFFFF;

    color: #1A144A;

}


.activity-capacity {

    margin-top: 15px;

}


.activity-button {

    width: 100%;

    margin-top: 15px;

    padding:
        11px;

    border: none;

    border-radius: 8px;

    background: #0E153B;

    color: #ffffff;

    font-weight: 700;

    cursor: pointer;

}


.activity-button:hover {

    background: #1FCFCC;

}





/* =========================================================
   17. CONTENIDO GENERAL
   ========================================================= */

.content-section {

    padding:
        70px 8%;

}


.placeholder-box {

    margin-top: 25px;

    padding:
        25px;

    background: #ffffff;

    border:
        1px solid #1A144A;

    border-radius: 12px;

}


.placeholder-box h3 {

    margin-bottom: 10px;

}


.placeholder-box p {

    margin-bottom: 5px;

    color: #1A144A;

}



/* =========================================================
   18. GALERÍA
   ========================================================= */

.gallery-grid {

    display: grid;

    grid-template-columns:
        repeat(4,
            1fr);

    gap: 18px;

}


.gallery-item {

    position: relative;

    overflow: hidden;

    margin: 0;

    min-height: 230px;

    background: #FFFFFF;

    border-radius: 12px;

}


.gallery-item img {

    width: 100%;

    height: 100%;

    min-height: 230px;

    object-fit: cover;

    display: block;

    transition:
        transform 0.3s ease;

}


.gallery-item:hover img {

    transform:
        scale(1.04);

}


.gallery-placeholder {

    min-height: 230px;

    width: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 7px;

    color: #1A144A;

    text-align: center;

    padding: 20px;

}


.gallery-placeholder small {

    max-width: 200px;

    color: #00D0CA;

    font-size: 10px;

}


.gallery-item figcaption {

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    padding:
        25px 15px 13px;

    background:
        linear-gradient(transparent,
            rgba(0,
                0,
                0,
                0.75));

    color: #ffffff;

}


.gallery-item figcaption strong {

    display: block;

    font-size: 13px;

}


.gallery-item figcaption span {

    display: block;

    margin-top: 3px;

    font-size: 10px;

    opacity: 0.85;

}



/* =========================================================
   19. INFORMACIÓN
   ========================================================= */

.info-grid {

    display: grid;

    grid-template-columns:
        repeat(3,
            1fr);

    gap: 20px;

}


body[data-page="actividades"] .info-grid {

    grid-template-columns:
        repeat(2,
            1fr);

}


.info-card {

    padding:
        25px;

    background: #ffffff;

    border:
        1px solid #1A144A;

    border-radius: 12px;

}


.info-card strong {

    display: block;

    margin-bottom: 8px;

    color: #0E153B;

}


.info-card p {

    color: #1A144A;

}



/* =========================================================
   20. PROGRAMA
   ========================================================= */

.schedule-day {

    margin-bottom: 45px;

}


.schedule-day-title {

    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 20px;

    color: #0E153B;

    font-size: 24px;

}


.schedule-day-title span {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 48px;

    height: 48px;

    border-radius: 50%;

    background: #1FCFCC;

    color: #ffffff;

    font-size: 14px;

}


.schedule-item {

    display: grid;

    grid-template-columns:
        105px 1fr 160px;

    align-items: start;

    gap: 20px;

    padding:
        20px 22px;

    margin-bottom: 14px;

    background: #ffffff;

    border:
        1px solid #1A144A;

    border-radius: 12px;

    box-shadow: 0 3px 10px rgba(14, 21, 59, 0.04);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;

}


.schedule-item:hover {

    border-color: #1FCFCC;

    box-shadow: 0 6px 18px rgba(14, 21, 59, 0.08);

}


.schedule-time {

    color: #00D0CA;

    font-size: 14px;

    font-weight: 800;

    line-height: 1.35;

    padding-top: 2px;

    letter-spacing: -0.2px;

}


.schedule-title {

    color: #0E153B;

    font-weight: 700;

    font-size: 16px;

    line-height: 1.35;

    margin-bottom: 2px;

}


.schedule-location {

    margin-top: 4px;

    color: #1A144A;

    font-size: 12px;

}



/* =========================================================
   21. MODALES
   ========================================================= */

.modal-overlay {

    position: fixed;

    inset: 0;

    z-index: 1500;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background:
        rgba(14, 21, 59,
            0.68);

    overflow-y: auto;

}


.modal {

    position: relative;

    width: min(620px,
            100%);

    max-height:
        calc(100vh - 40px);

    overflow-y: auto;

    padding:
        35px;

    background: #ffffff;

    border-radius: 16px;

    box-shadow:
        0 20px 70px rgba(0,
            0,
            0,
            0.25);

}


.modal-close {

    position: absolute;

    top: 15px;

    right: 15px;

    width: 34px;

    height: 34px;

    border: none;

    border-radius: 50%;

    background: #FFFFFF;

    color: #0E153B;

    font-size: 22px;

    line-height: 1;

}


.modal-close:hover {

    background: #0E153B;

    color: #ffffff;

}


.hidden {

    display: none !important;

}



/* =========================================================
   22. CUENTA
   ========================================================= */

.account-modal {

    max-width: 560px;

}


.account-view h2 {

    margin:
        8px 0;

    color: #0E153B;

    font-size: 30px;

}


.account-view>p {

    margin-bottom: 25px;

    color: #1A144A;

    line-height: 1.5;

}


.account-actions {

    display: flex;

    flex-direction: column;

    gap: 12px;

}


.form-group {

    display: flex;

    flex-direction: column;

    gap: 7px;

    margin-bottom: 18px;

}


.form-group label {

    color: #1A144A;

    font-size: 13px;

    font-weight: 700;

}


.form-group input,

.form-group select {

    width: 100%;

    padding:
        12px 14px;

    border:
        1px solid #1A144A;

    border-radius: 8px;

    background: #FFFFFF;

    color: #0E153B;

    outline: none;

    font-size: 14px;

}


.form-group input:focus,

.form-group select:focus {

    border-color: #1FCFCC;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(31, 207, 204,
            0.1);

}


.form-switch {

    text-align: center;

    margin-top: 20px;

    color: #1A144A;

    font-size: 13px;

}


.form-switch button {

    border: none;

    background: none;

    color: #1FCFCC;

    font-weight: 700;

    cursor: pointer;

}



/* =========================================================
   23. INFORMACIÓN DE USUARIO
   ========================================================= */

.user-info {

    margin:
        20px 0 30px;

    padding: 20px;

    background: #FFFFFF;

    border-radius: 12px;

}


.user-info-row {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding: 10px 0;

    border-bottom:
        1px solid #FFFFFF;

}


.user-info-row:last-child {

    border-bottom: none;

}


.user-info-label {

    color: #1A144A;

    font-weight: 700;

}


.user-info-value {

    color: #1A144A;

    text-align: right;

}


.account-subtitle {

    margin-bottom: 15px;

    color: #0E153B;

}


.registered-activities {

    display: flex;

    flex-direction: column;

    gap: 10px;

    margin-bottom: 25px;

}


.registered-item {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 18px;

    padding: 15px;

    background: #FFFFFF;

    border:
        1px solid #1A144A;

    border-radius: 10px;

}


.registered-item-info {

    flex: 1;

    min-width: 0;

}


.registered-item strong {

    display: block;

    margin-bottom: 5px;

    color: #0E153B;

}


.registered-item span {

    color: #1A144A;

    font-size: 12px;

}


.no-activities {

    padding: 15px;

    background: #FFFFFF;

    border-radius: 10px;

    color: #1A144A;

    font-size: 13px;

}


.btn-cancelar-registro {

    flex-shrink: 0;

    padding:
        9px 14px;

    border:
        1px solid #1A144A;

    background: #ffffff;

    color: #1A144A;

    border-radius: 7px;

    font-size: 11px;

    font-weight: 700;

}


.btn-cancelar-registro:hover {

    background: #FFFFFF;

}


.logout-button {

    width: 100%;

    padding: 12px;

    border:
        1px solid #1A144A;

    background: #ffffff;

    color: #1A144A;

    border-radius: 8px;

    font-weight: 700;

}


.logout-button:hover {

    background: #FFFFFF;

}



/* =========================================================
   24. DETALLES DE ACTIVIDAD
   ========================================================= */

.details-modal {

    width: min(850px,
            100%);

}


.activity-details-image {

    width: 100%;

    height: 280px;

    overflow: hidden;

    margin-bottom: 25px;

    border-radius: 12px;

    background: #FFFFFF;

}


.activity-details-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.activity-details-content h2 {

    margin:
        8px 0 15px;

    color: #0E153B;

    font-size: 30px;

    line-height: 1.2;

}


.activity-details-description {

    margin-bottom: 25px;

    color: #1A144A;

    line-height: 1.7;

}

.activity-sessions-intro {
    margin-bottom: 14px;
    color: #1A144A;
    line-height: 1.6;
}

.activity-sessions-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 14px 0 20px;
}

.activity-session-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-left: 4px solid #0E153B;
    border-radius: 8px;
    padding: 14px 16px;
}

.activity-session-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.activity-session-title {
    color: #0E153B;
    font-size: 15px;
    font-weight: 700;
}

.activity-session-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #EEF2FF;
    color: #1A144A;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
}

.activity-session-desc {
    margin: 0;
    color: #1A144A;
    font-size: 13.5px;
    line-height: 1.55;
}



.activity-details-meta {

    display: grid;

    grid-template-columns:
        repeat(2,
            1fr);

    gap: 12px;

}


.activity-details-meta>div {

    padding:
        15px;

    background: #FFFFFF;

    border-radius: 10px;

}


.activity-details-meta strong {

    display: block;

    margin-bottom: 5px;

    color: #1A144A;

    font-size: 11px;

    text-transform: uppercase;

}


.activity-details-meta span {

    color: #0E153B;

    font-weight: 700;

    font-size: 13px;

}



/* =========================================================
   25. PONENTE
   ========================================================= */

.speaker-section {

    margin-top: 30px;

}


.speaker-section h3 {

    margin-bottom: 15px;

    color: #0E153B;

}


.speaker-card {

    display: grid;

    grid-template-columns:
        100px 1fr;

    gap: 18px;

    align-items: center;

    padding:
        18px;

    background: #FFFFFF;

    border:
        1px solid #1A144A;

    border-radius: 12px;

}


.speaker-image {

    width: 100px;

    height: 100px;

    overflow: hidden;

    border-radius: 12px;

    background: #FFFFFF;

    border: 1px solid #E2E8F0;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 6px;

    box-sizing: border-box;

}


.speaker-image img {

    width: 100%;

    height: 100%;

    object-fit: contain;

}


.speaker-image-placeholder {

    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #1A144A;

    font-size: 10px;

    text-align: center;

}


.speaker-name {

    margin-bottom: 4px;

    color: #0E153B;

    font-size: 18px;

    font-weight: 800;

}


.speaker-role {

    margin-bottom: 8px;

    color: #1FCFCC;

    font-size: 12px;

    font-weight: 700;

}


.speaker-bio {

    color: #1A144A;

    font-size: 12px;

    line-height: 1.5;

}



/* =========================================================
   26. REGISTRO DE ACTIVIDAD
   ========================================================= */

.registration-box {

    margin-top: 25px;

    padding-top: 20px;

    border-top:
        1px solid #1A144A;

}


.registration-warning {

    margin-bottom: 15px;

    padding: 15px;

    border-radius: 10px;

    background: #FFFFFF;

    color: #1FCFCC;

    font-size: 13px;

}


.activity-details-content .btn-primary {

    border-color: #0E153B;

    background: #0E153B;

    color: #ffffff;

}


.activity-details-content .btn-primary:hover {

    background: #1FCFCC;

    border-color: #1FCFCC;

}



/* =========================================================
   27. TOAST
   ========================================================= */

.toast {

    position: fixed;

    right: 25px;

    bottom: 25px;

    z-index: 2000;

    max-width: 350px;

    padding:
        14px 18px;

    border-radius: 10px;

    background: #0E153B;

    color: #ffffff;

    box-shadow:
        0 10px 30px rgba(0,
            0,
            0,
            0.2);

    opacity: 0;

    transform:
        translateY(20px);

    pointer-events: none;

    transition:
        0.3s;

    font-size: 13px;

}


.toast.show {

    opacity: 1;

    transform:
        translateY(0);

}



/* =========================================================
   28. FOOTER
   ========================================================= */

footer {

    background: #0E153B;

    color: #ffffff;

    border-top:
        4px solid #1FCFCC;

}


.footer-inner {

    width: min(1180px,
            92%);

    margin: 0 auto;

    padding:
        55px 0 40px;

    display: grid;

    grid-template-columns:
        1.4fr 0.8fr 0.8fr;

    gap: 45px;

}


.footer-brand h3 {

    margin-bottom: 10px;

    font-size: 22px;

}


.footer-brand p {

    max-width: 380px;

    color: #CBD5E1;

    font-size: 13px;

    line-height: 1.6;

}


.university-link {

    display: inline-block;

    margin-top: 15px;

    color: #1FCFCC;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

}


.university-link:hover {

    text-decoration: underline;

}


.footer-title {

    margin-bottom: 15px;

    color: #ffffff;

    font-size: 13px;

    font-weight: 800;

}


.footer-links {

    display: flex;

    flex-direction: column;

    gap: 8px;

}


.footer-links a {

    color: #E2E8F0;

    text-decoration: none;

    font-size: 12px;

    transition: color 0.2s ease;

}


.footer-links a:hover {

    color: #1FCFCC;

}


.social-links {

    display: flex;

    gap: 10px;

}


.social-links a {

    width: 36px;

    height: 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid rgba(255,
            255,
            255,
            0.15);

    border-radius: 50%;

    color: #ffffff;

    text-decoration: none;

    font-weight: 800;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;

}


.social-links a:hover {

    background: #1FCFCC;

    border-color: #1FCFCC;

    transform:
        translateY(-2px);

}


.footer-bottom {

    padding:
        18px 5%;

    border-top:
        1px solid rgba(255,
            255,
            255,
            0.08);

    color: #94A3B8;

    text-align: center;

    font-size: 11px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

}

/* Enlace discreto a Administración en Footer (oculto) */
.footer-admin-link {
    display: none !important;
}

/* =========================================================
   ESTILOS DE ADMINISTRACIÓN Y CMS (XX CEI 2026)
   ========================================================= */

.admin-nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
    border-bottom: 2px solid #E2E8F0;
    padding-bottom: 12px;
}

.admin-tab-btn {
    background: #F1F5F9;
    color: #475569;
    border: 1px solid #CBD5E1;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-tab-btn:hover {
    background: #E2E8F0;
    color: #0E153B;
}

.admin-tab-btn.active {
    background: #0E153B;
    color: #ffffff;
    border-color: #0E153B;
    box-shadow: 0 4px 12px rgba(14, 21, 59, 0.2);
}

.badge-activo {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #6EE7B7;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-no-activo {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-toggle-status {
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-toggle-status.active-on {
    background: #10B981;
    color: #ffffff;
}

.btn-toggle-status.active-off {
    background: #64748B;
    color: #ffffff;
}

.btn-action-edit {
    background: #3B82F6;
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-right: 4px;
}

.btn-action-edit:hover {
    background: #2563EB;
}

.btn-action-delete {
    background: #EF4444;
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.btn-action-delete:hover {
    background: #DC2626;
}

.btn-add-content {
    background: #10B981;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.btn-add-content:hover {
    background: #059669;
}

/* Modales Admin */
.admin-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(14, 21, 59, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

.admin-modal-content {
    background: #ffffff;
    width: min(700px, 95%);
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    position: relative;
}

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #E2E8F0;
}

.admin-modal-header h3 {
    font-size: 20px;
    color: #0E153B;
}

.admin-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #64748B;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.admin-form-grid.full {
    grid-template-columns: 1fr;
}

.admin-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-form-group.span-2 {
    grid-column: span 2;
}

.admin-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.admin-form-group input,
.admin-form-group select,
.admin-form-group textarea {
    padding: 10px 12px;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
    color: #0E153B;
    background: #ffffff;
}

.admin-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.admin-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #E2E8F0;
}

/* Indicador Inactivo en Vista Pública para Admin */
.item-inactive-watermark {
    position: relative;
    border: 2px dashed #EF4444 !important;
    opacity: 0.75;
}

.item-inactive-watermark::after {
    content: "NO ACTIVO (Oculto al público)";
    position: absolute;
    top: 8px;
    right: 8px;
    background: #EF4444;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
}

/* Botón de panel admin dentro del menú de cuenta */
.btn-ir-admin {
    background: linear-gradient(135deg, #0E153B 0%, #1E293B 100%);
    color: #1FCFCC !important;
    border: 1px solid #1FCFCC;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 15px;
    transition: all 0.2s ease;
}

.btn-ir-admin:hover {
    background: #1FCFCC;
    color: #0E153B !important;
}



/* =========================================================
   NUEVOS COMPONENTES - CEI 2026
   ========================================================= */

/* 1. CUENTA REGRESIVA HERO */
.hero-countdown {
    margin-top: 30px;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
    background: rgba(26, 20, 74, 0.6);
    padding: 18px 28px;
    border-radius: 16px;
    border: 1px solid rgba(31, 207, 204, 0.3);
    backdrop-filter: blur(8px);
}

.countdown-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 65px;
}

.countdown-num {
    font-size: 32px;
    font-weight: 800;
    color: #1FCFCC;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.countdown-lbl {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #CBD5E1;
    margin-top: 4px;
}

.countdown-sep {
    font-size: 24px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1;
}

/* 2. SOLICITUD DE CANCELACIÓN EN VISTA DE CUENTA */
.btn-solicitar-cancelacion {
    background: transparent;
    border: 1px solid #EF4444;
    color: #EF4444;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-solicitar-cancelacion:hover {
    background: #EF4444;
    color: #ffffff;
}

.badge-solicitud-pendiente {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 158, 11, 0.15);
    color: #F59E0B;
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* 3. PÁGINA DE PATROCINADORES */
.sponsors-acknowledgment {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-left: 5px solid #1FCFCC;
    border-radius: 12px;
    padding: 32px 36px;
    margin-top: 24px;
    margin-bottom: 35px;
    box-shadow: 0 4px 20px rgba(14, 21, 59, 0.04);
    position: relative;
    overflow: hidden;
}

.sponsors-acknowledgment::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(31, 207, 204, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.sponsors-acknowledgment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.sponsors-acknowledgment-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(31, 207, 204, 0.12);
    color: #0E153B;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sponsors-acknowledgment-icon svg {
    width: 20px;
    height: 20px;
}

.sponsors-acknowledgment h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0E153B;
    line-height: 1.3;
    margin: 0;
}

.sponsors-acknowledgment p {
    font-size: 0.96rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 14px;
    max-width: 950px;
}

.sponsors-acknowledgment p:last-of-type {
    margin-bottom: 18px;
}

.sponsors-acknowledgment-highlight {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    padding: 10px 18px;
    border-radius: 8px;
    color: #0E153B;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 4px;
}

.sponsors-acknowledgment-highlight strong {
    color: #0E153B;
}

@media (max-width: 768px) {
    .sponsors-acknowledgment {
        padding: 24px 20px;
        margin-top: 20px;
        margin-bottom: 25px;
    }

    .sponsors-acknowledgment h3 {
        font-size: 1.15rem;
    }

    .sponsors-acknowledgment p {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .sponsors-acknowledgment-highlight {
        font-size: 0.88rem;
        padding: 8px 14px;
        display: flex;
    }
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.sponsor-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #E2E8F0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sponsor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.sponsor-placeholder {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background-color: #0E153B;
    color: #ffffff;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.sponsor-logo-box {
    width: 100%;
    height: 140px;
    border-radius: 8px;
    background-color: #0E153B;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    padding: 14px;
    box-sizing: border-box;
    overflow: hidden;
}

.sponsor-logo-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.sponsor-placeholder.gold {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.sponsor-placeholder.silver {
    background: linear-gradient(135deg, #64748B, #475569);
}

.sponsor-placeholder.bronze {
    background: linear-gradient(135deg, #B45309, #78350F);
}

.sponsor-placeholder.tech {
    background: linear-gradient(135deg, #0EA5E9, #0284C7);
}

.sponsor-placeholder.academic {
    background: linear-gradient(135deg, #10B981, #059669);
}

.sponsor-logo-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.sponsor-logo-text {
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sponsor-tier-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.sponsor-tier-badge.gold {
    background: #FEF3C7;
    color: #92400E;
}

.sponsor-tier-badge.silver {
    background: #F1F5F9;
    color: #334155;
}

.sponsor-tier-badge.bronze {
    background: #FFEDD5;
    color: #9A3412;
}

.sponsor-card h3 {
    font-size: 18px;
    color: #0E153B;
    margin-bottom: 8px;
}

.sponsor-card p {
    font-size: 13px;
    color: #64748B;
    line-height: 1.5;
}

/* =========================================================
   HISTORIA DEL CONGRESO (Acerca de)
   ========================================================= */

.history-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 35px;
    width: 100%;
}

.history-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(14, 21, 59, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.history-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(14, 21, 59, 0.12);
    border-color: #CBD5E1;
}

.history-poster-container {
    position: relative;
    background: #0E153B;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: hidden;
}

.history-poster {
    max-width: 100%;
    max-height: 360px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease;
}

.history-card:hover .history-poster {
    transform: scale(1.02);
}

.history-poster.img-fallback-active {
    opacity: 0.15;
    filter: grayscale(1);
}

.history-poster-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 20px;
    color: #94A3B8;
    gap: 10px;
    min-height: 300px;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.history-poster-placeholder .placeholder-icon {
    font-size: 36px;
    opacity: 0.8;
}

.history-poster-placeholder strong {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
}

.history-poster-placeholder span {
    font-size: 13px;
    line-height: 1.5;
    max-width: 260px;
}

.history-card-info {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
    background: #FFFFFF;
}

.history-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #0E153B;
    color: #00D0CA;
    margin-bottom: 2px;
}

.history-card-info h3 {
    font-size: 19px;
    font-weight: 700;
    color: #0E153B;
    margin: 0;
    line-height: 1.3;
}

.history-meta {
    font-size: 13px;
    font-weight: 600;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 6px;
}

.history-motto {
    font-size: 13px;
    font-style: italic;
    color: #1A144A;
    font-weight: 600;
    line-height: 1.45;
    margin: 0;
}

.history-card-info p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .history-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .history-poster-container {
        min-height: 300px;
        padding: 12px;
    }

    .history-poster {
        max-height: 320px;
    }
}



/* =========================================================
   28.1 GALERÍA - TARJETAS Y DESCRIPCIONES
   ========================================================= */

.gallery-caption {

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding:
        45px 18px 18px;

    background:
        linear-gradient(transparent,
            rgba(0,
                0,
                0,
                0.82));

    color: #ffffff;

}


.gallery-caption span {

    display: block;

    margin-bottom: 5px;

    color: #1FCFCC;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.8px;

    text-transform: uppercase;

}


.gallery-caption h3 {

    margin-bottom: 4px;

    color: #ffffff;

    font-size: 16px;

    line-height: 1.25;

}


.gallery-caption p {

    color: #FFFFFF;

    font-size: 11px;

    line-height: 1.4;

}



/* =========================================================
   28.2 INFORMACIÓN - PRESENTACIÓN
   ========================================================= */

.about-grid {

    display: grid;

    grid-template-columns:
        repeat(2,
            1fr);

    gap: 25px;

}


.about-card {

    position: relative;

    padding:
        35px 30px;

    background: #ffffff;

    border:
        1px solid #1A144A;

    border-radius: 14px;

    overflow: hidden;

    box-shadow:
        0 5px 20px rgba(14, 21, 59,
            0.04);

}


.about-card-number {

    display: block;

    margin-bottom: 15px;

    color: #1FCFCC;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;

}


.about-card h3 {

    margin-bottom: 14px;

    color: #0E153B;

    font-size: 21px;

    line-height: 1.25;

}


.about-card p {

    margin-bottom: 12px;

    color: #1A144A;

    font-size: 14px;

    line-height: 1.7;

}


.about-card p:last-child {

    margin-bottom: 0;

}



/* =========================================================
   28.3 LEMA DEL EVENTO
   ========================================================= */

.event-motto {

    padding:
        85px 0;

    background:
        linear-gradient(135deg,
            #1A144A,
            #0E153B);

    color: #ffffff;

}


.motto-content {

    width: min(850px,
            100%);

    margin: 0 auto;

    text-align: center;

}


.motto-content .section-label {

    color: #1FCFCC;

}


.motto-content h2 {

    margin:
        15px 0 20px;

    color: #ffffff;

    font-size:
        clamp(28px,
            5vw,
            46px);

    line-height: 1.2;

}


.motto-content p {

    max-width: 650px;

    margin: 0 auto;

    color: #FFFFFF;

    font-size: 15px;

    line-height: 1.7;

}



/* =========================================================
   28.4 INFORMACIÓN GENERAL DEL EVENTO
   ========================================================= */

.event-info-grid {

    display: grid;

    grid-template-columns:
        repeat(2,
            1fr);

    gap: 20px;

}


.event-info-card {

    display: grid;

    grid-template-columns:
        58px 1fr;

    gap: 18px;

    align-items: start;

    padding:
        25px;

    background: #ffffff;

    border:
        1px solid #1A144A;

    border-radius: 14px;

    box-shadow:
        0 5px 20px rgba(14, 21, 59,
            0.04);

}


.event-info-icon {

    width: 58px;

    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background: #FFFFFF;

    color: #00D0CA;

    font-size: 15px;

    font-weight: 800;

}


.event-info-card span {

    display: block;

    margin-bottom: 6px;

    color: #1FCFCC;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.8px;

}


.event-info-card h3 {

    margin-bottom: 8px;

    color: #0E153B;

    font-size: 17px;

    line-height: 1.3;

}


.event-info-card p {

    margin-bottom: 10px;

    color: #1A144A;

    font-size: 13px;

    line-height: 1.6;

}



/* =========================================================
   28.5 ÁREAS DE INGENIERÍA
   ========================================================= */

.engineering-grid {

    display: grid;

    grid-template-columns:
        repeat(3,
            1fr);

    gap: 18px;

}


.engineering-card {

    padding:
        25px;

    background: #ffffff;

    border:
        1px solid #1A144A;

    border-radius: 12px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;

}


.engineering-card:hover {

    transform:
        translateY(-3px);

    border-color: #FFFFFF;

    box-shadow:
        0 10px 25px rgba(14, 21, 59,
            0.07);

}


.engineering-card>span {

    display: block;

    margin-bottom: 12px;

    color: #1FCFCC;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1px;

}


.engineering-card h3 {

    margin-bottom: 8px;

    color: #0E153B;

    font-size: 17px;

    line-height: 1.3;

    overflow-wrap: break-word;

}


.engineering-card p {

    color: #1A144A;

    font-size: 12px;

    line-height: 1.6;

}



/* =========================================================
   28.6 UNIVERSIDAD DEL CARIBE
   ========================================================= */

.university-section {

    padding:
        75px 0;

    background:
        linear-gradient(135deg,
            #1A144A,
            #0E153B);

    color: #ffffff;

}


.university-content {

    display: grid;

    grid-template-columns:
        0.7fr 1.3fr;

    align-items: center;

    gap: 60px;

}


.university-logo-area {

    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 180px;

    padding: 30px;

    border:
        1px solid rgba(255,
            255,
            255,
            0.12);

    border-radius: 16px;

    background:
        rgba(255,
            255,
            255,
            0.04);

}


.university-section-logo {

    width: min(260px,
            90%);

    max-height: 130px;

    object-fit: contain;

}


.university-content .section-label {

    color: #1FCFCC;

}


.university-content h2 {

    margin:
        8px 0 15px;

    color: #ffffff;

    font-size:
        clamp(26px,
            4vw,
            38px);

    line-height: 1.2;

}


.university-content p {

    max-width: 650px;

    margin-bottom: 22px;

    color: #FFFFFF;

    line-height: 1.7;

}



/* =========================================================
   28.7 PREGUNTAS FRECUENTES
   ========================================================= */

.faq-list {

    width: min(900px,
            100%);

    margin: 0 auto;

}


.faq-item {

    margin-bottom: 10px;

    background: #ffffff;

    border:
        1px solid #1A144A;

    border-radius: 10px;

    overflow: hidden;

}


.faq-item summary {

    position: relative;

    padding:
        18px 50px 18px 20px;

    color: #0E153B;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    list-style: none;

}


.faq-item summary::-webkit-details-marker {

    display: none;

}


.faq-item summary::after {

    content: "+";

    position: absolute;

    right: 20px;

    top: 50%;

    transform:
        translateY(-50%);

    color: #1FCFCC;

    font-size: 22px;

    font-weight: 400;

}


.faq-item[open] summary::after {

    content: "−";

}


.faq-item p {

    padding:
        0 20px 18px;

    color: #1A144A;

    font-size: 13px;

    line-height: 1.7;

}


.faq-item .section-link {

    display: inline-block;

    margin:
        0 20px 20px;

}



/* =========================================================
   28.8 AJUSTES DE GALERÍA
   ========================================================= */

.gallery-image {

    position: relative;

    width: 100%;

    height: 100%;

    min-height: 230px;

    overflow: hidden;

    background: #FFFFFF;

}


.gallery-image img {

    position: absolute;

    inset: 0;

    z-index: 2;

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.gallery-image .gallery-placeholder {

    position: absolute;

    inset: 0;

    z-index: 1;

    min-height: 230px;

    background: #FFFFFF;

}



/* =========================================================
   28.9 AJUSTES DE TARJETAS DE INFORMACIÓN
   ========================================================= */

.info-grid .info-card {

    min-height: 150px;

}


.info-card strong {

    font-size: 16px;

}



/* =========================================================
   28.10 AJUSTES DE PROGRAMA
   ========================================================= */

.schedule-day:last-child {

    margin-bottom: 0;

}


.schedule-item .section-link {

    display: inline-block;

}



/* =========================================================
   28.11 RESPONSIVE DE LAS NUEVAS SECCIONES
   ========================================================= */

@media (max-width: 850px) {


    .about-grid {

        grid-template-columns:
            1fr;

    }


    .event-info-grid {

        grid-template-columns:
            1fr;

    }


    .engineering-grid {

        grid-template-columns:
            repeat(2,
                1fr);

    }


    .university-content {

        grid-template-columns:
            1fr;

        gap: 35px;

    }


    .university-logo-area {

        min-height: 150px;

    }

}



/* =========================================================
   29. RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {


    .main-nav {

        gap: 15px;

    }


    .main-nav a {

        font-size: 13px;

    }


    .home-activity-preview {

        grid-template-columns:
            repeat(2,
                1fr);

    }


    .activities-grid {

        grid-template-columns:
            repeat(2,
                1fr);

    }


    .gallery-grid {

        grid-template-columns:
            repeat(3,
                1fr);

    }

}



/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 850px) {


    .header-inner {

        gap: 15px;

    }


    .main-nav {

        display: none;

    }


    .mobile-menu-button {

        display: block;

        margin-left: auto;

    }


    .account-button {

        order: 2;

    }


    .mobile-menu-button {

        order: 3;

    }


    .logo-container {

        flex: 1;

    }



    .announcement-featured-card {

        grid-template-columns:
            1fr;

    }


    .announcement-featured-image {

        min-height: 320px;

        padding: 14px 10px;

    }


    .announcement-featured-image img {

        max-height: 380px;

    }


    .announcement-image-placeholder {

        min-height: 260px;

    }


    .intro-grid {

        grid-template-columns:
            1fr;

        gap: 35px;

    }


    .info-grid {

        grid-template-columns:
            1fr 1fr;

    }


    .schedule-item {

        grid-template-columns:
            75px 1fr;

    }


    .schedule-item>div:last-child {

        grid-column:
            2;

    }


    .footer-inner {

        grid-template-columns:
            1fr 1fr;

    }

}



/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 600px) {


    .header-inner {

        min-height: 65px;

    }


    .site-header {

        min-height: 65px;

    }


    .unicaribe-logo {

        width: 68px;

    }


    .congress-logo {

        width: 82px;

    }


    .logo-text {

        min-width: 0;

    }


    .logo-text strong {

        font-size: 15px;

    }


    .logo-text span {

        display: none;

    }


    .account-button {

        padding:
            9px 14px;

        font-size: 11px;

    }


    .hero {

        min-height: 620px;

        padding:
            60px 20px;

    }


    .hero h1 {

        font-size:
            clamp(38px,
                12vw,
                52px);

    }


    .hero-motto {

        font-size: 15px;

    }


    .hero-location {

        font-size: 15px;

    }


    .hero-buttons {

        flex-direction: column;

        width: 100%;

        max-width: 300px;

        margin-left: auto;

        margin-right: auto;

    }


    .hero-buttons a {

        width: 100%;

    }


    .section {

        padding:
            55px 0;

    }


    .section-header {

        flex-direction: column;

        align-items: flex-start;

        gap: 15px;

    }


    .announcement-featured-content {

        padding:
            25px;

    }


    .home-activity-preview {

        grid-template-columns:
            1fr;

    }


    .intro-highlights {

        grid-template-columns:
            1fr 1fr;

    }


    .activities-grid {

        grid-template-columns:
            1fr;

    }


    .gallery-grid {

        grid-template-columns:
            1fr 1fr;

    }


    .info-grid {

        grid-template-columns:
            1fr;

    }


    .quick-access-content {

        flex-direction: column;

        align-items: flex-start;

    }


    .schedule-item {

        grid-template-columns:
            1fr;

        gap: 8px;

    }


    .schedule-item>div:last-child {

        grid-column:
            auto;

    }


    .schedule-day-title {

        font-size: 20px;

    }


    .activity-details-meta {

        grid-template-columns:
            1fr;

    }


    .speaker-card {

        grid-template-columns:
            1fr;

        text-align: center;

    }


    .speaker-image {

        margin: 0 auto;

    }


    .registered-item {

        flex-direction: column;

        align-items: stretch;

    }


    .btn-cancelar-registro {

        width: 100%;

    }


    .footer-inner {

        grid-template-columns:
            1fr;

        gap: 30px;

    }


    .modal {

        padding:
            28px 20px;

    }


    .about-card {

        padding:
            28px 22px;

    }


    .event-motto {

        padding:
            65px 0;

    }


    .motto-content h2 {

        font-size: 27px;

    }


    .event-info-card {

        grid-template-columns:
            48px 1fr;

        gap: 14px;

        padding:
            20px;

    }


    .event-info-icon {

        width: 48px;

        height: 48px;

        font-size: 12px;

    }


    .engineering-grid {

        grid-template-columns:
            1fr;

    }


    .university-section {

        padding:
            60px 0;

    }


    .university-logo-area {

        min-height: 130px;

        padding: 20px;

    }


    .university-section-logo {

        max-height: 90px;

    }


    .faq-item summary {

        padding:
            16px 45px 16px 16px;

        font-size: 13px;

    }


    .faq-item p {

        padding:
            0 16px 16px;

    }


    .faq-item .section-link {

        margin:
            0 16px 18px;

    }

}



/* =========================================================
   TELÉFONOS PEQUEÑOS
   ========================================================= */

@media (max-width: 400px) {


    .unicaribe-logo {

        width: 58px;

    }


    .account-button {

        padding:
            8px 11px;

    }


    .mobile-menu-button {

        font-size: 23px;

    }


    .gallery-grid {

        grid-template-columns:
            1fr;

    }


    .intro-highlights {

        grid-template-columns:
            1fr;

    }

}



/* =========================================================
   30. CORRECCIONES VISUALES ACORDADAS
   =========================================================

   IMPORTANTE:
   Estas reglas se agregan al final para corregir visualmente
   elementos ya existentes sin eliminar los estilos anteriores.
   ========================================================= */


/* =========================================================
   30.1 LOGO DE UNIVERSIDAD DEL CARIBE
   ========================================================= */

.university-logo-link {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    width: 92px;

    min-height: 50px;

    padding: 4px;

    text-decoration: none;

}


.university-logo-link .unicaribe-logo {

    width: 82px;

    max-width: 100%;

    max-height: 42px;

    object-fit: contain;

}


/* Evita que el logo ocupe accidentalmente
   el espacio destinado a la identidad del evento. */

.logo-container .unicaribe-logo {

    width: auto;

    max-width: none;

}



/* =========================================================
   30.2 ANUNCIOS
   ========================================================= */

/* Reduce el espacio visual innecesario antes de los anuncios. */

body[data-page="anuncios"] .section {

    padding-top: 45px;

}


/* Cada anuncio queda delimitado individualmente. */

.announcement-card {

    display: grid;

    grid-template-columns:
        minmax(260px,
            0.75fr) minmax(320px,
            1.25fr);

    overflow: hidden;

    margin-bottom: 22px;

    background: #ffffff;

    border:
        1px solid #1A144A;

    border-radius: 16px;

    box-shadow:
        0 6px 24px rgba(14, 21, 59,
            0.06);

}


.announcement-card-image {

    min-height: 300px;

    background:
        linear-gradient(135deg,
            #1A144A,
            #1A144A);

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

}


.announcement-card-image img {

    width: 100%;

    height: 100%;

    min-height: 300px;

    object-fit: cover;

    object-position: top center;

}


.announcement-card-content {

    padding:
        32px;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.announcement-card-content h2 {

    margin-bottom: 16px;

    color: #0E153B;

    font-size:
        clamp(22px,
            3vw,
            30px);

    line-height: 1.2;

}


.announcement-card-content p {

    margin-bottom: 12px;

    color: #1A144A;

    font-size: 14px;

    line-height: 1.7;

}


.announcement-intro {

    color: #1A144A !important;

    font-weight: 700;

}


.announcement-details {

    display: grid;

    grid-template-columns:
        repeat(2,
            1fr);

    gap: 12px;

    margin:
        12px 0 20px;

}


.announcement-details>div {

    padding:
        12px 14px;

    background: #FFFFFF;

    border:
        1px solid #1A144A;

    border-radius: 9px;

}


.announcement-details strong {

    display: block;

    margin-bottom: 4px;

    color: #0E153B;

    font-size: 11px;

}


.announcement-details span {

    display: block;

    color: #1A144A;

    font-size: 12px;

}


.announcement-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 5px;

}


.announcement-source {

    display: flex;

    align-items: center;

    gap: 7px;

    margin:
        5px 0 15px;

    color: #1A144A;

    font-size: 12px;

}


.announcement-source strong {

    color: #1A144A;

}


.announcement-source a {

    color: #1FCFCC;

    font-weight: 700;

    text-decoration: none;

}


.announcement-source a:hover {

    text-decoration: underline;

}


/* =========================================================
   IMAGEN DEL ANUNCIO "PRÓXIMAMENTE"
   ========================================================= */

.announcement-coming-soon {

    grid-template-columns:
        260px 1fr;

    min-height: 260px;

}


.announcement-coming-icon {

    display: block;

    width: 100%;

    height: 100%;

    min-height: 260px;

    overflow: hidden;

    background: #FFFFFF;

}


.announcement-coming-icon img {

    width: 100%;

    height: 100%;

    min-height: 260px;

    display: block;

    object-fit: cover;

    object-position: center;

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {

    .announcement-coming-soon {

        grid-template-columns:
            1fr;

    }


    .announcement-coming-icon {

        min-height: 260px;

    }


    .announcement-coming-icon img {

        min-height: 260px;

    }

}


@media (max-width: 600px) {

    .announcement-coming-icon {

        min-height: 220px;

    }


    .announcement-coming-icon img {

        min-height: 220px;

    }

}


/* =========================================================
   30.3 ACTIVIDADES
   ========================================================= */

/* El cupo vuelve a tener una presentación semejante
   al resto de la información de la actividad. */

.activity-capacity {

    display: inline-flex;

    align-items: center;

    width: fit-content;

    min-height: 28px;

    margin-top: 12px;

    padding:
        6px 10px;

    border:
        1px solid #FFFFFF;

    border-radius: 8px;

    background: #FFFFFF;

    color: #1A144A;

    font-size: 12px;

    font-weight: 700;

}


/* Botón de Ver detalles más grande. */

.activity-button {

    min-height: 45px;

    margin-top: 17px;

    padding:
        12px 18px;

    border-radius: 8px;

    font-size: 13px;

}


/* =========================================================
   30.4 PROGRAMA
   ========================================================= */

/* Reduce el espacio después del último día del programa
   sin eliminar el margen normal entre elementos. */

.schedule-day:last-child {

    margin-bottom: 20px;

}


/* El bloque de actualización queda más cercano
   al programa. */

.schedule-day+.section-light {

    padding-top: 35px;

}


/* Botón Ver actividad más grande. */

.schedule-item .section-link {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 42px;

    padding:
        10px 17px;

    border:
        1px solid #0E153B;

    border-radius: 8px;

    background: #0E153B;

    color: #ffffff;

    text-decoration: none;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;

}


.schedule-item .section-link:hover {

    background: #1FCFCC;

    border-color: #1FCFCC;

    text-decoration: none;

    transform:
        translateY(-1px);

}


/* Mantener "Por confirmar" visualmente discreto
   y coherente con el programa. */

.schedule-location {

    color: #1A144A;

}


.schedule-location:empty {

    display: none;

}



/* =========================================================
   30.4.1 BOTONES DE SELECCIÓN DE JORNADA (PROGRAMA)
   ========================================================= */

.schedule-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 580px;
    margin: 24px auto 35px;
    width: 100%;
}

.schedule-tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    background: #ffffff;
    color: #0E153B;
    border: 2px solid #1A144A;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(14, 21, 59, 0.05);
}

.schedule-tab-btn:hover {
    border-color: #1FCFCC;
    color: #00D0CA;
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 208, 202, 0.15);
}

.schedule-tab-btn:focus-visible {
    outline: 3px solid #1FCFCC;
    outline-offset: 2px;
}

.schedule-tab-btn.active,
.schedule-tab-btn[aria-selected="true"] {
    background: #0E153B;
    color: #1FCFCC;
    border-color: #1FCFCC;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(14, 21, 59, 0.2);
    transform: none;
}

@media (max-width: 600px) {
    .schedule-tabs {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 20px auto 28px;
    }

    .schedule-tab-btn {
        width: 100%;
        min-height: 46px;
        font-size: 14px;
    }
}




/* =========================================================
   30.4.2 TARJETAS DEL PROGRAMA Y DETALLES DESPLEGABLES
   ========================================================= */

.schedule-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.schedule-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    margin-bottom: 4px;
}

.schedule-location-badge,
.schedule-location-badge.schedule-location-exterior {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #E2E8F0;
    color: #0E153B;
    border: 1px solid #64748B;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.25;
}

.schedule-location-badge .location-icon,
.schedule-location-badge.schedule-location-exterior .location-icon {
    color: #0E153B;
    flex-shrink: 0;
}

/* Variantes diferenciadas de auditorios y ubicaciones */
.schedule-location-badge.schedule-location-principal {
    background: #E0F2FE;
    color: #075985;
    border: 1px solid #38BDF8;
}

.schedule-location-badge.schedule-location-principal .location-icon {
    color: #075985;
}

.schedule-location-badge.schedule-location-g7 {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #34D399;
}

.schedule-location-badge.schedule-location-g7 .location-icon {
    color: #065F46;
}

.schedule-location-badge.schedule-location-a1 {
    background: #CCFBF1;
    color: #115E59;
    border: 1px solid #2DD4BF;
}

.schedule-location-badge.schedule-location-a1 .location-icon {
    color: #115E59;
}

.schedule-type-badge {
    display: inline-flex;
    align-items: center;
    background: #0E153B;
    color: #1FCFCC;
    border: 1px solid #1A144A;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.25;
}

/* Variantes diferenciadas de tipo de actividad (combinación única para cada una) */
.schedule-type-badge.schedule-type-concurso {
    background: #1FCFCC;
    color: #0E153B;
    border: 1px solid #009E99;
}

.schedule-type-badge.schedule-type-conferencia {
    background: #1A144A;
    color: #FFFFFF;
    border: 1px solid #1FCFCC;
}

.schedule-type-badge.schedule-type-plenaria {
    background: #00D0CA;
    color: #0E153B;
    border: 1px solid #0E153B;
    font-weight: 800;
}

.schedule-type-badge.schedule-type-ponencia {
    background: #0E153B;
    color: #1FCFCC;
    border: 1px solid #00D0CA;
}

.schedule-type-badge.schedule-type-charla {
    background: #0B2545;
    color: #E0F2FE;
    border: 1px solid #38BDF8;
}

.schedule-type-badge.schedule-type-taller {
    background: #164E63;
    color: #FFFFFF;
    border: 1px solid #00D0CA;
}

.schedule-type-badge.schedule-type-poster {
    background: #0F766E;
    color: #F0FDFA;
    border: 1px solid #14B8A6;
}

.schedule-type-badge.schedule-type-receso,
.schedule-item-receso .schedule-type-badge {
    background: #334155;
    color: #F1F5F9;
    border: 1px solid #64748B;
}

.schedule-type-badge.schedule-type-ceremonia {
    background: #0E153B;
    color: #FFFFFF;
    border: 1px solid #38BDF8;
    font-weight: 800;
}

.schedule-type-badge.schedule-type-evento-especial {
    background: #042F2E;
    color: #5EEAD4;
    border: 1px solid #2DD4BF;
}

.schedule-type-badge.schedule-type-proyectos {
    background: #1E293B;
    color: #00D0CA;
    border: 1px solid #0284C7;
}

.schedule-type-badge.schedule-type-panel {
    background: #083344;
    color: #67E8F9;
    border: 1px solid #06B6D4;
}

.schedule-description {
    margin: 6px 0 0;
    color: #475569;
    font-size: 13.5px;
    line-height: 1.5;
}

.schedule-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    justify-content: flex-start;
    min-width: 155px;
    padding-top: 2px;
}

.schedule-actions .section-link,
.schedule-actions .btn-ver-mas {
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* Botón «Ver más» */
.btn-ver-mas {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px;
    background: #0E153B;
    color: #ffffff;
    border: 1px solid #0E153B;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-ver-mas:hover {
    background: #1FCFCC;
    border-color: #1FCFCC;
    color: #0E153B;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(31, 207, 204, 0.25);
}

.btn-ver-mas:focus-visible {
    outline: 2px solid #1FCFCC;
    outline-offset: 2px;
}

.btn-ver-mas:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-ver-mas[aria-expanded="true"] {
    background: #0E153B;
    color: #ffffff;
    border-color: #1FCFCC;
}

.btn-ver-mas[aria-expanded="true"]:hover {
    background: #1FCFCC;
    border-color: #1FCFCC;
    color: #0E153B;
}

/* Sección desplegable complementaria */
.schedule-item .schedule-details-collapse {
    grid-column: 1 / -1 !important;
    width: 100%;
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid #E2E8F0;
    animation: scheduleFadeIn 0.25s ease-out;
}

.schedule-item .schedule-details-collapse[hidden] {
    display: none !important;
}

@keyframes scheduleFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.schedule-details-inner {
    width: 100%;
}

.schedule-details-header {
    margin-bottom: 12px;
}

.schedule-details-kicker {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #00D0CA;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 2px;
}

.schedule-details-heading {
    font-size: 14px;
    font-weight: 700;
    color: #0E153B;
    margin: 0;
}

/* Grid de proyectos individuales */
.schedule-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.schedule-project-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-left: 4px solid #1FCFCC;
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.schedule-project-card:hover {
    background: #F1F5F9;
    border-color: #CBD5E1;
    border-left-color: #00D0CA;
}

.schedule-project-badge-num {
    font-size: 11px;
    font-weight: 800;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.schedule-project-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0E153B;
    line-height: 1.4;
    margin: 0;
}

.schedule-project-authors {
    font-size: 12.5px;
    color: #334155;
    line-height: 1.45;
}

.schedule-project-authors strong {
    color: #0E153B;
    font-weight: 600;
}

.authors-pending {
    display: inline-block;
    background: #FEF3C7;
    color: #92400E;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    font-style: italic;
    font-size: 12px;
}

/* Tarjeta complementaria de conferencias */
.schedule-conference-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-left: 4px solid #0E153B;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.schedule-conf-field {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.schedule-conf-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.schedule-conf-title {
    font-size: 15px;
    font-weight: 700;
    color: #0E153B;
    line-height: 1.4;
    margin: 0;
}

.schedule-conf-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    padding-top: 12px;
    border-top: 1px solid #E2E8F0;
}

.schedule-conf-value {
    font-size: 13.5px;
    font-weight: 600;
    color: #1E293B;
    line-height: 1.4;
}

.schedule-conf-desc-adicional {
    grid-column: 1 / -1;
    padding-top: 10px;
    border-top: 1px dashed #E2E8F0;
}

.schedule-conf-desc-adicional .schedule-conf-value {
    font-weight: 500;
    color: #334155;
    line-height: 1.5;
    white-space: pre-line;
}

/* Lista de participantes en panel */
.schedule-panel-section {
    padding-top: 12px;
    border-top: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.schedule-panel-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 8px;
}

.schedule-panel-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 13.5px;
    color: #1E293B;
    font-weight: 600;
}

.schedule-panel-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #0E153B;
    color: #ffffff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Adaptación responsive para tarjetas del programa */
@media (max-width: 850px) {
    .schedule-item {
        grid-template-columns: 85px 1fr;
        gap: 16px;
    }

    .schedule-actions {
        grid-column: 2;
        flex-direction: row;
        width: 100%;
        min-width: 0;
    }

    .schedule-actions .btn-ver-mas,
    .schedule-actions .section-link {
        flex: 1;
        min-width: 130px;
    }
}

@media (max-width: 600px) {
    .schedule-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }

    .schedule-actions {
        grid-column: 1;
        flex-direction: column;
        width: 100%;
    }

    .schedule-actions .btn-ver-mas,
    .schedule-actions .section-link {
        width: 100%;
    }

    .schedule-projects-grid {
        grid-template-columns: 1fr;
    }

    .schedule-conf-meta-grid {
        grid-template-columns: 1fr;
    }

    .schedule-panel-list {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   CUADRÍCULA DE AUDITORIOS SIMULTÁNEOS Y BLOQUES ESPECIALES
   ========================================================= */

/* Bloques sin acciones (Inauguración, Receso) */
.schedule-item.schedule-item-no-actions {
    grid-template-columns: 105px 1fr;
}

@media (max-width: 850px) {
    .schedule-item.schedule-item-no-actions {
        grid-template-columns: 85px 1fr;
    }
}

@media (max-width: 600px) {
    .schedule-item.schedule-item-no-actions {
        grid-template-columns: 1fr;
    }
}

/* Bloque de Receso */
.schedule-item-receso {
    background: #F8FAFC;
    border: 1px dashed #94A3B8;
    box-shadow: none;
}

.schedule-item-receso:hover {
    background: #F1F5F9;
    border-color: #00D0CA;
}

.schedule-item-receso .schedule-time {
    color: #475569;
}

.schedule-item-receso .schedule-title {
    color: #0E153B;
}

.schedule-item-receso .schedule-type-badge {
    background: #334155;
    color: #F1F5F9;
    border: 1px solid #64748B;
}

/* Cuadrícula simultánea de dos columnas (Auditorio G-7 y Auditorio A-1) */
.schedule-simultaneous-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 14px;
    align-items: start;
}

.schedule-simultaneous-grid .schedule-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100%;
    margin-bottom: 0;
    padding: 20px 22px;
    background: #ffffff;
    border: 1px solid #1A144A;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(14, 21, 59, 0.04);
}

.schedule-simultaneous-grid .schedule-item:hover {
    border-color: #1FCFCC;
    box-shadow: 0 6px 18px rgba(14, 21, 59, 0.08);
}

.schedule-simultaneous-grid .schedule-item .schedule-time {
    font-size: 14px;
    margin-bottom: 4px;
    padding-top: 0;
}

.schedule-simultaneous-grid .schedule-item .schedule-content {
    flex: 1 1 auto;
    width: 100%;
}

.schedule-simultaneous-grid .schedule-item .schedule-title {
    font-size: 16px;
    margin-bottom: 6px;
}

.schedule-simultaneous-grid .schedule-item .schedule-meta-row {
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.schedule-simultaneous-grid .schedule-location-badge {
    font-weight: 700;
}

.schedule-simultaneous-grid .schedule-item .schedule-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px;
    width: 100%;
    min-width: 0;
    margin-top: 14px;
    padding-top: 0;
    grid-column: auto !important;
}

.schedule-simultaneous-grid .schedule-item .schedule-actions .btn-ver-mas,
.schedule-simultaneous-grid .schedule-item .schedule-actions .section-link {
    flex: 1 1 130px;
    text-align: center;
    justify-content: center;
}

.schedule-simultaneous-grid .schedule-item .schedule-details-collapse {
    grid-column: auto !important;
    width: 100%;
    margin-top: 14px;
}

.schedule-simultaneous-grid .schedule-projects-grid {
    grid-template-columns: 1fr;
    gap: 10px;
}

/* Responsivo para la cuadrícula simultánea */
@media (max-width: 900px) {
    .schedule-simultaneous-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* Columnas independientes para bloques con múltiples actividades por auditorio */
.schedule-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    width: 100%;
}

.schedule-simultaneous-columns .schedule-column .schedule-item {
    height: auto !important;
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .schedule-column {
        gap: 12px;
    }
}

/* =========================================================
   ELEMENTOS TEMPORALMENTE DESHABILITADOS (VERSIÓN DE AVANCE)
   ========================================================= */

.account-button.button-disabled,
.btn-primary.button-disabled,
.btn-primary-dark.button-disabled,
.btn-secondary-dark.button-disabled,
.btn-cuenta.button-disabled,
#hero-btn-registro.button-disabled {
    opacity: 0.65;
    cursor: not-allowed;
    filter: grayscale(15%);
}

.account-button.button-disabled:hover,
.btn-cuenta.button-disabled:hover,
#hero-btn-registro.button-disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Ocultación temporal de cupos / lugares disponibles */
body[data-page="actividades"] .activity-capacity {
    display: none;
}

#details-capacity-container.temporalmente-oculto,
#details-capacity-container[style*="display: none"] {
    display: none !important;
}

.activity-details-meta.capacity-hidden>div:nth-child(3),
.activity-details-meta:has(#details-capacity-container[style*="display: none"])>div:nth-child(3) {
    grid-column: span 2;
}

#details-location-container[style*="display: none"] {
    display: none !important;
}

.schedule-item .section-link.section-link-disabled,
.schedule-item button.section-link:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #0E153B;
    border-color: #0E153B;
    color: #ffffff;
    transform: none;
    box-shadow: none;
    pointer-events: auto;
}

.schedule-item .section-link.section-link-disabled:hover,
.schedule-item button.section-link:disabled:hover {
    background: #0E153B;
    border-color: #0E153B;
    transform: none;
    box-shadow: none;
}

/* =========================================================
   30.5 REDES SOCIALES
   ========================================================= */

.social-links {

    gap: 8px;

}


.social-links a {

    width: 38px;

    height: 38px;

    border:
        1px solid rgba(255,
            255,
            255,
            0.18);

    background:
        rgba(255,
            255,
            255,
            0.03);

    border-radius: 50%;

    font-size: 15px;

}


.social-links a:hover {

    background: #1FCFCC;

    border-color: #1FCFCC;

    color: #ffffff;

    transform:
        translateY(-2px);

}



/* =========================================================
   30.6 AJUSTES DE GALERÍA
   ========================================================= */

.gallery-item {

    border:
        1px solid #1A144A;

    box-shadow:
        0 5px 18px rgba(14, 21, 59,
            0.05);

}


.gallery-placeholder {

    background:
        linear-gradient(135deg,
            #FFFFFF,
            #FFFFFF);

}


.gallery-caption {

    pointer-events: none;

}



/* =========================================================
   30.7 AJUSTES DEL LOGO EN TABLET Y MÓVIL
   ========================================================= */

@media (max-width: 850px) {

    .university-logo-link {

        width: 78px;

    }


    .university-logo-link .unicaribe-logo {

        width: 70px;

        max-height: 38px;

    }


    .announcement-card {

        grid-template-columns:
            1fr;

    }


    .announcement-card-image {

        min-height: 250px;

    }


    .announcement-card-image img {

        min-height: 250px;

    }


    .announcement-coming-soon {

        grid-template-columns:
            90px 1fr;

    }

}


@media (max-width: 600px) {

    .university-logo-link {

        width: 65px;

        min-height: 42px;

    }


    .university-logo-link .unicaribe-logo {

        width: 58px;

        max-height: 34px;

    }


    .announcement-card-content {

        padding:
            25px;

    }


    .announcement-details {

        grid-template-columns:
            1fr;

    }


    .announcement-actions {

        flex-direction: column;

    }


    .announcement-actions a {

        width: 100%;

    }


    .announcement-coming-soon {

        grid-template-columns:
            1fr;

    }


    .announcement-coming-icon {

        min-height: 90px;

    }


    .schedule-item .section-link {

        width: 100%;

    }

}

/* =========================================================
   AJUSTES VISUALES - ACTIVIDADES Y DETALLES
   XX CEI 2026
   ========================================================= */


/* =========================================================
   1. INFORMACIÓN DE CUPO EN TARJETAS
   ========================================================= */

.activity-capacity {

    display: flex;

    flex-direction: column;

    gap: 6px;

    margin-top: 15px;

    padding: 11px 13px;

    border:
        1px solid #FFFFFF;

    border-radius: 8px;

    background: #FFFFFF;

    color: #1A144A;

}


.activity-capacity strong {

    display: block;

    color: #00D0CA;

    font-size: 12px;

    font-weight: 800;

    line-height: 1.3;

}


.activity-capacity span {

    display: block;

    color: #1A144A;

    font-size: 12px;

    font-weight: 600;

    line-height: 1.4;

}


/*
    Cuando el bloque contiene directamente
    párrafos generados por el JavaScript.
*/

.activity-capacity p {

    margin: 0;

    color: #1A144A;

    font-size: 12px;

    line-height: 1.4;

}


.activity-capacity p:first-child {

    color: #00D0CA;

    font-weight: 800;

}


.activity-capacity p:last-child {

    color: #1A144A;

    font-weight: 600;

}



/* =========================================================
   2. ESTADO DE REGISTRO
   ========================================================= */

.activity-footer {

    margin-top: 14px;

}


.activity-registration,
.activity-no-registration {

    min-height: 26px;

    display: inline-flex;

    align-items: center;

    padding:
        5px 9px;

    border-radius: 15px;

    font-size: 10px;

    font-weight: 700;

    line-height: 1;

}


.activity-registration {

    background: #FFFFFF;

    color: #00D0CA;

}


.activity-no-registration {

    background: #FFFFFF;

    color: #1A144A;

}



/* =========================================================
   3. BOTÓN VER DETALLES
   ========================================================= */

.activity-button {

    width: 100%;

    min-height: 44px;

    margin-top: 15px;

    padding:
        11px 16px;

    border:
        1px solid #0E153B;

    border-radius: 8px;

    background: #0E153B;

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;

}


.activity-button:hover {

    background: #1FCFCC;

    border-color: #1FCFCC;

    transform:
        translateY(-1px);

}



/* =========================================================
   4. MODAL DE DETALLES
   ========================================================= */

.details-modal {

    width: min(850px,
            100%);

    max-height:
        calc(100vh - 40px);

    overflow-y: auto;

}


.details-modal #detalles-contenido {

    width: 100%;

}



/* =========================================================
   5. ENCABEZADO DE DETALLES
   ========================================================= */

.details-header {

    margin-bottom: 22px;

}


.details-type {

    display: inline-flex;

    align-items: center;

    padding:
        6px 12px;

    border-radius: 20px;

    background: #FFFFFF;

    color: #00D0CA;

    font-size: 11px;

    font-weight: 800;

}


.details-header h2 {

    margin:
        10px 0 7px;

    color: #0E153B;

    font-size:
        clamp(24px,
            4vw,
            30px);

    line-height: 1.2;

}


.details-speaker {

    margin: 0;

    color: #1A144A;

    font-size: 13px;

}



/* =========================================================
   6. DESCRIPCIÓN
   ========================================================= */

.details-description,
.activity-details-description {

    margin-bottom: 25px;

    color: #1A144A;

    font-size: 14px;

    line-height: 1.7;

}



/* =========================================================
   7. INFORMACIÓN GENERAL
   ========================================================= */

.details-grid,
.activity-details-meta {

    display: grid;

    grid-template-columns:
        repeat(2,
            minmax(0,
                1fr));

    gap: 12px;

    margin-bottom: 10px;

}


.detail-item,
.activity-details-meta>div {

    min-height: 74px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding:
        14px 15px;

    background: #FFFFFF;

    border-radius: 10px;

}


.detail-item strong,
.activity-details-meta strong {

    display: block;

    margin-bottom: 6px;

    color: #1A144A;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.5px;

    text-transform: uppercase;

}


.detail-item span,
.activity-details-meta span {

    color: #0E153B;

    font-size: 13px;

    font-weight: 700;

    line-height: 1.4;

}



/* =========================================================
   8. SECCIÓN DEL PONENTE
   ========================================================= */

.speaker-section {

    margin-top: 28px;

}


.speaker-section h3 {

    margin-bottom: 14px;

    color: #0E153B;

    font-size: 18px;

}


.speaker-card {

    display: grid;

    grid-template-columns:
        100px minmax(0,
            1fr);

    gap: 18px;

    align-items: center;

    padding:
        18px;

    background: #FFFFFF;

    border:
        1px solid #FFFFFF;

    border-radius: 12px;

}


.speaker-image {

    width: 100px;

    height: 100px;

    flex-shrink: 0;

    overflow: hidden;

    border-radius: 12px;

    background: #FFFFFF;

    border: 1px solid #E2E8F0;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 6px;

    box-sizing: border-box;

}


.speaker-image img {

    width: 100%;

    height: 100%;

    object-fit: contain;

}


.speaker-image-placeholder {

    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 10px;

    color: #1A144A;

    font-size: 10px;

    line-height: 1.4;

    text-align: center;

}


.speaker-name {

    margin-bottom: 4px;

    color: #0E153B;

    font-size: 18px;

    font-weight: 800;

    line-height: 1.3;

}


.speaker-role {

    margin-bottom: 8px;

    color: #1FCFCC;

    font-size: 12px;

    font-weight: 700;

    line-height: 1.4;

}


.speaker-bio {

    margin: 0;

    color: #1A144A;

    font-size: 12px;

    line-height: 1.5;

}



/* =========================================================
   9. ÁREA DE REGISTRO
   ========================================================= */

.registration-box {

    margin-top: 25px;

    padding-top: 22px;

    border-top:
        1px solid #1A144A;

}


.registration-box>p {

    margin-bottom: 14px;

    color: #1A144A;

    font-size: 15px;

    line-height: 1.5;

}



/* =========================================================
   10. CUPO DENTRO DEL MODAL
   ========================================================= */

.registration-box .activity-capacity {

    width: fit-content;

    min-width: 165px;

    margin-top: 0;

    margin-bottom: 18px;

    padding:
        9px 12px;

    background: #FFFFFF;

}


.registration-box .activity-capacity strong {

    display: none;

}


.registration-box .activity-capacity span {

    color: #1A144A;

    font-size: 12px;

    font-weight: 700;

}



/* =========================================================
   11. MENSAJES DE ESTADO DEL REGISTRO
   ========================================================= */

.registration-warning {

    margin-bottom: 15px;

    padding:
        14px 16px;

    border:
        1px solid #FFFFFF;

    border-radius: 10px;

    background: #FFFFFF;

    color: #1FCFCC;

    font-size: 13px;

    line-height: 1.5;

}



/* =========================================================
   12. BOTONES DEL ÁREA DE REGISTRO
   ========================================================= */

.registration-actions {

    display: flex;

    align-items: stretch;

    gap: 12px;

    margin-top: 5px;

}


.registration-actions button {

    flex: 1;

    min-height: 45px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        12px 18px;

    border-radius: 8px;

    font-family: inherit;

    font-size: 13px;

    font-weight: 700;

    line-height: 1.2;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;

}



/* BOTÓN CERRAR / CANCELAR */

.registration-actions .btn-secondary-dark {

    border:
        1px solid #0E153B;

    background: #ffffff;

    color: #0E153B;

}


.registration-actions .btn-secondary-dark:hover {

    background: #FFFFFF;

    transform:
        translateY(-1px);

}



/* BOTÓN REGISTRAR */

.registration-actions .btn-cuenta,
.registration-actions .btn-primary-dark {

    border:
        1px solid #0E153B;

    background: #0E153B;

    color: #ffffff;

}


.registration-actions .btn-cuenta:hover,
.registration-actions .btn-primary-dark:hover {

    border-color: #1FCFCC;

    background: #1FCFCC;

    color: #ffffff;

    transform:
        translateY(-1px);

}



/* =========================================================
   13. BOTONES DEL MODAL DE CONFIRMACIÓN
   ========================================================= */

.confirmacion-modal .registration-actions,
#confirmacion-modal .registration-actions {

    margin-top: 10px;

}


.confirmacion-modal .registration-actions button,
#confirmacion-modal .registration-actions button {

    min-height: 45px;

}



/* =========================================================
   14. AJUSTE DEL SCROLL DEL MODAL
   ========================================================= */

.details-modal::-webkit-scrollbar {

    width: 8px;

}


.details-modal::-webkit-scrollbar-track {

    background: transparent;

}


.details-modal::-webkit-scrollbar-thumb {

    background: #FFFFFF;

    border-radius: 10px;

}


.details-modal::-webkit-scrollbar-thumb:hover {

    background: #1A144A;

}



/* =========================================================
   15. RESPONSIVE DE ACTIVIDADES Y DETALLES
   ========================================================= */

@media (max-width: 850px) {

    .details-grid,
    .activity-details-meta {

        grid-template-columns:
            1fr;

    }


    .speaker-card {

        grid-template-columns:
            100px minmax(0,
                1fr);

    }

}



@media (max-width: 600px) {

    .activity-capacity {

        width: 100%;

    }


    .details-modal {

        width: 100%;

        max-height:
            calc(100vh - 20px);

    }


    .speaker-card {

        grid-template-columns:
            1fr;

        text-align: center;

    }


    .speaker-image {

        margin:
            0 auto;

    }


    .speaker-name,
    .speaker-role,
    .speaker-bio {

        text-align: center;

    }


    .registration-actions {

        flex-direction: column;

    }


    .registration-actions button {

        width: 100%;

    }

}

/* =========================================================
   FIN DEL ARCHIVO
   ========================================================= */

/* =========================================================
   31. PRESENTACIÓN DEL CONGRESO - COLLAGE DE IMÁGENES
   =========================================================

   Esta corrección reorganiza únicamente las tres fotografías
   de la presentación del Congreso en la página de Inicio.

   No modifica el contenido de texto, botones ni las demás
   secciones del sitio.
   ========================================================= */

/* =========================================================
   31. PRESENTACIÓN DEL CONGRESO
   COLLAGE DE FOTOGRAFÍAS DE UNIVERSIDAD
   ========================================================= */

.intro-grid {

    display: grid;

    grid-template-columns:
        1.15fr 0.85fr;

    gap: 55px;

    align-items: center;

}


.intro-content {

    padding-top: 0;

}


.intro-content p {

    color: #1A144A;

    margin-bottom: 18px;

    line-height: 1.7;

}


.intro-content .btn-primary-dark {

    margin-top: 10px;

}


/* =========================================================
   GALERÍA DE LA PRESENTACIÓN
   ========================================================= */

.intro-gallery {

    display: grid;

    grid-template-columns:
        1fr;

    gap: 6px;

    width: 100%;

    max-width: 470px;

    margin-left: auto;

}


.intro-gallery-main {

    width: 100%;

    height: 220px;

    overflow: hidden;

}


.intro-gallery-main img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

}


.intro-gallery-small {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 6px;

    width: 100%;

}


.intro-gallery-small img {

    width: 100%;

    height: 135px;

    display: block;

    object-fit: cover;

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 850px) {

    .intro-grid {

        grid-template-columns:
            1fr;

        gap: 35px;

    }


    .intro-gallery {

        max-width: 100%;

        margin-left: 0;

    }


    .intro-gallery-main {

        height: 280px;

    }


    .intro-gallery-small img {

        height: 170px;

    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 600px) {

    .intro-gallery-main {

        height: 220px;

    }


    .intro-gallery-small {

        grid-template-columns:
            1fr 1fr;

    }


    .intro-gallery-small img {

        height: 120px;

    }

}


/* =========================================================
   TELÉFONOS PEQUEÑOS
   ========================================================= */

@media (max-width: 400px) {

    .intro-gallery-small img {

        height: 105px;

    }

}

/* =========================================================
   GALERÍA LIGHTBOX MODAL
   ========================================================= */

.gallery-lightbox-container {
    position: relative;
    width: min(900px, 95vw);
    max-height: calc(100vh - 40px);
    background: #1A144A;
    border: 2px solid #1FCFCC;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 20px 50px rgba(14, 21, 59, 0.9);
    overflow-y: auto;
}

.gallery-lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: #0E153B;
    color: #FFFFFF;
    border: 1px solid #1FCFCC;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gallery-lightbox-close:hover {
    background: #1FCFCC;
    color: #0E153B;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0E153B;
    color: #1FCFCC;
    border: 2px solid #1FCFCC;
    font-size: 32px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.gallery-nav-btn:hover {
    background: #1FCFCC;
    color: #0E153B;
    box-shadow: 0 0 15px rgba(31, 207, 204, 0.6);
}

.gallery-prev-btn {
    left: 15px;
}

.gallery-next-btn {
    right: 15px;
}

.gallery-lightbox-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 10px 40px;
}

.gallery-modal-img-wrapper {
    width: 100%;
    max-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: #0E153B;
    border: 1px solid rgba(31, 207, 204, 0.3);
}

.gallery-modal-img-wrapper img {
    max-width: 100%;
    max-height: 65vh;
    object-fit: contain;
    border-radius: 8px;
}

.gallery-lightbox-caption {
    text-align: center;
    color: #FFFFFF;
}

.gallery-lightbox-caption span {
    display: inline-block;
    color: #1FCFCC;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.gallery-lightbox-caption h3 {
    font-size: 22px;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.gallery-lightbox-caption p {
    font-size: 14px;
    color: #00D0CA;
}

/* RESALTADO DE TARJETA SELECCIONADA DESDE EL PROGRAMA */
.highlighted-activity-card {
    animation: highlightPulse 2.5s ease-in-out;
    border: 2px solid #0E153B !important;
}

@keyframes highlightPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(14, 21, 59, 0.7);
    }

    50% {
        box-shadow: 0 0 0 14px rgba(14, 21, 59, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(14, 21, 59, 0);
    }
}

.activity-details-description:empty {
    display: none;
    margin-bottom: 0;
}


/* =========================================================
   MODAL DE DETALLES DE ANUNCIOS Y CONVOCATORIAS
   ========================================================= */

.announcement-modal-container {
    width: min(780px, 95vw);
    max-height: calc(100vh - 40px);
    background: #ffffff;
    border: 2px solid #0E153B;
    border-radius: 16px;
    padding: 32px 30px;
    box-shadow: 0 20px 60px rgba(14, 21, 59, 0.4);
    overflow-y: auto;
}

.announcement-modal-header {
    margin-bottom: 18px;
    padding-right: 36px;
}

.announcement-modal-header .announcement-tag {
    display: inline-block;
    margin-bottom: 8px;
}

.announcement-modal-header h2 {
    color: #0E153B;
    font-size: clamp(20px, 2.8vw, 28px);
    line-height: 1.25;
    margin: 0;
    font-weight: 700;
}

.announcement-modal-image-wrapper {
    width: 100%;
    max-height: 380px;
    background-color: #0E153B;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(14, 21, 59, 0.15);
}

.announcement-modal-image {
    max-width: 100%;
    max-height: 380px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: auto;
}

.announcement-modal-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(31, 207, 204, 0.12);
    border-left: 4px solid #1FCFCC;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #0E153B;
    font-size: 14px;
    line-height: 1.5;
}

.announcement-modal-notice-icon {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.announcement-modal-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.announcement-modal-meta-item {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 10px 14px;
}

.announcement-modal-meta-item strong {
    display: block;
    color: #0E153B;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    font-weight: 700;
}

.announcement-modal-meta-item span {
    display: block;
    color: #1A144A;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.announcement-modal-desc {
    margin-bottom: 20px;
    color: #334155;
    font-size: 14px;
    line-height: 1.6;
}

.announcement-modal-desc p {
    margin: 0;
}

/* =========================================================
   TABLA Y TARJETAS DE TALLERES (CONVOCATORIAS)
   ========================================================= */

.announcement-workshops-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #E2E8F0;
}

.announcement-workshops-title {
    color: #0E153B;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
}

.announcement-workshops-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid #CBD5E1;
}

.announcement-workshops-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
    background: #ffffff;
}

.announcement-workshops-table thead {
    background: #0E153B;
    color: #ffffff;
}

.announcement-workshops-table th {
    padding: 12px 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    border: none;
}

.announcement-workshops-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #E2E8F0;
    color: #1A144A;
    vertical-align: top;
    line-height: 1.45;
}

.announcement-workshops-table tbody tr:nth-child(even) {
    background: #F8FAFC;
}

.announcement-workshops-table tbody tr:hover {
    background: rgba(31, 207, 204, 0.08);
}

.announcement-workshops-table .col-num {
    width: 36px;
    text-align: center;
    font-weight: 700;
    color: #64748B;
}

.announcement-workshops-table .col-taller {
    min-width: 220px;
    color: #0E153B;
}

.announcement-workshops-table .col-instructor {
    min-width: 180px;
}

.announcement-workshops-table .col-lugar {
    min-width: 140px;
}

/* Versión móvil para talleres */
.announcement-workshops-cards-mobile {
    display: none;
    flex-direction: column;
    gap: 12px;
}

.announcement-workshop-card-mobile {
    display: flex;
    gap: 12px;
    background: #F8FAFC;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    padding: 14px;
}

.workshop-mobile-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0E153B;
    color: #1FCFCC;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.workshop-mobile-content h4 {
    margin: 0 0 6px 0;
    color: #0E153B;
    font-size: 14px;
    line-height: 1.35;
}

.workshop-mobile-content p {
    margin: 0 0 4px 0;
    font-size: 12px;
    color: #475569;
    line-height: 1.4;
}

.workshop-mobile-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 680px) {
    .announcement-modal-container {
        padding: 24px 18px;
    }

    .announcement-modal-meta-grid {
        grid-template-columns: 1fr;
    }

    .announcement-workshops-table-wrapper {
        display: none;
    }

    .announcement-workshops-cards-mobile {
        display: flex;
    }
}