﻿/* ============================================
           ARTICLE — صفحه مقاله
           ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
    color: #1a1a2e;
    direction: rtl;
    padding: 20px;
    min-height: 100vh;
}

/* ============================================
           BREADCRUMB
           ============================================ */
.breadcrumb-section {
    background: #ffffff;
    padding: 12px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid #f0f2f5;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

    .breadcrumb-section a {
        color: #003366;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        transition: color 0.3s ease;
    }

        .breadcrumb-section a:hover {
            color: #F4B400;
        }

    .breadcrumb-section .separator {
        color: #d1d5db;
    }

    .breadcrumb-section .current {
        color: #6b7280;
        font-size: 0.9rem;
    }

/* ============================================
           ARTICLE CONTAINER
           ============================================ */
.article-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.article-main {
    flex: 2;
    min-width: 300px;
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 36px;
    border: 1px solid #f0f2f5;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.article-sidebar {
    flex: 1;
    min-width: 260px;
}

/* ============================================
           ARTICLE HEADER
           ============================================ */
.article-main .article-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 16px;
    border-radius: 50px;
    background: rgba(244, 180, 0, 0.12);
    color: #F4B400;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

    .article-main .article-badge i {
        font-size: 0.7rem;
    }

.article-main h1 {
    font-weight: 800;
    font-size: 2rem;
    color: #003366;
    line-height: 1.3;
    margin-bottom: 12px;
}

.article-main .article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f2f5;
    margin-bottom: 20px;
}

    .article-main .article-meta .meta-item {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #6b7280;
        font-size: 0.85rem;
    }

        .article-main .article-meta .meta-item i {
            color: #F4B400;
        }

        .article-main .article-meta .meta-item .author-name {
            color: #003366;
            font-weight: 600;
        }

/* ============================================
           ARTICLE FEATURED IMAGE
           ============================================ */
.article-main .featured-image {
    width: 100%;
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    background: #f0f2f5;
}

    .article-main .featured-image img {
        width: 100%;
        height: 100%;
        object-fit: inherit;
    }

/* ============================================
           ARTICLE CONTENT
           ============================================ */
.article-main .article-content h2 {
    font-weight: 700;
    font-size: 1.4rem;
    color: #003366;
    margin: 24px 0 10px;
}

.article-main .article-content h3 {
    font-weight: 700;
    font-size: 1.1rem;
    color: #003366;
    margin: 20px 0 8px;
}

.article-main .article-content p {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 16px;
}

.article-main .article-content ul,
.article-main .article-content ol {
    padding-right: 24px;
    margin-bottom: 16px;
    color: #4b5563;
    line-height: 1.9;
}

    .article-main .article-content ul li,
    .article-main .article-content ol li {
        margin-bottom: 4px;
    }

        .article-main .article-content ul li::marker {
            color: #F4B400;
        }

.article-main .article-content .highlight-box {
    background: #f8fafc;
    border-right: 4px solid #F4B400;
    padding: 18px 22px;
    border-radius: 8px;
    margin: 20px 0;
}

    .article-main .article-content .highlight-box p {
        margin-bottom: 0;
        color: #003366;
        font-weight: 500;
    }

    .article-main .article-content .highlight-box i {
        color: #F4B400;
        margin-left: 8px;
    }

.article-main .article-content img {
    width: 100%;
    border-radius: 12px;
    margin: 16px 0;
}

/* ============================================
           ARTICLE TAGS
           ============================================ */
.article-main .article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 20px;
    border-top: 2px solid #f0f2f5;
    margin-top: 24px;
}

    .article-main .article-tags .tag {
        padding: 4px 14px;
        border-radius: 50px;
        background: #f0f2f5;
        color: #6b7280;
        font-size: 0.8rem;
        font-weight: 500;
        transition: all 0.3s ease;
    }

        .article-main .article-tags .tag:hover {
            background: #F4B400;
            color: #003366;
            transform: translateY(-2px);
        }

/* ============================================
           ARTICLE ACTIONS
           ============================================ */
.article-main .article-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f0f2f5;
    margin-top: 20px;
}

    .article-main .article-actions .share-buttons {
        display: flex;
        gap: 8px;
    }

        .article-main .article-actions .share-buttons button {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            border: none;
            background: #f0f2f5;
            color: #6b7280;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(.34, 1.56, .64, 1);
        }

            .article-main .article-actions .share-buttons button:hover {
                background: #F4B400;
                color: #003366;
                transform: scale(1.05);
            }

    .article-main .article-actions .like-section button {
        padding: 8px 20px;
        border: 2px solid #e5e7eb;
        border-radius: 50px;
        background: transparent;
        color: #6b7280;
        font-family: 'Vazirmatn', 'Segoe UI', sans-serif;
        font-weight: 600;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(.34, 1.56, .64, 1);
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .article-main .article-actions .like-section button:hover {
            border-color: #F4B400;
            color: #F4B400;
        }

        .article-main .article-actions .like-section button.liked {
            background: #F4B400;
            border-color: #F4B400;
            color: #003366;
        }

/* ============================================
           COMMENTS SECTION (in article)
           ============================================ */
.article-main .comments-section {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 2px solid #f0f2f5;
}

    .article-main .comments-section .comments-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
    }

        .article-main .comments-section .comments-header h4 {
            font-weight: 700;
            font-size: 1.1rem;
            color: #003366;
        }

            .article-main .comments-section .comments-header h4 i {
                color: #F4B400;
                margin-left: 8px;
            }

        .article-main .comments-section .comments-header .comments-count {
            color: #9ca3af;
            font-size: 0.85rem;
        }

    .article-main .comments-section .comment-form {
        display: flex;
        gap: 12px;
        margin-bottom: 20px;
    }

        .article-main .comments-section .comment-form .comment-avatar {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: linear-gradient(135deg, #003366, #0a4d8c);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 0.9rem;
            flex-shrink: 0;
        }

        .article-main .comments-section .comment-form .comment-input-wrapper {
            flex: 1;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

            .article-main .comments-section .comment-form .comment-input-wrapper input {
                flex: 1;
                min-width: 150px;
                padding: 12px 16px;
                border-radius: 12px;
                border: 2px solid #e5e7eb;
                background: #fafafa;
                color: #1a1a2e;
                font-family: 'Vazirmatn', 'Segoe UI', sans-serif;
                font-size: 0.9rem;
                outline: none;
                transition: all 0.4s ease;
            }

                .article-main .comments-section .comment-form .comment-input-wrapper input:focus {
                    border-color: #F4B400;
                    background: #ffffff;
                    box-shadow: 0 0 0 4px rgba(244, 180, 0, 0.08);
                }

                .article-main .comments-section .comment-form .comment-input-wrapper input::placeholder {
                    color: #9ca3af;
                }

            .article-main .comments-section .comment-form .comment-input-wrapper button {
                padding: 12px 24px;
                border: none;
                border-radius: 12px;
                background: linear-gradient(135deg, #F4B400, #d49d00);
                color: #003366;
                font-weight: 700;
                font-family: 'Vazirmatn', 'Segoe UI', sans-serif;
                font-size: 0.9rem;
                cursor: pointer;
                transition: all 0.4s cubic-bezier(.34, 1.56, .64, 1);
                white-space: nowrap;
            }

                .article-main .comments-section .comment-form .comment-input-wrapper button:hover {
                    transform: scale(1.02);
                    box-shadow: 0 4px 20px rgba(244, 180, 0, 0.3);
                }

    .article-main .comments-section .comment-item {
        display: flex;
        gap: 12px;
        padding: 14px 0;
        border-bottom: 1px solid #f0f2f5;
    }

        .article-main .comments-section .comment-item:last-child {
            border-bottom: none;
        }

        .article-main .comments-section .comment-item .comment-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #7e56c6, #5a3a9e);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 0.85rem;
            flex-shrink: 0;
        }

        .article-main .comments-section .comment-item .comment-body {
            flex: 1;
        }

            .article-main .comments-section .comment-item .comment-body .comment-header {
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                gap: 10px;
                margin-bottom: 4px;
            }

                .article-main .comments-section .comment-item .comment-body .comment-header .comment-name {
                    font-weight: 700;
                    color: #003366;
                    font-size: 0.9rem;
                }

                .article-main .comments-section .comment-item .comment-body .comment-header .comment-date {
                    color: #9ca3af;
                    font-size: 0.75rem;
                }

            .article-main .comments-section .comment-item .comment-body .comment-text {
                color: #6b7280;
                font-size: 0.9rem;
                line-height: 1.7;
            }

            .article-main .comments-section .comment-item .comment-body .comment-actions {
                display: flex;
                gap: 14px;
                margin-top: 6px;
            }

                .article-main .comments-section .comment-item .comment-body .comment-actions button {
                    background: none;
                    border: none;
                    color: #9ca3af;
                    font-size: 0.8rem;
                    cursor: pointer;
                    transition: color 0.3s ease;
                    font-family: 'Vazirmatn', 'Segoe UI', sans-serif;
                    display: flex;
                    align-items: center;
                    gap: 4px;
                }

                    .article-main .comments-section .comment-item .comment-body .comment-actions button:hover {
                        color: #F4B400;
                    }

                    .article-main .comments-section .comment-item .comment-body .comment-actions button.liked {
                        color: #F4B400;
                    }

/* ============================================
           SIDEBAR
           ============================================ */
.article-sidebar .sidebar-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 24px;
    border: 1px solid #f0f2f5;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
}

    .article-sidebar .sidebar-card:last-child {
        margin-bottom: 0;
    }

    .article-sidebar .sidebar-card .sidebar-title {
        font-weight: 700;
        font-size: 1rem;
        color: #003366;
        margin-bottom: 14px;
        display: flex;
        align-items: center;
        gap: 8px;
        padding-bottom: 10px;
        border-bottom: 2px solid #f0f2f5;
    }

        .article-sidebar .sidebar-card .sidebar-title i {
            color: #F4B400;
        }

/* Author Box */
.sidebar-card .author-box {
    text-align: center;
}

    .sidebar-card .author-box .author-avatar {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: linear-gradient(135deg, #003366, #0a4d8c);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 2rem;
        margin: 0 auto 12px;
        border: 3px solid #F4B400;
    }

    .sidebar-card .author-box .author-name {
        font-weight: 700;
        color: #003366;
        font-size: 1.05rem;
    }

    .sidebar-card .author-box .author-bio {
        color: #6b7280;
        font-size: 0.85rem;
        margin-top: 4px;
    }

/* Related Articles */
.sidebar-card .related-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f2f5;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .sidebar-card .related-item:last-child {
        border-bottom: none;
    }

    .sidebar-card .related-item:hover {
        padding-right: 6px;
    }

    .sidebar-card .related-item .ri-thumb {
        width: 80px;
        height: 56px;
        border-radius: 8px;
        overflow: hidden;
        flex-shrink: 0;
        background: #f0f2f5;
    }

        .sidebar-card .related-item .ri-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .sidebar-card .related-item .ri-info h6 {
        font-weight: 600;
        font-size: 0.85rem;
        color: #003366;
        line-height: 1.3;
    }

    .sidebar-card .related-item .ri-info .ri-meta {
        font-size: 0.7rem;
        color: #9ca3af;
    }

/* Categories */
.sidebar-card .category-list {
    list-style: none;
    padding: 0;
}

    .sidebar-card .category-list li {
        padding: 8px 0;
        border-bottom: 1px solid #f0f2f5;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .sidebar-card .category-list li:last-child {
            border-bottom: none;
        }

        .sidebar-card .category-list li:hover {
            padding-right: 6px;
            color: #F4B400;
        }

        .sidebar-card .category-list li .cat-name {
            color: #6b7280;
            font-size: 0.9rem;
        }

        .sidebar-card .category-list li .cat-count {
            color: #9ca3af;
            font-size: 0.75rem;
            background: #f0f2f5;
            padding: 2px 10px;
            border-radius: 50px;
        }

/* Newsletter */
.sidebar-card .newsletter-box input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    background: #fafafa;
    color: #1a1a2e;
    font-family: 'Vazirmatn', 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.4s ease;
    margin-bottom: 10px;
}

    .sidebar-card .newsletter-box input:focus {
        border-color: #F4B400;
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(244, 180, 0, 0.08);
    }

    .sidebar-card .newsletter-box input::placeholder {
        color: #9ca3af;
    }

.sidebar-card .newsletter-box button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #F4B400, #d49d00);
    color: #003366;
    font-weight: 700;
    font-family: 'Vazirmatn', 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(.34, 1.56, .64, 1);
}

    .sidebar-card .newsletter-box button:hover {
        transform: scale(1.02);
        box-shadow: 0 4px 20px rgba(244, 180, 0, 0.3);
    }

/* ============================================
           RESPONSIVE
           ============================================ */
@media (max-width: 992px) {
    .article-wrapper {
        flex-direction: column;
    }

    .article-sidebar {
        min-width: unset;
    }

    .article-main {
        padding: 24px 28px;
    }

        .article-main h1 {
            font-size: 1.6rem;
        }

        .article-main .featured-image {
            height: 350px;
        }
}

@media (max-width: 768px) {
    body {
        padding: 12px;
    }

    .article-main {
        padding: 18px 20px;
    }

        .article-main h1 {
            font-size: 1.3rem;
        }

        .article-main .featured-image {
            height: 280px;
        }

        .article-main .article-content h2 {
            font-size: 1.2rem;
        }

        .article-main .article-content p {
            font-size: 0.9rem;
        }

        .article-main .article-actions {
            flex-direction: column;
            gap: 12px;
            align-items: flex-start;
        }

        .article-main .comments-section .comment-form {
            flex-direction: column;
        }

            .article-main .comments-section .comment-form .comment-avatar {
                display: none;
            }

            .article-main .comments-section .comment-form .comment-input-wrapper button {
                width: 100%;
                justify-content: center;
            }

            .article-main .comments-section .comment-form .comment-input-wrapper input {
                min-width: unset;
            }

    .breadcrumb-section {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .article-sidebar .sidebar-card {
        padding: 16px 18px;
    }
}

@media (max-width: 576px) {
    .article-main {
        padding: 14px 16px;
    }

        .article-main h1 {
            font-size: 1.1rem;
        }

        .article-main .featured-image {
            height: 250px;
        }

        .article-main .article-meta {
            gap: 10px;
        }

            .article-main .article-meta .meta-item {
                font-size: 0.75rem;
            }

        .article-main .article-content h2 {
            font-size: 1rem;
        }

        .article-main .article-content h3 {
            font-size: 0.95rem;
        }

        .article-main .article-content p {
            font-size: 0.85rem;
        }

        .article-main .article-actions .share-buttons button {
            width: 34px;
            height: 34px;
            font-size: 0.8rem;
        }

        .article-main .article-actions .like-section button {
            font-size: 0.75rem;
            padding: 6px 14px;
        }

        .article-main .comments-section .comment-item {
            flex-direction: column;
        }

            .article-main .comments-section .comment-item .comment-avatar {
                width: 32px;
                height: 32px;
                font-size: 0.7rem;
            }

        .article-main .comments-section .comments-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 4px;
        }

    .breadcrumb-section {
        font-size: 0.7rem;
        padding: 8px 12px;
        gap: 6px;
    }

        .breadcrumb-section .separator {
            display: none;
        }

    .article-sidebar .sidebar-card .related-item .ri-thumb {
        width: 60px;
        height: 42px;
    }

    .article-sidebar .sidebar-card .related-item .ri-info h6 {
        font-size: 0.75rem;
    }
}

/* ============================================
           SCROLLBAR
           ============================================ */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f0f2f5;
}

::-webkit-scrollbar-thumb {
    background: #F4B400;
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #d49d00;
    }
/* ============================================
   SHARE BUTTONS — دکمه‌های اشتراک‌گذاری
   ============================================ */

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(.34, 1.56, .64, 1);
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    /* ===== هاور ===== */
    .share-link:hover {
        transform: translateY(-4px) scale(1.05);
        color: #fff;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

/* ===== رنگ‌های اختصاصی ===== */
.share-telegram {
    background: #e8f4fd;
    color: #0088cc;
}

    .share-telegram:hover {
        background: #0088cc;
        color: #fff;
        box-shadow: 0 8px 25px rgba(0, 136, 204, 0.35);
    }

.share-whatsapp {
    background: #e8f5ee;
    color: #25d366;
}

    .share-whatsapp:hover {
        background: #25d366;
        color: #fff;
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
    }

.share-linkedin {
    background: #e8f0fa;
    color: #0a66c2;
}

    .share-linkedin:hover {
        background: #0a66c2;
        color: #fff;
        box-shadow: 0 8px 25px rgba(10, 102, 194, 0.35);
    }

.share-copy {
    background: #f3f4f6;
    color: #6b7280;
}

    .share-copy:hover {
        background: #003366;
        color: #fff;
        box-shadow: 0 8px 25px rgba(0, 51, 102, 0.3);
    }

/* ===== انیمیشن کلیک ===== */
.share-link:active {
    transform: scale(0.9);
}

/* ===== ابزارک (Tooltip) ===== */
.share-link::after {
    content: attr(title);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background: #1a1a2e;
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.share-link::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    border: 6px solid transparent;
    border-top-color: #1a1a2e;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.share-link:hover::after,
.share-link:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

/* ============================================
   ریسپانسیو
   ============================================ */

@media (max-width: 768px) {
    .share-link {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

        .share-link::after {
            font-size: 0.6rem;
            padding: 3px 10px;
        }
}

@media (max-width: 576px) {
    .share-link {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
        border-radius: 50%;
    }

    .share-buttons {
        gap: 6px;
    }

    .share-link::after {
        display: none;
    }

    .share-link::before {
        display: none;
    }
}

/* ============================================
   حالت کپی (برای دکمه کپی لینک)
   ============================================ */

.share-copy.copied {
    background: #24c06d;
    color: #fff;
    box-shadow: 0 8px 25px rgba(36, 192, 109, 0.35);
}

    .share-copy.copied i {
        animation: bounce 0.4s ease;
    }

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}



/* ============================================
       COMMENT FORM — فرم ثبت نظر
       ============================================ */
.comment-form-wrapper {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 28px;
    border: 1px solid #f0f2f5;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    margin-top: 24px;
}

.comment-form-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f0f2f5;
    margin-bottom: 18px;
}

    .comment-form-header i {
        font-size: 1.3rem;
    }

    .comment-form-header h4 {
        font-weight: 700;
        color: #003366;
        margin: 0;
        font-size: 1.1rem;
    }

/* ============================================
       فرم
       ============================================ */
.comment-form-body .form-group {
    margin-bottom: 16px;
}

.comment-form-body .form-label {
    font-weight: 600;
    color: #1a1a2e;
    font-size: 0.9rem;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .comment-form-body .form-label .required-star {
        color: #ef4444;
        font-size: 1.1rem;
    }

.comment-form-body .form-control {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    background: #fafafa;
    color: #1a1a2e;
    font-family: 'Vazirmatn', 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.4s ease;
}

    .comment-form-body .form-control:focus {
        border-color: #F4B400;
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(244, 180, 0, 0.08);
    }

    .comment-form-body .form-control::placeholder {
        color: #9ca3af;
    }

.comment-form-body textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.comment-form-body .form-hint {
    display: block;
    font-size: 0.7rem;
    color: #9ca3af;
    margin-top: 4px;
}

/* ============================================
       امتیاز (Range)
       ============================================ */
.rating-input-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 0;
}

    .rating-input-wrapper input[type="range"] {
        flex: 1;
        height: 4px;
        -webkit-appearance: none;
        background: #e5e7eb;
        border-radius: 4px;
        outline: none;
        transition: background 0.3s ease;
    }

        .rating-input-wrapper input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: #F4B400;
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(244, 180, 0, 0.3);
            transition: all 0.3s ease;
        }

            .rating-input-wrapper input[type="range"]::-webkit-slider-thumb:hover {
                transform: scale(1.1);
            }

        .rating-input-wrapper input[type="range"]::-moz-range-thumb {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: #F4B400;
            cursor: pointer;
            border: none;
            box-shadow: 0 2px 10px rgba(244, 180, 0, 0.3);
        }

    .rating-input-wrapper .rating-value {
        min-width: 30px;
        font-weight: 700;
        color: #003366;
        font-size: 1.1rem;
        text-align: center;
        background: #f0f2f5;
        padding: 2px 10px;
        border-radius: 6px;
    }

/* ============================================
       آپلود فایل
       ============================================ */
.upload-wrapper {
    position: relative;
    border: 2px dashed #e5e7eb;
    border-radius: 10px;
    padding: 18px 20px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    background: #fafafa;
    overflow: hidden;
}

    .upload-wrapper:hover {
        border-color: #F4B400;
        background: rgba(244, 180, 0, 0.04);
    }

    .upload-wrapper .upload-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        pointer-events: none;
    }

        .upload-wrapper .upload-content i {
            font-size: 1.8rem;
            color: #9ca3af;
            transition: color 0.3s ease;
        }

    .upload-wrapper:hover .upload-content i {
        color: #F4B400;
    }

    .upload-wrapper .upload-content span {
        font-size: 0.8rem;
        color: #6b7280;
        font-weight: 500;
    }

    .upload-wrapper input[type="file"] {
        position: absolute;
        inset: 0;
        opacity: 0;
        cursor: pointer;
    }

/* ============================================
       دکمه ثبت
       ============================================ */
.comment-form-footer {
    padding-top: 16px;
    border-top: 1px solid #f0f2f5;
    margin-top: 4px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #003366, #0a4d8c);
    color: #fff;
    font-family: 'Vazirmatn', 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(.34, 1.56, .64, 1);
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.2);
}

    .btn-submit:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 30px rgba(0, 51, 102, 0.3);
        color: #fff;
    }

    .btn-submit:active {
        transform: translateY(0) scale(0.97);
    }

/* ============================================
       پیام‌ها (Alert)
       ============================================ */
.alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
}

    .alert.text-danger {
        background: #fee2e2;
        color: #991b1b;
        border-color: #fecaca;
    }

    .alert.text-success {
        background: #d1fae5;
        color: #065f46;
        border-color: #a7f3d0;
    }

    .alert.text-warning {
        background: #fef3c7;
        color: #92400e;
        border-color: #fde68a;
    }

/* ============================================
       حالت لاگین نشده
       ============================================ */
.comment-login-box {
    text-align: center;
    padding: 30px 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #f0f2f5;
    margin-top: 24px;
}

    .comment-login-box i {
        font-size: 2.5rem;
        display: block;
        margin-bottom: 10px;
    }

    .comment-login-box p {
        color: #6b7280;
        font-size: 0.95rem;
        margin: 0;
    }

    .comment-login-box .login-link {
        color: #003366;
        font-weight: 700;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .comment-login-box .login-link:hover {
            color: #F4B400;
        }

/* ============================================
       ریسپانسیو
       ============================================ */
@media (max-width: 768px) {
    .comment-form-wrapper {
        padding: 18px 20px;
    }

    .comment-form-header h4 {
        font-size: 0.95rem;
    }

    .btn-submit {
        width: 100%;
        justify-content: center;
    }

    .rating-input-wrapper {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .comment-form-wrapper {
        padding: 14px 16px;
        border-radius: 12px;
    }

    .comment-form-header h4 {
        font-size: 0.85rem;
    }

    .comment-form-body .form-label {
        font-size: 0.8rem;
    }

    .comment-form-body .form-control {
        font-size: 0.8rem;
        padding: 8px 12px;
        border-radius: 8px;
    }

    .upload-wrapper {
        padding: 12px 14px;
    }

        .upload-wrapper .upload-content i {
            font-size: 1.3rem;
        }

        .upload-wrapper .upload-content span {
            font-size: 0.7rem;
        }

    .btn-submit {
        font-size: 0.85rem;
        padding: 10px 24px;
    }

    .rating-input-wrapper .rating-value {
        font-size: 0.9rem;
        min-width: 26px;
        padding: 2px 8px;
    }

    .comment-login-box {
        padding: 20px 16px;
    }

        .comment-login-box i {
            font-size: 2rem;
        }

        .comment-login-box p {
            font-size: 0.85rem;
        }
}

/* ============================================
       COMMENT CARD — کارت نظرات
       ============================================ */

.comment-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 22px;
    border: 1px solid #f0f2f5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 16px;
    transition: all 0.4s ease;
}

    .comment-card:hover {
        border-color: #F4B400;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }

/* ============================================
       هدر نظر
       ============================================ */
.comment-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f2f5;
}

.comment-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #003366, #0a4d8c);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.comment-author {
    font-weight: 700;
    color: #003366;
    font-size: 0.95rem;
    display: block;
}

.comment-date {
    font-size: 0.7rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 1px;
}

    .comment-date i {
        color: #F4B400;
    }

/* ============================================
       امتیاز
       ============================================ */
.comment-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

    .comment-rating i {
        font-size: 0.85rem;
    }

    .comment-rating .rating-number {
        font-weight: 700;
        color: #003366;
        font-size: 0.85rem;
        margin-right: 4px;
        background: #f0f2f5;
        padding: 0 8px;
        border-radius: 4px;
    }

/* ============================================
       متن نظر
       ============================================ */
.comment-text {
    color: #1a1a2e;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

/* ============================================
       نکات مثبت و منفی
       ============================================ */
.comment-points {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 10px;
}

    .comment-points.positive {
        background: #f0fdf4;
        border-right: 3px solid #24c06d;
    }

    .comment-points.negative {
        background: #fef2f2;
        border-right: 3px solid #ef4444;
    }

    .comment-points .points-header {
        display: flex;
        align-items: center;
        gap: 6px;
        font-weight: 600;
        font-size: 0.85rem;
        margin-bottom: 6px;
    }

    .comment-points.positive .points-header {
        color: #065f46;
    }

    .comment-points.negative .points-header {
        color: #991b1b;
    }

    .comment-points .points-header i {
        font-size: 0.9rem;
    }

    .comment-points .points-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .comment-points .tag {
        display: inline-block;
        padding: 2px 12px;
        border-radius: 50px;
        font-size: 0.75rem;
        font-weight: 500;
    }

    .comment-points .tag-positive {
        background: #d1fae5;
        color: #065f46;
    }

    .comment-points .tag-negative {
        background: #fee2e2;
        color: #991b1b;
    }

/* ============================================
       تصویر نظر
       ============================================ */
.comment-image {
    margin-top: 12px;
}

    .comment-image img {
        width: 100px;
        height: 100px;
        object-fit: cover;
        border-radius: 10px;
        border: 2px solid #f0f2f5;
        transition: all 0.4s ease;
        cursor: pointer;
    }

        .comment-image img:hover {
            transform: scale(1.05);
            border-color: #F4B400;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

/* ============================================
       پاسخ
       ============================================ */
.comment-response {
    margin-top: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 10px;
    border-right: 3px solid #F4B400;
}

    .comment-response .response-header {
        display: flex;
        align-items: center;
        gap: 6px;
        font-weight: 600;
        font-size: 0.85rem;
        color: #003366;
        margin-bottom: 4px;
    }

        .comment-response .response-header i {
            font-size: 0.85rem;
        }

    .comment-response p {
        color: #4b5563;
        font-size: 0.9rem;
        line-height: 1.7;
        margin: 0;
    }

/* ============================================
       بدون نظر
       ============================================ */
.no-comments {
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
    border-radius: 16px;
    border: 2px dashed #e5e7eb;
}

    .no-comments i {
        font-size: 3rem;
        color: #e5e7eb;
        display: block;
        margin-bottom: 12px;
    }

    .no-comments h4 {
        font-weight: 700;
        color: #003366;
        margin-bottom: 4px;
    }

    .no-comments p {
        color: #9ca3af;
        font-size: 0.95rem;
    }

/* ============================================
       ریسپانسیو
       ============================================ */
@media (max-width: 768px) {
    .comment-card {
        padding: 14px 16px;
    }

    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .comment-rating {
        align-self: flex-start;
    }

    .comment-avatar {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .comment-author {
        font-size: 0.85rem;
    }

    .comment-text {
        font-size: 0.9rem;
    }

    .comment-points {
        padding: 8px 12px;
    }

        .comment-points .tag {
            font-size: 0.7rem;
        }

    .comment-image img {
        width: 80px;
        height: 80px;
    }

    .comment-response {
        padding: 10px 14px;
    }

        .comment-response p {
            font-size: 0.85rem;
        }
}

@media (max-width: 576px) {
    .comment-card {
        padding: 12px 14px;
        border-radius: 12px;
    }

    .comment-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.65rem;
    }

    .comment-author {
        font-size: 0.8rem;
    }

    .comment-date {
        font-size: 0.6rem;
    }

    .comment-text {
        font-size: 0.85rem;
    }

    .comment-rating i {
        font-size: 0.7rem;
    }

    .comment-rating .rating-number {
        font-size: 0.75rem;
    }

    .comment-points .points-header {
        font-size: 0.75rem;
    }

    .comment-points .tag {
        font-size: 0.65rem;
        padding: 2px 10px;
    }

    .comment-image img {
        width: 60px;
        height: 60px;
    }

    .comment-response {
        padding: 8px 12px;
    }

        .comment-response .response-header {
            font-size: 0.75rem;
        }

        .comment-response p {
            font-size: 0.8rem;
        }
}
/* ============================================
   SUGGESTION PRODUCT — محصول پیشنهادی مقاله
   ============================================ */

.article-suggestion-product {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 22px 22px;
    border: 1px solid #f0f2f5;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    margin: 24px 0;
    transition: all 0.4s ease;
    max-width: 320px;
}

    .article-suggestion-product:hover {
        border-color: #F4B400;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    }

    /* ============================================
   HEADER
   ============================================ */
    .article-suggestion-product h4 {
        font-weight: 700;
        font-size: 1rem;
        color: #003366;
        margin-bottom: 14px;
        display: flex;
        align-items: center;
        gap: 8px;
        padding-bottom: 10px;
        border-bottom: 2px solid #f0f2f5;
    }

        .article-suggestion-product h4 i {
            color: #F4B400;
            font-size: 1.1rem;
        }

    /* ============================================
   PRODUCT CARD
   ============================================ */
    .article-suggestion-product .suggestion-product-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    /* ============================================
   PRODUCT IMAGE
   ============================================ */
    .article-suggestion-product .suggestion-product-img {
        width: 120px;
        height: 120px;
        border-radius: 12px;
        overflow: hidden;
        background: #fafafa;
        border: 1px solid #f0f2f5;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.4s ease;
    }

    .article-suggestion-product:hover .suggestion-product-img {
        border-color: #F4B400;
        box-shadow: 0 4px 20px rgba(244, 180, 0, 0.1);
    }

    .article-suggestion-product .suggestion-product-img img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 8px;
        transition: transform 0.5s ease;
    }

    .article-suggestion-product:hover .suggestion-product-img img {
        transform: scale(1.04);
    }

    /* ============================================
   PRODUCT TITLE
   ============================================ */
    .article-suggestion-product .suggestion-product-title {
        font-weight: 700;
        font-size: 0.95rem;
        color: #003366;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 42px;
    }

    /* ============================================
   BUTTON
   ============================================ */
    .article-suggestion-product .suggestion-product-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 10px 20px;
        border: none;
        border-radius: 10px;
        background: linear-gradient(135deg, #003366, #0a4d8c);
        color: #fff;
        font-family: 'Vazirmatn', 'Segoe UI', sans-serif;
        font-weight: 700;
        font-size: 0.9rem;
        text-decoration: none;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(.34, 1.56, .64, 1);
        box-shadow: 0 4px 15px rgba(0, 51, 102, 0.15);
    }

        .article-suggestion-product .suggestion-product-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(0, 51, 102, 0.25);
            color: #fff;
            text-decoration: none;
        }

        .article-suggestion-product .suggestion-product-btn:active {
            transform: translateY(0) scale(0.97);
        }

        .article-suggestion-product .suggestion-product-btn i {
            font-size: 0.9rem;
            transition: transform 0.3s ease;
        }

        .article-suggestion-product .suggestion-product-btn:hover i {
            transform: translateX(-4px);
        }

/* ============================================
   RESPONSIVE
   ============================================ */

/* تبلت */
@media (max-width: 768px) {
    .article-suggestion-product {
        padding: 16px 18px 18px;
        max-width: 100%;
    }

        .article-suggestion-product h4 {
            font-size: 0.9rem;
        }

        .article-suggestion-product .suggestion-product-img {
            width: 100px;
            height: 100px;
        }

        .article-suggestion-product .suggestion-product-title {
            font-size: 0.85rem;
            min-height: 38px;
        }

        .article-suggestion-product .suggestion-product-btn {
            font-size: 0.85rem;
            padding: 8px 16px;
        }
}

/* موبایل */
@media (max-width: 576px) {
    .article-suggestion-product {
        padding: 14px 14px 16px;
        border-radius: 12px;
        margin: 16px 0;
    }

        .article-suggestion-product h4 {
            font-size: 0.8rem;
            gap: 6px;
            margin-bottom: 10px;
        }

            .article-suggestion-product h4 i {
                font-size: 0.95rem;
            }

        .article-suggestion-product .suggestion-product-img {
            width: 80px;
            height: 80px;
            border-radius: 10px;
        }

            .article-suggestion-product .suggestion-product-img img {
                padding: 6px;
            }

        .article-suggestion-product .suggestion-product-title {
            font-size: 0.78rem;
            min-height: 34px;
        }

        .article-suggestion-product .suggestion-product-btn {
            font-size: 0.78rem;
            padding: 8px 14px;
            border-radius: 8px;
        }

            .article-suggestion-product .suggestion-product-btn i {
                font-size: 0.8rem;
            }
}

/* موبایل خیلی کوچک */
@media (max-width: 400px) {
    .article-suggestion-product {
        padding: 12px 12px 14px;
    }

        .article-suggestion-product .suggestion-product-img {
            width: 70px;
            height: 70px;
        }

        .article-suggestion-product .suggestion-product-title {
            font-size: 0.7rem;
            min-height: 30px;
        }

        .article-suggestion-product .suggestion-product-btn {
            font-size: 0.7rem;
            padding: 6px 12px;
            border-radius: 6px;
        }
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #f0f2f5;
}

::-webkit-scrollbar-thumb {
    background: #F4B400;
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #d49d00;
    }

/* ============================================
   SUGGESTION WRAPPER — وسط‌چین
   ============================================ */

.suggestion-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 16px 0;
}

.article-suggestion-product {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 22px 22px;
    border: 1px solid #f0f2f5;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    max-width: 320px;
    width: 100%;
}

/* بقیه استایل‌ها مانند قبل ... */