/* BEGIN JHS ORIGINAL HOMEPAGE STYLES */
/* =========================================================
   JHS HOST HOME PAGE
   ========================================================= */

.jhs-home {
  --jhs-blue: #003d78;
  --jhs-deep: #002952;
  --jhs-gold: #f5b800;
  --jhs-light: #f4f8fc;
  --jhs-text: #102d52;
  color: var(--jhs-text);
  font-size: 1rem;
  line-height: 1.55;
}

/* Let the landing page breathe */
.jhs-home h1,
.jhs-home h2,
.jhs-home h3 {
  color: var(--jhs-text);
  font-weight: 800;
  line-height: 1.12;
}

.jhs-home h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin-bottom: .5rem;
}

/* HERO */
.jhs-hero {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  padding: 55px 5%;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr);
  align-items: center;
  gap: 3rem;

  background:
  linear-gradient(90deg,
    rgba(0,38,76,.96) 0%,
    rgba(0,43,82,.88) 42%,
    rgba(0,38,76,.50) 68%,
    rgba(0,25,50,.18) 100%),
  url('/images/jhs-host/jhs-host-hero.png') center center / cover no-repeat;
}

.jhs-hero h1 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  letter-spacing: -.03em;
}

.jhs-lead {
  max-width: 760px;
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: #fff;
}

.jhs-hero-message {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.35;
  text-align: center;
  transform: rotate(-3deg);
  opacity: .95;
}

/* BUTTONS */
.jhs-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.jhs-btn {
  display: inline-block;
  padding: .9rem 1.4rem;
  border-radius: 7px;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease;
}

.jhs-btn:hover {
  transform: translateY(-2px);
}

.jhs-btn-gold {
  background: var(--jhs-gold);
  color: #08294d !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
}

.jhs-btn-outline {
  color: #fff !important;
  border: 2px solid rgba(255,255,255,.85);
  background: rgba(0,0,0,.15);
}

/* SIX QUICK BENEFITS */
.jhs-quick {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  background: #fff;
  box-shadow: 0 5px 18px rgba(0,35,70,.10);
}

.jhs-quick > div {
  padding: 1.3rem .8rem;
  text-align: center;
  border-right: 1px solid #dce5ef;
}

.jhs-quick > div:last-child {
  border-right: 0;
}

.jhs-icon {
  display: block;
  margin-bottom: .35rem;
  font-size: 2rem;
}

.jhs-quick strong,
.jhs-quick small {
  display: block;
}

.jhs-quick strong {
  color: #092f5c;
  font-size: 1rem;
}

.jhs-quick small {
  margin-top: .25rem;
  color: #53677e;
  line-height: 1.3;
}

/* MORE THAN HOSTING */
.jhs-more {
  padding: 4rem 5%;
  display: grid;
  grid-template-columns: minmax(280px,1fr) minmax(320px,1fr);
  gap: 4rem;
  align-items: center;
  background: linear-gradient(135deg,#eef5fb,#fff);
}

.jhs-screen-placeholder {
  min-height: 330px;
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  background:
    linear-gradient(145deg,#062d59,#005ca9);
  color: #fff;
  box-shadow: 0 18px 40px rgba(0,39,79,.22);
}

.jhs-screen-placeholder strong {
  font-size: clamp(2rem,4vw,3.5rem);
  color: #fff;
}

.jhs-screen-placeholder span {
  margin-top: .8rem;
  font-size: 1.05rem;
}

.jhs-more-copy > p {
  font-size: 1.1rem;
}

.jhs-benefits {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.jhs-benefits li {
  position: relative;
  margin: 0 0 1rem;
  padding-left: 2.3rem;
}

.jhs-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .05rem;
  width: 1.55rem;
  height: 1.55rem;
  line-height: 1.55rem;
  text-align: center;
  border-radius: 50%;
  background: #1fa64a;
  color: #fff;
  font-weight: 900;
}

.jhs-benefits strong {
  color: #0a315e;
}

.jhs-benefits span {
  color: #53677e;
}

/* THREE PILLARS */
.jhs-built {
  padding: 4rem 5%;
  text-align: center;
  background: #fff;
}

.jhs-built > p {
  max-width: 850px;
  margin: 0 auto 2rem;
  font-size: 1.08rem;
}

.jhs-pillars {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.jhs-pillars article {
  padding: 1.8rem;
  border: 1px solid #dbe5ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,35,70,.08);
}

.jhs-pillars article:nth-child(2) {
  border-top: 4px solid #22a54a;
}

.jhs-pillars article:nth-child(1),
.jhs-pillars article:nth-child(3) {
  border-top: 4px solid #0875ce;
}

.jhs-card-icon {
  font-size: 2rem;
}

.jhs-pillars h3 {
  margin: .65rem 0;
  font-size: 1.25rem;
}

.jhs-pillars a {
  color: #006dcc;
  font-weight: 800;
  text-decoration: none;
}

/* FINAL CALL TO ACTION */
.jhs-final {
  padding: 3.5rem 5%;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(135deg,#00366d,#0060a8);
  border-top: 5px solid var(--jhs-gold);
}

.jhs-final h2 {
  margin: 0;
  color: #fff;
}

.jhs-final h2 span {
  color: #ffd12e;
}

.jhs-final p {
  margin: .75rem 0 1.5rem;
  font-size: 1.25rem;
}

/* Remove excess article spacing on landing page */
.jhs-home > section {
  margin-left: 0;
  margin-right: 0;
}

/* TABLET */
@media (max-width: 1000px) {
  .jhs-quick {
    grid-template-columns: repeat(3,1fr);
  }

  .jhs-quick > div {
    border-bottom: 1px solid #dce5ef;
  }

  .jhs-more {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* MOBILE */
@media (max-width: 700px) {
  .jhs-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 3rem 1.4rem;
  }

  .jhs-hero-message {
    text-align: left;
    transform: none;
  }

  .jhs-buttons {
    flex-direction: column;
  }

  .jhs-btn {
    text-align: center;
  }

  .jhs-quick {
    grid-template-columns: repeat(2,1fr);
  }

  .jhs-more,
  .jhs-built,
  .jhs-final {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .jhs-pillars {
    grid-template-columns: 1fr;
  }

  .jhs-screen-placeholder {
    min-height: 240px;
  }
}
/* JHS product screenshot */
.jhs-product-shot {
  margin: 0;
}

.jhs-product-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 5px solid #073763;
  border-radius: 12px;
  box-shadow: 0 16px 35px rgba(0, 38, 76, .22);
}

.jhs-product-shot figcaption {
  padding: .8rem .25rem 0;
  color: #53677e;
  font-size: .92rem;
  line-height: 1.4;
}

.jhs-product-shot figcaption strong {
  display: block;
  color: #073763;
  font-size: 1.05rem;
  margin-bottom: .15rem;
}
/* END JHS ORIGINAL HOMEPAGE STYLES */



/* JHS Support page buttons */
.jhs-support .jhs-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 1.5rem 0 1rem;
}
.jhs-support .jhs-btn {
  display: inline-block;
  padding: .85rem 1.25rem;
  border: 2px solid #08294d;
  border-radius: 7px;
  background: #08294d;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
}
.jhs-support .jhs-btn-gold {
  background: #e7b438;
  border-color: #e7b438;
  color: #08294d !important;
}
.jhs-support .jhs-btn:hover {
  filter: brightness(.92);
}
.jhs-support .jhs-btn:focus-visible {
  outline: 3px solid #1769aa;
  outline-offset: 3px;
}
@media (max-width: 575px) {
  .jhs-support .jhs-buttons {
    flex-direction: column;
  }
  .jhs-support .jhs-btn {
    text-align: center;
  }
}


/* JHS BLUE MENU START */
header .container-nav {
  background: linear-gradient(to bottom, #0874c9 0%, #003c78 35%, #061d38 100%) !important;
  border-bottom: 3px solid #e7b438;
  padding: .5rem 1rem;
  box-shadow: 0 3px 6px rgba(0,0,0,.18);
}
header #mod-menu1 {
  margin: 0;
  gap: 0;
  width: 100%;
}
header #mod-menu1 > li {
  padding: .25rem .9rem;
}
header #mod-menu1 > li + li {
  border-left: 1px solid rgba(231,180,56,.5);
}
header #mod-menu1 a,
header #mod-menu1 .mod-menu__toggle-sub {
  color: #ffd35a !important;
  font-weight: 700;
  text-decoration: none;
}
header #mod-menu1 a:hover,
header #mod-menu1 a:focus-visible {
  color: #fff !important;
  text-decoration: underline;
}
header #mod-menu1 .mod-menu__sub {
  background: #08294d !important;
  border: 1px solid #e7b438;
  padding: .5rem;
  z-index: 1000;
}
header #mod-menu1 .mod-menu__sub li {
  padding: .35rem .5rem;
}
header #mod-menu1 a:focus-visible,
header #mod-menu1 button:focus-visible {
  outline: 2px solid #ffd35a;
  outline-offset: 3px;
}
@media (max-width: 575px) {
  header #mod-menu1 > li + li {
    border-left: 0;
  }
}
/* JHS BLUE MENU END */

/* JHS HEADER ORDER BUTTON */

.jhs-header-order {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 1rem 0 0;
}

.jhs-header-order-btn {
    display: inline-block;
    background: #f4c542;
    color: #08294d !important;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    transition: transform .15s ease, box-shadow .15s ease;
}

.jhs-header-order-btn:hover {
    background: #ffdb62;
    color: #08294d !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,.3);
}

@media (max-width: 768px) {
    .jhs-header-order {
        width: 100%;
        margin: 10px 0;
    }

    .jhs-header-order-btn {
        width: 100%;
        text-align: center;
    }
}


/* JHS GOLD MENU ORDER BUTTON */

.container-header .mod-menu a.jhs-header-order-btn {
    display: inline-block;
    background: #f4c542;
    color: #08294d !important;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    transition: background .15s ease, transform .15s ease;
}

.container-header .mod-menu a.jhs-header-order-btn:hover,
.container-header .mod-menu a.jhs-header-order-btn:focus {
    background: #ffdb62;
    color: #08294d !important;
    transform: translateY(-2px);
}


/* JHS ORDER BUTTON TEXT FIX */

.container-header .mod-menu a.jhs-header-order-btn,
.container-header .mod-menu a.jhs-header-order-btn:link,
.container-header .mod-menu a.jhs-header-order-btn:visited,
.container-header .mod-menu a.jhs-header-order-btn:hover,
.container-header .mod-menu a.jhs-header-order-btn:focus,
.container-header .mod-menu a.jhs-header-order-btn:active {
    color: #08294d !important;
    -webkit-text-fill-color: #08294d !important;
    opacity: 1 !important;
    text-shadow: none !important;
}


/* JHS HOMEPAGE CONTENT FRAME */

/* Keep the main article centered beneath the header */
body.view-article.itemid-101 .container-component {
    max-width: 1120px;
    margin: 24px auto 45px;
    padding: 0 18px;
}

/* Frame the main content without affecting navigation */
body.view-article.itemid-101 .com-content-article {
    background: #ffffff;
    border: 2px solid #d8ad39;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0, 35, 70, .12);
    overflow: hidden;
}

/* Reduce the hero slightly */
body.view-article.itemid-101 .jhs-hero {
    min-height: 320px;
    padding: 38px 5%;
}

/* Reduce the product image */
body.view-article.itemid-101 .jhs-product-shot img {
    max-width: 85%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Comfortable mobile layout */
@media (max-width: 768px) {
    body.view-article.itemid-101 .container-component {
        width: 100%;
        padding: 0 12px;
        margin-top: 16px;
    }

    body.view-article.itemid-101 .jhs-hero {
        min-height: auto;
        padding: 30px 20px;
    }

    body.view-article.itemid-101 .jhs-product-shot img {
        max-width: 100%;
    }
}

