/* Extracted from news-details.php; preserve page scope. */
/* تنسيق صفحة تفاصيل الخبر */
    .news-detail-container {
        max-width: 850px;
        margin: 30px auto;
        padding: 20px;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.06);
        direction: rtl;
        text-align: right;
    }

    .news-detail-container h1 {
        color: #01579b;
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .news-meta {
        color: #666;
        font-size: 0.95rem;
        margin-bottom: 25px;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
    }

    .news-body {
        font-size: 1.1rem;
        line-height: 2;
        color: #222;
        white-space: pre-wrap;
        word-wrap: break-word;
    }

    .news-external-link {
        display: inline-block;
        margin-top: 25px;
        background: #01579b;
        color: white;
        padding: 10px 24px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: bold;
        transition: background 0.2s;
    }

    .news-external-link:hover {
        background: #003c6e;
    }

    .back-link {
        display: inline-block;
        margin-top: 20px;
        color: #555;
        text-decoration: none;
    }

    .back-link:hover {
        text-decoration: underline;
    }

    /* توافق مع الوضع الإنجليزي */
    html[dir="ltr"] .news-detail-container {
        direction: ltr;
        text-align: left;
    }
