/*
Theme Name: Tema Template nivel 3
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;
  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 :not(.miembro-descripcion){
  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: 100px;
  margin: auto 0px;
}

.main-nav div {
  margin-inline: 10px;
  width: 100%;
  ul {
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: end;
    margin-top: 30px;
  }
}
.main-nav li {
  width: max-content;
  a {
    display: block;
    color: white;
    padding: 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;
  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 {
  width: 100%;
  overflow: hidden;
  background-color: var(--main-green-color);
  border-radius: 5vw 0 0px 5vw;
  padding-left: 16px;
  min-height: 60vh;
  padding-top: 60px;
  padding-left: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5vw 0 0px 5vw;
  }
}

@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 .main-option{
    display: none;
  }
  .logo {
    width: min-content;
    display: flex;
  }
  .main-nav img {
    min-width: 100px;
    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;
    margin-right: 45px;
    
    & span {
      place-self: center;
      grid-column: 1;
      width: 30px;
      margin-right: 10px;
      border: 2px solid white;
      font-size: 0.5rem !important;
    }
    
    & .menu-btn2 {
      font-size: 1.5rem !important;
      grid-column: 2;
      grid-row: 1/4;
      padding-right: 20px;
      border: none;
    }
  }
  
}




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

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

/* Ajustes para la sección de noticias */
.section-noticias-page {
  margin-inline: 7vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 noticias por fila */
  gap: 2rem;
  min-height: 50vh;
}

.section-noticias-page2 {
  margin-inline: 7vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 noticias por fila en otras noticias */
  gap: 2rem;
  padding-left: 300px;
  padding-bottom: 4rem;
}

/* Estilos para las cards de noticias */
.card-noticia-page {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--main-green-color);
}

.card-noticia-page div {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

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

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

/* Ajustes para el excerpt */
.card-noticia-page p {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--main-dark-grey-color);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Limita a 3 líneas */
  -webkit-box-orient: vertical;
  line-clamp: 3; /* Propiedad estándar */
  box-orient: vertical; /* Propiedad estándar */
  overflow: hidden;
  height: 4.5em; /* Altura fija para 3 líneas */
}

/* Estilos para el botón y fecha */
.card-noticia-page .a-bordered {
  margin-top: auto; /* Empuja el botón hacia abajo */
  align-self: flex-start;
}

.card-noticia-page span {
  font-size: 0.9rem;
  color: var(--main-grey-color);
}

/* Estilos para la paginación */
.pagination {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 2rem;
}

.pagination a,
.pagination span {
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  border: 1px solid var(--main-green-color);
  border-radius: 4px;
  color: var(--main-green-color);
  text-decoration: none;
}

.pagination a:hover,
.pagination span.current {
  background-color: var(--main-green-color);
  color: white;
}

/* Responsive */
@media (max-width: 1200px) {
  .section-noticias-page,
  .section-noticias-page2 {
      grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
  }
}

@media (max-width: 768px) {
  .section-noticias-page,
  .section-noticias-page2 {
      grid-template-columns: 1fr; /* 1 columna en móviles */
      padding-left: 0;
      margin-inline: 1rem;
  }
}


/* 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: 0px 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 {
  gap: 150px;
  padding-bottom: 80px;
}

@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%);
  }

  .card-noticias-secundaria{
    margin-inline: 8px;
  }

  .noticias-secundarias{
    grid-template-columns: 40px;
    padding-right: 0px;
    padding-top: 32px;
    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);
  font-size: 2.5rem;
  header{
    h1{
      font-size: 2.5rem;
      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;
  max-width: 65%;

  grid-template-columns: repeat(3,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-size: 2.5rem;
      font-weight: 700;
      color: var(--main-green-color);
      text-align: center;
      margin: 2rem 0;
      line-height: 1;
      width: 100%;
    }
  }
  a {
    grid-column: 1/-1;
  }
}

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

  display: grid;
  height: 100%;
  width: 100%;
  place-items: center;
  header {
    grid-column: 1/-1;
    place-self: center;
    h2 {
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--main-green-color);
      text-align: center;
      margin: 2rem 0;
      line-height: 1;
      width: 100%;
    }
  }
  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 {
    flex-direction: column;
    display:flex;
  }
  .card-galeria {
    width: 70%;
    padding: 3%;
  }
}

@media (max-width: 768px) {
  .section-galeria {
    flex-direction: column;
    display:flex;
  }
  .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;
  /* 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;
  }
}

@media (max-width: 1024px) {
  .main-footer {
    position: relative;
    overflow: visible;
    padding-bottom: 20px;
    min-height: 30vh;
    display: flex;
    flex-direction: column;
    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;
    }
  }
}

@media (max-width: 768px) {
  .main-footer {
    position: relative;
    overflow: visible;
    padding-bottom: 20px;
    min-height: 30vh;
    display: flex;
    flex-direction: column;
    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: 100%;
}

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

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

.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;
  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: center;
  font-size: 28px;
  font-weight: bold;
  font-family: "Nunito Sans", sans-serif;
  margin-left: 160px;
  margin-right: 160px;
  margin-bottom: 30px;
  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;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: 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 la barra de búsqueda */
/* Contenedor del buscador */
.search-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* Espaciado entre elementos */
  margin-top: 20px; /* Ajustar separación si es necesario */
  margin-bottom: 40px;
}

/* Campo de entrada de búsqueda */
.search-field {
  width: 300px;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  outline: none;
}

/* Botón de búsqueda */
.search-submit {
  background-color: #01A499; /* Color rojo del botón */
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

/* Estilos Para el carrusel*/

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

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

/* Responsive */

@media (max-width: 1024px) {
  /* Ajustar la altura del contenedor del carrusel al tamaño de la imagen */
  .container-carousel {
    width: 100%; /* Asegura que el contenedor ocupe todo el ancho disponible */
    height: auto; /* Ajusta la altura al tamaño de la imagen */
    max-height: 100%; /* No permite que el contenedor sea más grande que la imagen */
    overflow: hidden; /* Evita que el contenido se desborde */
    position: relative; /* Necesario para posicionar elementos dentro */
  }

  .slider-nav {
    width: 100%;
    overflow: hidden;
    background-color: var(--main-green-color);
    border-radius: 5vw 0 0px 5vw;
    padding-left: 16px;
    min-height: 45vh;
    padding-left: 40px;
    display: flow;
    justify-content: center;
    align-items: center;
    height: 300px;
  }

}



/* Estilos Para el Slider del inicio*/

/* Ajuste general de la sección */
.slider-section {
  float: left;
  position: relative;
  /* Opcional: altura fija o adaptable */
  width: auto; 
  height: 500px; /* ajusta según tu diseño */
}

/* Div que tiene la imagen de fondo */
.slider-bg {
  width: 100%;
  height: 100%;
  background-size: cover;      /* Para que la imagen ocupe todo el espacio */
  background-position: center; /* Centrado de la imagen */
  position: relative;
  border-radius: 5vw 0 0px 5vw;
}

/* Capa overlay para el texto */
.slider-overlay {
  position: absolute; 
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -50%); 
  text-align: center;
  background-color: white; /* Semitransparencia de fondo, si quieres */
  padding: 20px;
  border-radius: 8px;
  font-size: 20px;
  line-height: 1.8;
  text-align: justify;
  max-width: 700px;
  width: 100%;
  font-weight: bold;
}

/* Ajusta estilos de los botones de navegación */
.btn-left, .btn-right {
  /* Tus estilos: posición absoluta, z-index alto, etc. */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  line-height: 40px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  text-align: center;
  cursor: pointer;
  /* etc. */
}
.btn-left {
  left: 10px;
}
.btn-right {
  right: 10px;
}

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


.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;
}

/* PAGINA BIENVENIDOS */

/* Sección principal con fondo */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 60vh; /* Ajusta según lo alto que quieras la imagen */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content h1 {
  line-height: 2;
}

/* Capa oscura si deseas opacidad */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Ajusta opacidad */
}

/* Contenedor del texto sobre la imagen */
.hero-content {
  position: relative; /* Para que el texto quede encima de la capa oscura */
  color: white;
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Sección de suscripción */
.subscription-section {
  background-color: #111; /* fondo oscuro */
  color: white;
  padding: 40px;
  text-align: center;
}

.subscription-container {
  max-width: 600px;
  margin: auto;
}

.subscription-container p {
  font-size: 24px;
  margin-bottom: 20px;
}

.subscription-container form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.subscription-container input {
  width: 100%;
  max-width: 400px;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  outline: none;
  margin-bottom: 10px;
}

.subscription-container button {
  width: 100%;
  max-width: 400px;
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  background-color: #444;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
  text-align: center;
}

.subscription-container button:hover {
  background-color: #666;
}

.header-top {
  background-color: white !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #ff5252; 
  padding: 10px 0;
}

.logo-container {
  background-color: white !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  max-width: 800px;
  padding: 10px 0;
}

.logo-container img {
  max-height: 150px;
  width: auto;
}

/* Inicio */

/* Aplica estilos solo en la página con ID 213 */
.page-id-185 .page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--main-green-color);
  text-align: center;
  margin: 2rem 0;
  line-height: 1;
  width: 100%;
}

/* Contenedor principal con imagen destacada */
.inicio-section {
  position: relative;
  width: 100%;
  min-height: 60vh; /* Se reduce la altura mínima */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 0; /* Reduce espacio arriba y abajo */
}

/* Asegurar que el fondo no se mueva con el scroll */
.inicio-section {
  background-attachment: fixed;
}

/* Si el fondo sigue sin aparecer, asegúrate de que esta capa no lo cubra */
.inicio-overlay {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2); 
  z-index: 1;
}

/* Contenedor del contenido con separación */
.inicio-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px; /* Espaciado entre párrafos */
  width: 100%;
  padding: 50px 20px;
}

/* Cada párrafo en su propio cuadro blanco */
.inicio-container p {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  font-size: 20px; /* Aumenta el tamaño de la letra */
  line-height: 1.8;
  text-align: justify;
  max-width: 700px;
  width: 100%;
  margin-bottom: 30px; /* Asegura separación entre cuadros */
}


/* Elimina el espacio extra arriba */
.inicio-container p:first-child {
  margin-top: -20px; /* Acerca el primer cuadro al header */
}

/* Documentacion */

/* Contenedor del grupo de fichas */
.page-id-266 .wp-block-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f8f8f8;
  padding: 12px 16px;
  border-radius: 8px;
  max-width: 900px;
  margin: 10px auto;
  min-height: 50px;
}

@media (max-width: 768px) {
  .page-id-266 .wp-block-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8f8f8;
    padding: 12px 16px;
    border-radius: 8px;
    max-width: 900px;
    margin: 10px 47px;
    min-height: 50px;
  }
}

@media (max-width: 1024px) {
  .page-id-266 .wp-block-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8f8f8;
    padding: 12px 16px;
    border-radius: 8px;
    max-width: 900px;
    margin: 10px 47px;
    min-height: 50px;
  }
}

/* Primera parte del grupo: Texto de la ficha alineado a la izquierda */
.page-id-266 .wp-block-group > p:first-of-type {
  font-size: 16px;
  color: #4a148c;
  font-weight: 500;
  text-align: left;
  margin: 0;
  flex-grow: 1; /* Permite que el texto ocupe el espacio disponible */
  display: flex;
  justify-content: flex-start; /* Asegura que el texto inicie a la izquierda */
  align-items: center; /* Centra verticalmente dentro del contenedor */
  min-width: 60%; /* El texto ocupa al menos el 60% del ancho */
  max-width: 70%;
  white-space: normal; /* Permite que el texto pase a una nueva línea si es muy largo */
  word-wrap: break-word; /* Si hay palabras largas, permite que se dividan */
}

/* Segunda parte del grupo: Botón alineado a la derecha */
.page-id-266 .wp-block-button {
  flex-shrink: 0;
  width: 180px; /* Tamaño fijo para que todos los botones se alineen */
  display: flex;
  justify-content: center; /* Centra el botón dentro de su contenedor */
  align-items: center;
}

/* Aplica solo a los botones "DESCARGA AQUÍ" en la página de Documentación */
.page-id-266 .wp-block-file__button {
  background-color: #01A499 !important;
  color: white !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  font-weight: bold !important;
  font-size: 14px !important;
  transition: background-color 0.3s ease-in-out !important;
  text-align: center !important;
  white-space: nowrap !important;
  min-width: 150px !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  border: none !important;
  box-shadow: none !important;
}

/* Efecto hover */
.page-id-266 .wp-block-file__button:hover {
  background-color: #018D80 !important;
}



/* Mantiene los estilos globales pero permite excepciones */
.page-id-266 h1,
.page-id-266 h2,
.page-id-266 h3,
.page-id-266 h4,
.page-id-266 h5,
.page-id-266 h6:not(.custom-h7), /* Excluye h6 con clase custom-h7 */
.page-id-266 p:not(.wp-block-group p):not(.custom-h7) { /* Excluye p con custom-h7 */
  text-align: center !important;
  max-width: 800px;
  margin: 0 auto;
  display: block;
  color: #394049;
}

@media(max-width: 768px) {
  .page-id-266 h1,
  .page-id-266 h2,
  .page-id-266 h3,
  .page-id-266 h4,
  .page-id-266 h5,
  .page-id-266 h6:not(.custom-h7),
  .page-id-266 p:not(.wp-block-group p):not(.custom-h7) {
    text-align: center !important;
    max-width: 100%;
    margin: 0 45px;
    display: block;
    color: #394049;
  }
}

@media(max-width: 1024px) {
  .page-id-266 h1,
  .page-id-266 h2,
  .page-id-266 h3,
  .page-id-266 h4,
  .page-id-266 h5,
  .page-id-266 h6:not(.custom-h7),
  .page-id-266 p:not(.wp-block-group p):not(.custom-h7) {
    text-align: center !important;
    max-width: 100%;
    margin: 0 45px;
    display: block;
    color: #394049;
  }
}


/* Estilos específicos para h6 como h7 */
.page-id-266 .custom-h7 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--main-green-color);
  text-align: center;
  margin: 2rem 0;
  line-height: 1;
  width: 100%;
}

/* Aplica estilos solo a la clase .page-title en la página Documentación */
.page-id-266 .page-title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 30px;
  color: #000;
}


/* Contacto */

.wp-block-image img {
  box-sizing: border-box;
  height: auto;
  max-width: 100%;
  vertical-align: bottom;
  margin-left: 100px;
  margin-right: 100px;
}

.page-id-578 .title-page {
  margin-bottom: 10px !important; /* Reduce el espacio entre el título y el párrafo */
  padding-bottom: 0 !important;
}

.page-id-578 h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--main-green-color);
  text-align: center;
  margin: 2rem 0;
  line-height: 1;
  width: 100%;
}

.page-id-578 h2{
  padding-left: 300px;
  padding-right: 280px;
}

.page-id-578 .has-text-align-center{
  padding: 0 300px;
  font-size: 22px;
}

.page-id-578 .has-text-align-left{
  padding-left: 300px;
  padding-right: 300px;
  overflow: hidden;  /* Esto puede ayudar a evitar que los elementos se desborden */

}

.wpforms-container .wpforms-field, .wp-core-ui div.wpforms-container .wpforms-field {
  padding-left: 300px;    position: relative;
}

.page-id-578 .wpforms-submit-container{
  padding-left: 300px;
}

.page-id-578 .wpforms-field-medium{
  max-width: 60%;
}

.page-id-578 .wpforms-382-field_2-container{
  width: 1500px;
}

/* Cambiar el estilo de los enlaces en la sección de contacto */
.contact-description a {
  color: #01A499; /* Cambia el color azul a uno personalizado si lo necesitas */
  font-size: 16px; /* Ajusta el tamaño de la fuente */
  text-decoration: none; /* Si quieres quitar el subrayado */
}



/* Responsive contacto */
@media(max-width: 768px){
  .wp-block-image img {
    box-sizing: border-box;
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
    margin-left: 35px;
    margin-right: 100px;
  }

  .page-id-578 .title-page {
    margin-bottom: 10px !important; /* Reduce el espacio entre el título y el párrafo */
    padding-bottom: 0 !important;
  }

  .page-id-578 h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--main-green-color);
    text-align: center;
    margin: 2rem 0;
    line-height: 1;
    width: 100%;
  }

  .page-id-578 h2{
    padding-left: 20px;
    padding-right: 0px
  }

  .page-id-578 .has-text-align-center{
    padding-left: 20px;
    padding-right: 30px;
    font-size: 22px;
  }


  .wpforms-container .wpforms-field, .wp-core-ui div.wpforms-container .wpforms-field {
      padding-bottom: 5px !important;
      padding-left: 20px !important;
      padding-right: 80px !important;
      position: relative !important;
  }

  .wpforms-field-row, .wpforms-field-medium{
    padding: 0 !important;
    margin: 0 !important;
  }

  .page-id-578 .wpforms-submit-container{
    padding: 0 20px !important;
  }

  .page-id-578 .wpforms-field-medium{
    max-width: 100% !important;
  }

  .wp-block-image.size-full.is-resized img {
    max-width: 100%;  /* Hace que la imagen no sobrepase el contenedor */
    height: auto;     /* Mantiene la proporción original de la imagen */
    display: block;   /* Asegura que la imagen no tenga espacio debajo de ella */
    margin: 0 60px;   /* Centra la imagen si es necesario */
}

}

@media(max-width: 1024px){
  .wp-block-image img {
    box-sizing: border-box;
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
    margin-left: 100px;
    margin-right: 100px;
  }

  .page-id-578 .title-page {
    margin-bottom: 10px !important; /* Reduce el espacio entre el título y el párrafo */
    padding-bottom: 0 !important;
  }

  .page-id-578 h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--main-green-color);
    text-align: center;
    margin: 2rem 0;
    line-height: 1;
    width: 100%;
  }

  .page-id-578 .has-text-align-left{
    padding-left: 100px;
    padding-right: 70px;
  }

  .page-id-578 h2{
    padding-left: 100px;
    padding-right: 40px
  }

  .page-id-578 .has-text-align-center{
    padding-left: 100px;
    padding-right: 100px;
    font-size: 22px;
  }


  .wpforms-container .wpforms-field, .wp-core-ui div.wpforms-container .wpforms-field {
      padding-bottom: 5px !important;
      padding-left: 100px !important;
      padding-right: 80px !important;
      position: relative !important;
  }

  .wpforms-field-row, .wpforms-field-medium{
    padding: 0 !important;
    margin: 0 !important;
  }

  .page-id-578 .wpforms-submit-container{
    padding: 0 100px !important;
  }

  .page-id-578 .wpforms-field-medium{
    max-width: 100% !important;
  }

}

/* Single noticia */


.post-thumbnail {
  display: flex;
  justify-content: center;
}

.post-thumbnail img {
  display: block;
  margin: 0 auto;
  height: auto;
  max-width: 100%;
}

.noticias-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.noticias-image img {
  display: block;
  margin: 0 auto;
}


.compartir-redes {
  margin-top: 40px;
  text-align: center; /* Centra los elementos */
}

.compartir-redes a {
  margin: 0 10px;
  color: #003366; /* Color corporativo */
  text-decoration: none;
  font-weight: bold;
}

.compartir-redes a:hover {
  text-decoration: underline;
}

.single-noticia {
  text-align: justify;
}

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

.contenido-noticia {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px;
}

.contenido-noticia img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.title-noticia {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--main-green-color);
  text-align: center;
  margin: 2rem 0;
  line-height: 1;
  width: 100%;
}

.article-date {
  font-size: 1rem;
  color: var(--main-green-color);
  text-align: center;
  margin: 1rem 0;
  font-weight: 500;
  width: 100%;
}

/* Comentarios */

/* Contenedor general de comentarios */
#comments {
  max-width: 800px;
  margin: 60px auto;
  padding: 20px;
}

/* Título de comentarios ("Un comentario", "X comentarios") */
#comments .comments-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* Lista de comentarios */
.comment-list {
  list-style: none; /* Quitamos el estilo de lista por defecto */
  margin: 0;
  padding: 0;
}

/* Cada comentario individual */
.comment-list > li {
  background: #f9f9f9;         /* Fondo claro */
  border: 1px solid #ddd;      /* Borde sutil */
  border-radius: 8px;          /* Bordes redondeados */
  padding: 15px 20px;
  margin-bottom: 20px;         /* Separación entre comentarios */
  position: relative;          /* Para posicionar elementos si deseas */
}

/* Autor y fecha del comentario (meta) */
.comment-author {
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.comment-metadata {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
}

/* Avatar del autor (la imagen) */
.comment-author .avatar {
  float: left;
  margin-right: 10px;
  border-radius: 50%;
  border: 1px solid #ccc;
}

/* Contenido del comentario */
.comment-content {
  clear: both; /* Asegura que el texto no se superponga al avatar */
  line-height: 1.4;
}

/* Enlace "Responder" */
.comment-reply-link {
  display: inline-block;
  margin-top: 10px;
  color: #01a499;
  text-decoration: none;
}
.comment-reply-link:hover {
  text-decoration: underline;
}

/* Navegación de comentarios (paginación) */
.comment-navigation {
  text-align: center;
  margin: 20px 0;
}
.comment-navigation a {
  margin: 0 5px;
  color: #01a499;
  text-decoration: none;
}
.comment-navigation a:hover {
  text-decoration: underline;
}

/* Contenedor principal del formulario */
.comment-respond {
  background: #fefefe;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin-top: 30px;
}

/* Título del formulario ("Deja un comentario", etc.) */
.comment-reply-title {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* Campos del formulario (autor, email, url, comentario) */
.comment-form-author,
.comment-form-email,
.comment-form-url,
.comment-form-comment {
  margin-bottom: 15px;
}

.comment-form-author label,
.comment-form-email label,
.comment-form-url label,
.comment-form-comment label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box;
}

/* Botón de "Publicar comentario" */
.form-submit input[type="submit"] {
  background: #01a499;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-submit input[type="submit"]:hover {
  background: #019082;
}



/* Galeria */

.section-galeria-2 h3 {
  margin-top: 40px;
  font-size: 24px;
  color: #333;
  width: 100%; /* Que el título tome todo el ancho */
  text-align: center;
}

.galeria-subcategoria {
  margin-bottom: 40px; /* Espacio entre subcategorías */
}

.galeria-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center; /* Centrado horizontal */
}

@media(max-width: 768px){
  .galeria-grid {
  gap: 20px;
  justify-content: center; 
  display: flex !important;
  flex-direction: column;
  align-content: space-around
  }
}

@media(max-width: 1024px){
  .galeria-grid {
  gap: 20px;
  justify-content: center; 
  display: flex !important;
  flex-direction: column;
  align-content: space-around
  }
}


.card-galeria img {
  width: 200px; /* O ajusta el tamaño exacto que prefieras */
  height: auto;
}

.card-galeria p {
  text-align: center;
  padding: 10px;
  background: #f9f9f9;
  margin: 0;
}

.section-galeria-2 h3 {
  margin-top: 50px;
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
  width: 100%;
  text-align: center;
}

.galeria-subcategorias-container {
  display: flex;          /* Para colocarlas en una fila */
  flex-wrap: wrap;        /* Si quieres que salten de línea al quedarse sin espacio */
  gap: 20px;              /* Espacio horizontal/vertical entre subcategorías */
  justify-content: center; /* Opcional: centrar horizontalmente */
}

.galeria-subcategoria {
  width: 100%;
  max-width: 1200px; /* si quieres limitar el ancho máximo */
  margin: 0 auto;    /* centrar dentro del body */
  box-sizing: border-box;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas */
  gap: 20px;
  justify-items: center; /* Para centrar los items dentro de su columna */
}

/* Search page */

.search-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--main-green-color);
  text-align: center;
  margin: 2rem 0;
  line-height: 1;
  width: 100%;

}

/* Estilos para el slider de texto */

/* Estructura principal: dos columnas, sin altura fija */
.main-header {
  display: flex;
  align-items: flex-start; /* Alinea la columna más corta arriba */
  justify-content: space-between;
  gap: 20px;       /* Espacio horizontal entre columnas */
  padding: 20px;   /* Margen interno si deseas */
  /* Sin 'height:' fijo, así crece con el texto */
}

@media (max-width: 768px) {
  .main-header {
    flex-direction: column;
    display:flex;
  }
}

@media (max-width: 1024px) {
  .main-header {
    flex-direction: column;
    display:flex;
  }
}

/* Columna izquierda */
.slider-content {
  flex: 1; /* Se expandirá ocupando el espacio sobrante */
  /* O podrías usar width: 50%; si prefieres algo fijo */
}

/* Título */
.slider-title {
  font-size: 1.8rem;
  margin-bottom: 10px;
  /* Ajusta colores, tipografía, etc. a tu gusto */
}

/* ---- Mini-slider de texto (opcional) ---- */
.mini-slider-wrapper {
  position: relative;
  overflow: hidden;
  background: #f0f0f0; /* opcional */
  /* Sin altura fija, crece según el contenido de cada slide */
  margin-top: 15px; /* separa un poco del título */
}

.mini-slider-carruseles {
  display: flex;
  transition: transform 0.6s ease;
  /* No definimos height para que cada slide crezca según su contenido.
     Si deseas una altura fija y scroll interno, podrías usar height: 300px; overflow-y: auto; */
}

.mini-slider-section {
  box-sizing: border-box;
  padding: 10px;
  /* El width se define inline (style="width:50%;") si hay 2 slides.
     Si tuvieras 3 slides, usarías style="width:33.33%;" en cada uno, etc. */
}

.mini-slider-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.mini-slider-buttons button {
  pointer-events: auto;
  background: rgba(0,0,0,0.3);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 16px;
  margin: 0 10px;
}

/* Estilos de texto interno */
.slider-cuerpo {
  font-size: 1,2rem;
  line-height: 1.5;
  text-align: justify;
}

.slider-more a {
  text-decoration: none;
  font-weight: bold;
  color: #0066cc;
}
/* ----------------------------------------- */

/* Columna derecha: tu slider de imágenes */
.slider-nav {
  flex: 30%; /* Se reparte espacio con la izquierda */
  /* O width: 50%; si quieres la derecha más fija */
}
/* Mantén aquí el resto de estilos que usabas para tu slider de imágenes,
   como .container-carousel, .slider-section, .btn-left, .btn-right, etc. */

   /* Estilos responsive: para pantallas pequeñas */
@media (max-width: 768px) {
  /* Apilar las columnas verticalmente */
  .main-header {
    display: block;
  }
  
  /* Ambos contenedores ocuparán 100% del ancho */
  .slider-content,
  .slider-nav {
    width: 100%;
  }
  
  /* En móviles, para la columna de imagen: 
     se utiliza aspect-ratio para que mantenga una proporción fija */
  .slider-nav {
    position: relative;
    aspect-ratio: 16 / 9; /* Ajusta la proporción según tu necesidad */
    height: auto; /* La altura se calculará automáticamente a partir del aspect ratio */
    flex:0.5;
  }
  
  /* La imagen se posiciona de forma absoluta para llenar el contenedor */
  .slider-nav img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}



   /* Estilos para la sección de equipo */
.equipo-seccion {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.equipo-titulo {
  text-align: center;
  color: var(--main-green-color);
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 700;
}

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Exactamente 3 columnas */
  gap: 2rem;
  justify-items: center;
}

.miembro-card {
  width: 100%;
  max-width: 350px;
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 1px solid var(--main-green-color);
}

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

.miembro-imagen {
  width: 100%; /* Asegura que la imagen ocupe el 100% del contenedor */
  height: 350px; /* O cualquier altura que prefieras */
  object-fit: cover; /* Asegura que la imagen se recorte de manera adecuada sin deformarse */
  object-position: center; /* Centra la imagen en el contenedor */
  overflow: hidden; /* Para ocultar cualquier parte de la imagen que se recorte */
  display: flex;
  justify-content: center;
  align-items: center;
}


.miembro-imagen img {
  width: 100%; /* Asegura que la imagen ocupe el 100% del contenedor */
  height: auto; /* O cualquier altura que prefieras */
  object-fit: cover; /* Asegura que la imagen se recorte de manera adecuada sin deformarse */
  object-position: center; /* Centra la imagen en el contenedor */
  overflow: hidden; /* Para ocultar cualquier parte de la imagen que se recorte */
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.miembro-info {
  padding: 1.5rem;
  text-align: center;
}

.miembro-nombre {
  color: var(--main-dark-grey-color);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.miembro-puesto {
  color: var(--main-green-color);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.miembro-correo {
  color: var(--main-grey-color);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
  display: inline-block;
  word-wrap: break-word; /* Permite que el texto largo se ajuste a varias líneas */
  overflow-wrap: break-word; /* Compatibilidad con navegadores más antiguos */
  word-break: break-word; /* Asegura que el texto largo se rompa en líneas */
  max-width: 100%; /* Asegura que el texto no se desborde fuera del contenedor */
}

.miembro-correo:hover {
  color: var(--main-green-color);
}


.miembro-correo:hover {
  color: var(--main-green-color);
}

.miembro-correo[target="_blank"] {
  color: var(--main-blue-color); /* Diferente color para los links de página */
}

.miembro-correo[target="_blank"]:hover {
  color: var(--main-dark-blue-color);
}



.categoria {
  padding: 1rem;
  border-radius: 8px;
}

.categoria h3 {
  color: var(--main-green-color);
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .equipo-grid {
      grid-template-columns: repeat(2, 1fr) !important; /* 2 columnas en tablets */
  }

  .miembros-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .equipo-seccion {
      padding: 2rem 1rem;
  }
  
  .equipo-titulo {
      font-size: 2rem;
      margin-bottom: 2rem;
  }
  
  .equipo-grid {
      grid-template-columns: 1fr; /* 1 columna en móviles */
      gap: 1.5rem;
  }
  
  .miembro-imagen {
      height: 200px;
  }
  
  .miembro-nombre {
      font-size: 1.3rem;
  }
  
  .miembro-puesto {
      font-size: 1rem;
  }
}

.miembros-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
}

@media (max-width: 768px) {
  .miembros-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
    justify-items: center;
  }
}

@media (max-width: 1024px) {
  .miembros-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-items: center;
  }
}


.miembro-descripcion {
  font-size: 1rem !important;
  margin-top: 1rem !important;
  text-align: center !important;
  line-height: 1.5 !important;
}



/* Responsive */
@media (max-width: 1024px) {
  .equipo-grid {
      grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
  }
}

@media (max-width: 768px) {
  .equipo-seccion {
      padding: 2rem 1rem;
  }
  
  .equipo-titulo {
      font-size: 2rem;
      margin-bottom: 2rem;
  }
  
  .equipo-grid {
      grid-template-columns: 1fr; /* 1 columna en móviles */
      gap: 1.5rem;
  }
  
  .miembro-imagen {
      height: 250px;
  }
  
  .miembro-nombre {
      font-size: 1.3rem;
  }
  
  .miembro-puesto {
      font-size: 1rem;
  }
}
/* En los responsive utilizar flex-direction: column (con display flex) editar para 1024 y 768 px*/
