/* === NOTICIA: PORTADA === */
.noticia-portada {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: #fff;
  text-align: left;
}

.imagen-principal {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: -1;
}

.filtro {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.8));
  z-index: 0;
}

.texto-portada {
  position: relative;
  z-index: 1;
  padding: 2rem;
  max-width: 800px;
}

.categoria {
  background-color: #7c77ff;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  padding: 0.4rem 0.4rem;
  border-radius: 0
  display: inline-block;
  margin-bottom: 1rem;
}

.titulo-noticia {
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.fecha-noticia {
  color: #ccc;
  font-size: 0.9rem;
}

/* === CUERPO === */
.noticia-cuerpo {
  background-color: #fff;
  padding: 2rem 1.5rem;
  max-width: 850px;
  margin: 0 auto;
}

.noticia-cuerpo p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* === DÓNDE SE REPLICÓ === */
.noticia-datos {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 2rem 1.5rem;
}

.noticia-datos h2 {
  color: #C3FF00;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.plataformas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.plataforma {
  background-color: #111;
  padding: 1rem;
  border-radius: 10px;
  width: 150px;
}

/* Recuadro blanco para íconos */
.plataforma img {
  width: 40px;
  height: 40px;
  background-color: #fff;   /* fondo blanco */
  padding: 5px;             /* espacio interno */
  border-radius: 10px;      /* bordes redondeados */
  object-fit: contain;      /* mantiene proporción */
  box-shadow: 0 2px 6px rgba(0,0,0,0.2); /* sombra */
  transition: 0.3s ease;
}

.plataforma img:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(255,255,255,0.4);
}

/* === OPINIÓN === */
.noticia-opinion {
  background-color: #E5FF90;
  padding: 2rem 1.5rem;
  text-align: center;
}

.noticia-opinion h2 {
  margin-bottom: 1rem;
  font-weight: 800;
}

.encuesta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.boton-si,
.boton-no {
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
}

.boton-si {
  background-color: #7c77ff;
  color: #fff;
}

.boton-no {
  background-color: #000;
  color: #fff;
}

.likes {
  color: #333;
  font-size: 0.9rem;
}

/* === RELACIONADAS === */
.noticia-relacionadas {
  background-color: #fafafa; /* más suave que el blanco puro */
  padding: 3rem 1.5rem;
  text-align: center;
  font-family: "Montserrat", sans-serif;
}

.noticia-relacionadas h2 {
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 2.5rem;
  color: #111;
}

.relacionadas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.relacionada {
  background-color: #000;
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.relacionada:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.relacionada img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  filter: brightness(0.9);
  transition: filter 0.3s ease;
}

.relacionada:hover img {
  filter: brightness(1);
}

.relacionada p {
  padding: 1.2rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

.relacionada p {
  padding: 1rem;
  font-size: 0.9rem;
}

/* === FOOTER === */
footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 1rem;
  font-size: 0.8rem;
}

/* Bloque del video */
.video-lali {
  margin: 2rem 0; /* espacio arriba y abajo */
  text-align: center;
}

.video-lali iframe {
  position: relative; /* cambiamos de absolute porque no estamos usando padding-bottom */
  width: 100%;
  max-width: 800px; /* opcional: tamaño máximo en desktop */
  height: 450px;     /* altura fija o ajustable */
}

/* Si querés mantener la relación 16:9 responsive, podés usar este enfoque: */
.video-lali {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 2rem auto; /* centrado */
}

.video-lali iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* === VER MÁS EN RELACIONADAS === */
.relacionada p {
  padding: 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.ver-mas {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: #C3FF00; /* verde-amarillo de tu tema */
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.ver-mas:hover {
  color: #fff; /* cambia al pasar el mouse */
  text-decoration: underline;
}


