/* Related Posts Cards Styles */
.rpc-related-posts {
    margin: 40px 0;
    clear: both;
}

.rpc-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.rpc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rpc-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rpc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.rpc-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.rpc-image {
    height: 180px;
    overflow: hidden;
}

.rpc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rpc-card:hover .rpc-image img {
    transform: scale(1.05);
}

.rpc-content {
    padding: 15px;
}

.rpc-post-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    color: #222;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .rpc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .rpc-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .rpc-image {
        height: 160px;
    }
    
    .rpc-title {
        font-size: 20px;
    }
    
    .rpc-post-title {
        font-size: 16px;
    }
}