/* Shared editorial header; preserves the homepage's palette, typography and breakpoint. */
.yn-page #header.ct-header{display:none}
.yn-header{position:sticky;top:0;z-index:25;background:#F6F0E5;color:#202631;border-bottom:1px solid rgba(32,38,49,.18);font:13px/1.5 "Avenir Next",Avenir,"Trebuchet MS","Segoe UI",sans-serif;overflow:visible}
.yn-header *{box-sizing:border-box}
.yn-header .yn-inner{width:min(1328px,calc(100% - 112px));margin-inline:auto;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:98px;padding:8px 0}
.yn-header .yn-brand{display:block;flex:0 0 160px;width:160px;overflow:visible}
.yn-header .yn-brand img{display:block;width:160px!important;height:auto!important;max-width:none!important;max-height:none!important;object-fit:contain!important;margin:-35px 0 -28px!important;position:static!important}
.yn-header .yn-nav{display:flex;align-items:center;justify-content:flex-end;gap:26px;margin-left:auto}
.yn-header a{color:#202631!important;text-decoration:none!important;box-shadow:none}
.yn-header .yn-nav>a{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;white-space:nowrap}
.yn-header .yn-nav>a:hover{text-decoration:underline!important;text-underline-offset:5px}
.yn-header .yn-nav .yn-cta{gap:24px;border:1px solid #202631;padding:10px 18px;font-weight:650;margin-left:14px}
.yn-header .yn-menu{display:none;appearance:none;background:transparent;border:0;border-radius:0;color:#202631;padding:10px;width:44px;height:44px;min-height:44px;box-shadow:none;cursor:pointer}
.yn-header :focus-visible{outline:2px solid #405f4c;outline-offset:4px}
.yn-header [hidden]{display:none!important}
/* Remove square-to-rectangle cover cropping, including the old homepage logo windows. */
.yn-page .ypu-footer img,.yn-page #yupiro.yh-home .yh-footer .yh-logo,.yn-page #yupiro-growth .yg-footer .yg-logo,.yn-page #yupiro.yp-universe .yu-logo-window img{position:static!important;display:block;width:160px!important;height:auto!important;max-width:none!important;max-height:none!important;object-fit:contain!important;margin:-35px 0 -28px!important;left:auto!important;top:auto!important}
.yn-page #yupiro.yh-home .yh-footer .yh-logo-window,.yn-page #yupiro-growth .yg-footer .yg-logo-window,.yn-page #yupiro.yp-universe .yu-logo-window{display:block;width:160px!important;height:auto!important;overflow:visible!important}
.yn-page .ypu-footer a:has(>img),.yn-page .yh-footer .yh-brand,.yn-page .yg-footer .yg-brand{display:block;width:160px;flex-shrink:0;overflow:visible}
@media(max-width:1049px){
 .yn-header .yn-inner{width:calc(100% - 40px);min-height:88px;gap:0;flex-wrap:wrap;padding:8px 0}
 .yn-header .yn-brand{flex-basis:144px;width:144px}
 .yn-header .yn-brand img{width:144px!important;margin:-30px 0 -24px!important}
 .yn-header .yn-menu{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;margin-left:auto}
 .yn-menu span{display:block;width:22px;height:1px;background:currentColor;transition:transform .16s,opacity .16s}
 .yn-menu[aria-expanded=true] span:first-child{transform:translateY(6px) rotate(45deg)}
 .yn-menu[aria-expanded=true] span:nth-child(2){opacity:0}
 .yn-menu[aria-expanded=true] span:last-child{transform:translateY(-6px) rotate(-45deg)}
 .yn-header .yn-nav{flex-basis:100%;width:100%;display:flex;flex-direction:column;align-items:stretch;gap:0;margin:8px 0 0;padding:8px 0 12px;border-top:1px solid rgba(32,38,49,.18);max-height:calc(100dvh - 150px);overflow-y:auto}
 .yn-header .yn-nav>a{min-height:48px;white-space:normal;padding:12px 2px;font-size:15px;border-bottom:1px solid rgba(32,38,49,.14)}
 .yn-header .yn-nav .yn-cta{margin:12px 0 0;padding:12px 16px;justify-content:space-between}
 .yn-header:not(.yn-ready) .yn-menu{display:none}
}
@media(prefers-reduced-motion:reduce){.yn-menu span{transition:none}}

@media(min-width:783px){.admin-bar .yn-header{top:32px}}
@media(min-width:601px) and (max-width:782px){.admin-bar .yn-header{top:46px}}

/* Instagram: Blocksy's local SVG, one secondary link; no embeds or tracking. */
a.yn-instagram{display:inline-flex!important;align-items:center;gap:10px;min-height:44px;max-width:100%;line-height:1.45;text-decoration:none!important;transition:color .16s ease}
a.yn-instagram svg{display:block;width:19px!important;height:19px!important;flex:0 0 19px;fill:currentColor}
a.yn-instagram span{overflow-wrap:anywhere}
a.yn-instagram:hover{text-decoration:underline!important;text-underline-offset:4px}
a.yn-instagram:focus-visible{outline:2px solid #5C8D73;outline-offset:4px}
.yn-instagram-footer{font-size:13px!important}
.yn-social-footer{padding:14px 24px;text-align:center;color:#202631;background:#F6F0E5;border-top:1px solid rgba(32,38,49,.16);font-family:"Avenir Next",Avenir,"Trebuchet MS","Segoe UI",sans-serif}
.yn-social-footer a{color:inherit}
@media(min-width:1050px){.yn-header .yn-nav>a.yn-instagram-menu{display:none!important}}
@media(max-width:1049px){.yn-header .yn-nav>a.yn-instagram-menu{gap:10px;margin-top:8px;color:#405f4c!important;font-size:14px}}
@media(prefers-reduced-motion:reduce){a.yn-instagram{transition:none}}
