/* Shared, full-width navigation for phones and tablets. */
@media(max-width:1100px){
html body nav.ep-bottom-nav.ep-bottom-nav--actionable,html body nav.bottom-nav.bottom-nav--actionable{width:100vw!important;inline-size:100vw!important;max-width:none!important;max-inline-size:none!important}
}
@media(max-width:1100px){
html:not(.ep313-embed) body nav:is(.ep-bottom-nav,.bottom-nav,.ep-social-bottom,.epn-bottom-nav):is(.ep-bottom-nav--actionable,.bottom-nav--actionable){position:fixed!important;inset:auto 0 0!important;transform:none!important;width:100vw!important;max-width:none!important;box-sizing:border-box!important;margin:0!important;padding:6px max(8px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))!important;min-height:72px!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;background:#fffffff5!important;border:0!important;border-top:1px solid #dce7e8!important;border-radius:20px 20px 0 0!important;box-shadow:0 -6px 28px #15354a0d!important;backdrop-filter:blur(18px);z-index:8000}
html:not(.ep313-embed) body nav:is(.ep-bottom-nav,.bottom-nav,.ep-social-bottom,.epn-bottom-nav):is(.ep-bottom-nav--actionable,.bottom-nav--actionable)>a{--nav-color:#0b8d80;--nav-bg:#e4f7f0;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;min-width:0!important;width:100%!important;max-width:none!important;padding:0!important;background:transparent!important;box-shadow:none!important;border:0!important;border-radius:12px!important;color:#5a6f7c!important;text-decoration:none!important;font:600 11px/1.2 Inter,Arial,sans-serif!important;letter-spacing:0!important}
html:not(.ep313-embed) body nav:is(.ep-bottom-nav,.bottom-nav,.ep-social-bottom,.epn-bottom-nav):is(.ep-bottom-nav--actionable,.bottom-nav--actionable)>a:nth-child(2){--nav-color:#246add;--nav-bg:#eaf1ff}
html:not(.ep313-embed) body nav:is(.ep-bottom-nav,.bottom-nav,.ep-social-bottom,.epn-bottom-nav):is(.ep-bottom-nav--actionable,.bottom-nav--actionable)>a:nth-child(3){--nav-color:#8350cc;--nav-bg:#f3ebff}
html:not(.ep313-embed) body nav:is(.ep-bottom-nav,.bottom-nav,.ep-social-bottom,.epn-bottom-nav):is(.ep-bottom-nav--actionable,.bottom-nav--actionable)>a:nth-child(4){--nav-color:#d25b39;--nav-bg:#fff0e8}
html:not(.ep313-embed) body nav:is(.ep-bottom-nav,.bottom-nav,.ep-social-bottom,.epn-bottom-nav):is(.ep-bottom-nav--actionable,.bottom-nav--actionable)>a:nth-child(5){--nav-color:#526783;--nav-bg:#edf2f7}
html:not(.ep313-embed) body nav:is(.ep-bottom-nav,.bottom-nav,.ep-social-bottom,.epn-bottom-nav):is(.ep-bottom-nav--actionable,.bottom-nav--actionable) :is(.ep-nav-icon,.nav-icon-wrap){display:grid!important;place-items:center!important;position:relative!important;width:44px!important;height:36px!important;border:0!important;border-radius:12px!important;background:var(--nav-bg)!important;color:var(--nav-color)!important;box-shadow:none!important;transform:none!important}
html:not(.ep313-embed) body nav:is(.ep-bottom-nav,.bottom-nav,.ep-social-bottom,.epn-bottom-nav):is(.ep-bottom-nav--actionable,.bottom-nav--actionable) .ep314-nav-svg{display:block!important;width:25px!important;height:25px!important;filter:none!important}
html:not(.ep313-embed) body nav:is(.ep-bottom-nav,.bottom-nav,.ep-social-bottom,.epn-bottom-nav):is(.ep-bottom-nav--actionable,.bottom-nav--actionable)>a:is(.is-active,.active){color:#123d47!important;font-weight:750!important}
html:not(.ep313-embed) body nav:is(.ep-bottom-nav,.bottom-nav,.ep-social-bottom,.epn-bottom-nav):is(.ep-bottom-nav--actionable,.bottom-nav--actionable)>a:is(.is-active,.active) :is(.ep-nav-icon,.nav-icon-wrap){background:var(--nav-color)!important;color:#fff!important;box-shadow:0 4px 10px color-mix(in srgb,var(--nav-color) 24%,transparent)!important}
html:not(.ep313-embed) body nav:is(.ep-bottom-nav,.bottom-nav,.ep-social-bottom,.epn-bottom-nav):is(.ep-bottom-nav--actionable,.bottom-nav--actionable)>a:after{display:none!important}
html body .ep313-launch{bottom:calc(84px + env(safe-area-inset-bottom))!important}
}
@media(min-width:651px) and (max-width:1100px){html:not(.ep313-embed) body nav:is(.ep-bottom-nav,.bottom-nav,.ep-social-bottom,.epn-bottom-nav):is(.ep-bottom-nav--actionable,.bottom-nav--actionable)>a{font-size:12px!important;gap:5px!important}html:not(.ep313-embed) body nav:is(.ep-bottom-nav,.bottom-nav,.ep-social-bottom,.epn-bottom-nav):is(.ep-bottom-nav--actionable,.bottom-nav--actionable) :is(.ep-nav-icon,.nav-icon-wrap){width:52px!important;height:38px!important}}


/* EP327: the same white dock and sculpted icons across all page layouts. */
@media(max-width:1100px){
 html:not(.ep313-embed) body nav:is(.ep-bottom-nav,.bottom-nav,.ep-social-bottom,.epn-bottom-nav):is(.ep-bottom-nav--actionable,.bottom-nav--actionable){width:100%!important;inline-size:100%!important;min-height:calc(72px + env(safe-area-inset-bottom))!important;height:calc(72px + env(safe-area-inset-bottom))!important;background:#fff!important}
 html:not(.ep313-embed) body nav:is(.ep-bottom-nav,.bottom-nav,.ep-social-bottom,.epn-bottom-nav):is(.ep-bottom-nav--actionable,.bottom-nav--actionable)>a{min-height:0!important}
 html:not(.ep313-embed) body nav:is(.ep-bottom-nav,.bottom-nav,.ep-social-bottom,.epn-bottom-nav):is(.ep-bottom-nav--actionable,.bottom-nav--actionable) :is(.ep-nav-icon,.nav-icon-wrap){box-sizing:border-box;width:46px!important;height:40px!important;border:1px solid #fff!important;border-radius:14px!important;background:linear-gradient(145deg,#fff 15%,var(--nav-bg))!important;box-shadow:inset 0 -1px 1px color-mix(in srgb,var(--nav-color) 10%,transparent),0 2px 5px #163d4b0a!important;color:var(--nav-color)!important}
 html:not(.ep313-embed) body nav:is(.ep-bottom-nav,.bottom-nav,.ep-social-bottom,.epn-bottom-nav):is(.ep-bottom-nav--actionable,.bottom-nav--actionable) .ep314-nav-svg{width:33px!important;height:33px!important;stroke:none;filter:drop-shadow(0 1px 1px #163d4b16)!important}
 html:not(.ep313-embed) body nav:is(.ep-bottom-nav,.bottom-nav,.ep-social-bottom,.epn-bottom-nav):is(.ep-bottom-nav--actionable,.bottom-nav--actionable)>a:is(.is-active,.active,[aria-current="page"]) :is(.ep-nav-icon,.nav-icon-wrap){background:linear-gradient(145deg,#ebfff8,#a7eddb)!important;border-color:#a1e6d7!important;box-shadow:inset 0 1px 0 #fff,0 3px 7px #07897920!important}
 html:not(.ep313-embed) body nav:is(.ep-bottom-nav,.bottom-nav,.ep-social-bottom,.epn-bottom-nav):is(.ep-bottom-nav--actionable,.bottom-nav--actionable)>a:focus-visible{outline:2px solid #087f86;outline-offset:-2px}
 body:has(.ep327-news-nav){padding-bottom:calc(88px + env(safe-area-inset-bottom))}
}

/* EP342: use the same dock on discovery, articles and gallery pages. */
.ep342-mobile-nav{display:none}
@media(max-width:1100px){
 body:has(.ep342-mobile-nav){padding-bottom:calc(88px + env(safe-area-inset-bottom))!important}
}
