/* ============================================================
   MULTIMEDIA PAGE — Hero + ajustes mobile
   ============================================================ */

/* ── Hero de la página multimedia ────────────────── */
.multimedia-hero {
  position: relative;
  padding: 7rem 0 3.5rem;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 213, 99, .12), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 174, 239, .08), transparent 50%),
    linear-gradient(180deg, #f0faf4 0%, #ffffff 100%);
  text-align: center;
  overflow: hidden;
}
.multimedia-hero::before {
  content: '🎬';
  position: absolute;
  top: 8%;
  right: 5%;
  font-size: 8rem;
  opacity: .06;
  transform: rotate(-15deg);
  pointer-events: none;
}
.multimedia-hero::after {
  content: '🌿';
  position: absolute;
  bottom: 5%;
  left: 5%;
  font-size: 6rem;
  opacity: .08;
  transform: rotate(15deg);
  pointer-events: none;
}
.multimedia-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.multimedia-hero .section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 1rem 0 1.2rem;
}
.multimedia-hero .section-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4a6b5d;
}

/* ── Sección de videos ─────────────────────────── */
#multimedia-videos {
  padding: 4rem 0;
}

/* ── VIDEO CARDS — mobile friendly ─────────────── */
@media (max-width: 768px) {
  .video-categorias {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-top: 2rem;
  }
  .video-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .video-categoria {
    padding: 1.2rem 1rem;
  }
  .video-cat-header {
    margin-bottom: 1rem;
  }
  .video-cat-icon {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }
  .video-cat-header h3 {
    font-size: 1rem;
  }
  .video-cat-header p {
    font-size: .82rem;
  }
  /* Card: más legible en móvil */
  .video-card {
    aspect-ratio: 16/9;
    border-radius: 12px;
  }
  .video-card-title {
    font-size: .92rem;
    bottom: .6rem;
    left: .6rem; right: .6rem;
  }
  .video-card-play {
    width: 48px; height: 48px;
    font-size: 1.4rem;
  }
  .video-card-duration {
    top: .5rem; right: .5rem;
    font-size: .7rem;
    padding: .2rem .5rem;
  }
}

@media (max-width: 480px) {
  .video-categoria {
    padding: 1rem .8rem;
  }
  .video-card {
    aspect-ratio: 16/9;
  }
}

/* ── NEWS CARDS — mobile friendly ──────────────── */
@media (max-width: 768px) {
  .extra-news {
    margin-top: 3rem;
    padding-top: 2.5rem;
  }
  .extra-news-title {
    font-size: 1.1rem;
  }
  .extra-news-grid {
    grid-template-columns: 1fr;
    gap: .8rem;
  }
  .extra-news-card {
    padding: .9rem;
    font-size: .9rem;
  }
  .extra-news-card.has-image {
    grid-template-columns: 100px 1fr;
    gap: .8rem;
  }
  .extra-news-card.has-image .news-card-thumb {
    min-height: 100px;
  }
  .extra-news-card h4 {
    font-size: .95rem;
  }
  .extra-news-card p {
    font-size: .82rem;
    -webkit-line-clamp: 2;
  }
  .extra-news-icon {
    font-size: 1.5rem;
  }
  .extra-news-meta {
    font-size: .68rem;
  }
}

@media (max-width: 480px) {
  .extra-news-card.has-image {
    grid-template-columns: 1fr;
  }
  .extra-news-card.has-image .news-card-thumb {
    width: 100%;
    min-height: 140px;
    max-height: 160px;
  }
  .extra-news-card.has-image .extra-news-body {
    padding: .8rem .4rem .4rem;
  }
}

/* ── Hero de multimedia en móvil ───────────────── */
@media (max-width: 768px) {
  .multimedia-hero {
    padding: 5rem 0 2.5rem;
  }
  .multimedia-hero::before, .multimedia-hero::after {
    font-size: 5rem;
    opacity: .04;
  }
  .multimedia-hero .section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .multimedia-hero .section-subtitle {
    font-size: .92rem;
  }
}

/* ── Link admin (discreto) en el footer ────────── */
.footer-admin-link {
  margin-left: .5rem;
  opacity: .55;
  font-size: .85em;
}
.footer-admin-link a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
  transition: opacity .2s;
}
.footer-admin-link a:hover {
  opacity: 1;
  color: #00B14F;
}
