/* Dubai FinTech Summit: site header and navigation.
   Mobile breakpoint: 1100px (desktop menu above, drawer below). Works without JavaScript for links; JavaScript adds dropdowns and the drawer. */
:root{--dfs-h:88px;--dfs-bg:#082028;--dfs-panel:#0a2a33;--dfs-accent:#12E9E9;--dfs-ink:#062028;--dfs-line:rgba(255,255,255,.14);--dfs-font:"Lufga",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}
@media (max-width:1100px){:root{--dfs-h:72px}}
@media (max-width:640px){:root{--dfs-h:64px}}
html{scroll-padding-top:calc(var(--dfs-h) + var(--dfs-bar,0px) + 16px)}
html.dfs-lock{overflow:hidden}
body.dfs-lock-body{position:fixed;left:0;right:0;width:100%}

/* ---- reset inside the component (theme styles must not leak in) ---- */
.dfs-hdr,.dfs-drawer,.dfs-backdrop{-webkit-text-size-adjust:100%;box-sizing:border-box;font-family:var(--dfs-font)}
.dfs-hdr *,.dfs-drawer *{box-sizing:border-box}
.dfs-hdr ul,.dfs-drawer ul{list-style:none;margin:0;padding:0}
.dfs-hdr li,.dfs-drawer li{margin:0;padding:0;list-style:none}
.dfs-hdr a,.dfs-drawer a{text-decoration:none;box-shadow:none;border-bottom:0}
.dfs-hdr button,.dfs-drawer button,.dfs-drawer input{font-family:inherit;margin:0;-webkit-appearance:none;appearance:none;border-radius:0}
.dfs-hdr button,.dfs-drawer button{background:none;border:0;padding:0;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.dfs-drawer button{text-transform:none}
.dfs-hdr a,.dfs-drawer a,.dfs-hdr button,.dfs-drawer button{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.dfs-sr{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.dfs-hdr :focus-visible,.dfs-drawer :focus-visible{outline:2px solid var(--dfs-accent)!important;outline-offset:3px!important;border-radius:4px}

/* ---- header bar ---- */
#dfs-hdr-space{height:calc(var(--dfs-h) + var(--dfs-bar,0px))}
.dfs-hdr{position:fixed;top:var(--dfs-bar,0px);left:0;right:0;z-index:2147480500;height:var(--dfs-h);color:#fff;
  transition:background-color .28s ease,box-shadow .28s ease,height .28s ease,-webkit-backdrop-filter .28s ease,backdrop-filter .28s ease}
.dfs-hdr--solid{background:var(--dfs-bg)}
.dfs-hdr--overlay{background:linear-gradient(180deg,rgba(4,18,24,.78) 0%,rgba(4,18,24,.42) 58%,rgba(4,18,24,0) 100%)}
.dfs-hdr.is-scrolled{background:rgba(8,32,40,.96);-webkit-backdrop-filter:saturate(150%) blur(12px);backdrop-filter:saturate(150%) blur(12px);box-shadow:0 8px 28px rgba(0,0,0,.28)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.dfs-hdr.is-scrolled{background:var(--dfs-bg)}}
.dfs-hdr__bar{display:flex;align-items:center;height:100%;max-width:1440px;margin:0 auto;padding:0 max(clamp(16px,4vw,56px),env(safe-area-inset-left)) 0 max(clamp(16px,4vw,56px),env(safe-area-inset-right))}
.dfs-hdr__logo{display:flex;align-items:center;flex:0 0 auto;margin-right:clamp(12px,2vw,32px);line-height:0}
.dfs-hdr__logo img{display:block;height:50px;width:auto;max-width:none}
@media (max-width:1100px){.dfs-hdr__logo img{height:40px}}
@media (max-width:640px){.dfs-hdr__logo img{height:34px}}

/* ---- desktop navigation ---- */
.dfs-nav{flex:1 1 auto;min-width:0;height:100%;display:flex;justify-content:center}
.dfs-nav__list{display:flex;align-items:stretch;height:100%}
.dfs-nav__item{position:relative;display:flex;align-items:center;height:100%;margin:0 3px}
.dfs-nav__link{position:relative;display:flex;align-items:center;gap:6px;height:44px;padding:0 12px;color:#fff;font:600 13.5px/1 var(--dfs-font);letter-spacing:.07em;text-transform:uppercase;white-space:nowrap;
  text-shadow:0 1px 12px rgba(0,0,0,.35);transition:color .18s ease}
.dfs-nav__link:after{content:"";position:absolute;left:12px;right:12px;bottom:4px;height:2px;border-radius:2px;background:var(--dfs-accent);transform:scaleX(0);transform-origin:left center;transition:transform .24s cubic-bezier(.2,.8,.2,1)}
.dfs-nav__item.has-panel>a.dfs-nav__link{padding-right:4px}
.dfs-nav__item.has-panel>a.dfs-nav__link:after{right:4px}
.dfs-nav__link:hover,.dfs-nav__item.is-open>.dfs-nav__link{color:var(--dfs-accent)}
.dfs-nav__link:hover:after,.dfs-nav__item.is-open>.dfs-nav__link:after,.dfs-nav__item.is-current>.dfs-nav__link:after{transform:scaleX(1)}
.dfs-nav__item.is-current>.dfs-nav__link{color:var(--dfs-accent)}
.dfs-nav__link--btn{background:none;border:0;cursor:pointer;text-transform:uppercase}
.dfs-nav__link--btn:after{right:12px}
.dfs-nav__caret{display:flex;align-items:center;justify-content:center;width:26px;height:44px;margin-left:-2px;margin-right:2px;color:#fff;opacity:.9;transition:color .18s ease}
.dfs-nav__caret:hover{color:var(--dfs-accent)}
.dfs-chev{flex:0 0 auto;transition:transform .22s ease}
.dfs-nav__item.is-open .dfs-chev{transform:rotate(180deg)}
.dfs-nav__item.is-open>.dfs-nav__caret{color:var(--dfs-accent)}

/* dropdown panels */
.dfs-panel{position:absolute;top:100%;left:0;min-width:270px;padding:10px;background:var(--dfs-panel);border-top:2px solid var(--dfs-accent);border-radius:0 0 14px 14px;
  box-shadow:0 22px 48px -12px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.05);opacity:0;visibility:hidden;transform:translateY(8px);pointer-events:none;
  transition:opacity .18s ease,transform .22s cubic-bezier(.2,.8,.2,1),visibility 0s linear .22s}
.dfs-panel--end{left:auto;right:0}
.dfs-panel--grid{width:min(620px,calc(100vw - 32px))}
.dfs-panel--grid ul{display:grid;grid-template-columns:1fr 1fr;gap:2px 8px}
.dfs-nav__item.is-open>.dfs-panel{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto;transition-delay:0s}
.dfs-panel__link{display:flex;align-items:center;gap:8px;padding:12px 14px;border-radius:9px;color:#e6f4f6;font:500 15px/1.3 var(--dfs-font);letter-spacing:.01em;transition:background-color .16s ease,color .16s ease}
.dfs-panel__link:hover{background:rgba(18,233,233,.12);color:var(--dfs-accent)}
.dfs-panel__link[aria-current=page]{color:var(--dfs-accent);font-weight:600}
.dfs-ext{opacity:.7;flex:0 0 auto}

/* actions */
.dfs-hdr__actions{display:flex;align-items:center;gap:8px;flex:0 0 auto;margin-left:auto}
.dfs-nav+.dfs-hdr__actions{margin-left:clamp(8px,1.4vw,20px)}
.dfs-hdr__search{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;color:#fff;transition:color .18s ease,background-color .18s ease}
.dfs-hdr__search:hover{color:var(--dfs-accent);background:rgba(255,255,255,.08)}
.dfs-cta{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 22px;border:1px solid rgba(255,255,255,.6);border-radius:8px;color:#fff;font:600 13.5px/1 var(--dfs-font);letter-spacing:.04em;white-space:nowrap;
  transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .2s ease}
.dfs-cta:hover{background:var(--dfs-accent);border-color:var(--dfs-accent);color:var(--dfs-ink)}
.dfs-cta:active{transform:translateY(1px)}
.dfs-burger{display:none;align-items:center;justify-content:center;width:46px;height:46px;border-radius:12px;color:#fff;transition:background-color .18s ease}
.dfs-burger:hover{background:rgba(255,255,255,.1)}
.dfs-burger__bars{position:relative;display:block;width:22px;height:16px}
.dfs-burger__bars i{position:absolute;left:0;right:0;height:2px;border-radius:2px;background:currentColor}
.dfs-burger__bars i:nth-child(1){top:0}.dfs-burger__bars i:nth-child(2){top:7px;width:70%;left:auto}.dfs-burger__bars i:nth-child(3){top:14px}

/* small laptops: tighter so everything fits from 1101px */
@media (min-width:1101px) and (max-width:1280px){
  .dfs-hdr__bar{padding-left:16px;padding-right:16px}
  .dfs-hdr__logo{margin-right:6px}.dfs-hdr__logo img{height:42px}
  .dfs-nav__link{padding:0 7px;font-size:12.5px;letter-spacing:.04em}
  .dfs-nav__link:after{left:7px;right:7px}
  .dfs-nav__item.has-panel>a.dfs-nav__link{padding-right:2px}.dfs-nav__item.has-panel>a.dfs-nav__link:after{right:2px}
  .dfs-nav__caret{width:20px}
  .dfs-nav__item{margin:0 1px}
  .dfs-cta{padding:0 13px;font-size:12.5px}
  .dfs-nav+.dfs-hdr__actions{margin-left:6px}
}
@media (min-width:1101px) and (max-width:1180px){.dfs-hdr__search{display:none}}
/* compact desktop (laptops) */
@media (min-width:1101px) and (max-width:1360px){
  .dfs-nav__link{padding:0 9px;font-size:13px;letter-spacing:.05em}
  .dfs-nav__link:after{left:9px;right:9px}
  .dfs-nav__item.has-panel>a.dfs-nav__link{padding-right:3px}
  .dfs-cta{padding:0 16px;font-size:13px}
  .dfs-hdr__logo{margin-right:12px}
}

/* ---- tablet and phone: drawer ---- */
@media (max-width:1100px){
  .dfs-nav,.dfs-hdr__search{display:none}
  .dfs-burger{display:flex}
  .dfs-hdr__actions{gap:10px}
}
@media (max-width:640px){.dfs-hdr__actions .dfs-cta:not(.dfs-cta--block){display:none}}

.dfs-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;z-index:2147480900;background:rgba(3,12,16,.62);opacity:0;transition:opacity .3s ease;-webkit-tap-highlight-color:transparent}
.dfs-backdrop.is-open{opacity:1}
.dfs-backdrop[hidden],.dfs-drawer[hidden]{display:none}
.dfs-drawer{position:fixed;top:0;right:0;bottom:0;z-index:2147481000;width:min(92vw,420px);height:100vh;height:100dvh;display:flex;flex-direction:column;background:var(--dfs-bg);color:#fff;
  box-shadow:-24px 0 60px rgba(0,0,0,.45);transform:translate3d(100%,0,0);transition:transform .34s cubic-bezier(.2,.8,.2,1);padding-bottom:env(safe-area-inset-bottom);will-change:transform}
.dfs-drawer.is-open{transform:translate3d(0,0,0)}
.dfs-drawer__top{display:flex;align-items:center;justify-content:space-between;flex:0 0 auto;height:var(--dfs-h);padding:0 max(18px,env(safe-area-inset-right)) 0 20px;border-bottom:1px solid var(--dfs-line)}
.dfs-drawer__top .dfs-hdr__logo img{height:34px}
.dfs-drawer__close{position:relative;width:46px;height:46px;border-radius:12px;color:#fff}
.dfs-drawer__close:hover{background:rgba(255,255,255,.1)}
.dfs-drawer__close i{position:absolute;left:12px;right:12px;top:22px;height:2px;border-radius:2px;background:currentColor}
.dfs-drawer__close i:nth-child(1){transform:rotate(45deg)}.dfs-drawer__close i:nth-child(2){transform:rotate(-45deg)}
.dfs-drawer__scroll{flex:1 1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:18px max(20px,env(safe-area-inset-right)) 110px 20px}
.dfs-m__search{display:flex;align-items:center;margin:0 0 10px;border:1px solid rgba(255,255,255,.2);border-radius:12px;background:rgba(255,255,255,.06)}
.dfs-m__search input{flex:1 1 auto;min-width:0;height:50px;padding:0 6px 0 16px;border:0;background:transparent;color:#fff;font:400 16px/1 var(--dfs-font);outline:0}
.dfs-m__search input::placeholder{color:rgba(255,255,255,.62)}
.dfs-m__search input::-webkit-search-cancel-button{-webkit-appearance:none}
.dfs-m__search:focus-within{border-color:var(--dfs-accent)}
.dfs-m__search button{display:flex;align-items:center;justify-content:center;width:50px;height:50px;color:#fff}
.dfs-m__item{border-bottom:1px solid var(--dfs-line)}
.dfs-m__row{display:flex;align-items:stretch}
.dfs-m__link{display:flex;align-items:center;flex:1 1 auto;min-height:56px;padding:0 4px;color:#fff;font:600 17px/1.25 var(--dfs-font);letter-spacing:.01em;transition:color .16s ease}
.dfs-m__link:hover,.dfs-m__link[aria-current=page]{color:var(--dfs-accent)}
.dfs-m__link--btn{justify-content:space-between;width:100%;text-align:left}
.dfs-drawer .dfs-m__link--btn{padding:0 21px 0 4px}
.dfs-drawer .dfs-m__link--btn span{flex:1 1 auto}
.dfs-m__toggle{display:flex;align-items:center;justify-content:center;flex:0 0 56px;width:56px;color:#fff;border-left:1px solid var(--dfs-line)}
.dfs-m__toggle .dfs-chev,.dfs-m__link--btn .dfs-chev{width:14px;height:14px}
.dfs-m__item.is-open .dfs-chev{transform:rotate(180deg)}
.dfs-m__item.is-open>.dfs-m__row .dfs-m__toggle,.dfs-m__item.is-open>.dfs-m__link--btn{color:var(--dfs-accent)}
.dfs-m__sub{max-height:0;overflow:hidden;transition:max-height .3s ease}
.dfs-m__item.is-open>.dfs-m__sub{max-height:1200px}
.dfs-m__sub ul{margin:0 0 14px 6px;padding-left:14px;border-left:2px solid rgba(18,233,233,.4)}
.dfs-m__sublink{display:flex;align-items:center;gap:8px;min-height:48px;padding:0 6px;color:#d4e6ea;font:500 16px/1.3 var(--dfs-font)}
.dfs-m__sublink:hover,.dfs-m__sublink[aria-current=page]{color:var(--dfs-accent)}
.dfs-cta--block{display:flex;width:100%;height:54px;margin-top:26px;border-color:var(--dfs-accent);background:var(--dfs-accent);color:var(--dfs-ink);font-size:16px}
.dfs-cta--block:hover{background:#4af2f2;border-color:#4af2f2}
@media (max-width:360px){.dfs-m__link{font-size:16px}}

/* archive: banner sits above the header */
body.dfs-archive{--dfs-bar:40px}
@media (max-width:700px){body.dfs-archive{--dfs-bar:54px}}

@media (prefers-reduced-motion:reduce){
  .dfs-hdr,.dfs-panel,.dfs-drawer,.dfs-backdrop,.dfs-m__sub,.dfs-chev,.dfs-nav__link:after,.dfs-cta{transition:none!important}
}
@media print{.dfs-hdr,.dfs-drawer,.dfs-backdrop,#dfs-hdr-space{display:none!important}}
