/* BH Editorial — responsivo. Breakpoints: 1100 / 1024 / 900 / 768 / 600 / 480 / 380. */
@media (max-width:1100px){
	:root{--gutter:18px;--sidebar-width:280px}
	.bhe-layout.has-sidebar{gap:24px}
	.bhe-slide__title{font-size:21px}
	.bhe-header__inner{column-gap:18px}
	.bhe-menu,.bhe-menu--fallback{gap:0 18px}
}
@media (max-width:1024px){
	.bhe-grid--4{grid-template-columns:repeat(3,minmax(0,1fr))}
	.bhe-rail__item--author{flex-basis:calc((100% - 40px)/3)}
	.bhe-rail--stories .bhe-rail__item,.bhe-rail__item{flex-basis:calc((100% - 60px)/4)}
	.bhe-rail__btn--prev{left:-8px}
	.bhe-rail__btn--next{right:-8px}
	.bhe-rail__btn{background:var(--surface);border-radius:50%;box-shadow:var(--shadow-soft);width:30px;height:30px}
}
@media (max-width:900px){
	/* Header mobile: burger | logo centralizada | busca + modo */
	.bhe-header__inner{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);column-gap:8px;min-height:56px}
	.bhe-header__left{display:flex;justify-content:flex-start}
	.bhe-nav,.bhe-partner{display:none}
	.bhe-brand{grid-column:2;justify-content:center}
	.bhe-brand img{width:var(--logo-w-m);max-height:var(--logo-h-m);max-width:100%}
	.bhe-header__tools{grid-column:3;gap:0}
	.bhe-search__panel{position:absolute;left:0;right:0;top:100%;width:auto!important;max-height:0;overflow:hidden;background:var(--header-bg);border-bottom:1px solid transparent;padding:0 var(--gutter);transition:max-height .25s ease,padding .25s ease}
	.bhe-search.is-open .bhe-search__panel{max-height:76px;padding:10px var(--gutter);border-bottom-color:var(--border);width:auto!important}
	.bhe-header__tools .bhe-mode{display:inline-flex}

	.bhe-layout.has-sidebar{grid-template-columns:minmax(0,1fr)}
	.bhe-layout__side{margin-top:8px}
	.bhe-hero__grid.has-side{grid-template-columns:minmax(0,1fr)}
	.bhe-hero__side{grid-template-columns:repeat(2,minmax(0,1fr))}
	.bhe-podcast__box{grid-template-columns:1fr;padding:20px}
	.bhe-footer__grid{flex-direction:column}
	.bhe-footer__brand{align-items:flex-start}
	.bhe-company__art{grid-template-columns:1fr;text-align:center;justify-items:center;min-height:0}
	.bhe-company__brand{align-items:center}
	.bhe-company__cta{justify-content:center}
	.bhe-company--728x90 .bhe-company__art,.bhe-company--720x90 .bhe-company__art{grid-template-columns:1fr;gap:6px;padding:14px}
	.bhe-company--300x600 .bhe-company__art{min-height:0}
	.bhe-card--horizontal{grid-template-columns:112px minmax(0,1fr)}
}
@media (max-width:768px){
	.bhe-grid--3,.bhe-grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}
	.bhe-grid--mosaic{grid-template-columns:repeat(2,minmax(0,1fr))}
	.bhe-grid--mosaic>.bhe-card--large{grid-column:span 2}
	.bhe-grid--feat-3{grid-template-columns:repeat(2,minmax(0,1fr))}
	.bhe-list--h{grid-template-columns:1fr}
	.bhe-feature{grid-template-columns:1fr}
	.bhe-rail__item--author{flex-basis:72%;min-width:0}
	.bhe-rail--stories .bhe-rail__item,.bhe-rail__item{flex-basis:calc((100% - 40px)/3);min-width:0}
	.bhe-rail__btn{display:none}
	.bhe-slide__title{font-size:20px}
	.bhe-carousel__btn{opacity:1;width:34px;height:34px}
	.bhe-section-title__text{font-size:16px}
	.bhe-ad--970x250,.bhe-ad--728x90,.bhe-ad--720x90{max-width:100%}
	.bhe-ad-band{padding-block:10px}
	.bhe-footer__menus{gap:26px 40px}
}
@media (max-width:600px){
	.bhe-grid--feat{grid-template-columns:1fr}
	.bhe-grid--feat-3,.bhe-grid--feat-4{grid-template-columns:1fr}
	.bhe-rail--stories .bhe-rail__item,.bhe-rail__item{flex-basis:calc((100% - 28px)/2.4)}
	.bhe-rail__item--author{flex-basis:80%}
	.bhe-podcast__info{flex-direction:column;align-items:flex-start}
	.bhe-footer__menus{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
	.bhe-footer__title{text-align:left}
}
@media (max-width:480px){
	:root{--gutter:16px}
	.bhe-grid--2,.bhe-grid--3,.bhe-grid--4,.bhe-grid--mosaic{grid-template-columns:1fr}
	.bhe-grid--mosaic>.bhe-card--large{grid-column:auto}
	.bhe-hero__side{grid-template-columns:1fr}
	.bhe-card--horizontal{grid-template-columns:104px minmax(0,1fr);gap:12px}
	.bhe-slide__title{font-size:19px}
	.bhe-block{padding-block:14px}
	.bhe-pagination .page-numbers{min-width:34px;height:34px}
	.bhe-podcast__box{padding:16px}
	.bhe-company__title{font-size:20px}
}
@media (max-width:380px){
	.bhe-iconbtn{width:36px;height:36px}
	.bhe-brand img{width:min(var(--logo-w-m),120px)}
	.bhe-header__inner{column-gap:4px}
}
@media (max-width:900px){
	.bhe-topbar__nav{justify-content:flex-start}
	.bhe-topbar__list{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;gap:0 18px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
	.bhe-topbar__list::-webkit-scrollbar{display:none}
	.bhe-topbar__list a{white-space:nowrap}
}
