/* =============================================
   GRUPO SALVADOR — CSS EVENTOS (Phase 7)
   Placeholders vienen de gs-base.css
   ============================================= */

/* ── PRÓXIMO EVENTO ── */
.gs-evt-proximo { background: #fff; padding: 56px 0 48px; }
.gs-evt-proximo__title {
  text-align: center;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  color: #111;
  margin-bottom: 36px;
}

.gs-evt-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0,0,0,.14);
}
.gs-evt-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Velo rojo oscuro sobre la imagen */
.gs-evt-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(70,10,14,.86) 0%, rgba(110,18,22,.80) 100%);
  z-index: 1;
}
.gs-evt-card__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 48px 28px;
  width: 100%;
}
.gs-evt-card__name {
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 32px;
}

/* ── COUNTDOWN ── */
.gs-countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}
.gs-countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 78px;
}
.gs-countdown__num {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.gs-countdown__label {
  font-size: 13px;
  color: rgba(255,255,255,.78);
  margin-top: 8px;
  letter-spacing: .04em;
}
.gs-countdown__sep {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: rgba(255,255,255,.55);
  line-height: 1;
  padding-top: 2px;
}
.gs-countdown__expired {
  display: none;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 28px;
}

/* Lugar */
.gs-evt-card__place {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  color: rgba(255,255,255,.92);
  margin-bottom: 28px;
}

/* CTA dorado */
.gs-evt-card__cta {
  display: inline-block;
  background: linear-gradient(160deg, #E8C87A 0%, #D4AF56 50%, #C09B3E 100%);
  color: #3d2a08 !important;
  padding: 15px 42px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(0,0,0,.24);
}
.gs-evt-card__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0,0,0,.32);
}

/* ── EVENTOS ANTERIORES ── */
.gs-evt-anteriores { background: #fff; padding: 24px 0 72px; }
.gs-evt-anteriores__title {
  text-align: center;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}
.gs-evt-anteriores__divider {
  width: 90px;
  height: 3px;
  background: var(--gs-gold, #C08B2E);
  margin: 0 auto 36px;
  border-radius: 2px;
}
.gs-evt-galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gs-evt-galeria__item {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  object-fit: cover;
  display: block;
  transition: transform .2s, box-shadow .2s;
}
.gs-evt-galeria__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 22px rgba(0,0,0,.14);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .gs-evt-galeria { grid-template-columns: repeat(2, 1fr); }
  .gs-countdown__unit { min-width: 66px; }
}
@media (max-width: 600px) {
  .gs-evt-card { min-height: 380px; }
  .gs-evt-card__content { padding: 36px 18px; }
  .gs-countdown { gap: 4px; }
  .gs-countdown__unit { min-width: 54px; }
  .gs-countdown__label { font-size: 11px; }
  .gs-evt-card__cta { padding: 13px 28px; font-size: 15px; }
}
@media (max-width: 420px) {
  .gs-evt-galeria { grid-template-columns: 1fr; }
  .gs-countdown__unit { min-width: 46px; }
  .gs-countdown__num { font-size: 28px; }
  .gs-countdown__sep { font-size: 22px; }
  .gs-countdown__label { font-size: 10px; }
}
