/*
Theme Name: Big Dados Twenty Twenty-Five Child
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Description: Twenty Twenty-Five Child Theme
Author: Claudinei de Camargo
Author URI: https://wordpress.org
Template: twentytwentyfive
Version: 1.3
*/
/*********************************************/
/* Geral                                     */
/*********************************************/
html {
  scroll-behavior: smooth;
}

p strong,
p b,
li strong,
li b,
a strong,
a b,
td strong,
td b {
    font-weight: 550;
}

.post-template-default .wp-block-post-content {
	padding-left:10% !important;
	padding-right:10% !important;
}
.post-template-default p {
	font-size: var(--wp--preset--font-size--medium) !important;
	line-height:1.8rem;
}

:is(.search-results, .category, .tag) .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

:is(.search-results, .category, .tag) .is-layout-constrained > .alignwide {
  max-width: 100% !important;
}

/* Corrige o footer sem afetar o restante da página */
:is(.search-results, .category, .tag) footer .is-layout-constrained > .alignwide {
  max-width: var(--wp--style--global--wide-size, 1200px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/*********************************************/
/** Menu Top                                 */
/********************************************/
header .menutopo {
	padding-bottom:10px !important;
	padding-top:10px !important;
}

header .menutopo li a {
  font-size: 0.9em;
  font-weight: bold;
  color: #585858 !important;
}

/* "BIG" estilizado */
header .homebig a {
  background-color: #3a85c6;
  padding: 2px 8px;
  transform: skewX(-15deg);
  display: inline-block;
  margin-left:-10px !important;

}

header .homebig a span {
  color: #fff !important;	
  font-size: 1rem; 
  font-weight: bold;
}

header .homebig a:hover { 
  background-color: #f2b15d;
}

/** Item home */
header .itemhome a span { 
 color: #3a85c6;
 font-size: 1rem; 
 font-weight: bold;
}

header .itemhome a { 
 margin-left:-7px !important;
}


/* cor da imagem destaque */
header .wp-block-cover {
	background-color:#000;
}

header .wp-block-navigation-item a {
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

header .wp-block-navigation-item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: #3a85c6;
  transition: width 0.3s ease;
}

header .wp-block-navigation-item a:hover {
  color: #3a85c6 !important;
}

header .wp-block-navigation-item a:hover::after {
  width: 100%;
}

.wp-block-navigation__responsive-container.is-menu-open {
	max-height:350px;
}

/*********************************************/
/* Estilo do campo de busca                 */
/********************************************/
/* Limita largura */
.wp-block-search {
    max-width: 500px;
}

/* Wrapper do campo e botão */
.wp-block-search__inside-wrapper {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 20px;
    overflow: hidden;
    height: 28px;
    background: #fff;
}

/* Campo de texto */
.wp-block-search__input {
    flex: 1;
    border: none;          
    outline: none;
    font-size: 13px;
    padding: 0 8px;
    height: 100%;
}

/* Placeholder */
.wp-block-search__input::placeholder {
    color: #bbb;
    font-style: italic;
}

/* Botão de busca */
.wp-block-search__button {
    background: #347EBF !important;
    border: none !important;
    border-radius: 0 20px 20px 0 !important; 
    padding: 0 12px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Ícone de lupa no botão */
.wp-block-search__button::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398l3.85 3.85a1 1 0 0 0 1.415-1.415l-3.85-3.85zm-5.242 1.156a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E")!important;
}

/* Remove texto do botão */
.wp-block-search__button {
    font-size: 0 !important;
}

/*********************************************************/
/* Tags banner header                                    */
/********************************************************/
.taxonomy-post_tag a {
	border:1px solid rgba(255, 255, 255, 0.7) !important;
}

/* =========================================================
   MENU LATERAL SATÉLITES
   ========================================================= */

/* Container principal */
.menu-lateral-satelites {
    background: #fff;
    padding: 0 15px;
	font-size: 15px;
    line-height: 1.6;
}

/* Títulos */
.menu-lateral-satelites p strong {
    color: #347ebf;
    font-size: 18px;
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
}

/* Títulos */
.menu-lateral-satelites p strong a {
	text-decoration:none;
}

/* Lista */
.menu-lateral-satelites ul.wp-block-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

/*Estilo para li sem link */
.menu-lateral-satelites ul li:not(:has(a)) {
  color: #9aa0a6;        
  opacity: 0.7;
  list-style-type: none; 
}

/* Links da lista */
.menu-lateral-satelites ul.wp-block-list li a {
    color: #333;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    transition: color 0.2s ease, transform 0.2s ease;
}

/* Links padrão */
.menu-lateral-satelites ul.wp-block-list li a {
  position: relative;
  display: inline-block;         /* necessário para o ::after respeitar o texto */
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* Linha animada */
.menu-lateral-satelites ul.wp-block-list li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;                  /* distancia da linha para o texto */
  width: 0;
  height: 2px;
  background-color: #347ebf;
  transition: width 0.3s ease;
}

/* Hover */
.menu-lateral-satelites ul.wp-block-list li a:hover {
  color: #0066cc;                /* muda a cor do texto */
  font-weight:600;
}

.menu-lateral-satelites ul.wp-block-list li a:hover::after {
  width: 100%;                   /* a linha cresce da esquerda para direita */
}


/* =========================================================
   DESKTOP
   ========================================================= */

/* Esconder botão abrir no desktop */
@media (min-width: 769px) {
    .menu-toggle {
        display: none !important;
    }
}

/* Esconder botão fechar no desktop */
@media (min-width: 769px) {
    .menu-close {
        display: none !important;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 768px) {

    /* Menu lateral fixo escondido inicialmente */
    .menu-lateral-satelites {
        position: fixed;
        top: 0;
        left: -350px;
        width: 250px;
        height: 100%;
        background: white;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
        padding: 20px;
        overflow-y: auto;
        transition: left 0.3s ease;
        z-index: 9999;
    }

    /* Menu ativo visível */
    .menu-lateral-satelites.active {
        left: 0;
    }

    /* Botão abrir */
    .menu-toggle {
     margin-top:10px !important;
	 margin-bottom:10px !important;
    }

    /* Botão fechar */
    .menu-close {
        display: block !important;
        position: absolute;
        top: 10px !important;
        right: 10px !important;
        background: transparent !important;
        color: #333 !important;
        border: none;
        font-size: 28px !important;
        cursor: pointer;
        z-index: 2001;
        line-height: 1 !important;
    }
}


/***************************************************/
/* Cards horizontal pagina home                    */
/***************************************************/
/* Estrutura principal */
.post-horizontal li {
  width:95%;
  min-height:200px;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  margin: 18px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  cursor: pointer; 
}

.post-horizontal li a {
	text-decoration:none;
}

/* Imagem sempre na esquerda */
.post-horizontal .wp-block-latest-posts__featured-image {
  border-radius: 12px !important;
  overflow: hidden;

}
.post-horizontal .wp-block-latest-posts__featured-image img {
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease;
  max-width:350px;
  min-height:200px;
}

/* Título */
.post-horizontal .wp-block-latest-posts__post-title {
  font-size: 1.1rem !important;
  font-weight: 700;
  color: #347EBF;  
}
.post-horizontal .wp-block-latest-posts__post-title:hover {
  color: #2565a5 !important;
}

/* Texto */
.post-horizontal .wp-block-latest-posts__post-excerpt {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
  margin:10px;
  text-align: justify;
}

/* Hover  */
.post-horizontal li:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.post-horizontal li:hover .wp-block-latest-posts__featured-image img {
  transform: scale(1.05);
}

.post-horizontal .wp-block-latest-posts__featured-image a {
  display:block !important;
} 

/* Cria um link que cobre todo o card */
.wp-block-latest-posts__list li::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
}

/* Leia mais */
.wp-block-latest-posts__post-excerpt a {
  
  color: #347EBF !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none; 
}



/* Mobile card*/
@media (max-width: 768px) {
  .post-horizontal .wp-block-latest-posts__featured-image {
    max-width: 100% !important;
    height: 160px;
	margin-bottom:10px;
  }
	
.post-horizontal .wp-block-latest-posts__post-title {
  margin-left:10px !important;
}

/* Texto */
.post-horizontal .wp-block-latest-posts__post-excerpt {
 margin-top:10px;
}
}

/***************************************************/
/* Cards horizontal pagina de Busca                   */
/***************************************************/
/* Estrutura principal */
.postbusca li {
  width:95%;
  min-height:200px;
  background: #fff;
  border-radius: 12px;
  padding: 0.5rem 1rem 0.5rem 1rem !important;
  margin: 18px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.postbusca .wp-block-columns {
	border-top:0px !important;
	padding:0px !important;
}

.postbusca .wp-block-post-title {
 font-size: 1.1rem !important;
  font-weight: 700;
  color: #347EBF; 
}

/* Texto */
.postbusca .wp-block-post-excerpt__excerpt {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
  text-align: justify;
 margin-right:15px;
}
.postbusca .wp-block-read-more {
	color: #347EBF !important;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.postbusca .wp-block-post-featured-image {	
   aspect-ratio: auto !important;	
}
.postbusca .wp-block-post-featured-image img {
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease;
  max-width:450px;
  min-height:200px !important;
}

.postbusca .wp-block-latest-posts__featured-image a {
  display:block !important;
} 


/* Leia mais */
.postbusca .wp-block-latest-posts__post-excerpt a {
  color: #347EBF !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none; 
}

.postbusca :where(.wp-block-columns) {
  margin-bottom: 0.5rem !important;
}


/*********************************************/
/* Slider                                    */
/********************************************/
/* ==== Container do slider (largura máxima) ==== */
.wp-block-getwid-images-slider {
  max-width: 903px !important;
  margin: 0 auto !important; /* centraliza na página */
  position: relative;
}

/* ==== Estrutura geral ==== */
.wp-block-getwid-images-slider__item {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  position: relative;
}

/* Imagem ocupa toda a largura do container */
.wp-block-getwid-images-slider__image {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* ==== Legenda (tarja preta) ==== */
.wp-block-getwid-images-slider__caption {
  order: 2 !important; /* sempre depois da imagem */
  width: 100% !important;
  background: rgba(0,0,0,0.85) !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  padding: 12px 15px !important;
  text-align: center !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* ==== Setas de navegação ==== */
.slick-prev,
.slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.slick-prev:hover,
.slick-next:hover {
  background: rgba(0,0,0,0.9);
}

.slick-prev {
  left: 15px;
}
.slick-next {
  right: 15px;
}

/* Ícones das setas em branco */
.slick-prev:before,
.slick-next:before {
  color: #fff;
  font-size: 26px;
  opacity: 1;
}

/* ==== Bolinhas de navegação ==== */
.slick-dots {
  bottom: 75px !important; /* abaixo da legenda */
}
.slick-dots li button:before {
  font-size: 12px;
  color: #999;
}
.slick-dots li.slick-active button:before {
  color: #fff;
}


/**************************************************/
/* Cobertura cover                                */
/*************************************************/
 .wp-block-cover {
  width: 100vw !important;    
  max-width: 100vw !important;  
  margin-left: calc(50% - 50vw); 
  margin-right: calc(50% - 50vw);
}

.wp-block-cover__inner-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/****************************************************************/
/*    Libera a largura das tabelas dentro cover/group          */
/**************************************************************/
.is-layout-constrained .wp-block-table {
  max-width: none !important;
  width: fit-content !important;
  table-layout: auto !important;
}


.is-layout-constrained .wp-block-table {
  overflow-x: auto;
}

/* responsividade */
.is-layout-constrained .wp-block-table table {
  max-width: 100%;
}


/*******************************************/
/*    Galeria de Imagens                   */
/******************************************/

/* Garante que cada figure é coluna: imagem em cima, legenda embaixo */
.wp-block-gallery figure {
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  overflow: hidden;
}

/* Imagem visível normalmente */
.wp-block-gallery figure img {
  display: block !important;
  position: relative !important;
  z-index: 1 !important; 
  width: 100% !important;
  height: auto !important;
}

/* Legenda abaixo da imagem (não sobreposta) */
.wp-block-gallery figure figcaption {
  position: relative !important; 
  z-index: 2 !important;
  background: #222 !important;
  color: #fff !important;
  margin: 0 !important;
  padding: 10px !important;
  text-align: center !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  min-height: 100px !important; 
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-height:120px !important;
  min-height:120px !important;
}

/**********************************************************/
/* Estilo Navegacao entre posts no final da pagina        */
/**********************************************************/

/* Container geral de navegação */
nav[aria-label="Posts"] {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 2rem 0;
}

/* Blocos anteriores e próximos */
.wp-block-post-navigation-link {
  flex: 0 1 32%;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Link de navegação */
.wp-block-post-navigation-link a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 500;
  transition: color 0.2s ease;
  display: inline-block;
}

.wp-block-post-navigation-link a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Label (Anterior / Próximo) */
.post-navigation-link__label {
  display: block;
  color: #666;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

/* Seta antes e depois do link */
.wp-block-post-navigation-link__arrow-previous,
.wp-block-post-navigation-link__arrow-next {
  font-size: 1rem;
  color: #999;
  margin: 0 0.5rem;
  vertical-align: middle;
}


.post-navigation-link-previous {
  margin-left: 16% !important;
}


/**********************************************/
/* Estilo da Tabela                           */
/**********************************************/
  .tabelaclean table {
    border-collapse: collapse;
    background-color: #fff;
	width:100% !important;
  }

  .tabelaclean thead {
    background-color: #004466;
    color: white;
  }

  .tabelaclean th,
  .tabelaclean td {
    padding: 10px 14px;
    border: 1px solid #ddd;
    vertical-align:middle;
  }

  .tabelaclean tr:nth-child(even) {
    background-color: #f9f9f9;
  }

  .tabelaclean tbody tr:hover {
    background-color: #f1f1f1;
  }

  .tabelaclean thead tr:nth-of-type(2) th {
    color: #004466;
	border-bottom: 3px solid #004466; 
  }

 
/**************************************/
/* Box Branco                         */
/**************************************/
.boxbranco {
  padding:15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


/******************************************************/
/*  Box default com imagem                            */
/******************************************************/
.boxcomimg {
  display: flex;
  flex-wrap: wrap;
  gap: 24px; /* espaçamento entre os cards */
  justify-content: center;
  margin: 30px 0;
}

.boxcomimg .wp-block-column {
  flex: 1 1 320px; /* largura mínima */
  max-width: 400px; /* largura máxima */
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.boxcomimg .wp-block-column:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.boxcomimg img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 12px;
}

.boxcomimg h2 {
  font-size: 20px;
  color: #004080; /* azul forte */
  margin: 10px 0;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.boxcomimg p {
  margin:15px;
  line-height: 1.4;
  color: #333;
}

.boxcomimg a {
  color: #004080;
  text-decoration: none;
  font-weight: bold;
}

.boxcomimg a:hover {
  text-decoration: underline;
}

.boxcomimg .wp-block-getwid-button-group {
	margin:15px;
}
/**********************************************/
/* Rodape                                     */
/*********************************************/
.is-layout-constrained > * {
  margin-block-start: 0 !important;
}

.wp-site-blocks > * {
  margin-block-start: 0 !important;
}

/***************************************************/
/* Iframes                                         */
/**************************************************/
.containeriframe {
  display: flex;
  justify-content: center; 
}














