/* News Detail Page Custom Styling */

.category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category-business {
    background: #dcfce7;
    color: #166534;
}

.category-project {
    background: #dbeafe;
    color: #1e40af;
}

.category-achievement {
    background: #fef3c7;
    color: #d97706;
}

.category-partnership {
    background: #ede9fe;
    color: #7c3aed;
}

.category-csr {
    background: #fce7f3;
    color: #be185d;
}

.category-training {
    background: #ecfdf5;
    color: #059669;
}

.article-hero img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 1rem;
}

@media (min-width: 768px) {
    .article-hero img {
        height: 420px;
    }
}

.gradient-text {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.prose {
    color: #374151;
    line-height: 1.75;
}

.back-link {
    color: #10b981;
    font-weight: 600;
    text-decoration: none;
}

.back-link:hover {
    color: #059669;
}

/* Sidebar polish */
@media (min-width: 768px) {
    .aside-sticky {
        position: sticky;
        top: 6rem;
    }
}

.clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}