/* WikiGoiás — camada visual unificada v2026.07.29.4
   Escopo global: Cultura e História, Agro e Economia, Municípios, Negócios,
   páginas institucionais, dossiês, hubs e capítulos. Carregada por último. */

body.wg-page{
  --wg-blue:#0056b3;--wg-blue-dark:#003f85;--wg-ink:#202124;--wg-muted:#5f6368;
  --wg-bg:#ffffff;--wg-soft:#f6f8fb;--wg-soft-2:#eef2f6;--wg-line:#d9e1e8;
  --wg-footer:#102f45;--wg-gold:#e0ad24;--wg-radius:10px;
  margin:0!important;background:var(--wg-bg)!important;color:var(--wg-ink)!important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;
  line-height:1.65!important;overflow-x:hidden!important;-webkit-text-size-adjust:100%;
}
body.wg-page *{box-sizing:border-box}
body.wg-page img,body.wg-page video,body.wg-page iframe,body.wg-page svg{max-width:100%;height:auto}
body.wg-page a{overflow-wrap:anywhere}
body.wg-page p{overflow-wrap:break-word}

/* Topo padronizado — referência visual Adson Batista / Jordevá Rosa */
body.wg-page .navbar{
  position:sticky!important;top:0!important;z-index:1000!important;min-height:64px!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:1rem!important;
  width:100%!important;padding:.82rem clamp(1rem,4vw,2rem)!important;
  background:#f8f9fa!important;border:0!important;border-bottom:1px solid var(--wg-line)!important;
}
body.wg-page .nav-logo{font-size:clamp(1.2rem,3vw,1.42rem)!important;font-weight:800!important;color:var(--wg-blue)!important;text-decoration:none!important;white-space:nowrap!important}
body.wg-page .nav-controls,body.wg-page .nav-right{display:flex!important;align-items:center!important;gap:.65rem!important;min-width:0}
body.wg-page .context{color:#64748b!important;font-size:.86rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:42vw!important}
body.wg-page .theme-toggle,body.wg-page .back-link{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;
  padding:.45rem .8rem!important;border:1px solid var(--wg-line)!important;border-radius:5px!important;
  background:#fff!important;color:#243241!important;font:inherit!important;font-size:.86rem!important;text-decoration:none!important;cursor:pointer!important;
}
body.wg-page .back-link{border-radius:999px!important;color:var(--wg-blue)!important;font-weight:650!important;max-width:48vw!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}

body.wg-page .hero{
  width:100%!important;padding:clamp(3.15rem,7vw,5rem) clamp(1rem,5vw,2rem)!important;
  text-align:center!important;background:linear-gradient(135deg,#f3f5f7 0%,#e7ebef 100%)!important;
  border:0!important;border-bottom:1px solid var(--wg-line)!important;
}
body.wg-page .hero-inner{width:min(100%,1080px)!important;margin:0 auto!important}
body.wg-page .hero .eyebrow{margin:0 auto .65rem!important;color:var(--wg-blue)!important;font-size:.8rem!important;font-weight:800!important;letter-spacing:.08em!important;text-transform:uppercase!important}
body.wg-page .hero h1{
  max-width:980px!important;margin:0 auto .9rem!important;color:#24282d!important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;
  font-size:clamp(2.25rem,6vw,3.25rem)!important;font-weight:780!important;line-height:1.08!important;letter-spacing:-.035em!important;
  text-wrap:balance!important;overflow-wrap:normal!important;word-break:normal!important;
}
body.wg-page .hero>p:not(.wg-editorial-meta),body.wg-page .hero-inner>.deck{
  max-width:820px!important;margin:.2rem auto 0!important;color:#465564!important;
  font-size:clamp(1.05rem,2.3vw,1.28rem)!important;line-height:1.55!important;text-wrap:balance!important;
  text-transform:none!important;letter-spacing:normal!important;
}
body.wg-page .hero .wg-editorial-meta,body.wg-page .wg-editorial-meta,body.wg-page .hero .meta{
  max-width:820px!important;margin:.85rem auto 0!important;color:#64748b!important;
  font-size:clamp(.72rem,1.8vw,.82rem)!important;line-height:1.55!important;font-weight:400!important;
}
body.wg-page .hero .wg-editorial-meta a,body.wg-page .wg-editorial-meta a,body.wg-page .hero .meta a{color:inherit!important;text-decoration:underline!important;text-underline-offset:2px!important}

/* Layout pilar: Cultura, Agro e demais hubs */
body.wg-page .layout{
  width:min(100% - 2rem,1240px)!important;margin:clamp(1.5rem,4vw,2.7rem) auto!important;
  display:grid!important;grid-template-columns:250px minmax(0,1fr)!important;gap:clamp(1.5rem,4vw,2.8rem)!important;align-items:start!important;
}
body.wg-page .layout>main{min-width:0!important;width:100%!important}
body.wg-page .toc{
  position:sticky!important;top:88px!important;align-self:start!important;max-height:calc(100vh - 110px)!important;overflow:auto!important;
  padding:1rem!important;border:1px solid var(--wg-line)!important;border-radius:var(--wg-radius)!important;background:#fbfcfd!important;
}
body.wg-page .toc strong{display:block!important;margin:0 0 .75rem!important;color:#263b4b!important;font-size:.98rem!important}
body.wg-page .toc a{display:block!important;padding:.48rem .55rem!important;color:#425466!important;text-decoration:none!important;border-left:3px solid transparent!important;font-size:.9rem!important;line-height:1.35!important}
body.wg-page .toc a:hover{color:var(--wg-blue)!important;border-left-color:var(--wg-blue)!important;background:#f3f7fb!important}

/* Página principal de dossiê/hub */
body.wg-page .main-container{
  width:min(100% - 2rem,1240px)!important;margin:clamp(1.5rem,4vw,2.7rem) auto!important;padding:0!important;
  display:grid!important;grid-template-columns:250px minmax(0,1fr)!important;gap:clamp(1.5rem,4vw,2.8rem)!important;align-items:start!important;
}
body.wg-page .main-container>main{min-width:0!important;width:100%!important}
body.wg-page .sidebar{
  position:sticky!important;top:88px!important;align-self:start!important;max-height:calc(100vh - 105px)!important;overflow:auto!important;
  padding:1rem!important;border:1px solid var(--wg-line)!important;border-radius:var(--wg-radius)!important;background:#fbfcfd!important;
}
body.wg-page .sidebar h3{margin:0 0 .75rem!important;color:#263b4b!important;font-size:1rem!important;text-transform:none!important;letter-spacing:normal!important}
body.wg-page .sidebar ul{list-style:none!important;margin:0!important;padding:0!important}
body.wg-page .sidebar li{margin:.15rem 0!important;padding:0!important}
body.wg-page .sidebar li:empty,body.wg-page .sidebar ul:empty{display:none!important}
body.wg-page .sidebar a{display:block!important;padding:.48rem .55rem!important;color:#425466!important;text-decoration:none!important;border-left:3px solid transparent!important;font-size:.9rem!important;line-height:1.35!important}
body.wg-page .sidebar a:hover,body.wg-page .sidebar a.active{color:var(--wg-blue)!important;border-left-color:var(--wg-blue)!important;background:#f3f7fb!important}
body.wg-page .content-section{padding:0 0 2rem!important;margin:0 0 2rem!important;border-bottom:1px solid var(--wg-line)!important;min-width:0!important}
body.wg-page .content-section:last-child{border-bottom:0!important}
body.wg-page .content-section h2{
  margin:0 0 1rem!important;color:var(--wg-blue)!important;font-size:clamp(1.55rem,3.2vw,2.15rem)!important;line-height:1.2!important;letter-spacing:-.02em!important;
  overflow-wrap:normal!important;word-break:normal!important;text-wrap:balance!important;
}
body.wg-page .content-section h3{color:#153f62!important;line-height:1.28!important}
body.wg-page .content-section p,body.wg-page .article-body p{font-size:clamp(1rem,1.7vw,1.08rem)!important;line-height:1.76!important;margin:0 0 1.15rem!important;text-align:left!important}
body.wg-page .content-section>img[style*="float"],body.wg-page .content-section>.profile-img{
  float:right!important;width:min(100%,240px)!important;max-width:240px!important;height:auto!important;margin:.15rem 0 1.25rem 1.4rem!important;
  border:1px solid var(--wg-line)!important;border-radius:8px!important;box-shadow:0 7px 20px rgba(15,23,42,.08)!important;object-fit:cover!important;object-position:center top!important;
}
body.wg-page .main-container>main>.content-section:first-child>img:only-child,
body.wg-page.wg-suitpay .main-container>main>.content-section:first-child img{
  display:block!important;width:min(100%,820px)!important;max-height:500px!important;object-fit:cover!important;object-position:center!important;margin:0 auto 1.5rem!important;
  border:1px solid var(--wg-line)!important;border-radius:12px!important;box-shadow:0 8px 24px rgba(15,23,42,.08)!important;
}

/* Artigos e capítulos */
body.wg-page .container{
  width:min(100% - 2rem,960px)!important;margin:clamp(1.4rem,4vw,2.6rem) auto!important;padding:0!important;max-width:960px!important;
}
body.wg-page .container>article{min-width:0!important}
body.wg-page .article-header{padding:0 0 1.25rem!important;margin:0 0 1.6rem!important;border-bottom:1px solid var(--wg-line)!important;background:transparent!important;text-align:left!important}
body.wg-page .article-header h1{
  margin:0 0 .7rem!important;color:#20252b!important;font-size:clamp(2rem,5.4vw,3rem)!important;line-height:1.12!important;letter-spacing:-.03em!important;
  overflow-wrap:normal!important;word-break:normal!important;text-wrap:balance!important;
}
body.wg-page .article-deck,body.wg-page .lead{margin:.2rem 0 .75rem!important;color:#4a5b69!important;font-size:clamp(1.04rem,2.2vw,1.22rem)!important;line-height:1.6!important}
body.wg-page .meta-info{color:#64748b!important;font-size:.82rem!important;line-height:1.5!important}
body.wg-page .article-body{max-width:820px!important;color:#28323c!important}
body.wg-page .article-body h2{margin:2.2rem 0 .9rem!important;color:var(--wg-blue)!important;font-size:clamp(1.45rem,3.3vw,2rem)!important;line-height:1.24!important}
body.wg-page .article-body h3{margin:1.7rem 0 .65rem!important;color:#183f5d!important;font-size:clamp(1.18rem,2.7vw,1.48rem)!important}
body.wg-page .article-body ul,body.wg-page .article-body ol{padding-left:1.35rem!important;margin:0 0 1.2rem!important}
body.wg-page .article-body li{margin:.45rem 0!important;line-height:1.65!important}
body.wg-page .article-body>img,body.wg-page .entity-image{display:block!important;max-width:min(100%,760px)!important;margin:1rem auto 1.6rem!important;border-radius:10px!important;border:1px solid var(--wg-line)!important}

/* Hubs de categoria e blocos gerais */
body.wg-page .intro,body.wg-page .section{width:100%!important;margin:0 0 2rem!important}
body.wg-page .section h2,body.wg-page .intro h2{color:var(--wg-blue)!important;font-size:clamp(1.45rem,3.2vw,2rem)!important;line-height:1.25!important}
body.wg-page .category-links,body.wg-page .related-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))!important;gap:1rem!important}

/* Cards, tabelas, municípios e blocos de conteúdo */
body.wg-page .stats-grid,body.wg-page .cards-grid,body.wg-page .timeline-grid,body.wg-page .fact-grid,
body.wg-page .municipality-grid,body.wg-page .wg-checklist{
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;gap:1rem!important;
}
body.wg-page .stat-card,body.wg-page .card,body.wg-page .timeline-card,body.wg-page .fact-card,body.wg-page .content-card,
body.wg-page .feature-card,body.wg-page .link-card,body.wg-page .municipality-card,body.wg-page .wg-checkitem,
body.wg-page .fact-box,body.wg-page .summary,body.wg-page .callout,body.wg-page .highlight{
  border:1px solid var(--wg-line)!important;border-radius:var(--wg-radius)!important;background:#fff!important;box-shadow:none!important;
}
body.wg-page .stat-card,body.wg-page .card,body.wg-page .timeline-card,body.wg-page .fact-card,body.wg-page .content-card,
body.wg-page .feature-card,body.wg-page .link-card,body.wg-page .municipality-card,body.wg-page .wg-checkitem{padding:1rem!important}
body.wg-page a.card,body.wg-page a.content-card,body.wg-page a.feature-card,body.wg-page a.link-card,body.wg-page a.municipality-card{text-decoration:none!important;color:inherit!important;transition:border-color .2s ease,transform .2s ease!important}
body.wg-page a.card:hover,body.wg-page a.content-card:hover,body.wg-page a.feature-card:hover,body.wg-page a.link-card:hover,body.wg-page a.municipality-card:hover{border-color:#8cb5d8!important;transform:translateY(-2px)!important}
body.wg-page .card-body{padding:0!important}
body.wg-page .card-title,body.wg-page .municipality-card h3{margin:0 0 .55rem!important;color:#173b55!important;font-size:1.08rem!important;line-height:1.3!important}
body.wg-page .card-link{display:inline-block!important;margin-top:.65rem!important;color:var(--wg-blue)!important;font-weight:700!important;text-decoration:none!important}
body.wg-page .fact-box,body.wg-page .summary,body.wg-page .callout,body.wg-page .highlight{padding:1rem 1.1rem!important;margin:1.25rem 0!important;background:#f6f9fc!important;border-left:4px solid var(--wg-blue)!important}
body.wg-page .stat-number,body.wg-page .fact-number{color:var(--wg-blue)!important;font-size:clamp(1.45rem,3.5vw,2rem)!important;font-weight:800!important}
body.wg-page .municipality-profile{margin:0!important}
body.wg-page .municipality-intro{color:#52606d!important;font-size:.95rem!important}
body.wg-page .municipality-facts{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.45rem .8rem!important;margin:.75rem 0!important;font-size:.88rem!important}
body.wg-page .municipality-actions{display:flex!important;flex-wrap:wrap!important;gap:.45rem!important;margin-top:.8rem!important}
body.wg-page .municipality-actions a{display:inline-flex!important;padding:.45rem .65rem!important;border:1px solid var(--wg-line)!important;border-radius:999px!important;text-decoration:none!important;font-size:.8rem!important}
body.wg-page .scroll-table,body.wg-page .wg-table-scroll{width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;margin:1.4rem 0!important;border:1px solid var(--wg-line)!important;border-radius:8px!important}
body.wg-page table{width:100%!important;border-collapse:collapse!important;display:block!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
body.wg-page th,body.wg-page td{padding:.75rem .85rem!important;border-bottom:1px solid var(--wg-line)!important;text-align:left!important;vertical-align:top!important;min-width:145px!important}
body.wg-page th{background:#f2f6f9!important;color:#173b55!important}

/* FAQ */
body.wg-page .faq-item{border:1px solid var(--wg-line)!important;border-radius:8px!important;background:#fff!important;margin:0 0 .75rem!important;overflow:hidden!important}
body.wg-page .faq-question{width:100%!important;padding:1rem!important;border:0!important;background:#f7f9fb!important;color:#263746!important;font:inherit!important;font-weight:750!important;text-align:left!important;cursor:pointer!important}
body.wg-page .faq-answer{padding:0 1rem 1rem!important;color:#465564!important}

/* Dossiês e links relacionados */
body.wg-page .wg-cluster,
body.wg-page .regional-hub-links,
body.wg-page .works-hub-links,
body.wg-page .related-content,
body.wg-page .hub-links,
body.wg-page .footer-hub{
  width:min(100% - 2rem,1200px)!important;margin:clamp(2rem,6vw,4rem) auto 0!important;padding:clamp(1.25rem,3vw,2rem)!important;
  border:1px solid var(--wg-line)!important;border-radius:12px!important;background:#f7f9fb!important;
}
body.wg-page .wg-cluster h2,body.wg-page .regional-hub-links h3,body.wg-page .works-hub-links h3,body.wg-page .footer-hub h3{
  margin:0 0 1rem!important;color:#173b55!important;font-size:clamp(1.25rem,2.6vw,1.55rem)!important;line-height:1.25!important;
}
body.wg-page .wg-cluster-grid,
body.wg-page .link-group-geo,
body.wg-page .link-group-works,
body.wg-page .regional-hub-links>div,
body.wg-page .works-hub-links>div{
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(245px,1fr))!important;gap:.7rem!important;
}
body.wg-page .wg-cluster-grid>a,
body.wg-page .link-group-geo>a,
body.wg-page .link-group-works>a,
body.wg-page .regional-hub-links a,
body.wg-page .works-hub-links a,
body.wg-page .btn-hub{
  display:flex!important;align-items:flex-start!important;min-height:52px!important;padding:.75rem .85rem!important;
  border:1px solid var(--wg-line)!important;border-radius:8px!important;background:#fff!important;color:var(--wg-blue)!important;
  text-decoration:none!important;font-size:.92rem!important;font-weight:650!important;line-height:1.35!important;
}
body.wg-page .wg-cluster-grid>a:hover,body.wg-page .link-group-geo>a:hover,body.wg-page .link-group-works>a:hover{border-color:#8cb5d8!important;background:#f2f7fb!important}
body.wg-page .wg-link-pendente{opacity:.58!important;cursor:not-allowed!important;color:#64748b!important}

/* Compartilhamento */
body.wg-page .wg-share{width:min(100% - 2rem,920px)!important;margin:clamp(2rem,6vw,4rem) auto 0!important;padding:0!important}
body.wg-page .wg-share-inner{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:1rem 1.4rem!important;padding:1.1rem 1.2rem!important;border:1px solid var(--wg-line)!important;border-radius:10px!important;background:#f7f9fb!important}
body.wg-page .wg-share-kicker{margin:0 0 .18rem!important;font-size:1rem!important;font-weight:750!important;color:#243241!important}
body.wg-page .wg-share-text{margin:0!important;font-size:.86rem!important;color:#64748b!important}
body.wg-page .wg-share-actions{display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:.45rem!important}
body.wg-page .wg-share-actions a,body.wg-page .wg-share-actions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;padding:.5rem .72rem!important;border:1px solid var(--wg-line)!important;border-radius:999px!important;background:#fff!important;color:#263746!important;font:inherit!important;font-size:.8rem!important;font-weight:650!important;text-decoration:none!important;cursor:pointer!important}
body.wg-page .wg-share-status{flex-basis:100%!important;margin:0!important;min-height:1em!important;font-size:.78rem!important;color:var(--wg-blue)!important}

/* Rodapé único, independente do CSS original da pasta */
html body.wg-page footer.wg-footer{
  display:block!important;width:100%!important;max-width:none!important;margin:clamp(2.8rem,7vw,5rem) 0 0!important;padding:0!important;
  background:var(--wg-footer)!important;color:#eaf2f7!important;border:0!important;border-top:5px solid var(--wg-gold)!important;
  font-size:1rem!important;line-height:1.6!important;clear:both!important;
}
html body.wg-page footer.wg-footer .wg-footer-inner{
  width:min(100% - 2rem,1200px)!important;max-width:1200px!important;margin:0 auto!important;
  display:grid!important;grid-template-columns:minmax(280px,1.7fr) minmax(180px,.7fr) minmax(150px,.55fr)!important;
  gap:clamp(1.5rem,4vw,3.5rem)!important;padding:clamp(2.3rem,6vw,4rem) 0 2.3rem!important;
}
html body.wg-page footer.wg-footer strong{color:#fff!important;font-weight:750!important}
html body.wg-page footer.wg-footer p{margin:.6rem 0!important;color:#cbdbe5!important;font-size:.96rem!important;line-height:1.65!important}
html body.wg-page footer.wg-footer a{color:#ffd166!important;text-decoration:none!important}
html body.wg-page footer.wg-footer a:hover{text-decoration:underline!important;text-underline-offset:3px!important}
html body.wg-page footer.wg-footer nav{display:block!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;position:static!important;min-height:0!important;width:auto!important}
html body.wg-page footer.wg-footer ul{list-style:none!important;margin:.75rem 0 0!important;padding:0!important;display:block!important}
html body.wg-page footer.wg-footer li{display:block!important;margin:.48rem 0!important;padding:0!important}
html body.wg-page footer.wg-footer .wg-footer-bottom{
  width:100%!important;max-width:none!important;margin:0!important;padding:1.1rem 1rem!important;
  border-top:1px solid rgba(255,255,255,.16)!important;color:#bfd0dc!important;text-align:center!important;font-size:.86rem!important;
}
html body.wg-page footer.wg-footer .wg-brand-alias{font-size:.91rem!important}

/* Tema escuro sem quebrar a identidade */
body.wg-page[data-theme="dark"]{--wg-bg:#121821;--wg-soft:#17212c;--wg-soft-2:#1d2a36;--wg-line:#334253;--wg-ink:#e9f0f5;--wg-muted:#b7c3cd;background:#121821!important;color:#e9f0f5!important}
body.wg-page[data-theme="dark"] .navbar,body.wg-page[data-theme="dark"] .toc,body.wg-page[data-theme="dark"] .sidebar,body.wg-page[data-theme="dark"] .card,body.wg-page[data-theme="dark"] .stat-card,body.wg-page[data-theme="dark"] .municipality-card,body.wg-page[data-theme="dark"] .faq-item{background:#17212c!important;color:#e9f0f5!important}
body.wg-page[data-theme="dark"] .hero{background:linear-gradient(135deg,#18222d,#22313f)!important}
body.wg-page[data-theme="dark"] .hero h1,body.wg-page[data-theme="dark"] .article-header h1{color:#f3f7fa!important}
body.wg-page[data-theme="dark"] .hero>p:not(.wg-editorial-meta),body.wg-page[data-theme="dark"] .deck,body.wg-page[data-theme="dark"] .article-deck{color:#c5d0d9!important}
body.wg-page[data-theme="dark"] .theme-toggle,body.wg-page[data-theme="dark"] .back-link,body.wg-page[data-theme="dark"] .wg-cluster-grid>a{background:#17212c!important;color:#dceaf4!important}

:focus-visible{outline:3px solid rgba(0,86,179,.35);outline-offset:3px}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

@media(max-width:900px){
  body.wg-page .layout,body.wg-page .main-container{grid-template-columns:1fr!important;width:min(100% - 2rem,860px)!important}
  body.wg-page .toc,body.wg-page .sidebar{position:relative!important;top:auto!important;max-height:none!important;overflow:visible!important}
  body.wg-page .toc{display:none!important}
  body.wg-page .sidebar ul{display:flex!important;overflow-x:auto!important;gap:.45rem!important;padding-bottom:.35rem!important}
  body.wg-page .sidebar li{flex:0 0 auto!important}
  body.wg-page .sidebar li a{border:1px solid var(--wg-line)!important;border-left:1px solid var(--wg-line)!important;border-radius:999px!important;padding:.48rem .7rem!important;white-space:nowrap!important;background:#fff!important}
  body.wg-page .sidebar>a{display:none!important}
  body.wg-page .content-section>img[style*="float"],body.wg-page .content-section>.profile-img{float:none!important;display:block!important;width:min(100%,470px)!important;max-width:470px!important;margin:.4rem auto 1.5rem!important}
  html body.wg-page footer.wg-footer .wg-footer-inner{grid-template-columns:1fr!important}
  html body.wg-page footer.wg-footer nav{padding-top:1.25rem!important;border-top:1px solid rgba(255,255,255,.14)!important}
}
@media(max-width:600px){
  body.wg-page .navbar{min-height:60px!important;padding:.72rem 1rem!important}
  body.wg-page .nav-controls .back-link,body.wg-page .nav-right .context{display:none!important}
  body.wg-page .hero{padding:3rem 1rem!important}
  body.wg-page .hero h1{font-size:clamp(2.05rem,10vw,2.75rem)!important}
  body.wg-page .hero>p:not(.wg-editorial-meta),body.wg-page .hero-inner>.deck{font-size:1.04rem!important;line-height:1.55!important}
  body.wg-page .layout,body.wg-page .main-container,body.wg-page .container{width:calc(100% - 2rem)!important;margin:1.4rem auto!important}
  body.wg-page .content-section h2{font-size:clamp(1.45rem,7vw,1.9rem)!important}
  body.wg-page .article-header h1{font-size:clamp(1.85rem,8.5vw,2.45rem)!important}
  body.wg-page .stats-grid,body.wg-page .cards-grid,body.wg-page .timeline-grid,body.wg-page .fact-grid,body.wg-page .municipality-grid,body.wg-page .wg-checklist{grid-template-columns:1fr!important}
  body.wg-page .municipality-facts{grid-template-columns:1fr!important}
  body.wg-page .wg-cluster,body.wg-page .regional-hub-links,body.wg-page .works-hub-links,body.wg-page .footer-hub{width:calc(100% - 2rem)!important;padding:1rem!important}
  body.wg-page .wg-cluster-grid,body.wg-page .link-group-geo,body.wg-page .link-group-works{grid-template-columns:1fr!important}
  body.wg-page .wg-share-inner{display:block!important;padding:1rem!important}
  body.wg-page .wg-share-actions{display:grid!important;grid-template-columns:1fr 1fr!important;justify-content:stretch!important;margin-top:.8rem!important}
  body.wg-page .wg-share-actions a,body.wg-page .wg-share-actions button{width:100%!important}
  body.wg-page .wg-share-native{grid-column:1/-1!important}
  html body.wg-page footer.wg-footer .wg-footer-inner{width:calc(100% - 2rem)!important;padding:2rem 0!important}
}

/* Correção final de largura em grids mobile */
body.wg-page .layout,body.wg-page .main-container{min-width:0!important}
body.wg-page .layout>*,body.wg-page .main-container>*,body.wg-page .cards-grid>*,body.wg-page .stats-grid>*{min-width:0!important}
@media(max-width:900px){
  body.wg-page .layout,body.wg-page .main-container{grid-template-columns:minmax(0,1fr)!important;max-width:calc(100vw - 2rem)!important;overflow:hidden!important}
  body.wg-page .sidebar{width:100%!important;min-width:0!important;overflow:hidden!important}
  body.wg-page .sidebar ul{width:100%!important;max-width:100%!important;overflow-x:auto!important}
  body.wg-page .layout>main,body.wg-page .main-container>main,body.wg-page .content-section,body.wg-page .cards-grid{width:100%!important;min-width:0!important;max-width:100%!important}
}


/* ================================================================
   PADRÃO WIKIGOIÁS — 04/08/2026
   Camada final e obrigatória. Não criar outro topo, rodapé ou bloco
   de compartilhamento em pastas individuais.
   ================================================================ */
body.wg-page{--wg-blue:#075db7;--wg-blue-dark:#034580;--wg-footer:#101a2b;--wg-gold:#d6a718;--wg-content:1180px;--wg-reading:820px}

/* Neutraliza “sites dentro do site” criados por folhas locais. */
body.wg-page .hero.pessoa,body.wg-page .hero.empresa,body.wg-page .hero.person,
body.wg-page .hero.hero-photo{background:linear-gradient(135deg,#f3f5f7 0%,#e7ebef 100%)!important;color:var(--wg-ink)!important}
body.wg-page .hero.pessoa .eyebrow,body.wg-page .hero.empresa .eyebrow,body.wg-page .hero.person .eyebrow{color:var(--wg-blue)!important}
body.wg-page .hero.pessoa .deck,body.wg-page .hero.empresa .deck,body.wg-page .hero.person .deck{color:#465564!important}
body.wg-page .hero .hero-meta{max-width:820px!important;margin:.85rem auto 0!important;color:#64748b!important;font-size:.82rem!important;line-height:1.55!important}
body.wg-page .hero .hero-meta a{color:inherit!important;text-decoration:underline!important}
body.wg-page .nav-context{margin-left:auto;color:#64748b;font-size:.86rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:38vw}

/* Imagem principal: impacto sem criar um segundo “portal” antes do conteúdo. */
body.wg-page .hero-figure{position:relative!important;z-index:2!important;width:min(calc(100% - 2rem),980px)!important;max-width:980px!important;margin:-1.65rem auto 2.25rem!important;padding:0!important}
body.wg-page .hero-figure img{display:block!important;width:100%!important;max-height:500px!important;object-fit:cover!important;object-position:center!important;border:1px solid var(--wg-line)!important;border-radius:12px!important;box-shadow:0 10px 30px rgba(15,23,42,.10)!important}
body.wg-page .hero-figure figcaption{margin:.45rem .35rem 0!important;color:#64748b!important;font-size:.78rem!important}

/* Estrutura dos dossiês novos trazida para o mesmo ritmo das páginas antigas. */
body.wg-page .page-shell{width:min(calc(100% - 2rem),var(--wg-content))!important;max-width:var(--wg-content)!important;margin:clamp(1.5rem,4vw,3rem) auto!important;padding:0!important;display:grid!important;grid-template-columns:250px minmax(0,1fr)!important;gap:clamp(1.5rem,4vw,3rem)!important;align-items:start!important}
body.wg-page .page-shell>.article{min-width:0!important;max-width:none!important}
body.wg-page .lead-answer{margin:0 0 1.75rem!important;padding:1.15rem 1.25rem!important;border:1px solid var(--wg-line)!important;border-left:5px solid var(--wg-blue)!important;border-radius:10px!important;background:#f5f7fa!important;box-shadow:none!important}
body.wg-page .lead-answer strong{display:block!important;margin:0 0 .35rem!important;color:var(--wg-blue)!important;font-family:inherit!important;font-size:.78rem!important;font-weight:800!important;letter-spacing:.06em!important;text-transform:uppercase!important}
body.wg-page .lead-answer p{margin:0!important;font-size:1.06rem!important;line-height:1.65!important}
body.wg-page .content-section h2{font-family:inherit!important;color:var(--wg-blue)!important;font-weight:760!important;letter-spacing:-.025em!important}
body.wg-page .content-section h3{font-family:inherit!important;color:var(--wg-blue-dark)!important}
body.wg-page .content-section p{font-size:clamp(1rem,1.6vw,1.08rem)!important;line-height:1.78!important}
body.wg-page .fact-grid,body.wg-page .card-grid,body.wg-page .metric-grid{gap:1rem!important}
body.wg-page .fact-card,body.wg-page .link-card,body.wg-page .metric{border:1px solid var(--wg-line)!important;border-radius:10px!important;background:#fff!important;box-shadow:0 3px 14px rgba(15,23,42,.035)!important}
body.wg-page .quote{border-radius:8px!important;background:#f5f7fa!important;color:var(--wg-ink)!important;border-left:4px solid var(--wg-blue)!important;font-family:inherit!important;font-size:1.08rem!important}
body.wg-page .source-list a{border-radius:8px!important;box-shadow:none!important}
body.wg-page .share-box{display:none!important}

/* Perfil especial antigo (Marconi) continua podendo ter fotografia, mas usa tokens do portal. */
body.wg-page .wg-article-hero{background:linear-gradient(135deg,#f3f5f7,#e7ebef)!important;color:var(--wg-ink)!important;border-bottom:1px solid var(--wg-line)!important}
body.wg-page .wg-article-hero h1{color:var(--wg-ink)!important;font-family:inherit!important}
body.wg-page .wg-article-hero p{color:#465564!important}

/* Página auxiliar/noindex também pertence visualmente ao portal. */
body.wg-page.wg-redirect-page main{width:min(calc(100% - 2rem),760px);margin:4rem auto;padding:1.5rem;border:1px solid var(--wg-line);border-radius:12px;background:var(--wg-soft);text-align:center}

@media(max-width:900px){
 body.wg-page .page-shell{grid-template-columns:minmax(0,1fr)!important;width:min(calc(100% - 2rem),860px)!important}
 body.wg-page .page-shell>.sidebar{position:relative!important;top:auto!important;max-height:none!important}
 body.wg-page .hero-figure{margin:-1rem auto 1.5rem!important}
 body.wg-page .hero-figure img{max-height:420px!important}
}
@media(max-width:620px){
 body.wg-page .nav-context{display:none!important}
 body.wg-page .hero-figure{width:calc(100% - 1.5rem)!important}
 body.wg-page .hero-figure img{max-height:360px!important;border-radius:10px!important}
 body.wg-page .page-shell{width:calc(100% - 1.5rem)!important}
}
