/* Página "Teste" (ID 239): remove cabeçalho, título e faixa branca do topo */
body.page-id-239 header.wp-block-template-part,
body.page-id-239 main > .wp-block-group:has(> h1.wp-block-post-title) {
  display: none !important;
}
body.page-id-239 main,
body.page-id-239 .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.page-id-239 main > :first-child,
body.page-id-239 .entry-content > :first-child {
  margin-top: 0 !important;
}

/* Página "Semi Extensivo" (ID 332): remove cabeçalho e faixa branca do topo */
body.page-id-332 header.wp-block-template-part {
  display: none !important;
}
body.page-id-332 main,
body.page-id-332 .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.page-id-332 main > :first-child,
body.page-id-332 .entry-content > :first-child {
  margin-top: 0 !important;
}


/* Corrige imagem em tela cheia / Cover no mobile (página Semi Extensivo) - mantém imagem alinhada à esquerda e evita corte de texto */
@media (max-width: 768px) {
  body.page-id-332 .wp-block-cover .wp-block-cover__inner-container {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }
  body.page-id-332 .wp-block-cover h1,
  body.page-id-332 .wp-block-cover h2,
  body.page-id-332 .wp-block-cover h3 {
    font-size: clamp(1.4rem, 6vw, 2.4rem) !important;
    line-height: 1.2 !important;
    word-wrap: break-word !important;
  }
  body.page-id-332 .wp-block-cover p {
    font-size: clamp(0.95rem, 4vw, 1.15rem) !important;
    line-height: 1.45 !important;
    word-wrap: break-word !important;
  }
  body.page-id-332 .wp-block-cover .wp-block-cover__image-background {
    object-position: left center !important;
  }
}


/* Visibilidade responsiva  alternar imagens desktop vs tablet/mobile */
@media (max-width: 1024px) {
	.hide-on-tablet-mobile { display: none !important; }
}
@media (min-width: 1025px) {
	.hide-on-desktop { display: none !important; }
}


/* Hero da pgina Semi Extensivo  desativar parallax em tablet/mobile (iOS/Android no suportam bem background-attachment: fixed) */
@media (max-width: 1024px) {
	.hero-no-parallax-mobile {
		    background-attachment: scroll !important;
	}
}