.ajf-hfm-header{width:100%;background:var(--ajf-hfm-head-bg,#fff);color:var(--ajf-hfm-head-text,#172033);box-shadow:0 2px 12px rgba(16,24,40,.07)}.ajf-hfm-head-inner{max-width:1200px;margin:auto;padding:12px 20px;display:flex;align-items:center;gap:20px;min-height:68px}.ajf-hfm-brand{display:flex;align-items:center;text-decoration:none!important;font-size:22px;font-weight:800;color:var(--ajf-hfm-head-text)!important;white-space:nowrap}.ajf-hfm-brand img{display:block;max-width:185px;max-height:52px;width:auto;height:auto}.ajf-hfm-nav{margin-left:auto}.ajf-hfm-nav ul{display:flex;align-items:center;gap:18px;list-style:none;margin:0;padding:0}.ajf-hfm-nav a{font-size:14px;font-weight:600;color:inherit;text-decoration:none}.ajf-hfm-nav a:hover,.ajf-hfm-footer a:hover{color:var(--ajf-hfm-accent)}.ajf-hfm-account{display:inline-flex;align-items:center;justify-content:center;background:var(--ajf-hfm-accent);color:#fff!important;text-decoration:none!important;padding:10px 14px;border-radius:7px;font-size:13px;font-weight:700;white-space:nowrap}.ajf-hfm-logout{background:transparent;color:var(--ajf-hfm-head-text)!important;border:1px solid #d0d5dd}.ajf-hfm-toggle{display:none;background:transparent;border:0;padding:8px;cursor:pointer}.ajf-hfm-toggle span{display:block;width:23px;height:2px;background:currentColor;margin:5px 0}.ajf-hfm-footer{background:var(--ajf-hfm-foot-bg,#101828);color:var(--ajf-hfm-foot-text,#e5e7eb);padding:42px 20px 0}.ajf-hfm-footer-inner{max-width:1200px;margin:auto;display:grid;grid-template-columns:2fr 1fr;gap:40px;padding-bottom:30px}.ajf-hfm-footer h3{color:inherit;font-size:18px;margin:0 0 14px}.ajf-hfm-footer p{max-width:560px;line-height:1.7;margin:0}.ajf-hfm-footer ul{list-style:none;margin:0;padding:0}.ajf-hfm-footer li{margin:9px 0}.ajf-hfm-footer a{color:inherit;text-decoration:none}.ajf-hfm-copyright{text-align:center;border-top:1px solid rgba(255,255,255,.13);padding:17px 10px;font-size:13px}@media(max-width:900px){.ajf-hfm-head-inner{gap:10px}.ajf-hfm-nav ul{gap:10px}.ajf-hfm-nav a{font-size:12px}}@media(max-width:767px){.ajf-hfm-head-inner{min-height:62px;flex-wrap:wrap;padding:9px 15px}.ajf-hfm-brand{margin-right:auto}.ajf-hfm-brand img{max-width:145px}.ajf-hfm-toggle{display:block;order:2}.ajf-hfm-account{order:3;padding:8px 10px;font-size:12px}.ajf-hfm-nav{display:none;order:4;flex-basis:100%;margin:0}.ajf-hfm-nav.ajf-hfm-open{display:block}.ajf-hfm-nav ul{align-items:stretch;flex-direction:column;gap:0;padding:8px 0}.ajf-hfm-nav li{border-top:1px solid rgba(120,120,120,.15)}.ajf-hfm-nav a{display:block;padding:11px 5px;font-size:14px}.ajf-hfm-footer-inner{grid-template-columns:1fr;gap:25px}.ajf-hfm-footer{padding-top:30px}}
.ajf-hfm-register{background:transparent!important;border:1px solid currentColor;margin-left:6px}

/* v1.1.3: keep both guest account actions clearly visible */
.ajf-hfm-auth-actions{display:flex!important;align-items:center;gap:8px;flex:0 0 auto;white-space:nowrap}
.ajf-hfm-auth-actions .ajf-hfm-account{display:inline-flex!important;visibility:visible!important;opacity:1!important}
.ajf-hfm-auth-actions .ajf-hfm-login{background:var(--ajf-hfm-accent,#1457d9)!important;color:#fff!important}
.ajf-hfm-auth-actions .ajf-hfm-register{background:#fff!important;color:var(--ajf-hfm-accent,#1457d9)!important;border:1px solid var(--ajf-hfm-accent,#1457d9)!important;margin:0!important}
@media(max-width:767px){.ajf-hfm-auth-actions{order:3;gap:5px}.ajf-hfm-auth-actions .ajf-hfm-account{padding:8px 9px;font-size:12px}}


/* v1.2.0 — modern AJF header actions and compact site search */
.ajf-hfm-head-inner{gap:14px}
.ajf-hfm-nav{margin-left:auto}
.ajf-hfm-nav a{transition:color .18s ease}
.ajf-hfm-nav a:hover{color:var(--ajf-hfm-accent)}
.ajf-hfm-search{display:flex;align-items:center;flex:0 1 205px;min-width:145px;height:39px;border:1px solid #e2e8f0;border-radius:9px;background:#f8fafc;overflow:hidden;margin:0}
.ajf-hfm-search input[type=search]{width:100%;min-width:0;height:100%;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:0 9px!important;color:#172033;font-size:12px}
.ajf-hfm-search input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}
.ajf-hfm-search button{height:100%;width:40px;min-width:40px;border:0;background:var(--ajf-hfm-accent);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.ajf-hfm-search button:hover{filter:brightness(.94)}
.ajf-hfm-auth-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto;white-space:nowrap}
.ajf-hfm-account{gap:7px;border-radius:9px;padding:10px 12px;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.ajf-hfm-account:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(20,87,217,.16)}
.ajf-hfm-icon{display:block;flex:0 0 17px}
.ajf-hfm-login{background:var(--ajf-hfm-accent)!important;color:#fff!important}
.ajf-hfm-register{background:#fff!important;color:var(--ajf-hfm-accent)!important;border:1px solid var(--ajf-hfm-accent)!important;margin:0!important}
.ajf-hfm-dashboard{background:var(--ajf-hfm-accent)!important;color:#fff!important}
.ajf-hfm-logout{background:#fff!important;color:var(--ajf-hfm-head-text)!important;border:1px solid #d8dee9!important}
@media(max-width:1100px) and (min-width:768px){
 .ajf-hfm-head-inner{gap:9px;padding-left:14px;padding-right:14px}
 .ajf-hfm-nav ul{gap:9px}
 .ajf-hfm-nav a{font-size:12px}
 .ajf-hfm-search{flex-basis:155px;min-width:125px}
 .ajf-hfm-account{padding:9px 8px;font-size:12px;gap:5px}
}
@media(max-width:767px){
 .ajf-hfm-head-inner{gap:8px}
 .ajf-hfm-brand{order:1;margin-right:auto}
 .ajf-hfm-toggle{order:2}
 .ajf-hfm-auth-actions{order:3;gap:5px}
 .ajf-hfm-auth-actions .ajf-hfm-account{padding:8px 9px;font-size:12px}
 .ajf-hfm-nav{order:4;flex-basis:100%;width:100%;margin:0}
 .ajf-hfm-search{order:5;flex:1 0 100%;width:100%;height:40px;margin:3px 0 2px}
 .ajf-hfm-search input[type=search]{font-size:13px}
}
/* v1.3.0 responsive search and hierarchical navigation */
.ajf-hfm-nav li{position:relative}.ajf-hfm-nav .ajf-hfm-menu-item>a{display:inline-flex;align-items:center;gap:6px;padding:10px 2px}.ajf-hfm-submenu-toggle{border:0;background:transparent;color:inherit;cursor:pointer;padding:7px;font-size:13px;vertical-align:middle}.ajf-hfm-submenu{display:none;position:absolute;top:100%;left:0;min-width:220px;z-index:1002;background:#fff;color:#172033;border:1px solid #e7ebf2;border-radius:10px;box-shadow:0 12px 30px rgba(16,24,40,.14);padding:7px!important;list-style:none;margin:0!important}.ajf-hfm-submenu li{display:block;border:0!important;white-space:nowrap}.ajf-hfm-submenu a{display:flex!important;padding:10px 12px!important;border-radius:7px;color:#172033!important;font-size:13px!important}.ajf-hfm-submenu a:hover{background:#f1f5ff;color:var(--ajf-hfm-accent)!important}.ajf-hfm-has-children:hover>.ajf-hfm-submenu,.ajf-hfm-has-children:focus-within>.ajf-hfm-submenu,.ajf-hfm-has-children.ajf-hfm-submenu-open>.ajf-hfm-submenu{display:block}.ajf-hfm-submenu .ajf-hfm-submenu{top:0;left:100%}.ajf-hfm-mobile-search-toggle,.ajf-hfm-search-mobile{display:none}.ajf-hfm-menu-icon{margin-right:5px}
@media(max-width:767px){.ajf-hfm-mobile-search-toggle{display:flex;order:3;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid #e2e8f0;border-radius:9px;background:#fff;color:var(--ajf-hfm-head-text);cursor:pointer}.ajf-hfm-toggle{order:2}.ajf-hfm-mobile-search-toggle{order:3}.ajf-hfm-auth-actions{order:5}.ajf-hfm-search-desktop{display:none!important}.ajf-hfm-search-mobile{display:none;order:4;flex:1 0 100%;width:100%;height:42px;margin:0 0 5px}.ajf-hfm-search-mobile.ajf-hfm-search-open{display:flex}.ajf-hfm-nav{order:6}.ajf-hfm-nav ul{gap:0}.ajf-hfm-nav .ajf-hfm-menu-item{display:flex;flex-wrap:wrap;align-items:center}.ajf-hfm-nav .ajf-hfm-menu-item>a{flex:1;padding:12px 5px}.ajf-hfm-nav .ajf-hfm-submenu-toggle{width:42px;height:42px}.ajf-hfm-nav .ajf-hfm-submenu{position:static;display:none;flex:1 0 100%;width:100%;min-width:0;border:0;border-radius:0;box-shadow:none;background:#f8fafc;padding:0 0 0 14px!important}.ajf-hfm-nav .ajf-hfm-submenu-open>.ajf-hfm-submenu{display:block}.ajf-hfm-nav .ajf-hfm-submenu .ajf-hfm-submenu{padding-left:14px!important}.ajf-hfm-nav .ajf-hfm-submenu li{display:flex;flex-wrap:wrap}.ajf-hfm-nav .ajf-hfm-submenu a{white-space:normal}.ajf-hfm-nav .ajf-hfm-submenu .ajf-hfm-submenu-toggle{margin-left:auto}}

/* v1.4.0 — AJF Home V2 three-layer professional header */
.ajf-hfm-header{position:relative;background:var(--ajf-hfm-head-bg,#fff);}
.ajf-hfm-head-inner,.ajf-hfm-nav-inner,.ajf-hfm-announcement-inner{width:calc(100% - 40px);margin-left:auto;margin-right:auto;}
.ajf-hfm-head-inner{min-height:76px;padding:12px 0;gap:16px;}
.ajf-hfm-brand img{max-height:54px;object-fit:contain;}
.ajf-hfm-search-desktop{flex:0 1 340px;min-width:190px;height:42px;background:#f8fafc;border-color:#dbe3ee;}
.ajf-hfm-search-desktop input[type=search]{font-size:13px;padding:0 13px!important;}
.ajf-hfm-account{border-radius:var(--ajf-hfm-button-radius,9px);}
.ajf-hfm-nav-wrap{border-top:1px solid #edf0f5;border-bottom:1px solid #e7ebf2;background:#fff;}
.ajf-hfm-nav-inner{padding:0;}
.ajf-hfm-nav{margin:0;}
.ajf-hfm-nav>ul{min-height:48px;gap:25px;}
.ajf-hfm-nav .ajf-hfm-menu-item>a{padding:14px 0;font-size:13px;font-weight:700;}
.ajf-hfm-submenu-toggle{font-size:14px;padding:5px 7px;border-radius:6px;}
.ajf-hfm-submenu-toggle:hover{background:#eff6ff;color:var(--ajf-hfm-accent);}
.ajf-hfm-announcement{background:var(--ajf-hfm-ann-bg,#eff6ff);color:var(--ajf-hfm-ann-text,#173b68);font-size:12px;font-weight:600;}
.ajf-hfm-announcement-inner{min-height:34px;display:flex;align-items:center;padding:6px 0;}
.ajf-hfm-announcement a{color:inherit;text-decoration:none;}
.ajf-hfm-announcement-label{font-size:10px;letter-spacing:.7px;font-weight:800;margin-right:9px;color:var(--ajf-hfm-accent);}
.ajf-hfm-mobile-search-toggle,.ajf-hfm-search-mobile,.ajf-hfm-toggle{display:none;}
.ajf-hfm-submenu{min-width:235px;padding:8px!important;border-radius:11px;}
.ajf-hfm-submenu a{padding:11px 12px!important;font-size:13px!important;}
.ajf-hfm-menu-item.ajf-hfm-has-children>a:after{content:none;}
@media(max-width:1100px) and (min-width:768px){
 .ajf-hfm-head-inner,.ajf-hfm-nav-inner,.ajf-hfm-announcement-inner{width:calc(100% - 28px);}
 .ajf-hfm-head-inner{gap:10px;}
 .ajf-hfm-search-desktop{flex-basis:220px;min-width:150px;}
 .ajf-hfm-nav>ul{gap:16px;}
 .ajf-hfm-auth-actions{gap:5px;}
}
@media(max-width:767px){
 .ajf-hfm-head-inner{width:calc(100% - 28px);min-height:64px;padding:9px 0;display:flex;flex-wrap:wrap;gap:7px 8px;}
 .ajf-hfm-brand{order:1;margin-right:auto;min-width:0;max-width:calc(100% - 100px);}
 .ajf-hfm-brand img{max-height:43px;max-width:145px;}
 .ajf-hfm-mobile-search-toggle{display:flex!important;order:2;flex:0 0 38px;width:38px;height:38px;align-items:center;justify-content:center;border:1px solid #e2e8f0;border-radius:9px;background:#fff;color:var(--ajf-hfm-head-text);padding:0;cursor:pointer;}
 .ajf-hfm-toggle{display:block!important;order:3;flex:0 0 38px;width:38px;height:38px;border:1px solid #e2e8f0;border-radius:9px;background:#fff;padding:6px;}
 .ajf-hfm-toggle span{width:21px;margin:4px auto;height:2px;}
 .ajf-hfm-search-desktop{display:none!important;}
 .ajf-hfm-auth-actions{order:4;flex:1 0 100%;justify-content:flex-end;padding-top:5px;border-top:1px solid #f0f2f5;}
 .ajf-hfm-auth-actions .ajf-hfm-account{padding:8px 12px;font-size:12px;}
 .ajf-hfm-search-mobile{display:none;order:5;flex:1 0 100%;width:100%;height:42px;margin:2px 0 5px;}
 .ajf-hfm-search-mobile.ajf-hfm-search-open{display:flex;}
 .ajf-hfm-nav-wrap{border-top:0;border-bottom:0;}
 .ajf-hfm-nav-inner{width:100%;}
 .ajf-hfm-nav{display:none;width:100%;margin:0;}
 .ajf-hfm-nav.ajf-hfm-open{display:block;}
 .ajf-hfm-nav>ul{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:5px 14px 12px;}
 .ajf-hfm-nav .ajf-hfm-menu-item{display:flex;flex-wrap:wrap;align-items:center;border-top:1px solid #edf0f5;}
 .ajf-hfm-nav .ajf-hfm-menu-item>a{display:flex;flex:1 1 auto;min-width:0;padding:12px 5px;font-size:14px;}
 .ajf-hfm-nav .ajf-hfm-submenu-toggle{flex:0 0 42px;width:42px;height:42px;margin-left:auto;border-radius:8px;}
 .ajf-hfm-nav .ajf-hfm-submenu{position:static;display:none;flex:1 0 100%;width:100%;min-width:0;border:0;border-radius:0;box-shadow:none;background:#f8fafc;padding:0 0 0 13px!important;}
 .ajf-hfm-nav .ajf-hfm-submenu-open>.ajf-hfm-submenu{display:block;}
 .ajf-hfm-nav .ajf-hfm-submenu li{display:flex;flex-wrap:wrap;white-space:normal;}
 .ajf-hfm-nav .ajf-hfm-submenu a{white-space:normal;padding:11px 10px!important;}
 .ajf-hfm-announcement-inner{width:calc(100% - 28px);font-size:11px;line-height:1.4;}
 .ajf-hfm-footer-inner{grid-template-columns:1fr;}
}

/* v1.4.1 — mobile header alignment and contrast hotfix */
@media(max-width:767px){
 .ajf-hfm-header .ajf-hfm-head-inner{
  display:grid!important;grid-template-columns:minmax(0,1fr) 38px 38px;
  grid-template-rows:auto auto auto;align-items:center;column-gap:8px;row-gap:7px;
  width:calc(100% - 24px);min-height:0;padding:10px 0;
 }
 .ajf-hfm-header .ajf-hfm-brand{grid-column:1;grid-row:1;order:0!important;
  margin:0!important;min-width:0;max-width:100%;overflow:hidden;white-space:nowrap;
 }
 .ajf-hfm-header .ajf-hfm-brand img{display:block;max-width:100%;width:auto;height:auto;max-height:42px;object-fit:contain;}
 .ajf-hfm-header .ajf-hfm-mobile-search-toggle{grid-column:2;grid-row:1;order:0!important;
  display:flex!important;width:38px;min-width:38px;height:38px;flex:none;
  color:#173b68!important;background:#fff!important;border:1px solid #cbd5e1!important;
  position:relative;z-index:2;visibility:visible!important;opacity:1!important;}
 .ajf-hfm-header .ajf-hfm-toggle{grid-column:3;grid-row:1;order:0!important;
  display:flex!important;flex-direction:column;align-items:center;justify-content:center;
  width:38px;min-width:38px;height:38px;flex:none;padding:5px!important;
  color:#173b68!important;background:#fff!important;border:1px solid #cbd5e1!important;
  position:relative;z-index:2;visibility:visible!important;opacity:1!important;}
 .ajf-hfm-header .ajf-hfm-toggle span{display:block!important;width:21px!important;height:2px!important;
  margin:3px auto!important;background:#173b68!important;border-radius:2px;opacity:1!important;}
 .ajf-hfm-header .ajf-hfm-mobile-search-toggle svg{width:19px;height:19px;stroke:#173b68!important;}
 .ajf-hfm-header .ajf-hfm-auth-actions{grid-column:1/-1;grid-row:2;order:0!important;
  display:flex!important;flex:initial!important;width:100%;min-width:0;
  justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:7px;
  margin:0!important;padding:7px 0 0!important;border-top:1px solid #edf0f5;}
 .ajf-hfm-header .ajf-hfm-auth-actions .ajf-hfm-account{display:inline-flex!important;
  flex:0 0 auto;padding:8px 11px!important;font-size:12px!important;white-space:nowrap;}
 .ajf-hfm-header .ajf-hfm-search-mobile{grid-column:1/-1;grid-row:3;order:0!important;
  display:none;flex:initial!important;width:100%;min-width:0;margin:0!important;}
 .ajf-hfm-header .ajf-hfm-search-mobile.ajf-hfm-search-open{display:flex!important;}
 .ajf-hfm-header .ajf-hfm-nav-wrap{grid-row:auto;}
 .ajf-hfm-header .ajf-hfm-nav{width:100%;}
}
@media(max-width:360px){
 .ajf-hfm-header .ajf-hfm-head-inner{width:calc(100% - 18px);column-gap:6px;}
 .ajf-hfm-header .ajf-hfm-mobile-search-toggle,.ajf-hfm-header .ajf-hfm-toggle{width:36px;min-width:36px;height:36px;}
 .ajf-hfm-header .ajf-hfm-head-inner{grid-template-columns:minmax(0,1fr) 36px 36px;}
 .ajf-hfm-header .ajf-hfm-auth-actions .ajf-hfm-account{padding:7px 9px!important;}
}


/* v1.4.2 — desktop main-row alignment: logo | centered search | account actions */
@media (min-width:768px){
 .ajf-hfm-header .ajf-hfm-head-inner{
  display:grid!important;
  grid-template-columns:minmax(120px,180px) minmax(180px,1fr) auto;
  align-items:center;
  column-gap:clamp(14px,2.2vw,30px);
  width:calc(100% - 40px);
  max-width:1200px;
  margin-left:auto;margin-right:auto;
 }
 .ajf-hfm-header .ajf-hfm-brand{grid-column:1;grid-row:1;justify-self:start;min-width:0;margin:0!important;}
 .ajf-hfm-header .ajf-hfm-search-desktop{
  grid-column:2;grid-row:1;justify-self:center;
  width:100%;max-width:420px;min-width:0;flex:none;
 }
 .ajf-hfm-header .ajf-hfm-auth-actions{
  grid-column:3;grid-row:1;justify-self:end;
  display:flex!important;align-items:center;justify-content:flex-end;
  width:auto;min-width:max-content;flex:none;gap:8px;margin:0!important;
 }
 .ajf-hfm-header .ajf-hfm-mobile-search-toggle,.ajf-hfm-header .ajf-hfm-toggle,.ajf-hfm-header .ajf-hfm-search-mobile{display:none!important;}
}
@media (min-width:768px) and (max-width:900px){
 .ajf-hfm-header .ajf-hfm-head-inner{width:calc(100% - 28px);grid-template-columns:minmax(95px,140px) minmax(150px,1fr) auto;column-gap:12px;}
 .ajf-hfm-header .ajf-hfm-brand img{max-width:140px;max-height:48px;}
 .ajf-hfm-header .ajf-hfm-account{padding:8px 9px;font-size:12px;gap:5px;}
 .ajf-hfm-header .ajf-hfm-auth-actions{gap:6px;}
}


/* v1.4.3 — desktop: logo left; search directly beside account actions on the right */
@media (min-width:768px){
 .ajf-hfm-header .ajf-hfm-head-inner{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(200px,340px) auto;
  align-items:center;
  column-gap:16px;
  width:calc(100% - 30px);
  max-width:1200px;
  margin-left:auto;margin-right:auto;
 }
 .ajf-hfm-header .ajf-hfm-brand{grid-column:1;grid-row:1;justify-self:start;min-width:0;margin:0!important;}
 .ajf-hfm-header .ajf-hfm-search-desktop{
  grid-column:2;grid-row:1;justify-self:end;
  width:100%;max-width:340px;min-width:0;flex:none;
 }
 .ajf-hfm-header .ajf-hfm-auth-actions{
  grid-column:3;grid-row:1;justify-self:end;
  display:flex!important;align-items:center;justify-content:flex-end;
  width:auto;min-width:max-content;flex:none;gap:8px;margin:0!important;
 }
 .ajf-hfm-header .ajf-hfm-mobile-search-toggle,.ajf-hfm-header .ajf-hfm-toggle,.ajf-hfm-header .ajf-hfm-search-mobile{display:none!important;}
}
@media (min-width:768px) and (max-width:900px){
 .ajf-hfm-header .ajf-hfm-head-inner{width:calc(100% - 24px);grid-template-columns:minmax(70px,1fr) minmax(165px,230px) auto;column-gap:10px;}
 .ajf-hfm-header .ajf-hfm-brand img{max-width:125px;max-height:46px;}
 .ajf-hfm-header .ajf-hfm-account{padding:8px 9px;font-size:12px;gap:5px;}
 .ajf-hfm-header .ajf-hfm-auth-actions{gap:6px;}
}


/* v1.4.4 — prevent the top-level flex menu rule from forcing submenu ULs visible */
.ajf-hfm-header .ajf-hfm-nav ul.ajf-hfm-submenu{
 display:none!important;
 flex-direction:column!important;
 align-items:stretch!important;
 gap:0!important;
 position:absolute;
 top:100%;left:0;
}
.ajf-hfm-header .ajf-hfm-nav .ajf-hfm-has-children:hover>ul.ajf-hfm-submenu,
.ajf-hfm-header .ajf-hfm-nav .ajf-hfm-has-children:focus-within>ul.ajf-hfm-submenu,
.ajf-hfm-header .ajf-hfm-nav .ajf-hfm-has-children.ajf-hfm-submenu-open>ul.ajf-hfm-submenu{
 display:flex!important;
}
.ajf-hfm-header .ajf-hfm-nav li.ajf-hfm-has-children>ul.ajf-hfm-submenu ul.ajf-hfm-submenu{
 top:0;left:100%;
}
@media(max-width:767px){
 .ajf-hfm-header .ajf-hfm-nav ul.ajf-hfm-submenu{
  position:static!important;left:auto;top:auto;
  display:none!important;
  flex:1 0 100%;width:100%;min-width:0;
  flex-direction:column!important;
  align-items:stretch!important;
 }
 .ajf-hfm-header .ajf-hfm-nav li.ajf-hfm-submenu-open>ul.ajf-hfm-submenu{
  display:flex!important;
 }
 .ajf-hfm-header .ajf-hfm-nav ul.ajf-hfm-submenu ul.ajf-hfm-submenu{
  position:static!important;
 }
}

/* v1.4.5: multi-item single-line announcement ticker */
.ajf-hfm-announcement{overflow:hidden;}
.ajf-hfm-announcement-viewport{width:100%;overflow:hidden;}
.ajf-hfm-announcement-track{display:flex;align-items:center;width:max-content;min-height:34px;white-space:nowrap;animation:ajf-hfm-announcement-scroll 34s linear infinite;}
.ajf-hfm-announcement:hover .ajf-hfm-announcement-track,.ajf-hfm-announcement:focus-within .ajf-hfm-announcement-track{animation-play-state:paused;}
.ajf-hfm-announcement-item{display:inline-flex;align-items:center;flex:0 0 auto;padding:6px 22px;}
.ajf-hfm-announcement-separator{display:inline-block!important;width:15px!important;height:15px!important;object-fit:contain!important;flex:0 0 15px!important;margin-left:20px!important;vertical-align:middle!important;}
.ajf-hfm-announcement-item a{color:inherit;text-decoration:none;}
.ajf-hfm-announcement-item a:hover{text-decoration:underline;}
@keyframes ajf-hfm-announcement-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.ajf-hfm-announcement-track{animation:none;white-space:normal;flex-wrap:wrap;width:100%;}}

/* v1.4.6: keep every announcement in one horizontal ticker row. */
.ajf-hfm-announcement{display:flex!important;align-items:center;gap:10px;min-height:36px;padding:0 20px;overflow:hidden!important;white-space:nowrap!important;}
.ajf-hfm-announcement>.ajf-hfm-announcement-label{display:block!important;flex:0 0 auto;margin:0!important;white-space:nowrap!important;}
.ajf-hfm-announcement-viewport{display:block!important;position:relative;flex:1 1 auto;min-width:0;width:auto!important;overflow:hidden!important;white-space:nowrap!important;}
.ajf-hfm-announcement-track{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:flex-start!important;width:max-content!important;min-width:max-content;white-space:nowrap!important;animation:ajf-hfm-announcement-scroll 34s linear infinite!important;}
.ajf-hfm-announcement-group{display:flex!important;flex:0 0 auto!important;flex-flow:row nowrap!important;align-items:center!important;white-space:nowrap!important;}
.ajf-hfm-announcement-item{display:inline-flex!important;flex:0 0 auto!important;flex-flow:row nowrap!important;align-items:center!important;white-space:nowrap!important;padding:6px 14px!important;}
.ajf-hfm-announcement-item a,.ajf-hfm-announcement-item>span{display:inline!important;white-space:nowrap!important;}
.ajf-hfm-announcement-separator{display:inline-block!important;flex:0 0 auto;margin-left:20px!important;}
@media(max-width:767px){.ajf-hfm-announcement{padding:0 14px;gap:7px;font-size:11px}.ajf-hfm-announcement>.ajf-hfm-announcement-label{font-size:9px}.ajf-hfm-announcement-item{padding:6px 9px!important}}
@media(prefers-reduced-motion:reduce){.ajf-hfm-announcement-track{animation:none!important;}}


/* v1.5.0 — professional four-column AJF footer */
.ajf-hfm-footer{background:#173b68;color:#e8eef7;padding:48px 24px 0;}
.ajf-hfm-footer-inner{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1.45fr 1fr 1fr 1fr;gap:34px;padding:0 0 38px;}
.ajf-hfm-footer h3{color:#f59e0b;font-size:16px;font-weight:750;letter-spacing:.1px;margin:0 0 17px;}
.ajf-hfm-footer p{color:#d7e2f0;font-size:13px;line-height:1.75;margin:0;max-width:360px;}
.ajf-hfm-footer ul{list-style:none;margin:0;padding:0;}
.ajf-hfm-footer li{margin:0 0 10px;line-height:1.45;}
.ajf-hfm-footer a{color:#dbe7f5;text-decoration:none;transition:color .18s ease,opacity .18s ease;}
.ajf-hfm-footer a:hover{color:#60a5fa;text-decoration:none;}
.ajf-hfm-footer-logo{display:inline-block;margin:0 0 16px;}
.ajf-hfm-footer-logo img{display:block;max-width:175px;max-height:58px;width:auto;height:auto;object-fit:contain;}
.ajf-hfm-social-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px;}
.ajf-hfm-social-links a{display:inline-flex;align-items:center;padding:7px 10px;border:1px solid rgba(255,255,255,.24);border-radius:7px;font-size:12px;font-weight:600;}
.ajf-hfm-copyright{max-width:none;margin:0 -24px;background:#102a4c;border-top:1px solid rgba(255,255,255,.12);padding:17px 24px;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;color:#cbd5e1;font-size:12px;}
.ajf-hfm-copyright nav{display:flex;gap:17px;flex-wrap:wrap;}
.ajf-hfm-copyright nav a{font-size:12px;color:#dbe7f5;}
@media(max-width:900px){.ajf-hfm-footer-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;}}
@media(max-width:600px){.ajf-hfm-footer{padding:32px 18px 0;}.ajf-hfm-footer-inner{grid-template-columns:1fr;gap:25px;padding-bottom:28px;}.ajf-hfm-footer-about{padding-bottom:8px;}.ajf-hfm-copyright{margin:0 -18px;padding:16px 18px;display:block;text-align:center;}.ajf-hfm-copyright nav{justify-content:center;margin-top:10px;gap:12px;}}
/* v1.5.1: center copyright consistently on desktop, tablet and mobile. */
.ajf-hfm-footer .ajf-hfm-copyright{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:10px;}
.ajf-hfm-footer .ajf-hfm-copyright>span{display:block;width:100%;text-align:center;}
.ajf-hfm-footer .ajf-hfm-copyright nav{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px 18px;width:100%;}

/* v1.5.2: two-column, center-aligned mobile footer. */
@media(max-width:600px){
 .ajf-hfm-footer-inner{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:26px 16px!important;text-align:center!important;}
 .ajf-hfm-footer-column,.ajf-hfm-footer-about{min-width:0;text-align:center!important;}
 .ajf-hfm-footer h3{text-align:center!important;margin-bottom:13px;}
 .ajf-hfm-footer p{max-width:100%;margin-left:auto!important;margin-right:auto!important;text-align:center!important;}
 .ajf-hfm-footer-logo{display:flex!important;justify-content:center!important;margin-left:auto!important;margin-right:auto!important;}
 .ajf-hfm-footer ul{text-align:center!important;}
 .ajf-hfm-footer li{text-align:center!important;}
 .ajf-hfm-social-links{justify-content:center!important;}
}

/* v1.5.9 — normal mobile browser uses the AJF website header, never the PWA-style compact header.
   Installed PWA (display-mode: standalone) keeps its existing app presentation. */
@media (max-width:767px) and (display-mode:browser){
 .ajf-hfm-header .ajf-hfm-head-inner{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
  column-gap:10px!important;row-gap:9px!important;
  width:calc(100% - 24px)!important;
  min-height:0!important;padding:10px 0!important;
 }
 .ajf-hfm-header .ajf-hfm-brand{grid-column:1!important;grid-row:1!important;max-width:100%!important;}
 .ajf-hfm-header .ajf-hfm-brand img{max-width:145px!important;max-height:44px!important;}
 .ajf-hfm-header .ajf-hfm-mobile-search-toggle,
 .ajf-hfm-header .ajf-hfm-toggle{display:none!important;}
 .ajf-hfm-header .ajf-hfm-search-desktop{
  display:flex!important;grid-column:1/-1!important;grid-row:2!important;
  width:100%!important;max-width:none!important;min-width:0!important;
  height:40px!important;flex:none!important;margin:0!important;
 }
 .ajf-hfm-header .ajf-hfm-auth-actions{
  grid-column:2!important;grid-row:1!important;
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  width:auto!important;min-width:0!important;gap:6px!important;
  margin:0!important;padding:0!important;border:0!important;flex-wrap:nowrap!important;
 }
 .ajf-hfm-header .ajf-hfm-auth-actions .ajf-hfm-account{
  display:inline-flex!important;flex:0 0 auto!important;
  padding:7px 9px!important;font-size:11px!important;white-space:nowrap!important;
 }
 .ajf-hfm-header .ajf-hfm-search-mobile{display:none!important;}
 .ajf-hfm-header .ajf-hfm-nav-wrap{display:block!important;border-top:1px solid #edf0f5!important;border-bottom:1px solid #e7ebf2!important;}
 .ajf-hfm-header .ajf-hfm-nav-inner{width:100%!important;}
 .ajf-hfm-header .ajf-hfm-nav{display:block!important;width:100%!important;margin:0!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch!important;}
 .ajf-hfm-header .ajf-hfm-nav>ul{
  display:flex!important;flex-direction:row!important;align-items:center!important;
  justify-content:flex-start!important;gap:18px!important;
  width:max-content!important;min-width:100%!important;
  padding:0 12px!important;margin:0!important;white-space:nowrap!important;
 }
 .ajf-hfm-header .ajf-hfm-nav .ajf-hfm-menu-item{display:flex!important;flex:0 0 auto!important;flex-wrap:nowrap!important;border:0!important;}
 .ajf-hfm-header .ajf-hfm-nav .ajf-hfm-menu-item>a{display:flex!important;flex:none!important;padding:13px 0!important;font-size:12px!important;white-space:nowrap!important;}
 .ajf-hfm-header .ajf-hfm-nav .ajf-hfm-submenu-toggle{flex:0 0 auto!important;width:auto!important;height:auto!important;margin-left:4px!important;}
 .ajf-hfm-header .ajf-hfm-nav ul.ajf-hfm-submenu{position:absolute!important;display:none!important;}
 .ajf-hfm-header .ajf-hfm-nav li.ajf-hfm-submenu-open>ul.ajf-hfm-submenu{display:flex!important;}
}


/* v1.5.10 — normal mobile website: website header with hamburger navigation.
   Only applies in a regular mobile browser; installed standalone PWA is untouched. */
@media (max-width:767px) and (display-mode:browser){
 .ajf-hfm-header .ajf-hfm-head-inner{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
  column-gap:10px!important;row-gap:9px!important;
  width:calc(100% - 24px)!important;
  min-height:0!important;padding:10px 0!important;
 }
 .ajf-hfm-header .ajf-hfm-brand{grid-column:1!important;grid-row:1!important;justify-self:start!important;max-width:100%!important;margin:0!important;}
 .ajf-hfm-header .ajf-hfm-brand img{max-width:145px!important;max-height:44px!important;}
 .ajf-hfm-header .ajf-hfm-auth-actions{
  grid-column:2!important;grid-row:1!important;justify-self:end!important;
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  width:auto!important;min-width:0!important;gap:6px!important;margin:0!important;padding:0!important;
  border:0!important;flex-wrap:nowrap!important;
 }
 .ajf-hfm-header .ajf-hfm-auth-actions .ajf-hfm-account{display:inline-flex!important;flex:0 0 auto!important;padding:7px 9px!important;font-size:11px!important;white-space:nowrap!important;}
 /* Full website search on its own row, with hamburger at the right. */
 .ajf-hfm-header .ajf-hfm-search-desktop{
  display:flex!important;grid-column:1!important;grid-row:2!important;
  width:100%!important;max-width:none!important;min-width:0!important;height:40px!important;
  margin:0!important;flex:none!important;
 }
 .ajf-hfm-header .ajf-hfm-search-desktop button{display:flex!important;align-items:center!important;justify-content:center!important;width:40px!important;min-width:40px!important;padding:0!important;font-size:0!important;}
 .ajf-hfm-header .ajf-hfm-search-desktop button .ajf-hfm-icon{display:block!important;width:19px!important;height:19px!important;}
 .ajf-hfm-header .ajf-hfm-search-mobile,.ajf-hfm-header .ajf-hfm-mobile-search-toggle{display:none!important;}
 .ajf-hfm-header .ajf-hfm-toggle{
  display:flex!important;grid-column:2!important;grid-row:2!important;align-self:center!important;
  align-items:center!important;justify-content:center!important;flex-direction:column!important;
  width:40px!important;min-width:40px!important;height:40px!important;padding:7px!important;
  margin:0!important;border:1px solid #dbe3ee!important;border-radius:9px!important;
  background:#fff!important;color:#173b68!important;cursor:pointer!important;
 }
 .ajf-hfm-header .ajf-hfm-toggle span{display:block!important;width:21px!important;height:2px!important;margin:2.5px auto!important;background:currentColor!important;border-radius:2px!important;}
 .ajf-hfm-header .ajf-hfm-nav-wrap{display:block!important;border:0!important;background:#fff!important;}
 .ajf-hfm-header .ajf-hfm-nav-inner{width:100%!important;}
 .ajf-hfm-header .ajf-hfm-nav{display:none!important;width:100%!important;margin:0!important;overflow:visible!important;}
 .ajf-hfm-header .ajf-hfm-nav.ajf-hfm-open{display:block!important;}
 .ajf-hfm-header .ajf-hfm-nav>ul{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;
  width:100%!important;min-width:0!important;padding:5px 14px 12px!important;margin:0!important;
  white-space:normal!important;box-sizing:border-box!important;
 }
 .ajf-hfm-header .ajf-hfm-nav .ajf-hfm-menu-item{display:flex!important;flex:0 0 auto!important;flex-wrap:wrap!important;align-items:center!important;border-top:1px solid #edf0f5!important;}
 .ajf-hfm-header .ajf-hfm-nav .ajf-hfm-menu-item>a{display:flex!important;flex:1 1 auto!important;min-width:0!important;padding:12px 5px!important;font-size:14px!important;white-space:normal!important;}
 .ajf-hfm-header .ajf-hfm-nav .ajf-hfm-submenu-toggle{flex:0 0 42px!important;width:42px!important;height:42px!important;margin-left:auto!important;}
 .ajf-hfm-header .ajf-hfm-nav ul.ajf-hfm-submenu{position:static!important;display:none!important;flex:1 0 100%!important;width:100%!important;min-width:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#f8fafc!important;padding:0 0 0 13px!important;}
 .ajf-hfm-header .ajf-hfm-nav li.ajf-hfm-submenu-open>ul.ajf-hfm-submenu{display:block!important;}
}

/* v1.5.11 — mobile browser: make search and hamburger controls each use the full available width.
   Keep the installed standalone PWA and desktop layouts unchanged. */
@media (max-width:767px) and (display-mode:browser){
 .ajf-hfm-header .ajf-hfm-head-inner{
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto auto auto!important;
  row-gap:8px!important;
  width:calc(100% - 20px)!important;
 }
 .ajf-hfm-header .ajf-hfm-brand{grid-column:1!important;grid-row:1!important;}
 .ajf-hfm-header .ajf-hfm-auth-actions{grid-column:1!important;grid-row:1!important;justify-self:end!important;}
 .ajf-hfm-header .ajf-hfm-search-desktop{
  grid-column:1!important;grid-row:2!important;
  width:100%!important;max-width:none!important;min-width:0!important;
  box-sizing:border-box!important;
 }
 .ajf-hfm-header .ajf-hfm-search-desktop button{
  position:static!important;display:flex!important;visibility:visible!important;opacity:1!important;
  width:42px!important;min-width:42px!important;height:100%!important;
  font-size:0!important;line-height:0!important;text-indent:-9999px!important;
  overflow:hidden!important;padding:0!important;
 }
 .ajf-hfm-header .ajf-hfm-search-desktop button:before,
 .ajf-hfm-header .ajf-hfm-search-desktop button:after{content:none!important;display:none!important;}
 .ajf-hfm-header .ajf-hfm-search-desktop button .ajf-hfm-icon{
  display:block!important;visibility:visible!important;opacity:1!important;
  width:19px!important;height:19px!important;flex:0 0 19px!important;
  stroke:currentColor!important;
 }
 .ajf-hfm-header .ajf-hfm-toggle{
  grid-column:1!important;grid-row:3!important;
  display:flex!important;position:static!important;
  width:100%!important;min-width:100%!important;height:42px!important;
  box-sizing:border-box!important;align-items:center!important;justify-content:center!important;
  flex-direction:row!important;gap:5px!important;padding:8px 12px!important;
  margin:0!important;border:1px solid #dbe3ee!important;border-radius:9px!important;
  background:#f8fafc!important;color:#173b68!important;
 }
 .ajf-hfm-header .ajf-hfm-toggle span{width:20px!important;height:2px!important;margin:0!important;}
 .ajf-hfm-header .ajf-hfm-nav-wrap{width:100%!important;}
}


/* v1.5.12 — force consistent three-row layout for logged-in and guest mobile website visitors.
   Scoped to regular mobile browsers; standalone PWA and desktop remain untouched. */
@media (max-width:767px) and (display-mode:browser){
 .ajf-hfm-header .ajf-hfm-head-inner{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto 42px 42px!important;
  grid-template-areas:"brand" "search" "menu"!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;max-width:100%!important;
  box-sizing:border-box!important;padding:10px 12px!important;
 }
 .ajf-hfm-header .ajf-hfm-brand{grid-area:brand!important;justify-self:start!important;align-self:center!important;margin:0!important;min-width:0!important;}
 .ajf-hfm-header .ajf-hfm-brand img{max-width:145px!important;max-height:44px!important;}
 .ajf-hfm-header .ajf-hfm-auth-actions{grid-area:brand!important;justify-self:end!important;align-self:center!important;display:flex!important;width:auto!important;max-width:70%!important;min-width:0!important;flex-wrap:nowrap!important;gap:6px!important;margin:0!important;padding:0!important;}
 .ajf-hfm-header .ajf-hfm-auth-actions .ajf-hfm-account{display:inline-flex!important;flex:0 0 auto!important;padding:7px 9px!important;font-size:11px!important;white-space:nowrap!important;}
 .ajf-hfm-header .ajf-hfm-search-desktop{grid-area:search!important;display:flex!important;position:relative!important;float:none!important;width:100%!important;max-width:none!important;min-width:0!important;height:42px!important;min-height:42px!important;box-sizing:border-box!important;margin:0!important;flex:none!important;}
 .ajf-hfm-header .ajf-hfm-search-desktop input[type=search]{display:block!important;width:100%!important;min-width:0!important;height:100%!important;box-sizing:border-box!important;}
 .ajf-hfm-header .ajf-hfm-search-desktop button{position:relative!important;inset:auto!important;display:flex!important;visibility:visible!important;opacity:1!important;flex:0 0 42px!important;width:42px!important;min-width:42px!important;height:100%!important;box-sizing:border-box!important;padding:0!important;margin:0!important;font-size:0!important;line-height:0!important;color:transparent!important;text-indent:-9999px!important;overflow:hidden!important;}
 .ajf-hfm-header .ajf-hfm-search-desktop button:before,.ajf-hfm-header .ajf-hfm-search-desktop button:after{content:none!important;display:none!important;}
 .ajf-hfm-header .ajf-hfm-search-desktop button .ajf-hfm-icon{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;display:block!important;visibility:visible!important;opacity:1!important;width:19px!important;height:19px!important;flex:none!important;stroke:#fff!important;color:#fff!important;}
 .ajf-hfm-header .ajf-hfm-search-mobile,.ajf-hfm-header .ajf-hfm-mobile-search-toggle{display:none!important;}
 .ajf-hfm-header .ajf-hfm-toggle{grid-area:menu!important;display:flex!important;position:static!important;float:none!important;justify-self:stretch!important;align-self:stretch!important;width:100%!important;min-width:100%!important;max-width:100%!important;height:42px!important;min-height:42px!important;box-sizing:border-box!important;align-items:center!important;justify-content:center!important;flex-direction:row!important;gap:6px!important;padding:8px 12px!important;margin:0!important;border:1px solid #dbe3ee!important;border-radius:9px!important;background:#f8fafc!important;color:#173b68!important;}
 .ajf-hfm-header .ajf-hfm-toggle span{display:block!important;width:20px!important;min-width:20px!important;height:2px!important;margin:0!important;background:currentColor!important;border-radius:2px!important;}
 .ajf-hfm-header .ajf-hfm-nav-wrap{width:100%!important;max-width:100%!important;}
}


/* v1.5.13 — mobile website: keep full-width search and hamburger side-by-side on one row.
   Applies to regular mobile browsers only; installed PWA and desktop are unchanged. */
@media (max-width:767px) and (display-mode:browser){
 .ajf-hfm-header .ajf-hfm-head-inner{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 44px!important;
  grid-template-rows:auto 42px!important;
  grid-template-areas:"brand brand" "search menu"!important;
  align-items:center!important;
  column-gap:8px!important;row-gap:8px!important;
  width:100%!important;max-width:100%!important;
  box-sizing:border-box!important;padding:10px 12px!important;
 }
 .ajf-hfm-header .ajf-hfm-brand{grid-area:brand!important;justify-self:start!important;align-self:center!important;margin:0!important;min-width:0!important;}
 .ajf-hfm-header .ajf-hfm-auth-actions{grid-area:brand!important;justify-self:end!important;align-self:center!important;display:flex!important;width:auto!important;max-width:70%!important;min-width:0!important;flex-wrap:nowrap!important;gap:6px!important;margin:0!important;padding:0!important;}
 .ajf-hfm-header .ajf-hfm-auth-actions .ajf-hfm-account{display:inline-flex!important;flex:0 0 auto!important;padding:7px 9px!important;font-size:11px!important;white-space:nowrap!important;}
 .ajf-hfm-header .ajf-hfm-search-desktop{
  grid-area:search!important;display:flex!important;position:relative!important;float:none!important;
  width:100%!important;max-width:none!important;min-width:0!important;height:42px!important;min-height:42px!important;
  box-sizing:border-box!important;margin:0!important;flex:none!important;
 }
 .ajf-hfm-header .ajf-hfm-search-desktop input[type=search]{display:block!important;flex:1 1 auto!important;width:100%!important;min-width:0!important;height:100%!important;box-sizing:border-box!important;}
 .ajf-hfm-header .ajf-hfm-search-desktop button{
  position:relative!important;inset:auto!important;display:flex!important;visibility:visible!important;opacity:1!important;
  flex:0 0 42px!important;width:42px!important;min-width:42px!important;height:100%!important;
  box-sizing:border-box!important;padding:0!important;margin:0!important;font-size:0!important;line-height:0!important;
  color:transparent!important;text-indent:-9999px!important;overflow:hidden!important;
 }
 .ajf-hfm-header .ajf-hfm-search-desktop button:before,.ajf-hfm-header .ajf-hfm-search-desktop button:after{content:none!important;display:none!important;}
 .ajf-hfm-header .ajf-hfm-search-desktop button .ajf-hfm-icon{
  position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;
  display:block!important;visibility:visible!important;opacity:1!important;width:19px!important;height:19px!important;
  flex:none!important;stroke:#fff!important;color:#fff!important;
 }
 .ajf-hfm-header .ajf-hfm-search-mobile,.ajf-hfm-header .ajf-hfm-mobile-search-toggle{display:none!important;}
 .ajf-hfm-header .ajf-hfm-toggle{
  grid-area:menu!important;display:flex!important;position:static!important;float:none!important;
  justify-self:stretch!important;align-self:stretch!important;width:44px!important;min-width:44px!important;max-width:44px!important;
  height:42px!important;min-height:42px!important;box-sizing:border-box!important;
  align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:3px!important;
  padding:7px!important;margin:0!important;border:1px solid #dbe3ee!important;border-radius:9px!important;
  background:#f8fafc!important;color:#173b68!important;
 }
 .ajf-hfm-header .ajf-hfm-toggle span{display:block!important;width:21px!important;min-width:21px!important;height:2px!important;margin:0!important;background:currentColor!important;border-radius:2px!important;}
 .ajf-hfm-header .ajf-hfm-nav-wrap{width:100%!important;max-width:100%!important;}
}



/* v1.5.17: Login page uses the same shared header markup and responsive styles as every other page. */


/* v1.5.19 — login page mobile-only targeted header repair; no standalone-mode dependency. */
@media (max-width:767px){
 body.ajf-hfm-guest-login-page .ajf-hfm-header .ajf-hfm-head-inner{
  display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;
  grid-template-rows:auto 42px!important;grid-template-areas:"top top" "search menu"!important;
  align-items:center!important;column-gap:8px!important;row-gap:8px!important;
  width:calc(100% - 24px)!important;max-width:none!important;min-height:0!important;
  box-sizing:border-box!important;padding:10px 0!important;
 }
 body.ajf-hfm-guest-login-page .ajf-hfm-header .ajf-hfm-brand{grid-area:top!important;justify-self:start!important;align-self:start!important;}
 body.ajf-hfm-guest-login-page .ajf-hfm-header .ajf-hfm-auth-actions{grid-area:top!important;justify-self:end!important;align-self:start!important;display:flex!important;}
 body.ajf-hfm-guest-login-page .ajf-hfm-header .ajf-hfm-auth-actions .ajf-hfm-account{display:inline-flex!important;}
 body.ajf-hfm-guest-login-page .ajf-hfm-header .ajf-hfm-search-desktop{grid-area:search!important;display:flex!important;position:relative!important;float:none!important;width:100%!important;max-width:none!important;min-width:0!important;height:42px!important;min-height:42px!important;box-sizing:border-box!important;margin:0!important;flex:none!important;}
 body.ajf-hfm-guest-login-page .ajf-hfm-header .ajf-hfm-search-desktop input[type=search]{display:block!important;flex:1 1 auto!important;width:100%!important;min-width:0!important;height:100%!important;box-sizing:border-box!important;}
 body.ajf-hfm-guest-login-page .ajf-hfm-header .ajf-hfm-toggle{grid-area:menu!important;display:flex!important;position:static!important;float:none!important;justify-self:stretch!important;align-self:stretch!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:42px!important;min-height:42px!important;box-sizing:border-box!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:3px!important;padding:7px!important;margin:0!important;border:1px solid #dbe3ee!important;border-radius:9px!important;background:#f8fafc!important;color:#173b68!important;}
 body.ajf-hfm-guest-login-page .ajf-hfm-header .ajf-hfm-toggle span{display:block!important;width:21px!important;min-width:21px!important;height:2px!important;margin:0!important;background:currentColor!important;border-radius:2px!important;}
 body.ajf-hfm-guest-login-page .ajf-hfm-header .ajf-hfm-mobile-search-toggle,body.ajf-hfm-guest-login-page .ajf-hfm-header .ajf-hfm-search-mobile{display:none!important;}
 body.ajf-hfm-guest-login-page .ajf-hfm-header .ajf-hfm-nav-wrap{display:none!important;}
}
