@import "header_footer_2.css";

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


/* CONTENIDO REPORTAJES */
.contenido-investigacion {
    width: 100%;      
    margin: 0 auto; 
  }


/* INTRODUCCIÓN - DONDE VA TÍTULO Y FOTO PRINCIPAL */

.intro{
    width: 60%;      
    margin: 0 auto;
    justify-content: center;
}

.titulo2{
    color: #8a623c;
    text-align: center;
    margin-bottom: 0px;
    padding: 2% 0% 3% 0%;
    font-size: 5vh;
    font-family: "Sansita", sans-serif;
    font-weight: 400;
    font-style: normal;

}

.intro .titulo2{
    padding: 4% 5%;
    display: block;
}

.intro .sumario{
    font-family: "Belleza", sans-serif;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.6;
    padding: 0% 3% 4% 3%;
}

.contenido-investigacion .intro figure picture > img {
  height: auto;
  width: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.contenido-investigacion .intro figure>img{
    height: auto;
    width: auto; 
    max-width: 100%;
    display: block; /* Asegura que la imagen se comporte como un bloque */
    margin: 0 auto; /* Centra la imagen horizontalmente */
}

/* CUERPO */

/* Esto elimina el padding superior del cuerpo cuando la intro no tiene una imagen (figure) */
.intro:not(:has(figure)) + .cuerpo {
    padding: 0 0 2em 0; 
  }

.cuerpo{
    width: 50%;      
    margin: 0 auto; 
    padding: 2em 0;
}

.cuerpo .autor{
    font-family: "Belleza", sans-serif;
    font-weight: bold;
    /* color: rgb(234, 140, 27); */
}

.cuerpo .fecha-publicacion{
    font-family: "Belleza", sans-serif;
    font-weight: bold;
    padding-top: 1%;
    padding-bottom: 4%;
    /* color: rgb(0, 64, 91); */
}

.cuerpo a{
    color: rgb(234, 140, 27);
    font-style: none;
    text-decoration: none;
    font-family: "Belleza", sans-serif;
}

.audio_spreaker{
    margin-bottom: 1em;
}

h3{
    font-family: "Sansita", sans-serif;
    font-style: normal;
    color: rgb(0, 64, 91);
    font-size: 3.5vh;
    padding: 0 0 15px 0;
}

h4{
    font-family: "Sansita", sans-serif;
    font-style: normal;
    color:  #40560c;
    font-size: 2.5vh;
    padding: 0 0 15px 0;
}


p{
    font-family: "Belleza", sans-serif;
    font-weight: 350;
    font-size: 1.15rem;
    font-style: normal;
    line-height: 1.6;         
    margin: 0px 0px 1em 0px;  /* Espaciado entre párrafos */
    text-align: justify;     
}

p.destacado{
    color: rgb(234, 140, 27);
    text-align: justify;
    font-size: 4.5vh;
    font-style: normal;
    padding-inline: 5vw;
}

p.disclaimer{
    font-weight: bold;
}


.cuerpo figure{
    width: 90%;
    display: block;
    margin: 2em auto 2em auto;
    text-align: center;
}

.cuerpo figure img{
        max-width: 100%;
        max-height: 80vh;
}

figure img.imagen-grande {
    width: 80%;
    max-height: 100%;
    height: auto;
}

.cuerpo figure iframe{
    width: 100%;
}

.cuerpo figure .img_baja_resolucion{
    width: 100%;
    max-height: 70vh;
}

.cuerpo figure figcaption{
    width: 100%;
    font-weight: bold;
    margin-top: 1.5em;
    font-size: 1rem;
    font-family: "Belleza", sans-serif;
} 

.cuerpo figure video{
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
}

.divider {
      display: flex;
      justify-content: center; /* Centra los puntos horizontalmente */
      align-items: center;
      gap: 30px; /* Espacio entre los puntos */
      margin: 40px 0; /* Margen superior e inferior */
    }

    .dot {
      width: 7px;
      height: 7px;
      background-color: black;
      border-radius: 50%; /* Los hace circulares */
    }

#portada_pesca_movil{
    display: none;
}

/* DISEÑO RESPONSIVE */

/*Media Query para pantallas pequeñas tipo tablet */
@media (max-width: 1300px) {
    .contenedor{
        width: 85%; 
    }
}


/* Media Query para pantallas tipo celular  */
@media (max-width: 768px) {

    .intro{
        width: 90%; 
    }

    .titulo2{
        font-size: 4vh;
        font-weight: 500;
        padding: 2% 0% 3% 0%;
        line-height: 1;
        text-align: left;
        letter-spacing: 0.1rem;
    }

    .intro .sumario{
        line-height: 1.4;
        font-size: 1.12rem;
    }
    

    .cuerpo{
        width: 80%;
    }

    .cuerpo p{
        line-height: 1.3;
    }

    .contenido-investigacion .intro figure>img{
        height: 40vh;
        width: 100vw; 
        display: block; 
        margin: 0 auto;
    }

    .contenido-investigacion .intro .vertical>img{
        height: 55vh;
        width: 80vw; 
        display: block; 
        margin: 0 auto; 
    }

    .cuerpo figure{
        width: 100%; 
    }

    .cuerpo figure iframe{
        height: 25vh;
    }

    .audio_spreaker{
        height: 10vh;
    }

    p.destacado{
        text-align: justify;
        font-size: 3.5vh;
        line-height: 1.12;
    }

    #portada_pesca_movil{
        display: block;
    }

    #portada_pesca_pc{
        display: none;
    }
}
