/* AFRA V6.10: refined public header. Scoped to #header to avoid affecting portal. */
:root{--afra-header-ink:#173a5f;--afra-header-muted:#7890a9;--afra-header-border:rgba(41,104,162,.13)}
.announcement{height:34px!important;min-height:34px!important;background:#12375f!important;color:#edf6ff!important}
.announcement[hidden]{display:none!important}
.announcement .announcement-inner{height:34px!important;font-size:11px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;max-width:1500px!important;width:calc(100% - 56px)!important;gap:16px!important}
.announcement .announce-message,.announcement .announce-side{display:inline-flex;align-items:center;gap:9px;min-width:0;white-space:nowrap}
.announcement .announce-message{font-weight:600;color:#f5f9ff}
.announcement .announce-message #announcementMessage{overflow:hidden;text-overflow:ellipsis}
.announcement .announce-side{color:#bfd7ec}
.announcement .announce-side>a{color:#fff;opacity:.94;text-decoration:none;margin-right:8px;border-right:1px solid rgba(255,255,255,.18);padding-right:14px}
.announcement .announce-side>a:hover{color:#ffd1d7}
.announcement .tiny-dot{width:7px;height:7px;flex:0 0 7px;background:#fa5267!important;box-shadow:0 0 0 4px rgba(250,82,103,.13)!important}
#header.site-header{position:sticky;top:0;z-index:75;background:rgba(255,255,255,.94)!important;border-bottom:1px solid rgba(42,97,151,.12)!important;box-shadow:0 10px 30px rgba(22,64,112,.07)!important;-webkit-backdrop-filter:blur(18px) saturate(155%)!important;backdrop-filter:blur(18px) saturate(155%)!important}
#header.site-header:after{content:'';height:2px;position:absolute;left:0;right:0;bottom:-1px;background:linear-gradient(90deg,transparent 4%,rgba(183,31,52,.48) 26%,rgba(37,106,162,.35) 68%,transparent 96%);pointer-events:none}
#header .afra-header-inner{height:84px!important;min-height:84px!important;max-width:1500px!important;width:calc(100% - 56px)!important;display:flex!important;align-items:center!important;gap:18px!important}
#header .afra-header-brand{display:inline-flex;align-items:center;gap:12px;flex:0 0 auto;max-width:310px;min-width:0;text-decoration:none}
#header .brand-mark{width:60px;height:60px;flex:0 0 60px;display:grid;place-items:center;background:#fff;border:1px solid rgba(24,75,126,.10);border-radius:17px;box-shadow:0 7px 22px rgba(19,62,103,.08);padding:5px;overflow:hidden}
#header .brand-mark img{width:100%!important;height:100%!important;object-fit:contain!important;filter:none!important;border-radius:10px!important;box-shadow:none!important}
#header .afra-header-brand .brand-copy{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.5}
#header .afra-header-brand .brand-copy strong{font-weight:900!important;color:#153e6a!important;font-size:clamp(17px,1.25vw,21px)!important;letter-spacing:-.45px!important;white-space:nowrap;max-width:235px;overflow:hidden;text-overflow:ellipsis}
#header .afra-header-brand .brand-copy small{font-size:9px!important;letter-spacing:.8px!important;direction:ltr;text-align:right;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5;color:#7a91a8!important}
#header .afra-main-nav{display:flex!important;align-items:center!important;gap:2px!important;margin-inline:auto!important;background:transparent!important;border:0!important;box-shadow:none!important;position:static!important;padding:0!important;flex-wrap:nowrap!important;min-width:0!important}
#header .afra-main-nav>a{height:40px;padding:0 11px!important;border-radius:11px!important;display:inline-flex;align-items:center;justify-content:center;font-size:12px!important;font-weight:750!important;white-space:nowrap;color:#31597a!important;transition:color .2s, background .2s!important;text-decoration:none}
#header .afra-main-nav>a:after{display:none!important}
#header .afra-main-nav>a:hover{color:#b5223b!important;background:#f7e9ed!important}
#header .afra-main-nav>a.active,#header .afra-main-nav>a[aria-current="page"]{color:#bf273c!important;background:#fff0f2!important}
#header .afra-head-actions{display:flex!important;align-items:center!important;gap:9px!important;margin:0!important;margin-inline-start:auto!important;flex-shrink:0}
#header .afra-head-actions .head-customer,#header .afra-head-actions .head-portal{height:43px!important;min-height:43px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:0 14px!important;border-radius:12px!important;font-weight:800!important;font-size:12px!important;line-height:1!important;white-space:nowrap!important;text-decoration:none!important;box-shadow:none!important}
#header .afra-head-actions .head-customer{background:#f7fbff!important;border:1px solid #cbdfee!important;color:#245a8a!important}
#header .afra-head-actions .head-customer:hover{background:#e8f3ff!important;box-shadow:0 5px 18px rgba(25,78,129,.08)!important}
#header .afra-head-actions .head-portal{background:linear-gradient(135deg,#1c5b92,#16436e)!important;border:1px solid rgba(24,79,135,.3)!important;color:#fff!important;box-shadow:0 8px 22px rgba(26,77,123,.16)!important}
#header .afra-head-actions .head-portal:hover{background:linear-gradient(135deg,#226da7,#154875)!important;box-shadow:0 12px 28px rgba(26,77,123,.23)!important}
#header .header-action-icon{font-size:18px;line-height:1;opacity:.9}
#header .afra-theme-toggle{display:grid!important;place-items:center;min-width:43px!important;width:43px!important;max-width:43px!important;height:43px!important;min-height:43px!important;padding:0!important;background:#f5f9fd!important;border:1px solid #d1e2f0!important;color:#2c628e!important;border-radius:12px!important;box-shadow:none!important}
#header .afra-theme-toggle:hover{background:#eaf3fc!important}
#header .afra-theme-toggle>span:first-child{font-size:22px;font-weight:400}
#header .afra-theme-toggle .theme-word{display:none!important}
#header .afra-mobile-nav-actions{display:none}
#header .nav-toggle{display:none!important}
@media(max-width:1280px){
 #header .afra-header-inner{gap:11px!important}
 #header .afra-main-nav>a{padding-inline:8px!important;font-size:11px!important}
 #header .afra-header-brand .brand-copy strong{font-size:18px!important}
 #header .brand-mark{width:52px;height:52px;flex-basis:52px}
 #header .afra-head-actions .head-customer,#header .afra-head-actions .head-portal{padding-inline:10px!important}
}
@media(max-width:1100px){
 #header .afra-header-inner{height:75px!important;min-height:75px!important;gap:10px!important}
 #header .afra-main-nav{display:none!important;position:absolute!important;top:calc(100% - 1px)!important;right:16px!important;left:16px!important;width:auto!important;background:rgba(255,255,255,.98)!important;border:1px solid #d5e5f1!important;padding:10px!important;box-shadow:0 21px 50px rgba(17,58,105,.18)!important;border-radius:0 0 18px 18px!important;flex-direction:column!important;align-items:stretch!important;max-height:min(75vh,640px);overflow-y:auto}
 #header .afra-main-nav.open{display:flex!important}
 #header .afra-main-nav>a{display:flex!important;justify-content:flex-start!important;text-align:right!important;padding:13px 15px!important;height:auto!important;font-size:14px!important;border-radius:12px!important}
 #header .nav-toggle{display:grid!important;place-items:center;width:43px!important;height:43px!important;min-width:43px!important;background:#eef5fd!important;border:1px solid #c9dced!important;border-radius:12px!important;box-shadow:none!important;color:#245b89!important}
 #header .nav-toggle .hamb i{background:#235984!important}
 #header .nav-toggle[aria-expanded="true"]{background:#e0effb!important}
 #header .afra-head-actions{gap:8px!important}
 #header .afra-header-brand .brand-copy strong{max-width:260px}
}
@media(max-width:750px){
 .announcement .announcement-inner{width:calc(100% - 30px)!important;justify-content:center!important}
 .announcement .announce-side{display:none!important}
 .announcement .announce-message{font-size:10px!important;text-align:center;max-width:100%}
 #header .afra-header-inner{width:calc(100% - 30px)!important;height:69px!important;min-height:69px!important}
 #header .brand-mark{width:45px;height:45px;flex-basis:45px;padding:3px;border-radius:13px}
 #header .afra-header-brand{gap:7px;flex:1 1 auto;max-width:calc(100% - 106px)}
 #header .afra-header-brand .brand-copy strong{font-size:15px!important;max-width:calc(100vw - 190px)}
 #header .afra-header-brand .brand-copy small{font-size:7px!important;max-width:calc(100vw - 190px);letter-spacing:.25px!important}
 #header .afra-head-actions{gap:5px!important;margin-inline-start:auto!important}
 #header .afra-head-actions>.head-customer,#header .afra-head-actions>.head-portal{display:none!important}
 #header .afra-theme-toggle{height:39px!important;min-height:39px!important;width:39px!important;min-width:39px!important;max-width:39px!important}
 #header .nav-toggle{height:39px!important;width:39px!important;min-width:39px!important}
 #header .afra-main-nav .afra-mobile-nav-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;border-top:1px solid #e2ebf2;padding:13px 4px 4px;margin-top:7px}
 #header .afra-mobile-nav-actions a{display:flex;align-items:center;justify-content:center;min-height:43px;border:1px solid #c7dcec;border-radius:12px;background:#f3f9ff;color:#215b88;font-weight:800;font-size:12px;text-decoration:none}
 #header .afra-mobile-nav-actions a:last-child{background:#1c588c;color:white;border-color:#1c588c}
}
@media(max-width:375px){#header .afra-header-brand .brand-copy strong{font-size:13px!important;max-width:145px}#header .afra-header-brand .brand-copy small{font-size:6.6px!important;max-width:145px}}
html[data-theme="dark"] #header.site-header{background:rgba(11,31,54,.97)!important;border-color:rgba(131,177,220,.17)!important;box-shadow:0 10px 30px rgba(0,0,0,.19)!important}
html[data-theme="dark"] #header .afra-header-brand .brand-copy strong{color:#f1f7ff!important}
html[data-theme="dark"] #header .afra-header-brand .brand-copy small{color:#b0c4dc!important}
html[data-theme="dark"] #header .brand-mark{background:#f8fbff}
html[data-theme="dark"] #header .afra-main-nav>a{color:#c5d8ed!important}
html[data-theme="dark"] #header .afra-main-nav>a.active,html[data-theme="dark"] #header .afra-main-nav>a:hover{background:#57283d!important;color:#ffc6cf!important}
html[data-theme="dark"] #header .afra-theme-toggle{color:#d9e9f8!important;background:#203c5a!important;border-color:#3b607d!important}
html[data-theme="dark"] #header .afra-head-actions .head-customer{color:#d5eaff!important;background:#1c3b5b!important;border-color:#3f6586!important}
html[data-theme="dark"] #header .afra-head-actions .head-portal{background:linear-gradient(135deg,#b82543,#931d36)!important;border-color:#d34b67!important}
@media(max-width:1100px){html[data-theme="dark"] #header .afra-main-nav{background:#132e4c!important;border-color:#365c80!important}html[data-theme="dark"] #header .nav-toggle{background:#1c3e5d!important;border-color:#406a8b!important}html[data-theme="dark"] #header .nav-toggle .hamb i{background:#e1edf9!important}}
@media(max-width:750px){html[data-theme="dark"] #header .afra-mobile-nav-actions{border-color:#375675}html[data-theme="dark"] #header .afra-mobile-nav-actions a:first-child{background:#183a5c;color:#e6f5ff;border-color:#3d668b}}
@media(prefers-reduced-motion:reduce){#header .afra-main-nav>a{transition:none!important}}


/* AFRA V6.11 — animated 2026 header */
#header.site-header{transition:box-shadow .25s ease,background .25s ease,border-color .25s ease}
#header .afra-main-nav>a{overflow:hidden}
#header .afra-main-nav>a::before{content:"";position:absolute;inset:auto 12px 7px; height:2px;border-radius:2px;background:linear-gradient(90deg,#bf243d,#1e6096);transform:scaleX(0);transform-origin:right;transition:transform .24s ease}
#header .afra-main-nav>a:hover::before,#header .afra-main-nav>a.active::before,#header .afra-main-nav>a[aria-current="page"]::before{transform:scaleX(1)}
#header .afra-main-nav>a:hover{box-shadow:0 10px 22px rgba(181,31,58,.08)}
#header .afra-head-actions .head-customer,#header .afra-head-actions .head-portal,#header .afra-theme-toggle,#header .nav-toggle{transition:transform .22s ease,box-shadow .22s ease,background .22s ease,border-color .22s ease}
#header .afra-theme-toggle:hover,#header .nav-toggle:hover,#header .afra-head-actions .head-customer:hover,#header .afra-head-actions .head-portal:hover{transform:translateY(-2px)}
@media(max-width:1100px){#header .afra-main-nav{transform-origin:top center;animation:afraMenuDown .24s ease both}#header .afra-main-nav>a{position:relative;overflow:hidden}#header .afra-main-nav>a::before{left:15px;right:auto;bottom:11px;width:28px}#header .afra-main-nav>a:hover{padding-right:20px!important}}
@keyframes afraMenuDown{from{opacity:0;transform:translateY(-10px) scale(.98)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){#header.site-header,#header .afra-main-nav>a,#header .afra-head-actions .head-customer,#header .afra-head-actions .head-portal,#header .afra-theme-toggle,#header .nav-toggle{transition:none!important}#header .afra-main-nav{animation:none!important}}


/* V6.12 — 2026 animated menu polish */
#header.site-header{background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.84))!important;backdrop-filter:blur(18px) saturate(170%);border-bottom:1px solid rgba(175,197,218,.75)}
#header .afra-header-shell{position:relative}
#header .afra-main-nav{gap:8px!important;padding:8px 10px;border-radius:24px;background:rgba(247,250,253,.9);border:1px solid rgba(207,222,235,.9);box-shadow:inset 0 1px 0 rgba(255,255,255,.75)}
#header .afra-main-nav>a{padding:12px 16px!important;border-radius:16px!important;font-weight:800!important;color:#275078!important;transition:transform .22s ease,box-shadow .22s ease,background .22s ease,color .22s ease}
#header .afra-main-nav>a:hover,#header .afra-main-nav>a.active,#header .afra-main-nav>a[aria-current="page"]{background:linear-gradient(135deg,rgba(207,39,68,.10),rgba(39,96,145,.08));color:#113a61;box-shadow:0 12px 24px rgba(18,58,99,.09)}
#header .afra-main-nav>a::before{bottom:8px!important;left:16px!important;right:16px!important;height:3px!important}
#header .afra-head-actions .head-customer{background:linear-gradient(135deg,#ffffff,#f2f7fb)!important;border:1px solid rgba(190,211,229,.95)!important;box-shadow:0 10px 22px rgba(21,76,123,.06)!important}
#header .afra-head-actions .head-portal{background:linear-gradient(135deg,#184f81,#28639a)!important;box-shadow:0 14px 26px rgba(24,79,129,.22)!important}
#header .afra-theme-toggle{background:linear-gradient(135deg,#f9fcff,#eef5fb)!important;border:1px solid rgba(191,212,229,.95)!important;box-shadow:0 10px 22px rgba(15,58,98,.06)!important}
#header .nav-toggle{background:linear-gradient(135deg,#194f81,#2a679f)!important;box-shadow:0 14px 28px rgba(25,79,129,.20)!important}
#header .afra-brand-mark{box-shadow:0 10px 25px rgba(15,58,98,.12)}
@media(max-width:1100px){#header .afra-main-nav{padding:12px;border-radius:22px;background:rgba(255,255,255,.96)}#header .afra-main-nav>a{padding:14px 16px!important}}
html[data-theme="dark"] #header.site-header{background:linear-gradient(180deg,rgba(9,28,47,.92),rgba(11,32,52,.9))!important;border-bottom-color:#274768}
html[data-theme="dark"] #header .afra-main-nav{background:rgba(18,42,68,.86);border-color:#2c4f73}
html[data-theme="dark"] #header .afra-main-nav>a{color:#dbeaff!important}
html[data-theme="dark"] #header .afra-main-nav>a:hover,html[data-theme="dark"] #header .afra-main-nav>a.active,html[data-theme="dark"] #header .afra-main-nav>a[aria-current="page"]{background:linear-gradient(135deg,rgba(207,39,68,.16),rgba(39,96,145,.16));color:#fff}
