/*********************************/
/*********************************/
/************** CSS DAS NOTICIAS QUE SÃO EXIBIDAS NO INDEX ******************************/
/*******************************************************************/

.page-top__aside {
    margin-left: auto;
}

.post-card-link {
    text-decoration: none;
    color: unset;
    display: block;
}

.post-card-link:hover {
    text-decoration: none;
    color: unset;
}

.post-card{
    display: flex;
    flex-direction: row;
    border: 1px solid #DDDDDD;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
    max-width: 100%;
    transition: all 0.3s ease;
}

.post-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.post-card__img{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    overflow: hidden;
    width: 20%;
    height: 100px;
    margin-right: 16px;
}

.post-card__img img {
    width: 100%;
    height: auto;
}

.post-card__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1; 
    overflow: hidden;
}

.post-card__text h4 {
    color: #333;
    font-size: 18px;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.post-card__text p {
    color: #666;
    font-size: 14px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-card__text small {
    color: #888;
    font-size: 12px;
}

.post-card__text small i {
    margin-right: 4px;
}

.page-top{
    border-bottom: 1px solid #f1f1f1;
    margin-top: 32px;
    padding: 0;
    margin-bottom: 32px;
    display: flex;
    flex-direction: row;
}

.page-top__title {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.page-top__title h2{
    color: #333;
    font-size: 32px;
    font-weight: bold;
    margin: 0;
}

.page-top__title p{
    color: #666;
    font-size: 18px;
    margin: 0;
}

.page-top__aside{
    margin-left: auto;
}

.post-card__detail{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
    margin-right: 16px;
}

.post-card__detail-btn{
    background-color: #ce005d !important;
    color: #fff !important;
    border: none;
    transition: background-color 0.3s ease;
}

.post-card__detail-btn:hover {
    background-color: #ce005d !important;
}

.ler-mais-btn {
    background-color: #ce005d !important;
    color: #fff !important;
    border: none;
    transition: background-color 0.3s ease; 
}

.ler-mais-btn:hover {
    background-color: #ce005d !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .post-card {
        flex-direction: column;
    }
    
    .post-card__img {
        width: 100%;
        height: 200px;
        margin-right: 0;
    }
    
    .post-card__text {
        padding: 16px;
    }
    
    .post-card__detail {
        margin: 0;
        padding: 0 16px 16px 16px;
    }
    
    .post-card__detail-btn {
        width: 100%;
    }
    
    .page-top__title h2 {
        font-size: 24px;
    }
    
    .page-top__title p {
        font-size: 16px;
    }
}

.post-card__date {
    color: #666 !important;
    font-size: 0.8em !important;
    margin-top: 5px !important; 
}