/* "Próximo evento": tarjeta liviana, para no competir con la de Competencia. */
.next-event-strip {
  padding: 0 0 18px;
}
.next-event-list {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.next-event-list a {
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.next-event-list a:hover,
.next-event-list a:focus-visible {
  color: var(--blue);
  outline: none;
}
.next-event-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 22px 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue-dark);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.next-event-card:hover,
.next-event-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(var(--blue-rgb), 0.3);
  box-shadow: 0 14px 32px rgba(var(--blue-dark-rgb), 0.09);
  outline: none;
}
.next-event-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  flex: 0 0 auto;
}
.next-event-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.next-event-label {
  display: block;
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.next-event-copy h2 {
  margin: 0 0 4px;
  font-size: 1.25rem;
  color: var(--blue-dark);
}
.next-event-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.9rem;
}
.next-event-action {
  white-space: nowrap;
  padding: 11px 15px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
}
@media (max-width: 900px) {
  .next-event-card {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .next-event-action {
    grid-column: 2;
    justify-self: start;
  }
}
@media (max-width: 620px) {
  .next-event-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }
  .next-event-icon {
    width: 46px;
    height: 46px;
  }
  .next-event-copy h2 {
    font-size: 1.15rem;
  }
  .next-event-action {
    grid-column: 1;
    width: 100%;
    text-align: center;
  }
}

/* Con varios eventos el botón es un link suelto: sin el subrayado de los links (U9, auditoría 12/10). */
.next-event-action {
  text-decoration: none;
}
