/* Related Posts Pro Styles */

/* Inline Related Posts */
.rpp-inline-related {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 24px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.rpp-inline-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.rpp-inline-header h4 {
    color: white;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.rpp-pro-badge {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.rpp-inline-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rpp-inline-list li {
    margin-bottom: 12px;
}

.rpp-inline-list li:last-child {
    margin-bottom: 0;
}

.rpp-inline-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 6px;
}

.rpp-inline-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.rpp-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.rpp-inline-link:hover .rpp-arrow {
    transform: translateX(3px);
}

/* After Content Related Posts */
.rpp-after-content {
    margin: 50px 0;
    padding: 30px 0;
    border-top: 3px solid #667eea;
}

.rpp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.rpp-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: #2d3748;
}

.rpp-pro-badge-lg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.rpp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.rpp-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.rpp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.rpp-thumbnail {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: #f7fafc;
}

.rpp-thumbnail a {
    display: block;
    height: 100%;
}

.rpp-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rpp-card:hover .rpp-img {
    transform: scale(1.1);
}

.rpp-no-image .rpp-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.rpp-no-image .rpp-placeholder span {
    font-size: 64px;
    opacity: 0.5;
}

.rpp-content {
    padding: 20px;
}

.rpp-post-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
}

.rpp-post-title a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.3s ease;
}

.rpp-post-title a:hover {
    color: #667eea;
}

/* Responsive */
@media (max-width: 768px) {
    .rpp-grid {
        grid-template-columns: 1fr;
    }
    
    .rpp-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .rpp-title {
        font-size: 24px;
    }
}