/* Paleta de colores */
:root {
    --white: #ffffff;
    --black: #000000;
    --grey: #757575;
    --greyLight: #dfe4ea;
    --greyBlue: #22205F;
    --greyNight: #0B141F;
}

/* Reset de estilos básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: "Fs_r";
    src: url("../asset/fonts/fs_r.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TGSPerfectCondensed';
    src: url('../asset/fonts/TGSPerfectCondensed.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../asset/fonts/Inter-VariableFont_opsz\,wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../asset/fonts/Roboto-VariableFont_wdth\,wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
    max-width: 2000px!important;
    margin: 0 auto;
    background-color: #22205F;
}
/* Estilos generales */
body {
    font-family: 'Inter', sans-serif;
    color: var(--white);
    overflow-x: hidden!important;
    letter-spacing: 1px;
    position: relative;
}

main {
    position: relative;
}

header {
    height: 600vh;
    position: relative;
}

/* Video de fondo 
#videoScroll {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    margin-top: -115px;
    z-index: -1;
    filter: brightness(0.9);
}*/

.frame-container {
    position: fixed; /* Fijo en la pantalla */
    top: 0;

    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: black;
    z-index: -1; /* Asegura que esté por encima de otros elementos */
    object-fit: cover;
    max-width: 2000px!important;
    margin: 0 auto;
}

.frame-container img {
    position: absolute;
    width: 100%;
    height: auto;
}
.frame-container img.active {
    display: block;
}

/* ==========================
        NAVEGACIÓN
============================= */
.nav_first {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 30px;
    position: relative;
}

.nav_pri_first {
    display: flex;
    align-items: flex-start; 
    width: 100%;
    position: relative;
    z-index: 2;
    justify-content: space-between;
}

.nav_pri_first a {
    color: var(--white);
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.nav_pri_first a:hover {
    color: #22205F;
}

/* Parte izquierda con logo */
.nav_left_first {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Centro con columnas */
.nav_center_first {
    display: flex;
    flex-direction: row;
    gap: 80px;
    margin-left: 50px;
}

.nav_column_first {
    display: flex;
    list-style: none;
    padding: 0;
    text-align: left;
    gap : 80px;
}

/* Parte derecha con enlaces */
.nav_right_first {
   
    position: relative;
    display: flex; 
    list-style: none;
    gap: 94px;
    padding: 0;
}

/* Icono en el centro */
.nav_icon_first { 
    position: fixed;
    top: -10px;
    left: 50.5%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 21px 14px 2px;
    border-radius: 0 0 18px 18px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    z-index: 10;
    box-sizing: border-box;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.6);
}

.nav_icon_first .img_icon1 {
    height: 100px;
    transition: filter 0.3s ease-in-out;
}

.nav_icon_first .img_icon2 {
    height: 100px;
    transition: filter 0.3s ease-in-out;
}

.nav_icon_first:hover {
    background: var(--greyBlue);
}

.nav_icon_first:hover .img_icon1 {
display: none;
}

.nav_icon_first .img_icon2 {
    
display: none;
}

.nav_icon_first:hover .img_icon2 {
   opacity: 1;
   display: inline;
   filter: brightness(0) invert(1);
}




/* ==========================
        SUBMENUS
============================= */
/* Ocultar submenús por defecto */
.dropdown_first {
    display: none;
    position: absolute;
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    top: 35px;
}

.submenu_dropdown_first {
    position: absolute;
    top: 0;
    right: -89%;
    list-style: none;
    display: none;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 0;
    min-width: 200px;
}

.menu_item_first {
    position: relative;
    z-index: 5;
    padding-bottom: 29px;
}
.submenu_item_first {
    position: relative;
    z-index: 5;
}

/* Mostrar submenús cuando el usuario pase el mouse sobre el menú padre */
.menu_item_first:hover > .dropdown_first,
.submenu_item_first:hover > .submenu_dropdown_first {
    display: block;

}


/* Ajustar los enlaces del submenú */
.dropdown_first li {
    padding: 8px 15px;
    white-space: nowrap;
}

.dropdown_first li a {
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    color: #22205F;
}

.dropdown_first li a:hover {
    color: #060428;
}




.menu-mobile-container {
    display: none;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 40px;
    height: 40px;
    background-color: rgba(49, 46, 141, 0.8);
    border-radius: 4px;
    justify-content: center;
    align-items: center;
    padding: 8px;
}

.hamburger-icon {
    position: relative;
    width: 24px;
    height: 20px;
}

.hamburger-icon span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
    left: 0;
}

.hamburger-icon span:nth-child(1) {
    top: 0;
}

.hamburger-icon span:nth-child(2) {
    top: 9px;
}

.hamburger-icon span:nth-child(3) {
    top: 18px;
}

.hamburger-menu.active .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

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

.hamburger-menu.active .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

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

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

.menu-mobile-list {
    padding: 60px 0 20px;
    margin: 0;
    list-style: none;
}

.menu-mobile-list li {
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.menu-mobile-list > li > a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.menu-item-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.menu-item-wrapper:hover {
    background-color: #f0f0f0;
}

.menu-item-wrapper > a {
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    flex: 1;
    z-index: 2; /* Para asegurar que el enlace esté por encima */
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 48px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.dropdown-toggle i {
    font-size: 14px;
    color: #333;
    transition: transform 0.3s ease;
}

.dropdown-toggle.active i {
    transform: rotate(180deg);
}

.submenu-mobile, 
.submenu-mobile-nested {
    display: none;
    list-style: none;
    background-color: #f5f5f5;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.submenu-mobile.active, 
.submenu-mobile-nested.active {
    display: block;
    max-height: 1000px; /* Valor suficientemente grande para contener todos los elementos */
}

/* Estilos específicos para submenús anidados */
.submenu-mobile-nested {
    background-color: #e9e9e9; /* Un tono más oscuro para distinguir */
}

/* Mejorar estilos para el menú anidado de Pastoral del Santuario */
.submenu-mobile .submenu-mobile-dropdown {
    background-color: #f0f0f0;
    position: relative;
    cursor: pointer;
}

.submenu-mobile .menu-item-wrapper:hover {
    background-color: #e5e5e5;
}

.submenu-mobile li a, 
.submenu-mobile-nested li a {
    display: block;
    padding: 12px 20px 12px 40px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.submenu-mobile li a:hover,
.submenu-mobile-nested li a:hover {
    background-color: #e0e0e0;
}

.submenu-mobile-nested li a {
    padding-left: 60px;
    background-color: #e9e9e9;
}

/* Overlay cuando el menú está abierto */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
}

.menu-overlay.active {
    display: block;
}

/* ==========================
        SECCIONES HERO
============================= */
.container_first {
    position: absolute;
    top: 200px;
    left: 200px;
    width: 73ch;
}

.hero_bg1 {
    position: relative;
    z-index: 1;
}

.hero_bg1,
.hero_bg2_second,
.hero_bg3_third {
    text-align: start;
    height: 150vh;
    padding: 80px 20px;
}

.hero_bg3_third {
    height: 260vh;
}

/* Títulos */
.h1_interaction_first h1,
.h1_interaction_second h1,
.h1_interaction_third h1 {
    font-size: 5rem;
    font-weight: 400;
    line-height: 0.9;
    font-family: 'TGSPerfectCondensed';
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Descripción */
.description_first,
.description_second,
.description_third {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 10px auto 20px;
    color: var(--white);
    font-family: 'Inter';
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Botón */
.boton {
    display: inline-block;
    background-color: var(--white);
    color: var(--greyNight);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
}

.boton:hover {
    background: var(--greyLight);
}

/* ==========================
        SECCIÓN SQUARE
============================= */
.sq_square {
    display: flex;
    position: sticky;
    bottom: 20px;
    right: 20px;
    justify-content: end;

    gap: 5px;
    width: 100vw;
    max-width: 2000px !important;
    margin: 0 auto;
    margin-left: -233px;
}

.sq_img_container {
    width: 230px;
    height: 153px;
    object-fit: cover;
    overflow: hidden;
}
.sq_container_left{
    margin-bottom: 10px;
}
.sq_img_container img {
    border-radius: 5px;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.sq_container {
    background: var(--white);
    color: var(--greyNight);
    display: flex;
    flex-direction: column;
    padding: 14px;
    border-radius: 5px;
    width: 288px;
}

.sq_container h2 {
    font-size: 14px;
    font-weight: normal;

}

.sq_container a {
    font-size: 14px;
    color: var(--greyNight);
    text-decoration: none;
}

.sq_container .cta {
    font-weight: bold;
    margin-bottom: 20px;
}

/* ==========================
        SECCION FOUR
============================= */
.section_four {
    text-align: center;
    background-color: var(--white);
    color: var(--greyNight);
    padding: 80px 20px;
    position: relative;
    z-index: 1;
}

.section_four::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.02);
    z-index: -1;
}

.section_title_four {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--greyBlue);
    font-family: 'Inter';
}

.section_p_four {
    max-width: 1200px;
    margin: 0 auto 40px;
    font-size: 1.6rem;
    line-height: 1.6;;
    font-family: 'Inter';

}

/* ==========================
      SECCIÓN FIVE
============================= */
.section_five {
    width: 100%;
    background-color: #f0f0f0;
    padding-bottom: 50px;
}

/* Ajuste de la posición del título */
.nav_bg_five {
    height: 250px;
    background-image: url("../asset/images/section/ultimas_noticias_bg.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative;
    padding: 0 30px 20px;
    min-height: 80vh;
    
}

/* Contenedor del título */
.nav_title_container_five {
    width: auto;
}

/* Título de la sección */
.nav_title_five {
    font-size: 2.5rem;
    color: white;
    font-weight: bold;
    text-align: left;
}

/* ==========================
      MENÚ DE NAVEGACIÓN
============================= */

.nav_five {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--greyBlue);
    padding: 0;
    margin: 0;
}

/* Ajuste para los enlaces */
.nav_link_five {
    flex-grow: 1;
    text-align: center;
    padding: 15px 0;
    color: var(--white);
    text-decoration: none;
    font-weight: normal;
    transition: background 0.3s, color 0.3s;
    border-right: 1px solid rgba(255, 255, 255, 0.2)
}

/* Remover el borde derecho del último enlace */
.nav_link_five:last-child {
    border-right: none;
}

/*  Cuando un enlace está seleccionado */
.nav_link_five.active {
    background-color: var(--white);
    color: var(--greyNight);
    font-weight: bold;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    box-sizing: border-box;
}

/* ==========================
      CONTENIDO DINÁMICO
============================= */

.nav_content_five {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 40px;
    justify-content: center;
}

.nav_card_five {
    flex: 0 1 20%;
    min-width: 250px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.nav_card_five:hover {
    transform: translateY(-5px);
}

.nav_card_img_five {
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.nav_card_img_five img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.nav_card_five:hover .nav_card_img_five img {
    transform: scale(1.05);
}

.nav_card_text_five {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.nav_card_text_five a {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.nav_card_text_five h3 {
    font-size: 1.2rem;
    color: var(--greyNight);
    margin-bottom: 15px;
    line-height: 1.4;
    flex-grow: 1;
}

.nav_card_footer_five {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--greyLight);
    margin-top: auto;
}

.nav_card_date_five {
    color: var(--grey);
    font-size: 0.9rem;
}

.nav_card_more_five {
    color: var(--greyBlue);
    font-weight: 500;
}


/* Estilos para las publicaciones */
.publicaciones-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.publicacion {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.publicacion h4 {
    color: var(--greyBlue);
    margin-bottom: 10px;
    font-size: 1.1em;
}

.publicacion img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 10px 0;
}

.publicacion .fecha {
    display: block;
    color: #666;
    font-size: 0.9em;
    margin-top: 10px;
}

.rama-descripcion {
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ==========================
        FOOTER
============================= */

footer{
    background: #22205F;
    width: 100%;
    bottom: 0;
    left: 0;
  }
  footer .content{
    max-width: 1250px;
    margin: auto;
    padding: 30px 40px 40px 40px;
  }
  footer .content .top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
  }
  .content .top .logo-details{
    color: #fff;
    font-size: 30px;
  }
  
  .logo-details {
    display: flex;
    align-items: center; 
    gap: 10px; 
  }
  
  .footer-logo {
    width: 150px; 
    height: auto;
    filter: brightness(0) invert(1);
  }
  
  .content .top .media-icons{
    display: flex;
  }
  .content .top .media-icons a{
    height: 40px;
    width: 40px;
    margin: 0 8px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: #fff;
    font-size: 17px;
    text-decoration: none;
    transition: all 0.4s ease;
  }
  
  /* Redes sociales - Estilos */
  .top .media-icons a.fb {background: #312e8d;}
  .top .media-icons a.fb:hover {color: #4267B2; background: #fff;}
  
  .top .media-icons a.ig {background: #312e8d;}
  .top .media-icons a.ig:hover {color: #E1306C; background: #fff;}
  
  .top .media-icons a.tw {background: #312e8d;}
  .top .media-icons a.tw:hover {color: #1DA1F2; background: #fff;}
  
  .top .media-icons a.yt {background: #312e8d;}
  .top .media-icons a.yt:hover {color: #FF0000; background: #fff;}
  
  .top .media-icons a.sp {background: #312e8d;}
  .top .media-icons a.sp:hover {color: #1DB954; background: #fff;}
  
  .top .media-icons a.fl {background: #312e8d;}
  .top .media-icons a.fl:hover {color: #FF0084; background: #fff;}
  
  
  footer .content .link-boxes{
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  footer .content .link-boxes .box{
    width: calc(100% / 5 - 10px);
  }
  
  .link-boxes .app-box {
    margin-right: 30px;
    margin-left: 18px;
  }
  
  .content .link-boxes .box .link_name{
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
    position: relative;
  }
  .link-boxes .box .link_name::before{
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 35px;
    background: #fff;
  }
  .content .link-boxes .box li{
    margin: 6px 0;
    list-style: none;
  }
  .content .link-boxes .box li a{
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.4s ease
  }
  .content .link-boxes .box li a:hover{
    opacity: 1;
    text-decoration: underline;
  }
  .content .link-boxes .input-box{
    margin-right: 55px;
  }
  
  .footer-app-links {
    display: flex;
    flex-direction: column; 
    gap: 10px; 
  }
  
  .footer-app-links img {
    width: 130px;
    transition: transform 0.3s ease;
  }
  
  .footer-app-links img:hover {
    transform: scale(1.05);
  }
  
  .link-boxes .input-box input{
    height: 40px;
    width: calc(100% + 55px);
    outline: none;
    border: 2px solid #AFAFB6;
    background: #22205F;
    border-radius: 4px;
    padding: 0 15px;
    font-size: 15px;
    color: #fff;
    margin-top: 5px;
  }
  .input-box span {
    color: #fff;
  }
  
  .link-boxes .input-box input[type="button"]{
    background: #fff;
    color: #22205F;
    border: none;
    font-size: 18px;
    font-weight: 500;
    margin: 4px 0;
    opacity: 0.8;
    cursor: pointer;
    transition: all 0.4s ease;
  }
  .input-box input[type="button"]:hover{
    opacity: 1;
  }
  footer .bottom-details{
    width: 100%;
    background: #312e88;
  }
  footer .bottom-details .bottom_text{
    max-width: 1250px;
    margin: auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
  }
  .bottom-details .bottom_text span,
  .bottom-details .bottom_text a{
    font-size: 14px;
    font-weight: 300;
    color: #fff;
    opacity: 0.8;
    text-decoration: none;
  }
  .bottom-details .bottom_text a:hover{
    opacity: 1;
    text-decoration: underline;
  }
  .bottom-details .bottom_text a{
    margin-right: 10px;
  }

  
/* ==========================
      RESPONSIVIDAD
============================= */

.loader-container {
    width: 80%;
    margin: 40px auto;
    text-align: center;
    padding: 20px;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid var(--greyLight);
    border-top: 5px solid var(--greyBlue);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

.loader-container p {
    color: var(--greyBlue);
    font-size: 1.1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estilos para el mensaje de error */
.error-mensaje {
    width: 80%;
    margin: 40px auto;
    text-align: center;
    padding: 30px;
}

.error-mensaje h3 {
    color: var(--greyBlue);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.error-mensaje p {
    color: var(--grey);
    font-size: 1.1rem;
}

/* Estilos mejorados para las publicaciones */
.rama-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.rama-header h2 {
    color: var(--greyNight);
    font-size: 2.2rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.rama-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--greyBlue);
    border-radius: 2px;
}

.publicacion {
    display: flex;
    gap: 20px;
    text-align: left;
    background: #ffffff;
    border: 1px solid #eaeaea;
    transition: transform 0.2s ease;
}

.publicacion:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.publicacion-imagen {
    flex: 0 0 200px;
}

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

.publicacion-contenido {
    flex: 1;
    padding: 15px;
}

.no-publicaciones {
    text-align: center;
    color: #666;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Estilos para las cards de noticias */
.noticias-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.noticia-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.noticia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.noticia-imagen {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.noticia-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.noticia-card:hover .noticia-imagen img {
    transform: scale(1.05);
}

.noticia-contenido {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.noticia-contenido h3 {
    text-align: center;
    color: var(--greyNight);
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.noticia-contenido p {
    color: var(--grey);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.noticia-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--greyLight);
}

.fecha {
    color: var(--grey);
    font-size: 0.85rem;
}

.leer-mas {
    color: var(--greyBlue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.leer-mas:hover {
    color: var(--greyNight);
}


/* Estilos para el botón Ver más noticias */
.ver-mas-container {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.ver-mas-btn {
    display: inline-block;
    background-color: #FFCC05;
    color: var(--greyBlue);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.ver-mas-btn:hover {
    background: var(--greyBlue);
    color: var(--white);
}

/* Estilos para la página de noticias */
.noticias-page {
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.filtros-noticias {
    display: flex;
    gap: 20px;
    margin: 30px auto;
    max-width: 800px;
    padding: 0 20px;
}

.filtro-select,
.filtro-busqueda {
    padding: 10px 15px;
    border: 1px solid var(--greyLight);
    border-radius: 5px;
    font-size: 1rem;
    color: var(--greyNight);
}

.filtro-select {
    min-width: 200px;
}

.filtro-busqueda {
    flex-grow: 1;
}

.paginacion {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagina-btn {
    padding: 8px 15px;
    border: 1px solid var(--greyLight);
    border-radius: 5px;
    background: white;
    color: var(--greyNight);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagina-btn.active {
    background: var(--greyBlue);
    color: white;
    border-color: var(--greyBlue);
}

.pagina-btn:hover:not(.active) {
    background: var(--greyLight);
}

/* Estilos para el botón de ver más noticias */
.ver-mas-noticias {
    text-align: center;
    padding: 2rem 0 4rem;
}

.btn-ver-noticias {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--greyBlue);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-ver-noticias:hover {
    background-color: var(--greyNight);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.nav_card_five {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav_card_five:hover {
    transform: translateY(-5px);
}

.nav_card_five a {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.nav_card_text_five a:hover h3 {
    color: var(--greyBlue);
}

.nav_card_more_five {
    color: var(--greyBlue);
}

/* Overlay para el header */
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0) 100%
    );
    pointer-events: none; /* Permite que los clicks pasen a través del overlay */
    z-index: 1;
}

/* Ajustamos el z-index del nav para que esté por encima del overlay */
.nav_pri_first {
    position: relative;
    z-index: 2;
    height: 80px;

}

/* Aseguramos que el contenido del header esté por encima del overlay */
.header_content {
    position: relative;
    z-index: 2;
}


.horario-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 50px;
    

    background-color: white;
}



.horario-imagen img {
    width: 700px;
    height: 725px;
    object-fit: cover;
    border-radius: 15px;
}


.horario-container {
 
    max-width: 50%;
}

.horario-card {
    background: var(--greyWhite);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    text-align: left;
}

.horario-card p{
    color: #313C49;
}

.horario-container h2 {
    color: #312e88;
    margin-top: 20px;
    margin-bottom: 10px;
}

.hora {
    font-weight: bold;
    color: #313C49;
}



@media(min-width: 2000px) {
    .frame-container img {
        position: absolute;
   
        width: 100vw;
    }
}

@media(min-height: 1400px) {
    .frame-container img {
        height: 100vh;
        width: auto;
    }
}

@media (max-width: 1830px) {

    .nav_icon_first {
        left: 52%;
    }
    .nav_column_first {
        gap: 60px;
    }
    .nav_column_first li a {
        font-size:14px;
        margin: 0;
    }
    .nav_right_first {
        gap: 60px;
    }
    .nav_right_first li a {
        font-size:14px;
        margin: 0;
    }

    .container_first {
        top: 112px;

    }



    .frame-container img {
    height: 100vh;
    object-fit: cover;
    }


}






@media (max-width: 1300px) {

      .nav_content_five {
        grid-template-columns: repeat(2, 1fr);
    }
    .noticias-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Ocultar menú de escritorio */
    .nav_pri_first {
        display: none;
    }
    
    /* Mostrar menú hamburguesa */
    .menu-mobile-container,
    .hamburger-menu {
        display: flex;
    }
    
    /* Ajustes adicionales para resolución móvil */
    .container_first {
        top: 80px;
    }
    
    .nav_icon_first {
    background: transparent;
    box-shadow: none;
    left: 10%;
    }

    .nav_icon_first:hover {
        background: transparent;
        box-shadow: none;
    }

.nav_icon_first:hover .img_icon1 {
    display: block;
        display: block;
      
    }
    
.nav_icon_first:hover .img_icon2 {
    display: none;
      
    }
    
    header::before {
        background-attachment: scroll;
    }

    .container_first {
                left: 50%;
        transform: translate(-50%);
    }



    
}








@media (max-width: 768px) {
    .nav_content_five {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .noticias-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Ajustes adicionales para pantallas más pequeñas */
    .hero_bg1 h1,
    .hero_bg2_second h1,
    .hero_bg3_third h1 {
        font-size: 24px;
    }


    .description_first p,
    .description_second p,
    .description_third p {
        font-size: 14px;
    }

    /* Mejoras para los iconos de redes sociales */
    .content .top .media-icons {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .content .top .media-icons a {
        margin: 0 5px;
    }

    .hero_bg3_third{
    
    height: 245vh;

}

    /* Ajustes para la animación de texto en dispositivos móviles */
    .section_p_four {
        transition: opacity 0.8s ease;
    }
    
    /* Mejorar el contraste del texto */
    .section_title_four {
        text-shadow: 0 1px 2px rgba(0,0,0,0.1);
        
    }
    

}

@media (max-width: 500px) {
    .hero_bg1 h1, .hero_bg2_second h1, .hero_bg3_third h1 {
        font-size: 4em;
    }
    .noticias-grid {
        grid-template-columns: 1fr;
    }

    .menu-mobile {
        width: 90%;
    }

    .container_first {
        width: 90%;
    }

    .sq_img_container {
    height: auto;    }
    .sq_square {

        z-index: 99;
        display: none;
    }

    .nav_icon_first{
        left: 20%;
    }

}

/* Footer Responsive */
@media (max-width: 1200px) {
    footer .content {
        max-width: 95%;
        padding: 30px 20px;
    }
    
    .footer-logo {
        width: 70px;
    }
    
    .content .top .media-icons a {
        height: 40px;
        width: 40px;
        line-height: 40px;
    }
}

@media (max-width: 992px) {
    footer .content .link-boxes {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    footer .content .link-boxes .box {
        width: 45%;
        margin-bottom: 25px;
    }
    
    .link-boxes .app-box {
        width: 100% !important;
    }
    
    .footer-app-links {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    footer .content .top {
        flex-direction: column;
        margin-bottom: 30px;
    }
    
    
    .content .top .logo-details {
        margin-bottom: 15px;
    }
    
    .content .top .media-icons {
        margin-top: 15px;
    }
    
    footer .content .link-boxes .box {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .link-boxes .input-box {
        width: 100%;
    }
    
    .bottom-details .bottom_text {
        flex-direction: column;
        text-align: center;
    }
    
    .bottom-details .bottom_text span {
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    footer .content {
        padding: 25px 15px;
    }
    
    .footer-logo {
        width: 60px;
    }
    
    .content .top .media-icons a {
        height: 35px;
        width: 35px;
        line-height: 35px;
        font-size: 14px;
        margin: 0 4px;
    }
    
    .content .link-boxes .box .link_name {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .content .link-boxes .box li a {
        font-size: 14px;
    }
    
    .link-boxes .input-box input[type="button"] {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .footer-app-links {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-app-links img {
        max-width: 140px;
        margin-bottom: 10px;
    }
}

/* Mejoras para los botones de las aplicaciones */
@media (min-width: 769px) and (max-width: 992px) {
    .footer-app-links {
        display: flex;
        justify-content: flex-start;
        gap: 15px;
    }
    
    .footer-app-links img {
        max-width: 150px;
    }
}

/* Ajustes para la sección four */
@media (max-width: 992px) and (hover: none) {
    .section_four {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    
    .section_title_four {
        padding: 0 10px;
    }
    
    .section_p_four {
        padding: 0 5px;
    }
}

@media (max-width: 480px) {
    .section_p_four {
        max-width: 100%;
        letter-spacing: 0.5px;
    }
}

/* Optimización para pantallas de alta resolución */
@media (min-width: 1400px) {
    .section_four {
        padding: 100px 60px;
    }
    
    .section_title_four {
        font-size: 2.8rem;
        margin-bottom: 30px;
    }
    
    .section_p_four {
        font-size: 1.1rem;
        max-width: 1000px;
        margin: 0 auto;
        line-height: 1.8;
    }
}

/* Ajustes para la sección de contacto */
@media (max-width: 768px) {
    .link-boxes .input-box input[type="button"] {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    
    .contact-info {
        font-size: 14px;
    }
}

/* Alineación de los textos en las cajas de enlaces */
@media (max-width: 480px) {
    footer .content .link-boxes .box {
        text-align: center;
    }
    
    .link-boxes .box .link_name::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-app-links {
        justify-content: center;
        align-items: center;
    }
}

/* Ajustes finales para el footer */

/* Corregir espaciado en versión móvil */
@media (max-width: 768px) {
    footer .bottom-details {
        padding: 15px 0;
    }
    
    footer .bottom-details .bottom_text {
        padding: 15px;
    }
    
    /* Mejorar espaciado entre cajas */
    footer .content .link-boxes {
        gap: 10px;
    }
}

/* Ajustes específicos para versión extremadamente pequeña */
@media (max-width: 360px) {
    footer .content {
        padding: 20px 10px;
    }
    
    .content .top .media-icons a {
        height: 32px;
        width: 32px;
        line-height: 32px;
        font-size: 12px;
        margin: 0 3px;
    }
    
    .footer-logo {
        width: 50px;
    }
    
    .content .link-boxes .box .link_name {
        font-size: 15px;
    }
    
    .content .link-boxes .box li a {
        font-size: 13px;
    }
    
    .bottom-details .bottom_text span {
        font-size: 12px;
    }
    
    .footer-app-links img {
        max-width: 130px;
    }
}

/* Estilos responsivos para section_four */
@media (max-width: 1200px) {
    .section_four {
        padding: 70px 40px;
    }
    
    .section_title_four {
        font-size: 2.2rem;
        margin-bottom: 25px;
    }
    
    .section_p_four {
        font-size: 1rem;
        max-width: 900px;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .section_four {
        padding: 60px 30px;
    }
    
    .section_title_four {
        font-size: 2rem;
        margin-bottom: 20px;
        line-height: 1.3;
    }
    
    .section_p_four {
        font-size: 0.95rem;
        line-height: 1.6;
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .section_four {
        padding: 50px 25px;
    }
    
    .section_title_four {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 20px;
        line-height: 1.4;
    }
    
    .section_p_four {
        font-size: 0.9rem;
        line-height: 1.6;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .section_four {
        padding: 40px 20px;
    }
    
    .section_title_four {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .section_p_four {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

@media (max-width: 360px) {
    .section_four {
        padding: 30px 15px;
    }
    
    .section_title_four {
        font-size: 1.3rem;
    }
    
    .section_p_four {
        font-size: 0.8rem;
    }
}

/* Estilos responsivos para nav_five - Sección de noticias */
@media (max-width: 1200px) {
    .nav_five {
        padding: 15px 25px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav_link_five {
        padding: 8px 15px;
        font-size: 15px;
        margin: 5px;
    }
    
    .nav_separator_five {
        margin: 0 5px;
    }
    
    .nav_bg_five {
        padding: 30px;
    }
    
    .nav_title_five {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .nav_five {
        padding: 10px 20px;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .nav_link_five {
        padding: 6px 12px;
        font-size: 14px;
        margin: 3px;
    }
    
    /* Ocultar separadores en versión tablet para ahorrar espacio */
    .nav_separator_five {
        display: none;
    }
    
    .nav_title_five {
        font-size: 2rem;
    }
    
    .nav_content_five {
        padding: 25px 15px;
    }
}

@media (max-width: 768px) {
    .nav_five {
        padding: 10px 15px;
        overflow-x: auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch; /* Para mejor desplazamiento en iOS */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    /* Ocultar la barra de desplazamiento pero mantener la funcionalidad */
    .nav_five::-webkit-scrollbar {
        display: none;
    }
    
    .nav_link_five {
        white-space: nowrap;
        padding: 6px 10px;
        font-size: 13px;
        flex-shrink: 0;
    }
    
    .nav_title_five {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .nav_bg_five {
        padding: 25px 15px;
    }
    
    .nav_title_container_five {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .nav_title_five {
        font-size: 1.5rem;
    }
    
    .nav_bg_five {
        padding: 20px 10px;
    }
    
    .nav_five {
        padding: 8px 5px;
    }
    
    .nav_link_five {
        padding: 5px 8px;
        font-size: 12px;
        margin: 2px;
    }
}

/* Estilos específicos para dispositivos muy pequeños */
@media (max-width: 360px) {
    .nav_title_five {
        font-size: 1.3rem;
    }
    
    .nav_link_five {
        padding: 4px 6px;
        font-size: 11px;
    }
}

/* Estilos responsivos para tarjetas de noticias */
@media (max-width: 1200px) {
    .nav_content_five {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 30px;
    }
    
    .nav_card_five {
        border-radius: 8px;
    }
    
    .nav_card_text_five h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 992px) {
    .nav_content_five {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 25px 20px;
    }
    
    .nav_card_img_five {
        height: 180px;
    }
    
    .nav_card_text_five {
        padding: 15px;
    }
    
    .nav_card_text_five h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .nav_card_footer_five {
        padding-top: 10px;
    }
}

@media (max-width: 768px) {
    .nav_content_five {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px 15px;
    }
    
    .nav_card_five {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .nav_card_img_five {
        height: 200px;
    }
    
    .nav_card_text_five h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .nav_card_img_five {
        height: 180px;
    }
    
    .nav_card_text_five {
        padding: 12px;
    }
    
    .nav_card_text_five h3 {
        font-size: 1rem;
    }
    
    .nav_card_date_five {
        font-size: 0.8rem;
    }
    
    .nav_card_more_five {
        font-size: 0.8rem;
    }
    
    .ver-mas-container {
        margin-top: 20px;
    }
    
    .ver-mas-btn {
        padding: 8px 20px;
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .nav_card_img_five {
        height: 160px;
    }
    
    .nav_card_text_five h3 {
        font-size: 0.95rem;
    }
    
    .nav_card_footer_five {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .nav_card_date_five {
        margin-bottom: 5px;
    }
}

/* Mejoras de interacción para nav_five */

/* Mejorar la interacción en dispositivos táctiles */
@media (max-width: 768px) {
    /* Indicador visual de scroll horizontal */
    .nav_five::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 30px;
        background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.2));
        pointer-events: none;
    }
    
    /* Añadir una transición suave al cambiar entre pestañas */
    .nav_link_five {
        transition: all 0.3s ease;
    }
    
    .nav_link_five.active {
        transform: scale(1.05);
    }
    
    /* Mejorar la animación al pasar el cursor */
    .nav_card_five {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .nav_card_five:hover {
        transform: translateY(-5px);
    }
}

/* Optimizar el rendimiento de las transiciones */
@media (max-width: 576px) {
    .nav_link_five,
    .nav_card_five,
    .nav_card_img_five img {
        will-change: transform;
    }
    
    .nav_card_five:hover {
        transform: translateY(-3px);
    }
}

/* Añadir indicación visual para mejorar la accesibilidad */
.nav_five {
    position: relative;
}

@media (hover: hover) {
    .nav_link_five:hover:not(.active) {
        background-color: rgba(255, 255, 255, 0.1);
    }
}

/* Estilos responsivos para la sección de horarios */
@media (max-width: 1366px) {
    .horario-wrapper {
        padding: 40px 30px;
        gap: 30px;
    }
    
    .horario-imagen img {
        width: 100%;
        height: 450px;
    }
    .sq_square {
        margin-left: -130px;
    }

    .container_first {
        width: 70ch;
        left: 100px;

    }
}

@media (max-width: 1300px) {
    .container_first {
        left: 30%;
    }

    .sq_square {
        margin-left: -70px;
    }
}

@media (max-width: 1200px) {
    .horario-wrapper {
        padding: 35px 25px;
        gap: 25px;
    }

    .container_first {
        width: 50ch;
        left: 25%;

    }
    
    .horario-imagen img {
        height: 400px;
    }
    
    .horario-card {
        padding: 15px;
    }
    
    .horario-container h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 1100px) {
    .sq_square {
        margin-left: -40px;
    }

}

@media (max-width: 1050px) {
    .sq_square {
        display: none!important;
        
    }
    .container_first {
        left: 50%;
        width: 100%;
    }
    .nav_card_five{
        flex: unset;
        width: 90%;
    }
}

@media (max-width: 992px) {
    .horario-wrapper {
        flex-direction: column;
        padding: 30px 20px;
    }
    
    .horario-imagen,
    .horario-container {
        max-width: 100%;
    }
    
    .horario-imagen {
        margin-bottom: 30px;
    }
    
    .horario-imagen img {
        width: 100%;
        height: auto;
        max-height: 450px;
    }
}

@media (max-width: 768px) {
    .horario-wrapper {
        padding: 25px 15px;
    }
    
    .horario-imagen {
        margin-bottom: 25px;
    }
    
    .horario-container h2 {
        font-size: 1.2rem;
        margin-top: 15px;
    }
    
    .horario-card {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .horario-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .horario-wrapper {
        padding: 20px 10px;
    }
    
    .horario-imagen {
        margin-bottom: 20px;
    }
    
    .horario-container h2 {
        font-size: 1.1rem;
    }
    
    .horario-card {
        padding: 10px;
    }
    
    .horario-card p {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .hora {
        display: block;
        margin-top: 3px;
    }
}

@media (max-width: 360px) {
    .horario-card p {
        font-size: 0.85rem;
    }
    
    .horario-container h2 {
        font-size: 1rem;
    }
}

/* Ajustes adicionales para la sección de horarios */
@media (max-width: 1366px) and (min-width: 1201px) {
    .horario-wrapper {
        margin: 0 auto;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .horario-imagen img {
        max-height: 400px;
        object-position: center;
    }
    
    .horario-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .horario-container h2 {
        grid-column: span 1;
    }
    
    .horario-card {
        grid-column: span 1;
        height: 100%;
    }
}

@media (max-width: 576px) {
    /* Ajuste para mejorar la visualización en móvil */

    .horario-wrapper {    
        padding: 20px 10px;
    }
    .horario-container i {
        display: none; /* Ocultar iconos en versión móvil para ahorrar espacio */
    }
    
    .horario-container h2 {
        margin-top: 12px;
        margin-bottom: 8px;
    }
    
    /* Agregar bordes más suaves en móvil */
    .horario-card {
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    }
}

/* Estilos para los botones de vidrio */
.glass-buttons-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
        gap: 20px;
    margin: 30px auto;
    max-width: 800px;
    padding: 0 0px;
}

.glass-buttons-row {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.glass-button {
    display: inline-block;
    padding: 10px 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px 20px;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 50px;
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .glass-buttons-row {
        flex-direction: column;
        align-items: center;
    }
    
    .glass-button {
        width: 100%;
        max-width: 300px;
    }
}
