/*
	Theme Name: Tema CAU
	Description: Tema institucional desenvolvido para o CAU/BR
	Author: Braso Soluções Tecnológicas
	Author URI: https://braso.com.br
	Version: 1.0
	Requires at least: 6.0
	Tested up to: 6.4
	Requires PHP: 8.0
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: tema-cau
*/

/* General Styles */

@font-face {
        font-family: 'Barlow';
        src: url('/wp-content/themes/tema-cau/includes/fonts/Barlow-Regular.woff2') format('woff2');
        font-weight: normal;
        font-style: normal;
    }

    @font-face {
        font-family: 'Inter';
        src: url('/wp-content/themes/tema-cau/includes/fonts/Inter-VariableFont_slnt,wght.woff2') format('woff2');
        font-weight: normal;
        font-style: normal;
    }

    @font-face {
        font-family: 'Open Sans';
        src: url('/wp-content/themes/tema-cau/includes/fonts/OpenSans-VariableFont_wdth,wght.woff2') format('woff2');
        font-weight: normal;
        font-style: normal;
    }



    body {
        background-color: #f3f3f3;
        overflow-x: hidden;
        margin: 0;

    }

    #content{
        max-width: 1000px;
        margin-top: 2rem;
            background-color: transparent;
    }
    .menu a{
        color: #05949A!important;
        text-decoration: none;
        text-transform: uppercase;
        font-weight: 600;
    }
    .menu > li > ul{
        margin-left: 20px;
    }
    .sub-menu li{
        margin-left: 30px;

    }
    #menu-menu-principal-1 > li > ul{
        margin: 0;
    }
    .botao-siccau{
        background-color: #05949A;
        padding: 8px 15px;
        font-size: 25px;
        display: flex;
        gap: .8rem;
        color: white;
        font-family: 'Roboto Slab', sans-serif;
        font-weight: 600;
        text-decoration: none;
    }
    .logo{
        cursor: pointer;
        margin: 1.5rem 0;
    }
    .siccau{
        display: flex;
        flex-direction: column;
        line-height: 1;
}

    #servico-online{
        font-size: 15px;
    }
    .icone .ti{
        font-size: 30px;
    }
    .busca form > label > input{
        border: none;
        background-color: white;
        padding: 0.5rem;
    }
    .busca .search-submit{
        background: white;
    }
    .busca .ti{
        font-size: 20px;
        color: #8C8F93;
        font-weight: 700;
    }
    .search-field{
        color: #8C8F93;

    }
    .busca .search-form{
        display: flex;
        flex-direction: row-reverse;
    }
    .busca .search-submit{
        border: none;
    }
    .header-search{
        background: white;
        padding: 0.5rem;
    }
    #site-header, #site-footer {
        display: none;
    }

    .content-main {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .space-default{
        margin: 2rem 0;
    }
    .content-width {
        max-width: 1000px;
        min-width: 1000px;
    }

    .top-bar-cau {
        background-color: #05949a;
        padding: 0.5rem;
        display: flex;
        justify-content: space-evenly;
    }

    .cabecalho {
        padding: 1rem 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .atalho-item {
        display: flex;
        gap: 0.1rem;
        align-items: center;
    }

    .atalho-item a {
        color: white;
        font-family: 'Inter', sans-serif;
        text-transform: uppercase;
        font-size: 12px;
        text-decoration: none;
    }

    .atalho-superior {
        display: flex;
        gap: 0.7rem;
    }

    .atalho-superior .ti {
        color: white;
        font-weight: 400;
    }
    .top-bar-items{
        display: flex;
    }

    .redes-sociais ul {
        margin: 0;
        padding: 0;
        display: flex;
        gap: 0.7rem;
    }

    .redes-sociais li {
        list-style: none;
    }

    .redes-sociais .ionicon {
        font-size: 22px;
        color: white;
    }

    .footer .redes-sociais .ionicon {
        font-size: 32px;
    }

    .social-item a {
        color: white;
        font-size: 18px;
    }

    .icone-atalho a {
        font-size: 18px;
    }
    .imagem-destacada img{
        height: 220px;
    }

    .image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


     .title-noticia{
        color: #05949A;
        font-style: normal;
        font-weight: 700;
        font-size: 14px;
        text-transform: uppercase;
        font-family: 'Barlow', sans-serif;
        align-items: self-start;

    }
    .post-category a{
        color: #05949A;
        font-style: normal;
        font-weight: 700;
        font-size: 18px;
        text-transform: uppercase;
        font-family: 'Barlow', sans-serif;
        align-items: self-start;

    }

    .description {
        font-style: normal;
        font-weight: 600;
        font-size: 18px;
        color: #353535;
        line-height: 30px;
        margin-top: 0;
        font-family: 'Barlow', sans-serif;
    }

    .publication-date {
        font-weight: 500;
        font-size: 14px;
        color: #000000;
        font-family: 'Barlow', sans-serif;
        display: flex;
        align-items: center;
        gap: 0.3rem;
    }

    .publication-date ion-icon {
        font-size: 12px;
    }

    .more-info {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .noticia-info {
        padding: 0.7rem;
    }

    .noticias-em-destaque-container {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .noticia-em-destaque-container {
        flex: 1 1 calc(33.333% - 20px);
        box-sizing: border-box;
        cursor: pointer;
        background-color: #ffffff;
        max-width: 330px;
    }

    .title-section {
        font-family: 'Open Sans', sans-serif;
        font-size: 24px;
        text-transform: uppercase;
        color: black;
        font-weight: 500;
    }

    #titulo-cau {
        display: flex;
        align-self: start;
        padding: 2rem 0;
    }

    .item-acesso-rapido {
        width: calc(33.33% - 20px);
        height: 50px;
        border: 1px solid #05949A;
        background: #F3F3F3;
        cursor: pointer;
        display: flex;
        align-items: center;
        transition: all 0.3s ease;
        font-size: 16px;
        font-weight: 600;
        color: black;
        text-transform: uppercase;
        text-align: left;
        margin-bottom: 20px;
        border-radius: 0;
        font-family: 'Barlow', sans-serif;
    }

    .item-acesso-rapido:hover {
        background-color: #05949A;
        color: white;
    }

    .item-acesso-rapido img {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }

    .item-acesso-rapido:hover img {
        content: url('/wp-content/uploads/2024/05/seta-branca-1.svg');
    }

    .container-acesso-rapido {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        font-family: 'Barlow', sans-serif;
    }

    /* Footer Styles */
    #footer, .footer {
        background-color: #434343;
        padding: 2rem 0;
    }

    .columns-footer {
        display: flex;
        gap: 2rem;
        color: white;
        font-family: 'Barlow', sans-serif;
    }

    .titulo-footer {
        font-family: 'Barlow', sans-serif;
        font-size: 22px;
        color: white;
        text-transform: uppercase;
        font-weight: 500;
        margin: 1.5rem 0;
    }

    .escritorio {
        text-transform: uppercase;
        font-size: 20px;
        margin-bottom: 10px;
        font-weight: 700;
        color: #0BB1AA;
        font-family: 'Barlow', sans-serif;
    }

    .endereco {
        margin-bottom: 10px;
        font-weight: 400;
        color: white;
        font-family: 'Barlow', sans-serif;
    }

    .veja-tambem-item {
        min-height: 12rem;
        max-height: 12rem;
        display: flex;
        flex-direction: column;
        background: white;
        align-content: center;
        align-items: center;
        justify-content: center;
        border: 1px solid transparent;
        box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.08);
        cursor: pointer;
        flex: 1 1 calc(20%);
        box-sizing: border-box;
        padding: 1rem;
    }

    .title-veja-tambem {
        font-family: 'Open Sans', sans-serif;
        font-size: 16px;
        text-transform: uppercase;
        padding: 0.5rem;
        text-align: center;
        color: #05949a;
    }

    .veja-tambem-item:hover {
        border: 1px solid #183C4752;
    }

    .veja-mais-itens {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .videos-cau {
        display: flex;
    }

    .tv-cau-item {
        flex: 1 1 calc(20%);
    }

    .title-video {
        font-family: 'Barlow', sans-serif;
        font-size: 18px;
        color: black;
    }

    .acesso-rapido-item {
        flex: 1 1 calc(50% - 10px);
    }

    .veja-tambem-item {
    width: 100%;

    }
    .outras-noticias-container {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .outra-noticia-item {
        background-color: white;
        display: flex;
        cursor: pointer;
        width: calc(50% - 0.5rem);
        height: 120px;
        overflow: hidden;
        box-sizing: border-box;
    }

    .outra-noticia-info {
        padding: 1rem;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background-color: white;

    }


    .imagem-destacada-outrasnoticias {
        width: 140px;
        object-fit: cover;
        background-repeat: no-repeat!important;
        background-size: cover!important;
    }

    .titulo-outras-noticias {
        font-weight: 600;
        font-size: 14px;
        color: #353535;
        font-family: 'Barlow', sans-serif;
    }

    .publication-date ion-icon {
        color: #05949a;
    }
    .menu-principal-container {
        display: flex;
        justify-content: center;
        padding-bottom: 1rem;
    }

    .menu-principal {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        z-index: 9;
        gap: 1rem;
    }

    .menu-principal li {
        position: relative;
    }

    .menu-principal > li > a::after {
        content: "•";
        color: #05949a;
        margin-left: 10px;
    }
    .single-header-cau{
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
    }
    .menu-principal a {
        display: block;
        text-decoration: none;
        color: #333;
        font-family: 'Inter', sans-serif;
        font-size: 13px;
        font-weight: 500;
        text-transform: uppercase;
    }
    .menu-principal a:hover{
        color: #05949a;
    }

    .menu-principal ul.sub-menu {
        display: none;
        position: absolute;
        top: 100%;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        border-radius: 4px;
    }
    ul.sub-menu{
        padding: 0;
    }
    .sub-menu li{
        padding: .5rem;
        font-size: 10px;
    }

    .menu-principal li:hover > ul.sub-menu {
        display: block;
        list-style: none;
        content: "";
    }

    .menu-principal ul.sub-menu li {
        margin: 0;
        width: 200px;
    }

    .menu-principal ul.sub-menu a {
        padding: 0;
        font-size: 12px
    }
    .menu-principal ul.sub-menu a:hover {
        color: #05949a;
    }

    .menu-principal ul.sub-menu ul.sub-menu {
        left: 100%;
        top: 0;
    }

    .menu-principal ul.sub-menu ul.sub-menu ul.sub-menu {
        left: 100%;
        top: 0;
    }
    .menu-toggle, .menu-mobile, .logo-mobile, .slider-mobile, .menu-content, .banner-secundario-mobile {
        display: none;
    }
    .menu-footer-container > ul > li{
        list-style: none;
    }
    #menu-acesso-rapido{
        padding: 0;
    }
    #menu-acesso-rapido li{
        padding: 10px 0;
    }
    .menu-footer a{

        font-size: 16px;
        color: white;
        font-weight: 500;
        text-decoration: underline;
    }


    .page-content{
        color: #353535;
       font-family: 'Barlow', sans-serif;
       font-family: 18px;
       font-weight: 400;
       margin-bottom: 2rem;
    }
    h1, h2, h3, h4, h5, h6{
        color: #353535;
       font-family: 'Barlow', sans-serif;
       font-weight: 500;
    }

    .entry-title{
        color: #353535;
        font-family: 'Barlow', sans-serif;
        font-family: 25px;
        font-weight: 800;
        padding-bottom: 0.5rem;
    }
    .share-itens{
        display: flex;
        gap: .2rem;
        margin-bottom: 1rem;
    }
    .share-itens ion-icon{
        color: white;
        font-size: 20px;
        background-color: #05949A;
        padding: 0.4rem;
        border-radius: 50%;

    }
    .share-buttons{
        display: flex;
        gap: 0.5rem;
    }


    #content p{
        color: #353535;
        font-family: 'Barlow', sans-serif;
        font-family: 14px;
        font-weight: 500;
    }
    #submit{
        background-color: #05949A;
        border: none;
        color: white;
    }



    .post {
        background-color: white;
        padding: 1rem;
        box-sizing: border-box;
    }

    .post .entry-title a {
        font-size: 16px;
        margin: 0;
        padding: 0;
        line-height: 1;
        color: #05949A; /* Cor do título do post */
    }



    .post .wp-post-image {
        height: 200px; /* Altura da imagem destacada */
        width: 100%;
        object-fit: cover;
    }

    .pagination {
        display: flex;
        justify-content: center;
        margin-top: 20px; /* Margem superior para espaçamento */
    }

    .page-numbers {
        display: flex;
        gap: 0.5rem;
    }

    .page-numbers a {
        color: #05949A; /* Cor dos números da página */
    }

    .page-numbers li {
        list-style: none;
    }
    .cau-title{
        padding: 1rem 0;
    }
    .page-header .entry-title{
        padding: 0;
        margin: 0;

    }


    @media (max-width: 1000px) {

            .banner-secundario{
                    display: none;
            }
            .outras-noticias-container{
                    padding: 1rem;
            }

            .cau-title{
                    padding: 1rem;
            }

        .page-header .entry-title{
            padding: 0;
            margin: 0;

        }
        #content{
            max-width: 100%;
        }
        body{
            overflow-x: hidden;
        }
        .header-superior{
            padding: 0;
        }
        .menu-movel{
            display: flex;
            gap: 0.7rem;
            align-items: center;
            justify-content: center;
        }
        .menu-toggle .ti{
            font-size: 30px;
        }
        .cabecalho, .slider-principal{
            display: none;
        }
        .menu-mobile, .logo-mobile, .slider-mobile, .menu-content, .banner-secundario-mobile {
            display: block;
        }
        .menu-toggle {
            display: block;
            cursor: pointer;
        }

        .menu-principal {
            display: none;
        }

        .menu-popup {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 50%;
            height: 50%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1;
        }

        .menu-popup.active {
            display: flex;
            align-items: center;
        }

        .menu-content {
            background-color: #fff;
            padding: 20px;
            border-radius: 8px;
            overflow-y: auto;
            max-width: 80%;
        }

        .close-menu {
            position: absolute;
            top: 500px;
            right: 20px;
            cursor: pointer;
            z-index: 9;
        }
        .close-menu .ti{
            color: red;
        }


        .outra-noticia-item {
            background-color: white;
            display: flex;
            cursor: pointer;
            width: 100%;
            height: 180px;
            overflow: hidden;
        }
        .imagem-destacada-outrasnoticias {
            width: 40%;
            height: 100%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }
        .titulo-outras-noticias{
            font-size: 12px;
        }

        .title-veja-tambem{
            font-size: 14px;
        }
        .outra-noticia-info{
            padding: 0.5rem;
        }

        .veja-mais-itens{
            display: flex;
            flex-direction: row;
            flex: 1 calc(50%);

        }



        .videos-cau {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
                    padding: 1rem;
        }

        .videos {
            width: 100%;
                    padding: 1rem;
        }

        .top-bar-cau {
            display: none;
        }

        .content-width {
            max-width: 100%;
            min-width: 1z00%;
        }

        .noticia-em-destaque-container {
            flex: 1 1 calc(50% - 20px);
            width: 90%;
            max-width: 90%;
            margin: 20px auto;
        }

        .title {
            font-size: 12px;

        }

        .description {
            font-size: 16px;
        }

        .more-info {
            display: flex;
            flex-direction: column;
            align-items: self-start;
            margin-top: 10px;
        }

        .publication-date {
            font-size: 12px;
        }

        .noticia-info {
            padding: 0.5rem;
            align-items: flex-start;
        }

        .columns-footer {
            flex-direction: column;
        }

        .item-acesso-rapido {
            width: calc(50% - 20px);
        }

        #footer, .footer {
            padding: 1rem;
        }

        .item-acesso-rapido {
            font-size: 14px;
        }
    }

    @media (max-width: 480px) {
        .noticia-em-destaque-container {
            flex: 1 1 100%;
        }

        .item-acesso-rapido {
            width: calc(100% - 20px);
        }
    }

    .outra-noticia-item{
	height: 130px;
}

footer{
	width: 100vw;
}
body{
	overflow-x: hidden;
	margin: 0;
}

@media (max-width: 425px) {
    .veja-tambem-item {
        flex-basis: calc(50% - 0.5rem); /* Define a largura base para 50% menos a margem */
        max-width: calc(50% - 0.5rem); /* Define a largura máxima para 50% menos a margem */
    }
}

.menu-mobile{
	display: block;
}

.menu-mobile{

	text-transform: uppercase;
	list-style: none;
	padding: 0;
}
.menu-mobile a {

	text-decoration: none;
    	color: #333;
    	font-size: 13px;
    	font-weight: 500;
    	font-family: 'Inter';
}
.menu-mobile li.menu-item-has-children > a{
  font-weight: bold;
}
.sub-menu li{
	list-style: none;
}
ul.sub-menu{
	background-color: #ffffff;
}
ul.sub-menu li a:hover{
    color: #05949a;
}
.menu-mobile > li > a::before {
    content: "•";
    color: #05949a;
    margin-right: 10px;
}
@media (max-width: 1000px) {
.menu-popup {
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 90%;
    height: 100%;
	display: block;
}

}
.menu-popup {
	display: none;
}

.menu-content {
    overflow-y: auto;
    max-height: 100%;
}
a{
	color: #00707D;
	text-decoration: none;
}
.veja-mais-itens{
	padding: 1rem;
}
.searchform > div > input{
        border: none;
        padding: 0.5rem;
}
#searchsubmit{
        border: none;
        background-color: white;
}

#searchsubmit ion-icon{
        font-size: 18px;
}
.section-title-cau {
        display: flex;
        gap: 1rem;
}