/*
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;
  width: 100dvw;
  grid-template-columns: 1fr;
  grid-template-rows: min-content 1fr min-content;
  grid-auto-rows: min-content;
}

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;
  overflow: hidden;
  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%;
  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: grid;
    color: white;
    width: fit-content;
    background-color: transparent;
    cursor: pointer;
    place-self: center;
    border: none;
    text-align: left;
    & span {
      place-self: center;
      grid-column: 1;
      width: 30px;
      margin-right: 10px;
      border: 2px solid white;
    }
    & p {
      font-size: 1.5rem;
      grid-column: 2;
      grid-row: 1/4;
      padding-right: 20px;
    }
  }
}

/* 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
TODO: REVISAR EL GAP
*/
.content {
  display: grid;  
  gap: 100px;
}

.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(500px,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: -200px;
  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;
}

.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*/

.container-carousel {
  position: relative;
  width: 120%;
  height: 60dvh;
  overflow: hidden;
}

.carruseles {
  width: 1000%;
  height: 100%;
  display: flex;
  overflow: hidden;
}

/* Estilos Para el Slider del inicio*/

.slider-section {
  background-color: white;
  height: 100%;
  overflow: hidden;
  border-radius: 0px 0 5vw 5vw;
}

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

.btn-left,
.btn-right {
  position: absolute;
  top: 50%;
  font-size: 3rem;
  background-color: #3b3a3a85;
  border-radius: 5px;
  transform: translate(0, 100%);
  cursor: pointer;
  color: white;
  height: 50px;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 2px;
  transition: 0.5s ease;
  user-select: none;
}

.btn-left:hover,
.btn-right:hover {
  background-color: #333333ed;
  color: #fff;
}

.btn-left {
  left: 10px;
  padding-right: 2px;
}

.btn-right {
  right: 10px;
  padding-left: 2px;
}

@media (max-width: 768px) {
  .container-carousel{
    height: 30dvh;
  }
  .btn-left,
  .btn-right {
    transform: translate(0, -50%);
    font-size: 2rem;
    height: 30px;
    width: 30px;
  }

  .btn-left {
    padding-right: 0px;
  }

  .btn-right {
    padding-left: 0px;
  }
}

@keyframes slide {
  0%{
    transform: translateX(0);
  }100%{
    transform: translateX(calc(-100%));
  }
}
.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;
}

.noticia-card-enlace {
  display: inline-block;
  margin: 20px;
  padding: 8px 18px;
  background-color: var(--main-green-color);
  color: white;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.noticia-card-enlace:hover {
  background-color: var(--main-orange-color);
}


/* 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;
  }



}

/* ============================================================================ */
/* ESTILOS DEL MENÚ LATERAL DINÁMICO - Extraído exactamente de sidebar.php */
/* ============================================================================ */

.main-default {
    display: flex;
    flex-direction: row;
    gap: 20px;  /* MENOS ESPACIO ENTRE MENÚ Y CONTENIDO */
    padding: 20px;  /* PADDING GENERAL */
    max-width: 1100px;  /* CONTENEDOR MÁS PEQUEÑO */
    margin: 0 auto;
    align-items: flex-start;
    font-size: 1em;
}

/* ========================================= */
/* 📄 ESTILOS DEL CONTENIDO - CAMBIAR AQUÍ PARA MOVER EL CONTENIDO */
/* ========================================= */

.main-default section {
    flex: 1;  /* TOMA TODO EL ESPACIO RESTANTE */
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;  /* ANCHO MÁXIMO DEL CONTENIDO */
    margin: 0 auto;  /*  CENTRA EL CONTENIDO PERFECTAMENTE */
    padding: 0 30px;  /* ESPACIADO INTERNO DEL CONTENIDO */
    text-align: center;  /*  CENTRA EL TEXTO */
}

/* ========================================= */
/* 🔧 ESTILOS DEL MENÚ LATERAL - CAMBIAR AQUÍ PARA MOVER EL MENÚ */
/* ========================================= */

.main-default aside:not(:has(> ul:empty)) {
    width: 200px;  /*  ANCHO DEL MENÚ */
    min-width: 200px;  /*  ANCHO MÍNIMO IGUAL AL ANCHO */
    flex-shrink: 0;
    margin-right: 1px;  /* MENOS ESPACIO = MENÚ MÁS A LA IZQUIERDA */
}

/* Estilos visuales del menú lateral */
.main-default aside {
    background: white;  /* COLOR DE FONDO DEL MENÚ */
    border-radius: 4px;
    padding: 10px 0;
}

.main-default aside ul {
  margin: 0;
  padding: 0;
}

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

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;
}
.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;
  overflow: hidden;
  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%;
  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: grid;
    color: white;
    width: fit-content;
    background-color: transparent;
    cursor: pointer;
    place-self: center;
    border: none;
    text-align: left;
    & span {
      place-self: center;
      grid-column: 1;
      width: 30px;
      margin-right: 10px;
      border: 2px solid rgb(255, 255, 255);
    }
    & p {
      font-size: 1.5rem;
      grid-column: 2;
      grid-row: 1/4;
      padding-right: 20px;
    }
  }
}

/* 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
TODO: REVISAR EL GAP
*/
.content {
  display: grid;  
  gap: 100px;
}

.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(500px,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: -200px;
  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;
}

.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*/

.container-carousel {
  position: relative;
  width: 120%;
  height: 60dvh;
  overflow: hidden;
}

.carruseles {
  width: 1000%;
  height: 100%;
  display: flex;
  overflow: hidden;
}

/* Estilos Para el Slider del inicio*/

.slider-section {
  background-color: white;
  height: 100%;
  overflow: hidden;
  border-radius: 0px 0 5vw 5vw;
}

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

.btn-left,
.btn-right {
  position: absolute;
  top: 50%;
  font-size: 3rem;
  background-color: #3b3a3a85;
  border-radius: 5px;
  transform: translate(0, 100%);
  cursor: pointer;
  color: white;
  height: 50px;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 2px;
  transition: 0.5s ease;
  user-select: none;
}

.btn-left:hover,
.btn-right:hover {
  background-color: #333333ed;
  color: #fff;
}

.btn-left {
  left: 10px;
  padding-right: 2px;
}

.btn-right {
  right: 10px;
  padding-left: 2px;
}

@media (max-width: 768px) {
  .container-carousel{
    height: 30dvh;
  }
  .btn-left,
  .btn-right {
    transform: translate(0, -50%);
    font-size: 2rem;
    height: 30px;
    width: 30px;
  }

  .btn-left {
    padding-right: 0px;
  }

  .btn-right {
    padding-left: 0px;
  }
}

@keyframes slide {
  0%{
    transform: translateX(0);
  }100%{
    transform: translateX(calc(-100%));
  }
}
.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 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;
}

.noticia-card-enlace {
  display: inline-block;
  margin: 20px;
  padding: 8px 18px;
  background-color: var(--main-green-color);
  color: white;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.noticia-card-enlace:hover {
  background-color: var(--main-orange-color);
}


/* 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;
  }

}
/* ============================================================================ */
/* ESTILOS DEL MENÚ LATERAL DINÁMICO */
/* ============================================================================ */

.main-default {
    display: flex;
    flex-direction: row;
    gap: 15px;  /* 👈 MENOS GAP PARA ACERCAR MÁS A LA IZQUIERDA */
    padding: 0px;
    max-width: 1200px;
    margin: 0 0 0 300px;  /* 👈 ALINEADO A LA IZQUIERDA CON MARGEN MÍNIMO */
    align-items: flex-start;
    font-size: 1em;
}

/* ========================================= */
/* 🔧 ESTILOS DEL MENÚ LATERAL (SIDEBAR A LA IZQUIERDA) */
/* ========================================= */

.main-default aside:not(:has(> ul:empty)) {
    width: 270px;  /* 👈 ANCHO FIJO DEL SIDEBAR */
    min-width: 220px;
    flex-shrink: 0;
    order: -1;  /* 👈 FUERZA QUE ESTÉ PRIMERO (IZQUIERDA) */
    margin-right: 20px;  /* 👈 MENOS ESPACIO ENTRE SIDEBAR Y CONTENIDO */
    margin-left: 0px;
}

/* Estilos visuales del menú lateral */
.main-default aside {
    background: #f9f9f9;
    border-radius: 4px;
    padding: 10px 0;
}

.main-default aside ul {
    padding-left: 20px;
    padding-right: 20px;
    list-style: none;
    margin: 0;
}

.main-default aside ul li {
    padding: 10px;
    width: 100%;
    border-bottom: 1px solid #E77500;
}

.main-default aside ul li:first-child {
    border-top: 1px solid #E77500;
}

.main-default aside ul li ul {
    padding-left: 15px;
}

.main-default aside ul li ul li {
    border-bottom: none;
    padding: 5px 10px;
}

.main-default aside li a.active {
    color: #E77500;
    font-weight: bold;
}

.main-default aside ul li a {
    color: #808080;
    text-decoration: none;
    font-size: 1em;
    display: block;
    transition: color 0.3s ease;
}

.main-default aside ul li a:hover {
    color: #00A499;
}

.main-default aside ul li:hover {
    background-color: #f0f0f0;
}

/* ========================================= */
/* 📄 ESTILOS DEL CONTENIDO (CENTRADO) */
/* ========================================= */

.main-default section {
    flex: 1;  /* 👈 USA TODO EL ESPACIO DISPONIBLE */
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;  /* 👈 SIN CENTRADO AUTOMÁTICO */
    padding: 0 10px;  /* 👈 PADDING MÍNIMO PARA MOVER MÁS A LA IZQUIERDA */
    max-width: none;  /* 👈 SIN LÍMITE DE ANCHO */
    text-align: left;  /* 👈 ALINEADO A LA IZQUIERDA */
}

/* Centra específicamente el título "Programas" */
.main-default section h1,
.main-default section h2,
.main-default .page-header,
.main-default .seccion-titulo {
    text-align: left;  /* ALINEADO A LA IZQUIERDA COMO PÁGINA NORMAL */
}

.main-default .seccion-separador {
    width: 60px;
    height: 3px;
    background-color: var(--main-orange-color);
    margin: 0 auto 10px auto;  /*  CENTRADA LA BARRA NARANJA */
}

.main-default .entry-content {
    line-height: 1.6;
    text-align: left;  /*  TEXTO ALINEADO A LA IZQUIERDA */
}

/* Eliminar margen superior del primer elemento del contenido */
.main-default .entry-content > *:first-child {
    margin-top: 0 !important;
}

/* ========================================= */
/* 🎯 ESTILOS ESPECÍFICOS PARA PÁGINAS CON Y SIN SIDEBAR */
/* ========================================= */

/* PÁGINAS SIN MENÚ LATERAL - Estilo centrado como extensión */
.main-default.sin-sidebar .page-header {
    text-align: center;
}

.main-default.sin-sidebar .seccion-titulo {
    text-align: center;
    color: var(--main-dark-grey-color);  /* MISMO COLOR QUE NOTICIAS */
    font-size: 2.2rem;  /* MISMO TAMAÑO QUE NOTICIAS */
    margin-bottom: 10px;  /*  MISMO MARGEN QUE NOTICIAS */
    font-weight: 700;  /* MISMO PESO QUE NOTICIAS */
    font-family: inherit;  /*  MISMA FUENTE QUE NOTICIAS */
}

.main-default.sin-sidebar .seccion-separador {
    width: 100px;
    height: 3px;
    background-color: var(--main-orange-color);
    margin: 0 auto 20px; /* Reducido de 40px a 20px */
    display: block;
}

/* PÁGINAS CON MENÚ LATERAL - Mantener estilo actual (izquierda) */
.main-default.con-sidebar .page-header {
    text-align: left;
}

.main-default.con-sidebar .seccion-titulo {
    text-align: left;
    color: var(--main-dark-grey-color);  /* MISMO COLOR QUE NOTICIAS */
    font-size: 2.2rem;  /*  MISMO TAMAÑO QUE NOTICIAS */
    margin-bottom: 10px;  /*  MISMO MARGEN QUE NOTICIAS */
    font-weight: 700;  /*  MISMO PESO QUE NOTICIAS */
    font-family: inherit;  /*  MISMA FUENTE QUE NOTICIAS */
}

.main-default.con-sidebar .seccion-separador {
    width: 60px;
    height: 3px;
    background-color: var(--main-orange-color);
    margin: 0 0 20px 0; /* Aumentado de 5px a 15px para más espacio */
}

/* Estilos específicos para imágenes según el layout */
/* Páginas SIN menú lateral - Imágenes centradas */
.main-default.sin-sidebar .entry-content img,
.main-default.sin-sidebar .entry-content figure,
.main-default.sin-sidebar .entry-content .wp-block-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.main-default.sin-sidebar .entry-content figure {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Páginas CON menú lateral - Agregar espacios entre imágenes y texto */
.main-default.con-sidebar .entry-content img,
.main-default.con-sidebar .entry-content figure,
.main-default.con-sidebar .entry-content .wp-block-image {
    margin-top: 30px;
    margin-bottom: 30px;
}

.main-default.con-sidebar .entry-content figure {
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Reducir espacio entre título y primera imagen */
.main-default .entry-content > img:first-child,
.main-default .entry-content > figure:first-child,
.main-default .entry-content > .wp-block-image:first-child,
.main-default .entry-content > p:first-child + img,
.main-default .entry-content > p:first-child + figure,
.main-default .entry-content > p:first-child + .wp-block-image {
    margin-top: 15px !important; /* Reducir espacio desde el título */
}

/* Reducir espacio entre header y contenido cuando hay imágenes */
.main-default .page-header + .page-content-wrapper .entry-content > img:first-child,
.main-default .page-header + .page-content-wrapper .entry-content > figure:first-child,
.main-default .page-header + .page-content-wrapper .entry-content > .wp-block-image:first-child {
    margin-top: 10px !important;
}

/* Reducir margen inferior del separador cuando le sigue una imagen */
.main-default .page-header .seccion-separador {
    margin-bottom: 20px !important; /* Reducir desde 40px */
}

/* Espacio con el footer para todas las páginas adaptativas */
.main-default .page-content-wrapper,
.main-default .entry-content {
    margin-bottom: 60px; /* Espacio antes del footer */
}

/* Reducir espacio entre header y contenido */
.main-default .page-content-wrapper {
    margin-top: -20px !important; /* Forzar reducción del espacio */
}

/* Sobreescribir la regla que elimina margen del primer elemento cuando es imagen */
.main-default .entry-content > img:first-child,
.main-default .entry-content > figure:first-child,
.main-default .entry-content > .wp-block-image:first-child {
    margin-top: -10px !important; /* Margen negativo para reducir espacio */
}

/* Forzar reducción en páginas sin sidebar */
.main-default.sin-sidebar .page-content-wrapper {
    margin-top: -30px !important;
}

/* Forzar reducción en páginas con sidebar */
.main-default.con-sidebar .page-content-wrapper {
    margin-top: -35px !important; /* Cambiado de -50px a -20px para más espacio */
}

/* Páginas CON menú lateral - Imágenes mantienen alineación actual (sin cambios específicos) */

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

@media (max-width: 768px) {
    .main-default {
        flex-direction: column;
        padding: 20px;
    }
    
    .main-default aside {
        width: 100% !important;
        order: 2;  /* 👈 MUEVE EL SIDEBAR ABAJO EN MÓVIL */
        margin-right: 0;
    }
    
    .main-default section {
        padding: 0 15px;
    }
    
    .hidden-responsive {
        display: none;
    }
}

.main-default aside ul li:first-child {
    border-top: 1px solid #E77500;
}

.main-default aside ul li:hover {
    background-color: #f0f0f0;
}

/* Estilos simplificados para el contenido de Programas */
.main-default .page-header {
    text-align: left;  /* 👈 ALINEADO A LA IZQUIERDA */
    margin-bottom: 15px;
}

.main-default .seccion-titulo {
    font-size: 2.2rem;
    color: var(--main-green-color);
    margin-bottom: 10px;
}

.main-default .seccion-separador {
    width: 60px;
    height: 3px;
    background-color: var(--main-orange-color);
    margin: 0 0 15px 0;  /* 👈 ALINEADO A LA IZQUIERDA */
}

.main-default .entry-content {
    line-height: 1.6;
    text-align: left;  /* 👈 TEXTO ALINEADO A LA IZQUIERDA */
}

.main-default aside ul {
    padding-left: 20px;
    padding-right: 20px;
    list-style: none;
    margin: 0;
}

.main-default aside ul li {
    padding: 10px;
    width: 100%;
    border-bottom: 1px solid #E77500;
}

.main-default aside ul li ul {
    padding-left: 15px;
}

.main-default aside ul li ul li {
    border-bottom: none;
    font-size: 0.9em;
    padding: 5px 10px;
}

.main-default aside li a.active {
    color: #E77500;
    font-weight: bold;
}

.main-default aside ul li a {
    color: #808080;
    text-decoration: none;
    font-size: 1em;
    display: block;
    transition: color 0.3s ease;
}

.main-default aside ul li a:hover {
    color: #00A499;
}

/* Responsive simplificado */
@media (max-width: 768px) {
    .main-default {
        flex-direction: column;
        padding: 20px;
    }
    
    .main-default aside {
        width: 100% !important;
        order: 2;
    }
    
    .hidden-responsive {
        display: none;
    }
}

.main-default aside ul li:first-child {
    border-top: 1px solid #E77500;
}

.main-default aside ul li:hover {
    background-color: #f0f0f0;
}

/* Estilos simplificados para el contenido de Programas - SEGUNDA SECCIÓN */
.main-default .page-header {
    text-align: left;  /* 👈 ALINEADO A LA IZQUIERDA */
    margin-bottom: 15px;
}

.main-default .seccion-titulo {
    font-size: 2.2rem;
    color: var(--main-green-color);
    margin-bottom: 10px;
}

.main-default .seccion-separador {
    width: 60px;
    height: 3px;
    background-color: var(--main-orange-color);
    margin: 0 0 15px 0;  /* 👈 ALINEADO A LA IZQUIERDA */
}

.main-default .entry-content {
    line-height: 1.6;
    text-align: left;  /* 👈 TEXTO ALINEADO A LA IZQUIERDA */
}
/* ================================================================ */
/* ================================================================ */
/*                 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;
    }
}
