/* Noticia post: Ludoteca DANA Algemesí — estilos coherentes con la web Remor */

.noticia-post {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
  z-index: 2;
  position: relative;
  overflow-x: hidden;
}

.noticia-post-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.noticia-volver {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--azul);
  text-decoration: none;
  margin-bottom: 1rem;
  transition: color 0.2s, gap 0.2s;
}

.noticia-volver:hover {
  color: var(--rosa);
  gap: 0.6rem;
}

.noticia-post-header h1 {
  font-family: var(--font-art);
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 0.35em;
  background: linear-gradient(90deg, var(--azul), var(--rosa) 65%, var(--verde) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
}

.noticia-post-meta {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
}

.noticia-post-content {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(197, 197, 197, 0.2);
  border: 2px solid #e5e5e9;
  padding: 2rem 1.5rem;
  overflow-x: hidden;
}

.noticia-block {
  margin-bottom: 2.5rem;
}

.noticia-block:last-of-type {
  margin-bottom: 0;
}

.noticia-lang-title {
  font-family: var(--font-art);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--negro);
  margin: 0 0 1rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid #e5e5e9;
}

.noticia-cita {
  font-family: var(--font-art);
  font-size: 1.15rem;
  font-weight: 400;
  margin: 1rem 0;
  padding-left: 1rem;
  border-left: 4px solid var(--azul);
  color: #232326;
  font-style: italic;
}

.noticia-block p {
  font-size: 1rem;
  line-height: 1.65;
  color: #212125;
  margin: 0 0 1rem;
}

/* Media entre párrafos: ancho contenido, no 100% del viewport */
.noticia-inline-media {
  margin: 1.5rem auto;
  max-width: 520px;
  width: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(31, 182, 211, 0.15);
}

.noticia-inline-media img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.noticia-inline-media.noticia-inline-video video {
  width: 100%;
  max-width: 100%;
  display: block;
  max-height: 320px;
  background: #111;
}

.noticia-inline-media figcaption {
  font-size: 0.85rem;
  color: #555;
  margin-top: 0.4rem;
  padding: 0 0.2rem;
}

.noticia-galeria h2,
.noticia-videos h2 {
  font-family: var(--font-art);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 2rem 0 1.25rem;
  background: linear-gradient(90deg, var(--azul), var(--rosa));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.noticia-galeria-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

.noticia-galeria-grid figure {
  margin: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(31, 182, 211, 0.15);
  min-width: 0;
}

.noticia-galeria-grid img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  vertical-align: middle;
}

.noticia-videos-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.noticia-video-item {
  margin: 0;
}

.noticia-video-item video {
  width: 100%;
  max-width: 100%;
  max-height: 400px;
  border-radius: 0.75rem;
  background: #111;
  box-shadow: 0 4px 16px rgba(31, 182, 211, 0.15);
  box-sizing: border-box;
}

.noticia-video-item figcaption {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.5rem;
  padding: 0 0.25rem;
}

@media (min-width: 768px) {
  .noticia-post-header h1 {
    font-size: 2rem;
  }
  .noticia-galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 900px) {
  .noticia-post {
    padding: 2.5rem 1.5rem 4rem;
  }
  .noticia-post-content {
    padding: 2.5rem 2rem;
  }
  .noticia-galeria-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
