/* =====================================
   Media & Events Section
===================================== */
.media-events-section {
  background: #ffffff;
  padding: 10px 20px;
  font-family: "Poppins", sans-serif;
  text-align: center;
}

.media-events-title {
  font-size: 2rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
  position: relative;
}

.media-events-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #007b5e;
  margin: 12px auto 0;
  border-radius: 3px;
}

.media-events-subtitle {
  color: #666;
  font-size: 1rem;
  margin-bottom: 50px;
}

/* Grid Layout */
.media-events-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

/* Card */
.media-event-card {
  background: #f8f9fa;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.media-event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}

/* Image */
.media-event-image img {
  width: 100%;
  height: 200px;
  object-fit: contain;
}

/* Content */
.media-event-content {
  padding: 20px;
}

.media-event-content h3 {
  color: #007b5e;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.media-event-content p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.event-date {
  display: inline-block;
  font-size: 0.85rem;
  color: #888;
  font-style: italic;
}

/* Responsive */
@media (max-width: 992px) {
  .media-events-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .media-events-container {
    grid-template-columns: 1fr;
  }

  .media-event-content h3 {
    font-size: 1.1rem;
  }

  .media-event-content p {
    font-size: 0.9rem;
  }

  .media-events-section {
    padding: 60px 15px;
  }
}
