/* Blog: índice (/blog) e artigos (/blog/<slug>). Usa as cores da marca definidas em site.css. */
.blog-index,.blog-post{max-width:1180px;margin:0 auto;padding:40px 32px 88px}
.blog-index .breadcrumbs,.blog-post .breadcrumbs{margin-bottom:28px}
.blog-post article{max-width:780px;margin:0 auto}
.blog-head{max-width:820px;margin-bottom:40px}
.blog-head h1,.post-head h1{margin:6px 0 16px;font:800 clamp(2.1rem,4.6vw,3.5rem)/1.05 "Baloo 2",Inter,system-ui,sans-serif;color:var(--brand-navy);letter-spacing:-.01em;overflow-wrap:break-word}
.blog-head p:not(.eyebrow),.post-excerpt{font-size:1.125rem;line-height:1.65;color:#45525a;margin:0}
.post-head{margin-bottom:28px}
.post-meta{margin:14px 0 0;font-size:.875rem;color:#5d686e}
.post-meta a{color:inherit}

/* Caixa do curso relacionado */
.post-course{display:grid;grid-template-columns:200px 1fr;gap:20px;align-items:center;margin:0 0 36px;padding:16px;border:1px solid #f0dfd0;border-radius:20px;background:#fffaf6}
.post-course img{width:100%;height:auto;border-radius:14px;object-fit:cover;aspect-ratio:16/9}
.post-course .eyebrow{margin:0 0 4px}
.post-course-name{margin:0;font:800 1.35rem/1.15 "Baloo 2",Inter,sans-serif;color:var(--brand-navy)}
.post-course-facts{margin:6px 0;font-size:.9rem;color:#5d686e}
.post-course-price{margin:0 0 12px;color:#2b3439}
.post-course-price span{font-size:.8rem;color:#6a747a}

/* Corpo do artigo */
.post-body{font-size:1.0625rem;line-height:1.75;color:#2b3439}
.post-body h2{margin:44px 0 12px;font:800 clamp(1.45rem,2.6vw,1.85rem)/1.2 "Baloo 2",Inter,sans-serif;color:var(--brand-navy)}
.post-body h3{margin:28px 0 8px;font-size:1.2rem;line-height:1.3;color:#1d2a33}
.post-body p{margin:0 0 16px}
.post-body ul,.post-body ol{margin:0 0 18px;padding-left:24px}
.post-body li{margin:6px 0}
.post-body a,.post-sources a,.post-faq a{color:#b33a0b;text-decoration:underline;text-underline-offset:3px}
.post-body a:hover{color:#8a2b06}
.post-body strong{color:#1d1d1d}
.post-body .table-wrap{max-width:100%;overflow-x:auto;margin:20px 0 24px;-webkit-overflow-scrolling:touch;border-radius:8px}
.post-body .table-wrap:focus-visible{outline:3px solid #ffb000;outline-offset:2px}
.post-body table{width:100%;border-collapse:collapse;font-size:.95rem;line-height:1.5}
.post-body caption{text-align:left;font-size:.85rem;color:#5d686e;padding:0 0 8px;caption-side:top}
.post-body th,.post-body td{padding:10px 12px;border-bottom:1px solid #eadfd7;text-align:left;vertical-align:top;min-width:120px}
.post-body thead th{background:#fbf1ea;color:#1d1d1d;font-weight:700}

/* FAQ, CTA e fontes */
.post-faq{margin:48px 0 0}
.post-faq h2,.post-sources h2,.post-cta h2,.post-related h2,.blog-group-head h2{font:800 1.6rem/1.2 "Baloo 2",Inter,sans-serif;color:var(--brand-navy);margin:0 0 16px}
.post-faq details{border:1px solid #eadfd7;border-radius:14px;background:#fff;margin:0 0 10px}
.post-faq summary{cursor:pointer;padding:16px 48px 16px 18px;font-weight:700;color:#1d2a33;list-style:none;position:relative;min-height:48px}
.post-faq summary::-webkit-details-marker{display:none}
.post-faq summary::after{content:"+";position:absolute;right:18px;top:12px;font-size:1.4rem;color:#c2410c}
.post-faq details[open] summary::after{content:"\2212"}
.post-faq details p{margin:0;padding:0 18px 16px;line-height:1.7;color:#3d4a50}
.post-cta{margin:48px 0 0;padding:28px;border-radius:24px;background:var(--brand-navy);color:#fff}
.post-cta h2{color:#fff}
.post-cta p{margin:0 0 18px;color:#e6ecf3;line-height:1.6}
.post-cta-actions{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center}
.post-cta .button{background:#c2410c;color:#fff;border-radius:999px;min-height:48px;padding:0 24px}
.post-cta .text-link{color:#fff}
.post-sources{margin:40px 0 0;font-size:.9rem;color:#4e5c62}
.post-sources h2{font-size:1.2rem}
.post-sources ul{padding-left:20px;margin:0 0 12px}
.post-sources li{margin:6px 0;line-height:1.5}

/* Cards (índice e "Continue lendo") */
.post-related{max-width:1180px;margin:64px auto 0}
.post-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}
.post-card{border:1px solid #eadfd7;border-radius:20px;background:#fff;overflow:hidden;transition:box-shadow .2s ease,transform .2s ease}
.post-card:hover{box-shadow:0 14px 30px rgba(120,60,20,.12);transform:translateY(-2px)}
.post-card-link{display:block;height:100%;color:inherit;text-decoration:none}
.post-card-link:focus-visible{outline:3px solid #ffb000;outline-offset:-3px;border-radius:20px}
.post-card img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.post-card-tag{display:inline-block;margin:16px 18px 0;padding:4px 10px;border-radius:999px;background:#fff1e7;color:#a8380b;font-size:.75rem;font-weight:700}
.post-card h3{margin:10px 18px 8px;font-size:1.15rem;line-height:1.3;color:#1d2a33}
.post-card p{margin:0 18px 20px;font-size:.92rem;line-height:1.55;color:#5d686e}
.blog-group{margin:0 0 48px}
.blog-group-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.blog-group-head h2{margin:0}
.blog-index .post-cta{max-width:820px}

@media (max-width:760px){
  .blog-index,.blog-post{padding:28px 16px 72px}
  .post-course{grid-template-columns:88px 1fr;gap:14px;align-items:start;padding:14px}.post-course img{aspect-ratio:1/1;border-radius:12px}.post-course .button{width:100%;justify-content:center;margin-left:-102px;width:calc(100% + 102px)}
  .post-body{font-size:1rem}
  .post-cta{padding:22px 18px}
  .post-cta .button{width:100%;justify-content:center}
}
@media (prefers-reduced-motion:reduce){.post-card{transition:none}.post-card:hover{transform:none}}
