@charset "UTF-8";
/*
Theme Name: OTCA
Template: salient
customização por Ricardo Campos e Felipe Mota
Version: 1.0
*/

/* Ajustes gerais */
.titulo-amarelo h2,  
.titulo-amarelo h3,
.titulo-amarelo h4,  
.titulo-amarelo h5,
.titulo-amarelo h6 {
  color: #FFEC00;
}

.titulo-verde h2,  
.titulo-verde h3,
.titulo-verde h4,  
.titulo-verde h5,
.titulo-verde h6 {
  color: #2F5649;
}

.titulo-verde-escuro h1,  
.titulo-verde-escuro h2,  
.titulo-verde-escuro h3,
.titulo-verde-escuro h4,  
.titulo-verde-escuro h5,
.titulo-verde-escuro h6 {
  color: #374027;
}

.titulo-marrom h1,  
.titulo-marrom h2,  
.titulo-marrom h3,
.titulo-marrom h4,  
.titulo-marrom h5,
.titulo-marrom h6 {
  color: #59030B;
}

.sombra-texto {
  text-shadow: 0 3px 6px rgba(0,0,0,.3);
}

body #ajax-content-wrap .nectar-post-grid .flickity-page-dots {
  bottom: -30px;
}

.grid-link .nectar-post-grid-wrap[data-style=content_under_image] a {
  pointer-events: none;
}

.cptemplate .nectar-post-grid .nectar-post-grid-item-bg {
  overflow: hidden;
  border-radius: 5px;
}

body .nectar-flickity[data-controls=material_pagination] .flickity-page-dots {
  bottom: -45px;
}

.icones-150px img.img-with-animation {
  min-width: 150px;
  height: auto;
}

body .blog-archive-header {
  display: none;
}

/* body .masonry .posts-container {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

body .masonry .masonry-blog-item {
  position: static !important;
  width: auto;
  height: auto !important;
} */

body .masonry.classic_enhanced .masonry-blog-item .article-content-wrap {
  padding: 32px;
}

body .full-width-section > .col.span_12.dark .nectar-post-grid[data-text-color=dark] .nectar-post-grid-item .content *,
body .full-width-section > .col.span_12.dark .nectar-post-grid[data-text-hover-color=dark] .nectar-post-grid-item:hover .content * {
  color: #374027;
}

/* Texto pequeno */
.texto-p {
  font-size: 14px;
  line-height: 22px;
}

.texto-m {
  font-size: 16px;
  line-height: 24px;
}

/* Menu principal */
body #header-space {
  height: 117px !important;
}

body #header-outer {
  opacity: 1;
  box-shadow: 0 0 6px 0 rgba(0,0,0,.22) !important;
  background-color: #fff;
  filter: none;
}

body #header-outer.small-nav {
  transform: none !important;
}

#header-outer #top nav > ul > li {
  padding-top: 42px;
  transition: padding .3s ease;
}

#header-outer.small-nav #top nav > ul > li {
  padding-top: 0;
}

body #header-outer #top nav > ul > li > a::before {
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
}

body.material[data-header-format="default"] #header-outer[data-has-buttons="yes"]:not([data-format="left-header"]) #top nav >.buttons {
  margin-left: 0;
}

body #header-outer #top nav > ul > #search-btn {
  display: none;
}

@media (min-width: 1000px) {
  body.material #header-outer #top .span_9 nav > ul.sf-menu > li:last-child > a {
    margin-right: -18px;
  }
}

@media (max-width: 999px) {
  body #header-space {
    height: 111px !important;
  }
}

/* Menu do topo */
body #header-outer #header-secondary-outer {
  position: absolute;
  background-color: transparent;
  border-width: 0;
  border-bottom: 1px solid;
  border-image: linear-gradient(to right, transparent 0, transparent 272px, #ddcbad 100%) 1;
}

body #header-outer.small-nav #header-secondary-outer {
  transform: translateY(-42px);
}

body #header-outer.small-nav #logo img {
  height: 57px;
}

body.material #header-secondary-outer nav > ul > li > a {
  padding: 0 10px;
  font-weight: 500;
  text-transform: none;
}

body #header-secondary-outer ul li.lang-item-first {
  margin-left: 30px;
}

body #header-secondary-outer ul li.lang-item-first::before {
  content: "|";
  display: inline-block;
  transform: translate(-15px, 10px);
}

body #header-secondary-outer ul li#search-btn {
  margin-left: 40px;
  line-height: 22px;
}

body #header-secondary-outer ul li#search-btn .icon-salient-search {
  font-size: 16px;
  color: #000;
}

body #header-secondary-outer ul li#search-btn .icon-salient-search:hover {
  color: #59030b;
}

/* Menu mobile */
html body #slide-out-widget-area.slide-out-from-right-hover .inner-wrap>.inner .off-canvas-menu-container li,
html body.material #slide-out-widget-area .mobile-only.off-canvas-menu-container .menu.secondary-header-items li {
  margin-bottom: 20px;
}

@media (min-width: 691px) {
  body #top .mobile-search {
    display: none;
  }

  #header-outer #top .container .span_9 > .slide-out-widget-area-toggle {
    transition: all .3s ease;
  }

  body #header-outer:not(.small-nav) #top .slide-out-widget-area-toggle {
    margin-top: 42px;
  }
}

/* Rodapé */
body .nectar_hook_global_section_footer .bandeiras > .vc_column-inner > .wpb_wrapper {
  justify-content: space-evenly;
}

body .nectar_hook_global_section_footer .row .col h4 {
  color: #4a4c0f;
  text-transform: none;
}

body .nectar_hook_global_section_footer ul.menu {
  margin-left: 0;
}

body .nectar_hook_global_section_footer ul.menu li.menu-item {
  margin-bottom: 5px;
  list-style: none;
}

body .nectar_hook_global_section_footer ul.menu li.menu-item a {
  padding: 5px 0 !important;
  font-size: 16px;
  font-weight: 700;
  color: #374027;
  line-height: 21px;
}

body .nectar_hook_global_section_footer .menu-50 ul.menu {
  display: flex;
  flex-wrap: wrap;
}

body .nectar_hook_global_section_footer .menu-50 ul.menu li.menu-item {
  flex: 1 0 50%;
}

body .nectar_hook_global_section_footer .copyright {
  text-transform: uppercase;
}

@media (max-width: 690px) {
  body .nectar_hook_global_section_footer .menu-50 ul.menu {
    flex-direction: column;
  }
}

/* Titulo com sombra */
.sombra-texto {
  text-shadow: 0 3px 6px rgba(0,0,0,.3);
}

/* Arredonda as imagens de galeria (Flickity) com 10px de radius */
.galeria-arredondada .flickity-slider .cell,
.galeria-arredondada .flickity-slider .cell img {
    border-radius: 10px !important;
    /* Garante que o conteúdo que extrapola o radius do cell seja cortado */
    overflow: hidden !important; 
}

/*
* Quebra de tela para aplicar o estilo em dispositivos móveis e tablets.
* Use 1000px como um breakpoint seguro para o Salient.
*/
@media only screen and (max-width: 1000px) {
    /* Seleciona o elemento de overlay na coluna com a classe 'coluna-abertura' */
    .coluna-abertura .column-overlay-layer {
        /* Aplica o degradê rotacionado: 0deg vai da BASE para o TOPO */
        background: linear-gradient(0deg, rgb(240,230,211) 3%, rgba(240,230,211,0) 14%) !important;
    }
}

/* Blog */
body .masonry.classic_enhanced .masonry-blog-item .inner-wrap {
  border-radius: 10px;
}

body .masonry.classic_enhanced .posts-container .has-post-thumbnail .meta-category a {
  background-color: rgba(0,0,0,.3);
  border-width: 0;
  font-weight: 400;
  text-shadow: 1px 1px 1px #000;
}

body .masonry.classic_enhanced .post-header > span {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 11px;
  font-weight: 400;
  color: #4a4c0f;
  text-transform: uppercase;
  line-height: 16px;
}

body .masonry.classic_enhanced .masonry-blog-item h3.title,
.blog-recent[data-style*=classic_enhanced][data-color-scheme=light] h3.title {
  font-size: 21px;
  font-weight: 700;
  color: #374027;
  line-height: 26px;
}

body .masonry.classic_enhanced .post .excerpt {
  font-size: 18px;
  font-weight: 300;
  color: #464646;
  line-height: 26px;
}

body .related-posts[data-style=material] .inner-wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.blog-recent[data-style=material] .entire-meta-link {
  z-index: 110;
}

.related-posts[data-style=material] .meta-category a,
.blog-recent.related-posts h3.title,
.related-posts[data-style=material] .grav-wrap {
  color: #fff;
}

.related-posts[data-style=material] .meta-category {
  z-index: 111;
  margin-top: 200px;
  padding: 4px 4px 0 30px;
  width: fit-content;
}

.related-posts[data-style=material] .meta-category a {
  font-weight: 700 !important;
}

.related-posts[data-style="material"] .meta-category a::before {
  background-color: #fff !important;
}

body .related-posts[data-style=material] .article-content-wrap {
  position: relative;
  padding-top: 0 !important;
  padding-bottom: 40px !important;
}

.related-posts[data-style=material] .post .img-link {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.related-posts[data-style=material] .post .img-link .post-featured-img {
  border-radius: 20px;
  height: 100%;
}

.related-posts[data-style=material] .post .img-link .post-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.post-area .masonry-blog-item .meta-category {
    line-height: 1.1 !important; 
    /* ESTE É O AJUSTE PARA SEPARAR DO TÍTULO */
    padding-bottom: 1px !important; 
}

.post-area .masonry-blog-item .meta-category a {
    margin-bottom: -7px !important; /* Reduz a margem entre as categorias */
}

/* Linha do tempo */
body .ctl-wrapper i[class*=fa-] {
  top: 0;
}

body .ctl-wrapper .ctl_popup_hide,
body .ctl-wrapper .ctl-horizontal-wrapper :where(.ctl-media, .full-width, .ctl-description) {
  display: block !important;
  background: none;
}

body .ctl-wrapper .cool-timeline-wrapper:not(.ctl-clean-skin) .ctl-description {
  background: none;
  text-align: center;
}

body .ctl-wrapper .ctl-horizontal-timeline .ctl-content,
body .ctl-wrapper .ctl-horizontal-wrapper .ctl-story.odd .ctl-label-big,
body .ctl-wrapper .ctl-horizontal-wrapper .ctl-story.even .ctl-label-big {
  display: none;
}

body .ctl-wrapper .ctl-horizontal-wrapper .ctl_popup_title {
  position: absolute;
  top: -110px;
  left: 50%;
  transform: translateX(-50%);
}

body .ctl-wrapper .ctl-horizontal-wrapper .ctl-story.odd .ctl-description {
  margin-top: 54px;
}
