@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Source+Sans+3:wght@400;500;600;700;800&display=swap');
.admin-bar .sjoh-nav-bar {
  top: 32px !important;
}

.admin-bar .sjoh-drop,
.admin-bar .sjoh-mobile-menu {
  top: 88px !important;
}

@media screen and (max-width: 782px) {
  .admin-bar .sjoh-nav-bar {
    top: 46px !important;
  }

  .admin-bar .sjoh-mobile-menu {
    top: 102px !important;
  }
}

body:has(.sjoh-nav-bar) {
  padding-top: 56px !important;
}

.sjoh-nav-bar {
  width: 100%;
  height: 56px;
  background: #f3f8fc !important;
  border-bottom: 3px solid #166999;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999999;
  font-family: 'Source Sans 3', sans-serif;
}

.sjoh-header-inner {
  max-width: 1720px;
  height: 56px;
  margin: 0;
  padding: 0 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
}

.sjoh-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-left: 0 !important;
}

.sjoh-logo-box {
  background: #1695c8;
  height: 38px;
  min-width: 185px;
  border-radius: 4px;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: none;
}

.sjoh-logo-title {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.1;
}

.sjoh-logo-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
}

.sjoh-logo-sub span.line {
  display: block;
  width: 28px;
  height: 1px;
  background: rgba(255,255,255,0.6);
}

.sjoh-logo-sub span.text {
  font-size: 8px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2.6px;
  text-transform: uppercase;
}

.sjoh-mega-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  flex: 1;
  height: 56px;
  padding: 0 120px;
}

.sjoh-mega-tab {
  position: relative;
  height: 56px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.sjoh-tab-label {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 56px;
  font-size: 15px;
  font-weight: 800;
  color: #0b3559;
  letter-spacing: .6px;
  white-space: nowrap;
  text-transform: uppercase;
  transition: color .15s;
}

.sjoh-mega-tab:hover > .sjoh-tab-label,
.sjoh-mega-tab.mg-open > .sjoh-tab-label {
  color: #1695c8;
}

.sjoh-chevron {
  width: 10px;
  height: 10px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform .2s;
  opacity: .8;
}

.sjoh-mega-tab.mg-open .sjoh-chevron {
  transform: rotate(180deg);
}

.sjoh-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1695c8;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .7px;
  text-decoration: none;
  border-radius: 4px;
  padding: 0 12px;
  height: 38px;
  min-width: 185px;
  margin-left: auto;
  margin-right: 0;
  transition: background .15s, transform .1s;
  text-transform: uppercase;
}

.sjoh-cta-btn:hover {
  background: #127ba3;
  transform: translateY(-1px);
}

.sjoh-drop {
  display: none;
  position: fixed;
  background: #fff;
  box-shadow: 0 10px 35px rgba(14,31,61,.16);
  z-index: 1000000;
  min-width: 560px;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  border-top: 3px solid #1695c8;
}

.sjoh-drop-left {
  background: #166999;
  color: #fff;
  padding: 24px 20px;
  min-width: 170px;
  max-width: 170px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.sjoh-drop-bar {
  display: block;
  width: 30px;
  height: 3px;
  background: rgba(255,255,255,0.45);
  margin-bottom: 12px;
  border-radius: 2px;
}

.sjoh-drop-left h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.sjoh-drop-right {
  background: #fff;
  flex: 1;
  padding: 10px 0;
  overflow: hidden;
}

.sjoh-drop-cols {
  display: flex;
}

.sjoh-drop-col {
  flex: 1;
  border-right: 1px solid rgba(0,0,0,0.07);
  padding: 0 4px;
}

.sjoh-drop-col:last-child {
  border-right: none;
}

.sjoh-col-head {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #1695c8;
  padding: 10px 14px 6px;
  display: block;
}

.sjoh-drop-col a,
.sjoh-drop-links a {
  display: block;
  padding: 8px 18px;
  font-size: 13px;
  color: #0e1f3d;
  text-decoration: none;
  border-left: 3px solid transparent;
}

.sjoh-drop-col a:hover,
.sjoh-drop-links a:hover {
  background: rgba(22,149,200,0.1);
  color: #1695c8;
  border-left-color: #1695c8;
}

.sjoh-drop-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px 0;
  flex: 1;
}


.sjoh-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.sjoh-search-btn {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(22,105,153,.22);
  border-radius: 4px;
  background: #fff;
  color: #0b3559;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background .15s, color .15s, border-color .15s;
}

.sjoh-search-btn:hover,
.sjoh-search-wrap.search-open .sjoh-search-btn {
  background: #1695c8;
  color: #fff;
  border-color: #1695c8;
}

.sjoh-search-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.sjoh-search-panel {
  display: none;
  position: absolute;
  top: 47px;
  right: 0;
  width: 360px;
  padding: 12px;
  background: #fff;
  border-top: 3px solid #1695c8;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 35px rgba(14,31,61,.16);
  z-index: 1000001;
}

.sjoh-search-wrap.search-open .sjoh-search-panel {
  display: block;
}

.sjoh-search-form {
  display: flex;
  align-items: stretch;
}

.sjoh-search-input {
  min-width: 0;
  flex: 1;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-right: 0;
  border-radius: 4px 0 0 4px;
  color: #0e1f3d;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  outline: none;
}

.sjoh-search-input:focus {
  border-color: #1695c8;
  box-shadow: inset 0 0 0 1px #1695c8;
}

.sjoh-search-submit {
  width: 46px;
  border: 0;
  border-radius: 0 4px 4px 0;
  background: #1695c8;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sjoh-search-submit:hover {
  background: #127ba3;
}

.sjoh-search-submit svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.sjoh-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}

.sjoh-hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #0b3559;
  border-radius: 2px;
}

.sjoh-mobile-menu {
  display: none;
  background: #fff;
  border-top: 2px solid #1695c8;
  padding: 12px 22px;
  flex-direction: column;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 999998;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.sjoh-mobile-menu a {
  text-decoration: none;
  color: #0b3559;
  font-size: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #e2e5ea;
  font-weight: 700;
  display: block;
}

.sjoh-mobile-menu.open {
  display: flex;
}

@media(max-width: 1280px) {
  .sjoh-header-inner {
    padding: 0 22px;
    gap: 24px;
  }

  .sjoh-mega-nav {
    gap: 20px;
  }

  .sjoh-tab-label {
    font-size: 13px;
  }

  .sjoh-logo-box {
    min-width: 170px;
  }

  .sjoh-logo-title {
    font-size: 12px;
  }

  .sjoh-cta-btn {
    padding: 0 10px;
    min-width: 170px;
  }
}

@media(max-width: 1024px) {
  .sjoh-mega-nav {
    display: none;
  }

  .sjoh-hamburger {
    display: flex !important;
  }
}

@media(max-width: 768px) {
  body:has(.sjoh-nav-bar) {
    padding-top: 52px !important;
  }

  .sjoh-nav-bar,
  .sjoh-header-inner {
    height: 52px;
  }

  .sjoh-header-inner {
    padding: 0 18px;
  }

  .sjoh-logo-box {
    height: 36px;
    min-width: 155px;
  }

  .sjoh-logo-title {
    font-size: 11px;
  }

  .sjoh-logo-sub span.line {
    width: 22px;
  }

  .sjoh-logo-sub span.text {
    font-size: 7px;
    letter-spacing: 2.4px;
  }

  .sjoh-mobile-menu {
    top: 52px;
  }
}

/* Search results page fixes: hide the theme's duplicate header/navigation
   and use SAFE blue for result titles. */
body.search .site-header,
body.search #masthead,
body.search .elementor-location-header {
  display: none !important;
}

body.search .sjoh-nav-bar {
  display: block !important;
}

body.search h1,
body.search h2,
body.search h3,
body.search .entry-title,
body.search .entry-title a,
body.search article h2 a,
body.search .search-results h2 a {
  color: #0b3559 !important;
}

body.search .entry-title a:hover,
body.search article h2 a:hover,
body.search .search-results h2 a:hover {
  color: #1695c8 !important;
}
/* SJOH TFC template adjustments */

@media (max-width:1280px) and (min-width:1025px){
  .sjoh-mega-nav{padding:0 12px;gap:16px}
  .sjoh-header-inner{gap:18px}
}
.sjoh-mobile-menu .sjoh-mobile-search{display:flex;gap:8px;padding:12px 0;border-bottom:1px solid #e2e5ea}
.sjoh-mobile-menu .sjoh-mobile-search input{min-width:0;flex:1;padding:9px 11px;border:1px solid #cbd5e1;border-radius:4px}
.sjoh-mobile-menu .sjoh-mobile-search button{padding:9px 14px;background:#1695c8;color:#fff;border:0;border-radius:4px;font-weight:700;cursor:pointer}
.sjoh-mobile-menu{max-height:calc(100vh - 56px);overflow-y:auto}
@media(max-width:768px){.sjoh-mobile-menu{max-height:calc(100vh - 52px)}}
@media(max-width:782px){.admin-bar .sjoh-mobile-menu{top:98px !important}}
.sjoh-mega-tab:focus-within > .sjoh-tab-label{color:#1695c8}

.sjoh-nav-bar a.sjoh-tab-label{text-decoration:none}

.sjoh-drop-col a.sjoh-col-head{color:#1695c8;font-size:10px;padding:10px 14px 6px}


/* v1.0.1 hard overrides to stop theme/plugin style leakage */
.sjoh-nav-bar .sjoh-mega-nav { display:flex !important; }
.sjoh-nav-bar .sjoh-hamburger {
  display:none !important;
  appearance:none !important;
  -webkit-appearance:none !important;
  background:transparent !important;
  background-image:none !important;
  border:none !important;
  box-shadow:none !important;
  color:#0b3559 !important;
}
.sjoh-nav-bar .sjoh-hamburger:hover,
.sjoh-nav-bar .sjoh-hamburger:focus,
.sjoh-nav-bar .sjoh-hamburger:focus-visible,
.sjoh-nav-bar .sjoh-hamburger:active {
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  outline:none !important;
  color:#0b3559 !important;
}
.sjoh-nav-bar .sjoh-hamburger span {
  background:#0b3559 !important;
}
.sjoh-mobile-menu {
  display:none !important;
}
.sjoh-mobile-menu.open {
  display:flex !important;
}
.sjoh-nav-bar .sjoh-search-btn {
  appearance:none !important;
  -webkit-appearance:none !important;
  background:#fff !important;
  background-image:none !important;
  border:1px solid rgba(22,105,153,.22) !important;
  box-shadow:none !important;
  color:#0b3559 !important;
  outline:none !important;
}
.sjoh-nav-bar .sjoh-search-btn svg,
.sjoh-nav-bar .sjoh-search-btn svg * {
  stroke:currentColor !important;
  fill:none !important;
}
.sjoh-nav-bar .sjoh-search-btn:hover,
.sjoh-nav-bar .sjoh-search-btn:focus,
.sjoh-nav-bar .sjoh-search-btn:focus-visible,
.sjoh-nav-bar .sjoh-search-wrap.search-open .sjoh-search-btn {
  background:#1695c8 !important;
  color:#fff !important;
  border-color:#1695c8 !important;
  box-shadow:none !important;
  outline:none !important;
}
.sjoh-nav-bar .sjoh-search-submit {
  appearance:none !important;
  -webkit-appearance:none !important;
  background:#1695c8 !important;
  border:0 !important;
  box-shadow:none !important;
  color:#fff !important;
}
.sjoh-nav-bar .sjoh-search-submit:hover,
.sjoh-nav-bar .sjoh-search-submit:focus,
.sjoh-nav-bar .sjoh-search-submit:focus-visible {
  background:#127ba3 !important;
  color:#fff !important;
  border:0 !important;
  box-shadow:none !important;
  outline:none !important;
}
@media(max-width:1024px){
  .sjoh-nav-bar .sjoh-mega-nav { display:none !important; }
  .sjoh-nav-bar .sjoh-hamburger { display:flex !important; }
}


/* v1.0.2 — Hide ONLY the native Hello Elementor theme header.
   Hello Elementor prints <header id="site-header" class="site-header">.
   This applies only to pages on which our TFC SAFE header was rendered.
   The TFC header (.sjoh-nav-bar), admin toolbar, page content and
   native/custom footers are intentionally left untouched. */
body:has(.sjoh-nav-bar) header#site-header.site-header {
  display: none !important;
}


/* 1.0.5 — Refined, functional mobile menu; desktop remains unchanged. */
.sjoh-mobile-actions{display:none}
@media(max-width:1024px){
  .sjoh-nav-bar .sjoh-mega-nav{display:none!important}
  .sjoh-header-inner{justify-content:space-between!important;padding:0 14px!important;gap:8px!important}
  .sjoh-logo-box{min-width:0;padding:0 11px}
  .sjoh-logo-title{font-size:11px}
  .sjoh-mobile-actions{display:flex!important;align-items:center;gap:10px;margin-left:auto}
  .sjoh-nav-bar .sjoh-mobile-signin{
    display:inline-flex!important;align-items:center;justify-content:center;
    min-height:36px;padding:0 13px;background:#fff!important;
    border:1px solid #aab8c7!important;border-radius:7px;
    color:#0b3559!important;text-decoration:none!important;
    font:700 13px 'Source Sans 3',sans-serif!important;box-shadow:none!important
  }
  .sjoh-nav-bar .sjoh-hamburger{
    display:flex!important;position:relative;flex-direction:column;
    align-items:center;justify-content:center;gap:5px;
    width:40px;height:40px;min-width:40px;padding:7px!important;
    border:1px solid transparent!important;border-radius:8px!important;
    background:transparent!important;box-shadow:none!important;cursor:pointer
  }
  .sjoh-nav-bar .sjoh-hamburger span{
    display:block!important;width:23px!important;height:2.5px!important;
    background:#0b3559!important;border-radius:5px!important;
    margin:0!important;transition:transform .2s,opacity .2s
  }
  .sjoh-nav-bar .sjoh-hamburger.active span:nth-child(1){transform:translateY(7.5px) rotate(45deg)}
  .sjoh-nav-bar .sjoh-hamburger.active span:nth-child(2){opacity:0}
  .sjoh-nav-bar .sjoh-hamburger.active span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)}
  body .sjoh-mobile-menu{
    display:none!important;position:fixed!important;
    top:56px!important;left:auto!important;right:10px!important;
    width:min(355px,calc(100vw - 20px))!important;
    max-height:calc(100dvh - 66px)!important;
    overflow-y:auto!important;overflow-x:hidden!important;
    background:#fff!important;border:1px solid #dfe6ee!important;
    border-radius:12px!important;box-shadow:0 16px 50px rgba(10,30,60,.18)!important;
    z-index:1000000!important;padding:0!important;
    flex-direction:column!important;color:#172b44!important
  }
  body .sjoh-mobile-menu.open{display:block!important}
  .sjoh-mobile-menu-inner{padding:10px!important;background:#fff!important}
  .sjoh-mobile-menu-heading{
    display:flex;align-items:center;justify-content:space-between;
    padding:8px 11px 12px;color:#0b3559;font:800 15px 'Source Sans 3',sans-serif;
    border-bottom:1px solid #e9eef3
  }
  .sjoh-mobile-menu .sjoh-mobile-close{
    border:0!important;background:transparent!important;color:#26384d!important;
    font-size:26px!important;line-height:1;cursor:pointer;padding:0 5px
  }
  .sjoh-mobile-menu .sjoh-mobile-direct,
  .sjoh-mobile-menu .sjoh-mobile-group-toggle,
  .sjoh-mobile-menu .sjoh-mobile-sub-toggle{
    display:flex!important;width:100%!important;min-height:45px!important;
    align-items:center;justify-content:space-between;
    text-align:left;padding:10px 12px!important;
    color:#152d47!important;background:#fff!important;
    border:0!important;border-bottom:1px solid #edf0f4!important;
    border-radius:0!important;box-shadow:none!important;
    text-decoration:none!important;
    font:700 14px 'Source Sans 3',sans-serif!important;cursor:pointer
  }
  .sjoh-mobile-menu .sjoh-mobile-direct:hover,
  .sjoh-mobile-menu .sjoh-mobile-group-toggle:hover,
  .sjoh-mobile-menu .sjoh-mobile-sub-toggle:hover{background:#f3f8fb!important}
  .sjoh-mobile-menu .sjoh-mobile-caret{font-size:20px;transition:transform .2s}
  .sjoh-mobile-menu [aria-expanded="true"] .sjoh-mobile-caret{transform:rotate(180deg)}
  .sjoh-mobile-menu .sjoh-mobile-submenu[hidden],
  .sjoh-mobile-menu .sjoh-mobile-grandchildren[hidden]{display:none!important}
  .sjoh-mobile-menu .sjoh-mobile-submenu{background:#f7f9fc!important;padding:3px 0 5px 9px!important}
  .sjoh-mobile-menu .sjoh-mobile-submenu a,
  .sjoh-mobile-menu .sjoh-mobile-grandchildren a{
    display:block!important;background:transparent!important;
    padding:10px 14px!important;color:#34465b!important;
    font:500 13.5px 'Source Sans 3',sans-serif!important;
    text-decoration:none!important;border-bottom:1px solid #e9edf2!important
  }
  .sjoh-mobile-menu .sjoh-mobile-sub-toggle{background:#f7f9fc!important;font-weight:600!important}
  .sjoh-mobile-menu .sjoh-mobile-grandchildren{padding-left:13px;background:#eef4f8!important}
  .sjoh-mobile-menu .sjoh-mobile-search{
    display:flex!important;gap:7px!important;padding:14px 8px!important;
    border:0!important;background:#fff!important
  }
  .sjoh-mobile-menu .sjoh-mobile-search input{flex:1;min-width:0;border:1px solid #cdd7e0!important;border-radius:7px;padding:10px}
  .sjoh-mobile-menu .sjoh-mobile-search button{
    background:#0b3559!important;color:#fff!important;border:0!important;
    border-radius:7px!important;padding:9px 12px!important
  }
  .sjoh-mobile-menu .sjoh-mobile-submit-link{
    display:block!important;text-align:center!important;margin:0 8px 9px!important;
    padding:11px!important;background:#1695c8!important;color:#fff!important;
    border-radius:7px!important;text-decoration:none!important;font-weight:700!important
  }
  .admin-bar .sjoh-mobile-menu{top:88px!important;max-height:calc(100dvh - 98px)!important}
}
@media(max-width:782px){
  .admin-bar .sjoh-mobile-menu{top:102px!important;max-height:calc(100dvh - 112px)!important}
}


/* v1.0.7: enforce header visibility at genuine mobile viewport sizes. */
@media screen and (max-width:1024px) {
 html body header.sjoh-nav-bar,html body .sjoh-nav-bar {
   display:block!important;visibility:visible!important;opacity:1!important;
   transform:none!important;translate:none!important;
   position:fixed!important;top:0!important;left:0!important;right:0!important;
   width:100%!important;height:56px!important;min-height:56px!important;
   z-index:2147483000!important;background:#f3f8fc!important;
 }
 html body.admin-bar header.sjoh-nav-bar {top:46px!important}
 html body .sjoh-nav-bar .sjoh-header-inner {display:flex!important;width:100%!important;min-height:53px!important;height:53px!important}
 html body .sjoh-nav-bar .sjoh-logo {display:flex!important;visibility:visible!important}
 html body .sjoh-nav-bar .sjoh-mobile-actions {display:flex!important;visibility:visible!important}
 html body .sjoh-nav-bar .sjoh-mega-nav {display:none!important}
 html body .sjoh-mobile-menu {z-index:2147483001!important}
 html body .sjoh-mobile-menu.open {display:block!important;visibility:visible!important;opacity:1!important}
 html body .sjoh-mobile-menu:not(.open){display:none!important}
}
@media screen and (max-width:782px) {
 html body.admin-bar header.sjoh-nav-bar {top:46px!important}
 html body.admin-bar .sjoh-mobile-menu {top:102px!important}
}

/* v1.0.10: retain blue divider on desktop, remove only on mobile */
@media screen and (max-width: 767px) {
  html body .sjoh-nav-bar { border-bottom: 0 !important; }
}

/* v1.0.11: mobile publishing header as a separate floating white card */
@media screen and (max-width:767px) {
  html body header.sjoh-nav-bar,
  html body .sjoh-nav-bar {
    position:fixed!important;
    top:8px!important;
    left:10px!important;
    right:10px!important;
    width:calc(100% - 20px)!important;
    height:56px!important;
    min-height:56px!important;
    background:#fff!important;
    border:1px solid #dfe5ed!important;
    border-bottom:1px solid #dfe5ed!important;
    border-radius:10px!important;
    box-shadow:0 2px 10px rgba(14,31,61,.06)!important;
    overflow:visible!important;
  }
  html body.admin-bar header.sjoh-nav-bar,
  html body.admin-bar .sjoh-nav-bar {top:54px!important}
  html body .sjoh-nav-bar .sjoh-header-inner {
    width:100%!important;
    height:54px!important;
    min-height:54px!important;
    padding:0 10px!important;
    border-radius:10px!important;
  }
  html body:has(.sjoh-nav-bar) {padding-top:72px!important}
  html body .sjoh-mobile-menu {top:72px!important}
  html body.admin-bar .sjoh-mobile-menu {top:118px!important}
}
