/* Fix whitespace between navbar and hero section */
.hero-section {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Ensure announcements bar is positioned correctly */
.announcements-bar {
  margin-top: 76px;
  margin-bottom: 0;
}

/* Remove any extra spacing from hero container */
[style*="paddingTop: 76px"] {
  padding-top: 0 !important;
}

/* Previous Events Section Alignment */
.previous-events-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  gap: 2rem !important;
  padding: 2rem 0 !important;
  align-items: stretch !important;
  justify-content: center !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.previous-event-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.previous-event-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.previous-event-image {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 8px 8px 0 0 !important;
  background-color: #f5f5f5 !important;
}

.previous-event-content {
  padding: 1.5rem !important;
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.previous-event-title {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem !important;
  color: #2d3748 !important;
  line-height: 1.4 !important;
}

.previous-event-date {
  color: #e53e3e !important;
  font-weight: 500 !important;
  margin-bottom: 0.75rem !important;
  font-size: 0.95rem !important;
}

.previous-event-description {
  color: #4a5568 !important;
  line-height: 1.6 !important;
  margin-bottom: 1rem !important;
  font-size: 0.9rem !important;
}

.previous-event-location {
  color: #718096 !important;
  font-size: 0.85rem !important;
  font-style: italic !important;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
  .announcements-bar {
    margin-top: 84px;
  }

  .previous-events-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    padding: 1rem 0 !important;
  }

  .previous-event-image {
    height: 180px !important;
  }

  .previous-event-content {
    padding: 1rem !important;
  }

  .previous-event-title {
    font-size: 1.1rem !important;
  }
}

/* Current Event Perfect Alignment */
.current-event-section {
  text-align: center !important;
  padding: 2rem 1rem !important;
}

.current-event-title {
  font-size: 2.5rem !important;
  font-weight: bold !important;
  color: #8B0000 !important;
  margin-bottom: 1rem !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1) !important;
}

.current-event-date {
  font-size: 1.5rem !important;
  color: #DAA520 !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
}

.current-event-location {
  font-size: 1.1rem !important;
  color: #666 !important;
  line-height: 1.6 !important;
  max-width: 800px !important;
  margin: 0 auto !important;
}

/* YouTube Section Alignment */
.youtube-section {
  padding: 3rem 1rem !important;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

.youtube-container {
  max-width: 900px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.youtube-title {
  font-size: 2rem !important;
  color: #8B0000 !important;
  margin-bottom: 1rem !important;
  font-weight: bold !important;
}

.youtube-description {
  color: #666 !important;
  margin-bottom: 2rem !important;
  font-size: 1.1rem !important;
}

/* Additional mobile responsive styles */
@media (max-width: 768px) {
  .current-event-title {
    font-size: 2rem !important;
  }

  .current-event-date {
    font-size: 1.3rem !important;
  }

  .youtube-title {
    font-size: 1.5rem !important;
  }
}
