/* =========================================================
   CDP v3.9.42 — Editorial Reading Comfort + In-content Hooks
   - Tipografia editorial confortável (700–760px, 19px, 1.8)
   - Espaçamento generoso entre parágrafos
   - Bloco "Leia também" inline (premium card)
   - CTA newsletter/WhatsApp inline
   ========================================================= */

/* ---------- Typography: corpo do artigo ---------- */
.cdp-article__content,
.entry-content,
article .entry-content {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Source Serif Pro', 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 19px;
  line-height: 1.78;
  color: hsl(220 18% 18%);
  letter-spacing: -0.003em;
  font-feature-settings: "kern" 1, "liga" 1, "onum" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 1280px) {
  .cdp-article__content,
  .entry-content {
    font-size: 20px;
    line-height: 1.8;
    max-width: 740px;
  }
}

@media (max-width: 640px) {
  .cdp-article__content,
  .entry-content {
    font-size: 17.5px;
    line-height: 1.72;
    max-width: 100%;
    padding-inline: 4px;
  }
}

/* Parágrafos: respiro generoso */
.cdp-article__content p,
.entry-content p {
  margin: 0 0 1.55em;
  text-align: left;
  text-wrap: pretty;
  hyphens: manual;
  word-spacing: normal;
}

/* Primeiro parágrafo após heading: sem topo extra */
.cdp-article__content h2 + p,
.cdp-article__content h3 + p,
.entry-content h2 + p,
.entry-content h3 + p {
  margin-top: 0;
}

/* Headings internos: hierarquia editorial clara */
.cdp-article__content h2,
.entry-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.018em;
  margin: 2.2em 0 0.7em;
  color: hsl(222 60% 12%);
  text-wrap: balance;
}

.cdp-article__content h3,
.entry-content h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: clamp(21px, 1.8vw, 25px);
  line-height: 1.25;
  margin: 1.9em 0 0.55em;
  color: hsl(222 55% 16%);
  text-wrap: balance;
}

/* Listas confortáveis */
.cdp-article__content ul,
.cdp-article__content ol,
.entry-content ul,
.entry-content ol {
  margin: 0 0 1.6em;
  padding-left: 1.4em;
}

.cdp-article__content li,
.entry-content li {
  margin-bottom: 0.55em;
  line-height: 1.72;
}

/* Links inline editoriais */
.cdp-article__content a:not(.cdp-inline-related a):not(.cdp-inline-cta a),
.entry-content a:not(.cdp-inline-related a):not(.cdp-inline-cta a) {
  color: hsl(222 65% 28%);
  text-decoration: underline;
  text-decoration-color: hsl(45 65% 55% / 0.55);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color .18s ease, text-decoration-color .18s ease;
}

.cdp-article__content a:hover,
.entry-content a:hover {
  color: hsl(0 65% 32%);
  text-decoration-color: hsl(0 65% 32%);
}

/* ---------- Bloco "Leia também" inline ---------- */
.cdp-inline-related {
  --gold: #d4af37;
  --navy: #0a1f4e;
  margin: 2.4em auto;
  max-width: 720px;
  padding: 22px 24px 24px;
  background: linear-gradient(180deg, #fbfaf6 0%, #f4efe2 100%);
  border: 1px solid rgba(212,175,55,0.35);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(10,31,78,0.04), 0 8px 22px -16px rgba(10,31,78,0.18);
  font-family: 'Inter', system-ui, sans-serif;
  position: relative;
}

.cdp-inline-related__label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  background: linear-gradient(90deg, rgba(212,175,55,0.25), rgba(212,175,55,0));
  padding: 4px 10px 4px 0;
  margin-bottom: 12px;
}

.cdp-inline-related__label::before {
  content: "★";
  color: var(--gold);
  margin-right: 6px;
  font-size: 12px;
}

.cdp-inline-related__list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid;
  gap: 10px;
}

.cdp-inline-related__list li {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.cdp-inline-related__list li::before {
  content: "→";
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.cdp-inline-related__list a {
  color: var(--navy) !important;
  text-decoration: none !important;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  transition: color .18s ease;
  border-bottom: 1px solid transparent;
}

.cdp-inline-related__list a:hover {
  color: hsl(0 65% 32%) !important;
  border-bottom-color: var(--gold);
}

/* ---------- CTA newsletter/WhatsApp inline ---------- */
.cdp-inline-cta {
  margin: 2.4em auto;
  max-width: 720px;
  padding: 26px 28px;
  background:
    radial-gradient(ellipse at top right, rgba(212,175,55,0.18), transparent 60%),
    linear-gradient(135deg, #0a1f4e 0%, #122d6e 100%);
  border-radius: 10px;
  color: #fff;
  text-align: center;
  font-family: 'Inter', system-ui, sans-serif;
  position: relative;
  overflow: hidden;
}

.cdp-inline-cta::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.cdp-inline-cta__kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d4af37;
  margin-bottom: 8px;
}

.cdp-inline-cta__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 16px;
  color: #fff;
  text-wrap: balance;
}

.cdp-inline-cta__buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.cdp-inline-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease;
}

.cdp-inline-cta__btn--wa {
  background: #25d366;
  color: #fff !important;
  box-shadow: 0 4px 14px -4px rgba(37,211,102,0.5);
}

.cdp-inline-cta__btn--news {
  background: #d4af37;
  color: #0a1f4e !important;
  box-shadow: 0 4px 14px -4px rgba(212,175,55,0.55);
}

.cdp-inline-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px -6px rgba(0,0,0,0.4);
}

/* ---------- Pequeno separador editorial ---------- */
.cdp-article__content > p + p {
  /* respiro adicional sutil entre blocos longos */
}

/* Imagens dentro do conteúdo: respiro */
.cdp-article__content figure,
.entry-content figure {
  margin: 2.2em auto;
}

.cdp-article__content figcaption,
.entry-content figcaption {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: hsl(220 12% 42%);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
