/* News Block (Home/List) Styles */

.noticias-container {
    display: flex;
    gap: 20px;
}

.noticias-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.noticia-item {
    display: flex;
    gap: 15px;
    padding: 0;
    background-color: transparent;
}

.noticia-item-container {
    position: relative;
}

.noticia-item > a > img {
    width: 290px;
    height: 175px;
    object-fit: cover;
    border-radius: 5px;
}

.noticia-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #fff;
    color: #333;
    font-size: 15px;
    padding: 5px 10px;
    border-radius: 3px;
    font-weight: 600;
}

.noticia-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.noticia-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0 0 5px;
    line-height: 1.3;
}

.noticia-title a {
    color: inherit;
    text-decoration: none;
}

.noticia-title a:hover {
    color: #FF5100;
}

.noticia-excerpt {
    font-size: 14px;
    color: #555;
    margin: 0 0 5px;
    line-height: 1.4;
}

.noticia-date {
    font-size: 14px;
    color: #595959;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Mobile Version */
.mobile-latest-posts-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 5px 0;
}

.mobile-latest-post-item {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

.mobile-latest-post-item:last-child {
    border-bottom: none;
}

.mobile-latest-post-item > a > img {
    width: 130px;
    height: 76px;
    object-fit: cover;
    border-radius: 5px;
}

.mobile-latest-post-item h3 {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.mobile-latest-post-item h3 a {
    text-decoration: none;
    color: inherit;
}

.mobile-latest-post-item p {
    margin: 5px 0;
    font-size: 14px;
    color: #575757;
}

@media (max-width: 820px) {
    .noticias-container {
        flex-direction: column;
    }
}
