/* Shared placements and a clearer editorial hierarchy. */
/* Social masthead and consistent right-aligned search. */
.hm-editorial .hm-header-row .hm-search-widget{grid-column:3!important;justify-self:end!important}
.hm-header-social{grid-column:1;grid-row:1;display:flex;align-items:center;gap:2px}
.hm-header-social a{display:flex;align-items:center;justify-content:center;width:36px;min-height:44px;border-radius:8px}
.hm-header-social a:hover{background:#edf5f7}
.hm-header-social img{width:18px;height:18px;object-fit:contain}
.hm-editorial .hm-header-row #hm-search-panel{left:auto!important;right:16px!important;top:100%;width:min(480px,calc(100vw - 32px));padding:22px;border:1px solid #d6e3e8;border-radius:16px;background:#fff;box-shadow:0 12px 30px #17232c26}
.hm-editorial #hm-search-panel label{font-size:16px;margin-bottom:12px}
.hm-editorial #hm-search-panel>div{display:flex;align-items:stretch;gap:8px;background:#f3f7f9;border:1px solid #c9d9e0;border-radius:12px;padding:5px}
.hm-editorial #hm-search-panel>div:focus-within{outline:2px solid #087fa5;outline-offset:3px}
.hm-editorial #hm-search-panel input:focus{outline:none!important;box-shadow:none!important}
.hm-editorial #hm-search-panel input{min-width:0;flex:1;width:100%;border:0!important;border-radius:8px;background:transparent!important;box-shadow:none!important;padding:10px 12px;font-size:16px;outline:none}
.hm-editorial #hm-search-panel button{border-radius:9px!important;padding:10px 18px!important;min-height:44px;background:#066987!important;color:#fff!important;border:0}
.hm-editorial #hm-search-panel button:hover{background:#174457!important}
@media(max-width:1023px){.hm-header-social{display:none}.hm-editorial .hm-header-row #hm-search-panel{right:12px!important}}
@media(max-width:400px){.hm-editorial .hm-header-row #hm-search-panel{padding:16px}.hm-editorial #hm-search-panel input{padding-inline:8px}.hm-editorial #hm-search-panel button{padding-inline:12px!important}}

/* Centered masthead with a separate section navigation. */
.hm-editorial .hm-header-row>.e-con-inner{display:grid!important;grid-template-columns:1fr auto 1fr!important;gap:0!important;align-items:center!important}
.hm-editorial .hm-header-row .hm-logo{grid-column:2;grid-row:1;width:230px!important;padding:18px 0!important;justify-self:center}
.hm-editorial .hm-header-row .hm-logo img{width:230px!important}
.hm-editorial .hm-header-row .hm-search-widget{grid-column:1;grid-row:1;justify-self:start;position:static!important}
.hm-header-contact{grid-column:3;grid-row:1;justify-self:end;font:800 15px var(--hm-sans);padding:12px;color:var(--hm-ink)!important}
.hm-editorial .hm-header-row .hm-nav-widget{grid-column:1/-1;grid-row:2;width:100%!important;margin:0!important;border-top:1px solid var(--hm-line);position:static!important}
.hm-editorial .hm-header-row .hm-menu{justify-content:center}
.hm-editorial .hm-header-row #hm-search-panel{left:16px;right:auto;z-index:60}
@media(min-width:1024px){
.hm-editorial #hm-sub-66954{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:440px;padding:16px;gap:4px 16px}
.hm-editorial #hm-sub-66954>.hm-menu-item:has(#hm-sub-66959){grid-column:1/-1;border-top:1px solid var(--hm-line);margin-top:8px;padding-top:8px}
.hm-editorial #hm-sub-66959{display:grid;grid-template-columns:1fr 1fr;width:100%;min-width:0}
}
@media(max-width:1023px){
.hm-editorial .hm-header-row{padding:8px 16px!important}
.hm-editorial .hm-header-row .hm-logo{width:190px!important;padding:8px 0!important}
.hm-editorial .hm-header-row .hm-logo img{width:190px!important;max-height:52px}
.hm-editorial .hm-header-row .hm-nav-widget{grid-column:1;grid-row:1;width:44px!important;border:0;justify-self:start}
.hm-editorial .hm-header-row .hm-search-widget{grid-column:3;justify-self:end}
.hm-editorial .hm-header-row .hm-menu-toggle span,.hm-header-contact{display:none}
.hm-editorial .hm-header-row #hm-menu-panel{top:100%;left:0;right:0;width:auto;max-height:calc(100dvh - 130px)}
.hm-editorial .hm-header-row #hm-search-panel{left:auto;right:12px;top:100%}
.hm-editorial #hm-sub-66954>.hm-menu-item:has(#hm-sub-66959){border-top:2px solid var(--hm-line);margin-top:12px}
}
@media(max-width:360px){.hm-editorial .hm-header-row .hm-logo,.hm-editorial .hm-header-row .hm-logo img{width:160px!important}}

@media(max-width:1023px){
.hm-editorial .hm-header-row .hm-nav-widget,.hm-editorial .hm-header-row .hm-search-widget{position:static!important}
.hm-editorial .hm-header-row #hm-menu-panel{left:0;right:0;width:auto;z-index:50;box-sizing:border-box;overflow-x:hidden}
.hm-editorial .hm-header-row #hm-search-panel{right:16px;z-index:51}
}
/* Institutional pages and national editorial footer. */
.hm-institutional{max-width:1180px;margin:auto;padding:64px 24px 24px}
.hm-institutional h1{font:700 48px/1.12 var(--hm-serif);margin:0 0 28px}
.hm-institutional h2{font:600 34px/1.2 var(--hm-serif);margin:0}
.hm-institutional p{font-size:18px;line-height:1.7;max-width:65ch}
.hm-institutional .hm-institutional-lead{font:600 43px/1.2 var(--hm-serif);margin:0 0 24px}
.hm-about-hero{display:grid;grid-template-columns:1.2fr 1fr;gap:64px;align-items:center;padding-bottom:64px}
.hm-institutional-button{display:inline-block;padding:14px 22px;background:#076d89;color:white!important;font-weight:800;text-decoration:none!important;margin-top:12px}
.hm-institutional-button:hover{background:#174457}
.hm-about-art{background:#086e8b;color:white;padding:48px 36px;min-height:420px;display:flex;flex-direction:column;justify-content:space-between}
.hm-about-art svg{width:190px;max-width:100%}
.hm-about-art p{font:600 58px/1.07 var(--hm-serif);margin:32px 0;color:white}
.hm-about-art span{font-weight:800;letter-spacing:.03em}
.hm-institutional-row{display:grid;grid-template-columns:1fr 1.6fr;gap:70px;border-top:1px solid #b9c9ce;padding:56px 0}
.hm-institutional-row p:first-child{margin-top:0}
.hm-topic-links{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:24px}
.hm-topic-links a{padding-block:8px;border-bottom:1px solid #087fa5;font-weight:800}
.hm-large-link{display:inline-block;font-size:24px;font-weight:700;margin:8px 0 20px;overflow-wrap:anywhere}
.hm-services-hero{padding:12px 0 64px;max-width:860px}
.hm-service-list{margin:24px 0}
.hm-service-list>div{padding:18px 0;border-top:1px solid #d4dfe3}
.hm-service-list dt{font-weight:800;font-size:20px;margin:0 0 6px}.hm-service-list dd{margin:0;font-size:17px;line-height:1.6}
.hm-consulting{display:grid;grid-template-columns:1.3fr 1fr;gap:40px;align-items:center;background:#eaf3f6;padding:48px;margin:0 0 56px}
.hm-consulting-name{font:800 52px/1.15 var(--hm-sans);color:#17232c!important;text-decoration:none!important}
.hm-consulting-name span{color:#087fa5}
.hm-editorial .hm-footer-news{display:grid!important;grid-template-columns:1fr 1.25fr!important;gap:0!important;max-width:1180px!important;margin:0 auto!important;padding:0!important;background:#edf5f7!important}
.hm-editorial .hm-footer-art{background:#086e8b!important;color:white!important;padding:36px!important;width:100%!important}
.hm-flag-art svg{width:140px;height:64px;color:white}
.hm-flag-art p{font:600 34px/1.22 var(--hm-serif)!important;color:white!important;margin:20px 0!important}
.hm-flag-art span{font-size:14px;color:#e1f4fa}
.hm-editorial .hm-footer-subscribe{padding:40px!important;justify-content:center!important;align-items:stretch!important;gap:12px!important;width:100%!important}
.hm-editorial .hm-footer-subscribe h2{font:600 32px/1.2 var(--hm-serif)!important;text-align:left!important}
.hm-editorial .hm-footer-subscribe p{text-align:left!important;margin:0!important}
.hm-editorial .hm-footer-subscribe .elementor-widget{width:100%!important;margin:0!important}
.hm-editorial .hm-footer-links{display:grid!important;grid-template-columns:1.3fr 1fr .8fr!important;gap:40px!important;max-width:1180px!important;margin:auto!important;padding:48px 24px 32px!important;background:white!important}
.hm-editorial .hm-footer-links>.e-con{width:100%!important;padding:0!important;align-items:flex-start!important;gap:16px!important}
.hm-editorial .hm-footer-links h2{font-size:23px!important;text-align:left!important;color:#17232c!important}
.hm-editorial .hm-footer-links p{margin:0 0 12px;text-align:left}
.hm-editorial .hm-footer-links .elementor-icon-list-items{align-items:flex-start!important}
.hm-editorial .hm-footer-links .elementor-icon-list-item{justify-content:flex-start!important}
.hm-editorial .hm-footer-links .elementor-social-icons-wrapper{text-align:left!important;display:flex;flex-wrap:wrap;gap:16px}
.hm-editorial .hm-footer-bottom{width:100%!important;max-width:1180px!important;margin:0 auto!important;padding:24px 24px 36px!important;border-top:1px solid #dbe4e8;background:white!important;min-height:90px;box-sizing:border-box}
.hm-editorial .hm-footer-bottom .elementor-widget{width:100%;text-align:center;font-size:14px;line-height:1.6}
@media(max-width:767px){
.hm-institutional{padding:36px 20px 8px}.hm-institutional h1{font-size:36px}.hm-institutional .hm-institutional-lead{font-size:32px}
.hm-about-hero,.hm-institutional-row,.hm-consulting{grid-template-columns:minmax(0,1fr);gap:28px}
.hm-about-hero{padding-bottom:36px}.hm-about-art{min-height:280px;padding:28px}.hm-about-art p{font-size:42px}
.hm-institutional-row{padding:36px 0}.hm-institutional h2{font-size:28px}.hm-large-link{font-size:20px}
.hm-consulting{padding:28px 24px;margin-bottom:36px}.hm-consulting-name{font-size:40px}
.hm-editorial .hm-footer-news,.hm-editorial .hm-footer-links{grid-template-columns:minmax(0,1fr)!important}
.hm-editorial .hm-footer-art,.hm-editorial .hm-footer-subscribe{padding:28px 24px!important}
.hm-editorial .hm-footer-subscribe h2{font-size:28px!important}.hm-editorial .hm-footer-links{gap:28px!important}
.hm-editorial .hm-footer-bottom{margin:0 auto!important;padding:24px 24px 36px!important}
}

/* Fixed placement dimensions, preserving the complete creative. */
.hm-adunit .hm-ad-creative{width:var(--hm-ad-width,300px)!important;max-width:100%}
.hm-adunit .hm-ad-creative figure{height:auto!important;overflow:hidden;background:#fff}
.hm-manager-preview{width:100%;max-width:320px;background:#f6f8f9;overflow:hidden}
.hm-editorial .hm-manager-preview img,.hm-editorial .hm-manager-preview video{display:block;width:100%;height:100%;max-height:none;object-fit:contain}
.hm-ad-manager [hidden]{display:none!important}
.hm-media-type{width:100%;min-height:44px;margin:8px 0;font-size:16px}
.hm-dimensions{margin:12px 0 4px}.hm-current-size{font-size:14px;color:#566671}


.hm-editorial #primary.hm-ad-manager{max-width:1100px!important;padding:40px 24px!important;margin:auto!important}
.hm-ad-manager h1{font-size:38px;margin-bottom:16px}
.hm-manager-actions{display:flex;align-items:center;gap:24px;margin:28px 0}
.hm-manager-slot{border-top:1px solid var(--hm-line);padding:20px 0}
.hm-manager-slot summary{cursor:pointer;font-weight:800;font-size:19px;min-height:44px}
.hm-manager-slot summary span{float:right;font-size:14px;color:var(--hm-muted)}
.hm-manager-fields{display:grid;grid-template-columns:320px minmax(0,1fr);gap:32px;padding-top:20px}
.hm-manager-preview img,.hm-manager-preview video{width:100%;max-height:340px;object-fit:contain}
.hm-manager-fields label{display:block;font-weight:700}
.hm-manager-fields input[type=url]{display:block;width:100%;margin-top:8px;font-size:16px}
.hm-manager-fields input[type=checkbox]{margin-right:10px}
.hm-manager-notice{padding:16px;background:#e6f6ed;color:#185739}
.hm-manager-feedback{font-size:14px}
.hm-select-media{background:#066987!important;color:white!important}
@media(max-width:650px){.hm-manager-fields{grid-template-columns:1fr}.hm-manager-actions{flex-wrap:wrap}}


.hm-ad-banner:not(:has(.hm-adunit)),.hm-mobile-ad:not(:has(.hm-adunit)),.hm-rail-slot:not(:has(.hm-adunit)),.hm-pair-slot:not(:has(.hm-adunit)),.hm-stream-ad:not(:has(.hm-adunit)){display:none!important}
#primary.hm-page .hm-section-rail .elementor-widget-shortcode:not(:has(.hm-adunit)){display:none!important}


/* Confirmed first-pass fixes: inherited plugin type and intrinsic ad widths. */
#primary.hm-page .hm-section-hero .elespare-post-title span{font:inherit!important}
#primary.hm-page .hm-section-hero .elespare-posts-tile-post-items{box-shadow:none!important;border:0!important;align-self:start}
#primary.hm-page .hm-section-hero .elespare-posts-wrap.tile-style-1{grid-template-rows:auto 1fr!important}
#primary.hm-page .hm-section-stream .elementor-heading-title{color:var(--hm-ink)!important}
.hm-sponsor-pair>*{min-width:0}
.hm-home .hm-ad-banner>p:empty,.hm-home .hm-pair-slot>p:empty,.hm-home .hm-rail-slot>p:empty,.hm-home .hm-mobile-ad>p:empty{display:none}
@media(max-width:600px){.hm-sponsor-pair{grid-template-columns:minmax(0,1fr)}}

.hm-adunit{margin:0;min-width:0;padding:16px;background:#f6f8f9;text-align:center;border-block:1px solid var(--hm-line)}
.hm-ad-label{font:600 11px/1.4 var(--hm-sans);color:#566671;letter-spacing:.08em;text-transform:uppercase;margin:0 0 12px}
.hm-ad-creative{margin:auto;max-width:100%;width:300px}
.hm-adunit-wide .hm-ad-creative,.hm-adunit-strip .hm-ad-creative{width:728px}
.hm-adunit-landscape .hm-ad-creative{width:560px}
.hm-ad-creative figure{margin:0!important;width:100%;aspect-ratio:var(--hm-ad-ratio,1)}
.hm-ad-creative img,.hm-ad-creative video{display:block;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;border-radius:0}
.hm-ad-creative a{display:block;width:100%;height:100%}
.hm-home>.wp-block-shortcode,.hm-ad-banner{margin-block:32px!important}
.hm-news-and-ads{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:40px;align-items:start;margin-block:36px}
.hm-news-column{min-width:0}
.hm-news-column>.hm-section-row:first-child .hm-section{margin-top:0}
.hm-ad-rail{display:flex;flex-direction:column;gap:40px;padding-top:0}
.hm-sponsor-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;align-items:center;margin:40px 0}
.hm-sponsor-pair .hm-adunit{height:100%;display:flex;flex-direction:column;justify-content:center}
.hm-sponsor-pair .hm-ad-creative{max-width:100%;width:300px}
.hm-sponsor-pair .hm-adunit-landscape .hm-ad-creative{width:480px}
.hm-home .hm-sport-section .wp-block-post-template{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.hm-home .hm-sport-section h3{font-size:21px!important}
.hm-home .hm-sport-section li+li{margin:0;padding:0;border-top:0}
.hm-home .hm-portadas{margin-top:48px;padding-top:28px;border-top:3px solid var(--hm-blue)}
.hm-home .hm-portadas .wp-block-post-template{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
.hm-home .hm-portadas .wp-block-post-featured-image{background:#edf2f4;padding:12px;margin:0 0 14px!important}
.hm-home .hm-portadas .wp-block-post-featured-image img{aspect-ratio:3/4;object-fit:contain}
.hm-home .hm-portadas h3{font-size:20px!important}
.hm-mobile-ad,.hm-stream-ad{display:none}
#primary.hm-page .hm-section-hero .elespare-posts-wrap.tile-style-1{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)!important;gap:24px 36px!important}
#primary.hm-page .hm-section-hero .elespare-posts-tile-post-items:first-child{grid-row:1/3!important;grid-column:1!important}
#primary.hm-page .hm-section-hero .elespare-posts-tile-post-items:not(:first-child){display:grid!important;grid-template-columns:150px minmax(0,1fr);align-content:start;gap:20px;border-top:1px solid var(--hm-line);padding-top:20px!important;grid-column:2!important}
#primary.hm-page .hm-section-hero .elespare-posts-tile-post-items:not(:first-child) .elespare-content-wrapper{padding:0!important}
#primary.hm-page .hm-section-hero .elespare-posts-tile-post-items:not(:first-child) .elespare-post-title{font-size:24px!important}
#primary.hm-page .hm-section-hero .elespare-posts-tile-post-items:first-child .elespare-post-title{font-size:34px!important;line-height:1.16!important}
#primary.hm-page .hm-section-body,#primary.hm-page .hm-section-body>.e-con-inner{display:grid!important;grid-template-columns:minmax(0,1fr) 300px;gap:48px;align-items:start;width:100%}
#primary.hm-page .hm-section-body:has(>.e-con-inner){display:block!important}
#primary.hm-page .hm-section-stream,#primary.hm-page .hm-section-rail{width:100%!important;min-width:0;padding:0!important}
#primary.hm-page .hm-section-stream>.e-con-inner,#primary.hm-page .hm-section-rail>.e-con-inner{padding:0!important}
#primary.hm-page .hm-section-rail{gap:32px!important}
#primary.hm-page .hm-section-rail .elementor-widget-shortcode{width:100%!important}
#primary.hm-page .hm-section-stream .elementor-widget-heading{margin:0 0 8px;border-bottom:2px solid var(--hm-ink);padding:0 0 16px}
#primary.hm-page .hm-section-stream .elementor-heading-title{font:800 25px/1.3 var(--hm-sans)!important;text-align:left}
#primary.hm-page .hm-section-stream .ue_post_blocks{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important}
#primary.hm-page .hm-section-stream .ue_post_blocks>*{min-width:0;max-width:100%}
.hm-stream-ad video{width:100%;max-width:100%;height:auto}
#primary.hm-page .hm-section-stream .ue_post_blocks_box{display:grid!important;grid-template-columns:200px minmax(0,1fr);gap:24px;padding:24px 0!important;border:0;border-bottom:1px solid var(--hm-line);box-shadow:none;background:none;align-items:start}
#primary.hm-page .hm-section-stream .ue_post_blocks_image{width:100%!important;margin:0!important}
#primary.hm-page .hm-section-stream .ue_post_blocks_content{padding:0!important}
#primary.hm-page .hm-section-stream .ue_post_blocks_title{margin:0!important}
#primary.hm-page .hm-section-stream .ue_post_blocks_title a{font-size:25px!important}
#primary.hm-page .hm-section-stream .hm-pagination{margin-top:24px}
#primary.hm-page .hm-section-hero,#primary.hm-page .hm-section-body{padding:0!important;margin:0}
@media(max-width:1100px){
 .hm-news-and-ads{grid-template-columns:minmax(0,1fr) 260px;gap:28px}
 #primary.hm-page .hm-section-body,#primary.hm-page .hm-section-body>.e-con-inner{grid-template-columns:minmax(0,1fr) 260px;gap:28px}
 #primary.hm-page .hm-section-stream .ue_post_blocks_box{grid-template-columns:140px minmax(0,1fr);gap:20px}
 #primary.hm-page .hm-section-hero .elespare-posts-tile-post-items:not(:first-child){grid-template-columns:110px minmax(0,1fr)}
}
@media(max-width:850px){
 .hm-news-and-ads{display:block;margin-block:28px}
 .hm-ad-rail{display:none}
 .hm-mobile-ad{display:block;margin-block:28px}
 #primary.hm-page .hm-section-body,#primary.hm-page .hm-section-body>.e-con-inner{grid-template-columns:1fr;gap:24px}
 #primary.hm-page .hm-section-rail .elementor-widget-shortcode:nth-child(-n+2){display:none}
 #primary.hm-page .hm-section-rail:not(:has(.elementor-widget-shortcode:nth-child(3))){display:none}
 .hm-stream-ad{display:block;margin:24px 0}
 #primary.hm-page .hm-section-hero .elespare-posts-wrap.tile-style-1{grid-template-columns:1fr!important;gap:24px!important}
 #primary.hm-page .hm-section-hero .elespare-posts-tile-post-items:first-child{grid-row:auto!important;grid-column:auto!important}
 #primary.hm-page .hm-section-hero .elespare-posts-tile-post-items:not(:first-child){grid-column:auto!important;grid-template-columns:140px minmax(0,1fr)}
 .hm-home .hm-portadas .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .hm-home .hm-secondary .wp-block-post-template{grid-template-columns:1fr!important;gap:0}
 .hm-home .hm-secondary li{padding:16px 0!important}
 .hm-home .hm-secondary h2{font-size:21px!important}
 .hm-adunit{padding:12px}
 .hm-adunit-portrait .hm-ad-creative{width:240px}
 .hm-sponsor-pair{grid-template-columns:1fr;gap:28px;margin-block:28px}
 .hm-home .hm-sport-section .wp-block-post-template{grid-template-columns:1fr}
 .hm-home .hm-portadas .wp-block-post-template{gap:24px 16px}
 .hm-home .hm-portadas h3{font-size:17px!important;overflow-wrap:anywhere}
 .hm-home .hm-portadas .wp-block-post-featured-image{padding:6px}
 #primary.hm-page .hm-section-hero .elespare-posts-tile-post-items:first-child .elespare-post-title{font-size:29px!important}
 #primary.hm-page .hm-section-hero .elespare-posts-tile-post-items:not(:first-child){grid-template-columns:96px minmax(0,1fr);gap:16px}
 #primary.hm-page .hm-section-hero .elespare-posts-tile-post-items:not(:first-child) .elespare-post-title{font-size:21px!important}
 #primary.hm-page .hm-section-stream .ue_post_blocks_box{grid-template-columns:96px minmax(0,1fr);gap:16px;padding:20px 0!important}
 #primary.hm-page .hm-section-stream .ue_post_blocks_title a{font-size:21px!important}
 .hm-section-page-heading{margin-bottom:24px}
}
