/* ===========================================
   Related Posts Grid — techkle.com
   Mobile-first. 3-column on desktop.
   =========================================== */

.tk-related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.tk-related-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tk-related-card:hover,
.tk-related-card:focus {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
    color: inherit;
    text-decoration: none;
}

.tk-related-thumb img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    object-position: top;
    display: block;
}

.tk-related-title {
    padding: 12px;
    font-weight: 600;
}

@media (min-width: 600px) {
    .tk-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tk-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
