.elementor-widget-custom_gallery .ecg-gallery {
  --ecg-image-width: 54.688vw;
  --ecg-gap: 24px;
  --ecg-height: 100%;
  --ecg-max-height: 36.458vw;
  --ecg-controls-offset: 16px;
  --ecg-arrows-gap: 16px;
  --ecg-arrow-width: 70px;
  --ecg-arrow-height: 25px;
  position: relative;
  width: 100%;
  font-size: 16px;
}

.elementor-widget-custom_gallery .ecg-viewport {
  width: 100%;
  height: var(--ecg-height);
  max-height: var(--ecg-max-height);
  overflow: hidden;
}

.elementor-widget-custom_gallery .ecg-track {
  display: flex;
  gap: var(--ecg-gap);
  height: 100%;
  transition: transform 0.45s ease;
  will-change: transform;
}

.elementor-widget-custom_gallery .ecg-slide {
  flex: 0 0 var(--ecg-image-width);
  height: 100%;
}

.elementor-widget-custom_gallery .ecg-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.elementor-widget-custom_gallery .ecg-controls {
  display: flex;
  gap: var(--ecg-arrows-gap);
  margin-top: var(--ecg-controls-offset);
  padding-left: calc(var(--ecg-image-width) + var(--ecg-gap) + 4.167vw );
  color: #2f2b25;
  font-size: inherit;
}

.elementor-widget-custom_gallery .ecg-controls button {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  line-height: 0;
  color: inherit;
}

.elementor-widget-custom_gallery .ecg-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}

.elementor-widget-custom_gallery .ecg-controls svg {
  width: var(--ecg-arrow-width);
  height: var(--ecg-arrow-height);
  display: block;
  min-width: 8px;
  min-height: 8px;
}

.elementor-widget-custom_gallery .ecg-controls img {
  width: var(--ecg-arrow-width);
  height: var(--ecg-arrow-height);
  object-fit: contain;
  display: block;
}

.elementor-widget-custom_gallery .ecg-controls .elementor-icon,
.elementor-widget-custom_gallery .ecg-controls i {
  width: var(--ecg-arrow-width);
  height: var(--ecg-arrow-height);
  display: block;
  font-size: var(--ecg-arrow-height);
  line-height: 1;
}

.elementor-widget-custom_gallery .ecg-empty {
  padding: 12px 16px;
  background: #f3f0ea;
  color: #4a4338;
  font-size: 14px;
}
