.labpub-related-posts {
    margin-top: 3em;
    padding-top: 1em;
    border-top: 1px solid #eee;
}

.related-title {
    font-size: 1.2rem;
    margin-bottom: 1em;
    color: #1e1e1e;
    font-weight: 700; /* Alinha com o Leia também */
    text-decoration: none; /* Remove sublinhado */
}

.related-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

/* Ajuste para desktop: 2 colunas por linha */
@media (min-width: 768px) {
    .related-list {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas por linha */
        gap: 1.5rem; /* Aumenta o espaçamento para um layout mais equilibrado */
    }
}

.related-item {
    display: flex;
    flex-direction: column;
}

.related-item .thumb img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.related-item .title {
    font-size: 1rem;
    margin-top: 0.5em;
    color: #1e1e1e; /* Alinha com o Leia também */
    font-weight: 600; /* Alinha com o Leia também */
    text-decoration: none; /* Remove sublinhado */
}

.related-item a {
    text-decoration: none; /* Remove sublinhado do link */
}

.related-item a:hover .title {
    text-decoration: underline; /* Adiciona sublinhado ao passar o mouse, como no Leia também */
}
