/* ===== Page Hero ===== */
.page-hero {
  padding-top: 140px;
  padding-bottom: 60px;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #f8f6f4 100%);
}

.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: #111;
}

.page-hero-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #bbb;
  margin-top: 12px;
}

/* ===== Gallery Main ===== */
.gallery-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ===== Year Section ===== */
.gallery-year-section {
  margin-bottom: 60px;
}

.gallery-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #ddd;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 40px;
}

/* ===== Group (Month / Event) ===== */
.gallery-group {
  margin-bottom: 48px;
}

.gallery-group-title {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}

.gallery-month {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #555;
}

.gallery-event {
  font-size: 0.8rem;
  font-weight: 300;
  color: #aaa;
}

/* ===== Photo Grid ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-item {
  overflow: hidden;
}

.gallery-item {
  display: block;
}

.gallery-thumb {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f0ebe7 0%, #e8e2dc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: #ccc;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item:hover .gallery-thumb {
  transform: scale(1.03);
}

/* ===== Video Grid ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.video-card {
  cursor: pointer;
}

.video-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #f0ebe7 0%, #e8e2dc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: #ccc;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  transition: transform 0.4s ease;
}

.video-card:hover .video-card-thumb {
  transform: scale(1.02);
}

.video-card-thumb .play-btn {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #333;
  transition: transform 0.3s ease, background 0.3s ease;
}

.video-card:hover .play-btn {
  transform: scale(1.1);
  background: #fff;
}

.video-card-title {
  font-size: 0.85rem;
  color: #444;
  margin-top: 10px;
}

.video-card-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  color: #bbb;
  margin-top: 4px;
  display: block;
}

/* ===== Back Link ===== */
.gallery-back {
  text-align: center;
  padding-bottom: 80px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .page-hero {
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-year {
    font-size: 2rem;
  }

  .gallery-group-title {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
