
/* SECTION aligned with article */
.related-section {
    max-width: 760px;
    margin: 60px auto 0;
    padding-top: 25px;
    border-top: 1px solid #1f2229;
}

/* TITLE */
.related-section h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ddd;
}

/* GRID (compact) */
#related-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* CARD */
.related-card {
    display: block;
    background: transparent;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.2s;
}

/* IMAGE (smaller + tighter) */
.related-card img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
}

/* CONTENT */
.related-card-content {
    padding: 6px 2px;
}

/* TITLE */
.related-card h3 {
    font-size: 13px;
    margin: 5px 0 3px;
    color: #fff;
    line-height: 1.3;
}

/* DESCRIPTION */
.related-card p {
    font-size: 11px;
    color: #888;
    line-height: 1.3;
}

/* HOVER (subtle) */
.related-card:hover h3 {
    color: #4da3ff;
}

/* MOBILE */
@media (max-width: 600px) {
    #related-container {
        grid-template-columns: 1fr;
    }

    .related-card {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .related-card img {
        width: 120px;
        height: 80px;
    }

    .related-card-content {
        padding: 0;
    }
}