/* conteudo dos posts individuais*/

header#post-single{
  flex-direction: column;
  height: 100%;
  padding-left: 10px;
  padding-right: 0;
  align-items: start;
}
article#post{
  display: flex;
  flex-direction: column;
}

.post-single{
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

/* Cálculos individuais com a redução aplicada */
.post-single h1 { font-size: calc(var(--base-font-size) * 2.5 * var(--reduction)); }
.post-single h2 { font-size: calc(var(--base-font-size) * 2.0 * var(--reduction)); }
.post-single h3 { font-size: calc(var(--base-font-size) * 1.8 * var(--reduction)); }
.post-single h4 { font-size: calc(var(--base-font-size) * 1.75 * var(--reduction)); }
.post-single h5 { font-size: calc(var(--base-font-size) * 1.5 * var(--reduction)); }
.post-single h6 { font-size: calc(var(--base-font-size) * 1.25 * var(--reduction)); }

.post-single h1, 
.post-single h2, 
.post-single h3, 
.post-single h4, 
.post-single h5, 
.post-single h6{
  margin-top: 20px;
  text-align: left;
  font-weight: 800;
  --reduction: 0.7; /* Fator de redução de 30% */
}

.post-single .meta-info{
  margin: 0;
 padding: 0;
 font-size: calc(var(--base-font-size) * var(--fator-reducao));
  line-height: 1.2;
  justify-content: left;
}
.post-single .meta-info a{
  color: var(--primary-color);
  text-decoration: none;
  cursor: auto;
}
.post-single .meta-info p{
  color: var(--off-color);
  line-height: 1;
  margin: 0;
  padding: 0;
}
.img-single-post{
  max-width: 50%;
  height: auto;
  float: left;
  margin-right: 30px;
}

.post-single p{
  margin-top: 20px;
}

.post-single a{
  font-weight: 300;
  color: var(--off-color);
  text-decoration: none;
}
.post-single a:hover{
  color: var(--primary-color);
}
.post-tags{
  display: none;
}
/* comments*/

.comments-area a{
  text-decoration: none;
  color: var(--primary-color);
}
.comments-area p{
  font-size: var(--fator-reducao);
}
.comments-area h2{
  font-size: calc(var(--base-font-size)* 1.5);
}

.comment-list{
  list-style-type: none;
}
.comment-list img{
  border-radius: 5px;
}
.vcard{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
#commentform input[type="submit"]{     
  color: #FFFFFF;
  padding: 15px 25px;
  display: inline-block;
  background: var(--button-color);
  margin: 20px 0 0; 
  border: none;
  border-radius: 50px;
  cursor: pointer;
}

#commentform input[type="submit"]:hover{
  background: var( --primary-color );
  transition: .5s all;
}

#commentform input[type="text"],
#commentform textarea{
    padding: 7px 10px;
    border: 1px solid var(--button-border);
    max-width: 50%;
}

#commentform > p.comment-form-comment{
  display: flex;
  flex-direction: column;
}

/* pagina dos posts individuais*/

.single-page .single-post img{
float: left;
 max-width: 50%;
 height: auto;
 margin-right: 30px;
 overflow-x: hidden;
 
}

.next-prox{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

/* posts relacionados*/

.posts-relacionados {
  background-color: var(--background-color);
  padding-top: 50px;
  padding-bottom: 50px;
}


/*paginação dos posts*/

.pagination {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
 align-items: center;
  gap: 10px;
  text-align: center;
  margin: 50px auto;
  position: relative;
  }
  .pagination .prev{
    position: relative;
    float: left;
  }
  .pagination .next{
    position: relative;
    float: right;
  }
  
  .pagination .page-numbers {
  padding: 5px 10px;
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
  }
  
  .pagination .page-numbers:hover {
  background: var(--text-color-fundo);
  }
  
  .pagination .current {
  background: var(--title-color);
  }

  /* Resultados das pesquisas*/
  .resultados-pesquisa{
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
	  padding-bottom: 5%;
  }
  .resultados-pesquisa h1{
    font-size:calc(var(--base-font-size)*1.5);
  }

  .resultados-pesquisa article{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }
.resultados-pesquisa article h2{
  text-align: left;
  margin: 0;
}

  .resultados-pesquisa article h2 a{
  text-decoration: none;
  color: var(--title-news-color);
  font-size:calc(var(--base-font-size)*1.5);
  }
.resultados-pesquisa header{
  display: flex;
  flex-direction: column;
  height: min-content;
  align-items: flex-start;
  margin: 0;
  padding: 0;
}

.resultados-pesquisa article .meta-info{
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.resultados-pesquisa article .meta-info p{
  font-size: var(--base-font-size)* var(--fator-reducao);
  color: var(--off-color);
  margin: 0;
}
