/*
Theme Name: Invent Child
Template: invent
Version: 1.0
*/
/* ========== ESTRUTURA PRINCIPAL ========== */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

#container {
  display: flex;
  flex-direction: column;
  min-height: -webkit-fill-available;
  /* height: 100%; */
}

/* ========== HEADER ========== */

/* Remove o topo do header */
#top-header-area {
  display: none !important;
}

/* Cor de fundo no container (herdado pelo header) */
#container {
  background-color: #0d5e53;
}

.custom-header-inner {
  width: 100%;
}

/* Custom Header Sticky */
#custom-header {
  display: flex;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #0d5e53;
  padding: 1rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.site-branding a img {
  max-height: 100%;
  max-width: 100%;
}
.site-branding {
  top: 0 !important;
  margin: 0 !important;
}
.custom-header-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

/* Logo responsivo */
#site-logo img {
  width: 12vw !important;
}
@media (max-width: 768px) {
  #site-logo img {
    width: 100% !important;
    height: auto !important;
  }
  #custom-header {
    padding: 1rem 0;
    position: relative;
  }
}
#primary-menu {
  margin: 0 !important;
  padding: 0;
}
/* Menu alinhado */
.custom-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* Itens do menu */
.custom-nav .menu {
  display: flex;
  list-style: none;
  gap: 0 !important;
  margin: 0;
  padding: 0;
  align-items: center;
}

.custom-nav .menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.custom-nav .menu li a:hover {
  color: #aad7cd;
}

.faca-parte-highlight > a {
  color: #97d64b !important;
  font-weight: 900 !important;
  text-decoration: underline !important;
}
.entrar-highlight > a {
  border-radius: 9px !important;
  padding: 3px 15px !important;
  line-height: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: auto !important;
  background-color: #ffffff26 !important;
  font-weight: 700 !important;
}
.byline {
  display: none !important;
}

#content {
  margin-top: 0 !important;
}
.site-title {
  margin: 0 !important;
}
/* Mobile */
@media (max-width: 768px) {
  .custom-header-content {
    flex-direction: column;
    align-items: center;
  }

  .custom-nav {
    flex-direction: column;
    gap: 10px;
    margin-top: 1rem;
  }

  .custom-logo img {
    height: 50px;
  }
}

/* Responsivo */
@media (max-width: 768px) {
  .custom-header-content {
    flex-direction: column;
    align-items: center;
  }

  .custom-nav .menu {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .custom-logo img {
    height: 50px;
  }
}

/* ========== CONTEÚDO PRINCIPAL ========== */
#main.site-content {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  flex: 1;
  padding: 20px 0;
}

#main {
  padding-top: 0 !important;
}

/* ========== FOOTER ========== */
#footer-top {
  border: 0 !important;
}

#sidebars-footer {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.site-footer {
  margin-top: auto;
  width: 100%;
  background: #0d5e53;
  color: #fff;
}

/* ========== RESPONSIVIDADE ========== */
@media (max-width: 768px) {
  #container .sticky-wrapper {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 1rem;
  }

  #header {
    padding-left: 0;
    justify-content: center;
    align-items: center;
  }

  #site-logo {
    max-width: 30vh;
  }
}

/* Estiliza o carrossel */
.carousel-cards .number-stat {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  margin: 10px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease;
}

.carousel-cards .number-stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Ícone */
.carousel-cards .icon-wrap {
  font-size: 36px;
  color: #006699;
  margin-bottom: 15px;
}

/* Número */
.carousel-cards .number {
  font-size: 32px;
  font-weight: bold;
  color: #489781;
  margin-bottom: 10px;
}

/* Título */
.carousel-cards .stats-title {
  font-size: 16px;
  font-weight: 500;
  color: #444;
}

/* Texto menor opcional */
.carousel-cards .text {
  font-size: 14px;
  color: #777;
  margin-top: 5px;
}
/* Deixa os logos com tamanho padrão, centralizados */
.partner-logo {
  text-align: center;
  padding: 20px;
}

.partner-logo img {
  max-width: 120px;
  height: auto;
  display: inline-block;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.partner-logo img:hover {
  filter: none;
}

/* Container de cada logo */
.carrossel-partner .partner-logo {
  text-align: center;
  padding: 20px;
}

/* Estilo da imagem do logo */
.carrossel-partner .partner-logo img {
  max-width: 140px;
  height: auto;
  display: inline-block;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

/* Efeito ao passar o mouse */
.carrossel-partner .partner-logo img:hover {
  filter: none;
  transform: scale(1.05);
}

/* Estilo para os blocos de logo dentro do carrossel */
.carrosselpartner-div .partner-logo {
  text-align: center;
  padding: 20px;
}

/* Estilo para as imagens dos logos */
.carrosselpartner-div .partner-logo img {
  max-width: 140px;
  height: auto;
  display: inline-block;
  filter: grayscale(100%);
  transition: all 0.3s ease;
  opacity: 0.8;
}

/* Efeito ao passar o mouse */
.carrosselpartner-div .partner-logo img:hover {
  filter: none;
  transform: scale(1.05);
  opacity: 1;
}

.sow-slider-image-wrapper {
  width: 100% !important;
}

#pg-52-2 {
  margin-bottom: 0px !important;
}
.card-diretoria {
  background-color: #fff; /* fundo branco */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* sombra suave */
  border-radius: 8px; /* bordas arredondadas */
  padding: 20px; /* espaçamento interno */
  transition: box-shadow 0.3s ease;
}

.card-diretoria:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* sombra mais forte no hover */
}
.contato {
  display: flex !important;
  width: 100% !important;
}

/* Estilo normal do botão */
.sow-buttons-grid .sowb-button {
  transition: all 0.3s ease;
  background-color: #fff;
  color: #000;
}

/* Ícones normais */
.sow-buttons-grid .sowb-button .sow-icon-materialicons,
.sow-buttons-grid .sowb-button .sow-icon-fontawesome {
  color: #000;
  transition: color 0.3s ease;
}

/* Texto (dentro do span) */
.sow-buttons-grid .sowb-button span {
  color: inherit;
  transition: color 0.3s ease;
}

/* ESTILO CONCLUÍDO */
.sow-buttons-grid .sowb-button.completed {
  background-color: #28a745 !important; /* verde sucesso */
  color: #fff !important;
}

/* Ícones em modo concluído */
.sow-buttons-grid .sowb-button.completed .sow-icon-materialicons,
.sow-buttons-grid .sowb-button.completed .sow-icon-fontawesome {
  color: #fff !important;
}

/* Texto em modo concluído */
.sow-buttons-grid .sowb-button.completed span {
  color: #fff !important;
}

.so-widget-sow-image-grid {
  display: grid;
  grid-template-columns: repeat(2-fit, 300px); /* Quantas colunas couberem */
  gap: 20px; /* Espaçamento entre as imagens (opcional) */
  justify-content: center; /* Centraliza o grid na horizontal */
}

.sow-image-grid-image {
  width: 300px;
  height: 300px;
  overflow: hidden; /* Garante que a imagem não passe do tamanho */
}

.sow-image-grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Mantém proporção e preenche sem distorcer */
}

.alert-icon a::before {
  content: "\f2c2";
  font-family: "Font Awesome 6 Free", sans-serif;
  font-weight: 400;
  margin-right: 8px;
  vertical-align: middle;
}

/* Aumentar o tamanho do ícone no bloco de estatísticas */
.number-stat .icon-wrap i {
  font-size: 2em !important;
}
#title-area {
  background-color: #489781 !important;
}

.ods-grid-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.ods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  justify-items: center;
}

.ods-item {
  position: relative;
  max-width: 110px;
  transition: all 0.3s ease;
}

.ods-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ods-item.ativa img {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.ods-item:hover {
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .ods-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .ods-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* ========== ESTILOS PARA PROGRAMA FILIAL ========== */

/* Container dos programas */
.programas-container {
  margin: 30px 0;
}

.programas-container h2 {
  color: #0d5e53;
  margin-bottom: 25px;
}

.programa-conteudo-personalizado h3 {
  color: #2c5aa0;
  margin-bottom: 15px;
  font-size: 1.5em;
  border-bottom: 2px solid #489781;
  padding-bottom: 10px;
}

.imagem-personalizada {
  margin: 15px 0;
}

body.custom-target-page .image-area a img {
  height: 260px;
}
.noticias-posts .image-area a img {
  height: 200px !important;
}
.imagem-personalizada img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.resumo-personalizada {
  margin: 15px 0;
  font-style: italic;
  color: #555;
  background: #f0f8ff;
  padding: 12px;
  border-left: 3px solid #489781;
  border-radius: 4px;
}

.conteudo-personalizado {
  margin: 20px 0;
  line-height: 1.6;
}

.programa-ods {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 2px solid #ddd;
}

.programa-ods h4 {
  color: #489781;
  margin-bottom: 15px;
}
.programas-relacionados {
  font-size: 14px;
}

/* Responsividade para programa filial */
@media (max-width: 768px) {
  .programa {
    padding: 15px;
    margin-bottom: 20px;
  }

  .imagem-personalizada img {
    max-width: 100%;
  }

  .programas-container {
    margin: 20px 0;
  }
}

@media (max-width: 480px) {
  .programa-conteudo-personalizado h3 {
    font-size: 1.3em;
  }

  .resumo-personalizada {
    padding: 10px;
  }
}

.entry-title {
  text-align: center !important;
}

article.news,
article.post {
  box-sizing: border-box !important;
  overflow: hidden !important;
  height: 420px !important;
}

.noticias-posts article.news,
article.post {
  box-sizing: border-box !important;
  overflow: hidden !important;
  height: 300px !important;
}
@media (max-width: 768px) {
  article.news,
  article.post {
    min-height: 260px;
    max-height: 420px;
  }
}

@media (max-width: 480px) {
  article.news,
  article.post {
    min-height: 220px;
    max-height: 360px;
  }
}
.fluid-width-video-wrapper {
  padding: 20% !important;
}
.otnotice-sections {
  margin-left: 0px !important;
  margin-right: 0px !important;
}
.contact-form label,
.wpcf7-form label {
  display: block !important;
}
.submit-wrapper {
  display: block !important;
  width: 100% !important;
  margin: 20px auto 0 !important;
  text-align: center !important; /* This is the key */
}

#button-contact {
  display: inline-block !important; /* Make sure it's not full width */
}

.menu-item.current-menu-item > a,
.menu-item.current_page_item > a,
.menu-item.current-menu-ancestor > a,
.menu-item.current-menu-parent > a {
  color: #0caf56 !important;
  font-weight: bold !important;
}

.menu-item :hover {
  color: #0caf56 !important;
  font-weight: bold !important;
}

/* Thumbnails do slider */
.sow-slider-thumbnails {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.sow-slider-thumbnail {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin: 0 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.sow-slider-thumbnail:hover {
  border-color: #489781;
}
#sidebar-primary {
  margin-top: 0px;
}

/* ========== BUSCA DE NOTÍCIAS ========== */
.widget_search {
  margin-bottom: 30px;
}

.widget_search h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
  padding-bottom: 10px;
  border-bottom: 2px solid #339966;
}

.widget_search .search-wrapper {
  display: flex;
  gap: 5px;
}

.widget_search .search-field {
  flex: 1;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.widget_search .search-field:focus {
  outline: none;
  border-color: #339966;
}

.widget_search .search-submit {
  padding: 12px 20px;
  background: #339966;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.widget_search .search-submit:hover {
  background: #2a7d52;
}

.widget_search .search-submit svg {
  width: 20px;
  height: 20px;
}

/* ========== CATEGORIAS DE NOTÍCIAS ========== */
.widget_categories h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
  padding-bottom: 10px;
  border-bottom: 2px solid #339966;
}

.widget_categories ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget_categories .cat-item {
  margin-bottom: 8px;
}

.widget_categories .cat-item a {
  display: block;
  padding: 10px 15px;
  color: #555;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  background: #f5f5f5;
}

.widget_categories .cat-item a:hover {
  background: #339966;
  color: white;
  transform: translateX(5px);
}

.widget_categories .cat-item.current-cat a {
  background: #339966;
  color: white;
  font-weight: 600;
}

/* ========== TÍTULO DE CATEGORIAS ========== */
.tagline {
  text-align: center;
}

.loop-meta .loop-title {
  text-align: center;
}

.loop-meta .inner {
  text-align: center;
}

.loop-meta .inner h2.tagline {
  text-align: center;
}
#corridas-section .panel-grid-cell {
  width: 70%;
  margin: 0 auto;
  position: relative;
  border-radius: 3rem;
  overflow: hidden;
}

#corridas-section .sow-slider-image {
  height: 100% !important;
  min-height: 270px !important;
  background-size: cover !important;
  background-position: right center !important;
  border-radius: 0;
}

/* Estilos para os botões dentro de faca-parte-span */
.faca-parte-span a.sowb-button span {
  display: block;
  text-align: left !important;
  width: 100%;
}
.faca-parte-span .ow-icon-placement-left {
  padding: 4rem !important;
}
.faca-parte-span .sow-icon-fontawesome,
.faca-parte-span .sow-icon-materialicons {
  width: 62px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  font-size: 2.5em !important;
  float: none !important;
}

.faca-parte-span .ow-button-base {
  display: flex;
  justify-content: space-between;
  align-self: center;
}

.otnotice-sections {
  margin-top: 30px;
}
