﻿/* پس‌زمینه کلی صفحه */
.mag-page {
    color: #fff;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    padding: 30px;
    border-radius: 20px;
}

/* باکس اصلی مطلب */
.article-box {
    background: rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 25px;
}

/* تصویر اصلی مطلب */
.article-main-img {
    width: 80%;
    height:400px;
    border-radius: 16px;
    margin-bottom: 20px;
}

/* عنوان مطلب */
.article-title {
    font-size: 30px;
    font-weight: bold;
}

/* اطلاعات مطلب */
.article-meta span {
    margin-left: 15px;
    font-size: 14px;
    color: #dcdcdc;
}
.article-meta i {
    margin-left: 5px;
    color: #0dcaf0;
}

/* محتوای مقاله */
.article-content {
    line-height: 2.3;
    font-size: 17px;
}
.article-content h3 {
    margin-top: 25px;
    margin-bottom: 10px;
    color: #0dcaf0;
}
.inside-img {
    width: 100%;
    border-radius: 12px;
    margin: 20px 0;
}

/* ویدئو */
.article-video {
    background: rgba(255,255,255,0.08);
    padding: 10px;
    border-radius: 14px;
}

/* اشتراک‌گذاری */
.share-box {
    display: flex;
    align-items: center;
    gap: 10px;
}
.share-box a {
    background: rgba(255,255,255,0.15);
    padding: 8px 12px;
    border-radius: 10px;
    transition: 0.3s;
}
.share-box a:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-4px);
}

/* نظرات */
.comment-item {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
}

/* سایدبار مطالب مشابه */
.related-sidebar {
    background: rgba(255,255,255,0.07);
    padding: 20px;
    border-radius: 20px;
}
.related-item {
    display: flex;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: 0.3s;
    color: #fff;
}
.related-item img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
}
.related-item:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.2);
}
