:root {
  --maroon: #b81818;
  --navy: #003366;
}

.activity-body {
  background-color: white;
  margin: 0;
  padding: 20px;
}

.gallery-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-intro {
  text-align: center;
  padding: 10px 0 40px;
}

.gallery-intro h1 {
  color: #b81818;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: -0.02em;
}

.year-label {
  background: var(--maroon);
  color: white;
  padding: 6px 15px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.8rem;
  box-shadow: 0 4px 6px rgba(184, 24, 24, 0.2);
  display: inline-block;
}

.activity-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
}

.activity-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.blue-accent-bar {
  width: 4px;
  height: 25px;
  background: var(--navy);
  margin-right: 12px;
}

.activity-header h3 {
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
}

.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

.thumbnail-item {
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 1px solid #eee;
  background: #fff;
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.thumbnail-item:hover img {
  transform: scale(1.1);
}

.hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  color: white;
  font-size: 1.5rem;
  transition: opacity 0.3s ease;
}

.thumbnail-item:hover .hover-overlay {
  opacity: 1;
}

.pswp__bg {
  background: rgba(0, 0, 0, 0.95);
}
