.related-posts {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.related-posts h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-item {
    background: white;
    border-radius: 10px;
    padding: 15px;
    display: block;
    text-decoration: none;
    color: black;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform .2s;
}

.related-item:hover {
    transform: translateY(-5px);
}

.related-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.related-item h3 {
    font-size: 1.1rem;
    font-weight: bold;
}
