/* ------ banner principal ------ */
.article-banner {
    width: 100%;
    height: 400px; /* ajustar ainda */
    overflow: hidden;
    margin-bottom: 40px;
}

.article-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* garante que a imagem preencha sem distorcer */
    object-position: center;
}

/* ------ container centralizado ------ */
.container-article-container {
    background: linear-gradient(to top, 
    #e0e0e0, 
    #f5f5f5 10%
    );
} /* degrade */

.article-container {
    max-width: 70%;
    margin: 0 auto;
    padding: 0 20px;
}

/* ------ cabeçalho do artigo ------ */
.article-header {
    margin-bottom: 30px;
}

.category-title {
    font-family: 'Exo 2', sans-serif;
    color: #fa680a;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.main-title {
    font-family: 'Exo 2', sans-serif;
    color: #000;
    font-size: 2rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 10px;
}

.meta-data {
    font-family: 'Lato', sans-serif;
    color: #fa680a;
    font-size: 0.9rem;
}

/* ------ corpo do texto ------ */
.article-body {
    font-family: 'Lato', sans-serif;
    color: #333;
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: justify;
}

.article-body h3 {
    font-family: 'Exo 2', sans-serif;
    color: #000;
    margin-top: 30px;
    font-size: 1.4rem;
}

.article-body ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-body li {
    margin-bottom: 5px;
}

/* ------ imagens flutuantes ------ */
.img-float-right {
    float: right;
    width: 45%;
    margin-left: 30px;
    margin-bottom: 20px;
}

.img-float-left {
    float: left;
    width: 45%;
    margin-right: 30px;
    margin-bottom: 20px;
}

.img-float-right img, 
.img-float-left img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* limpar floats para não quebrar o layout abaixo */
.clear-fix {
    clear: both;
}

/* ------ box do autor ------ */
.author-box {
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.author-img {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    object-fit: cover;
}

.author-info h4 {
    font-family: 'Exo 2', sans-serif;
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.author-info p {
    font-family: 'Lato', sans-serif;
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}

/* ------ explore mais (Cards verticais) ------ */
.related-content {
    background-color: #fff;
    padding: 40px 0;
    text-align: center;
}

.related-content h3 {
    font-family: 'Exo 2', sans-serif;
    color: #fa680a;
    font-size: 1.8rem;
    margin-bottom: 40px;
}

.highlight-black {
    color: #000;
}

.cards-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.vertical-card {
    border: 1px solid #222222;
    border-radius: 20px;
    padding: 20px;
    width: 300px; /* tamanho fixo para o card ficar em pé */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s;
}

.vertical-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.vertical-card img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.vertical-card h4 {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 20px;
    flex-grow: 1; /* empurra o botão para baixo */
}

.btn-small {
    background-color: #fa680a;
    color: #fff;
    padding: 8px 25px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.9rem;
}

/* ------ responsividade ------ */
@media (max-width: 768px) {
    .img-float-right, .img-float-left {
        float: none;
        width: 100%;
        margin: 20px 0;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .main-title {
        font-size: 2rem;
    }
}

/* =========================
   RESPONSIVO - ARTIGO (ajustes extras)
========================= */

@media (max-width: 992px) {
    .article-container {
        max-width: 92%;
    }

    .article-banner {
        height: 320px;
    }
}

@media (max-width: 480px) {
    .article-banner {
        height: 240px;
    }

    .main-title {
        font-size: 1.6rem;
    }

    .article-body {
        font-size: 1rem;
        line-height: 1.7;
    }
}
