:root {
  --bt-accent: #1565d8;
  --bt-header: #10223f;
  --bt-text: #172033;
  --bt-body: #f5f7fb;
  --bt-card: #ffffff;
  --bt-font-size: 18px;
  --bt-container: 1180px;
  --bt-radius: 18px;
  --bt-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bt-muted: #667085;
  --bt-border: #dfe6f0;
  --bt-soft: #edf4ff;
  --bt-shadow: 0 16px 42px rgba(21, 42, 78, .11);
  --bt-shadow-sm: 0 7px 18px rgba(21, 42, 78, .07);
  --bt-reader-scale: 1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bt-body); color: var(--bt-text); font: 400 var(--bt-font-size)/1.72 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; text-rendering: optimizeLegibility; }
body.bt-high-contrast { --bt-body: #ffffff; --bt-card: #ffffff; --bt-text: #0d1420; --bt-muted: #334155; --bt-border: #637083; --bt-accent: #003ea8; }
body.bt-reading-mode { --bt-body: #fbfcff; }
body.bt-reading-mode .site-sidebar { display: none; }
body.bt-reading-mode .content-layout { display: block; }
body.bt-reading-mode .primary-content { max-width: 950px; margin: 0 auto; }
body.bt-reading-mode .single-article { box-shadow: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--bt-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, textarea, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid color-mix(in srgb, var(--bt-accent) 58%, #fff); outline-offset: 3px; }
.container { width: min(var(--bt-container), calc(100% - 40px)); margin: 0 auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { clip: auto; width: auto; height: auto; top: 12px; left: 12px; padding: 10px 14px; color: #fff; background: #000; z-index: 99999; }

/* Barra superior e cabeçalho. */
.bt-notice-bar { background: color-mix(in srgb, var(--bt-accent) 92%, #08162a); color: #fff; font-size: .9rem; font-weight: 700; text-align: center; }
.bt-notice-bar .container { min-height: 40px; display: flex; align-items: center; justify-content: center; }
.bt-notice-bar a, .bt-notice-bar span { color: #fff; }
.bt-notice-bar a:hover { text-decoration-thickness: 2px; }
.site-header { color: #fff; background: linear-gradient(116deg, color-mix(in srgb, var(--bt-header) 98%, #000), var(--bt-header)); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset; transition: box-shadow .25s ease, background .25s ease; }
.site-header.bt-scrolled { box-shadow: 0 10px 28px rgba(6, 18, 39, .2); }
body.admin-bar .site-header { top: 32px; }
.site-header-inner { min-height: 80px; display: flex; align-items: center; gap: 24px; transition: min-height .22s ease, padding .22s ease; }
.site-header.bt-scrolled .site-header-inner { min-height: 64px; }
.site-branding { min-width: 170px; margin-right: auto; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { max-height: 56px; width: auto; }
.site-title { color: #fff; font-family: var(--bt-heading); font-size: clamp(1.25rem, 2.4vw, 1.66rem); font-weight: 850; letter-spacing: -.04em; line-height: 1; }
.site-title:hover { text-decoration: none; opacity: .9; }
.site-description { color: rgba(255,255,255,.72); margin: 5px 0 0; font-size: .78rem; line-height: 1.25; }
.primary-navigation ul, .footer-navigation ul { list-style: none; padding: 0; margin: 0; }
.primary-navigation > div > ul, .primary-navigation > ul { display: flex; gap: 22px; align-items: center; }
.primary-navigation li { position: relative; }
.primary-navigation a { color: rgba(255,255,255,.9); font-size: .93rem; font-weight: 700; white-space: nowrap; }
.primary-navigation a:hover, .primary-navigation .current-menu-item > a, .primary-navigation .current-menu-ancestor > a { color: #fff; text-decoration: none; }
.primary-navigation .sub-menu { position: absolute; left: -15px; top: calc(100% + 16px); width: max-content; min-width: 210px; padding: 8px; background: #fff; box-shadow: var(--bt-shadow); border-radius: 12px; opacity: 0; visibility: hidden; transform: translateY(-5px); transition: .18s ease; }
.primary-navigation .sub-menu a { color: var(--bt-text); display: block; padding: 10px 11px; border-radius: 8px; }
.primary-navigation .sub-menu a:hover { color: var(--bt-accent); background: var(--bt-soft); }
.primary-navigation .menu-item-has-children:hover > .sub-menu, .primary-navigation .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.header-cta, .button { display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--bt-accent); color: #fff; min-height: 46px; padding: 0 19px; font-size: .92rem; font-weight: 800; box-shadow: 0 7px 16px color-mix(in srgb, var(--bt-accent) 30%, transparent); transition: transform .2s ease, filter .2s ease, box-shadow .2s ease; }
.header-cta:hover, .button:hover { color: #fff; filter: brightness(1.08); text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 20px color-mix(in srgb, var(--bt-accent) 33%, transparent); }
.menu-toggle { display: none; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; border-radius: 10px; align-items: center; gap: 8px; padding: 11px 13px; cursor: pointer; font-weight: 750; }
.menu-toggle-icon, .menu-toggle-icon::before, .menu-toggle-icon::after { content: ''; display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.menu-toggle-icon::before { position: absolute; top: -6px; }
.menu-toggle-icon::after { position: absolute; top: 6px; }
.bt-reading-progress { height: 4px; position: fixed; top: 0; left: 0; right: 0; z-index: 99999; pointer-events: none; background: transparent; }
.admin-bar .bt-reading-progress { top: 32px; }
.bt-reading-progress span { display: block; width: 0; height: 100%; background: var(--bt-accent); box-shadow: 0 0 12px color-mix(in srgb, var(--bt-accent) 60%, transparent); }

/* Estrutura e cards. */
.site-main { padding: 48px 0 72px; min-height: 60vh; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 318px; gap: 38px; align-items: start; }
.layout-sidebar-left .content-layout { grid-template-columns: 318px minmax(0, 1fr); }
.layout-sidebar-left .site-sidebar { order: -1; }
.layout-no-sidebar .content-layout { display: block; }
.layout-no-sidebar .site-sidebar { display: none; }
.posts-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.archive-columns-1 .posts-grid { grid-template-columns: 1fr; }
.archive-columns-3 .posts-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.archive-columns-1 .post-card { display: grid; grid-template-columns: minmax(230px, 37%) 1fr; }
.archive-columns-1 .post-card-image { min-height: 100%; }
.archive-columns-1 .post-card-content { padding: 27px; }
.archive-header { margin: 0 0 26px; }
.archive-title, .entry-title, .not-found h1, .comments-title { font-family: var(--bt-heading); letter-spacing: -.052em; line-height: 1.06; color: var(--bt-text); margin: 0; font-weight: 850; }
.archive-title { font-size: clamp(1.95rem, 4vw, 2.9rem); }
.archive-description { margin-top: 11px; color: var(--bt-muted); }
.post-card { position: relative; background: var(--bt-card); border: 1px solid var(--bt-border); overflow: hidden; border-radius: var(--bt-radius); box-shadow: var(--bt-shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--bt-shadow); border-color: color-mix(in srgb, var(--bt-accent) 25%, var(--bt-border)); }
.post-card-image { background: linear-gradient(135deg, color-mix(in srgb, var(--bt-accent) 20%, #fff), #e7eef8); display: block; aspect-ratio: 16/9; overflow: hidden; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card-image img { transform: scale(1.045); }
.post-placeholder { display: block; width: 100%; height: 100%; background: radial-gradient(circle at 25% 35%, rgba(255,255,255,.85) 0 7%, transparent 8%), linear-gradient(135deg, color-mix(in srgb, var(--bt-accent) 27%, #fff), #e8edf5); }
.post-card-content { padding: 21px; }
.post-card-meta, .entry-meta { color: var(--bt-muted); font-size: .84rem; font-weight: 650; }
.post-card-title { margin: 8px 0 10px; font-family: var(--bt-heading); font-weight: 850; font-size: clamp(1.22rem, 2vw, 1.5rem); letter-spacing: -.04em; line-height: 1.13; }
.post-card-title a { color: var(--bt-text); }
.post-card-title a:hover { color: var(--bt-accent); text-decoration: none; }
.post-card-excerpt { color: #516077; line-height: 1.62; font-size: .94rem; }
.post-card-excerpt p { margin: 0; }
.post-card-link { display: inline-flex; gap: 6px; align-items: center; font-weight: 800; font-size: .92rem; margin-top: 17px; }
.post-card-link:hover span { transform: translateX(3px); }
.post-card-link span { transition: transform .18s ease; }

/* Destaque da home. */
.bt-home-hero { position: relative; isolation: isolate; min-height: 310px; overflow: hidden; display: flex; align-items: center; padding: clamp(30px, 6vw, 62px); border-radius: calc(var(--bt-radius) + 6px); background: radial-gradient(circle at 88% 16%, color-mix(in srgb, var(--bt-accent) 38%, transparent), transparent 28%), linear-gradient(119deg, var(--bt-header), color-mix(in srgb, var(--bt-header) 75%, var(--bt-accent))); color: #fff; box-shadow: var(--bt-shadow); margin-bottom: 42px; }
.bt-home-hero > div:first-child { position: relative; z-index: 2; max-width: 680px; }
.bt-home-hero h1 { font-family: var(--bt-heading); font-size: clamp(2.1rem, 5vw, 4rem); letter-spacing: -.06em; line-height: 1.02; margin: 10px 0 15px; }
.bt-home-hero p { max-width: 58ch; margin: 0 0 24px; color: rgba(255,255,255,.82); }
.bt-eyebrow, .bt-section-heading > span { display: inline-flex; align-items: center; gap: 7px; color: color-mix(in srgb, var(--bt-accent) 40%, #fff); font-weight: 800; font-size: .83rem; letter-spacing: .06em; text-transform: uppercase; }
.bt-home-hero .button { background: #fff; color: color-mix(in srgb, var(--bt-header) 75%, #000); box-shadow: none; }
.bt-home-hero .button:hover { color: color-mix(in srgb, var(--bt-header) 75%, #000); }
.bt-home-hero-orb { position: absolute; right: -52px; bottom: -74px; z-index: 1; width: 330px; height: 330px; border-radius: 50%; border: 44px solid rgba(255,255,255,.09); transform: rotate(-15deg); }
.bt-home-hero-orb span { position: absolute; border-radius: 50%; border: 15px solid rgba(255,255,255,.1); }
.bt-home-hero-orb span:nth-child(1) { width: 115px; height: 115px; left: -80px; top: -50px; }
.bt-home-hero-orb span:nth-child(2) { width: 54px; height: 54px; left: 72px; top: 115px; }
.bt-home-hero-orb span:nth-child(3) { width: 140px; height: 140px; right: -70px; top: -15px; }

/* Sidebar e widgets. */
.site-sidebar { position: sticky; top: 106px; }
.widget { background: var(--bt-card); border: 1px solid var(--bt-border); border-radius: var(--bt-radius); padding: 21px; margin-bottom: 21px; box-shadow: var(--bt-shadow-sm); }
.widget-title { font-family: var(--bt-heading); letter-spacing: -.03em; margin: 0 0 14px; font-size: 1.16rem; }
.widget ul, .bt-popular-posts { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 10px 0; border-bottom: 1px solid var(--bt-border); }
.widget li:last-child { border-bottom: 0; padding-bottom: 0; }
.widget p { margin: 0; color: var(--bt-muted); font-size: .93rem; }
.widget select, .widget input[type="search"] { width: 100%; }
.bt-popular-posts { counter-reset: bt-popular; }
.bt-popular-posts li { counter-increment: bt-popular; display: flex; gap: 10px; align-items: flex-start; }
.bt-popular-posts li::before { content: counter(bt-popular); display: inline-grid; place-items: center; flex: 0 0 25px; height: 25px; margin-top: 1px; border-radius: 50%; color: var(--bt-accent); background: color-mix(in srgb, var(--bt-accent) 12%, #fff); font-size: .78rem; font-weight: 850; }
.bt-popular-posts a { color: var(--bt-text); font-weight: 700; line-height: 1.36; }

/* Artigos. */
.bt-breadcrumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; color: var(--bt-muted); font-size: .83rem; }
.bt-breadcrumbs a { color: var(--bt-muted); }
.bt-breadcrumbs a:hover { color: var(--bt-accent); }
.single-article, .page-article { background: var(--bt-card); border: 1px solid var(--bt-border); border-radius: var(--bt-radius); padding: clamp(24px, 4.4vw, 52px); box-shadow: var(--bt-shadow-sm); }
.single-article .entry-header, .page-article .entry-header { max-width: 860px; margin: 0 auto 28px; }
.entry-category { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.entry-category a { background: color-mix(in srgb, var(--bt-accent) 12%, #fff); color: color-mix(in srgb, var(--bt-accent) 88%, #000); border-radius: 999px; padding: 5px 11px; font-size: .78rem; font-weight: 800; }
.entry-category a:hover { text-decoration: none; filter: brightness(.96); }
.entry-title { font-size: clamp(2.1rem, 5vw, 4.05rem); }
.entry-meta { margin-top: 17px; display: flex; gap: 11px; flex-wrap: wrap; }
.entry-meta span:not(:last-child)::after { content: '•'; margin-left: 11px; color: #aab5c4; }
.featured-image { overflow: hidden; margin: 0 auto 34px; border-radius: calc(var(--bt-radius) - 4px); max-width: 960px; background: #eff3f8; }
.featured-image img { width: 100%; }
.entry-content { max-width: 800px; margin: 0 auto; font-size: calc(1.06em * var(--bt-reader-scale)); line-height: calc(1.76 / var(--bt-reader-scale)); }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--bt-text); font-family: var(--bt-heading); letter-spacing: -.04em; line-height: 1.18; margin: 1.9em 0 .65em; scroll-margin-top: 120px; }
.entry-content h2 { font-size: 1.82em; }
.entry-content h3 { font-size: 1.44em; }
.entry-content h4 { font-size: 1.18em; }
.entry-content p, .entry-content ul, .entry-content ol { margin: 0 0 1.3em; }
.entry-content li + li { margin-top: .4em; }
.entry-content a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry-content blockquote { border-left: 5px solid var(--bt-accent); background: color-mix(in srgb, var(--bt-accent) 7%, #fff); border-radius: 0 13px 13px 0; padding: 19px 22px; margin: 1.6em 0; font-weight: 600; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content img { border-radius: 12px; }
.entry-content table { display: block; max-width: 100%; overflow-x: auto; width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
.entry-content th, .entry-content td { border: 1px solid var(--bt-border); padding: 11px; text-align: left; }
.entry-content th { background: #f5f7fb; }
.entry-footer { max-width: 800px; margin: 32px auto 0; padding-top: 21px; border-top: 1px solid var(--bt-border); }
.entry-tags a { display: inline-block; border: 1px solid var(--bt-border); color: var(--bt-muted); padding: 5px 10px; border-radius: 99px; margin: 0 6px 6px 0; font-size: .8rem; font-weight: 650; }
.entry-tags a:hover { border-color: var(--bt-accent); color: var(--bt-accent); text-decoration: none; }
.page-links { margin: 26px 0; font-weight: 800; }

/* Ferramentas de leitura e índice. */
.bt-reader-tools { max-width: 860px; margin: -4px auto 23px; padding: 12px 14px; background: color-mix(in srgb, var(--bt-accent) 6%, #fff); border: 1px solid color-mix(in srgb, var(--bt-accent) 18%, var(--bt-border)); border-radius: 13px; display: flex; gap: 14px; align-items: center; justify-content: space-between; }
.bt-reader-tools-label { color: var(--bt-muted); font-size: .82rem; font-weight: 750; }
.bt-reader-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.bt-reader-buttons button, .bt-share button { min-height: 36px; border-radius: 9px; padding: 0 10px; border: 1px solid color-mix(in srgb, var(--bt-accent) 30%, var(--bt-border)); color: var(--bt-text); background: #fff; font-size: .8rem; font-weight: 800; cursor: pointer; }
.bt-reader-buttons button:hover, .bt-reader-buttons button[aria-pressed="true"], .bt-share button:hover { color: var(--bt-accent); background: color-mix(in srgb, var(--bt-accent) 8%, #fff); border-color: var(--bt-accent); }
.bt-toc { margin: 0 0 28px; padding: 4px 16px 15px; border: 1px solid color-mix(in srgb, var(--bt-accent) 20%, var(--bt-border)); border-radius: 14px; background: color-mix(in srgb, var(--bt-accent) 5%, #fff); }
.bt-toc-toggle { width: 100%; min-height: 48px; padding: 0; display: flex; align-items: center; justify-content: space-between; background: none; color: var(--bt-text); border: 0; font-weight: 850; cursor: pointer; }
.bt-toc-toggle span:last-child { transition: transform .2s ease; }
.bt-toc.is-collapsed .bt-toc-toggle span:last-child { transform: rotate(-90deg); }
.bt-toc-list { margin: 2px 0 0 8px; padding-left: 20px; }
.bt-toc-list li { margin: 8px 0; }
.bt-toc-list .bt-toc-level-3 { margin-left: 17px; font-size: .93em; }
.bt-toc-list a { color: var(--bt-text); font-weight: 650; }
.bt-toc-list a:hover { color: var(--bt-accent); }
.bt-toc.is-collapsed .bt-toc-list { display: none; }

/* Compartilhamento, autor e conteúdo relacionado. */
.bt-share { margin-top: 22px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.bt-share-title { font-size: .86rem; color: var(--bt-muted); font-weight: 800; }
.bt-share-links { display: flex; flex-wrap: wrap; gap: 7px; }
.bt-share-links a { min-height: 36px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 9px; font-size: .8rem; font-weight: 800; color: #fff; }
.bt-share-links a:hover { color: #fff; text-decoration: none; filter: brightness(1.07); }
.bt-share-whatsapp { background: #188b50; }
.bt-share-facebook { background: #1e66d0; }
.bt-author-box { display: flex; gap: 18px; align-items: flex-start; padding: 27px; margin-top: 24px; border-radius: var(--bt-radius); background: color-mix(in srgb, var(--bt-accent) 6%, var(--bt-card)); border: 1px solid color-mix(in srgb, var(--bt-accent) 17%, var(--bt-border)); }
.bt-author-avatar img { border-radius: 50%; width: 74px; height: 74px; }
.bt-author-content { min-width: 0; }
.bt-author-label { color: var(--bt-muted); font-weight: 800; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.bt-author-name { font-family: var(--bt-heading); font-size: 1.33rem; letter-spacing: -.04em; margin: 3px 0 7px; }
.bt-author-name a { color: var(--bt-text); }
.bt-author-content p { color: var(--bt-muted); margin: 0 0 10px; font-size: .94rem; }
.bt-author-link { font-weight: 800; font-size: .9rem; }
.bt-related-posts { margin-top: 42px; }
.bt-section-heading { margin: 0 0 19px; }
.bt-section-heading h2 { color: var(--bt-text); font-family: var(--bt-heading); font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1.1; letter-spacing: -.045em; margin: 5px 0 0; }
.bt-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bt-related-card { overflow: hidden; background: var(--bt-card); border: 1px solid var(--bt-border); border-radius: 14px; box-shadow: var(--bt-shadow-sm); transition: transform .22s ease, box-shadow .22s ease; }
.bt-related-card:hover { transform: translateY(-3px); box-shadow: var(--bt-shadow); }
.bt-related-image { display: block; aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--bt-accent) 18%, #fff), #eef3fa); }
.bt-related-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bt-related-card:hover .bt-related-image img { transform: scale(1.04); }
.bt-related-content { padding: 14px; }
.bt-related-content span { color: var(--bt-muted); font-size: .76rem; font-weight: 700; }
.bt-related-content h3 { margin: 5px 0 0; font-family: var(--bt-heading); font-size: 1.03rem; letter-spacing: -.03em; line-height: 1.18; }
.bt-related-content h3 a { color: var(--bt-text); }
.bt-article-cta { max-width: 800px; margin: 32px auto 0; padding: clamp(24px, 4vw, 35px); text-align: center; border-radius: var(--bt-radius); color: #fff; background: linear-gradient(124deg, var(--bt-header), color-mix(in srgb, var(--bt-header) 72%, var(--bt-accent))); box-shadow: var(--bt-shadow); }
.bt-article-cta h2 { color: #fff; font-family: var(--bt-heading); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.12; letter-spacing: -.045em; margin: 0 0 10px; }
.bt-article-cta p { margin: 0 0 19px; color: rgba(255,255,255,.83); }
.bt-article-cta .button { background: #fff; color: var(--bt-header); box-shadow: none; }
.bt-article-cta .button:hover { color: var(--bt-header); }

/* Áreas de publicidade. */
.bt-ad-slot { clear: both; position: relative; min-width: 0; margin: 26px auto; padding: 25px 14px 14px; max-width: 100%; overflow: hidden; background: color-mix(in srgb, var(--bt-card) 96%, var(--bt-accent)); border: 1px solid var(--bt-border); border-radius: 13px; text-align: center; }
.bt-ad-slot--top { border-radius: 0; margin: 0; border-left: 0; border-right: 0; background: #fff; }
.bt-ad-slot--middle, .bt-ad-slot--after-content { max-width: 800px; }
.bt-ad-slot--sidebar { margin-top: 0; }
.posts-grid > .bt-ad-slot { grid-column: 1 / -1; }
.bt-ad-label { position: absolute; top: 7px; left: 0; right: 0; color: var(--bt-muted); font-size: .68rem; line-height: 1; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; }
.bt-ad-code { display: flex; justify-content: center; max-width: 100%; overflow: auto hidden; }
.bt-ad-code > * { max-width: 100%; }
.bt-sticky-ad-wrap { position: fixed; left: 50%; bottom: max(9px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(970px, calc(100% - 22px)); z-index: 9980; padding: 0; border-radius: 14px; background: #fff; box-shadow: 0 15px 42px rgba(12, 23, 45, .28); }
.bt-sticky-ad-wrap .bt-ad-slot { margin: 0; min-height: 70px; border-radius: 14px; }
.bt-sticky-ad-close { position: absolute; right: 6px; top: 5px; z-index: 2; display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid var(--bt-border); border-radius: 50%; color: #344153; background: #fff; cursor: pointer; font-size: 1.3rem; line-height: 1; }
.bt-sticky-ad-wrap.is-hidden { display: none; }

/* Navegação, comentários e busca. */
.post-navigation { margin: 27px 0; }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 16px; }
.post-navigation .nav-previous, .post-navigation .nav-next { flex: 1; }
.post-navigation .nav-next { text-align: right; }
.post-navigation a { min-height: 52px; padding: 13px 16px; display: flex; align-items: center; border: 1px solid var(--bt-border); border-radius: 12px; background: var(--bt-card); color: var(--bt-text); font-weight: 750; line-height: 1.3; }
.post-navigation a:hover { color: var(--bt-accent); border-color: color-mix(in srgb, var(--bt-accent) 40%, var(--bt-border)); text-decoration: none; }
.post-navigation .nav-next a { justify-content: flex-end; }
.navigation.pagination { margin-top: 32px; display: flex; gap: 8px; flex-wrap: wrap; }
.navigation.pagination .page-numbers { min-width: 42px; min-height: 42px; padding: 8px 11px; display: inline-flex; align-items: center; justify-content: center; background: var(--bt-card); border: 1px solid var(--bt-border); border-radius: 10px; color: var(--bt-text); font-size: .9rem; font-weight: 750; }
.navigation.pagination .current { border-color: var(--bt-accent); background: var(--bt-accent); color: #fff; }
.comments-area { background: var(--bt-card); border: 1px solid var(--bt-border); border-radius: var(--bt-radius); padding: clamp(23px, 4vw, 38px); margin-top: 26px; box-shadow: var(--bt-shadow-sm); }
.comments-title { font-size: 1.6rem; margin-bottom: 24px; }
.comment-list { padding: 0; margin: 0; list-style: none; }
.comment-body { border-bottom: 1px solid var(--bt-border); padding: 0 0 21px; margin: 0 0 21px; }
.comment-meta { font-size: .84rem; }
.comment-author .avatar { border-radius: 50%; float: left; margin-right: 12px; }
.comment-content { clear: both; padding-top: 8px; }
.comment-respond { margin-top: 28px; }
.comment-reply-title { font-family: var(--bt-heading); letter-spacing: -.025em; }
.comment-form p { margin: 0 0 15px; }
.comment-form input:not([type="submit"]), .comment-form textarea, .search-form .search-field { width: 100%; padding: 12px 13px; border: 1px solid #bdc8d7; background: #fff; border-radius: 10px; color: var(--bt-text); }
.comment-form input:focus, .comment-form textarea:focus, .search-form .search-field:focus { outline: 3px solid color-mix(in srgb, var(--bt-accent) 22%, transparent); border-color: var(--bt-accent); }
.comment-form input[type="submit"], .search-submit { border: 0; cursor: pointer; background: var(--bt-accent); color: #fff; border-radius: 10px; min-height: 46px; padding: 0 18px; font-weight: 800; }
.not-found { background: var(--bt-card); border: 1px solid var(--bt-border); border-radius: var(--bt-radius); padding: clamp(32px, 8vw, 80px); max-width: 760px; margin: 0 auto; text-align: center; box-shadow: var(--bt-shadow-sm); }
.not-found-code { font-family: var(--bt-heading); color: var(--bt-accent); letter-spacing: -.07em; font-size: clamp(4rem, 12vw, 8rem); font-weight: 900; margin: 0; line-height: .9; }
.not-found p { color: var(--bt-muted); }
.search-form { display: flex; gap: 8px; margin: 22px auto; max-width: 560px; }
.search-form .search-field { flex: 1; }

/* Rodapé. */
.site-footer { background: linear-gradient(140deg, #081629, var(--bt-header)); color: rgba(255,255,255,.73); }
.footer-widgets { padding: 50px 0 31px; display: grid; gap: 36px; }
.footer-columns-1 { grid-template-columns: 1fr; }
.footer-columns-2 { grid-template-columns: repeat(2, 1fr); }
.footer-columns-3 { grid-template-columns: repeat(3, 1fr); }
.footer-widget-title { color: #fff; font-family: var(--bt-heading); margin-top: 0; font-size: 1.05rem; letter-spacing: -.025em; }
.footer-widget, .footer-widget p { font-size: .91rem; }
.footer-widget ul { list-style: none; padding: 0; margin: 0; }
.footer-widget li { margin: 8px 0; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: #fff; }
.site-info { min-height: 78px; border-top: 1px solid rgba(255,255,255,.13); display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: .86rem; }
.footer-navigation ul { display: flex; gap: 16px; flex-wrap: wrap; }
.bt-back-to-top { position: fixed; right: 20px; bottom: 22px; z-index: 900; display: inline-flex; align-items: center; gap: 7px; min-height: 46px; padding: 0 14px; opacity: 0; visibility: hidden; transform: translateY(10px); border: 1px solid color-mix(in srgb, var(--bt-accent) 35%, #fff); border-radius: 999px; background: #fff; color: var(--bt-text); box-shadow: var(--bt-shadow); cursor: pointer; font-size: .84rem; font-weight: 850; transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.bt-back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.bt-back-to-top:hover { color: var(--bt-accent); }

/* Animações de entrada: ativadas somente via JavaScript. */
.bt-js.bt-animations-enabled .bt-reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.bt-js.bt-animations-enabled .bt-reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .archive-columns-3 .posts-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .primary-navigation > div > ul, .primary-navigation > ul { gap: 15px; }
}
@media (max-width: 940px) {
  .content-layout, .layout-sidebar-left .content-layout { grid-template-columns: 1fr; }
  .site-sidebar { position: static; }
  .layout-sidebar-left .site-sidebar { order: initial; }
  .site-sidebar .bt-ad-slot { max-width: 740px; }
}
@media (max-width: 820px) {
  body.admin-bar .site-header { top: 46px; }
  .admin-bar .bt-reading-progress { top: 46px; }
  .site-header-inner { min-height: 69px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .site-header.bt-scrolled .site-header-inner { min-height: 61px; }
  .menu-toggle { display: inline-flex; }
  .primary-navigation { display: none; width: 100%; order: 3; }
  .primary-navigation.is-open { display: block; }
  .primary-navigation > div > ul, .primary-navigation > ul { display: block; padding: 8px 0 2px; }
  .primary-navigation li { border-top: 1px solid rgba(255,255,255,.12); }
  .primary-navigation a { display: block; padding: 12px 0; }
  .primary-navigation .sub-menu { display: block; position: static; visibility: visible; opacity: 1; transform: none; width: auto; min-width: 0; margin: 0 0 7px 13px; padding: 0; background: transparent; box-shadow: none; }
  .primary-navigation .sub-menu a { color: rgba(255,255,255,.77); padding: 9px 0; }
  .primary-navigation .sub-menu a:hover { color: #fff; background: transparent; }
  .header-cta { margin-left: auto; }
  .footer-columns-3, .footer-columns-2 { grid-template-columns: 1fr; gap: 23px; }
  .bt-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .container { width: min(var(--bt-container), calc(100% - 28px)); }
  .site-main { padding: 30px 0 52px; }
  .posts-grid, .archive-columns-3 .posts-grid { grid-template-columns: 1fr; }
  .archive-columns-1 .post-card { display: block; }
  .archive-columns-1 .post-card-image { aspect-ratio: 16/9; }
  .header-cta { display: none; }
  .bt-home-hero { min-height: 280px; padding: 32px 25px; margin-bottom: 30px; }
  .bt-home-hero-orb { transform: scale(.75) rotate(-15deg); right: -102px; bottom: -108px; }
  .single-article, .page-article { padding: 23px 18px; }
  .entry-title { font-size: clamp(2rem, 10vw, 3rem); }
  .entry-meta { gap: 7px; font-size: .79rem; }
  .entry-meta span:not(:last-child)::after { margin-left: 7px; }
  .bt-reader-tools { display: block; padding: 13px; }
  .bt-reader-tools-label { display: block; margin-bottom: 9px; }
  .bt-reader-buttons { gap: 6px; }
  .bt-reader-buttons button { min-height: 41px; }
  .bt-author-box { padding: 20px; }
  .bt-author-avatar img { width: 58px; height: 58px; }
  .bt-related-grid { grid-template-columns: 1fr; }
  .post-navigation .nav-links, .site-info { display: block; }
  .post-navigation .nav-next { text-align: left; margin-top: 11px; }
  .post-navigation .nav-next a { justify-content: flex-start; }
  .footer-navigation { margin-top: 13px; }
  .search-form { flex-direction: column; }
  .bt-back-to-top { right: 12px; bottom: 15px; min-height: 48px; }
  .bt-sticky-ad-wrap { width: calc(100% - 14px); bottom: max(5px, env(safe-area-inset-bottom)); }
  .bt-sticky-ad-wrap .bt-ad-slot { min-height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Interações premium em imagens e superfícies clicáveis. */
.bt-image-effects-enabled .post-card-image,
.bt-image-effects-enabled .bt-related-image,
.bt-image-effects-enabled .bt-zoomable-media,
.bt-image-effects-enabled .bt-inline-image-zoom { position: relative; isolation: isolate; }
.bt-image-effects-enabled .post-card-image::after,
.bt-image-effects-enabled .bt-related-image::after,
.bt-image-effects-enabled .bt-zoomable-media::after,
.bt-image-effects-enabled .bt-inline-image-zoom::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background: linear-gradient(112deg, transparent 25%, rgba(255,255,255,.30) 48%, transparent 69%); transform: translateX(-115%); transition: opacity .25s ease, transform .72s cubic-bezier(.2,.8,.2,1); }
.bt-image-effects-enabled .post-card:hover .post-card-image::after,
.bt-image-effects-enabled .bt-related-card:hover .bt-related-image::after,
.bt-image-effects-enabled .bt-zoomable-media:hover::after,
.bt-image-effects-enabled .bt-inline-image-zoom:hover::after { opacity: 1; transform: translateX(115%); }
.bt-image-effects-enabled .post-card-image:focus-visible,
.bt-image-effects-enabled .bt-related-image:focus-visible,
.bt-image-effects-enabled .bt-media-open:focus-visible,
.bt-image-effects-enabled .bt-inline-image-zoom:focus-within { outline: 4px solid color-mix(in srgb, var(--bt-accent) 35%, transparent); outline-offset: 4px; }
.bt-zoomable-media { position: relative; }
.bt-media-open { position: relative; z-index: 2; display: block; width: 100%; padding: 0; border: 0; overflow: hidden; background: transparent; cursor: zoom-in; text-align: left; }
.bt-media-open img { width: 100%; transition: transform .55s cubic-bezier(.2,.8,.2,1), filter .35s ease; }
.bt-image-effects-enabled .bt-zoomable-media:hover img,
.bt-image-effects-enabled .bt-zoomable-media:focus-within img { transform: scale(1.026); filter: saturate(1.04) contrast(1.015); }
.bt-media-open-hint { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 12px; border: 1px solid rgba(255,255,255,.68); border-radius: 999px; color: #fff; background: rgba(10,20,36,.66); box-shadow: 0 5px 17px rgba(0,0,0,.18); font-size: .78rem; font-weight: 850; letter-spacing: .01em; opacity: 0; transform: translateY(7px); transition: opacity .22s ease, transform .22s ease; }
.bt-media-open:hover .bt-media-open-hint,
.bt-media-open:focus-visible .bt-media-open-hint { opacity: 1; transform: translateY(0); }
.bt-inline-image-zoom { display: block; width: fit-content; max-width: 100%; margin: 1.55em auto; border-radius: 12px; overflow: hidden; cursor: zoom-in; }
.bt-inline-image-zoom img { margin: 0 !important; transition: transform .5s cubic-bezier(.2,.8,.2,1), filter .3s ease; }
.bt-image-effects-enabled .bt-inline-image-zoom:hover img { transform: scale(1.018); filter: saturate(1.04); }
.bt-inline-image-zoom-button { position: absolute; right: 10px; bottom: 10px; z-index: 3; min-height: 36px; padding: 0 10px; border: 1px solid rgba(255,255,255,.66); border-radius: 999px; color: #fff; background: rgba(10,20,36,.68); font-size: .76rem; font-weight: 850; cursor: zoom-in; opacity: 0; transform: translateY(6px); transition: opacity .22s ease, transform .22s ease; }
.bt-inline-image-zoom:hover .bt-inline-image-zoom-button,
.bt-inline-image-zoom:focus-within .bt-inline-image-zoom-button { opacity: 1; transform: translateY(0); }
.bt-click-feedback-enabled .post-card,
.bt-click-feedback-enabled .bt-related-card,
.bt-click-feedback-enabled .button,
.bt-click-feedback-enabled .header-cta,
.bt-click-feedback-enabled .bt-reader-buttons button,
.bt-click-feedback-enabled .bt-share button { position: relative; overflow: hidden; }
.bt-ripple { position: absolute; z-index: 4; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; pointer-events: none; background: color-mix(in srgb, var(--bt-accent) 27%, #fff); transform: scale(0); opacity: .9; animation: bt-ripple .62s ease-out forwards; }
@keyframes bt-ripple { to { transform: scale(18); opacity: 0; } }

/* Modal de imagem acessível. */
.bt-lightbox { position: fixed; inset: 0; z-index: 10050; display: grid; place-items: center; padding: clamp(16px, 4vw, 46px); opacity: 0; visibility: hidden; pointer-events: none; background: rgba(6, 15, 30, .89); backdrop-filter: blur(10px); transition: opacity .22s ease, visibility .22s ease; }
.bt-lightbox.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.bt-lightbox-dialog { position: relative; display: grid; max-width: min(1200px, 100%); max-height: min(88vh, 100%); transform: scale(.97) translateY(8px); transition: transform .24s cubic-bezier(.2,.8,.2,1); }
.bt-lightbox.is-open .bt-lightbox-dialog { transform: none; }
.bt-lightbox-image { display: block; max-width: 100%; max-height: min(82vh, 100%); width: auto; height: auto; margin: auto; border-radius: 15px; box-shadow: 0 22px 75px rgba(0,0,0,.45); }
.bt-lightbox-close { position: absolute; top: -12px; right: -12px; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #0f1c31; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.26); cursor: pointer; font-size: 1.65rem; line-height: 1; }
.bt-lightbox-caption { max-width: min(680px, 100%); margin: 14px auto 0; color: rgba(255,255,255,.90); font-size: .9rem; line-height: 1.45; text-align: center; }
body.bt-lightbox-open { overflow: hidden; }

/* Anúncio fixo: exibido ao início da leitura, sem bloquear a página. */
.bt-sticky-ad-wrap { transition: opacity .28s ease, transform .32s cubic-bezier(.2,.8,.2,1), visibility .28s ease; }
.bt-sticky-ad-wrap.is-pending { visibility: hidden; opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(24px); }
.bt-sticky-ad-wrap.is-ready { visibility: visible; opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.bt-sticky-ad-close:focus-visible { outline: 3px solid color-mix(in srgb, var(--bt-accent) 38%, transparent); outline-offset: 2px; }

@media (max-width: 600px) {
  .bt-media-open-hint, .bt-inline-image-zoom-button { opacity: 1; transform: none; }
  .bt-lightbox { padding: 14px; }
  .bt-lightbox-close { top: -7px; right: -5px; width: 43px; height: 43px; }
  .bt-lightbox-image { max-height: 78vh; border-radius: 11px; }
}
