	body.home #proxima-publicacao .home-post-card__cover-status { display: none !important; }
body.home #proxima-publicacao .home-post-card__date time { margin-inline-start: .3em; }
body.home #proxima-publicacao { padding-top: calc(56.25% + .25rem) !important; }
body.home .home-post-card--upcoming.cqo-special-card > .home-post-card__date { display: none !important; }

/* Alinha a manifestação ao aviso editorial e reduz o espaço inferior do formulário. */
body .editorial-footer .cqo-feedback {
  grid-template-areas:
    "intro choices"
    "privacy message"
    "submit message"
    ". status";
  padding-bottom: 1rem !important;
}
body .editorial-footer .cqo-feedback__form > p:has(textarea) {
  grid-area: message;
  margin: 0 !important;
}
body .editorial-footer .cqo-feedback__form > p:has(.cqo-feedback__submit) {
  display: contents !important;
}
body .editorial-footer .cqo-feedback__submit {
  justify-self: center !important;
  align-self: start !important;
  margin: 0 !important;
}
body .editorial-footer .cqo-feedback__status { min-height: 0 !important; margin: 0 !important; }
@media (max-width: 700px) {
  body .editorial-footer .cqo-feedback {
    grid-template-areas: "intro" "choices" "message" "privacy" "submit" "status";
    padding-bottom: .85rem !important;
  }
}


/* Publicacoes: impedir que sobras da coluna virem buracos entre paragrafos. */
body.single-post .editorial-content :is(.cqo-article-opening__copy,.cqo-guide-flow-card__copy,.cgo-image-text>div) {
  justify-content:flex-start !important;
  align-self:start !important;
  gap:.65rem !important;
}
/* Pato Branco: espaco compacto e foto alinhada ao bloco de texto. */
body.postid-578 .editorial-content .cqo-article-opening { row-gap:.65rem !important; }
body.postid-578 .editorial-content .cqo-article-opening__copy > :is(h2,p) { margin:0 !important; }
body.postid-578 .editorial-content .cqo-article-opening__copy > p:first-of-type { margin:0 !important; }
body.single-post.postid-578 .editorial-content .cqo-article-opening__media-slot .editorial-hero { height:auto !important; aspect-ratio:auto !important; }
body.single-post.postid-578 .editorial-content .cqo-article-opening__media-slot .editorial-hero img { width:88% !important; height:auto !important; aspect-ratio:auto !important; margin-inline:auto !important; }
body.single-post.postid-578 .editorial-content .cqo-article-opening__media-slot .cqo-cover-credit { margin-top:.5rem !important; }

body.single-post.postid-247 .editorial-content .cqo-article-opening__media-slot .editorial-hero { height:auto !important; aspect-ratio:auto !important; }
body.single-post.postid-247 .editorial-content .cqo-article-opening__media-slot .editorial-hero img { width:88% !important; height:auto !important; aspect-ratio:auto !important; margin-inline:auto !important; }


/* Altura fixa para os cartões de aprendizados e 5W2H, sem depender da quebra do título. */
body .editorial-content .cqo-managerial-grid { align-items:stretch !important; grid-auto-rows:minmax(9rem,auto) !important; }
body .editorial-content .cqo-managerial-grid > li { align-self:stretch !important; min-height:9rem !important; }
body .editorial-content .cqo-managerial-grid > li > details > summary { box-sizing:border-box; min-height:9rem !important; height:9rem !important; align-items:center !important; }
body .editorial-content .cqo-5w2h-grid { align-items:stretch !important; grid-auto-rows:minmax(5rem,auto) !important; }
body .editorial-content .cqo-5w2h-grid > details { align-self:stretch !important; min-height:5rem !important; }
body .editorial-content .cqo-5w2h-grid > details > summary { box-sizing:border-box; min-height:5rem !important; height:5rem !important; align-items:center !important; }


/* Matérias regulares da série: capa vertical preenchendo a coluna de abertura. */
body.single-post.cqo-body-format-series .cqo-has-article-opening .cqo-article-opening__media-slot .editorial-hero {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
}
body.single-post.cqo-body-format-series .cqo-has-article-opening .cqo-article-opening__media-slot .editorial-hero img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  margin-inline: 0 !important;
}


/* Série regular: a introdução flui ao lado e abaixo da capa, sem faixa vazia. */
body.single-post.cqo-body-format-series .cqo-has-article-opening .cqo-article-opening {
  display: contents !important;
}
body.single-post.cqo-body-format-series .cqo-has-article-opening .cqo-article-opening__media-slot {
  float: left !important;
  display: block !important;
  width: 42% !important;
  max-width: 42% !important;
  margin: 0 clamp(1rem, 2.4vw, 1.5rem) .9rem 0 !important;
}
body.single-post.cqo-body-format-series .cqo-has-article-opening .cqo-article-opening__copy {
  display: contents !important;
}
@media (max-width: 760px) {
  body.single-post.cqo-body-format-series .cqo-has-article-opening .cqo-article-opening__media-slot {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 1rem !important;
  }
}


/* Série regular: ritmo compacto e uniforme entre parágrafos da abertura. */
body.single-post.cqo-body-format-series .editorial-content .cqo-article-opening__copy > p,
body.single-post.cqo-body-format-series .editorial-content > .cqo-article-opening + p {
  margin-block: 0 .5rem !important;
}


/* Série regular: alinhar o início visual do texto ao topo da capa em duas colunas. */
@media (min-width: 761px) {
  body.single-post.cqo-body-format-series .cqo-article-opening__copy > p:first-of-type {
    transform: translateY(-.2em) !important;
  }
}


/* Cartões menores e uniformes na seção de observação de Pato Branco. */
body.single-post.postid-578 .editorial-content .cqo-city-observation-grid {
  align-items: stretch !important;
  grid-auto-rows: minmax(6rem, auto) !important;
  gap: .75rem !important;
}
body.single-post.postid-578 .editorial-content .cqo-city-observation-grid > article {
  align-self: stretch !important;
  min-height: 6rem !important;
}
body.single-post.postid-578 .editorial-content .cqo-city-observation-grid > article > details {
  height: 100% !important;
}
body.single-post.postid-578 .editorial-content .cqo-city-observation-grid summary {
  box-sizing: border-box;
  min-height: 6rem !important;
  align-items: center !important;
  padding: .65rem .8rem !important;
  font-size: 1rem !important;
  line-height: 1.3 !important;
}


/* Corrige o espaço reservado excessivo da imagem lazy do IPARDES. */
body.single-post .editorial-content .cgo-image-text--ipardes > figure {
  align-self: start !important;
  height: auto !important;
  min-height: 0 !important;
}
body.single-post .editorial-content .cgo-image-text--ipardes > figure > img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  contain-intrinsic-size: auto 474px 316px !important;
  aspect-ratio: 3 / 2 !important;
  object-fit: contain !important;
  object-position: top center !important;
}
body.home #proxima-publicacao .home-post-card__cover-status { display: none !important; }
body.home #proxima-publicacao .home-post-card__date time { margin-inline-start: .3em; }
body.home #proxima-publicacao { padding-top: calc(56.25% + .25rem) !important; }
body.home .home-post-card--upcoming.cqo-special-card > .home-post-card__date { display: none !important; }

/* Alinha a manifestação ao aviso editorial e reduz o espaço inferior do formulário. */
body .editorial-footer .cqo-feedback {
  grid-template-areas:
    "intro choices"
    "privacy message"
    "submit message"
    ". status";
  padding-bottom: 1rem !important;
}
body .editorial-footer .cqo-feedback__form > p:has(textarea) {
  grid-area: message;
  margin: 0 !important;
}
body .editorial-footer .cqo-feedback__form > p:has(.cqo-feedback__submit) {
  display: contents !important;
}
body .editorial-footer .cqo-feedback__submit {
  justify-self: center !important;
  align-self: start !important;
  margin: 0 !important;
}
body .editorial-footer .cqo-feedback__status { min-height: 0 !important; margin: 0 !important; }
@media (max-width: 700px) {
  body .editorial-footer .cqo-feedback {
    grid-template-areas: "intro" "choices" "message" "privacy" "submit" "status";
    padding-bottom: .85rem !important;
  }
}


/* Publicacoes: impedir que sobras da coluna virem buracos entre paragrafos. */
body.single-post .editorial-content :is(.cqo-article-opening__copy,.cqo-guide-flow-card__copy,.cgo-image-text>div) {
  justify-content:flex-start !important;
  align-self:start !important;
  gap:.65rem !important;
}
/* Pato Branco: espaco compacto e foto alinhada ao bloco de texto. */
body.postid-578 .editorial-content .cqo-article-opening { row-gap:.65rem !important; }
body.postid-578 .editorial-content .cqo-article-opening__copy > :is(h2,p) { margin:0 !important; }
body.postid-578 .editorial-content .cqo-article-opening__copy > p:first-of-type { margin:0 !important; }
body.single-post.postid-578 .editorial-content .cqo-article-opening__media-slot .editorial-hero { height:auto !important; aspect-ratio:auto !important; }
body.single-post.postid-578 .editorial-content .cqo-article-opening__media-slot .editorial-hero img { width:88% !important; height:auto !important; aspect-ratio:auto !important; margin-inline:auto !important; }
body.single-post.postid-578 .editorial-content .cqo-article-opening__media-slot .cqo-cover-credit { margin-top:.5rem !important; }

body.single-post.postid-247 .editorial-content .cqo-article-opening__media-slot .editorial-hero { height:auto !important; aspect-ratio:auto !important; }
body.single-post.postid-247 .editorial-content .cqo-article-opening__media-slot .editorial-hero img { width:88% !important; height:auto !important; aspect-ratio:auto !important; margin-inline:auto !important; }


/* Altura fixa para os cartões de aprendizados e 5W2H, sem depender da quebra do título. */
body .editorial-content .cqo-managerial-grid { align-items:stretch !important; grid-auto-rows:minmax(9rem,auto) !important; }
body .editorial-content .cqo-managerial-grid > li { align-self:stretch !important; min-height:9rem !important; }
body .editorial-content .cqo-managerial-grid > li > details > summary { box-sizing:border-box; min-height:9rem !important; height:9rem !important; align-items:center !important; }
body .editorial-content .cqo-5w2h-grid { align-items:stretch !important; grid-auto-rows:minmax(5rem,auto) !important; }
body .editorial-content .cqo-5w2h-grid > details { align-self:stretch !important; min-height:5rem !important; }
body .editorial-content .cqo-5w2h-grid > details > summary { box-sizing:border-box; min-height:5rem !important; height:5rem !important; align-items:center !important; }


/* Matérias regulares da série: capa vertical preenchendo a coluna de abertura. */
body.single-post.cqo-body-format-series .cqo-has-article-opening .cqo-article-opening__media-slot .editorial-hero {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
}
body.single-post.cqo-body-format-series .cqo-has-article-opening .cqo-article-opening__media-slot .editorial-hero img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  margin-inline: 0 !important;
}


/* Série regular: a introdução flui ao lado e abaixo da capa, sem faixa vazia. */
body.single-post.cqo-body-format-series .cqo-has-article-opening .cqo-article-opening {
  display: contents !important;
}
body.single-post.cqo-body-format-series .cqo-has-article-opening .cqo-article-opening__media-slot {
  float: left !important;
  display: block !important;
  width: 42% !important;
  max-width: 42% !important;
  margin: 0 clamp(1rem, 2.4vw, 1.5rem) .9rem 0 !important;
}
body.single-post.cqo-body-format-series .cqo-has-article-opening .cqo-article-opening__copy {
  display: contents !important;
}
@media (max-width: 760px) {
  body.single-post.cqo-body-format-series .cqo-has-article-opening .cqo-article-opening__media-slot {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 1rem !important;
  }
}


/* Série regular: ritmo compacto e uniforme entre parágrafos da abertura. */
body.single-post.cqo-body-format-series .editorial-content .cqo-article-opening__copy > p,
body.single-post.cqo-body-format-series .editorial-content > .cqo-article-opening + p {
  margin-block: 0 .5rem !important;
}


/* Série regular: alinhar o início visual do texto ao topo da capa em duas colunas. */
@media (min-width: 761px) {
  body.single-post.cqo-body-format-series .cqo-article-opening__copy > p:first-of-type {
    transform: translateY(-.2em) !important;
  }
}


/* Cartões menores e uniformes na seção de observação de Pato Branco. */
body.single-post.postid-578 .editorial-content .cqo-city-observation-grid {
  align-items: stretch !important;
  grid-auto-rows: minmax(6rem, auto) !important;
  gap: .75rem !important;
}
body.single-post.postid-578 .editorial-content .cqo-city-observation-grid > article {
  align-self: stretch !important;
  min-height: 6rem !important;
}
body.single-post.postid-578 .editorial-content .cqo-city-observation-grid > article > details {
  height: 100% !important;
}
body.single-post.postid-578 .editorial-content .cqo-city-observation-grid summary {
  box-sizing: border-box;
  min-height: 6rem !important;
  align-items: center !important;
  padding: .65rem .8rem !important;
  font-size: 1rem !important;
  line-height: 1.3 !important;
}


/* Ajustes pendentes da auditoria 02–03/10: IPARDES, cartões e manifestação. */
body.single-post.postid-578 .editorial-content .cgo-image-text--ipardes { height:auto !important; min-height:0 !important; grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important; align-items:start !important; column-gap:1rem !important; }
body.single-post.postid-578 .editorial-content .cgo-image-text--ipardes > figure.cqo-flow-visual { align-self:start !important; height:auto !important; min-height:0 !important; margin:0 !important; }
body.single-post.postid-578 .editorial-content .cgo-image-text--ipardes > figure.cqo-flow-visual > img { display:block !important; width:100% !important; height:auto !important; min-height:0 !important; max-height:none !important; aspect-ratio:3 / 2 !important; object-fit:contain !important; object-position:top center !important; }
@media (max-width:900px) { body.single-post.postid-578 .editorial-content .cgo-image-text--ipardes { grid-template-columns:minmax(0,1fr) !important; } }

body .editorial-footer .cqo-feedback__choices { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; align-items:stretch !important; gap:.6rem !important; }
body .editorial-footer .cqo-feedback__choices label { display:block !important; width:100% !important; min-width:0 !important; min-height:44px !important; }
body .editorial-footer .cqo-feedback__choices label > span { display:flex !important; box-sizing:border-box !important; width:100% !important; min-height:44px !important; height:100% !important; align-items:center !important; justify-content:center !important; text-align:center !important; }

body.page-id-546 .cqo-specials-archive .home-post-grid__items { align-items:stretch !important; }
body.page-id-546 .cqo-specials-archive .home-post-card--upcoming.cqo-special-card { display:flex !important; flex-direction:column !important; height:100% !important; box-sizing:border-box !important; }
body.page-id-546 .cqo-specials-archive .home-post-card--upcoming.cqo-special-card > .home-post-card__date { display:inline-flex !important; order:10 !important; align-self:flex-end !important; align-items:center !important; justify-content:center !important; margin-block-start:auto !important; margin-inline:0 !important; padding:.7rem 1rem !important; min-height:2.5rem !important; border:1px solid #08776f !important; border-radius:999px !important; background:#08776f !important; color:#fff !important; font-weight:700 !important; line-height:1.15 !important; }


/* Em breve no rodape do cartao de Uberlandia em Especiais. */
body.page-id-546 .home-post-card--upcoming.cqo-special-card { display:flex !important; flex-direction:column !important; height:100% !important; box-sizing:border-box !important; }
body.page-id-546 .home-post-card--upcoming.cqo-special-card > .home-post-card__date { display:inline-flex !important; order:10 !important; align-self:flex-end !important; align-items:center !important; justify-content:center !important; margin-block-start:auto !important; margin-inline:0 !important; padding:.7rem 1rem !important; min-height:2.5rem !important; border:1px solid #08776f !important; border-radius:999px !important; background:#08776f !important; color:#fff !important; font-weight:700 !important; line-height:1.15 !important; }
/* Alinha o fundo do campo de sugestão ao botão de envio em artigos e estudos. */@media (min-width: 701px) {  body .editorial-footer .cqo-feedback > .cqo-feedback__form {    grid-template-rows: max-content max-content minmax(142px, 1fr) min-content !important;  }
	body .editorial-footer .cqo-feedback > .cqo-feedback__form textarea {    min-height: 142px !important;  }
}
@media (min-width: 701px) { body .editorial-footer .cqo-feedback > .cqo-feedback__form { grid-template-rows: max-content max-content minmax(164px, 1fr) min-content !important; } body .editorial-footer .cqo-feedback > .cqo-feedback__form textarea { min-height: 164px !important; } }


/* Feedback editorial: aproximar o rótulo das opções e ampliar o campo para cima, mantendo a base alinhada ao envio. */
@media (min-width: 701px) {
  body .editorial-footer .cqo-feedback,
  body.postid-39 .editorial-footer .cqo-feedback,
  body.postid-122 .editorial-footer .cqo-feedback {
    display: grid !important;
    align-items: stretch !important;
    grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr) !important;
    grid-template-areas: "intro form" !important;
  }
  body .editorial-footer .cqo-feedback > .cqo-feedback__intro,
  body.postid-39 .editorial-footer .cqo-feedback > .cqo-feedback__intro,
  body.postid-122 .editorial-footer .cqo-feedback > .cqo-feedback__intro {
    grid-area: intro !important;
  }
  body .editorial-footer .cqo-feedback > .cqo-feedback__form,
  body.postid-39 .editorial-footer .cqo-feedback > .cqo-feedback__form,
  body.postid-122 .editorial-footer .cqo-feedback > .cqo-feedback__form {
    display: grid !important;
    grid-area: form !important;
    grid-template-columns: minmax(0,1fr) !important;
    grid-template-rows: max-content max-content minmax(164px,1fr) min-content !important;
    align-content: stretch;
    align-self: stretch;
    min-height: 0;
  }
  body .editorial-footer .cqo-feedback > .cqo-feedback__form fieldset,
  body.postid-39 .editorial-footer .cqo-feedback > .cqo-feedback__form fieldset,
  body.postid-122 .editorial-footer .cqo-feedback > .cqo-feedback__form fieldset {
    grid-row: 1 !important;
    grid-column: 1 !important;
    margin: 0 0 .55rem !important;
  }
  body .editorial-footer .cqo-feedback > .cqo-feedback__form > p:has(textarea),
  body.postid-39 .editorial-footer .cqo-feedback > .cqo-feedback__form > p:has(textarea),
  body.postid-122 .editorial-footer .cqo-feedback > .cqo-feedback__form > p:has(textarea) {
    display: contents !important;
  }
  body .editorial-footer .cqo-feedback .cqo-feedback__message-label,
  body.postid-39 .editorial-footer .cqo-feedback .cqo-feedback__message-label,
  body.postid-122 .editorial-footer .cqo-feedback .cqo-feedback__message-label {
    grid-row: 2 !important;
    grid-column: 1 !important;
    align-self: start;
    margin: 0 0 .4rem !important;
  }
  body .editorial-footer .cqo-feedback > .cqo-feedback__form textarea,
  body.postid-39 .editorial-footer .cqo-feedback > .cqo-feedback__form textarea,
  body.postid-122 .editorial-footer .cqo-feedback > .cqo-feedback__form textarea {
    grid-row: 3 !important;
    grid-column: 1 !important;
    align-self: stretch;
    width: 100%;
    min-height: 164px !important;
    height: 100%;
    margin: 0 !important;
    box-sizing: border-box;
  }
  body .editorial-footer .cqo-feedback .cqo-feedback__status,
  body.postid-39 .editorial-footer .cqo-feedback .cqo-feedback__status,
  body.postid-122 .editorial-footer .cqo-feedback .cqo-feedback__status {
    grid-row: 4 !important;
    grid-column: 1 !important;
    height: 0;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0;
    overflow: hidden;
    line-height: 0;
  }
  body .editorial-footer .cqo-feedback > .cqo-feedback__form > p:has(input[type="hidden"]),
  body.postid-39 .editorial-footer .cqo-feedback > .cqo-feedback__form > p:has(input[type="hidden"]),
  body.postid-122 .editorial-footer .cqo-feedback > .cqo-feedback__form > p:has(input[type="hidden"]) {
    display: none !important;
  }
  body .editorial-footer .cqo-feedback__intro > p:has(.cqo-feedback__submit),
  body.postid-39 .editorial-footer .cqo-feedback__intro > p:has(.cqo-feedback__submit),
  body.postid-122 .editorial-footer .cqo-feedback__intro > p:has(.cqo-feedback__submit) {
    margin-bottom: 0 !important;
  }
}


/* Pato Branco IPARDES pair: restore the approved editorial image/text flow. */
body.single-post.postid-578 .editorial-content .cgo-image-text--ipardes {
  display: flow-root !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-block: 0 1rem !important;
}
body.single-post.postid-578 .editorial-content .cgo-image-text--ipardes > figure.cqo-flow-visual {
  display: block !important;
  float: left !important;
  width: min(40%, 22rem) !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 1.5rem .8rem 0 !important;
  padding: 0 !important;
  align-self: auto !important;
}
body.single-post.postid-578 .editorial-content .cgo-image-text--ipardes > figure.cqo-flow-visual > img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
}
body.single-post.postid-578 .editorial-content .cgo-image-text--ipardes > figure + p {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
@media (max-width: 760px) {
  body.single-post.postid-578 .editorial-content .cgo-image-text--ipardes > figure.cqo-flow-visual {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 1rem !important;
  }
}
	

/* IPARDES: remove the reserved lazy-image height; preserve the source ratio. */
body.single-post.postid-578 .editorial-content .cgo-image-text--ipardes > figure.cqo-flow-visual > img { contain-intrinsic-size: none !important; height: auto !important; aspect-ratio: auto !important; }
	
/* IPARDES: keep the source 3:2 ratio so lazy loading reserves the right height. */
body.single-post.postid-578 .editorial-content .cgo-image-text--ipardes > figure.cqo-flow-visual > img { contain-intrinsic-size: none !important; height: auto !important; aspect-ratio: 3 / 2 !important; }
	
/* Preserve the face in the vertical featured art for Agriculture. */
.featured-article > .wp-block-post-featured-image img[src*="04-agricultura-1.png"] { object-position: center 12% !important; }
	
.home-post-card--upcoming img[src*="04-agricultura-1.png"] { object-position: center 12% !important; }
	