/* BLOG POST */
* {
  font-family: 'Lato';
}

.container,
.container-xl,
.container-xxl {
  padding: 0 30px !important;
}

@media (max-width: 767px) {

  .container,
  .container-xl,
  .container-xxl {
    padding: 0 15px !important;
  }

}

/* TÍTULO */
.section-blog-titulo {
  height: 457px;
  width: 100%;
  background-image: url("../images/banner-fachada.png");
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: 80px;
  position: relative;
  display: flex;
  align-items: center;
}

.section-blog-titulo h1 {
  font-size: 90px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  padding: 0 15px;
  position: relative;
  margin: 0 auto;
  z-index: 15;
}

@media (max-width: 576px) {
  .section-blog-titulo {
    margin-bottom: 60px;
  }
}

/* SEARCHFORM */
.form-style {
  width: 100%;
  height: 60px;
  background-color: #F2F8FE;
  border-radius: 4px;
  border: 0;
  outline: 0;
  padding: 0 16px;
}

.searchform {
  position: relative;
  width: 562px;
  max-width: 100%;
  margin: 0 auto;
  margin-bottom: 80px;
}

.searchform input {
  padding-right: 60px;
}

.searchform button {
  position: absolute;
  right: 21px;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  border: unset;
}

.searchform button svg path,
.searchform button svg circle {
  transition: all ease-in-out 0.3s;
}

/* .searchform button:hover svg path,
.searchform button:hover svg circle {
  stroke: #00859B;
} */

@media (max-width: 576px) {
  .searchform {
    margin-bottom: 60px;
  }
}

/* BLOG */
.section-blog {
  padding-bottom: 120px;
}

.section-blog .posts-container {
  width: 760px;
  max-width: 100%;
}

.section-blog-titulo.section-single h1 {
  text-align: start;
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  width: 60%;
  margin: unset;
}

@media (max-width: 992px) {
  .section-blog .posts-container {
    width: 100%;
  }
}

@media(max-width: 768px) {
  .section-blog {
    padding-bottom: 60px;
  }
}

/* BLOG POST */
.blog-post .img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 364 / 259;
  height: auto;
  overflow: hidden;
  border-radius: 8px;
}

.blog-post .img-wrapper img {
  width: 100%;
  height: 100%;
  transition: all ease-in-out 0.3s;
}

.blog-post .img-wrapper .date-wrapper {
  position: absolute;
  left: 20px;
  bottom: 15px;
  z-index: 3;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.blog-post strong {
  font-size: 20px;
  font-weight: 500;
  color: #151515;
}

.blog-post .img-wrapper::before {
  display: block;
  content: '';
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
  width: 100%;
  opacity: 1;
  z-index: 2;
}

.blog-post .text-wrapper {
  margin-top: 20px;
}

.blog-post .call-to-action {
  margin-top: 16px;
  color: #1D75DE;
  font-size: 17px;
  font-weight: 800;
  transition: all ease-in-out 0.3s;
}

.blog-post .call-to-action svg {
  margin-right: 10px;
  transform: translateY(1px);
}

.blog-post .call-to-action svg path {
  transition: all ease-in-out 0.3s;
}

.blog-post:hover .img-wrapper img {
  transform: scale(1.3);
}

/* .blog-post:hover .call-to-action {
  color: #00859B;
}

.blog-post:hover .call-to-action svg path {
  stroke: #00859B;
} */


/* PAGINAÇÃO */
.blog-pagination {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 38px;
  margin-top: 60px;
}

.blog-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1D75DE;
  transition: all ease-in-out 0.3s;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 767px) {
  .blog-pagination {
    margin-top: 50px;
  }
}

/* SIDEBAR */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

@media (max-width: 767px) {
  .blog-sidebar {
    gap: 40px;
  }
}

.blog-sidebar .title {
  font-size: 24px;
  font-weight: 700;
  color: #151515;
  margin-bottom: 20px;
  font-family: 'Open Sans';
}

.blog-sidebar .category {
  position: relative;
  font-size: 18px;
  color: #252525;
  font-weight: 400;
  text-decoration: none;
}

.blog-sidebar .category::before {
  content: '';
  width: 0;
  transition: all ease-in-out .3s;
  background-color: #052769;
  height: 2px;
  position: absolute;
  bottom: -8px;
  left: 0;
}

.sidebar-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-sidebar .category:hover::before {
  width: 100%;
}

.blog-sidebar .category svg {
  margin-right: 6px;
}

.blog-sidebar .tag {
  width: fit-content;
  height: 35px;
  border-radius: 100px;
  background-color: #1D75DE;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all ease-in-out .3s;
}

.blog-sidebar .tag:hover {
  filter: brightness(115%);
}

.blog-sidebar .blog-mini-post {
  max-width: 300px;
  position: relative;
}

.blog-sidebar .blog-mini-post::before {
  display: block;
  content: '';
  width: 100%;
  height: 1px;
  background-color: #F2F8FE;
  top: calc(100% + 24px);
  position: absolute;
}

.mini-post-container {
  gap: 51px;
}

.blog-sidebar .blog-mini-post .img-wrapper {
  overflow: hidden;
  border-radius: 4px;
}

.blog-sidebar .blog-mini-post:hover img {
  transform: scale(1.2);
}

.blog-sidebar .blog-mini-post .img-wrapper img {
  aspect-ratio: 238 / 147;
  border-radius: 4px;
  transition: all ease-in-out .3s;
}

.blog-sidebar .blog-mini-post .img-wrapper {
  margin-bottom: 12px;
}

.blog-sidebar .blog-mini-post .icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: -17.5px;
  background-color: #1D75DE;
  border-radius: 50%;
  min-width: 35px;
  width: 35px;
  height: 35px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  text-align: center;
}

.post-info {
  column-gap: 36px;
  row-gap: 12px;
  margin-bottom: 40px;
}

.post-info p {
  font-size: 15px;
  font-weight: 400;
  color: #052769;
}

.post-info svg {
  margin-right: 8px;
}

.section-single-post-leia-tambem {
  padding-bottom: 120px;
}

.section-single-post-leia-tambem h2 {
  font-size: 48px;
  color: #08181A;
  font-weight: 700;
}

@media (max-width: 992px) {
  .section-single-post-leia-tambem .col-12:last-child {
    display: none;
  }
}

@media(max-width: 767px) {
  .section-single-post-leia-tambem {
    padding-bottom: 60px;
  }

  .section-single-post-leia-tambem h2 {
    font-size: 32px;
    color: #08181A;
    font-weight: 700;
  }
}

@media (max-width: 576px) {
  .section-single-post-leia-tambem .col-12:last-child, .section-single-post-leia-tambem .col-12:nth-last-child(2) {
    display: none;
  }
}

/* --- Estrutura Principal --- */
/* --- Editor de Conteúdo (WP) --- */
.section-single-post .content-wrapper .editor {
  padding-bottom: 60px;
  border-bottom: 1px solid #E1E6F5;
}

.section-single-post .content-wrapper .editor h2,
.section-single-post .content-wrapper .editor h3,
.section-single-post .content-wrapper .editor h4,
.section-single-post .content-wrapper .editor h5,
.section-single-post .content-wrapper .editor h6 {
  font-size: 24px;
  font-weight: 500;
  color: #252525;
}

.section-single-post .content-wrapper .editor p {
  font-size: 18px;
  font-weight: 400;
  color: #252525;
}

.section-single-post .content-wrapper .editor strong {
  font-weight: 600;
}

/* --- Autor --- */
.section-single-post .content-wrapper .author {
  padding-top: 42px;
}

.section-single-post .content-wrapper .author .foto-wrapper {
  margin-right: 45px;
  width: fit-content;
  height: fit-content;
}

.section-single-post .content-wrapper .author .foto-wrapper img {
  width: 85px;
  min-width: 85px;
  height: 85px;
  border-radius: 50%;
  object-fit: cover;
}

.section-single-post .content-wrapper .author ul {
  padding-left: 130px !important;
}

/* --- Social Share --- */
.section-single-post .content-wrapper .social-share {
  width: 100%;
  min-height: 122px;
  background-color: #EBE9FF;
  border-radius: 24px;
  padding: 15px 32px 15px 64px;
  margin-top: 65px;
}

.section-single-post .content-wrapper .social-share h3 {
  font-size: 27px;
  color: #252525;
  font-weight: 700;
}


.section-single-post .content-wrapper .social-share .share-icon {
  transition: all ease-in-out .3s;
}

.section-single-post .content-wrapper .social-share .share-icon:hover {
  filter: brightness(120%);
}

/* --- Comentários --- */
.section-single-post .comment-form {
  width: 627px;
  max-width: 100%;
  padding-bottom: 100px;
}

.section-single-post .comment {
  padding: 30px 0;
  border-bottom: 2px solid #EBE9FF;
  display: flex; /* Geralmente necessário para o avatar ao lado do texto */
}

.section-single-post .comment img {
  width: 78px;
  min-width: 78px;
  height: 78px;
  border-radius: 50%;
  margin-right: 18px;
  object-fit: cover;
}

.section-single-post .comment:first-of-type {
  padding-top: 0;
}

/* --- Media Queries (Mobile/Tablets) --- */
@media screen and (max-width: 767px) {
  .section-single-post {
    padding: 60px 0;
  }

  .section-single-post .content-wrapper {
    padding-bottom: 60px;
  }

  .section-single-post .content-wrapper .img-wrapper {
    margin-bottom: 40px;
  }

  .section-single-post .content-wrapper .author .foto-wrapper {
    margin-right: 10px;
  }

  .section-single-post .content-wrapper .author ul {
    padding-left: 95px !important;
  }

  .section-single-post .content-wrapper .social-share {
    width: 100%;
    transform: none;
    padding: 15px 32px;
    margin-top: 60px;
  }

  .section-single-post .content-wrapper .social-share .font24 {
    font-size: 18px;
  }

  .section-single-post .comment-form {
    padding-bottom: 60px;
  }

  .section-single-post .comment {
    padding: 18px 0;
  }

  .section-single-post .comment img {
    width: 66px;
    min-width: 66px;
    height: 66px;
  }
}

.section-resultados {
  padding-bottom: 85px;
}

.section-resultados .results {
  font-size: 36px;
  font-weight: 400;
  color: #052769;
  text-align: center;
  margin: 48px 0;
}

@media (max-width: 768px) {
  .section-blog-titulo h1 {
    font-size: 48px;
  }

  .section-resultados {
    padding-bottom: 60px;
  }

  .section-resultados .results {
    font-size: 24px;
  }
}