*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
  --grisa:#d6dddf;
  --iluna:#333333;
  --urdiniluna:#1b2b40;
  --berdea:#1fc73a;
  --berdeurdina:#04bf8a;
  --urdinberdea:#08a6a6;
  --urdina:#0d7f8c;
  --argia:#ffffff;
}

body {
      margin: 0;
  font-family: "DM Sans", sans-serif;
      color: var(--iluna);
  }
header{
    gap: 20px;
    display: flex
;
    justify-content: space-between;
    align-items: start;
    padding: 20px;
    background:var(--argia);
}
.logo{
    width:250px;
}
.menu{
    display: flex;
    gap: 20px;
    margin-left: auto;
      font-family: "DM Sans", sans-serif;

}

.textu-legalak{
        align-self: end;
    justify-self: end;
    flex-basis: 100%;
    text-align: right;
    display: flex
;
    gap: 10px;
    justify-content: end;
}
.textu-legalak a{
    color:var(--iluna);
    text-decoration: none;
    opacity:0.5;
        font-size: 0.7em;
}

.hizkuntz{
    z-index: 999;
}

.hizkuntzak-secundario{
        display: flex;
    gap: 20px;
    list-style-type: none;
    font-size: 0.6em;
    line-height: 120%;
    text-transform: uppercase;
    margin-top: 50px;
}

.hizkuntz-btn{

    background: var(--berdea);
    color: var(--iluna);
    border-radius: 10px;
    display: flex
;
    align-items: center;
    cursor: pointer;
    outline: none;
    transition: transform 0.3s, background 0.5s ease;
    justify-content: center;
    font-size: 1.2em;
    padding: 5px 10px;
    border:0;
    height: 40px;
}

    .toggle-btn svg path{
        transition: fill 0.5s ease;
        fill:var(--asfaltoa);
    }

        .toggle-btn:hover, .hizkuntz-btn:hover{
            background: var(--asfaltoa);
        }


        .argi .hizkuntz-btn:hover{
            background: var(--karea);
        }



        .toggle-btn:hover svg path {
            fill: var(--hondarra) !important;
        }

.language-menua {
    list-style: none;
    padding: 0;
    margin: 0;
   /* position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);*/
    display: none;
    flex-direction: column;
}

.language-menua li {
    margin: 0;
    cursor: pointer;
    transition: transform 0.3s, opacity 0.3s;
    transform: translateY(20px);
    opacity: 0;
}

.language-menua li a{
cursor: pointer;
    transition: background 0.5s ease, color 0.5s ease;
    background-color:transparent;
    color: var(--iluna);
    padding: 5px 10px;
    align-items: center;
    border-radius: 50px;
    text-decoration: none;
    line-height: 1;
    font-size: 1.1em;
    display: flex;
    text-transform: uppercase;
    justify-content: center;
    font-weight: 400;
        display: flex;
            align-items: center;
    justify-content: center;
}

.language-menua li a:hover{
    color:var(--berdea)

}

.language-menua.show li {
    transform: translateY(0);
    opacity: 1;
}






.menu a svg{
    width: 30px;
    height:30px;
}

.menu a svg path{
    stroke:var(--berdea);
    stroke-width: 1.5px;
}
.menu span{
    align-items:center;
    display: flex;
}
.menu a{
  font-family: "DM Sans", sans-serif;
  text-decoration: none;
  color:var(--iluna);
  font-weight: 400;
  font-size: 1.2em;
      padding: 5px 10px;
}
.menu a.kontaktua-btn{
    background: var(--iluna);
    border-radius: 10px;
    color:var(--argia);
}
.alt-font{
      font-family: "Oswald", sans-serif;
      font-weight: 400;

}
.hasiera-slider{
    display: flex
;
    background: var(--argia);
    flex-wrap: wrap;
    gap: 40px;
    flex-direction: column;
}
.hasiera-irudia{
height: 20vh;
width: 100%;
background-image: url(../images/copreci-home-slider.webp);
background-size: cover;
background-position: 100% 57%;
background-repeat: no-repeat;
align-self: end;
}
.hasiera-botoia{
    

}
.hasiera-slider .h1titulua{
        padding: 40px;
        max-width: 60%;
    margin-left: auto; 
}
.hasiera-slider .h1titulua h1{
    font-size: 4em;
    line-height: 100%; 
        margin-bottom: 55px;  
}

.h1titulua a{
        border: 2px solid;
    color: var(--berdea);
    border-radius: 10px;
    padding: 5px 10px;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.h1titulua a:hover{
    color: var(--argia);
    background: var(--berdea);
        border-color: var(--berdea);


}
.hasiera-emaitzak{
        display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 150px 80px;
}

.hasiera-emaitzak .titulo-sekzioa{

    flex-basis: 100%;
    text-align: center;
    font-size: 4em;
    line-height: 100%;
}






.hasiera-zerda{
    display: flex;
    padding: 80px 40px;
    background:var(--grisa);
    gap: 40px;
}
.zerda-1{
    flex-basis: 30%;

}
.zerda-1 h3,.zerdugu-1 h3{
        font-family: 'Oswald';
    font-weight: 400;
    font-size: 2.5em;
    line-height: 100%;
}
.zerda-2{
    flex-basis: calc(70% - 40px);
    justify-content: space-between;
    display: flex;
    flex-direction: column;
}
.zerda-2 p,.zerdugu-2 p{
    font-size: 1.2rem;
}
.video-thumbnail {
    position: relative;
    display: inline-block;
    width: 50%;
    height: auto;
    overflow: hidden;
    border-radius: 20px;
    margin-top: 100px;
}

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

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
  color: white;
  text-shadow: 0 0 10px rgba(0,0,0,0.7);
  pointer-events: none;
}

.zerda-botoiak{
    display: flex;
    gap: 20px;
}
.zerda-botoiak a:nth-of-type(1){
        border: 2px solid;
    color: var(--berdea);
    border-radius: 10px;
    padding: 5px 10px;
    font-size: 1.2rem;
    text-decoration: none;
}

.zerda-botoiak a:nth-of-type(2){
        border: 2px solid;
    color: var(--iluna);
    border-radius: 10px;
    padding: 5px 10px;
    font-size: 1.2rem;
    text-decoration: none;
}


.zerda-botoiak a:hover{
    color: var(--argia);
    background: var(--berdea);
        border-color: var(--berdea);


}








.objetivos{
    display: flex;
flex-wrap: wrap;    gap: 20px;
    padding: 30px;

}
.objetivo-num{
    font-size:3em;flex-basis: 100%;padding: 20px;color:white;
}
.weeeloop-kpis{
  margin-bottom: 100px;
}
.weeeloop-kpis h2{
  text-align: center;
    margin-top: 100px;
    margin-bottom: 50px;
    font-family: 'Oswald';
    font-weight: 400;
    font-size: 3em;
}
.weeeloop-objetivos h2{
      text-align: center;
    margin-top: 0px;
    margin-bottom: 50px;
    font-family: 'Oswald';
    font-weight: 400;
    font-size: 4em;

}
.objetivo-foto{
        height: 30vh;
        border-top-left-radius: 18px;
        border-top-right-radius: 18px;
        width: 100%;
        background-size: cover;
        background-repeat: no-repeat;
}


.content-objetivo{
    padding: 20px;
}


   .objetivo:first-child .objetivo-foto{
      background-image: url(../images/life_1.jpg);
   }   
   .objetivo:nth-child(2) .objetivo-foto{
      background-image: url(../images/life_3.jpg);
   }   
   .objetivo:nth-child(3) .objetivo-foto{
      background-image: url(../images/life_5.jpg);
   }   
   .objetivo:nth-child(4) .objetivo-foto{
      background-image: url(../images/life_4.jpg);
   }   
   .objetivo:nth-child(5) .objetivo-foto{
      background-image: url(../images/life_2.jpg);
   }   
.objetivo{
    border-radius: 20px;
    padding: 0px 0px 10px 0px;
    display: flex
;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-basis: calc(33% - 30px);
}
.objetivo:first-child{
border: 2px solid var(--berdea);
    color: var(--berdea);}
.objetivo:nth-child(2){
        border: 2px solid var(--berdeurdina);
        color: var(--berdeurdina);
}
.objetivo:nth-child(3){
        border: 2px solid var(--urdinberdea);
        color: var(--urdinberdea);
}
.objetivo:nth-child(4){
        border: 2px solid var(--urdina);
        color: var(--urdina);
}
.objetivo:nth-child(5){
        border: 2px solid var(--urdiniluna);
        color: var(--urdiniluna);
}


.titulo-objetivo{
    font-family: 'Oswald';
    font-size: 2em;
    padding:20px;
    line-height: 100%;
}

.objetivo:first-child .titulo-objetivo{color:var(--berdea)}
.objetivo:nth-child(2) .titulo-objetivo{color:var(--berdeurdina)}
.objetivo:nth-child(3) .titulo-objetivo{color:var(--urdinberdea)}
.objetivo:nth-child(4) .titulo-objetivo{color:var(--urdina)}
.objetivo:nth-child(5) .titulo-objetivo{color:var(--urdiniluna)}


.content-objetivo{
    align-self: end;
}

.content-objetivo p{margin-top: 10px;}

.kpi-slider-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  gap: 10px;
  overflow: hidden;
}

.kpi-slider {
  overflow: hidden;
  flex: 1;
}

.kpi-slider-track {
  display: flex;
  transition: transform 0.4s ease;
  gap: 20px;
  will-change: transform;
}

.kpi-card {
width: 25%;
    background: #f4f4f4;
    /* border-left: 4px solid #0073aa; */
    padding: 20px;
    box-sizing: border-box;
    flex-shrink: 0;
    border-radius: 10px;
  }

.kpi-slider-arrow {
font-family: 'Oswald';
    color: var(--iluna);
    background: transparent;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 25px;
    border-radius: 4px;
    z-index: 1;
    font-weight: 800;
  }

@media (max-width: 1024px) {
  .kpi-card { min-width: 50%; }
}

@media (max-width: 600px) {
  .kpi-card { min-width: 100%; }
}




.descargas-cabecera{
        display: flex
;
    padding: 20px;
    margin-bottom: 100px;
}

.descargas-cabecera h1{
    font-family: 'Oswald';
        font-size: 4em;
    line-height: 100%;
    flex-basis: 50%;
    font-weight: 400;
}
.descargas-cabecera p{
    flex-basis: 50%;
}




.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  position: relative;
  background: #000;
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(255,255,255,0.3);
}

.popup-content iframe {
  display: block;
  border-radius: 8px;
}

.close-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  background: #fff;
  color: #000;
  font-size: 24px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  width: 35px;
  height: 35px;
}













.hasiera-zeregitendugu{
        display: flex;
    padding: 80px 40px;
    gap: 40px;
}

.zerdugu-1{
    flex-basis: 50%;
    gap: 50px;
    display: flex;
    flex-direction: column;

}

.zerdugu-2{   
 justify-content: space-between;
    display: flex;
    flex-direction: column;

    flex-basis: calc(50% - 40px);

}






.fitxa-emaitza{
    flex-wrap: wrap;
    display: flex;
    flex-basis: calc(33.3333333333% - 20px);
    border-radius: 20px;
    height: 50vh;
    padding: 20px;

}
.fitxa-header{
    flex-basis: 100%;
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 20px;
    color: var(--argia);
    font-size: 2em;
    font-weight: 200;
}
.fitxa-emaitza p{
    align-self: end;
    color: var(--argia);
        font-size: 1.5em;
    font-weight: 300;
}
.fitxa-emaitza p b{
    font-weight: 600;
}
.ikono-emaitza{
    width: 50px;
}
.fitxa-emaitza:nth-of-type(1) {
  background: var(--urdiniluna);
}
.fitxa-emaitza:nth-of-type(2) {
  background: var(--urdina);
}
.fitxa-emaitza:nth-of-type(3) {
  background: var(--urdinberdea);
}
.fitxa-emaitza:nth-of-type(4) {
  background: var(--berdeurdina);
}
.fitxa-emaitza:nth-of-type(5) {
  background: var(--berdea);
}
.fitxa-emaitza:nth-of-type(6) {
  background: var(--grisa);
}

p.tagline-botoia{
        font-family: "Oswald";
    color: var(--iluna);
    font-size: 3em;
    line-height: 110%;
    margin-bottom: 10px;
    text-align: right;
    font-weight: 400;
}
.fitxa-botoia{
    border: 2px solid;
    color: var(--iluna);
    text-decoration: none;
    /* flex-basis: 100%; */
    height: auto;
    align-self: start;
    justify-self: flex-start;
    margin-left: auto;
    margin-right: auto;
    border-radius: 100px;
    padding: 5px 10px;}





.hasiera-partehartzaileak{
    display:flex;
    height: 80vh;
    background: var(--grisa);
}
.partehartzaile-irudia{

    flex-basis:50%;
    background-image: url(../images/copreci-home-1.webp);
    background-size: cover;
    background-repeat: no-repeat;
}
.partehartzaile-textua{
    flex-basis:50%;
    display: flex;
    padding: 50px;
    flex-wrap: wrap;
    justify-content: center;
}
.partehartzaile-titulua{
        font-size: 5em;
    line-height: 110%;
}

.partehartzaile-botoia{
    border: 2px solid;
    color: var(--iluna);
    text-decoration: none;
    /* flex-basis: 100%; */
    height: auto;
    align-self: end;
    justify-self: start;
    /* margin-left: auto; */
    margin-right: auto;
    border-radius: 10px;
    padding: 5px 10px;
    font-size: 1.2em;
}




.hasiera-helburuak{
    display: flex;
    height: 80vh;
    background: var(--grisa);
    position: relative;
}
.helburuak-text{
    color: var(--argia);
    position: absolute;
    top: 40px;left: 40px;
    font-size: 2.3rem;
      font-family: "Oswald", sans-serif;
      font-weight: 400;
      z-index: 9;

}
.helburuak-irudia{
    flex-basis: 50%;
}
.helburuak-irudia{
    background-image:url(../images/copreci-helburuak.webp);
    background-size: cover;
    background-repeat: no-repeat;
}


.helburuak-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-basis: 50%;
}

.helburuak-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
    align-items: end;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 100px 40px;
    background-color: var(--bg-color, #fff);
    opacity: 0;
    display: none;
    font-size: 1.4rem;
    color: var(--argia);
}

.slide.active {
  display: flex;
  opacity: 1;
  z-index: 1;
}

.slider-arrow {
    color: var(--argia);
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  z-index: 2;
  position: absolute;
        font-family: "Oswald", sans-serif;

}

.slider-arrow.prev {
    top: 40px;
    right: 80px;
  }
.noticia-prev{
        top: 40px;
  left:calc(50% - 90px)
}







.slider-arrow.next{
    top: 40px;
    right: 40px;
  }
.noticia-next{
        top: 40px;
    left: calc(50% - 50px);

}
.slider-counter {
        color: var(--argia);
  position: absolute;
  bottom: 40px;
  left: 40px;
    font-size: 2em;
    font-weight: 200;
      z-index: 9;
}




#mas{
        padding: 30px;
    display: flex
;
    flex-wrap: wrap;
    gap: 30px;
}
.contenedor-noticias {
  padding: 40px 20px;
  margin: 0 auto;
}

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

.noticia-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.noticia-thumb {
  background-size: cover;
  background-position: center;
  height: 180px;
}

.noticia-contenido {
  padding: 15px;
}

.noticia-titulo {
  font-size: 2em;
  margin: 0 0 10px;
    font-family: 'Oswald';
    font-weight: 400;
    line-height: 1;
}

.noticia-titulo a{
    color:var(--iluna);
    text-decoration: none;
}

.noticia-fecha {
  font-size: 0.9em;
  color: #888;
  margin-bottom: 10px;
}

.noticia-extracto {
  font-size: 1em;
  color: #333;
}
.wp-block-image img{
    border-radius: 15px;
}
















  .pagina-contacto {
    padding: 50px 20px;
  }

  .contacto-contenedor {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0 auto;
        align-items: start;
    justify-content: start;
  }

  .contacto-formulario,.contacto-texto {
    flex-basis:calc(50% - 30px);
  }

  .wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
}

.wpcf7-form-control-wrap {
  position: relative;
  display: block;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #f9f9f9;
  font-size: 16px;
  transition: all 0.3s ease;
  outline: none;
  font-family: 'DM Sans';
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
  border-color: #000;
  background: #fff;
}

.wpcf7 textarea {
  resize: vertical;
  min-height: 120px;
}

.wpcf7 input[type="submit"] {
  background: #000;
  color: #fff;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
  background: #333;
}

/* Mensajes de validación */
.wpcf7-response-output {
  margin-top: 15px;
  font-size: 14px;
  padding: 10px 15px;
  border-radius: 6px;
}

.wpcf7-mail-sent-ok {
  background: #e6f9ec;
  color: #2d8a4d;
  border: 1px solid #2d8a4d;
}

.wpcf7-validation-errors {
  background: #fcebea;
  color: #cc1f1a;
  border: 1px solid #cc1f1a;
}

.wpcf7-spinner {
  display: none !important;
}




  @media (max-width: 768px) {
    .contacto-formulario,
    .contacto-texto {
      flex-basis: 100%;
    }
  }

  .nombre-contacto{
        font-size: 2em;
    font-family: 'Oswald';
  }

  .mail-contacto,.trabajo-contacto{
    font-size:1.2em;color: var(--iluna);text-decoration: none;
    transition: all ease 0.3s;

  }
  .mail-contacto:hover{
    color:var(--berdea);
  }
  .contacto-ficha{
    margin-top: 20px;
  }

  .contacto-texto {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .contacto-texto h2 {
    margin-bottom: 20px;
        font-size: 4em;
    line-height: 1;
  }









.hasiera-berriak{
    height: auto;
    display: flex;
    justify-content: end;position: relative;}

.berriak-tit{
    position: absolute;
    left: 40px;
    font-family: 'Oswald';
    top: 40px;
    font-weight: 400;
    font-size: 4em;

}

.boton-noticias{

        position: absolute;
    bottom: 40px;
    left: 40px;
    border: 2px solid var(--iluna);
    text-decoration: none;
    border-radius: 10px;
    color:var(--iluna);
        padding: 5px 10px;
    font-size: 1.2rem;
}
.noticias-slider {
  
  overflow: hidden;
  flex-basis: 50%;
}

.noticias-slider-inner {
  display: flex;
  transition: transform 0.5s ease;
}

.noticia-slide {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 20px;
}
.noticia-slide .noticia{ 
    border-radius: 10px}
.noticia-slide .noticia img {
width: 100%;
    object-fit: cover;
    height: 400px;
    border-radius: 10px 10px 0px 0px;
object-position: center}

.noticia-contenido {
  padding: 20px;
}


.noticia-contenido h3{
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 2.3rem;
    line-height: 100%;

}

.noticia-leer-mas {
  display: inline-block;
  margin-top: 10px;
  padding: 0.5rem 1rem;
  background: #B91828;
  color: white;
  text-decoration: none;
}

.noticia-prev,
.noticia-next {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    z-index: 2;
    position: absolute;
    font-family: "Oswald", sans-serif;
    color:var(--iluna);

}




.tit-socios{
    text-align: center;
    margin-top: 30px;
    margin-bottom: 50px;
    font-family: 'Oswald';
    font-weight: 400;
    font-size: 3em;
    line-height: 100%;
}
.logo-soc{
        display: flex;
    flex-direction: column;
}
.logo-soc svg{
    width: 80%;
    margin: auto;
}

.logos-socios{
    display: flex;
    gap: 30px;
    padding: 30px;
    margin-bottom: 100px;
        align-items: center;
    justify-content: center;
}
.tag-socio{
    text-align: center;
    margin-top: 50px;
}
.tag-socio p{
    font-size:2em;
    margin-bottom: 30px
}
.enlaces-socio{
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: center;
    margin: auto;
    justify-content: center;
    margin-bottom:30px;
}
.enlaces-socio a:first-child{
    border: 2px solid;
    color: var(--iluna);
    border-radius: 10px;
    padding: 5px 10px;
    text-decoration: none;
    transition: all ease 0.3s;
}
.enlaces-socio a:first-child:hover{
    background: var(--iluna);
    color: var(--argia);
    border-color: var(--iluna);
}


.enlaces-socio a:nth-child(2){
border: 0;
    background: transparent;
    color: var(--argia);
    border-radius: 0;
    padding: 0;
    text-decoration: none;
    transition: all ease 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;

}
.enlaces-socio a:nth-child(2) svg path{
        transition: all ease 0.3s;
        fill:var(--iluna);

}
.enlaces-socio a:nth-child(2):hover svg path{
    fill: var(--berdea);
}

.enlaces-socio a svg{
    width: 33px;
}











footer{
    background: var(--grisa);
    padding:20px;
}
.fot-1{
        display: flex
;
    justify-content: space-between;
}

.fot-1 .zutabe:first-child{
    flex-basis: 40%;
}

.footer-tag{
        font-size: 12vw;
  font-family: "DM Sans", sans-serif;
}
.logos-fot{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: end;
}

.logo-fot{
    width: 200px;

}
.logo-fot svg path,.logo-fot svg rect,.logo-fot svg polygon{
    fill:var(--iluna)!important;
}
.logo-fot:nth-of-type(1) {
  padding: 0;
}

.logo-fot:nth-of-type(2),
.logo-fot:nth-of-type(3),
.logo-fot:nth-of-type(5) {
  padding: 20px;
}

.logo-fot:nth-of-type(4) {
  padding: 15px;
}
.footer-down{
    display: flex;
    flex-wrap: wrap;
}
.footer-down svg{
    flex-basis: 20%;
}
.leyenda-logo{
    flex-basis:25%;
}
.leyenda-logo{
    font-size:0.7em;
}
.leyenda-logo-2{
    flex-basis:50%;
}






/* --- INICIO: ESTILOS PARA MENÚ MÓVIL --- */

/* 1. Botón de Hamburguesa (inicialmente oculto en escritorio) */
.menu-toggle {
    display: none; /* Oculto en pantallas grandes */
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* Prioridad alta para que esté por encima de otros elementos */
    flex-direction: column;
    justify-content: space-around;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--iluna); /* Color de las barras */
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}


/* 2. Media Query para pantallas de 992px o menos */
@media (max-width: 992px) {

    .hasiera-slider .h1titulua{
        max-width: 100%;
    }
    .video-thumbnail{
        width: 85%;
    margin-top: 40px;

    }
    .fitxa-emaitza{

        flex-basis: calc(100%);
        height: auto;
        min-height: 40vh;
            }
    
    .hasiera-emaitzak{
        padding: 90px 40px;
    }
    /* Mostrar el botón de hamburguesa y ocultar el menú de texto */
    .menu-toggle {
        display: flex; /* Lo hacemos visible */
        order: 3; /* Lo movemos al final si es necesario (opcional) */
        margin-left: 20px;
    }
    
    /* Estilos del menú cuando está en modo móvil (oculto por defecto) */
    .menu {
        position: fixed; /* Lo sacamos del flujo normal */
        top: 0;
        right: 0;
        width: 100%; /* Ocupa el 80% del ancho de la pantalla */
        height: 100vh; /* Ocupa toda la altura */
        background-color: var(--argia); /* Fondo */
        flex-direction: column; /* Apila los enlaces verticalmente */
        justify-content: center; /* Centra los enlaces verticalmente */
        align-items: center; /* Centra los enlaces horizontalmente */
        gap: 30px; /* Más espacio entre enlaces */
        margin-left: 0;
        padding: 60px 20px; /* Espaciado interno */
        transform: translateX(100%); /* Lo mueve fuera de la pantalla a la derecha */
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1); /* Sombra para destacarlo */
    }

    /* Clase que se añade con JS para mostrar el menú */
    header.menu-abierto .menu {
        transform: translateX(0); /* Lo trae de vuelta a la pantalla */
    }
    
    /* Animación del botón hamburguesa a 'X' cuando el menú está abierto */
    header.menu-abierto .menu-toggle span:nth-child(1) {
        transform: translateY(15px) rotate(45deg);
    }
    
    header.menu-abierto .menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    
    header.menu-abierto .menu-toggle span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }
    
    .menu a {
        font-size: 1.5em; /* Letra más grande para mejor legibilidad */
    }
}


@media (max-width: 600px) {

    .footer-down{
        gap: 20px;
    }

    .noticia-fecha{
        margin-top: 20px;
    }

.noticia-next,.noticia-prev{
    top:60px;
}
.noticia-prev{
    left: 10px;right: unset;
}
.noticia-next{
    left: unset;right: 10px;
}
.boton-noticias{
        width: calc(100% - 80px);
    text-align:center;
}
    .hasiera-berriak{
        padding-bottom: 100px;
        flex-wrap: wrap;
    }

    .gdb-file-description{
          white-space: normal!important;      /* Permite saltos de línea automáticos */
  word-break: break-word!important;   /* Rompe palabras largas si es necesario */
  overflow-wrap: break-word!important; /* Compatible con navegadores modernos */

    }
.footer-down svg,.leyenda-logo-2,.leyenda-logo{
    flex-basis: 100%;
}
.logos-socios{
    flex-wrap: wrap;
}
.objetivo{
    height: auto;flex-basis: 100%;
}
    .logo-fot{
            width: 150px;
    margin: auto;
    }
    .logos-fot{
            margin-top: 50px;
    margin-bottom: 50px;
    }

    .fot-1 .zutabe:first-child{
        flex-basis: 100%;
    }

    .noticias-slider{
        flex-basis: 100%;
    }
.zerda-botoiak a:nth-of-type(1){
                width: 100%;
        text-align: center;
        flex-basis: 50%;

    }
.berriak-tit{
        position: unset;
    left: 40px;
    font-family: 'Oswald';
    top: 40px;
    font-weight: 400;
    font-size: 3em;
    text-align: center;
    margin: auto;
    margin-bottom: 50px;
}

    .partehartzaile-textua{
        flex-basis: 100%;
    }
    .partehartzaile-botoia{
            width: 100%;
    text-align: center;
    }
    .fitxa-botoia{
        width: 100%;
    text-align: center;
    }
    .hasiera-partehartzaileak{
        height: auto;
    }

    .hasiera-emaitzak{
                padding: 50px 20px;
    }

    .partehartzaile-titulua{
        font-size: 3em;
        line-height: 100%;
        margin-bottom: 40px;
    }

    .partehartzaile-irudia{
        height: 42vh;
        flex-basis: 100%;
    }

    .hasiera-emaitzak .titulo-sekzioa{
        font-size: 3em;
        margin-bottom: 40px;
    }
    .zerda-1,.zerda-2,.zerdugu-1,.zerdugu-2,.helburuak-slider-wrapper,.helburuak-irudia{
        flex-basis: 100%;
    }

.slider-arrow.prev,.slider-arrow.next{
        bottom: 10px;
        top: unset;
    }

    .helburuak-slider{
    padding-top:130px;
}
    .zerda-botoiak{
        margin-top:50px;
    }

        .video-thumbnail {
        width: 100%;
        margin-top: 20px;
    }

.hasiera-slider .h1titulua h1{
    font-size: 3em;

}
.hasiera-zerda,.hasiera-zeregitendugu,.hasiera-helburuak,.hasiera-partehartzaileak{
    flex-wrap: wrap;
}

.h1titulua a{
    display:block;
    margin: auto;
    text-align: center;
}
}
/* --- FIN: ESTILOS PARA MENÚ MÓVIL --- */
