/* ==========================================================================
   Gallery Page Styles (Gutenberg Blocks)
   ========================================================================== */

/* ==========================================================================
   Gallery Intro
   ========================================================================== */
.gallery-intro {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Gallery Grid
   ========================================================================== */
.gallery-grid {
  margin-bottom: 0;
}

.gallery-grid .wp-block-image {
  border-radius: 0.5rem;
  overflow: hidden;
}

.gallery-grid .wp-block-image img {
  transition: transform 0.3s ease;
}

.gallery-grid .wp-block-image:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   Share Section
   ========================================================================== */
.gallery-share-section {
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 3rem;
}

.gallery-share-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: #171923;
  margin: 0 0 0.5rem;
}

.gallery-share-text {
  margin: 0;
}

.gallery-facebook-btn .wp-block-button__link {
  background-color: #1877f2;
  border-radius: 9999px;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
}

.gallery-facebook-btn .wp-block-button__link:hover {
  background-color: #0d65d9;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 781px) {
  .gallery-grid.columns-4 {
    columns: 2 !important;
  }
}

@media (max-width: 480px) {
  .gallery-grid.columns-4 {
    columns: 1 !important;
  }
}
