/*
Theme Name: Rede de Controle 2026
Theme URI: https://www.rededecontrole.gov.br/
Author: GitHub Copilot
Description: Tema WordPress base e reutilizavel para Redes de Controle. Layout global (header, footer, paginas e posts) com cadastros customizados (banners, noticias, publicacoes e destaques) exibidos por shortcodes. Sem referencias fixas a uma rede especifica.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: rede-controle
*/
/*
Theme Name: Rede de Controle 2026
Theme URI: https://www.rededecontrole.gov.br/
Author: GitHub Copilot
Description: Tema WordPress base e reutilizavel para Redes de Controle. Layout global (header, footer, paginas e posts) com cadastros customizados (banners, noticias, publicacoes e destaques) exibidos por shortcodes. Sem referencias fixas a uma rede especifica.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: rede-controle
*/

:root {
  --color-navy: #212e46;
  --color-menu: #2b426d;
  --color-blue: #2061a2;
  --color-button: #1c519b;
  --color-text: #111827;
  --color-muted: #f3f3f3;
  --color-section: #dedede;
  --shadow-soft: 2px 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-medium: 2px 2px 4px rgba(0, 0, 0, 0.25);
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--color-text);
  font-family: "Segoe UI", Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  background: var(--color-navy);
  color: #ffffff;
}

.header-content {
  display: flex;
  align-items: center;
  min-height: 192px;
  gap: 36px;
}

.brand-mark,
.custom-logo-link {
  display: block;
  flex: 0 0 auto;
}

.brand-logo,
.custom-logo {
  width: 126px;
  height: 124px;
  object-fit: contain;
}

.brand-title p {
  margin: 0;
  font-size: 25px;
  line-height: 32px;
  font-weight: 700;
}

.brand-subtitle {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  opacity: 0.85;
}

.main-nav {
  background: var(--color-menu);
  color: #ffffff;
}

.nav-content,
.primary-menu {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 18px;
  line-height: 32px;
}

.nav-content {
  min-height: 57px;
}

.primary-menu {
  min-height: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-content a,
.nav-content .menu-item a {
  display: block;
  white-space: nowrap;
}

.nav-content .menu-item {
  list-style: none;
}

.nav-content .nav-dropdown::after,
.nav-content .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.hero-band {
  background: var(--color-muted);
  padding: 59px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 840px) 406px;
  gap: 31px;
  align-items: start;
}

.hero-main {
  min-width: 0;
}

.hero-main .banner-carousel {
  height: 100%;
}

.hero-main .banner-image {
  height: 516px;
}

/* Submenu suspenso do menu principal (ex.: "Sobre a Rede") */
/* Submenu suspenso do menu principal */
.nav-content .has-submenu {
  position: relative; /* Mantém como referência para o submenu */
}

/* IMPORTANTE: O container pai (.nav-content ou .container) 
   não deve ter overflow: hidden ou overflow: auto */
.container.nav-content {
  overflow: visible !important;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  /* Ajuste de centralização para evitar corte lateral */
  left: 150% !important;
  transform: translateX(-50%) translateY(6px) !important;
  
  z-index: 999; /* Aumentado para garantir que fique sobre tudo */
  min-width: 248px;
  width: max-content; /* Se ajusta ao conteúdo */
  max-width: 90vw; /* Evita que ele seja maior que a tela do celular */
  
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #ffffff;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-medium);
  
  /* Transições originais */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

/* Estado ativo/hover */
.nav-content .has-submenu:hover .nav-submenu,
.nav-content .has-submenu:focus-within .nav-submenu,
.nav-content .has-submenu.is-open .nav-submenu {
  opacity: 1;
  visibility: visible;
  /* Remove o translateY mas mantém o translateX da centralização */
  transform: translateX(-50%) translateY(0) !important;
}

.nav-submenu .menu-item {
  width: 100%;
}

.nav-submenu a {
  padding: 10px 22px;
  color: var(--color-text);
  font-size: 16px;
  line-height: 22px;
  white-space: nowrap;
  display: block; /* Garante que o link ocupe a largura toda */
}

.nav-submenu a:hover {
  background: var(--color-muted);
}

/* Ajuste específico para telas muito pequenas */
@media (max-width: 480px) {
  .nav-submenu a {
    white-space: normal; /* Permite que o texto quebre linha se for muito longo */
  }
}

.featured-story img {
  width: 100%;
  height: 516px;
  object-fit: cover;
}

.featured-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 116px;
  padding: 22px 34px;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
}

.featured-caption h1 {
  margin: 0;
  max-width: 760px;
  font-size: 28px;
  line-height: 30px;
  font-weight: 600;
}

.quick-links {
  overflow: hidden;
  min-height: 514px;
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-medium);
}

.quick-links h2 {
  margin: 0;
  padding: 20px 33px 18px;
  background: var(--color-blue);
  color: #ffffff;
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
}

.quick-links ul {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 28px 33px;
  list-style: none;
  font-size: 20px;
  line-height: 30px;
}

.section {
  padding: 42px 0 50px;
}

.section-title {
  margin: 0 0 24px;
  color: var(--color-navy);
  font-size: 28px;
  line-height: 32px;
  font-weight: 600;
}

.highlights-section {
  background: #ffffff;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.highlight-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 276px;
  overflow: hidden;
  background: #e8e3d5;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.highlight-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-section,
.publications-section {
  background: var(--color-section);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.news-card,
.publication-card,
.wp-post-card {
  background: #ffffff;
  border-radius: var(--radius);
}

.news-card {
  min-height: 270px;
  padding: 17px 15px 10px;
}

.news-card img {
  width: 100%;
  height: 151px;
  border-radius: var(--radius);
  object-fit: cover;
}

.news-card h3,
.publication-card h3 {
  margin: 14px 0 0;
  color: #000000;
  font-size: 16px;
  line-height: 20px;
}

.news-card h3 {
  font-weight: 600;
}

.publication-card h3 {
  font-weight: 400;
}

.button-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 297px;
  min-height: 57px;
  margin: 42px auto 0;
  background: var(--color-button);
  color: #ffffff;
  border-radius: var(--radius);
  font-size: 18px;
  line-height: 22px;
}

.publications-section {
  padding-top: 40px;
  padding-bottom: 98px;
}

.publication-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}

.publication-card {
  min-height: 392px;
  padding: 14px 15px 12px;
}

.publication-card img {
  width: 100%;
  height: 300px;
  border-radius: var(--radius);
  object-fit: cover;
}

.wordpress-content {
  display: grid;
  gap: 28px;
}

.wp-post-card {
  padding: 28px;
}

.wp-post-card h1 {
  margin: 0 0 18px;
  color: var(--color-navy);
  font-size: 30px;
  line-height: 36px;
}

.entry-summary {
  font-size: 18px;
  line-height: 30px;
}

.presentation-page {
  background: #f5f5f5;
}

.presentation-content {
  min-height: 1757px;
  padding: 55px 0 270px;
}

.presentation-container {
  max-width: 1058px;
}

.presentation-title {
  margin: 0 0 40px;
  color: var(--color-navy);
  font-size: 32px;
  line-height: 32px;
  font-weight: 700;
}

.objective-box {
  min-height: 180px;
  margin-bottom: 58px;
  padding: 43px 60px 34px;
  background: #d9d9d9;
  border-radius: var(--radius);
}

.objective-box h2,
.objective-box p {
  margin: 0;
  color: #000000;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 30px;
  font-style: italic;
}

.objective-box h2 {
  font-weight: 700;
}

.presentation-copy {
  color: #000000;
  font-size: 20px;
  line-height: 30px;
}

.presentation-copy p {
  margin: 0 0 30px;
}

.presentation-copy ul {
  margin: 0 0 30px;
  padding-left: 30px;
}

.presentation-copy li {
  margin: 0;
  padding-left: 0;
}

.presentation-copy a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.institution-list {
  max-width: 735px;
}

.presentation-action {
  width: 407px;
  margin-top: 54px;
}

.members-page {
  background: var(--color-muted);
}

.members-content {
  min-height: 2969px;
  padding: 52px 0 134px;
}

.members-container {
  max-width: 1280px;
}

.members-title {
  margin: 0 0 42px;
  color: var(--color-navy);
  font-size: 32px;
  line-height: 32px;
  font-weight: 700;
}

.members-intro {
  /*max-width: 1200px;*/
  margin: 0 0 48px;
  color: #000000;
  font-size: 20px;
  line-height: 30px;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(4, 296px);
  gap: 27px 32px;
}

.member-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 248px;
  padding: 28px;
  background: #d9d9d9;
  text-align: center;
}

.member-card h2 {
  margin: 0;
  color: #000000;
  font-size: 20px;
  line-height: 30px;
  font-weight: 400;
}

.members-action {
  width: 407px;
  margin-top: 56px;
}

.agenda-page {
  background: var(--color-muted);
}

.agenda-content {
  min-height: 1121px;
  padding: 52px 0 96px;
}

.agenda-container {
  max-width: 1280px;
}

.agenda-title {
  margin: 0 0 60px;
  color: var(--color-navy);
  font-size: 32px;
  line-height: 32px;
  font-weight: 700;
}

.agenda-list {
  display: grid;
  gap: 34px;
}

.agenda-group-header {
  display: grid;
  grid-template-columns: 186px minmax(0, 1fr) 56px;
  align-items: center;
  min-height: 68px;
  overflow: hidden;
  background: #d9d9d9;
  border-radius: var(--radius);
}

.agenda-year {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  background: var(--color-blue);
  color: #ffffff;
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
  text-align: center;
}

.agenda-group-header h2 {
  margin: 0;
  padding: 0 32px;
  color: #000000;
  font-size: 20px;
  line-height: 30px;
  font-weight: 400;
}

.agenda-toggle {
  justify-self: center;
  width: 0;
  height: 0;
  border-right: 9px solid transparent;
  border-bottom: 16px solid #303642;
  border-left: 9px solid transparent;
}

.agenda-group.is-collapsed .agenda-toggle {
  transform: rotate(180deg);
}

.agenda-items {
  display: grid;
  gap: 22px;
  padding: 24px 0 0 219px;
}

.agenda-group.is-collapsed .agenda-items {
  gap: 0;
}

.agenda-item {
  max-width: 928px;
  color: var(--color-blue);
  font-size: 20px;
  line-height: 30px;
}

.agenda-item h3,
.agenda-item p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: 400;
}

.ideas-page {
  background: var(--color-muted);
}

.ideas-content {
  min-height: 1121px;
  padding: 52px 0 78px;
}

.ideas-container {
  max-width: 1280px;
}

.ideas-title {
  margin: 0 0 60px;
  color: var(--color-navy);
  font-size: 32px;
  line-height: 32px;
  font-weight: 700;
}

.ideas-embed-box {
  min-height: 898px;
  padding: 26px 49px;
  background: #d9d9d9;
  border-radius: var(--radius);
  color: #000000;
  font-size: 20px;
  line-height: 30px;
}

.ideas-embed-box p {
  margin: 0;
}

.ideas-embed-content,
.ideas-embed-content iframe {
  width: 100%;
}

.ideas-embed-content iframe {
  min-height: 840px;
  border: 0;
}

.news-list-page {
  background: var(--color-muted);
}

.news-list-content {
  min-height: 2293px;
  padding: 65px 0 96px;
}

.news-list-container {
  max-width: 1281px;
}

.news-list-title {
  margin: 0 0 27px;
  color: var(--color-navy);
  font-size: 28px;
  line-height: 32px;
  font-weight: 600;
}

.news-list {
  display: grid;
  gap: 30px;
}

.news-list-card {
  display: grid;
  grid-template-columns: 413px minmax(0, 1fr);
  gap: 32px;
  min-height: 270px;
  padding: 18px 21px;
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.news-list-card img {
  width: 100%;
  height: 235px;
  border-radius: var(--radius);
  object-fit: cover;
}

.news-list-card-body {
  max-width: 785px;
  color: #000000;
}

.news-list-card time {
  display: block;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 24px;
}

.news-list-card h2 {
  margin: 0 0 16px;
  color: #000000;
  font-size: 24px;
  line-height: 24px;
  font-weight: 600;
}

.news-list-card p {
  margin: 0;
  color: #000000;
  font-size: 16px;
  line-height: 24px;
}

.publications-list-page {
  background: var(--color-muted);
}

.publications-list-content {
  min-height: 1080px;
  padding: 33px 0 78px;
}

.publications-list-container {
  max-width: 1280px;
}

.publications-list-title {
  margin: 0 0 65px;
  color: var(--color-navy);
  font-size: 28px;
  line-height: 32px;
  font-weight: 600;
}

.publications-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 623px));
  gap: 32px 34px;
}

.publication-list-card {
  display: grid;
  grid-template-columns: 161px minmax(0, 1fr);
  gap: 39px;
  min-height: 270px;
  padding: 15px 18px;
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.publication-list-card img,
.publication-cover-placeholder {
  width: 161px;
  height: 239px;
  border-radius: var(--radius);
  object-fit: cover;
}

.publication-cover-placeholder {
  background: #c4c4c4;
}

.publication-list-card-body {
  padding-top: 9px;
  color: #000000;
}

.publication-list-card h2 {
  margin: 0 0 26px;
  color: #000000;
  font-size: 24px;
  line-height: 24px;
  font-weight: 600;
}

.publication-list-card p {
  margin: 0;
  color: #000000;
  font-size: 16px;
  line-height: 24px;
}

.actions-page {
  background: var(--color-muted);
}

.actions-content {
  min-height: 1176px;
  padding: 56px 0 202px;
}

.actions-container {
  max-width: 1280px;
}

.actions-title {
  margin: 0 0 36px;
  color: var(--color-navy);
  font-size: 32px;
  line-height: 32px;
  font-weight: 700;
}

.actions-list {
  display: grid;
  gap: 14px;
}

.network-action-header {
  display: grid;
  grid-template-columns: 186px minmax(0, 1fr) 56px;
  align-items: center;
  min-height: 68px;
  overflow: hidden;
  background: #d9d9d9;
  border-radius: var(--radius);
}

.network-action:nth-child(2) .network-action-header,
.network-action:nth-child(4) .network-action-header,
.network-action:nth-child(5) .network-action-header {
  min-height: 98px;
}

.network-action-label {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  background: var(--color-blue);
  color: #ffffff;
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
  text-align: center;
}

.network-action-header h2 {
  margin: 0;
  padding: 0 32px;
  color: #000000;
  font-size: 20px;
  line-height: 30px;
  font-weight: 400;
}

.network-action.is-open .network-action-header h2 {
  font-weight: 700;
}

.network-action-toggle {
  justify-self: center;
  width: 0;
  height: 0;
  border-right: 9px solid transparent;
  border-bottom: 16px solid #303642;
  border-left: 9px solid transparent;
}

.network-action:not(.is-open) .network-action-toggle {
  transform: rotate(180deg);
}

.network-action-details {
  padding: 24px 0 16px 219px;
  color: #000000;
  font-size: 20px;
  line-height: 30px;
}

.network-action-details p {
  margin: 0;
}

.history-page {
  background: var(--color-muted);
}

.history-content {
  min-height: 1721px;
  padding: 56px 0 158px;
}

.history-container {
  max-width: 1280px;
}

.history-title {
  margin: 0 0 36px;
  color: var(--color-navy);
  font-size: 32px;
  line-height: 32px;
  font-weight: 700;
}

.history-list {
  display: grid;
  gap: 18px;
}

.history-group-header {
  display: grid;
  grid-template-columns: 186px minmax(0, 1fr) 56px;
  align-items: center;
  min-height: 68px;
  overflow: hidden;
  background: #d9d9d9;
  border-radius: var(--radius);
}

.history-year {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-width: 186px;
  background: var(--color-blue);
  color: #ffffff;
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
  text-align: center;
}

.history-group-header h2 {
  margin: 0;
  padding: 0 32px;
  color: #000000;
  font-size: 20px;
  line-height: 30px;
  font-weight: 400;
}

.history-toggle {
  justify-self: center;
  width: 0;
  height: 0;
  border-right: 9px solid transparent;
  border-bottom: 16px solid #303642;
  border-left: 9px solid transparent;
}

.history-group:not(.is-open) .history-toggle {
  transform: rotate(180deg);
}

.history-links {
  display: grid;
  gap: 0;
  padding: 24px 0 50px 219px;
}

.history-links a {
  color: var(--color-blue);
  font-size: 20px;
  line-height: 30px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.history-links ul,
.history-links ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.history-links li,
.history-links p {
  margin: 0;
}

.history-group-header {
  width: 100%;
  border: 0;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.history-group:not(.is-open) .history-links {
  display: none;
}

.history-group:not(.is-open) .history-group-header {
  border-radius: var(--radius);
}

.saiba-mais-section .quick-links {
  max-width: 406px;
  min-height: 0;
}

/* Acordeao da Agenda (shortcode [agenda]) */
.agenda-group-header {
  width: 100%;
  border: 0;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.agenda-group.is-collapsed .agenda-items {
  display: none;
}

.agenda-items p {
  margin: 0;
  color: #000;
  font-size: 18px;
  line-height: 30px;
}

.agenda-items a {
  color: var(--color-blue);
  font-size: 20px;
  line-height: 30px;	
  text-decoration: none;
}

.agenda-items a:hover {
  text-decoration: underline;
}

/* Links dentro dos titulos dos cards de lista */
.news-list-card h2 a,
.publication-list-card h2 a {
  color: inherit;
  text-decoration: none;
}

.news-list-card h2 a:hover,
.publication-list-card h2 a:hover {
  text-decoration: underline;
}

.member-card {
  text-decoration: none;
  border-radius: 10px;
}

.member-card.has-image {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);	
}

.member-card.has-image::before {
  content: none;
}

.member-card.has-image h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}


.site-footer {
  display: flex;
  align-items: center;
  min-height: 172px;
  background: var(--color-navy);
  color: #ffffff;
  text-align: center;
}

.site-footer p a {
  margin: 8px 0 0;
  font-size: 1.2rem;
  text-decoration: underline;	
  /*line-height: 32px;*/
}

.site-footer .footer-title {
  margin-top: 0;
  font-size: 30px;
  font-weight: 600;
  margin: 20px !important;	
  font-weight: 700;
}

.site-footer .footer-copy {
  font-size: 1.0rem;
  line-height: 20px;
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .quick-links {
    min-height: auto;
  }

  .news-grid,
  .publication-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .presentation-content {
    min-height: auto;
    padding-bottom: 110px;
  }

  .members-content {
    min-height: auto;
    padding-bottom: 110px;
  }

  .members-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agenda-content {
    min-height: auto;
    padding-bottom: 90px;
  }

  .agenda-items {
    padding-left: 64px;
  }

  .ideas-content {
    min-height: auto;
    padding-bottom: 90px;
  }

  .news-list-content {
    min-height: auto;
    padding-bottom: 90px;
  }

  .news-list-card {
    grid-template-columns: 320px minmax(0, 1fr);
  }

  .publications-list-content {
    min-height: auto;
    padding-bottom: 90px;
  }

  .publications-list-grid {
    grid-template-columns: 1fr;
  }

  .actions-content {
    min-height: auto;
    padding-bottom: 110px;
  }

  .network-action-details {
    padding-left: 64px;
  }

  .history-content {
    min-height: auto;
    padding-bottom: 110px;
  }

  .history-links {
    padding: 24px 0 70px 64px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 1280px);
  }

  .header-content {
    min-height: 150px;
    gap: 20px;
  }

  .brand-logo,
  .custom-logo {
    width: 86px;
    height: 86px;
  }

  .brand-title p {
    font-size: 20px;
    line-height: 27px;
  }

  .nav-content {
    overflow-x: auto;
    gap: 22px;
    padding: 0 2px;
    font-size: 16px;
  }

  .hero-band {
    padding: 32px 0;
  }

  .featured-story,
  .featured-story img {
    min-height: 380px;
    height: 380px;
  }

  .hero-main .banner-image {
    height: 380px;
  }

  .featured-caption {
    min-height: 100px;
    padding: 20px;
  }

  .featured-caption h1 {
    font-size: 22px;
    line-height: 26px;
  }

  .highlight-grid,
  .news-grid,
  .publication-grid {
    grid-template-columns: 1fr;
  }

  .highlight-card {
    min-height: 210px;
  }

  .presentation-content {
    padding: 36px 0 80px;
  }

  .presentation-title {
    margin-bottom: 24px;
    font-size: 28px;
  }

  .objective-box {
    min-height: auto;
    margin-bottom: 36px;
    padding: 28px 24px;
  }

  .objective-box h2,
  .objective-box p,
  .presentation-copy {
    font-size: 18px;
    line-height: 28px;
  }

  .presentation-action {
    width: 100%;
  }

  .members-content {
    padding: 36px 0 80px;
  }

  .members-title {
    margin-bottom: 24px;
    font-size: 28px;
  }

  .members-intro {
    margin-bottom: 32px;
    font-size: 18px;
    line-height: 28px;
  }

  .members-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .member-card {
    min-height: 170px;
  }

  .member-card h2 {
    font-size: 18px;
    line-height: 27px;
  }

  .members-action {
    width: 100%;
  }

  .agenda-content {
    padding: 36px 0 80px;
  }

  .agenda-title {
    margin-bottom: 32px;
    font-size: 28px;
  }

  .agenda-list {
    gap: 26px;
  }

  .agenda-group-header {
    grid-template-columns: 96px minmax(0, 1fr) 42px;
    min-height: 64px;
  }

  .agenda-year,
  .agenda-group-header h2,
  .agenda-item {
    font-size: 16px;
    line-height: 24px;
  }

  .agenda-group-header h2 {
    padding: 0 16px;
  }

  .agenda-items {
    gap: 18px;
    padding: 20px 0 0;
  }

  .ideas-content {
    padding: 36px 0 80px;
  }

  .ideas-title {
    margin-bottom: 32px;
    font-size: 28px;
  }

  .ideas-embed-box {
    min-height: 520px;
    padding: 24px;
    font-size: 18px;
    line-height: 28px;
  }

  .ideas-embed-content iframe {
    min-height: 520px;
  }

  .news-list-content {
    padding: 36px 0 80px;
  }

  .news-list-title {
    margin-bottom: 24px;
  }

  .news-list-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px;
  }

  .news-list-card img {
    height: 210px;
  }

  .news-list-card h2 {
    font-size: 20px;
    line-height: 24px;
  }

  .publications-list-content {
    padding: 36px 0 80px;
  }

  .publications-list-title {
    margin-bottom: 32px;
  }

  .publication-list-card {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 20px;
    min-height: 220px;
    padding: 16px;
  }

  .publication-list-card img,
  .publication-cover-placeholder {
    width: 120px;
    height: 178px;
  }

  .publication-list-card h2 {
    margin-bottom: 14px;
    font-size: 20px;
    line-height: 23px;
  }

  .publication-list-card p {
    font-size: 14px;
    line-height: 21px;
  }

  .actions-content {
    padding: 36px 0 80px;
  }

  .actions-title {
    margin-bottom: 28px;
    font-size: 28px;
  }

  .network-action-header,
  .network-action:nth-child(2) .network-action-header,
  .network-action:nth-child(4) .network-action-header,
  .network-action:nth-child(5) .network-action-header {
    grid-template-columns: 96px minmax(0, 1fr) 42px;
    min-height: 72px;
  }

  .network-action-label,
  .network-action-header h2,
  .network-action-details {
    font-size: 16px;
    line-height: 24px;
  }

  .network-action-header h2 {
    padding: 0 14px;
  }

  .network-action-details {
    padding: 18px 0 8px;
  }

  .history-content {
    padding: 36px 0 80px;
  }

  .history-title {
    margin-bottom: 28px;
    font-size: 28px;
  }

  .history-group-header {
    grid-template-columns: 96px minmax(0, 1fr) 42px;
    min-height: 72px;
  }

  .history-year {
    min-width: 96px;
  }

  .history-year,
  .history-group-header h2,
  .history-links a {
    font-size: 16px;
    line-height: 24px;
  }

  .history-group-header h2 {
    padding: 0 14px;
  }

  .history-links {
    padding: 18px 0 36px;
  }

  .site-footer .footer-title {
    font-size: 24px;
  }

  .site-footer p {
    font-size: 18px;
  }
}

/* -------------------------------------------------------------------------
 * Banner rotativo (shortcode [banners])
 * ---------------------------------------------------------------------- */
.banner-section {
  padding: 32px 0 8px;
}

.banner-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-medium);
}

.banner-viewport {
  overflow: hidden;
}

.banner-track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.5s ease;
}

.banner-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
}

.banner-slide .banner-link {
  display: block;
}

.banner-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.banner-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px 34px;
  background: rgba(0, 0, 0, 0.78);
  color: #ffffff;
  font-size: 24px;
  line-height: 30px;
  font-weight: 600;
}

.banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(33, 46, 70, 0.7);
  color: #ffffff;
  border: 0;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.banner-nav:hover {
  background: var(--color-blue);
}

.banner-prev {
  left: 18px;
}

.banner-next {
  right: 18px;
}

.banner-dots {
  position: absolute;
  right: 0;
  bottom: 78px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.banner-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}

.banner-dot.is-active {
  background: #ffffff;
}

/* Descricao em cards de publicacao (shortcode [publicacoes]) */
.publication-desc {
  margin: 8px 0 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 20px;
}

.highlight-placeholder {
  padding: 16px;
  color: var(--color-navy);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

/* Conteudo de paginas e posts (layout global) */
.entry-title {
  margin: 0 0 18px;
  color: var(--color-navy);
  font-size: 30px;
  line-height: 36px;
}

.entry-meta {
  margin: 0 0 18px;
  color: #6b7280;
  font-size: 14px;
}

.entry-thumbnail {
  margin: 0 0 22px;
}

.entry-thumbnail img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.entry-content {
  font-size: 18px;
  line-height: 30px;
}

.entry-content p {
  margin: 0 0 22px;
}

.entry-content img {
  border-radius: var(--radius);
}

.entry-link {
  margin-top: 26px;
}

.home-content .button-link {

}

/* ==========================================================================
   Menu mobile - override final
   Duplica as regras do menu hamburguer com !important para sobrepor qualquer
   CSS antigo que ainda esteja em cache ou publicado no servidor.
   ========================================================================== */

.nav-toggle {
  display: none !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  padding: 14px 0 !important;
  border: 0 !important;
  background: none !important;
  color: inherit !important;
  font: inherit !important;
  font-size: 17px !important;
  cursor: pointer !important;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block !important;
  width: 24px !important;
  height: 2px !important;
  background: currentColor !important;
  transition: transform 0.2s ease, opacity 0.2s ease !important;
}

.nav-toggle-icon {
  position: relative !important;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
}

.nav-toggle-icon::before {
  top: -7px !important;
}

.nav-toggle-icon::after {
  top: 7px !important;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent !important;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  transform: translateY(7px) rotate(45deg) !important;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  transform: translateY(-7px) rotate(-45deg) !important;
}

@media (max-width: 1200px) {
  body {
    overflow-x: hidden !important;
  }

  .nav-toggle {
    display: flex !important;
  }

  .nav-content {
    display: block !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .primary-menu-wrap {
    display: none !important;
    padding-bottom: 12px !important;
  }

  .primary-menu-wrap.is-open {
    display: block !important;
  }

  .nav-content .primary-menu {
    display: block !important;
    width: 100% !important;
    gap: 0 !important;
  }

  .nav-content .primary-menu > .menu-item {
    display: block !important;
    width: 100% !important;
    border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
  }

  .nav-content .menu-item a {
    padding: 12px 0 !important;
    white-space: normal !important;
  }

  .nav-content .menu-item-has-children > a::after {
    float: right !important;
    margin-top: 10px !important;
  }

  .nav-content .has-submenu > a,
  .nav-content .menu-item-has-children > a {
    padding-left: 12px !important;
    font-weight: 600 !important;
  }

  .nav-content .has-submenu {
    position: static !important;
  }

  .nav-submenu,
  .nav-content .sub-menu {
    display: none !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 8px 0 !important;
    padding: 4px 0 !important;
    overflow: hidden !important;
    list-style: none !important;
    background: rgba(0, 0, 0, 0.16) !important;
    border-radius: var(--radius) !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .nav-content .has-submenu.is-open > .nav-submenu,
  .nav-content .has-submenu.is-open > .sub-menu,
  .nav-content .menu-item-has-children.is-open > .nav-submenu,
  .nav-content .menu-item-has-children.is-open > .sub-menu {
    display: block !important;
  }

  .nav-submenu li,
  .nav-content .sub-menu li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .nav-submenu a,
  .nav-content .sub-menu a {
    padding: 10px 16px 10px 34px !important;
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 22px !important;
    white-space: normal !important;
  }

  .nav-submenu a:hover,
  .nav-content .sub-menu a:hover {
    background: rgba(255, 255, 255, 0.12) !important;
  }
}

@media (max-width: 1200px) {
  .nav-submenu,
  .nav-content .sub-menu {
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    background: rgba(13, 29, 53, 0.42) !important;
  }

  .nav-content .has-submenu:hover > .nav-submenu,
  .nav-content .has-submenu:focus-within > .nav-submenu,
  .nav-content .has-submenu.is-open > .nav-submenu,
  .nav-content .menu-item-has-children:hover > .sub-menu,
  .nav-content .menu-item-has-children:focus-within > .sub-menu,
  .nav-content .menu-item-has-children.is-open > .sub-menu {
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }

  .nav-submenu a,
  .nav-content .sub-menu a {
    display: block !important;
    width: 100% !important;
    color: #ffffff !important;
  }
}

.highlight-card {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 276px !important;
  overflow: hidden !important;
  background: #d9d9d9 !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-soft) !important;
}

.highlight-card::before,
.highlight-card::after {
  content: none !important;
}

.highlight-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

@media (max-width: 760px) {
  .highlight-card {
    height: 210px !important;
  }
}
