/* Reuse the exact upper bar artwork. The layers cannot capture menu input. */
#zawaj-homepage-preview #homepage-top :is(.mega-menu,.course-registration-options){
    isolation:isolate;
    background-image:url('header-ornament.svg')!important;
    background-size:180px 180px!important;
    background-repeat:repeat!important;
    animation:zdo-ornament-drift 36s linear infinite;
}
#zawaj-homepage-preview #homepage-top :is(.mega-menu,.course-registration-options)>:not(.zdo-ornament-light){position:relative;z-index:1}
#zawaj-homepage-preview #homepage-top .zdo-ornament-light{
    display:block;position:absolute;inset:0;z-index:0;pointer-events:none!important;
    border-radius:inherit;overflow:hidden;
    background:url('ornament-highlight.svg') repeat 0 0/180px 180px;
    animation:zdo-ornament-drift 36s linear infinite;
    opacity:0;transition:opacity .35s ease;
    mask-image:radial-gradient(circle 160px at var(--zdo-x,50%) var(--zdo-y,50%),#000 0%,#000a 35%,transparent 90%);
    -webkit-mask-image:radial-gradient(circle 160px at var(--zdo-x,50%) var(--zdo-y,50%),#000 0%,#000a 35%,transparent 90%);
}
#zawaj-homepage-preview #homepage-top .zdo-ornament-light.is-lit{opacity:.75}
/* Match the existing plain Bank Accounts link, including its pink hover text. */
#zawaj-homepage-preview #homepage-top :is(.mega-menu,.course-registration-options) a{
    display:flex!important;align-items:center;justify-content:center!important;width:100%;
    padding:0!important;border:0!important;border-radius:0!important;min-height:0;
    font-family:Tajawal,sans-serif!important;font-size:16px!important;font-weight:400!important;line-height:1.65!important;
    color:#fff!important;background:transparent!important;box-shadow:none!important;text-align:center!important;text-decoration:none;
    transform:none!important;transition:color .2s ease!important;
}
#zawaj-homepage-preview #homepage-top :is(.mega-menu,.course-registration-options) a :is(.elementor-button-content-wrapper,.elementor-button-text){font:inherit!important;color:inherit!important;background:transparent!important;box-shadow:none!important}
#zawaj-homepage-preview #homepage-top :is(.mega-menu,.course-registration-options) a:hover{background:transparent!important;box-shadow:none!important;color:#f4c5c1!important}
#zawaj-homepage-preview #homepage-top :is(.mega-menu,.course-registration-options) a:focus-visible{outline:2px solid #f5c7c3;outline-offset:3px;border-radius:6px!important}
/* Keep the document overview above a compact two-column list. */
#zawaj-homepage-preview #homepage-top #nav-governance{width:520px!important;max-width:calc(100vw - 32px);grid-template-columns:minmax(0,1fr)!important}
#zawaj-homepage-preview #homepage-top #nav-governance>div{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 22px!important;min-width:0;width:100%!important}
#zawaj-homepage-preview #homepage-top #nav-governance>div>.menu-caption,
#zawaj-homepage-preview #homepage-top #nav-governance>div>.zdp-document-sections-menu{grid-column:1/-1}
#zawaj-homepage-preview #homepage-top #nav-governance>div>.elementor-widget-button:last-child{grid-column:1}
#zawaj-homepage-preview #homepage-top #nav-governance>div>.elementor-widget-button{display:flex;flex-direction:column;justify-content:center;min-width:0;width:100%!important;align-self:stretch}
#zawaj-homepage-preview #homepage-top #nav-governance a{white-space:normal!important;overflow-wrap:normal}
@media(max-width:767px){#zawaj-homepage-preview #homepage-top #nav-governance{width:100%!important;max-width:100%}#zawaj-homepage-preview #homepage-top #nav-governance>div{gap:0 14px!important}}
@keyframes zdo-ornament-drift{from{background-position:0 0}to{background-position:180px 180px}}
@media(hover:none),(pointer:coarse),(prefers-reduced-motion:reduce){
    #zawaj-homepage-preview #homepage-top :is(.mega-menu,.course-registration-options),
    #zawaj-homepage-preview #homepage-top .zdo-ornament-light{animation:none}
    #zawaj-homepage-preview #homepage-top .zdo-ornament-light{display:none;transition:none}
}
