/* ==========================================================================
    Article Page Specific Styles
==========================================================================
*/

.article-page {
    padding-top: 40px; /* فاصله از منو */
}

.article-header {
    text-align: center;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.article-header h1 {
    font-size: 3rem;
    color: var(--saffron-red);
    margin-bottom: 15px;
}

.article-meta {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.article-featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 15px;
    margin-top: 20px;
}

.article-content {
    max-width: 800px; /* عرض مناسب برای خواندن متن */
    padding-top: 40px;
    padding-bottom: 60px;
}

.article-content p {
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 25px;
    color: #444;
}

.article-content h2 {
    font-size: 2.2rem;
    color: var(--dark-text);
    margin-top: 50px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--saffron-gold);
}

.article-content ul {
    list-style-type: disc;
    padding-right: 20px;
    margin-bottom: 25px;
}

.article-content ul li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.article-content figure {
    margin: 40px 0;
    text-align: center;
}

.article-content figure img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.article-content figure figcaption {
    font-size: 0.9rem;
    color: #777;
    margin-top: 10px;
    font-style: italic;
}

.test-comparison {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.test-card {
    flex: 1;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.test-card h3 {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 15px;
}

.test-card:first-child {
    background-color: #f2fff5;
    border-color: var(--success-green);
}

.test-card:last-child {
    background-color: #fff2f2;
    border-color: var(--saffron-red);
}

.back-to-blog {
    text-align: center;
    margin-top: 60px;
}

.back-to-blog a {
    text-decoration: none;
    background-color: var(--saffron-red);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.back-to-blog a:hover {
    background-color: var(--dark-bg);
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2rem;
    }
    .test-comparison {
        flex-direction: column;
    }
}