/* Berita Detail - Related News Section */

.related-news-section {
    background: #f8f9fa;
    padding: 3rem 0;
    margin: 0 -15px;
    border-top: 3px solid #667eea;
}

.related-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.related-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

.related-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.related-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-card:hover .related-image img {
    transform: scale(1.1);
}

.related-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-image-placeholder i {
    font-size: 3rem;
    color: white;
    opacity: 0.8;
}

.related-content {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.related-date {
    color: #718096;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    display: block;
}

.related-date i {
    color: #667eea;
    margin-right: 5px;
}

.related-card-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

.related-card-title a {
    color: #2d3748;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.related-card-title a:hover {
    color: #667eea;
}

/* Responsive */
@media (max-width: 991px) {
    .related-news-section {
        padding: 2rem 0;
    }
    
    .related-title {
        font-size: 1.5rem;
    }
    
    .related-image,
    .related-image-placeholder {
        height: 180px;
    }
}

@media (max-width: 767px) {
    .related-news-section {
        padding: 1.5rem 0;
    }
    
    .related-image,
    .related-image-placeholder {
        height: 200px;
    }
}
