body {
  background-color: #f8f9fa;
  color: #2e3755;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

main#seccion-eventos {
  min-height: 80vh;
  background: #f8f9fa;
  margin-top: 0;
  padding-top: 0;
}

.evento {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 2rem 1.5rem;
  margin-bottom: 2.5rem;
}

.evento h3 {
  font-weight: 700;
}

.evento ul {
  margin-bottom: 1.2rem;
}

.evento img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0.7rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

@media (max-width: 767px) {
  .evento img {
    height: 120px;
  }
}

header.py-2.borde-inferior {
  background-color: #a3b8fd;
  color: #2e5530;
  border-bottom: 2px solid #6d8fff;
}

footer {
  background-color: #6d8fff;
  color: white;
  text-align: center;
}

.logo-link, .enlace-logo {
  text-decoration: none;
  color: inherit;
}

.logo-link:hover, .enlace-logo:hover {
  color: inherit;
}

.borde-inferior {
  border-bottom: 2px solid #6d8fff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: #2e3755;
  font-weight: 500;
  font-size: 1.08rem;
  padding: 8px 18px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover, .nav-link:focus {
  background: #6d8fff;
  color: #fff;
  text-decoration: none;
}

.nav-link.active {
  background: #2e3755;
  color: #fff !important;
}

.dropdown-menu {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(109,143,255,0.10);
  border: none;
  min-width: 180px;
  margin-top: 8px;
}

.dropdown-item {
  color: #2e3755;
  font-size: 1.05rem;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.dropdown-item:hover, .dropdown-item:focus {
  background: #e3eaff;
  color: #1a237e;
}

.dropdown-item.active {
  background: #6d8fff;
  color: #fff !important;
}

.dropdown-toggle::after {
  margin-left: 8px;
}

.pequeno {
  font-size: 0.95rem;
}

.contenedor {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.me-3 {
  margin-right: 1rem !important;
}