/* Estilos para os posts */
.posts-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.post {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    transition: transform 0.3s ease;
}

.post:hover {
    transform: translateY(-5px);
}

.post-image {
    flex: 0 0 300px;
    height: 300px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.post-title {
    font-size: 1.9rem;
    margin-bottom: 10px;
    color: #1a73e8;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.post-excerpt {
    margin-bottom: 15px;
    flex-grow: 1;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background-color: #1a73e8;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
    pointer-events: none;
    cursor: default;
}

/* .tag:hover {
    background-color: #4d8fc4;
} */

.read-more {
    display: inline-block;
    background-color: transparent;
    color: var(--secondary-color);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--secondary-color);
    cursor: pointer;
    text-align: center;
    font-size: 1rem;
    align-self: flex-start;
    margin-top: 20px;
}

.read-more:hover {
    background-color: var(--secondary-color);
    color: white;
}
@media (max-width: 768px) {
    .post {
        flex-direction: column;
    }
    
    .post-image {
        flex: 0 0 200px;
        width: 100%;
    }
}