/* Welco GM homepage hero - isolated structural redesign */
.wgm-hero {
  --wgm-hero-blue: #12364f;
  --wgm-hero-yellow: #ffc815;
  --wgm-hero-gray: #e5dcdc;
  --wgm-hero-white: #ffffff;
  --wgm-hero-black: #202224;
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: #f4f6f7;
  border-top: 1px solid rgba(255, 200, 21, 0.55);
  border-bottom: 1px solid #d9e0e4;
}

.wgm-hero .wgm-hero__slider {
  min-height: 600px;
  background: #f4f6f7;
}

.wgm-hero .wgm-hero__slides,
.wgm-hero .wgm-hero__slides > li {
  margin: 0;
  padding: 0;
}

/* A solid editorial panel replaces the old floating text treatment. */
.wgm-hero .wgm-hero__slides > li::after {
  position: absolute;
  top: 34px;
  left: 4.8%;
  z-index: 8;
  width: min(480px, 48%);
  height: 325px;
  content: "";
  background: var(--wgm-hero-blue);
  border-left: 6px solid var(--wgm-hero-yellow);
  box-shadow: 0 18px 40px rgba(18, 54, 79, 0.2);
}

/* Product artwork stays intact, but sits behind the new information panel. */
.wgm-hero .tp-caption:has(> img) {
  z-index: 2 !important;
}

.wgm-hero .rev-title,
.wgm-hero .rev-text,
.wgm-hero .tp-caption:has(> .btn-black) {
  left: 7.2% !important;
  z-index: 12 !important;
}

.wgm-hero .rev-title {
  top: 55px !important;
  width: min(410px, 40vw) !important;
  max-width: none !important;
  padding: 0 !important;
  color: var(--wgm-hero-white) !important;
  font-family: "Manrope", Arial, sans-serif !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.16 !important;
  text-shadow: none !important;
  text-transform: none !important;
  white-space: normal !important;
  border: 0 !important;
}

.wgm-hero .rev-text {
  top: 170px !important;
  width: min(395px, 39vw) !important;
  max-width: none !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
  text-shadow: none !important;
  white-space: normal !important;
}

.wgm-hero .tp-caption:has(> .btn-black) {
  top: 247px !important;
}

.wgm-hero .wgm-hero__slides > li:nth-child(8) .tp-caption:has(> .btn-black),
.wgm-hero .wgm-hero__slides > li:nth-child(11) .tp-caption:has(> .btn-black) {
  top: 282px !important;
}

.wgm-hero .btn-black,
.wgm-hero .btn-black.btn-lg {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  min-height: 45px;
  margin: 0;
  padding: 12px 20px !important;
  color: var(--wgm-hero-blue) !important;
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.085em !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  text-transform: uppercase;
  background: var(--wgm-hero-yellow) !important;
  border: 1px solid var(--wgm-hero-yellow) !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.wgm-hero .btn-black:hover,
.wgm-hero .btn-black:focus {
  color: var(--wgm-hero-white) !important;
  background: transparent !important;
  border-color: var(--wgm-hero-yellow) !important;
}

/* Both controls now form one compact navigation group. */
.wgm-hero .tp-leftarrow.default,
.wgm-hero .tp-rightarrow.default {
  top: auto !important;
  bottom: 24px !important;
  left: auto !important;
  width: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  color: var(--wgm-hero-yellow);
  background: var(--wgm-hero-blue) !important;
  background-image: none !important;
  border: 1px solid var(--wgm-hero-blue);
  border-radius: 2px;
  box-shadow: 0 8px 20px rgba(18, 54, 79, 0.18);
  opacity: 1 !important;
}

.wgm-hero .tp-leftarrow.default {
  right: 82px !important;
}

.wgm-hero .tp-rightarrow.default {
  right: 28px !important;
}

.wgm-hero .tp-leftarrow.default::before,
.wgm-hero .tp-rightarrow.default::before {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wgm-hero-yellow);
  font-family: Arial, sans-serif;
  font-size: 22px;
  line-height: 1;
}

.wgm-hero .tp-leftarrow.default::before {
  content: "\2190";
}

.wgm-hero .tp-rightarrow.default::before {
  content: "\2192";
}

.wgm-hero .tp-leftarrow.default:hover,
.wgm-hero .tp-rightarrow.default:hover {
  color: var(--wgm-hero-blue);
  background: var(--wgm-hero-yellow) !important;
  border-color: var(--wgm-hero-yellow);
}

.wgm-hero .tp-leftarrow.default:hover::before,
.wgm-hero .tp-rightarrow.default:hover::before {
  color: var(--wgm-hero-blue);
}

.wgm-hero .tp-arr-allwrapper {
  display: none !important;
}

.wgm-hero .tp-bullets {
  right: auto !important;
  bottom: 42px !important;
  left: 5% !important;
  display: flex;
  align-items: center;
  height: 4px;
  gap: 7px;
}

.wgm-hero .tp-bullets .bullet {
  width: 16px !important;
  height: 3px !important;
  max-height: 3px !important;
  margin: 0 !important;
  background: rgba(18, 54, 79, 0.28) !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.wgm-hero .tp-bullets.simplebullets .bullet.selected {
  width: 38px !important;
  height: 3px !important;
  max-height: 3px !important;
  background: var(--wgm-hero-yellow) !important;
}

.wgm-hero .tp-bannertimer {
  display: none !important;
}

.wgm-hero a:focus-visible,
.wgm-hero .tp-leftarrow:focus-visible,
.wgm-hero .tp-rightarrow:focus-visible {
  outline: 3px solid rgba(255, 200, 21, 0.7);
  outline-offset: 3px;
}

@media (max-width: 991px) {
  .wgm-hero .wgm-hero__slides > li::after {
    left: 4%;
    width: 64%;
  }

  .wgm-hero .rev-title,
  .wgm-hero .rev-text,
  .wgm-hero .tp-caption:has(> .btn-black) {
    left: 7% !important;
  }

  .wgm-hero .rev-title {
    width: 55vw !important;
    font-size: 28px !important;
  }

  .wgm-hero .rev-text {
    width: 54vw !important;
    font-size: 14px !important;
  }
}

@media (max-width: 767px) {
  .wgm-hero,
  .wgm-hero .wgm-hero__slider {
    min-height: 520px;
  }

  .wgm-hero .wgm-hero__slides > li::after {
    top: 20px;
    left: 4%;
    width: 92%;
    height: 244px;
    border-left-width: 4px;
  }

  .wgm-hero .rev-title,
  .wgm-hero .rev-text,
  .wgm-hero .tp-caption:has(> .btn-black) {
    left: 8% !important;
  }

  .wgm-hero .rev-title {
    top: 44px !important;
    width: 82vw !important;
    font-size: 24px !important;
    line-height: 1.18 !important;
  }

  .wgm-hero .rev-text {
    top: 120px !important;
    width: 80vw !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  .wgm-hero .tp-caption:has(> .btn-black) {
    top: 205px !important;
  }

  .wgm-hero .wgm-hero__slides > li:nth-child(8) .tp-caption:has(> .btn-black),
  .wgm-hero .wgm-hero__slides > li:nth-child(11) .tp-caption:has(> .btn-black) {
    top: 220px !important;
  }

  .wgm-hero .btn-black,
  .wgm-hero .btn-black.btn-lg {
    min-width: 126px;
    min-height: 42px;
    padding: 10px 16px !important;
    font-size: 11px !important;
  }

  .wgm-hero .tp-leftarrow.default,
  .wgm-hero .tp-rightarrow.default {
    bottom: 16px !important;
    width: 42px !important;
    height: 42px !important;
  }

  .wgm-hero .tp-leftarrow.default {
    right: 62px !important;
  }

  .wgm-hero .tp-rightarrow.default {
    right: 14px !important;
  }

  .wgm-hero .tp-bullets {
    bottom: 32px !important;
    left: 5% !important;
    gap: 5px;
  }

  .wgm-hero .tp-bullets .bullet {
    width: 10px !important;
  }

  .wgm-hero .tp-bullets.simplebullets .bullet.selected {
    width: 24px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wgm-hero *,
  .wgm-hero *::before,
  .wgm-hero *::after {
    transition-duration: 0.01ms !important;
  }
}
