.ekkono-gallery-wrapper {
  text-align: center;
  max-width: 100%;
}

.ekkono-gallery-title {
  font-size: 2rem;
}

.ekkono-gallery-title .highlight {
  font-weight: bold;
  color: #999;
}

.ekkono-gallery-subtitle {
  color: #F4AF4E;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}

/* MAIN SWIPER */
.ekkono-gallery-main-container {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  height: 470px;
}

.ekkono-gallery-main .swiper,
.ekkono-gallery-main .swiper-wrapper,
.ekkono-gallery-main .swiper-slide {
  height: 100%;
}

.gallery-slide-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-slide-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  max-height: 470px;
}

/* MAIN PLAY ICON */
.ekkono-gallery-wrapper .play-icon-main {
  width: 100px;
  height: 100px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ekkono-gallery-wrapper .play-icon-main img {
  width: 100px;
  height: 100px;
}

/* THUMBNAILS OUTSIDE MAIN */
.ekkono-gallery-thumbs {
  margin-left: -80px;
  margin-right: -80px;
  padding-left: 80px;
  padding-right: 80px;
  overflow: visible;
}

.ekkono-gallery-thumbs .swiper-wrapper {
  padding: 0 30px;
}

.ekkono-gallery-thumbs .swiper-slide {
  width: 308px !important;
  flex: 0 0 auto;
}


.ekkono-gallery-thumbs .card {
  padding: 0.5rem;
  height: 100%;
  background: #F8F8F9;
}

.ekkono-gallery-thumbs img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 6px;
}

.ekkono-gallery-wrapper .play-icon {
  width: 100px;
  height: 100px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ekkono-gallery-wrapper .play-icon img {
  width: 100px;
  height: 100px;
  cursor: pointer;
}

/* FLAGS */
.flag-icon {
  width: 48px !important;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
}

/* ARROWS */
.swiper-button-prev img,
.swiper-button-next img {
  width: 24px;
  height: 24px;
}

.main-arrow {
  top: 50%;
  transform: translateY(-50%);
}

.main-arrow.swiper-button-prev {
  left: -40px;
}

.main-arrow.swiper-button-next {
  right: -40px;
}

.thumbs-arrow {
  top: 35%;
}

.thumbs-arrow.swiper-button-prev {
  left: -10px;
}

.thumbs-arrow.swiper-button-next {
  right: -10px;
}

/* RESPONSIVE */
@media (max-width: 767.98px) {
  .ekkono-gallery-main-container {
    height: auto;
  }

  .gallery-slide-wrapper img {
    height: auto;
  }

  .ekkono-gallery-thumbs {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .ekkono-gallery-thumbs .swiper-slide {
    width: 70%;
    max-width: none;
  }

  .ekkono-gallery-wrapper .play-icon-main {
    width: 48px;
    height: 48px;
  }

  .ekkono-gallery-wrapper .play-icon-main img {
    width: 24px;
    height: 24px;
  }

  .flag-icon {
    width: 24px !important;
    height: 24px !important;
  }
}

.ekkono-gallery-thumbs .swiper-slide {
  width: 308px !important;
  max-width: none;
}

.ekkono-gallery-thumbs .thumbs-arrow {
  display: none;
}

.ekkono-gallery-wrapper .play-icon-main {
  background-color: rgba(0, 0, 0, 0.6);
  transition: background-color 0.3s ease;
}

.ekkono-gallery-wrapper .play-icon-main:hover {
  background-color: rgba(0, 0, 0, 0.8); /* just a darker circle */
}
.ekkono-gallery-wrapper .play-icon-main {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.ekkono-gallery-wrapper .play-icon-main:hover {
  opacity: 1;
}
