/* Alpha theme gallery styles */
.alpha-gallery {
  margin-top: 30px!important;
  margin-bottom: 30px!important;
  width: 100%;
  clear: both;
}

.alpha-gallery .swiper {
  width: 100%;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.alpha-gallery .swiper-slide {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
}

.alpha-gallery .swiper-slide img {
  width: 100%;
  height: auto;
  max-height: 300px;
  display: block;
  cursor: pointer;
  object-fit: contain;
  transition: transform 0.3s ease;
  border: none!important;
  aspect-ratio: 16 / 9;
}

.alpha-gallery .swiper-slide img:hover {
  transform: scale(1.02);
}

/* Beautiful navigation buttons */
.alpha-gallery .swiper-button-next,
.alpha-gallery .swiper-button-prev {
  color: #fff !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  transition: background-color 0.3s ease, transform 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.alpha-gallery .swiper-button-next:hover,
.alpha-gallery .swiper-button-prev:hover {
  background-color: rgba(0, 0, 0, 0.8) !important;
  transform: scale(1.1);
}

.alpha-gallery .swiper-button-next::after,
.alpha-gallery .swiper-button-prev::after {
  font-size: 16px !important;
  font-weight: bold;
}

@media (min-width: 768px) {
  .alpha-gallery .swiper-slide img {
    max-height: 480px;
    min-height: 447px;
  }
}

/* Modal lightbox (left for backwards compatibility, but unused since GLightbox is the primary lightbox handler) */
.alpha-gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
}
.alpha-gallery-modal .modal-inner {
  width: 90%;
  max-width: 1100px;
  height: 90%;
}
.alpha-gallery-modal .swiper-slide img { width:100%; height:100%; object-fit:contain }
.alpha-gallery-modal .alpha-gallery-modal-close {
  position: absolute; top:20px; right:20px; z-index:10000; background:transparent; border:none; color:#fff; font-size:28px; cursor:pointer;
}
.alpha-gallery-modal .swiper-button-next, .alpha-gallery-modal .swiper-button-prev { color:#fff }
.swiper-button-next svg, .swiper-button-prev svg {display: none;}