/* --- Page Container --- */
.media-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px;
  font-family: "DM Sans", "Roboto", sans-serif;
  background: #fff;
  color: #111;
}

/* --- Header Section (Left Aligned) --- */
.media-header {
  text-align: left;
  margin-bottom: 60px;
  max-width: 600px;
}

.media-header h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  border: none;
  background: none;
  box-shadow: none;
  color: #111;
}

.media-header p {
  font-size: 1.5rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* --- Event Title --- */
.gallery-event-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #111;
  text-align: left;
  margin: 60px 0 24px 0;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}

.gallery-event-title::before,
.gallery-event-title::after {
  content: none !important;
}

/* --- Clean Pinterest-style Grid --- */
.gallery-event {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  grid-auto-rows: 10px;
  grid-auto-flow: dense;
  gap: 12px;
  margin-bottom: 60px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 0;
  background: none !important;
  box-shadow: none !important;
}

/* --- Let Images Keep Natural Aspect Ratio --- */
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 0;
  transition: transform 0.3s ease;
}

/* --- Subtle hover (optional, minimal) --- */
.gallery-item:hover img {
  transform: scale(1.01);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .media-page {
    padding: 60px 20px;
  }

  .media-header h1 {
    font-size: 2.2rem;
  }

  .gallery-event {
    gap: 10px;
  }
}

/* --- No gallery message --- */
.no-gallery {
  text-align: center;
  font-size: 1.1rem;
  padding: 80px 0;
  color: #666;
}
