body.awc-heritage-active .banner-wrapper:not(.awc-h-flags){display:none!important}
body.awc-heritage-active{padding-bottom:42px}
#awc-heritage-root{position:relative;z-index:9999}
.awc-h-header{position:fixed;top:0;left:50%;transform:translateX(-50%);width:min(100%,1200px);background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border:1px solid #e6ece8;border-top:0;border-radius:0 0 18px 18px;box-shadow:0 10px 26px rgba(17,61,47,.07);transition:transform .24s ease,box-shadow .24s ease}
.awc-h-header.awc-h-hidden{transform:translate(-50%,-105%)}
.awc-h-top{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 18px}
.awc-h-brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:#24483b;min-width:0}
.awc-h-brand img{width:48px;height:48px;object-fit:contain}
.awc-h-brand span{display:grid;gap:2px}.awc-h-brand strong{font-size:18px;letter-spacing:-.02em}.awc-h-brand small{font-size:11px;white-space:nowrap;color:#557469}
.awc-h-top button,.awc-h-account{border:1px solid #cfe0d7;border-radius:999px;padding:9px 15px;background:linear-gradient(180deg,#f8fcfa,#edf5f1);color:#1c5b42;font-weight:700;cursor:pointer;text-decoration:none;box-shadow:0 2px 8px rgba(15,63,49,.04)}
.awc-h-top button:hover,.awc-h-account:hover{background:#f3faf6}
.awc-h-actions{display:flex;align-items:center;gap:10px}
.awc-h-actions form{display:flex;align-items:center;border:1px solid #dfe7e2;border-radius:999px;background:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.awc-h-actions input{max-width:150px;width:100%;border:0;background:transparent;padding:8px 12px;color:#27493b}
.awc-h-actions input::placeholder{color:#8aa198}
.awc-h-actions form button{border:0;background:transparent;padding:7px 11px;color:#477564}
.awc-h-logout{font-size:12px;color:#8d3636;text-decoration:none}
.awc-h-nav{display:none;padding:4px 16px 14px}.awc-h-nav.open{display:block}
.awc-h-nav>ul{display:flex;flex-wrap:wrap;list-style:none;justify-content:center;gap:10px;margin:0;padding:0}.awc-h-nav>ul>li{position:relative}.awc-h-nav>ul>li>a{display:block;padding:8px 14px;border-radius:999px;background:#f7faf8;border:1px solid #e7ece9;color:#254b39;text-decoration:none;font-weight:650;font-size:.95rem}
.awc-h-nav>ul>li>a:hover{background:#eef6f2}
.awc-h-sub{display:none;position:absolute;top:calc(100% + 8px);left:0;z-index:100;min-width:245px;margin:0;padding:8px;list-style:none;border:1px solid #e7ece9;background:white;border-radius:14px;box-shadow:0 16px 34px rgba(25,61,41,.12)}
.awc-h-sub a{display:block;padding:8px 10px;color:#244536;text-decoration:none;border-radius:9px;font-size:.93rem}.awc-h-sub a:hover{background:#eaf4ee}
.awc-h-nav li:hover>.awc-h-sub,.awc-h-nav li:focus-within>.awc-h-sub,.awc-h-sub.open{display:block}
.awc-h-spacer{height:76px}
.awc-h-flags{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,1200px);height:38px;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);z-index:9990;overflow:hidden;border:1px solid #e5eae7;border-radius:14px 14px 0 0;transition:transform .28s ease,opacity .28s ease;box-shadow:0 -6px 18px rgba(17,61,47,.05)}
.awc-h-flags.awc-h-hidden{transform:translate(-50%,110%);opacity:.9}.awc-h-flag-track{display:flex;width:max-content;animation:awc-flag-marquee 38s linear infinite;will-change:transform}.awc-h-flag-seq{display:flex;align-items:center;gap:15px;white-space:nowrap;padding:5px 14px;flex-shrink:0}.awc-h-flag-seq a,.awc-h-flag-seq span{text-decoration:none;font-size:22px;line-height:1}
.awc-h-flags:hover .awc-h-flag-track,.awc-h-flags:focus-within .awc-h-flag-track{animation-play-state:paused}@keyframes awc-flag-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.awc-h-skip{position:fixed;top:-60px;left:8px;z-index:10000;background:white;padding:8px}.awc-h-skip:focus{top:8px}
@media(prefers-reduced-motion:reduce){.awc-h-flag-track{animation:none}.awc-h-header,.awc-h-flags{transition:none}}
@media(max-width:900px){.awc-h-header{border-radius:0 0 14px 14px}.awc-h-top{padding:10px 12px;gap:10px;flex-wrap:wrap}.awc-h-brand img{width:42px;height:42px}.awc-h-actions{width:100%;justify-content:flex-end}.awc-h-actions form{flex:1 1 180px;min-width:0}.awc-h-actions input{max-width:none;width:100%}.awc-h-nav>ul{justify-content:flex-start}}
@media(max-width:640px){body.awc-heritage-active{padding-bottom:38px}.awc-h-top button,.awc-h-account{padding:8px 13px}.awc-h-nav>ul>li>a{font-size:.92rem;padding:8px 12px}.awc-h-flags{height:34px}.awc-h-flag-seq{gap:12px;padding:4px 12px}.awc-h-flag-seq a,.awc-h-flag-seq span{font-size:20px}}
body.awc-heritage-active :is(.amiin-header, #amiin-header-spacer, .banner-wrapper, .site-header, #masthead, .elementor-location-header, .wp-block-template-part:has(header), .site-branding):not(#awc-heritage-root):not(.awc-h-header) {display:none!important}
body.awc-heritage-active :is(.amiin-header, .banner-wrapper, #masthead, .site-header, .elementor-location-header){visibility:hidden!important}
body.awc-heritage-active #awc-heritage-root .awc-h-header,body.awc-heritage-active #awc-heritage-root .awc-h-flags{display:block!important;visibility:visible!important}

/* v7.6 — proper themed submenus, separate usable link and expansion button. */
#awc-heritage-root .awc-h-nav>ul>li.awc-h-has-sub{display:flex;align-items:center;flex-wrap:nowrap;gap:0}
#awc-heritage-root .awc-h-nav>ul>li.awc-h-has-sub>.awc-h-area-link{border-radius:999px 0 0 999px;padding-right:9px}
#awc-heritage-root .awc-h-sub-toggle{padding:7px 11px 7px 6px;border-radius:0 999px 999px 0;border:1px solid #e7ece9;border-left:0;background:#f7faf8;color:#346c54;min-height:39px;font-size:15px;box-shadow:none}
#awc-heritage-root .awc-h-has-sub:hover>.awc-h-sub-toggle,#awc-heritage-root .awc-h-sub-toggle[aria-expanded="true"]{background:#eaf4ee}
#awc-heritage-root .awc-h-nav .awc-h-sub{display:none;top:calc(100% + 4px);border-radius:15px;padding:8px;box-shadow:0 15px 32px rgba(17,61,47,.12)}
#awc-heritage-root .awc-h-nav .awc-h-has-sub:hover>.awc-h-sub,#awc-heritage-root .awc-h-nav .awc-h-has-sub:focus-within>.awc-h-sub,#awc-heritage-root .awc-h-nav .awc-h-has-sub.awc-h-sub-open>.awc-h-sub{display:block}
#awc-heritage-root .awc-h-nav .awc-h-sub li{display:block}
#awc-heritage-root :is(.awc-h-sub-toggle,.awc-h-nav a,#awc-h-toggle):focus-visible{outline:3px solid #267d5e;outline-offset:3px}
@media(max-width:900px){#awc-heritage-root .awc-h-nav .awc-h-sub{position:static;flex-basis:100%;width:100%;max-width:100%;min-width:0;box-shadow:none;margin-top:6px}#awc-heritage-root .awc-h-nav .awc-h-has-sub{flex-wrap:wrap;justify-content:space-between}#awc-heritage-root .awc-h-nav .awc-h-has-sub:hover>.awc-h-sub{display:none}#awc-heritage-root .awc-h-nav .awc-h-has-sub.awc-h-sub-open>.awc-h-sub{display:block}#awc-heritage-root .awc-h-nav .awc-h-has-sub>.awc-h-area-link{flex:1 1 auto}}
