/* ==========================================================
   منومی — صفحات عمومی (بلاگ / درباره ما / قوانین)
   فونت Peyda + استایل ۲۰۲۶ ایندیگو مشترک — فقط ظاهر
   اضافه‌شده: 2026-08-03
   ========================================================== */

/* ---------- فونت Peyda (همان ایندکس) ---------- */
@@font-face {
    font-family: 'Peyda';
    src: url('/fonts/Peyda/02-Farsi_Namerals/WebFonts/fonts/woff2/PeydaWebFaNum-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@@font-face {
    font-family: 'Peyda';
    src: url('/fonts/Peyda/02-Farsi_Namerals/WebFonts/fonts/woff2/PeydaWebFaNum-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@@font-face {
    font-family: 'Peyda';
    src: url('/fonts/Peyda/02-Farsi_Namerals/WebFonts/fonts/woff2/PeydaWebFaNum-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@@font-face {
    font-family: 'Peyda';
    src: url('/fonts/Peyda/02-Farsi_Namerals/WebFonts/fonts/woff2/PeydaWebFaNum-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ---------- پایه ---------- */
body {
    font-family: 'Peyda', 'IRANYekan', sans-serif !important;
    background: #f5f6fb !important;
    color: #3d4a63;
    line-height: 1.9;
    direction: rtl;
}

/* ---------- هدر مشترک (گرادیان ایندیگو، همان ایندکس) ---------- */
header {
    background: linear-gradient(90deg, #4338ca, #3d6cef) !important;
    border-bottom: none !important;
    box-shadow: 0 4px 18px rgba(67, 56, 202, .18);
    position: sticky;
    top: 0;
    z-index: 100;
}

header a {
    color: #fff !important;
}

header a:hover {
    color: #e0e7ff !important;
}

header > div {
    max-width: 1000px;
    margin: auto;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

header nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

header nav a {
    color: rgba(255, 255, 255, .92) !important;
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: 500;
    transition: background .2s;
    text-decoration: none;
}

header nav a:hover {
    background: rgba(255, 255, 255, .14);
    color: #fff !important;
}

header nav a[style*="font-weight:bold"],
header nav a:last-child {
    background: rgba(255, 255, 255, .16);
}

/* ---------- هدینگ‌ها ---------- */
h1, h2, h3, h4 {
    color: #1e1f3a;
    line-height: 1.6;
}

h1 {
    font-size: 30px;
    font-weight: 700;
}

/* ---------- بلاگ: فهرست ---------- */
.blog-container {
    max-width: 1000px;
    margin: auto;
    padding: 40px 20px;
}

.blog-container h1 {
    text-align: center;
    margin-bottom: 8px;
    color: #1e1f3a;
}

.blog-subtitle {
    text-align: center;
    color: #6b7a99;
    margin-bottom: 32px;
    font-size: 15px;
}

.intro, .seo-section {
    background: #fff;
    padding: 26px 28px;
    border-radius: 18px;
    margin-bottom: 26px;
    border: 1px solid #eef0f8;
    box-shadow: 0 6px 22px rgba(15, 23, 42, .06);
}

.intro {
    border-right: 4px solid #4338ca;
}

.article-card {
    background: #fff;
    padding: 26px 28px;
    border-radius: 18px;
    margin-bottom: 20px;
    border: 1px solid #eef0f8;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .05);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(67, 56, 202, .12);
    border-color: #c7cbf0;
}

.article-card h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.article-card h2 a {
    text-decoration: none;
    color: #1e1f3a;
    transition: color .2s;
}

.article-card h2 a:hover {
    color: #4338ca;
}

.article-card p {
    color: #5b6b8c;
    margin-bottom: 12px;
    font-size: 15px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    background: linear-gradient(135deg, #4338ca, #3d6cef);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 12px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 6px 16px rgba(67, 56, 202, .25);
}

.read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(67, 56, 202, .35);
}

/* ---------- بلاگ: مقاله ---------- */
.article-body {
    max-width: 900px;
    margin: auto;
    padding: 30px 20px 60px;
}

.article-header {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #eef0f8;
    box-shadow: 0 8px 26px rgba(15, 23, 42, .07);
    padding: 34px 36px;
    margin-bottom: 28px;
}

.article-header h1 {
    font-size: 27px;
    margin: 0 0 12px;
    color: #1e1f3a;
}

.article-meta {
    color: #8b93a7;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f2f4fb;
    padding: 6px 14px;
    border-radius: 999px;
    color: #4b5a74;
}

.article-content {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #eef0f8;
    box-shadow: 0 8px 26px rgba(15, 23, 42, .07);
    padding: 36px 40px;
    font-size: 16px;
}

.article-content p {
    margin-bottom: 18px;
    color: #3d4a63;
}

.article-content h2 {
    font-size: 22px;
    margin: 30px 0 14px;
    padding-right: 14px;
    border-right: 4px solid #4338ca;
    color: #1e1f3a;
}

.article-content h3 {
    font-size: 18px;
    margin: 24px 0 10px;
    color: #4338ca;
}

.article-content a {
    color: #4338ca;
}

.article-content hr {
    border: none;
    border-top: 1px solid #eef0f8;
    margin: 30px 0;
}

.article-content blockquote {
    background: #f2f4fb;
    border-right: 4px solid #4338ca;
    padding: 16px 20px;
    border-radius: 12px;
    margin: 20px 0;
    color: #4b5a74;
}

/* ---------- breadcrumb ---------- */
.breadcrumb-nav {
    font-size: 14px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    color: #8b93a7;
}

.breadcrumb-nav a {
    color: #4338ca;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

/* ---------- درباره ما / قوانین: هماهنگ با ایندیگو ---------- */
.about-hero,
.terms-hero {
    background: linear-gradient(135deg, #4338ca, #3d6cef) !important;
}

.about-hero h1,
.terms-hero h1,
.hero-content h1 {
    color: #fff !important;
}

.about-icon {
    background: linear-gradient(135deg, #eef0ff, #e0e6ff) !important;
    color: #4338ca !important;
}

.about-card {
    border-radius: 20px !important;
}

.about-card h3 {
    color: #1e1f3a;
}

.feature {
    background: #f2f4fb !important;
    border-radius: 14px;
    color: #3d4a63;
}

.feature::before {
    content: "✓";
    color: #4338ca;
    font-weight: 700;
    margin-left: 8px;
}

.cta-box,
.contact-box {
    background: linear-gradient(135deg, #4338ca, #3d6cef) !important;
    border-radius: 26px !important;
}

.btn-main,
.contact-btn {
    background: #fff;
    color: #4338ca !important;
}

.btn-main:hover,
.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
}

.term-card {
    border-radius: 20px !important;
}

.term-icon {
    background: linear-gradient(135deg, #eef0ff, #e0e6ff) !important;
    color: #4338ca !important;
}

.term-card h2 {
    color: #1e1f3a;
}

/* ---------- فوتر کوچک صفحات ---------- */
.page-footer {
    background: #fff;
    border-top: 1px solid #eef0f8;
    text-align: center;
    padding: 22px 16px;
    color: #8b93a7;
    font-size: 13px;
}

.page-footer a {
    color: #4338ca;
    text-decoration: none;
}

/* ---------- ریسپانسیو ---------- */
@@media (max-width: 768px) {
    .article-content {
        padding: 24px 20px;
    }

    .article-header {
        padding: 24px 20px;
    }

    .blog-container {
        padding: 24px 14px;
    }

    header nav a {
        padding: 6px 10px;
        font-size: 13px;
    }
}
