/* ================= بنر هدر ================= */
.article-hero-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 5rem 0 4.5rem;
    color: #fff;
}

.article-img {
    max-width: 500px;
    width: 100%;
    height: 100%;
    border: 2px solid saddlebrown;
    border-radius: 6px;
    box-shadow: 1px 1px 20px;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 27, 58, 0.88) 0%, rgba(13, 27, 58, 0.95) 100%);
}

.article-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.article-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

    .article-breadcrumb a:hover {
        color: #c9a227;
    }

.article-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.article-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
    content: "‹";
    padding: 0 0.5rem;
}

.banner-content {
    max-width: 850px;
}

.article-hero-title {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-wrap: balance;
}

.article-hero-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.meta-badge {
    background-color: #c9a227;
    color: #0d1b3a;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.35rem 1.1rem;
    border-radius: 999px;
}

.meta-date {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

    .meta-date svg {
        width: 16px;
        height: 16px;
    }

/* ================= بدنه مقاله ================= */
.article-main-container {
    padding-top: 3.5rem;
    padding-bottom: 5rem;
}

.article-rich-content {
    color: #2b2b2b;
    font-size: 1.05rem;
    line-height: 2.1;
  
}

    .article-rich-content h2,
    .article-rich-content h3 {
        color: #0d1b3a;
        font-weight: 800;
        margin-top: 2.5rem;
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }

    .article-rich-content h2 {
        font-size: 1.5rem;
    }

    .article-rich-content h3 {
        font-size: 1.25rem;
    }

    .article-rich-content p {
        margin-bottom: 1.5rem;
        text-align: justify;
    }

    /* بلاک‌کوت مطابق موکاپ */
    .article-rich-content blockquote {
        position: relative;
        background: #fbf8f0;
        border: 1px solid #f0e6ce;
        border-radius: 12px;
        padding: 2rem 2.25rem 2rem 4.5rem;
        margin: 2.5rem 0;
        color: #4a4539;
        font-size: 1.05rem;
        line-height: 2;
    }

        .article-rich-content blockquote::before {
            content: "“";
            position: absolute;
            top: 0.75rem;
            left: 1.5rem;
            font-family: Georgia, serif;
            font-size: 4.5rem;
            line-height: 1;
            color: #c9a227;
            opacity: 0.8;
        }

/* ================= نوار اشتراک‌گذاری ================= */
.article-share-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 3.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid #ebecee;
}

.share-label {
    font-size: 0.95rem;
    color: #555;
    font-weight: 500;
}

.share-actions {
    display: flex;
    gap: 0.6rem;
}

.share-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #e1e3e6;
    background: #fff;
    color: #333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

    .share-btn svg {
        width: 18px;
        height: 18px;
    }

    .share-btn:hover {
        background-color: #0d1b3a;
        color: #c9a227;
        border-color: #0d1b3a;
    }

/* ================= سایدبار ================= */
.article-sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem;
}

.related-card {
    border: 1px solid #edf0f3;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.sidebar-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0d1b3a;
    margin-bottom: 1.25rem;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #f2f3f5;
    transition: transform 0.2s ease;
}

    .related-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .related-item:hover {
        transform: translateX(-4px);
    }

.related-thumb {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

    .related-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.related-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3345;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-item:hover .related-info h4 {
    color: #c9a227;
}

/* باکس CTA مشاوره */
.cta-consult-card {
    background-color: #0d1b3a;
    color: #fff;
    border: 1px solid rgba(201, 162, 39, 0.35);
    box-shadow: 0 8px 24px rgba(13, 27, 58, 0.15);
}

.cta-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.cta-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background-color: #c9a227;
    color: #0d1b3a;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: filter 0.2s ease;
}

    .cta-btn svg {
        width: 18px;
        height: 18px;
    }

    .cta-btn:hover {
        filter: brightness(1.1);
        color: #0d1b3a;
    }

@@media (max-width: 991.98px) {
    .article-hero-banner {
        padding: 3.5rem 0 3rem;
    }

    .article-hero-title {
        font-size: 1.6rem;
    }

    .article-rich-content blockquote {
        padding: 1.5rem 1.5rem 1.5rem 3.5rem;
    }
}
