/* Shared navigation: original masthead above the hero, compact bar after the calls to action. */
html { scroll-padding-top:90px; }
.dlci-header-fixed #masthead { position:fixed!important; top:0!important; left:0; right:0; width:100%; z-index:1200; background:#fffffffa!important; border-bottom:1px solid #dde4ea; box-shadow:0 6px 28px #0c223b12; backdrop-filter:blur(14px); }
.dlci-header-fixed #masthead .site-header-row-container-inner { background:transparent!important; }
.dlci-header-fixed #masthead .site-main-header-inner-wrap { min-height:72px!important; height:72px!important; }
.dlci-header-fixed #masthead .custom-logo { width:60px!important; max-height:60px!important; object-fit:contain; }
.dlci-header-fixed #masthead .main-navigation .primary-menu-container > ul > li > a { color:#142b42!important; }
.dlci-header-fixed #masthead .main-navigation .primary-menu-container > ul > li.current-menu-item > a { color:#ba321c!important; }
.dlci-header-placeholder { height:0; }
/* Background videos are allowed at every width; the poster remains a fallback. */
.kb-row-layout-wrap .kb-blocks-bg-video-container { display:block!important; }
.kb-blocks-bg-video-container .kb-blocks-bg-video { position:absolute; inset:0; width:100%; height:100%; transform:none; object-fit:cover; object-position:50% 50%; }
.dlci-video-pause { display:grid; place-items:center; width:44px; height:44px; min-height:44px; padding:0; border:1.5px solid #0c223b; border-radius:50%; background:transparent!important; color:#0c223b!important; box-shadow:none; bottom:16px; right:16px; }
.dlci-video-pause:hover,.dlci-video-pause:focus { background:transparent!important; color:#0c223b!important; border-color:#0c223b; box-shadow:none; }
.dlci-video-pause:focus-visible { outline-color:#0c223b!important; }
.dlci-video-pause svg { width:18px; height:18px; fill:currentColor; pointer-events:none; }
.dlci-video-pause[data-state=playing] .dlci-play-icon,.dlci-video-pause[data-state=paused] .dlci-pause-icon { display:none; }
/* An independent, accessible dialog avoids the legacy full-screen drawer. */
.dlci-menu-drawer { position:fixed; inset:0; z-index:100000; }
.dlci-menu-overlay { position:absolute; inset:0; background:#07182a80; backdrop-filter:blur(5px); opacity:0; transition:opacity .24s; }
.dlci-menu-panel { position:absolute; top:12px; right:12px; max-height:calc(100% - 24px); width:min(380px,calc(100% - 24px)); display:flex; flex-direction:column; padding:24px; padding-top:max(24px,env(safe-area-inset-top)); padding-bottom:max(24px,env(safe-area-inset-bottom)); background:#fff; color:#142b42; border:1px solid #e3e8ee; border-radius:24px; box-shadow:0 25px 90px #0003; overflow-y:auto; overscroll-behavior:contain; transform:translateX(calc(100% + 24px)); transition:transform .24s cubic-bezier(.2,.7,.2,1); }
.dlci-menu-drawer.is-open .dlci-menu-overlay { opacity:1; }
.dlci-menu-drawer.is-open .dlci-menu-panel { transform:translateX(0); }
body.dlci-menu-open { overflow:hidden; }
.dlci-menu-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:34px; }
.dlci-menu-brand { display:flex; gap:12px; align-items:center; color:#0c223b!important; text-decoration:none; font:600 19px/1.3 Roboto,Arial,sans-serif; }
.dlci-menu-brand img { width:56px; height:56px; object-fit:contain; }
.dlci-menu-brand small { display:block; font:400 11px/1.5 Roboto,Arial,sans-serif; color:#566878; margin-top:3px; }
.dlci-menu-close { flex-shrink:0; display:grid; place-items:center; width:44px; height:44px; padding:0; border:1px solid #dde4ea; border-radius:50%; background:#f5f7f9; color:#142b42; cursor:pointer; }
.dlci-menu-close svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; }
.dlci-menu-label { color:#64778a; font:500 11px/1.5 Roboto,Arial,sans-serif; letter-spacing:.12em; text-transform:uppercase; margin:0 0 12px; }
.dlci-mobile-nav ul { list-style:none; margin:0!important; padding:0!important; display:grid; gap:6px; }
.dlci-mobile-nav li { margin:0; }
.dlci-mobile-nav a { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:15px 17px; border-radius:12px; color:#142b42!important; text-decoration:none!important; font:500 17px/1.5 Roboto,Arial,sans-serif; transition:background .2s,color .2s; }
.dlci-mobile-nav a::after { content:''; width:7px; height:7px; flex-shrink:0; border-top:1.5px solid #8b9aaa; border-right:1.5px solid #8b9aaa; transform:rotate(45deg); }
.dlci-mobile-nav a:hover { background:#f3f6f9; }
.dlci-mobile-nav a[aria-current=page] { background:#eff3f7; color:#ba321c!important; }
.dlci-mobile-nav a[aria-current=page]::after { border-color:#ba321c; }
.dlci-menu-panel .dlci-mobile-membership { margin-top:26px; }
.dlci-menu-panel .header-button { display:block; border:0; border-radius:12px; background:#0c223b!important; color:#fff!important; padding:15px 20px; text-align:center; text-decoration:none; font:500 15px/1.5 Roboto,Arial,sans-serif; }
.dlci-menu-bottom { margin-top:auto; padding-top:34px; }
.dlci-menu-bottom > p { font:400 13px/1.5 Roboto,Arial,sans-serif; color:#566878; margin:0 0 12px; }
.dlci-menu-bottom .element-social-inner-wrap { display:flex; gap:10px; }
.dlci-menu-bottom a.social-button { display:grid!important; place-items:center; width:44px; height:44px; padding:11px!important; border:1px solid #dde4ea; border-radius:12px!important; background:#f5f7f9!important; color:#142b42!important; }
.dlci-menu-bottom a svg { width:20px; height:20px; }
.dlci-menu-toggle-label { display:none; }
/* A circular reading progress indicator surrounds the return-to-top arrow. */
.dlci-back-top { position:fixed; right:max(20px,env(safe-area-inset-right)); bottom:max(20px,env(safe-area-inset-bottom)); z-index:1100; display:grid; place-items:center; width:52px; height:52px; padding:0; border:0; border-radius:50%; background:#fff; color:#0c223b; box-shadow:0 4px 24px #0c223b26; cursor:pointer; transition:background .2s,box-shadow .2s; }
.dlci-back-top:hover { background:#f5f7f9; box-shadow:0 6px 28px #0c223b40; }
.dlci-scroll-ring { position:absolute; inset:0; width:52px; height:52px; transform:rotate(-90deg); fill:none; stroke-width:2; }
.dlci-ring-track { stroke:#dde4ea; }
.dlci-ring-progress { stroke:#ba321c; stroke-dasharray:100; stroke-dashoffset:100; stroke-linecap:round; }
.dlci-scroll-arrow { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
@media (max-width:1024px) {
  #mobile-header .header-mobile-social-wrap { display:none; }
  #mobile-toggle { display:flex; align-items:center; gap:8px; min-height:44px; padding:9px 14px; border:1px solid #0c223b20; border-radius:24px; background:#ffffffed; color:#0c223b!important; box-shadow:0 2px 10px #0c223b08; }
  #mobile-toggle .kadence-svg-icon { width:20px; height:20px; }
  .dlci-menu-toggle-label { display:block; font:500 13px/1.3 Roboto,Arial,sans-serif; }
  .dlci-header-fixed #masthead .site-main-header-inner-wrap { min-height:68px!important; height:68px!important; }
  .dlci-header-fixed #masthead .custom-logo { width:54px!important; max-height:54px!important; }
  .dlci-back-top { right:max(16px,env(safe-area-inset-right)); bottom:max(16px,env(safe-area-inset-bottom)); }
}
@media (max-height:600px) { .dlci-menu-panel { padding:16px 22px; } .dlci-menu-heading { margin-bottom:16px; } .dlci-menu-bottom { padding-top:20px; } }
@media (prefers-reduced-motion:reduce) {
  .dlci-menu-panel,.dlci-menu-overlay,.dlci-back-top { transition:none; }
  .kb-row-layout-wrap .kb-blocks-bg-video-container { display:none!important; }
  .kb-row-layout-wrap .kb-blocks-bg-video-container.dlci-video-manual { display:block!important; }
}
