/* Territórios à Mesa dentro do GASTROIFF: páginas de Pesquisa e projeto.
   Especificidade restrita a estas páginas, sem modificar outros perfis. */
body.gastroiff-page .header.header-refined{
  position:sticky!important;top:0!important;z-index:250!important;
  background:#fffdfa!important;isolation:isolate!important;
  border-bottom:1px solid #dce5db!important;
  box-shadow:0 4px 15px rgba(30,58,41,.06)!important;
  overflow:visible!important;
}
body.gastroiff-page .header.header-refined .headerline{
  min-height:70px!important;height:auto!important;
  padding-top:6px!important;padding-bottom:6px!important;align-items:center!important
}
body.gastroiff-page .header.header-refined .brand-exact img,
body.gastroiff-page .header.header-refined .gastrobrand img{
  max-height:60px!important;height:auto!important;width:auto!important;
  max-width:100%!important;object-fit:contain!important;object-position:center!important;
  display:block!important
}
body.gastroiff-page main{position:relative;z-index:1}
body.gastroiff-page .pagehero,
body.gastroiff-page .gi-territorios-feature{scroll-margin-top:86px}
body.gastroiff-page .gi-territorios-grid{grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr)!important;gap:clamp(22px,3vw,38px)!important;align-items:center!important}
body.gastroiff-page .gi-territorios-copy{min-width:0}
body.gastroiff-page .gi-territorios-copy p{max-width:66ch!important;line-height:1.76!important}
body.gastroiff-page .gi-territorios-media{
 min-height:0!important;height:auto!important;max-height:none!important;
 display:flex!important;flex-direction:column!important;gap:0!important;
 position:relative!important;overflow:hidden!important;border-radius:19px!important;
 background:#f3f1e9!important;
}
body.gastroiff-page .gi-territorios-media img{
 display:block!important;width:100%!important;height:auto!important;
 min-height:0!important;max-height:265px!important;object-fit:contain!important;
 object-position:center!important;background:#f3f1e9!important;padding:8px!important
}
body.gastroiff-page .gi-territorios-media-label{
 position:static!important;inset:auto!important;display:block!important;
 padding:12px 16px!important;margin:0!important;
 border-radius:0!important;box-shadow:none!important;
 background:#fffdf9!important;color:#314f42!important;line-height:1.45!important;
}
body.gastroiff-page .gi-territorios-copy h2{font-size:clamp(1.9rem,3.6vw,3rem)!important}
body.gastroiff-page .gi-territorios-action{min-height:46px!important;padding:11px 17px!important}
@media(min-width:741px){
 body.gastroiff-page .gi-territorios-copy p,
 body.gastroiff-page .gi-territorios-intro p{
  text-align:justify!important;text-justify:inter-word!important;hyphens:auto!important;
 }
}
@media(max-width:790px){
 body.gastroiff-page .gi-territorios-grid{grid-template-columns:1fr!important;gap:14px!important}
 body.gastroiff-page .gi-territorios-media img{max-height:225px!important}
 body.gastroiff-page .gi-territorios-media{max-width:100%!important}
}
@media(max-width:600px){
 body.gastroiff-page .header.header-refined .headerline{min-height:66px!important;padding-block:7px!important}
 body.gastroiff-page .header.header-refined .brand-exact img,
 body.gastroiff-page .header.header-refined .gastrobrand img{max-height:50px!important}
 body.gastroiff-page .gi-territorios-copy p,
 body.gastroiff-page .gi-territorios-intro p{text-align:left!important;hyphens:none!important}
 body.gastroiff-page .gi-territorios-copy h2{font-size:2rem!important}
 body.gastroiff-page .gi-territorios-media img{max-height:190px!important}
}
