.wp-site-blocks > main.pmcg-documentos {
  width: 100%;
  padding-block: 0 clamp(36px, 5vw, 68px);
  background: #f0f0e3;
}
.pmcg-documentos > .wp-block-post-content,
.pmcg-documentos__miolo {
  container-type: inline-size;
  width: min(1160px, calc(100% - 54px));
  margin-inline: auto;
}
.pmcg-documentos :is(h1, h2, p) { margin: 0; }
.pmcg-documentos a:focus-visible { outline: 3px solid #27614a; outline-offset: 3px; }

@media (max-width: 760px) {
  .pmcg-documentos > .wp-block-post-content,
  .pmcg-documentos__miolo { width: calc(100% - 32px); }
}

.pmcg-documentos__trilha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  min-height: 49px;
  padding-block: 4px;
  box-sizing: border-box;
  color: #3b5749;
  font-size: .875rem;
}
.pmcg-documentos__trilha a { font-weight: 650; }
.pmcg-documentos__trilha + .pmcg-documentos__abertura { margin-block-start: 0; }
.pmcg-documentos__abertura {
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 4cqw, 55px);
  min-height: 187px;
  padding: 24px clamp(24px, 4.55cqw, 56px);
  border-radius: 16px;
  background: linear-gradient(116deg, #163e34, #215344 62%, #45644b);
  color: #fffdf3;
}
.pmcg-documentos__abertura::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: url("noticias-curvas.webp") right bottom / min(68%, 690px) auto no-repeat;
  opacity: .36;
  pointer-events: none;
  content: "";
}
.pmcg-documentos__intro::before {
  display: block;
  width: 38px;
  height: 3px;
  margin-bottom: 13px;
  background: #e9bc74;
  content: "";
}
.pmcg-documentos__intro h1 {
  margin: 0;
  color: inherit;
  font-size: clamp(2.1rem, 4.7cqw, 3.45rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.044em;
  overflow-wrap: anywhere;
}
.pmcg-documentos__intro p { max-width: 53ch; margin-top: 10px; color: #f0f3e8; font-size: clamp(1rem, 1.5cqw, 1.13rem); line-height: 1.49; }
.pmcg-documentos__arte { width: clamp(96px, 10cqw, 138px); height: auto; border-radius: 12px; }
.pmcg-documentos .pmcg-documentos__abertura .pmcg-documentos__abrir-pdf {
  box-sizing: border-box;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 15px;
  margin-top: 15px;
  border-radius: 7px;
  background: #edc77f;
  color: #213d30;
  font-weight: 750;
  text-decoration: none;
}
.pmcg-documentos .pmcg-documentos__abertura .pmcg-documentos__abrir-pdf::before { display: none; }
.pmcg-documentos .pmcg-documentos__abertura .pmcg-documentos__abrir-pdf:hover { background: #f5d89c; text-decoration: underline; }
.pmcg-documentos__abertura a:focus-visible { outline-color: #ffdc99; }

.pmcg-documentos__arquivo { margin-top: 24px; }
.pmcg-documentos__arquivo h2 {
  color: #194e40;
  font-size: clamp(1.4rem, 2.8cqw, 1.85rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -.031em;
}
.pmcg-documentos__arquivo h2::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin-top: 8px;
  background: #c29448;
}
.pmcg-documentos__cabecalho { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 15px; margin-bottom: 13px; }
.pmcg-documentos__total { color: #40594d; font-size: .9rem; }
.pmcg-documentos .pmcg-documentos__aviso {
  margin-top: 13px;
  padding: 10px 12px;
  border-inline-start: 3px solid #c29448;
  border-radius: 0 6px 6px 0;
  background: #e5eddd;
  color: #31483d;
  font-size: .91rem;
  line-height: 1.45;
}
.pmcg-documentos__pdf h2 { margin-bottom: 13px; }
.pmcg-documentos__leitor .documento-pdf > p { margin: 0; }
.pmcg-documentos__leitor [hidden] { display: none !important; }
.pmcg-documentos__leitor { padding: 6px; border: 1px solid #d5dec9; border-radius: 10px; background: #fffdf5; }
.pmcg-documentos .pmcg-documentos__leitor :is(object, iframe) {
  display: block;
  width: 100%;
  height: clamp(460px, 78vh, 860px);
  border: 0;
  border-radius: 6px;
  background: #e5eddd;
}
.pmcg-documentos__lista { margin: 0; padding: 0; display: grid; gap: 8px; list-style: none; }
.pmcg-documentos__lista a {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 10px 15px;
  border: 1px solid #d5dec9;
  border-radius: 8px;
  background: #fffdf5;
  color: #194b3d;
  text-decoration: none;
}
.pmcg-documentos__lista a:hover { border-color: #849e79; background: #fbfced; }
.pmcg-documentos__lista a:hover strong { text-decoration: underline; text-underline-offset: .16em; }
.pmcg-documentos__texto { display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.pmcg-documentos__texto strong { font-size: clamp(1rem, 1.65cqw, 1.15rem); line-height: 1.27; font-weight: 750; }
.pmcg-documentos__data { color: #40594d; font-size: .89rem; line-height: 1.35; }
.pmcg-documentos__abrir { display: flex; align-items: center; flex: none; gap: 8px; color: #185744; font-size: .85rem; font-weight: 720; }
.pmcg-documentos__seta {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e8efe0;
  color: #185744;
  font-size: 1rem;
}
.pmcg-documentos__paginas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 19px; color: #40594d; font-size: .875rem; }
.pmcg-documentos__paginas :is(a, [aria-current]) { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 4px 11px; border: 1px solid #d0dcc8; border-radius: 7px; background: #fffdf5; color: #194b3d; font-weight: 700; text-decoration: none; }
.pmcg-documentos__paginas [aria-current] { background: #24574a; color: #fffdf3; border-color: #24574a; }
.pmcg-documentos__paginas a:hover { border-color: #849e79; text-decoration: underline; }

@container (max-width: 728px) {
  .pmcg-documentos__trilha { min-height: 43px; font-size: .825rem; }
  .pmcg-documentos__abertura { min-height: 0; gap: 10px; padding: 18px 16px; }
  .pmcg-documentos__intro::before { width: 27px; margin-bottom: 9px; }
  .pmcg-documentos__intro h1 { font-size: clamp(1.72rem, 7.2cqw, 2.75rem); }
  .pmcg-documentos__intro p { margin-top: 7px; line-height: 1.43; }
  .pmcg-documentos__arte { width: clamp(62px, 18cqw, 105px); border-radius: 8px; }
  .pmcg-documentos__arquivo { margin-top: 20px; }
}
@container (max-width: 560px) {
  .pmcg-documentos__abertura { align-items: start; }
  .pmcg-documentos__arte { margin-top: 17px; }
  .pmcg-documentos__lista a { padding: 10px; }
  .pmcg-documentos__acao { display: none; }
  .pmcg-documentos__leitor { padding: 3px; }
}
body.pmcg-alto-contraste .pmcg-documentos__abertura { border: 1px solid #fff; }
body.pmcg-alto-contraste .pmcg-documentos__abertura::after { display: none; }
body.pmcg-alto-contraste .pmcg-documentos__seta { background: transparent; }
body.pmcg-alto-contraste .pmcg-documentos a:focus-visible { outline-color: #ffe600; }

@media (forced-colors: active) {
  .pmcg-documentos__abertura,
  .pmcg-documentos .pmcg-documentos__abertura .pmcg-documentos__abrir-pdf { border: 1px solid CanvasText; }
  .pmcg-documentos__abertura::after { display: none; }
  .pmcg-documentos__paginas [aria-current] { border-width: 2px; }
}
