/* ==========================================================================
   GALERIE SUPPORT STYLES (extracted from inline PHP)
   ========================================================================== */

.custom-gallery {
  /* container for gallery shortcode */
}

.main-image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.main-image {
  width: 100%;
  height: auto;
  display: block;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-image-wrapper:hover .image-overlay {
  opacity: 1;
}

.zoom-icon {
  color: white;
  font-size: 2rem;
}

.gallery-thumbnails {
  display: flex;
  gap: 5px;
  margin-top: 5px;
  overflow-x: auto;
}

.thumbnail-item {
  flex: 0 0 auto;
  width: 80px;
  height: 60px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  overflow: hidden;
}

.thumbnail-item:hover,
.thumbnail-item.active-thumbnail {
  opacity: 1;
}

.active-thumbnail {
  border: 2px solid #e8490f;
}

.prev-thumb,
.next-thumb {
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 5px 10px;
  font-size: 1.2rem;
}
