/* ============================================================
   FluxoSmart — Blog
   Identidade visual própria do blog (spec visual final, Felipe 28/10):
   - Fonte: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI",
     Roboto, sans-serif (títulos e corpo). Código: ui-monospace,
     SFMono-Regular, Menlo, Consolas, monospace. Sem webfonts/Google
     Fonts nas páginas do blog — nada de Inter nem Plus Jakarta Sans.
   - Escala (tamanho/altura de linha em px): H1 30/36 peso 600
     letter-spacing -0.4px; H2 24/30 peso 600; H3 20/26 peso 500;
     corpo 16/24 peso 400; legendas 14/20 e 12/16 (meta, breadcrumb,
     notas, rodapé); tabelas 15/22. Negrito (strong, b, botões,
     títulos de cartão, summary do FAQ) sempre peso 600, nunca
     700/800. Coluna de conteúdo max-width 700px.
   - Cores: fundo #FFFFFF (superfícies claras ok, ex. #F6F8F7), texto
     #0A0A0B; barra do topo e CTA (botões e caixa) com fundo #39CFB2 e
     texto #0A0A0B, hover #2AA18D; links sublinhados em #1E7A6B
     (teal escurecido de #2AA18D para contraste 5,18:1 no branco),
     hover #2AA18D sublinhado; caixa de regras/destaque (blockquote)
     com fundo #E8F8F5 (tom claro de #8EE0D4), texto #0A0A0B, borda
     #8EE0D4; #F5A524 reservado para a linha de teto do simulador (no
     máximo um destaque — o aviso de "post de exemplo"); negativo em
     preenchimento #FF7A8A, texto pequeno negativo #C8323F (5,27:1);
     positivo em preenchimento #3DD68C, texto #1A7F4E. Nunca texto
     #39CFB2 sobre branco.
   Não reaproveita o tema escuro nem as fontes da landing — ver
   styles.css para a paleta/tipografia da landing.
   ============================================================ */

:root {
  --b-bg: #FFFFFF;
  --b-surface: #F6F8F7;
  --b-border: #E4E7EB;
  --b-border-strong: #CBD1D7;

  --b-text: #0A0A0B;
  --b-text-2: #4B5057;
  --b-text-3: #6B7178;

  --b-primary: #39CFB2;
  --b-primary-hover: #2AA18D;
  --b-accent: #F5A524;
  --b-link: #1E7A6B;

  --b-highlight-bg: #E8F8F5;
  --b-highlight-border: #8EE0D4;

  --b-negative: #FF7A8A;
  --b-negative-text: #C8323F;
  --b-positive: #3DD68C;
  --b-positive-text: #1A7F4E;

  --b-radius: 18px;
  --b-radius-lg: 28px;
  --b-maxw: 1160px;
  --b-content-maxw: 700px;

  --b-font: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
  --b-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- Reset leve ---------- */
*, *::before, *::after { box-sizing: border-box; }
body.blog, .blog-root { margin: 0; padding: 0; }

body {
  margin: 0;
  font-family: var(--b-font);
  background: var(--b-bg);
  color: var(--b-text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--b-link); outline-offset: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container {
  width: 100%;
  max-width: var(--b-maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--b-font);
  font-weight: 600;
  line-height: 1.25;
  color: var(--b-text);
}

strong, b { font-weight: 600; }

/* ---------- Botões ---------- */
[hidden] { display: none !important; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--b-font);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--b-primary);
  color: #0A0A0B;
  box-shadow: 0 8px 24px -6px rgba(57, 207, 178, 0.45);
}
.btn-primary:hover { background: var(--b-primary-hover); transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(42, 161, 141, 0.45); }
.btn-ghost {
  background: transparent;
  color: var(--b-text);
  border-color: var(--b-border-strong);
}
.btn-ghost:hover { border-color: var(--b-primary); color: var(--b-primary-hover); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--b-primary);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--b-text); }
.brand-logo { width: 34px; height: 34px; border-radius: 9px; }
.brand-name { font-family: var(--b-font); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--b-text); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--b-text-2); font-size: 0.94rem; font-weight: 600; white-space: nowrap; transition: color 0.15s; }
.nav-links a:hover { color: var(--b-text); }
.nav-links a.active { color: var(--b-link); text-decoration: underline; text-decoration-color: var(--b-primary); text-decoration-thickness: 2px; }
.nav-cta { flex-shrink: 0; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--b-text); border-radius: 2px; transition: 0.2s; }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--b-bg); border-bottom: 1px solid var(--b-border); padding: 18px 24px; gap: 4px;
    box-shadow: 0 16px 28px -16px rgba(26, 28, 30, 0.2);
  }
  .nav-links.open a { padding: 12px 0; font-size: 1.05rem; }
}

/* ---------- Rodapé ---------- */
.footer { background: var(--b-surface); border-top: 1px solid var(--b-border); padding: 56px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { color: var(--b-text-2); margin-top: 14px; font-size: 0.95rem; max-width: 280px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border: 1px solid var(--b-border-strong); border-radius: 12px; color: var(--b-text-2);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.social a:hover { color: var(--b-primary-hover); border-color: var(--b-primary); background: var(--b-surface); }
.footer-col { min-width: 0; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--b-text-3); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--b-text-2); font-size: 0.94rem; padding: 5px 0; transition: color 0.15s; overflow-wrap: break-word; }
.footer-col a:hover { color: var(--b-primary-hover); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 26px; border-top: 1px solid var(--b-border);
  font-size: 12px; line-height: 16px; color: var(--b-text-3);
}

@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 24px 18px; } }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 32px 0 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--b-text-3);
}
.breadcrumb a { color: var(--b-text-2); }
.breadcrumb a:hover { color: var(--b-primary-hover); }
.breadcrumb span[aria-hidden] { color: var(--b-text-3); }

.post-example-notice {
  margin-top: 16px;
  padding: 10px 16px;
  border-radius: var(--b-radius);
  background: rgba(245, 165, 36, 0.12);
  border: 1px solid var(--b-accent);
  color: var(--b-text);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

/* ---------- Post ---------- */
.blog-post { max-width: var(--b-maxw); padding-bottom: 80px; }

.post-header { max-width: var(--b-content-maxw); margin: 28px auto 0; text-align: left; }

.post-category {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--b-highlight-bg);
  border: 1px solid var(--b-highlight-border);
  color: var(--b-link);
  font-family: var(--b-font);
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.post-header h1 { font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.4px; margin-bottom: 14px; }

.post-lead { color: var(--b-text-2); font-size: 1.15rem; line-height: 1.6; margin-bottom: 16px; }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--b-text-3);
  font-size: 14px;
  line-height: 20px;
}

.post-body {
  max-width: var(--b-content-maxw);
  margin: 36px auto 0;
  color: var(--b-text-2);
}

.post-body,
.post-body p,
.post-body li,
.post-body a,
.post-body td {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.post-body h2 { font-size: 24px; line-height: 30px; font-weight: 600; margin: 40px 0 16px; color: var(--b-text); }
.post-body h3 { font-size: 20px; line-height: 26px; font-weight: 500; margin: 28px 0 12px; color: var(--b-text); }
.post-body p { margin-bottom: 16px; }
.post-body ul, .post-body ol { margin: 0 0 16px 1.3em; }
.post-body li { margin-bottom: 8px; }
.post-body strong, .post-body b { color: var(--b-text); font-weight: 600; }
.post-body a {
  color: var(--b-link);
  text-decoration: underline;
  text-decoration-color: var(--b-primary);
}
.post-body a:hover { color: var(--b-primary-hover); text-decoration-color: var(--b-primary-hover); }

.post-body table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 15px; line-height: 22px; }
.post-body th, .post-body td { padding: 8px 12px; border-bottom: 1px solid var(--b-border); text-align: left; }
.post-body th { font-weight: 600; color: var(--b-text); }

.post-body blockquote {
  margin: 20px 0;
  padding: 14px 20px;
  border-left: 3px solid var(--b-highlight-border);
  background: var(--b-highlight-bg);
  border-radius: 0 var(--b-radius) var(--b-radius) 0;
  color: var(--b-text);
}

.post-faq { margin-top: 40px; }
.post-faq h2 { font-size: 24px; line-height: 30px; font-weight: 600; margin-bottom: 16px; color: var(--b-text); }

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--b-border);
  border-radius: var(--b-radius);
  background: var(--b-surface);
  padding: 4px 20px;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  color: var(--b-text);
}
.faq-item summary::marker { color: var(--b-primary-hover); }
.faq-item[open] summary { color: var(--b-primary-hover); }
.faq-item p { padding-bottom: 16px; margin-bottom: 0; color: var(--b-text-2); }

.block-placeholder {
  margin: 32px 0;
  min-height: 1px;
}

/* ---------- Simulador (parcelas / rotativo x parcelamento) ---------- */
.sim {
  margin: 8px 0;
  padding: 24px;
  background: var(--b-surface);
  border: 1px solid var(--b-border);
  border-radius: var(--b-radius-lg);
}

.sim-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.sim-tab {
  font-family: var(--b-font);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--b-border-strong);
  background: var(--b-bg);
  color: var(--b-text-2);
  cursor: pointer;
}
.sim-tab[aria-selected="true"] {
  background: var(--b-primary);
  border-color: var(--b-primary);
  color: var(--b-text);
  font-weight: 600;
}

.sim-field { margin-bottom: 18px; }
.sim-field label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 14px; line-height: 20px; color: var(--b-text); }
.sim-field-row { display: flex; gap: 16px; flex-wrap: wrap; }
.sim-field-row .sim-field { flex: 1 1 200px; }

.sim-input {
  width: 100%;
  font-family: var(--b-font);
  font-size: 16px;
  line-height: 24px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--b-border-strong);
  background: var(--b-bg);
  color: var(--b-text);
}
.sim-input[aria-invalid="true"] { border-color: var(--b-negative-text); }

.sim-note { margin-top: 6px; font-size: 12px; line-height: 16px; color: var(--b-text-3); }

.sim-rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.sim-row { display: flex; flex-direction: column; gap: 4px; }
.sim-row-fields { display: flex; gap: 8px; align-items: flex-end; }
.sim-row-label { display: block; margin-bottom: 4px; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--b-text-2); }
.sim-row-error { margin: 0; font-size: 12px; line-height: 16px; color: var(--b-negative-text); }
.sim-row-error:empty { display: none; }
.sim-row-nome { flex: 1 1 40%; }
.sim-row-valor { flex: 1 1 25%; }
.sim-row-restantes { flex: 0 1 90px; }
.sim-row-remove {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--b-border-strong);
  background: var(--b-bg);
  color: var(--b-text-2);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.sim-row-remove:disabled { opacity: 0.4; cursor: not-allowed; }

.sim-add-row { margin-bottom: 20px; }

.sim-chart {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 200px;
  margin: 28px 0 36px;
  padding-top: 24px;
}

.sim-chart-line {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 2px dashed var(--b-accent);
  z-index: 0;
}

.sim-bar-col {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.sim-bar {
  width: 100%;
  max-width: 44px;
  border-radius: 8px 8px 0 0;
  background: var(--b-primary);
}
.sim-bar--over { background: var(--b-negative); }

.sim-bar-value {
  position: relative;
  z-index: 2;
  font-size: 12px;
  line-height: 16px;
  margin-bottom: 6px;
  padding: 0 3px;
  border-radius: 3px;
  background: var(--b-surface);
  color: var(--b-text-2);
  white-space: nowrap;
  text-align: center;
}
.sim-bar-value--negative { color: var(--b-negative-text); }

.sim-bar-num,
.sim-bar-unit {
  display: block;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
  white-space: nowrap;
}

.sim-chart-legend {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 16px;
  color: var(--b-text-2);
  text-align: center;
}

.sim-bar-label {
  position: absolute;
  bottom: -24px;
  font-size: 12px;
  line-height: 16px;
  color: var(--b-text-3);
}

.sim-result {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--b-text);
}
.sim-result--error { color: var(--b-negative-text); }
.sim-feedback:empty { display: none; }
.sim-feedback { color: var(--b-negative-text); }

.sim-cards { display: flex; gap: 16px; flex-wrap: wrap; margin: 20px 0 12px; }
.sim-card {
  flex: 1 1 220px;
  padding: 18px;
  background: var(--b-bg);
  border: 1px solid var(--b-border);
  border-radius: var(--b-radius);
}
.sim-card h4 { font-size: 14px; line-height: 20px; font-weight: 600; margin: 0 0 8px; color: var(--b-text-2); }
.sim-card-value { font-size: 24px; line-height: 30px; font-weight: 600; margin: 0 0 6px; color: var(--b-text); }
.sim-card-detail { font-size: 14px; line-height: 20px; color: var(--b-text-2); margin: 0; }

.sim-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(245, 165, 36, 0.16);
  border: 1px solid var(--b-accent);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--b-text);
}

.sim-fixed-note { font-size: 12px; line-height: 16px; color: var(--b-text-3); margin-top: 12px; }

@media (max-width: 480px) {
  .sim { padding: 18px; }
  .sim-row-fields { flex-wrap: wrap; }
  .sim-row-nome, .sim-row-valor, .sim-row-restantes { flex: 1 1 100%; }
  .sim-field-row { flex-direction: column; }
  .sim-chart { gap: 4px; padding-top: 40px; }
  .sim-bar-value {
    font-size: 12px;
    line-height: 16px;
    padding: 0 3px;
    letter-spacing: -0.2px;
  }
}

.post-footnote {
  margin-top: 24px;
  font-size: 12px;
  line-height: 16px;
  color: var(--b-text-3);
}

.post-cta-box {
  margin: 28px 0;
  padding: 28px;
  background: var(--b-primary);
  border: 1px solid var(--b-primary-hover);
  border-radius: var(--b-radius-lg);
}

.post-cta-box h3 { font-size: 1.25rem; margin-bottom: 12px; color: var(--b-text); }
.post-cta-box p { margin-bottom: 12px; color: var(--b-text); }

.post-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

/* Mesmos selos da landing (index.html/styles.css), com cores literais:
   a faixa verde do CTA faz a borda --b-primary sumir no hover, por isso #0A0A0B. */
.post-cta-box .store-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.post-cta-box .store-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #18181B;
  border: 1px solid #37373D;
  border-radius: 14px;
  padding: 11px 20px;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s;
}
.post-cta-box .store-btn:hover { transform: translateY(-2px); border-color: #0A0A0B; background: #1F1F23; }
.post-cta-box .store-btn:focus-visible { outline: 2px solid #0A0A0B; outline-offset: 2px; }
.post-cta-box .store-btn svg { width: 26px; height: 26px; color: #F4F4F6; flex-shrink: 0; }
.post-cta-box .store-btn-txt { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.post-cta-box .store-btn-txt small { font-size: 0.66rem; color: #A1A1AA; text-transform: uppercase; letter-spacing: 0.04em; }
.post-cta-box .store-btn-txt strong { font-family: var(--b-font); font-size: 1.05rem; font-weight: 600; color: #F4F4F6; }

.newsletter {
  margin-top: 56px;
  padding: 28px;
  background: var(--b-surface);
  border: 1px solid var(--b-border);
  border-radius: var(--b-radius-lg);
  text-align: center;
}

.newsletter h2 { font-size: 1.3rem; margin-bottom: 8px; color: var(--b-text); }
.newsletter p { color: var(--b-text-2); margin-bottom: 16px; }

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 440px;
  margin: 0 auto;
  text-align: left;
}

.newsletter-field input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--b-radius);
  border: 1px solid var(--b-text-3);
  background: var(--b-bg);
  color: var(--b-text);
  font-family: var(--b-font);
  font-size: 15px;
}

.newsletter-field input[aria-invalid="true"] { border-color: var(--b-negative-text); }

.newsletter-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 20px;
  color: var(--b-text-2);
}

.newsletter-consent input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--b-primary);
}

.newsletter-consent input[aria-invalid="true"] { outline: 2px solid var(--b-negative-text); }

.newsletter-consent a { color: var(--b-link); text-decoration: underline; }
.newsletter-consent a:hover { color: var(--b-primary-hover); }

/* Honeypot: fora da tela, não display:none (bots que ignoram CSS ainda o preenchem). */
.newsletter-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.newsletter-form button[type="submit"] {
  font-family: var(--b-font);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--b-radius);
  border: 1px solid var(--b-border-strong);
  background: transparent;
  color: var(--b-text);
  align-self: flex-start;
}

.newsletter-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.newsletter .newsletter-status { margin: 0; font-size: 14px; line-height: 20px; color: var(--b-text-2); }
.newsletter .newsletter-status--error { color: var(--b-negative-text); }

.related-posts { max-width: var(--b-content-maxw); margin: 56px auto 0; }
.related-posts h2 { font-size: 1.3rem; margin-bottom: 16px; color: var(--b-text); }

.related-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.related-card {
  display: block;
  padding: 16px;
  border: 1px solid var(--b-border);
  border-radius: var(--b-radius);
  background: var(--b-surface);
  transition: border-color 0.2s, transform 0.2s;
}

.related-card:hover { border-color: var(--b-primary); transform: translateY(-2px); }
.related-card h3 { font-size: 1rem; margin-top: 6px; color: var(--b-text); }

/* ---------- Índice ---------- */
.blog-index { max-width: var(--b-maxw); padding: 40px 24px 80px; }

.blog-index-head { max-width: 640px; margin-bottom: 40px; }
.blog-index-head h1 { font-size: 30px; line-height: 36px; letter-spacing: -0.4px; margin-bottom: 10px; }
.blog-index-head p { color: var(--b-text-2); font-size: 1.05rem; }

/* ---------- Confirmação de inscrição (/blog/confirmar) ---------- */
[data-confirm-page] .newsletter-status { margin-top: 16px; }
[data-confirm-page] .newsletter-status--error { color: var(--b-negative-text); }

.post-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.post-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--b-border);
  border-radius: var(--b-radius-lg);
  background: var(--b-surface);
  transition: border-color 0.2s, transform 0.2s;
}

.post-card:hover { border-color: var(--b-primary); transform: translateY(-3px); }
.post-card h2 { font-size: 1.2rem; margin-bottom: 8px; color: var(--b-text); }
.post-card p { color: var(--b-text-2); font-size: 0.95rem; line-height: 1.5; flex: 1; margin-bottom: 14px; }
.post-card .post-meta { font-size: 12px; line-height: 16px; }

@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
}
