*{  
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;   
}

body {
    font-family: questrial;
    color: #414242;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}






.espaciodelectura {
    margin-top: 100px;
    margin-bottom: 100px;
    background-color: rgb(255, 255, 255);
}

.espaciodelectura-content {
    margin-bottom: 60px;
}

.espaciodelectura h2 {
    letter-spacing: 0.8px;
}

.espaciodelectura-content p {
    width: 60%;
    text-align: left;
    letter-spacing: 0.5px;
    line-height: 25px;  
}


.espaciodelectura-content a:hover {
    transform: translateX(-10px);         /* Mueve el elemento a la izquierda con un valor negativo */
    color: rgb(0, 161, 182);
}


.espaciodelectura-group {
    display: flex;
    justify-content: space-between;
}

.articulo {
    display: inline-block;
    width: 280px;
    background-color: rgb(255, 255, 255)
}

.imagen-articulo {
    width: 280px;
    height: 370px;
    overflow: hidden; /* Asegura el recorte */
}

.articulo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta y recorta */
    object-position: center; /* Posiciona el recorte */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto al pasar el cursor */
.articulo img:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.articulo h2 {
    padding: 0px 10px;
    text-align: left;
    font-size: 21px;
    letter-spacing: 1px;
    line-height: 32px;
    color: #414242;
    height: 125px;
}

.articulo h2:hover {
    color: rgb(112, 112, 112);
}

.articulo h5 {
    text-align: left;
    padding: 0px 10px;
    letter-spacing: 2.5px;
    line-height: 25px;
    font-size: 10px;
}

.articulo p {
    line-height: 25px;
    letter-spacing: 0.5px;
    text-align: justify;
    padding: 0px 10px;
    height: 280px;
}





.btn-articulo-leermás {
    display: inline-block;
    background-color: #efefef;
    color: #414242;
    padding: 8px;
    border: #323337 solid 0px;
    border-radius: 0px;
    font-size: 12px;
    margin-left: 10px;
    margin-bottom: 20px;
}

.btn-articulo-leermás:hover {
    color: rgb(0, 161, 182);
    background-color: #efefef;
    border-color: rgb(0, 161, 182);
}





.contenedor-compartir {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 10px;
}

.texto-compartir {
    font-size: 13px;
}

.redes-sociales {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.red-social {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: white;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto al pasar el cursor */
.red-social:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Colores de cada red social */
.fb { background-color: #3b5998; }  /* #3b5998 color de fb para que solo la f cambie */
.x { background-color: #000000; }  /* #1da1f2 color oficial twitter */
.whatsapp { background-color: #25d366; }