/* Related Articles Widget — 3 cards horizontal grid */
.related-articles-section {
    margin: 48px 0 24px;
    padding: 28px 24px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 20px;
    border: 1px solid #e5e7eb;
}

.related-articles-heading {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 20px;
    text-align: center;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .related-articles-grid { grid-template-columns: 1fr; gap: 12px; }
    .related-articles-section { padding: 20px 16px; }
}

.related-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.related-card-icon {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.related-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.related-card-date {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}

.related-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 12px;
    line-height: 1.4;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card-cta {
    font-size: 13px;
    color: #FF6B35;
    font-weight: 600;
    transition: gap 0.2s;
    display: inline-flex;
    gap: 4px;
}

.related-card:hover .related-card-cta {
    color: #E55A2B;
    gap: 8px;
}

@media (prefers-reduced-motion: reduce) {
    .related-card { transition: none; }
    .related-card:hover { transform: none; }
}
