/* ============ POST — layout do artigo ============
   Estrutura: título → (imagem | lateral com categoria, data, CTA) → conteúdo.
   Depende de common.css. Usa .blog-grid/.post nos relacionados
   e .cases-cta (cases.css) no rodapé.
   ================================================ */

.pst{background:var(--paper);position:relative;overflow-x:clip}

/* ---------- Topo ---------- */
.pst-top{padding:132px 0 0}
.pst-crumb{
  display:flex;flex-wrap:wrap;align-items:center;gap:9px;
  font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--ink-2);margin-bottom:22px;
}
.pst-crumb a{color:var(--ink-2);transition:color .2s}
.pst-crumb a:hover{color:var(--ignite)}
.pst-crumb span{opacity:.45}

.pst-h1{
  font-family:var(--display);font-weight:700;
  font-size:clamp(29px,3.9vw,54px);line-height:1.07;letter-spacing:-.032em;
  color:var(--navy);max-width:15ch;margin:0;
  max-width:none;
}

/* ---------- Imagem + lateral ---------- */
.pst-hero{
  display:grid;grid-template-columns:1fr 290px;gap:40px;
  align-items:start;margin-top:38px;
}
.pst-fig{
  margin:0;border-radius:20px;overflow:hidden;
  border:1px solid var(--line);background:#fff;
  box-shadow:0 30px 66px -40px rgba(18,42,62,.32);
}
.pst-fig img{width:100%;height:auto;display:block}
.pst-fig-vazio{
  aspect-ratio:16/9;
  background:linear-gradient(135deg,var(--navy),var(--void));
}

.pst-meta{
  display:flex;flex-direction:column;align-items:flex-start;gap:16px;
  padding-top:6px;position:sticky;top:112px;
}
.pst-cat{
  display:inline-block;font-family:var(--mono);font-size:10.5px;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;color:var(--ignite);
  background:rgba(255,102,1,.1);border:1px solid rgba(255,102,1,.28);
  padding:8px 15px;border-radius:100px;transition:.24s;
}
.pst-cat:hover{background:var(--ignite);border-color:var(--ignite);color:#fff}

.pst-data{font-size:14.5px;color:var(--ink-2)}
.pst-tempo{
  font-family:var(--mono);font-size:11.5px;letter-spacing:.06em;
  color:var(--ink-2);opacity:.75;
}
.pst-cta{width:100%;justify-content:center;margin-top:4px}

.pst-share{width:100%;padding-top:18px;border-top:1px solid var(--line)}
.pst-share-lab{
  display:block;font-family:var(--mono);font-size:10.5px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--ink-2);opacity:.7;margin-bottom:11px;
}
.pst-share-btns{display:flex;gap:9px}
.pst-share-btns a{
  width:38px;height:38px;border-radius:11px;
  display:flex;align-items:center;justify-content:center;
  background:#fff;border:1px solid var(--line);color:var(--ink-2);transition:.24s;
}
.pst-share-btns a:hover{background:var(--ignite);border-color:var(--ignite);color:#fff;transform:translateY(-2px)}
.pst-share-btns svg{width:17px;height:17px}

/* ---------- Corpo do artigo ---------- */
.pst-wrap{padding:56px 0 88px}
.pst-body{max-width:760px}

.pst-body > *{margin-bottom:22px}
.pst-body > *:last-child{margin-bottom:0}

.pst-body p{font-size:17px;line-height:1.75;color:var(--ink)}
.pst-body h2{
  font-family:var(--display);font-weight:700;
  font-size:clamp(22px,2.4vw,31px);line-height:1.15;letter-spacing:-.024em;
  color:var(--navy);margin-top:46px;margin-bottom:16px;
}
.pst-body h3{
  font-family:var(--display);font-weight:600;
  font-size:clamp(18px,1.9vw,23px);line-height:1.2;letter-spacing:-.016em;
  color:var(--navy);margin-top:34px;margin-bottom:12px;
}
.pst-body h4{
  font-family:var(--display);font-weight:600;font-size:17px;
  color:var(--navy);margin-top:26px;margin-bottom:10px;
}
.pst-body a{color:var(--ignite);text-decoration:underline;text-underline-offset:3px}
.pst-body a:hover{color:var(--ignite-deep)}
.pst-body strong,.pst-body b{color:var(--navy);font-weight:600}

.pst-body ul,.pst-body ol{padding-left:0;list-style:none}
.pst-body ul li,.pst-body ol li{
  position:relative;padding-left:26px;margin-bottom:11px;
  font-size:17px;line-height:1.7;color:var(--ink);
}
.pst-body ul li::before{
  content:"";position:absolute;left:2px;top:11px;
  width:7px;height:7px;border-radius:50%;background:var(--ignite);opacity:.65;
}
.pst-body ol{counter-reset:brcol}
.pst-body ol li{counter-increment:brcol}
.pst-body ol li::before{
  content:counter(brcol);position:absolute;left:0;top:0;
  font-family:var(--mono);font-weight:700;font-size:13px;color:var(--ignite);
}

.pst-body img{border-radius:16px;height:auto}
.pst-body figure{margin:32px 0}
.pst-body figcaption{
  font-size:13px;color:var(--ink-2);text-align:center;margin-top:10px;
}
.pst-body blockquote{
  margin:32px 0;padding:22px 26px;border-left:3px solid var(--ignite);
  background:var(--paper-2);border-radius:0 14px 14px 0;
}
.pst-body blockquote p{font-size:17.5px;font-style:italic;color:var(--navy);margin-bottom:0}
.pst-body table{width:100%;border-collapse:collapse;font-size:15px}
.pst-body th,.pst-body td{padding:12px 14px;border:1px solid var(--line);text-align:left}
.pst-body th{background:var(--paper-2);font-weight:600;color:var(--navy)}
.pst-body code{
  font-family:var(--mono);font-size:14px;background:var(--paper-2);
  padding:2px 7px;border-radius:6px;color:var(--navy);
}
.pst-body iframe{max-width:100%;border-radius:16px}

/* ---------- Busca ---------- */
.pst-busca-box{max-width:760px;margin-top:56px;padding-top:34px;border-top:1px solid var(--line)}

/* .brc-busca-* agora vive em common.css (componente compartilhado) */

/* ---------- Relacionados ---------- */
.pst-rel{background:var(--paper-2);padding:80px 0 96px}
.pst-rel .head h2{
  font-family:var(--display);font-weight:700;
  font-size:clamp(24px,2.8vw,38px);line-height:1.07;letter-spacing:-.028em;
  color:var(--navy);margin:20px 0 0;
}
.pst-rel .head h2 em{font-style:normal;color:var(--ignite)}

/* ---------- Responsivo ---------- */
@media(max-width:1024px){
  .pst-top{padding-top:118px}
  .pst-hero{grid-template-columns:1fr;gap:26px}
  .pst-meta{
    position:static;flex-direction:row;flex-wrap:wrap;align-items:center;
    gap:14px 18px;padding-top:0;
  }
  .pst-cta{width:auto;margin-top:0}
  .pst-share{width:auto;padding-top:0;border-top:none;display:flex;align-items:center;gap:12px}
  .pst-share-lab{display:none}
  .pst-wrap{padding:40px 0 72px}
  .pst-rel{padding:64px 0 80px}
}
@media(max-width:680px){
  .pst-top{padding-top:108px}
  .pst-body p,.pst-body ul li,.pst-body ol li{font-size:16px}
  .brc-busca-in{flex-wrap:wrap;border-radius:20px;padding:12px}
  .brc-busca-in .btn{width:100%;justify-content:center}
}
