@import "../config.css";
@import "../topo.css";
@import "../crumb.css";
@import "../rodape.css";

.conteudoCorpoBlog .flex {
    gap: 25px;
}

.blogList {
    width: calc(33.333% - 17px);
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.blogList .thumbnail {
    width: 100%;
    height: 220px;
    background-color: #ddd;
    overflow: hidden;
    border-radius: 20px;
}

.blogList .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .2s;
}

.blogList .text {
    width: 100%;
    padding: 20px;
}

.blogList .text h3 {
    font-size: clamp(14px, 12px + 1.2vw, 22px);
    font-weight: 500;
    line-height: 26px;
    color: #000000;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-top: 10px;
}

.blogList .text .flex {
    font-size: clamp(14px, 10px + 1vw, 14px);
}

.blogList .text .tag {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    color: var(--color-primary);
}

.blogList .text .date {
    color: #777;
}


.blogList:hover .thumbnail img {
    transform: scale(1.05);
}


.relatedPost {
    margin-left: auto;
	margin-right: auto;
    width: 90%;
	max-width: 1100px;
    padding: 0 0 20px 0;
}

.relatedPost h3 {
    font-size: 26px;
    font-weight: 700;
    line-height: 30px;
    color: #333333;
    margin-bottom: 20px;
}

.contentRelatedPost {
    display: flex;
    gap: 15px;
}

.relatedPost .blogList {
    width: calc(25% - 12px);
    padding-bottom: 0;
}

.relatedPost .blogList .thumbnail {
    width: 100%;
    height: 160px;
}

.relatedPost .blogList .text h3 {
    font-size: clamp(14px, 12px + 1.2vw, 18px);
    line-height: 24px;
}

.relatedPost .blogList .text .flex {
    font-size: clamp(12px, 9px + 1vw, 13px);
}



/* CSS RESPONSIVO */
@media screen and (max-width: 1060px) {
  
    .blogList {
        width: calc(50% - 17px);
    }

}


@media screen and (max-width: 900px) {
    .relatedPost {
        width:  100%;
        max-width: 100%;
    }

    .relatedPost h3 {
        margin-left: auto;
        margin-right: auto;
        width: 90%;
        max-width: 1100px;
    }
    

    .relatedPost .contentRelatedPost {
        display: flex;
        overflow-x: scroll;
    }

    .relatedPost .contentRelatedPost > .blogList {
        flex: 1 0 300px;
    }

    .relatedPost .contentRelatedPost > .blogList:first-child {
        margin-left: 5%;
    }

    .relatedPost .contentRelatedPost > .blogList:last-child {
        margin-right: 5%;
    }
}


@media screen and (max-width: 700px) {
  
    .conteudoCorpoBlog .flex {
        gap: 0;
    }

    .blogList {
        width: 100%;
    }

}


@media screen and (max-width: 460px) {

}