/* LHE - Events UI STYLES */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap");

.lhe-events-container {
  font-family: "Poppins", sans-serif;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.lhe-events-container h2 {
  font-size: 2rem;
  color: #111827;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #2563eb;
  padding-bottom: 0.5rem;
  display: inline-block;
}

.lhe-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.lhe-event-item {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.lhe-event-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.lhe-event-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.lhe-event-details {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.lhe-event-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.75rem 0;
}

.lhe-event-meta {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.lhe-event-meta span {
  display: block;
  margin-bottom: 0.25rem;
}

.lhe-event-meta .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  vertical-align: middle;
}

.lhe-event-excerpt {
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.lhe-view-details-btn {
  display: inline-block;
  background: #2563eb;
  color: #ffffff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  transition: background 0.2s;
}

.lhe-view-details-btn:hover {
  background: #1d4ed8;
  color: #ffffff;
}

/* Carousel Layout */
.lhe-layout-carousel .lhe-carousel {
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
}

.lhe-layout-carousel .lhe-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.lhe-layout-carousel .lhe-slide {
  flex: 0 0 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}

@media (min-width: 768px) {
    .lhe-layout-carousel .lhe-slide {
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {
    .lhe-layout-carousel .lhe-slide {
        flex: 0 0 33.333%;
    }
}

.lhe-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 10;
  transition: background 0.2s;
}

.lhe-carousel-btn:hover {
  background: #ffffff;
}

.lhe-carousel-btn.prev { left: 0; }
.lhe-carousel-btn.next { right: 0; }

.lhe-carousel-btn .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

/* Past Events Section Styling */
.lhe-past-events {
    opacity: 0.8;
    margin-top: 4rem;
}

.lhe-past-events h2 {
    border-bottom-color: #6b7280;
}
