/**
Theme Name: CCJ Advogados
Author: Agência e-nova
Author URI: https://agenciaenova.com.br
Description: Tema filho para Astra Theme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ccj-advogados
Template: astra
*/

html {
	scroll-padding-top: 150px; 
}

@media screen and (max-width: 480px) {
	html {
		scroll-padding-top: 100px; 
	}
}

/******  LATERAL  *******/

.widget {
	margin: 0 0 2em 0;
}

#secondary li {
	margin-bottom: 1.2em;
	line-height: 1.4em;
}

.widget ul {
	margin: 0;
	list-style-type: square;
	color: #155474;
	list-style-position: inside;
}

/******  CABEÇALHO  *******/

/* Aumenta espessura da linha sobre o menu*/
.ast-desktop .ast-menu-hover-style-overline > .menu-item > .menu-link::before, .ast-desktop .ast-menu-hover-style-underline > .menu-item > .menu-link::before {
	height: 4px;	
}

/* Esconde palavra NAVEGUE em resoluções de tela muito pequenas */
@media screen and (max-width: 420px) {
    [data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-wrap {
        display: none;
    }
}

/* Altera cor de fundo do lado direito do cabeçalho */
.ast-container[data-section="section-primary-header-builder"] .site-header-primary-section-right {
    background-color: #155474;
}

/* Adiciona sombra ao cabeçalho */
.ast-desktop .ast-primary-header-bar.main-header-bar,
.ast-header-break-point #masthead .ast-primary-header-bar.main-header-bar,
#ast-fixed-header .main-header-bar {
	box-shadow: 0 8px 10px 0 rgba(0,0,0,0.2);
}

/* Corrigi cor da fonte no submenu desktop */
.ast-builder-menu-1 .sub-menu .menu-link {	
	color: #155474;	
}

/* Corrigi cor de fundo do container do submenu desktop */
.main-header-menu .sub-menu {	
	background: #f2f2f2;	
}

/* Adiciona efeito de hover no ícone de pesquisa */
.header-cover.astra-search-icon:hover {
	color: #b99b65;
}

/* Corrige cor da barra de pesquisa */
.ast-search-box.header-cover {	
	background: #b99b65f8;	
}
.ast-search-box.full-screen .search-field, 
.ast-search-box.header-cover .search-field {	
	color: #155474;	
}

/******  RODAPÉ  *******/

/* Altera margem dos widgets do rodapé */
footer .widget {
	margin: 0 0 1.5em 0;
}

/* Altera margem dos parágrafos do rodapé */
footer p {
	margin-bottom: 1em;
}

/* Altera cor do link padrão do rodapé */
footer a {
	color: #FFFFFF;
}

/******  BLOG  *******/

/* Adiciona fundo no post em destaque na home */
.elementor-280 .elementor-element.elementor-element-30cfbe0 .uael-post-wrapper-featured .uael-post__content-wrap {	
	background: #B99B65E0;	
}

.single-post .entry-content h2 {
	font-size: 32px;	
}

.wp-caption-text {	
	font-size: 16px;
	font-style: italic;
	color: #666666;
}

/******  SLIDER  *******/

/* Corrige tamanho da fonte no mobile (Pelo Elementor não aplica valor definido) */
@media screen and (max-width: 767px) {
	.elementor-280 .elementor-element.elementor-element-7834c83 .elementor-slide-description {
		font-size: 28px;
		font-weight: 700;
		line-height: 36px;
	}
}

/******  RANK MATH BREADCRUMBS  *******/

.entry-content .rank-math-breadcrumb  p,
.entry-content .rank-math-breadcrumb  a {
	margin-bottom: 0;
	color: #FFFFFF;
	font-size: 18px;
	text-decoration: none;
}

.entry-content .rank-math-breadcrumb  a:hover {
	text-decoration: underline;
}