/*
====================================================================
 DRUPAL NODE CSS FRAMEWORK
====================================================================

 Framework CSS reutilizable para micrositios Drupal.

 PRINCIPIOS
 - Scopeado mediante .node-scope
 - Sin reset global
 - Desktop First
 - Compatible con Drupal + Bootstrap
 - Componentes reutilizables
 - Variables CSS para tematización
 - Responsive organizado por breakpoints
 - Los overrides específicos de cada nodo quedan al final

====================================================================
 ÍNDICE
====================================================================

 01. CONFIGURACIÓN
 02. VARIABLES / DESIGN TOKENS
 03. CONTEXTO DRUPAL
 04. TIPOGRAFÍA
 05. CONTENEDORES
 06. UTILIDADES
 07. COLORES
 08. LISTAS
 09. FLEXBOX
 10. GRID

 11. NAVEGACIÓN
 12. HERO IMAGE
 13. BANNERS
 14. IMÁGENES
 15. FEATURES
 16. CARDS
 17. PARTNERS / LOGOS
 18. LISTADOS / PROGRAMACIÓN
 19. EVENTOS
 20. TIMELINE

 21. MENSAJES
 22. READ MORE
 23. TABS
 24. ACORDEONES
 25. GALERÍA
 26. TICKER
 27. CONTACTO
 28. TABLAS
 29. MODALES

 30. BOTONES
 31. FORMULARIOS
 32. INSTAGRAM / EMBEDS

 33. RESPONSIVE
     33.1 Desktop XL
     33.2 Desktop
     33.3 Laptop
     33.4 Tablet
     33.5 Mobile
     33.6 Mobile pequeño

 34. OVERRIDES ESPECÍFICOS DE NODO

====================================================================
*/

/* ================================================================
   01. CONFIGURACIÓN
================================================================ */

/*
 * Importación de fuentes.
 * Si Drupal ya carga estas fuentes globalmente, esta línea puede
 * eliminarse para evitar una segunda petición.
 */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Carlito:ital,wght@0,400;0,700;1,400;1,700&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


/* ================================================================
   02. VARIABLES / DESIGN TOKENS
================================================================ */

.node-scope {
    /* ---------- Colores ---------- */

    --color-primary: #841D66;
    --color-secondary: #FACAFB;
    --color-accent: #E1A4B1;

    --color-text: #323232;
    --color-muted: #6B7280;
    --color-border: #E5E7EB;

    --color-bg: linear-gradient(180deg,
            rgba(32, 39, 53, 1) 69%,
            rgba(76, 96, 121, 1) 100%);

    --color-subtitle: #594727;

    --color-red-light: #DEA6AE;
    --color-red-dark: #AC0000;

    --color-purple: #C8127C;
    --color-purple-light: #EBE1FA;
    --color-purple-dark: #870d54;

    --color-green-light: #F2F7F4;
    --color-green-dark: #006A31;

    --color-blue-green: #34999B;
    --color-blue-green-light: #F4FAFA;
    --color-blue-green-dark: #256E6F;

    --color-gray-light: #EEEEEE;
    --color-gray-dark: #575757;

    --color-blue-dark: #18294C;

    --color-white: #FFFFFF;


    /* ---------- Tipografía ---------- */

    --font-base: 'Carlito', sans-serif;
    --font-heading: 'Roboto', sans-serif;
    --font-display: 'Bodoni Moda', serif;

    --fs-base: 1rem;
    --fs-xs: 20px;
    --fs-sm: 24px;
    --fs-lg: 28px;
    --fs-xl: 2rem;
    --fs-2xl: 40px;

    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;


    /* ---------- Espaciado ---------- */

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 3rem;


    /* ---------- Bordes ---------- */

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 999px;


    /* ---------- Layout ---------- */

    --container-max: 1200px;


    /* ---------- Base ---------- */

    font-family: var(--font-base);
    font-size: var(--fs-base);
    color: var(--color-text);
}


/* ================================================================
   03. CONTEXTO DRUPAL
================================================================ */

/*
 * Estos estilos afectan únicamente al contexto del nodo.
 * No utilizar selectores globales para componentes del micrositio.
 */

/* Carousel flechas */
.carousel-control-next,
.carousel-control-prev {
    position: absolute !important;

}


.node-scope {
    width: 100%;
}

.main,
.main-fluid {
    margin-top: 111px;

    background-size: 90% !important;
    background-position: left center !important;
    background-repeat: no-repeat;
    background-attachment: fixed !important;
}


/* Layouts Drupal */

.node-scope.layout-twocol.layout-twocol-33-67 .layout-content {
    grid-template-columns: 31% 69%;
}

@media (min-width: 768px) {
    .node-scope.layout-twocol.layout-twocol-67-33 .layout-content {
        grid-template-columns: 63% 37%;
    }
}


/* Scroll offset para navegación interna */

.node-scope .layout[id] {
    scroll-margin-top: 500px;
}

.node-scope #requisitos {
    scroll-margin-top: 400px;
}


/* ================================================================
   04. TIPOGRAFÍA
================================================================ */

.node-scope h1,
.node-scope h2,
.node-scope h3,
.node-scope h4,
.node-scope h5,
.node-scope h6,
.node-scope .h2,
.node-scope .h3 {
    font-family: var(--font-heading);
    margin-bottom: .5rem;
    font-weight: var(--fw-bold);
    line-height: 1.2;

}

.node-scope h3 {
    font-size: var(--fs-lg);
}

.node-scope p {
    color: var(--color-text);
    line-height: 1.2;
    font-size: 1.125rem;
}

.node-scope small {
    font-size: var(--fs-sm);
    color: var(--color-muted);
}

.node-scope .title {
    font-size: clamp(2rem, 5vw, 50px) !important;
    margin-bottom: 0;
}

.node-scope .subtitle {
    font-size: clamp(2rem, 5vw, 25px) !important;
    font-family: var(--font-base) !important;
}

.node-scope .cta-title {
    font-family: var(--font-display);
}

.node-scope .strong-primary {
    color: var(--color-primary);
    font-weight: var(--fw-bold);
}


/* ================================================================
   05. CONTENEDORES
================================================================ */

.node-scope .container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--space-md);
}

.node-scope .section {
    padding-block: var(--space-lg);
}

.node-scope .bg-gray-extra-light {
    background-color: #F9F9F9 !important;
}

.node-scope .bgc-white .layout-content,
.bgc-white .layout-content {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .10);
    padding: 1rem;
}


/* ================================================================
   06. UTILIDADES
================================================================ */

/* espaciado margin-top */

.node-scope .mt-1 {
    margin-top: 1rem !important;
}

.node-scope .m-t-2 {
    margin-top: 2rem !important;
}



.node-scope .divider {
    position: relative;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.node-scope .divider::after {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    background-color: var(--color-purple);
}

.node-scope .btn-block {
    width: 100%;
}

.node-scope .btn-fit {
    width: fit-content;
}


/* ================================================================
   07. COLORES
================================================================ */

.node-scope .color-primary {
    color: var(--color-primary);
}

.node-scope .color-gray-dark {
    color: var(--color-gray-dark);
}

.node-scope .color-white {
    color: var(--color-white);
}

.node-scope .color-blue-dark {
    color: var(--color-blue-dark);
}

.node-scope .color-purple-dark {
    color: var(--color-purple-dark);
}

.node-scope .color-blue-green {
    color: var(--color-blue-green);
}

.node-scope .color-blue-green-light {
    color: var(--color-blue-green-light);
}

.node-scope .color-blue-green-dark {
    color: var(--color-blue-green-dark);
}


/* ---------- Links ---------- */

.node-scope .red-link {
    color: var(--color-red-dark);
    text-decoration: underline;
}

.node-scope .purple-link {
    color: var(--color-purple);
    text-decoration: underline;
}

.node-scope .white-link {
    color: var(--color-white);
    text-decoration: underline;
}


/* ---------- Backgrounds ---------- */

.node-scope.bg-color-blue-green {
    background-color: var(--color-blue-green);
}

.node-scope .bg-color-blue-green-light {
    background-color: var(--color-blue-green-light);
}

.node-scope .bg-color-blue-green-dark {
    background-color: var(--color-blue-green-dark);
}


/* ================================================================
   08. LISTAS
================================================================ */

.node-scope ul {
    margin-left: 2rem;
    padding-left: 0;
}

.node-scope ul li {
    padding-left: 0;
}

.node-scope ::marker {
    font-size: 16px;
}

.node-scope .marker-primary li::marker {
    color: var(--color-primary);
}


/* ================================================================
   09. FLEXBOX
================================================================ */

.node-scope .flex {
    display: flex;
    gap: var(--space-md);
}

.node-scope .flex--center {
    align-items: center;
    justify-content: center;
}

.node-scope .flex--between {
    justify-content: space-between;
}

.node-scope .flex--column {
    flex-direction: column;
}

.node-scope .flex--wrap {
    flex-wrap: wrap;
}


/* ================================================================
   10. GRID
================================================================ */

.node-scope .grid {
    display: grid;
    gap: var(--space-md);
}

.node-scope .grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.node-scope .grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.node-scope .grid--auto {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}


/* ================================================================
   11. NAVEGACIÓN
================================================================ */

.node-scope .cont-menu {
    position: fixed;
    z-index: 5;
    width: 100%;
    top: 120px;
    left: 0;
}

.node-scope .cont-menu .navbar {
    background-color: #E5E7EB;
}

.node-scope .cont-menu .navbar .nav-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.node-scope .cont-menu .navbar .nav-link {
    color: var(--color-text);
    font-size: 16px;
    font-weight: var(--fw-light);
    line-height: 16px;
    text-decoration: none;
    padding: 12px 20px;
    font-family: var(--font-base);
}

.node-scope .cont-menu .navbar .nav-link:hover {
    color: var(--color-blue-green);
}

.node-scope .cont-menu .navbar .btn-outline-gray:hover {
    color: var(--color-blue-green);
}

/* navegacion Miga de pan */

.node-scope .breadcrumb {
    list-style: none;
    background-color: transparent;
    padding: 0rem 0rem 0rem;
    margin-top: 0 !important;
    margin-bottom: 0;
}

.node-scope .breadcrumb-item a {
    text-decoration: underline;
}



/* ================================================================
   12. HERO IMAGE
================================================================

   Estructura:

   .hero-image
   ├── img
   └── .hero-image__content-wrapper
       └── .hero-image__body
           ├── h1
           ├── h2
           └── p

================================================================ */

.node-scope .hero-image {
    width: 100%;
}

.node-scope .hero-image img {
    flex-grow: 1;
    max-width: 100%;
    height: auto;
    object-position: center center;
    object-fit: cover;
}

.node-scope .hero-image__content-wrapper {
    width: 100%;
    max-width: 1280px;
    padding-inline: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.node-scope .hero-image__body {
    max-width: 100%;
}

.node-scope .hero-image__body h1 {
    text-align: left;
    color: var(--color-primary);
    width: 74%;
    font-size: 40px !important;
    line-height: 1;
}

.node-scope .hero-image__body h2 {
    font-size: 24px;
    font-weight: var(--fw-regular);
    color: var(--color-primary);
}

.node-scope .hero-image__body p {
    font-size: 16px;
    color: var(--color-text);
    text-align: start;
    margin-top: .5rem;
}


/* ================================================================
   13. BANNERS
================================================================ */

/* ---------- Base ---------- */

.node-scope .banner {
    width: 100%;
    min-height: fit-content;
    padding: 1.5rem 2rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 1.5rem;

    text-align: center;

    border-radius: var(--radius-xl);
    background-color: var(--color-white);
}

/* ---------- Info Banner ---------- */

.node-scope .banner--info {
    background-color: var(--color-white);
}

.node-scope .banner__icon i {
    font-size: 3rem;
    color: var(--color-primary);
}

.node-scope .banner__content {
    position: relative;
}

.node-scope .banner__text {
    max-width: 600px;
    margin: 0;

    font-size: 1rem;
    line-height: 1.2;

    color: var(--color-text);
}

/* ---------- CTA Banner ---------- */

.node-scope .banner--cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    padding: 2rem 3rem;

    text-align: left;

    background-color: var(--color-accent);
}

.node-scope .banner--cta .banner__content {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.node-scope .banner--cta .banner__title {
    margin: 0;
    color: var(--color-white);
    font-size: 2rem;
    font-weight: var(--fw-bold);
    line-height: 1.1;
}

.node-scope .banner--cta .banner__text {
    color: rgba(255, 255, 255, .9);
}

.node-scope .banner--cta .banner__action {
    flex-shrink: 0;
}

.node-scope .btn--white {
    display: inline-flex;
    align-items: center;
    gap: .75rem;

    padding: .85rem 1.5rem;

    border-radius: var(--radius-pill);

    background-color: var(--color-white);
    color: var(--color-accent);

    text-decoration: none;
    font-size: .95rem;
    font-weight: var(--fw-semibold);

    transition: transform .3s ease, box-shadow .3s ease;
}

.node-scope .btn--white:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .15);
}


/* ================================================================
   14. IMÁGENES
================================================================ */

.node-scope .img-container {
    position: relative;
    height: fit-content;
    max-height: 680px;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.node-scope .img-container img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.node-scope .img-nota,
.node-scope .img-nota__mob {
    padding: 1.6rem;
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 1rem;
}

.node-scope .img-nota {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 100%;
    max-width: 365px;
    box-shadow: 0 8px 32px rgba(78, 78, 79, .37);
}

.node-scope .img-nota__mob {
    position: relative;
    width: 90%;
    margin: 1rem auto;
    box-shadow: 0 -2px 4px rgba(78, 78, 79, .37);
}

.node-scope .img-nota h5,
.node-scope .img-nota__mob h5 {
    margin: 0;
    font-size: 1rem;
}


/* ================================================================
   15. FEATURES
================================================================ */

.node-scope .feature-item {
    width: 100%;
    flex-shrink: 0;

    display: flex;
    align-items: flex-start;
    justify-content: flex-start;

    gap: 16px;

    margin-bottom: 1rem;
    padding: 1rem;

    background: var(--color-white);
    border: 1px solid #C8C5D2;
    border-radius: 12px;
}

.node-scope .feature__icon {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: var(--color-green-light);
    border-radius: 50%;
}

.node-scope .feature__icon i {
    color: var(--color-blue-green);
}

.node-scope .feature__content {
    margin: 0;
    font-size: 1rem;
    line-height: 19px;
    text-align: start;
}

.node-scope .feature__content p {
    margin: 0;
}

.node-scope .feature__content p strong {
    color: var(--color-primary);
}


/* ================================================================
   16. CARDS
================================================================ */


/*Card hover modal - drupal*/

.node-scope .card_hover--modal .card_hover__heading {
    border-left: none !important;
    position: absolute;
    bottom: 0;
    padding-left: 10px;
    padding-bottom: 10px;
    z-index: 1;
}

.card_hover--modal .modal-header .modal-title {
    color: #fff;
    margin-bottom: 0;
    font-weight: 400;
    font-size: 1.25em;
}

/* ==========================================
   CARROUSEL - CARDS
========================================== */
.node-scope .splide__slide img {
    vertical-align: bottom;
    border-radius: 8px;
}

.card-modal__content {
    cursor: pointer;
    position: relative;
    background-color: var(--color-purple-dark);
}

.node-scope .card-modal__content {
    border-radius: 8px;
}

.node-scope .card-modal__content-heading {
    position: absolute;
    padding: .75rem;
    min-height: 15%;
    width: 100%;
    text-align: left;
    background-color: var(--color-white);
    bottom: 0;
    right: 0;
    display: flex;
    align-items: start;
    border-radius: 0 0px 8px 8px;
    backdrop-filter: blur(10px);

}

.node-scope .card-modal__heading {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin: 0;
}

.node-scope .h4,
.node-scope h4 {
    font-size: 1.25rem;
}



/* ==========================================
   HISTORIAL - CARDS
========================================== */

.node-scope .history-grid {
    margin-bottom: 30px;
}


/* ==========================================
   CARD
========================================== */

.node-scope .history-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.node-scope .history-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.12);
}


/* ==========================================
   IMAGEN
========================================== */

.node-scope .history-card__image {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
}


.node-scope .history-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* ==========================================
   BADGE AÑO
========================================== */

.node-scope .history-card__year {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    background: var(--color-purple);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    z-index: 2;
}


/* ==========================================
   CONTENIDO
========================================== */

.node-scope .history-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 14px;
}


.node-scope .history-card__title {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--color-text);
}


.node-scope .history-card__description {
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
    color: var(--color-text);
}


/* ==========================================
   BOTÓN
========================================== */

.node-scope .history-card__button {
    align-self: flex-end;
    margin-top: auto;
    padding: 5px 14px;
    border: 0;
    border-radius: 20px;
    background: var(--color-purple);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.node-scope .history-card__button:hover {
    background: var(--color-purple-dark);
    transform: translateY(-1px);
}


/* ==========================================
   PAGINACIÓN
========================================== */

.node-scope .history-pagination {
    margin-top: 25px;
}


.node-scope .history-pagination .page-link {
    color: var(--color-purple);
    border: 0;
    font-size: 13px;
    margin: 0 2px;
    border-radius: 50%;
}


.node-scope .history-pagination .page-item.active .page-link {
    background: var(--color-purple);
    color: #fff;
}


.node-scope .history-pagination .page-item.disabled .page-link {
    color: #aaa;
    background: transparent;
}


/* ==========================================
   MODAL
========================================== */

.node-scope .history-modal {
    border: 0;
    border-radius: 8px;
    overflow: hidden;
}


.node-scope .history-modal .modal-header {
    border-bottom: 1px solid #eee;
}


.node-scope .history-modal .modal-title {
    font-size: 20px;
    font-weight: 700;
}


/* ==========================================
   IMAGEN MODAL
========================================== */

.node-scope .history-modal__image {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}


.node-scope .history-modal__image img {
    width: 100%;
    max-height: 400px;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}


.node-scope .history-modal__year {
    position: absolute;
    top: 24px;
    left: 24px;
    padding: 4px 16px;
    background: var(--color-purple);
    color: var(--color-white);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 400;
    border: 1px solid var(--color-purple);
}


.node-scope .history-modal__content {
    font-size: 18px;
    line-height: 1.6;
    white-space: pre-line;
    color: #444;
    display: flex;
    align-items: flex-start;
}

/* ================================================================
   CONTACT CARD
================================================================ */

/* ===== CONTENEDOR ===== */

.node-scope .contact-card {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 110px;
    background-color: var(--color-white);
    border: 1px solid #eeeeee;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .12);
    overflow: hidden;
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


/* ===== HOVER ===== */

.node-scope .contact-card:hover {
    transform: translateY(-2px);

    box-shadow: 0 6px 14px rgba(0, 0, 0, .16);
}


/* ===== ICONO ===== */

.node-scope .contact-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    min-width: 58px;
    align-self: stretch;
    border-right: 1px solid #e5e5e5;
    color: var(--color-primary);
    font-size: 20px;
}


/* ===== CONTENIDO ===== */

.node-scope .contact-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 10px 16px;
    min-width: 0;
}


/* ===== TÍTULO ===== */

.node-scope .contact-card__title {
    margin: 0;
    color: var(--color-text);
    font-family: var(--font-base);
    font-size: 20px;
    font-weight: var(--fw-bold);
    line-height: 1.3;
}


/* ===== DESCRIPCIÓN ===== */

.node-scope .contact-card__description {
    margin: 0;
    color: var(--color-text);
    font-family: var(--font-base);
    font-size: 1rem;
    font-weight: var(--fw-regular);
    line-height: 1.3;
}


/* ===== ACCIÓN / CORREO ===== */

.node-scope .contact-card__action {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 4px 12px;
    border-radius: 20px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-base);
    font-size: 16px;
    font-weight: var(--fw-regular);
    line-height: 1.2;
    text-decoration: none;
    transition: background-color .3s ease;
    margin-top: 8px;
}


.node-scope .contact-card__action:hover {
    background-color: var(--color-purple-dark);
    color: var(--color-white);
}


/* ================================================================
   SOCIAL
================================================================ */

.node-scope .contact-card__socials {
    display: flex;
    align-items: center;

    gap: 10px;
}


.node-scope .contact-card__social-link {
    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--color-primary);

    font-size: 22px;

    line-height: 1;

    text-decoration: none;

    transition:
        color .3s ease,
        transform .3s ease;
}


.node-scope .contact-card__social-link:hover {
    color: var(--color-accent);

    transform: translateY(-2px);
}


/* Card hover - boton drupal */
.node-scope .card_hover__subheading {
    color: white !important;
    opacity: 0;
    text-align: center;
    background: var(--color-purple);
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 1rem 2rem;
    border-radius: 30px;
    position: absolute;
    top: 50% !important;
    left: 0px !important;
    right: 0px !important;
    transform: translateY(-50%) !important;
    transition: all .35s;
    z-index: 3;
}

.node-scope .card_hover__subheading p {
    color: var(--color-white) !important;
    margin: 0;
    font-size: 16px;
}

.node-scope .card_hover:hover .card_hover__subheading {
    opacity: 1;
}

.node-scope .card_hover:hover .card_hover__subheading p {
    color: white !important;
    margin: 0;
    font-size: 16px;
}


/* ---------- Card Hover - drupal ---------- */
.node-scope .card_hover {
    border-radius: 8px;
}


.node-scope .card_hover::before {
    background-image: linear-gradient(180deg, #00000042 0%, #000000 90%);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: "";
    opacity: 1;
    z-index: 1;
}

.node-scope .card_hover:hover::before {
    background-image: linear-gradient(180deg, #00000000 0%, #000000 100%);
    transition: all .3s ease-in-out;
}

.node-scope .card_hover__content-title {

    border-left: none;

}

.node-scope .card_hover:hover::after {
    background-image: none;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: "";
    opacity: 1;
    z-index: 2;
    transition: all .3s ease-in-out;
}


/* ---------- Card horizontal basica ---------- */
.node-scope .card-horizontal {
    display: flex;
    align-items: start;
    justify-content: space-between;
    background-color: transparent;
    transition: transform .3s ease, box-shadow .3s ease;
    border-bottom: 1px solid var(--color-gray-light);
    padding: 2rem 0;
    min-height: fit-content;

}

.node-scope .card-horizontal p {
    line-height: 1.2;

}


/* ---------- Card general ---------- */

.node-scope .card {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.node-scope .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
}

.node-scope .card .card__body {
    margin: 0;
}

.node-scope .card .card__body p {
    margin-bottom: 0;
}

.node-scope .card__text {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.5;
}

.node-scope .card .card__icon i {
    color: var(--color-primary);
    font-size: 1.5rem !important;
}


/* ---------- Topic Card ---------- */

.node-scope .card--topic {
    min-height: 90px;
    display: flex;
    flex-direction: row;
    align-items: start;
    gap: 1rem;
    height: 100%;
    padding: 1rem 1.25rem;
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    transition: transform .3s ease, box-shadow .3s ease;
}

.node-scope .card--topic:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}

.node-scope .card--topic .card__body {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    margin: 0px;
}

.node-scope .card--topic .card__icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 1.4rem;
}

.node-scope .card--topic .card__body {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.node-scope .card--topic .card__body h3 {
    margin: 0;
    font-weight: 400;
    font-size: 1.4rem;
    color: var(--color-primary);
}

.node-scope .card__eyebrow {
    color: var(--color-primary);
    font-size: .85rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.node-scope .card--topic .card__title {
    margin: 0;
    color: var(--color-text);
    font-size: 1rem;
    font-weight: var(--fw-medium);
    line-height: 1.3;
}

/* ---------- Card CTA Observatorio ---------- */

.node-scope .card-cta.card-cta--observatorio {
    border-radius: 8px;
}

.node-scope .card-cta--observatorio .card-cta__image img {
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0px 0px;
}

.node-scope .card-cta--observatorio .card-cta__image {
    border-bottom: none;
}

.node-scope .card-cta--observatorio .card-cta__heading {
    color: var(--color-text);
}



.node-scope .card-cta--observatorio .card-cta__body {
    font-size: 1.2rem;
    min-height: 100px;
    line-height: 1.2;
}


.node-scope .card-cta--observatorio .card-cta__link-content .card-cta__link {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--color-primary);
    padding: 8px 16px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    transition: .2s;
    border-radius: 30px;
}

.node-scope .card-cta--observatorio .card-cta__link-content .card-cta__link {
    border: solid 2px var(--color-primary);
    padding: 7px 16px 7px 16px;
    text-decoration: none;
    font-weight: 400;
    display: inline-block;
}

.node-scope .card-cta--observatorio .card-cta__link-content .card-cta__link::after {
    color: var(--color-white);
    margin-left: 5px;
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    content: "";
}

/* ---------- Testimonial Card ---------- */

.node-scope .cards-testimonios {
    width: 100%;

    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;

    gap: 10px;
}

.node-scope .card-testimonio {
    width: 100%;
    max-width: 416px;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;

    gap: 10px;

    background-color: var(--color-white);
    border-radius: 16px 16px 0 0;
}

.node-scope .card-testimonio__image {
    position: relative;
    width: 100%;
}

.node-scope .card-testimonio__image img {
    width: 100%;
    height: auto;
}

.node-scope .card-testimonio__wrapper {
    position: absolute;
    inset: 0;

    display: flex;

    z-index: 2;

    border-radius: 16px 16px 0 0;
    background-color: rgba(55, 55, 55, .6);
}

.node-scope .card-testimonio__shape i {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translate(-50%, -50%);

    cursor: pointer;

    z-index: 3;

    font-size: 5rem;
    color: var(--color-white);
}

.node-scope .card-testimonio__image .badge-purple-light {
    position: absolute;
    left: 10px;
    bottom: 10px;

    z-index: 4;

    padding: .5rem 1.5rem;

    border: 1px solid var(--color-purple);
    border-radius: 2rem;

    background-color: var(--color-purple-light);
    color: var(--color-purple);
}

.node-scope .card-testimonio__content {
    width: 100%;
    max-width: 416px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 10px;

    padding: 10px 20px;

    background-color: var(--color-white);
    border-radius: 0 0 16px 16px;

    color: var(--color-purple);
}

.node-scope .card-testimonios__content--header h3 {
    margin: 0;
    color: var(--color-purple);
    font-family: var(--font-heading);
    font-size: 1.3em;
    line-height: 1.2;
}

.node-scope .card-testimonios__content--header p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
}


/* ================================================================
   17. PARTNERS / LOGOS
================================================================

   Componente reutilizable para:
   - Organizaciones
   - Patrocinadores
   - Aliados
   - Universidades
   - Convenios

   El título queda fuera del componente y lo administra Drupal/CMS.

================================================================ */

.node-scope .partners-grid {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));

    gap: 2rem;

    align-items: center;
}

.node-scope .partners-grid__item {
    min-height: 120px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 1rem;
}

.node-scope .partners-grid__logo {
    width: 100%;
    max-width: 180px;
    height: auto;

    object-fit: contain;

    opacity: .9;

    transition: transform .3s ease, opacity .3s ease;
}

.node-scope .partners-grid__item:hover .partners-grid__logo {
    opacity: 1;
    transform: scale(1.05);
}


/* ================================================================
   18. LISTADOS / PROGRAMACIÓN
================================================================ */

.node-scope .list-invitados {
    height: fit-content;

    display: flex;
    flex-direction: column;
    flex-wrap: wrap;

    list-style: none;

    padding: 0;
    margin: 0;
}

.node-scope .list-invitados .item-invitado {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    margin-bottom: 1rem;
    padding-left: 20px;
}

.node-scope .list-invitados .item-invitado::before {
    content: "";

    position: absolute;
    top: 7px;
    left: 0;

    width: 10px;
    height: 10px;

    margin-right: 10px;

    border-radius: 50%;
    background-color: var(--color-primary);
}

.node-scope .list-invitados .item-invitado span {
    color: var(--color-primary);
    font-family: var(--font-base);
    font-size: 20px;
    font-weight: var(--fw-bold);
    line-height: 24px;
}

.node-scope .programacion-item {
    padding: 10px 0;
    border-bottom: 1px solid #E2E2E2;
}

.node-scope .programacion-item h5,
.node-scope .programacion-item p {
    margin: 0;
}

.node-scope .programacion-item ul {
    margin: 0;
    padding-left: 20px;
}

.node-scope .programacion-item ul li {
    margin-bottom: 5px;
    padding-left: 0;

    color: var(--color-text);
    font-size: 16px;
    font-weight: var(--fw-regular);
    line-height: 24px;
}


/* ================================================================
   19. EVENTOS
================================================================ */

.node-scope .events {
    width: 100%;
}

.node-scope .event-card {
    display: flex;
    gap: 24px;

    padding: 24px 0;

    border-bottom: 1px solid #E4E4E4;
}

.node-scope .event-date {
    width: 72px;
    min-width: 72px;
    height: 72px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 1px solid #7AC6C6;
    border-radius: 8px;

    background-color: var(--color-blue-green-light);
    color: var(--color-blue-green);

    text-align: center;
}

.node-scope .event-date .day {
    font-size: 34px;
    font-weight: var(--fw-bold);
    line-height: 1;
}

.node-scope .event-date .month {
    margin-top: 6px;
    font-size: 12px;
    text-transform: capitalize;
}

.node-scope .event-content {
    flex: 1;

    display: flex;
    flex-direction: column;
}

.node-scope .event-title {
    margin: 0 0 12px;

    color: #283583;

    font-size: 22px;
    font-weight: var(--fw-bold);
    line-height: 1.3;
}

.node-scope .event-description {
    margin: 0;

    color: #555;

    font-size: 1rem;
    line-height: 1.7;
}

.node-scope .event-footer {
    margin-top: 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.node-scope .event-location {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #0C9AA4;
    font-size: 14px;
}

.node-scope .event-location svg {
    flex-shrink: 0;
}

.node-scope .event-button {
    padding: 10px 20px;

    border-radius: 50px;

    background: #0C9AA4;
    color: var(--color-white);

    text-decoration: none;

    font-size: 14px;
    font-weight: var(--fw-semibold);

    transition: background-color .25s ease;
}

.node-scope .event-button:hover {
    background: #087E85;
}

/* ---------- Paginador ---------- */

.node-scope .events-pagination {
    margin-top: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;
}

.node-scope .events-pagination button {
    cursor: pointer;

    padding: 10px 18px;

    border: none;
    border-radius: 30px;

    background: #F4F4F4;

    transition: .3s ease;
}

.node-scope .events-pagination button:hover:not(:disabled) {
    background: #0C9AA4;
    color: var(--color-white);
}

.node-scope .events-pagination button:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.node-scope .pages {
    display: flex;
    gap: 8px;
}

.node-scope .page-btn {
    width: 42px;
    height: 42px;
    border-radius: 50% !important;
}

.node-scope .page-btn.active {
    background: #0C9AA4 !important;
    color: var(--color-white);
}


/* ================================================================
   20. TIMELINE
================================================================ */

.node-scope .timeline-wrapper {
    position: relative;
    width: 100%;
}

.node-scope .timeline-track-wrapper {
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
}

.node-scope .timeline-track {
    position: relative;

    width: max-content;

    display: flex;
    align-items: flex-start;

    gap: 2rem;

    padding: 20px 0 32px;

    transition: transform .4s ease;
}

.node-scope .timeline-track::before {
    content: "";

    position: absolute;
    top: 112px;
    left: 0;

    width: 500%;
    height: 2px;

    z-index: 1;

    background: #C9C9C9;
}

.node-scope .timeline-item {
    position: relative;

    flex: 0 0 248px;

    z-index: 2;
}

.node-scope .timeline-card {
    margin-bottom: 28px;
}

.node-scope .timeline-date {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 12px 18px;

    background: var(--color-blue-green-light);
    color: var(--color-blue-green);

    font-size: 20px;
    font-weight: var(--fw-bold);

    box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
}

.node-scope .timeline-date svg {
    width: 20px;
    height: 20px;
}

.node-scope .timeline-dot {
    position: relative;

    width: 18px;
    height: 18px;

    margin-bottom: 24px;

    z-index: 3;

    border-radius: 50%;

    background: var(--color-blue-green);
}

.node-scope .timeline-title {
    margin: 0;

    color: #6B6B6B;

    font-size: 20px;
    font-weight: var(--fw-bold);
    line-height: 1.3;
}

.node-scope .timeline-controls {
    margin-top: 10px;

    display: flex;
    justify-content: center;

    gap: 18px;
}

.node-scope .timeline-btn {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: var(--color-blue-green);
    color: var(--color-white);

    cursor: pointer;

    transition: transform .25s ease;
}

.node-scope .timeline-btn:hover {
    transform: scale(1.05);
}

.node-scope .timeline-btn.disabled {
    opacity: .35;
    pointer-events: none;
}


/* ================================================================
   21. MENSAJES
================================================================ */

.node-scope .mensaje-primary {
    padding: 1.5rem;

    border-left: 10px solid var(--color-primary);
    border-radius: 0 16px 16px 0;

    background-color: var(--color-red-light);

    box-shadow: 0 4px 16px rgba(0, 0, 0, .10);
}

.node-scope .mensaje-primary h4 {
    color: var(--color-primary);
}

.node-scope .mensaje-primary ul {
    margin: 0 auto 28px;
    padding-left: 16px;
}

.node-scope .mensaje-primary li {
    margin: 0;
    padding: 0;
}

.node-scope .mensaje-primary li::marker {
    color: var(--color-primary);
    font-size: 20px;
}


/* ================================================================
   22. READ MORE
================================================================ */

.node-scope .read-more {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.node-scope .read-more__content {
    display: -webkit-box;
    overflow: hidden;

    -webkit-box-orient: vertical;

    transition: all .4s ease;
}

.node-scope .read-more.collapsed .read-more__content {
    -webkit-line-clamp: var(--lines);
}

.node-scope .read-more.collapsed::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 30px;

    width: 100%;
    height: 60px;

    background: linear-gradient(to bottom, transparent, white);

    pointer-events: none;
}

.node-scope .read-more__btn {
    margin-top: 10px;

    display: inline-flex;
    align-items: center;

    gap: 6px;

    border: none;
    background: none;

    color: var(--color-primary);

    cursor: pointer;
    font-weight: var(--fw-regular);
}


/* ================================================================
   23. TABS
================================================================ */

.node-scope .tab-bootstap .nav {
    flex-wrap: nowrap;
    margin-bottom: 10px;
    box-shadow: none;
}

.node-scope .tab-bootstap .tab-content {
    width: 100%;
    padding: 32px;
    background: var(--color-white);
    border-radius: 16px;
}

.node-scope .tab-bootstap .nav-link.active {
    color: var(--color-primary);
    background-color: var(--color-green-light);
}

.node-scope .tab-bootstap .nav-link span {
    margin-right: 5px;
    color: #475569;
    font-size: 1.2rem;
}

.node-scope .tab-bootstap .nav-link.active span {
    color: var(--color-primary);
}

.node-scope .tab-bootstap .nav-link.active a {
    color: var(--color-primary);
}

.node-scope .tab-bootstap .nav-link a {
    color: #475569;
}

/* ---------- Vertical ---------- */

.node-scope .tab-bootstap--vertical .nav-item,
.node-scope .tab-bootstap--horizontal .nav-item {
    width: 313px;
    margin-bottom: 10px;
    background-color: transparent;
}

.node-scope .tab-bootstap--vertical .nav-link,
.node-scope .tab-bootstap--horizontal .nav-link {
    min-height: fit-content;

    padding: 22px;

    border: none;
    border-radius: 24px;

    transition: all .2s;
}

.node-scope .tab-bootstap--vertical .nav-link.active,
.node-scope .tab-bootstap--horizontal .nav-link.active {
    border: 1px solid var(--color-primary);
    box-shadow: 2px 2px 2px rgba(0, 0, 0, .1);
    transform: none;
}

.node-scope .tab-bootstap--vertical .nav .link,
.node-scope .tab-bootstap--horizontal .nav .link {
    min-height: fit-content;

    text-align: left !important;
    justify-content: flex-start !important;

    font-family: var(--font-base);
    font-size: 1rem !important;
    font-weight: var(--fw-bold);

    text-decoration: none;
}

.node-scope .tab-content .card {
    border: none;
}

.node-scope .tab-content .card-body {
    flex: 1 1 auto;
    padding: 1rem 0;
}


/* ================================================================
   24. ACORDEONES
================================================================ */

.node-scope.preguntas .container-default,
.node-scope .content-container-default,
.node-scope.formulario .layout-content {
    padding: 1rem;
    border-radius: 16px;
}

.node-scope.preguntas .accordion-item__heading {
    margin: 0;

    font-family: var(--font-base);
    font-size: 16px;
    font-weight: var(--fw-bold);
}

.node-scope .accordion-button {
    position: relative;

    width: 100%;

    display: flex;
    align-items: center;

    margin-bottom: 1rem;

    text-align: left;

    border-left: none;
}

.node-scope .accordion-item:last-of-type .accordion-button.collapsed {
    border: 1px solid var(--color-blue-green);
    border-radius: 8px;

    background-color: var(--color-blue-green-light);
    color: var(--color-blue-dark);

    font-family: var(--font-heading);
    font-weight: var(--fw-regular);
}

.node-scope .accordion-button:not(.collapsed) {
    margin-bottom: 0;

    border-radius: 8px;

    background-color: var(--color-blue-green-dark);
    color: var(--color-white);

    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .13);
}

.node-scope .accordion-item__content .accordion-header .accordion-button {
    display: flex;
    justify-content: flex-start;
    gap: .6rem;

    border-left: none;
}

.node-scope .accordion-item__content .accordion-header .accordion-button .accordion-item__heading {
    width: 100%;
    margin-bottom: 0;

    font-family: var(--font-base);
    font-size: 16px;
}


/* ---------- Tabs mobile / accordion ---------- */

.node-scope .tab-accordion-mobile .accordion-header:not(.collapsed) {
    padding: 0;

    border: 1px solid var(--color-primary);
    border-radius: 8px;

    background-color: var(--color-green-light);
}

.node-scope .tab-accordion-mobile .accordion-header:not(.collapsed)>a {
    margin-bottom: 0;
    color: var(--color-primary);
}

.node-scope .tab-accordion-mobile .accordion-header a {
    color: #475569;
    font-size: 1.1rem;
    font-weight: var(--fw-regular);
    text-decoration: none;
}

.node-scope .tab-accordion-mobile .accordion-item {
    padding: 0;
    border: none;
    background-color: var(--color-white);
}


/* ================================================================
   25. GALERÍA
================================================================ */

.node-scope .gallery {
    max-width: 900px;
    margin-inline: auto;
}

.node-scope .gallery-main {
    position: relative;
    overflow: hidden;
}

.node-scope .gallery-main img {
    width: 100%;
    height: 400px;

    object-fit: cover;

    border-radius: 10px;

    opacity: 1;
    transform: translateX(0);

    transition: all .4s ease;
}

.node-scope .gallery-main img.fade-out-left {
    opacity: 0;
    transform: translateX(-30px);
}

.node-scope .gallery-main img.fade-out-right {
    opacity: 0;
    transform: translateX(30px);
}

.node-scope .gallery-main img.fade-in {
    opacity: 1;
    transform: translateX(0);
}

.node-scope .nav-gallery {
    position: absolute;
    top: 50%;

    z-index: 10;

    padding: 10px 15px;

    transform: translateY(-50%);

    border: none;
    border-radius: 50%;

    background: rgba(0, 0, 0, .4);
    color: var(--color-white);

    cursor: pointer;

    font-size: 20px;
}

.node-scope .gallery-main .prev {
    left: 10px;
}

.node-scope .gallery-main .next {
    right: 10px;
}

.node-scope .gallery-thumbs-wrapper {
    position: relative;

    display: flex;
    align-items: center;
}

.node-scope .gallery-thumbs {
    width: 100%;

    display: flex;

    gap: 10px;

    overflow: hidden;

    scroll-behavior: smooth;
}

.node-scope .gallery-thumbs img {
    width: 120px;
    min-width: 120px;
    height: 80px;
    flex-shrink: 0;

    object-fit: cover;

    border-radius: 8px;

    cursor: pointer;

    opacity: .6;

    transition: .3s;
}

.node-scope .gallery-thumbs img:hover,
.node-scope .gallery-thumbs img.active {
    opacity: 1;
}

.node-scope .gallery-thumbs img.active {
    border: 2px solid var(--color-green-light);
}

.node-scope .thumb-nav {
    position: absolute;

    bottom: 0;

    z-index: 2;

    height: 80px;

    padding: 8px 12px;

    border: none;
    border-radius: 0;

    background: rgba(0, 0, 0, .4);
    color: var(--color-white);

    cursor: pointer;
}

.node-scope .thumb-nav.prev {
    left: 0;
}

.node-scope .thumb-nav.next {
    right: 0;
}


/* ================================================================
   26. TICKER
================================================================ */


/* ===== CONTENEDOR ===== */

.node-scope .ticker {
    width: 100%;
    overflow: hidden;
    padding: .65rem 0;
}


/* ===== TRACK ===== */

.node-scope .ticker-track {
    display: flex;
    width: max-content;

    will-change: transform;

    animation: ticker-left 30s linear infinite;
}


/* ===== TRACK INVERSO ===== */

.node-scope .ticker-track--reverse {
    animation: ticker-right 30s linear infinite;
}


/* ===== GRUPO ===== */

.node-scope .ticker-group {
    display: flex;
    align-items: center;

    gap: 4rem;

    flex-shrink: 0;

    padding-right: 4rem;
}


/* ===== ITEM ===== */

.node-scope .ticker-group span {
    display: flex;
    align-items: center;
    gap: 1rem;

    flex-shrink: 0;

    padding: 16px;

    border-radius: 12px;

    background-color: var(--color-white);
    color: var(--color-primary);

    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);

    font-family: var(--font-base);
    font-size: 18px;
    font-weight: var(--fw-bold);

    line-height: 1;

    white-space: nowrap;
    text-transform: uppercase;
}


/* ===== ICONO ===== */

.node-scope .ticker-group span i {
    flex-shrink: 0;
    color: var(--color-primary);
}


/* ================================================================
   ANIMACIONES
================================================================ */


/* Fila superior
   ← ← ← ← ←
*/

@keyframes ticker-left {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


/* Fila inferior
   → → → → →
*/

@keyframes ticker-right {

    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }

}

/* ================================================================
   27. CONTACTO
================================================================ */

.node-scope.bgc-contact .layout-content {
    width: 100%;
    min-height: 180px;

    display: flex;
    flex-direction: column;

    gap: 10px;

    padding: 20px;

    border-radius: 16px;

    background-image: url("https://urosario.edu.co/sites/default/files/2026-05/fondo-contacto_0.webp") !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.node-scope .redes-contacto {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 0;

    margin-top: 1.5rem;
    margin-bottom: 0;

    padding-left: 0;

    list-style: none;
}

.node-scope .redes-contacto-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 10px;
}

.node-scope .redes-contacto-item i,
.node-scope .redes-contacto-item a {
    color: var(--color-white);
    font-size: 20px;
}


/* ---------- Pilares ---------- */

.node-scope .pilar {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;
}


/* ================================================================
   28. TABLAS
================================================================ */

.node-scope table {
    width: 100%;

    border: 1px solid #E2E2E2;
    border-collapse: collapse;
    border-radius: 16px;

    background-color: var(--color-white);

    box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
}

.node-scope table thead {
    background-color: var(--color-green-light);
    color: var(--color-primary);
    font-size: 20px;
    font-weight: var(--fw-bold);
}

.node-scope table thead th {
    padding: 12px 20px;

    font-family: var(--font-base);
    font-size: 16px;
    font-weight: var(--fw-extrabold);
    line-height: 24px;

    text-align: center;
}

.node-scope table tbody {
    background-color: var(--color-white);
}

.node-scope table tbody td {
    padding: 12px 20px;

    border-bottom: 1px solid #E2E2E2;

    font-family: var(--font-base);
    font-size: 16px;
    font-weight: var(--fw-medium);
    line-height: 24px;
}

.node-scope table tbody tr td:first-child {
    border-right: 1px solid #E2E2E2;
}

.node-scope table tr td:last-child {
    text-align: center;
}


/* ================================================================
   29. MODALES
================================================================ */

/* modal paginado */

.node-scope .modal-header h2 {
    margin-bottom: 0;
    font-size: 1.25rem;
}


.node-scope .card-carousel .splide__arrow.splide__arrow--prev:hover::before,
.node-scope .card-carousel .splide__arrow.splide__arrow--next:hover::before {
    color: var(--color-primary);
}

.modal-carousel .modal-content {
    padding: 0px;
}

.node-scope .modal-carousel .modal-header button {
    position: absolute;
    margin: 0;
    top: 50%;
    right: 2%;
    transform: translateY(-50%);
}

.node-scope .btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: .25em .25em;
    color: #fff;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center / 1em auto no-repeat;
    border: 0;
    border-radius: .25rem;
    opacity: .5;
}

.node-scope .modal-carousel .row-1 {
    max-width: 100%;
    width: auto;

}

.node-scope .imgModal {
    display: none;
}

.node-scope .modal-dialog {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.node-scope .modal-header {
    background-color: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.node-scope .modal-header h5 {
    margin: 0;

    color: var(--color-white);

    font-family: var(--font-base);
    font-size: 20px;
    font-weight: var(--fw-bold);
    line-height: 24px;
}


/* ================================================================
   30. BOTONES
================================================================ */

/* ---------- Icon redes ---------- */
.node-scope .box-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: none;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-base);
    font-size: 20px;
    font-weight: var(--fw-bold);
    cursor: pointer;
    text-decoration: none;
    transition: all .3s ease;
}

.node-scope .box-icon:hover {
    border-color: var(--color-red-light);
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* ---------- Outline Gray ---------- */

.node-scope .btn-outline-gray {
    padding: 5px 20px;

    border: 1px solid var(--color-text);
    border-radius: 32px;

    background-color: #EBEBEB;
    color: var(--color-text);

    font-family: var(--font-base);
    font-size: 16px;
    font-weight: var(--fw-light);
    line-height: 16px;

    text-decoration: none;

    transition: all .3s ease;
}

.node-scope .btn-outline-gray:hover {
    border-color: var(--color-primary);
    background-color: #EBEBEB;
    color: var(--color-primary);
}


/* ---------- Outline Primary ---------- */

.node-scope .btn-outline-primary {
    width: fit-content;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 10px 20px;

    border: 1px solid var(--color-primary);
    border-radius: 32px;

    background-color: var(--color-red-light);
    color: var(--color-primary);

    font-family: var(--font-base);
    font-size: 20px;
    font-weight: var(--fw-regular);
    line-height: 24px;

    text-decoration: none;

    transition: all .3s ease;
}

.node-scope .btn-outline-primary i {
    color: var(--color-primary);
    font-size: 20px;
}

.node-scope .btn-outline-primary:hover {
    border-color: var(--color-red-light);
    background-color: var(--color-primary);
    color: var(--color-white);
}

.node-scope .btn-outline-primary:hover i {
    color: var(--color-white);
}


/* ---------- Red / Primary ---------- */

.node-scope .btn-red {
    width: fit-content;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 9px 35px;

    border: none;
    border-radius: 30px;

    background-color: var(--color-primary);
    color: var(--color-white);

    font-family: var(--font-base);
    font-size: 20px;
    font-weight: var(--fw-regular);

    text-decoration: none;

    cursor: pointer;

    transition: all .3s ease;
}

.node-scope .btn-red:hover {
    background-color: var(--color-red-dark);
    color: var(--color-white);
}


/* ---------- Purple ---------- */

.node-scope .btn-purple {
    width: fit-content;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 8px 35px;

    border-radius: 30px;

    background-color: var(--color-primary);
    color: var(--color-white);

    font-family: var(--font-base);
    font-size: 16px;
    font-weight: var(--fw-regular);

    text-decoration: none;

    cursor: pointer;

    transition: all .3s ease;
}

.node-scope .btn-purple:hover {
    background-color: var(--color-purple-dark);
    color: var(--color-white);
}


/* ---------- Blue Green ---------- */

.node-scope .btn-blue-green {
    width: fit-content;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 9px 25px;
    border: none;
    border-radius: 30px;
    background-color: var(--color-blue-green);
    color: var(--color-white);
    font-family: var(--font-base);
    font-size: 16px;
    font-weight: var(--fw-regular);
    text-decoration: none;
    cursor: pointer;
    transition: all .3s ease;
}

.node-scope .btn-blue-green:hover {
    background-color: var(--color-blue-green-dark);
    color: var(--color-white);
}


/* ---------- Icon ---------- */

.node-scope .btn-icon {
    width: 100%;
    min-height: 153px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 10px;
    padding: 20px 25px;

    border: 1px solid transparent;
    border-radius: var(--radius-md);

    background-color: var(--color-white);
    color: var(--color-text);

    font-family: var(--font-base);
    font-size: 16px;
    font-weight: var(--fw-extrabold);
    line-height: 1.2;

    text-decoration: none;
    text-align: center;

    cursor: pointer;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* ===== ICONO ===== */

.node-scope .btn-icon i,
.node-scope .btn-icon svg {
    font-size: 50px;
    color: var(--color-primary);
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


/* ===== TEXTO ===== */

.node-scope .btn-icon p {
    color: var(--color-text) !important;
    transition: color 0.3s ease;
    margin-bottom: 0;
}


/* ===== HOVER ===== */

.node-scope .btn-icon:hover {
    background-color: var(--color-primary);
    color: var(--color-white);

    border-color: var(--color-primary);

    transform: translateY(-3px);

    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.node-scope .btn-icon:hover p {
    color: var(--color-white) !important;
}


.node-scope .btn-icon:hover i,
.node-scope .btn-icon:hover svg {
    color: var(--color-white);
    transform: scale(1.05);
}


/* ===== FOCUS ===== */

.node-scope .btn-icon:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}


/* ===== ACTIVE ===== */

.node-scope .btn-icon:active {
    transform: translateY(0);
}


/* ===== DISABLED ===== */

.node-scope .btn-icon:disabled,
.node-scope .btn-icon.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* ---------- Enlace ---------- */

.node-scope .btn-enlace {
    width: fit-content;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    padding: .4em 1.2em;

    border: 1px solid var(--color-primary);
    border-radius: 32px;

    background-color: var(--color-primary);
    color: var(--color-white);

    font-size: 20px;
    font-weight: var(--fw-regular);

    text-decoration: none;

    cursor: pointer;
}

.node-scope .btn-enlace:hover {
    border-color: var(--color-primary);

    background-color: var(--color-secondary);
    color: var(--color-primary);
}


/* ================================================================
   31. FORMULARIOS
================================================================ */

.node-scope .form-item__label {
    color: var(--color-text);
    font-family: var(--font-base);
    font-weight: var(--fw-light);
}

.node-scope legend.h2 {
    margin: 1rem 0 .5rem;

    color: var(--color-text);

    font-family: var(--font-base);
    font-size: 1.1rem;
    font-weight: var(--fw-semibold);
    line-height: 1.4;
}

.node-scope .js-form-item-title .form-item__label {
    display: none;
}

.node-scope .form-text,
.node-scope [type="email"],
.node-scope [type="tel"],
.node-scope [type="number"] {
    width: 100%;
}

.node-scope .form-fieldset .form-item {
    max-width: 100%;
    margin-left: 1em;
}

.node-scope .form-item__textfield.form-submit {
    width: 100%;

    border: 1px solid var(--color-primary);
    border-radius: 12px;

    background-color: var(--color-primary);
    color: var(--color-white);
}

.node-scope .form-item__textfield.form-submit:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.node-scope .form-select,
.node-scope .form-select option {
    color: var(--color-text);
    background-color: var(--color-white);
}


/* ================================================================
   32. INSTAGRAM / EMBEDS
================================================================ */

.node-scope .instagram-video {
    width: 100%;
    aspect-ratio: 9 / 14;
}

.node-scope .instagram-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


/* ================================================================
   33. RESPONSIVE
================================================================

   Desktop First

   XL Desktop       > 1600px
   Desktop          1401px - 1600px
   Large desktop    1202px - 1400px
   Laptop           1024px - 1201px
   Tablet           768px - 1023px
   Mobile           436px - 767px
   Mobile pequeño   <= 435px

================================================================ */


/* ---------- 33.1 Desktop XL ---------- */

@media (min-width: 1601px) {
    /* Reservado para ajustes XL */
}


/* ---------- 33.2 Desktop ---------- */

@media (min-width: 1401px) and (max-width: 1600px) {
    /* Reservado para ajustes desktop */
}


/* ---------- 33.3 Large desktop ---------- */

@media (min-width: 1202px) and (max-width: 1400px) {

    .node-scope .cont-menu {
        top: clamp(80px, 10vh, 120px);
    }

    .node-scope .layout__region.layout__region--second {
        display: flex;
        justify-content: space-evenly;
    }

    .node-scope .card-redes-movilidad {
        min-width: 320px;
    }
}


/* ---------- 33.4 Laptop ---------- */

@media (min-width: 1024px) and (max-width: 1201px) {

    .node-scope .hero-image__body p {
        width: 70%;
    }

    .node-scope .layout__region.layout__region--second {
        display: flex;
        justify-content: space-evenly;
    }

    .node-scope .card-redes-movilidad {
        min-width: 320px;
    }
}


/* ---------- 33.5 Tablet ---------- */

@media (min-width: 768px) and (max-width: 1023px) {

    .node-scope .cont-menu {
        top: 80px;
    }

    .node-scope .hero-image__body h1 {
        font-size: 32px !important;
    }

    .node-scope .hero-image__body p {
        width: 70%;
        line-height: 1;
    }

    .node-scope .layout__region.layout__region--second {
        display: flex;
        justify-content: space-evenly;
    }

    .node-scope .card-redes-movilidad {
        min-width: 220px;
    }

    .node-scope .grid--3 {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 16px;
    }

    .node-scope .banner--cta {
        gap: 1.5rem;
    }

    .node-scope .timeline-track {
        gap: 24px;
    }
}


/* ---------- 33.6 Mobile ---------- */

@media (min-width: 436px) and (max-width: 767px) {

    .node-scope .cont-menu {
        top: 80px;
    }

    .node-scope .hero-image__body h1 {
        width: 100%;
        margin-top: 51%;

        font-size: 24px !important;
        line-height: 1;
    }

    .node-scope .hero-image__body p {
        line-height: 1.2;
    }

    .node-scope .grid--3 {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 16px;
    }

    .node-scope .banner {
        padding: 2rem 1.5rem;
    }

    .node-scope .banner__icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    .node-scope .banner__text {
        font-size: 1.1rem;
    }

    .node-scope .banner--cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
    }

    .node-scope .card--topic {
        padding: 1rem;
    }

    .node-scope .card--topic .card__icon {
        width: 44px;
        height: 44px;
    }

    .node-scope .event-card {
        gap: 16px;
    }

    .node-scope .event-footer {
        align-items: flex-start;
    }

    .node-scope .redes-contacto-item {
        width: 100%;

        display: flex;
        align-items: flex-start;
        justify-content: flex-start;

        gap: 10px;

        flex-wrap: nowrap;
    }

    .node-scope .redes-contacto-item a {
        display: flex;
        flex-wrap: wrap;

        line-height: 1;
        overflow-wrap: anywhere;
    }

    .node-scope .timeline-track {
        gap: 24px;
        padding-bottom: 60px;
    }

    .node-scope .timeline-item {
        flex: 0 0 calc(100% - 70px);
    }

    .node-scope .timeline-date {
        padding: 10px 16px;
        font-size: 18px;
    }

    .node-scope .timeline-title {
        font-size: 18px;
    }

    .node-scope .timeline-track::before {
        top: 108px;
    }

    .node-scope .card {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .node-scope .card__title {
        font-size: 1.5rem;
    }

    .node-scope .card__text {
        font-size: 1rem;
    }
}


/* ---------- 33.7 Mobile pequeño ---------- */

@media (max-width: 435px) {

    .node-scope .grid--3 {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 16px;
        width: 100%;
    }

    .node-scope .hero-image__content-wrapper {
        align-items: flex-end;
    }

    .node-scope .hero-image__body {
        max-width: 100%;

        display: flex;
        flex-direction: column;

        gap: 1rem;
    }

    .node-scope .hero-image__body h1 {
        width: 100%;

        font-size: 20px !important;
        line-height: 1;
    }

    .node-scope .hero-image__body p {
        line-height: 1.2;
    }

    .node-scope .event-card {
        flex-direction: column;
    }

    .node-scope .event-date {
        width: 90px;
    }

    .node-scope .event-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .node-scope .event-button {
        width: 100%;
        text-align: center;
    }

    .node-scope .banner--cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
    }

    .node-scope .redes-contacto-item {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;

        flex-wrap: nowrap;
    }

    .node-scope .redes-contacto-item a {
        display: flex;
        flex-wrap: wrap;

        line-height: 1;
        overflow-wrap: anywhere;
    }

    .node-scope .card--topic {
        padding: 1rem;
    }

    .node-scope .card--topic .card__icon {
        width: 44px;
        height: 44px;
    }

    .node-scope .timeline-track {
        gap: 24px;
        padding-bottom: 60px;
    }

    .node-scope .timeline-item {
        flex: 0 0 calc(100% - 40px);
    }
}


/* ================================================================
   34. OVERRIDES ESPECÍFICOS DE NODO
================================================================

   IMPORTANTE:
   Este bloque queda reservado para reglas que dependan de:
   - una página concreta
   - un ID generado por Drupal
   - una clase de nodo
   - un layout específico

   Ejemplo:

   .node-scope.home .hero-image__body h1 {
       ...
   }

   .node-scope #acId686373429 {
       ...
   }

   Evitar introducir aquí componentes reutilizables.

================================================================ */

/* ===== EJEMPLOS ===== */

/*
.node-scope.home .hero h1 {
    ...
}

.node-scope.preguntas #acId686373429 {
    ...
}
*/


/* ================================================================
   FIN DEL FRAMEWORK
================================================================ */