/*
Theme Name: TechTalks Twenty Twenty-Four Child
Theme URI: https://wordpress.org/themes/twentytwentyfour/
Description: Twenty Twenty-Four Child Theme
Author: Claudinei de Camargo
Author URI: https://wordpress.org
Template: twentytwentyfour
Version: 1.3
*/

/*********************************************/
/** Menu Top                                 */
/********************************************/
header .menutopo {
	padding-bottom:5px !important;
	padding-top:5px !important;
}

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

/* "BIG" estilizado */
header .homebig a {
  background-color: #3a85c6;
  padding: 0px 8px !important;
  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  { 
 color: #3a85c6 !important;
 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%;
}

header .pesquisa { margin-left:50%; padding:0px;}
header .pesquisa .wp-block-search__button {padding:0px 8px 0px 8px !important;}

/*********************************************/
/** Estilo Cards de categoria                */
/********************************************/

/* Container dos cards */
.category .wp-block-post-template {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 2rem;
}

/* Cada card */
.category .wp-block-post {
  flex: 1 1 350px;
  max-width: 380px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category .wp-block-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}

/* Imagem do post */
.category .wp-block-post-featured-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* Título do post */
.category .wp-block-post-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 1rem 1rem 0.5rem;
  color: #222;
  line-height: 1.4;
}

/* Data */
.category .wp-block-post-date {
  font-size: 0.85rem;
  color: #888;
  margin: 0 1rem 1rem;
}

/* Excerpt */
.category .wp-block-post-excerpt {
  font-size: 1rem;
  color: #444;
  margin: 0 1rem 1.5rem;
  line-height: 1.6;
}

/* Remover tags/categorias dentro do card */
.category .wp-block-post-terms {
  display: none;
}

/* Título da seção */
.category .wp-block-query-title {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
}

.category .wp-block-post-title :where(a) {
  font-size: 1.5rem;
}

/****************************************/
/* Estilo lista post horizontal home */
/*****************************************/

/* Container da lista de posts */
.lista-episodios .wp-block-post-template {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Cada post em estilo agenda */
.lista-episodios .wp-block-post {
  display: flex;
  align-items: center;
  background-color: #ffffff; /* fundo branco */
  border-left: 5px solid #f99b1c; /* laranja do evento */
  padding: 1.25rem 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06); /* sombra leve */
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.lista-episodios .wp-block-post:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Data do post */
.lista-episodios .wp-block-post-date {
  width: 160px;
  flex-shrink: 0;
  font-weight: bold;
  color: #002855; /* azul escuro */
  font-size: 0.95rem;
}

/* Título do post */
.lista-episodios .wp-block-post-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #002855;
  margin: 0;
}

.lista-episodios .wp-block-post-title a {
  text-decoration: none;
  color: inherit;
}

.lista-episodios .wp-block-post-title a:hover {
  color: #0056a3; /* azul médio no hover */
}

.lista-episodios .wp-block-post-excerpt,
.wp-block-post-terms,
.wp-block-post-author {
  color: #666;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.lista-episodios .wp-block-separator.alignwide.is-style-wide {
  margin-left: 0;
  margin-right: 0;
}

.lista-episodios .wp-block-group {
	text-align:left !important;
}



.lista-episodios .wp-block-post-template .post-card-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lista-episodios .wp-block-post-template .post-title {
  flex: 1;
  font-weight: 700;
  color: #002e6d;
}

.lista-episodios .wp-block-post-template .post-meta {
  text-align: right;
  min-width: 160px;
  color: #666;
  font-size: 0.9rem;
}

/**********************************************************/
/* 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: 1 1 45%;
  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;
}
/**************************************/
/** Cards do sidebar                 **/
/*************************************/
/* Uma coluna apenas */
.wp-block-latest-posts {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0;
  list-style: none;
}

/* Estilo visual de card */
.wp-block-latest-posts li {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Efeito ao passar o mouse */
.wp-block-latest-posts li:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Imagem destacada */
.wp-block-latest-posts__featured-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Título do post */
.wp-block-latest-posts__post-title {
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem;
  line-height: 1.4;
  color: #1a1a1a;
  text-decoration: none;
  display: block;
}

/* Hover no título */
.wp-block-latest-posts__post-title:hover {
  color: #005d91;
  text-decoration: underline;
}
/**********************************************/
/* Estilo da Tabela                           */
/**********************************************/
  .tabelaclean table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
  }

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

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

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

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

/**********************************************/
/* Carrocel de noticias                       */
/*********************************************/

/* Estilo base dos cards */
.blococarrocelnoticias .slick-slide {
  background-color: #fff !important;
  margin: 10px !important;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Animação ao passar o mouse */
.blococarrocelnoticias .slick-slide:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Área de conteúdo do card */
.blococarrocelnoticias .wp-block-getwid-post-carousel__post-content-wrapper {
  padding: 20px;
  transition: color 0.3s ease;
}

/* Título do post */
.blococarrocelnoticias .wp-block-getwid-post-carousel__post-title {
  font-weight: 600;
  color: #181818;
  transition: color 0.3s ease;
}

/* Link geral */
.blococarrocelnoticias .wp-block-getwid-post-carousel__post-content-wrapper a {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Hover nos links */
.blococarrocelnoticias .wp-block-getwid-post-carousel__post-content-wrapper a:hover {
  color: #ffb357;
}

/* Texto do resumo */
.blococarrocelnoticias .wp-block-getwid-post-carousel__post-excerpt p {
  color: #333333 !important;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5em;
  transition: color 0.3s ease;
}

.slick-dots button:hover {
	color:#ffb357 !important;
}
.wp-block-getwid-post-carousel__post-thumbnail { 
	padding-top: 55%;
}


/**********************************************/
/* Rodape                                     */
/*********************************************/
.is-layout-constrained > * {
  margin-block-start: 0 !important;
}

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