/* v1.2.4 — ONE header component for homepage and opted-in interior pages.
   Reference: user's IMG1. Existing WP primary menu; no synthetic dropdown URLs.
   Protected official ΕΣΠΑ banner is outside this header's scope. */
.wpah-unified-header,.wpah-unified-header *,.wpah-unified-header *::before,.wpah-unified-header *::after{box-sizing:border-box}
.wpah-unified-header{position:sticky;top:0;z-index:9997;width:100%;background:#041935!important;color:#fff!important;box-shadow:0 1px 0 rgba(255,255,255,.09);font-family:Arial,Helvetica,sans-serif}
body.admin-bar .wpah-unified-header{top:32px}
.wpah-unified-header .wpah-shared-inner{width:100%;max-width:none;min-height:133px;padding:0 clamp(22px,1.6vw,34px) 0 max(25px,calc((100vw - 1560px)/2));margin:0 auto;display:flex;flex-flow:row nowrap;align-items:center;gap:clamp(15px,1.4vw,26px)}
.wpah-unified-header .wpah-shared-logo{display:flex!important;flex:0 0 235px;min-width:0;align-items:center;justify-content:flex-start;position:relative!important;height:auto!important;padding:0!important;margin:0 auto 0 0!important;background:none!important;border:none!important;line-height:1!important}
.wpah-unified-header .wpah-shared-logo img{display:block!important;width:auto!important;max-width:225px!important;height:auto!important;max-height:72px!important;object-fit:contain;filter:none!important;box-shadow:none!important;margin:0!important}
.wpah-unified-header .wpah-shared-logo span{font-size:21px;color:#fff}
.wpah-unified-header .wpah-shared-navigation{display:block;position:relative;flex:0 1 auto;min-width:0;max-width:none;margin-left:auto;margin-right:0;align-self:center;padding:0!important;background:none!important;border:none!important;box-shadow:none!important;overflow:visible!important}
.wpah-unified-header .wpah-primary-menu,.wpah-unified-header .wpah-primary-menu ul{list-style:none!important;margin:0!important;padding:0!important}
.wpah-unified-header .wpah-primary-menu{display:flex!important;flex-flow:row nowrap!important;align-items:center;justify-content:flex-end;gap:clamp(10px,1.1vw,22px);width:auto!important}
.wpah-unified-header .wpah-primary-menu>li{position:relative!important;float:none!important;width:auto!important;flex:0 0 auto!important;margin:0!important;padding:0!important;display:block!important}
.wpah-unified-header .wpah-primary-menu a{color:#fff!important;display:block!important;font:700 clamp(10px,.67vw,13px)/1.35 Arial,Helvetica,sans-serif!important;letter-spacing:0!important;white-space:nowrap;text-transform:uppercase!important;background:none!important;border:0!important;box-shadow:none!important;text-decoration:none!important;padding:12px 0!important;margin:0!important;opacity:1!important}
.wpah-unified-header .wpah-primary-menu>li>a:hover,.wpah-unified-header .wpah-primary-menu>li.current-menu-item>a,.wpah-unified-header .wpah-primary-menu>li.current-menu-ancestor>a,.wpah-unified-header .wpah-primary-menu a:focus-visible{color:#5bd5fb!important}
.wpah-unified-header .wpah-primary-menu a::after{display:none!important}
.wpah-unified-header .wpah-primary-menu>li.menu-item-has-children>a{padding-right:13px!important}
.wpah-unified-header .wpah-primary-menu>li.menu-item-has-children>a::before{content:"";position:absolute;right:1px;top:50%;width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-70%) rotate(45deg)}
.wpah-unified-header .wpah-primary-menu ul.sub-menu{position:absolute!important;left:0;top:100%;min-width:225px;max-width:340px;z-index:99999;background:#061b39!important;border:1px solid #275071!important;box-shadow:0 16px 30px rgba(0,0,0,.23)!important;padding:8px 0!important;display:none!important}
.wpah-unified-header .wpah-primary-menu ul.sub-menu li{position:relative!important;margin:0!important;padding:0!important;width:100%!important}
.wpah-unified-header .wpah-primary-menu ul.sub-menu a{font-size:12px!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:break-word;padding:12px 14px!important;text-transform:none!important}
.wpah-unified-header .wpah-primary-menu li:hover>ul.sub-menu,.wpah-unified-header .wpah-primary-menu li:focus-within>ul.sub-menu,.wpah-unified-header .wpah-primary-menu li.wpah-submenu-open>ul.sub-menu{display:block!important}
.wpah-unified-header .wpah-primary-menu ul.sub-menu ul.sub-menu{left:100%;top:-8px}
.wpah-unified-header .wpah-primary-menu ul.sub-menu a:hover,.wpah-unified-header .wpah-primary-menu ul.sub-menu a:focus-visible{background:#10365d!important}
.wpah-unified-header .wpah-shared-actions{display:flex!important;flex:0 0 auto;align-items:center;gap:clamp(12px,1.4vw,27px);margin-left:10px;min-width:0}
.wpah-unified-header .wpah-social-links{display:flex!important;position:static!important;align-items:center;gap:19px;margin:0!important;padding:0!important;transform:none!important;background:none!important;box-shadow:none!important}
.wpah-unified-header .wpah-social-links a{display:inline-flex!important;align-items:center;justify-content:center;width:23px;height:30px;padding:2px!important;margin:0!important;color:#fff!important;background:transparent!important;line-height:1!important;border:0!important;opacity:1!important}
.wpah-unified-header .wpah-social-links svg{width:17px;height:17px;display:block;fill:currentColor}
.wpah-unified-header .wpah-social-links a:nth-child(2) svg{fill:none!important;stroke:currentColor!important}
.wpah-unified-header .wpah-social-links a:hover{color:#5bd5fb!important}
.wpah-unified-header .wpah-language-slot{position:static!important;min-height:28px;display:flex!important;align-items:center;justify-content:flex-end;gap:3px;min-width:102px;max-width:118px}
.wpah-unified-header .wpah-language-slot .gtranslate_wrapper,.wpah-unified-header .wpah-language-slot #gtranslate_wrapper,.wpah-unified-header .wpah-language-slot .gt_switcher_wrapper,.wpah-unified-header .wpah-language-slot .wpah-relocated-translator{display:flex!important;position:static!important;align-items:center;gap:3px;float:none!important;transform:none!important;margin:0!important;padding:0!important;box-shadow:none!important;background:none!important}
.wpah-unified-header .wpah-language-slot a{display:inline-flex!important;align-items:center;justify-content:center;line-height:1!important;padding:0 1px!important;background:none!important;color:#fff!important}
.wpah-unified-header .wpah-language-slot img{width:auto!important;max-width:31px!important;max-height:21px!important;height:19px!important;object-fit:contain;vertical-align:middle;display:block}
.wpah-unified-header .wpah-shared-toggle{display:none!important;justify-content:center;align-items:center;flex:0 0 44px;height:42px;margin:0!important;padding:0!important;border:1px solid rgba(255,255,255,.36)!important;border-radius:4px;background:transparent!important;color:#fff!important;cursor:pointer}
.wpah-unified-header .wpah-shared-toggle svg{width:22px;height:22px;stroke:currentColor}
.wpah-unified-header .wpah-submenu-toggle{display:none!important}
.wpah-unified-header a:focus-visible,.wpah-unified-header button:focus-visible{outline:3px solid #75dcff!important;outline-offset:3px!important}
/* Protect the original internal header if client-side mounting fails. */
body.wpah-internal-active.wpah-shared-header-ready #main-header,body.wpah-internal-active.wpah-shared-header-ready #top-header{display:none!important}
body.wpah-internal-active.wpah-shared-header-ready #page-container{padding-top:0!important;margin-top:0!important}
body.wpah-internal-active.wpah-shared-header-ready #et-main-area{padding-top:0!important}
body.wpah-internal-active .wpah-unified-header .wpah-primary-menu>li>a{color:white!important}
@media(max-width:1530px){
 .wpah-unified-header .wpah-shared-inner{min-height:88px;padding-inline:24px;gap:15px}
 .wpah-unified-header .wpah-shared-logo{flex-basis:194px}
 .wpah-unified-header .wpah-shared-logo img{max-width:190px!important}
 .wpah-unified-header .wpah-primary-menu{gap:9px}
 .wpah-unified-header .wpah-primary-menu a{font-size:10px!important}
 .wpah-unified-header .wpah-shared-actions{gap:10px;margin-left:0}
 .wpah-unified-header .wpah-social-links{gap:9px}
 .wpah-unified-header .wpah-language-slot{min-width:94px}
}
@media(max-width:1279px){
 .wpah-unified-header .wpah-shared-inner{min-height:80px;gap:13px}
 .wpah-unified-header .wpah-shared-logo{flex:1 1 auto}
 .wpah-unified-header .wpah-shared-logo img{max-width:210px!important}
 .wpah-unified-header .wpah-shared-navigation{display:none!important;position:absolute!important;top:100%;left:0;right:0;z-index:99999;background:#041935!important;max-height:calc(100vh - 100px);overflow-y:auto!important;padding:10px 18px 22px!important;box-shadow:0 15px 25px rgba(0,0,0,.3)!important}
 .wpah-unified-header .wpah-shared-navigation.is-open{display:block!important}
 .wpah-unified-header .wpah-primary-menu{display:block!important;width:100%!important;padding:0!important;margin:0!important}
 .wpah-unified-header .wpah-primary-menu>li{display:block!important;border-bottom:1px solid rgba(255,255,255,.13)!important;width:100%!important}
 .wpah-unified-header .wpah-primary-menu>li>a{display:block!important;font-size:13px!important;padding:15px 46px 15px 7px!important;text-transform:none!important}
 .wpah-unified-header .wpah-primary-menu>li.menu-item-has-children>a::before{display:none}
 .wpah-unified-header .wpah-submenu-toggle{display:flex!important;align-items:center;justify-content:center;position:absolute;top:5px;right:0;width:42px;height:42px;padding:0!important;border:1px solid rgba(255,255,255,.18)!important;background:transparent!important;color:#fff!important;font-size:24px;cursor:pointer}
 .wpah-unified-header .wpah-primary-menu ul.sub-menu,.wpah-unified-header .wpah-primary-menu li:hover>ul.sub-menu,.wpah-unified-header .wpah-primary-menu li:focus-within>ul.sub-menu{display:none!important;position:static!important;width:100%;max-width:none!important;min-width:0!important;background:#0b2747!important;border:0!important;box-shadow:none!important;padding:0 0 10px 16px!important}
 .wpah-unified-header .wpah-primary-menu li.wpah-submenu-open>ul.sub-menu{display:block!important}
 .wpah-unified-header .wpah-primary-menu ul.sub-menu a{font-size:12px!important;padding:11px 10px!important}
 .wpah-unified-header .wpah-shared-actions{margin-left:auto}
 .wpah-unified-header .wpah-shared-toggle{display:inline-flex!important}
}
@media(max-width:600px){
 .wpah-unified-header .wpah-shared-inner{padding:0 13px;gap:7px;min-height:72px}
 .wpah-unified-header .wpah-shared-logo img{max-width:160px!important;max-height:53px!important}
 .wpah-unified-header .wpah-shared-actions{gap:5px}
 .wpah-unified-header .wpah-social-links{gap:3px}
 .wpah-unified-header .wpah-social-links a{width:21px;height:25px;padding:1px!important}
 .wpah-unified-header .wpah-language-slot{min-width:0;max-width:91px}
 .wpah-unified-header .wpah-language-slot img{height:15px!important;max-height:16px!important;max-width:22px!important}
 .wpah-unified-header .wpah-shared-toggle{flex:0 0 38px;height:38px}
}
@media(max-width:400px){.wpah-unified-header .wpah-shared-logo img{max-width:130px!important}.wpah-unified-header .wpah-language-slot{max-width:75px}.wpah-unified-header .wpah-social-links a{width:18px}}
@media(prefers-reduced-motion:reduce){.wpah-unified-header *{scroll-behavior:auto!important;transition-duration:.01ms!important}}
