/*
Theme Name: Tema Template nivel 3 Adinn
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;
  color: #666;
  font-size: 1rem;
}

body {
  font-family: "Nunito sans", sans-serif;
  margin: 0;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  height: auto;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

html {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

#main, .content, .main-default, .index, .page-content, .body-page {
  min-height: 100vh;
  height: auto;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

h1 {
  font-size: 2.5em;
  color: #666;
}

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: 1rem !important;
  color: #666;
  text-align: justify;
}

.main-footer .footer-text {
  font-size: 0.9rem !important;
  color: #fff !important;
  text-align: center !important;
  font-family: "Nunito Sans", sans-serif;
  text-justify: auto;
}

strong {
  font-family: "Nunito sans", sans-serif;
  color: #e37604;
}
a {
  font-size: 1.35rem; /* 21.6px */
  font-family: "Nunito sans", sans-serif;
  font-weight: bold;
  text-decoration: none;
  color: #666;
}
a:hover {
  cursor: pointer;
  color: #01a499;
}
button:hover {
  cursor: pointer;
}

::marker{
  color: #808080;
  font-size: 1em;
}


@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 */
  }
  
  ::marker{
    color: #808080;
    font-size: 1em;
  }

}
/*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: #fff;
  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 {
    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;
}

/* 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: 2.8rem;
  line-height: 64px;
  font-weight: 800;
  text-align: center;
}

.slider-cuerpo{
  color: #666;
  font-size: 24px;
  text-align: justify;
}
.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: 100%;
  overflow: hidden;
  background-color: var(--main-green-color);
  border-radius: 5vw 0 0px 5vw;
  padding-left: 16px;
  min-height: 60vh;
  height: 85%;
  /* 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: 5vw 0 0px 5vw; /* <-- Esto redondea las puntas */
  }
}

.indicador{
  object-fit: cover;
}
@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: 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%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  h2 {
    margin-inline: 7vw;
  }
}

.cuerpo-noticias{
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px,1fr));
  gap: 32px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}
/* 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: var(--main-grey-color);
  }
  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: var(--main-grey-color);
  }
  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: 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);
  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: #5e6269;
    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-grey-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;
  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: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
}

.carruseles {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0 !important;
  display: flex;
  align-items: center;
}

/* Estilos Para el Slider del inicio*/

.slider-section {
  background-color: var(--main-green-color);
  height: 100%;
  overflow: hidden;
}


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

.main-nav ul li a {
  color: #1EA499 !important;
}

/* ------------------------- */
/* Estilos para la página default */
/* ------------------------- */

.main-default{
  min-height: 60vh;
}

.main-default {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 20px;  
  max-width: 1470px;
  margin: auto;
  align-items: left;
  width: 100%;
  font-size: 1.4rem;
}

.main-default section{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-default ul {
  padding-left: 20px;
}

.main-default ol {
  padding-left: 20px;
}

.main-default aside:not(:has(> ul:empty)) {
  width: 30%;
}

.main-default aside ul {
  padding-left: 20px;
  padding-right: 20px;
}

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

.main-default aside ul li ul li{
  border-bottom: none;
  font-size: 0.7em;
}

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

.main-default aside ul li a{
  color: #808080;
  text-decoration: none;
  font-size: 1rem;
}

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

.main-default section{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ------------------------- */
/* Estilos aside index */
/* ------------------------- */

.index{
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 20px;
  max-width: 1470px;
  margin: auto;
  align-items: left;
}

.index aside {
  width: 30%;
}

.index .content {
  width: 70%;
  display: flex;
  flex-direction: column;
}

.aside-index{
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.informativos-index{
  padding: 20px;
}


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

  .index aside {
    width: 100%;
  }

  .index .content {
    width: 100%;
  }
}

/* ------------------------- */
/* Estilos para la página de nosotros (academicos/funcionarios) */
/* ------------------------- */

.academicos{
  display: flex;
  flex-direction: column;
  margin: auto;
  align-items: left;
  width: 100%;
}

.miembros-directivo {
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  justify-content: center;
}

.miembros {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-content: center;
}

.miembro {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  row-gap: 20px;
  border-radius: 10px;
  width: 250px;
}

.miembro h3 {
  font-family: "HelveticaNeueLTStd-Cn", sans-serif;
  font-size: 20px;
  color: rgb(0, 164, 153);
  font-weight: 600;
  text-align: center;
}

.miembro-detalle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 1px;
}

.miembro-correo{
  font-size: 16px;
  font-family: 'HelveticaNeueLTStd-Cn', sans-serif;
  font-weight: 500;
  color: rgb(57, 64, 73);
}

.miembro-rol{
  font-size: 20px;
  font-family: 'HelveticaNeueLTStd-Cn', sans-serif;
  font-weight: 700;
  color: rgb(234, 118, 0);
  text-align: center;
}

.miembro-telefono{
  font-size: 16px;
  font-family: 'HelveticaNeueLTStd-Cn', sans-serif;
  font-weight: 500;
  color: rgb(57, 64, 73);
}

.miembro-imagen img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}

/* ------------------------- */
/* Estilos para la single miembro */
/* ------------------------- */

.seccion-miembro {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  max-width: 1300px;
  margin: auto;
  align-items: left;
}
.cuerpo-miembro {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 100px;
  padding: 20px;
  margin: auto;
  align-items: flex-start; /* Esto asegura que la imagen y los datos se alineen al principio */
}

.foto-miembro {
  flex: 0 0 15%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.foto-miembro img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}

.datos-miembro {
  flex: 0 0 70%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.datos-miembro h4 {
  font-weight: 500;
  font-size: 1.5em;
  
}


@media (max-width: 768px) {
  .cuerpo-miembro {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .foto-miembro {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .datos-miembro {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
}

.content, .section-info, .section-noticias, .cuerpo-noticias, .actividades {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.nuesta-universidad.section-info {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  margin: 0 auto;
}

.cuerpo-noticias {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.section-noticias {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.actividades, .section-actividades {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .content, .section-info, .section-noticias, .cuerpo-noticias, .actividades, .section-actividades {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
}

.slider-cuerpo2 {
  margin-inline: 1vw;
}

.main-nav ul li a:hover,
.main-nav ul li a:focus,
.main-nav ul li a.active {
  color: var(--main-orange-color) !important;
}

/* Restaurar los bullets solo en el aside lateral oculto */
aside.hidden-responsive ul,
aside.hidden-responsive ol {
  list-style-type: disc;
  padding-left: 1.5em;
}

aside.hidden-responsive li {
  list-style: initial;
}

aside.hidden-responsive li::marker {
  color: #808080;
  font-size: 1em;
}

/* Restaurar los bullets en el contenido de la sección principal de la plantilla default */
.main-default section ul,
.main-default section ol {
  list-style-type: disc;
  padding-left: 1.5em;
}
.main-default section li {
  list-style: initial;
}
.main-default section li::marker {
  color: #808080;
  font-size: 1em;
}

/* 
       Estilos para la página de Documetos
*/
.page-documentos {
  display: flex;
  width: 100%;
  max-width: 1270px;
  margin: 0 auto;
  padding-bottom: 20px;
  padding-top: 20px;
  flex-direction: column;
  gap: 20px;
}

.page-documentos h1{
  font-size: 2.5em;
}


/* Estilos para el contenedor de filtrar */
.filtrar-tipo-documento {
  position: relative;
  display: inline-block;

  
  margin-right: -1px;
}

/* Estilos para el título "Filtrar" (botón) */
.filtrar-tipo-documento h4 {
  display: inline-block;
  font-weight: 400;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  background-color: #E77500;
  border: 1px solid #cc6600;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  cursor: pointer;
}

.filtrar-tipo-documento h4:hover {
  color: #fff;
  background-color: #cc6600;
  border-color: #cc6600;
}

/* Pequeño triángulo indicador */
.filtrar-tipo-documento h4:after {
  content: "▼";
  margin-left: 8px;
  font-size: 12px;
}

.filtrar-tipo-documento h4:active {
  color: #fff;
  background-color: #cc6600;
  border-color: #cc6600;
}


/* Estilos para la lista desplegable */
.filtrar-tipo-documento .tipo-documento {
  position: absolute;
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  min-width: 150px;
  z-index: 100;

}

/* Mostrar la lista al pasar el cursor sobre el contenedor */
.filtrar-tipo-documento:hover .tipo-documento {
  display: block;
}

/* Estilos para cada elemento de la lista */
.filtrar-tipo-documento .tipo-documento li {
  padding: 0;
  margin: 0;
}

.filtrar-tipo-documento .tipo-documento li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s;

  font-family: 'HelveticaNeueLTStd-Cn', sans-serif;
  font-size: 16px;
  font-weight: 400;
  
}

.filtrar-tipo-documento .tipo-documento li a:hover {
  background-color: #f5f5f5;
  color: #00A499
}


.documentos-tabla {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.documentos-tabla thead {
  background-color: #f4f4f4;
}

.documentos-tabla th, .documentos-tabla td {
  padding: 10px;
  border: 1px solid #ddd;
}

.documentos-tabla th a {
  text-decoration: none; /* Quitar subrayado */
  color: inherit; /* Heredar el color del encabezado */
  display: inline-block; /* Mantener el comportamiento en línea */
}

.documentos-tabla th a:hover {
  color: inherit; /* Evitar cambio de color al pasar el cursor */
}


.documentos-tabla .tipo-archivo {
  text-align: center;
  vertical-align: middle;
  width: 80px;
}

.documentos-tabla .descargar-archivo {
  text-align: center;
  vertical-align: middle;
  width: 150px;
}

.documentos-tabla .fecha-publicacion {
  text-align: center;
  vertical-align: middle;
  width: 150px;

  font-size: 14px;
}




.documentos-tabla .tipo-archivo img {
  width: 24px;
  height: auto;
}

.documentos-tabla .nombre-documento h2 {
  font-size: 16px;
  margin: 0;
}

.documentos-tabla .nombre-documento p {
  font-size: 12px;
  color: #555;
}

.documentos-tabla .btn-download {
  display: inline-block;
  padding: 8px 12px;
  background-color: #E77500;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
}

.documentos-tabla .btn-download:hover {
  background-color: #cc6600;
}

@media (max-width: 768px) {
  .page-documentos {
    padding: 0 20px;
  }

  .documentos-tabla .tipo-archivo {
    width: 25px;
  }

  .documentos-tabla .descargar-archivo {
    width: 50px;
  }

}

/* Contenedor principal de la tabla de WordPress */
.wp-block-table {
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
    overflow-x: auto; /* Para tablas que pueden desbordarse en pantallas pequeñas */
}

/* Estilos de la tabla en sí (LA GRAN "TARJETA") */
.wp-block-table table {
    width: 100%;
    border-collapse: collapse; /* Las celdas se fusionan para un solo borde exterior */
    background-color: #f8f8f8; /* Fondo general de la "tarjeta" tabla */
    border: 1px solid #ddd; /* Borde de la "tarjeta" tabla */
    border-radius: 8px; /* Bordes redondeados para toda la "tarjeta" tabla */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra suave para toda la "tarjeta" tabla */
    overflow: hidden; /* Asegura que los bordes redondeados se apliquen bien */
    table-layout: fixed; /* Mantiene el diseño fijo de las columnas */
    transition: box-shadow 0.2s ease-in-out; /* Transición para efecto hover en la sombra */
}

/* Efecto al pasar el ratón por la "tarjeta" tabla completa */
.wp-block-table table:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Sombra más pronunciada al pasar por la tabla */
}


/* Estilos para las celdas de encabezado (th). 
   Si tu HTML usa <td> en la primera fila para los encabezados, tendrás que ajustar esto.
   Basado en tu ejemplo de HTML, la primera fila usa <td> con <strong>.
   Ajustaremos para seleccionar esa primera fila de encabezado.
*/
.wp-block-table thead th, /* Para tablas que usan <thead> con <th> */
.wp-block-table tbody tr:first-child td { /* Para tu caso específico con <td> en la primera fila */
    background-color: #e0e0e0; /* Fondo ligeramente más oscuro para la cabecera */
    font-weight: bold;
    font-size: 1.2rem;
    color: #333;
    padding: 15px 20px; /* Espaciado interno */
    text-align: left; /* Alineación del texto */
    border-bottom: 1px solid #ccc; /* Línea divisoria debajo de la cabecera */
    /* No border-radius aquí, ya que el borde redondeado lo maneja la tabla completa */
}

/* Estilos para las celdas de datos (td) */
.wp-block-table td {
    padding: 15px 20px; /* Espaciado interno */
    font-size: 1rem;
    color: #555;
    text-align: left; /* Alineación del texto */
    /* Si quieres líneas horizontales entre cada fila de datos (opcional, como en tablas tradicionales) */
    /* border-bottom: 1px solid #eee; */
}

/* Si aplicas border-bottom a cada td, quítalo de la última fila para que no haya una línea al final */
/* .wp-block-table tbody tr:last-child td {
    border-bottom: none;
} */

/* Ajuste para el texto en negrita dentro de las celdas de datos, si no quieres que sea negrita */
.wp-block-table td strong {
    font-weight: normal; /* Para que "Rafael Ochoa" no esté en negrita fuerte si no lo deseas */
}

/* Estilos para enlaces dentro de las celdas */
.wp-block-table td a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wp-block-table td a:hover {
    color: #005177;
    text-decoration: underline;
}

/* Para enlaces dentro del contenido principal (párrafos) */
.entry-content a,
.wp-block-paragraph a {
    font-size: inherit; /* Hereda el tamaño de fuente de su elemento padre (el párrafo) */
    font-weight: inherit; /* Hereda el peso de fuente */
    text-decoration: underline; /* Puedes agregar subrayado si lo deseas */
    color: #0073aa; /* Un color de enlace estándar de WordPress, ajusta a tu gusto */
}

.section-noticias h2 {
  margin-inline: 7vw;
  text-align: center;
}


/* ========================================
   NUEVA SECCIÓN DE GALERÍA INICIO
   ======================================== */

/* Contenedor principal de la sección galería */
.galeria-inicio-section {
  padding: 7vw;
  padding-bottom: 20px;
  display: grid;
  height: 100%;
  width: 100%;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
  place-items: center;
}

.galeria-inicio-section header {
  grid-column: 1/-1;
  place-self: baseline;
}

.galeria-inicio-section header h2 {
  font-weight: 900;
  color: var(--main-dark-grey-color);
}

/* Contenedor de vista previa de galerías */
.galeria-inicio-preview {
  grid-column: 1/-1; /* Ocupa todas las columnas */
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /* 3 columnas iguales */
  gap: 50px;
  width: 100%;
  place-items: center;
}

/* Tarjeta individual de galería */
.galeria-inicio-card {
  width: 80%;
  background-color: white;
  padding: 20px;
  border: 1px solid #01a499;
  border-radius: 40px;
}

/* Contenedor de imagen */
.galeria-inicio-imagen {
  aspect-ratio: 20/19;
  width: 100%;
  height: auto;
}

.galeria-inicio-link {
  display: block;
  width: 100%;
  height: 100%;
}

.galeria-inicio-imagen img {
  display: block;
  aspect-ratio: 20/19;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
}

/* Título de la galería */
.galeria-inicio-titulo {
  word-break: break-word;
  padding: 15px 7px;
  font-size: 1.25rem;
  font-weight: 600;
  text-wrap: pretty;
  color: #474d56;
  margin: 0;
}

/* Botón "VER MÁS FOTOS" */
.galeria-inicio-boton {
  border: 1px solid #01a499;
  padding: 6px 12px;
  font-size: 18px;
  font-weight: 900;
  border-radius: 8px;
  color: #f2fbfa;
  background-color: #01a499;
  text-decoration: none;
  display: inline-block;
  transition: filter 0.3s ease;
  grid-column: 1/-1;
  place-self: center;
}

.galeria-inicio-boton:hover {
  filter: saturate(150%);
}

/* Mensaje cuando no hay galerías */
.galeria-inicio-empty {
  grid-column: 1/-1;
  text-align: center;
  color: var(--main-grey-color);
  font-style: italic;
  padding: 20px;
}

/* ========================================
   RESPONSIVE - TABLET (max-width: 1024px)
   ======================================== */

@media (max-width: 1024px) {
  .galeria-inicio-section {
    grid-template-columns: 1fr 1fr;
  }
  
  .galeria-inicio-preview {
    grid-template-columns: 1fr 1fr; /* 2 columnas en tablet */
  }
  
  .galeria-inicio-card {
    width: 90%;
    padding: 3%;
  }
}

/* ========================================
   RESPONSIVE - MÓVIL (max-width: 768px)
   ======================================== */

@media (max-width: 768px) {
  .galeria-inicio-section {
    grid-template-columns: 1fr;
  }
  
  .galeria-inicio-preview {
    grid-template-columns: 1fr; /* 1 columna en móvil */
  }
  
  .galeria-inicio-card {
    width: 90%;
    padding: 3%;
  }
}

/* ========================================
   SINGLE GALERÍA - NUEVOS NOMBRES
   ======================================== */

/* Banner de galería individual */
.galeria-single-banner {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

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

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

.galeria-single-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 */
.galeria-single-seccion {
  padding: 60px 0;
}

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

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

/* Contenido de la galería individual */
.galeria-single-contenedor {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  padding: 40px;
}

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

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

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

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

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

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

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

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

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

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

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

/* ========================================
   GALERÍAS RELACIONADAS
   ======================================== */

.galeria-relacionadas {
  position: relative;
}

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

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

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

.galeria-relacionadas-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%;
}

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

.galeria-relacionadas-imagen {
  overflow: hidden;
  height: 180px;
}

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

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

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

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

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

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

.galeria-relacionadas-enlace:hover {
  background-color: var(--main-orange-color);
}

/* Mensaje cuando no hay galerías relacionadas */
.galeria-relacionadas-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--main-grey-color);
  font-style: italic;
  padding: 30px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

/* ========================================
   RESPONSIVE - TABLET (max-width: 992px)
   ======================================== */

@media (max-width: 992px) {
  .galeria-relacionadas-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

/* ========================================
   RESPONSIVE - MÓVIL (max-width: 768px)
   ======================================== */

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

/* ========================================
   RESPONSIVE - MÓVIL PEQUEÑO (max-width: 480px)
   ======================================== */

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

/* ========================================
   ARCHIVE GALERÍA - NUEVOS NOMBRES
   ======================================== */

/* Banner de archivo de galerías */
.galeria-archive-banner {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

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

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

.galeria-archive-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 */
.galeria-archive-seccion {
  padding: 60px 0;
}

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

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

/* Listado de galerías en el archivo */
.galeria-archive-listado {
  min-height: 50vh;
}

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

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

/* Grid de galerías */
.galeria-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

/* Tarjeta individual de galería */
.galeria-archive-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%;
}

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

/* Imagen de la galería */
.galeria-archive-imagen {
  overflow: hidden;
  height: 180px;
}

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

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

/* Fecha de la galería */
.galeria-archive-fecha {
  padding: 15px 20px 0;
  font-size: 0.9rem;
  color: var(--main-orange-color);
  font-weight: 600;
}

/* Título de la galería */
.galeria-archive-card-titulo {
  padding: 10px 20px;
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: 700;
  color: var(--main-green-color);
  flex-grow: 0;
  margin: 0;
}

.galeria-archive-card-titulo a {
  color: var(--main-green-color);
  text-decoration: none;
}

.galeria-archive-card-titulo a:hover {
  color: var(--main-orange-color);
}

/* Extracto de la galería */
.galeria-archive-extracto {
  padding: 0 20px;
  font-size: 0.95rem;
  color: var(--main-grey-color);
  line-height: 1.5;
  flex-grow: 1;
}

/* Enlace "VER GALERÍA" */
.galeria-archive-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;
}

.galeria-archive-enlace:hover {
  background-color: var(--main-orange-color);
}

/* ========================================
   PAGINACIÓN DE GALERÍAS
   ======================================== */

.galeria-archive-paginacion {
  margin-top: 50px;
  text-align: center;
}

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

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

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

/* ========================================
   MENSAJE CUANDO NO HAY GALERÍAS
   ======================================== */

.galeria-archive-empty {
  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;
}

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

.galeria-archive-empty p {
  color: var(--main-grey-color);
  font-size: 1.1rem;
}

/* ========================================
   RESPONSIVE - TABLET (max-width: 992px)
   ======================================== */

@media (max-width: 992px) {
  .galeria-archive-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .galeria-archive-paginacion .page-numbers {
    padding: 6px 12px;
    margin: 0 3px;
  }
}

/* ========================================
   RESPONSIVE - MÓVIL (max-width: 768px)
   ======================================== */

@media (max-width: 768px) {
  .galeria-archive-banner {
    height: 200px;
  }
  
  .galeria-archive-overlay h1 {
    font-size: 2.5rem;
  }
  
  .galeria-archive-titulo {
    font-size: 1.8rem;
  }
  
  .galeria-archive-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* ========================================
   RESPONSIVE - MÓVIL PEQUEÑO (max-width: 480px)
   ======================================== */

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

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