/*
Theme Name: Nivel 3 Elementor
Theme URI: http://example.com
Author: Alejandro Cortes
Author URI: http://example.com
Description: Un tema personalizado desde cero
Version: 1.0
*/

/* Estilos principales y x defecto */

:root {
  --main-green-color: #01a499;
  --main-light-green-color: #49beb6;
  --main-lighter-green-color: #f2fbfa;
  --main-darker-green-color: #304f55;
  --main-dark-grey-color: #394049;
  --main-grey-color: #5e6269;
  --main-orange-color: #e37604;
  --variant-green-color: #2b9b7c;
}

* {
  box-sizing: border-box;
  font-family: "Nunito Sans", sans-serif;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Nunito sans", sans-serif;
  margin: 0;
  background-repeat: no-repeat;
  display: grid;
  min-height: 100dvh;
  grid-template-columns: 1fr;
  grid-template-rows: min-content 1fr min-content;
  grid-auto-rows: min-content;
  overflow-x: hidden;
}

h1 {
  font-size: 2.4rem; /* 38.4px */
}

h2 {
  font-size: 2rem; /* 32px */
}

h3 {
  font-size: 1.6rem; /* 25.6px */
}

h4 {
  font-size: 1.4rem; /* 22.4px */
}

h5 {
  font-size: 1.2rem; /* 19.2px */
}

h6 {
  font-size: 1.1rem; /* 17.6px */
}

p {
  font-size: 1rem; /* 16px */
}
strong {
  font-family: "Nunito sans", sans-serif;
}
a {
  font-size: 1rem; /* 16px */
  font-family: "Nunito sans", sans-serif;
  font-weight: bold;
  text-decoration: none;
}
a:hover {
  cursor: pointer;
}

/* JUSTIFICACIÓN ESPECÍFICA SOLO PARA CONTENIDO PRINCIPAL */
/* Justificar texto en contenido de páginas adaptativas */
.main-default .entry-content p,
.main-default .page-content-wrapper p {
  text-align: justify;
}

/* Justificar texto en páginas de archivo (noticias, extensiones) */
.archivo-principal p,
.noticia-contenido p,
.extension-contenido p {
  text-align: justify;
}

/* Justificar texto en contenido de contacto */
.contacto-descripcion .entry-content p {
  text-align: justify;
}

/* Justificar texto en contenido general de páginas */
.entry-content p,
.page-content p,
.post-content p {
  text-align: justify;
}

/* LINKS Y @ NARANJAS EN CONTENIDO PRINCIPAL */
/* Links naranjas en contenido principal */
.main-default .entry-content a,
.main-default .page-content-wrapper a,
.entry-content a,
.page-content a,
.post-content a {
  color: var(--main-orange-color) !important;
  transition: opacity 0.3s ease;
}

/* Hover para links naranjas */
.main-default .entry-content a:hover,
.main-default .page-content-wrapper a:hover,
.entry-content a:hover,
.page-content a:hover,
.post-content a:hover {
  opacity: 0.8;
  color: var(--main-orange-color) !important;
}

/* EXCEPCIÓN: Mantener botones en su color original (verde, etc.) */
.main-default .entry-content a[style*="background"],
.main-default .entry-content a[class*="btn"],
.main-default .entry-content a[class*="button"],
.main-default .entry-content .wp-block-button__link,
.entry-content a[style*="background"],
.entry-content a[class*="btn"],
.entry-content a[class*="button"],
.entry-content .wp-block-button__link {
  color: white !important;
  background-color: var(--main-green-color) !important;
}

/* Hover para botones */
.main-default .entry-content a[style*="background"]:hover,
.main-default .entry-content a[class*="btn"]:hover,
.main-default .entry-content a[class*="button"]:hover,
.main-default .entry-content .wp-block-button__link:hover,
.entry-content a[style*="background"]:hover,
.entry-content a[class*="btn"]:hover,
.entry-content a[class*="button"]:hover,
.entry-content .wp-block-button__link:hover {
  background-color: var(--main-darker-green-color) !important;
  color: white !important;
  opacity: 1;
}

/* PERMITIR CONTROL DE WORDPRESS PARA LINKS Y @ */
/* Permitir que WordPress controle el tamaño de links y @ */
.main-default .entry-content a,
.main-default .page-content-wrapper a,
.entry-content a,
.page-content a,
.post-content a {
  font-size: inherit !important; /* Hereda el tamaño de WordPress */
  font-weight: inherit !important;
}

/* Clases específicas de WordPress para links */
.main-default .entry-content .has-small-font-size a,
.entry-content .has-small-font-size a {
  font-size: 13px !important;
}

.main-default .entry-content .has-normal-font-size a,
.main-default .entry-content .has-regular-font-size a,
.entry-content .has-normal-font-size a,
.entry-content .has-regular-font-size a {
  font-size: 16px !important;
}

.main-default .entry-content .has-medium-font-size a,
.entry-content .has-medium-font-size a {
  font-size: 20px !important;
}

.main-default .entry-content .has-large-font-size a,
.entry-content .has-large-font-size a {
  font-size: 36px !important;
}

.main-default .entry-content .has-huge-font-size a,
.entry-content .has-huge-font-size a {
  font-size: 42px !important;
}
button:hover {
  cursor: pointer;
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem; /* 40px */
  }

  h2 {
    font-size: 2.2rem; /* 35.2px */
  }

  h3 {
    font-size: 1.8rem; /* 28.8px */
  }

  h4 {
    font-size: 1.6rem; /* 25.6px */
  }

  h5 {
    font-size: 1.5rem; /* 24px */
  }

  h6 {
    font-size: 1.4rem; /* 22.4px */
  }

  p {
    font-size: 1.2rem; /* 19.2px */
  }
  a {
    font-size: 1.2rem; /* 19.2px */
  }
}
/*TODO: EVALUAR SI DEJAR LAS FUENTES EN EL MEDIA QUERY */
li {
  list-style: none;
}
.a-bordered {
  width: fit-content;
  height: fit-content;
  padding: 8px 15px;
  border: 1.5px solid var(--main-green-color);
  background-color: transparent;
  border-radius: 25px;
  font-size: 1.25rem;
  color: var(--main-green-color);
  font-weight: 800;
}

.a-bordered-grey {
  color: var(--main-dark-grey-color);
  border-color: var(--main-dark-grey-color);
}


.main-nav {
  z-index: 999;
  background-color: var(--main-green-color);
  margin-bottom:2vw;
  display: flex;
  justify-content: space-between;
  min-height: 120px;
  border-bottom-left-radius: 90px;
  border-bottom-right-radius: 90px;
  /* visible: overflow hidden decapitaba el dropdown del menú; el border-radius
     recorta el fondo del nav sin necesidad de overflow */
  overflow: visible;
  max-width: 100%;
  > a {
    display: grid;
    margin-left: 56px;
  }
  ul{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-right: 36px;
  }
}

.button-test:hover{
  filter: brightness(0.8);
}

.front-nav {
  position: absolute;
  right: 0%;
  left: 0%;
  top: 0%;
}

.main-nav img {
  width: auto;
  height: 70px;
  margin: auto 0px;
}

.main-nav div {
  margin-inline: 10px;
  width: 100%;
  /* Solo el ul de primer nivel: con `ul` descendiente esta regla alcanzaba
     también a ul.sub-menu (height/max-width 100% colapsaban el dropdown) */
  > ul {
    height: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: end;
  }
}
.main-nav li {
  width: max-content;
  a {
    display: block;
    color: white;
    padding: 20px;
    font-size: 20px;
  }
}
.menu-btn {
  display: none;
}

/* Estilo usado en los pages para que las imagenes mantengan su formato */
.onlyPageContent {
  margin-top: 120px;
  ul {
    height: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: end;
  }
}

.main-nav li {
  width: max-content;
  a {
    display: block;
    color: white;
    padding: 20px;
  }
}
.menu-btn {
  display: none;
}
.slider-buttons{
  place-self: start;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-top: 12%;
}
.slider-buttons button{
  display: grid;
  place-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #FFF;
  border: 0px solid transparent;
  font-weight: 800;
  font-size: 1.3rem;
  background-color: #01a499;
  &:hover{
    filter: saturate(200%);
  }
}


.main-header {
  display: grid;
  grid-template-columns: 3fr 5fr;
  gap: 24px;
}
.slider-content{
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding-inline: 5vw;
}
.slider-title{
  color: #01a499;
  font-size: 64px;
  line-height: 64px;
  font-weight: 800;
}

.slider-cuerpo{
  color:#111827;
  font-size: 24px;
}
.slider-more{
  border: 1px solid #01a499;
  width: max-content;
  border-radius: 8px;
  overflow: hidden;
  a{
    display: block;
    color: #01a499;
    font-weight: 900;
    padding: 8px 16px;

  }
  a:hover{
    background-color: #01a499;
    color:white;
  }
}
.slider-nav {
  z-index: -1;
  width: 115%;
  overflow: hidden;
  background-color: var(--main-green-color);
  border-radius: 5vw 0 0px 5vw;
  padding-left: 16px;
  min-height: 60vh;
  /* TODO: EVALUAR RESPONSIVE, opciones: min-height, height 70vh, dejar aspect-ratio 
  width fijo y height movil, width movil y heigth fijo, etc... */
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0vw 0 0px 0vw;
  }
}

@media (max-width: 768px) {
  .slider-title{
    font-size: 2rem;
    line-height: 2.1rem;
  }
  .slider-nav{
    height: fit-content; 
    min-height: auto;
    img{
      display: block;
    }
  }
  .slider-content{
    padding-block: 32px;
    gap:16px;
  }
  .slider-cuerpo{
    font-size: 1.2rem;
  }
  .main-header {
    grid-template-columns: auto;
  }
  .onlyPageContent {
    margin-top: 0px;
  }
  .main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-radius: 0px;
    grid-template-columns: 1fr min-content;
    height: auto;
    text-align: center;
    position: relative;
    margin: 0vw;
  }

  .main-nav a{
    margin-left: 16px;
  }


  .main-nav .main-option{
    display: none;
  }
  .logo {
    width: min-content;
    display: flex;
  }
  .main-nav img {
    min-width: 200px;
    width: 50%;
    height: auto;
  }
  .main-nav div {
    display: none;
    flex-direction: column;
    grid-column: 1/-1;
    margin-inline: 0px;
  }

  .main-nav li {
    width: 100%;
    text-align: center;
    a {
      display: block;
      padding: 20px;
    }
  }
  .menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    color: white;
    width: fit-content;
    background-color: transparent;
    cursor: pointer;
    border: none;
    padding: 5px;
  }
  .menu-btn span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: white;
  }
  .menu-btn p {
    font-size: 0.9rem;
    margin: 0;
    padding: 0;
    line-height: 1;
  }
}

/* SECCION INFORMACION */

.section-info{
  padding-top: 64px;
  display: flex;
  flex-direction: row;
  flex: 1 1 30%;
  justify-content: space-around;
  row-gap: 60px;
  flex-wrap: wrap;
}

.section-info-div{
  border: 1px solid #01a499;
  border-radius: 160px;
  min-width: 280px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  
  &:hover{
    border-color: white;
    background-color: #01a499CA;
    p{
      color:white;
    }
  }
  i{
    display: grid;
    place-content: center;
    color: var(--main-orange-color);
    flex: 2 0 66.6666%;
    width: 100%;
    height: 100%;
  }
  img{
    flex: 2 0 66.6666%;
  }
  p{
    flex: 1 0 33.3333%;
    text-align: center;
    color: #01a499;
    font-size: 24px;
    font-family: "Nunito sans", sans-serif;
    font-weight: 700;
  }
}


/* SECCION DE NOTICIAS */
.content {
  display: grid;
  gap: clamp(48px, 7vw, 80px);
}

.section-noticias {
  min-height: 50vh;
  height: 100%;
  h2 {
    margin-inline: 7vw;
  }
  padding-bottom: 4rem;
}

.cuerpo-noticias{
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px,1fr));
  gap: 32px;
}
/* Informacion Main noticia */

.card-main-noticia{
  flex: 1 0 350px;
  display: flex;
  flex-direction: column;
  max-width: 550px;
  margin: auto;

}
.img-main-noticia{
  overflow: hidden;
  flex: 1 1 60%;
  background-color: #01a499;
  margin: 20px 22px  0px 22px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  aspect-ratio: 16/9;
  img{
    object-fit: cover;
    height: 100%;
    width: 100%;
    display: block;
  }
}

.info-main-noticia{
  flex: 1 1 30%;
  padding-left: 24px;
  border: 1px solid #01a499;
  border-radius: 16px;
  padding: 16px 16px 24px 24px;
  background-color: white;
  margin-inline: 8px;
  .section-date-noticia{
    font-size: 20px;
    text-align: left;
    color: #01a499;
    padding-bottom: 32px;
  }
  .section-bajada-noticia{
    font-size: 20px;
    text-align: left;
    padding-bottom: 32px;
    color: #394049;
  }
  a{
    border: 1px solid var(--main-green-color);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 18px;
    font-weight: 900;
    color: var(--main-green-color);
  }
  a:hover{
    background-color: var(--main-green-color);
    color: white;
  }
}

/* Informacion de noticias secundarias*/

.noticias-secundarias{
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  margin: auto;
  max-width: 632px;
}

.card-noticias-secundaria{
  display: grid;
  grid-template-columns: 4fr 3fr;
  grid-template-rows: 10px 1fr 10px;
}

.img-sec-noticia{
  overflow: hidden;
  grid-row: 2;
  flex: 1 1 50%;
  background-color: #01a499;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  margin: 8px 0px 8px 8px;
  aspect-ratio: 16/9;
  margin-block: auto;
  img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    display: block;
  }
}


.info-sec-noticia{
  grid-row: 1 / -1;
  grid-column: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  flex: 1 0 50%;
  border: 1px solid #01a499;
  border-radius: 12px;
  padding: 8px 16px 16px 16px;
  background-color: white;
  .section-date-noticia-sec{
    font-size: 20px;
    text-align: left;
    color: #01a499;
    padding-bottom: 32px;
  }
  .section-bajada-noticia-sec{
    font-size: 20px;
    text-align: left;
    padding-bottom: 32px;
    color: #394049;
  }
  div a{
    border: 1px solid #01a499;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 18px;
    font-weight: 900;
    color: var(--main-green-color);
  }
  div a:hover{
    background-color: var(--main-green-color);
    color: white;
  }
}
.noti-title{
  color: var(--main-green-color);
}

.back-semisphere-noti {
  position: relative;
}

.back-semisphere-noti::after {
  position: absolute;
  aspect-ratio: 11/4;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: auto;
  content: "";
  overflow: visible;
  border-radius: 50% 50% 0% 0%;
  background-color: var(--main-lighter-green-color);
  z-index: -999;
  margin-bottom: 20px;
}

.boton-noticia{
  margin-top: 40px;
  text-align: center;
  a{
    border: 1px solid #01a499;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 18px;
    font-weight: 900;
    
    color:#f2fbfa;
    background-color: #01a499;
  }

  &:hover{
    a{
      filter: saturate(200%);
    }
  }

}

.content-page {
  display: grid;
  gap: 150px;
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  .cuerpo-noticias{
    margin-top: 1rem;
  }

  .info-main-noticia{
    margin: 0 1rem;
  }

  .card-noticias-secundaria{
    margin: 0 1rem;
  }
}

@media (max-width: 550px) {
  .cuerpo-noticias{
    grid-template-columns: 1fr;
  }
  .img-sec-noticia{
    border-top-right-radius: 8px;
    border-bottom-left-radius:0px;
    aspect-ratio: 16/9;
    width: 88%;
    height: auto;
    margin: auto;
  }
  .card-noticias-secundaria{
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    div{
      grid-row: auto;
      grid-column: auto;
    }
  }
  .card-main-noticia{
    flex-basis: 90%;
  }
  .content {
    padding-block: 10px;
  }
  .section-noticias header {
    width: fit-content;
    transform: translateX(10%);
  }

  .noticias-secundarias{
    grid-template-columns: 40px;
    padding-right: 0px;
    margin: auto;
    height: auto;
  }
}
/* PAGINA DE NOTICIAS */

.section-noticias-page{
  margin-inline: 7vw;
  display: grid;
  place-items: center;
  min-height: 50vh;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 50px;
  height: 100%;
}
.section-noticias-page header {
  width: 40vw;
  max-width: 450px;
  position: absolute;
  left: 0%;
  background-color: white;
  z-index: 999;
  transform: translateX(-30%);
  text-align: end;
}
.archive-noticia-page {
  text-align: center;
  margin-bottom: 16px;
  color: var(--main-green-color);
  header{
    h1{
      color: var(--main-green-color);
    }
  }
}
.card-noticia-page {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  height: 100%;
  gap: 15px;
  div {
    aspect-ratio: 9/5;
    width: 100%;
    height: auto;
    background-color: rgb(197, 119, 197);
    border-radius: 10px;
    overflow: hidden;
    -webkit-box-shadow: 5px 5px 0px 0px var(--main-dark-grey-color);
    -moz-box-shadow: 5px 5px 0px 0px var(--main-dark-grey-color);
    box-shadow: 5px 5px 0px 0px var(--main-dark-grey-color);
  }
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  p {
    margin: 0;
    color: var(--main-dark-grey-color);
    padding-inline: 7px;
    align-self: flex-start;
    margin: 0;
    flex-grow: 1;
  }
  a:visited {
    color: #01a499;
  }
  a:hover {
    color: #f2fbfa;
    background-color: #01a499;
  }
}
.pagination {
  text-align: center;
  a {
    color: var(--main-green-color);
  }
  span {
    color: var(--main-green-color);
    font-size: 21px;
    font-weight: 700;
  }
}

@media (max-width: 550px) {
  .content {
    padding-block: 10px;
  }
  .section-noticias-page {
    padding-left: 150px;
    grid-template-columns: 1fr;
  }
  .section-noticias-page header {
    width: fit-content;
    transform: translateX(10%);
  }
}

.circle {
  width: 40vw;
  max-width: 450px;
  min-width: 230px;

  position: absolute;
  aspect-ratio: 1 / 1;
  display: block;
  z-index: -999;
  left: 0%;
  transform: translate(-35%, 0%);
  border-radius: 50%;
  background-size: 100% 100%;
  background-position: 0px 0px;
  background-image: conic-gradient(
    from 0deg at 50% 50%,
    var(--main-green-color) 5%,
    var(--main-dark-grey-color) 5%,
    var(--main-dark-grey-color) 45%,
    var(--main-green-color) 45%
  );
  background-repeat: no-repeat;

  &::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    height: 93%;
    width: 93%;
    border-radius: 50%;
    background-color: white;
    transform: translate(-50%, -50%);
    z-index: 1;
  }
}



.section-noticias-page2{
  margin-inline: 7vw;

  display: grid;
  place-items: center;
  min-height: 50vh;
  padding-left: 300px;

  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));

  gap: 50px;
  height: 100%;
}

.section-noticias-page2 header {
  width: 40vw;
  max-width: 450px;
  position: absolute;
  left: 0%;
  background-color: white;
  z-index: 999;
  transform: translateX(-30%);
  text-align: end;
  h2 {
    color: var(--main-green-color);
  }
}


/* SECCION DE VIDEOS */

.section-galeria-video {
  min-height: 100vh;

  padding: 7vw;
  padding-bottom: 20px;
  position: relative;
  overflow: hidden;
  display: grid;
  height: 100%;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  place-items: center;
  header {
    grid-column: 1/-1;
    place-self: baseline;
    h2 {
      font-weight: 900;
      color:#e37604;
    }
  }
  a {
    grid-column: 1/-1;
  }
  p{
    grid-column: 1/-1;
    text-align: center;
  }
}
/* Contenedor principal para las esferas */
.esferas {
  top: 50%;
  transform: translateY(-50%);
  height: 100%;
  width: 100%;
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
  left: 0;
  width: 100%;
  z-index: -1;
}

/* Estilos individuales para las esferas */
.esfera {
  aspect-ratio: 1/1;
  width: 400px;
  height: 400px;
  background-color: rgb(255, 249, 238);
  border-radius: 50%;
}

/* Especificaciones individuales */
.esfera:first-child {
  margin-left: 0; /* Alineada a la izquierda */
}

.esfera:nth-child(2) {
  margin: 0 auto; /* Centrada horizontalmente */
}

.esfera:last-child {
  margin-right: 0; /* Alineada a la derecha */
}


.video-adapted {
  p {
    padding-bottom: 5px;
  }
  div {
    aspect-ratio: auto;
    iframe {
      width: 100%;
      border-radius: 15px;
    }
  }
}

.bottom-wave {
  position: relative;
  overflow: visible;
  margin-bottom: 200px;
  &::after {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: 0%;
    left: 0%;
    width: 100%;
    height: 100px;
    background-color: var(
      --main-lighter-green-color
    ); /* Color que quieras para el fondo */
    mask-image: url("data:image/svg+xml,%3Csvg%20width%3D%221677%22%20height%3D%22197%22%20viewBox%3D%220%200%201677%20197%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M193%2040C147%2015.6981%20101.5%200.500002%200.5%200.5V179.5L1677%20196V4.99998C1591.5%20-9%201525.53%2020.0328%201472%2047C1406.5%2080%201226.25%20120.893%201035.5%2040C844.5%20-41%20669.5%2025.5%20622%2040C595.284%2048.1554%20463.5%2087.5%20391.5%2086C319.5%2084.5%20267.214%2079.2075%20193%2040Z%22%20fill%3D%22%23ffffff%22%20stroke%3D%22%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    transform: rotateX(180deg) translateY(-100%); /* Ajusta la posición de la onda */
  }
}

.card-galeria-video {
  width: 70%;
  background-color: white;
  padding: 20px;
  border-radius: 35px;
  border: 1px solid #e37604;
  div {
    aspect-ratio: 28.5 / 32;
    width: 100%;
    height: auto;
    border-radius: 15px;
    iframe {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 15px;
    }
  }
  p {
    padding: 15px 7px;
    font-size: 140%;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 600;
    text-wrap: pretty;
    line-height: 2rem;
    color: var(--main-dark-grey-color);
  }
}


.boton-video{
  border: 1px solid #e37604;
  padding: 6px 12px;
  font-size: 18px;
  font-weight: 900;
  border-radius: 8px;
  
  color:#f2fbfa;
  background-color: #e37604;
  &:hover{
    filter: saturate(150%);
  }
}




@media (max-width: 768px) {
  .galeria-videos {
    grid-template-columns: 1fr;
  }
  .esferas{
    flex-direction: column;
  }
  .esfera:first-child {
    margin: auto;
  }
  
  .esfera:nth-child(2) {
    margin: auto;
  }
  
  .esfera:last-child {
    margin: auto;
  }
}



/* SECCION DE GALERIA */

.section-galeria {
  padding: 7vw;
  padding-bottom: 20px;

  display: grid;
  height: 100%;
  width: 100%;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
  place-items: center;
  header {
    grid-column: 1/-1;
    place-self: baseline;
    h2 {
      font-weight: 900;
      color: var(--main-dark-grey-color);
    }
  }
  a {
    grid-column: 1/-1;
  }
}

.section-galeria-2 {
  padding: 7vw;
  padding-bottom: 20px;

  display: grid;
  height: 100%;
  width: 100%;
  grid-template-columns: 8fr 8fr 8fr;
  gap: 50px;
  place-items: center;
  header {
    grid-column: 1/-1;
    place-self: center;
    h2 {
      font-weight: 900;
      color: var(--main-dark-grey-color);
    }
  }
  a {
    grid-column: 1/-1;
  }
}
.card-galeria {
  width: 80%;
  background-color: white;
  padding: 20px;
  border: 1px solid #01a499;
  border-radius: 40px;
  div {
    aspect-ratio: 20/19;
    width: 100%;
    height: auto;
    a img {
      display: block;
      aspect-ratio: 20/19;
      width: 100%;
      height: auto;
      object-fit: cover;
      border-radius: 20px;
    }
  }
  p {
    word-break: break-word;
    padding: 15px 7px;
    font-size: 1.25rem;
    font-weight: 600;
    text-wrap: pretty;
    color: #474d56;
  }
}

.boton-galeria{
  border: 1px solid #01a499;
  padding: 6px 12px;
  font-size: 18px;
  font-weight: 900;
  border-radius: 8px;
  color:#f2fbfa;
    background-color: #01a499;
  &:hover{
    filter: saturate(150%);
  }
}
@media (max-width: 1024px) {
  .section-galeria {
    grid-template-columns: 1fr 1fr;
  }
  .card-galeria {
    width: 70%;
    padding: 3%;
  }
}

@media (max-width: 768px) {
  .section-galeria {
    grid-template-columns: 1fr;
  }
  .card-galeria {
    width: 70%;
    padding: 3%;
  }
}


.back-semisphere-galeria {
  position: relative;
}
.back-semisphere-galeria::after {
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0%;
  width: 100%;
  height: 50%;
  content: "";
  overflow: visible;
  border-radius: 0% 0% 50% 50% ;
  background-color: var(--main-lighter-green-color);
  z-index: -999;
}



.top-wave {
  position: relative;
  overflow: visible;
  &::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 10px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(
      --main-lighter-green-color
    ); /* Color que quieras para el fondo */
    mask-image: url("data:image/svg+xml,%3Csvg%20width%3D%221677%22%20height%3D%22197%22%20viewBox%3D%220%200%201677%20197%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M193%2040C147%2015.6981%20101.5%200.500002%200.5%200.5V179.5L1677%20196V4.99998C1591.5%20-9%201525.53%2020.0328%201472%2047C1406.5%2080%201226.25%20120.893%201035.5%2040C844.5%20-41%20669.5%2025.5%20622%2040C595.284%2048.1554%20463.5%2087.5%20391.5%2086C319.5%2084.5%20267.214%2079.2075%20193%2040Z%22%20fill%3D%22%23ffffff%22%20stroke%3D%22%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    transform: translateY(-100%); /* Ajusta la posición de la onda */
  }
}

/* SECCION DE DESTACADOS */

.top-color {
  position: relative;
  overflow: visible;
  &::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -150px;
    left: 0;
    width: 100%;
    height: 150px;
  }
}
.back-balls {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  .sphere {
    aspect-ratio: 1/1;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 18%;
    height: auto;
    background-image: linear-gradient(
      165deg,
      var(--main-green-color) 0,
      var(--main-darker-green-color) 100%
    );
    border-radius: 100%;
    filter: blur(0.3rem);
    z-index: -2;
  }
  .sphere:nth-child(1) {
    top: -10px;
    left: -50px;
    border-radius: 0% 0% 100% 0;
  }
  .sphere:nth-child(2) {
    top: auto;
    left: auto;
    bottom: 15%;
    width: 25%;
    right: 0px;
    background-image: linear-gradient(
      200deg,
      var(--main-green-color) 0,
      var(--main-darker-green-color) 100%
    );
    transform: translateX(40%);
    border-radius: 100%;
  }
  .sphere:nth-child(3) {
    top: auto;
    left: 15%;
    bottom: 0%;
    right: auto;
    width: 15%;
    background-image: linear-gradient(
      -17deg,
      var(--main-green-color) 20%,
      var(--main-darker-green-color) 90%
    );
    transform: translateY(30%);
    border-radius: 100%;
  }
  .sphere:nth-child(4) {
    top: 0%;
    left: auto;
    bottom: auto;
    right: 5%;
    width: 14%;
    transform: translateY(-40%);
    background-image: linear-gradient(
      180deg,
      var(--main-green-color) 10%,
      var(--main-darker-green-color) 80%
    );
    border-radius: 100%;
  }
  .sphere:nth-child(5) {
    top: 0%;
    left: auto;
    bottom: auto;
    right: 40%;
    width: 19%;
    transform: translateY(-64%);
    background-image: linear-gradient(
      180deg,
      var(--main-green-color) 10%,
      var(--main-darker-green-color) 80%
    );
    border-radius: 100%;
  }
  .sphere:nth-child(6) {
    top: auto;
    left: 30%;
    bottom: 30%;
    right: auto;
    width: 13%;
    background-image: linear-gradient(
      180deg,
      var(--main-green-color) 10%,
      var(--main-darker-green-color) 80%
    );
    border-radius: 100%;
  }
  .sphere:nth-child(7) {
    top: auto;
    right: 30%;
    bottom: 0%;
    left: auto;
    width: 13%;
    background-image: linear-gradient(
      120deg,
      var(--main-green-color) 0%,
      var(--main-darker-green-color) 100%
    );
    border-radius: 100%;
  }
  .sphere:nth-child(8) {
    display: none;
    top: 30%;
    right: 15%;
    bottom: auto;
    left: auto;
    width: 40%;
    background-image: linear-gradient(
      120deg,
      var(--main-green-color) 20%,
      var(--main-darker-green-color) 50%
    );
    border-radius: 100%;
  }
}
.section-destacados {
  padding: 10vw;
  background: linear-gradient(
    0deg,
    var(--main-green-color) 15%,
    var(--main-darker-green-color) 100%
  );

  position: relative;
  z-index: -1;
  /* Propiedades adicionales */
  background-size: cover;
  background-blend-mode: overlay; /* Permite que los colores se mezclen */
  display: grid;
  min-height: 50dvh;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: min-content;
  grid-auto-rows: 1fr;
  place-items: center;
  gap: 40px;
  header {
    margin-right: auto;
    grid-row: 1;
    grid-column: 1/-1;
    padding-bottom: 20px;
    h2 {
      color: white;
    }
  }
  .card-destacado {
    width: 100%;
    height: fit-content;
    div {
      aspect-ratio: 3/2;
      width: 80%;
      height: auto;
      margin: auto;
      border-radius: 20px;
      -webkit-box-shadow: 0px 0px 20px 6px rgba(0, 0, 0, 0.18);
      -moz-box-shadow: 0px 0px 20px 6px rgba(0, 0, 0, 0.18);
      box-shadow: 0px 0px 20px 6px rgba(0, 0, 0, 0.18);
      a img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 25px;
      }
    }
  }
}
@media (max-width: 768px) {
  .back-balls .sphere:nth-child(8) {
    display: initial;
  }
  .section-destacados {
    grid-template-columns: 1fr;
  }
  .card-destacado {
    width: 70%;
  }
}


/* SECCION DE ACTIVIDADES */

.actividades{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 48px;
  padding-inline: 3vw;
}

.act-logo{
  flex: 1 0 40%;
  border: 1.3px solid #01a499;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 50% 50% 50% 0%;
  aspect-ratio: 1/1;
  max-width: 560px;
  background-color: #fff;
  .act-imagen{
    flex: 0 0 50%;
    align-self: center  ;
  }
  .act-nombre{
    flex: 0 0 30%;
    align-self: center;
    font-size: 48px;
    font-weight: 700;
    color: #01a499;
  }
}



.act-agenda{
  gap: 80px;
  flex: 0 0  50%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.card-agenda{
  background-color: #fff;
  display: grid;
  grid-template-columns: 2fr 5fr;

  border: 1.3px solid #01a499;
  border-radius: 150px 150px 0 150px;
  padding: 32px 32px 32px 52px;
  align-items: center;
  gap: 32px;
  max-height: 200px;
  max-width: 800px;
  .act-fecha{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: 32px;
    border-right: 0.4mm solid var(--main-green-color);
    .dia{
      color: #01a499;
      font-size: 4.5rem;
      font-weight: 600;
      align-self: auto;
    }
    .mes{
      text-align: center;
      color: #01a499;
      font-size: 20px;
      font-weight: 700;   
    }
  }
  .act-info{
    flex: 1 1 40%;
    color: #3a414a;
    font-size: 24px;
    font-weight: 500;

  }
}

@media (max-width: 768px) {
  .act-logo{
    margin: auto;
    .act-nombre{
      padding-inline: 40px;
      font-size: 32px;
      font-weight: 700;
    }
  }
  .card-agenda{
    flex-direction: column;
    max-height: none;
  }
}

.back-semisphere-act {
  position: relative;
}
.back-semisphere-act::after {
  position: absolute;
  top: -480px;
  bottom: -150px;
  left: 0%;
  width: 100%;
  height: auto;
  content: "";
  overflow: visible;
  border-radius: 50% 50% 0% 0%;
  background-color: var(--main-lighter-green-color);
  z-index: -999;
  margin-bottom: 100px;
}


/* SECCION DE ALIANZAS O INDEXACIONES */


.alianzas{
  .ali-title{
    color: #01a499;
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    padding-bottom: 40px;
  }
  .ali-slider{
    display: flex;
    justify-content: space-between;
    .ali-buton{
      background-color: #01a499;
      color: #FFF;
      border-radius: 50%;
      padding: 4px 16px 4px 16px;
      font-weight:700;
      font-size: 32px;
    }
    .imagenes-ali{
      .ali-img{
        background-color: #01a499;
      }
    }
  }
}




/* SECCION DE REDES */
.section-redes {
  position: relative;
  padding-inline: 10vw;
  display: flex;
  margin-top: -100px;
  max-width: 100vw;
  overflow: clip;
  background-color: #f2fbfa;
  justify-content: space-evenly;
  padding-bottom: 56px;
  padding-top: 56px;
  align-items: center;
  z-index: 1;
}
.top-white-rounded {
  &::before {
    z-index: 999;
    background-image: linear-gradient(0deg, white, white);
  }
}
.redes {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
@media (max-width: 768px) {
  .section-indicadores {
    header {
      h2 {
        font-size: 2rem;
      }
    }
  }

  .section-redes {
    padding-inline: 0vw;
  }

  .redes {
    width: 50px;
    height: 50px;
    a {
      font-size: 2rem;
    }
    img {
      place-items: center;
    }
  }
}





/*FOOTER */
.main-footer {
  position: relative;
  overflow: visible;
  padding-bottom: 20px;
  min-height: 30vh;
  display: grid;
  max-width: 100%;
  padding-inline: 9vw;
  gap: 50px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  place-items: center;
  place-content: center;
  background-color: var(--main-green-color);
  color: white;
  font-size: 4rem;
  &::before {
    z-index: 1;
  }
}

.footer_img_1 {
  height: auto;
  width: 100%;
}

.footer_img_2 {
  height: auto;
  width: 100%;
}

.footer_img_3 {
  height: auto;
  width: 90%;
}

.logo_redes {
  height: 70px;
  width: 70px;
  border-radius: 100px;
}

@media (max-width: 768px) {
  .logo_redes {
    height: 50px;
    width: 50px;
  }

  .main-footer {
    grid-template-columns: auto;
  }
}

.page-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  section {
    h1 {
      text-align: center;
    }
  }
}

.body-page {
  font-family: "Nunito Sans", sans-serif;
  background-color: var(--main-lighter-green-color);
  flex-grow: 1;
  margin-top: 150px;
  padding-top: 40px;
  padding-inline: 8vw;
  padding-bottom: 80px;
  p {
    background-color: var(--main-lighter-green-color);
  }
}

@media (max-width: 1550px) {
  .body-page {
    padding-inline: 6vw;
  }
}

@media (max-width: 1365px) {
  .body-page {
    padding-inline: 7vw;
  }
}
@media screen and (max-width: 800px) {
  .page-content h1 {
    padding-top: 20px;
  }
}

.archive-noticia {
  text-align: center;
  margin-bottom: 16px;
}
.ver-mas:hover {
  background-color: #01a499;
  color: #f2fbfa;
}

.card-noticia-ind {
  margin-bottom: 100px;
  padding-left: 0 !important;
}

.section-noticias-2 {
  margin-inline: 7vw;
  display: grid;
  place-items: center;
  min-height: 50vh;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));

  gap: 50px;
  height: 100%;
}

.title-noticia {
  text-align: left;
  font-size: 56px;
  font-family: "Nunito Sans", sans-serif;
  margin-left: 160px;
  margin-right: 160px;
  margin-bottom: 16px;
  font-weight: 650;
  color: #111827;
}

.date-noticia {
  text-align: center;
  margin-bottom: 32px;
}

.bajada-noticia {
  text-align: left;
  font-size: 32px;
  margin-left: 160px;
  margin-right: 160px;
  margin-bottom: 32px;
  color: #4b5563;
}

.images-noticia {
  display: flex;
  width: 100%;
  height: auto;
  justify-content: center;
}

.image-noticia {
  img {
    width: 800px;
    height: auto;
  }
}

@media (max-width: 950px) {
  .image-noticia {
    img {
      width: 600px;
    }
  }
}

@media (max-width: 750px) {
  .image-noticia {
    img {
      width: 400px;
    }
  }
}

.content-noticia {
  margin-top: 80px;
  margin-left: 160px;
  margin-bottom: 160px;
  margin-right: 160px;
  p {
    font-size: 24px;
    color: #1f2937;
  }
}

.title-otras-noticias {
  h2 {
    text-align: center;
  }
}

/* Estilos Para el carrusel*/

/*
=================================================================
CSS VIEJO DEL CARRUSEL - COMENTADO Y REEMPLAZADO
Causa: Usaba width: 100vw * número_de_slides causando overflow
Reemplazo: Usa css/banner-nuevo.css con altura fija y clases modernas
=================================================================

.container-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 60dvh;
  overflow: hidden;
  background-color: #f5f5f5;
}

.carruseles {
  height: 100%;
  display: flex;
  overflow: hidden;
  transition: transform 0.6s ease;

}


.slider-section {
  min-width: 100%;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  background-color: white;
  overflow: hidden;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

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


.btn-left,
.btn-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  font-size: 2.5rem;
  background-color: rgba(60, 60, 60, 0.6);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: white;
  height: 50px;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.3s ease;
  user-select: none;
  line-height: 1;
}

.btn-left:hover,
.btn-right:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.btn-left:active,
.btn-right:active {
  background-color: rgba(0, 0, 0, 0.9);
}

.btn-left {
  left: 15px;
}

.btn-right {
  right: 15px;
}
teng
@media (max-width: 1024px) {
  .container-carousel {
    height: 50dvh;
  }
  
  .btn-left,
  .btn-right {
    height: 45px;
    width: 45px;
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .container-carousel {
    height: 35dvh;
  }
  
  .btn-left,
  .btn-right {
    height: 40px;
    width: 40px;
    font-size: 1.5rem;
  }
  
  .btn-left {
    left: 10px;
  }
  
  .btn-right {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .container-carousel {
    height: 25dvh;
  }
  
  .btn-left,
  .btn-right {
    height: 35px;
    width: 35px;
    font-size: 1.2rem;
  }
}

@keyframes slide {
  0%{
    transform: translateX(0);
  }100%{
    transform: translateX(calc(-100%));
  }
}

FIN DE CSS VIEJO COMENTADO
================================================================= */
.alianzas-section{
  width: 100vw;
  overflow: hidden;
}
.logos {
  overflow: hidden;
  padding: 60px 0;
  background: white;
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
  pointer-events: none;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0) 70%, white);
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 70%, white);
}

.logos:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide {
  display: inline-block;
  animation: 10s slide infinite linear;
}

.logos-slide img{
  aspect-ratio: 16/9;
  width: 300px;
  height: auto;
  object-fit: cover;
  margin: 0 50px;
}



/* FOOTER */
.main-footer {
  background-color: var(--main-green-color);
  color: white;
  padding-bottom: 0px;
  width: 100%;
  margin: 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-column {
  flex: 1;
  min-width: 300px;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-img {
  width: auto;
  height: auto;
  margin-bottom: 1rem;
}

.second-logo {
  max-width: 55%;
  margin-top: 1rem;
}

.footer-title h3 {
  color: var(--main-orange-color);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.footer-title p {
  font-size: 0.9rem;
  color: white;
  margin-top: 0.3rem;
}

.footer-info h2, .footer-contact h2 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background-color: var(--main-lighter-green-color);
  margin-bottom: 1.5rem;
}

.footer-info p, .footer-contact p {
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: justify;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.contact-text p {
  margin: 0;
  line-height: 1.4;
  justify-content: center;
}

/* Nuevo estilo mejorado para el menú inferior */
.footer-menu {
  width: 100%;
  background-color: var(--main-darker-green-color);
  padding: 0.7rem 0;
  margin-top: 1.5rem;
}

.footer-nav-container {
  display: flex;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.footer-nav-menu {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.footer-nav-item {
  margin: 0 1.2rem;
  position: relative;
}

.footer-nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: block;
  padding: 1rem 0;
  position: relative;
}

/* Animación para el hover */
.footer-nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--main-lighter-green-color);
  transition: width 0.3s ease;
}

.footer-nav-link:hover {
  color: var(--main-lighter-green-color);
  transform: translateY(-2px);
}

.footer-nav-link:hover::after {
  width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-container {
    flex-direction: column;
  }
  
  .footer-column {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .footer-nav-menu {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }

  .second-logo{
    max-width: 40% !important;
  }
  
  .footer-nav-item {
    margin: 0.2rem 0;
  }
  
  .contact-item {
    flex-direction: row;
    align-items: center;
  }
  
  .footer-nav-link::after {
    bottom: -2px;
  }
}

/* ============================================
   ESTILOS COMPLETOS PARA PÁGINA DE CONTACTO
   ============================================ */

/* Banner superior */
.contacto-banner {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.contacto-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.contacto-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contacto-overlay h1 {
  color: var(--main-orange-color);
  font-size: 3rem;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Contenedor principal */
.contacto-contenido {
  background-color: var(--main-lighter-green-color);
  padding: 50px 0;
}

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

/* Contenedor genérico para páginas */
.generico-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  padding-bottom: 50px;
  min-height: 78.5vh;
}

.generico-container .custom-h7 {
  padding-top: 50px;
  font-weight: 700;
  font-size: 50px;
  text-align: center;
  margin: inherit;
  padding-bottom: 40px;
}

/* Título y separador */
.contacto-titulo {
  text-align: center;
  color: var(--main-dark-grey-color);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.contacto-separador {
  width: 300px;
  height: 2px;
  background-color: var(--main-green-color);
  margin: 0 auto 40px;
}

/* Texto introductorio */
.contacto-texto {
  width: 100%;
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.contacto-texto p {
  color: var(--main-grey-color);
  line-height: 1.6;
  text-align: justify;
  margin: 0;
}

/* LINKS NARANJAS - Excluye botones con fondo */
.contacto-contenido a:not(.wp-block-button__link):not([style*="background"]),
.contacto-texto a:not(.wp-block-button__link),
.contacto-persona a:not(.wp-block-button__link),
.contacto-datos a:not(.wp-block-button__link),
.contacto-item a:not(.wp-block-button__link),
.contacto-descripcion a:not(.wp-block-button__link):not([style*="background"]),
.generico-container a:not(.wp-block-button__link):not([style*="background"]) {
  color: var(--main-orange-color) !important;
  transition: opacity 0.3s ease;
}

.contacto-contenido a:not(.wp-block-button__link):hover,
.contacto-texto a:not(.wp-block-button__link):hover,
.contacto-persona a:not(.wp-block-button__link):hover,
.contacto-datos a:not(.wp-block-button__link):hover,
.contacto-item a:not(.wp-block-button__link):hover,
.contacto-descripcion a:not(.wp-block-button__link):hover,
.generico-container a:not(.wp-block-button__link):hover {
  opacity: 0.8;
}

/* BOTONES - Estilo verde/teal */
.page-id-41 .wp-block-buttons {
  box-sizing: border-box;
}

.page-id-41 .wp-block-button__link,
.wp-container-core-group-is-layout-76a81b31 .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background-color: #01A499 !important;
  color: white !important;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color .2s, transform .1s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  min-width: 250px;
}

.page-id-41 .wp-block-button__link:hover,
.wp-container-core-group-is-layout-76a81b31 .wp-block-button__link:hover {
  background-color: #018c7e !important;
  opacity: 1 !important;
}

.page-id-41 .wp-block-button__link:active {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.wp-container-core-group-is-layout-76a81b31 {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-left: 30px;
}

/* Contenedor de personas */
.contacto-personas-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-bottom: 60px;
}

.contacto-personas-container .contacto-detalles {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

/* Tarjeta de persona */
.contacto-persona {
  display: flex;
  flex-wrap: wrap;
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  gap: 30px;
  height: 100%;
  justify-content: center;
}

.contacto-foto {
  width: 180px;
  height: 180px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
}

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

.contacto-datos {
  flex: 1;
  min-width: 200px;
}

.contacto-datos h3 {
  color: var(--main-dark-grey-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.contacto-cargo {
  color: var(--main-green-color);
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-style: italic;
}

.contacto-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.contacto-icon {
  width: 35px;
  height: 35px;
  object-fit: contain;
  filter: invert(55%) sepia(84%) saturate(1938%) hue-rotate(2deg) brightness(101%) contrast(96%);
}

.contacto-item p {
  color: var(--main-grey-color);
  margin: 0;
}

.contacto-social {
  margin-top: 20px;
}

.linkedin-share {
  display: inline-block;
  transition: transform 0.3s ease;
}

.linkedin-share:hover {
  transform: scale(1.1);
}

.linkedin-share img {
  width: 80px;
  height: auto;
}

/* Contenedor del mapa - CENTRADO */
.contacto-mapa-container {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin: 40px auto;
  max-width: 900px;
  width: 90%;
}

.contacto-mapa-container iframe {
  border-radius: 5px;
  display: block;
  margin: 0 auto;
  width: 100%;
}

.page-id-41 iframe.map-i {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  width: 668px;
  height: 342px;
  border: 0;
  box-sizing: border-box;
}

/* Centrar imágenes */
.contacto-descripcion img {
  display: block !important;
  margin: 20px auto !important;
  max-width: 100% !important;
  height: auto !important;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (max-width: 1024px) {
  .subtitulo-index {
    font-size: 20px !important;
  }

  .parrafo-index {
    font-size: 18px !important;
  }
}

@media (max-width: 992px) {
  .contacto-personas-container {
    gap: 20px;
  }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 768px) {
  .contacto-banner {
    height: 200px;
  }
  
  .contacto-overlay h1 {
    font-size: 2.5rem;
  }

  .generico-container {
    max-width: 1000px;
    margin: 0 auto 80px;
    padding: 50px 20px;
    box-sizing: border-box;
    min-height: 70vh;
  }
  
  .contacto-personas-container {
    flex-direction: column;
  }
  
  .contacto-personas-container .contacto-detalles {
    width: 100%;
    max-width: none;
  }
  
  .contacto-persona {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .contacto-datos {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .contacto-item {
    justify-content: center;
  }
  
  .contacto-social {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .wp-container-core-group-is-layout-76a81b31 {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-left: 0px !important;
  }

  .page-id-41 iframe.map-i {
    padding-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .contacto-titulo {
    font-size: 2rem;
  }
  
  .contacto-overlay h1 {
    font-size: 2rem;
  }
  
  .contacto-separador {
    width: 200px;
  }
  
  .contacto-persona {
    padding: 20px;
  }
}


/* Estilos para la página de programa */

/* Banner de programa */
.programa-banner {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.programa-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.programa-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.programa-overlay h1 {
  color: var(--main-orange-color);
  font-size: 3rem;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Secciones generales */
.programa-seccion {
  padding: 60px 0;
}

.programa-seccion:nth-child(odd) {
  background-color: var(--main-lighter-green-color);
}

.programa-seccion:nth-child(even) {
  background-color: white;
}

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

.programa-titulo {
  text-align: center;
  color: var(--main-dark-grey-color);
  font-size: 25px;
  margin-bottom: 5px;
  font-weight: 700;
}

.programa-subtitulo {
  text-align: center;
  color: var(--main-grey-color);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.programa-separador {
  width: 100px;
  height: 3px;
  background-color: var(--main-orange-color);
  margin: 0 auto 40px;
}

/* --- Separación de ambos bloques de programa --- */
.bloque-programa {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 40px 0 rgba(25,75,72,0.06);
  margin: 42px auto 64px auto;
  padding: 0 0 60px 0;
  transition: box-shadow .2s;
  max-width: 1200px;
  position: relative;
}

.bloque-programa-titulo {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--main-green-color);
  margin-bottom: 30px;
  margin-top: 0;
  letter-spacing: -.5px;
}

.bloque-magister {
  border-top: 8px solid var(--main-orange-color);
  /* Puedes usar otro color si lo prefieres */
}
.bloque-doctorado {
  border-top: 8px solid var(--main-darker-green-color);
}

.separador-doble-programa {
  margin: 60px auto 60px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 50px;
}
.separador-doble-programa span {
  font-size: 2.5rem;
  color: #c4c9ce;
  font-weight: 400;
  margin: 0 35px;
}
.separador-doble-programa:before, .separador-doble-programa:after {
  content: "";
  flex: 1;
  border-bottom: 3px solid #e4e9ec;
}

@media (max-width: 992px) {
  .bloque-programa {padding: 0 0 40px 0;}
  .bloque-programa-titulo {font-size: 2rem;}
  .separador-doble-programa {margin: 38px 0;}
  .separador-doble-programa span {font-size: 1.5rem;}
}
@media (max-width: 600px) {
  .bloque-programa {margin: 25px 5px 32px 5px; padding: 0 0 22px 0;}
  .bloque-programa-titulo {font-size: 1.35rem; margin-bottom: 18px;}
  .separador-doble-programa {margin: 25px 0;}
}


/* Módulos */
/* Contenedor de módulos */
.modulos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.modulo-item {
  flex: 0 0 calc(33.333% - 30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 350px;
}

/* Estructura fija para la parte superior */
.modulo-icono {
  width: 100px;
  height: 100px;
  background-color: var(--main-orange-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  overflow: hidden;
}

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

/* Estilo del número del módulo */
.modulo-numero {
  color: var(--main-orange-color);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

/* Contenedor de altura fija para los títulos */
.modulo-titulo {
  color: var(--main-green-color);
  font-size: 1.3rem;
  font-weight: 700;
  height: 80px; /* Altura fija para títulos (ajustar según necesidad) */
  display: flex;
  justify-content: center;
  line-height: 1.4;
  padding: 0 10px;
}

/* Descripción del módulo */
.modulo-descripcion {
  color: var(--main-grey-color);
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Puntos alineados a la izquierda */
.modulo-puntos {
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: left;
  width: 100%;
}

.modulo-puntos li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: var(--main-grey-color);
  font-size: 0.95rem;
  line-height: 1.5;
}

.modulo-puntos li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--main-orange-color);
  font-size: 1.2rem;
  line-height: 1.2;
}

/* Requisitos de ingreso */
.requisitos-ingreso {
  position: relative;
  background-color: var(--main-darker-green-color) !important;
  color: white;
}

.requisitos-ingreso .programa-titulo,
.requisitos-ingreso .programa-subtitulo {
  color: white;
}

.requisitos-ingreso .programa-separador {
  background-color: var(--main-orange-color);
}

.requisitos-contenido {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: justify;
}

/* Duración y Arancel*/
.duracion-info {
  max-width: 900px;
  margin: 0 auto;
}

.duracion-item {
  display: flex;
  margin-bottom: 25px;
  align-items: flex-start;
}

.duracion-item-icono {
  flex-shrink: 0;
  color: var(--main-orange-color);
  font-size: 20px;
  margin-right: 15px;
  padding-top: 3px;
  line-height: 1;
}

.duracion-item-contenido {
  flex-grow: 1;
}

.duracion-item-titulo {
  color: var(--main-grey-color);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 0;
  line-height: 1.4;
  text-align: justify;
}

.duracion-item-titulo strong,
.duracion-item-titulo b {
  font-weight: 800;
  color: var(--main-grey-color);
}

.duracion-item-titulo em,
.duracion-item-titulo i {
  font-style: italic;
  color: var(--main-grey-color);
}

.duracion-item-texto {
  color: var(--main-grey-color);
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: justify;
}

.duracion-item-texto li{
  list-style: disc;
}

.duracion-item-texto p {
  margin-top: 0;
  margin-bottom: 10px;
  text-align: justify;
}

.duracion-item-texto a {
  color: var(--main-green-color);
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.3s ease;
  font-size: 1.1rem !important;
}

.duracion-item-texto a:hover {
  color: var(--main-light-green-color);
  text-decoration: underline;
}

.duracion-item-texto a:visited {
  color: var(--main-darker-green-color);
  text-decoration: underline;
}

.duracion-destacado .duracion-item-texto a {
  color: var(--main-green-color);
  font-weight: 700;
  text-decoration: underline;
}

.duracion-destacado .duracion-item-texto a:hover {
  color: var(--main-light-green-color);
}

.mce-content-body a {
  color: var(--main-green-color) !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
}

.duracion-item-texto strong,
.duracion-item-texto b {
  font-weight: 700;
  color: var(--main-grey-color);
}

.duracion-item-texto em,
.duracion-item-texto i {
  font-style: italic;
  color: var(--main-grey-color);
}

.duracion-item-texto ul,
.duracion-item-texto ol {
  margin-left: 20px;
  margin-bottom: 15px;
  text-align: justify;
}

.duracion-destacado {
  padding: 20px;
  background-color: rgba(1, 164, 153, 0.1);
  border-radius: 10px;
  border-left: 5px solid var(--main-orange-color);
}

.duracion-destacado .duracion-item-titulo {
  color: var(--main-grey-color);
}

.duracion-destacado .duracion-item-titulo strong,
.duracion-destacado .duracion-item-titulo b {
  color: var(--main-grey-color);
}

.mce-content-body {
  font-family: "Nunito Sans", sans-serif;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .duracion-item-icono {
    display: none;
  }
  
  .duracion-item {
    display: block;
    margin-bottom: 20px;
  }
  
  .duracion-item-contenido {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .duracion-destacado {
    padding: 15px;
  }
  
  .duracion-item-titulo,
  .duracion-item-texto,
  .duracion-item-texto a {
    font-size: 1rem !important;
  }
}

/* Sección de descarga de brochure */
.descarga-brochure {
  background-color: var(--main-darker-green-color) !important;
  padding: 30px 0;
}

.brochure-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.brochure-texto {
  flex: 1;
  min-width: 300px;
}

.brochure-texto h2 {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.brochure-texto p {
  color: white;
  font-size: 1.1rem;
}

.brochure-boton {
  flex-shrink: 0;
  margin: 20px 0;
}

.btn-descargar {
  display: inline-block;
  background-color: var(--main-orange-color);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-descargar:hover {
  background-color: #c56603;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Videos testimoniales */
.videos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
}

.video-item {
  width: 100%;
}

.video-embed-container {
  position: relative;
  padding-bottom: 56.25%; /* Proporción 16:9 */
  height: 0;
  overflow: hidden;
  background-color: #000;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.video-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.video-titulo {
  color: var(--main-dark-grey-color);
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 15px;
  text-align: center;
}

.video-error {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: white;
  padding: 20px;
}

/* Estilos para mensajes de "no hay contenido" */
.no-modulos, .no-videos {
  text-align: center;
  color: var(--main-grey-color);
  font-style: italic;
  padding: 30px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

/* Estilos responsivos */
@media (max-width: 992px) {
  .modulos-container {
    justify-content: center;
  }

  .modulo-item {
    flex: 0 0 calc(50% - 30px);
  }
  
  .videos-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .programa-banner {
    height: 200px;
  }
  
  .programa-overlay h1 {
    font-size: 2.5rem;
  }
  
  .programa-titulo {
    font-size: 1.8rem;
  }
  
  .programa-subtitulo {
    font-size: 1rem;
  }
  
  .brochure-container {
    flex-direction: column;
    text-align: center;
  }
  
  .brochure-texto {
    margin-bottom: 20px;
  }

  .modulo-item {
    flex: 0 0 100%;
    max-width: 400px;
  }

  .modulo-titulo {
    height: auto;
    min-height: 60px;
  }
}

@media (max-width: 480px) {
  .programa-overlay h1 {
    font-size: 2rem;
  }
  
  .programa-titulo {
    font-size: 1.5rem;
  }
  
  .programa-seccion {
    padding: 40px 0;
  }
  
  .modulo-item {
    padding: 15px 10px;
  }
  
  .duracion-item {
    flex-direction: column;
  }
  
  .duracion-item-icono {
    margin-bottom: 10px;
  }
}

/* Estilos generales */
.programa-admin-card {
  background-color: #fff;
  border: 1px solid #ccd0d4;
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.card {
  background: #fff;
  border: 1px solid #ccd0d4;
  border-radius: 4px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.sortable-placeholder {
  background-color: #f7fafc;
  border: 2px dashed #b4c4c6;
  margin-bottom: 20px;
  height: 60px;
  border-radius: 4px;
}

/* Estilos de módulos */
.modulo-admin, .item-admin, .video-admin {
  overflow: hidden;
}

.modulo-header, .item-header, .video-header {
  padding: 12px 15px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e2e4e7;
  cursor: move;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.item-titulo, .video-nombre {
  font-weight: 600;
  flex-grow: 1;
}

.toggle-modulo, .toggle-item, .toggle-video {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  padding: 0 5px;
}

.eliminar-modulo, .eliminar-item, .eliminar-video {
  color: #cc1818;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 8px;
  margin-right: 8px;
}

.eliminar-modulo:hover, .eliminar-item:hover, .eliminar-video:hover {
  color: #710d0d;
}

.modulo-content, .item-content, .video-content {
  padding: 15px;
}

.modulo-row, .item-row, .video-row {
  margin-bottom: 15px;
}

.modulo-row label, .item-row label, .video-row label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

/* Estilos de imágenes */
.modulo-imagen-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.modulo-imagen-preview {
  width: 80px;
  height: 80px;
  background-color: #f1f1f1;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
}

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

.modulo-imagen-placeholder {
  width: 40px;
  height: 40px;
  background-color: #ddd;
  border-radius: 5px;
}

/* Estilos de puntos */
.modulo-puntos-container {
  border: 1px solid #ddd;
  padding: 10px;
  background-color: #f9f9f9;
  border-radius: 4px;
}

.modulo-punto {
  display: flex;
  margin-bottom: 10px;
  align-items: center;
}

.modulo-punto input {
  flex-grow: 1;
}

.eliminar-punto {
  background: none;
  border: none;
  color: #cc1818;
  font-size: 18px;
  cursor: pointer;
  padding: 0 5px;
}

/* Estilos de videos */
.video-preview {
  margin-top: 10px;
  position: relative;
  overflow: hidden;
  padding-bottom: 30%; /* Proporción 16:9 pero más pequeña */
  height: 0;
  max-width: 500px;
}

.video-preview iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.video-error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #f5c6cb;
}

/* Estilos de la sección de descarga de brochure */
.programa-descarga-url-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Botones y acciones */
.button-add {
  margin-bottom: 20px !important;
}

.button-wide {
  width: 100%;
  text-align: center;
}

/* Estilos responsivos */
@media screen and (max-width: 782px) {
  .modulo-imagen-container {
      flex-direction: column;
      align-items: flex-start;
  }
  
  .programa-descarga-url-container {
      flex-direction: column;
      align-items: flex-start;
  }
  
  .programa-descarga-url-container .button {
      margin-top: 5px;
  }
}


/* Estilos para la página de acreditación */

/* Banner de acreditación */
.acreditacion-banner {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.acreditacion-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.acreditacion-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.acreditacion-overlay h1 {
  color: var(--main-orange-color);
  font-size: 3rem;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Secciones generales */
.acreditacion-seccion {
  padding: 60px 0;
}

.acreditacion-seccion:nth-child(odd) {
  background-color: var(--main-lighter-green-color);
}

.acreditacion-seccion:nth-child(even) {
  background-color: white;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.acreditacion-titulo {
  text-align: center;
  color: var(--main-dark-grey-color);
  font-size: 2.2rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.acreditacion-separador {
  width: 100px;
  height: 3px;
  background-color: var(--main-orange-color);
  margin: 0 auto 40px;
}

/* Estilos del contenido */
.acreditacion-contenido {
  color: var(--main-grey-color);
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: justify;
}

.acreditacion-contenido p {
  margin-bottom: 1rem;
}

.acreditacion-contenido strong,
.acreditacion-contenido b {
  font-weight: 700;
  color: var(--main-grey-color);
}

.acreditacion-contenido em,
.acreditacion-contenido i {
  font-style: italic;
}

.acreditacion-contenido ul,
.acreditacion-contenido ol {
  margin-left: 20px;
  margin-bottom: 1rem;
}

.acreditacion-contenido li {
  margin-bottom: 0.5rem;
}

/* Enlaces en el contenido */
.acreditacion-contenido a {
  color: var(--main-green-color);
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.acreditacion-contenido a:hover {
  color: var(--main-light-green-color);
}

/* Sección de descarga CNA */
.cna-documento {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cna-documento:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.documento-link {
  display: flex;
  align-items: center;
  padding: 30px;
  text-decoration: none;
  color: inherit;
}

.documento-icono {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  margin-right: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.documento-icono img {
  max-width: 100%;
  max-height: 100%;
}

.documento-info {
  flex-grow: 1;
}

.documento-info h3 {
  color: var(--main-orange-color);
  font-size: 1.3rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.documento-info p {
  color: var(--main-grey-color);
  font-size: 1rem;
  margin: 0;
}

/* Sección con fondo oscuro */
.acreditacion-programa {
  background-color: var(--main-darker-green-color) !important;
  color: white;
}

.acreditacion-programa .acreditacion-titulo {
  color: white;
}

.acreditacion-programa .acreditacion-contenido {
  color: white;
}

.acreditacion-programa .acreditacion-contenido strong,
.acreditacion-programa .acreditacion-contenido b {
  color: white;
}

.acreditacion-programa .acreditacion-contenido a {
  color: var(--main-light-green-color);
}

.acreditacion-programa .acreditacion-contenido a:hover {
  color: white;
}

/* Sección de avances con estilos especiales para listas */
.avances-acreditacion .acreditacion-contenido ul {
  list-style-type: none;
  padding-left: 0;
}

.avances-acreditacion .acreditacion-contenido ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
}

.avances-acreditacion .acreditacion-contenido ul li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--main-orange-color);
  font-size: 1.5rem;
  line-height: 1;
}

/* Estilos responsivos */
@media (max-width: 768px) {
  .acreditacion-banner {
    height: 200px;
  }
  
  .acreditacion-overlay h1 {
    font-size: 2.5rem;
  }
  
  .acreditacion-titulo {
    font-size: 1.8rem;
  }
  
  .documento-link {
    flex-direction: column;
    text-align: center;
  }
  
  .documento-icono {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .acreditacion-overlay h1 {
    font-size: 2rem;
  }
  
  .acreditacion-titulo {
    font-size: 1.5rem;
  }
  
  .acreditacion-contenido {
    font-size: 1rem;
  }
  
  .documento-info h3 {
    font-size: 1.1rem;
  }
}

/**
 * Estilos CSS para las páginas de administración de acreditación
 */

/* Estilos de cards */
.acreditacion-admin-card {
  background-color: #fff;
  border: 1px solid #ccd0d4;
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 20px;
  margin-top: 20px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.acreditacion-admin-card h2 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
}

.acreditacion-admin-card ul {
  margin-bottom: 0;
}

.acreditacion-admin-card li {
  margin-bottom: 10px;
}

.acreditacion-admin-card li:last-child {
  margin-bottom: 0;
}

/* Estilos para selección de ícono */
.documento-imagen-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
}

.documento-imagen-preview {
  width: 80px;
  height: 80px;
  background-color: #f1f1f1;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.documento-imagen-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.documento-imagen-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9;
}

.documento-imagen-placeholder .dashicons {
  font-size: 40px;
  width: 40px;
  height: 40px;
  color: #bbb;
}

/* Contenedor de botones */
.acreditacion-descarga-url-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Estilos para el editor */
.wp-editor-wrap {
  margin-bottom: 10px;
}

.description {
  margin-top: 5px;
  color: #646970;
}

/* Estilos responsivos */
@media screen and (max-width: 782px) {
  .acreditacion-descarga-url-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .acreditacion-descarga-url-container input[type="url"] {
    margin-bottom: 10px;
  }
  
  .documento-imagen-container {
    flex-direction: column;
  }
}

/* Estilos para single-noticia.php */

/* Banner de noticias */
.noticia-banner {
  position: relative;
  height: 500px;
  margin: 42px auto 64px auto;
  overflow: hidden;
}

.noticia-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.noticia-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.noticia-overlay h1 {
  color: var(--main-orange-color);
  font-size: 3rem;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Secciones generales */
.noticia-seccion {
  padding: 60px 0;
}

.noticia-seccion:nth-child(odd) {
  background-color: var(--main-lighter-green-color);
}

.noticia-seccion:nth-child(even) {
  background-color: white;
}

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

/* Contenido de la noticia individual */
.noticia-contenedor {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  /*box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);*/
  padding: 40px;
}

.noticia-fecha {
  font-size: 1rem;
  color: var(--main-orange-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.noticia-titulo {
  font-size: 2.4rem;
  color: var(--main-green-color);
  margin-bottom: 20px;
  line-height: 1.3;
  font-weight: 800;
}

.noticia-bajada {
  font-size: 1.3rem;
  color: var(--main-grey-color);
  line-height: 1.6;
  margin-bottom: 30px;
  font-weight: 500;
  border-left: 4px solid var(--main-light-green-color);
  padding-left: 20px;
}

.noticia-imagen {
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.noticia-imagen img {
  width: 100%;
  height: auto;
  display: block;
}

.noticia-cuerpo {
  color: var(--main-grey-color);
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
}

.noticia-cuerpo p {
  margin-bottom: 20px;
}

.noticia-cuerpo h2,
.noticia-cuerpo h3 {
  color: var(--main-green-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 700;
}

.noticia-cuerpo ul,
.noticia-cuerpo ol {
  margin-left: 25px;
  margin-bottom: 25px;
}

.noticia-cuerpo a {
  color: var(--main-green-color);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.noticia-cuerpo a:hover {
  color: var(--main-orange-color);
}

.noticia-cuerpo img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

/* Sección de noticias relacionadas */
.noticias-relacionadas {
  position: relative;
}

.seccion-titulo {
  text-align: center;
  color: var(--main-dark-grey-color);
  font-size: 2.2rem;
  margin-bottom: 10px;
  font-weight: 700;
  
}

.seccion-separador {
  width: 100px;
  height: 3px;
  background-color: var(--main-orange-color);
  margin: 0 auto 40px;
}

.noticias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

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

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

.noticia-card-imagen {
  overflow: hidden;
  height: 180px;
}

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

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

.noticia-card-fecha {
  padding: 15px 20px 0;
  font-size: 0.9rem;
  color: var(--main-orange-color);
  font-weight: 600;
}

.noticia-card-titulo {
  padding: 10px 20px;
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: 700;
  color: var(--main-green-color);
  flex-grow: 0;
}

.noticia-card-extracto {
  padding: 0 20px;
  font-size: 0.95rem;
  color: var(--main-grey-color);
  line-height: 1.5;
  flex-grow: 1;
}

/* ==========================================================================
   ARREGLO PARA EL BOTÓN "LEER MÁS" EN TARJETAS DE NOTICIAS
   ========================================================================== */
   
/* Estado normal del botón */
.noticias-grid .noticia-card-enlace {
    background-color: var(--main-green-color, #01a499) !important;
    color: white !important; /* Fuerza la letra a ser blanca */
    border-radius: 5px;
    padding: 8px 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin: 20px;
    display: inline-block;
}

/* Estado cuando el mouse pasa por encima (Hover) */
.noticias-grid .noticia-card-enlace:hover {
    background-color: var(--main-orange-color, #e37604) !important; /* Fondo cambia a naranja */
    color: white !important; /* La letra DEBE seguir siendo blanca */
    transform: translateY(-2px); /* Pequeño saltito elegante hacia arriba */
    box-shadow: 0 4px 10px rgba(227, 118, 4, 0.3); /* Sombrita naranja para darle profundidad */
}


/* Estilos responsivos */
@media (max-width: 992px) {
  .noticias-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .noticia-banner {
    height: 200px;
  }
  
  .noticia-overlay h1 {
    font-size: 2.5rem;
  }
  
  .noticia-contenedor {
    padding: 25px;
  }
  
  .noticia-titulo {
    font-size: 2rem;
  }
  
  .noticia-bajada {
    font-size: 1.1rem;
  }
  
  .noticia-cuerpo {
    font-size: 1rem;
  }
  
  .seccion-titulo {
    font-size: 1.8rem;
  }
  
  .noticias-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .noticia-overlay h1 {
    font-size: 2rem;
  }
  
  .noticia-seccion {
    padding: 40px 0;
  }
  
  .noticia-contenedor {
    padding: 20px;
    border-radius: 10px;
  }
  
  .noticia-titulo {
    font-size: 1.7rem;
  }
  
  .noticia-bajada {
    font-size: 1rem;
    padding-left: 15px;
  }
}

/* Estilos adicionales para archive-noticia.php */

/* Listado de noticias en el archivo */
.noticia-listado {
  min-height: 50vh;
}

/* Estilos para la paginación */
.noticia-paginacion {
  margin-top: 50px;
  text-align: center;
}

.noticia-paginacion .page-numbers {
  display: inline-block;
  padding: 8px 15px;
  margin: 0 5px;
  border-radius: 5px;
  background-color: white;
  color: var(--main-green-color);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--main-light-green-color);
  transition: all 0.3s ease;
}

.noticia-paginacion .page-numbers.current {
  background-color: var(--main-green-color);
  color: white;
  border-color: var(--main-green-color);
}

.noticia-paginacion .page-numbers:hover {
  background-color: var(--main-light-green-color);
  color: white;
}

.noticia-paginacion .flecha-prev,
.noticia-paginacion .flecha-next {
  font-size: 1.3rem;
  vertical-align: middle;
  line-height: 1;
}

/* Mensaje cuando no hay noticias */
.no-noticias {
  text-align: center;
  padding: 50px 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  grid-column: 1 / -1;
}

.no-noticias h3 {
  color: var(--main-orange-color);
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.no-noticias p {
  color: var(--main-grey-color);
  font-size: 1.1rem;
}

/* Estilos responsivos adicionales */
@media (max-width: 992px) {
  .noticia-paginacion .page-numbers {
    padding: 6px 12px;
    margin: 0 3px;
  }
}

@media (max-width: 480px) {
  .noticia-paginacion {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  
  .noticia-paginacion .page-numbers {
    margin: 0;
    padding: 5px 10px;
    font-size: 0.9rem;
  }
}


/* magiet - academicos - vime */
/* Banner de acreditación */
.default-banner {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.default-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.default-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.default-overlay h1 {
  color: var(--main-orange-color);
  font-size: 3rem;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.default-seccion {
  padding: 60px 0;
}

.default-seccion:nth-child(odd) {
  background-color: var(--main-lighter-green-color);
}

.default-seccion:nth-child(even) {
  background-color: white;
}


.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.default-titulo {
  text-align: center;
  color: var(--main-dark-grey-color);
  font-size: 2.2rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.default-separador {
  width: 100px;
  height: 3px;
  background-color: var(--main-orange-color);
  margin: 0 auto 40px;
}

/* Estilos del contenido */
.default-contenido {
  color: var(--main-grey-color);
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: justify;
}

.default-contenido p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.default-contenido strong,
.default-contenido b {
  font-weight: 700;
  color: var(--main-grey-color);
}

.default-contenido em,
.default-contenido i {
  font-style: italic;
}

.default-contenido ul,
.default-contenido ol {
  margin-left: 20px;
  margin-bottom: 1rem;
}

.default-contenido li {
  margin-bottom: 0.5rem;
}

/* Enlaces en el contenido */

.default-boton{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.default-contenido a:not(.btn-descargar) {
  color: var(--main-green-color);
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.3s ease;
  font-size: 1.1rem;
}

.default-contenido a:hover:not(.btn-descargar) {
  color: var(--main-light-green-color);
}

/* Contenedor principal */
/* .equipo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  justify-items: center;
  align-items: start;
  margin-top: 2rem;
} */

/* Item de cada persona */
/* .equipo-item {
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
} */

/* Imagen (foto de la persona) */
/* .equipo-foto img {
  width: 100%;
  max-width: 180px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
} */

/* Nombre de la persona */
/* .equipo-nombre {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0.5rem 0;
  color: #333;
} */
.equipo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.equipo-item {
  background: #fff;
  border: 1px solid #ddd;
  padding: 1rem;
  width: calc(33.333% - 2rem); /* 3 por fila */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.equipo-foto img {
  max-width: 182px;
  height: auto;
  border-radius: 50%;
}

.equipo-nombre {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0.5rem 0;
}

.equipo-descripcion {
  color: #444;
}

/* todo a la derecha y justificado */
.equipo-descripcion p {
  font-size: 0.9rem;
  text-align: justify;
}

.equipo-descripcion li {
  list-style-type: disc; /* Muestra el marcador */
  list-style-position: inside; /* Hace que el marker esté alineado con el texto */
  /* text-align: left; */
  text-align: justify;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}


/* Cargo - solo en magiet */
.equipo-cargo {
  font-size: 1rem;
  color: #666;
}

/* estilos duracion*/
.cuadros-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.cuadro-item {
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  background: #f5f5f5;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cuadro-icono i {
  font-size: 2rem;
  color: var(--main-orange-color);
  margin-bottom: 1rem;
}

.cuadro-numero {
  font-size: 1.8rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 0.5rem;
}

.cuadro-titulo {
  font-size: 0.95rem;
  color: #666;
}

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

/* page-numbers current
next page-numbers */

.paginacion-academicos .page-numbers {
  padding: 8px 15px;
  border-radius: 5px;
  background-color: white;
  color: var(--main-green-color);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--main-light-green-color);
  transition: all 0.3s ease;
}

.paginacion-academicos .page-numbers.current {
  background-color: var(--main-green-color);
  color: white;
  border-color: var(--main-green-color);
}

.paginacion-academicos .page-numbers:hover {
  background-color: var(--main-light-green-color);
  color: white;
}


.paginacion-academicos span{
  font-size: 1.3rem;
}


.equipo-seccion-titulo {
  text-align: center;
  font-size: 1.4rem;
  color: #2d3467;
  font-weight: 700;
  margin: 2rem 0 1rem 0;
  letter-spacing: 1px;
}

.equipo-director-solo {
  margin-bottom: 2.5rem;
}

.divisor-equipo-director {
  border: none;
  border-top: 2.5px solid #e0e5f3;
  margin: 2.5rem 0 2.5rem 0;
  width: 100%;
  max-width: 900px;
}
/* Estilos responsive academicos */
@media (max-width: 768px) {
  .default-banner {
    height: 200px;
  }
  
  .default-overlay h1 {
    font-size: 2.5rem;
  }
  
  .default-titulo {
    font-size: 1.8rem;
  }
  
  .default-contenido {
    font-size: 1rem;
  }
  
  .equipo-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .equipo-item {
    width: auto;
    max-width: none;
    flex-basis: calc(100% - 2rem);
  }
  
  .cuadros-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-top: 1rem;
  }
  .cuadro-item {
    width: auto;
    max-width: none;
    flex-basis: calc(100% - 2rem);
  }
  .cuadro-item {
    padding: 1rem;
  }
  .cuadro-icono i {
    font-size: 1.5rem;
  }
  .cuadro-numero {
    font-size: 1.5rem;
  }
  .cuadro-titulo {
    font-size: 0.85rem;
  }
  .paginacion-academicos {
    align-items: center;
  }
  .paginacion-academicos .page-numbers {
    margin: 0;
    padding: 5px 10px;
    font-size: 0.9rem;
  }
  .paginacion-academicos span{
    font-size: 1rem;
  }
  .paginacion-academicos .flecha-prev,
  .paginacion-academicos .flecha-next {
    font-size: 1.3rem;
    vertical-align: middle;
    line-height: 1;
  }
}

/* Estilos para los iconos de redes sociales en el footer */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icon-link {
  display: inline-block;
}

.social-icon {
  width: 24px;
  height: 24px;
  transition: opacity 0.3s ease;
  margin-left: 8px;
}

.social-icon:hover {
  opacity: 0.8;
}

.invert-icon {
  filter: brightness(0) invert(1); /* Convierte iconos negros a blancos */
}

/*
ESTUDIANTES
*/

.estudiantes-directorio {
  display: flex;
  gap: 40px;
  margin: 42px 100px 55px 125px;
}

.sidebar-estudiantes {
  width: 220px;
  background: #fafbfc;
  border-radius: 8px;
  padding: 20px;
}

.sidebar-estudiantes h3 {
  margin-bottom: 15px;
}


.sidebar-estudiantes li {
  margin-bottom: 12px;
}

.sidebar-estudiantes a {
  color: #1b483e;
}

.grid-estudiantes {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  flex: 1;
}

.card-estudiante {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 12px #0001;
  width: 260px;
  padding: 22px 18px;
  text-align: center;
}

.card-imagen img, .avatar-placeholder {
  width: 90px; 
  height: 90px; 
  border-radius: 50%; 
  margin-bottom: 14px;
  object-fit: cover; 
  background: #e9ecf1;
}

.card-nombre {
  font-size: 1.18em; 
  color: #12946c; 
  font-weight: bold;
}

.card-desc {
  font-size: 1em;
  color: #2d2d2d; 
  margin: 12px 0 0 0;
  }
  
@media (max-width:800px) {
  .estudiantes-directorio{
    flex-direction:column;
  }
  
  .sidebar-estudiantes{
    width:100%;
  }
}


.sidebar-estudiantes {
  width: 220px;
  background: #fafbfc;
  border-radius: 8px;
  padding: 18px 20px 22px 20px;
  box-shadow: 0 4px 16px #0001;
}

.sidebar-estudiantes a.active,
.sidebar-estudiantes a:hover {
  background: #e3c164;
  color: #112a36;
  font-weight: 700;
}

.grid-estudiantes {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  flex: 1;
}

.card-estudiante {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px #0001;
  width: 260px;
  padding: 24px 15px 20px 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card-imagen img,
.avatar-placeholder {
  width: 90px; height: 90px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
  background: #e9ecf1;
}
.avatar-placeholder {display:inline-block;}
.card-nombre {
  font-size: 1.18em;
  color: #12946c;
  font-weight: bold;
  margin-top:0;margin-bottom:7px;
}
.card-desc {font-size:1em;color:#23272a;line-height:1.6;}
@media (max-width:900px) {
  .estudiantes-directorio{flex-direction:column;gap:25px;}
  .sidebar-estudiantes{width:100%;}
  .grid-estudiantes{justify-content:center;}
}


.sidebar-estudiantes {
  width: 215px;
  background: #fafbfc;
  border-radius: 12px;
  box-shadow: 0 4px 24px #0001;
  padding: 24px 22px 24px 22px;
}

.sidebar-titulo {
  color: #2d3467;
  font-size: 1.19rem;
  letter-spacing: 1px;
  font-weight: 800;
  margin-bottom: 15px;
  border-bottom: 2px solid #e3c164;
  padding-bottom: 6px;
}
.sidebar-estudiantes ul {list-style: none; margin: 0; padding: 0;}
.sidebar-estudiantes li {margin-bottom: 13px;}
.sidebar-estudiantes a {
  color: #2d3467;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.08em;
  border-radius: 8px;
  display: block;
  padding: 8px 10px;
  transition: background .17s, color .17s;
}
.sidebar-estudiantes a.active,
.sidebar-estudiantes a:hover {
  background: #e3c164;
  color: #18336e;
  font-weight: 700;
}

.grid-estudiantes {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 46px;
  flex: 1;
  justify-content: flex-start;
}

.card-estudiante {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 10px 32px 0 rgba(43,55,112,0.08);
  width: 258px;
  min-height: 380px;
  padding: 32px 22px 27px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow .18s;
  position: relative;
}
.card-estudiante:hover {
  box-shadow: 0 16px 48px rgba(43,55,112,0.13);
}

.card-foto {
  margin-bottom: 14px;
}
.card-foto img,
.avatar-placeholder {
  width: 118px; height: 118px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e3c164;
  box-shadow: 0 2px 24px rgba(45,52,103,0.11);
  margin: 0 auto;
  background: #f6f6f9;
}
.avatar-placeholder {display:inline-block;}

.estudiante-info {width:100%;}
.card-nombre {
  font-size: 1.15em;
  font-weight: 700;
  color: #2161b5;
  margin-bottom: 0.3em;
  margin-top: 0.4em;
  border-bottom: 2px solid #e3c164;
  padding-bottom: 2px;
  display: inline-block;
}
.card-facultad {
  color: #e3c164;
  font-size: 0.98em;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.card-desc {
  font-size: 0.99em;
  color: #2d2d2d;
  margin: 9px 0 0 0;
  text-align: left;
  min-height: 50px;
}

/* Responsive */

@media (max-width:900px) {
  .estudiantes-directorio{
    flex-direction:column;
    gap:22px;
  }

  .sidebar-estudiantes{
    width:100%;
    margin-bottom:20px;
  }

  .grid-estudiantes{
    gap:20px;
  }

  .card-estudiante{
    width:90vw;
    max-width:364px;
  }
}




/**
 * ==============================
 * SECCIÓN DE PUBLICACIONES (adaptado)
 * ==============================
 */
.publicaciones-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.research-content {
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  gap: 2rem;
  padding: 0 1rem;
}

.research-content h1 {
  color: var(--main-green-color);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.research-description {
  color: var(--main-dark-grey-color);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: justify;
}

/* Filtro */
.research-filter {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: var(--main-lighter-green-color);
  border-radius: 10px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.filter-group label {
  color: var(--main-dark-grey-color);
  font-weight: 600;
  font-size: 1.1rem;
}

.filter-group select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--main-green-color);
  border-radius: 5px;
  font-size: 1rem;
  color: var(--main-dark-grey-color);
  background-color: white;
}

.search-button {
  padding: 0.5rem 1.5rem;
  background-color: var(--main-green-color);
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-button:hover {
  background-color: var(--main-darker-green-color);
}

/* Bloque/accordion de publicaciones */
.type-section {
  margin-bottom: 2rem;
}

.type-title {
  color: var(--main-green-color);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--main-lighter-green-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}

.type-title::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.type-title.active::after {
  transform: rotate(45deg);
}

.type-content {
  display: none;
  padding: 1rem;
  background-color: white;
  border-radius: 0 0 5px 5px;
  color: var(--main-dark-grey-color);
  line-height: 1.8;
  text-align: justify;
}

.type-content.active {
  display: block;
}

.type-content p {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.publication-item {
  padding: 1rem;
  border-bottom: 1px solid var(--main-lighter-green-color);
}

.publication-item:last-child {
  border-bottom: none;
}

/* Estilos para enlaces */
.publication-item a,
.type-content a {
  color: var(--main-green-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}
.publication-item a:hover,
.type-content a:hover {
  text-decoration: underline;
}

/* Listas y blockquotes en contenido */
.type-content ul,
.type-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}
.type-content li {
  margin-bottom: 0.5rem;
  list-style: disc;
}
.type-content blockquote {
  border-left: 4px solid var(--main-green-color);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
}

.type-content strong {
  font-weight: 700;
  color: var(--main-dark-grey-color);
}

.type-content em {
  font-style: italic;
}

/* Responsive para publicaciones */
@media (max-width: 768px) {
  .publicaciones-container {
    padding: 0 0.5rem;
    margin: 1.2rem auto;
  }
  .filter-group {
    flex-direction: column;
    align-items: flex-start;
  }
  .filter-group label {
    margin-bottom: 0.5rem;
  }
  .type-title {
    font-size: 1.5rem;
  }
  .type-content p {
    font-size: 1.1rem;
  }
}


/* SECCION PROGRAMA DE INDEX */

.section-programas {
  margin: 60px auto 40px auto;
  padding-bottom: 25px;
}
.cuerpo-programas {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  justify-content: center;
  margin-top: 80px;
}
.card-programa {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 24px 0 rgba(43,55,112,0.08);
  max-width: 370px;
  min-width: 265px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  transition: box-shadow .18s;
}
.programa-card-img img {
  width: 100%;
  height: 195px;
  object-fit: cover;
  display: block;
  border-bottom: 1.5px solid #e7b92438;
}
.programa-card-info {
  padding: 22px 20px 32px 20px;
  text-align: center;
}
.programa-card-titulo {
  font-size: 1.25rem;
  color: var(--main-green-color);
  font-weight: 700;
  margin-bottom: 0.8em;
}
.programa-card-desc {
  color: var(--main-grey-color);
  font-size: 1.03rem;
  margin-bottom: 0em;
  min-height: 100px;
  line-height: 1.5;
}
.btn-ver-programa {
  display: inline-block;
  background: var(--main-orange-color);
  color: white;
  font-weight: 700;
  border-radius: 5px;
  padding: 0.65em 1.3em;
  text-decoration: none;
  transition: background .18s, box-shadow .18s, transform .13s;
}
.btn-ver-programa:hover {
  background: #c56603;
  box-shadow: 0 5px 15px rgba(227,185,36,0.16);
  transform: translateY(-2px);
}
@media (max-width: 900px) {
  .cuerpo-programas {gap: 20px;}
  .card-programa {min-width: 90vw; max-width: 460px;}
  .programa-card-img img {height: 160px;}
}


/* Quienes somos */

/* Contacto */

.page-id-41 iframe.map-i{
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100% !important;
  width: 668px !important;
  height: 342px !important;
  border: 0 !important;
  box-sizing: border-box !important;
  display:none;
}


.generico-container {
  max-width: 1000px !important;    
  margin: 0 auto !important;       
  padding: 0 20px !important;       
  box-sizing: border-box !important;
  padding-bottom: 50px !important;
  min-height: 78.5vh;
}

.generico-container .custom-h7 {
  padding-top: 50px;
  font-weight: 700;
  font-size: 50px;
  text-align: center !important;
  margin: inherit;
  padding-bottom: 40px;
}

.wp-container-core-group-is-layout-76a81b31 {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-left: 30px !important;
}

.page-id-41 .wp-block-buttons {
  box-sizing: border-box;
}

.page-id-41 .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background-color: #01A499;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color .2s, transform .1s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  min-width: 250px;
}

.page-id-41 .wp-block-button__link:hover {
  background-color: #018c7e;
}
.page-id-41 .wp-block-button__link:active {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Contenido multimedia general */

@media (max-width: 768px) {
  .main-nav {
    > a {
      display: grid;
      margin-left: 45px;
    }
  }

  .generico-container {
    max-width: 1000px;
    margin: 0 auto 80px;
    padding: 50px 20px;
    box-sizing: border-box;
    min-height: 70vh;
  }

  .documentos-container {
    max-width: 1000px;
    margin: 0 0 0;
    padding: 50px 20px;
    box-sizing: border-box;
    min-height: 70vh;
  }

  .footer_img_1 {
    height: 210px;
    width: 100%;
  }
  
  .footer_img_2 {
    height: 150px;
    width: 100%;
  }
  .footer_img_3 {
    height: 100px;
    width: 100%;
  }

  .bloque_texto_imagen{
    flex-direction: column;
  }

}

@media (max-width: 1024px) {

  .subtitulo-index {
    font-size: 20px !important;
  }

  .parrafo-index{
    font-size: 18px !important;
  }

  .section-presentacion{
    flex-wrap: nowrap;
  }

  .section-ubicacion{
    flex-wrap: nowrap;
    padding-bottom: 120px;
  }

  p.descripcion-servicios{
    font-size: 1.2rem;
  }

  .contenedor-logos{
    padding-bottom: 30px;
    
  }

  br.parrafo-index{
    font-size:18px;
  }
}

@media (max-width: 600px) {
  .contenedor-logos img {
    max-width: 1000px;
    padding-top: 20px;
    text-align: center;
    width: 100%;
    justify-content: center !important;
    min-height: 100%;
  }

  .section-presentacion {
    flex-wrap: wrap;
  }

  .menu-btn{
    margin-right: 35px;
  }

  .main-nav {
    > a {
        display: grid;
        margin-left: 20px;
    }
  }

  .main-nav {
    ul {
      padding-right: 0px
    }
  }
  
  /* Sección index */

    /* Probando */ 
  .hero-sep2 {
    display: block;
    width: 50vh;
    border-top: 2px solid #d4d4d4;
    margin: 0.5em auto;
  }

  .hero-sep {
    display: block;
    width: 50vh;
    border-top: 2px solid #333;
    margin: 0.5em auto;
  }

  p.descripcion-servicios {
    font-size: 20px !important;
  }
  
  .titulo-servicios {
    font-size: 35px !important;
  }
  
  .contenedor-servicios {
    flex-direction: column;
    align-items: center;
  }
  
  .servicio-item {
    max-width: 670px;
  }
  
  p {
    font-size: 20px;
  }
  
  .servicio-item h3 {
    font-size: 25.2px;
  }
  
  .section-ubicacion {
    flex-wrap: wrap !important;
    flex-direction: column;
    align-items: center;
  }
  
  .contenedor-mapa iframe {
    width: 670px;
  }

  .info-contacto h2 {
    font-size: 48px;
  }
  
  .info-contacto p{
    max-width: 600px;
    font-size: 20px !important;
  }
  
  .info-contacto {
    max-width: 670px;
    font-size: 16px;
    color: #333;
  }
  
  .subtitulo-index {
    font-size: 25px !important;
  }
  
  .parrafo-index{
    font-size: 20px !important;
  }

  body .is-layout-flex {
    display: flex;
    flex-direction: column;
  }

  .wp-container-core-group-is-layout-76a81b31 {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-left: 0px !important;
  }



}
body {
  font-family: "Nunito sans", sans-serif;
  margin: 0;
  background-repeat: no-repeat;
  display: grid;
  min-height: 100dvh;
  grid-template-columns: 1fr;
  grid-template-rows: min-content 1fr min-content;
  grid-auto-rows: min-content;
  overflow-x: hidden;
}

h1 {
  font-size: 3.2rem; /* 51.2px */
}

h2 {
  font-size: 2.7rem; /* 43.2px */
}

h3 {
  font-size: 2.2rem; /* 35.2px */
}

h4 {
  font-size: 2rem; /* 32px */
}

h5 {
  font-size: 1.7rem; /* 27.2px */
}

h6 {
  font-size: 1.5rem; /* 24px */
}

p {
  font-size: 1.35rem; /* 21.6px */
}
strong {
  font-family: "Nunito sans", sans-serif;
}
a {
  font-size: 1.35rem; /* 21.6px */
  font-family: "Nunito sans", sans-serif;
  font-weight: bold;
  text-decoration: none;
}
a:hover {
  cursor: pointer;
}
button:hover {
  cursor: pointer;
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem; /* 40px */
  }

  h2 {
    font-size: 2.2rem; /* 35.2px */
  }

  h3 {
    font-size: 1.8rem; /* 28.8px */
  }

  h4 {
    font-size: 1.6rem; /* 25.6px */
  }

  h5 {
    font-size: 1.5rem; /* 24px */
  }

  h6 {
    font-size: 1.4rem; /* 22.4px */
  }

  p {
    font-size: 1.2rem; /* 19.2px */
  }
  a {
    font-size: 1.2rem; /* 19.2px */
  }
}
/*TODO: EVALUAR SI DEJAR LAS FUENTES EN EL MEDIA QUERY */
li {
  list-style: none;
}

/* ================================================================ */
/* ================================================================ */
/*                 ESTILOS PARA ACORDEÓN DESPLIEGUE               */
/* ================================================================ */

/* Contenedor principal - SIN BORDES NI CUADRADOS */
.despliegue-container {
    margin: 20px 0;
    width: 100%;
    max-width: 1200px;
    padding: 0 100px 0 0;
    box-sizing: border-box;
}

/* Cada item del acordeón */
.despliegue-summary {
    border-bottom: 1px solid #ccc;
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
}

/* Título del acordeón */
.despliegue-summary h3 {
    font-size: 1.3rem;
    font-weight: normal;
    margin: 0;
    padding: 15px 0;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
    color: #E77500;
    border: none;
    background: none;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

/* Color del título al hacer hover */
.despliegue-summary h3:hover {
    color: #00A499;
}

/* Color del título cuando está activo */
.despliegue-summary.activo h3 {
    color: #00A499;
}

/* Contenedor del contenido */
.default-contenido {
    width: 100%;
    max-width: 100%;
}

/* Contenido del acordeón */
.default-despliegue-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0;
    background-color: transparent;
    border: none;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    font-family: inherit;
    box-sizing: border-box;
}

/* Contenido cuando está abierto */
.default-despliegue-text.abierto {
    max-height: 2000px;
    padding: 10px 0 20px 0;
}

/* CORRECCIÓN: Resetear márgenes de bloques de WordPress */
.default-despliegue-text .wp-block-heading,
.default-despliegue-text .wp-block-paragraph,
.default-despliegue-text .wp-block-list,
.default-despliegue-text .wp-block-image {
    margin-top: 0;
    margin-bottom: 15px;
}

.default-despliegue-text .wp-block-heading:first-child,
.default-despliegue-text .wp-block-paragraph:first-child {
    margin-top: 0;
}

.default-despliegue-text .wp-block-heading:last-child,
.default-despliegue-text .wp-block-paragraph:last-child {
    margin-bottom: 0;
}

/* Párrafos dentro del contenido */
.default-despliegue-text p {
    margin: 0 0 15px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

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

/* ===== ESTILOS PARA FORMATO DE TEXTO ===== */

/* Negritas */
.default-despliegue-text strong,
.default-despliegue-text b {
    font-weight: bold;
    color: inherit;
}

/* Cursiva */
.default-despliegue-text em,
.default-despliegue-text i {
    font-style: italic;
}

/* Subrayado */
.default-despliegue-text u {
    text-decoration: underline;
}

/* Títulos h2, h3, h4 dentro del contenido */
.default-despliegue-text h2 {
    font-size: 2rem;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #333;
    line-height: 1.3;
}

.default-despliegue-text h3 {
    font-size: 1.6rem;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #333;
    line-height: 1.3;
}

.default-despliegue-text h4 {
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #333;
    line-height: 1.3;
}

.default-despliegue-text h5 {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #333;
    line-height: 1.3;
}

.default-despliegue-text h6 {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0 0 8px 0;
    color: #333;
    line-height: 1.3;
}

/* Si hay un título seguido de párrafo, separación adecuada */
.default-despliegue-text h2 + p,
.default-despliegue-text h3 + p,
.default-despliegue-text h4 + p {
    margin-top: 10px;
}

/* Enlaces */
.default-despliegue-text a {
    color: #00A499;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.default-despliegue-text a:hover {
    color: #008c82;
}

/* Listas numeradas */
.default-despliegue-text ol {
    margin: 0 0 15px 20px;
    padding-left: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    list-style-type: decimal;
}

/* Listas con viñetas */
.default-despliegue-text ul {
    margin: 0 0 15px 20px;
    padding-left: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    list-style-type: disc;
}

.default-despliegue-text li {
    margin-bottom: 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.6;
}

/* Negritas dentro de listas */
.default-despliegue-text li strong,
.default-despliegue-text li b {
    font-weight: bold;
}

/* Citas */
.default-despliegue-text blockquote {
    margin: 15px 0;
    padding: 10px 20px;
    border-left: 4px solid #00A499;
    background-color: #f5f5f5;
    font-style: italic;
}

/* Código inline */
.default-despliegue-text code {
    background-color: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

/* Bloques de código */
.default-despliegue-text pre {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 15px 0;
}

.default-despliegue-text pre code {
    background: none;
    padding: 0;
}

/* Líneas horizontales */
.default-despliegue-text hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 20px 0;
}

/* Tablas */
.default-despliegue-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.default-despliegue-text table th,
.default-despliegue-text table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.default-despliegue-text table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

/* Imágenes */
.default-despliegue-text img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .despliegue-container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .despliegue-summary h3 {
        font-size: 1.1rem;
        padding: 12px 0;
    }
    
    .default-despliegue-text {
        font-size: 0.9rem;
    }
    
    .default-despliegue-text h2 {
        font-size: 1.6rem;
    }
    
    .default-despliegue-text h3 {
        font-size: 1.3rem;
    }
    
    .default-despliegue-text h4 {
        font-size: 1.1rem;
    }
    
    .default-despliegue-text h5 {
        font-size: 1rem;
    }
    
    .default-despliegue-text h6 {
        font-size: 0.95rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .despliegue-container {
        padding: 0 30px;
        max-width: 900px;
    }
}

/* ===== ESTILOS PARA CARDS DE ESTUDIANTES ===== */
.estudiante-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

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

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

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

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

.estudiante-info {
    padding: 20px;
}

.estudiante-info h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.estudiante-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.estudiante-categorias {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.categoria-tag {
    background: #00A499;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive para cards de estudiantes */
@media (max-width: 768px) {
    .estudiante-card {
        margin-bottom: 15px;
    }
    
    .estudiante-imagen {
        height: 150px;
    }
    
    .estudiante-info {
        padding: 15px;
    }
    
    .estudiante-info h3 {
        font-size: 1.2rem;
    }
}


/* ==========================================================================
   AJUSTE DE TÍTULOS (H2, H3) EN CONTACTO Y CUERPO DE NOTICIAS
   ========================================================================== */
.noticia-cuerpo h2 {
    font-size: 1.8rem !important; /* Tamaño mucho más equilibrado, no compite con el H1 */
    line-height: 1.3;
    margin-top: 30px;
    margin-bottom: 15px;
}

.noticia-cuerpo h3 {
    font-size: 1.5rem !important;
    line-height: 1.3;
    margin-top: 25px;
    margin-bottom: 15px;
}

.noticia-cuerpo h4 {
    font-size: 1.25rem !important;
    line-height: 1.3;
}

/* ==========================================================================
   ESTILOS MEJORADOS PARA TÍTULOS EN CONTACTO (Híbrido)
   ========================================================================== */

/* Aseguramos que el contenido herede la fuente base correcta */
.noticia-contenedor .entry-content {
    font-size: 1rem;
    line-height: 1.6;
    color: black;
}

/* Estilo para los H2 dentro del editor (Ej: "Dirección", "Teléfonos") */
.noticia-contenedor .entry-content h2 {
    font-size: 2rem !important; /* Tamaño exacto de programas */
    color: var(--main-green-color, #01a499) !important; /* Verde institucional */
    font-weight: 800 !important;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--main-lighter-green-color, #f2fbfa); /* Línea decorativa muy sutil */
}

/* Estilo para los H3 dentro del editor (Subtítulos más pequeños) */
.noticia-contenedor .entry-content h3 {
    font-size: 1.4rem !important; /* Tamaño exacto de programas */
    color: var(--main-orange-color, #e37604) !important; /* Naranja institucional para contrastar */
    font-weight: 700 !important;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Estilo para los H4 dentro del editor */
.noticia-contenedor .entry-content h4 {
    font-size: 1.15rem !important;
    color: var(--main-darker-green-color, #304f55) !important;
    font-weight: 700 !important;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Pequeño ajuste a los párrafos para que respiren mejor */
.noticia-contenedor .entry-content p {
    margin-bottom: 15px;
}
/* ==========================================================================
   AJUSTE DE ANCHO PARA CONTACTO Y VÍNCULOS
   ========================================================================== */
/* Expandimos el contenedor padre */
.container.contenedor-extendido {
    max-width: 1800px !important; 
    width: 95%; 
}

/* Le damos aire al texto por dentro de la caja blanca */
.contenedor-extendido .noticia-contenedor {
    padding: 50px 3%; 
}

/* En celulares volvemos a las proporciones normales */
@media (max-width: 768px) {
    .contenedor-extendido .noticia-contenedor {
        padding: 30px 20px; 
    }
}

/* ==========================================================================
   IGUALAR TAMAÑO DE PÁRRAFOS Y LISTAS (GUIONES) EN CONTACTO Y VÍNCULOS
   ========================================================================== */
.noticia-contenedor .entry-content p,
.noticia-contenedor .entry-content ul li,
.noticia-contenedor .entry-content ol li {
    font-size: 1.25rem !important; /* Tamaño unificado para párrafos y guiones */
    line-height: 1.6;
    color: var(--main-dark-grey-color, #394049) !important;
}

/* Darle una sangría elegante a los guiones/viñetas */
.noticia-contenedor .entry-content ul,
.noticia-contenedor .entry-content ol {
    margin-left: 25px; /* Empuja la lista un poco a la derecha */
    margin-bottom: 20px;
}

/* Espaciado entre cada guión de la lista */
.noticia-contenedor .entry-content li {
    margin-bottom: 12px;
    list-style-type: disc; /* Asegura que salgan los puntitos/guiones */
}

/* Espaciado de los párrafos */
.noticia-contenedor .entry-content p {
    margin-bottom: 15px;
}


/* ==========================================================================
   RESPONSIVE FIXES — Pantallas viejas / chicas / zoom alto (Chrome <90, Win 8/10 con zoom)
   El breakpoint mobile pasa de 768px a 600px: más viewports ven el menú horizontal.
   Tier intermedio (601px - 1100px): items del menú más compactos para que quepan.
   ========================================================================== */

/* Tier intermedio: menú horizontal compacto */
@media (min-width: 601px) and (max-width: 1100px) {
    .main-nav {
        min-height: 100px;
        border-bottom-left-radius: 60px;
        border-bottom-right-radius: 60px;
    }
    .main-nav > a { margin-left: 24px; }
    .main-nav img { height: 60px; }
    .main-nav ul { padding-right: clamp(24px, 4vw, 48px); }
    .main-nav li a {
        padding: 12px 10px;
        font-size: 15px;
        line-height: 1.2;
    }
}

/* Forzar layout horizontal hasta 600px (antes era 768px) — más permisivo con desktop */
@media (min-width: 601px) {
    .main-nav {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }
    .main-nav > a.logo {
        flex: 0 0 auto;
    }
    .main-nav > .menu-superior-class,
    .main-nav > div:not(.logo) {
        flex: 1 1 auto;
        display: flex !important;
        justify-content: flex-end;
        align-items: center;
        margin: 0;
        padding: 0;
    }
    .main-nav > .menu-superior-class > ul,
    .main-nav > div:not(.logo) > ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 0 clamp(40px, 5vw, 96px) 0 0;
        gap: 4px;
    }
    .main-nav > .menu-superior-class > ul > li,
    .main-nav > div:not(.logo) > ul > li {
        width: auto;
    }
    .menu-btn { display: none !important; }
}

/* Mobile real: menú colapsado con hamburger */
@media (max-width: 600px) {
    .main-nav {
        display: flex;
        flex-wrap: wrap;
        min-height: auto;
        border-radius: 0;
        margin-bottom: 0;
    }
    .main-nav > a { margin-left: 16px; }
    .main-nav img { height: 50px; min-width: auto; width: auto; }
    .main-nav > div {
        display: none;
        flex-direction: column;
        flex-basis: 100%;
        margin: 0;
        background-color: var(--main-green-color, #01a499);
    }
    .main-nav ul {
        flex-direction: column;
        padding: 0;
        width: 100%;
    }
    .main-nav li { width: 100%; text-align: center; }
    .main-nav li a { padding: 14px 20px; font-size: 16px; }
    .menu-btn {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        color: white;
        background: transparent;
        cursor: pointer;
        border: none;
        padding: 8px 16px;
        margin-right: 10px;
    }
    .menu-btn i { font-size: 1.4rem; }
    .menu-btn p { font-size: 0.9rem; margin: 0; }
}

/* ==========================================================================
   POLISH ESTÉTICO — Mejoras finas manteniendo colores y tipografía base.
   Foco: cards de noticias, spacing, hover, claridad visual.
   ========================================================================== */

/* [REVERTIDO] Polish de cards de noticias y "VER MÁS": el cliente prefiere el
   diseño original del tema sin overrides en .section-noticias / .boton-noticia. */

/* Indicadores: cards limpias con sombra muy ligera, look académico */
.section-indicadores .indicador-box {
    padding: 24px 32px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(48, 79, 85, 0.06), 0 1px 2px rgba(48, 79, 85, 0.04);
    transition: box-shadow 0.2s ease;
    min-width: 160px;
}
.section-indicadores .indicador-box:hover {
    box-shadow: 0 4px 12px rgba(48, 79, 85, 0.10), 0 2px 4px rgba(48, 79, 85, 0.05);
}

/* Títulos de sección: mejor jerarquía */
.noti-title {
    margin-top: 0;
    margin-bottom: 28px;
}

/* Accesibilidad: focus visible */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--main-orange-color, #e37604);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Logo header: que no se desborde nunca */
.main-nav .logo img,
.main-nav > a img {
    max-width: 100%;
    object-fit: contain;
}

/* ==========================================================================
   POLISH VISUAL GLOBAL — Normaliza color/peso/jerarquía SIN tocar tipografía
   ni paleta institucional. Usa exclusivamente las variables ya definidas en :root.
   ========================================================================== */

/* Texto base: gris institucional en vez del negro default del browser */
body {
    color: var(--main-dark-grey-color, #394049);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Jerarquía de headings: consistente con paleta institucional */
h1, h2, h3, h4, h5, h6 {
    color: var(--main-darker-green-color, #304f55);
    font-weight: 800;
    line-height: 1.25;
}

/* Párrafos: ritmo vertical consistente */
p {
    color: inherit;
    line-height: 1.65;
}

/* Enlaces: color verde institucional + subrayado en hover */
.main-content a:not(.btn):not(.button):not([class*="card"]):not(.equipo-contacto a):not(.acordeon-area__summary),
.section-noticias a:not([class*="card"]),
.noticia-card-enlace,
.boton-noticia a,
.boton-agenda a {
    color: var(--main-green-color, #01a499);
    text-decoration: none;
    transition: color .2s ease;
}

.main-content a:not(.btn):not(.button):not([class*="card"]):not(.equipo-contacto a):hover,
.noticia-card-enlace:hover {
    color: var(--main-darker-green-color, #304f55);
}

/* Botones "VER MÁS" del home y archivos: estilo consistente */
.boton-noticia a,
.boton-agenda a,
.noticia-card-enlace,
.info-main-noticia a,
.info-sec-noticia a {
    display: inline-block;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* [REVERTIDO] Tipografía custom de cards de noticias en home: el cliente
   mantiene el diseño tipográfico original de .section-bajada/.section-date. */

/* [LIMPIEZA B9.6] Bloque .agenda-event-card eliminado de aquí.
   Estaba duplicado y pisado por agenda.css que gana por orden de carga.
   Las reglas vivas viven ahora SOLO en css/agenda.css:453-468. */

/* Sección titulos institucionales: jerarquía visible */
.seccion-titulo {
    color: var(--main-darker-green-color, #304f55);
    font-weight: 800;
    font-size: clamp(1.6rem, 3.2vw, 2.3rem);
    letter-spacing: -0.2px;
    margin: 0 0 12px 0;
}

.seccion-separador {
    width: 70px;
    height: 4px;
    background: var(--main-orange-color, #e37604);
    border-radius: 2px;
    margin: 0 auto 32px auto;
}

/* Indicadores tipografía (BATCH 11) — números gigantes naranja + labels uniformes */
.section-indicadores .indicador-box h3 {
    color: var(--main-orange-color, #e37604) !important;
    font-size: clamp(2.75rem, 5.5vw, 4.25rem) !important;
    font-weight: 900 !important;
    margin: 0 !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
}

.section-indicadores .indicador-box p {
    color: var(--main-darker-green-color, #304f55) !important;
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.08em !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    text-transform: uppercase !important;
    min-height: 2.7em !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    max-width: 14ch !important;
}

/* Footer: tipografía y contraste sobre fondo verde institucional original */
.main-footer {
    background-color: var(--main-green-color, #01a499) !important;
    color: #ffffff;
}
.main-footer .footer-col__title {
    color: #ffffff;
    font-weight: 800;
}
.main-footer .footer-text {
    color: rgba(255, 255, 255, 0.92);
}
.main-footer .footer-text em {
    color: rgba(255, 255, 255, 0.65);
    font-style: italic;
}
.main-footer .footer-text strong { color: #ffffff; }

/* Scroll suave entre anclas */
html { scroll-behavior: smooth; }

/* Selección de texto: institucional */
::selection {
    background: var(--main-light-green-color, #49beb6);
    color: #ffffff;
}

/* ==========================================================================
   AUDIT A11Y — Grupo A: hallazgos críticos y P1/P2 (solo CSS)
   Reporte Claude for Chrome — 2026-05-28. Aplicado al final del style.css
   para máxima specificity sin refactor. Cada bloque referencia el finding.
   ========================================================================== */

/* === A1 + A2: REVERTIDOS por preferencia de identidad visual del cliente.
   Mantener naranja original (#e37604) en fechas/emails y verde original
   (#01a499) en títulos de cards de noticias. Quedan documentados como
   riesgo de contraste WCAG AA para iteraciones futuras. ================ */

/* === A3. Footer: enlaces blancos con subrayado (matar azul #0000EE) ==== */
.main-footer a,
.main-footer a:visited {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.main-footer a:hover,
.main-footer a:focus-visible {
    color: var(--main-light-green-color);
}

.main-footer .social-icon,
.main-footer .social-icon:hover {
    text-decoration: none;
}

/* Enlaces de contenido en pages institucionales */
.entry-content a,
.noticia-cuerpo a,
.page-content a:not(.noticia-card-enlace):not(.boton-ver-mas):not([class*="boton"]) {
    color: var(--main-green-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.entry-content a:hover,
.noticia-cuerpo a:hover {
    color: var(--main-darker-green-color);
}

/* === A4. text-align: justify → left en cuerpo de texto (legibilidad) ==== */
.entry-content,
.entry-content p,
.noticia-cuerpo,
.noticia-cuerpo p,
.page-content p,
.equipo-info,
.main-footer .footer-text {
    text-align: left;
}

/* === A5. prefers-reduced-motion completo (cubre carrusel infinito) ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .logos-slide,
    [class*="logos-slide"] {
        animation: none !important;
        transform: none !important;
    }
}

/* === A6. Targets táctiles ≥44px (WCAG 2.5.5) ========================== */

/* Banner dots: núcleo visible + hit-area ampliada via ::before */
.banner-dot,
[class*="banner-dot"] {
    position: relative;
}
.banner-dot::before,
[class*="banner-dot"]::before {
    content: "";
    position: absolute;
    inset: -14px;
}

/* Iconos sociales del footer */
.main-footer .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

/* [REVERTIDO] min-height 44px en CTAs de noticias/agenda: el cliente mantiene
   el diseño original (los botones del tema base ya tienen su tamaño). */

/* === A7. CTA filled unificado + tokens de duración =================== */
:root {
    --t-hover: .25s;
    --t-reveal: .45s;
}

/* Tokens de transición consistentes en cards (sin cards de noticias) */
.equipo-member,
.indicador-box {
    transition: transform var(--t-hover) ease,
                box-shadow var(--t-hover) ease,
                border-color var(--t-hover) ease;
}

/* [REVERTIDO] CTA filled unificado en .boton-noticia/.boton-agenda/.noticia-card-enlace:
   el cliente prefiere el diseño original del tema (outline verde institucional con
   color de texto del tema base). */

/* [REVERTIDO] aspect-ratio + object-fit en .noticia-card-imagen / .img-main-noticia /
   .img-sec-noticia: el cliente mantiene el diseño original del tema base. */

/* ==========================================================================
   AUDIT A11Y — Grupo B: utilidades para mejoras de templates PHP
   - .sr-only: contenido para lectores de pantalla solamente (visualmente oculto)
   - .skip-link: enlace de navegación rápida al contenido principal
   - .acordeon-area__title como h2: estilo neutralizado para mantener look
   - .footer-col__title como <p>: peso y tamaño consistentes
   ========================================================================== */

/* sr-only: visualmente oculto pero accesible para lectores de pantalla.
   Patrón estándar de Bootstrap/Tailwind. NO usar display:none ni hidden. */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Skip link: invisible hasta recibir foco con Tab desde el inicio de la página */
.skip-link {
    position: absolute;
    top: -100px;
    left: 8px;
    background: var(--main-darker-green-color);
    color: #ffffff;
    padding: 10px 18px;
    font-weight: 700;
    text-decoration: none;
    z-index: 9999;
    border-radius: 0 0 8px 8px;
    transition: top .2s ease;
}
.skip-link:focus-visible,
.skip-link:focus {
    top: 0;
    outline: 3px solid var(--main-orange-color);
    outline-offset: 2px;
}

/* Footer: los títulos de columna ahora son <p> en vez de <h4>. Mantener look. */
.main-footer .footer-col__title {
    margin: 0 0 6px 0;
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.3;
    color: #ffffff;
}


/* [LIMPIEZA B10.2] Bloque BATCH 2 de .section-indicadores eliminado.
   Estaba duplicado con BATCH 7 (líneas 11195+) que ya tiene !important.
   El margin-top negativo (para pegar al banner) se MIGRA al bloque BATCH 7. */

/* ==========================================================================
   BATCH 3 — Logos slider (.logos-slide) en grayscale + color en hover
   Look 2026: logos sutiles por defecto, recuperan color al pasar el mouse.
   Override que aplica a ambas duplicaciones (líneas 2094-2109 y 6049-6064).
   ========================================================================== */
.logos-slide img {
    filter: grayscale(100%);
    opacity: 0.65;
    transition: filter 0.35s ease, opacity 0.35s ease;
}

.logos-slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .logos-slide img {
        transition: none;
    }
}

/* ==========================================================================
   BATCH 4 — TOKENS UNIFICADOS DE BOTONES CTA SECTION-LEVEL
   Antes: cada sección tenía su botón con tamaños/paddings distintos
   ("VER MÁS NOTICIAS" padding 6px 12px, "VER MÁS AGENDA" padding 15px 35px,
   "VER TODA LA GALERÍA" padding 6px 12px). Jerarquía inconsistente.
   Ahora: TODOS los CTA primarios del home tienen el mismo tamaño y estilo.
   Override al final + !important para ganar a galeria-fix.css y nesting CSS.
   ========================================================================== */
.boton-noticia a,
.boton-agenda a,
.boton-galeria,
.section-galeria > div > a,
.section-destacados > div > a {
    display: inline-block !important;
    padding: 16px 40px !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    border-radius: 8px !important;
    background-color: var(--main-green-color, #01a499) !important;
    color: #ffffff !important;
    border: 2px solid var(--main-green-color, #01a499) !important;
    text-decoration: none !important;
    min-width: 260px !important;
    text-align: center !important;
    line-height: 1.3 !important;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
    cursor: pointer !important;
}

/* Hover: ELEVATED (bg darker-green + color blanco siempre) — mantiene contraste
   incluso si el botón está sobre la semiesfera lighter-green de fondo */
.boton-noticia a:hover,
.boton-agenda a:hover,
.boton-galeria:hover,
.section-galeria > div > a:hover,
.section-destacados > div > a:hover {
    background-color: var(--main-darker-green-color, #304f55) !important;
    color: #ffffff !important;
    border-color: var(--main-darker-green-color, #304f55) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(48, 79, 85, 0.25) !important;
}

.boton-noticia a:focus-visible,
.boton-agenda a:focus-visible,
.boton-galeria:focus-visible,
.section-galeria > div > a:focus-visible,
.section-destacados > div > a:focus-visible {
    outline: 2px solid var(--main-green-color, #01a499) !important;
    outline-offset: 3px !important;
}

@media (prefers-reduced-motion: reduce) {
    .boton-noticia a,
    .boton-agenda a,
    .boton-galeria,
    .section-galeria > div > a,
    .section-destacados > div > a {
        transition: none !important;
        transform: none !important;
    }
    .boton-noticia a:hover,
    .boton-agenda a:hover,
    .boton-galeria:hover,
    .section-galeria > div > a:hover,
    .section-destacados > div > a:hover {
        transform: none !important;
    }
}

/* ==========================================================================
   BATCH 5 (REVERTIDO) — pulidos mínimos en cards de galería/destacados
   ========================================================================== */
.card-galeria,
.card-destacado {
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.card-galeria:hover,
.card-destacado:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 18px rgba(1, 164, 153, 0.15), 0 2px 6px rgba(1, 164, 153, 0.08) !important;
}

@media (prefers-reduced-motion: reduce) {
    .card-galeria,
    .card-destacado {
        transition: none !important;
    }
    .card-galeria:hover,
    .card-destacado:hover {
        transform: none !important;
    }
}

/* ==========================================================================
   BATCH 6 — SISTEMA VISUAL COHERENTE DEL HOME
   1. Unificación de tipografía de h2 de sección (tamaño, color, alineación)
   2. Background system alternado (blanco / lighter-green sutil)
   3. Elementos decorativos orgánicos (arco, blob, onda, esfera)
   4. Fix overflow de la semiesfera rota de Noticias
   ========================================================================== */

/* === 1. PADDING LATERAL UNIFICADO + TIPOGRAFÍA H2 ======================== */
/* Padding lateral consistente en todas las secciones del home */
.section-noticias,
.section-agenda,
.section-galeria,
.section-contactanos {
    padding-left: clamp(16px, 7vw, 96px) !important;
    padding-right: clamp(16px, 7vw, 96px) !important;
}

/* [eliminada — la regla se aplica más abajo en el bloque BATCH 6 que pisa con padding: 0] */

/* Headers de sección: sin margin/padding lateral propios (el section padre ya lo da) */
.section-noticias > header,
.section-agenda > header,
.section-galeria > header,
.section-contactanos > header {
    margin: 0 0 28px 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

/* Noticias y Agenda: padding-left extra para alinear con título de Galería
   (que tiene padding adicional del galeria-fix.css). Aplicado DESPUÉS del
   `padding: 0` para que gane por orden de cascade. */
.section-noticias > header,
.section-agenda > header {
    padding-left: clamp(0px, 2.7vw, 38px) !important;
}

/* H2 de sección: tipografía unificada (sin acento naranja, sin uppercase) */
.section-noticias > header > .noti-title,
.section-agenda > header > .noti-title,
.section-galeria > header > h2,
.section-galeria > header > .noti-title,
.section-contactanos > header > .noti-title,
.section-contactanos > header > .contactanos-title {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem) !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    color: var(--main-darker-green-color, #304f55) !important;
    letter-spacing: -0.5px !important;
    text-align: left !important;
    text-transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Subtítulo de Contáctanos: misma alineación left que el título */
.section-contactanos .contactanos-subtitle {
    text-align: left !important;
    color: var(--main-grey-color, #5e6269) !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* === 2. BACKGROUND SYSTEM ALTERNADO ====================================== */
/* Agenda → tinte casi imperceptible (lighter-green 30%) */
.section-agenda {
    background: #fafdfd !important;
}

/* Destacados → lighter-green (rompe la repetición con Galería blanca) */
.section-destacados-home {
    background: var(--main-lighter-green-color, #f2fbfa) !important;
}

/* Contáctanos: bg blanco puro (ya viene de contacto.css limpio — no necesita !important) */

/* === 3. NOTICIAS: semiesfera original SIN overflow:hidden ================ */
/* Cliente reportó que overflow:hidden cortaba la semiesfera de forma rara
   (no llegaba al ancho completo, alargaba el div). La quitamos para que la
   semiesfera tenga el comportamiento ORIGINAL: ancho completo y aspect 11/4. */
.section-noticias {
    position: relative !important;
}

/* === 4. DESTACADOS: padding-top + padding-bottom generosos =============== */
/* Selector compuesto MÁS específico que galeria-fix.css para ganar el override */
.section-galeria.section-destacados-home,
.section-destacados-home {
    position: relative !important;
    overflow: hidden !important;
    padding-top: clamp(72px, 7vw, 112px) !important;
    padding-bottom: clamp(72px, 7vw, 112px) !important;
}

/* === 7. OCULTAR botón circular de accesibilidad ========================== */
/* Custom del tema */
.div-access {
    display: none !important;
}
/* Plugin accessibility-toolbar-v2 */
.a11y-floating-btn,
#a11y-toolbar-bar,
.a11y-toolbar-container {
    display: none !important;
    visibility: hidden !important;
}

/* === 5. CONTÁCTANOS: CENTRADO + sin esfera decorativa + menor distancia con
   sección de arriba (margin-top negativo anula parte del gap del .content) */
.section-contactanos {
    position: relative !important;
    overflow: hidden !important;
    padding-top: clamp(32px, 4vw, 56px) !important;
    padding-bottom: clamp(48px, 5vw, 72px) !important;
    margin-top: calc(-1 * clamp(24px, 4vw, 56px)) !important;
}

/* Header centrado (revierte el left-alignment del BATCH 6) */
.section-contactanos > header {
    text-align: center !important;
    margin: 0 auto 32px auto !important;
    padding: 0 !important;
}

.section-contactanos > header > .noti-title,
.section-contactanos > header > .contactanos-title {
    text-align: center !important;
}

.section-contactanos .contactanos-subtitle {
    text-align: center !important;
    color: var(--main-grey-color, #5e6269) !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Contenido (cards de contacto) centrado */
.section-contactanos .contactanos-container,
.section-contactanos .contacto-info {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* === 6. RESPONSIVE MOBILE ================================================ */
@media (max-width: 768px) {
    .section-noticias,
    .section-agenda,
    .section-galeria,
    .section-contactanos {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* ==========================================================================
   BATCH 11 — KPIs rediseñados desde cero:
   - Bg blanco neutro (no compite con el banner que cambiará)
   - Números NARANJA institucional gigantes (acento de marca)
   - Labels uniformes con height fijo (alineación perfecta independiente del wrap)
   - Sin separadores invisibles, sin cards: limpio y profesional
   - Margin-top negativo mantiene los KPIs pegados al banner
   ========================================================================== */
.section-indicadores {
    background: #ffffff !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0 !important;
    align-items: stretch !important;
    padding: clamp(56px, 6vw, 88px) clamp(16px, 5vw, 80px) !important;
    margin-top: calc(-1 * clamp(48px, 7vw, 80px)) !important;
    position: relative !important;
    z-index: 2 !important;
    border-bottom: 1px solid rgba(48, 79, 85, 0.08) !important;
}

.section-indicadores .indicador-box {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    border-left: 1px solid rgba(48, 79, 85, 0.10) !important;
    padding: 0 clamp(16px, 3vw, 40px) !important;
    min-width: 0 !important;
    max-width: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    gap: 6px !important;
}

.section-indicadores .indicador-box:first-child {
    border-left: none !important;
}

.section-indicadores .indicador-box:hover {
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Mobile: 2 columnas en tablet pequeño, 1 columna en mobile */
@media (max-width: 900px) {
    .section-indicadores {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: clamp(40px, 5vw, 64px) clamp(16px, 4vw, 40px) !important;
    }
    .section-indicadores .indicador-box:nth-child(3) {
        border-left: none !important;
    }
    .section-indicadores .indicador-box:nth-child(n+3) {
        border-top: 1px solid rgba(48, 79, 85, 0.10) !important;
        padding-top: 32px !important;
        margin-top: 32px !important;
    }
}

@media (max-width: 600px) {
    .section-indicadores {
        grid-template-columns: 1fr !important;
        padding: 32px 16px !important;
        margin-top: -48px !important;
    }
    .section-indicadores .indicador-box,
    .section-indicadores .indicador-box:first-child,
    .section-indicadores .indicador-box:nth-child(n+3) {
        border-left: none !important;
        border-top: 1px solid rgba(48, 79, 85, 0.08) !important;
        padding: 24px 0 !important;
        margin-top: 0 !important;
    }
    .section-indicadores .indicador-box:first-child {
        border-top: none !important;
        padding-top: 0 !important;
    }
}

/* ==========================================================================
   BATCH 12 — NOTICIAS: jerarquía tipográfica + padding 8pt grid
   Cambios solo TIPOGRÁFICOS e internos. NO toca:
   - border verde, border-radius, grid layout, hover, semiesfera
   ========================================================================== */

/* Padding interno unificado (múltiplos de 8) */
.section-noticias .info-main-noticia {
    padding: 24px !important;
}

.section-noticias .info-sec-noticia {
    padding: 20px !important;
}

/* Fecha (eyebrow): chica, uppercase, NARANJA institucional, tracking */
.section-noticias .info-main-noticia .section-date-noticia,
.section-noticias .info-sec-noticia .section-date-noticia-sec {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: var(--main-orange-color, #e37604) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    padding-bottom: 12px !important;
    line-height: 1.2 !important;
}

/* Título/bajada: grande, peso 700, gris oscuro */
.section-noticias .info-main-noticia .section-bajada-noticia,
.section-noticias .info-sec-noticia .section-bajada-noticia-sec {
    font-size: 1.375rem !important;
    font-weight: 700 !important;
    color: var(--main-darker-green-color, #304f55) !important;
    line-height: 1.3 !important;
    padding-bottom: 20px !important;
    letter-spacing: -0.01em !important;
}

/* Mobile: ajuste de tamaño del título para que no se vea exagerado */
@media (max-width: 768px) {
    .section-noticias .info-main-noticia .section-bajada-noticia,
    .section-noticias .info-sec-noticia .section-bajada-noticia-sec {
        font-size: 1.125rem !important;
    }
    .section-noticias .info-main-noticia {
        padding: 20px !important;
    }
    .section-noticias .info-sec-noticia {
        padding: 16px !important;
    }
}

/* [BATCH 13.4] Botones "VER MÁS" intra-card unificados:
   Main y secundarias del MISMO tamaño (consistencia).
   Menores que el botón global "VER MÁS NOTICIAS" (jerarquía correcta).
   Antes: main 14.4px / sec 18px → inconsistente, main parecía más chico */
.section-noticias .info-main-noticia a,
.section-noticias .info-sec-noticia a {
    font-size: 1.125rem !important;
    font-weight: 800 !important;
    padding: 8px 18px !important;
    letter-spacing: 0.5px !important;
    border-radius: 8px !important;
    border: 1px solid var(--main-green-color, #01a499) !important;
    color: var(--main-green-color, #01a499) !important;
    background-color: transparent !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
}

.section-noticias .info-main-noticia a:hover,
.section-noticias .info-sec-noticia a:hover {
    background-color: var(--main-green-color, #01a499) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   BATCH 15 — RESPONSIVE PROFESIONAL
   Estandarización de breakpoints + mejoras mobile/tablet
   ========================================================================== */

/* ===== TABLET (1024px-): KPIs 2 cols en vez de 4 ===== */
@media (max-width: 1024px) {
    .section-indicadores {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: clamp(40px, 5vw, 64px) clamp(16px, 4vw, 40px) !important;
    }
    .section-indicadores .indicador-box:nth-child(3) {
        border-left: none !important;
    }
    .section-indicadores .indicador-box:nth-child(n+3) {
        border-top: 1px solid rgba(48, 79, 85, 0.10) !important;
        padding-top: 32px !important;
        margin-top: 32px !important;
    }
}

/* ===== TABLET PEQUEÑO (768px-): Noticias 1 col, tipografía ajustada ===== */
@media (max-width: 768px) {
    /* Noticias: forzar 1 col (sin depender del minmax) */
    .cuerpo-noticias {
        grid-template-columns: 1fr !important;
    }

    /* Títulos H2 secciones: reducir para mobile */
    .section-noticias > header > .noti-title,
    .section-agenda > header > .noti-title,
    .section-galeria > header > h2,
    .section-galeria > header > .noti-title,
    .section-contactanos > header > .noti-title,
    .section-contactanos > header > .contactanos-title {
        font-size: clamp(1.5rem, 5vw, 2rem) !important;
    }

    /* KPI número: reducir en mobile */
    .section-indicadores .indicador-box h3 {
        font-size: clamp(2rem, 7vw, 2.75rem) !important;
    }
}

/* ===== MOBILE (600px-): KPIs 2x2, padding lateral mínimo, botones full-width ===== */
@media (max-width: 600px) {
    /* Padding lateral mobile mínimo */
    .section-noticias,
    .section-agenda,
    .section-galeria,
    .section-contactanos {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Header padding adicional mobile (matchea con galería) — sobreescribir el clamp del BATCH 13 */
    .section-noticias > header,
    .section-agenda > header {
        padding-left: 0 !important;
    }

    /* KPIs: 2x2 grid (no stack vertical — más compacto y útil) */
    .section-indicadores {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 40px 16px !important;
        gap: 0 !important;
    }
    .section-indicadores .indicador-box {
        border: none !important;
        padding: 16px 8px !important;
        margin-top: 0 !important;
        text-align: center !important;
    }
    /* Separadores: vertical entre col 1 y 2, horizontal entre fila 1 y 2 */
    .section-indicadores .indicador-box:nth-child(odd) {
        border-right: 1px solid rgba(48, 79, 85, 0.10) !important;
    }
    .section-indicadores .indicador-box:nth-child(n+3) {
        border-top: 1px solid rgba(48, 79, 85, 0.10) !important;
        padding-top: 24px !important;
        margin-top: 8px !important;
    }
    .section-indicadores .indicador-box:first-child {
        border-top: none !important;
        padding-top: 16px !important;
    }
    .section-indicadores .indicador-box:nth-child(2) {
        border-top: none !important;
        padding-top: 16px !important;
    }

    /* Botones primary CTA: full-width en mobile (mejor touch target) */
    .boton-noticia a,
    .boton-agenda a,
    .boton-galeria,
    .section-galeria > div > a,
    .section-destacados > div > a {
        width: 100% !important;
        max-width: 320px !important;
        min-width: 0 !important;
        padding: 14px 24px !important;
        font-size: 1rem !important;
    }
}

/* ==========================================================================
   BATCH 16 — CENTRADO Y CONSISTENCIA: Galería, Destacados, Contáctanos
   ========================================================================== */

/* === Galería y Destacados: centrar grid + cards uniformes === */
.section-galeria .galeria-grid,
.section-destacados-home .galeria-grid,
.section-destacados-home .destacados-grid {
    justify-content: center !important;
    align-items: stretch !important;
    place-items: center stretch !important;
}

.section-galeria .card-galeria,
.section-destacados-home .card-galeria,
.section-destacados-home .card-destacado {
    width: 100% !important;
    max-width: 380px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
}

/* Imagen dentro de la card centrada */
.section-galeria .card-galeria > div,
.section-destacados-home .card-galeria > div,
.section-destacados-home .card-destacado > div {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

.section-galeria .card-galeria img,
.section-destacados-home .card-galeria img,
.section-destacados-home .card-destacado img {
    display: block !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    height: auto !important;
}

/* Tablet: galería/destacados 2 cols centradas */
@media (max-width: 1024px) {
    .section-galeria .galeria-grid,
    .section-destacados-home .galeria-grid,
    .section-destacados-home .destacados-grid {
        grid-template-columns: repeat(2, minmax(0, 380px)) !important;
        justify-content: center !important;
    }
}

/* Mobile: 1 col centrada */
@media (max-width: 600px) {
    .section-galeria .galeria-grid,
    .section-destacados-home .galeria-grid,
    .section-destacados-home .destacados-grid {
        grid-template-columns: minmax(0, 380px) !important;
        justify-content: center !important;
        gap: 24px !important;
    }
}

/* === Contáctanos: alineación CONSISTENTE entre todas las cards === */
.section-contactanos .contacto-info {
    align-items: stretch !important;
    justify-items: stretch !important;
}

.section-contactanos .contacto-item {
    align-items: center !important;
    min-height: 110px !important;
    display: flex !important;
    text-align: left !important;
}

/* Icono siempre al centro vertical del card */
.section-contactanos .contacto-item i {
    align-self: center !important;
    flex-shrink: 0 !important;
}

/* Texto siempre al centro vertical del card */
.section-contactanos .contacto-content {
    align-self: center !important;
    flex: 1 !important;
}

.section-contactanos .contacto-content h4 {
    margin-top: 0 !important;
}

.section-contactanos .contacto-content p:last-child {
    margin-bottom: 0 !important;
}

/* Mobile: contacto cards stack 1 col centradas */
@media (max-width: 600px) {
    .section-contactanos .contacto-info {
        grid-template-columns: 1fr !important;
        max-width: 420px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}


/* ===== Footer: matchea breakpoint a 1024 (consistencia con resto) ===== */
@media (max-width: 1024px) and (min-width: 601px) {
    .main-footer .footer-container {
        grid-template-columns: 1fr 1fr !important;
        gap: 32px !important;
    }
    .main-footer .footer-col--info {
        grid-column: 1 / -1 !important;
        align-items: center !important;
        text-align: center !important;
    }
}


/* ==========================================================================
   [PAQUETE B] Nuevos estilos: B1, B2, B3, B5
   ========================================================================== */

/* --- B1: 5 indicadores en desktop, botón SIRMAI --- */

/* Sobreescribir grid de 4 a 5 columnas en desktop */
@media (min-width: 1025px) {
    .section-indicadores {
        grid-template-columns: repeat(5, 1fr) !important;
    }
    /* Con 5 ítems: el 3er y 5to ítem no tienen borde-left en columna nueva */
    .section-indicadores .indicador-box:nth-child(3) {
        border-left: 1px solid rgba(48, 79, 85, 0.10) !important;
    }
}

/* Tablet (900-1024px): mantener 3 cols para 5 ítems */
@media (max-width: 1024px) and (min-width: 901px) {
    .section-indicadores {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    /* Restaurar el separador del 3er item (la regla previa de 2 cols lo quitaba) */
    .section-indicadores .indicador-box:nth-child(3) {
        border-left: 1px solid rgba(48, 79, 85, 0.10) !important;
    }
    .section-indicadores .indicador-box:nth-child(4),
    .section-indicadores .indicador-box:nth-child(5) {
        border-top: 1px solid rgba(48, 79, 85, 0.10) !important;
        padding-top: 32px !important;
    }
    .section-indicadores .indicador-box:nth-child(4) {
        border-left: none !important;
    }
}

/* Botón indicadores (dentro de .section-indicadores: ocupa todo el ancho del grid) */
.section-indicadores .section-indicadores-btn {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 16px 0;
}

.section-indicadores-btn {
    text-align: center;
    padding: 24px 16px 8px;
}

.btn-indicadores-sirmai {
    display: inline-block;
    background-color: var(--main-orange-color, #e37604);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 6px;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-indicadores-sirmai:hover,
.btn-indicadores-sirmai:focus {
    background-color: #c46302;
    color: #ffffff;
    transform: translateY(-2px);
    outline-offset: 3px;
}

/* --- B3: Sección "Recursos de interés" --- */
.section-recursos {
    padding: clamp(40px, 5vw, 72px) clamp(16px, 5vw, 80px);
    background: var(--main-lighter-green-color, #f2fbfa);
}

.section-recursos header {
    margin-bottom: 32px;
}

.recursos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.recurso-card {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px 24px;
    background: #ffffff;
    border: 2px solid var(--main-green-color, #01a499);
    border-radius: 12px;
    color: var(--main-darker-green-color, #304f55);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(48, 79, 85, 0.06);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    min-height: 100px;
}

.recurso-card:hover,
.recurso-card:focus {
    background-color: var(--main-green-color, #01a499);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(1, 164, 153, 0.20);
}

@media (max-width: 768px) {
    .recursos-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}

/* --- B5: Dropdown submenu --- */
.menu-superior-class ul li {
    position: relative;
}

.menu-superior-class ul li ul.sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    /* Blindaje vs reglas legacy de .main-nav div ul (height/max-width 100%
       colapsaban el panel a la altura del li y bloqueaban max-content) */
    height: auto !important;
    max-height: none !important;
    width: max-content !important;
    max-width: 90vw !important;
    min-width: 280px;
    background: #ffffff;
    border: 1px solid #e8ebec;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(48, 79, 85, 0.16);
    list-style: none;
    padding: 8px;
    margin: 0;
    z-index: 1000;
}

/* Puente invisible para que el hover no se corte en el espacio entre nav y panel */
.menu-superior-class ul li ul.sub-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.menu-superior-class ul li ul.sub-menu li {
    width: 100%;
}

.menu-superior-class ul li ul.sub-menu li a {
    display: block;
    padding: 11px 16px;
    border-radius: 9px;
    color: var(--main-darker-green-color, #304f55);
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    border-left: 3px solid transparent;
    transition: background-color 0.15s ease, border-left-color 0.15s ease, color 0.15s ease;
}

.menu-superior-class ul li ul.sub-menu li a:hover,
.menu-superior-class ul li ul.sub-menu li a:focus {
    background-color: var(--main-lighter-green-color, #f2fbfa);
    border-left-color: var(--main-orange-color, #e37604);
    color: var(--main-darker-green-color, #304f55);
}

/* Mostrar submenu en hover / focus-within */
.menu-superior-class ul li:hover > ul.sub-menu,
.menu-superior-class ul li:focus-within > ul.sub-menu {
    display: block;
}

/* Caret en ítems padre con hijos */
.menu-superior-class ul li.menu-item-has-children > a::after {
    content: ' ▾';
    font-size: 0.75em;
    opacity: 0.8;
}

/* Mobile (≤600px): submenú estático e indentado */
@media (max-width: 600px) {
    .menu-superior-class ul li ul.sub-menu {
        display: block;
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: rgba(0, 0, 0, 0.15);
        padding: 0;
        min-width: auto;
        width: 100%;
    }

    .menu-superior-class ul li ul.sub-menu::before {
        display: none;
    }

    .menu-superior-class ul li ul.sub-menu li a {
        padding-left: 36px;
        font-size: 0.9rem;
        color: #ffffff;
        border-radius: 0;
    }
}
