/* Header navigation. The package's navigation-blog-75185817dc099bcf.css (2026-11-06), then what the theme adds. */
.nav{height:68px;display:flex;align-items:center;gap:32px}
.brand{display:flex;align-items:center;height:100%}
.brand svg{height:26px;width:auto;display:block}
.menu{display:flex;gap:4px;margin-left:8px}
.menu a{display:inline-flex;align-items:center;height:40px;padding:0 14px;border-radius:999px;font-weight:500;font-size:15px;color:var(--ink-2);transition:background .25s,color .25s}
.menu a:hover,.menu a.active{background:rgba(0,0,0,.05);color:var(--ink)}
.nav .spacer{flex:1}
.nav-cta{display:flex;align-items:center;gap:8px}
.burger{display:none;width:44px;height:44px;align-items:center;justify-content:center;border-radius:999px}
.burger span{position:relative;display:block;width:20px;height:2px;background:var(--ink);transition:transform .35s var(--ease),background .2s}
.burger span::before,.burger span::after{content:"";position:absolute;left:0;width:20px;height:2px;background:var(--ink);transition:transform .35s var(--ease)}
.burger span::before{top:-6px}.burger span::after{top:6px}
.top.open .burger span{background:transparent}
.top.open .burger span::before{transform:translateY(6px) rotate(45deg)}
.top.open .burger span::after{transform:translateY(-6px) rotate(-45deg)}
.mobile{display:none;padding:8px var(--gutter) 24px;border-top:1px solid var(--line)}
.mobile a{display:block;padding:14px 0;font-size:22px;font-weight:600;letter-spacing:-.02em;border-bottom:1px solid var(--line)}
.top.open .mobile{display:block}


@media(max-width:1180px){.menu{display:none}.burger{display:flex}.nav{gap:16px}}

@media (max-width:1180px){
  .mobile{display:block;position:absolute;left:0;right:0;top:100%;height:calc(100vh - 68px);height:calc(100dvh - 68px);background:#fff;border-top:0;padding:18px var(--gutter) 32px;overflow:auto;opacity:0;pointer-events:none;transform:translateY(-10px);transition:opacity .4s var(--ease),transform .5s var(--ease-k);z-index:49}
  .top.open .mobile{opacity:1;transform:none;pointer-events:auto}
  .mobile a{display:flex;justify-content:space-between;align-items:center;padding:18px 0;font-size:34px;font-weight:700;letter-spacing:-.035em;line-height:1;border-bottom:1px solid var(--line);opacity:0;transform:translateY(16px);transition:opacity .5s var(--ease),transform .6s var(--ease-k)}
  .mobile a::after{content:"";width:12px;height:12px;border-right:2px solid var(--red);border-top:2px solid var(--red);transform:rotate(45deg);flex:none;opacity:.9}
  .top.open .mobile a{opacity:1;transform:none}
  .top.open .mobile a:nth-child(1){transition-delay:.08s}.top.open .mobile a:nth-child(2){transition-delay:.14s}.top.open .mobile a:nth-child(3){transition-delay:.2s}.top.open .mobile a:nth-child(4){transition-delay:.26s}.top.open .mobile a:nth-child(5){transition-delay:.32s}.top.open .mobile a:nth-child(6){transition-delay:.38s}
  .mobile .m-cta{margin-top:26px;opacity:0;transform:translateY(16px);transition:opacity .5s var(--ease) .46s,transform .6s var(--ease-k) .46s}
  .top.open .mobile .m-cta{opacity:1;transform:none}
  .mobile .m-cta .btn{width:100%}
  .mobile .m-tag{margin-top:22px;font-family:var(--mono);font-size:12px;color:var(--ink-3);opacity:0;transition:opacity .5s var(--ease) .55s}
  .top.open .mobile .m-tag{opacity:1}
  .mobile .m-k{position:absolute;right:-32%;bottom:-18%;height:60%;aspect-ratio:211/185;opacity:.06;pointer-events:none}
  .mobile .m-k svg{width:100%;height:100%;fill:var(--red)}
  html.menu-open,html.menu-open body{overflow:hidden!important;height:100%}
  .mobile .m-cta a{justify-content:center;font-size:16px;font-weight:600;letter-spacing:-.01em;padding:0;border:0;opacity:1;transform:none;height:56px}
  .mobile .m-cta a::after{display:none}
}


@media(min-width:1025px) and (max-width:1300px){.menu a{padding:0 10px;font-size:14px}.nav{gap:20px}}.menu a{white-space:nowrap}

/* ---- Added by the theme (not in the package) ---- */

/* The package's closed panel is only transparent: its links stayed in the Tab order and the reading order. */
@media (max-width:1180px){
  .mobile{visibility:hidden;transition:opacity .4s var(--ease),transform .5s var(--ease-k),visibility 0s .5s}
  .top.open .mobile{visibility:visible;transition-delay:0s}
  .top.open .mobile a:nth-child(7){transition-delay:.44s} /* the package lists seven links and delays six */
  /* The package locks both <html> and <body> at height:100%, which throws a scrolled page back to the top and unsticks the header. Lock the viewport only. */
  html.menu-open,html.menu-open body{height:auto!important}
  html.menu-open body{overflow:visible!important}
}
/* A panel left open while the window grows past the burger breakpoint must not show. */
@media (min-width:1181px){.top.open .mobile{display:none}}

/* The EN/ES switch takes about 50px the package's header does not have: tighten the menu where it would overflow. */
@media (min-width:1181px) and (max-width:1250px){.menu a{padding:0 8px}.nav{gap:14px}}
@media (min-width:1301px) and (max-width:1420px){.menu a{padding:0 10px;font-size:14px}.nav{gap:20px}}
@media (min-width:1421px) and (max-width:1560px){.menu{gap:2px;margin-left:0}.nav{gap:26px}}

/* Language switcher (EN/ES): the package has none. */
.nav-cta .lang-switch{display:inline-flex;align-items:center;justify-content:center;height:42px;min-width:42px;padding:0 10px;border:1px solid rgba(0,0,0,.14);border-radius:99px;font:600 13px/1 var(--mono,"JetBrains Mono",ui-monospace,monospace);color:#0a0a0a;text-decoration:none;transition:border-color .2s,color .2s}
.nav-cta .lang-switch:hover{border-color:#0a0a0a}
.top.over .nav-cta .lang-switch{color:#fff;border-color:rgba(255,255,255,.45)}
.top.over .nav-cta .lang-switch:hover{border-color:#fff}
/* Dark only once the header has its white background (past, or open): over the hero, scrolled alone, it is still transparent. */
.top.over.past .nav-cta .lang-switch,.top.over.open .nav-cta .lang-switch{color:#0a0a0a;border-color:rgba(0,0,0,.14)}
.top.over.past .nav-cta .lang-switch:hover,.top.over.open .nav-cta .lang-switch:hover{border-color:#0a0a0a}

/* Focus rings: #ff0023 on white is 3.98:1. */
.top a:focus-visible,.top button:focus-visible{outline:3px solid #ff0023;outline-offset:3px}

/* The pages' html{scroll-padding-top} (84px, 80px at 600px) would scroll the page to put a focused header control below the header. Cancel it: the header is sticky and always in view. */
.top a,.top button{scroll-margin-top:-84px}
@media (max-width:600px){.top a,.top button{scroll-margin-top:-80px}}
/* A header slid away on scroll-down comes back when a control in it takes focus, so the browser has nothing to scroll to. */
.top.hide:focus-within{transform:none;transition-duration:0s,.3s!important} /* beats the reduced-motion `*` reset: the header must be in place before focus scrolls to it */
html{scrollbar-gutter:stable} /* the menu and dialog lock html's overflow: keep the classic scrollbar's gutter so the page does not shift */

/* Skip link, on every page. */
.skip{position:fixed;top:-100px;left:20px;z-index:300;padding:12px 20px;border-radius:99px;background:#fff;color:#8e0013;font-weight:600;font-size:15px;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.skip:focus{top:10px}
main[tabindex="-1"]:focus{outline:0}

/* The WordPress toolbar (logged-in editors): keep the header, the skip link and the panel below it. */
.admin-bar .top,.admin-bar .top.over{top:32px}
.admin-bar .skip:focus{top:42px}
@media (max-width:1180px){.admin-bar .mobile{height:calc(100vh - 68px - 32px);height:calc(100dvh - 68px - 32px)}}
@media (max-width:782px){.admin-bar .top,.admin-bar .top.over{top:46px}.admin-bar .skip:focus{top:56px}}
@media (max-width:782px) and (min-width:601px){.admin-bar .mobile{height:calc(100vh - 68px - 46px);height:calc(100dvh - 68px - 46px)}}
@media (max-width:600px){.admin-bar .top,.admin-bar .top.over{top:0}.admin-bar .skip:focus{top:56px}.admin-bar .mobile{height:calc(100vh - 68px);height:calc(100dvh - 68px)}}

/* Narrow phones: the added EN/ES switch needs the room. */
@media (max-width:430px){.nav{gap:8px}.brand svg{height:21px}.nav-cta{gap:4px}}
@media (max-width:380px){.nav{gap:8px}.brand svg{height:19px}.nav-cta{gap:4px}.nav-cta .btn-sm{padding:0 12px}.nav-cta .lang-switch{min-width:34px;padding:0 8px}}
@media (max-width:329px){.nav-cta .btn-sm{display:none}}

@media (prefers-reduced-motion:reduce){.top .burger span,.top .burger span::before,.top .burger span::after,.top .mobile,.top .mobile *{transition:none!important}}
