/* Post Flávio Bolsonaro e Reforma Tributária — visuais editoriais.
   Carregado somente para o slug da peça; o escopo local evita colisões. */
.editorial-post-content {
  --post-rule: #D9DDE7;
  --post-muted: #5D6579;
  --post-gold: #B89634;
}

.editorial-post-content section.post-note {
  margin: 1.9rem 0 2.7rem;
  padding: 0 !important;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: inherit;
}

.editorial-post-content section.post-note > .post-sources {
  margin: 1rem 0 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid var(--post-rule);
  color: #697089;
}

/* Cronologia: uma sequência editorial, não um mosaico de cartões. */
.editorial-post-content .post-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: taxup-timeline;
}

.editorial-post-content .post-timeline > li {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 18px;
  margin: 0;
  padding: 22px 0 24px;
  border-top: 1px solid var(--post-rule);
  counter-increment: taxup-timeline;
}

.editorial-post-content .post-timeline > li:last-child {
  border-bottom: 1px solid var(--post-rule);
}

.editorial-post-content .post-timeline > li::before {
  content: counter(taxup-timeline, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / span 3;
  padding-top: 2px;
  color: var(--post-gold);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.editorial-post-content .post-timeline > li > p {
  grid-column: 2;
  margin: 0 0 8px;
}

.editorial-post-content .post-timeline > li > p:first-child {
  color: var(--navy-deep);
  font-size: 15px;
}

.editorial-post-content .post-timeline > li > p:last-child {
  margin-bottom: 0;
  color: var(--post-muted);
  font-size: 14px;
}

/* Quóruns: duas colunas de leitura com um único eixo comparativo. */
.editorial-post-content .post-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--navy-deep);
  border-bottom: 1px solid var(--post-rule);
}

.editorial-post-content .post-comparison > section {
  padding: 22px 26px 24px !important;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.editorial-post-content .post-comparison > section + section {
  border-left: 1px solid var(--post-rule);
}

.editorial-post-content .post-comparison p {
  margin: 0 0 14px;
}

.editorial-post-content .post-comparison .post-visual-title {
  margin-bottom: 9px;
  color: var(--indigo);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.editorial-post-content .post-comparison > section > p:nth-of-type(2) strong {
  color: var(--navy-deep);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 25px;
  line-height: 1.18;
}

.editorial-post-content .post-comparison label {
  display: block;
  margin-bottom: 8px;
  color: var(--post-muted);
  font-size: 13px;
  line-height: 1.45;
}

.editorial-post-content .post-comparison meter {
  display: block;
  width: 100%;
  height: 8px;
  border: 0;
  border-radius: 2px;
  background: #E7EAF1;
  accent-color: var(--indigo);
}

.editorial-post-content .post-comparison meter::-webkit-meter-bar {
  background: #E7EAF1;
  border: 0;
  border-radius: 2px;
  box-shadow: none;
}

.editorial-post-content .post-comparison meter::-webkit-meter-optimum-value {
  background: var(--indigo);
  border-radius: 2px;
}

.editorial-post-content .post-comparison meter::-moz-meter-bar {
  background: var(--indigo);
  border-radius: 2px;
}

.editorial-post-content .post-comparison dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 0 18px;
  margin: 18px 0 0;
}

.editorial-post-content .post-comparison dt,
.editorial-post-content .post-comparison dd {
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid var(--post-rule);
}

.editorial-post-content .post-comparison dt {
  color: var(--post-muted);
  font-size: 13px;
  font-weight: 600;
}

.editorial-post-content .post-comparison dd {
  color: var(--navy-deep);
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

/* Controles e cenários: linhas hierárquicas, sem contêineres decorativos. */
.editorial-post-content .post-control-list,
.editorial-post-content .post-scenarios {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--post-rule);
}

.editorial-post-content .post-control-list > section,
.editorial-post-content .post-scenarios article {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
  gap: 28px;
  padding: 22px 0 24px !important;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--post-rule);
  border-radius: 0;
  box-shadow: none;
}

.editorial-post-content .post-scenarios > li {
  margin: 0;
}

.editorial-post-content .post-control-list h3,
.editorial-post-content .post-scenarios h3 {
  margin: 0;
  color: var(--navy-deep);
  font-size: 18px;
  line-height: 1.32;
}

.editorial-post-content .post-control-list dl,
.editorial-post-content .post-scenarios dl {
  display: grid;
  grid-template-columns: minmax(125px, 0.34fr) minmax(0, 1fr);
  gap: 10px 20px;
  margin: 0;
}

.editorial-post-content .post-control-list dt,
.editorial-post-content .post-scenarios dt {
  margin: 0;
  color: var(--indigo);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.editorial-post-content .post-control-list dd,
.editorial-post-content .post-scenarios dd {
  margin: 0;
  color: #515A70;
  line-height: 1.58;
}

@media (max-width: 720px) {
  .editorial-post-content .post-timeline > li {
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 12px;
    padding: 18px 0 20px;
  }

  .editorial-post-content .post-comparison {
    grid-template-columns: 1fr;
  }

  .editorial-post-content .post-comparison > section {
    padding: 20px 0 22px !important;
  }

  .editorial-post-content .post-comparison > section + section {
    border-top: 1px solid var(--post-rule);
    border-left: 0;
  }

  .editorial-post-content .post-comparison > section > p:nth-of-type(2) strong {
    font-size: 22px;
  }

  .editorial-post-content .post-control-list > section,
  .editorial-post-content .post-scenarios article {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 19px 0 21px !important;
  }

  .editorial-post-content .post-control-list dl,
  .editorial-post-content .post-scenarios dl {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .editorial-post-content .post-control-list dd + dt,
  .editorial-post-content .post-scenarios dd + dt {
    margin-top: 10px;
  }
}

@media print {
  .editorial-post-content .post-timeline > li,
  .editorial-post-content .post-comparison > section,
  .editorial-post-content .post-control-list > section,
  .editorial-post-content .post-scenarios article {
    break-inside: avoid;
    box-shadow: none;
  }
}
