/* Blog dropdown (desktop nav + mobile strip). Generated markup comes from blog-tools/sync-blog.py */
.blog-dd{position:relative;display:inline-flex;align-items:center}
.blog-dd-btn{display:inline-flex;align-items:center;gap:5px;margin:0;padding:0;border:0;background:none;font:inherit;line-height:1;color:inherit;cursor:pointer;white-space:nowrap}
html body .blog-dd-btn{color:var(--mhs-silver,#E5E5E5);opacity:.9}
html body .blog-dd-btn:hover,html body .blog-dd.open>.blog-dd-btn{color:var(--mhs-glow,#3FE1FE);opacity:1}
.blog-dd-btn:focus-visible{outline:3px solid var(--mhs-glow,#3FE1FE);outline-offset:3px;border-radius:4px}
.blog-dd-btn svg{flex:none;transition:transform .15s ease}
.blog-dd.open>.blog-dd-btn svg{transform:rotate(180deg)}
.blog-dd-menu{display:none;position:absolute;top:calc(100% + 10px);left:-14px;z-index:40;box-sizing:border-box;min-width:270px;max-width:calc(100vw - 24px);margin:0;padding:6px;list-style:none;text-align:left;background:#15181E;border:1px solid rgba(63,225,254,.4);border-radius:12px;box-shadow:0 0 0 1px rgba(3,105,252,.25),0 14px 34px rgba(0,0,0,.55)}
.blog-dd.open>.blog-dd-menu{display:block}
.blog-dd.open::after{content:"";position:absolute;left:-14px;right:-14px;top:100%;height:12px}
html:not(.bdd-js) .blog-dd:focus-within>.blog-dd-menu,html:not(.bdd-js) .blog-dd:hover>.blog-dd-menu{display:block}
.blog-dd-menu li{margin:0;padding:0}
html body .blog-dd .blog-dd-menu a{display:block;padding:11px 12px;border-radius:8px;color:var(--mhs-silver,#E5E5E5)!important;opacity:1!important;font:600 15px/1.3 Inter,system-ui,sans-serif;text-decoration:none!important;white-space:normal!important;letter-spacing:0;text-transform:none}
html body .blog-dd .blog-dd-menu a:hover,html body .blog-dd .blog-dd-menu a:focus-visible{background:rgba(3,105,252,.28);color:#fff!important;outline:none}
html body .blog-dd .blog-dd-menu a[aria-current="page"]{color:var(--mhs-glow,#3FE1FE)!important;box-shadow:inset 3px 0 0 var(--mhs-glow,#3FE1FE)}
html body .blog-dd .blog-dd-menu li.bdd-all{border-bottom:1px solid rgba(63,225,254,.2);margin-bottom:4px;padding-bottom:4px}
html body .blog-dd .blog-dd-menu li.bdd-all a{font-weight:800;color:#fff!important}
.blog-dd .bdd-sub{display:none}
/* Mobile strip (the desktop nav is hidden at these widths) */
.blog-strip{display:none;position:relative;z-index:4;box-sizing:border-box;width:100%;padding:6px 16px;background:#15181E;border-bottom:1px solid rgba(63,225,254,.22)}
.blog-strip--home{z-index:19;padding-inline:var(--pad,16px)}
.blog-strip--all{display:flex}
.blog-strip .blog-dd{position:static;display:flex;width:100%}
.blog-strip .blog-dd-btn{min-height:40px;padding:0 4px;font:700 15px/1 Inter,system-ui,sans-serif}
.blog-strip .bdd-sub{display:inline;font-weight:500;color:var(--mhs-label,#AEB4BF)}
.blog-strip .blog-dd-menu{top:100%;left:12px;right:12px;min-width:0;max-width:440px}
.blog-strip .blog-dd.open::after{display:none}
@media (max-width:640px){.blog-strip{display:flex}}
@media (max-width:1180px){.blog-strip--home{display:flex}}
/* Home desktop nav: make room for "Blog" between 1181px and 1400px (nav is hidden below 1181px) */
html body header.top .nav .blog-dd-btn{gap:4px}
.blog-dd-btn svg{width:10px;height:7px}
@media (min-width:1181px) and (max-width:1400px){html body header.top .nav{gap:10px!important}html body header.top .nav>a,html body header.top .nav .blog-dd-btn{font-size:12.5px!important}}
@media (min-width:1181px) and (max-width:1260px){html body header.top .nav{gap:7px!important}html body header.top .nav>a,html body header.top .nav .blog-dd-btn{font-size:12px!important}}
/* Subpages: the full nav + header buttons don't fit below ~900px (pre-existing sideways scroll at 641–900px), so use the strip there too */
@media (max-width:900px){html body .sp-bar .pg-nav{display:none}.blog-strip--pages{display:flex}}
