main.py-5 {
    background-color: #ffffff !important; 
    padding-top: 3rem !important;
    padding-bottom: 5rem !important;
}
.detail-news-badge {
    padding: 6px 14px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: inline-block;
}
.detail-news-badge.bg-blue { background-color: #2563eb !important; color: #ffffff !important; }
.detail-news-badge.bg-green { background-color: #10b981 !important; color: #ffffff !important; }
.detail-news-title {
    font-size: 2.3rem;
    line-height: 1.3;
    color: #0f172a !important;
    letter-spacing: -0.5px;
    margin-top: 10px;
}
.detail-news-meta {
    font-size: 0.9rem;
    color: #64748b;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 18px;
}

.detail-news-meta span {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}
.detail-news-img-box {
    width: 100%;
    max-height: 480px; 
    border-radius: 12px;
    overflow: hidden;
    background-color: #f8fafc;
}

.detail-news-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    display: block;
}
.detail-news-content {
    font-size: 1.125rem; 
    line-height: 1.85;   
    color: #334155;      
}

.detail-news-content p {
    margin-bottom: 24px !important; 
    text-align: justify;            
}

.detail-news-content strong {
    color: #0f172a;
    font-weight: 700;
}

@media (max-width: 768px) {
    .detail-news-title {
        font-size: 1.75rem;
    }
    
    .detail-news-content {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .detail-news-img-box {
        max-height: 300px; 
    }
}