﻿/* ===============================
   NEWS CONTENT (EDITOR TEMPLATE)
   =============================== */

.news-content {
    line-height: 1.8;
    font-size: 16px;
    color: #2c3e50;
}

    /* Lead paragraph */
    .news-content .lead {
        font-size: 18px;
        font-weight: 500;
        margin-bottom: 25px;
        padding: 15px;
        background-color: #f8f9fa;
        border-left: 4px solid #3498db;
    }

    /* Section headings */
    .news-content h2 {
        font-size: 24px;
        color: #2c3e50;
        margin: 30px 0 15px;
        padding-bottom: 8px;
        border-bottom: 1px solid #ecf0f1;
    }

    /* Alert / advisory box */
    .news-content .alert-box {
        background-color: #fff8e1;
        border-left: 4px solid #ffc107;
        padding: 15px;
        margin: 20px 0;
        border-radius: 0 4px 4px 0;
    }

        .news-content .alert-box h3 {
            color: #e65100;
            margin-bottom: 10px;
        }

    .news-content .severity-badge {
        display: inline-block;
        background-color: #e74c3c;
        color: white;
        padding: 5px 10px;
        border-radius: 4px;
        font-weight: bold;
        margin-right: 10px;
    }

    /* CVSS box */
    .news-content .cvss-box {
        background-color: #f5f5f5;
        padding: 15px;
        border-radius: 4px;
        margin: 20px 0;
    }

    .news-content .cvss-metrics {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 10px;
        margin-top: 10px;
    }

    .news-content .metric {
        background-color: white;
        padding: 10px;
        border-radius: 4px;
        border-left: 3px solid #3498db;
    }

    .news-content .metric-name {
        font-weight: bold;
        font-size: 14px;
    }

    .news-content .metric-value {
        font-size: 14px;
    }

    /* Lists */
    .news-content ul {
        margin-left: 20px;
        margin-bottom: 15px;
    }

    .news-content li {
        margin-bottom: 8px;
    }

    /* Remediation */
    .news-content .remediation-box {
        background-color: #e8f5e9;
        border-left: 4px solid #4caf50;
        padding: 15px;
        margin: 20px 0;
        border-radius: 0 4px 4px 0;
    }

        .news-content .remediation-box h3 {
            color: #2e7d32;
            margin-bottom: 10px;
        }

/* Mobile */
@media (max-width: 768px) {
    .news-content h2 {
        font-size: 20px;
    }
}
