html,
body {
  background: var(--corCinzaBody);
}

.rowBlog {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
}

.geralBlog {
  width: 100%;
  height: auto;
  padding: 90px 0;
}

/* BUSCA */

#buscaBlog {
  width: 100%;
  height: auto;
  margin-bottom: 50px;
}

#buscaBlog h1 {
  font-weight: 800;
  font-size: var(--sizeText36);
  line-height: var(--sizeText36);
  color: var(--corPreto);
}

#buscaBlog form {
  width: 100%;
  max-width: 250px;
  position: relative;
}

#buscaBlog input {
  width: 100%;
  border: 0;
  height: 40px;
  background: var(--corCinzaBody);
  border: 1px solid var(--corPadraoBorda);
}

#buscaBlog input:focus {
  background: var(--corBranco);
}

#buscaBlog input[type='text'] {
  padding-left: 20%;
}

#buscaBlog input[type='submit'] {
  max-width: 50px;
  position: absolute;
  top: 0;
  left: 0;
  border-right: 0;
  background: url(../images/icone-lupa.png) center no-repeat;
  text-indent: 9999px;
  cursor: pointer;
}

#buscaBlog .container > .rowBlog {
  align-items: center;
}

/* BUSCA */

/* LATERAL BLOG */

.btnTodos {
  display: inline-block;
  padding: 3px 15px;
  color: var(--corCinzaEscuroTexto2);
  transition: 0.4s;
  border: 1px solid #ddd;
  background: var(--corBranco);
  margin-bottom: 10px;
}

#lateralBlog {
  width: 25%;
  height: auto;
}

#lateralBlog h3 {
  text-transform: uppercase;
  font-weight: 800;
  color: var(--corCinzaEscuroTexto2);
  font-size: var(--sizeText18);
  margin-bottom: 15px;
}

#lateralBlog ul {
  margin-bottom: 20px;
}

#lateralBlog ul li a {
  display: block;
  padding: 3px 0;
  color: var(--corCinzaEscuroTexto2);
  transition: 0.4s;
}

#lateralBlog ul li a.activeLink {
  color: var(--corCinzaActiveLink);
  text-decoration: underline;
}

#lateralBlog ul li a:hover {
  color: var(--corCinzaActiveLink);
}

/* LATERAL BLOG */

/* LISTAGEM BLOG */

.containerPosts {
  width: 73%;
  height: auto;
}

.blocoListPost {
  width: 100%;
  height: auto;
  background: var(--corBranco);
  margin-bottom: 20px;
  box-shadow: 0px 1px 15px 0px rgba(000, 000, 000, 0.05);
  overflow: hidden;
}

.blocoListPost a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chamadaTextoBlog {
  width: 45%;
  padding: 30px;
}

.chamadaTextoBlog .rowBlog {
  margin-bottom: 20px;
  color: var(--corCinzaClaroTexto);
}

.chamadaTextoBlog h2 {
  font-size: var(--sizeText36);
  line-height: var(--sizeText36);
  font-weight: 800;
  color: var(--corPreto);
  transition: 0.5s;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.imgCapaBlog {
  width: 55%;
  height: 300px;
  overflow: hidden;
  transition: 0.5s;
}

.imgCapaBlog img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.blocoListPost:hover .chamadaTextoBlog h2 {
  color: var(--corVerde2);
}

.blocoListPost:hover .imgCapaBlog {
  background: var(--corVerde2);
  margin-right: -1%;
}

.blocoListPost:hover .imgCapaBlog img {
  transform: scale(1.03);
  opacity: 0.7;
}

/* LISTAGEM BLOG */

/* PAGINAÇÃO */

#paginacao {
  width: 100%;
  margin-top: 50px;
  text-align: center;
  display: flex;
  justify-content: center;
}

#paginacao a {
  display: inline-block;
  padding: 5px 10px;
  color: var(--corPreto);
}

#paginacao a.activeLink {
  color: var(--corCinzaActiveLink);
  background: rgba(000, 000, 000, 0.05);
  border-radius: 3px;
}

/* PAGINAÇÃO */

/* CONTEUDO BLOG */

#conteudoBlog {
  width: 100%;
  height: auto;
  background: var(--corBranco);
}

#capaConteudoBlog {
  width: 100%;
  height: 350px;
}

#capaConteudoBlog img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.textConteudoBlog {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  height: auto;
  padding: 50px;
}

.textConteudoBlog a {
  color: #007554;
  font-weight: 600;
}

.textConteudoBlog h3 {
  margin: 20px 0;
  font-size: var(--sizeText36);
  line-height: var(--sizeText36);
  color: var(--corPreto);
}

.textConteudoBlog p {
  margin: 20px 0;
  font-size: var(--sizeText16);
  color: var(--corCinzaClaroTexto);
}

.infoPostConteudo {
  color: var(--corCinzaEscuroTexto);
}
.infoPostConteudo strong,
.infoPostConteudo span {
  display: block;
}
.infoPostConteudo strong {
  font-weight: 800;
}

.postsRelacionados {
  margin-top: 50px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.postsRelacionados h3 {
  width: 100%;
  margin-bottom: 15px;
  color: var(--corPreto);
}

.blocoPostRelacionado {
  width: 49%;
  height: auto;
  background: var(--corBranco);
  box-shadow: 0px 1px 15px 0px rgba(000, 000, 000, 0.05);
}

.blocoPostRelacionado a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blocoPostRelacionado .chamadaTextoBlog {
  width: 60%;
  padding: 20px;
}

.blocoPostRelacionado .chamadaTextoBlog h2 {
  font-size: var(--sizeText16);
  line-height: normal;
}

.blocoPostRelacionado .imgCapaBlog {
  width: 40%;
  height: 170px;
}

.blocoPostRelacionado .rowBlog {
  margin: 15px 0 0 0;
  font-size: var(--sizeText13);
}

.blocoPostRelacionado .rowBlog .datePostList {
  order: -1;
}

.blocoPostRelacionado:hover .chamadaTextoBlog h2 {
  color: var(--corVerde2);
}

.blocoPostRelacionado:hover .imgCapaBlog {
  background: var(--corVerde2);
}

.blocoPostRelacionado:hover .imgCapaBlog img {
  transform: scale(1.03);
  opacity: 0.7;
}

/* CONTEUDO BLOG */

/* API SPEECH */

.containerButtonsSpeech {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  gap: 0 10px;
  margin-bottom: 15px;
}

.containerButtonsSpeech button {
  font-size: 1.2rem;
  padding: 10px 15px;
  border: 0;
  border-radius: 20px;
  background-color: var(--corVerde);
  color: var(--corBranco);
  transition: 350ms;
  cursor: pointer;
}
.containerButtonsSpeech button br {
  display: none;
}

.containerButtonsSpeech button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background-color: var(--corCinzaClaroTexto);
}

.containerButtonsSpeech button:hover {
  background-color: var(--corVerde2);
}

/* API SPEECH */

/* CSS RESPONSIVO */

@media (max-width: 900px) {
  .containerButtonsSpeech {
    display: flex;
    justify-content: space-between;
    gap: 0 10px;
    margin-bottom: 15px;
  }
  .containerButtonsSpeech button br {
    display: block;
  }

  .rowBlog {
    width: 100%;
    flex-wrap: wrap;
  }

  .geralBlog {
    width: 100%;
    height: auto;
    padding: 50px 0 30px 0;
  }

  /* BUSCA */

  #buscaBlog {
    margin-bottom: 20px;
  }

  #buscaBlog h1 {
    width: 100%;
    margin-bottom: 20px;
  }

  #buscaBlog form {
    width: 100%;
    max-width: 100%;
    position: relative;
  }

  #buscaBlog input[type='text'] {
    padding-left: 55px;
  }

  /* BUSCA */

  /* LATERAL BLOG */

  #lateralBlog {
    width: 100%;
    height: auto;
    order: 1;
  }

  /* LATERAL BLOG */

  /* LISTAGEM BLOG */

  .containerPosts {
    width: 100%;
    height: auto;
  }

  .chamadaTextoBlog h2 {
    font-size: var(--sizeText30);
    line-height: var(--sizeText36);
  }

  /* LISTAGEM BLOG */

  /* PAGINAÇÃO */

  #paginacao {
    width: 100%;
    margin: 50px 0;
  }

  /* PAGINAÇÃO */

  /* CONTEUDO BLOG */

  #conteudoBlog {
    width: 100%;
    height: auto;
    background: var(--corBranco);
  }

  #capaConteudoBlog {
    width: 100%;
    height: 200px;
  }

  .textConteudoBlog {
    padding: 30px;
  }

  .textConteudoBlog h3 {
    font-size: var(--sizeText24);
    line-height: var(--sizeText30);
  }

  .postsRelacionados {
    margin: 50px 0 30px 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .postsRelacionados h3 {
    margin-bottom: 0;
  }

  .blocoPostRelacionado {
    width: 100%;
    height: auto;
    margin: 10px 0;
  }

  .blocoPostRelacionado .imgCapaBlog {
    width: 40%;
    height: 170px;
  }

  .blocoPostRelacionado .rowBlog {
    margin: 15px 0 0 0;
    font-size: var(--sizeText13);
  }

  /* CONTEUDO BLOG */
}

@media (max-width: 700px) {
  /* LISTAGEM BLOG */
  .containerPosts {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .blocoListPost {
    width: 48.5%;
    height: auto;
  }

  .blocoListPost a {
    flex-wrap: wrap;
  }

  .chamadaTextoBlog {
    width: 100%;
    padding: 30px;
  }

  .chamadaTextoBlog .rowBlog {
    font-size: var(--sizeText14);
  }

  .chamadaTextoBlog h2 {
    font-size: var(--sizeText22);
    line-height: var(--sizeText24);
  }

  .imgCapaBlog {
    width: 100%;
    height: 200px;
    order: -1;
  }

  .blocoListPost:hover .imgCapaBlog {
    margin-right: 0;
  }
  /* LISTAGEM BLOG */
}

@media (max-width: 560px) {
  /* LISTAGEM BLOG */
  .blocoListPost {
    width: 100%;
    height: auto;
  }
  /* LISTAGEM BLOG */
}
