
/* Alineación editorial del panel de navegación. */
.hj-header-row .is-menu-open .wp-block-navigation__container{font-size:18px!important;align-items:stretch!important;}
.hj-header-row .is-menu-open .wp-block-navigation-item{align-items:flex-start!important;text-align:left;}
.hj-header-row .is-menu-open .wp-block-navigation-item__content{font-size:inherit!important;text-align:left;width:100%;}
.hj-header-row .is-menu-open .wp-block-navigation__submenu-container{align-items:stretch!important;}
/* Hoy Jugué: cabecera compartida, barra fija y menú adaptable. */
.wp-site-blocks>header.wp-block-template-part:has(.hj-header-shell),.hj-header-shell{display:contents;}
.hj-masthead{position:sticky;top:0;z-index:1000;background:#fff;border-bottom:1px solid #dce2df;margin:0!important;max-width:none!important;width:auto;}
.hj-header-row{width:calc(100% - 48px);max-width:var(--wp--style--global--wide-size,1340px);margin:0 auto;padding:12px 0;box-sizing:border-box;min-height:68px;gap:24px;flex-wrap:nowrap!important;}
.hj-brand{font-size:clamp(24px,2.5vw,32px)!important;white-space:nowrap;margin:0!important;}
.hj-brand a{text-decoration:none;}
.hj-header-row .wp-block-navigation{margin-left:auto;font-size:14px;}
.hj-header-row .wp-block-navigation__container{gap:18px;}
.hj-search-row{width:calc(100% - 48px);max-width:var(--wp--style--global--wide-size,1340px);margin:0 auto;padding:12px 0;box-sizing:border-box;}
.hj-search-row .wp-block-search{max-width:540px;margin:0 0 0 auto!important;}
.hj-search-row .wp-block-search__inside-wrapper{width:100%!important;max-width:100%;box-sizing:border-box;padding:0!important;min-height:44px;}
.hj-search-row .wp-block-search__input{min-width:0;font-size:16px!important;padding:8px 12px;}
.hj-search-row .wp-block-search__button{min-width:44px;min-height:44px;padding:8px 12px;margin:0;}
.hj-header-row .wp-block-navigation__responsive-container-open,.hj-header-row .wp-block-navigation__responsive-container-close{min-width:44px;min-height:44px;align-items:center;justify-content:center;}
.hj-header-row .wp-block-navigation-submenu__toggle{min-height:44px;}
.hj-header-row .wp-block-navigation__responsive-container.is-menu-open{padding:68px clamp(20px,5vw,48px) 32px;overflow-y:auto;}
.hj-header-row .is-menu-open .wp-block-navigation__responsive-container-content{padding-top:0;align-items:stretch;max-width:720px;margin:0 auto;}
.hj-header-row .is-menu-open .wp-block-navigation__container{align-items:stretch;gap:8px;width:100%;font-size:18px;}
.hj-header-row .is-menu-open .wp-block-navigation-item{width:100%;align-items:stretch;}
.hj-header-row .is-menu-open .wp-block-navigation-item__content{min-height:44px;padding:10px 0;box-sizing:border-box;line-height:1.4;}
.hj-header-row .is-menu-open .wp-block-navigation-submenu__toggle{font-size:18px;justify-content:space-between;width:100%;padding:12px 0;border-top:1px solid #dce2df;margin-top:8px;}
.hj-header-row .is-menu-open .wp-block-navigation__submenu-container{position:static!important;border:0;box-shadow:none;margin:0!important;padding:0!important;font-size:16px;}
.hj-header-row .is-menu-open .wp-block-navigation-submenu__toggle[aria-expanded="true"]~.wp-block-navigation__submenu-container{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;width:100%;height:auto;visibility:visible;opacity:1;}
.hj-header-row .is-menu-open .wp-block-navigation__responsive-container-close{top:12px;right:12px;}
html{scroll-padding-top:90px;}
body.admin-bar .hj-masthead{top:32px;}
body.admin-bar .hj-header-row .is-menu-open .wp-block-navigation__responsive-container-close{top:44px;}
@media(max-width:1024px){
.hj-header-row{min-height:64px;gap:16px;}
.hj-header-row .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important;}
.hj-header-row .wp-block-navigation__responsive-container-open{display:flex!important;}
.hj-search-row .wp-block-search{max-width:none;margin:0!important;}
}
@media(min-width:1025px){.hj-header-row .wp-block-navigation__responsive-container-open{display:none;}}
@media(max-width:782px){body.admin-bar .hj-masthead{top:46px;}body.admin-bar .hj-header-row .is-menu-open .wp-block-navigation__responsive-container-close{top:58px;}}
@media(max-width:600px){body.admin-bar .hj-masthead{top:0;} .hj-header-row .is-menu-open .wp-block-navigation-submenu__toggle[aria-expanded="true"]~.wp-block-navigation__submenu-container{grid-template-columns:1fr;} .hj-header-row{padding-top:8px!important;padding-bottom:8px!important;}}



/* Restore editorial widths independent of generated WordPress layout selectors. */
.hj-note{width:100%;max-width:1100px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box;}



/* Shared article lead column and comfortable reading width. */
body.single .hj-note > :is(.wp-block-group:first-child,.wp-block-post-title,.wp-block-post-excerpt,.hj-note-byline,.hj-note-thread-label){width:100%!important;max-width:900px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box;}
body.single .hj-note > .wp-block-post-content{width:100%!important;max-width:800px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box;}
body.single .hj-note .hj-note-byline > .wp-block-avatar:not(:has(img)){display:none!important;}
body.single .hj-note .hj-note-byline > .wp-block-group{margin-left:0!important;}

/* Opinion cards: author portrait beside name and headline. */


/* More side space on the editorial homepage. */


@media(max-width:767px){.hj-header-row,.hj-search-row{width:calc(100% - 32px)}}
