/* WP Hero Slider — frontend styles */

.whs-fullbleed{
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
  overflow: hidden; /* clips this element only if it slightly exceeds the viewport */
}

.whs-stage{
  --whs-color1: #2f5b98;
  --whs-color2: #61adcf;
  position: relative;
  width: 100%;
  height: clamp(460px, 100vh, 980px);
  overflow: hidden;
  isolation: isolate;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.whs-stage:focus-visible{ outline: 3px solid #0af; outline-offset: -3px; }
.whs-stage *{ box-sizing: border-box; }

.whs-bg{ position:absolute; inset:0; background:var(--whs-color1); z-index:0; }
.whs-bg::after{
  content:"";
  position:absolute; inset:-2px;
  background:var(--whs-color2);
  clip-path: polygon(56% 0%, 100% 0%, 100% 100%, 30% 100%);
  transition: clip-path .6s ease;
}
.whs-stage[data-variant="2"] .whs-bg::after{
  clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 36% 100%);
}

.whs-inner{
  position: relative; z-index: 4;
  height: 100%;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  padding: 0 5% 0 7%;
  gap: 24px;
  max-width: 1600px;
  margin: 0 auto;
}

.whs-text-col{ max-width: 600px; }

.whs-eyebrow{
  border-top: 1px solid rgba(255,255,255,.55);
  padding-top: 14px;
  margin-bottom: 22px;
  color: #f2fbff;
  font-size: 13px;
  letter-spacing: .22em;
  font-weight: 600;
  line-height: 1.7;
  max-width: 440px;
}

.whs-heading{
  font-family: 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  font-size: clamp(34px, 5.2vw, 72px);
  line-height: .98;
  letter-spacing: -.01em;
  margin: 0 0 34px;
}
.whs-heading .whs-line{ display:block; overflow:hidden; padding-bottom:.08em; }
.whs-heading .whs-line span{ display:inline-block; will-change:transform; }

.whs-cta{
  display: inline-flex; align-items:center; gap:10px;
  background: transparent;
  border: 1.5px solid #fff;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 15px 28px;
  cursor: pointer;
  text-decoration: none;
  transition: background .25s ease, color .25s ease;
}
.whs-cta:hover{ background:#fff; color: var(--whs-color1); }

.whs-visual-col{ position:relative; height:100%; display:flex; align-items:center; justify-content:center; }

.whs-visual{
  position: relative;
  width: min(40vw, 580px);
  height: min(40vw, 580px);
  background: #f6faf3;
  box-shadow: 0 25px 50px -18px rgba(0,0,0,.55);
  display:flex; align-items:center; justify-content:center;
  overflow: hidden;
}
.whs-visual.whs-is-diamond{ transform: rotate(45deg); }
.whs-visual.whs-is-circle{ 
	border-radius: 50%; 
	width: min(40vw, 680px);
	  height: min(40vw, 680px);
}
.whs-visual img{ width:100%; height:100%; object-fit:cover; display:block; }

.whs-visual.whs-is-double{
  width:auto; height:auto; background:none; box-shadow:none; overflow:visible;
  display:flex; align-items:center;
}
.whs-circle{
  width: min(35vw, 460px); height: min(35vw, 460px); border-radius: 50%;
  background: #f6faf3;
  border: 5px solid #fff;
  box-shadow: 0 20px 45px -15px rgba(0,0,0,.5);
  overflow: hidden;
  position: relative;
}
.whs-circle img{ width:100%; height:100%; object-fit:cover; display:block; }
.whs-circle.whs-c1{ margin-right: min(0vw, -70px); z-index:1; }
.whs-circle.whs-c2{ z-index:2; }

.whs-arrow{
  position:absolute; top:50%; translate:0 -50%;
  z-index:6; width:46px; height:46px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background: rgba(0,0,0,.08);
  border: 1.5px solid rgba(255,255,255,.8);
  color:#fff; cursor:pointer;
  opacity:0; transition:opacity .25s ease, background .2s ease;
  padding: 0;
}
.whs-stage:hover .whs-arrow{ opacity:1; }
.whs-arrow:hover{ background: rgba(0,0,0,.22); }
.whs-arrow.whs-prev{ left:26px; }
.whs-arrow.whs-next{ right:26px; }
.whs-arrow svg{ width:18px; height:18px; }

.whs-dots{
  position:absolute; left:50%; translate:-50% 0; bottom:26px; z-index:6;
  display:flex; gap:10px;
	height: 3px;
  overflow: hidden;
}
}
.whs-dot{
  position:relative; width:38px; height:3px; background:rgba(255,255,255,.4);
  cursor:pointer; overflow:hidden; padding:0; border:0;
}
.whs-dot__fill{ position:absolute; inset:0; width:0%; background:#fff; }

.whs-empty-notice{
  padding: 14px 18px;
  background: #fff8e5;
  border-left: 4px solid #d8a300;
}

@media (max-width: 760px){
  .whs-inner{ grid-template-columns: 1fr; padding: 0 7%; text-align:left; }
  .whs-visual-col{ margin-top: 20px; }
  .whs-stage{ height:auto; min-height:480px; padding-bottom:90px; padding-top:60px; }
}

@media (prefers-reduced-motion: reduce){
  .whs-stage *{ transition-duration:.01ms !important; animation-duration:.01ms !important; }
}
