/* =========================================================
   ERICCA 2026 · Memoria audiovisual y resultados QuizPlay
   ========================================================= */

.ericca-video-section {
  background: #fff;
}

.ericca-video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr);
  gap: 2rem;
  align-items: start;
  margin-top: 1.5rem;
}

.ericca-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
  box-shadow: 0 16px 38px rgba(0,0,0,.16);
}

.ericca-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ericca-video-info {
  padding: 1.5rem;
  border-left: 4px solid #7fae28;
  background: #f5f7f8;
}

.ericca-video-label,
.ericca-winner-label {
  margin: 0 0 .35rem;
  color: #5f7f1f;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .82rem;
}

.ericca-video-info h3 {
  margin: .2rem 0;
}

.ericca-video-meta {
  margin: 1.25rem 0;
}

.ericca-video-meta div {
  padding: .65rem 0;
  border-bottom: 1px solid rgba(0,0,0,.12);
}

.ericca-video-meta dt {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  opacity: .7;
}

.ericca-video-meta dd {
  margin: .15rem 0 0;
  font-weight: 600;
}

/* Resultados */

.ericca-results-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.ericca-stat {
  padding: 1.35rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
}

.ericca-stat strong {
  display: block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  color: #a7c957;
}

.ericca-stat span {
  display: block;
  margin-top: .5rem;
}

.ericca-winner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
  margin: 2rem 0 1rem;
  padding: 1.75rem;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 10px;
  background: rgba(255,255,255,.1);
}

.ericca-winner-badge {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #a7c957;
  color: #17324d;
  font-size: 2rem;
  font-weight: 800;
}

.ericca-winner h3 {
  margin: 0;
  font-size: 1.8rem;
}

.ericca-winner-institution {
  margin-top: .2rem;
  font-weight: 700;
}

.ericca-podium {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1rem 0 2rem;
}

.ericca-podium article {
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
}

.ericca-podium article span {
  color: #a7c957;
  font-weight: 700;
}

.ericca-podium article h3 {
  margin: .3rem 0;
}

.ericca-results-note {
  margin: 2rem 0;
  padding: 1.25rem 1.4rem;
  border-left: 4px solid #a7c957;
  background: rgba(255,255,255,.08);
}

.ericca-community-message {
  margin: 2.5rem 0 1.5rem;
  padding: 1.75rem;
  border-radius: 10px;
  background: #fff;
  color: #243746;
}

.ericca-community-message h3 {
  margin-top: .25rem;
  color: #0b477a;
  font-size: 1.45rem;
}

.ericca-community-message .ericca-eyebrow {
  color: #5f7f1f;
}

@media (max-width: 900px) {
  .ericca-video-layout {
    grid-template-columns: 1fr;
  }

  .ericca-results-summary {
    grid-template-columns: 1fr;
  }

  .ericca-podium {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .ericca-winner {
    grid-template-columns: 1fr;
  }

  .ericca-winner-badge {
    width: 58px;
    height: 58px;
    font-size: 1.5rem;
  }
}
