/* PBC Portal 2.1.0 — escala editorial e uso fluido da largura.
   É carregado depois dos estilos existentes para evitar mudanças nos módulos WordPress/wpForo. */
:root {
  --pbc-width: 100%;
  --pbc-gutter: clamp(22px, 3vw, 56px);
}

/* Tela cheia, com margens laterais úteis. */
.pbc-shell {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding-inline: var(--pbc-gutter);
}
body { font-size: 17px; line-height: 1.62; }

/* Cabeçalho e navegação legíveis. */
.pbc-topbar { font-size: 13px; }
.pbc-top-inner { min-height: 34px; }
.pbc-top-links { gap: 22px; }
.pbc-brand-inner { min-height: 104px; gap: 32px; }
.pbc-brand { gap: 18px; }
.pbc-custom-logo img { max-width: 120px; max-height: 76px; }
.pbc-brand-name { font-size: 19px; }
.pbc-brand-name span { font-size: 15px; }
.pbc-monogram { font-size: 40px; }
.pbc-header-search { width: clamp(295px, 27vw, 430px); height: 47px; }
.pbc-header-search input { font-size: 16px; }
.pbc-primary-action { min-height: 46px; padding: 12px 23px; font-size: 16px; }
.pbc-nav-inner { min-height: 54px; }
.pbc-menu { gap: clamp(18px, 2.5vw, 38px); }
.pbc-menu>li>a { min-height: 53px; font-size: 16px; font-weight: 600; }
.pbc-menu .sub-menu a { font-size: 16px; padding: 11px 15px; }

/* A área editorial cresce junto com o espaço disponível. */
.pbc-front { padding-top: 42px; padding-bottom: 64px; }
.pbc-editorial-intro { gap: 42px; padding-bottom: 42px; }
.pbc-editorial-intro-copy { max-width: min(76vw, 1120px); }
.pbc-editorial-intro h1 {
  max-width: 1050px;
  font-size: clamp(40px, 4.25vw, 68px);
  line-height: 1.13;
  letter-spacing: -.65px;
}
.pbc-editorial-intro p { font-size: 19px; max-width: 850px; line-height: 1.58; }
.pbc-kicker, .pbc-eyebrow, .pbc-news-category-label { font-size: 12px; letter-spacing: 1.2px; }
.pbc-editorial-intro-link { font-size: 16px; }
.pbc-newsfront { padding-top: 19px; padding-bottom: 36px; }
.pbc-newsfront-layout { grid-template-columns: minmax(0, 1.7fr) minmax(310px, .9fr); gap: clamp(32px, 4vw, 75px); }
.pbc-newsfront-lead h2 { max-width: 900px; font-size: clamp(32px, 3.25vw, 49px); }
.pbc-newsfront-lead p { font-size: 18px; }
.pbc-newsfront-headline h3 { font-size: 24px; }
.pbc-newsfront-community, .pbc-newsfront-community p { font-size: 17px; }
.pbc-newsfront-community span, .pbc-eyebrow-row { font-size: 12px; }
.pbc-eyebrow-row a { font-size: 15px; }

/* Atalhos grandes, ainda no formato editorial, sem cartões. */
.pbc-shortcuts { gap: clamp(16px, 2vw, 34px); padding-block: 27px; margin-bottom: 49px; }
.pbc-shortcut { min-height: 146px; gap: 18px; padding-block: 14px; }
.pbc-shortcut img { width: clamp(82px, 7vw, 106px); height: clamp(82px, 7vw, 106px); flex-basis: clamp(82px, 7vw, 106px); }
.pbc-shortcut-label strong { font-size: 21px; }
.pbc-shortcut-label small { font-size: 15px; line-height: 1.45; }
.pbc-shortcut-arrow { font-size: 20px; }

/* Colunas ampliadas, mantendo hierarquia entre conteúdo e complementos. */
.pbc-content-grid { grid-template-columns: minmax(0, 2.35fr) minmax(300px, .9fr); gap: clamp(34px, 4vw, 76px); }
.pbc-editorial-section { margin-bottom: 48px; }
.pbc-section-head { padding-bottom: 16px; margin-bottom: 18px; }
.pbc-section-head h1, .pbc-section-head h2 { font-size: 29px; }
.pbc-section-head a { font-size: 15px; }
.pbc-editorial-empty-news p, .pbc-empty-note { font-size: 17px; max-width: 790px; }
.pbc-category { padding-block: 21px 24px; }
.pbc-category-head h3 { font-size: 20px; }
.pbc-category-head span { font-size: 13px; }
.pbc-forum-directory .pbc-forum-list { column-gap: 30px; }
.pbc-forum-directory .pbc-forum-row { min-height: 51px; font-size: 16px; padding: 11px 0; }
.pbc-forum-directory .pbc-forum-count { font-size: 12px; }
.pbc-aside-section { padding-top: 20px; padding-bottom: 32px; margin-bottom: 15px; }
.pbc-aside-section h2 { font-size: 23px; }
.pbc-aside-section p, .pbc-aside-section a, .pbc-side-empty, .pbc-side-content, .pbc-aside-link { font-size: 16px; line-height: 1.58; }
.pbc-aside-muted { font-size: 13px; }
.pbc-recent-list a { font-size: 16px; }
.pbc-editorial-copy h3 { font-size: 26px; }
.pbc-editorial-copy p { font-size: 17px; }
.pbc-news-meta, .pbc-news-date { font-size: 13px; }
.pbc-editorial-thumb { flex-basis: 200px; height: 132px; }
.pbc-footer-navigation, .pbc-footer-links { font-size: 16px; }
.pbc-footer-main { padding-block: 40px 34px; }
.pbc-footer-main p { font-size: 15px; }

/* Páginas internas e fórum também ocupam a largura disponível. */
.pbc-page { padding-top: 42px; }
.pbc-page-head h1, .pbc-news-hub-header h1 { font-size: clamp(35px, 3.35vw, 53px); }
.pbc-page-head p, .pbc-news-hub-header p { font-size: 18px; }
.pbc-entry, .pbc-article { font-size: 18px; line-height: 1.68; }
.pbc-article .pbc-entry { max-width: 980px; }
.pbc-article h1 { font-size: clamp(37px, 3.4vw, 56px); }
.pbc-breadcrumb, .pbc-topic-nav { font-size: 15px; }
.pbc-list-entry h2 { font-size: 27px; }
.pbc-list-entry p, .pbc-news-feature-copy p { font-size: 17px; }
.pbc-news-feature-copy h2 { font-size: clamp(31px, 2.75vw, 43px); }
body.pbc-forum-page #wpforo, body.pbc-forum-page #wpforo #wpforo-wrap { width: 100%!important; max-width: none!important; }
body.pbc-forum-page #wpforo #wpforo-wrap { font-size: 17px!important; }
body.pbc-forum-page #wpforo #wpforo-wrap .cat-name { font-size: 19px!important; }
body.pbc-forum-page #wpforo #wpforo-wrap :is(.wpforo-forum-title a,.wpforo-topic-title a) { font-size: 17px!important; }
body.pbc-forum-page #wpforo #wpforo-wrap .wpforo-forum-description { font-size: 15px!important; }
body.pbc-forum-page #wpforo #wpforo-wrap #wpforo-menu .wpf-menu>li>a { font-size: 15px!important; }

/* No tablet, o conteúdo continua fluido, mas a navegação muda para menu. */
@media (max-width: 1199px) {
  :root { --pbc-gutter: 24px; }
  .pbc-brand-inner { min-height: 91px; }
  .pbc-content-grid { gap: 34px; grid-template-columns: minmax(0, 1.8fr) minmax(260px, .9fr); }
  .pbc-shortcut { gap: 12px; min-height: 123px; }
  .pbc-shortcut img { width: 78px; height: 78px; flex-basis: 78px; }
  .pbc-shortcut-label strong { font-size: 18px; }
  .pbc-shortcut-label small { font-size: 13px; }
}
@media (max-width: 1120px) {
  .pbc-menu { gap:0; }
  .pbc-menu > li > a { font-size: 17px; min-height: 48px; }
  .pbc-mobile-toggle { font-size: 17px; min-height: 50px; }
  .pbc-shortcuts { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 24px; }
  .pbc-shortcut { min-height: 116px; }
  .pbc-shortcut img { width: 76px; height: 76px; flex-basis: 76px; }
  .pbc-editorial-intro h1 { font-size: clamp(38px, 5vw, 52px); }
}
@media (max-width: 850px) {
  .pbc-content-grid { display: block; }
  .pbc-aside { margin-top: 38px; }
  .pbc-newsfront-layout { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 700px) {
  :root { --pbc-gutter: 18px; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body { font-size: 17px; }
  .pbc-shell { padding-inline: var(--pbc-gutter); }
  .pbc-topbar { font-size: 12px; }
  .pbc-brand-inner { min-height: 78px; }
  .pbc-brand-name { font-size: 15px; }
  .pbc-brand-name span { font-size: 13px; }
  .pbc-custom-logo img { max-width: 64px; max-height: 58px; }
  .pbc-primary-action { min-height: 44px; padding: 10px 13px; font-size: 14px; }
  .pbc-menu > li > a { font-size: 17px; min-height: 48px; }
  .pbc-front { padding-top: 27px; }
  .pbc-editorial-intro h1 { font-size: clamp(31px, 7.7vw, 41px); }
  .pbc-editorial-intro p { font-size: 17px; }
  .pbc-editorial-intro-copy { max-width: none; }
  .pbc-section-head h1, .pbc-section-head h2 { font-size: 25px; }
  .pbc-section-head a { font-size: 14px; }
  .pbc-shortcuts { grid-template-columns: minmax(0,1fr); padding-block: 9px; gap: 0; }
  .pbc-shortcut { min-height: 112px; gap: 17px; }
  .pbc-shortcut img { width: 83px; height: 83px; flex-basis: 83px; }
  .pbc-shortcut-label strong { font-size: 19px; }
  .pbc-shortcut-label small { font-size: 15px; }
  .pbc-forum-directory .pbc-forum-list { grid-template-columns: minmax(0,1fr); }
  .pbc-forum-directory .pbc-forum-row { min-height: 52px; font-size: 16px; padding-block: 11px; }
  .pbc-category-head h3 { font-size: 20px; }
  .pbc-aside-section h2 { font-size: 22px; }
  .pbc-editorial-thumb { flex-basis: 126px; height: 92px; }
  .pbc-page { padding-top: 26px; }
  .pbc-entry, .pbc-article { font-size: 17px; }
  body.pbc-forum-page #wpforo #wpforo-wrap { font-size: 16px!important; }
  body.pbc-forum-page #wpforo #wpforo-wrap .cat-name { font-size: 18px!important; }
  body.pbc-forum-page #wpforo #wpforo-wrap :is(.wpforo-forum-title a,.wpforo-topic-title a) { font-size: 16px!important; }
  body.pbc-forum-page #wpforo #wpforo-wrap .wpforo-forum-description { font-size: 15px!important; }
}
@media (max-width: 420px) {
  :root { --pbc-gutter: 15px; }
  .pbc-brand-name { font-size: 14px; }
  .pbc-brand-name span { font-size: 12px; }
  .pbc-shortcut img { width: 76px; height: 76px; flex-basis: 76px; }
  .pbc-shortcut { min-height: 106px; }
  .pbc-shortcut-label strong { font-size: 18px; }
  .pbc-shortcut-label small { font-size: 14px; }
}
