/* Single de artigo (blog) — Robooster.
   Escopo .rb-article + headings sob .rb-article (>=0,2,0) p/ vencer o Theme Style
   do Elementor (.elementor-kit-XXX h1..h6 = 0,1,1). */

.rb-article {
	--ink: #14181d;
	--brand: #c85f10;
	--muted: #5b6672;
	--line: #e6e9ee;
	--soft: #f6f8fa;
	--wa: #25d366;
	color: var(--ink);
	background: #fff;
	font-size: 16px;
	line-height: 1.7;
	padding: 48px 0 72px;
}
.rb-article .rb-container { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* Cabeçalho */
.rb-article__head { text-align: center; margin-bottom: 28px; }
.rb-article__cat { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); background: rgba(200, 95, 16, .08); padding: 4px 12px; border-radius: 999px; text-decoration: none; }
.rb-article .rb-article__title { font-size: 2.4rem; line-height: 1.15; text-wrap: balance; margin: 16px 0 12px; color: var(--ink); }
.rb-article__meta { color: var(--muted); font-size: .9rem; display: flex; gap: 8px; justify-content: center; align-items: center; }

/* Imagem destacada */
.rb-article__hero { margin: 0 0 32px; border-radius: 16px; overflow: hidden; }
.rb-article__hero img { width: 100%; height: auto; display: block; }

/* Corpo do artigo */
.rb-article__body { font-size: 1.06rem; }
.rb-article .rb-article__body h2 { font-size: 1.55rem; line-height: 1.25; margin: 40px 0 12px; color: var(--ink); }
.rb-article .rb-article__body h3 { font-size: 1.25rem; line-height: 1.3; margin: 32px 0 10px; color: var(--ink); }
.rb-article .rb-article__body h4 { font-size: 1.08rem; margin: 26px 0 8px; color: var(--ink); }
.rb-article__body p { margin: 0 0 18px; }
.rb-article__body ul, .rb-article__body ol { margin: 0 0 18px; padding-left: 1.4rem; }
.rb-article__body li { margin: 0 0 8px; }
.rb-article__body img { max-width: 100%; height: auto; border-radius: 12px; margin: 8px 0; }
.rb-article__body a { color: var(--brand); text-decoration: underline; }
.rb-article__body blockquote { margin: 24px 0; padding: 8px 20px; border-left: 4px solid var(--brand); color: var(--muted); font-style: italic; }
.rb-article__body table { width: 100%; border-collapse: collapse; margin: 0 0 20px; display: block; overflow-x: auto; }
.rb-article__body th, .rb-article__body td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.rb-article__body figure { margin: 20px 0; }
.rb-article__body img.aligncenter { display: block; margin-left: auto; margin-right: auto; }

/* Tags */
.rb-article__tags { margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rb-article__tags a { font-size: .8rem; color: var(--muted); background: var(--soft); border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; text-decoration: none; }

/* Rodapé de ação */
.rb-article__foot { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin: 36px 0 0; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rb-btn-ghost { color: var(--ink); text-decoration: none; font-weight: 600; }
.rb-btn-ghost:hover { color: var(--brand); }
.rb-btn-wa { background: var(--wa); color: #fff; text-decoration: none; font-weight: 700; padding: 11px 20px; border-radius: 999px; }
.rb-btn-wa:hover { background: #1fb457; }

/* Relacionados */
.rb-article__related { margin: 48px 0 0; }
.rb-article .rb-article__related-title { font-size: 1.3rem; margin: 0 0 20px; color: var(--ink); }
.rb-article__related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rb-rel { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 10px; }
.rb-rel__img { display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--soft); }
.rb-rel__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.rb-rel:hover .rb-rel__img img { transform: scale(1.05); }
.rb-rel__ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #e9edf1, #dbe2ea); }
.rb-rel__title { font-size: .95rem; font-weight: 600; line-height: 1.35; }
.rb-rel:hover .rb-rel__title { color: var(--brand); }

@media (max-width: 720px) {
	.rb-article .rb-article__title { font-size: 1.8rem; }
	.rb-article__related-grid { grid-template-columns: 1fr; }
}

/* ===== v2 (19/08/2026): tipografia Archivo + kicker laranja ===== */
.rb-article { font-family: 'Inter', system-ui, sans-serif; }
.rb-article .rb-article__title, .rb-article h2, .rb-article h3, .rb-article .rb-article__related-title { font-family: 'Archivo', 'Inter', system-ui, sans-serif; letter-spacing: -.015em; }
.rb-article .rb-article__cat { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #c85f10; }
.rb-article .rb-article__body a { color: #c85f10; }
.rb-article .rb-rel { transition: transform .18s ease, box-shadow .18s ease; }
.rb-article .rb-rel:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(20,24,29,.12); }
