/* ConnectPlus Interactive Header */

.connectplus-interactive-header {
  position: relative;
  width: 100%;
  min-height: 80vh;
  overflow: hidden;
  background: #043a55; /* dark blue */
  color: #fff;
}

.connectplus-interactive-header .cpi-inner {
  position: relative;
  width: 100%;
  height: 80vh;
}

.connectplus-interactive-header .cpi-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* bottom slanted white edge */
.connectplus-interactive-header::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -6vh;
  height: 10vh;
  background: #fff;
  transform: rotate(-1.4deg);
  transform-origin: left bottom;
  pointer-events: none;
  z-index: 5;
}

.connectplus-interactive-header .cpi-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8vh 24px;
}

.connectplus-interactive-header .cpi-title {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  font-weight: 800;
  margin: 0 0 18px 0;
  letter-spacing: -0.02em;
  color: #fff;
}

.connectplus-interactive-header .cpi-btnwrap {
  margin-top: 6px;
}

/* restrict mesh to right/bottom area by masking */
.connectplus-interactive-header .cpi-mesh-mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* show mainly bottom-left to top-right diagonal region */
  -webkit-mask-image: linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,1) 46%, rgba(0,0,0,1) 100%);
  mask-image: linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,1) 46%, rgba(0,0,0,1) 100%);
}

@media (max-width: 768px) {
  .connectplus-interactive-header .cpi-content {
    padding: 7vh 18px;
  }
}
