/* ===== AGENDA ===== */
.agenda-container {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
}

/* Año */
.agenda-year {
  font-size: 22px;
  font-weight: 600;
  margin: 50px 0 20px;
  border-bottom: 2px solid #0b2a45;
  padding-bottom: 6px;
}

/* Item */
.agenda-item {
  display: flex;
  gap: 25px;
  margin-bottom: 40px;
  align-items: stretch; /* clave para que crezca con el texto */
}

/* Fecha */
.agenda-date {
  width: 90px;
  background: #0b2a45;
  color: #fff;
  text-align: center;
  padding: 18px 10px;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.agenda-date .day {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.agenda-date .month {
  font-size: 14px;
  text-transform: uppercase;
  margin-top: 6px;
  letter-spacing: 1px;
}

/* Contenido */
.agenda-content {
  padding-top: 4px;
  flex: 1;        /* ocupa todo el ancho */
  min-width: 0;   /* evita corte de texto en flex */
}

.agenda-content .time {
  font-size: 14px;
  color: #555;
  margin-bottom: 6px;
}

.agenda-content h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #000;
  line-height: 1.3;
}

.agenda-content p {
  font-size: 15px;
  color: #444;
  margin: 0;
  width: 100%;
  max-width: 100%;
  line-height: 1.6;
  word-wrap: break-word;
  white-space: normal;
}

/* Seguridad: nunca cortar contenido */
.agenda-item,
.agenda-content {
  overflow: visible;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .agenda-item {
    flex-direction: column;
  }

  .agenda-date {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 12px;
  }

  .agenda-date .day {
    font-size: 30px;
  }

  .agenda-date .month {
    margin-top: 0;
  }
}
