/*
	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;
}
:root {
  --main-color: #00707d;
  --secondary-color: #05949a;
  --white: white;
  --black: black;
  --text: #353535;
  --background-color: #f3f3f3;
}
.page-content a,
.comments-area a {
  text-decoration: underline;
}

.alignright {
  float: right;
  margin-left: 1rem;
}

.alignleft {
  float: left;
  margin-right: 1rem;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignwide {
  margin-left: -80px;
  margin-right: -80px;
}

.alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
}
.alignfull img {
  width: 100vw;
}

.wp-caption {
  margin-bottom: 1.25rem;
  max-width: 100%;
}
.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}
.wp-caption img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption-text {
  margin: 0;
}

.gallery-caption {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.5;
  margin: 0;
  padding: 0.75rem;
}

body {
  background-color: var(--background-color);
  overflow-x: hidden;
  margin: 0;
}

#content {
  max-width: 1000px;
  margin-top: 2rem;
  background-color: transparent;
}
.menu a {
  color: var(--main-color) !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: var(--main-color);
  padding: 8px 15px;
  font-size: 25px;
  display: flex;
  gap: 0.8rem;
  color: var(--white);
  font-family: "Roboto Slab", sans-serif;
  font-weight: 600;
  text-decoration: none;
  justify-content: center;
  align-content: center;
}
.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: var(--white);
  padding: 0.5rem;
}
.busca .search-submit {
  background: var(--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: var(--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: var(--main-color);
  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: var(--white);
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  font-size: 12px;
  text-decoration: none;
}

.atalho-superior {
  display: flex;
  gap: 0.7rem;
}
.icone-atalho ion-icon {
  color: var(--white);
}

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

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

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

.footer .redes-sociais .ionicon {
  font-size: 32px;
}
.footer {
  margin-top: 2rem;
}

.social-item a {
  color: var(--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: var(--main-color);
  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: var(--main-color);
  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: var(--text);
  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: var(--white);
  max-width: 330px;
}

.title-section {
  font-family: "Open Sans", sans-serif;
  font-size: 24px;
  text-transform: uppercase;
  color: var(--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 var(--main-color);
  background: #f3f3f3;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  text-align: left;
  margin-bottom: 0.5rem;
  font-family: "Barlow", sans-serif;
}

.item-acesso-rapido:hover {
  background-color: var(--main-color);
  color: var(--white);
}

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

.item-acesso-rapido:hover img {
  content: url("http://www.caumt.gov.br/wp-content/uploads/2024/05/seta-branca-1.svg");
}

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

/* Footer Styles */
#footer,
.footer {
  background-color: var(--text);
  padding: 2rem 0;
}

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

.titulo-footer {
  font-family: "Barlow", sans-serif;
  font-size: 22px;
  color: var(--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: var(--secondary-color);
  font-family: "Barlow", sans-serif;
}

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

.veja-tambem-item {
  min-height: 12rem;
  max-height: 12rem;
  display: flex;
  flex-direction: column;
  background: var(--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: var(--main-color);
}

.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: var(--black);
}

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

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

.outra-noticia-item {
  background-color: var(--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: var(--white);
}

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

.titulo-outras-noticias {
  font-weight: 600 !important;
  font-size: 14px;
  color: var(--text);
  font-family: "Barlow", sans-serif;
}

.publication-date ion-icon {
  color: var(--main-color);
}
.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;
  width: 100%;
}

.menu-principal li {
  position: relative;
}

.menu-principal > li > a::after {
  content: "•";
  color: var(--main-color);
  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: var(--main-color);
}

.menu-principal ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}
ul.sub-menu {
  padding: 0;
}
.sub-menu li {
  padding: 0.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: var(--main-color);
}

.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,
.menu-content {
  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: var(--white);
  font-weight: 500;
  text-decoration: underline;
}

.page-content {
  color: var(--text);
  font-family: "Barlow", sans-serif;
  font-family: 18px;
  font-weight: 400;
  margin-bottom: 2rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text);
  font-family: "Barlow", sans-serif;
  font-weight: 500;
}

.entry-title {
  color: var(--text);
  font-family: "Barlow", sans-serif;
  font-family: 25px;
  font-weight: 800;
  padding-bottom: 0.5rem;
}
.share-itens {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}
.share-itens ion-icon {
  color: var(--white);
  font-size: 20px;
  background-color: var(--main-color);
  padding: 0.4rem;
  border-radius: 50%;
}
.share-buttons {
  display: flex;
  gap: 0.5rem;
}

#content p {
  color: var(--text);
  font-family: "Barlow", sans-serif;
  font-family: 14px;
  font-weight: 500;
}
#submit {
  background-color: var(--main-color);
  border: none;
  color: var(--white);
  padding: 0.5rem;
}

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

.post .entry-title a {
  font-size: 16px;
  margin: 0;
  padding: 0;
  line-height: 1;
  color: var(--main-color);
}

.post .wp-post-image {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

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

.page-numbers a {
  color: var(--main-color);
}

.page-numbers li {
  list-style: none;
}

.page-header .entry-title {
  padding: 0;
  margin: 0;
}
.outra-noticia-item {
  height: 130px;
}

footer {
  width: 100vw;
}
body {
  overflow-x: hidden;
  margin: 0;
}
.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: var(--white);
}
ul.sub-menu li a:hover {
  color: var(--main-color);
}
.menu-mobile > li > a::before {
  content: "•";
  color: var(--main-color);
  margin-right: 10px;
}
.menu-popup {
  display: none;
}

.menu-content {
  overflow-y: auto;
  max-height: 100%;
}
a {
  color: var(--secondary-color);
  text-decoration: none;
}

.searchform > div > input {
  border: none;
  padding: 0.5rem;
}
#searchsubmit {
  border: none;
  background-color: var(--white);
}

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

.pagination-container {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.page-numbers {
  padding: 0.5rem;
  text-decoration: none;
  color: #000;
  align-items: center;
  font-family: "Barlow", sans-serif;
}

.pagination-container .page-numbers.current {
  background-color: var(--main-color);
  color: var(--white);
}

.pagination-container .page-numbers.current {
  border: solid 1px var(--main-color);
  color: var(--white);
}

.filter-container {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.filter-container label {
  margin-right: 0.5rem;
}

#category-filter,
#date-filter {
  max-width: 300px;
  border: none;
  font-family: "Barlow", sans-serif;
  font-weight: 500;
}

#category-filter option,
.filter-container {
  font-family: "Barlow", sans-serif;
  font-weight: 500;
}
.redes-sociais ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  gap: 15px;
}

.redes-sociais .social-item {
  display: flex;
  align-items: center;
}

.redes-sociais a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--white);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.alignleft {
  float: left;
  margin-right: 20px;
}

.alignright {
  float: right;
  margin-left: 20px;
}

.aligncenter {
  display: block;
  margin-left: 30rem;
  margin-right: auto;
}

.alignjustify {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

.sub-menu li {
  font-size: 14px;
}
.comment-form-comment {
  display: flex;
  flex-direction: column;
}
#content {
  max-width: 1000px;
  min-width: 1000px;
}

.page-content > div > ul > li > .sub-menu {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.cau-title {
  padding: 1rem 0;
}

.slider-mobile {
  display: none;
}
@media (max-width: 1000px) {
  .container-acesso-rapido {
    padding: 1rem;
  }
  .slider-principal {
    display: none !important;
  }
  .cau-title {
    padding: 1rem;
  }
  .filter-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  #category-filter,
  #date-filter {
    max-width: 100%;
    border: none;
    font-family: "Barlow", sans-serif;
    font-weight: 500;
  }
  .outra-noticia-item {
    height: 160px;
  }
  .menu-popup {
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 90%;
    height: 100%;
    display: block;
  }
  .veja-mais-itens,
  .outras-noticias-container {
    padding: 1rem;
  }

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

  .page-header .entry-title {
    padding: 0;
    margin: 0;
    font-size: 24px;
  }
  #content {
    max-width: 100% !important;
    min-width: 100% !important;
    padding: 1rem;
  }
  .article {
    padding: 1rem;
  }
  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 {
    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: 80%;
    height: 100%;
    z-index: 1;
  }

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

  .menu-content {
    background-color: var(--white);
    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: var(--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;
  }

  .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: 100%;
  }

  .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) {
  .slider-principal {
    display: none;
  }
  .slider-mobile {
    display: block;
  }
  .veja-tambem-item {
    flex: 1 1 calc(40%);
  }
  .container-acesso-rapido {
    padding: 1rem;
  }
  .noticia-em-destaque-container {
    flex: 1 1 100%;
  }

  .item-acesso-rapido {
    width: 100%;
  }
}
