.corealm-hero,
  .corealm-hero * {
    box-sizing: border-box;
  }

  .corealm-hero {
    --corealm-navy: #143a63;
    --corealm-blue: #009bdb;
    --corealm-orange: #ff6900;
    --corealm-white: #ffffff;
    position: relative;
    width: 100%;
    height: 500px;
    min-height: 500px;
    overflow: hidden;
    isolation: isolate;
    color: var(--corealm-navy);
    background: #dff3fc;
    font-family: inherit;
    contain: layout paint style;
    -webkit-font-smoothing: antialiased;
  }

  /*
   * Immediate full-bleed layout.
   * WPBakery normally calculates stretched rows after JavaScript runs, which
   * briefly exposes the theme's boxed container while the page is loading.
   */
  .corealm-hero {
    width: 100vw;
    max-width: none;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
  }

  @supports selector(.vc_row:has(#corealmHeroSlider)) {
    body .vc_row:has(#corealmHeroSlider) {
      position: relative !important;
      left: 50% !important;
      width: 100vw !important;
      max-width: 100vw !important;
      margin-right: 0 !important;
      margin-left: -50vw !important;
      padding-right: 0 !important;
      padding-left: 0 !important;
      overflow: hidden !important;
      opacity: 1 !important;
    }

    body .vc_row:has(#corealmHeroSlider) > .wpb_column,
    body .vc_row:has(#corealmHeroSlider) .vc_column-inner,
    body .vc_row:has(#corealmHeroSlider) .wpb_wrapper {
      width: 100% !important;
      max-width: none !important;
      margin: 0 !important;
      padding-right: 0 !important;
      padding-left: 0 !important;
    }

    body .vc_row:has(#corealmHeroSlider) #corealmHeroSlider {
      width: 100% !important;
      margin-right: 0 !important;
      margin-left: 0 !important;
    }
  }

  .corealm-hero:focus-visible {
    outline: 3px solid rgba(0, 155, 219, 0.7);
    outline-offset: -3px;
  }

  .corealm-hero__track,
  .corealm-hero__slide,
  .corealm-hero__slide::before {
    position: absolute;
    inset: 0;
  }

  .corealm-hero__slide {
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 650ms ease, visibility 0s linear 650ms;
  }

  .corealm-hero__slide::before {
    z-index: -1;
    content: "";
    background-color: #e9f7fd;
    background-image: var(--corealm-slide-bg, none);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transform: scale(1.01);
  }

  .corealm-hero__slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 650ms ease;
  }

  .corealm-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
    align-items: center;
    gap: clamp(34px, 5vw, 88px);
    width: min(100% - 112px, 1240px);
    height: 100%;
    margin: 0 auto;
    padding: 28px 0 48px;
  }

  .corealm-hero__copy {
    position: relative;
    z-index: 2;
    max-width: 650px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 450ms ease 120ms, transform 450ms ease 120ms;
  }

  .corealm-hero__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 380px;
    opacity: 0;
    transform: translate3d(18px, 0, 0);
    transition: opacity 520ms ease 170ms, transform 520ms ease 170ms;
  }

  .corealm-hero__slide.is-active .corealm-hero__copy,
  .corealm-hero__slide.is-active .corealm-hero__visual {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .corealm-hero__visual img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .corealm-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin: 0 0 24px;
    padding: 4px 11px;
    border: 1px solid var(--corealm-blue);
    border-radius: 999px;
    color: var(--corealm-blue);
    background: rgba(255, 255, 255, 0.38);
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.01em;
  }

  .corealm-hero__eyebrow--offer {
    border-color: var(--corealm-orange);
    color: var(--corealm-white);
    background: var(--corealm-orange);
    font-weight: 700;
    text-transform: uppercase;
  }

  .corealm-hero__title {
    max-width: 680px;
    margin: 0;
    color: var(--corealm-navy);
    font-size: clamp(34px, 2.55vw, 42px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
  }

  .corealm-hero__title strong {
    display: block;
    margin-bottom: 2px;
    font-size: 0.96em;
    font-weight: 700;
    letter-spacing: 0.01em;
  }

  .corealm-hero__description {
    max-width: 650px;
    margin: 16px 0 0;
    color: var(--corealm-navy);
    font-size: clamp(17px, 1.25vw, 20px);
    font-weight: 400;
    line-height: 1.35;
  }

  .corealm-hero__highlight {
    color: var(--corealm-blue);
  }

  .corealm-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
    margin-top: 32px;
  }

  .corealm-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin: 0;
    padding: 10px 16px;
    border: 0;
    border-radius: 10px;
    color: var(--corealm-white) !important;
    background: var(--corealm-blue);
    box-shadow: 0 8px 20px rgba(0, 93, 145, 0.1);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    appearance: none;
    transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
  }

  .corealm-hero__button--navy {
    background: var(--corealm-navy);
  }

  .corealm-hero__button:hover,
  .corealm-hero__button:focus-visible {
    color: var(--corealm-white) !important;
    background: #007fba;
    box-shadow: 0 10px 25px rgba(0, 93, 145, 0.18);
    transform: translateY(-1px);
  }

  .corealm-hero__button--navy:hover,
  .corealm-hero__button--navy:focus-visible {
    background: #0d2e50;
  }

  .corealm-hero__button:focus-visible,
  .corealm-hero__text-link:focus-visible,
  .corealm-hero__arrow:focus-visible,
  .corealm-hero__dot:focus-visible {
    outline: 3px solid rgba(0, 155, 219, 0.42);
    outline-offset: 3px;
  }

  .corealm-hero__text-link {
    color: var(--corealm-navy) !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    text-decoration: none !important;
    transition: color 180ms ease;
  }

  .corealm-hero__text-link:hover {
    color: var(--corealm-blue) !important;
  }

  .corealm-hero__certified {
    display: inline-flex;
    overflow: hidden;
    align-items: stretch;
    margin-top: 24px;
    border: 1px solid rgba(20, 58, 99, 0.08);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 14px rgba(20, 58, 99, 0.07);
    font-size: 12px;
    line-height: 1;
  }

  .corealm-hero__certified strong {
    padding: 9px 12px;
    color: #ffffff;
    background: #2a4b4d;
    font-size: 16px;
    font-weight: 700;
  }

  .corealm-hero__certified span {
    display: inline-flex;
    align-items: center;
    padding: 9px 12px;
    color: #52616d;
  }

  .corealm-hero__arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    display: grid;
    place-items: center;
    width: 46px;
    height: 58px;
    padding: 0;
    border: 0;
    color: #ffffff;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
    appearance: none;
    opacity: 0.88;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .corealm-hero__arrow:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
  }

  .corealm-hero__arrow--prev {
    left: 0;
  }

  .corealm-hero__arrow--next {
    right: 0;
  }

  .corealm-hero__arrow svg {
    width: 22px;
    height: 38px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
  }

  .corealm-hero__dots {
    position: absolute;
    z-index: 6;
    right: 0;
    bottom: 10px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    pointer-events: none;
  }

  .corealm-hero__dot {
    width: 14px;
    height: 14px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 1px 4px rgba(20, 58, 99, 0.12);
    cursor: pointer;
    appearance: none;
    pointer-events: auto;
    transition: background-color 180ms ease, transform 180ms ease;
  }

  .corealm-hero__dot[aria-current="true"] {
    background: #ffffff;
    transform: scale(1.06);
  }

  @media (max-width: 1100px) {
    .corealm-hero__inner {
      grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
      gap: 32px;
      width: min(100% - 88px, 1040px);
    }

    .corealm-hero__visual {
      height: 330px;
    }

    .corealm-hero__title {
      font-size: clamp(31px, 3.6vw, 38px);
    }
  }

  @media (max-width: 767px) {
    .corealm-hero {
      height: clamp(650px, 86svh, 720px);
      min-height: 650px;
      max-height: 720px;
    }

    .corealm-hero__slide::before {
      background-position: center;
      transform: none;
    }

    .corealm-hero__inner {
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: auto minmax(190px, 1fr);
      align-content: center;
      gap: 18px;
      width: 100%;
      padding: 34px 28px 76px;
    }

    .corealm-hero__copy {
      align-self: end;
      width: 100%;
      max-width: 590px;
      margin-right: auto;
      margin-left: auto;
      text-align: center;
    }

    .corealm-hero__visual {
      align-self: start;
      height: 235px;
      transform: translate3d(0, 12px, 0);
    }

    .corealm-hero__eyebrow {
      min-height: 25px;
      margin-bottom: 15px;
      padding: 4px 9px;
      font-size: 11px;
    }

    .corealm-hero__title {
      color: var(--corealm-navy) !important;
      font-size: clamp(28px, 8.1vw, 36px);
      font-weight: 500 !important;
      line-height: 1.13;
    }

    .corealm-hero__description {
      margin-right: auto;
      margin-top: 12px;
      margin-left: auto;
      font-size: clamp(15px, 4vw, 18px);
      line-height: 1.34;
    }

    .corealm-hero__actions {
      justify-content: center;
      gap: 13px 20px;
      margin-top: 22px;
    }

    .corealm-hero__button {
      min-height: 40px;
      padding: 10px 15px;
    }

    .corealm-hero__certified {
      margin-right: auto;
      margin-top: 16px;
      margin-left: auto;
    }

    .corealm-hero__arrow {
      top: auto;
      bottom: 7px;
      width: 50px;
      height: 52px;
      transform: none;
    }

    .corealm-hero__arrow:hover {
      transform: scale(1.06);
    }

    .corealm-hero__arrow--prev {
      left: 10px;
    }

    .corealm-hero__arrow--next {
      right: 10px;
    }

    .corealm-hero__dots {
      bottom: 25px;
    }

    /* The final slide contains more copy and controls than the other slides. */
    .corealm-hero__slide--servicenow .corealm-hero__inner {
      grid-template-rows: auto 175px;
      gap: 10px;
      padding-top: 26px;
      padding-bottom: 68px;
    }

    .corealm-hero__slide--servicenow .corealm-hero__copy {
      align-self: center;
    }

    .corealm-hero__slide--servicenow .corealm-hero__eyebrow {
      margin-bottom: 10px;
    }

    .corealm-hero__slide--servicenow .corealm-hero__title {
      max-width: 370px;
      margin-right: auto;
      margin-left: auto;
      font-size: clamp(23px, 6.6vw, 27px) !important;
      line-height: 1.1 !important;
    }

    .corealm-hero__slide--servicenow .corealm-hero__description {
      max-width: 390px;
      margin-top: 10px;
      font-size: 15px !important;
      line-height: 1.28;
    }

    .corealm-hero__slide--servicenow .corealm-hero__certified {
      margin-top: 12px;
    }

    .corealm-hero__slide--servicenow .corealm-hero__actions {
      flex-direction: column;
      gap: 10px;
      margin-top: 14px;
    }

    .corealm-hero__slide--servicenow .corealm-hero__text-link {
      font-size: 13px;
    }

    .corealm-hero__slide--servicenow .corealm-hero__visual {
      height: 175px;
    }
  }

  @media (max-width: 390px) {
    .corealm-hero {
      height: 680px;
      min-height: 680px;
    }

    .corealm-hero__inner {
      padding-right: 22px;
      padding-left: 22px;
    }

    .corealm-hero__visual {
      height: 210px;
    }

    .corealm-hero__title {
      font-size: 28px;
    }

    .corealm-hero__description {
      font-size: 15px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .corealm-hero__slide,
    .corealm-hero__copy,
    .corealm-hero__visual,
    .corealm-hero__button,
    .corealm-hero__arrow,
    .corealm-hero__dot {
      scroll-behavior: auto !important;
      transition-duration: 0.01ms !important;
      transition-delay: 0ms !important;
    }
  }

/* Respect a single-slide layout and WPBakery normal column nesting. */
.corealm-hero__arrow[hidden], .corealm-hero__dots[hidden] { display:none!important; }
