/* U&PI Cinematic Hero Slider — styles scoped to this widget only. */
.upi-chs {
  --upi-overlay:#13276A;
  --upi-heading:#fff;
  --upi-accent:#9DD8FF;
  --upi-body:#fff;
  --upi-button:#3A8FDE;
  --upi-button-text:#fff;
  position:relative;
  width:100%;
  min-width:0;
  overflow:hidden;
  isolation:isolate;
  background:var(--upi-overlay);
  color:var(--upi-body);
  font-family:inherit;
}
.upi-chs, .upi-chs * { box-sizing:border-box; }
.upi-chs__track { display:grid; position:relative; isolation:isolate; width:100%; }
.upi-chs__slide {
  grid-area:1 / 1;
  display:flex;
  align-items:center;
  min-width:0;
  min-height:630px;
  width:100%;
  position:relative;
  overflow:hidden;
  isolation:isolate;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity 780ms ease, visibility 780ms step-end;
  background:var(--upi-overlay);
}
.upi-chs__slide.is-active {
  opacity:1;
  visibility:visible;
  z-index:2;
  pointer-events:auto;
  transition:opacity 780ms ease, visibility 0ms;
}
.upi-chs__background {
  position:absolute;
  inset:0;
  z-index:-3;
  background:
    radial-gradient(ellipse at 78% 25%,rgba(58,143,222,.48),transparent 42%),
    radial-gradient(ellipse at 77% 108%,rgba(131,211,253,.32),transparent 38%),
    linear-gradient(108deg,#101E51 6%,#13276A 44%,#205093 74%,#3A8FDE 100%);
}
.upi-chs__background::after {
  content:"";
  position:absolute;
  width:min(64vw,800px);
  aspect-ratio:1;
  border:1px solid rgba(255,255,255,.11);
  border-radius:50%;
  right:-15%; top:10%;
  box-shadow:0 0 0 90px rgba(255,255,255,.018),0 0 0 185px rgba(255,255,255,.016);
}
.upi-chs__picture {position:absolute;inset:0;z-index:-2;overflow:hidden;display:block;pointer-events:none;}
.upi-chs__picture img {
  display:block;
  width:100%;height:100%;
  max-width:none;
  object-fit:cover;
  object-position:var(--upi-photo-position,right center);
}
.upi-chs__picture--contain {left:48%;top:4%;right:2%;bottom:4%;}
.upi-chs__picture--contain img {object-fit:contain;}
.upi-chs__veil {
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:linear-gradient(90deg,
    var(--upi-overlay) 0%,
    color-mix(in srgb, var(--upi-overlay) 98%, transparent) 21%,
    color-mix(in srgb, var(--upi-overlay) 95%, transparent) 36%,
    color-mix(in srgb, var(--upi-overlay) 80%, transparent) 53%,
    color-mix(in srgb, var(--upi-overlay) 26%, transparent) 82%,
    color-mix(in srgb, var(--upi-overlay) 6%, transparent) 100%);
}
.upi-chs__content {
  width:calc(100% - 36px);
  max-width:700px;
  min-width:0;
  padding:88px 0 106px;
  margin-left:clamp(24px,11.5vw,230px);
  margin-right:22px;
  position:relative;
  z-index:1;
}
.upi-chs__eyebrow {
  color:#e6f4ff !important;
  letter-spacing:.13em;
  font-size:clamp(12px,1.05vw,16px) !important;
  font-weight:700;
  line-height:1.5;
  margin:0 0 16px !important;
  overflow-wrap:anywhere;
  text-transform:uppercase;
}
.upi-chs__heading {
  font-size:clamp(31px,3.15vw,61px);
  font-weight:800;
  letter-spacing:-.028em;
  line-height:1.14;
  margin:0 0 22px;
  overflow-wrap:break-word;
}
.upi-chs__heading-main,.upi-chs__heading-accent {display:block;}
.upi-chs__heading-main {color:var(--upi-heading);}
.upi-chs__heading-accent {color:var(--upi-accent);margin-top:.09em;}
.upi-chs__description {
  color:var(--upi-body) !important;
  opacity:.96;
  font-size:clamp(16px,1.27vw,20px) !important;
  font-weight:450;
  line-height:1.58;
  margin:0 0 29px !important;
  overflow-wrap:anywhere;
}
.upi-chs__actions {display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
/* Defend against Elementor theme's button rule; only these controls, never global buttons. */
.upi-chs a.upi-chs__button, .elementor .upi-chs a.upi-chs__button {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px;
  border:1px solid transparent !important;
  border-radius:12px !important;
  font:inherit !important;
  font-size:clamp(13px,1vw,15px) !important;
  font-weight:700 !important;
  line-height:1.25 !important;
  padding:15px 22px !important;
  text-align:center;
  text-decoration:none !important;
  min-height:48px;
  max-width:100%;
  white-space:normal;
  overflow-wrap:break-word;
  text-shadow:none !important;
  box-shadow:none;
  transition:background-color .22s ease,border-color .22s ease,transform .22s ease;
}
.upi-chs a.upi-chs__button--primary,.elementor .upi-chs a.upi-chs__button--primary {
  background:var(--upi-button) !important;
  color:var(--upi-button-text) !important;
}
.upi-chs a.upi-chs__button--secondary,.elementor .upi-chs a.upi-chs__button--secondary {
  background:rgba(255,255,255,.13) !important;
  border-color:rgba(255,255,255,.5) !important;
  color:#fff !important;
  backdrop-filter:blur(7px);
}
.upi-chs a.upi-chs__button:hover {transform:translateY(-2px);}
.upi-chs a.upi-chs__button--primary:hover {background:#205093 !important;}
.upi-chs a.upi-chs__button--secondary:hover {background:rgba(255,255,255,.23) !important;}
.upi-chs a.upi-chs__button:focus-visible,
.upi-chs button:focus-visible {outline:3px solid #a6e6ff !important;outline-offset:3px;}
.upi-chs__navigation {
  position:absolute;
  bottom:clamp(22px,3vw,39px);
  left:clamp(24px,11.5vw,230px);
  right:clamp(24px,5vw,88px);
  z-index:6;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  pointer-events:none;
}
.upi-chs__dots,.upi-chs__arrows{display:flex;align-items:center;gap:9px;pointer-events:auto;}
.upi-chs button.upi-chs__dot,
.elementor .upi-chs button.upi-chs__dot {
  appearance:none !important;
  width:9px !important;height:9px !important;
  min-width:9px !important;min-height:9px !important;
  padding:0 !important;margin:0 !important;
  border:0 !important;border-radius:999px !important;
  background:rgba(255,255,255,.48) !important;
  box-shadow:none !important;
  cursor:pointer;
  transition:width .24s ease,background .24s ease;
}
.upi-chs button.upi-chs__dot.is-current,.elementor .upi-chs button.upi-chs__dot.is-current {
  background:#fff !important;width:30px !important;
}
.upi-chs button.upi-chs__arrow,
.elementor .upi-chs button.upi-chs__arrow {
  appearance:none !important;
  width:43px !important;height:43px !important;
  display:grid !important;place-items:center !important;
  padding:10px !important;margin:0 !important;
  background:rgba(255,255,255,.15) !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.55) !important;
  border-radius:999px !important;
  box-shadow:none !important;
  cursor:pointer;
  transition:background .22s ease;
}
.upi-chs button.upi-chs__arrow:hover {background:rgba(255,255,255,.3) !important;}
.upi-chs button.upi-chs__arrow svg {width:21px;height:21px;display:block;stroke:currentColor;}
@media (max-width: 1199px) {
  .upi-chs__content {margin-left:clamp(28px,6vw,82px);max-width:min(650px,65%);}
  .upi-chs__navigation {left:clamp(28px,6vw,82px);right:36px;}
  .upi-chs__slide {min-height:550px;}
}
@media (max-width: 767px) {
  .upi-chs__slide {min-height:630px;align-items:flex-end;}
  .upi-chs__picture {inset:0 0 28% 0;}
  .upi-chs__picture--contain {inset:12px 4% 36% 37%;}
  .upi-chs__veil {
    background:linear-gradient(0deg,
      var(--upi-overlay) 0%,
      color-mix(in srgb,var(--upi-overlay) 98%,transparent) 26%,
      color-mix(in srgb,var(--upi-overlay) 93%,transparent) 48%,
      color-mix(in srgb,var(--upi-overlay) 48%,transparent) 72%,
      color-mix(in srgb,var(--upi-overlay) 13%,transparent) 100%);
  }
  .upi-chs__content {
    width:calc(100% - 40px);
    max-width:none;
    margin:0 20px;
    padding:265px 0 96px;
  }
  .upi-chs__eyebrow {font-size:11px !important;margin-bottom:10px !important;letter-spacing:.1em;}
  .upi-chs__heading {font-size:clamp(27px,7.3vw,38px);line-height:1.16;margin-bottom:13px;}
  .upi-chs__description {font-size:14px !important;line-height:1.52;margin-bottom:18px !important;}
  .upi-chs__actions {gap:9px;}
  .upi-chs a.upi-chs__button,.elementor .upi-chs a.upi-chs__button {
    min-height:44px;padding:12px 14px !important;font-size:12px !important;border-radius:10px !important;
  }
  .upi-chs__navigation {bottom:18px;left:20px;right:20px;}
  .upi-chs button.upi-chs__arrow,.elementor .upi-chs button.upi-chs__arrow {width:36px !important;height:36px !important;padding:7px !important;}
}
@media (max-width: 359px) {
  .upi-chs__content {margin:0 16px;width:calc(100% - 32px);padding-top:220px;}
  .upi-chs__heading {font-size:27px;}
  .upi-chs__actions {align-items:stretch;}
  .upi-chs__navigation {left:16px;right:16px;}
}
@media (prefers-reduced-motion:reduce) {
  .upi-chs__slide {transition:none !important;}
  .upi-chs__button,.upi-chs__dot,.upi-chs__arrow {transition:none !important;}
}
