.home-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 30vh; /* Reduced from typical 100vh */
  padding: 2rem;
  gap: 2rem;
}

.home-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 800px;
  text-align: center;
}

.home-logo {
  width: 150px; /* Adjust as needed */
  height: auto;
  margin-bottom: 1rem;
}

.event-banner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.event-banner .event-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.home-eventos-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.home-event-grid {
  display: grid;
  gap: 2rem;
  justify-content: center;
}
.home-event-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.home-event-card:hover {
  transform: translateY(-5px);
}
.home-event-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.home-card-content {
  padding: 1.5rem;
}

.home-card-content h2 {
  color: #00439b;
  margin-bottom: 1rem;
  text-align: center;
}

div h1 {
  color: #00439b;
  margin-bottom: 1rem;
  text-align: center;
}

div .subtitle {
  color: #f83131d2;
  margin-bottom: 1rem;
  text-align: center;
}

.home-card-content h5 {
  color: #f83131d2;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .home-container {
    min-height: 20vh;
    padding: 1rem;
  }

  .home-logo {
    width: 120px;
  }
}

@media (max-width: 768px) {
  .home-event-grid {
    grid-template-columns: 1fr;
  }

  .home-event-card {
    max-width: 100%;
  }
}
