:root{--blog-ink:#182338;--blog-muted:#52627b;--blog-accent:#ee6653;--blog-border:#e1e6ef}
.fb-blog-wrap{max-width:1180px;margin:0 auto;padding:35px 20px 85px}
.fb-blog-language{display:flex;justify-content:flex-end;align-items:center;gap:10px;max-width:1140px;margin:0 auto;padding:12px 20px;color:#25364e;font-size:.88rem}
.fb-blog-language label{font-weight:700}
.fb-blog-language select{border:1px solid #cdd8e7;background:#fff;color:#22334c;border-radius:9px;padding:8px 12px;font:inherit;max-width:210px}
.fb-blog-hero{border-radius:26px;padding:clamp(28px,5vw,62px);background:linear-gradient(122deg,#182a46,#182338 54%,#61425d);color:white;position:relative;overflow:hidden}
.fb-blog-hero:after{content:'✦';font-size:230px;position:absolute;right:4%;top:-65px;color:#ffffff0f;pointer-events:none}
.fb-blog-hero h1{color:white;font-size:clamp(2.1rem,5vw,3.6rem);line-height:1.12;max-width:710px;margin:14px 0}
.fb-blog-hero p{color:#e0e5ed;max-width:690px;line-height:1.8}
.fb-blog-label{color:#ffb6a0;font-size:.77rem;letter-spacing:.13em;font-weight:800;text-transform:uppercase}
.fb-blog-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:34px 0 30px}
.fb-blog-filters input,.fb-blog-filters select{border:1px solid var(--blog-border);border-radius:14px;padding:13px 15px;background:white;color:var(--blog-ink);min-height:47px;font:inherit}
.fb-blog-filters input{flex:1;min-width:220px}
.fb-blog-count{margin-left:auto;color:var(--blog-muted);font-size:.9rem}
.fb-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.fb-blog-card{background:white;border:1px solid var(--blog-border);border-radius:21px;overflow:hidden;box-shadow:0 12px 24px rgba(25,40,58,.04);display:flex;flex-direction:column}
.fb-blog-card[hidden]{display:none}
.fb-blog-card img{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:contain;background:#101827}
.fb-blog-card-body{padding:22px;display:flex;flex-direction:column;flex:1}
.fb-blog-card .fb-pill{color:#9f4737;background:#fff0eb;padding:6px 10px;font-size:.76rem;font-weight:750;align-self:flex-start;border-radius:99px}
.fb-blog-card h2{font-size:1.15rem;line-height:1.4;margin:15px 0 10px;color:var(--blog-ink)}
.fb-blog-card h2 a{color:inherit;text-decoration:none}
.fb-blog-card h2 a:hover{color:var(--blog-accent)}
.fb-blog-card p{font-size:.91rem;line-height:1.7;color:var(--blog-muted);margin:0 0 18px}
.fb-blog-card .fb-read{margin-top:auto;text-decoration:none;color:#cf5440;font-weight:800;font-size:.9rem}
.fb-blog-more{margin:30px auto;display:block;padding:12px 26px;border-radius:14px;background:#1a2942;color:white;font:inherit;border:none;cursor:pointer}
.fb-blog-article-layout{max-width:1140px;margin:0 auto;padding:32px 20px 80px;display:grid;grid-template-columns:minmax(0,760px) 280px;gap:64px}
.fb-blog-article{min-width:0;color:var(--blog-ink)}
.fb-blog-breadcrumb{font-size:.8rem;color:var(--blog-muted);margin-bottom:15px}
.fb-blog-breadcrumb a{color:var(--blog-accent)}
.fb-blog-article h1{font-size:clamp(2rem,4vw,3rem);line-height:1.18;letter-spacing:-.035em;margin:8px 0 14px}
.fb-blog-deck{font-size:1.1rem;line-height:1.75;color:var(--blog-muted);margin:0 0 20px}
.fb-blog-meta{display:flex;gap:12px;flex-wrap:wrap;color:var(--blog-muted);font-size:.86rem;align-items:center;margin-bottom:25px}
.fb-blog-cover{width:100%;aspect-ratio:1200/630;object-fit:cover;border-radius:18px;display:block;background:#e7ecf2}
.fb-blog-caption{margin:8px 0 24px;font-size:.78rem;color:var(--blog-muted);text-align:center}
.fb-blog-content{line-height:1.92;font-size:1.025rem}
.fb-blog-content h2{font-size:1.55rem;line-height:1.35;letter-spacing:-.02em;margin:39px 0 13px;color:var(--blog-ink)}
.fb-blog-content h3{font-size:1.2rem;margin:24px 0 10px}
.fb-blog-content p{margin:0 0 19px;color:#34425a}
.fb-blog-content ul,.fb-blog-content ol{padding-left:24px;margin:10px 0 22px;color:#34425a}
.fb-blog-content li{padding-left:5px;margin:7px 0}
.fb-blog-content blockquote{margin:23px 0;padding:16px 22px;background:#fff5ed;border-left:4px solid var(--blog-accent);border-radius:0 12px 12px 0;color:#35435c}
.fb-blog-content a{color:#c4523c;text-decoration:underline;text-underline-offset:3px}
.fb-blog-content figure{margin:27px 0 33px}
.fb-blog-content figure img{width:100%;height:auto;border-radius:17px;background:#f1f5f9;display:block}
.fb-blog-content figcaption{font-size:.82rem;text-align:center;color:var(--blog-muted);margin-top:10px}
.fb-blog-further{border-top:1px solid var(--blog-border);margin:36px 0 22px;padding-top:23px;line-height:1.75}
.fb-blog-further h2{font-size:1.45rem;margin:0 0 10px;color:var(--blog-ink)}
.fb-blog-further p{color:#34425a;margin:7px 0 15px}
.fb-blog-further ul{padding-left:23px;margin:9px 0 21px}
.fb-blog-further li{margin:7px 0}
.fb-blog-further a{color:#ba4a35;text-underline-offset:3px}
.fb-blog-source{background:#f7f9fc;padding:15px 18px;border:1px solid var(--blog-border);border-radius:13px;font-size:.94rem}
.fb-blog-cta{border:1px solid #f5cbbe;background:#fff4f0;padding:23px;border-radius:17px;margin:30px 0}
.fb-blog-cta a{display:inline-block;text-decoration:none;background:#ed644f;color:white;padding:11px 17px;border-radius:11px;font-weight:800;margin-top:12px}
.fb-blog-faq{margin:38px 0}.fb-blog-faq details{padding:15px;border:1px solid var(--blog-border);border-radius:12px;margin-bottom:10px}.fb-blog-faq summary{cursor:pointer;font-weight:750}.fb-blog-faq p{margin:10px 0 0;line-height:1.75}
.fb-blog-author{display:flex;gap:16px;border:1px solid var(--blog-border);background:#f8fafc;border-radius:18px;padding:22px;margin-top:40px;align-items:flex-start}
.fb-blog-avatar{width:62px;height:62px;border-radius:50%;background:linear-gradient(135deg,#fc8063,#885ad7);display:grid;place-items:center;color:#fff;font-weight:800;flex:none;letter-spacing:.03em;font-size:1.1rem}
.fb-blog-author p{margin:7px 0 0;line-height:1.7;color:var(--blog-muted);font-size:.9rem}
.fb-blog-aside{position:sticky;top:26px;align-self:start;background:#f6f8fb;border:1px solid var(--blog-border);border-radius:18px;padding:20px}
.fb-blog-aside h2{font-size:1.05rem;margin:0 0 16px}.fb-blog-aside a{display:block;color:#35435c;font-size:.9rem;line-height:1.6;padding:10px 0;border-bottom:1px solid var(--blog-border);text-decoration:none}
.fb-blog-aside a:hover{color:#c4523c}
.fb-blog-back{display:inline-block;margin-top:30px;color:#c4523c;font-weight:750}
@media(max-width:900px){.fb-blog-article-layout{display:block;max-width:790px}.fb-blog-aside{position:static;margin-top:30px}.fb-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.fb-blog-grid{grid-template-columns:1fr}.fb-blog-hero{padding:31px 24px}.fb-blog-article-layout{padding:18px 17px 58px}.fb-blog-author{flex-direction:column}}

/* Isolamento visual: o tema global salvo para ferramentas não reduz o contraste do blog. */
html:has(body.fb-blog-site){color-scheme:light}
body.fb-blog-site{background:#f8fafc!important;color:#152238!important;--blog-ink:#152238;--blog-muted:#45566e;--blog-border:#d8e0eb;overflow-x:hidden}
body.fb-blog-site header{background:#fff!important;border-bottom:1px solid #e1e7ef!important}
body.fb-blog-site .logo,body.fb-blog-site nav a{color:#23334c!important}
body.fb-blog-site nav a:hover{color:#ba432e!important}
body.fb-blog-site .fb-blog-article,body.fb-blog-site .fb-blog-article h1,body.fb-blog-site .fb-blog-article h2,body.fb-blog-site .fb-blog-article h3{color:#152238!important}
body.fb-blog-site .fb-blog-deck,body.fb-blog-site .fb-blog-meta,body.fb-blog-site .fb-blog-breadcrumb,body.fb-blog-site .fb-blog-content p,body.fb-blog-site .fb-blog-content li{color:#34435a!important}
body.fb-blog-site .fb-blog-content{color:#28384f}
body.fb-blog-site .fb-blog-article-layout{grid-template-columns:minmax(0,760px) minmax(0,280px)}
body.fb-blog-site .fb-blog-article figure{display:block;width:100%;max-width:100%;min-width:0;margin:18px 0 24px;overflow:visible}
body.fb-blog-site .fb-blog-article figure img,
body.fb-blog-site .fb-blog-article img.fb-blog-cover,
body.fb-blog-site .fb-blog-content figure img{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center!important;aspect-ratio:auto!important;border-radius:16px}
body.fb-blog-site .fb-blog-aside{background:#fff;color:#1b2b42}
body.fb-blog-site .fb-blog-aside h2,body.fb-blog-site .fb-blog-author strong{color:#152238!important}
body.fb-blog-site .fb-blog-aside a{color:#34435a}
body.fb-blog-site .fb-blog-card{background:#fff;color:#152238}
body.fb-blog-site .fb-blog-card h2,body.fb-blog-site .fb-blog-card h2 a{color:#182840!important}
body.fb-blog-site .fb-blog-card p{color:#43536d!important}
body.fb-blog-site .fb-blog-content a{color:#a83b28}
body.fb-blog-site .fb-blog-faq details{background:#fff;color:#28384f}
body.fb-blog-site footer:not(.ws-footer):not(.fb-blog-home-footer){background:#f8fafc!important;color:#46546a!important}
@media(max-width:900px){body.fb-blog-site .fb-blog-article-layout{display:block}}

/* Real editorial portrait, with cropping and size controlled on every device. */
body.fb-blog-site .fb-blog-avatar-photo{display:block!important;width:78px!important;height:78px!important;min-width:78px!important;max-width:78px!important;border-radius:50%!important;object-fit:cover!important;object-position:center 35%!important;border:3px solid #fff;box-shadow:0 0 0 2px #dbe3ef}
body.fb-blog-site .fb-blog-author{align-items:center;gap:20px}
@media(max-width:520px){body.fb-blog-site .fb-blog-avatar-photo{width:64px!important;height:64px!important;min-width:64px!important;max-width:64px!important}}

/* Six original guides now share the editorial cover and real author portrait. */
body.fb-blog-site.fb-blog-legacy main{color:#1b2b43;background:#f8fafc}
body.fb-blog-site.fb-blog-legacy main p,body.fb-blog-site.fb-blog-legacy main li{color:#33445c;line-height:1.78}
body.fb-blog-site.fb-blog-legacy main h1,body.fb-blog-site.fb-blog-legacy main h2,body.fb-blog-site.fb-blog-legacy main h3{color:#152238}
body.fb-blog-site.fb-blog-legacy .fb-blog-legacy-hero{margin:22px 0 32px;width:100%;border-radius:17px;overflow:hidden;box-shadow:0 12px 35px rgba(24,42,70,.11)}
body.fb-blog-site.fb-blog-legacy .fb-blog-legacy-hero img{display:block;width:100%;height:auto;object-fit:contain}
body.fb-blog-site.fb-blog-legacy .fb-blog-legacy-author{margin:38px 0 12px;box-sizing:border-box}
body.fb-blog-site.fb-blog-legacy .fb-blog-legacy-author p{color:#45566e!important;margin:7px 0 0}

/* Paleta editorial acompanha a preferência global fb_theme. */
html[data-theme="light"]:has(body.fb-blog-site){color-scheme:light}
html[data-theme="dark"]:has(body.fb-blog-site){color-scheme:dark}
html[data-theme="light"] body.fb-blog-site{
  --blog-bg:#f8fafc;--blog-surface:#fff;--blog-soft:#f1f5f9;
  --blog-ink:#152238;--blog-text:#293a51;--blog-muted:#41546f;
  --blog-border:#d8e0eb;--blog-link:#a83b28;--blog-highlight:#fff4f0;
  --blog-quote:#fff5ed;--blog-input:#fff;--blog-shadow:rgba(24,42,70,.1);
}
html[data-theme="dark"] body.fb-blog-site{
  --blog-bg:#0b1120;--blog-surface:#151f32;--blog-soft:#1c2940;
  --blog-ink:#f1f5ff;--blog-text:#d8e2f2;--blog-muted:#b6c5dc;
  --blog-border:#33415a;--blog-link:#ff9c84;--blog-highlight:#332520;
  --blog-quote:#282f41;--blog-input:#1b2840;--blog-shadow:rgba(0,0,0,.34);
}
html:has(body.fb-blog-site) body.fb-blog-site{
  background:var(--blog-bg)!important;color:var(--blog-text)!important;
  --text:var(--blog-ink);--text-main:var(--blog-text);--text-dim:var(--blog-muted);
  --border:var(--blog-border);--bg:var(--blog-bg);--bg-card:var(--blog-surface);
}
html:has(body.fb-blog-site) body.fb-blog-site header{
  background:var(--blog-surface)!important;border-bottom-color:var(--blog-border)!important;
}
html:has(body.fb-blog-site) body.fb-blog-site .logo,
html:has(body.fb-blog-site) body.fb-blog-site nav a{color:var(--blog-ink)!important}
html:has(body.fb-blog-site) body.fb-blog-site nav a:hover{color:var(--blog-link)!important}
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-article,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-article h1,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-article h2,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-article h3,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-legacy main h1,
html:has(body.fb-blog-site) body.fb-blog-site.fb-blog-legacy main h1,
html:has(body.fb-blog-site) body.fb-blog-site.fb-blog-legacy main h2,
html:has(body.fb-blog-site) body.fb-blog-site.fb-blog-legacy main h3{color:var(--blog-ink)!important}
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-deck,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-meta,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-breadcrumb,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-caption,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-content p,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-content li,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-further p,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-further li{color:var(--blog-text)!important}
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-card,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-aside,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-author,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-source,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-faq details{
  background:var(--blog-surface)!important;color:var(--blog-text)!important;
  border-color:var(--blog-border)!important;
}
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-card h2,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-card h2 a,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-aside h2,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-author strong{color:var(--blog-ink)!important}
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-card p,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-author p,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-aside a,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-count{color:var(--blog-muted)!important}
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-content a,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-aside a:hover,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-further a,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-back,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-card .fb-read{color:var(--blog-link)!important}
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-cta,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-content blockquote{
  background:var(--blog-highlight)!important;color:var(--blog-text)!important;
  border-color:var(--blog-border)!important;
}
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-filters input,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-filters select,
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-language select{
  background:var(--blog-input)!important;color:var(--blog-ink)!important;border-color:var(--blog-border)!important;
}
html:has(body.fb-blog-site) body.fb-blog-site .fb-blog-language{color:var(--blog-muted)!important}
html:has(body.fb-blog-site) body.fb-blog-site footer:not(.ws-footer):not(.fb-blog-home-footer){
  background:var(--blog-bg)!important;color:var(--blog-muted)!important;
  border-color:var(--blog-border)!important;
}
html:has(body.fb-blog-site) body.fb-blog-site footer:not(.ws-footer):not(.fb-blog-home-footer) a{color:var(--blog-link)}
html:has(body.fb-blog-site) body.fb-blog-site.fb-blog-legacy main{
  background:var(--blog-bg)!important;color:var(--blog-text)!important;
}
/* Regras inline dos seis artigos antigos usavam cores globais que sumiam no fundo claro. */
html:has(body.fb-blog-site) body.fb-blog-site.fb-blog-legacy main p,
html:has(body.fb-blog-site) body.fb-blog-site.fb-blog-legacy main li{
  color:var(--blog-text)!important;line-height:1.78;
}
html:has(body.fb-blog-site) body.fb-blog-site.fb-blog-legacy .fb-blog-legacy-author p{
  color:var(--blog-muted)!important;
}
html:has(body.fb-blog-site) body.fb-blog-site.fb-blog-legacy main .fb-blog-meta,
html:has(body.fb-blog-site) body.fb-blog-site.fb-blog-legacy main .fb-blog-meta span{
  color:var(--blog-muted)!important;
}
html:has(body.fb-blog-site) body.fb-blog-site.fb-blog-legacy main .fb-blog-meta strong{
  color:var(--blog-ink)!important;
}
.fb-blog-theme-toggle{
  flex:none;display:grid;place-items:center;width:40px;height:40px;
  border:1px solid var(--blog-border,#d8e0eb);border-radius:12px;
  background:var(--blog-soft,#f1f5f9);color:var(--blog-ink,#152238);
  cursor:pointer;font:600 1.5rem/1 sans-serif;
}
.fb-blog-theme-toggle:hover{border-color:var(--blog-link,#a83b28)}
.fb-blog-theme-toggle:focus-visible{outline:3px solid #ff956c;outline-offset:3px}
@media(max-width:620px){
  body.fb-blog-site header .header-inner{flex-wrap:wrap;height:auto;min-height:62px;padding:10px 15px;gap:7px}
  body.fb-blog-site header:not(.fb-site-header) nav{order:3;flex-basis:100%;justify-content:center;flex-wrap:wrap}
  body.fb-blog-site header:not(.fb-site-header) nav a{padding:.35rem .55rem}
  body.fb-blog-site .fb-blog-theme-toggle{margin-left:auto}
}
