.elementor-394 .elementor-element.elementor-element-a116ceb{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-394 .elementor-element.elementor-element-ea92d2b{width:100%;max-width:100%;padding:3% 0% 3% 0%;text-align:center;}.elementor-394 .elementor-element.elementor-element-ea92d2b .elementor-heading-title{color:var( --e-global-color-f5b930d );}.elementor-394 .elementor-element.elementor-element-ff8fcaa .e-gallery-item:hover .elementor-gallery-item__overlay, .elementor-394 .elementor-element.elementor-element-ff8fcaa .e-gallery-item:focus .elementor-gallery-item__overlay{background-color:rgba(0,0,0,0.5);}.elementor-394 .elementor-element.elementor-element-ff8fcaa{--image-transition-duration:800ms;--overlay-transition-duration:800ms;--content-text-align:center;--content-padding:20px;--title-text-color:var( --e-global-color-b8d97c3 );--content-transition-duration:800ms;--content-transition-delay:800ms;}.elementor-394 .elementor-element.elementor-element-38cf102{margin:0% 0% calc(var(--kit-widget-spacing, 0px) + 4%) 0%;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-394 .elementor-element.elementor-element-a116ceb{--content-width:1300px;}}/* Start custom CSS for gallery, class: .elementor-element-ff8fcaa */.elementor-element-a116ceb {
  overflow: hidden !important;
}

.elementor-element-ff8fcaa .elementor-gallery__container {
  display: none !important;
}

#mep-marquee-gallery {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: mepScroll 40s linear infinite;
}

#mep-marquee-gallery:hover {
  animation-play-state: paused;
}

@keyframes mepScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.mep-marquee-wrap {
  overflow: hidden;
  width: 100%;
}

.mep-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 380px;
}

.mep-col:nth-child(even) {
  margin-top: 30px;
}

.mep-item {
  width: 380px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
}

.mep-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-a116ceb *//* کانتینر اصلی */
.elementor-gallery__container {
  overflow: hidden;
  position: relative;
}

/* ردیف تصاویر */
.elementor-gallery-items {
  display: flex;
  flex-wrap: wrap;
/*حفظ Masonry */
  
  width: max-content;
  
   /*طول محتوا برابر با مجموع تصاویر */
  animation: galleryScroll 60s linear infinite; /* حرکت روان و بی‌وقفه */
}

/* تکرار تصاویر */
.elementor-gallery-items .clone {
  opacity: 0.999;
}

/* انیمیشن حرکت */
@keyframes galleryScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* حرکت نصف محتوا */
}

.mep-marquee-wrap {
  overflow: hidden;
  width: 100%;
  position: relative; /* این خط مهمه */
}

.mep-marquee-wrap::before,
.mep-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 250px;
  z-index: 2;
  pointer-events: none;
}

.mep-marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}

.mep-marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}/* End custom CSS */