@font-face {
    font-family: 'Peyda';
    src: url('../fonts/PeydaFaNumWeb-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Peyda';
    src: url('../fonts/PeydaFaNumWeb-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html {
    margin: 0 !Important;
}

/*!
 *  Iconly icon font. Generated by Iconly: https://iconly.io/
 */

@font-face {
    font-display: auto;
    font-family: "Iconly";
    font-style: normal;
    font-weight: 400;
    src: url("../font/iconly.eot?1787562521538");
    src: url("../font/iconly.eot?#iefix") format("embedded-opentype"), url("../font/iconly.woff2?1787562521538") format("woff2"), url("../font/iconly.woff?1787562521538") format("woff"), url("../font/iconly.ttf?1787562521538") format("truetype"), url("../font/iconly.svg?1787562521538#Iconly") format("svg");
}

[class="icon"], [class^="icon-"], [class*=" icon-"] {
    display: inline-block;
    font-family: "Iconly" !important;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

.icon-widget:before {
    content: "\e000";
}

.icon-verified:before {
    content: "\e001";
}

.icon-user:before {
    content: "\e002";
}

.icon-sms:before {
    content: "\e003";
}

.icon-search:before {
    content: "\e004";
}

.icon-right-up:before {
    content: "\e005";
}

.icon-location:before {
    content: "\e006";
}

.icon-left:before {
    content: "\e007";
}

.icon-left-up:before {
    content: "\e008";
}

.icon-home:before {
    content: "\e009";
}

.icon-heart:before {
    content: "\e00a";
}

.icon-headphones:before {
    content: "\e00b";
}

.icon-eye:before {
    content: "\e00c";
}

.icon-calling:before {
    content: "\e00d";
}

.icon-call:before {
    content: "\e00e";
}

.icon-calendar:before {
    content: "\e00f";
}

.icon-box:before {
    content: "\e010";
}

.icon-arrow-left:before {
    content: "\e011";
}

.icon-x:before {
    content: "\e012";
}

.icon-whatsapp:before {
    content: "\e013";
}

.icon-telegram:before {
    content: "\e014";
}

.icon-linkedin:before {
    content: "\e015";
}

.icon-instagram:before {
    content: "\e016";
}

i {
    font-family: Iconly;
}

* {

    list-style: none;
}


body {
    font-family: "peyda";
    font-size: 1rem;
    line-height: 2;
    color: var(--black);

}

img {
    height: auto !important;
    max-width: 100%;
}

a {
    text-decoration: none !important;
    color: unset;
}


ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

h1 {
    font-size: 1.6rem;
}

h2 {
    font-size: 1.4rem;
}

h3 {
    font-size: 1.2rem;
}

h4 {
    font-size: 1rem;
}

h5 {
    font-size: 0.9rem;
}

h6 {
    font-size: 0.8rem;
}

.text-justify {
    text-align: justify;
}

.oneline {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
    box-orient: vertical;
    -webkit-line-clamp: 1;
    -moz-line-clamp: 1;
    -ms-line-clamp: 1;
    line-clamp: 1;
    overflow: hidden;
}

.towline {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
    box-orient: vertical;
    -webkit-line-clamp: 2;
    -moz-line-clamp: 2;
    -ms-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.threeline {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
    box-orient: vertical;
    -webkit-line-clamp: 3;
    -moz-line-clamp: 3;
    -ms-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}


.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 1rem 0;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .06);
}

.post-content figure {
    margin: 1.2rem 0;
}

.post-content figcaption {
    font-size: 13px;
    color: #6b7280;
    text-align: center;
    margin-top: .35rem;
}

/* فهرست‌ها */
.post-content ul, .post-content ol {
    margin: .8rem 0;
    padding-inline-start: 1.25rem;
}

.post-content li {
    margin: .25rem 0;
}

.post-content ul li {
    list-style: disc;
}

.post-content ol li {
    list-style: decimal;
}

/* نقل‌قول */
.post-content blockquote {
    margin: 1.25rem 0;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: linear-gradient(180deg, #fff, #fafafa);
    position: relative;
}

.post-content blockquote::before {
    content: "“";
    position: absolute;
    inset-inline-start: 10px;
    top: -8px;
    font-size: 42px;
    line-height: 1;
    color: #e5e7eb;
    pointer-events: none;
}

.post-content blockquote p {
    margin: 0.35rem 0;
}

/* کد و جداول */
.post-content code {
    background: #111827;
    color: #fff;
    padding: .2em .45em;
    border-radius: 6px;
    font-size: .875em;
}

.post-content pre {
    background: #0b1220;
    color: #d1d5db;
    border-radius: 12px;
    padding: 14px 16px;
    overflow: auto;
    line-height: 1.8;
    margin: 1rem 0;
}

.post-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 15px;
}

.post-content th, .post-content td {
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    vertical-align: top;
}

.post-content thead th {
    background: #f8fafc;
    font-weight: 700;
}

/* لینک‌ها */
.post-content a {
    text-decoration: none;
    color: var(--secondary);
}

.post-content a:hover {
    border-bottom-style: solid;
}

/* صفحه‌بندی داخلی پست */
.page-links {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
    border: 1px dashed #e5e7eb;
    border-radius: 10px;
    background: #fafafa;
}

/* ===============================
   4) کامنت‌ها — نمایش ستونی + ریپلای تمیز
   =============================== */


/* ظرف کلی بخش دیدگاه‌ها */
.comments {
    margin-top: 2.2rem;
    border-top: 1px solid rgba(0, 0, 0, .06);
    padding-top: 1.5rem;
}

/* ساختار پایه لیست‌ها */
.comment-list, .children {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* هر کامنت: به‌صورت بلوک (ستونی) */
.comment {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.comment:last-child {
    border-bottom: none;
}

/* هد (آواتار + نام + تاریخ) */
.comment .comment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.comment .comment-author .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.comment .comment-author .fn {
    font-weight: 800;
    color: #111827;
    font-size: 14px;
}

.comment .comment-metadata a {
    color: inherit;
    text-decoration: none;
}

.comment .comment-metadata a:hover {
    text-decoration: underline;
}

/* متن کامنت */
.comment .comment-content {
    font-size: 15px;
    line-height: 1.9;
    color: #1f2937;
    margin-top: 6px;
}

/* لینک پاسخ */
.comment .reply {
    margin-top: 10px;
}

.comment .reply .comment-reply-link {
    font-size: 13px;
    border: 1px solid rgba(0, 0, 0, .1);
    padding: 4px 12px;
    border-radius: 999px;
    text-decoration: none;
}

.comment .reply .comment-reply-link:hover {
    background: #f3f4f6;
}

/* حالت نویسنده پست */
.bypostauthor > .comment-body,
.bypostauthor > .comment {
    border-inline-start: 3px solid #10b981;
    padding-inline-start: 12px;
    background: linear-gradient(180deg, #ffffff, #fbfffd);
    border-radius: 8px;
}

/* ── ریپلای‌ها (children) : خطوط راهنما و فرورفتگی منطقی ── */
.children {
    margin-top: 10px;
    padding-inline-start: 18px; /* فرورفتگی منطقی برای RTL/LTR */
    border-inline-start: 2px dashed #e5e7eb;
}

.children .comment {
    border-bottom: none; /* داخل شاخه فرعی خط جداکننده نمی‌خواهیم */
    padding: 14px 0 6px 0;
}

/* عمق‌های بیشتر: کمی کم‌رنگ‌تر */
.children .children {
    border-inline-start: 2px dashed #f0f0f0;
    padding-inline-start: 16px;
}

/* رفع بی‌نظمی مارک‌آپ‌های مختلف تم‌ها */
.comment-body {
    margin: 0;
}

.comment-meta + .comment-content {
    margin-top: 4px;
}

/* پیام در انتظار تایید */
.comment-awaiting-moderation {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    color: #b45309;
    background: #fff7ed;
    border: 1px solid #fdba74;
    padding: 2px 8px;
    border-radius: 8px;
}

/* فرم دیدگاه‌ها — طبق خواسته شما تغییری نمی‌دهیم،
   فقط فاصله‌ی بالا تا لیست را استاندارد می‌کنیم */
.comment-respond {
    margin-top: 1.75rem;
}

.woocommerce p.stars a::before {
    color: #fdba74;
}

.woocommerce #review_form #respond .form-submit input {
    background: unset !important;
    font-size: 16px !important;
    color: var(--primary) !important;
    text-decoration: underline;
    text-underline-offset: 0.5rem;
    padding: 0;
    line-height: 2;
}

h2.woocommerce-Reviews-title {
    font-size: 1rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.woocommerce #reviews #comments ol.commentlist li img.avatar {
    display: none;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text {
    margin: 0;

}

.woocommerce #reviews #comments ol.commentlist {
    padding: 0;
}

span.woocommerce-review__dash {
    display: none;
}

.commentlist p.meta {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin: 0.5rem 0 !important;
    border-bottom: 1px solid var(--g4);
}

.woocommerce .star-rating {
    float: unset !important;
    color: #fdba74;
}

strong.woocommerce-review__author {
    font-size: 14px;
    color: var(--primary);
}

/* ===============================
   5) ریزبهینه‌سازی‌های ریسپانسیو
   =============================== */
@media (max-width: 991.98px) {
    .single-blog .info {
        font-size: 13px;
    }

    .post-content {
        font-size: 15.5px;
    }


    .single-blog .single-excerpt {
        font-size: 15px;
    }

    .post-content {
        font-size: 15px;
    }
}

/* ظرف فرم دیدگاه */
.comment-respond {
    margin-top: 2.25rem;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 14px;
    padding: 16px;
    background: #fff;
}

/* عنوان فرم */
.comment-reply-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 800;
}

/* متن‌های راهنما و لاگین */
.comment-notes,
.logged-in-as {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 10px;
}

/* گروه‌های فرم */
.comment-form p {
    margin-bottom: 10px;
}

/* لیبل‌ها */
.comment-form label {
    display: block;
    font-size: 16px;
    color: var(--black);
    margin-bottom: 6px;
}

/* فیلدهای ورودی */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
    background: #fff;
}

/* textarea بزرگ‌تر */
.comment-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* حالت فوکوس */
.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(147, 197, 253, .25);
}

/* کوکی‌ها و چک‌باکس */
.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-form-cookies-consent input {
    width: 16px;
    height: 16px;
}

/* دکمه ارسال */
.form-submit input[type="submit"] {
    display: inline-block;
    border: none;
    background: #111827;
    color: #fff;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 14px;
    cursor: pointer;
    transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
}

.form-submit input[type="submit"]:hover {
    background: #0f172a;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.form-submit input[type="submit"]:active {
    transform: translateY(1px);
}

div#wpadminbar {
    position: relative;
}


.footer-shape {
    width: 118px;
    height: 35px;
    aspect-ratio: 98 / 29;

    background: white;

    --shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 29 98 29' preserveAspectRatio='none'%3E%3Cpath d='M94.5196 29C110.886 29 65.1008 0 49 0C32.8992 0 -12.8862 29 3.48035 29C19.847 29 23.9386 58 49 58C74.0614 58 78.153 29 94.5196 29Z' fill='black'/%3E%3C/svg%3E");

    -webkit-mask: var(--shape) center / 100% 100% no-repeat;
    mask: var(--shape) center / 100% 100% no-repeat;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

button#to-top-btn {
    background: var(--primary);
    color: white;
    border: unset;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -40%);
}

/* ── Accordion: فقط موبایل ── */
@media (max-width: 767.98px) {


    .footer-accordion-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        background: none;
        border: none;
        color: inherit;
        padding: 4px 0;
        cursor: pointer;
        font-size: 16px;
        font-weight: normal;
        text-align: right;
    }

    .footer-accordion-toggle i {
        transition: .3s ease;
        transform: rotate(270deg);
    }

    .footer-accordion-toggle[aria-expanded="true"] i {
        transform: rotate(90deg);
        color: var(--secondary);
    }


    .footer-accordion-body {
        overflow: hidden;
        max-height: 0;
        transition: max-height .35s ease, padding .35s ease;
        padding-bottom: 0;
    }

    .footer-accordion-body.is-open {
        max-height: 400px;
        padding-bottom: 14px;
    }

    /* عنوان h5 در دسکتاپ — در موبایل داخل دکمه نمایش داده می‌شه */
    .footer-accordion-col .desktop-title {
        display: none;
    }

    .footer-accordion-wrapper {
        padding: 0.25rem 0.75rem;
        background: #FFFFFF30;
        border-radius: 14px;
    }


}

/* دسکتاپ: همه چیز عادی */
@media (min-width: 768px) {
    .footer-accordion-toggle {
        display: none;
    }

    .footer-accordion-body {
        max-height: none !important;
        overflow: visible !important;
    }

    .footer-accordion-col .desktop-title {
        display: block;
    }
}

:root {
    --primary: #023E8A;
    --secondary: #1E88E5;
    --acent: #CD2521;
    --black: #080B0E;
    --g1: #354151;
    --g2: #546275;
    --g3: #798596;
    --g4: #B3BDCB;
    --g5: #D9DFE8;
    --g6: #F6F7F9;
    --white: #ffffff;
}

/* Text Colors */
/* Text Colors */
.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-acent {
    color: var(--acent) !important;
}

.text-black {
    color: var(--black) !important;
}

.text-g1 {
    color: var(--g1) !important;
}

.text-g2 {
    color: var(--g2) !important;
}

.text-g3 {
    color: var(--g3) !important;
}

.text-g4 {
    color: var(--g4) !important;
}

.text-g5 {
    color: var(--g5) !important;
}

.text-g6 {
    color: var(--g6) !important;
}

.text-white {
    color: var(--white) !important;
}

.text-white-70 {
    color: #ffffff70 !important;
}

/* Background Colors */
.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-acent {
    background-color: var(--acent) !important;
}

.bg-black {
    background-color: var(--black) !important;
}

.bg-g1 {
    background-color: var(--g1) !important;
}

.bg-g2 {
    background-color: var(--g2) !important;
}

.bg-g3 {
    background-color: var(--g3) !important;
}

.bg-g4 {
    background-color: var(--g4) !important;
}

.bg-g5 {
    background-color: var(--g5) !important;
}

.bg-g6 {
    background-color: var(--g6) !important;
}

.bg-white {
    background-color: var(--white) !important;
}

/* Border Colors */
.border-primary {
    border-color: var(--primary) !important;
}

.border-secondary {
    border-color: var(--secondary) !important;
}

.border-black {
    border-color: var(--black) !important;
}

.border-g1 {
    border-color: var(--g1) !important;
}

.border-g2 {
    border-color: var(--g2) !important;
}

.border-g3 {
    border-color: var(--g3) !important;
}

.border-g4 {
    border-color: var(--g4) !important;
}

.border-g5 {
    border-color: var(--g5) !important;
}

.border-g6 {
    border-color: var(--g6) !important;
}

.border-white {
    border-color: var(--white) !important;
}

/* Hover Text */
.hover-text-primary:hover {
    color: var(--primary) !important;
}

.hover-text-secondary:hover {
    color: var(--secondary) !important;
}

.hover-text-black:hover {
    color: var(--black) !important;
}

.hover-text-g1:hover {
    color: var(--g1) !important;
}

.hover-text-g2:hover {
    color: var(--g2) !important;
}

.hover-text-g3:hover {
    color: var(--g3) !important;
}

.hover-text-g4:hover {
    color: var(--g4) !important;
}

.hover-text-g5:hover {
    color: var(--g5) !important;
}

.hover-text-g6:hover {
    color: var(--g6) !important;
}

.hover-text-white:hover {
    color: var(--white) !important;
}

/* Hover Background */
.hover-bg-primary:hover {
    background-color: var(--primary) !important;
}

.hover-bg-secondary:hover {
    background-color: var(--secondary) !important;
}

.hover-bg-black:hover {
    background-color: var(--black) !important;
}

.hover-bg-g1:hover {
    background-color: var(--g1) !important;
}

.hover-bg-g2:hover {
    background-color: var(--g2) !important;
}

.hover-bg-g3:hover {
    background-color: var(--g3) !important;
}

.hover-bg-g4:hover {
    background-color: var(--g4) !important;
}

.hover-bg-g5:hover {
    background-color: var(--g5) !important;
}

.hover-bg-g6:hover {
    background-color: var(--g6) !important;
}

.hover-bg-white:hover {
    background-color: var(--white) !important;
}

/* Hover Border */
.hover-border-primary:hover {
    border-color: var(--primary) !important;
}

.hover-border-secondary:hover {
    border-color: var(--secondary) !important;
}

.hover-border-black:hover {
    border-color: var(--black) !important;
}

.hover-border-g1:hover {
    border-color: var(--g1) !important;
}

.hover-border-g2:hover {
    border-color: var(--g2) !important;
}

.hover-border-g3:hover {
    border-color: var(--g3) !important;
}

.hover-border-g4:hover {
    border-color: var(--g4) !important;
}

.hover-border-g5:hover {
    border-color: var(--g5) !important;
}

.hover-border-g6:hover {
    border-color: var(--g6) !important;
}

.hover-border-white:hover {
    border-color: var(--white) !important;
}

/* Font Sizes - Desktop: 8px to 28px */
.fs-8 {
    font-size: 0.5rem;
}

.fs-9 {
    font-size: 0.5625rem;
}

.fs-10 {
    font-size: 0.625rem;
}

.fs-11 {
    font-size: 0.6875rem;
}

.fs-12 {
    font-size: 0.75rem;
}

.fs-13 {
    font-size: 0.8125rem;
}

.fs-14 {
    font-size: 0.875rem;
}

.fs-15 {
    font-size: 0.9375rem;
}

.fs-16 {
    font-size: 1rem;
}

.fs-17 {
    font-size: 1.0625rem;
}

.fs-18 {
    font-size: 1.125rem;
}

.fs-19 {
    font-size: 1.1875rem;
}

.fs-20 {
    font-size: 1.25rem;
}

.fs-21 {
    font-size: 1.3125rem;
}

.fs-22 {
    font-size: 1.375rem;
}

.fs-23 {
    font-size: 1.4375rem;
}

.fs-24 {
    font-size: 1.5rem;
}

.fs-25 {
    font-size: 1.5625rem;
}

.fs-26 {
    font-size: 1.625rem;
}

.fs-27 {
    font-size: 1.6875rem;
}

.fs-28 {
    font-size: 1.75rem;
}

.fs-30 {
    font-size: 30px;
}

.fs-32 {
    font-size: 2rem;
}

.fs-36 {
    font-size: 2.25rem;
}

.fs-40 {
    font-size: 2.5rem;
}

.fs-44 {
    font-size: 2.75rem;
}

.fs-48 {
    font-size: 3rem;
}

.fs-50 {
    font-size: 3.125rem;
}


/* Font Sizes - Mobile: 8px to 28px */
@media (max-width: 768px) {
    .fsm-8 {
        font-size: 0.5rem;
    }

    .fsm-9 {
        font-size: 0.5625rem;
    }

    .fsm-10 {
        font-size: 0.625rem;
    }

    .fsm-11 {
        font-size: 0.6875rem;
    }

    .fsm-12 {
        font-size: 0.75rem;
    }

    .fsm-13 {
        font-size: 0.8125rem;
    }

    .fsm-14 {
        font-size: 0.875rem;
    }

    .fsm-15 {
        font-size: 0.9375rem;
    }

    .fsm-16 {
        font-size: 1rem;
    }

    .fsm-17 {
        font-size: 1.0625rem;
    }

    .fsm-18 {
        font-size: 1.125rem;
    }

    .fsm-19 {
        font-size: 1.1875rem;
    }

    .fsm-20 {
        font-size: 1.25rem;
    }

    .fsm-21 {
        font-size: 1.3125rem;
    }

    .fsm-22 {
        font-size: 1.375rem;
    }

    .fsm-23 {
        font-size: 1.4375rem;
    }

    .fsm-24 {
        font-size: 1.5rem;
    }

    .fsm-25 {
        font-size: 1.5625rem;
    }

    .fsm-26 {
        font-size: 1.625rem;
    }

    .fsm-27 {
        font-size: 1.6875rem;
    }

    .fsm-28 {
        font-size: 1.75rem;
    }

    .fsm-32 {
        font-size: 2rem;
    }

    .fsm-36 {
        font-size: 2.25rem;
    }

    .fsm-40 {
        font-size: 2.5rem;
    }

    .fsm-44 {
        font-size: 2.75rem;
    }

    .fsm-48 {
        font-size: 3rem;
    }

    .fsm-50 {
        font-size: 3.125rem;
    }
}


/* ─── هدر موبایل: چیدمان پایه (همه اندازه‌های زیر 992px) ─── */
.mobile-header {
    height: 64px;
    padding: 8px 0;
}

.mobile-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    height: 100%;
}

.mobile-header__item {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.mobile-header__logo {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.mobile-header__actions {
    gap: 12px;
}

.mobile-header__logo img,
.mobile-logo {
    max-width: 110px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.mobile-header__item .icon {
    font-size: 22px;
    color: var(--g1);
}

.mobile-header__actions .action-search,
.mobile-header__actions .header-cart {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: 0;
    padding: 0;
    color: var(--g1);
    text-decoration: none;
    line-height: 1;
}

/* موبایل کوچک (زیر 380px) */
@media (max-width: 379.98px) {
    .mobile-header {
        height: 56px;
        padding: 6px 0;
    }

    .mobile-header__inner {
        gap: 4px;
    }

    .mobile-header__actions {
        gap: 8px;
    }

    .mobile-header__logo img,
    .mobile-logo {
        max-width: 80px !important;
        max-height: 36px !important;
    }

    .mobile-header__item .icon {
        font-size: 20px !important;
    }
}

/* ─── Mobile Nav Off-Canvas ─── */
.mobile-nav-wrapper {
    display: contents;
}

.mobile-nav__hamburger {
    background: transparent;
    border: 0;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* صحنه: ظرف ثابت */
.mobile-nav__scene {
    position: fixed;
    inset: 0;
    z-index: 1050;
    pointer-events: none;
}

/* پنل آف-کنواس — پیش‌فرض: پنهان در خارج از صفحه */
.mobile-nav__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: #fff;
    overflow-y: auto;
    transform: translateX(110%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    direction: rtl;
    z-index: 99999;
    pointer-events: auto;
}

/* پنل باز */
.mobile-nav__panel.is-open {
    transform: translateX(0);
}

/* هدر پنل */
.mobile-nav__panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.mobile-nav__logo img {
    max-width: 100px;
    height: auto;
}

.mobile-nav__close {
    background: transparent;
    border: 0;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    padding: 0 4px;
}

/* آیتم‌های منو */
.mobile-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav__item {
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.mobile-nav__link {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    color: #222;
    text-decoration: none;
    font-size: 15px;
}

.mobile-nav__link:hover {
    color: #0b7774;
}

.mobile-nav__link--sub {
    padding-right: 32px;
    font-size: 14px;
    color: #555;
}

/* دکمه تاگل زیرمنو */
.mobile-nav__toggle {
    background: transparent;
    border: 0;
    padding: 14px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.mobile-nav__toggle-icon {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #555;
    border-bottom: 2px solid #555;
    transform: rotate(45deg);
    transition: transform 0.2s;
}

.mobile-nav__toggle[aria-expanded="true"] .mobile-nav__toggle-icon {
    transform: rotate(-135deg);
}

/* زیرمنو */
.mobile-nav__dropdown {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    background: #f9f9f9;
}

.mobile-nav__dropdown[hidden] {
    display: none;
}

/* Overlay */
.mobile-nav__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-nav__overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* =========================================================
   Blog Archive
   ========================================================= */
.blog-hero {
    padding: 84px 0 72px;
    background: radial-gradient(circle at 82% 18%, rgba(244, 42, 43, .10), transparent 28%),
    linear-gradient(110deg, #f6f6f6 0%, #ffffff 56%, #f2f2f2 100%);
    overflow: hidden;
}

.blog-hero h1 {
    font-size: clamp(1.85rem, 3.5vw, 3.1rem);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.22;
    max-width: 780px;
    margin: 0 auto .8rem;
}

.blog-hero p {
    color: #4b5563;
    max-width: 620px;
    margin-inline: auto;
    font-size: .97rem;
    line-height: 1.78;
}

.blog-archive-section {
    padding: 72px 0 80px;
}

/* Featured post card */
.featured-post {
    display: grid;
    grid-template-columns: 1.03fr 1fr;
    max-width: 1060px;
    margin: 0 auto 34px;
    background: #fff;
    border: 1px solid var(--g3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 42px rgba(0, 0, 0, .07);;
}

.featured-media img {
    width: 100%;
    height: 100%;
    min-height: 310px;
    object-fit: cover;
    display: block;
}

.featured-content {
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-badge,
.card-badge {
    width: fit-content;
    color: var(--primary);
    background: rgba(2, 95, 99, 0.1);
    border-radius: 32px;
    padding: .25rem .65rem;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: .95rem;
    display: inline-block;
}

.featured-content h2 {
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -.035em;
    margin-bottom: 1rem;
}

.featured-content p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--g2);
    font-size: .82rem;
    margin-bottom: 1.2rem;
}

.post-meta i {
    color: var(--primary);
    margin-right: 4px;
}

/* Grid */
.blog-grid {
    margin-inline: auto;
}

.blog-archive-section .blog-card img {
    width: 100%;
    aspect-ratio: 1.55 / 1;
    object-fit: cover;
    display: block;
    transition: .35s ease;
}


.blog-card-body {
    padding: 20px 22px 26px;
    border: 1px solid var(--g3);
    box-shadow: 0 16px 42px rgba(0, 0, 0, .07);
}

.blog-card-body h3 {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: .7rem;
}

.blog-card-body h3 a {
    color: inherit;
}

.blog-card-body h3 a:hover {
    color: var(--primary);
}

.blog-card-body p {
    color: #4b5563;
    font-size: .9rem;
    line-height: 1.72;
    margin-bottom: 1rem;
}

/* Pagination */
.blog-pagination {
    margin-top: 52px;
}

.blog-pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--g3);
    border-radius: 12px;
    font-size: .9rem;
    color: var(--black);
    background: white;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.blog-pagination .prev.page-numbers,
.blog-pagination .next.page-numbers {
    padding: 0 20px;
    font-size: .88rem;
    font-weight: 500;
}

.blog-pagination .dots {
    border: 0;
    background: transparent;
    min-width: auto;
    color: var(--g4);
    cursor: default;
    pointer-events: none;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: rgba(2, 95, 99, 0.1);
    border-radius: 32px;
    padding: .35rem .85rem;
    font-size: .82rem;
    margin-bottom: 1.1rem;
}


/* =====================================================
   Blog Single Page
   ===================================================== */

.article-hero {
    padding: 76px 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .76), rgba(0, 0, 0, .28)),
    center/cover no-repeat;
    background-color: #1e1e1e;
    color: #fff;
}

.article-hero h1 {
    font-size: 2rem;
    line-height: 2;
    font-weight: 780;
    letter-spacing: -.05em;
    margin-bottom: 1rem;
}

.article-hero p {
    max-width: 680px;
    color: rgba(255, 255, 255, .88);
    line-height: 1.85;
}

.article-hero .hero-actions {
    justify-content: flex-start;
    margin-top: 26px;
}

.article-hero .section-eyebrow--hero {
    color: #fff;
    background: var(--primary);
}

.breadcrumb-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255, 255, 255, .74);
    margin-bottom: 1rem;
    font-size: .88rem;
}

.breadcrumb-mini a {
    color: rgba(255, 255, 255, .82);
}

.breadcrumb-mini a:hover {
    color: #fff;
}

.hero-camera {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 24px 55px rgba(0, 0, 0, .11)
}

/* Article layout */
.article-section {
    background: #fff;
}

.article-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 820px);
    justify-content: center;
    gap: 44px;
}

.toc-sidebar {
    position: sticky;
    top: 98px;
    align-self: start;
}

.toc-card {
    border: 1px solid var(--g3);
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .05);
}

.toc-card h2 {
    font-size: 1rem;
    font-weight: 750;
    margin-bottom: 14px;
}

.toc-card a, #post-toc a {
    display: block;
    color: #4b5563;
    padding: 0.25rem 0;
    border-bottom: 1px solid var(--g3);
    font-size: .8rem;
}

.toc-card a:last-child,
#post-toc a:last-child {
    border-bottom: 0;
}

.toc-card a:hover,
#post-toc a:hover {
    color: var(--primary);
}

/* Article content */
.article-content {
    min-width: 0;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    width: fit-content;
    max-width: calc(100% - 32px);
    margin: -26px auto 36px;
    padding: 7px;
    border: 1px solid var(--primary-2, rgba(209, 212, 217, 0.65));
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 45px var(--card-shadow, rgba(19, 19, 19, 0.08));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    z-index: 3;
}

.article-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--g2);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    background: transparent;
}

.article-meta__item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--g6);
    color: var(--primary);
    font-size: 14px;
    line-height: 1;
}

.article-meta__item:not(:last-child) {
    border-inline-end: 1px solid var(--g5);
    border-radius: 0;
}

.article-meta__item a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-meta__item a:hover {
    color: var(--primary);
}

.article-meta__item--category {
    color: var(--secondary);
}

.article-meta__item--category i {
    background: color-mix(in srgb, var(--secondary), transparent 88%);
    color: var(--secondary);
}

@media (max-width: 768px) {
    .article-meta {
        margin: -20px auto 30px;
        border-radius: 18px;
        justify-content: flex-start;
        width: calc(100% - 32px);
        max-width: none;
    }

    .article-meta__item {
        flex: 1 1 auto;
        justify-content: center;
    }

    .article-meta__item:not(:last-child) {
        border-inline-end: 0;
    }
}

@media (max-width: 480px) {
    .article-meta {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 8px;
        border-radius: 18px;
        margin: -16px 16px 28px;
        width: auto;
    }

    .article-meta__item {
        justify-content: flex-start;
        min-height: 38px;
        padding: 0 10px;
        background: var(--g6);
    }
}

.article-content h2 {
    font-size: 1.15rem;
    font-weight: 750;
    letter-spacing: -.025em;
    margin: 42px 0 16px;
}

.article-content h3 {
    font-size: 1.05rem;
    font-weight: 750;
    margin: 28px 0 12px;
}

.article-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 28px 0 12px;
}

.article-content h5 {
    font-size: .9rem;
    font-weight: 600;
    margin: 28px 0 12px;
}

.article-content h6 {
    font-size: 0.8rem;
    font-weight: 500;
    margin: 28px 0 12px;
}

.article-content p {
    color: #4b5563;
    line-height: 1.9;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Feature callout (product_callout shortcode) */
.feature-callout,
.download-banner {
    margin: 34px 0;
    background: var(--g4);
    border-radius: 16px;
    padding: 1.2rem 1.75rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 28px;
    align-items: center;
}

.callout-label {
    color: var(--primary);
    font-weight: 700;
    font-size: .85rem;
    display: inline-block;
    margin-bottom: .6rem;
    background: white;
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
}

.feature-callout h3,
.download-banner h3 {
    font-size: 1.35rem;
    margin-top: 0;
}

.feature-callout ul,
.download-banner ul {
    color: #4b5563;
}

.feature-callout img,
.download-banner img {
    width: 100%;
    border-radius: 12px;
    margin: 0 !important;
}

/* Article table */
.article-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
    border: 1px solid var(--g3);
}

.article-table th,
.article-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--g3);
}

.article-table th {
    background: #f0f0f0;
}

.article-table tr:nth-child(even) td {
    background: #fafafa;
}

/* Article image */
.article-image {
    margin: 38px 0;
}

.article-image img {
    width: 100%;
    border-radius: 16px;
}

.article-image figcaption {
    color: var(--g2);
    font-size: .9rem;
    margin-top: 10px;
}

/* Check list */
.check-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: grid;
    gap: 12px;
}

.check-list li {
    color: #4b5563;
    display: flex;
    gap: 10px;
    align-items: center;
}

.check-list i {
    color: var(--primary);
}

/* FAQ accordion */
.faq-accordion {
    margin-top: 22px;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgb(224, 242, 243);
    color: var(--primary);
}

/* Blog single contact section */
.bs-contact-section {
    padding: 84px 0 94px;
    background: var(--g4);
}

.bs-contact-form {
    max-width: 1060px;
    margin-inline: auto;
    background: #fff;
    border-radius: 16px;
    padding: clamp(26px, 4vw, 58px);
    box-shadow: 0 24px 55px rgba(0, 0, 0, .11)
}

.bs-contact-form .form-control {
    min-height: 52px;
    border: 1px solid #c5ccd6;
    border-radius: 0;
    box-shadow: none;
    font-size: .9rem;
    padding: .85rem 1rem;
}

.bs-contact-form textarea.form-control {
    min-height: 88px;
}

.bs-contact-form .form-control:focus {
    border-color: rgba(255, 37, 43, .55);
    box-shadow: 0 0 0 .2rem rgba(255, 37, 43, .08);
}

/* Chat widget */
.chat-widget {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    z-index: 1001;
    box-shadow: 0 12px 30px rgba(206, 231, 232, 0.85);
    font-size: 1.45rem;
}

.chat-bubble {
    position: fixed;
    right: 92px;
    bottom: 26px;
    width: min(320px, calc(100vw - 130px));
    background: #fff;
    border-radius: 12px;
    padding: 18px 42px 18px 18px;
    box-shadow: 0 24px 55px rgba(0, 0, 0, .11);
    z-index: 1001;
    display: none;
}

.chat-bubble.show {
    display: block;
}

.chat-bubble strong {
    display: block;
    margin-bottom: .3rem;
}

.chat-bubble p {
    margin: 0;
    color: var(--g2);
    font-size: .9rem;
}

.chat-close {
    position: absolute;
    top: 8px;
    right: 8px;
    border: 0;
    background: transparent;
    color: #555;
    font-size: 1.15rem;
}

/* Blog single responsive */
@media (max-width: 991.98px) {
    .article-hero {
        text-align: center;
        padding: 58px 0;
    }

    .article-hero .hero-actions {
        justify-content: center;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .toc-sidebar {
        position: static;
    }

    .toc-card {
        display: none;
    }

    .feature-callout,
    .download-banner {
        grid-template-columns: 1fr;
    }

    .bs-contact-section {
        padding: 64px 0;
    }
}

@media (max-width: 575.98px) {
    .article-meta {
        gap: 10px;
    }

    .bs-contact-form {
        box-shadow: 0 16px 42px rgba(0, 0, 0, .07);
    }

    .chat-bubble {
        right: 16px;
        bottom: 92px;
        width: calc(100vw - 32px);
    }

    .chat-widget {
        right: 18px;
        bottom: 22px;
    }
}

.breadcrumb-wrap span:last-of-type {
    color: black;
}

.oneline {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
    box-orient: vertical;
    -webkit-line-clamp: 1;
    -moz-line-clamp: 1;
    -ms-line-clamp: 1;
    line-clamp: 1;
    overflow: hidden;
}

.towline {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
    box-orient: vertical;
    -webkit-line-clamp: 2;
    -moz-line-clamp: 2;
    -ms-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.threeline {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
    box-orient: vertical;
    -webkit-line-clamp: 3;
    -moz-line-clamp: 3;
    -ms-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.top-header a.nav-link {
    color: var(--g2);
}

.bottom-header a.nav-link {
    color: var(--black);
}

.bottom-header a.nav-link.active {
    color: var(--secondary);

}

a.header-search i {
    font-size: 20px;
    font-weight: 600;
}


a.header-cart.position-relative {
    font-size: 14px;
}

span.header-cart__badge {
    display: flex;
    background: var(--primary);
    width: 20px;
    height: 20px;
    /* display: block; */
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 70%;
}

span.header-cart__badge.is-visible {
    position: absolute;
    top: 0;
    right: 0.3rem;
}

.tab-icon i {
    font-size: 25px;
}

#header .bottom-header {
    max-height: 80px;
    /* overflow visible so the dropdown sub-menus can escape the bar; the
       collapse animation only needs clipping while the header is stuck. */
    overflow: visible;
    opacity: 1;
    transform: translateY(0);

    transition: max-height 300ms ease,
    opacity 200ms ease,
    transform 300ms ease,
    padding 300ms ease;
}

#header.is-stuck .bottom-header {
    max-height: 0;
    overflow: hidden;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

/* ==========================================================================
   Desktop main-menu / top-menu dropdowns (hover reveal + navigable parents)
   ========================================================================== */
@media (min-width: 992px) {

    .top-header .navbar-nav .dropdown,
    .bottom-header .navbar-nav .dropdown {
        position: relative;
    }

    .top-header .navbar-nav .dropdown-menu,
    .bottom-header .navbar-nav .dropdown-menu {
        display: block; /* rendered but hidden via opacity for smooth hover */
        visibility: hidden;
        opacity: 0;
        position: absolute;
        top: 100%; /* first-level opens directly below the parent */
        right: 0;
        left: auto;
        margin: 0;
        border: 0;
        border-radius: 12px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
        padding: 0.35rem 0;
        min-width: 220px;
        transform: translateY(6px);
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
        pointer-events: none;
        z-index: 1050;
    }

    /* Reveal a sub-menu when hovering (or keyboard-focusing) its parent item */
    .top-header .navbar-nav .dropdown:hover > .dropdown-menu,
    .bottom-header .navbar-nav .dropdown:hover > .dropdown-menu,
    .top-header .navbar-nav .dropdown:focus-within > .dropdown-menu,
    .bottom-header .navbar-nav .dropdown:focus-within > .dropdown-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* Nested sub-menus open to the side (RTL: to the left of the parent) */
    .top-header .navbar-nav .dropdown-menu .dropdown-menu,
    .bottom-header .navbar-nav .dropdown-menu .dropdown-menu {
        top: 0;
        right: 100%;
        left: auto;
        margin: 0 0.25rem 0 0;
    }

    .bottom-header .navbar-nav .dropdown-item {
        color: var(--g1, #1c1c1c);
        padding: 0.5rem 1.25rem;
    }

    .bottom-header .navbar-nav .dropdown-item:hover,
    .bottom-header .navbar-nav .dropdown-item:focus {
        background-color: var(--g5, #f3f3f3);
    }
}


#wpadminbar {
    position: absolute;
}

button.header-search.search-modal-trigger i {
    font-size: 20px;
    color: var(--g3);
}

form#doc-filter-form label.form-label {
    position: absolute !important;
    top: 0;
    left: 1.5rem;
    transform: translateY(-50%);
    background: black;
    padding: 0 0.5rem;
}

@media (max-width: 768px) {
    .solution-tabs .nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        justify-content: unset;
        padding: 0.5rem 0;
    }

    .solution-tabs .nav .nav-link {
        flex-shrink: 0;
    }
}

/* =========================================================
   Blog Single – Sticky bar + Author card + Trusted swiper
   ========================================================= */

/* Sticky article bar */
.sticky-blog-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--g3);
    padding: .6rem 0;
    transform: translateY(-110%);
    transition: transform .3s ease;
    pointer-events: none;
}

.sticky-blog-bar.is-visible {
    transform: translateY(0);
    pointer-events: auto;
}

.sticky-blog-title {
    font-size: .88rem;
    font-weight: 600;
    color: var(--black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 420px;
}

.sticky-blog-bar .btn-sm {
    padding: .42rem 1rem;
    font-size: .82rem;
    border-radius: 32px;
}

/* Article reading progress bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--primary);
    z-index: 1200;
    transition: width .1s linear;
}

/* Trusted logos swiper */
.blog-trusted-swiper {
    padding: 4px 0 8px;
}

.trusted-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.trusted-slide img {
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .72;
}

.trusted-slide img:hover {
    filter: none;
    opacity: 1;
}

/* Author card in sidebar */
.author-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding: 18px;
    border: 1px solid var(--g3);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .05);
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--g3);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-label {
    font-size: .75rem;
    color: var(--g2);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.author-name {
    font-size: .9rem;
    font-weight: 600;
    color: var(--black);
}

/* TOC active link */
#post-toc a.active,
.toc-card a.active {
    color: var(--primary);
    font-weight: 600;
}

/* Section eyebrow white variant (hero context) */
.section-eyebrow--hero {
    color: #fff;
    background: rgba(255, 37, 43, .92);
}

.section-eyebrow--hero a {
    color: inherit;
}

/* Article hero: dark fallback; full background set inline from ACF */
.article-hero {
    background-color: #1e1e1e;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Tables inside article content */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
    border: 1px solid var(--g3);
    font-size: .93rem;
}

.post-content table th,
.post-content table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--g3);
    text-align: left;
}

.post-content table th {
    background: #f0f0f0;
    font-weight: 600;
}

.post-content table tr:nth-child(even) td {
    background: #fafafa;
}

@media (max-width: 991.98px) {
    .sticky-blog-bar .sticky-blog-title {
        display: none;
    }

    .sticky-blog-bar .d-flex.gap-2 {
        width: 100%;
        justify-content: center;
    }

    .author-card {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .sticky-blog-bar .btn-sm {
        flex: 1;
        text-align: center;
    }
}


.accordion-button::after {
    margin: 0;
    margin-right: auto;
}


/* ----- Wrapper ----- */
body .gform_wrapper {
    margin: 0;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.gform-theme--foundation .gform_fields {
    row-gap: 0.5rem !important;
}

input#gform_submit_button_1 {
    display: block;
    width: 100%;
    background: var(--primary);
}

/* ----- Form Title & Description ----- */
body .gform_heading .gform_title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    color: #111;
}

body .gform_heading .gform_description {
    text-align: center;
    color: #666;
    font-size: 15px;
    margin-bottom: 25px;
}

/* ----- Fields ----- */
body .gform_wrapper .gfield {
    margin-bottom: 20px;
}

body .gform_wrapper .gfield_label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

/* ----- Inputs, Selects, Textarea ----- */
body .gform_wrapper input[type="text"],
body .gform_wrapper input[type="email"],
body .gform_wrapper input[type="tel"],
body .gform_wrapper input[type="url"],
body .gform_wrapper input[type="number"],
body .gform_wrapper input[type="password"],
body .gform_wrapper textarea,
body .gform_wrapper select {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fafafa;
    transition: all .2s ease;
}

body .gform_wrapper input:focus,
body .gform_wrapper textarea:focus,
body .gform_wrapper select:focus {
    border-color: #d8bd65; /* رنگ برند شما */
    box-shadow: 0 0 0 3px rgba(216, 189, 101, 0.35);
    background: #fff;
    outline: none;
}

/* ----- Placeholders ----- */
body .gform_wrapper ::placeholder {
    color: #999;
}

/* ----- Submit Button ----- */
body .gform_wrapper .gform_footer input[type="submit"],
body .gform_wrapper .gform_page_footer input[type="button"],
body .gform_wrapper .gform_page_footer input[type="submit"] {
    display: inline-block;
    background: #d8bd65; /* طلایی برند */
    border: none;
    color: #000;
    font-weight: 600;
    padding: 12px 26px;
    font-size: 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all .25s ease;
}

body .gform_wrapper .gform_footer input[type="submit"]:hover,
body .gform_wrapper .gform_page_footer input[type="submit"]:hover {
    background: #c2a94d;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* ----- Error Messages ----- */
body .gform_wrapper .gform_validation_errors {
    border: 1px solid #dc3545;
    background: #f8d7da;
    color: #842029;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

body .gform_wrapper .validation_message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 4px;
}

/* ----- Success Confirmation ----- */
body .gform_confirmation_message {
    border: 1px solid #198754;
    background: #d1e7dd;
    color: #0f5132;
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 15px;
    text-align: center;
    margin-top: 20px;
}


.contact-image-wrapper {
    height: 100%;
    width: 100%;
    border-radius: 1rem;
    background-size: cover !important;
    background-position: center center !important;
}


/* ==========================================================================
   AJAX Product Search — trigger button + modal + live results
   ========================================================================== */

/* desktop trigger (looks like a search field) */
.header-search.search-modal-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 180px;
    height: 40px;
    padding: 0 16px;
    border: unset;
    border-radius: 45px;
    background: var(--g6);
    border: var(--g5) 1px solid;
    color: var(--g4);
    font-size: 14px;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

button.btn-close {
    margin-left: unset !important;
    margin-right: auto !important;
}


.header-search.search-modal-trigger i {
    font-size: 20px;
}

/* modal shell */
.search-modal .modal-content {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
}

.search-modal .modal-header {
    padding: 1rem 1.25rem .5rem;
}

.search-modal .modal-body {
    padding: .5rem 1.25rem 1.5rem;
}

/* input */
.search-wrapper {
    position: relative;
}

.search-wrapper__icon {
    position: absolute;
    inset-inline-start: 16px;
    top: 26px;
    transform: translateY(-50%);
    color: var(--g2);
    font-size: 20px;
    pointer-events: none;
}

.search-input {
    width: 100%;
    height: 52px;
    padding: 0 48px;
    border: 1px solid var(--g3);
    border-radius: 12px;
    background: #fff;
    color: var(--secondary);
    font-size: 15px;
    outline: none;
    transition: border-color .2s ease;
}

.search-input:focus {
    border-color: var(--primary);
}

.search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

/* results */
.ajax-search-results {
    display: none;
    margin-top: 14px;
    max-height: 58vh;
    overflow-y: auto;
    scrollbar-width: thin;
}

.ajax-search-results .no-result {
    margin: 0;
    padding: 1.5rem 0;
    text-align: center;
    color: var(--g1);
    font-size: 14px;
}

.search-section-label {
    margin: 16px 0 8px;
    font-size: 13px;
    font-weight: 800;
    color: var(--secondary);
}

.search-section-label:first-child {
    margin-top: 4px;
}

.search-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.search-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid var(--g3);
    border-radius: 999px;
    color: var(--secondary);
    font-size: 13px;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.search-badge:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.search-badge--brand img {
    height: 22px;
    width: auto;
    border-radius: 4px;
}

.ajax-search-results ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ajax-search-results ul li + li {
    border-top: 1px solid var(--g4);
}

.ajax-search-results ul li a {
    border-radius: 10px;
    transition: background .2s ease;
}

.ajax-search-results ul li a:hover {
    background: #f7f9f9;
}

.filter-wrapper {
    width: 100%;
}


/* Product Callout */
.product-callout {
    position: relative;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    align-items: center;
    margin: 36px 0;
    padding: 28px;
    border: 1px solid color-mix(in srgb, var(--g4), transparent 45%);
    border-radius: 24px;
    background: radial-gradient(circle at top right, color-mix(in srgb, var(--primary), transparent 86%), transparent 34%),
    linear-gradient(135deg, var(--white) 0%, var(--g6) 100%);
    box-shadow: 0 18px 45px color-mix(in srgb, var(--black), transparent 92%);
    overflow: hidden;
}

.product-callout::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 24px;
    bottom: 24px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--primary), color-mix(in srgb, var(--primary), var(--black) 16%));
}

.product-callout__media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px;
    padding: 22px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--g4), transparent 55%);
}

.product-callout__image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.product-callout:hover .product-callout__image {
    transform: scale(1.04);
}

.product-callout__content {
    min-width: 0;
}

.product-callout__badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary), transparent 90%);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.product-callout__title {
    margin: 0 0 12px;
    color: var(--black);
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 900;
    line-height: 1.65;
    letter-spacing: -0.02em;
}

.product-callout__price {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    color: var(--primary);
    font-size: 20px;
    font-weight: 900;
}

.product-callout__price del {
    margin-inline-end: 8px;
    color: var(--g3);
    font-size: 14px;
    font-weight: 500;
}

.product-callout__price ins {
    text-decoration: none;
}

.product-callout__features {
    display: grid;
    gap: 10px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.product-callout__features li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 14px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--white), transparent 18%);
    border: 1px solid color-mix(in srgb, var(--g4), transparent 55%);
    color: var(--g1);
    font-size: 14px;
}

.product-callout__features li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--primary), transparent 88%);
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
}

.product-callout__features span {
    color: var(--g2);
    font-weight: 600;
}

.product-callout__features strong {
    margin-inline-start: auto;
    color: var(--black);
    font-weight: 800;
    text-align: left;
}

.product-callout__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary), var(--black) 14%));
    color: var(--white) !important;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 12px 24px color-mix(in srgb, var(--primary), transparent 78%);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.product-callout__button:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 16px 30px color-mix(in srgb, var(--primary), transparent 72%);
}

.product-callout__button svg {
    transition: transform 0.2s ease;
}

.product-callout__button:hover svg {
    transform: translateX(-3px);
}


/* Download Banner */
.download-banner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 30px;
    align-items: center;
    margin: 36px 0;
    padding: 30px;
    border-radius: 26px;
    border: 1px solid color-mix(in srgb, var(--g4), transparent 45%);
    background: radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--primary), transparent 84%), transparent 32%),
    linear-gradient(135deg, var(--white) 0%, var(--g6) 100%);
    box-shadow: 0 20px 48px color-mix(in srgb, var(--black), transparent 92%);
    overflow: hidden;
}

.download-banner::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 26px;
    bottom: 26px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--primary), color-mix(in srgb, var(--primary), var(--black) 16%));
}

.download-banner__content {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.download-banner__badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary), transparent 90%);
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.download-banner__title {
    margin: 0 0 10px;
    color: var(--black);
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 900;
    line-height: 1.55;
    letter-spacing: -0.02em;
}

.download-banner__title strong,
.download-banner__title span {
    color: var(--primary);
}

.download-banner__desc {
    max-width: 560px;
    margin: 0 0 22px;
    color: var(--g2);
    font-size: 15px;
    font-weight: 500;
    line-height: 2;
}

.download-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary), var(--black) 14%));
    color: var(--white) !important;
    font-size: 15px;
    font-weight: 850;
    text-decoration: none !important;
    box-shadow: 0 12px 24px color-mix(in srgb, var(--primary), transparent 78%);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.download-banner__button:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 16px 30px color-mix(in srgb, var(--primary), transparent 72%);
}

.download-banner__button svg {
    transition: transform 0.2s ease;
}

.download-banner__button:hover svg {
    transform: translateX(-3px);
}

.download-banner__media {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px;
    padding: 12px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--g4), transparent 55%),
    0 14px 30px color-mix(in srgb, var(--black), transparent 92%);
    overflow: hidden;
}

.download-banner__image {
    width: 100%;
    max-width: 240px;
    height: auto;
    border-radius: 18px;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.download-banner:hover .download-banner__image {
    transform: scale(1.04);
}


/* Responsive */
@media (max-width: 768px) {
    .product-callout,
    .download-banner {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 24px;
        border-radius: 22px;
        text-align: right;
    }

    .product-callout::before,
    .download-banner::before {
        top: 0;
        bottom: auto;
        inset-inline-start: 22px;
        inset-inline-end: 22px;
        width: auto;
        height: 4px;
    }

    .download-banner__media {
        order: -1;
    }

    .product-callout__media,
    .download-banner__media {
        min-height: 150px;
    }

    .download-banner__image {
        max-width: 100%;
    }

    .product-callout__button,
    .download-banner__button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .product-callout,
    .download-banner {
        padding: 20px;
    }

    .download-banner__title {
        font-size: 21px;
    }

    .download-banner__desc {
        font-size: 14px;
    }

    .product-callout__features li {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .product-callout__features strong {
        width: 100%;
        text-align: right;
        margin-inline-start: 36px;
    }
}

a.nav-link {
    color: var(--black);
}

a.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    height: 40px;
    border-radius: 45px;
    padding: 0 8px;

}

span.phone-text-wrapper {
    background: white;
    color: var(--black);
    font-size: 14px;
    padding: 2px 4px;
    border-radius: 50px;
}


body.home header#header {
    position: absolute;
    width: 90%;
    top: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 40px;
}


.slider-control-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-pagination-slider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-pagination {
    width: 120px;
    height: 72px;
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: 999;
    transform: translateX(-50%);
}

.custom-pagination__svg {
    position: absolute;
    top: 0;
    left: 0;

    width: 120px;
    height: 65px;

    overflow: visible;
}

.custom-pagination__track,
.custom-pagination__progress {
    fill: none;
    stroke-width: 7;
    stroke-linecap: round;
}

.custom-pagination__track {
    stroke: #dfe4ec;
}

.custom-pagination__progress {
    stroke: #0754a0;

    stroke-dasharray: 0 100;

    transition: stroke-dasharray 0.5s ease;
}

.custom-pagination__number {
    position: absolute;

    left: 50%;
    bottom: 0;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    direction: ltr;
    unicode-bidi: isolate;

    font-size: 18px;
    line-height: 1;
    font-weight: 400;
    font-variant-numeric: tabular-nums;

    white-space: nowrap;
    color: #161616;
}

.custom-pagination__separator {
    margin-inline: 2px;
}

.custom-pagination__separator {
    margin-inline: 2px;
}


.slider .info-wrapper {
    position: absolute;
    right: 7%;
    top: 50%;
    z-index: 9999;
    transform: translateY(-50%);
}

.curve-shape {
    position: absolute;
    left: 50%;
    bottom: -1px;
    transform: translateX(-50%);
    width: 350px;
    height: 80px;
    z-index: 5;
    pointer-events: none;
}

.curve-shape svg {
    display: block;
    width: 100%;
    height: 100%;
}

.curve-shape path {
    fill: white;
}

.control-wrapper {
    background: #ffffff40;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #ffffff70;
    font-size: 30px;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 1.5rem;
    left: calc(50% - 100px);
    z-index: 999;
    transform: translateX(-50%);

}

.control-wrapper.slide-prev {
    left: calc(50% + 100px);
}

.sec-title span {
    color: var(--primary);
}

.category-link {
    position: relative;
    display: block;
    overflow: hidden;
}

.category-link::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
            to bottom,
            #1E88E512 0%,
            #1E88E580 100%
    );

    opacity: 0;
    transition: opacity 0.7s ease;

    pointer-events: none;
}

.category-link:hover::before {
    opacity: 1;
}

.category-link p {
    transition: 0.7s ease;
}

.category-link:hover p {
    color: var(--primary) !important;
}

.category-link:hover + .shape {
    background: var(--primary);
}

.category-slider .shape {
    background: var(--g4);
    height: 4px;
    width: 17px;
    margin: auto;
    border-radius: 0 0 12px 12px;
    transition: 0.7s ease;
}

section.category .control-wrapper, section.product .control-wrapper, section.product2 .control-wrapper {
    border-color: var(--g5);
    color: var(--g3);
    left: 0;
    top: 50%;
    transform: translate(-30%, -50%);
}

section.category .control-wrapper.slide-prev, section.product .control-wrapper.slide-prev, section.product2 .control-wrapper.slide-prev {
    left: unset;
    right: 0;
    transform: translate(+30%, -50%);

}

section.product .control-wrapper, section.product2 .control-wrapper {
    background: white;
}

.wr-product-wrapper .icon-wrapper {
    width: 48px;
    height: 48px;
    background: var(--g5);
    border-radius: 50%;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}


.stats-section {
    padding-top: 4px;
    overflow: hidden;
}

.stats-title {
    margin: 0 0 58px;
    text-align: center;
    color: #0f4e88;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
}

.stats-panel {
    position: relative;
    min-height: 160px;
    padding: 0 70px 28px;
    border-radius: 32px;
    background: #f4f6f9;
}

/* فرورفتگی تزئینی وسط */


.stats-section .center-dot {
    position: absolute;
    top: 35px;
    left: 50%;
    width: 12px;
    height: 12px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #2e90df;
    z-index: 2;
}

.stats-section .curve-shape {
    width: 300px;
    height: 40px;
    z-index: 1;
    top: 0;
    transform: translateX(-50%) rotate(180deg);


}

.semicircle {
    width: 100px;
    height: 50px;
    background: linear-gradient(
            to bottom,
            #1E88E560 0%,
            #1E88E530 50%,
            #1E88E501 100%
    );
    opacity: 50%;
    border-radius: 100px 100px 0 0;
    z-index: 999;
}

.stats-section .semicircle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%) rotate(180deg);

}

.why-panel .semicircle {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
}

.stats-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 38px;
    direction: rtl;
}

.stat-item {
    margin-top: -33px;
    text-align: center;
}

.stat-badge {
    width: 66px;
    height: 66px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    background: radial-gradient(circle at 40% 30%, #156bb7 0%, #085ba5 45%, #034b8e 100%);
    box-shadow: 0 6px 14px rgba(5, 80, 148, .10);
    direction: ltr;
}

.stat-heading {
    margin: 0 0 9px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
}

.stat-text {
    margin: 0 auto;
    max-width: 220px;
    color: #8994a3;
    font-size: 13px;
    line-height: 1.9;
}

@media (max-width: 900px) {
    .stats-title {
        margin-bottom: 46px;
    }

    .stats-panel {
        padding: 0 28px 34px;
        border-radius: 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 58px;
    }

    .stat-item {
        margin-top: -28px;
    }


}

@media (max-width: 560px) {
    body {
        align-items: start;
    }

    .stats-section {
        padding-top: 24px;
    }

    .stats-title {
        margin-bottom: 26px;
        font-size: 22px;
    }

    .stats-panel {
        padding: 28px 20px 34px;
        border-radius: 28px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px;
    }

    .stat-item {
        margin-top: 0;
    }

    .stat-badge {
        width: 62px;
        height: 62px;
        margin-bottom: 12px;
    }
}

.why-section {
    margin: 0 auto;
    padding-top: 0;
    overflow: hidden;
}

.why-title {
    margin: 0 0 46px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    color: #111;
}

.why-title .blue {
    color: #0f4e88;
}

.why-panel {
    position: relative;
    min-height: 160px;
    padding: 0 64px 30px;
    background: #f4f6f9;
    border-radius: 32px;
}

/* فرورفتگی سفید پایین وسط */
.why-panel .curve-shape {

    width: 300px;
    height: 40px;
    z-index: 1;
}

.why-section .center-dot {
    position: absolute;
    left: 50%;
    bottom: 31px;
    width: 12px;
    height: 12px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: #2e90df;
    z-index: 3;
}

.why-grid {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 38px;
}

.why-item {
    margin-top: -33px;
    text-align: center;
}

.icon-circle {
    width: 66px;
    height: 66px;
    margin: 0 auto 17px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    background: radial-gradient(
            circle at 38% 28%,
            #1a77c8 0%,
            #0b61ac 47%,
            #034d90 100%
    );
    box-shadow: 0 7px 16px rgba(4, 79, 145, .12);
}

.why-heading {
    margin: 0 0 7px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.7;
}

.why-text {
    max-width: 225px;
    margin: 0 auto;
    color: #8c96a5;
    font-size: 13px;
    line-height: 1.85;
}

@media (max-width: 900px) {
    .why-title {
        margin-bottom: 42px;
    }

    .why-panel {
        padding: 0 28px 36px;
        border-radius: 30px;
    }

    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 58px;
    }

    .why-item {
        margin-top: -26px;
    }

}

@media (max-width: 560px) {
    .why-section {
        padding-top: 20px;
    }

    .why-title {
        margin-bottom: 26px;
        font-size: 24px;
    }

    .why-panel {
        padding: 30px 20px 34px;
        border-radius: 28px;
    }

    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px;
    }

    .why-item {
        margin-top: 0;
    }

    .icon-circle {
        width: 62px;
        height: 62px;
        margin-bottom: 13px;
    }
}


/* ---- چیدمان بخش وبلاگ (فقط ساختار) ---- */
.blog-grid {
    align-items: stretch;
}

.blog-grid > [class*="col-"] {
    display: flex;
}

.blog-grid .blog-item-featured {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.blog-grid .blog-item-featured .blog-image-wrapper {
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
}

.blog-grid .blog-item-featured .blog-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ستون‌های کناری : دو کارت که با هم ارتفاع ستون را می‌سازند */
.blog-grid .blog-side-col {
    width: 100%;
}

.blog-grid .blog-side-col .blog-item-small {
    flex: 1 1 0;
}

.blog-grid .blog-item-small .blog-image-wrapper {
    width: 96px;
}

.blog-grid .blog-item-small .blog-img {
    width: 96px;
    height: 96px;
    object-fit: cover;
}

.blog-item-featured.blog-image-wrapper {
    position: relative;
}

.blog-item-featured .blog-image-wrapper:after {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    background: #00000050;
    height: 100%;
    width: 100%;
    z-index: 1;
}

.blog-grid .blog-item-featured .icon-wrapper {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    z-index: 999;
}

.blog-featured-content {
    z-index: 999;
}

@media (max-width: 991.98px) {
    .blog-grid .blog-item-featured .blog-image-wrapper {
        min-height: 200px;
    }
}

span.blog-cat {
    background: #1E88E520;
    font-size: 14px;
    color: var(--secondary);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    background: #D9D9D9;
    border-radius: 50%;
    color: white;
    transition: 0.5s;
}

.social-links a:hover {
    background: var(--primary);
}

footer .curve-shape {
    bottom: unset;
    transform: translateX(-50%) rotate(180deg);
    height: 50px;
}

div#totop {
    display: flex;
    position: absolute;
    width: 40px;
    height: 60px;
    background: var(--secondary);
    border-radius: 100PX;
    font-size: 35px;
    color: white;
    left: 50%;
    z-index: 99;
    top: 0;
    transform: translate(-50%, -40%);
    align-items: center;
    justify-content: center;
}


div#totop i {
    rotate: 90deg;
}
