/* Tablas de eventos */
.eventos-listado-table,
.eventos-proximos-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1em;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
}

.eventos-listado-table th,
.eventos-proximos-table th,
.eventos-listado-table td,
.eventos-proximos-table td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}

.eventos-listado-table tbody tr:nth-child(odd),
.eventos-proximos-table tbody tr:nth-child(odd) {
  background-color: #f9f9f9;
}

.eventos-listado-table tbody tr:hover,
.eventos-proximos-table tbody tr:hover {
  background-color: #e6f7ff;
}

/* Countdown */
#evento-countdown-container.evento-countdown {
  background: #d4145a; /* fucsia similar al diseño */
  padding: 14px 16px;
  max-width: 520px;
  margin: 1em auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

#evento-countdown-container.evento-countdown .evento-countdown-title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

#evento-countdown-container.evento-countdown .evento-countdown-timer {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: stretch;
}

#evento-countdown-container.evento-countdown .evento-countdown-box {
  border: 2px solid #ffffff;
  border-radius: 10px;
  width: 100px;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* Fuente de los números */
#evento-countdown-container.evento-countdown .evento-countdown-value {
  color: #ffe600;
  font-size: 4rem;
  font-weight: 300;
  line-height: 1;
  font-family: "Magistral", sans-serif;
}

/* Fuente de los nombres de Días, Horas, Minutos */
#evento-countdown-container.evento-countdown .evento-countdown-label {
  color: #ffffff;
  font-size: 1.2rem;
  margin-top: 6px;
  font-family: "Magistral", sans-serif;
}

#evento-countdown-container.evento-countdown .evento-countdown-zero {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  padding: 6px 0;
}

@media (max-width: 480px) {
  #evento-countdown-container.evento-countdown .evento-countdown-box {
    width: 90px;
    height: 90px;
  }
  #evento-countdown-container.evento-countdown .evento-countdown-value {
    font-size: 2.4rem;
  }
  #evento-countdown-container.evento-countdown .evento-countdown-label {
    font-size: 0.9rem;
  }
}

/* Shortcode título próximo evento */
.evento-titulo-proximo{
  background: #D75572; /* rosa del diseño */
  text-align: center;
  padding: 18px 20px;
  border-radius: 8px;
  max-width: 820px;
  margin: 1em auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.evento-titulo-proximo-texto{
  color: #ffffff;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 700;
  font-family: "Magistral", sans-serif;
}

.evento-titulo-proximo-prefijo{
  font-weight: 300;
  font-size: 2rem;
  line-height: 1;
  font-family: "Magistral", sans-serif;
}

.evento-titulo-proximo-titulo{
  font-style: italic;
  font-weight: 600;
}

.evento-titulo-proximo-boton{
  align-self: center;
  background: #2b0e3a; /* morado oscuro del botón */
  color: #ffffff;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Montserrat", Sans-serif;
}

.evento-titulo-proximo-boton:hover{
  opacity: .95;
}

/* ============ [eventos_proximos] nuevo diseño ============ */

.eventos-proximos-lista{
  font-family: "Magistral", sans-serif;
  color: #ffffff;
}

.eventos-proximos-grupo{
  margin-bottom: 26px;
}

.eventos-proximos-mes{
  color: #ffe600;
  text-align: center;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 1.6rem;
  padding: 10px 0 8px;
  position: relative;
}

.eventos-proximos-mes::after{
  content: "";
  display: block;
  height: 2px;
  background: rgba(255,255,255,0.65);
  margin-top: 8px;
}

.eventos-proximos-item{
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  padding: 14px 0;
}

.eventos-proximos-fecha{
  font-size: 0.98rem;
  line-height: 1.05;
  font-weight: 600;
}

.eventos-proximos-fecha-linea1{
  font-weight: 700;
}

.eventos-proximos-fecha-mes{
  margin-top: 2px;
  font-weight: 700;
}

.eventos-proximos-fecha-pill{
  display: inline-block;
  margin-top: 6px;
  background: #ffe600;
  color: #000000;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
}

.eventos-proximos-info{
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.eventos-proximos-titulo{
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.15;
}

.eventos-proximos-lugar{
  font-size: 1rem;
  color: #0b2a3f; /* azul oscuro como en tu diseño */
  font-weight: 500;
}

@media (max-width: 480px){
  .eventos-proximos-item{
    grid-template-columns: 115px 1fr;
  }
  .eventos-proximos-titulo{
    font-size: 1.05rem;
  }
}


/* Vista individual */
.evento-imagen img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1em;
}

.evento-meta p {
  margin: 0.2em 0;
  font-weight: 600;
  color: #34495e;
}

.evento-texto-countdown {
  font-style: italic;
  color: #7f8c8d;
  margin-bottom: 1em;
}

.evento-contenido {
  line-height: 1.6;
  color: #2c3e50;
}