/* ===== HERO (fundo azul placeholder - trocar pela arte depois) ===== */
#hero{
  background-color: #fff;
  color: #fff;
  padding: 50px 0;
  margin-bottom: 30px;
  background-image: url('../../images/bg-embreagens.png');
  background-repeat: no-repeat;
  background-position: right center;
}

#hero .hero-texto h1{
  font-weight: bold;
  font-size: 40px;
  line-height: 1.1;
  margin-bottom: 15px;
  color: var(--main-empresa);
}

#hero .hero-texto p{
  font-size: 18px;
  font-weight: 300;
  opacity: .9;
}

@media(max-width: 991px){
  #hero{ padding: 30px 0; text-align: center; }
  #hero .hero-texto h1{ font-size: 30px; }
}

/******************************************************/

#blog .item{
    margin-bottom: 30px;
}

#blog .titulo{
    font-size: 32px;
    line-height: 35px;
    text-transform: uppercase;
    letter-spacing: 5px;    
}

#blog .titulo .faixa{
    width: 100px;
    height: 2px;
    background-color: var(--main-black);
}

#blog .imagem img{
    max-width: 100%;
    border-radius: 10px;
}

#blog .item-info{
    margin-top: 10px;
}

#blog .item-info .title{
  text-align: center;
  color: var(--main-empresa);
  font-weight: bold;
  font-size: 21px;
  line-height: 23px;
  min-height: 50px;
  margin-bottom: 10px;
}

#blog .item-info .autor{
    font-size: 12px;
}

#blog .item-info .resumo{
    margin-top: 10px;
}

#blog .botao{
  margin-top: 10px;
  text-align: center;
}

#blog .botao a{
  border: 2px solid var(--main-black);
  border-radius: 30px;
  -moz-border-radius: 30px;
  -webkit-border-radius: 30px;
}

.paginationArea{
  display: flex;
    justify-content: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 99999;
}

.paginationItem {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0,0,0,0.3);
    font-size: 13px;
    text-align: center;
    line-height: 40px;
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
}


.paginationItem a{
  color: rgba(0,0,0,0.3);
  text-decoration: none;
}

.pag_active{
  border: 1px solid var(--main-empresa);
}

.pag_active a{
  color: var(--main-empresa);
}

#main .titulo{
    font-size: 32px;
    line-height: 35px;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--main-empresa);
    font-weight: bold;
}

#main .photo{
    max-width: 100%;
}

#main .autor{
    font-size: 12px;
    margin-top: 10px;
}

#main ul{
    display: flex;
    justify-content: inherit;
    list-style: none;
    flex-wrap: wrap;
}

#main ul li{
    width: 25%;
    float: left;
}

#main .img-box{
  padding: 10px;
  background: #f4f4f4;
  margin-right: 5px;
  margin-left: 5px;
  margin-bottom: 10px;
}

#main .img{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 300px;
}




/* hero: no mobile o texto ocupa a esquerda (com largura limitada) e a imagem aparece à direita, sem sobrepor */
@media(max-width: 991px){
  #hero{ position: relative; overflow: hidden; background-image: none; text-align: left; }
  #hero .hero-texto{ position: relative; z-index: 1; max-width: 56%; }
  #hero::after{
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
    height: 88%;
    background: url('../../images/bg-embreagens.png') no-repeat right center / contain;
    pointer-events: none;
    z-index: 0;
  }
}
