/* =========================================================
   SJCS Header & Footer Builder — front-end + editor styles
   ========================================================= */
.hf-zone{--hf-accent:#ff9f00;--hf-accent-text:#13315c;--hf-font:"Inter","Segoe UI",Roboto,Arial,sans-serif;--hf-container:1290px;
  font-family:var(--hf-font);position:relative;z-index:50;box-sizing:border-box;line-height:1.45;font-size:15px}
.hf-zone *,.hf-zone *::before,.hf-zone *::after{box-sizing:border-box}
.hf-zone a{text-decoration:none;color:inherit;transition:color .15s,opacity .15s,background .15s}
.hf-zone ul{list-style:none;margin:0;padding:0}
.hf-zone li{margin:0;padding:0}
.hf-zone img{max-width:100%;height:auto;display:block}
.hf-zone p{margin:0 0 .5em}
.hf-zone h1,.hf-zone h2,.hf-zone h3,.hf-zone h4,.hf-zone h5{margin:0 0 .5em;color:inherit;font-family:inherit;line-height:1.2}
/* sit in the theme's page grid areas (The7 #page grid) */
#page>#sjcs-header{grid-area:elementor-header}
#page>#sjcs-footer{grid-area:footer}
#sjcs-header .hf-wrap.hf-stuck .hf-row:not(:last-child){}
#sjcs-header{z-index:9990}
#sjcs-header.hf-shadow .hf-row:last-child{box-shadow:0 6px 20px rgba(15,30,60,.08)}

.hf-row{position:relative;width:100%}
.hf-row-inner{position:relative;margin:0 auto;max-width:var(--hf-container);padding-left:24px;padding-right:24px;display:flex;flex-wrap:wrap;align-items:center}
.hf-row.hf-full .hf-row-inner{max-width:none}
.hf-row.hf-grid .hf-row-inner{display:grid;align-items:start}
.hf-row a:hover{color:var(--hf-link-hover,var(--hf-accent))}

.hf-item{position:relative;min-width:0}
.hf-item.hf-grow{flex:1 1 auto}
.hf-ico{display:inline-flex;width:1em;height:1em;flex:none;vertical-align:-.125em}
.hf-ico svg{width:100%;height:100%;fill:currentColor}
.hf-heading{font-size:18px;font-weight:700;margin:0 0 14px;letter-spacing:.2px}

/* text / link */
.hf-text{display:inline-flex;align-items:center;gap:8px}
.hf-link{display:inline-flex;align-items:center;gap:7px;font-weight:500}
.hf-links{display:flex;flex-wrap:wrap;gap:6px 22px}
.hf-links.hf-col{flex-direction:column;gap:9px}
.hf-links.hf-sep a+a::before{content:"";display:inline-block;width:1px;height:12px;background:currentColor;opacity:.35;margin-right:22px;margin-left:0;vertical-align:middle;position:relative;left:-11px;margin-right:-1px}
.hf-links.hf-col a{display:inline-flex;align-items:center;gap:8px}
.hf-links.hf-col a::before{content:"›";opacity:.6}

/* button */
.hf-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 20px;border-radius:6px;font-weight:600;background:var(--hf-accent);color:var(--hf-accent-text);white-space:nowrap}
.hf-btn:hover{filter:brightness(1.06);color:var(--hf-accent-text)!important}

/* logo */
.hf-logo{display:flex;align-items:center;gap:14px}
.hf-logo img{width:auto}
.hf-logo-title{font-weight:800;line-height:1.1;letter-spacing:.2px}
.hf-logo-tag{font-weight:600;margin-top:4px;font-size:14px}
.hf-logo.hf-stack{flex-direction:column;align-items:flex-start}

/* social */
.hf-social{display:flex;gap:10px;flex-wrap:wrap}
.hf-social a{display:inline-flex;align-items:center;justify-content:center;border-radius:50%}
.hf-social.hf-filled a{background:rgba(255,255,255,.12)}
.hf-social a:hover{opacity:.8}

/* contact */
.hf-contact{display:flex;flex-direction:column;gap:12px}
.hf-contact-row{display:flex;gap:10px;align-items:flex-start}
.hf-contact-row .hf-ico{margin-top:3px;color:var(--hf-accent)}
.hf-contact-label{display:block;font-size:13px;opacity:.65}

/* map / qr */
.hf-map iframe{border:0;width:100%;border-radius:8px;display:block}
.hf-qr img{border-radius:8px;background:#fff;padding:6px}
.hf-qr-cap{font-size:13px;opacity:.75;margin-top:8px}

/* menu */
.hf-menu{position:relative}
.hf-menu>ul{display:flex;flex-wrap:wrap;align-items:center;gap:2px}
.hf-menu li{position:relative}
.hf-menu>ul>li>a{display:flex;align-items:center;gap:5px;padding:16px 14px;font-weight:600;font-size:15.5px;position:relative}
.hf-menu>ul>li>a::after{content:"";position:absolute;left:14px;right:14px;top:0;height:3px;background:var(--hf-accent);transform:scaleX(0);transition:transform .2s}
.hf-menu>ul>li:hover>a::after,.hf-menu>ul>li.hf-active>a::after{transform:scaleX(1)}
.hf-caret{width:8px;height:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translate(-2px,-2px);opacity:.55;display:inline-block}
.hf-menu ul ul{position:absolute;left:0;top:100%;min-width:240px;background:#fff;color:#22324a;box-shadow:0 14px 34px rgba(15,30,60,.16);border-radius:0 0 8px 8px;padding:8px 0;opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s;z-index:1000;border-top:3px solid var(--hf-accent)}
.hf-menu ul ul ul{left:100%;top:-11px;border-radius:8px}
.hf-menu li:hover>ul,.hf-menu li:focus-within>ul{opacity:1;visibility:visible;transform:none}
.hf-menu ul ul a{display:flex;justify-content:space-between;align-items:center;padding:9px 18px;font-size:14.5px;font-weight:500;color:#22324a}
.hf-menu ul ul a:hover{background:#f4f6fa;color:var(--hf-accent)}
.hf-menu ul ul .hf-caret{transform:rotate(-45deg)}
.hf-burger{display:none;background:none;border:0;color:inherit;cursor:pointer;padding:10px;font:inherit;align-items:center;gap:8px;font-weight:600}
.hf-burger span{display:block;width:22px;height:2px;background:currentColor;box-shadow:0 7px 0 currentColor,0 -7px 0 currentColor;margin:7px 0}

/* custom html */
.hf-html{min-width:0}

/* footer defaults */
#sjcs-footer .hf-row a{opacity:.92}
#sjcs-footer .hf-row a:hover{opacity:1}

/* responsive */
@media (max-width:991px){
  .hf-row.hf-grid .hf-row-inner{grid-template-columns:1fr 1fr!important}
  .hf-burger{display:inline-flex}
  .hf-menu>ul{display:none;position:absolute;left:0;top:100%;width:calc(100vw - 32px);max-width:420px;flex-direction:column;flex-wrap:nowrap;align-items:stretch;background:#fff;color:#22324a;box-shadow:0 14px 30px rgba(0,0,0,.15);border-radius:8px;padding:8px;min-width:280px;z-index:1001;max-height:75vh;overflow:auto}
  .hf-menu.hf-open>ul{display:flex}
  .hf-menu>ul>li>a{padding:11px 12px;justify-content:space-between}
  .hf-menu>ul>li>a::after{display:none}
  .hf-menu ul ul{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;display:none;padding:0 0 0 14px;min-width:0;background:transparent}
  .hf-menu li.hf-sub-open>ul{display:block}
  .hf-hide-m{display:none!important}
}
@media (min-width:992px){.hf-hide-d{display:none!important}}
@media (max-width:600px){
  .hf-row.hf-grid .hf-row-inner{grid-template-columns:1fr!important}
  .hf-row-inner{padding-left:16px;padding-right:16px}
  .hf-logo-title{font-size:19px!important}
  .hf-logo img{max-height:54px;width:auto}
}

/* ================= EDIT MODE ================= */
body.hf-editing .hf-zone .hf-item{outline:1px dashed rgba(255,140,0,.0);cursor:move;touch-action:none}
body.hf-editing .hf-zone .hf-item:hover{outline:1px dashed #ff8a00;outline-offset:2px}
body.hf-editing .hf-zone .hf-item.hf-sel{outline:2px solid #ff8a00;outline-offset:2px}
body.hf-editing .hf-zone .hf-row:hover{box-shadow:inset 0 0 0 1px rgba(59,130,246,.55)}
body.hf-editing .hf-zone .hf-row.hf-row-sel{box-shadow:inset 0 0 0 2px #3b82f6}
.hf-xy-tag{position:absolute;top:-22px;left:0;background:#ff8a00;color:#fff;font:600 11px/1 system-ui,sans-serif;padding:4px 6px;border-radius:4px;white-space:nowrap;pointer-events:none;z-index:5}

#hf-fab{position:fixed;left:18px;bottom:18px;z-index:2147483000;width:52px;height:52px;border-radius:50%;border:0;background:#13315c;color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.25);cursor:pointer;display:flex;align-items:center;justify-content:center}
#hf-fab svg{width:24px;height:24px;fill:currentColor}

#hf-panel{position:fixed;top:0;right:0;bottom:0;width:400px;max-width:100vw;z-index:2147483001;background:#f7f8fb;color:#1d2433;font:13px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;box-shadow:-10px 0 30px rgba(0,0,0,.18);display:flex;flex-direction:column}
#hf-panel.hf-left{right:auto;left:0;box-shadow:10px 0 30px rgba(0,0,0,.18)}
#hf-panel *{box-sizing:border-box}
#hf-panel .hp-top{background:#13315c;color:#fff;padding:12px 14px;display:flex;align-items:center;gap:8px}
#hf-panel .hp-top b{font-size:14px;flex:1}
#hf-panel .hp-top button{background:rgba(255,255,255,.14);color:#fff;border:0;border-radius:6px;padding:6px 9px;cursor:pointer;font:inherit}
#hf-panel .hp-top button:hover{background:rgba(255,255,255,.25)}
#hf-panel .hp-tabs{display:flex;background:#fff;border-bottom:1px solid #e3e7ef}
#hf-panel .hp-tabs button{flex:1;border:0;background:none;padding:11px 4px;font:600 13px system-ui,sans-serif;color:#5b6577;cursor:pointer;border-bottom:2px solid transparent}
#hf-panel .hp-tabs button.on{color:#13315c;border-bottom-color:#ff8a00}
#hf-panel .hp-body{flex:1;overflow:auto;padding:12px}
#hf-panel .hp-foot{padding:10px 12px;background:#fff;border-top:1px solid #e3e7ef;display:flex;gap:6px;flex-wrap:wrap}
#hf-panel .hp-btn{border:1px solid #d5dbe6;background:#fff;color:#1d2433;border-radius:6px;padding:7px 10px;cursor:pointer;font:600 12px system-ui,sans-serif}
#hf-panel .hp-btn:hover{border-color:#13315c}
#hf-panel .hp-btn.pri{background:#ff8a00;border-color:#ff8a00;color:#fff}
#hf-panel .hp-btn.dark{background:#13315c;border-color:#13315c;color:#fff}
#hf-panel .hp-btn.danger{color:#c62828}
#hf-panel .hp-btn.sm{padding:3px 7px;font-size:11px}
#hf-panel .hp-card{background:#fff;border:1px solid #e3e7ef;border-radius:8px;margin-bottom:10px}
#hf-panel .hp-card.sel{border-color:#ff8a00;box-shadow:0 0 0 2px rgba(255,138,0,.2)}
#hf-panel .hp-card.rowsel{border-color:#3b82f6}
#hf-panel .hp-head{display:flex;align-items:center;gap:6px;padding:9px 10px;cursor:pointer;user-select:none}
#hf-panel .hp-head .t{flex:1;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#hf-panel .hp-head .k{font-size:10.5px;text-transform:uppercase;letter-spacing:.5px;background:#eef1f7;color:#5b6577;padding:2px 6px;border-radius:4px}
#hf-panel .hp-inner{padding:4px 10px 10px;border-top:1px solid #eef1f6}
#hf-panel .hp-items{padding:6px 8px 4px;background:#f3f5f9;border-radius:6px;margin-top:8px}
#hf-panel .hp-items .hp-card{margin-bottom:6px}
#hf-panel .hp-f{margin-top:9px}
#hf-panel .hp-f>label{display:block;font-weight:600;color:#3a4458;margin-bottom:4px;font-size:12px}
#hf-panel .hp-f input[type=text],#hf-panel .hp-f input[type=number],#hf-panel .hp-f select,#hf-panel .hp-f textarea{width:100%;border:1px solid #d5dbe6;border-radius:6px;padding:7px 8px;font:13px system-ui,sans-serif;background:#fff;color:#1d2433}
#hf-panel .hp-f textarea{min-height:90px;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:12px;resize:vertical}
#hf-panel .hp-f input[type=color]{width:42px;height:32px;border:1px solid #d5dbe6;border-radius:6px;padding:2px;background:#fff;vertical-align:middle}
#hf-panel .hp-colorrow{display:flex;gap:6px;align-items:center}
#hf-panel .hp-colorrow input[type=text]{flex:1}
#hf-panel .hp-2{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#hf-panel .hp-xy{background:#fff7ec;border:1px solid #ffd9a8;border-radius:8px;padding:8px 10px;margin-top:10px}
#hf-panel .hp-xy .ttl{font-weight:700;color:#a65800;font-size:12px;display:flex;justify-content:space-between;align-items:center}
#hf-panel .hp-xyrow{display:grid;grid-template-columns:18px 1fr 70px;gap:8px;align-items:center;margin-top:6px}
#hf-panel .hp-xyrow b{color:#a65800}
#hf-panel .hp-xyrow input[type=number]{padding:5px 6px}
#hf-panel .hp-check{display:flex;align-items:center;gap:7px;margin-top:9px;font-weight:600;color:#3a4458;font-size:12px}
#hf-panel .hp-add{display:flex;gap:6px;margin:6px 0 4px}
#hf-panel .hp-add select{flex:1;border:1px dashed #9aa6bb;border-radius:6px;padding:7px;background:#fff;font:600 12px system-ui,sans-serif}
#hf-panel .hp-note{background:#eef4ff;border:1px solid #cddcff;color:#28406e;border-radius:8px;padding:9px 10px;margin-bottom:10px;font-size:12px}
#hf-panel .hp-rte-bar{display:flex;flex-wrap:wrap;gap:3px;border:1px solid #d5dbe6;border-bottom:0;border-radius:6px 6px 0 0;padding:4px;background:#f3f5f9}
#hf-panel .hp-rte-bar button{border:1px solid transparent;background:none;border-radius:4px;padding:3px 7px;cursor:pointer;font:600 12px system-ui,sans-serif;color:#1d2433}
#hf-panel .hp-rte-bar button:hover{background:#fff;border-color:#d5dbe6}
#hf-panel .hp-rte-bar button.on{background:#13315c;color:#fff}
#hf-panel .hp-rte{min-height:90px;max-height:260px;overflow:auto;border:1px solid #d5dbe6;border-radius:0 0 6px 6px;padding:8px;background:#fff;outline:none}
#hf-panel .hp-rte+textarea{border-radius:0 0 6px 6px}
#hf-panel .hp-hint{font-size:11px;color:#77819a;margin-top:3px}
#hf-panel .hp-toast{position:absolute;left:50%;bottom:70px;transform:translateX(-50%);background:#13315c;color:#fff;padding:8px 14px;border-radius:20px;font-weight:600;opacity:0;transition:.25s;pointer-events:none}
#hf-panel .hp-toast.show{opacity:1}
body.hf-editing.hf-panel-right{margin-right:400px}
body.hf-editing.hf-panel-left{margin-left:400px}
@media (max-width:900px){body.hf-editing.hf-panel-right,body.hf-editing.hf-panel-left{margin:0}}

/* hard reset of theme form styles inside the editor panel */
#hf-panel input,#hf-panel select,#hf-panel textarea,#hf-panel button{margin:0;box-shadow:none;min-height:0;line-height:1.3;letter-spacing:normal;text-transform:none}
#hf-panel .hp-f input[type=text],#hf-panel .hp-f input[type=number],#hf-panel .hp-f select{height:34px}
#hf-panel input[type=range]{-webkit-appearance:auto;appearance:auto;width:100%;height:18px;padding:0;border:0;background:none;accent-color:#ff8a00}
#hf-panel input[type=checkbox]{width:16px;height:16px;accent-color:#13315c}
@media (max-width:1280px){.hf-menu>ul>li>a{padding:15px 9px;font-size:14.5px}}
@media (min-width:992px) and (max-width:1200px){.hf-menu>ul>li>a{padding:15px 7px;font-size:14px}.hf-caret{width:7px;height:7px}}
@media (min-width:992px){body.hf-editing.hf-panel-right .hf-menu>ul>li>a,body.hf-editing.hf-panel-left .hf-menu>ul>li>a{padding:15px 7px;font-size:14px}}

/* ---------- scroll effects ---------- */
.hf-row.hf-blur{transition:background-color .3s ease,box-shadow .3s ease,backdrop-filter .3s ease}
#sjcs-header.hf-scrolled .hf-row.hf-blur{background-color:rgba(255,255,255,.72)!important;-webkit-backdrop-filter:saturate(180%) blur(16px);backdrop-filter:saturate(180%) blur(16px);box-shadow:0 8px 28px rgba(15,30,60,.10)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){#sjcs-header.hf-scrolled .hf-row.hf-blur{background-color:rgba(255,255,255,.97)!important}}
.hf-row.hf-hide-scroll{max-height:200px;overflow:hidden;transition:max-height .3s ease}
#sjcs-header.hf-scrolled .hf-row.hf-hide-scroll{max-height:0}
#sjcs-header.hf-scrolled .hf-logo img{transition:height .3s}
/* single-line header: logo | menu | button */
.hf-row.hf-oneline .hf-row-inner{flex-wrap:nowrap}
.hf-row.hf-oneline .hf-t-menu{flex:1 1 auto;display:flex;justify-content:center;min-width:0}
.hf-row.hf-oneline .hf-menu>ul{flex-wrap:nowrap}
.hf-row.hf-oneline .hf-menu>ul>li>a{padding:22px 12px;font-size:15px;white-space:nowrap}
.hf-row.hf-oneline .hf-row-inner{padding-left:max(16px,2vw);padding-right:max(16px,2vw)}
.hf-row.hf-oneline .hf-menu>ul>li>a::after{top:auto;bottom:0}
.hf-row.hf-oneline .hf-t-logo,.hf-row.hf-oneline .hf-t-button{flex:none}
@media (max-width:1600px){.hf-row.hf-oneline .hf-menu>ul>li>a{padding:22px 8px;font-size:14px}.hf-row.hf-oneline .hf-logo-title{font-size:20px!important}.hf-row.hf-oneline .hf-logo-tag{font-size:12px}.hf-row.hf-oneline .hf-btn{padding:10px 16px;font-size:14.5px}.hf-row.hf-oneline .hf-caret{width:7px;height:7px}}
@media (max-width:1440px){.hf-row.hf-oneline .hf-row-inner{gap:12px!important}.hf-row.hf-oneline .hf-menu>ul>li>a{padding:22px 6px;font-size:13px;gap:3px}.hf-row.hf-oneline .hf-caret{width:6px;height:6px}.hf-row.hf-oneline .hf-logo-tag{display:none!important}.hf-row.hf-oneline .hf-logo-title{font-size:17px!important}.hf-row.hf-oneline .hf-logo img{height:48px!important}.hf-row.hf-oneline .hf-logo{gap:10px}.hf-row.hf-oneline .hf-btn{padding:9px 13px;font-size:13.5px}}
/* collapsed single-line row (not enough room, or tablet/mobile): menu becomes ☰ */
.hf-row.hf-oneline.hf-collapsed .hf-t-menu{order:10;flex:none}
.hf-row.hf-oneline.hf-collapsed .hf-t-logo{flex:1 1 auto;min-width:0}
.hf-row.hf-oneline.hf-collapsed .hf-burger{display:inline-flex}
.hf-row.hf-oneline.hf-collapsed .hf-burger span+*{display:none}
.hf-row.hf-oneline.hf-collapsed .hf-menu>ul{display:none;position:absolute;left:auto;right:0;top:100%;width:calc(100vw - 32px);max-width:420px;flex-direction:column;flex-wrap:nowrap;align-items:stretch;background:#fff;color:#22324a;box-shadow:0 14px 30px rgba(0,0,0,.15);border-radius:8px;padding:8px;z-index:1001;max-height:75vh;overflow:auto}
.hf-row.hf-oneline.hf-collapsed .hf-menu.hf-open>ul{display:flex}
.hf-row.hf-oneline.hf-collapsed .hf-menu>ul>li>a{padding:11px 12px;justify-content:space-between;font-size:15px}
.hf-row.hf-oneline.hf-collapsed .hf-menu>ul>li>a::after{display:none}
.hf-row.hf-oneline.hf-collapsed .hf-menu ul ul{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;display:none;padding:0 0 0 14px;min-width:0;background:transparent}
.hf-row.hf-oneline.hf-collapsed .hf-menu li.hf-sub-open>ul{display:block}
.hf-row.hf-oneline.hf-collapsed .hf-menu li:hover>ul{display:none}
.hf-row.hf-oneline.hf-collapsed .hf-menu li.hf-sub-open>ul,.hf-row.hf-oneline.hf-collapsed .hf-menu li.hf-sub-open:hover>ul{display:block}
.hf-row.hf-oneline .hf-t-menu{overflow:hidden}
.hf-row.hf-oneline .hf-t-menu:hover,.hf-row.hf-oneline .hf-t-menu:focus-within,.hf-row.hf-oneline.hf-collapsed .hf-t-menu{overflow:visible}
@media (max-width:1240px){.hf-hide-lg{display:none!important}}
}
@media (max-width:600px){.hf-row.hf-oneline .hf-btn{padding:8px 11px;font-size:13px}.hf-row.hf-oneline .hf-btn .hf-ico{display:none}.hf-row.hf-oneline .hf-logo{gap:10px}.hf-row.hf-oneline .hf-logo img{height:44px!important}.hf-row.hf-oneline .hf-logo-title{font-size:16px!important}}
@media (max-width:600px){
  .hf-row.hf-oneline .hf-t-button{display:none}   /* E-Genius stays available in the top bar */
  .hf-row.hf-oneline .hf-logo{min-width:0}
  .hf-row.hf-oneline .hf-logo-txt{min-width:0}
  .hf-row.hf-oneline .hf-row-inner{min-height:64px!important}
}
@media (max-width:991px){
  #sjcs-header .hf-t-spacer{display:none}
  #sjcs-header .hf-row-inner{row-gap:6px!important}
}

/* ---------- footer: children playing animation ---------- */
.hf-kids{position:absolute;left:0;right:0;bottom:0;height:120px;pointer-events:none;z-index:0;opacity:.5;overflow:hidden}
.hf-kids-svg{position:absolute;left:50%;bottom:0;width:max(100%,1000px);height:120px;transform:translateX(-50%)}
.hk *{stroke:#fff;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;fill:none}
.hk .hk-head,.hk .hk-ball,.hk .hk-kite-body{fill:#fff;stroke:none}
.hk .hk-ground{stroke-width:2;stroke-dasharray:2 10;opacity:.7}
.hk .hk-grass{stroke-width:2}
.hk .hk-string{stroke-width:1.5}
.hk .hk-rope{stroke-width:2.5}
.hk-run{animation:hk-run 18s linear infinite}
@keyframes hk-run{from{transform:translateX(-60px)}to{transform:translateX(1260px)}}
.hk-bob{animation:hk-bob .36s ease-in-out infinite alternate}
@keyframes hk-bob{to{transform:translateY(-3px)}}
.hk-step-a{animation:hk-leg .36s ease-in-out infinite alternate}
.hk-step-b{animation:hk-leg .36s ease-in-out infinite alternate-reverse}
@keyframes hk-leg{from{transform:rotate(32deg)}to{transform:rotate(-32deg)}}
.hk-swing-a{animation:hk-arm .36s ease-in-out infinite alternate}
.hk-swing-b{animation:hk-arm .36s ease-in-out infinite alternate-reverse}
@keyframes hk-arm{from{transform:rotate(-45deg)}to{transform:rotate(55deg)}}
.hk-ball{animation:hk-ball .72s cubic-bezier(.5,0,.5,1) infinite}
@keyframes hk-ball{0%,100%{transform:translateY(0)}50%{transform:translateY(-22px)}}
.hk-jump{animation:hk-jump .7s cubic-bezier(.4,0,.6,1) infinite}
@keyframes hk-jump{0%,100%{transform:translateY(0)}45%{transform:translateY(-14px)}}
.hk-rope{animation:hk-rope .7s linear infinite}
@keyframes hk-rope{0%{transform:scaleY(1)}50%{transform:scaleY(-1.25)}100%{transform:scaleY(1)}}
.hk-seesaw{animation:hk-seesaw 2.2s ease-in-out infinite alternate}
@keyframes hk-seesaw{from{transform:rotate(-12deg)}to{transform:rotate(12deg)}}
.hk-swing{animation:hk-swing 2.6s ease-in-out infinite alternate}
@keyframes hk-swing{from{transform:rotate(-24deg)}to{transform:rotate(24deg)}}
.hk-kite{animation:hk-kite 3.2s ease-in-out infinite alternate}
@keyframes hk-kite{from{transform:rotate(-6deg)}to{transform:rotate(7deg)}}
.hk-toss{animation:hk-toss 1.6s ease-in-out infinite}
@keyframes hk-toss{0%,100%{transform:translate(0,0)}50%{transform:translate(42px,-38px)}}
@media (prefers-reduced-motion:reduce){.hk *{animation:none!important}}

.hf-row.hf-has-kids{padding-bottom:96px}
.hf-row.hf-has-kids>.hf-row-inner{position:relative;z-index:1}
@media (max-width:600px){.hf-kids{height:90px}.hf-kids-svg{height:90px;width:900px}.hf-row.hf-has-kids{padding-bottom:70px}}

/* deep menus (3rd / 4th level): open to the left near the right edge */
.hf-menu ul ul{max-height:none}
.hf-menu>ul>li:nth-last-child(-n+4) ul ul{left:auto;right:100%}
.hf-menu ul ul li.hf-has-sub>a .hf-caret{margin-left:10px}
.hf-menu ul ul{min-width:270px}

/* separate header / footer editors */
body.hf-only-header #sjcs-footer,body.hf-only-footer #sjcs-header{opacity:.35;filter:grayscale(.4);pointer-events:none}
body.hf-only-header #sjcs-footer .hf-item:hover,body.hf-only-footer #sjcs-header .hf-item:hover{outline:none!important}
