/* TG Brand Showcase — one brand per screen while scrolling */
.tg-brand-scroll {
  height: var(--tg-scroll-h, 400vh);
  position: relative;
  background: #071f27;
}
.tg-brand-scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #071f27;
}
.tg-brand-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s ease, visibility 0.65s;
  background-image: var(--brand-bg);
  background-size: cover;
  background-position: center;
}
.tg-brand-slide.is-active {
  opacity: 1;
  visibility: visible;
}
.tg-brand-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 20, 27, 0.2), rgba(1, 20, 27, 0.56));
}
.tg-brand-slide-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  color: #fff;
}
.tg-body .tg-brand-slide-center img {
  width: min(230px, 45vw);
  max-height: 105px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 22px;
}
.tg-brand-slide-center > span {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.tg-brand-slide-actions {
  display: flex;
  gap: 24px;
  margin-top: 28px;
}
.tg-body .tg-brand-slide-actions a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  padding-bottom: 5px;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tg-brand-progress {
  position: absolute;
  right: 34px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 12px;
  z-index: 5;
}
html[dir="rtl"] .tg-brand-progress {
  right: auto;
  left: 34px;
}
.tg-brand-progress span {
  width: 6px;
  height: 6px;
  border: 1px solid #fff;
  border-radius: 50%;
  opacity: 0.65;
}
.tg-brand-progress span.is-active {
  background: #fff;
  opacity: 1;
}
@media (max-width: 767px) {
  .tg-brand-scroll {
    height: calc(var(--tg-scroll-h, 400vh) * 0.8);
  }
  .tg-body .tg-brand-slide-center img {
    width: min(180px, 50vw);
  }
  .tg-brand-progress {
    right: 16px;
  }
  html[dir="rtl"] .tg-brand-progress {
    left: 16px;
  }
  .tg-brand-slide-actions {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tg-brand-slide {
    transition: none;
  }
}
.elementor-editor-active .tg-brand-scroll {
  height: auto;
}
.elementor-editor-active .tg-brand-scroll-sticky {
  position: relative;
  height: 70vh;
}
