@import url('https://fonts.cdnfonts.com/css/neue-haas-grotesk-display-pro');

/* Font Awesome 6.5.1 */

@import url('fontawesome.min.css');
@import url('brands.min.css');
@import url('solid.min.css');
@import url('regular.min.css');
@import url('light.min.css');

                
/* CSS Variables */
:root {
    /* Primary Colors */
    --color-primary-blue: #0033FF;
    --color-primary-blue-600: #001EA8;
    --color-primary-blue-400: #5D69FF;
    --color-primary-blue-300: #9D96FF;
    --color-primary-blue-200: #BFC1FF;
    --color-primary-blue-100: #EDECFF;
    --color-primary-blue-50: #F2F5FF;
    --color-3-azul: #F7F9FF;
    
    --color-dark-blue: #000B58;
    --color-medium-blue: #EFEFEF;
    --color-light-blue: #052FD9;
    
    
    /* Tertiary Colors */
    
    --color-tertiary-600: #6300A3;
    --color-tertiary-700: #36005E;
    
    
    /* Accent Colors */
    --color-purple: #6300A3;
    --color-purple-300: #B58EFF;
    --color-purple-200: #D3BFFF;
    --color-purple-100: #D9DDE7;
    --color-purple-dark: #A8B6CB;
    
    --color-pink: #FF99BD;
    --color-pink-100: #FFD4E1;
    --color-pink-50: #FFEEF3;
    
    --color-cyan: #00D2C8;
    --color-cyan-100: #99EDE8;
    --color-cyan-50: #D9F8F7;
    
    --color-yellow: #F2DA00;
    --color-yellow-100: #F9ED80;
    --color-yellow-50: #FCF8CC;
    
    --color-orange: #FC6631;
    --color-orange-100: #FE8398;
    --color-orange-50: #FEEOD6;
    
    /* Grays */
    --color-gray-900: #0E1117;
    --color-gray-800: #242934;
    --color-gray-700: #40495A;
    --color-gray-600: #4B5563;
    --color-gray-500: #6B7280;
    --color-gray-400: #9CA3AF;
    --color-gray-300: #D1D5DB;
    --color-gray-200: #E5E7EB;
    --color-gray-100: #F3F4F6;
    --color-gray-80: #EFEFEF;
    --color-gray-50: #F9FAFB;
    --color-white: #FFFFFF;
    --color-black: #000000;
    
    /* Typography */
    --font-family: 'Neue Haas Grotesk Display Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.5;
    
    --color-text: #40495A;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family)!important;
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text);
    background-color: var(--color-white);
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif!important;
    -webkit-font-smoothing: antialiased;
}

.w-100 {
   width: 100%;
}
.w-inherit {
   width: inherit!important;
}
.w-auto {
   width: auto!important;
}
.h-16px {
   height: 16px;
}
.display-inherit {
   display: inherit!important;
}
.display-flex {display: flex;}
.justify-content-center {justify-content: center;}

a {
   color: var(--color-primary-blue);
}
strong {
  font-weight: 600;
}

.admin-bar {
  margin-top: -32px;
}
.admin-bar #wpadminbar {
  display: none;
}
.logged-in.admin-bar {
  margin-top: 0;
}
.logged-in.admin-bar #wpadminbar {
  display: block;
}


/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Home Styles */
.hero-home {
    background-color: #efefef;
    position: relative;
    overflow: hidden;
}

.hero-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 80px 20px; */
}

.hero-text {
    flex: 1;
    color: white;
    z-index: 2;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 24px;
}

.hero-explora {
    display: block;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3;
}

.hero-illustration {
    /* flex: 0 0 600px; */
    position: relative;
    z-index: 1;
    line-height: 1em;
}

.hero-illustration img {
    width: 100%;
    height: auto;
}

/* Home News Section */
.home-news {
    padding: 80px 0;
}

.news-featured {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 100px;
    align-items: center;
    margin-bottom: 64px;

}

.news-featured-content {
    order: 2;
}

.news-featured-image {
    order: 1;
    height: 100%;
}

.news-featured-image img {
    width: 100%;
    /* height: auto; */
    object-fit: cover;
    height: 100%;
}

.news-featured-title {
    /* font-size: 32px; */
    /* font-weight: 600; */
    /* color: var(--color-primary-blue); */
    margin-bottom: 16px;
    /* line-height: 1.2; */
    color: var(--color-marengo-texto, #40495A);

    font-size: 38px;
    font-style: normal;
    font-weight: 500;
    line-height: 46px; /* 121.053% */
    letter-spacing: 0.76px;
}

.news-featured-excerpt {
    /* font-size: 18px; */
    /* color: var(--color-gray-600); */
    /* line-height: 1.6; */
    margin-bottom: 24px;
    color: var(--color-marengo-texto, #40495A);

    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px; /* 175% */
    letter-spacing: 0.32px;
}

/* News Carousel with Owl Carousel */
.news-carousel-wrapper {
    position: relative;
    margin-bottom: 48px;
    width: 100%;
}

.news-carousel {
    position: relative;
    margin-bottom: 60px;
}

.news-carousel .news-card {
    margin-bottom: 0;
    margin-right: 20px;
    gap: 20px;
}
.news-carousel .news-card .news-card-content .news-title,
.news-carousel .news-card .news-card-content .news-excerpt {
  overflow: hidden;
  display: -webkit-box; 
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; 
  text-overflow: ellipsis;  
}
.news-carousel .news-card .news-card-content .news-title {
  height: 80px;
}
.news-carousel .news-card .news-card-content .news-excerpt {
  height: 72px;
}

/* Custom Owl Carousel Navigation */
.news-carousel .owl-nav {
    position: absolute;
    bottom: -50px;
    right: 0;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.news-carousel .owl-nav button {
   
    width: 32px !important;
    height: 32px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    
    font-size: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
}

.news-carousel .owl-nav button:hover {
    color: white !important;
    background: transparent !important;
}

.news-carousel .owl-nav button.owl-prev::after {
    content: '';
    background: url(https://dev.explora.cl/wp-content/themes/lc-blank/explora/assets/images/general/chevron-left-azul.svg);
    border: 0;
    width: 30px;
    height: 24px;
    object-fit: contain;
    background-size: 100%;
}

.news-carousel .owl-nav button.owl-next::after {
    content: '';
    margin-left: 2px;
    background: url(https://dev.explora.cl/wp-content/themes/lc-blank/explora/assets/images/general/chevron-righr-azul.svg);
    border: 0;
    width: 30px;
    height: 24px;
    object-fit: contain;
    background-size: 100%;
}

.news-carousel .owl-nav button:hover::after {
    border-left-color: white;
    border-right-color: white;
}

/* Dark mode - arrows del carrusel igual que modo normal */
.dark-mode .news-carousel .owl-nav button.owl-prev::after,
.dark-mode .news-carousel .owl-nav button.owl-next::after {
    color: inherit;
}

.dark-mode .news-carousel .owl-nav button:hover::after {
    border-left-color: white;
    border-right-color: white;
}

/* Hide default dots */
.news-carousel .owl-dots {
    display: none;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #BFC1FF;
    padding: 70px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.comunidad-escolar-grid {
    margin-bottom: 60px;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.testimonial-card {
    background-color: white;
    overflow: hidden;
    text-align: center;
    padding: 15px;
}
.comunidad-escolar-grid .testimonial-card {
  padding: 5px;
  border: 1px solid rgba(0,0,0,0.1);
}

.testimonial-card img {
    width: 100%;
    height: auto;
    display: block;
}

.testimonial-card h4 {
  font-size: 20px;
  line-height: 1.3;
  text-align: left;
  margin: 15px 0;
}

.comunidad-escolar-grid .testimonial-card h4 {
  font-size: 16px;
}

.testimonial-card .btn {
background-color: var(--color-purple);
}

/* Button Secondary Style */
.btn-secondary {
    background-color: var(--color-purple);
    color: white;
    border: none;
    border-radius: 0;
    font-weight: 500;
    width: 360px;
    max-width: 100%;
}

.btn-secondary:hover {
    background-color: var(--color-tertiary-700);
    color: #fff;
}

/* Utility Classes */
.text-center {
    text-align: center;
}




/* =============================================== REGION SINGLE */


/* Region Header */

.region-header {
    background-color: var(--color-gray-80);
    padding: 5px 0 10px;
}
.region-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.region-title {
    font-size: 38px;
    font-weight: 400;
}

.region-icon {
    width: 50px;
    height: 50px;
}

/* Region Banner */

.region-banner {
    background: #F2DA00;
    padding: 20px 0;
}
.region-content {
    display: flex;
    align-items: center;
}
.region-icon {
    width: 300px;
    height: 300px;
    flex-shrink: 0;
}
.region-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.region-text {
   width: calc(100% - 300px);
   padding-left: 150px;
   display: flex;
   flex-direction: column;
   justify-content: center;
}
.region-text h2,
.region-text p {
   margin: 0;
   line-height: 1.2;
   color: #fff;
}
.region-text h2 {
    font-size: 65px;
    font-weight: 700;   
}
.region-text p {
    font-size: 60px;
    font-weight: 500;  
}
.region-icon-thumb {
   width: 100px;
   height: 100px;
   margin-top: -35px;
}








/* SecciÃ³n principal Explora - FIX CRÃTICO PARA IMAGEN */

.explora-section {
    background: #FFFFFF;
    padding: 70px 0;
}

.explora-grid {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 30px;
    align-items: start;
}

.explora-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.explora-text h2 {
    /* font-size: 22px; */
    /* font-weight: 500; */
    color: var(--color-text);
    margin-bottom: 15px;
    line-height: 1.3;
    font-size: 38px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.76px;
}

.explora-text p {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5; /* 175% */
    letter-spacing: 0.32px;color: var(--color-text);
}

/* ELIMINADO: botÃ³n inventado que no existe en diseÃ±o original */

/* NavegaciÃ³n de tabs exacta */
.tabs-nav-section {
    background: #FFFFFF;
    padding: 20px 0;
    /* border-top: 1px solid #E8E8E8; */
}

.tabs-nav {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    border-bottom: 1px solid #E8E8E8;
}

.tab-navigation {
    display: flex;
    gap: 11px;
    margin: 60px 0 0px 0;
    border-bottom: 1px solid #CFCACA;
    justify-content: space-between;
}

.page-id-38322 .tab-navigation {
  margin-top: 100px;
}

.tab-link {
   color: var(--color-text);
    text-decoration: none;
    border: none;
    border-bottom: 4px solid transparent;
    padding: 10px 32px;
    transition: color 0.2s;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 162.5%;
    position: relative;
    min-width: 190px;
    justify-content: center;
    display: flex;
    gap: 10px;
    align-items: center;
}

.tab-link.active {
    color: var(--color-primary-blue);
    border-bottom-color: var(--color-primary-blue);
}

.tab-link:hover:not(.active) {
}
.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #0033FF;
}

/* Contenido expandido - espaciados exactos */
.expanded-content {
    background: #FFFFFF;
    padding: 25px 0;
}

.expanded-content h2 {
    font-size: 20px;
    font-weight: 500;
    color: #1A1A1A;
    margin-bottom: 20px;
}

.expanded-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #4A4A4A;
    margin-bottom: 15px;
    text-align: justify;
}

.expanded-content h3 {
    font-size: 16px;
    font-weight: 500;
    color: #1A1A1A;
    margin: 25px 0 15px 0;
}

/* Barra de colores exacta */
.color-bar {
    display: flex;
    height: 4px;
    margin-bottom: 25px;
}

.color-bar span {
    flex: 1;
}

.color-bar span:nth-child(1) { background: #000000; }
.color-bar span:nth-child(2) { background: #FF99BD; }
.color-bar span:nth-child(3) { background: #F2DA00; }
.color-bar span:nth-child(4) { background: #FC6631; }
.color-bar span:nth-child(5) { background: #00D2C8; }
.color-bar span:nth-child(6) { background: #9B54FF; }
.color-bar span:nth-child(7) { background: #0033FF; }

/* SecciÃ³n Actividades - dimensiones exactas */
.actividades-section {
    background: #FEFBE5;
    padding: 70px 0;
}

.section-title {
    font-size: 20px;
    font-weight: 500;
    color: #1A1A1A;
    margin-bottom: 25px;
}

.videos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.video-card {
    background: #FFFFFF;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumb iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button i {
    color: white;
    font-size: 18px;
    margin-left: 3px;
}

.video-title {
    padding: 12px 15px;
    font-size: 13px;
    color: #333;
    font-weight: 400;
}

/* SecciÃ³n Noticias - dimensiones exactas */
.noticias-section {
    background: #FFFFFF;
    padding: 70px 0;
}

.noticias-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.noticia-card {
    background: #FFFFFF;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.noticia-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.noticia-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.noticia-content {
    padding: 15px;
}

.noticia-content h3 {
    font-size: 12px;
    font-weight: 500;
    color: #1A1A1A;
    margin-bottom: 8px;
    line-height: 1.4;
}

.noticia-content p {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 10px;
}

/*

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    width: 100%;
}

.btn-primary {
    background-color: #0033FF;
    color: white;
}

.btn-primary:hover {
    background-color: #000B58;
    transform: translateY(-2px);
}

.btn-primary::after {
    content: '\2192';
    margin-left: 8px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

*/

/* Estilo para fechas de noticias */


/* SECCIÃ“N PODCAST - FIX CRÃTICO PARA ALINEACIÃ“N Y TAMAÃ‘O */
.podcast-section {
    background: #FEFBE5;
    padding: 70px 0;
}

.podcast-container {
    display: flex;
    gap: 80px;
    align-items: center;
    justify-content: space-between;
}

.podcast-left {
    flex: 1;
    max-width: 400px;
}

.podcast-left h3 {
    font-size: 28px;
    font-weight: 500;
    color: #1A1A1A;
    margin-bottom: 30px;
    line-height: 1.2;
}

.btn-podcast {
    background: #0033FF;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 0;
}

.btn-podcast:hover {
    background: #000B58;
    color: white;
    text-decoration: none;
}

.podcast-right {
    position: relative;
    flex-shrink: 0;
}

.podcast-img {
    width: 280px;
    height: auto;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.podcast-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(220, 53, 69, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.podcast-play i {
    color: white;
    font-size: 28px;
    margin-left: 4px;
}

/* SecciÃ³n Iniciativas - dimensiones exactas */
.iniciativas-section {
    background: #FFFFFF;
    padding: 30px 0;
}

.iniciativas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.iniciativa-card {
    background: #FFFFFF;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.iniciativa-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    margin-bottom: 12px;
    height: 150px;
}

.iniciativa-card h3 {
    font-size: 12px;
    font-weight: 500;
    color: #1A1A1A;
    margin-bottom: 8px;
    line-height: 1.3;
}

.iniciativa-card p {
    font-size: 10px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 12px;
}

/* Load More Button */
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.btn-load-more {
    background: #0033FF;
    color: white;
    padding: 10px 30px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}

.btn-load-more:hover {å
    background: #0022CC;
}
.noticias-section {
    position: relative;
}

.noticias-section.loading .noticias-grid {
    opacity: 0.3;
    transition: opacity 0.3s;
}

.noticias-loader {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.8);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    display: none;
}
/* Tabs functionality */
.tab-content {
    display: none;
    background: #FFFFFF;
    padding: 25px 0;
    font-size: 16px;
}

.tab-content.active {
    display: block;
    padding: 70px 0;
}

.tab-content h2 {
    font-size: 20px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 20px;
    line-height: 1.3;
}

.tab-content p,
.tab-content li,
.tab-content span {
   color: var(--color-text);
   font-size: 16px;
   font-style: normal;
   font-weight: 500;
   line-height: 28px; /* 175% */
   letter-spacing: 0.32px;
}
.tab-content p {
  margin-bottom: 15px;
}
.tab-content ul {
  margin-left: 12px;
}
.tab-content li {
  margin-bottom: 20px;
  list-style-type: disc;
}
.tab-content .title-tab {
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--color-text);
  font-weight: 600;
}

/* Dots de navegaciÃ³n exactos */
.dots-nav {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #DDD;
    cursor: pointer;
}

.dot.active {
    background: #0033FF;
}

/* Responsive exacto */
@media (max-width: 768px) {
    .explora-grid {
        grid-template-columns: 1fr;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .noticias-grid,
    .iniciativas-grid {
        grid-template-columns: 1fr;
    }
    
    .podcast-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .podcast-img {
        width: 200px;
        height: 200px;
    }
    
    .yellow-content {
        flex-direction: column;
        text-align: center;
    }
}











































/* Color Bar Explora (usado en mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âºltiples secciones) */
.color-bar-explora {
    display: flex;
    gap: 0;
    margin-bottom: 32px;
    height: 8px;
}

.color-bar-explora .color-item {
    flex: 1;
    height: 100%;
}

/* Section 1: Explora InvestigaciÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â³n */
.section-explora-investigacion {
    margin-bottom: 80px;
}

.section-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-image img {
    width: 100%;
    height: auto;
}

.section-text h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-primary-blue);
    margin-bottom: 24px;
    line-height: 1.2;
}

.section-text p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray-600);
    margin-bottom: 32px;
}

/* Section 2: Actividades en Pulse */
.section-actividades-pulse {
    margin-bottom: 80px;
}

.section-actividades-pulse h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-primary-blue);
    margin-bottom: 32px;
}

.texto-columnas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.texto-columnas p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray-600);
    margin: 0;
    text-align: justify;
}

/* Section 3: Videos */
.section-actividades-videos {
    margin-bottom: 80px;
}

.section-actividades-videos h2 {
    font-size: 28px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 40px;
}

.videos-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.video-card {
    background: white;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-4px);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.play-button {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.video-card h3 {
    padding: 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-gray-600);
    margin: 0;
    line-height: 1.3;
}

/* Section 4: Noticias */
.section-noticias-region {
    margin-bottom: 80px;
}

.section-noticias-region h2 {
    font-size: 28px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 40px;
}

.noticias-grid-region {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.noticia-card-region {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.noticia-card-region:hover {
    transform: translateY(-4px);
}

.noticia-imagen {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.noticia-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.noticia-fecha-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--color-primary-blue);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.noticia-content {
    padding: 24px;
}

.noticia-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: 12px;
    line-height: 1.3;
}

.noticia-content p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-gray-600);
    margin-bottom: 20px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* PaginaciÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â³n */
.pagination-region {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.pagination-arrow {
    background: none;
    border: 1px solid var(--color-gray-300);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-gray-500);
    transition: all 0.3s ease;
}

.pagination-arrow:hover {
    border-color: var(--color-primary-blue);
    color: var(--color-primary-blue);
}

.pagination-numbers {
    display: flex;
    gap: 8px;
}

.pagination-num {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-500);
    transition: all 0.3s ease;
}

.pagination-num.active,
.pagination-num:hover {
    background: var(--color-primary-blue);
    color: white;
}

/* Section 5: Podcast */
.section-podcast-region {
    margin-bottom: 80px;
}

.section-podcast-region h2 {
    font-size: 28px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 40px;
}

.podcast-content-region {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.podcast-info h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: 32px;
    line-height: 1.3;
}

.podcast-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.podcast-cover-container {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
}

.podcast-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.podcast-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.podcast-cover-container:hover .podcast-play-overlay {
    opacity: 1;
}

.podcast-play-button {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.podcast-play-button:hover {
    transform: scale(1.1);
}

/* Section 6: Iniciativas Web */
.section-iniciativas-web {
    margin-bottom: 80px;
}

.section-iniciativas-web h2 {
    font-size: 28px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 40px;
}

.iniciativas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.iniciativa-card {
    background: white;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.iniciativa-card:hover {
    transform: translateY(-4px);
}

.iniciativa-logo {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.logo-cupo-unesco,
.logo-componente-virtual,
.logo-explorar-ciencia,
.logo-movimiento,
.logo-recuento,
.logo-ciencias-educacion {
    width: 100px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.logo-cupo-unesco {
    background: var(--color-primary-blue);
}

.logo-text,
.logo-text-white {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.1;
}

.logo-text {
    color: white;
}

.logo-text-white {
    color: white;
}

.logo-circles {
    display: flex;
    gap: 10px;
}

.circle-1,
.circle-2 {
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
}

.iniciativa-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: 16px;
    line-height: 1.3;
}

.iniciativa-card p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-gray-600);
    margin-bottom: 24px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .section-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-image {
        order: -1;
    }
    
    .texto-columnas {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .noticias-grid-region {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .iniciativas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .podcast-content-region {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .region-title {
        font-size: 36px;
    }
    
    .region-header-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .videos-container {
        grid-template-columns: 1fr;
    }
    
    .noticias-grid-region {
        grid-template-columns: 1fr;
    }
    
    .iniciativas-grid {
        grid-template-columns: 1fr;
    }
    
    .podcast-cover-container {
        width: 150px;
        height: 150px;
    }
}







.region-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.region-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.yellow-banner {
    background-color: var(--color-yellow);
    padding: 20px 0;
    margin-bottom: 60px;
}

.yellow-banner-content {
    text-align: center;
}

.yellow-banner-content p {
    font-size: 18px;
    color: var(--color-black);
    margin: 0;
    font-weight: 500;
}

/* Region Hero Section */
.region-hero-section {
    margin-bottom: 80px;
}

.region-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.region-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.region-hero-text h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-primary-blue);
    margin-bottom: 24px;
    line-height: 1.2;
}

.region-hero-text p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray-600);
    margin-bottom: 32px;
}

/* Activities Pulse Section */
.activities-pulse-section {
    margin-bottom: 80px;
}

.activities-pulse-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-primary-blue);
    margin-bottom: 24px;
}

.activities-pulse-section p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray-600);
    margin-bottom: 20px;
}

/* Activities Videos Section */
.activities-videos-section {
    margin-bottom: 80px;
}

.activities-videos-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-primary-blue);
    margin-bottom: 40px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.video-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: translateY(-4px);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.play-button:hover {
    background: rgba(0, 0, 0, 0.9);
}

.video-item h3 {
    padding: 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-gray-600);
    margin: 0;
}

/* Region News Section */
.region-news-section {
    margin-bottom: 80px;
}

.region-news-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-primary-blue);
    margin-bottom: 40px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Podcast Section */
.podcast-section {
    margin-bottom: 80px;
}

.podcast-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-primary-blue);
    margin-bottom: 40px;
}

.podcast-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.podcast-info h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-gray-600);
    margin-bottom: 24px;
}

.podcast-player {
    position: relative;
}

.podcast-cover {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
}

.podcast-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-button-large:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Initiatives Section */
.initiatives-section {
    margin-bottom: 80px;
}

.initiatives-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-primary-blue);
    margin-bottom: 40px;
}



.initiative-logo {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.initiative-logo img {
    max-width: 100px;
    max-height: 60px;
    object-fit: contain;
}

.initiative-logo.blue,
.initiative-logo.green,
.initiative-logo.purple,
.initiative-logo.black {
    border-radius: 8px;
}

.initiative-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-gray-600);
    margin-bottom: 16px;
    line-height: 1.3;
}

.initiative-card p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-gray-500);
    margin-bottom: 24px;
}

/* Responsive Design for Region Page */
@media (max-width: 1024px) {
    .region-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .region-hero-image {
        order: -1;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .initiatives-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .podcast-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .region-title {
        font-size: 36px;
    }
    
    .region-banner-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .initiatives-grid {
        grid-template-columns: 1fr;
    }
    
    .podcast-cover {
        width: 150px;
        height: 150px;
    }
}

/* Header */
.header {
    background-color: var(--color-gray-80);
    padding: 20px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header-logo {
    display: flex;
    justify-content: flex-start;
}


.logo img {
    height: 90px;
    width: auto;
    display: block;
}

.header-center {
    display: flex;
    justify-content: center;
    flex: 1;
    margin: 0 20px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 90px;
}

.nav-link {
    color: var(--color-primary-blue);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--color-primary-blue-600);
    text-decoration: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 90px;
    justify-content: flex-end;
    flex-shrink: 0;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 0;
}

.search-input {
    width: 200px;
    padding: 8px 36px 8px 14px;
    border: 1px solid var(--color-gray-200);
    border-radius: 20px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: var(--color-gray-50);
    cursor: pointer;
}

.search-input:focus {
    border-color: var(--color-primary-blue);
    background-color: white;
    box-shadow: 0 0 0 2px rgba(0, 51, 255, 0.1);
}

.search-btn {
    background-color: var(--color-tertiary-600);
    position: static;
    border-radius: 50px;
    border: none;
    padding: 6px;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease-in-out;
    -webkit-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
}

.search-btn:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    color: #fff;
}

.search-btn svg {
    width: 16px;
    height: 16px;
}

.accessibility-tools {
    display: flex;
    gap: 8px;
    align-items: center;
    display: none;
}

.accessibility-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0033FF;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 600;
}

.accessibility-btn:hover {
    background-color: #0029cc;
    transform: scale(1.05);
}

.accessibility-btn svg {
    width: 16px;
    height: 16px;
}

.accessibility-btn .btn-text {
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

/* Main Navigation */
.main-nav {
    background-color: #0033FF;
    padding: 0;
    width: 100%;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 0 20px; */
    display: flex;
    gap: 0;
    justify-content: space-between;
}

.nav-item {
    color: var(--color-white);
    text-decoration: none;
    padding: 30px 24px;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: inline-block;
    transition: all 0.15s ease-in-out;
    -webkit-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
}

.nav-item:hover,
.nav-item.active {
    color: var(--color-primary-blue-200);
}
/* Breadcrumb */

.breadcrumb {
    background-color: var(--color-gray-80);
    padding: 10px 0;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}
.breadcrumb a,
.breadcrumb span {
   font-weight: 600;
}
.breadcrumb a {
   text-decoration: none;
}
.breadcrumb a:hover {
   color: var(--color-primary-blue-600);
}



.breadcrumb-link {
    color: var(--color-primary-blue);
    text-decoration: none;
}

.breadcrumb-separator {
    color: var(--color-gray-400);
}

.breadcrumb-current {
    color: var(--color-gray-700);
}

/* Page Header */

.page-header {
   background-color: var(--color-gray-80);
   padding: 5px 0 10px;
}
.page-title {
    font-size: 38px;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 0;
}
.page-header .page-title {
    font-size: 38px;
    font-style: normal;
    font-weight: 500;
    line-height: 121.053%;
    letter-spacing: 0.76px;
}

/* Main Content */

.main-content {
    padding: 80px 0 80px;
   /* min-height: calc(100vh - 400px);*/
}

.single .main-content {
  padding-top: 40px;
}

/* Color Bar */

.color-bar {
    display: flex;
    margin-bottom: 20px;
    height: 11px;
    width: 165px;
}
.home .color-bar {
   height: 11px;
}
.article-header-content .color-bar {
  margin-bottom: 10px;
}
.color-bar-item {
    flex: 1;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 10px;
}

.page-id-73208 .section-title {
    margin-bottom: 50px;
    font-weight: 500;
}

.home-news .section-title {
   margin-bottom: 20px;
   color: var(--color-azul-0033-ff, #03F);
   font-size: 48px;
   font-style: normal;
   font-weight: 500;
   line-height: 66px; /* 137.5% */
}

/* News Grid PLANTILLA FINAL */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 60px 30px;
    margin-bottom: 64px;
}

.news-card {
    background-color: var(--color-white);
    overflow: hidden;
gap: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);

}

.news-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-content {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 15px;
    color: var(--color-primary-blue-400);
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.46;
    font-style: normal;
    display: block;
}

.news-title {
    font-size: 22px;
     font-weight: 600;
     color: var(--color-text);
     margin-bottom: 20px;
     line-height: 1.2;
}

.news-excerpt {
    font-size: 16px;
   color: var(--color-text);
     margin-bottom: 20px;
     line-height: 1.5;
     flex: 1;
     font-weight: 500;
     letter-spacing: 0.32px;
}

/* Buttons */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 32px;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    border-radius: 4px;
}

.btn img {
   margin-left: 30px;
}

.btn-primary {
    background-color: #0033FF;
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-blue-600);
}

.btn-primary::after {
    content: '';
    margin-left: 4px;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}
/*
.pagination-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-gray-200);
    border-radius: 8px;
    color: var(--color-gray-600);
    text-decoration: none;
    transition: all 0.2s;
}

.pagination-arrow:hover {
    border-color: var(--color-primary-blue);
    color: var(--color-primary-blue);
}

.pagination-numbers {
    display: flex;
    gap: 16px;
}

.pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-weight: 500;
    color: var(--color-gray-600);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
}

.pagination-number:hover {
    color: var(--color-primary-blue);
}

.pagination-current {
    background-color: #0033FF;
    color: var(--color-white);
}
*/
/* Footer  */
.footer {
    background-color: #EFEFEF;
    padding: 50px 0 30px;
}
.footer-bottom {
   background-color: #E7E5E5;
    padding: 50px 0 30px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top-row {
    display: flex;
    align-items: flex-start;
    gap: 153px;
}

.footer-logo-section {
    flex-shrink: 0;
}

.footer-logo img {
    height: 130px;
    width: auto;
}

.footer-links-section {
    display: flex;
    gap: 150px;
    flex: 1;
}

.footer-links-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-column a {
    color: #0033FF;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 26px;
    transition: all 0.2s;
    display: block;
}

.footer-links-column a:hover {
    opacity: 0.8;
}

/* Bottom Row  */
.footer-bottom-row {

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.footer-contact-info {
    display: contents;
}

.contact-item {
    /* display: flex; */
    gap: 12px;
    align-items: flex-start;
}

.contact-item i {
    flex-shrink: 0;
    color: #333333;
    font-size: 16px;
    margin-top: 2px;
}
.contact-item img {
    float: left;
    margin-right: 10px;
}

.contact-label {
    font-weight: 600;
    color: #40495A;
    font-size: 16px;
    margin-bottom: 10px;
    display: block;
}

.contact-value {
    color: #40495A;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 500;
    margin-top: 10px;
}

.contact-value a {
    color: var(--color-primary-blue);
    text-decoration: none;
}

.contact-value a:hover {
    color: var(--color-primary-blue-600);
}

.footer-social-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.social-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-header i {
    color: #333333;
    font-size: 16px;
}

.social-header span {
    color: #40495A;
    font-size: 16px;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 14px;
}

.social-link {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    text-decoration: none;
    border-radius: 50%;
    background-color: var(--color-primary-blue);
    color: white;
}

.social-link:hover {
    background-color: var(--color-primary-blue-600);
}

.social-link i {
    font-size: 14px;
}

/* Todos los iconos sociales en azul como en FIGMA */
.social-instagram, .social-facebook, .social-twitter, .social-linkedin, .social-youtube {
    background-color: #0033FF;
    color: #E7E5E5;
}


/* Dark Mode Styles - CORREGIDO COMPLETAMENTE */
.dark-mode {
    background-color: #111239 !important; /* Color exacto del FIGMA */
    color: #FFFFFF !important;
}

/* Body y elementos principales - FONDO EXACTO FIGMA */
.dark-mode body {
    background-color: #111239 !important; /* Fondo principal exacto */
    color: #FFFFFF !important;
}

/* Todas las secciones principales usan el fondo exacto */
.dark-mode .container,
.dark-mode .content,
.dark-mode .section {
   
    color: #FFFFFF !important;
}

/* SOLO contenido principal debe tener textos blancos */
.dark-mode .main-content h1,
.dark-mode .main-content h2,
.dark-mode .main-content h3,
.dark-mode .main-content h4,
.dark-mode .main-content h5,
.dark-mode .main-content h6,
.dark-mode .main-content p,
.dark-mode .main-content span,
.dark-mode .main-content div,
.dark-mode .main-content li,
.dark-mode .main-content td,
.dark-mode .main-content th {
    color: #FFFFFF !important; /* Solo contenido principal */
}

/* Enlaces SOLO en contenido principal */
.dark-mode .main-content a {
    color: #FFFFFF !important; /* Solo enlaces del contenido */
}

.dark-mode .main-content a:hover {
    color: #E2E8F0 !important; /* Solo hover del contenido */
}

/* Hero section - fondo EXACTO segÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âºn FIGMA */

/* CONGRESO REGIONAL - GRIS CLARO EXACTO segÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âºn FIGMA */
.dark-mode .hero-content-wrapper {
    background-color: #E5E5E5 !important; /* Gris exacto del FIGMA */
    color: #2D3748 !important;
}

.dark-mode .hero-title {
    color: #0033FF !important; /* Azul tÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â­tulo exacto */
}

.dark-mode .hero-subtitle {
    color: #4A5568 !important; /* SubtÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â­tulo gris */
}

/* Contenido principal - FONDO Y TEXTOS EXACTOS FIGMA */
.dark-mode .main-content {
    background-color: #2F3F5F; /* Fondo principal exacto */
    color: #FFFFFF;
}

.dark-mode .main-content h1,
.dark-mode .main-content h2,
.dark-mode .main-content h3,
.dark-mode .main-content h4,
.dark-mode .main-content h5,
.dark-mode .main-content h6 {
    color: #FFFFFF !important; /* TÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â­tulos blancos puros */
}

.dark-mode .main-content p,
.dark-mode .main-content span,
.dark-mode .main-content div,
.dark-mode .main-content li,
.dark-mode .main-content a {
    color: #FFFFFF !important; /* Textos blancos puros */
}

/* Contenedores principales */
.dark-mode .container,
.dark-mode .content,
.dark-mode .section {
    background-color: #111239;
}

/* SecciÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â³n de noticias - FONDO EXACTO FIGMA */
.dark-mode .home-news {
    background-color: #111239;
}

.dark-mode .section-title {
    color: #FFFFFF !important; /* Blanco puro */
    font-weight: 600;
}

.dark-mode .news-featured-title {
    color: #FFFFFF !important; /* Blanco puro */
    font-weight: 600;
}

.dark-mode .news-featured-excerpt {
    color: #FFFFFF !important; /* Blanco puro */
}

/* Tarjetas de noticias - COLORES EXACTOS FIGMA */
.dark-mode .news-card {
    background-color: transparent;
    border: 1px solid transparent;
    box-shadow: none;
}
.dark-mode h3.news-title {
    color: #fff;
}
.dark-mode p.news-excerpt {
    color: #fff;
}
.dark-mode .news-date {
    color: #c8caff;
}
.dark-mode .news-card-title {
    color: #FFFFFF !important; /* Blanco puro */
    font-weight: 600;
}

.dark-mode .news-card-excerpt {
    color: #FFFFFF !important; /* Blanco puro */
}

.dark-mode .news-card-date {
    color: #FFFFFF !important; /* Blanco puro */
}

/* Carrusel de tarjetas - COLORES EXACTOS FIGMA */
.dark-mode .testimonial-carousel .news-card,
.dark-mode .carousel-card {
    background-color: #334155; /* Color tarjeta exacto */
    border: 1px solid #475569;
}

.dark-mode .carousel-card-title {
    color: #FFFFFF !important; /* Blanco puro */
    font-weight: 600;
}

.dark-mode .carousel-card-text {
    color: #FFFFFF !important; /* Blanco puro - cambiado de gris */
}

.dark-mode .carousel-card-date {
    color: #FFFFFF !important; /* Blanco puro - cambiado de gris */
}

/* SecciÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â³n de testimoniales - MANTIENE COLOR LILA ORIGINAL */
.dark-mode .testimonials-section {
    background-color: inherit !important; /* No cambiar el lila */
}

/* Tarjetas de testimoniales BLANCAS - sin cambios */
.dark-mode .testimonial-card {
    background-color: white !important;
    color: #2D3748 !important;
    border: 1px solid #E2E8F0 !important;
}

.dark-mode .testimonial-card h3,
.dark-mode .testimonial-card p,
.dark-mode .testimonial-card span {
    color: inherit !important;
}

/* Footer mantiene el diseÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â±o original - sin cambios */

/* Botones en modo oscuro */
.dark-mode .btn-primary {
    background-color: #0033FF;
    border-color: #0033FF;
    color: #FFFFFF;
}

.dark-mode .btn-primary:hover {
    background-color: #0029D1;
    border-color: #0029D1;
}

.dark-mode .btn-secondary {
    background-color: #9300ee;
    color: #FFFFFF;
}

.dark-mode .btn-secondary:hover {
    background-color: #2D3748;
}

/* Modales y elementos que deben MANTENERSE BLANCOS */
.dark-mode .search-modal-content,
.dark-mode .feedback-modal,
.dark-mode .modal-content {
    background-color: white !important;
    color: #2D3748 !important;
    border: 1px solid #E2E8F0 !important;
}

.dark-mode .search-modal-title {
    color: #2D3748 !important;
}

.dark-mode .search-modal-input {
    background-color: #F7FAFC !important;
    border: 1px solid #E2E8F0 !important;
    color: #2D3748 !important;
}

.dark-mode .search-modal-input::placeholder {
    color: #A0AEC0 !important;
}

.dark-mode .search-suggestion {
    color: #2D3748 !important;
    border-bottom: 1px solid #E2E8F0 !important;
}

.dark-mode .search-suggestion:hover {
    background-color: #EDF2F7 !important;
}

.dark-mode .search-tag {
    background-color: #EDF2F7 !important;
    color: #2D3748 !important;
    border: 1px solid #E2E8F0 !important;
}

.dark-mode .search-tag:hover {
    background-color: #0033FF !important;
    color: white !important;
}

/* Mobile Menu Dark Mode - COLORES EXACTOS FIGMA */
.dark-mode .mobile-menu {
    background-color: #334155; /* Color tarjeta exacto */
    border: 1px solid #475569;
}

.dark-mode .mobile-menu a {
    color: #FFFFFF !important; /* Blanco puro */
    border-bottom: 1px solid #475569;
}

.dark-mode .mobile-menu a:hover {
    color: #FFFFFF !important;
    background-color: #2F3F5F; /* Fondo principal al hover */
}

/* Elementos de formulario en modo oscuro - COLORES EXACTOS FIGMA */
.dark-mode input,
.dark-mode textarea,
.dark-mode select {

}

.dark-mode input::placeholder,
.dark-mode textarea::placeholder {
    color: #94A3B8; /* Placeholder mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡s claro pero visible */
}

.dark-mode input:focus,
.dark-mode textarea:focus,
.dark-mode select:focus {
    border-color: #0033FF;
    box-shadow: 0 0 0 3px rgba(0, 51, 255, 0.1);
    background-color: #334155; /* Mantiene el fondo */
}

/* Tab Navigation */
.tab-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--color-gray-100);
    margin-bottom: 48px;
}

.tab-link {

}

.tab-link:hover {
    color: var(--color-primary-blue);
}



/* Hero Section with Illustration */
.hero-section {
    display: flex;
    align-items: center;
    gap: 64px;
    margin-bottom: 80px;
}

.hero-illustration {
    /* flex: 0 0 300px; */
}

.hero-illustration img {
    width: 100%;
    height: auto;
}

.hero-content h2 {
    font-size: 40px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-gray-600);
    margin-bottom: 16px;
}

/* Initiative Cards */
.initiatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    margin-bottom: 64px;
    row-gap: 40px;
    column-gap: 40px;
}

.initiative-card {
    background-color: var(--color-white);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    gap: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-self: self-start;
}
.initiative-card:hover {
    transform: translateY(-4px);
}

.initiative-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.initiative-card-content {
    padding: 24px;
}

.initiative-card h3 {
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-gray-600);
    margin-bottom: 15px;
}

.initiative-card p {
    color: var(--color-gray-600);
    margin-bottom: 20px;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: 0.32px;
}

/* Certificate Section */
.certificate-hero {
    background-color: var(--color-gray-50);
    padding: 64px 0;
    margin-bottom: 64px;
}

.certificate-content {
    display: flex;
    align-items: center;
    gap: 64px;
}

.certificate-info {
    flex: 1;
}

.certificate-info h2 {
    font-size: 40px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 24px;
}

.certificate-illustration {
    flex: 0 0 300px;
}

.certificate-activities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 64px;
    text-align: center;
}

.activity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.activity-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.activity-item h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-black);
}
/* ENCUESTA  */
.documentos-reporte {
    background: var(--color-3-azul);
    padding: 70px;
}

/* Survey Section */
.survey-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.survey-intro h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 24px;
}

/* Estadísticas */
.stats-section {
    margin: 50px 0 80px;
}

.stats-title {
    font-size: 28px;
    font-weight: 500;
    color: #1A1A1A;
    margin-bottom: 40px;
    text-align: center;
}

.stats-grid {
  margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.stat-number {
    font-size: 80px;
    font-weight: 700;
    color: #9B54FF;
    display: block;
    line-height: 1;
    text-align: center;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.4;
}

.stat-description {
    font-size: 16px;
    color: var(--color-gray-600);
    line-height: 1.6;
}

.stats-bibliography {
  font-size: 16px;
  font-weight: 500;
}

.stats-bibliography strong {
  font-weight: 600;
}

/* Download Grid */
.downloads-section {
    margin-bottom: 80px;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.download-card {
    background-color: #0033FF;
    color: var(--color-white);
    padding: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
}

.download-card:hover {
    transform: translateY(-2px);
    background-color: var(--color-dark-blue);
}

.download-card.purple {
    background-color: var(--color-purple);
}

.download-card.purple:hover {
    background-color: #7B34DF;
}

.download-card span {
    font-weight: 500;
}

.download-icon {
    width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* Section Explora InvestigaciÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â³n */
.section-explora-investigacion {
    padding: 60px 0;
}

.section-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-image img {
    width: 100%;
    height: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.section-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 24px;
    line-height: 1.2;
}

.section-text p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray-700);
    margin-bottom: 16px;
}

/* Actividades en Pulse */
.section-actividades-pulse {
    padding: 60px 0;
    background-color: var(--color-gray-50);
}

.section-actividades-pulse h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 40px;
    text-align: center;
}

.texto-columnas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.columna-texto p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray-700);
    text-align: justify;
}

/* Videos Container */
.section-actividades-videos {
    padding: 60px 0;
    background: #fdfbe5;
}

.videos-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.video-card {
    position: relative;
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-play-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-card h3 {
    margin-top: 16px;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark-blue);
}

/* Noticias Region */
.section-noticias-region {
    padding: 60px 0;
    background-color: var(--color-gray-50);
}

.noticias-grid-region {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.noticia-card-region {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.noticia-card-region:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.noticia-imagen {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.noticia-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.noticia-fecha-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--color-primary-blue);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.noticia-content {
    padding: 24px;
}

.noticia-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark-blue);
    margin-bottom: 12px;
    line-height: 1.3;
}

.noticia-content p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-gray-600);
    margin-bottom: 20px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* Pagination */
.pagination-region {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
}

.pagination-arrow {
    background: white;
    border: 1px solid var(--color-gray-300);
    border-radius: 6px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-arrow:hover {
    background: var(--color-primary-blue);
    border-color: var(--color-primary-blue);
    color: white;
}
/*
.pagination-numbers {
    display: flex;
    gap: 8px;
}

.pagination-num {
    background: white;
    border: 1px solid var(--color-gray-300);
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-num.active {
    background: var(--color-primary-blue);
    border-color: var(--color-primary-blue);
    color: white;
}

.pagination-num:hover:not(.active) {
    background: var(--color-gray-100);
}
*/
/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  font-size: 14px;
  font-weight: 500;
  color: #40495A;
  text-decoration: none;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.page-numbers.current {
  background-color: #5850e0;
  color: #fff;
  font-weight: 500;
}

.page-numbers:hover:not(.current) {
  background-color: #5A5AFF1A;
  color: #5A5AFF;
}

.page-numbers.dots {
  background-color: transparent;
  pointer-events: none;
}

.prev.page-numbers,
.next.page-numbers {
  background-color: #5A5AFF1A;
  color: #5A5AFF;
  border: none;
}

.prev.page-numbers:hover,
.next.page-numbers:hover {
  background-color: #e0e0f0;
}

/* Podcast Section */
.section-podcast-region {
    padding: 60px 0;
    background: #fdfbe5;
}

.podcast-content-region {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.podcast-info h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 32px;
    line-height: 1.2;
}

.podcast-btn {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
}

.podcast-cover-container {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
}

.podcast-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.podcast-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.podcast-play-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Iniciativas Grid */
.section-iniciativas-web {
    padding: 60px 0;
    background-color: var(--color-gray-50);
}

.iniciativas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.iniciativa-card {
    background: white;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.iniciativa-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.iniciativa-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

.cupo-unesco {
    background: #E6F3FF;
    color: var(--color-primary-blue);
}

.componente-virtual {
    background: var(--color-primary-blue);
    color: white;
}

.explorar-ciencia {
    background: var(--color-turquoise);
    color: white;
}

.movimiento-ganaderia {
    background: var(--color-purple);
    color: white;
    position: relative;
}

.logo-circles {
    display: flex;
    gap: 8px;
    align-items: center;
}

.circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.recuento-trenal {
    background: var(--color-primary-blue);
    color: white;
}

.ciencias-educacion {
    background: #000000;
    color: white;
}

.iniciativa-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark-blue);
    margin-bottom: 16px;
    line-height: 1.3;
}

.iniciativa-card p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-gray-600);
    margin-bottom: 24px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .section-content-grid,
    .texto-columnas,
    .videos-container,
    .podcast-content-region {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .noticias-grid-region,
    .iniciativas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .yellow-banner-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .yellow-banner-content h2 {
        font-size: 24px;
    }
    
    .section-text h2,
    .podcast-info h3 {
        font-size: 28px;
    }
    
    .noticias-grid-region,
    .iniciativas-grid {
        grid-template-columns: 1fr;
    }
    
    .pagination-region {
        flex-wrap: wrap;
    }
}

/* Article Page Styles */
.article-header {
    background-color: var(--color-gray-50);
    padding: 48px 0;
    margin-bottom: 48px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 16px;
    color: var(--color-gray-600);
}

.article-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.2;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    margin-bottom: 0;
}

.article-body {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-gray-700);
}

.article-body p {
    margin-bottom: 24px;
}

.article-body h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-black);
    margin: 48px 0 24px;
}

.article-body h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-black);
    margin: 32px 0 16px;
}

.article-body blockquote {
    border-left: 4px solid var(--color-primary-blue);
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: var(--color-gray-600);
}

.article-illustration {
    width: 100%;
    max-width: 600px;
    margin: 32px auto;
    display: block;
}

.article-tags {
    display: flex;
    gap: 16px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-gray-100);
}

.tag {
    padding: 8px 16px;
    background-color: var(--color-gray-50);
    border-radius: 24px;
    font-size: 14px;
    color: var(--color-gray-600);
    text-decoration: none;
    transition: all 0.2s;
}

.tag:hover {
    background-color: #0033FF;
    color: var(--color-white);
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-illustration {
        flex: 0 0 auto;
        max-width: 500px;
        margin-top: 30px;
    }
    
    .news-featured {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .news-featured-image {
        order: 1;
    }
    
    .news-featured-content {
        order: 2;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .news-carousel-wrapper {
        padding: 0 16px;
        margin-bottom: 40px;
    }
    
    .news-carousel .owl-nav {
        bottom: -40px;
        right: 16px;
        gap: 8px;
    }
    
    .news-carousel .owl-nav button {
        width: 32px !important;
        height: 32px !important;
    }
    
    .news-carousel .owl-nav button::after {
        border-width: 5px !important;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #0033FF;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    z-index: 9999;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    padding: 20px;
    border-bottom: 1px solid var(--color-gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-gray-600);
}

.mobile-menu-nav {
    padding: 20px 0;
}

.mobile-menu-nav a {
    display: block;
    padding: 15px 20px;
    color: var(--color-gray-700);
    text-decoration: none;
    border-bottom: 1px solid var(--color-gray-50);
    transition: background-color 0.2s;
}

.mobile-menu-nav a:hover {
    background-color: var(--color-gray-50);
    color: var(--color-primary-blue);
}



/* SINGLE */

/* Sección superior: imagen + encabezado */
.article-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
    margin-bottom: 25px;
    padding: 0;
    background: transparent;
}

/* Imagen principal */
.article-image {
    width: 100%;
}

.article-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Contenido del encabezado */
.article-header-content {
}

/* Bajada/lead */
.article-lead {
    margin-top: 15px;
}

.article-lead p {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    font-weight: 400;
}

/* Cuerpo del artículo en 2 columnas */
.article-body {
    margin-bottom: 60px;
}

/* Fecha */
.article-date {
    color: var(--color-primary-blue);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

/* Título del artículo */
.article-title {
    font-size: 32px;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 15px;
    line-height: 1.1;
}

/* Subtítulo/descripción */
.article-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0;
    line-height: 1.3;
}

/* Texto del artículo en columnas como periodístico */

.article-text {
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
    margin-bottom: 15px;
    columns: 2;
    column-gap: 70px;
    column-fill: balance;
}

.article-text p {
    margin-bottom: 12px;
    break-inside: avoid;
    font-size: 16px;
    font-weight: 500;
}
.article-text p span {
  font-weight: 500!important;
}

.article-text p:last-child {
    margin-bottom: 0;
}

.article-text strong {
    font-weight: 600;
    color: var(--color-text);
}
figure.wp-caption {
  width: 100%!important;
}
.wp-caption,
.article-body p img,
.article-text img {
  background: #fff;
  margin: 30px 0;
  border: 1px solid #f0f0f0;
  padding: 10px;
}
.wp-caption img {
  background: transparent;
  padding: 0;
  margin: 0;
  border: 0;
}
figure.wp-caption img,
.article-body p img,
.article-text img {
  width: 100%!important;
  max-height: 300px;
  object-fit: cover;
}


.wp-caption .wp-caption-text {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
}

/* Botones de compartir como en Figma */
.share-section {
    margin-top: 20px;
    text-align: center;
}

.share-title {
    font-size: 14px;
    font-weight: 400;
    color: #333;
    margin-bottom: 10px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.share-button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 16px;
    transition: opacity 0.2s;
}

.share-button:hover {
    opacity: 0.8;
}

.share-twitter {
    background-color: #0033FF;
}

.share-facebook {
    background-color: #0033FF;
}

.share-youtube {
    background-color: #0033FF;
}

.share-instagram {
    background-color: #0033FF;
}




@media (max-width: 768px) {
    .header-container {
        padding: 0 16px;
        gap: 12px;
    }
    
    .header-center,
    .search-container {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-right {
        gap: 10px;
    }
    
    .accessibility-tools {
        gap: 6px;
    }
    
    .accessibility-btn {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }
    
    .accessibility-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .accessibility-btn .btn-text {
        font-size: 10px;
    }
    
    .header-logo img {
        height: 32px !important;
        width: auto !important;
    }
    
    
    /* Force mobile header elements to be visible */
    .social-links {
        display: flex !important;
        gap: 8px !important;
    }
    
    .social-link {
        display: flex !important;
        width: 28px !important;
        height: 28px !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .mobile-menu-btn {
        display: flex !important;
    }
    
    .main-nav {
        display: none;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero-home {
        padding: 20px 0;
    }
    
    .hero-content-wrapper {
        padding: 30px 16px;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.1;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        line-height: 1.4;
    }
    
    .hero-illustration {
        max-width: 100%;
        margin-top: 24px;
    }
    
    .hero-illustration img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }
    
    .home-news {
        padding: 50px 0;
    }
    
    .news-featured {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        margin-bottom: 40px;
        padding: 0 16px;
        text-align: left !important;
        grid-template-columns: none !important;
    }
    
    .news-featured-content {
        order: 1 !important;
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .news-featured-image {
        order: 2 !important;
        margin-bottom: 16px;
    }
    
    .news-featured-image img {
        width: 100%;
        height: auto;
        max-height: 200px;
        object-fit: cover;
        border-radius: 0;
    }
    
    .news-featured-title {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    
    .news-featured-excerpt {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 16px;
    }
    
    
    .news-featured-title {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    
    .news-featured-excerpt {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .news-carousel-wrapper {
        margin-bottom: 32px;
    }
    
    .testimonials-section {
        padding: 50px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 16px;
    }
    
    .testimonial-card {
        border-radius: 0;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        max-width: 100%;
        padding: 8px;
    }
    
    .testimonial-card img {
        width: 100%;
        height: auto;
        object-fit: inherit;
        border-radius: 0;
    }
    
    .testimonial-card .btn {
        width: 100%;
        justify-content: center;
    }
    
   
    .page-title {
        font-size: 28px;
    }
    
    .article-title {
        font-size: 26px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 30px;
    }
    
    .page-header .page-title {
      font-size: 30px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .article-title {
        font-size: 36px;
    }
    
    .footer {
        padding: 40px 0 24px;
   
    }
    
    .footer-container {
        padding: 0 16px;
        max-width: 100%;
    }
    
    .footer-top-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 32px;
        margin-bottom: 32px;
    }
    
    .footer-logo-section {
        order: 1;
        margin-bottom: 0;
    }
    
    .footer-logo img {
        height: 40px;
    }
    
    .footer-links-section {
        order: 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px 32px;
        width: 100%;
        max-width: 400px;
    }
    
    .footer-links-column {
        text-align: left;
    }
    
    .footer-links {
        margin: 0;
        padding: 0;
    }
    
    .footer-links li {
        margin-bottom: 12px;
    }
    
    .footer-links a {
        font-size: 15px;
        line-height: 1.2;
        color: var(--color-gray-700);
    }
    
    .footer-bottom-row {
        padding-top: 24px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    
    .footer-contact-info {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }
    
    .contact-item {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        text-align: left;
        max-width: 280px;
    }
    
    .contact-item svg {
        flex-shrink: 0;
        margin-top: 2px;
        color: #6a6a6a;
    }
    
    .footer-social-section {
        text-align: center;
        justify-content: center;
    }
    
    .footer-social-section .social-links {
        justify-content: center;
        gap: 12px;
    }
    
    .footer-social-section .social-link-circle {
        width: 36px;
        height: 36px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-illustration {
        max-width: 100%;
    }
    
    .news-featured {
        grid-template-columns: 1fr;
    }
    
    .news-featured-image {
        order: 1;
        margin-bottom: 24px;
    }
    
    .news-featured-content {
        order: 2;
    }
    
    .news-featured-title {
        font-size: 24px;
    }
    
    .news-carousel .news-card {
        flex: 0 0 calc(100% - 20px);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .carousel-controls {
        display: none;
    }
    
    
    .news-carousel-track {
        padding-bottom: 20px;
    }
    
    .news-carousel .news-card {
        scroll-snap-align: start;
    }
    
    .search-modal-content {
        width: 95%;
        max-width: 400px;
        margin: 0 auto;
        border-radius: 12px;
    }
    
    .search-modal-body {
        padding: 24px;
    }
    
    .search-modal-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .search-modal-input {
        font-size: 16px;
        padding: 14px 20px;
        border-radius: 8px;
    }
    
    .search-suggestions {
        max-height: 200px;
    }
    
    .search-tag {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .feedback-widget {
        display: none;
    }
}

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 1;
    padding-top: 10vh;
}

.search-modal-content {
    background-color: white;
    width: 90%;
    max-width: 700px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.search-modal.active .search-modal-content {
    transform: translateY(0);
}

.search-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--color-gray-500);
    transition: color 0.2s;
}

.search-modal-close:hover {
    color: var(--color-gray-700);
}

.search-modal-body {
    padding: 10px;
}

.search-modal-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 24px;
    text-align: center;
}

.search-modal-input-container {
    position: relative;
    margin-bottom: 24px;
}

.search-modal-input {
    width: 100%;
    padding: 16px 48px 16px 20px;
    font-size: 18px;
    border: 2px solid var(--color-gray-200);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s;
}

.search-modal-input:focus {
    border-color: var(--color-primary-blue);
}

.search-modal-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gray-400);
}

.search-suggestions {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 32px;
}

.search-suggestion {
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-suggestion:hover {
    background-color: var(--color-gray-50);
}

.search-suggestion-icon {
    color: var(--color-gray-400);
}

.search-suggestion-text {
    flex: 1;
}

.search-suggestion-highlight {
    font-weight: 600;
    color: var(--color-primary-blue);
}

.search-popular h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gray-600);
    margin-bottom: 12px;
}

.search-popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-tag {
    padding: 8px 16px;
    background-color: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: 20px;
    text-decoration: none;
    color: var(--color-gray-700);
    font-size: 14px;
    transition: all 0.2s;
}

.search-tag:hover {
    background-color: #0033FF;
    border-color: var(--color-primary-blue);
    color: white;
}

/* Feedback Widget */
.feedback-widget {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.feedback-toggle {
    background-color: #EDEDFF;
    border: none;
    /* border-radius: 8px 0 0 8px; */
    padding: 16px 12px;
    display: flex;
    align-items: center;
    gap: 30px;
    cursor: pointer;
    /* box-shadow: 0 4px 12px rgba(0, 51, 255, 0.3); */
    transition: all 0.3s ease;
    border-right: none;
    writing-mode: vertical-lr;
    text-orientation: mixed;
}

.feedback-toggle:hover {
    /* box-shadow: 0 6px 20px rgba(0, 51, 255, 0.4); */
    transform: translateX(-3px);
    background-color: #EDEDFF;
}

.feedback-toggle svg {
    width: 20px;
    height: 20px;
    color: #000B58;
    transform: rotate(90deg);
}

.feedback-toggle span {
    font-size: 16px;
    color: #000B58;
    letter-spacing: 0.5px;
    writing-mode: sideways-lr;
    font-weight: 600;
}

/* Certificados en linea Page Styles */
.certificate-hero-section {
    background-color: var(--color-gray-50);
    padding: 64px 0;
    margin-bottom: 80px;
}

.certificate-content-wrapper {
    display: flex;
    align-items: center;
    gap: 64px;
    max-width: 1200px;
    margin: 0 auto;
}

.certificate-illustration {
    flex: 0 0 400px;
}

.certificate-svg {
    width: 100%;
    height: auto;
}

.certificate-text-content {
    flex: 1;
}

.certificate-title {
    font-size: 40px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 24px;
    line-height: 1.2;
}

.certificate-description {
    margin-bottom: 32px;
}

.certificate-description p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-gray-600);
    margin-bottom: 16px;
}

.certificate-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.2s;
}

.certificate-btn-purple {
    background-color: var(--color-purple);
    color: white;
    margin-bottom: 32px;
}

.certificate-btn-purple:hover {
    background-color: #7B34DF;
    transform: translateY(-2px);
}

/* Sección principal con imagen e información */
.page-con-intro .main-section {
    /* display: grid; */
    /* grid-template-columns: 400px 1fr; */
    gap: 60px;
    align-items: start;
    /* margin-bottom: 50px; */
    justify-content: space-between;
    display: flex;
    align-items: center;
    align-self: stretch;
}

.page-id-43833 .main-section {
  margin-bottom: 60px;
}



.page-con-intro .main-image-container {
    max-width: 100%;
    margin: auto;
    width: 350px;
}

.page-con-intro .main-image {
    width: 100%;
    height: auto;
}
.page-con-intro .main-info {
    width: 540px;
    gap: 9px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-con-intro .main-info h2 {
    /* font-size: 28px; */
    /* font-weight: 500; */
    /* color: #40495A; */
    margin-bottom: 20px;
    /* line-height: 1.2; */
    font-size: 38px;
    font-style: normal;
    font-weight: 500;
    line-height: 46px;
    letter-spacing: 0.76px;
}

.page-con-intro .main-info p {
    /* font-size: 16px; */
    /* line-height: 1.6; */
    /* color: #4A4A4A; */
    margin-bottom: 20px;
    text-align: justify;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: 0.32px;
}

.page-con-intro .btn-certificados {
    width: 365px;
}

.page-con-intro .btn-certificados i {
    margin-left: 30px;
    font-size: 20px;
}


/* Activities Section */
.activities-section {
    text-align: center;
    background: var(--color-3-azul);
    padding: 70px 0;
}

.activities-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 10px;
    /* max-width: 800px; */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
    color: var(--color-text);
}
.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 64px;
}
.activity-card {
    text-align: center;
    padding: 30px 20px;
}

.activity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.activity-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px auto;
    /* background: #F5F5F5; */
    /* border-radius: 50%; */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: #9096FF;
}

.activity-card h3 {
    color: var(--color-text);
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px;
}
.activity-item h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-black);
    line-height: 1.4;
    max-width: 280px;
}
.activity-links {
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    color: var(--color-text);
    line-height: 26px;
    text-align: center;
}
.activity-links a {
    color: #0033FF;
    text-decoration: none;
}

/* Secondary CTA Section */
.secondary-cta-section {
    text-align: center;
    margin-bottom: 80px;
}

.contact-info {
    margin-top: 32px;
}

.contact-info p {
    font-size: 16px;
    color: var(--color-gray-600);
    margin-bottom: 16px;
}

.contact-emails {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-emails a {
    color: var(--color-primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.contact-emails a:hover {
    text-decoration: underline;
}

.contact-emails span {
    color: var(--color-gray-600);
}

/* Header wrapper consistency */
.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-primary-blue);
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Removed duplicate .main-nav definition that was conflicting with the correct blue navigation bar */

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Secondary Navigation */
.secondary-nav {
    background-color: #0033FF;
    padding: 0;
}

.secondary-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.secondary-nav-list li a {
    color: white;
    text-decoration: none;
    padding: 16px 24px;
    display: block;
    font-weight: 500;
    transition: background-color 0.2s;
}

.secondary-nav-list li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.secondary-nav-list li a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Page Quienes Somos */

.intro-section {}

.intro-section h2 {
    color: var(--color-primary-blue);
    font-size: 68px;
    font-style: normal;
    font-weight: 500;
    line-height: 114.286%;
}
.page-id-38322 .intro-section h2 {
  font-size: 50px;
}

#tab-principios ul li {
  margin-bottom: 8px;
}

#tab-principios ul li a {
  text-decoration: none;
  color: var(--color-primary-blue);
  font-weight: 500;
}

#tab-principios ul li a:hover {
    color: var(--color-primary-blue-600);
}

.testimonials-section .owl-dots {
  margin-top: 20px!important;
}
.testimonials-section .owl-dots .owl-dot span {
  width: 20px!important;
  height: 20px!important; 
}

.testimonials-section .owl-dots .owl-dot.active span {
  background-color: ;
}

.intro-text {
    font-size: 16px;
    line-height: 1.6;
    color: #4A4A4A;
    margin-bottom: 20px;
    text-align: justify;
}

.last-blocks {
    background: var(--color-3-azul);
}

.extra-blocks {
    display: flex;
    padding: 100px 0;
    align-items: flex-start;
    gap: 70px;
    align-self: stretch;
}
.extra-blocks .extra-block {
    width: 50%;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: 0.32px;
    color: #40495A;
}
.extra-blocks .extra-block h3 {
    /* font-size: 22px; */
    /* color: #000; */
    margin-bottom: 1rem;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
}


/* Responsive for Certificate Page */
@media (max-width: 1024px) {
    .certificate-content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .certificate-illustration {
        flex: none;
        max-width: 300px;
    }
    
    .certificate-title {
        font-size: 32px;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .certificate-hero-section {
        padding: 40px 0;
        margin-bottom: 60px;
    }
    
    .certificate-content-wrapper {
        gap: 32px;
    }
    
    .certificate-title {
        font-size: 28px;
    }
    
    .certificate-description p {
        font-size: 16px;
    }
    
    .activities-title {
        font-size: 20px;
        margin-bottom: 32px;
    }
    
    .activity-item h3 {
        font-size: 16px;
    }
    
    .contact-emails {
        flex-direction: column;
        gap: 8px;
    }
    
    .header-wrapper {
        flex-direction: column;
        gap: 16px;
    }
    
    .main-nav {
        display: none;
    }
    
    .secondary-nav-list {
        flex-direction: column;
    }
}








/* Sidebar con filtros */
.sidebar {
    background: #fff;
    padding: 20px 0 40px;
    width: 100%;
}

.sidebar h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 50px;
}
.sidebar a{
    width: 200px;
}
.sidebar select{
   flex:1;
}
.filters-section p {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.filters-section {
    display: flex;
    gap: 18px;
    align-items: flex-end;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.filter-group {
    display: flex;
    flex-direction: column;
    flex:1
}

.filter-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.filter-select,
.filter-select:hover {
  height: 50px!important;
  padding: 17px 20px;
}

.filter-select {
  /* reset nativo */
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  
 
    
  background: #fff;
  border: 1px solid #AAB2BF;
  border-radius: 4px;
  
  font-family: 'Neue Haas Grotesk Display Pro';
  font-size: 16px;
  color: var(--color-text);
  font-weight: 500;
  letter-spacing: 0.32px;
  

  /* ícono chevron ↓ (azul #0033FF) */
  background-color: transparent;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%230033FF' d='M.21,5.18c-.28-.28-.28-.75,0-1.03.28-.28.75-.28,1.03,0l6.76,6.76,6.76-6.76c.28-.28.75-.28,1.03,0,.28.28.28.75,0,1.03l-7.28,7.28c-.28.28-.75.28-1.03,0L.21,5.18Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1.1em 1.1em;               /* tamaño del ícono */
  background-position: right 1.1em center;    /* posición del ícono */

  background-clip: border-box;
  -moz-background-clip: border-box;
  -webkit-background-clip: border-box;
  
  transition: all 0.15s ease-in-out;
  -webkit-transition: all 0.15s ease-in-out;
  -moz-transition: all 0.15s ease-in-out;
  
  outline: none!important;
}

/* Ocultar flecha nativa en IE/Edge heredado */
.filter-select::-ms-expand { display: none; }

/* Focus: borde y chevron ↑ (rotado 180° alrededor del centro 8,8) */
.filter-select:focus,
.filter-select:focus-visible {
  outline: none!important;
  box-shadow: 0;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath transform='rotate(180 8 8)' fill='%230033FF' d='M.21,5.18c-.28-.28-.28-.75,0-1.03.28-.28.75-.28,1.03,0l6.76,6.76,6.76-6.76c.28-.28.75-.28,1.03,0,.28.28.28.75,0,1.03l-7.28,7.28c-.28.28-.75.28-1.03,0L.21,5.18Z'/%3E%3C/svg%3E");
}
.filter-select:hover {
    border-color: var(--color-primary-blue);
}

.filtro-btn,
.limpiar-btn {
    display: inline-block;
    transition: 0.2s;
    text-align: center;
}

.filters-section .filtro-btn,
.filters-section .limpiar-btn {
    height: 53px;
    padding: 16px 20px;
    display: inline-block;
    margin-right: 6px;
    line-height: 1.3;
}


.filters-section .filtro-btn i,
.filters-section .limpiar-btn i {
  margin-left: 15px;
}

.selector-section .dropdown-toggle {
  border: 1px solid #AAB2BF;
}
.selector-section .dropdown-toggle span {
  
  font-family: 'Neue Haas Grotesk Display Pro';
  font-size: 16px;
  color: var(--color-text);
  font-weight: 500;
  letter-spacing: 0.32px;
  
}

.selector-section .dropdown-toggle i {
  font-size: 2rem;
  color: var(--color-primary-blue);

}






.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.content-title {
    font-size: 22px;
    font-weight: 500;
    color: #1A1A1A;
}

.view-buttons {
    display: flex;
    gap: 10px;
}

.btn-view {
    padding: 8px 16px;
    background: #F5F5F5;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 14px;
}

.btn-view.active {
    background: #0033FF;
    color: white;
}

/* Grid de recursos */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.resource-card {
    background: #FFFFFF;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.resource-card:hover {
    transform: translateY(-2px);
}

.resource-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.resource-content {
    padding: 20px;
}

.resource-title {
    font-size: 16px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 12px;
    line-height: 1.3;
    min-height: 40px;
}

.resource-description {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 15px;
}



/* Sección principal */
.survey-intro {
    margin-bottom: 50px;
}

.survey-intro h2 {
    font-size: 28px;
    font-weight: 500;
    color: #1A1A1A;
    margin-bottom: 25px;
    line-height: 1.2;
}

.survey-description {
    font-size: 16px;
    line-height: 1.6;
    color: #4A4A4A;
    margin-bottom: 20px;
    text-align: justify;
}

/* Información de la encuesta */

.survey-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    text-align: left;
    margin-bottom: 30px;
    
    
}

.info-card {
    display: grid;
    gap: 16px;
}

.info-card h3 {
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.2;
}

.info-card p {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.32px;
}

.info-card ul {
    padding-left: 20px;
}

.info-card li {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
}

/* Botón principal */
.survey-cta {
    text-align: center;
    margin: 50px 0;
    padding: 40px;
    background: #F8F8F8;
}

.btn-survey {
  
        display: flex;
        width: calc(100% / 3 - 47px);
        height: 55px;
        justify-content: space-between!important;
        align-items: center;
}

.btn-survey i {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    text-align: center;
    font-size: 21px;
    margin-left: auto;
}



/* FAQ */
.faq-section {
    margin: 50px 0;
}

.faq-title {
    font-size: 28px;
    font-weight: 500;
    color: #1A1A1A;
    margin-bottom: 30px;
    text-align: center;
}

.faq-item {
    background: #F8F8F8;
    margin-bottom: 20px;
    border-radius: 0;
}

.faq-question {
    padding: 20px;
    background: #0033FF;
    color: white;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    border: none;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #0022CC;
}

.faq-answer {
    padding: 20px;
    background: #FFFFFF;
    display: none;
    font-size: 14px;
    line-height: 1.6;
    color: #4A4A4A;
}

.faq-answer.active {
    display: block;
}
/*titulo */
.titulo-sc{
    font-size: 38px;
    font-weight: 500;
    color: var(--color-text);
}
.titulo-tr {
    margin-bottom: 15px;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.3;
}
/* */
.links-download {
    display: flex;
    padding: 40px 0 100px;
    align-items: center;
    gap: 70px;
    flex-wrap: wrap;
    row-gap: 35px;
}
.links-download .morado {
    background: var(--color-tertiary-600);
}
.links-download .morado:hover {
    background: var(--color-tertiary-700);
}

.page-intro-pipe {
  margin-bottom: 50px;
}
.testimonials-grid-pipe .testimonial-card {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 4px;
  text-align: left;
}

.testimonials-grid-pipe .testimonial-card img {
  margin-bottom: 20px;
}
.testimonials-grid-pipe .testimonial-card h3 {
  margin-bottom: 10px;
}
.testimonials-grid-pipe .testimonial-card h3 a {
  font-size: 20px;
  color: var(--color-primary-blue);
  text-decoration: none;
  font-weight: 600;
}
.testimonials-grid-pipe .testimonial-card p {
  color: var(--color-text);
}
.testimonios {
  margin-bottom: 30px;
}
.article-text .testimonios span {
  font-weight: 600!important;
}
.postid-47233 .btn {
  margin-bottom: 20px;
}

.page-id-3 .tab-navigation,
.page-id-3 .tab-content-wrapper {
  display: none!important;
}

.iniciativas-content {
  margin: 60px 0;
  padding-top: 60px;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.iniciativas-content h4 {
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 600;
}
.iniciativas-content p {
  margin-bottom: 15px;
  color: var(--color-text);
  line-height: 28px;
  letter-spacing: 0.32px;
}

.page-id-3 .page-con-intro .main-image-container {
  width: 410px; 
}
