.revistas{
    font-family: 'open sans';
}
.revistas .banner-topo{
  height: 487px;
  background-size:cover; 
  background-position:center; 
  border-radius: 20px;
}

.revistas .banner-topo .info-banner{
  padding: 135px;
  padding-top: 200px;
  color:#fff;
}

.revistas .banner-topo .info-banner h1,
.revistas .banner-topo .info-banner p{
  width: 35%;
}

.revistas .btn-default{
    padding: 7.5px 20px 8.5px 20px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 33554400px;
    background: #0072BC;
    width: fit-content;
    color: #fff;
    text-align: center;
    font-family: "Open Sans";
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px; /* 160% */
    text-decoration: none;
}

.card-revistas{
    min-height: 500px;
    border-radius: 32px;
    padding: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-bottom: 1rem;

}
.card-revistas .btn-default{
    margin-top: 10px;
    display: block;
}
.card-revistas.blue{
    background: #032A64;
    justify-content: space-between;
}
.card-revistas .img-revista-icone{
    width: 80px;
}
.card-revistas .title-card{
    color: #FFF;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height:  31.5px; /* 87.5% */
}
.card-revistas .description-card{
    color: #FFF;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px; /* 160% */
    margin-top: 10px;
}
.card-revistas {
    position: relative;
    background-size: 100% 100%;
    background-position: center;
    padding: 20px;
    color: #fff;
}

/* sombra de baixo para cima */
.card-revistas::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60%; /* ajuste conforme o efeito desejado */
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.7),
        rgba(0,0,0,0)
    );
    pointer-events: none;
    border-radius: 30px;
}

.card-revistas > div {
    position: relative;
    z-index: 2; /* garante que o texto fique acima da sombra */
}

.revistas .btn-filter{
    border-radius: 6.75px;
    border: 1px solid  #E5E5E5;
    background: #FFF;
    color:  rgba(0, 0, 0, 0.80);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height:  17.5px; /* 109.375% */
    padding: 12px;
}

.revistas .btn-filter.active{
    background-color: #33ADC8;
    color: #FFF;
}

.revistas .rgbo .card .desc{
color: rgba(0, 0, 0, 0.80);
font-size: 20px;
font-style: normal;
font-weight: 700;
line-height: normal;
}

.revistas .rgbo .card-body{
    display: flex;
    align-content:flex-end;
}
.revistas .rgbo .component-box-icon-cinza .component-box-content{
    height: auto;
    gap: 4%;
}

.revistas .como-escrever p{
    font-size: 20px;
}
.revistas .como-escrever p b{
    font-size: 24px;
    font-weight: 700;
}
.revistas #load-more-revistas{
  display: block;
}
.revistas #revistas-container{
  display: contents;
}
#loading{
  display: none;
}

/* ------- RESPONSIVO (MOBILE) ------- */

@media (max-width: 768px) {
  .revistas .topo{
    padding: 0 20px;
  }

  .revistas .banner-topo{
    height: auto; /* deixa crescer conforme o conteúdo */
    padding-bottom: 40px;
  }

  .revistas .banner-topo .info-banner{
    padding: 40px 20px; /* muito mais leve */
  }

  .revistas .banner-topo .info-banner h1,
  .revistas .banner-topo .info-banner p{
    width: 100% !important; /* ocupa a largura do mobile */
  }

  .revistas .banner-topo .info-banner h1{
    font-size: 28px;
    line-height: 1.2;
  }

  .revistas .banner-topo .info-banner p{
    font-size: 16px;
    line-height: 1.4;
    margin-top: 10px;
  }
}

/* ------- RESPONSIVO (TELAS MUITO PEQUENAS) ------- */

@media (max-width: 480px) {
  .revistas .banner-topo .info-banner{
    padding: 30px 15px;
  }

  .revistas .banner-topo .info-banner h1{
    font-size: 24px;
  }

  .revistas .banner-topo .info-banner p{
    font-size: 15px;
  }
}