/* Peggy Food v1.4 — pagina nativa, senza correzioni a menu o footer */
/* Nasconde solo gli eventuali titoli DUPLICATI aggiunti dal tema; mai il titolo guida. */
body.pgp-native-portion .entry-header:has(.entry-title),
body.pgp-native-portion .page-header:has(.page-title),
body.pgp-native-portion .uicore-page-title,
body.pgp-native-portion .uicore-title,
body.pgp-native-portion .entry-title { display:none!important; }
/* Il contenuto del tema non deve aggiungere un grande vuoto sopra il widget. */
body.pgp-native-portion .entry-content:has(> #pgp-app),
body.pgp-native-portion .entry-content:has(#pgp-app),
body.pgp-native-portion .wp-block-post-content:has(#pgp-app) {
  margin-top:0!important;
  margin-bottom:0!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
/* La guida ha larghezza piena anche nel template predefinito, che puo' essere stretto. */
body.pgp-native-portion #pgp-app.pgp-page {
  width:100vw!important;
  max-width:none!important;
  position:relative!important;
  left:50%!important;
  margin-left:-50vw!important;
  margin-top:0!important;
  margin-bottom:0!important;
  transform:none!important;
  clear:both;
}
/* Per browser con scrollbar, non si generano barre orizzontali. */
body.pgp-native-portion { overflow-x:clip; }
@media (max-width:760px) {
  body.pgp-native-portion #pgp-app .pgp-hero-grid { padding-top:25px; }
}
