/* ============ صفحة المقال المنفرد (news.html) ============ */

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    opacity: 0.85;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    transition: opacity 0.3s;
}

.back-link:hover {
    opacity: 1;
}

[dir="rtl"] .back-link i {
    transform: scaleX(-1);
}

.article-date {
    margin-top: 12px;
    opacity: 0.85;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.article-body {
    max-width: 860px;
    margin: 0 auto;
}

.article-image {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.article-content {
    font-size: 17px;
    line-height: 2;
    color: #444;
}

.article-content p {
    margin-bottom: 22px;
}

.article-content h2,
.article-content h3 {
    color: #1a1a2e;
    margin: 30px 0 12px;
    font-weight: 700;
}

.article-content ul,
.article-content ol {
    margin-inline-start: 24px;
    margin-bottom: 22px;
}

.article-content img {
    max-width: 100%;
    border-radius: 10px;
    margin: 14px 0;
}

@media (max-width: 768px) {
    .article-content {
        font-size: 16px;
        line-height: 1.9;
    }

    .article-image {
        max-height: 260px;
        margin-bottom: 22px;
    }
}
