/* Archive ---------------- */
.archive-hero-section {
    position: relative;
    padding: 80px 0 70px;
    background: linear-gradient(135deg, #3a0ca3 0%, #2a0e8a 40%, #4361ee 100%);
    overflow: hidden;
}

.archive-hero-dots {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle 2px, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.archive-hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: #fff;
    pointer-events: none;
}

.archive-hero-shape-1 {
    width: 300px;
    height: 300px;
    top: -80px;
    left: -60px;
    animation: archiveFloatShape 8s ease-in-out infinite;
}

.archive-hero-shape-2 {
    width: 180px;
    height: 180px;
    bottom: 40px;
    right: 5%;
    animation: archiveFloatShape 6s ease-in-out infinite reverse;
}

.archive-hero-shape-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 25%;
    animation: archiveFloatShape 10s ease-in-out infinite 1s;
}

@keyframes archiveFloatShape {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

.archive-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 13px;
}

.archive-hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.archive-hero-breadcrumb a:hover {
    color: #fff;
}

.archive-hero-breadcrumb .archive-separator {
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
}

.archive-hero-breadcrumb .archive-current {
    color: rgba(255, 255, 255, 0.9);
}

.archive-hero-title {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.archive-hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    line-height: 1.9;
    margin-bottom: 24px;
}

.archive-hero-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.archive-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    padding: 5px 15px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ----- بخش دمو برای نمایش سایر المان‌ها (جایگذاری متغیرها) ----- */
.archive-demo-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    margin: 40px auto 20px;
    max-width: 600px;
    box-shadow: 0 4px 16px rgba(41, 50, 65, 0.08);
    border: 1px solid #e8eaf0;
    transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.archive-demo-card:hover {
    box-shadow: 0 8px 32px rgba(41, 50, 65, 0.12);
    transform: translateY(-2px);
}

.archive-demo-card h3 {
    color: #293241;
    margin-top: 0;
    font-weight: 700;
}

.archive-demo-card p {
    color: #6b7280;
    line-height: 1.8;
}

.archive-demo-card .archive-meta-tag {
    display: inline-block;
    background: #f8f9fc;
    color: #6b7280;
    font-size: 13px;
    padding: 4px 14px;
    border-radius: 50px;
    border: 1px solid #e8eaf0;
}

.archive-demo-card .archive-meta-tag small {
    color: #9ca3af;
}

/* برای نمایش separator در دمو */
.archive-separator-demo {
    color: #9ca3af;
    margin: 0 6px;
}

/* ریسپانسیو */
@media (max-width: 640px) {
    .archive-hero-title {
        font-size: 30px;
    }

    .archive-hero-desc {
        font-size: 14px;
    }

    .archive-hero-meta-item {
        font-size: 12px;
        padding: 4px 12px;
    }
}

/* Search Page ---------- */
.search-result-count {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 24px;
    border: 1px solid #e8eaf0;
    box-shadow: 0 1px 3px rgba(41, 50, 65, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.search-result-count .result-stats {
    color: #6b7280;
    font-size: 14px;
}

.search-result-count .result-stats strong {
    color: #293241;
    font-weight: 700;
}

.search-result-count .result-stats i {
    color: #4361ee;
    margin-left: 6px;
}

.search-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.search-filters .filter-btn {
    background: #f8f9fc;
    border: 1px solid #e8eaf0;
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 13px;
    color: #6b7280;
    cursor: pointer;
    transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-filters .filter-btn:hover {
    background: #4361ee;
    color: #fff;
    border-color: #4361ee;
}

.search-filters .filter-btn.active {
    background: #3a0ca3;
    color: #fff;
    border-color: #3a0ca3;
}

.search-filters .filter-btn i {
    font-size: 12px;
}


/* ===== باکس جستجو در هدر ===== */
.archive-hero-search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 4px;
    transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-width: 240px;
    max-width: 100%;
    flex: 1;
}

.archive-hero-search-box:focus-within {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.3);
}

.archive-hero-search-box form {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 2px;
    gap: 4px;
    flex-wrap: nowrap; /* مهم: جلوگیری از رفتن دکمه به پایین */
}

.archive-hero-search-box input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 18px;
    color: #fff;
    font-size: 14px;
    outline: none;
    min-width: 0; /* مهم: اجازه می‌دهد input کوچک شود */
    width: 100%;
}

.archive-hero-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.archive-hero-search-box input:focus {
    outline: none;
    box-shadow: none;
}

.archive-hero-search-box button {
    background: #fff;
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    color: #3a0ca3;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0; /* مهم: جلوگیری از کوچک شدن دکمه */
}

.archive-hero-search-box button:hover {
    background: #4361ee;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.archive-hero-search-box button i {
    font-size: 14px;
}

/* ===== ریسپانسیو برای موبایل ===== */
@media (max-width: 576px) {
    .archive-hero-search-box {
        border-radius: 16px;
        min-width: unset;
        width: 100%;
        padding: 6px;
    }
    
    .archive-hero-search-box form {
        flex-wrap: nowrap; /* حفظ حالت ردیفی حتی در موبایل */
        gap: 6px;
    }
    
    .archive-hero-search-box input {
        padding: 8px 14px;
        font-size: 13px;
        min-width: 80px;
    }
    
    .archive-hero-search-box button {
        padding: 6px 14px;
        font-size: 12px;
        border-radius: 30px;
    }
    
    .archive-hero-search-box button span {
        display: none; /* مخفی کردن متن دکمه در موبایل */
    }
    
    .archive-hero-search-box button i {
        font-size: 16px;
        margin: 0;
    }
}

/* ===== برای موبایل‌های خیلی کوچک ===== */
@media (max-width: 400px) {
    .archive-hero-search-box input {
        padding: 6px 10px;
        font-size: 12px;
        min-width: 60px;
    }
    
    .archive-hero-search-box button {
        padding: 4px 10px;
    }
}

/* ===== نتیجه‌ای یافت نشد ===== */
.search-no-result {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e8eaf0;
}

.search-no-result i {
    font-size: 48px;
    color: #9ca3af;
    margin-bottom: 16px;
}

.search-no-result h3 {
    color: #293241;
    font-weight: 700;
    margin-bottom: 8px;
}

.search-no-result p {
    color: #6b7280;
    max-width: 400px;
    margin: 0 auto;
}

.highlight {
    background: #fbbf24;
    padding: 0 4px;
    border-radius: 3px;
    font-weight: 600;
}


.search-post-card .card-title a .highlight {
    background: #fbbf24;
    padding: 0 4px;
    border-radius: 3px;
}

.search-post-card .card-text .highlight {
    background: #fbbf24;
    padding: 0 4px;
    border-radius: 3px;
}

@media (max-width: 768px) {
    .search-result-count {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .search-filters {
        justify-content: center;
    }

    .archive-hero-search-box {
        min-width: 100%;
        flex-wrap: wrap;
    }

    .archive-hero-search-box input {
        min-width: 100px;
        padding: 8px 14px;
    }

    .archive-hero-search-box button {
        padding: 6px 16px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .archive-hero-search-box {
        border-radius: 12px;
        padding: 8px;
    }

    .archive-hero-search-box input {
        font-size: 13px;
        padding: 8px 12px;
    }

    .archive-hero-search-box button {
        padding: 6px 14px;
        font-size: 12px;
        border-radius: 10px;
    }
}

/* 404 Page --------------- */

 .error-links {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 0.7rem 0.5rem;
            margin: 1.8rem 0 0.5rem;
        }

        .error-links a {
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            padding: 0.6rem 1.6rem;
            border-radius: 60px;
            background: linear-gradient(145deg, #6c5ce7, #8b6cf0);
            color: #fff;
            box-shadow: 0 8px 18px -6px rgba(108, 92, 231, 0.35);
            transition: all 0.25s ease-in-out;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            letter-spacing: 0.3px;
            backdrop-filter: blur(2px);
        }

        .error-links a i {
            font-size: 0.95rem;
            opacity: 0.8;
            transition: transform 0.2s ease;
        }

        .error-links a:hover {
            background: linear-gradient(145deg, #5a4bd1, #7a5de0);
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 16px 28px -8px rgba(108, 92, 231, 0.5);
            color: #fff;
            border-color: rgba(255, 255, 255, 0.6);
        }

        .error-links a:hover i {
            transform: translateX(-4px) scale(1.1);
        }

/* single page ---------- */

        .cortics-article {
            --primary: #3277DF;
            --secondary: #24B267;
            --dark-blue: #122D5A;
            --bg-body: #F5F7FB;
            --bg-white: #ffffff;
            --bg-light: #F1F5F9;
            --text-dark: #122D5A;
            --text-muted: #566985;
            --border-color: #e8e8e8;
            --radius-md: 10px;
            --radius-lg: 20px;
            --shadow-sm: 0 16px 40px 0 rgba(0, 0, 0, 0.04);
            --shadow-md: 0 10px 24px 0 rgba(0, 0, 0, 0.05);
        }

        .cortics-article {

            background: var(--bg-body);
            color: var(--text-dark);
            font-size: 14px;
            line-height: 1.8;
            padding: 20px 0;
            display: block;
        }

        .cortics-article a {
            text-decoration: none;
            color: inherit;
            transition: all 0.2s ease;
        }

        .cortics-article a:hover {
            color: var(--primary);
        }

        .cortics-article h1,
        .cortics-article h2,
        .cortics-article h3,
        .cortics-article h4,
        .cortics-article h5,
        .cortics-article h6 {
            font-weight: 600;
            color: var(--text-dark);
        }

        .cortics-article p {
            color: var(--text-muted);
            text-align: justify;
        }

        /* ===== اسپلیت‌اسکرین هدر مقاله ===== */
        .cortics-article .split-header {
            display: flex;
            flex-wrap: wrap;
            min-height: 480px;
            background: var(--bg-white);
            border-radius: 1rem;
            border: 1px solid var(--border-color);
            overflow: hidden;
            padding: 1.5rem;
            box-shadow: var(--shadow-sm);
            margin-bottom: 30px;
        }

        .cortics-article .split-header .split-text {
            flex: 1 1 50%;
            padding: 40px 45px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            background: var(--bg-white);
            order: 1;
        }

        .cortics-article .split-header .split-media {
            flex: 1 1 50%;
            min-height: 300px;
            background: #e0e5ec;
            position: relative;
            overflow: hidden;
            order: 2;
            border-radius: 1rem;
        }

        .cortics-article .split-header .split-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
        }

        .cortics-article .split-text .post-category {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 14px;
        }

        .cortics-article .split-text .post-category a {
            background: var(--dark-blue);
            color: #fff;
            font-size: 0.7rem;
            font-weight: 600;
            padding: 4px 14px;
            border-radius: 30px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: 0.2s;
        }

        .cortics-article .split-text .post-category a:hover {
            background: var(--primary);
            color: #fff;
        }




        .cortics-article .split-text h1 {
            font-size: 2.4rem;
            font-weight: 700;
            margin-bottom: 14px;
            line-height: 1.3;
        }

        .cortics-article .split-text .subtitle {
            font-size: 1.05rem;
            color: var(--text-muted);
            margin-bottom: 20px;
            text-align: justify;
            line-height: 1.7;
        }

        .cortics-article .split-text .post-meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            padding-top: 18px;
            border-top: 1px solid var(--border-color);
            margin-top: auto;
        }

        .cortics-article .split-text .post-meta .meta-item {
            font-weight: 500;
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        .cortics-article .split-text .post-meta .meta-item i {
            color: var(--primary);
            margin-left: 2px;
            font-size: 0.8rem;
        }


        .cortics-article .split-text .meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 12px;
        }


        /* ===== نوار ابزار مقاله ===== */
        .cortics-article .article-toolbar {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 12px 20px;
            padding: 12px 0 20px;
            border-bottom: 1px solid var(--border-color);
            margin-bottom: 25px;
        }

        .cortics-article .share-buttons {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-wrap: wrap;
        }

        .cortics-article .share-buttons .share-label {
            font-weight: 600;
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-left: 8px;
        }

        .cortics-article .share-btn {
            width: 36px;
            height: 36px;
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
            background: var(--bg-white);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            transition: 0.2s;
            font-size: 0.9rem;
        }

        .cortics-article .share-btn:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
        }

        .cortics-article .toolbar-action {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 4px 10px;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            background: var(--bg-white);
            font-weight: 600;
            font-size: 0.85rem;
            color: var(--text-muted);
            cursor: pointer;
            transition: 0.2s;
        }

        .cortics-article .toolbar-action:hover {
            background: var(--bg-light);
            color: var(--primary);
        }

        .cortics-article .toolbar-action i {
            color: var(--primary);
        }

        .cortics-article .font-size-control {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 6px 14px;
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
            background: var(--bg-white);
        }

        .cortics-article .font-size-control input[type="range"] {
            width: 100px;
            accent-color: var(--primary);
        }

        .cortics-article .font-size-control .size-value {
            font-weight: 700;
            min-width: 30px;
            text-align: center;
            font-size: 0.9rem;
        }

        /* ===== محتوای اصلی ===== */
        .cortics-article .article-body {
            background: var(--bg-white);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-color);
            padding: 30px;
            box-shadow: var(--shadow-sm);
            margin-bottom: 30px;
        }

        .cortics-article .article-body h2 {
            font-size: 1.8rem;
            margin-top: 30px;
            margin-bottom: 15px;
        }

        .cortics-article .article-body h3 {
            font-size: 1.4rem;
            margin-top: 25px;
            margin-bottom: 12px;
        }

        .cortics-article .article-body p {
            margin-bottom: 18px;
        }

        .cortics-article .article-body ul,
        .cortics-article .article-body ol {
            padding-right: 1.5rem;
            margin-bottom: 20px;
        }

        .cortics-article .article-body ul li,
        .cortics-article .article-body ol li {
            margin-bottom: 10px;
            color: var(--text-muted);
        }

        .cortics-article .article-body ul li::marker {
            color: var(--primary);
        }

        .cortics-article .article-body blockquote {
            background: var(--bg-light);
            border-radius: var(--radius-md);
            padding: 20px 30px;
            margin: 25px 0;
            border-right: 4px solid var(--primary);
            position: relative;
        }

        .cortics-article .article-body blockquote p {
            font-style: italic;
            font-size: 1.05rem;
            color: var(--text-dark);
            font-weight: 500;
        }

        .cortics-article .article-body blockquote i {
            color: var(--primary);
        }



        /* ===== ناوبری بین مطالب ===== */
        .cortics-article .post-navigation {
            display: flex;
            flex-wrap: wrap;
            gap: 0;
            background: var(--bg-white);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
            padding: 20px 25px;
            margin: 25px 0;
            position: relative;
            box-shadow: var(--shadow-sm);
        }

        .cortics-article .post-navigation .nav-item {
            flex: 1;
            min-width: 150px;
            padding: 10px 0;
        }

        .cortics-article .post-navigation .nav-item.prev {
            text-align: right;
            border-left: 1px solid var(--border-color);
            padding-left: 20px;
        }

        .cortics-article .post-navigation .nav-item.next {
            text-align: left;
            padding-right: 20px;
        }

        .cortics-article .post-navigation .nav-item .nav-label {
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--text-muted);
            display: block;
            margin-bottom: 6px;
        }

        .cortics-article .post-navigation .nav-item .nav-title {
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--text-dark);
        }

        .cortics-article .post-navigation .nav-item .nav-title:hover {
            color: var(--primary);
        }

        .cortics-article .post-navigation .nav-divider {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            width: 36px;
            height: 36px;
            background: var(--bg-light);
            border-radius: 50%;
            border: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-size: 0.9rem;
        }

        /* ===== نظرات ===== */
        .cortics-article .comments-section {
            background: var(--bg-white);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-color);
            padding: 25px 30px;
            box-shadow: var(--shadow-sm);
            margin-bottom: 30px;
        }

        .cortics-article .comments-section .comments-title {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .cortics-article .comments-section .comments-title .comment-count {
            font-size: 0.85rem;
            font-weight: 400;
            color: var(--text-muted);
        }

        .cortics-article .comment-form label {
            font-weight: 600;
            font-size: 0.9rem;
            margin-bottom: 4px;
        }

        .cortics-article .comment-form .form-control {
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
            padding: 12px 18px;
            background: var(--bg-body);
        }

        .cortics-article .comment-form .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(50, 119, 223, 0.1);
        }

        .cortics-article .btn-submit {
            background: var(--dark-blue);
            color: #fff;
            padding: 10px 30px;
            border-radius: var(--radius-md);
            font-weight: 600;
            border: none;
            transition: 0.2s;
        }

        .cortics-article .btn-submit:hover {
            background: var(--primary);
            color: #fff;
        }

        /* ===== بخش پایین (مطالب مشابه) ===== */
        /* ===== مطالب مشابه (اصلاح تداخل) ===== */
        .cortics-article .similar-posts {
            margin: 40px 0;
        }

        .cortics-article .similar-posts .section-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 25px;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .cortics-article .similar-posts .section-title a {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-muted);
        }

        .cortics-article .similar-posts .section-title a i {
            margin-right: 6px;
            color: var(--primary);
        }

        /* ===== گرید سفارشی برای similar-posts (جایگزین row/col بوت‌استرپ) ===== */
        .cortics-article .similar-grid {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -12px;
            gap: 0;
        }

        .cortics-article .similar-grid .similar-item {
            flex: 0 0 33.333333%;
            max-width: 33.333333%;
            padding: 0 12px;
            margin-bottom: 24px;
        }

        .cortics-article .smp-post-card {
            background: var(--bg-white);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-color);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: 0.3s;
            height: 100%;
        }

        .cortics-article .smp-post-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
        }

        .cortics-article .smp-post-card .card-img {
            height: 200px;
            overflow: hidden;
            position: relative;
        }

        .cortics-article .smp-post-card .card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: 0.4s;
        }

        .cortics-article .smp-post-card:hover .card-img img {
            transform: scale(1.05);
        }

        .cortics-article .smp-post-card .card-img .card-badge {
            position: absolute;
            top: 14px;
            right: 14px;
            background: var(--dark-blue);
            color: #fff;
            font-size: 0.6rem;
            font-weight: 600;
            padding: 3px 12px;
            border-radius: 30px;
            text-transform: uppercase;
        }

        .cortics-article .smp-post-card .smp-card-body {
            padding: 18px 20px 20px;
            height: 100%;

            display: flex;
            flex-direction: column;

        }

        .cortics-article .smp-post-card .smp-card-body .card-cat {
            font-size: 0.6rem;
            font-weight: 600;
            text-transform: uppercase;
            color: var(--primary);
            display: block;
            margin-bottom: 6px;
        }

        .cortics-article .smp-post-card .smp-card-body h5 {
            font-size: 1.05rem;
            font-weight: 600;
            margin-bottom: 8px;
            line-height: 1.4;
        }

        .cortics-article .smp-post-card .smp-card-body h5 a:hover {
            color: var(--primary);
        }

        .cortics-article .smp-post-card .smp-card-body p {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-bottom: 12px;
            text-align: justify;
        }

        .cortics-article .smp-post-card .smp-card-body .smp-card-meta {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            font-size: 0.75rem;
            color: var(--text-muted);
            padding-top: 12px;
            border-top: 1px solid var(--border-color);
        }

        .cortics-article .smp-post-card .smp-card-body .smp-card-meta i {
            color: var(--primary);
            margin-left: 4px;
        }

        .cortics-article .smp-post-card .smp-card-body .smp-card-link {
            font-weight: 600;
            font-size: 0.8rem;
            color: var(--primary);
            display: inline-flex;
            align-items: center;
            gap: 6px;

        }

        .cortics-article .smp-post-card .smp-card-body .smp-card-link:hover {
            color: var(--dark-blue);
        }


        /* ===== ریسپانسیو ===== */
        @media (max-width: 992px) {
            .cortics-article .split-header .split-text {
                padding: 30px 35px;
            }

            .cortics-article .split-text h1 {
                font-size: 2rem;
            }
        }

        @media (max-width: 768px) {
            .cortics-article .split-header {
                flex-direction: column;
                min-height: auto;
            }

            .cortics-article .split-header .split-text {
                order: 2;
                padding: 25px 20px;
            }

            .cortics-article .split-header .split-media {
                order: 1;
                min-height: 280px;
                flex: 0 0 auto;
                width: 100%;
            }

            .cortics-article .split-text h1 {
                font-size: 1.7rem;
            }

            .cortics-article .split-text .subtitle {
                font-size: 0.95rem;
            }

            .cortics-article .split-text .post-meta {
                grid-template-columns: 1fr 1fr;
                display: grid;
            }

            .cortics-article .split-text .meta {
                margin-right: 0;
            }

            .cortics-article .article-body {
                padding: 20px;
            }

            .cortics-article .post-navigation .nav-item.prev {
                border-left: none;
            }

            .cortics-article .post-navigation .nav-item {
                text-align: center !important;
            }

            .cortics-article .comments-section {
                padding: 20px;
            }

            .cortics-article .similar-posts .section-title {
                font-size: 1.2rem;
            }
        }

        @media (max-width: 576px) {
            .cortics-article .article-toolbar {
                flex-direction: column;
                align-items: stretch;
            }

            .cortics-article .share-buttons {
                justify-content: center;
            }

            .cortics-article .toolbar-action {
                justify-content: center;
            }

            .cortics-article .font-size-control {
                justify-content: center;
            }

            .cortics-article .post-navigation {
                flex-direction: column;
            }

            .cortics-article .post-navigation .nav-divider {
                display: none;
            }

            .cortics-article .split-header .split-media {
                min-height: 200px;
            }

            .cortics-article .split-text .post-meta .meta-item {
                font-size: 0.8rem;
            }
        }

/* page pagination---*/
.modern-pagination .page-link{border:1px solid #e9ecef;color:#2d3436;font-weight:600;border-radius:12px!important;margin:0 3px;padding:10px 16px;transition:all .3s ease;background:#fff}.modern-pagination .page-link:hover{background:#3b5cff;color:#fff;border-color:#3b5cff;transform:translateY(-2px);box-shadow:0 4px 12px rgba(59,92,255,.2)}.modern-pagination .page-item.active .page-link{background:#3b5cff;border-color:#3b5cff;color:#fff;box-shadow:0 4px 12px rgba(59,92,255,.3)}.modern-pagination .page-item.disabled .page-link{color:#bdc3c7;background:#f8f9fa;border-color:#f1f1f1}.empty-state i{color:#e0e0e0}@media(max-width:991px){.archive-hero{padding:3rem 0}}@media(max-width:768px){.modern-pagination .page-link{padding:8px 12px;font-size:14px}}