/*
Theme Name: Busca Sim Blog
Theme URI: https://buscasim.com.br/blog/
Description: Tema filho do Hello Elementor com o redesign do blog do Busca Sim (home, categoria, artigo, autor, busca). Fase 1.
Author: Busca Sim
Template: hello-elementor
Version: 0.1.0
Text Domain: buscasim-blog
Requires at least: 6.0
Requires PHP: 7.4
*/

/* ---------- Tokens do design (blog) ---------- */
:root {
  --bs-ink: #16140e; --bs-paper: #efe9dd; --bs-beige: #e2dccb; --bs-navy: #0e1245; --bs-blue: #2e37e0; --bs-yellow: #ffc400;
  --bs-muted: #4a463a; --bs-lilac: #dde0f7; --bs-white: #ffffff;
  --bs-border: 2.5px solid var(--bs-ink); --bs-radius: 14px; --bs-shadow: 5px 5px 0 var(--bs-ink);
  --bs-title: 'Archivo Black', 'Arial Black', sans-serif; --bs-text: 'Hanken Grotesk', system-ui, sans-serif; --bs-mono: 'JetBrains Mono', ui-monospace, monospace;
  --bs-wrap: 1240px;
}
body.bs-blog { margin: 0; background: var(--bs-paper); color: var(--bs-ink); font: 18px/1.7 var(--bs-text); overflow-x: clip; }
.bs-blog *, .bs-blog *::before, .bs-blog *::after { box-sizing: border-box; }
.bs-blog a { color: var(--bs-blue); text-decoration: none; } .bs-blog a:hover { color: var(--bs-ink); text-decoration: underline; }
.bs-blog img { max-width: 100%; height: auto; }
.bs-blog :focus-visible { outline: 3px solid var(--bs-blue); outline-offset: 2px; }
.bs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bs-wrap { max-width: var(--bs-wrap); margin: 0 auto; padding: 0 16px; }
.bs-title { font-family: var(--bs-title); font-weight: 400; line-height: 1.2; margin: 0; color: var(--bs-ink); }
.bs-mono { font-family: var(--bs-mono); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }

/* ---------- Cabeçalho ---------- */
.bs-header { border-bottom: var(--bs-border); background: var(--bs-paper); }
.bs-header__in { max-width: var(--bs-wrap); margin: 0 auto; padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.bs-logo { display: flex; align-items: center; color: var(--bs-ink); font-family: var(--bs-title); font-size: 22px; text-decoration: none !important; }
.bs-logo img { display: block; max-height: 48px; width: auto; }
.bs-nav { display: flex; gap: 22px; font-weight: 700; font-size: 16px; }
.bs-nav a, .bs-nav summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--bs-ink); text-decoration: none; }
.bs-nav a:hover { color: var(--bs-blue); }
.bs-dd { position: relative; } .bs-dd summary { list-style: none; cursor: pointer; gap: 6px; } .bs-dd summary::-webkit-details-marker { display: none; }
.bs-dd[open] summary { text-decoration: underline; }
.bs-dd ul { position: absolute; top: 100%; left: -12px; z-index: 30; margin: 0; padding: 8px; list-style: none; background: var(--bs-white); border: var(--bs-border); border-radius: 12px; box-shadow: var(--bs-shadow); min-width: 230px; }
.bs-dd li a { display: flex; padding: 0 12px; border-radius: 8px; font-weight: 600; white-space: nowrap; }
.bs-dd li a:hover { background: var(--bs-beige); color: var(--bs-ink); }
.bs-spacer { flex: 1 1 0; }
.bs-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 12px; background: var(--bs-yellow); color: var(--bs-ink) !important; border: var(--bs-border); box-shadow: 3px 3px 0 var(--bs-ink); font: 700 16px var(--bs-text); text-decoration: none !important; cursor: pointer; }
.bs-btn:hover { box-shadow: 1px 1px 0 var(--bs-ink); }

/* ---------- Faixa de abertura (home, categoria) ---------- */
.bs-hero { background: var(--bs-navy); border-bottom: var(--bs-border); color: var(--bs-lilac); }
.bs-hero__in { max-width: var(--bs-wrap); margin: 0 auto; padding: 40px 16px 32px; display: flex; flex-direction: column; gap: 20px; }
.bs-hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.bs-hero__txt { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.bs-hero h1 { font-family: var(--bs-title); font-weight: 400; font-size: 34px; line-height: 1.15; color: var(--bs-white); margin: 0; }
.bs-hero p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--bs-lilac); }
.bs-hero .bs-crumbs, .bs-hero .bs-crumbs a { color: var(--bs-lilac); }
.bs-search { flex: 0 1 380px; min-width: 240px; }
.bs-search__box { display: flex; align-items: center; gap: 8px; background: var(--bs-white); border: var(--bs-border); border-radius: var(--bs-radius); padding: 4px 4px 4px 14px; }
.bs-search input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 17px; color: var(--bs-ink); height: 44px; background: transparent; }
.bs-search button { height: 44px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--bs-navy); color: var(--bs-white); font: 600 16px var(--bs-text); cursor: pointer; }
.bs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bs-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: var(--bs-border); background: var(--bs-white); color: var(--bs-ink); font-size: 15px; font-weight: 500; white-space: nowrap; text-decoration: none; }
.bs-chips a:hover, .bs-chips a[aria-current] { background: var(--bs-yellow); }

/* ---------- Cartão ---------- */
.bs-card { position: relative; display: flex; flex-direction: column; background: var(--bs-white); border: var(--bs-border); border-radius: var(--bs-radius); box-shadow: var(--bs-shadow); min-width: 0; }
.bs-card:hover { box-shadow: 3px 3px 0 var(--bs-ink); }
.bs-card__bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; background: var(--bs-beige); border-bottom: var(--bs-border); border-radius: 11px 11px 0 0; font: 500 12px/1.2 var(--bs-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--bs-ink); }
.bs-card__bar--blue { background: var(--bs-blue); color: var(--bs-white); }
.bs-card__bar a { color: inherit; }
.bs-card__body { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 16px; flex: 1; min-width: 0; }
.bs-new { position: absolute; right: 12px; top: -14px; z-index: 2; background: var(--bs-yellow); color: var(--bs-ink); border: var(--bs-border); padding: 3px 8px; font: 500 12px/1 var(--bs-mono); text-transform: uppercase; }
.bs-thumb { display: block; aspect-ratio: 16 / 10; border-radius: var(--bs-radius); background: var(--bs-beige); border: var(--bs-border); overflow: hidden; }
.bs-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bs-card h3 { margin: 0; font: 700 18px/1.35 var(--bs-text); }
.bs-card h3 a, .bs-link-ink a { color: var(--bs-ink); } .bs-card h3 a:hover, .bs-link-ink a:hover { color: var(--bs-blue); text-decoration: none; }
.bs-card p { margin: 0; font-size: 15px; color: var(--bs-muted); }
.bs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

/* ---------- Corpo da home ---------- */
.bs-main { max-width: var(--bs-wrap); margin: 0 auto; padding: 0 16px 64px; }
.bs-feature { display: flex; flex-wrap: wrap; gap: 28px; padding-top: 40px; }
.bs-feature__lead { flex: 999 1 520px; min-width: 0; }
.bs-feature__lead h3 { font-family: var(--bs-title); font-weight: 400; font-size: 24px; line-height: 1.2; }
.bs-feature__lead p { font-size: 18px; line-height: 1.6; color: var(--bs-ink); }
.bs-feature__side { flex: 1 1 340px; min-width: 0; }
.bs-sidelist article { display: flex; gap: 14px; padding: 14px 0; border-bottom: 2px solid var(--bs-ink); }
.bs-sidelist article:last-child { border-bottom: 0; }
.bs-sidelist .bs-mini { flex: none; width: 96px; height: 72px; border-radius: 12px; background: var(--bs-beige); border: var(--bs-border); overflow: hidden; }
.bs-sidelist .bs-mini img { width: 100%; height: 100%; object-fit: cover; }
.bs-sidelist h3 { font-size: 17px; }
.bs-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 16px; color: var(--bs-ink); }
.bs-meta .bs-dot { color: var(--bs-muted); }
.bs-split { display: flex; flex-wrap: wrap; gap: 28px; padding-top: 56px; align-items: flex-start; }
.bs-split__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; }
.bs-split__side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 28px; position: sticky; top: 24px; align-self: flex-start; }
.bs-sec { padding-top: 56px; display: flex; flex-direction: column; gap: 18px; }
.bs-sec:first-child { padding-top: 0; }
.bs-sec__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; border-bottom: 2px solid var(--bs-ink); padding-bottom: 10px; }
.bs-sec__head h2, .bs-h2 { margin: 0; font-family: var(--bs-title); font-weight: 400; font-size: 24px; color: var(--bs-ink); }
.bs-top { margin: 0; padding: 4px 20px; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 28px; }
.bs-top li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 2px solid var(--bs-ink); }
.bs-top .bs-n { font: 500 20px var(--bs-mono); color: var(--bs-blue); min-width: 28px; }
.bs-top a { font-weight: 600; font-size: 17px; line-height: 1.4; color: var(--bs-ink); }
.bs-ad { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bs-ad small { font-size: 13px; color: var(--bs-muted); }
.bs-ad__slot { width: 100%; max-width: 970px; min-height: 120px; display: flex; align-items: center; justify-content: center; }

/* ---------- Barra lateral ---------- */
.bs-plate { background: var(--bs-navy); color: var(--bs-white); border-radius: var(--bs-radius); border: var(--bs-border); box-shadow: var(--bs-shadow); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.bs-plate h2 { margin: 0; font-family: var(--bs-title); font-weight: 400; font-size: 24px; line-height: 1.25; color: var(--bs-white); }
.bs-plate p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--bs-lilac); }
.bs-plate label { font-size: 15px; font-weight: 600; color: var(--bs-white); }
.bs-plate__row { display: flex; gap: 8px; flex-wrap: wrap; }
.bs-plate input { flex: 1 1 140px; min-width: 0; height: 52px; border-radius: 12px; border: 2px solid var(--bs-white); padding: 0 14px; font: 600 20px var(--bs-mono); letter-spacing: 2px; text-transform: uppercase; color: var(--bs-ink); background: var(--bs-white); }
.bs-plate .bs-btn { height: 52px; }
.bs-catnav { padding: 20px; gap: 4px; }
.bs-catnav h2 { margin: 0 0 6px; font-family: var(--bs-title); font-weight: 400; font-size: 18px; }
.bs-catnav ul { margin: 0; padding: 0; list-style: none; }
.bs-catnav li { border-bottom: 2px solid var(--bs-ink); } .bs-catnav li:last-child { border-bottom: 0; }
.bs-catnav a { display: flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 16px; color: var(--bs-ink); text-decoration: none; }
.bs-catnav a:hover, .bs-catnav a[aria-current] { color: var(--bs-blue); }

/* ---------- Trilha, categoria, paginação ---------- */
.bs-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 15px; padding: 14px 0; }
.bs-crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.bs-cat-top { background: var(--bs-navy); border-bottom: var(--bs-border); }
.bs-subtabs { display: flex; flex-wrap: wrap; gap: 0; }
.bs-subtabs a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-bottom: 3px solid transparent; color: var(--bs-lilac); font-weight: 500; }
.bs-subtabs a[aria-current] { color: var(--bs-white); font-weight: 700; border-bottom-color: var(--bs-yellow); }
.bs-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.bs-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; background: var(--bs-white); border: var(--bs-border); border-radius: 12px; color: var(--bs-ink); font-weight: 600; text-decoration: none; }
.bs-pagination .current { background: var(--bs-yellow); }

/* ---------- Artigo ---------- */
.bs-article { max-width: 820px; margin: 0 auto; padding: 0 16px 24px; }
.bs-article__head h1 { font-family: var(--bs-title); font-weight: 400; font-size: 36px; line-height: 1.15; margin: 8px 0 12px; }
.bs-article__lead { font-size: 20px; line-height: 1.55; margin: 0 0 20px; }
.bs-byline { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; padding: 14px 0; border-top: 2px solid var(--bs-ink); border-bottom: 2px solid var(--bs-ink); font-size: 16px; }
.bs-byline dl { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; } .bs-byline dt { font-size: 13px; color: var(--bs-muted); } .bs-byline dd { margin: 0; font-weight: 600; }
.bs-avatar { display: inline-flex; width: 48px; height: 48px; border-radius: 14px; border: var(--bs-border); background: var(--bs-beige); overflow: hidden; align-items: center; justify-content: center; flex: none; }
.bs-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bs-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0; font-size: 15px; }
.bs-share a, .bs-share button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: var(--bs-border); border-radius: 12px; background: var(--bs-white); color: var(--bs-ink); font: 600 15px var(--bs-text); cursor: pointer; text-decoration: none; }
.bs-cover { margin: 0 0 24px; } .bs-cover img { width: 100%; border: var(--bs-border); border-radius: var(--bs-radius); display: block; }
.bs-cover figcaption { font-size: 14px; color: var(--bs-muted); margin-top: 6px; }
.bs-toc { border: var(--bs-border); border-radius: var(--bs-radius); background: var(--bs-white); box-shadow: var(--bs-shadow); margin: 0 0 28px; }
.bs-toc > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 18px; cursor: pointer; font: 700 17px var(--bs-text); }
.bs-toc > summary::-webkit-details-marker { display: none; }
.bs-toc ol { margin: 0; padding: 0 18px 14px 40px; } .bs-toc li { padding: 4px 0; } .bs-toc a { color: var(--bs-ink); font-weight: 600; font-size: 16px; }
.bs-prose { font-size: 18px; line-height: 1.75; }
.bs-prose h2 { font-family: var(--bs-title); font-weight: 400; font-size: 26px; line-height: 1.25; margin: 40px 0 12px; scroll-margin-top: 20px; }
.bs-prose h3 { font: 700 21px/1.3 var(--bs-text); margin: 28px 0 8px; scroll-margin-top: 20px; }
.bs-prose p, .bs-prose ul, .bs-prose ol { margin: 0 0 16px; } .bs-prose li { margin-bottom: 6px; }
.bs-prose a { text-decoration: underline; text-underline-offset: 2px; }
.bs-prose table { border-collapse: collapse; width: 100%; margin: 0 0 20px; background: var(--bs-white); border: var(--bs-border); }
.bs-prose th, .bs-prose td { border: 2px solid var(--bs-ink); padding: 10px 12px; text-align: left; } .bs-prose th { background: var(--bs-beige); }
.bs-prose blockquote { margin: 0 0 16px; padding: 12px 18px; border-left: 6px solid var(--bs-yellow); background: var(--bs-white); }
.bs-prose img { border-radius: 12px; border: var(--bs-border); }
.bs-cta-end { background: var(--bs-navy); color: var(--bs-white); border-radius: var(--bs-radius); border: var(--bs-border); box-shadow: var(--bs-shadow); padding: 28px; margin: 36px 0; display: flex; flex-direction: column; gap: 12px; }
.bs-cta-end h2 { margin: 0; font-family: var(--bs-title); font-weight: 400; font-size: 26px; color: var(--bs-white); } .bs-cta-end p { margin: 0; color: var(--bs-lilac); }
.bs-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; } .bs-tags a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 14px; border: var(--bs-border); border-radius: 999px; background: var(--bs-white); color: var(--bs-ink); font-size: 15px; }
.bs-authorbox { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border: var(--bs-border); border-radius: var(--bs-radius); background: var(--bs-white); box-shadow: var(--bs-shadow); margin: 32px 0; }
.bs-authorbox h2 { margin: 0 0 6px; font-family: var(--bs-title); font-weight: 400; font-size: 20px; } .bs-authorbox p { margin: 0 0 10px; font-size: 16px; }
.bs-related { margin: 36px 0; } .bs-related h2 { font-family: var(--bs-title); font-weight: 400; font-size: 24px; margin: 0 0 16px; }

/* ---------- Autor ---------- */
.bs-author-hero { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.bs-author-hero .bs-avatar { width: 112px; height: 112px; border-radius: 24px; }

/* ---------- Rodapé ---------- */
.bs-footer { background: var(--bs-navy); color: var(--bs-lilac); }
.bs-footer__in { max-width: var(--bs-wrap); margin: 0 auto; padding: 48px 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px; font-size: 16px; }
.bs-footer a { color: var(--bs-lilac); display: flex; align-items: center; min-height: 44px; } .bs-footer a:hover { color: var(--bs-yellow); }
.bs-footer .bs-fh { font-family: var(--bs-title); font-size: 18px; color: var(--bs-white); margin-bottom: 6px; display: block; }
.bs-footer p { margin: 0; } .bs-footer__copy { max-width: var(--bs-wrap); margin: 0 auto; padding: 0 16px 28px; font-size: 14px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) { .bs-split__side { position: static; } }
@media (max-width: 760px) {
  .bs-hero h1, .bs-article__head h1 { font-size: 26px; } .bs-feature__lead h3 { font-size: 22px; }
  .bs-nav { flex-wrap: wrap; gap: 0 20px; order: 3; width: 100%; } .bs-spacer { display: none; }
  .bs-search { order: 4; width: 100%; flex-basis: 100%; }
  .bs-card__body { padding: 12px 14px 14px; } .bs-prose h2 { font-size: 22px; } .bs-authorbox { flex-direction: column; }
}

/* ---------- Ajustes de convivência com o tema pai ---------- */
.bs-blog .bs-header { min-height: 0; }
.bs-cat-top .bs-crumbs, .bs-cat-top .bs-crumbs a { color: var(--bs-lilac); }
.bs-cat-top .bs-hero__in { max-width: var(--bs-wrap); margin: 0 auto; padding: 8px 16px 0; display: flex; flex-direction: column; gap: 14px; }
.bs-cat-top .bs-hero__txt p { color: var(--bs-lilac); margin: 0; }
.bs-cat-top { padding-bottom: 0; }
.bs-author-hero .bs-hero__txt p { color: var(--bs-lilac); }
.bs-header a, .bs-footer a { text-decoration: none; }
@media (max-width: 760px) { .bs-header__in { gap: 8px 16px; } }

/* ---------- Correções da pré-visualização de 27/11 ---------- */
/* O plugin AutoPost Índice injeta um índice flutuante; o novo layout tem o índice próprio do design. */
.bs-blog .api-toc { display: none !important; }
@media (min-width: 1021px) {
  .bs-header__in { flex-wrap: nowrap; }
  .bs-search { flex: 0 1 340px; min-width: 200px; }
  .bs-nav { flex: none; }
}

/* ---------- Fidelidade ao design da home (27/11) ---------- */
.bs-footer .bs-fh--brand { font-family: var(--bs-title); font-size: 20px; margin-bottom: 8px; }
.bs-footer p { line-height: 1.6; }
.bs-footer__copy { max-width: none; margin: 0; padding: 20px 16px 24px; text-align: center; border-top: 1px solid var(--bs-blue); font-size: 14px; }
.bs-footer__in { grid-template-columns: minmax(200px, 253px) minmax(180px, 253px) minmax(180px, 253px); justify-content: start; gap: 28px 0; }
.bs-footer__in > * { padding-right: 24px; }
.bs-hero__row .bs-search { flex: 0 1 440px; min-width: 260px; }
.bs-hero__row { align-items: flex-end; }
.bs-top .bs-n { min-width: 28px; }
@media (max-width: 900px) { .bs-footer__in { grid-template-columns: 1fr 1fr; } }

/* ===== Ajustes de fidelidade: artigo, categoria, autor (27/11/2026) ===== */
/* Rodapé fino das páginas internas */
.bs-footer--slim .bs-footer__slim { max-width: var(--bs-wrap); margin: 0 auto; padding: 22px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; font-size: 14px; }
.bs-footer--slim nav { display: flex; flex-wrap: wrap; gap: 0 20px; } .bs-footer--slim a { min-height: 40px; }
.bs-footer--slim .bs-fh { margin: 0; font-size: 18px; }

/* Categoria: título da lista, ordenação, três colunas, rodapé da lista */
.bs-listhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 18px; }
.bs-listhead h2 { margin: 0; font-family: var(--bs-text); font-weight: 700; font-size: 18px; }
.bs-sort { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.bs-sort select { min-height: 40px; padding: 0 12px; border: 2px solid var(--bs-ink); border-radius: 10px; background: #fff; font: 500 14px var(--bs-text); color: var(--bs-ink); }
.bs-grid--3 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.bs-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .bs-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1020px) { .bs-grid--4, .bs-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bs-grid--4, .bs-grid--3 { grid-template-columns: 1fr; } }
.bs-listfoot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 28px; }
.bs-listfoot p { margin: 0; font-size: 14px; color: var(--bs-muted); } .bs-listfoot .bs-pagination { margin-top: 0; }
.bs-pagination .current { background: var(--bs-blue); color: #fff; border-radius: 14px; }

/* Artigo: coluna principal e barra lateral */
.bs-art-layout { max-width: var(--bs-wrap); margin: 0 auto; padding: 0 16px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.bs-art-layout > .bs-article { flex: 999 1 600px; min-width: 0; max-width: 860px; margin: 0; padding: 0 0 24px; }
.bs-art-side { flex: 1 1 300px; min-width: 0; max-width: 360px; display: flex; flex-direction: column; gap: 24px; position: sticky; top: 24px; align-self: flex-start; padding-top: 8px; }
.bs-art-side .bs-card h2, .bs-top--side h2 { margin: 0; font-family: var(--bs-title); font-weight: 400; font-size: 17px; }
.bs-top--side { padding: 16px 18px; display: block; } .bs-top--side ol { margin: 10px 0 0; padding: 0; list-style: none; }
.bs-top--side li { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 2px solid var(--bs-ink); } .bs-top--side li:last-child { border-bottom: 0; }
.bs-top--side a { font-weight: 600; font-size: 15px; line-height: 1.35; }
.bs-services { padding: 16px 18px; } .bs-services h2 { margin-bottom: 8px; }
.bs-services a { display: block; padding: 10px 0; border-bottom: 2px solid var(--bs-ink); color: var(--bs-ink); } .bs-services a:last-child { border-bottom: 0; }
.bs-services strong { display: block; font-size: 15px; } .bs-services span { font-size: 13px; color: var(--bs-muted); }
.bs-toc ol { columns: 2; column-gap: 32px; } .bs-toc li { break-inside: avoid; }
.bs-toc__t { font: 600 13px var(--bs-text); color: var(--bs-blue); } .bs-toc:not([open]) .bs-toc__t::after { content: ""; }
.bs-continue { margin: 32px 0; } .bs-continue h2 { font-family: var(--bs-title); font-weight: 400; font-size: 22px; margin: 0 0 12px; }
.bs-continue ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 28px; }
.bs-continue li { padding: 12px 0; border-bottom: 2px solid var(--bs-ink); } .bs-continue a { font-weight: 600; color: var(--bs-ink); line-height: 1.4; }
@media (max-width: 1020px) { .bs-art-side { position: static; max-width: none; flex-basis: 100%; } .bs-toc ol { columns: 1; } }

/* Autor */
.bs-author-hero { align-items: flex-start; gap: 28px; padding-bottom: 28px; }
.bs-author-hero .bs-avatar--lg { width: 112px; height: 112px; border-radius: 12px; flex: none; overflow: hidden; border: 2.5px solid var(--bs-white); }
.bs-author-hero .bs-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bs-author-hero h1 { font-size: 32px; } .bs-author-hero .bs-hero__txt { display: flex; flex-direction: column; gap: 8px; max-width: 720px; }
.bs-author-role { color: var(--bs-yellow) !important; font-weight: 700; } .bs-author-last { display: flex; flex-direction: column; gap: 2px; color: var(--bs-lilac); } .bs-author-last small { font-size: 13px; }
.bs-author-last .bs-mono { color: #fff; font-size: 18px; }
.bs-author-links { display: flex; flex-wrap: wrap; gap: 8px; } .bs-author-links a { background: #fff; color: var(--bs-ink); border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: 13px; }
.bs-author-main { display: flex; flex-direction: column; padding-top: 40px; }
.bs-topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.bs-topic { display: flex; flex-direction: column; gap: 6px; padding: 14px; background: #fff; border: 1.5px solid var(--bs-ink); border-radius: 12px; color: var(--bs-ink); }
.bs-topic strong { font-size: 15px; } .bs-topic span { font-size: 13px; color: var(--bs-muted); line-height: 1.4; }
.bs-h3 { margin: 22px 0 12px; font: 700 18px var(--bs-text); } .bs-h3 a { color: var(--bs-ink); }
.bs-more { text-align: center; margin: 24px 0 0; } .bs-more a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border: 1.5px solid var(--bs-blue); border-radius: 10px; color: var(--bs-blue); font-weight: 700; background: transparent; }
.bs-top--list { display: block; padding: 4px 20px; } .bs-top--list li:last-child { border-bottom: 0; }
.bs-cta-band { margin: 56px 0 8px; padding: 26px 28px; background: var(--bs-navy); color: #fff; border-radius: var(--bs-radius); border: var(--bs-border); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.bs-cta-band h2 { margin: 0 0 4px; font-family: var(--bs-title); font-weight: 400; font-size: 22px; color: #fff; } .bs-cta-band p { margin: 0; color: var(--bs-lilac); font-size: 14px; }
.bs-cta-band form { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 360px; max-width: 520px; }
.bs-cta-band input { flex: 1 1 180px; height: 48px; border-radius: 10px; border: 2px solid #fff; padding: 0 14px; font: 600 18px var(--bs-mono); letter-spacing: 2px; text-transform: uppercase; }
.bs-cta-band .bs-btn { height: 48px; }

/* ===== Página de modelo (carros e motos) e hubs ===== */
.bs-mod__wrap { max-width: var(--bs-wrap); margin: 0 auto; padding: 0 16px; }
.bs-mod__hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: start; padding: 8px 0 40px; }
.bs-mod__photo { border: var(--bs-border); border-radius: var(--bs-radius); background: var(--bs-beige); overflow: hidden; box-shadow: var(--bs-shadow); aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; }
.bs-mod__photo img { width: 100%; height: 100%; object-fit: cover; }
.bs-mod__intro h1 { font-family: var(--bs-title); font-weight: 400; font-size: 34px; line-height: 1.15; margin: 0 0 10px; }
.bs-mod__intro > p { margin: 0 0 18px; color: var(--bs-muted); }
.bs-mod__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.bs-mod__stats .bs-card { padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; } .bs-mod__stats small { font: 500 11px var(--bs-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--bs-muted); }
.bs-mod__stats strong { font-family: var(--bs-title); font-weight: 400; font-size: 26px; line-height: 1.1; } .bs-mod__stats strong span { font-size: 14px; } .bs-mod__stats em { font-style: normal; font-size: 13px; color: var(--bs-muted); }
.bs-mod__plate, .bs-mod__cta form, .bs-mod__band form { display: flex; flex-wrap: wrap; gap: 10px; }
.bs-mod__plate input, .bs-mod__cta input, .bs-mod__band input { flex: 1 1 180px; height: 52px; border-radius: 12px; border: var(--bs-border); padding: 0 14px; font: 600 18px var(--bs-mono); letter-spacing: 2px; text-transform: uppercase; background: #fff; }
.bs-mod__plate .bs-btn, .bs-mod__cta .bs-btn, .bs-mod__band .bs-btn { height: 52px; }
.bs-mod__sec { padding: 40px 0 0; display: flex; flex-direction: column; gap: 18px; } .bs-mod__sec > h2, .bs-mod__cta h2 { margin: 0; font-family: var(--bs-title); font-weight: 400; font-size: 26px; line-height: 1.2; }
.bs-mod__specs { columns: 2; column-gap: 24px; } .bs-mod__spec { break-inside: avoid; margin: 0 0 24px; padding: 18px 20px; }
.bs-mod__spec h3 { margin: 0 0 8px; font: 700 18px var(--bs-text); }
.bs-mod__spec dl, .bs-mod__fipe dl { margin: 0; } .bs-mod__spec dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1.5px solid var(--bs-beige); font-size: 15px; } .bs-mod__spec dl > div:last-child { border-bottom: 0; }
.bs-mod__spec dt { color: var(--bs-muted); } .bs-mod__spec dd { margin: 0; font-weight: 700; text-align: right; }
.bs-mod__fipe { padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; } .bs-mod__fipe small { font: 500 12px var(--bs-mono); width: 100%; color: var(--bs-muted); } .bs-mod__fipe strong { font-family: var(--bs-title); font-weight: 400; font-size: 38px; }
.bs-mod__fipe dl { display: flex; gap: 28px; } .bs-mod__fipe dt { font-size: 13px; color: var(--bs-muted); } .bs-mod__fipe dd { margin: 0; font-weight: 700; font-family: var(--bs-mono); }
.bs-mod__aval { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; } .bs-mod__lead { font: 700 20px/1.45 var(--bs-text); }
.bs-mod__by { color: var(--bs-muted); font-size: 14px; }
.bs-mod__notas { width: 100%; border-collapse: separate; border-spacing: 0; padding: 6px 18px; } .bs-mod__notas th, .bs-mod__notas td { text-align: left; padding: 12px 0; border-bottom: 1.5px solid var(--bs-beige); vertical-align: top; }
.bs-mod__notas thead th { font: 500 11px var(--bs-mono); text-transform: uppercase; color: var(--bs-muted); } .bs-mod__notas small { display: block; font-weight: 400; font-size: 13px; color: var(--bs-muted); }
.bs-mod__notas td { text-align: right; font-family: var(--bs-title); font-size: 20px; white-space: nowrap; } .bs-mod__notas td span { font-size: 12px; } .bs-mod__total th, .bs-mod__total td { border-bottom: 0; font-weight: 700; }
.bs-mod__pc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } .bs-mod__pc .bs-card { padding: 16px 18px; } .bs-mod__pc h3 { margin: 0 0 6px; font: 700 17px var(--bs-text); } .bs-mod__pc p { margin: 0; }
.bs-mod__ops { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; } .bs-mod__ops blockquote { margin: 0; padding: 16px 18px; } .bs-mod__ops cite { font-weight: 700; font-style: normal; font-size: 14px; }
.bs-mod__cta { margin: 48px 0 0; padding: 28px; background: var(--bs-beige); border: var(--bs-border); border-radius: var(--bs-radius); box-shadow: var(--bs-shadow); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; } .bs-mod__cta p { margin: 0 0 8px; } .bs-mod__cta form { width: 100%; max-width: 520px; justify-content: center; }
.bs-mod__anos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } .bs-mod__anos li { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 10px 0; border-bottom: 2px solid var(--bs-ink); } .bs-mod__anos strong { font-family: var(--bs-title); font-weight: 400; }
.bs-btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; display: inline-flex; align-items: center; }
.bs-mod__chips { display: flex; flex-wrap: wrap; gap: 10px; } .bs-mod__chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: #fff; border: 2px solid var(--bs-ink); border-radius: 999px; color: var(--bs-ink); font-weight: 600; } .bs-mod__chips .bs-mod__chip-y { background: var(--bs-yellow); }
.bs-mod__faq { display: flex; flex-direction: column; gap: 12px; } .bs-mod__faq details { padding: 0 18px; } .bs-mod__faq summary { min-height: 52px; display: flex; align-items: center; cursor: pointer; font-weight: 700; } .bs-mod__faq p { margin: 0 0 16px; }
.bs-mod__band { margin-top: 56px; background: var(--bs-navy); color: #fff; padding: 48px 0; text-align: center; } .bs-mod__band h2 { margin: 0 0 8px; font-family: var(--bs-title); font-weight: 400; font-size: 28px; color: #fff; } .bs-mod__band p { margin: 0 0 18px; color: var(--bs-lilac); } .bs-mod__band form { max-width: 520px; margin: 0 auto; justify-content: center; }
.bs-hub__table { padding: 4px 20px; } .bs-hub__row { display: grid; grid-template-columns: minmax(0, 2fr) 1fr 1.2fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 2px solid var(--bs-ink); } .bs-hub__row:last-child { border-bottom: 0; }
.bs-hub__row small { display: block; font: 500 11px var(--bs-mono); text-transform: uppercase; color: var(--bs-muted); } .bs-hub__row em { display: block; font-style: normal; font-size: 12px; color: var(--bs-muted); }
@media (max-width: 900px) { .bs-mod__hero, .bs-mod__aval, .bs-mod__pc { grid-template-columns: 1fr; } .bs-mod__specs { columns: 1; } .bs-hub__row { grid-template-columns: 1fr 1fr; } .bs-mod__anos li { grid-template-columns: 56px 1fr; } .bs-mod__anos .bs-btn { grid-column: 1 / -1; } }
.bs-cat-top .bs-search { flex: 0 0 auto; width: 100%; max-width: 760px; min-height: 0; margin: 0 0 28px; }
.bs-cat-top .bs-search__box { width: 100%; }

/* ===== Hub de carros e de motos (fiel ao desenho) ===== */
.bs-footer__in { grid-template-columns: minmax(200px, 253px) repeat(3, minmax(150px, 200px)); }
.bs-hub { padding: 0; }
.bs-hub__in { max-width: var(--bs-wrap); margin: 0 auto; padding: 0 16px; }
.bs-hub__top { border-bottom: 2px solid var(--bs-ink); padding: 8px 0 44px; }
.bs-hub__top .bs-hub__in { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.bs-hub__tabs { display: inline-flex; border: 2.5px solid var(--bs-ink); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 3px 3px 0 var(--bs-ink); }
.bs-hub__tabs a { min-width: 80px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; color: var(--bs-ink); font-weight: 700; text-decoration: none; }
.bs-hub__tabs a[aria-current] { background: var(--bs-ink); color: #fff; }
.bs-hub__top h1 { margin: 0; font-family: var(--bs-title); font-weight: 400; font-size: 44px; line-height: 1.1; max-width: 640px; }
.bs-hub__search { display: flex; gap: 12px; width: 100%; max-width: 640px; }
.bs-hub__search input { flex: 1 1 auto; height: 48px; border: var(--bs-border); border-radius: 10px; padding: 0 14px; font: 500 16px var(--bs-text); background: #fff; }
.bs-hub__search .bs-btn { height: 48px; }
.bs-hub__sec { padding-top: 64px; display: block; } .bs-hub__sec > h2 { margin: 0 0 20px; font-family: var(--bs-title); font-weight: 400; font-size: 26px; }
.bs-hub__head { display: grid; grid-template-columns: 64px minmax(0, 2fr) 90px 140px 130px; gap: 16px; padding: 0 0 8px; border-bottom: 2px solid var(--bs-ink); font: 500 11px var(--bs-mono); text-transform: uppercase; color: var(--bs-muted); }
.bs-hub__head span:nth-child(1) { grid-column: 2; } .bs-hub__head span:nth-child(2) { grid-column: 3; } .bs-hub__head span:nth-child(3) { grid-column: 4; }
.bs-hub__table { display: flex; flex-direction: column; }
.bs-hub__row, .bs-hub__cat { display: grid; grid-template-columns: 64px minmax(0, 2fr) 90px 140px 130px; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1.5px solid var(--bs-beige); }
.bs-hub__thumb { width: 64px; height: 48px; border: 2px solid var(--bs-ink); border-radius: 8px; overflow: hidden; background: var(--bs-beige); display: block; }
.bs-hub__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bs-hub__name strong { display: block; font-size: 15px; line-height: 1.3; } .bs-hub__name small, .bs-hub__nota small, .bs-hub__fipe small { display: block; font: 400 11px var(--bs-mono); color: var(--bs-muted); }
.bs-hub__nota b, .bs-hub__fipe b { display: block; font-family: var(--bs-title); font-weight: 400; font-size: 15px; }
.bs-hub__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; background: #fff; border: 2px solid var(--bs-ink); border-radius: 10px; color: var(--bs-ink) !important; font-weight: 700; font-size: 14px; text-decoration: none !important; justify-self: end; }
.bs-hub__all { display: inline-flex; align-items: center; min-height: 44px; margin-top: 22px; padding: 0 20px; background: var(--bs-yellow); border: 2.5px solid var(--bs-ink); border-radius: 12px; box-shadow: 3px 3px 0 var(--bs-ink); color: var(--bs-ink) !important; font-weight: 700; text-decoration: none !important; }
.bs-hub__brands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.bs-hub__brand { display: flex; align-items: center; min-height: 56px; padding: 0 18px; background: #fff; border: var(--bs-border); border-radius: var(--bs-radius); box-shadow: var(--bs-shadow); color: var(--bs-ink) !important; font-family: var(--bs-title); font-size: 15px; text-decoration: none !important; }
.bs-hub__brand--all { background: var(--bs-yellow); cursor: pointer; justify-content: center; font-size: 15px; }
.bs-hub__brand[hidden] { display: none !important; }
.bs-hub__cat { grid-template-columns: 110px 64px minmax(0, 2fr) 90px 140px 130px; border-bottom: 1.5px solid var(--bs-beige); } .bs-hub__cats { border-top: 2px solid var(--bs-ink); }
.bs-hub__cat-t { font-family: var(--bs-title); font-weight: 400; font-size: 18px; }
.bs-hub__band { margin-top: 72px; background: var(--bs-navy); color: #fff; padding: 36px 0; }
.bs-hub__band h2 { margin: 0; font-family: var(--bs-title); font-weight: 400; font-size: 26px; line-height: 1.2; color: #fff; max-width: 420px; }
.bs-hub__band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.bs-hub__band form { display: flex; flex-wrap: wrap; gap: 12px; flex: 1 1 360px; max-width: 520px; } .bs-hub__band input { flex: 1 1 200px; height: 48px; border-radius: 10px; border: 2px solid #fff; padding: 0 14px; font: 500 16px var(--bs-mono); } .bs-hub__band .bs-btn { height: 48px; }
.bs-hub__band--center { margin-top: 0; padding: 56px 0; text-align: center; } .bs-hub__band--center h2 { margin: 0 auto 8px; max-width: 520px; font-size: 32px; } .bs-hub__band--center p { margin: 0 0 18px; color: var(--bs-lilac); } .bs-hub__band--center form { margin: 0 auto; justify-content: center; }
@media (max-width: 900px) {
  .bs-hub__top h1 { font-size: 32px; } .bs-hub__brands { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bs-hub__head { display: none; }
  .bs-hub__row, .bs-hub__cat { grid-template-columns: 64px minmax(0, 1fr) auto; } .bs-hub__nota, .bs-hub__fipe { grid-column: 2; display: flex; gap: 6px; align-items: baseline; } .bs-hub__btn { grid-column: 1 / -1; justify-self: stretch; }
  .bs-hub__cat-t { grid-column: 1 / -1; } .bs-footer__in { grid-template-columns: 1fr 1fr; }
}
body .bs-main.bs-hub { max-width: none; width: 100%; padding: 0; margin: 0; }
.bs-header .bs-btn, .bs-btn { white-space: nowrap; }
