/* Identidade oficial do portal: branco, grafite, cinza claro e dourado suave.
   Componente único de navegação. Não afeta telas de administração. */
body.mg-site,body.community-public,body.public-site-body,body:has(> .mg-global-header){
  --wine:#887746;--wine-dark:#303030;--wine-hover:#75653d;
  --ink:#292929;--muted:#626262;--gold:#afa06b;--paper:#fafafa;
  --cream:#f1f1f1;--stroke:#e5e5e5;
}
.mg-global-header,.mg-global-header *{box-sizing:border-box}
.mg-global-header{
  position:relative;z-index:40;width:100%;min-height:70px;
  background:#fff;border-bottom:1px solid #e9e9e9;
  color:#292929;font-family:Arial,Helvetica,sans-serif;
  font-size:13px;font-weight:400;line-height:1.3;
}
.mg-global-header__inner{
  width:min(1120px,calc(100% - 48px));min-height:70px;margin:0 auto;
  display:flex;align-items:center;gap:30px;
}
.mg-global-header a{text-decoration:none;box-shadow:none}
.mg-global-header__brand{display:inline-flex;align-items:center;gap:9px;flex:none;white-space:nowrap;color:#262626!important}
.mg-global-header__monogram{font-weight:900;font-size:27px;letter-spacing:-.13em;line-height:1;position:relative;padding-right:8px}
.mg-global-header__monogram span{position:absolute;top:-2px;right:0;font-size:10px;letter-spacing:0;color:#afa06b}
.mg-global-header__wordmark{font-size:16px;font-weight:750;letter-spacing:-.045em}
.mg-global-header__wordmark strong{font-weight:450}
.mg-global-header__nav{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:clamp(12px,2vw,27px)}
.mg-global-header__nav a{
  color:#313131!important;font-family:inherit;font-size:11px;font-weight:750;
  letter-spacing:.025em;text-transform:uppercase;white-space:nowrap;
  padding:10px 0;border-radius:0;background:transparent!important;transition:color .15s ease
}
.mg-global-header__nav a:hover,.mg-global-header__nav a:focus-visible,
.mg-global-header__nav a[aria-current=page]{color:#827041!important}
.mg-global-header__nav a[aria-current=page]{text-decoration:underline;text-decoration-color:#afa06b;text-underline-offset:7px;text-decoration-thickness:2px}
.mg-global-header__tools{display:flex;align-items:center;gap:14px;margin-left:4px}
.mg-global-header__search{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;color:#292929!important;background:transparent!important;border:0}
.mg-global-header__search:hover{color:#827041!important}
.mg-global-header__search svg{width:20px;height:20px;display:block}
.mg-global-header__mobile{display:none;position:relative}
.mg-global-header a:focus-visible,.mg-global-header summary:focus-visible,.mg-global-header button:focus-visible{outline:2px solid #958654;outline-offset:3px}
.mg-global-header__mobile summary{list-style:none;cursor:pointer;width:42px;height:42px;display:grid;place-items:center;color:#292929}
.mg-global-header__mobile summary::-webkit-details-marker{display:none}
.mg-global-header__mobile summary svg{width:24px;height:24px}
.mg-global-header__mobile nav{position:absolute;right:0;top:calc(100% + 12px);min-width:min(300px,calc(100vw - 32px));background:#fff;border:1px solid #e5e5e5;box-shadow:0 16px 34px #00000020;padding:8px;display:grid;z-index:99;border-radius:4px}
.mg-global-header__mobile nav a,.mg-global-header__mobile nav button{display:block;width:100%;padding:13px 14px;color:#292929!important;background:transparent!important;text-align:left;text-transform:uppercase;font-weight:700;letter-spacing:.03em;border:0;border-radius:3px;cursor:pointer;font-size:12px;font-family:inherit}
.mg-global-header__mobile nav a:hover,.mg-global-header__mobile nav button:hover{background:#f1f1f1!important;color:#827041!important}
.mg-global-header__mobile form{margin:0}
@media(max-width:960px){
  .mg-global-header__nav{display:none!important}
  .mg-global-header__mobile{display:block}
  .mg-global-header__tools{margin-left:auto}
}
@media(max-width:520px){
  .mg-global-header,.mg-global-header__inner{min-height:64px}
  .mg-global-header__inner{width:calc(100% - 32px);gap:8px}
  .mg-global-header__monogram{font-size:25px}
  .mg-global-header__wordmark{font-size:15px}
  .mg-global-header__tools{gap:4px}
}
/* Paleta de leitura do Blog, incluindo cards, navegação e ações de artigo. */
body .blog-card{border-color:#e4e4e4}
body .blog-card:hover{border-color:#afa06b;box-shadow:0 8px 24px #00000010}
body .blog-card-picture{background:#f1f1f1}
body .blog-card-typographic,body .blog-widget{background:#f5f5f5;border-color:#e1e1e1}
body .blog-card .blog-type-cover{background:linear-gradient(145deg,#fafafa,#eeeeee);border-top-color:#afa06b}
body .blog-card .blog-type-brand,body .blog-card .blog-card-reading,body .blog-widget h2{color:#353535}
body .blog-card-typographic:nth-child(3n+2){background:#333}
body .blog-card-typographic:nth-child(3n+2) .blog-type-cover{background:linear-gradient(145deg,#444,#292929);border-top-color:#afa06b;color:#fff}
body .blog-card-typographic:nth-child(3n+2) a,body .blog-card-typographic:nth-child(3n+2) .blog-byline,body .blog-card-typographic:nth-child(3n+2) .blog-type-brand,body .blog-card-typographic:nth-child(3n+2) .blog-card-reading{color:#f5f5f5}
body .blog-card-typographic:nth-child(3n+2) .blog-card-category{color:#d5c892}
body .blog-card-typographic:nth-child(3n+2) .blog-card-reading{border-color:#666}
body .blog-pagination a{border-color:#dedede}
body .blog-pagination a[aria-current]{background:#373737;color:#fff;border-color:#373737}
body .blog-widget{border-top-color:#afa06b}
body .blog-widget li+li{border-color:#e0e0e0}
body .blog-prose blockquote,body .blog-more-articles{border-color:#afa06b}
body .blog-interaction .blog-like-button,body .blog-interaction .blog-like-button svg,body .blog-like-count strong,body .blog-view-count strong,body .blog-interaction-message,body .blog-official-profiles a{color:#92804c!important}
body .blog-interaction .blog-like-button[aria-pressed=true],body .blog-interaction .blog-like-button[aria-pressed=true] svg{color:#72613a!important}
body .blog-article-actions{border-color:#e5e5e5}
/* Os rodapés antigos continuam funcionando, mas adotam fundo grafite. */
body .community-chrome.site-footer{background:#303030;color:#f2f2f2}
body .community-chrome.site-footer p{color:#cfcfcf}
/* Biblioteca pública: substituir degradês vinho por grafite, como na home. */
body .hero{background:linear-gradient(110deg,#242829 0%,#4d5152 60%,#686c6c 100%)}
body .hero::before{background:linear-gradient(90deg,rgba(28,33,35,.97) 0%,rgba(35,39,41,.91) 37%,rgba(35,39,41,.65) 54%,rgba(35,39,41,.08) 82%)}
body .community-note{background:linear-gradient(130deg,#303334,#575a5b)}
body .community-note p{color:#e4e4e4}
body .card-badge.video{background:#373939}
body .format-tab:hover{background:#f0f0f0}
body .format-tab.active,body .card-badge{background:#887746}
body .button-outline{color:#75653d;border-color:#d4d4d4}
body .button-outline:hover{background:#f2f2f2}
body .content-card{border-color:#e3e3e3}
@media(max-width:900px){body .hero::before{background:linear-gradient(90deg,rgba(29,33,35,.96),rgba(34,39,41,.75) 63%,rgba(34,39,41,.35))}}
