/* PATCHED home banner dimensions §4.1 */

html[data-testimonial-page] #testimonial-hero {
  position: relative !important;
  overflow: hidden !important;
  min-height: clamp(560px, 78vh, 980px) !important;
  height: clamp(560px, 78vh, 980px) !important;
  max-height: none !important;
  height: clamp(560px, 78vh, 980px) !important;
  padding: 0 !important;
}

html[data-testimonial-page] #testimonial-hero #main-banner.banner__image {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  /* PAGE-OWNED BANNER IMAGE */
  background-image: url('../img/banner/testimonial/testimonial-banner.webp') !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

html[data-testimonial-page] #testimonial-hero .banner__content-shell {
  position: absolute !important;
  top: 62% !important;
  left: 0 !important;
  right: 0 !important;
  transform: translateY(-50%) !important;
  z-index: 2 !important;
  margin: 0 auto !important;
  pointer-events: none !important;
}

html[data-testimonial-page] #testimonial-hero .banner__content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  pointer-events: auto !important;
}

html[data-testimonial-page] #testimonial-hero .banner-glass-card--clear {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  max-width: 720px;
  min-height: 400px;
  padding: 28px 32px 26px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.48) 45%, rgba(0, 0, 0, 0.52) 100%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 38%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-top-color: rgba(255, 255, 255, 0.5);
  border-left-color: rgba(255, 255, 255, 0.42);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.32),
    0 4px 12px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 1px 0 0 rgba(255, 255, 255, 0.18),
    inset -1px 0 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

html[data-testimonial-page] #testimonial-hero .banner-glass-card--clear::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 46%;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  pointer-events: none;
}

html[data-testimonial-page] #testimonial-hero .banner-glass-card--clear::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -30%;
  width: 55%;
  height: 140%;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.06) 42%, rgba(255, 255, 255, 0) 68%);
  transform: rotate(8deg);
  pointer-events: none;
}

html[data-testimonial-page] #testimonial-hero .banner-glass-card__title {
  position: relative;
  z-index: 1;
  margin: 0 0 16px !important;
  color: #ffffff !important;
  font-size: clamp(1.75rem, 3.2vw, 2.65rem) !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  text-transform: none !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

html[data-testimonial-page] #testimonial-hero .banner-glass-card__text,
html[data-testimonial-page] #testimonial-hero .region-intro-text {
  position: relative;
  z-index: 1;
  margin: 0 !important;
  color: #facc15 !important;
  font-weight: 800 !important;
  font-size: clamp(1rem, 1.35vw, 1.125rem) !important;
  line-height: 1.55 !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

html[data-testimonial-page] #testimonial-hero .banner-glass-card__actions {
  position: relative;
  z-index: 1;
  margin-top: auto !important;
  padding-top: 24px !important;
  gap: 16px !important;
}

html[data-testimonial-page] #testimonial-hero .banner-glass-card__actions .cmn--btn,
html[data-testimonial-page] #testimonial-hero .banner-glass-card__actions .cmn--btn2 {
  flex: 0 0 auto;
  min-height: 48px !important;
  box-sizing: border-box !important;
}

html[data-testimonial-page] #testimonial-hero .banner-glass-card__actions .cmn--btn {
  min-width: 168px !important;
}

html[data-testimonial-page] #testimonial-hero .banner-glass-card__actions .cmn--btn2 {
  min-width: 290px !important;
}

@media (max-width: 980px) {
  html[data-testimonial-page] #testimonial-hero .banner__content-shell {
    top: auto !important;
    bottom: 6% !important;
    transform: none !important;
  }

  html[data-testimonial-page] #testimonial-hero .banner-glass-card--clear {
    height: auto;
    min-height: 360px;
    padding: 22px 20px 20px;
  }

  html[data-testimonial-page] #testimonial-hero .banner-glass-card__title {
    font-size: clamp(1.45rem, 5vw, 2rem) !important;
  }
}
/* === v3 responsive: image always fully visible, glass card drops below === */
@media (max-width: 1760px) {
  html[data-testimonial-page] #testimonial-hero {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
  }

  html[data-testimonial-page] #testimonial-hero #main-banner.banner__image {
    position: relative !important;
    width: 100% !important;
    height: 0 !important;
    padding-top: calc(100% / 3.67) !important;
    background-size: contain !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    inset: auto !important;
  }

  html[data-testimonial-page] #testimonial-hero .banner__content-shell--fixed {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin: 0 auto !important;
    padding: 18px 16px 0 !important;
  }
}
/* === v3 desktop-to-980 containment: image stays fully visible while viewport shrinks === */
/* === v3 desktop scaling: cover fills banner above 1920px (smooth, no jump) === */
@media (min-width: 1921px) {
  html[data-testimonial-page] #testimonial-hero #main-banner.banner__image {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
}

