@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../webfonts/Manrope-VariableFont_wght.woff2") format("woff2");
}

:root {
  --jh-font: "Manrope", Arial, sans-serif;
  --jh-navy: #0b2e67;
  --jh-navy-hover: #164a9a;
  --jh-sky: #5bbcec;
  --jh-sky-soft: #7dd3fc;
  --jh-ink: #07111f;
  --jh-text: #48576b;
  --jh-muted: #6c7a90;
  --jh-line: rgba(11, 46, 103, 0.14);
  --jh-soft: #f7f9fc;
  --jh-panel: #ffffff;
  --jh-gradient: linear-gradient(90deg, #0b2e67 0%, #38bdf8 50%, #0b2e67 100%);
  --jh-ui-gradient: linear-gradient(90deg, #0b2e67 0%, #38bdf8 100%);
  --jh-eyebrow-light-bg-gradient: linear-gradient(90deg, #0b2e67 0%, #164a9a 100%);
  --jh-eyebrow-dark-bg-gradient: linear-gradient(90deg, #f8fafc 0%, #7dd3fc 100%);
  --jh-footer-charcoal-soft: #171717;
  --jh-footer-charcoal: #121212;
  --jh-footer-charcoal-deep: #0d0d0d;
  --jh-shadow: 0 18px 48px rgba(7, 17, 31, 0.12);
  --jh-card-shadow: 0 22px 45px rgba(7, 17, 31, 0.08);
  --jh-focus: 0 0 0 0.22rem rgba(91, 188, 236, 0.32);
}

html,
body.junction-client-template {
  min-width: 0;
  overflow-x: hidden;
}

body.junction-client-template {
  background: var(--jh-soft);
  color: var(--jh-text);
  font-family: var(--jh-font);
  font-size: 16px;
  line-height: 1.58;
}

.junction-client-template .animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    -ms-transform: translateY(20px);
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}

.junction-client-template .fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}

@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    -webkit-transform: translateX(20px);
    transform: translateX(20px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
}

.junction-client-template .fadeInRight {
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight;
}

@-webkit-keyframes slideInLeft {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-2000px);
    transform: translateX(-2000px);
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-2000px);
    -ms-transform: translateX(-2000px);
    transform: translateX(-2000px);
  }

  100% {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
}

.junction-client-template .slideInLeft {
  -webkit-animation-name: slideInLeft;
  animation-name: slideInLeft;
}

@-webkit-keyframes slideInDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    visibility: visible;
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
    visibility: visible;
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .junction-client-template .wow,
  .junction-client-template .animated {
    visibility: visible !important;
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

.junction-client-template *,
.junction-client-template *::before,
.junction-client-template *::after {
  letter-spacing: 0;
}

.junction-client-template a {
  color: var(--jh-navy);
  overflow-wrap: anywhere;
}

.junction-client-template a:hover,
.junction-client-template a:focus {
  color: var(--jh-navy-hover);
}

.junction-client-template a:focus-visible,
.junction-client-template button:focus-visible,
.junction-client-template .btn:focus,
.junction-client-template .form-control:focus,
.junction-client-template .custom-select:focus,
.junction-client-template select:focus,
.junction-client-template input:focus,
.junction-client-template textarea:focus {
  border-color: var(--jh-sky);
  box-shadow: var(--jh-focus);
  outline: 0;
}

.jh-haptic-cursor {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  margin-top: -10px;
  margin-left: -10px;
  border-radius: 50%;
  background-color: rgba(122, 122, 122, 0.3);
  mix-blend-mode: multiply;
  opacity: 0;
  pointer-events: none;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: -webkit-transform 0.35s ease-out, opacity 120ms ease-out;
  transition: -webkit-transform 0.35s ease-out, opacity 120ms ease-out;
  transition: transform 0.35s ease-out, opacity 120ms ease-out;
  transition: transform 0.35s ease-out, -webkit-transform 0.35s ease-out, opacity 120ms ease-out;
  z-index: 1011;
}

.jh-haptic-cursor.is-visible {
  opacity: 1;
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .jh-haptic-cursor {
    display: none;
  }
}

.junction-client-template .container-md {
  max-width: 1240px;
}

.jh-client-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 28px 0 0;
  background: transparent;
  transition: padding 300ms ease-in-out, background-color 300ms ease-in-out, box-shadow 300ms ease-in-out;
}

.jh-client-header.is-sticky,
.jh-client-header.sticky-on {
  position: fixed;
  top: 0 !important;
  right: auto;
  bottom: auto !important;
  left: 0 !important;
  width: 100%;
  padding-top: 0;
  background: #fff;
  box-shadow: 0 4px 4px rgba(100, 109, 152, 0.06);
  animation-name: slideInDown;
  animation-duration: 1s;
  animation-fill-mode: both;
  animation-timing-function: ease;
}

.jh-client-header .container-md {
  max-width: 1660px;
  width: 100%;
  padding-right: 0;
  padding-left: 0;
}

.jh-header-top {
  box-sizing: border-box;
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1145px;
  margin: 0 auto;
  padding: 8px 70px;
  border-top-left-radius: 100px;
  border-top-right-radius: 100px;
  color: #fff;
  background: var(--jh-ui-gradient);
}

.jh-client-header.is-sticky .jh-header-top,
.jh-client-header.sticky-on .jh-header-top {
  display: none;
}

.jh-header-utility {
  min-width: 0;
}

.jh-header-top .top-info-cta-social {
  width: 100%;
  gap: 18px;
}

.jh-header-top .top-info-cta ul,
.jh-header-top .top-social-area {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jh-header-top .top-info-cta li {
  min-width: 0;
  margin-right: 40px;
}

.jh-header-top .top-info-cta li:last-child {
  margin-right: 0;
}

.jh-header-top .jh-utility-link,
.jh-header-top .jh-utility-link i,
.jh-header-top .jh-utility-phone,
.jh-header-top .top-nav a,
.jh-header-top .top-social-area a {
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}

.jh-utility-link i {
  margin-right: 5px;
}

.jh-header-top .top-social-area a {
  display: inline-flex;
  align-items: center;
  margin-left: 30px;
  text-decoration: none;
}

.jh-header-top .top-social-area .jh-x-logo {
  display: block;
  width: 0.95em;
  height: 0.95em;
  fill: currentColor;
}

.jh-header-top .top-social-area a:first-child {
  margin-left: 0;
}

.jh-header-top .top-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.jh-header-top .dropdown-menu a {
  color: var(--jh-ink);
}

.jh-header-top .jh-header-account-menu .dropdown-menu {
  min-width: 230px;
  margin-top: 8px;
  border: 1px solid var(--jh-line);
  border-radius: 8px;
  box-shadow: var(--jh-shadow);
}

.jh-header-top .jh-header-account-menu .dropdown-item {
  color: var(--jh-text) !important;
  font-weight: 600;
}

.jh-header-top .jh-header-account-menu .dropdown-item i {
  margin-right: 6px;
}

.jh-header-top .jh-header-account-menu .dropdown-item:hover,
.jh-header-top .jh-header-account-menu .dropdown-item:focus {
  color: var(--jh-navy) !important;
  background: rgba(91, 188, 236, 0.12);
}

.jh-header-main {
  box-sizing: border-box;
  display: grid;
  width: min(calc(100% - 24px), 1256px);
  max-width: 1256px;
  min-height: 86px;
  grid-template-columns: minmax(280px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  margin: 0 auto;
  padding: 30px 60px;
  border-radius: 100px;
  background: #fff;
  box-shadow: 0 4px 4px rgba(100, 109, 152, 0.06);
  transform: translateY(0);
  transition:
    min-height 300ms ease-in-out,
    padding 300ms ease-in-out,
    border-radius 300ms ease-in-out,
    box-shadow 300ms ease-in-out,
    transform 300ms ease-in-out,
    opacity 300ms ease-in-out;
}

.jh-client-header.is-sticky .jh-header-main,
.jh-client-header.sticky-on .jh-header-main {
  width: min(100%, 1256px);
  min-height: 101px;
  padding: 0 60px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.jh-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--jh-navy);
  text-decoration: none;
  white-space: nowrap;
}

.jh-brand:hover,
.jh-brand:focus {
  color: var(--jh-navy-hover);
  text-decoration: none;
}

.jh-brand img {
  display: block;
  width: 242px;
  max-width: 100%;
  height: auto;
}

.jh-header-main .jh-brand {
  color: var(--jh-navy);
}

.jh-brand-icon {
  display: block;
  flex: 0 0 auto;
  width: 34px;
  height: 26px;
}

.jh-brand span {
  color: #1f2937;
  font-size: 21.8px;
  font-weight: 800;
  line-height: 1.2;
}

.jh-brand .jh-brand-word-secondary {
  color: var(--jh-navy);
}

.jh-header-main .navbar {
  flex: 1 1 auto;
  width: 100%;
  justify-content: stretch;
  min-width: 0;
  padding: 0;
}

.jh-navbar-inner {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 28px;
  min-height: 0;
}

.jh-header-main .navbar-nav {
  align-items: center;
  gap: 28px;
}

.jh-header-main .jh-primary-nav {
  justify-content: center;
  min-width: 0;
}

.jh-nav-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: max-content;
}

@media (min-width: 1025px) {
  .jh-client-header:not(.is-sticky):not(.sticky-on) .jh-nav-action {
    display: none;
  }
}

@media (min-width: 992px) {
  .jh-client-header.is-sticky .jh-nav-action,
  .jh-client-header.sticky-on .jh-nav-action {
    display: flex;
  }
}

.jh-header-main .navbar-nav .nav-link,
.jh-nav-action .nav-link {
  display: inline;
  position: relative;
  color: var(--jh-navy) !important;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
  padding: 0 0 40px;
  transition: color 200ms linear;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .jh-client-header.is-sticky .jh-header-main .navbar-nav .nav-link,
  .jh-client-header.sticky-on .jh-header-main .navbar-nav .nav-link,
  .jh-client-header.is-sticky .jh-nav-action .nav-link,
  .jh-client-header.sticky-on .jh-nav-action .nav-link {
    line-height: 1.65;
    padding-bottom: 40px;
  }
}

.jh-header-main .navbar-nav > .nav-item > .nav-link::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: transparent;
  opacity: 0;
  content: "";
  transform: scaleX(0.7);
  transform-origin: left center;
  transition: opacity 200ms linear, transform 200ms linear, background-color 200ms linear;
}

.jh-header-main .navbar-nav .active > .nav-link,
.jh-header-main .navbar-nav .active > .nav-link:hover,
.jh-header-main .navbar-nav .active > .nav-link:focus {
  color: var(--jh-navy) !important;
  font-weight: 800;
}

.jh-header-main .navbar-nav .active > .nav-link::before {
  background: var(--jh-sky);
  opacity: 1;
  transform: scaleX(1);
}

.jh-header-main .navbar-nav .nav-link:hover,
.jh-header-main .navbar-nav .nav-link:focus,
.jh-nav-action .nav-link:hover,
.jh-nav-action .nav-link:focus {
  color: var(--jh-navy-hover) !important;
}

.jh-header-main .nav-link:focus-visible,
.jh-header-main .jh-brand:focus-visible,
.jh-header-main .navbar-toggler:focus-visible {
  outline: 2px solid var(--jh-sky);
  outline-offset: 3px;
  box-shadow: none;
}

.jh-header-main .dropdown-menu {
  border: 1px solid var(--jh-line);
  border-radius: 8px;
  box-shadow: var(--jh-shadow);
}

.jh-header-main .dropdown-item {
  color: var(--jh-text);
  font-weight: 600;
}

.jh-header-main .dropdown-item:hover,
.jh-header-main .dropdown-item:focus {
  color: var(--jh-navy);
  background: rgba(91, 188, 236, 0.12);
}

.jh-header-main .navbar-toggler {
  width: 44px;
  height: 44px;
  border: 1px solid var(--jh-line);
  border-radius: 50%;
  background: #fff;
  z-index: 3;
}

.jh-header-main .navbar-toggler-icon {
  width: 21px;
  height: 2px;
  background: var(--jh-navy);
  box-shadow: 0 7px 0 var(--jh-navy), 0 -7px 0 var(--jh-navy);
}

.jh-header-main .navbar-toggler::before {
  display: block;
  width: 21px;
  height: 2px;
  background: var(--jh-navy);
  box-shadow: 0 7px 0 var(--jh-navy), 0 -7px 0 var(--jh-navy);
  content: "";
}

.jh-header-main .navbar-toggler .navbar-toggler-icon {
  display: none;
}

.jh-page-title {
  margin-top: -68px;
  padding: 142px 0 44px;
  height: auto !important;
  min-height: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.96) 0%, rgba(11, 46, 103, 0.88) 58%, rgba(22, 74, 154, 0.84) 100%),
    var(--jh-navy);
}

.junction-client-template .jh-page-title h3 {
  margin: 0;
  color: #fff !important;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.14;
}

.jh-page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.jh-page-breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.jh-page-breadcrumb a:hover,
.jh-page-breadcrumb a:focus {
  color: var(--jh-sky-soft);
}

.jh-auth-header {
  padding: 24px 0;
  background: #fff;
  box-shadow: 0 4px 18px rgba(7, 17, 31, 0.06);
}

.jh-auth-header .container-md {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.jh-auth-return {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--jh-navy);
  font-weight: 800;
}

.jh-client-main {
  padding-top: 42px;
  padding-bottom: 0;
}

.jh-client-main > .row {
  min-width: 0;
  margin-right: 0;
  margin-left: 0;
}

.junction-client-template .row.login {
  min-height: calc(100vh - 220px);
  align-items: center;
  justify-content: center;
  padding: 64px 0;
}

.junction-client-template .row.login > [class*="col-"] {
  max-width: 460px;
  flex: 0 1 460px;
  width: 100%;
  margin: 0;
}

.junction-client-template .row.login > [class*="col-"]:first-child {
  max-width: 420px;
}

.junction-client-template .row.login h2,
.junction-client-template .row.login h4,
.junction-client-template h1,
.junction-client-template h2,
.junction-client-template h3,
.junction-client-template h4,
.junction-client-template h5,
.junction-client-template h6 {
  color: var(--jh-ink);
  font-family: var(--jh-font);
  font-weight: 800;
}

.junction-client-template .row.login h2 {
  font-size: 32px;
  line-height: 1.18;
}

.junction-client-template .row.login p {
  color: var(--jh-text);
}

.junction-client-template .panel,
.junction-client-template .card,
.junction-client-template .card-blesta,
.junction-client-template .well,
.junction-client-template .list-group,
.junction-client-template #client_invoice {
  border: 1px solid var(--jh-line);
  border-radius: 8px;
  background: var(--jh-panel);
  box-shadow: 0 14px 36px rgba(7, 17, 31, 0.08);
}

.junction-client-template p,
.junction-client-template li,
.junction-client-template td,
.junction-client-template th,
.junction-client-template h1,
.junction-client-template h2,
.junction-client-template h3,
.junction-client-template h4,
.junction-client-template h5,
.junction-client-template h6,
.junction-client-template .card,
.junction-client-template .panel,
.junction-client-template .well {
  overflow-wrap: anywhere;
  white-space: normal !important;
}

.junction-client-template .thanks blockquote {
  max-width: 100%;
  margin-right: 0;
  margin-left: 0;
  padding: 18px 20px;
  border-left-color: rgba(11, 46, 103, 0.14);
  background: #fff;
}

.junction-client-template .thanks blockquote h4 {
  max-width: 100%;
  font-size: 24px;
  line-height: 1.22;
  white-space: normal !important;
}

@media (max-width: 640px) {
  .junction-client-template .thanks blockquote h4 {
    font-size: 20px;
  }
}

.jh-portal-shell {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding-right: 0;
  padding-left: 0;
}

.jh-portal-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: -14px 0 30px;
  padding: 66px 46px 92px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(112deg, rgba(7, 17, 31, 0.94) 0%, rgba(11, 46, 103, 0.86) 55%, rgba(91, 188, 236, 0.48) 100%),
    url("../images/junction-client-bg.jpg") center/cover no-repeat,
    var(--jh-navy);
  box-shadow: var(--jh-shadow);
}

.jh-portal-hero::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 112px;
  background: var(--jh-soft);
  clip-path: polygon(0 72%, 100% 22%, 100% 100%, 0 100%);
  content: "";
}

.jh-portal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--jh-sky-soft);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.jh-portal-hero h1 {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.08;
}

.jh-portal-hero h1 strong {
  position: relative;
  display: inline-block;
  color: var(--jh-sky-soft);
}

.jh-portal-hero h1 strong::after {
  position: absolute;
  right: 0;
  bottom: 0.02em;
  left: 0;
  height: 0.14em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(125, 211, 252, 0) 0%, rgba(125, 211, 252, 0.8) 48%, rgba(125, 211, 252, 0) 100%);
  content: "";
  transform-origin: left center;
  animation: jh-text-sweep 4.8s ease-in-out infinite;
}

.jh-portal-hero p {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.jh-portal-hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.jh-portal-bridge {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: -34px auto 44px;
  padding: 20px;
  border: 1px solid var(--jh-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--jh-card-shadow);
}

.jh-portal-bridge strong {
  color: var(--jh-ink);
}

.jh-portal-bridge p {
  margin: 0;
  color: var(--jh-text);
  font-size: 16px;
}

.jh-portal-bridge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.jh-portal-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.jh-portal-section {
  width: 100%;
  margin-top: 44px;
}

.jh-portal-section-title {
  max-width: 760px;
  margin: 0 0 22px;
}

.jh-portal-section-title .jh-portal-eyebrow {
  margin-bottom: 10px;
  color: var(--jh-navy);
}

.jh-portal-section-title h2 {
  margin: 0;
  color: var(--jh-ink);
  font-size: 34px;
  line-height: 1.12;
}

.jh-portal-section-title p {
  margin: 12px 0 0;
  color: var(--jh-text);
  font-size: 16px;
}

.jh-portal-card {
  position: relative;
  display: flex;
  min-width: 0;
  max-width: 100%;
  min-height: 220px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--jh-line);
  border-radius: 8px;
  color: var(--jh-text);
  background: #fff;
  box-shadow: var(--jh-card-shadow);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.jh-portal-card::before {
  display: block;
  width: 48px;
  height: 5px;
  margin-bottom: 22px;
  border-radius: 99px;
  background: var(--jh-gradient);
  content: "";
}

.jh-portal-card:hover,
.jh-portal-card:focus {
  border-color: rgba(91, 188, 236, 0.72);
  color: var(--jh-text);
  box-shadow: 0 26px 54px rgba(7, 17, 31, 0.13);
  text-decoration: none;
  transform: translateY(-2px);
}

.jh-portal-card i {
  color: var(--jh-navy);
  font-size: 27px;
}

.jh-portal-card h2 {
  margin: 18px 0 10px;
  color: var(--jh-ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.18;
}

.jh-portal-card p {
  margin: 0;
  color: var(--jh-text);
  font-size: 15px;
  line-height: 1.6;
}

.jh-portal-card span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--jh-navy);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.jh-page-title h3,
.jh-portal-hero h1,
.jh-portal-hero p,
.jh-portal-bridge p,
.jh-portal-card h2,
.jh-portal-card p,
.jh-portal-card span {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal !important;
  word-break: break-word;
}

.jh-portal-card--primary {
  color: #fff;
  background:
    linear-gradient(145deg, rgba(11, 46, 103, 0.98) 0%, rgba(22, 74, 154, 0.96) 100%),
    var(--jh-navy);
}

.jh-portal-help {
  position: relative;
  overflow: hidden;
  margin-top: 48px;
  padding: 34px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(7, 17, 31, 0.98) 0%, rgba(11, 46, 103, 0.92) 72%, rgba(56, 189, 248, 0.56) 100%),
    var(--jh-ink);
  box-shadow: var(--jh-shadow);
}

.jh-portal-help::after {
  position: absolute;
  right: -82px;
  bottom: -110px;
  width: 300px;
  height: 300px;
  border: 34px solid rgba(255, 255, 255, 0.11);
  border-radius: 38px;
  transform: rotate(-18deg);
  content: "";
}

.jh-portal-help > * {
  position: relative;
  z-index: 1;
}

.jh-portal-help h2 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: 34px;
  line-height: 1.12;
}

.jh-portal-help p {
  max-width: 720px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.jh-portal-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

@keyframes jh-text-sweep {
  0%,
  100% {
    transform: scaleX(0.22);
    opacity: 0.44;
  }
  48% {
    transform: scaleX(1);
    opacity: 0.9;
  }
}

.jh-portal-card--primary::before {
  background: #fff;
}

.jh-portal-card--primary i,
.jh-portal-card--primary h2,
.jh-portal-card--primary p,
.jh-portal-card--primary span {
  color: #fff;
}

.junction-client-template .portal-box {
  min-width: 0;
  margin-bottom: 22px;
}

.junction-client-template .portal-box .card {
  width: 100%;
  overflow: hidden;
}

.junction-client-template .portal-box .card-body {
  padding: 24px;
}

.junction-client-template .panel-heading,
.junction-client-template .panel-blesta > .panel-heading,
.junction-client-template .card-header,
.junction-client-template .card-blesta > .card-header {
  border-bottom: 1px solid var(--jh-line);
  border-radius: 8px 8px 0 0;
  color: #fff;
  background: var(--jh-ui-gradient);
}

.junction-client-template .panel-body,
.junction-client-template .card-body {
  padding: 24px;
}

.junction-client-template .panel-footer,
.junction-client-template .card-footer {
  border-top: 1px solid var(--jh-line);
  border-radius: 0 0 8px 8px;
  background: #fff;
}

.junction-client-template #client_method .payment-method-section {
  padding: 0;
}

.junction-client-template #client_method .payment-method-section h4 {
  margin: 0 0 14px;
  border-bottom: 1px solid var(--jh-line);
  padding-bottom: 10px;
  color: var(--jh-navy);
  font-size: 1.05rem;
  font-weight: 800;
}

.junction-client-template #client_method .payment-method-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.junction-client-template #client_method .payment-method-option-wrap {
  margin: 0;
}

.junction-client-template #client_method .payment-method-option-label {
  display: flex;
  align-items: center;
  min-height: 52px;
  margin: 0;
  border: 1px solid var(--jh-line);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--jh-ink);
  background: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.junction-client-template #client_method .payment-method-option-label:hover,
.junction-client-template #client_method .payment-method-option-label:focus-within {
  border-color: rgba(11, 46, 103, 0.36);
  box-shadow: 0 12px 30px rgba(11, 46, 103, 0.1);
}

.junction-client-template #client_method .payment-method-option {
  flex: 0 0 auto;
  margin: 0 10px 0 0;
}

.junction-client-template #client_method .payment-method-option:checked + span {
  color: var(--jh-navy);
}

@media (max-width: 767.98px) {
  .junction-client-template #client_method .payment-method-options {
    grid-template-columns: 1fr;
  }
}

.junction-client-template #client_pay_confirm .jh-bank-transfer-wrap {
  clear: both;
  width: 100%;
}

.junction-client-template #client_pay_confirm .jh-bank-transfer-instructions {
  max-width: 860px;
  margin: 16px auto 0;
  color: var(--jh-text);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.junction-client-template #client_pay_confirm .jh-bank-transfer-instructions h5 {
  margin: 0 0 14px;
  color: var(--jh-navy);
  font-size: 1rem;
  font-weight: 800;
}

.junction-client-template #client_pay_confirm .jh-bank-transfer-instructions p {
  margin: 0 0 16px;
}

.junction-client-template #client_pay_confirm .jh-bank-transfer-instructions dl {
  margin: 0 0 16px;
}

.junction-client-template #client_pay_confirm .jh-bank-transfer-instructions dl div {
  display: block;
  margin: 0;
}

.junction-client-template #client_pay_confirm .jh-bank-transfer-instructions dt,
.junction-client-template #client_pay_confirm .jh-bank-transfer-instructions dd {
  display: inline;
  margin: 0;
}

.junction-client-template #client_pay_confirm .jh-bank-transfer-instructions dt {
  color: var(--jh-ink);
  font-weight: 800;
}

.junction-client-template #client_pay_confirm .jh-bank-transfer-instructions dd {
  word-break: normal;
  overflow-wrap: anywhere;
}

.junction-client-template .btn {
  box-sizing: border-box;
  min-height: 40px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  vertical-align: middle;
  white-space: normal;
}

.junction-client-template a.btn,
.junction-client-template button.btn,
.junction-client-template label.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
}

.junction-client-template .btn > i,
.junction-client-template .btn > svg {
  flex: 0 0 auto;
  line-height: 1;
}

.junction-client-template .btn.dropdown-toggle {
  gap: 0.35em;
}

.junction-client-template .btn.dropdown-toggle::after {
  flex: 0 0 auto;
  align-self: center;
  margin: 0;
}

.junction-client-template .btn-success,
.junction-client-template .btn-primary {
  border-color: var(--jh-navy);
  color: #fff !important;
  background: var(--jh-gradient);
  background-size: 200% 100%;
  background-position: 0 50%;
}

.junction-client-template .btn-success:hover,
.junction-client-template .btn-success:focus,
.junction-client-template .btn-primary:hover,
.junction-client-template .btn-primary:focus {
  border-color: var(--jh-navy-hover);
  background-position: 120% 50%;
}

.junction-client-template .btn-secondary,
.junction-client-template .btn-light {
  border-color: rgba(11, 46, 103, 0.16);
  color: var(--jh-navy) !important;
  background: #fff;
}

.junction-client-template .btn-danger {
  border-color: #b42318;
  background: #b42318;
}

.junction-client-template .btn-warning {
  border-color: #b7791f;
  color: #251605;
  background: #f6c453;
}

.junction-client-template .form-control,
.junction-client-template select,
.junction-client-template textarea,
.junction-client-template input[type="text"],
.junction-client-template input[type="password"],
.junction-client-template input[type="email"] {
  min-height: 44px;
  border: 1px solid rgba(11, 46, 103, 0.18);
  border-radius: 8px;
  color: var(--jh-ink);
  background: #fff;
  font-family: var(--jh-font);
}

.junction-client-template label {
  color: var(--jh-ink);
  font-weight: 800;
}

.junction-client-template .alert {
  width: 100%;
  border-radius: 8px;
  font-weight: 600;
}

.junction-client-template .alert-success {
  border-color: #a8d8b9;
  color: #124226;
  background: #e8f7ee;
}

.junction-client-template .alert-danger {
  border-color: #f0b4b4;
  color: #7a1f1f;
  background: #fff0f0;
}

.junction-client-template .alert-warning {
  border-color: #f4d38b;
  color: #5f3d00;
  background: #fff7df;
}

.junction-client-template .alert-info,
.junction-client-template .alert-primary {
  border-color: rgba(91, 188, 236, 0.36);
  color: var(--jh-navy);
  background: rgba(91, 188, 236, 0.12);
}

.junction-client-template .table-responsive {
  width: 100%;
  border-radius: 8px;
}

.junction-client-template .table {
  color: var(--jh-text);
  background: #fff;
}

.junction-client-template .table th {
  border-top: 0;
  color: var(--jh-ink);
  font-weight: 800;
  background: #f1f6fb;
}

.junction-client-template .table td,
.junction-client-template .table th {
  border-color: rgba(11, 46, 103, 0.1);
}

.junction-client-template .table-striped tbody tr:nth-of-type(odd),
.junction-client-template .table-striped-alt tbody tr:nth-of-type(odd) {
  background-color: rgba(11, 46, 103, 0.035);
}

/*
 * Client list tables
 *
 * The Services table carries substantially more information than the other
 * client tables. Its utility values and action need protected width while
 * Package and Label absorb the remaining space. Below 768px it becomes the
 * existing card layout.
 */
@media (min-width: 768px) {
  .junction-client-template #client_services #services {
    width: 100%;
    margin-bottom: 0;
    table-layout: fixed;
    font-size: 0.9375rem;
    line-height: 1.42;
  }

  .junction-client-template #client_services #services > thead > tr > th,
  .junction-client-template #client_services #services > tbody > tr:not(.expand_details) > td {
    padding: 0.65rem 0.75rem;
    vertical-align: middle;
    word-break: normal;
  }

  /* Services: Package and Label flex first; dates and actions stay useful. */
  .junction-client-template #client_services #services > thead > tr > th:nth-child(1) { width: 28%; }
  .junction-client-template #client_services #services > thead > tr > th:nth-child(2) { width: 25%; }
  .junction-client-template #client_services #services > thead > tr > th:nth-child(3) { width: 12%; }
  .junction-client-template #client_services #services > thead > tr > th:nth-child(4),
  .junction-client-template #client_services #services > thead > tr > th:nth-child(5) { width: 11%; }
  .junction-client-template #client_services #services > thead > tr > th:last-child { width: 13%; }

  .junction-client-template #client_services #services:has(> thead > tr > th:nth-child(7)) > thead > tr > th:nth-child(1) { width: 24%; }
  .junction-client-template #client_services #services:has(> thead > tr > th:nth-child(7)) > thead > tr > th:nth-child(2) { width: 22%; }
  .junction-client-template #client_services #services:has(> thead > tr > th:nth-child(7)) > thead > tr > th:nth-child(3) { width: 12%; }
  .junction-client-template #client_services #services:has(> thead > tr > th:nth-child(7)) > thead > tr > th:nth-child(4),
  .junction-client-template #client_services #services:has(> thead > tr > th:nth-child(7)) > thead > tr > th:nth-child(5),
  .junction-client-template #client_services #services:has(> thead > tr > th:nth-child(7)) > thead > tr > th:nth-child(6) { width: 10%; }
  .junction-client-template #client_services #services:has(> thead > tr > th:nth-child(7)) > thead > tr > th:last-child { width: 12%; }

  .junction-client-template #client_services #services > thead > tr > th {
    overflow-wrap: normal;
  }

  .junction-client-template #client_services #services > tbody > tr:not(.expand_details) > td:nth-child(1),
  .junction-client-template #client_services #services > tbody > tr:not(.expand_details) > td:nth-child(2) {
    overflow-wrap: break-word;
  }

  .junction-client-template #client_services #services > tbody > tr:not(.expand_details) > td:nth-child(3),
  .junction-client-template #client_services #services > tbody > tr:not(.expand_details) > td:nth-child(4),
  .junction-client-template #client_services #services > tbody > tr:not(.expand_details) > td:nth-child(5) {
    white-space: nowrap;
    overflow-wrap: normal;
  }

  .junction-client-template #client_services #services > thead > tr > th:last-child,
  .junction-client-template #client_services #services > tbody > tr:not(.expand_details) > td:last-child {
    min-width: 10.5rem;
    white-space: nowrap;
  }

  .junction-client-template #client_services #services > tbody > tr.expand > td:last-of-type {
    padding-right: 2.4rem;
  }

  .junction-client-template #client_services #services > tbody > tr:not(.expand_details) > td:last-child .btn-group {
    display: inline-flex;
    flex-wrap: nowrap;
    max-width: 100%;
    vertical-align: middle;
  }

  .junction-client-template #client_services #services > tbody > tr:not(.expand_details) > td:last-child .btn {
    width: auto;
    min-height: 2.25rem;
    white-space: nowrap;
    overflow-wrap: normal;
  }
}

/* Support tickets are records, not a seven-column comparison table. */
.junction-client-template #client_tickets .jh-ticket-list__sort {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  align-items: center;
  margin: 0 0 0.75rem;
  color: var(--jh-muted);
  font-size: 0.8125rem;
  line-height: 1.35;
}

.junction-client-template #client_tickets .jh-ticket-list__sort-label,
.junction-client-template #client_tickets .jh-ticket-record__label {
  color: var(--jh-muted);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.3;
}

.junction-client-template #client_tickets .jh-ticket-list__sort a {
  color: var(--jh-navy);
  font-weight: 700;
  overflow-wrap: normal;
}

.junction-client-template #client_tickets .jh-ticket-list__sort a.asc::after,
.junction-client-template #client_tickets .jh-ticket-list__sort a.desc::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  text-decoration: none;
}

.junction-client-template #client_tickets .jh-ticket-list__sort a.asc::after { content: " \f0d8"; }
.junction-client-template #client_tickets .jh-ticket-list__sort a.desc::after { content: " \f0d7"; }

.junction-client-template #client_tickets .jh-ticket-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.junction-client-template #client_tickets .jh-ticket-record {
  position: relative;
  overflow: visible;
  border: 1px solid rgba(11, 46, 103, 0.14);
  border-radius: 8px;
  background: #fff;
}

.junction-client-template #client_tickets .jh-ticket-record:has(.dropdown-menu.show) {
  z-index: 2;
}

.junction-client-template #client_tickets .jh-ticket-record__tier {
  display: grid;
  gap: 0.75rem 1rem;
  padding: 0.7rem 0.85rem;
}

.junction-client-template #client_tickets .jh-ticket-record__meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid rgba(11, 46, 103, 0.1);
  border-radius: 7px 7px 0 0;
  background: #f1f6fb;
}

.junction-client-template #client_tickets .jh-ticket-record__department {
  grid-column: 1 / -1;
}

.junction-client-template #client_tickets .jh-ticket-record__main {
  grid-template-columns: minmax(0, 1fr);
  border-radius: 0 0 7px 7px;
  background: rgba(11, 46, 103, 0.02);
}

.junction-client-template #client_tickets .jh-ticket-record__field {
  min-width: 0;
}

.junction-client-template #client_tickets .jh-ticket-record__label,
.junction-client-template #client_tickets .jh-ticket-record__value {
  display: block;
}

.junction-client-template #client_tickets .jh-ticket-record__value {
  margin-top: 0.2rem;
  color: var(--jh-text);
  font-size: 0.9375rem;
  line-height: 1.42;
}

.junction-client-template #client_tickets .jh-ticket-record__code > a,
.junction-client-template #client_tickets .jh-ticket-record__priority .badge,
.junction-client-template #client_tickets .jh-ticket-record__last-reply .jh-ticket-record__value {
  display: inline-block;
  margin-top: 0.2rem;
  white-space: nowrap;
  overflow-wrap: normal;
}

.junction-client-template #client_tickets .jh-ticket-record__code > a {
  color: var(--jh-navy);
  font-size: 0.9375rem;
  font-weight: 800;
}

.junction-client-template #client_tickets .jh-ticket-record__summary .jh-ticket-record__value,
.junction-client-template #client_tickets .jh-ticket-record__department .jh-ticket-record__value,
.junction-client-template #client_tickets .jh-ticket-record__status .jh-ticket-record__value {
  overflow-wrap: break-word;
}

.junction-client-template #client_tickets .jh-ticket-record__actions form {
  margin: 0.2rem 0 0;
}

.junction-client-template #client_tickets .jh-ticket-record__actions .btn-group {
  display: inline-flex;
  flex-wrap: nowrap;
  max-width: 100%;
  vertical-align: middle;
}

.junction-client-template #client_tickets .jh-ticket-record__actions .btn {
  width: auto;
  min-height: 2.25rem;
  white-space: nowrap;
  overflow-wrap: normal;
}

@media (min-width: 768px) {
  .junction-client-template #client_tickets .jh-ticket-record__meta {
    grid-template-columns: max-content max-content minmax(0, 1fr);
    align-items: center;
  }

  .junction-client-template #client_tickets .jh-ticket-record__department {
    grid-column: auto;
  }

  .junction-client-template #client_tickets .jh-ticket-record__main {
    grid-template-columns: minmax(0, 1fr) minmax(8.5rem, max-content) minmax(9rem, max-content) minmax(9.5rem, max-content);
    align-items: center;
  }
}

.junction-client-template .list-group-item {
  border-color: var(--jh-line);
  color: var(--jh-text);
  font-weight: 700;
}

.junction-client-template .list-group-item.active,
.junction-client-template .list-group-item.active:hover,
.junction-client-template .list-group-item.active:focus {
  border-color: var(--jh-navy);
  color: #fff;
  background: var(--jh-ui-gradient) !important;
}

.junction-client-template #client_tickets .jh-support-department-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
}

.junction-client-template #client_tickets .jh-support-department-col {
  display: flex;
  width: auto;
  max-width: none;
  padding: 0;
}

.junction-client-template #client_tickets .jh-support-department-list {
  display: flex;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.junction-client-template #client_tickets .jh-support-department-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  padding: 24px !important;
  border: 1px solid var(--jh-line);
  border-radius: 8px;
  color: var(--jh-text);
  background: #fff;
  box-shadow: 0 14px 36px rgba(7, 17, 31, 0.08);
  font-weight: 400;
  text-decoration: none;
}

.junction-client-template #client_tickets .jh-support-department-card:hover,
.junction-client-template #client_tickets .jh-support-department-card:focus {
  border-color: rgba(11, 46, 103, 0.24);
  color: var(--jh-text);
  background: #fff;
  box-shadow: 0 18px 42px rgba(7, 17, 31, 0.1);
  text-decoration: none;
}

.junction-client-template #client_tickets .jh-support-department-card:focus-visible {
  outline: 0;
  box-shadow: var(--jh-focus), 0 18px 42px rgba(7, 17, 31, 0.1);
}

.junction-client-template #client_tickets .jh-support-department-title {
  margin: 0 0 14px;
  color: var(--jh-link);
  font-family: var(--jh-font);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
}

.junction-client-template #client_tickets .jh-support-department-description {
  color: var(--jh-text);
  font-family: var(--jh-font);
  font-size: 16px;
  line-height: 1.62;
  font-weight: 400;
}

.junction-client-template #client_tickets .jh-support-department-description p {
  margin: 0 0 1em;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

.junction-client-template #client_tickets .jh-support-department-description p:last-child {
  margin-bottom: 0;
}

.junction-client-template #client_tickets .jh-support-department-description strong,
.junction-client-template #client_tickets .jh-support-department-description b {
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .junction-client-template #client_tickets .jh-support-department-grid {
    grid-template-columns: 1fr;
  }

  .junction-client-template #client_tickets .jh-support-department-title {
    font-size: 22px;
  }

  .junction-client-template #client_tickets .jh-support-department-description {
    font-size: 15.5px;
  }
}

.junction-client-template .badge,
.junction-client-template .badge-primary,
.junction-client-template .badge-info,
.junction-client-template .label,
.junction-client-template .junction-licence-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  vertical-align: middle;
  white-space: normal;
}

.junction-client-template .badge > a,
.junction-client-template .label > a,
.junction-client-template .junction-licence-status > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  min-width: 0;
  color: inherit;
  line-height: inherit;
  text-align: inherit;
  text-decoration: none;
}

.junction-client-template .badge > i,
.junction-client-template .badge > svg,
.junction-client-template .badge > [class*="fa-"],
.junction-client-template .badge > a > i,
.junction-client-template .badge > a > svg,
.junction-client-template .badge > a > [class*="fa-"],
.junction-client-template .label > i,
.junction-client-template .label > svg,
.junction-client-template .label > [class*="fa-"],
.junction-client-template .junction-licence-status > i,
.junction-client-template .junction-licence-status > svg,
.junction-client-template .junction-licence-status > [class*="fa-"] {
  flex: 0 0 auto;
  line-height: 1;
}

.junction-client-template .badge-primary,
.junction-client-template .badge-info {
  color: #fff;
  background: var(--jh-navy);
}

/* Shared client-facing Junction Licensing status treatment. */
.junction-client-template .junction-licence-status {
  border: 1px solid transparent;
  color: #fff !important;
  font-weight: 800;
}

.junction-client-template .junction-licence-status--active {
  background-color: #178345 !important;
}

.junction-client-template .junction-licence-status--suspended {
  background-color: #765500 !important;
}

.junction-client-template .junction-licence-status--inactive {
  background-color: #a52727 !important;
}

.junction-client-template .junction-licence-status--neutral {
  background-color: #4b5d73 !important;
}

.jh-client-footer {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  margin-top: 64px;
  color: #d9d9d6;
  font-family: "Manrope", sans-serif;
  background: var(--jh-footer-charcoal-deep);
}

.jh-client-main--portal + .jh-client-footer {
  margin-top: 0;
}

.jh-client-footer__main {
  position: relative;
  padding: clamp(68px, 7vw, 100px) 0;
  background-color: var(--jh-footer-charcoal);
  background-image: linear-gradient(180deg, var(--jh-footer-charcoal-soft) 0%, var(--jh-footer-charcoal) 48%, var(--jh-footer-charcoal-deep) 100%);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.jh-client-footer__grid {
  display: grid;
  grid-template-columns: minmax(340px, 1.8fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: flex-start;
}

.jh-client-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: 24px;
  color: #fff !important;
  text-decoration: none;
  white-space: nowrap;
}

.jh-client-footer__logo:hover,
.jh-client-footer__logo:focus {
  color: #fff !important;
}

.jh-client-footer__identity-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 26px;
  color: currentColor;
}

.jh-client-footer__logo span {
  color: currentColor;
  font-size: 21.8px;
  font-weight: 800;
  line-height: 1.2;
}

.jh-client-footer__brand p {
  max-width: 360px;
  margin: 0 0 22px;
  color: #d9d9d6;
  font-size: 16px;
  line-height: 1.65;
}

.jh-client-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.jh-client-footer a {
  -webkit-transition: 500ms all ease;
  transition: 500ms all ease;
}

.jh-client-footer__contact li,
.jh-client-footer__contact a,
.jh-client-footer__nav a {
  color: #e7e7e3;
}

.jh-client-footer__contact li,
.jh-client-footer__contact a {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
  font-size: 15px;
  line-height: 1.5;
}

.jh-client-footer__contact li {
  margin-bottom: 11px;
}

.jh-client-footer__contact a {
  text-decoration: none;
}

.jh-client-footer__contact i {
  width: 18px;
  min-width: 18px;
  margin-top: 4px;
  color: #38bdf8;
  text-align: center;
}

.jh-client-footer__nav h2 {
  display: inline-block;
  padding-bottom: 10px;
  margin: 0 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.jh-client-footer__nav li {
  padding-bottom: 9px;
  margin-bottom: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.jh-client-footer__nav li:last-child {
  border-bottom: 0;
}

.jh-client-footer__nav a {
  display: inline;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.jh-client-footer a:hover,
.jh-client-footer a:focus {
  color: #38bdf8;
  text-decoration: none;
}

.jh-client-footer__nav a:hover,
.jh-client-footer__nav a:focus {
  transform: none;
}

.jh-client-footer__legal {
  padding: 12px 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #111111;
  text-align: center;
}

.jh-client-footer__legal p {
  margin: 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.65;
}

.jh-client-footer__legal-links {
  display: inline-block;
}

.jh-client-footer__legal small {
  font-size: inherit;
  line-height: inherit;
}

.jh-client-footer__legal a {
  color: #fff;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.jh-back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1025;
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--jh-navy);
  box-shadow: 0 18px 38px rgba(7, 17, 31, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: background-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.jh-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.jh-back-to-top:hover,
.jh-back-to-top:focus {
  background: var(--jh-navy-hover);
}

.jh-back-to-top i {
  color: currentColor;
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 1199px) {
  .jh-header-top {
    padding-right: 44px;
    padding-left: 44px;
  }

  .jh-header-main {
    width: calc(100% - 24px);
    gap: 18px;
    padding: 24px 30px;
  }

  .jh-brand-icon {
    width: 34px;
    height: 26px;
  }

  .jh-brand span {
    font-size: 21.8px;
  }

  .jh-header-main .navbar-nav {
    gap: 18px;
  }

  .jh-navbar-inner {
    column-gap: 22px;
  }

  .jh-header-main .navbar-nav .nav-link,
  .jh-nav-action .nav-link {
    font-size: 18px;
    line-height: 1.6;
    padding-bottom: 30px;
  }

  .jh-portal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .jh-header-top {
    display: none;
  }
}

@media (max-width: 991px) {
  .jh-client-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jh-client-header {
    padding-top: 0;
    background: #fff;
    box-shadow: 0 4px 18px rgba(7, 17, 31, 0.06);
  }

  .jh-header-main {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 18px 22px;
    border-radius: 0;
    box-shadow: none;
  }

  .jh-client-header.is-sticky .jh-header-main,
  .jh-client-header.sticky-on .jh-header-main {
    width: 100%;
    max-width: none;
    min-height: 72px;
    margin: 0;
    padding: 14px 22px;
    border-radius: 0;
    box-shadow: none;
  }

  .jh-brand-icon {
    width: 32px;
    height: 25px;
  }

  .jh-brand span {
    font-size: 20px;
  }

  .jh-header-main .navbar {
    position: static;
    flex: 0 0 auto;
    margin-left: auto;
    transform: none;
  }

  .jh-header-main .navbar-toggler {
    position: absolute;
    top: 50%;
    right: 22px;
    display: block;
    transform: translateY(-50%);
  }

  .jh-header-main .navbar-collapse:not(.show) {
    display: none !important;
  }

  .jh-header-main .navbar-collapse {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: 100%;
    padding: 18px 22px 24px;
    border-top: 1px solid var(--jh-line);
    background: #fff;
    box-shadow: 0 20px 34px rgba(7, 17, 31, 0.12);
  }

  .jh-navbar-inner,
  .jh-header-main .navbar-nav {
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
  }

  .jh-navbar-inner {
    display: flex;
  }

  .jh-nav-action {
    display: block;
    min-width: 0;
  }

  .jh-header-main .navbar-nav .nav-link,
  .jh-nav-action .nav-link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 10px 12px;
    color: var(--jh-navy) !important;
    background: transparent;
  }

  .jh-header-main .navbar-nav > .nav-item > .nav-link::before {
    display: none;
  }

  .jh-page-title {
    margin-top: 0;
    padding-top: 44px;
  }

  .jh-portal-hero {
    margin-top: 0;
  }

  .jh-portal-bridge {
    grid-template-columns: minmax(0, 1fr);
    margin-top: -32px;
  }

  .jh-portal-bridge-actions {
    justify-content: flex-start;
  }

  .jh-portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.junction-client-template {
    width: 100vw;
  }

  .jh-client-footer {
    margin-top: 48px;
  }

  .jh-client-footer__main {
    padding: 58px 0;
  }

  .jh-client-footer__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .jh-client-footer__nav h2 {
    margin-bottom: 18px;
  }

  .junction-client-template .jh-client-footer__legal .container-md {
    padding-right: 72px !important;
  }

  .jh-back-to-top {
    right: 18px;
    bottom: 18px;
    width: 54px;
    height: 54px;
  }

  .junction-client-template .container-md {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    padding-right: 0;
    padding-left: 0;
  }

  .jh-client-main.container-md,
  .jh-page-title .container-md {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
  }

  .jh-client-main > .row {
    display: block;
    width: 100%;
  }

  .jh-portal-shell,
  .jh-portal-grid,
  .jh-portal-hero,
  .jh-portal-bridge,
  .jh-portal-card {
    width: min(320px, calc(100vw - 56px)) !important;
    max-width: min(320px, calc(100vw - 56px)) !important;
  }

  .jh-header-main {
    margin-right: 0;
    margin-left: 0;
  }

  .jh-brand img {
    width: 178px;
  }

  .jh-brand {
    max-width: calc(100% - 62px);
  }

  .jh-header-main .navbar {
    display: flex !important;
    width: auto;
    height: auto;
  }

  .jh-header-main .navbar-toggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .jh-page-title {
    padding: 34px 0 32px;
  }

  .junction-client-template .jh-page-title h3 {
    max-width: min(290px, calc(100vw - 90px)) !important;
    font-size: 18px;
    line-height: 1.16;
  }

  .jh-client-main {
    padding-top: 28px;
  }

  .junction-client-template .panel-body,
  .junction-client-template .card-body {
    padding: 18px;
  }

  .junction-client-template .btn,
  .junction-client-template .form-control {
    width: 100%;
  }

  /* Keep split/dropdown actions as one usable control when standalone buttons
   * expand to the available mobile width.  Card actions set their group width
   * explicitly below and retain the same centred flex alignment. */
  .junction-client-template .btn-group > .btn {
    width: auto;
  }

  .junction-client-template .portal-box,
  .junction-client-template .jh-client-main > .row > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
  }

  .junction-client-template .row.login > [class*="col-"] {
    flex-basis: calc(100% - 28px);
    max-width: calc(100% - 28px);
  }

  .jh-auth-header .container-md {
    align-items: flex-start;
    flex-direction: column;
  }

  .jh-portal-hero {
    padding: 34px 22px 72px;
  }

  .jh-portal-hero h1 {
    max-width: min(276px, calc(100vw - 112px)) !important;
    font-size: 23px;
    line-height: 1.16;
  }

  .jh-portal-hero p,
  .jh-portal-bridge p,
  .jh-portal-card p {
    max-width: min(276px, calc(100vw - 112px)) !important;
    font-size: 14px;
  }

  .jh-portal-card h2 {
    max-width: min(276px, calc(100vw - 112px)) !important;
    font-size: 22px;
  }

  .jh-portal-card span {
    max-width: min(276px, calc(100vw - 112px)) !important;
    font-size: 12px;
  }

  .jh-portal-bridge-actions,
  .jh-portal-grid {
    grid-template-columns: 1fr;
  }

  .jh-portal-card {
    min-height: 0;
    padding: 22px 18px;
  }

  .jh-portal-section-title h2,
  .jh-portal-help h2 {
    font-size: 24px;
  }

  .jh-portal-help {
    width: min(320px, calc(100vw - 56px)) !important;
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .junction-client-template *,
  .junction-client-template *::before,
  .junction-client-template *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Full Junction/Haptic portal landing page */
.jh-portal-home {
  background: var(--jh-soft);
}

.jh-portal-home .jh-client-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

@media (min-width: 992px) {
  .jh-portal-home .jh-client-header.is-sticky,
  .jh-portal-home .jh-client-header.sticky-on {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }
}

.jh-client-main--portal {
  width: 100%;
  max-width: none;
  padding: 0;
}

.jh-client-main--portal > .row {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.jh-client-main--portal .jh-portal-shell,
.jh-client-main--portal .jh-portal-page {
  width: 100%;
  max-width: none;
}

.jh-portal-page .container,
.jh-portal-page .container-md {
  width: min(100% - 48px, 1210px);
  max-width: 1210px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 0;
  padding-left: 0;
}

.jh-portal-page .hap-section-title .sub-title,
.jh-portal-page .jh-portal-eyebrow {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
  padding-left: 25px;
  background: var(--jh-eyebrow-dark-bg-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: var(--jh-sky-soft);
  font-family: var(--jh-font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  -webkit-text-fill-color: transparent;
}

.jh-portal-page .hap-section-title .sub-title::before,
.jh-portal-page .jh-portal-eyebrow::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "\f666";
  font-family: "Font Awesome 5 Free";
  font-size: 0.95em;
  font-weight: 900;
  line-height: 1.25;
  background: var(--jh-eyebrow-dark-bg-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: var(--jh-sky-soft);
  -webkit-text-fill-color: transparent;
}

.jh-client-hero-section {
  position: relative;
  overflow: hidden;
  min-height: clamp(760px, 54vw, 900px);
  margin-top: 0;
  background:
    linear-gradient(90deg, rgba(3, 10, 22, 0.98) 0%, rgba(7, 17, 31, 0.92) 30%, rgba(7, 17, 31, 0.68) 58%, rgba(7, 17, 31, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 17, 31, 0.42) 0%, rgba(7, 17, 31, 0.64) 100%),
    url("../images/junction-client-portal-hero.png") center right/cover no-repeat,
    #07111f;
}

.jh-client-hero-section::before {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 1;
  height: 150px;
  background: var(--jh-soft);
  clip-path: polygon(0 67%, 100% 22%, 100% 100%, 0 100%);
  content: "";
}

.jh-client-hero-section .hap-banner-content {
  position: relative;
  z-index: 2;
  padding: clamp(238px, 14vw, 288px) 0 clamp(150px, 9vw, 190px);
}

.jh-client-hero-section .hap-banner-text {
  max-width: 540px;
}

.jh-client-hero-section .headline-title {
  margin: 0;
  color: #fff;
  max-width: 540px;
  font-family: var(--jh-font);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: none !important;
}

.jh-client-hero-section .headline-title span {
  color: inherit;
}

.jh-client-hero-section .headline-title span::after {
  display: none;
  content: none;
  animation: none;
}

.jh-client-hero-section .hap-section-title p {
  max-width: 670px;
  margin: 44px 0 0;
  color: #cbd5e1;
  font-family: var(--jh-font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
  text-transform: none;
}

.jh-client-hero-section .hap-section-title .sub-title,
.jh-client-hero-section .jh-portal-eyebrow {
  margin-bottom: 36px;
}

@media (min-width: 1600px) {
  .jh-client-hero-section .hap-section-title p {
    font-size: 20px;
    line-height: 1.7;
  }
}

.jh-hero-actions {
  display: none;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.jh-portal-page .hap-btn a {
  position: relative;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  overflow: hidden;
  padding: 15px 22px;
  border-radius: 999px;
  color: #fff;
  background: var(--jh-gradient);
  background-size: 220% 100%;
  background-position: 0 50%;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background-position 240ms ease, transform 240ms ease, box-shadow 240ms ease;
}

.jh-portal-page .hap-btn a i {
  position: static;
  flex: 0 0 auto;
  transform: none;
  transition: transform 240ms ease;
}

.jh-portal-page .hap-btn a:hover,
.jh-portal-page .hap-btn a:focus-visible {
  color: #fff;
  background-position: 120% 50%;
  box-shadow: 0 14px 34px rgba(11, 46, 103, 0.22);
  transform: translateY(-1px);
}

.jh-portal-page .hap-btn a:hover i,
.jh-portal-page .hap-btn a:focus-visible i {
  transform: translateX(4px);
}

.jh-portal-page .jh-secondary-hap-btn a {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.jh-client-bridge-section {
  position: relative;
  z-index: 4;
  display: flow-root;
  background: transparent;
}

.jh-client-bridge-section .hap-sponsor-content {
  position: relative;
  z-index: 4;
  width: min(1120px, calc(100vw - 48px));
  min-height: 200px;
  margin: -150px auto 0;
  padding-left: 75px;
  overflow: hidden;
  border-radius: 300px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.16);
  top: -7px;
}

.jh-client-bridge-section .hap-sponsor-content > .row {
  display: grid;
  grid-template-columns: minmax(320px, 32%) minmax(0, 68%);
  gap: 0;
  min-height: 200px;
  align-items: stretch;
  margin-right: 0;
  margin-left: 0;
}

.jh-client-bridge-section .hap-sponsor-content > .row > [class*="col-"] {
  width: auto;
  max-width: none;
  min-width: 0;
  padding-right: 0;
  padding-left: 0;
}

.jh-client-bridge-section .hap-section-title {
  max-width: none;
  padding-top: 45px;
}

.jh-client-bridge-section .hap-section-title .sub-title {
  background: var(--jh-eyebrow-light-bg-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: var(--jh-navy);
  -webkit-text-fill-color: transparent;
}

.jh-client-bridge-section .hap-section-title .sub-title::before {
  background: var(--jh-eyebrow-light-bg-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: var(--jh-navy);
  -webkit-text-fill-color: transparent;
}

.jh-client-bridge-section .hap-section-title h2 {
  margin: 6px 0 0;
  color: var(--jh-ink);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: none;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.jh-bridge-route-area {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  width: 100%;
  height: 200px;
  min-height: 200px;
}

.jh-bridge-route-area .sponsor-logo {
  display: flex;
  width: auto;
  min-width: 0;
  min-height: 100px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-right: 0;
  border-bottom: 0;
}

.jh-bridge-route-area .sponsor-logo + .sponsor-logo {
  border-left: 1px solid #f1f1f1;
}

.jh-bridge-route-area .sponsor-logo:nth-child(3n + 1) {
  border-left: 0;
}

.jh-bridge-route-area .sponsor-logo:nth-child(n + 4) {
  border-top: 1px solid #f1f1f1;
}

.jh-bridge-route a {
  color: var(--jh-text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.jh-bridge-route a:hover,
.jh-bridge-route a:focus-visible {
  color: var(--jh-navy-hover);
}

.jh-portal-section-haptic {
  padding: 105px 0;
}

.jh-portal-section-haptic--light {
  background: var(--jh-soft);
}

.jh-portal-section-haptic--dark {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(7, 17, 31, 0.98) 0%, rgba(11, 46, 103, 0.94) 76%, rgba(56, 189, 248, 0.54) 100%),
    url("../images/junction-client-bg.jpg") center/cover no-repeat;
}

.jh-portal-section-haptic--dark::before {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 110px;
  background: var(--jh-soft);
  clip-path: polygon(0 0, 100% 0, 100% 32%, 0 78%);
  content: "";
}

.jh-portal-section-haptic .hap-section-title {
  max-width: 820px;
  margin-bottom: 52px;
}

.jh-portal-section-haptic .hap-section-title.text-center {
  margin-right: auto;
  margin-left: auto;
}

.jh-portal-section-haptic .hap-section-title h2 {
  margin: 0;
  color: var(--jh-ink);
  font-size: 48px;
  line-height: 1.1;
}

.jh-portal-section-haptic--dark .hap-section-title h2,
.jh-portal-section-haptic--dark .hap-section-title p,
.jh-portal-section-haptic--dark .hap-section-title .sub-title {
  color: #fff;
}

.jh-portal-section-haptic .hap-section-title p {
  margin: 24px 0 0;
  color: var(--jh-text);
  font-size: 18px;
  line-height: 1.58;
}

.jh-portal-service-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  margin-top: 54px;
}

.jh-portal-page .jh-plan-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(91, 188, 236, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(11, 46, 103, 0.96) 0%, rgba(7, 17, 31, 0.98) 100%);
  box-shadow: 0 18px 48px rgba(7, 17, 31, 0.16);
  text-decoration: none;
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.jh-portal-page .jh-plan-card::before {
  position: absolute;
  top: -1px;
  right: -1px;
  left: -1px;
  height: 4px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(90deg, #5bbcec 0%, #164a9a 100%);
  content: "";
  opacity: 0;
  transition: opacity 240ms ease;
}

.jh-portal-page .jh-plan-card:hover,
.jh-portal-page .jh-plan-card:focus-within,
.jh-portal-page .jh-plan-card:focus-visible {
  border-color: rgba(91, 188, 236, 0.36);
  box-shadow: 0 24px 64px rgba(11, 46, 103, 0.26);
  text-decoration: none;
  transform: translateY(-4px);
}

.jh-portal-page .jh-plan-card:hover::before,
.jh-portal-page .jh-plan-card:focus-within::before,
.jh-portal-page .jh-plan-card--featured::before {
  opacity: 1;
}

.jh-portal-page .jh-plan-card__head {
  padding-right: 84px;
}

.jh-portal-page .jh-plan-card__head span {
  display: block;
  color: #9bddff;
  font-size: 18px;
  font-weight: 700;
}

.jh-portal-page .jh-plan-card h3 {
  margin: 9px 0 20px;
  color: #fff;
  font-size: 28px;
  line-height: 1.18;
}

.jh-portal-page .jh-plan-list {
  display: grid;
  gap: 9px;
  margin: 23px 0 24px;
  padding: 0;
  list-style: none;
}

.jh-portal-page .jh-plan-list li {
  position: relative;
  min-height: 21px;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.78);
}

.jh-portal-page .jh-plan-list li::before {
  position: absolute;
  top: 7px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5bbcec;
  content: "";
}

.jh-portal-page .jh-plan-button {
  margin-top: auto;
}

.jh-portal-page .jh-plan-button.hap-btn a {
  display: flex;
  width: 100%;
  padding: 15px 18px;
  text-align: center;
}

.jh-portal-page .jh-plan-button.hap-btn span {
  display: inline-flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: auto;
  padding: 15px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--jh-gradient);
  background-size: 220% 100%;
  background-position: 0 50%;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: background-position 240ms ease, box-shadow 240ms ease;
}

.jh-portal-page .jh-plan-card:hover .jh-plan-button.hap-btn span,
.jh-portal-page .jh-plan-card:focus-visible .jh-plan-button.hap-btn span {
  background-position: 120% 50%;
  box-shadow: 0 14px 34px rgba(11, 46, 103, 0.22);
}

.jh-portal-page .jh-plan-button.hap-btn span i {
  position: static;
  flex: 0 0 auto;
  transform: none;
  transition: transform 240ms ease;
}

.jh-portal-page .jh-plan-card:hover .jh-plan-button.hap-btn span i,
.jh-portal-page .jh-plan-card:focus-visible .jh-plan-button.hap-btn span i {
  transform: translateX(4px);
}

.jh-portal-service-grid .jh-plan-card {
  min-height: 360px;
  padding: 28px;
}

.jh-portal-service-grid .jh-plan-card:nth-child(-n+3) {
  grid-column: span 2;
}

.jh-portal-service-grid .jh-plan-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.jh-portal-service-grid .jh-plan-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.jh-portal-service-grid .jh-plan-card:not(.jh-plan-card--featured) {
  border-color: rgba(11, 46, 103, 0.14);
  background: #fff;
  box-shadow: 0 18px 48px rgba(7, 17, 31, 0.08);
}

.jh-portal-service-grid .jh-plan-card:not(.jh-plan-card--featured) h3,
.jh-portal-service-grid .jh-plan-card:not(.jh-plan-card--featured) .jh-plan-card__head span,
.jh-portal-service-grid .jh-plan-card:not(.jh-plan-card--featured) .jh-plan-list li {
  color: var(--jh-ink);
}

.jh-portal-service-grid .jh-plan-card:not(.jh-plan-card--featured) .jh-plan-list li {
  color: var(--jh-text);
}

.jh-portal-service-grid .jh-plan-card__head {
  padding-right: 0;
}

.jh-portal-service-grid .jh-plan-card__head i {
  display: block;
  margin-bottom: 18px;
  color: var(--jh-sky);
  font-size: 36px;
}

.jh-portal-service-grid .jh-plan-card--featured .jh-plan-card__head i,
.jh-portal-service-grid .jh-plan-card--featured .jh-plan-card__head span,
.jh-portal-service-grid .jh-plan-card--featured h3 {
  color: #fff;
}

.jh-portal-service-grid .jh-plan-list {
  margin-bottom: 28px;
}

#client-service-access .jh-client-account-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.46fr) minmax(0, 0.54fr);
  gap: 72px;
  align-items: center;
  min-width: 0;
  margin-bottom: 64px;
}

#client-service-access .jh-client-account-feature__media {
  position: relative !important;
  inset: auto;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 390px;
  min-width: 0;
  overflow: visible;
}

#client-service-access .jh-client-account-feature__media .about-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 1.5 / 1;
  height: auto;
  margin-left: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 24px 55px rgba(7, 17, 31, 0.14);
}

#client-service-access .jh-client-account-feature__media .about-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#client-service-access .jh-client-account-feature__media .about-shape1,
#client-service-access .jh-client-account-feature__media .about-shape2 {
  position: absolute;
  z-index: -1;
  display: block;
  line-height: 0;
  pointer-events: none;
}

#client-service-access .jh-client-account-feature__media .about-shape1 {
  top: 37%;
  left: -44%;
  transform: translateY(-50%);
}

#client-service-access .jh-client-account-feature__media .about-shape1 img {
  display: block;
  width: 430px;
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
}

#client-service-access .jh-client-account-feature__media .about-shape2 {
  top: 96px;
  right: -18px;
}

#client-service-access .jh-client-account-feature__media .about-shape2 img {
  display: block;
  width: 260px;
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
}

#client-service-access .jh-client-account-feature__copy {
  max-width: 640px;
  min-width: 0;
  margin-bottom: 0;
}

#client-service-access .jh-client-account-feature__copy h2 {
  max-width: 620px;
}

#client-service-access .jh-client-account-feature__copy p {
  max-width: 610px;
}

#client-service-access .jh-portal-service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 54px;
}

#client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(n) {
  grid-column: auto;
}

#client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(n+4) {
  display: none;
}

#client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(-n+3) {
  min-height: 440px;
  padding: 28px;
  border: 1px solid rgba(91, 188, 236, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(11, 46, 103, 0.96) 0%, rgba(7, 17, 31, 0.98) 100%);
  box-shadow: 0 18px 48px rgba(7, 17, 31, 0.16);
  scale: 1;
  translate: 0 0;
  transform: translateY(0) scale(1);
  transform-origin: center center;
  transition: border-color 220ms ease, box-shadow 220ms ease, scale 220ms ease, translate 220ms ease;
  will-change: scale, translate;
}

#client-service-access .jh-portal-service-grid .jh-plan-card::before,
#client-service-access .jh-portal-service-grid .jh-plan-card:hover::before,
#client-service-access .jh-portal-service-grid .jh-plan-card:focus-within::before,
#client-service-access .jh-portal-service-grid .jh-plan-card--featured::before {
  display: none;
  opacity: 0;
}

#client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(-n+3):focus-within {
  border-color: rgba(91, 188, 236, 0.16);
  box-shadow: 0 18px 48px rgba(7, 17, 31, 0.16);
  scale: 1;
  translate: 0 0;
  transform: translateY(0) scale(1);
}

@media (hover: hover) and (pointer: fine) {
  #client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(-n+3):hover {
    z-index: 2;
    border-color: rgba(91, 188, 236, 0.38);
    box-shadow:
      0 26px 70px rgba(11, 46, 103, 0.24),
      0 0 0 1px rgba(91, 188, 236, 0.08),
      0 0 34px rgba(91, 188, 236, 0.2);
    scale: 1.025;
    translate: 0 -5px;
  }
}

#client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(-n+3):has(:focus-visible) {
  z-index: 2;
  border-color: rgba(91, 188, 236, 0.38);
  box-shadow:
    0 26px 70px rgba(11, 46, 103, 0.24),
    0 0 0 1px rgba(91, 188, 236, 0.08),
    0 0 34px rgba(91, 188, 236, 0.2);
  scale: 1.025;
  translate: 0 -5px;
}

#client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(-n+3) .jh-plan-card__head {
  padding-right: 0;
}

#client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(-n+3) .jh-plan-card__head i {
  display: block;
  margin-bottom: 18px;
  color: #5bbcec;
  font-size: 36px;
}

#client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(-n+3) .jh-plan-card__head span {
  display: block;
  color: #9bddff;
  font-size: 18px;
  font-weight: 700;
}

#client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(-n+3) h3 {
  margin: 9px 0 20px;
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.18;
}

#client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(-n+3) .jh-plan-list {
  display: grid;
  gap: 9px;
  margin: 23px 0 28px;
  padding: 0;
  list-style: none;
}

#client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(-n+3) .jh-plan-list li {
  position: relative;
  min-height: 21px;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.78);
}

#client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(-n+3) .jh-plan-list li::before {
  position: absolute;
  top: 7px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5bbcec;
  content: "";
}

#client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(-n+3) .jh-plan-button.hap-btn span {
  display: inline-flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--jh-gradient);
  background-size: 220% 100%;
  background-position: 0 50%;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-transform: none;
  transition: background-position 240ms ease, box-shadow 240ms ease;
}

#client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(-n+3) .jh-plan-button.hap-btn a {
  display: inline-flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--jh-gradient);
  background-size: 220% 100%;
  background-position: 0 50%;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-transform: none;
  text-decoration: none;
  transition: all 200ms linear 0ms;
}

#client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(-n+3) .jh-plan-button.hap-btn span i,
#client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(-n+3) .jh-plan-button.hap-btn a i {
  display: block;
  flex: 0 0 auto;
  margin-left: 0;
  color: inherit !important;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  line-height: 1;
  -webkit-text-fill-color: currentColor;
  transform: rotate(-45deg);
  transform-origin: center center;
  transition: all 200ms linear 0ms;
}

#client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(-n+3) .jh-plan-button.hap-btn a i::before {
  content: "\f061";
}

#client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(-n+3):hover .jh-plan-button.hap-btn span,
#client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(-n+3):focus-visible .jh-plan-button.hap-btn span,
#client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(-n+3) .jh-plan-button.hap-btn a:hover,
#client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(-n+3) .jh-plan-button.hap-btn a:focus-visible {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  background-position: 120% 50%;
  box-shadow: 0 14px 34px rgba(11, 46, 103, 0.22);
}

#client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(-n+3):hover .jh-plan-button.hap-btn span i,
#client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(-n+3):focus-visible .jh-plan-button.hap-btn span i,
#client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(-n+3) .jh-plan-button.hap-btn a:hover i,
#client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(-n+3) .jh-plan-button.hap-btn a:focus-visible i {
  color: inherit !important;
  -webkit-text-fill-color: currentColor;
  transform: rotate(0deg);
}

.jh-support-guidance-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 190px 0 170px;
  background:
    radial-gradient(circle at 12% 18%, rgba(91, 188, 236, 0.1), transparent 22%),
    radial-gradient(circle at 88% 74%, rgba(11, 46, 103, 0.28), transparent 30%),
    linear-gradient(135deg, #08111f 0%, #07101c 52%, #030812 100%);
  box-shadow:
    inset 0 0 0 9999px rgba(7, 17, 31, 0.42),
    inset 420px 0 180px rgba(7, 17, 31, 0.55);
}

.jh-support-guidance-section::before,
.jh-support-guidance-section::after {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 1;
  display: block;
  width: auto;
  height: 160px;
  background: #fff;
  content: "";
  pointer-events: none;
  transform: none;
}

.jh-support-guidance-section::before {
  top: -1px;
  clip-path: polygon(0 0, 100% 0, 100% calc(82px + 1.745vw), 0 calc(82px - 1.745vw));
}

.jh-support-guidance-section::after {
  bottom: -1px;
  clip-path: polygon(0 calc(68px - 1.745vw), 100% calc(68px + 1.745vw), 100% 100%, 0 100%);
}

.jh-support-guidance-section > .container {
  position: relative;
  z-index: 2;
}

.jh-support-guidance-section .hap-section-title {
  max-width: 980px;
  margin-right: auto;
  margin-bottom: 64px;
  margin-left: auto;
}

.jh-support-guidance-section .hap-section-title .sub-title {
  color: #bcefff;
}

.jh-support-guidance-section .hap-section-title h2,
.jh-support-guidance-section .hap-section-title p {
  color: #fff;
}

.jh-support-guidance-section .hap-section-title h2 {
  max-width: 850px;
  margin-right: auto;
  margin-left: auto;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
}

.jh-support-guidance-section .hap-section-title p {
  max-width: 880px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.579;
}

.jh-support-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  width: min(100%, 920px);
  margin: 0 auto;
}

.jh-support-card-grid .jh-plan-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 430px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(91, 188, 236, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(31, 41, 55, 0.98) 0%, rgba(15, 23, 42, 0.98) 52%, rgba(7, 17, 31, 0.99) 100%);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.24);
  scale: 1;
  translate: 0 0;
  transform: translateY(0) scale(1);
  transform-origin: center center;
  transition: border-color 220ms ease, box-shadow 220ms ease, scale 220ms ease, translate 220ms ease;
  will-change: scale, translate;
}

.jh-support-card-grid .jh-plan-card::before,
.jh-support-card-grid .jh-plan-card:hover::before,
.jh-support-card-grid .jh-plan-card:focus-within::before {
  display: none;
  opacity: 0;
}

.jh-support-card-grid .jh-plan-card:focus-within {
  border-color: rgba(91, 188, 236, 0.18);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.24);
  scale: 1;
  translate: 0 0;
}

@media (hover: hover) and (pointer: fine) {
  .jh-support-card-grid .jh-plan-card:hover {
    z-index: 2;
    border-color: rgba(91, 188, 236, 0.42);
    box-shadow:
      0 28px 78px rgba(0, 0, 0, 0.32),
      0 0 0 1px rgba(91, 188, 236, 0.1),
      0 0 36px rgba(91, 188, 236, 0.18);
    scale: 1.025;
    translate: 0 -5px;
  }
}

.jh-support-card-grid .jh-plan-card:has(:focus-visible) {
  z-index: 2;
  border-color: rgba(91, 188, 236, 0.42);
  box-shadow:
    0 28px 78px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(91, 188, 236, 0.1),
    0 0 36px rgba(91, 188, 236, 0.18);
  scale: 1.025;
  translate: 0 -5px;
}

.jh-support-card-grid .jh-plan-card__head {
  padding-right: 84px;
}

.jh-support-card-grid .jh-plan-card__head span {
  display: block;
  color: #9bddff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.jh-support-card-grid .jh-plan-card h3 {
  margin: 9px 0 20px;
  color: #fff;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.18;
}

.jh-support-card-grid .jh-plan-list {
  display: grid;
  gap: 9px;
  margin: 23px 0 28px;
  padding: 0;
  list-style: none;
}

.jh-support-card-grid .jh-plan-list li {
  position: relative;
  min-height: 21px;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.78);
}

.jh-support-card-grid .jh-plan-list li::before {
  position: absolute;
  top: 7px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5bbcec;
  content: "";
}

.jh-support-card-grid .jh-plan-button {
  margin-top: auto;
}

.jh-support-card-grid .jh-plan-button.hap-btn a {
  display: inline-flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--jh-gradient);
  background-size: 220% 100%;
  background-position: 0 50%;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-transform: none;
  text-decoration: none;
  transition: all 200ms linear 0ms;
}

.jh-support-card-grid .jh-plan-button.hap-btn a i {
  display: block;
  flex: 0 0 auto;
  margin-left: 0;
  color: inherit !important;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  line-height: 1;
  -webkit-text-fill-color: currentColor;
  transform: rotate(-45deg);
  transform-origin: center center;
  transition: all 200ms linear 0ms;
}

.jh-support-card-grid .jh-plan-button.hap-btn a i::before {
  content: "\f061";
}

.jh-support-card-grid .jh-plan-button.hap-btn a:hover,
.jh-support-card-grid .jh-plan-button.hap-btn a:focus-visible {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  background-position: 120% 50%;
}

.jh-support-card-grid .jh-plan-button.hap-btn a:hover i,
.jh-support-card-grid .jh-plan-button.hap-btn a:focus-visible i {
  color: inherit !important;
  -webkit-text-fill-color: currentColor;
  transform: rotate(0deg);
}

.jh-family-account-section {
  padding: 112px 0 120px;
  background:
    linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}

.jh-family-account-section .hap-section-title {
  max-width: 920px;
  margin-right: auto;
  margin-bottom: 54px;
  margin-left: auto;
}

.jh-family-account-section .hap-section-title .sub-title {
  background: var(--jh-eyebrow-light-bg-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: #0b2e67;
  font-family: var(--jh-font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: uppercase;
  font-style: normal;
  -webkit-text-fill-color: transparent;
}

.jh-family-account-section .hap-section-title .sub-title::before {
  background: var(--jh-eyebrow-light-bg-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: #0b2e67;
  -webkit-text-fill-color: transparent;
}

.jh-family-account-section .hap-section-title .headline-title,
.jh-family-account-section .hap-section-title h2 {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  color: #0f172a;
  font-family: var(--jh-font) !important;
  font-size: 48px !important;
  font-weight: 700 !important;
  line-height: 1.1em !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-style: normal !important;
}

.jh-family-account-section .hap-section-title p {
  max-width: 820px;
  margin: 20px auto 0;
  color: var(--jh-text);
  font-size: 19px;
  line-height: 1.579;
}

.jh-family-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 24px;
}

.jh-family-card {
  display: grid;
  min-width: 0;
  min-height: 244px;
  grid-template-rows: 16px 68px 1fr;
  align-content: start;
  row-gap: 18px;
  padding: 34px 34px 32px;
  border: 1px solid rgba(11, 46, 103, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(10, 15, 31, 0.06);
  transition: border-color 200ms linear, transform 200ms linear, box-shadow 200ms linear;
}

.jh-family-card:hover,
.jh-family-card:focus-visible {
  border-color: rgba(11, 46, 103, 0.28);
  box-shadow: 0 22px 54px rgba(10, 15, 31, 0.1);
  transform: translateY(-2px);
}

.jh-family-card span {
  display: block;
  align-self: start;
  margin: 0;
  color: var(--jh-navy);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.jh-family-card h3 {
  align-self: start;
  margin: 0;
  color: var(--jh-ink);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.18;
}

.jh-family-card p {
  align-self: start;
  margin: 0;
  color: var(--jh-text);
  font-size: 16px;
  line-height: 1.65;
}

.jh-brand-context-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.jh-brand-context-card {
  padding: 30px;
  border: 1px solid rgba(91, 188, 236, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.18);
}

.jh-brand-context-card h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 26px;
}

.jh-brand-context-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.jh-final-help-section {
  padding: 96px 0 110px;
  background: #fff;
}

.jh-final-help-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--jh-line);
  border-radius: 12px;
  background: var(--jh-soft);
  box-shadow: var(--jh-shadow);
}

.jh-final-help-card h2 {
  margin: 0;
  color: var(--jh-ink);
  font-size: 38px;
  line-height: 1.12;
}

.jh-final-help-card p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--jh-text);
}

.jh-final-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.jh-final-help-card .jh-secondary-hap-btn a {
  border-color: rgba(11, 46, 103, 0.16);
  color: var(--jh-navy);
  background: #fff;
}

.jh-final-help-card .jh-secondary-hap-btn a:hover,
.jh-final-help-card .jh-secondary-hap-btn a:focus-visible {
  color: #fff;
  background: var(--jh-ui-gradient);
}

.jh-portal-section-haptic--dark .hap-section-title p {
  color: rgba(255, 255, 255, 0.8);
}

.jh-portal-section-haptic:not(.jh-portal-section-haptic--dark) .hap-section-title .sub-title,
.jh-final-help-card .hap-section-title .sub-title {
  background: var(--jh-eyebrow-light-bg-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: var(--jh-navy);
  -webkit-text-fill-color: transparent;
}

.jh-portal-section-haptic:not(.jh-portal-section-haptic--dark) .hap-section-title .sub-title::before,
.jh-final-help-card .hap-section-title .sub-title::before {
  background: var(--jh-eyebrow-light-bg-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: var(--jh-navy);
  -webkit-text-fill-color: transparent;
}

@media (max-width: 1199px) {
  .jh-client-hero-section .hap-banner-text,
  .jh-client-hero-section .headline-title {
    max-width: 100%;
  }

  .jh-client-hero-section .headline-title {
    font-size: 44px;
    line-height: 1.1;
  }

  .jh-portal-service-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
  }

  .jh-client-bridge-section .hap-sponsor-content {
    padding-left: 36px;
    border-radius: 42px;
  }

  .jh-final-help-card {
    grid-template-columns: 1fr;
  }

  .jh-final-help-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 991px) {
  .jh-portal-home .jh-client-header {
    position: sticky;
  }

  .jh-client-hero-section {
    min-height: 0;
  }

  .jh-client-hero-section .hap-banner-content {
    padding: 92px 0 150px;
  }

  .jh-client-hero-section .headline-title {
    font-size: 44px;
    line-height: 1.1;
  }

  .jh-client-bridge-section .hap-sponsor-content {
    width: min(100% - 28px, 620px);
    margin-top: -94px;
    padding: 28px;
    border-radius: 28px;
  }

  .jh-client-bridge-section .hap-section-title {
    max-width: none;
    padding-top: 0;
  }

  .jh-bridge-route-area .sponsor-logo,
  .jh-bridge-route-area .jh-bridge-support {
    width: 50%;
    min-height: 72px;
  }

  .jh-portal-section-haptic {
    padding: 76px 0;
  }

  .jh-portal-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jh-portal-service-grid .jh-plan-card:nth-child(n) {
    grid-column: auto;
  }

  .jh-brand-context-grid,
  .jh-final-help-card {
    grid-template-columns: 1fr;
  }

  .jh-final-help-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .jh-portal-page .container,
  .jh-portal-page .container-md {
    width: min(100% - 28px, 360px);
  }

  .jh-portal-page .hap-section-title .sub-title,
  .jh-portal-page .jh-portal-eyebrow {
    font-size: 13px;
    line-height: 1.2;
  }

  .jh-client-hero-section .headline-title {
    font-size: 36px;
    line-height: 1.12;
  }

  .jh-client-hero-section .hap-section-title p {
    max-width: 315px;
    font-size: 15px;
    line-height: 1.6;
  }

  .jh-hero-actions,
  .jh-final-help-actions {
    flex-direction: column;
  }

  .jh-portal-page .hap-btn a {
    width: 100%;
  }

  .jh-client-bridge-section .hap-sponsor-content {
    width: min(100% - 28px, 360px);
    padding: 22px;
  }

  .jh-client-bridge-section .hap-section-title h2,
  .jh-portal-section-haptic .hap-section-title h2,
  .jh-final-help-card h2 {
    font-size: 28px;
  }

  .jh-bridge-route-area .sponsor-logo,
  .jh-bridge-route-area .jh-bridge-support {
    width: 100%;
    justify-content: flex-start;
    padding: 18px 0;
    border-right: 0;
  }

  .jh-portal-service-grid {
    grid-template-columns: 1fr;
  }

  .jh-final-help-card {
    padding: 28px 22px;
  }
}

.jh-client-main--portal .col-12.jh-portal-shell {
  padding-right: 0;
  padding-left: 0;
}

@media (max-width: 640px) {
  .jh-portal-home .jh-portal-shell,
  .jh-portal-home .jh-portal-page,
  .jh-portal-home .jh-client-hero-section,
  .jh-portal-home .jh-portal-section-haptic,
  .jh-portal-home .jh-final-help-section {
    width: 100% !important;
    max-width: none !important;
  }
}

.jh-portal-home .jh-client-header.is-sticky,
.jh-portal-home .jh-client-header.sticky-on {
  position: fixed;
  top: 0 !important;
  bottom: auto !important;
  left: 0 !important;
  width: 100%;
}

@media (max-width: 1024px) {
  .jh-client-bridge-section .hap-sponsor-content {
    width: min(1120px, calc(100vw - 48px));
    min-height: 0;
    padding: 34px 36px;
    border-radius: 28px;
    top: 0;
  }

  .jh-client-bridge-section .hap-sponsor-content > .row {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 0;
  }

  .jh-client-bridge-section .hap-section-title {
    max-width: 310px;
    padding-top: 0;
  }

  .jh-bridge-route-area {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: 200px;
    min-height: 200px;
  }

  .jh-bridge-route-area .sponsor-logo {
    width: auto;
    min-height: 100px;
    padding: 0 16px;
    border-right: 0;
    border-bottom: 0;
  }
}

@media (max-width: 767px) {
  .jh-client-bridge-section .hap-sponsor-content {
    display: block;
    width: calc(100vw - 72px);
    max-width: calc(100vw - 72px);
    padding: 28px 18px;
    border-radius: 24px;
  }

  .jh-client-bridge-section .hap-section-title,
  .jh-client-bridge-section .hap-section-title h2 {
    width: 100%;
    max-width: 260px;
  }

  .jh-bridge-route-area {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
    min-height: 0;
    margin-top: 20px;
  }

  .jh-bridge-route-area .sponsor-logo {
    min-height: 42px;
    padding: 0 10px;
    border-left: 0;
    border-top: 0;
  }

  .jh-bridge-route-area .sponsor-logo + .sponsor-logo {
    border-left: 0;
  }

  .jh-bridge-route-area .sponsor-logo:nth-child(even) {
    border-left: 1px solid rgba(15, 23, 42, 0.12);
  }

  .jh-bridge-route-area .sponsor-logo:nth-child(n + 3) {
    border-top: 1px solid rgba(15, 23, 42, 0.12);
  }

  .jh-bridge-route a {
    width: 100%;
    padding: 0 10px;
  }
}

@media (max-width: 1200px) {
  #client-service-access .jh-client-account-feature {
    gap: 48px;
  }

  #client-service-access .jh-client-account-feature__media .about-img {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 1024px) {
  .jh-family-account-section .hap-section-title .headline-title,
  .jh-family-account-section .hap-section-title h2 {
    font-size: 44px !important;
    line-height: 1.12em !important;
  }
}

@media (max-width: 991px) {
  .jh-support-guidance-section {
    padding: 150px 0 140px;
  }

  .jh-support-card-grid {
    width: min(100%, 720px);
    grid-template-columns: 1fr;
  }

  .jh-support-card-grid .jh-plan-card {
    min-height: 360px;
  }

  .jh-support-card-grid .jh-plan-card__head {
    padding-right: 0;
  }

  .jh-family-card-grid {
    grid-template-columns: 1fr;
  }

  .jh-family-card {
    min-height: 0;
  }

  #client-service-access .jh-client-account-feature {
    grid-template-columns: 1fr;
    gap: 42px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 52px;
  }

  #client-service-access .jh-client-account-feature__media {
    width: min(100%, 560px);
    max-width: 100%;
    min-height: 390px;
    margin: 0 auto;
  }

  #client-service-access .jh-client-account-feature__media .about-img {
    width: min(354px, 72%);
    height: 390px;
    margin: 0 auto;
  }

  #client-service-access .jh-client-account-feature__media .about-shape1 {
    left: -24%;
  }

  #client-service-access .jh-client-account-feature__copy {
    width: 100%;
    max-width: 680px;
  }

  #client-service-access .jh-portal-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(n) {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .jh-support-guidance-section {
    padding: 132px 0 124px;
  }

  .jh-support-guidance-section::before,
  .jh-support-guidance-section::after {
    height: 112px;
  }

  .jh-support-guidance-section::before {
    clip-path: polygon(0 0, 100% 0, 100% calc(58px + 2.2vw), 0 calc(58px - 2.2vw));
  }

  .jh-support-guidance-section::after {
    clip-path: polygon(0 calc(48px - 2.2vw), 100% calc(48px + 2.2vw), 100% 100%, 0 100%);
  }

  .jh-support-guidance-section .hap-section-title {
    margin-bottom: 42px;
  }

  .jh-support-card-grid .jh-plan-card {
    min-height: 340px;
    padding: 24px;
  }

  .jh-support-card-grid .jh-plan-card h3 {
    font-size: 30px;
  }

  .jh-family-account-section {
    padding: 82px 0 92px;
  }

  .jh-family-account-section .hap-section-title {
    margin-bottom: 38px;
  }

  .jh-family-account-section .hap-section-title .sub-title {
    font-size: 13px;
    line-height: 1.2;
  }

  .jh-family-account-section .hap-section-title .headline-title,
  .jh-family-account-section .hap-section-title h2 {
    font-size: 34px !important;
    line-height: 1.14em !important;
  }

  .jh-family-account-section .hap-section-title p {
    font-size: 16px;
  }

  .jh-family-card {
    grid-template-rows: 16px auto 1fr;
    padding: 28px 24px 26px;
  }

  .jh-family-card h3 {
    font-size: 25px;
  }

  #client-service-access .jh-client-account-feature {
    display: block;
    width: 100%;
    max-width: 100%;
    gap: 34px;
    margin-bottom: 44px;
  }

  #client-service-access .jh-client-account-feature__media {
    width: 100%;
    max-width: 100%;
    min-height: 330px;
    margin-bottom: 34px;
  }

  #client-service-access .jh-client-account-feature__media .about-img {
    width: min(270px, 74%);
    height: 330px;
  }

  #client-service-access .jh-client-account-feature__copy,
  #client-service-access .jh-client-account-feature__copy h2,
  #client-service-access .jh-client-account-feature__copy p {
    width: 100%;
    max-width: 100%;
  }

  #client-service-access .jh-client-account-feature__media .about-shape1 {
    top: 38%;
    left: -42%;
  }

  #client-service-access .jh-client-account-feature__media .about-shape1 img {
    width: 330px;
  }

  #client-service-access .jh-client-account-feature__media .about-shape2 {
    top: 76px;
    right: 0;
  }

  #client-service-access .jh-client-account-feature__media .about-shape2 img {
    width: 190px;
  }

  #client-service-access .jh-portal-service-grid {
    grid-template-columns: 1fr;
  }

  #client-service-access .jh-portal-service-grid .jh-plan-card:nth-child(-n+3) {
    min-height: 390px;
  }
}

/*
 * Client list tables use cards below the tablet breakpoint.  The base Blesta
 * stylesheet keeps responsive table cells on one line, which is useful on
 * desktop but makes multi-column client lists unusable on a phone.  Templates
 * opting into this pattern provide translated data-label attributes for each
 * value, so the layout remains understandable without table headings.
 */
@media (max-width: 767.98px) {
  .junction-client-template .jh-mobile-card-table-wrap {
    overflow: visible;
  }

  .junction-client-template .jh-mobile-card-table {
    display: block;
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    border: 0;
    box-sizing: border-box;
    table-layout: fixed;
    background: transparent;
  }

  .junction-client-template .jh-mobile-card-table > thead,
  .junction-client-template .jh-mobile-card-table > colgroup {
    display: none;
  }

  .junction-client-template .jh-mobile-card-table > tbody {
    display: block;
  }

  .junction-client-template .jh-mobile-card-table > tbody > tr:not(.expand_details) {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0 0 14px;
    overflow: hidden;
    border: 1px solid var(--jh-line);
    border-radius: 10px;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 8px 22px rgba(7, 17, 31, 0.06);
  }

  .junction-client-template .jh-mobile-card-table > tbody > tr:not(.expand_details):last-child {
    margin-bottom: 0;
  }

  .junction-client-template .jh-mobile-card-table > tbody > tr:not(.expand_details) > td {
    display: grid !important;
    grid-template-columns: minmax(5.5rem, 35%) minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 11px 14px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(11, 46, 103, 0.1) !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    background: transparent !important;
    box-sizing: border-box;
  }

  .junction-client-template .jh-mobile-card-table > tbody > tr:not(.expand_details) > td:last-child {
    border-bottom: 0 !important;
  }

  .junction-client-template .jh-mobile-card-table > tbody > tr:not(.expand_details) > td::before {
    content: attr(data-label);
    min-width: 0;
    color: var(--jh-ink);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.45;
  }

  .junction-client-template .junction-licence-widget-value {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .junction-client-template .jh-mobile-card-table > tbody > tr.expand > td:last-of-type::after {
    display: none;
  }

  .junction-client-template .jh-mobile-card-table > tbody > tr.expand_details {
    display: none;
    margin: -6px 0 14px;
    border: 1px solid var(--jh-line);
    border-top: 0;
    border-radius: 0 0 10px 10px;
    background: #f8fbfe;
  }

  .junction-client-template .jh-mobile-card-table > tbody > tr.expand_details > td.subtable {
    display: block;
    width: 100%;
    padding: 14px !important;
    border: 0 !important;
    white-space: normal !important;
  }

  .junction-client-template .jh-mobile-card-table .jh-mobile-card-action {
    display: block !important;
  }

  .junction-client-template .jh-mobile-card-table .jh-mobile-card-action::before {
    display: block;
    margin-bottom: 8px;
  }

  .junction-client-template .jh-mobile-card-table .jh-mobile-card-action .btn-group {
    display: flex;
    width: 100%;
  }

  .junction-client-template .jh-mobile-card-table .jh-mobile-card-action .btn-group > .btn:first-child {
    flex: 1 1 auto;
  }

  .junction-client-template .jh-mobile-card-table .jh-mobile-card-action .btn {
    min-height: 44px;
    white-space: normal;
  }

  .junction-client-template .jh-mobile-card-table .jh-mobile-card-action .dropdown-toggle {
    flex: 0 0 48px;
  }

  .junction-client-template .jh-mobile-phone-table select,
  .junction-client-template .jh-mobile-phone-table input[type="tel"] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .junction-client-template .jh-mobile-phone-table .form-group {
    min-width: 0;
    margin: 0;
  }

  .junction-client-template #client_services .card-nav,
  .junction-client-template #client_invoices .card-nav,
  .junction-client-template #client_transactions .card-nav,
  .junction-client-template #client_quotations .card-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }

  .junction-client-template #client_services .card-nav > .float-left,
  .junction-client-template #client_invoices .card-nav > .float-left,
  .junction-client-template #client_transactions .card-nav > .float-left,
  .junction-client-template #client_quotations .card-nav > .float-left {
    flex: 1 1 100%;
  }

  .junction-client-template #client_services .card-nav .card-links,
  .junction-client-template #client_invoices .card-nav .card-links,
  .junction-client-template #client_transactions .card-nav .card-links,
  .junction-client-template #client_quotations .card-nav .card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 0;
    margin: 0;
    padding: 0;
    line-height: 1.45;
  }

  .junction-client-template #client_services .card-nav .card-links > li,
  .junction-client-template #client_invoices .card-nav .card-links > li,
  .junction-client-template #client_transactions .card-nav .card-links > li,
  .junction-client-template #client_quotations .card-nav .card-links > li {
    margin: 0;
  }

  .junction-client-template #client_services form.widget_filter_form .card,
  .junction-client-template #client_invoices form.widget_filter_form .card,
  .junction-client-template #client_transactions form.widget_filter_form .card,
  .junction-client-template #client_quotations form.widget_filter_form .card {
    padding: 14px !important;
  }

  .junction-client-template #client_services form.widget_filter_form .row,
  .junction-client-template #client_invoices form.widget_filter_form .row,
  .junction-client-template #client_transactions form.widget_filter_form .row,
  .junction-client-template #client_quotations form.widget_filter_form .row {
    margin-right: -5px;
    margin-left: -5px;
  }

  .junction-client-template #client_services form.widget_filter_form [class*="col-"],
  .junction-client-template #client_invoices form.widget_filter_form [class*="col-"],
  .junction-client-template #client_transactions form.widget_filter_form [class*="col-"],
  .junction-client-template #client_quotations form.widget_filter_form [class*="col-"] {
    width: 100%;
    max-width: 100%;
    padding-right: 5px;
    padding-left: 5px;
  }

  .junction-client-template #client_services form.widget_filter_form .btn,
  .junction-client-template #client_invoices form.widget_filter_form .btn,
  .junction-client-template #client_transactions form.widget_filter_form .btn,
  .junction-client-template #client_quotations form.widget_filter_form .btn {
    width: 100%;
  }
}
