:root{
  --khe-header-bg: rgba(245,242,235,.9);
  --khe-header-text:#324b6b;
  --khe-header-accent:#2b64df;
  --khe-header-border:rgba(50,75,107,.14);
}
body.khe-has-global-header{padding-top:118px;}
body.khe-has-global-header.admin-bar .khe-site-header{top:32px;}
body.khe-has-global-header .site-header,
body.khe-has-global-header #masthead,
body.khe-has-global-header header[role="banner"]{display:none !important;}
.khe-site-header-spacer{display:none;}
.khe-site-header{
  position:fixed; top:0; left:0; right:0; z-index:9999;
  backdrop-filter: blur(14px);
  background:var(--khe-header-bg);
  border-bottom:1px solid var(--khe-header-border);
}
.khe-site-header__inner{
  width:min(1680px, calc(100vw - 36px)); margin:0 auto;
  min-height:104px; display:grid; grid-template-columns:170px 1fr auto auto; align-items:center; gap:24px;
}
.khe-site-header__brand{
  display:flex; align-items:center; width:140px; max-width:100%; text-decoration:none; transition:transform .28s ease, filter .28s ease;
}
.khe-site-header__brand:hover{transform:translateY(-3px) rotate(-2deg); filter: drop-shadow(0 10px 20px rgba(255,197,61,.22));}
.khe-site-header__brand img{display:block; width:100%; height:auto; object-fit:contain;}
.khe-site-header__nav{
  display:flex; justify-content:center; align-items:center; gap:14px; flex-wrap:wrap;
}
.khe-site-header__nav a{
  position:relative; display:inline-flex; align-items:center; justify-content:center; min-height:48px;
  padding:12px 18px; border-radius:999px; color:var(--khe-header-text); text-decoration:none; text-transform:uppercase;
  font-size:clamp(.88rem,.95vw,1rem); font-weight:800; letter-spacing:.08em; overflow:hidden;
  transition:color .22s ease, transform .22s ease, background .22s ease, box-shadow .22s ease;
}
.khe-site-header__nav a::before{
  content:""; position:absolute; inset:auto auto 8px 50%; width:6px; height:6px; border-radius:50%;
  background:linear-gradient(135deg,#8ec5ff,#2b64df); transform:translateX(-50%) scale(.3); opacity:0;
  transition:transform .24s ease, opacity .24s ease;
}
.khe-site-header__nav a:hover,
.khe-site-header__nav a.is-current{
  color:var(--khe-header-accent); background:rgba(43,100,223,.07); box-shadow: inset 0 0 0 1px rgba(43,100,223,.12);
}
.khe-site-header__nav a:hover::before,
.khe-site-header__nav a.is-current::before{opacity:1; transform:translateX(-50%) scale(1);}
.khe-site-header__nav a span{position:relative; z-index:1;}
.khe-site-header__socials{display:flex; align-items:center; gap:8px;}
.khe-site-header__socials a{
  display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:50%;
  text-decoration:none; color:var(--khe-header-text); border:1px solid rgba(50,75,107,.16); background:rgba(255,255,255,.68);
  font-size:.68rem; font-weight:900; letter-spacing:.08em; transition:transform .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease;
}
.khe-site-header__socials a:hover{transform:translateY(-2px); color:var(--khe-header-accent); border-color:rgba(43,100,223,.32); box-shadow:0 12px 20px rgba(43,100,223,.1);}
.khe-site-header__burger{
  display:inline-flex; flex-direction:column; justify-content:center; align-items:center; gap:5px; width:54px; height:54px; border-radius:50%;
  border:1px solid rgba(50,75,107,.16); background:#fff; cursor:pointer; transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.khe-site-header__burger:hover{transform:translateY(-2px); box-shadow:0 12px 24px rgba(43,100,223,.12); border-color:rgba(43,100,223,.28);}
.khe-site-header__burger span{display:block; width:20px; height:2px; border-radius:2px; background:var(--khe-header-text); transition:transform .26s ease, opacity .26s ease;}
.khe-site-header__burger.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.khe-site-header__burger.is-open span:nth-child(2){opacity:0;}
.khe-site-header__burger.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
.khe-mobile-menu[hidden]{display:none !important;}
.khe-mobile-menu{position:fixed; inset:0; z-index:10000; background:rgba(10,17,34,.48); backdrop-filter: blur(6px);}
.khe-mobile-menu__panel{
  position:absolute; top:0; right:0; width:min(420px,100vw); height:100%; background:#f7f3ec; color:#23364c; padding:26px 24px 32px;
  box-shadow:-18px 0 40px rgba(10,17,34,.18); display:flex; flex-direction:column; gap:26px;
}
.khe-mobile-menu__top{display:flex; align-items:center; justify-content:space-between; font-size:.92rem; text-transform:uppercase; letter-spacing:.12em; font-weight:900;}
.khe-mobile-menu__close{
  width:42px; height:42px; border-radius:50%; border:1px solid rgba(50,75,107,.18); background:#fff; color:#23364c; font-size:1.6rem; line-height:1; cursor:pointer;
}
.khe-mobile-menu__nav{display:grid; gap:10px;}
.khe-mobile-menu__nav a{
  display:flex; align-items:center; justify-content:space-between; padding:16px 18px; border-radius:18px; text-decoration:none; color:#23364c;
  font-size:1rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; background:rgba(255,255,255,.7); border:1px solid rgba(50,75,107,.08);
}
.khe-mobile-menu__nav a.is-current{color:var(--khe-header-accent); border-color:rgba(43,100,223,.18);}
.khe-mobile-menu__socials{margin-top:auto; display:flex; flex-wrap:wrap; gap:10px;}
.khe-mobile-menu__socials a{display:inline-flex; align-items:center; min-height:42px; padding:10px 14px; border-radius:999px; text-decoration:none; color:#23364c; background:#fff; border:1px solid rgba(50,75,107,.1); font-weight:700;}
body.khe-menu-open{overflow:hidden;}

@media (max-width: 1279px){
  .khe-site-header__socials{display:none;}
  .khe-site-header__inner{grid-template-columns:130px 1fr auto;}
}
@media (max-width: 1024px){
  body.khe-has-global-header{padding-top:104px;}
  .khe-site-header__inner{min-height:90px; grid-template-columns:112px 1fr auto; gap:16px; width:min(1680px, calc(100vw - 24px));}
  .khe-site-header__nav{display:none;}
  .khe-site-header__brand{width:96px;}
}
@media (min-width: 1025px){
  .khe-mobile-menu{display:none !important;}
}
@media (max-width: 782px){
  body.khe-has-global-header.admin-bar .khe-site-header{top:46px;}
}
@media (max-width: 640px){
  body.khe-has-global-header{padding-top:92px;}
  .khe-site-header__inner{min-height:78px; grid-template-columns:92px 1fr auto; gap:12px;}
  .khe-site-header__brand{width:78px;}
  .khe-site-header__burger{width:48px; height:48px;}
}

/* v2.1.14 — force-remove the theme header, real social icons, refined mascot position */
body.khe-has-global-header #header:not(.khe-site-header),
body.khe-has-global-header .ct-header:not(.khe-site-header),
body.khe-has-global-header .ct-header-wrapper:not(.khe-site-header),
body.khe-has-global-header .site-header:not(.khe-site-header),
body.khe-has-global-header #masthead:not(.khe-site-header),
body.khe-has-global-header header[role="banner"]:not(.khe-site-header),
body.khe-has-global-header .elementor-location-header,
body.khe-has-global-header .elementor-location-header > header {
  display:none !important;
  visibility:hidden !important;
  height:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
}

.khe-site-header__inner{
  grid-template-columns:150px 1fr auto auto;
  padding-left:22px;
}
.khe-site-header__brand{
  width:92px;
  margin-left:18px;
}
.khe-site-header__brand img{
  max-height:72px;
  width:auto;
  max-width:100%;
}
.khe-site-header__socials a.khe-social-icon{
  color:#314b6b;
  font-size:0;
}
.khe-site-header__socials a.khe-social-icon svg{
  width:18px;
  height:18px;
  display:block;
}
.khe-site-header__socials a.khe-social-icon:hover{
  color:var(--khe-header-accent);
}
.khe-site-header__socials a.khe-social-icon--facebook:hover{color:#1877f2;}
.khe-site-header__socials a.khe-social-icon--instagram:hover{color:#d62976;}
.khe-site-header__socials a.khe-social-icon--tiktok:hover{color:#111;}
.khe-site-header__socials a.khe-social-icon--youtube:hover{color:#ff0033;}
.khe-site-header__socials a.khe-social-icon--linkedin:hover{color:#0a66c2;}

@media (max-width:1279px){
  .khe-site-header__inner{grid-template-columns:130px 1fr auto; padding-left:18px;}
  .khe-site-header__brand{width:82px; margin-left:14px;}
}
@media (max-width:1024px){
  .khe-site-header__inner{padding-left:14px;}
  .khe-site-header__brand{width:72px; margin-left:10px;}
}
@media (max-width:640px){
  .khe-site-header__brand{width:62px; margin-left:8px;}
  .khe-site-header__inner{grid-template-columns:82px 1fr auto; padding-left:10px;}
}


/* v2.1.15 — desktop header refinement: no burger, lighter beige glass */
:root{
  --khe-header-bg: rgba(252, 249, 242, .72);
  --khe-header-text:#38516f;
  --khe-header-accent:#2f70ef;
  --khe-header-border:rgba(93, 112, 138, .16);
}
.khe-site-header{
  background: linear-gradient(115deg, rgba(255,253,248,.86), rgba(248,245,237,.66));
  border-bottom-color: rgba(122, 133, 149, .15);
  box-shadow: 0 12px 28px rgba(44, 55, 78, .055);
  backdrop-filter: blur(20px) saturate(1.18);
  -webkit-backdrop-filter: blur(20px) saturate(1.18);
}
.khe-site-header::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(105deg, rgba(255,255,255,.42), transparent 38%, rgba(255,255,255,.12) 62%, transparent);
  opacity:.65;
}
.khe-site-header__inner{position:relative; z-index:1;}
.khe-site-header__nav a{
  color:#3b5270;
}
.khe-site-header__nav a:hover,
.khe-site-header__nav a.is-current{
  background:rgba(255,255,255,.52);
  box-shadow: inset 0 0 0 1px rgba(92,130,205,.18), 0 9px 20px rgba(67,91,137,.06);
}
.khe-site-header__socials a{
  background:rgba(255,255,255,.58);
  border-color:rgba(87,107,137,.16);
  box-shadow:0 6px 16px rgba(50,70,110,.04);
}

@media (min-width: 1025px){
  .khe-site-header__burger{display:none !important;}
  .khe-site-header__inner{
    grid-template-columns: 130px 1fr auto !important;
    padding-left:34px;
    padding-right:26px;
  }
  .khe-site-header__brand{
    width:72px !important;
    margin-left:16px !important;
  }
  .khe-site-header__brand img{
    max-height:58px !important;
  }
}

@media (max-width: 1024px){
  .khe-site-header__burger{display:inline-flex !important;}
  .khe-site-header{
    background:linear-gradient(115deg, rgba(255,253,248,.9), rgba(248,245,237,.76));
  }
}


/* v2.1.16 — mobile burger on the right + icon-only social links */
@media (max-width: 1024px){
  .khe-site-header__inner{
    grid-template-columns: 92px minmax(0, 1fr) 54px !important;
    align-items:center;
  }
  .khe-site-header__brand{ grid-column:1; }
  .khe-site-header__burger{
    grid-column:3;
    justify-self:end;
    margin-left:0;
  }
}
@media (max-width:640px){
  .khe-site-header__inner{grid-template-columns:78px minmax(0, 1fr) 48px !important;}
}
.khe-mobile-menu__socials{
  margin-top:auto;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.khe-mobile-menu__socials a.khe-social-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:58px;
  height:58px;
  min-height:58px;
  padding:0;
  border-radius:50%;
  background:rgba(255,255,255,.82);
  color:#314b6b;
  border:1px solid rgba(50,75,107,.12);
  box-shadow:0 10px 22px rgba(36,53,87,.08);
  font-size:0;
  transition:transform .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
}
.khe-mobile-menu__socials a.khe-social-icon svg{width:24px;height:24px;display:block;}
.khe-mobile-menu__socials a.khe-social-icon:hover,
.khe-mobile-menu__socials a.khe-social-icon:focus-visible{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(36,53,87,.12);
  border-color:rgba(43,100,223,.25);
}
.khe-mobile-menu__socials a.khe-social-icon--facebook:hover,
.khe-mobile-menu__socials a.khe-social-icon--facebook:focus-visible{color:#1877f2;}
.khe-mobile-menu__socials a.khe-social-icon--instagram:hover,
.khe-mobile-menu__socials a.khe-social-icon--instagram:focus-visible{color:#d62976;}
.khe-mobile-menu__socials a.khe-social-icon--tiktok:hover,
.khe-mobile-menu__socials a.khe-social-icon--tiktok:focus-visible{color:#111;}
.khe-mobile-menu__socials a.khe-social-icon--youtube:hover,
.khe-mobile-menu__socials a.khe-social-icon--youtube:focus-visible{color:#ff0033;}
.khe-mobile-menu__socials a.khe-social-icon--linkedin:hover,
.khe-mobile-menu__socials a.khe-social-icon--linkedin:focus-visible{color:#0a66c2;}


/* v2.1.40 — shared custom footer, replacing the active theme footer */
body.khe-has-global-header footer:not(.khe-site-footer),
body.khe-has-global-header #footer:not(.khe-site-footer),
body.khe-has-global-header #colophon:not(.khe-site-footer),
body.khe-has-global-header .site-footer:not(.khe-site-footer),
body.khe-has-global-header .ct-footer:not(.khe-site-footer),
body.khe-has-global-header .elementor-location-footer{display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;}
.khe-site-footer{position:relative;display:block;overflow:hidden;background:linear-gradient(135deg,#06142a 0%,#112d58 58%,#182243 100%);color:#f6f8ff;border-top:1px solid rgba(177,213,255,.26);isolation:isolate;}
.khe-site-footer::before{content:"";position:absolute;width:580px;height:580px;right:-160px;top:-390px;border-radius:50%;border:1px solid rgba(175,211,255,.15);box-shadow:0 0 0 56px rgba(175,211,255,.025),0 0 0 118px rgba(255,202,113,.016);pointer-events:none;}
.khe-site-footer__stars{position:absolute;inset:0;opacity:.63;pointer-events:none;background-image:radial-gradient(circle,rgba(255,255,255,.86) 0 1px,transparent 1.6px),radial-gradient(circle,rgba(129,184,255,.76) 0 1.4px,transparent 2px),radial-gradient(circle,rgba(255,211,125,.58) 0 1px,transparent 1.7px);background-size:68px 68px,142px 142px,242px 242px;background-position:18px 26px,86px 68px,154px 118px;}
.khe-site-footer__shell{position:relative;z-index:1;width:min(1440px,calc(100vw - 48px));margin:0 auto;padding:44px 0 18px;}
.khe-site-footer__top{display:flex;align-items:center;justify-content:space-between;gap:28px;padding-bottom:28px;border-bottom:1px solid rgba(218,235,255,.18);}
.khe-site-footer__brand{display:flex;align-items:center;gap:14px;color:#fff;text-decoration:none;min-width:0;transition:transform .24s ease;}
.khe-site-footer__brand:hover{transform:translateY(-2px);}
.khe-site-footer__brand img{width:66px;height:66px;object-fit:contain;filter:drop-shadow(0 10px 16px rgba(255,202,74,.18));}
.khe-site-footer__brand span{display:flex;flex-direction:column;gap:4px;}
.khe-site-footer__brand b{font-size:1.18rem;letter-spacing:-.025em;}
.khe-site-footer__brand small{font-size:.7rem;text-transform:uppercase;letter-spacing:.13em;color:rgba(235,243,255,.7);font-weight:800;}
.khe-site-footer__hello{display:flex;align-items:center;gap:18px;}
.khe-site-footer__hello span{font-size:.83rem;color:rgba(235,243,255,.7);}
.khe-site-footer__hello a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border-radius:999px;background:linear-gradient(135deg,#fff6dc,#f0bb68);color:#132b4e;text-decoration:none;font-size:.84rem;font-weight:900;box-shadow:0 12px 24px rgba(0,0,0,.2);transition:transform .22s ease,box-shadow .22s ease;}
.khe-site-footer__hello a:hover{transform:translateY(-2px);box-shadow:0 16px 28px rgba(0,0,0,.26);}
.khe-site-footer__middle{display:flex;align-items:center;justify-content:space-between;gap:26px;padding:24px 0;}
.khe-site-footer__nav{display:flex;flex-wrap:wrap;gap:8px 18px;}
.khe-site-footer__nav a{color:rgba(247,250,255,.9);text-decoration:none;font-size:.8rem;text-transform:uppercase;letter-spacing:.1em;font-weight:800;transition:color .2s ease,transform .2s ease;}
.khe-site-footer__nav a:hover{color:#ffd27a;transform:translateY(-1px);}
.khe-site-footer__socials{display:flex;align-items:center;gap:9px;}
.khe-site-footer__social{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1px solid rgba(230,241,255,.23);background:rgba(255,255,255,.075);color:#eaf3ff;transition:transform .22s ease,background .22s ease,color .22s ease,border-color .22s ease;}
.khe-site-footer__social svg{width:18px;height:18px;display:block;}
.khe-site-footer__social:hover{transform:translateY(-3px);background:#fff;color:#143361;border-color:#fff;}
.khe-site-footer__social--facebook:hover{color:#1877f2}.khe-site-footer__social--instagram:hover{color:#d62976}.khe-site-footer__social--tiktok:hover{color:#111}.khe-site-footer__social--youtube:hover{color:#ff0033}.khe-site-footer__social--linkedin:hover{color:#0a66c2}
.khe-site-footer__bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:16px;border-top:1px solid rgba(218,235,255,.13);font-size:.74rem;letter-spacing:.03em;color:rgba(235,243,255,.62);}
.khe-site-footer__bottom i{color:#ffbf75;font-style:normal;text-shadow:0 0 12px rgba(255,191,117,.62);}
@media(max-width:720px){
  .khe-site-footer__shell{width:min(100%,calc(100vw - 34px));padding:34px 0 18px;}
  .khe-site-footer__top,.khe-site-footer__middle,.khe-site-footer__bottom{align-items:flex-start;flex-direction:column;}
  .khe-site-footer__top{gap:20px;}.khe-site-footer__hello{width:100%;justify-content:space-between;}
  .khe-site-footer__middle{gap:20px;}.khe-site-footer__nav{gap:12px 16px;}.khe-site-footer__socials{gap:8px;}
  .khe-site-footer__bottom{gap:7px;font-size:.7rem;}
}


/* v2.1.62 — safe Polylang switcher in bespoke header (no query changes). */
.khe-language-switcher{display:inline-flex;align-items:center;gap:2px;min-height:48px;padding:4px;border:1px solid rgba(87,107,137,.16);border-radius:999px;background:rgba(255,255,255,.52);box-shadow:0 6px 16px rgba(50,70,110,.04)}
.khe-language-switcher a{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:38px;padding:0 12px;border-radius:999px;color:var(--khe-header-text);text-decoration:none;font-size:.78rem;font-weight:900;letter-spacing:.10em;transition:color .2s ease,background .2s ease,box-shadow .2s ease,transform .2s ease}
.khe-language-switcher a:hover{color:var(--khe-header-accent);transform:translateY(-1px)}
.khe-language-switcher a.is-current{color:var(--khe-header-accent);background:rgba(255,255,255,.88);box-shadow:0 3px 10px rgba(55,88,150,.10),inset 0 0 0 1px rgba(77,114,196,.10)}
@media (min-width:1025px){.khe-site-header__inner{grid-template-columns:130px minmax(0,1fr) auto auto !important}}
@media (max-width:1024px){.khe-site-header__inner > .khe-language-switcher{display:none !important}.khe-language-switcher--mobile{display:flex;width:max-content;margin:2px 0 0}.khe-mobile-menu__panel{gap:20px}}


/* v2.2.46 — show language switcher centered between logo and burger on tablet/mobile */
@media (max-width: 1024px) {
  .khe-site-header__inner {
    grid-template-columns: 82px minmax(112px, 1fr) 52px !important;
  }
  .khe-site-header__inner > .khe-language-switcher {
    display: inline-flex !important;
    grid-column: 2;
    justify-self: center;
    align-self: center;
    min-height: 40px;
    padding: 3px;
    gap: 1px;
    background: rgba(255,255,255,.68);
    border-color: rgba(56,81,111,.16);
    box-shadow: 0 8px 18px rgba(50,70,110,.06);
  }
  .khe-site-header__inner > .khe-language-switcher a {
    min-width: 38px;
    min-height: 34px;
    padding: 0 10px;
    font-size: .72rem;
    letter-spacing: .08em;
  }
}
@media (max-width: 640px) {
  .khe-site-header__inner {
    grid-template-columns: 70px minmax(108px, 1fr) 48px !important;
    gap: 8px;
  }
  .khe-site-header__brand {
    width: 58px !important;
    margin-left: 4px !important;
  }
  .khe-site-header__inner > .khe-language-switcher {
    min-height: 38px;
  }
  .khe-site-header__inner > .khe-language-switcher a {
    min-width: 34px;
    min-height: 32px;
    padding: 0 8px;
    font-size: .68rem;
  }
}
