@font-face {
    font-family: "HelveticaNeue";
    font-style: normal;
    font-display: swap;
    src: url("../fonts/HelveticaNeue-Roman.woff2") format("woff2");
}

/* Yekan Bakh */
@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/YekanBakh-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/YekanBakh-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html {
    margin: 0 !Important;
}

/*armin root css*/
:root {
    --main: #000000;
    --second: #D8BD65;
    --bg: #BF8D50;
}

* {
    list-style: none;
}

.c-main {
    color: var(--main);
}

.c-second {
    color: var(--second);
}

.bg-main {
    background: var(--main);
}

.bg-second {
    background: var(--second);
}

.bg-bg {
    background: var(--bg);

}

body {
    font-family: 'HelveticaNeue', 'YekanBakh', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    font-size: 0.8rem;
    color: black;
    line-height: 2;

}

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;
}

.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-29 {
    font-size: 1.8125rem;
}

.fs-30 {
    font-size: 1.875rem;
}

.fs-31 {
    font-size: 1.9375rem;
}

.fs-32 {
    font-size: 2rem;
}

.fs-40 {
    font-size: 40px;
}

.fs-50 {
    font-size: 50px;
}

.text-justify {
    text-align: justify;
}


#main-menu .menu-item a {
    font-weight: 200 !important;
    font-size: 16px !important;
    color: var(--main) !important;
}

#main-menu .menu-item a.active {
    font-weight: bold !important;
}


.dropdown-toggle::after {
    display: block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "\002B";
    border-top: unset !important;
    border-right: unset !important;
    border-bottom: 0;
    border-left: unset !important;
    float: right;
    margin-right: 0.5rem;
}

#main-menu li.dropdown:hover ul > .dropdown.nav-item {
    display: block;
}

#main-menu li.dropdown:hover > ul {
    display: block;
    position: absolute;
    text-align: right;
}

a.nav-link.dropdown-toggle.show::after {
    content: "\002D";
}

#main-menu li.dropdown:hover ul.depth_0 {
    display: block;
    position: absolute;
    padding: 0 !important;
    top: 90%;
    border-radius: 0.25rem;
    background: white !important;
    border: unset;
    text-align: unset;
}

#main-menu li.dropdown:hover ul > .dropdown.nav-item {
    border: unset;
    padding: unset;
    position: relative;
}

ul.depth_1 {
    right: 95%;
    top: 50%;
}

#main-menu li {
    background: unset !important;
}


.header-info {
    border-color: var(--second) !important;
    border-left: 1px solid;
}


/* بهبود تجربه هاور در دسکتاپ */
@media (min-width: 992px) {
    .navbar .dropdown-menu.show {
        display: block; /* تضمین نمایش وقتی JS کلاس show می‌ذاره */
    }
}

/*div#wpadminbar {*/
/*    display: none;*/
/*}*/

.wrapper.px-3.py-5.bordered-wrapper {
    border-right: 1px solid;
    border-left: 1px solid;
}

.main-slider .info-box {
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.shine-button {
    font-size: 20px;
    border: 1px solid var(--second);
    display: inline-block;
    border-radius: 0.5rem;
    padding: 0.25rem 1rem;
}

section.about .img-wrapper {
    background: center center;
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
}

section.percent .img-wrapper {
    background: center center;
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
}

span.percent-label {
    position: absolute;
    top: 50%;
    left: 0.5rem;
    color: white;
    transform: translateY(-50%);
}

.progress-bar {
    background: var(--main);
    border-radius: 0 0.5rem 0.5rem 0;
}

.progress, .progress-stacked {
    --bs-progress-height: 2rem;
}

span.count-number {
    background: var(--second);
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
}

section.testimonial img {
    border-radius: 2rem 0 0 2rem;
}

.swiper-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: unset;
    position: relative;
}

span.swiper-pagination-bullet {
    background: var(--second);
}

.blog-item:nth-of-type(odd) .blog-img {
    border-radius: 0 1rem 1rem 0;
}

.blog-item:nth-of-type(even) .blog-img {
    border-radius: 1rem 0 0 1rem;
}


@media only screen and (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-29 {
        font-size: 1.8125rem;
    }

    .fsm-30 {
        font-size: 1.875rem;
    }

    .fsm-31 {
        font-size: 1.9375rem;
    }

    .fsm-32 {
        font-size: 2rem;
    }

    section.about .img-wrapper, section.percent .img-wrapper {
        background: center center;
        position: relative;
        width: 100%;
        height: 50vh;
        margin-bottom: 1rem;
    }

    .progress, .progress-stacked {
        --bs-progress-height: 1.5rem;
    }

    img.blog-img {
        border-radius: 1rem 1rem 0 0;
    }

    img.w-100.img-fluid.blog-img {
        border-radius: 1rem 1rem 0 0;
    }

    .wrapper.bordered-wrapper {
        border-right: none !important;
        border-left: none !important;
        border-top: 1px solid;
        border-bottom: 1px solid;
    }
}


/* ===============================
   1) هدر مقاله (Hero) — بخش بالای صفحه
   =============================== */
.single-blog .row.align-items-center {
    row-gap: 24px;
}

.single-blog .single-thumb {
    display: block;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .10);
    overflow: hidden;
}

.single-blog .single-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.single-blog .cats {
    display: inline-block;
    font-size: 13px;
    color: #6b7280;
}

.single-blog .cats a {
    color: inherit;
    text-decoration: none;
}

.single-blog .cats a:hover {
    text-decoration: underline;
}

.single-blog h1 {
    font-weight: 800;
    font-size: clamp(22px, 2.6vw, 34px);
    line-height: 1.25;
    margin: 12px 0 8px 0;
}

.single-blog .info {
    color: #6b7280;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.single-blog .single-excerpt {
    margin-top: 12px;
    font-size: 15.5px;
    line-height: 1.9;
    color: #374151;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 14px 16px;
}

/* روی موبایل اول عکس بیاد و متن روی کارت روشن بیاد خواناتر بشه */
@media (max-width: 767.98px) {
    .single-blog .single-thumb {
        border-radius: 16px;
    }

    .single-blog .single-excerpt {
        background: #fff;
    }
}

/* ===============================
   2) TOC (همون #post-toc داخل .toc-wrap)
   =============================== */
.toc-wrap {
    border: 1px solid rgba(0, 0, 0, .08);
    background: #fff;
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
    margin: 24px 0;
}

.toc-wrap .toc-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
    margin: 0 0 8px 0;
}

#post-toc {
    max-height: 420px;
    overflow: auto;
    padding: 8px 4px;
    scrollbar-width: thin;
}

#post-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#post-toc li {
    margin: .25rem 0;
}

#post-toc a {
    text-decoration: none;
    display: inline-block;
    padding: 2px 0;
    border-bottom: 1px dashed transparent;
}

#post-toc a:hover {
    border-bottom-color: currentColor;
}

#post-toc ul ul {
    padding-inline-start: 14px;
    opacity: .95;
}

/* ===============================
   3) محتوای مقاله (.post-content)
   =============================== */
.post-content {
    font-size: 16px;
    line-height: 1.9;
    color: #18181b;
}

.post-content p {
    margin: 0 0 1rem 0;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    font-weight: 800;
    line-height: 1.35;
    margin: 2rem 0 .75rem 0;
}

.post-content h2 {
    font-size: clamp(20px, 2.2vw, 28px);
}

.post-content h3 {
    font-size: clamp(18px, 1.9vw, 24px);
}

.post-content h4 {
    font-size: clamp(16px, 1.6vw, 20px);
}

.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;
    border-bottom: 1px dotted currentColor;
}

.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;
}

/* ===============================
   5) ریزبهینه‌سازی‌های ریسپانسیو
   =============================== */
@media (max-width: 991.98px) {
    .single-blog .info {
        font-size: 13px;
    }

    .post-content {
        font-size: 15.5px;
    }
}

@media (max-width: 575.98px) {
    .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;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .04);
}

/* عنوان فرم */
.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: 13px;
    color: #6b7280;
    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);
}

span.cats a {
    background: var(--second);
    display: inline-block;
    padding: 0.1rem 0.5rem;
    border-radius: 0.5rem;
}

/* ===============================
   Sidebar – Base
   =============================== */
.side-section {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
}

.side-section + .side-section {
    margin-top: 20px;
}

.side-section > h3 {
    color: black;
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===============================
   Search Box
   =============================== */
#searchform {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

#searchform .searchButtonBlog {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: box-shadow .2s ease, transform .06s ease, border-color .2s ease;
}

#searchform .searchButtonBlog:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, .10);
    border-color: rgba(0, 0, 0, .12);
}

#searchform .searchButtonBlog:active {
    transform: translateY(1px);
}

#searchform .searchButtonBlog svg path {
    fill: var(--second, #0ea5e9);
}

#searchform #gsearch {
    flex: 1 1 auto;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    height: 44px;
    padding-inline: 14px;
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

#searchform #gsearch::placeholder {
    color: #9ca3af;
}

#searchform #gsearch:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(147, 197, 253, .25);
    outline: none;
}

/* ===============================
   Last Posts
   =============================== */
.side-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.side-section .items {
    gap: 12px;
    text-decoration: none;
    padding: 10px;
    border-radius: 12px;
    transition: background .2s ease, box-shadow .2s ease, transform .06s ease;
}

.side-section .items:hover {
    background: #fafafa;
    box-shadow: inset 0 0 0 1px #eee;
}

.side-section .items:active {
    transform: translateY(1px);
}

.side-section .items img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .10);
    flex: 0 0 72px;
}

.side-section .items .content {
    min-width: 0; /* برای truncate کار کند */
    padding-inline: 8px !important; /* حفظ فاصله بدون وابستگی به style inline */
}

.side-section .items h6 {
    margin: 0 0 6px 0;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
    color: #111827;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* دو خطه */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.side-section .items svg {
    float: right;
    transform: rotate(180deg);
    opacity: .7;
    transition: transform .2s ease, opacity .2s ease;
}

.side-section .items:hover svg {
    transform: translateX(var(--slide, -2px));
    opacity: 1;
}

/* RTL/LTR: جهت فلش */
html[dir='rtl'] .side-section .items {
    --slide: 2px;
}

/* فاصله‌ی بین آیتم‌ها */
.side-section li + li {
    margin-top: 8px;
}

/* ===============================
   Categories
   =============================== */
.list-cat li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 6px;
    border-radius: 10px;
    transition: background .2s ease;
    margin: 0;
}

.list-cat li:hover {
    background: #fafafa;
}

.list-cat li svg {
    transform: rotate(180deg);
    flex: 0 0 auto;
    opacity: .7;
    margin: 0.5rem;
}

.list-cat a {
    text-decoration: none;
    color: black !important;
    font-size: 13px;
    line-height: 1.5;
    display: inline-block;
    border-bottom: 1px dashed transparent;
}

.list-cat a:hover {
    border-bottom-color: currentColor;
}

/* Active Category */
.list-cat a.active {
    color: var(--second, #0ea5e9);
    font-weight: 800;
    background: rgba(14, 165, 233, .06);
    padding: 4px 8px;
    border-radius: 999px;
    border-bottom-color: transparent;
}

/* ===============================
   Banner under sidebar (ACF)
   =============================== */
.sidebar .wp-post-image,
.side-section + img,
img.mt-5.w-100.img-fluid.rounded-4 {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

/* ===============================
   Responsive
   =============================== */
@media (max-width: 991.98px) {
    .side-section {
        padding: 14px;
        border-radius: 14px;
    }

    .side-section .items img {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }
}

@media (max-width: 575.98px) {
    #searchform {
        gap: 8px;
    }

    #searchform #gsearch {
        height: 42px;
    }

    .side-section .items {
        padding: 8px;
        gap: 10px;
    }

    .side-section .items h6 {
        font-size: 13.5px;
    }
}

/* ===============================
   Focus Visible (Accessibility)
   =============================== */
.side-section a:focus-visible,
#searchform .searchButtonBlog:focus-visible,
#searchform #gsearch:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, .25);
    border-color: var(--second, #0ea5e9);
}

/* ===============================
   Optional Dark Mode
   =============================== */
@media (prefers-color-scheme: dark) {
    .side-section {
        background: #0b1220;
        border-color: rgba(255, 255, 255, .06);
        box-shadow: none;
    }

    .side-section > h4,
    .side-section .items h6,
    .list-cat a {
        color: #e5e7eb;
    }

    #searchform #gsearch {
        background: #0f1626;
        color: #e5e7eb;
        border-color: rgba(255, 255, 255, .12);
    }

    #searchform .searchButtonBlog {
        background: #0f1626;
        border-color: rgba(255, 255, 255, .1);
    }

    .side-section .items:hover {
        background: #0f1626;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
    }

    .list-cat li:hover {
        background: #0f1626;
    }

    .page-links {
        background: #0f1626;
        border-color: rgba(255, 255, 255, .1);
    }
}


.contact-image-wrapper {
    height: 100%;
    width: 100%;
    /* background: red; */
    background-image: url(/wp-content/uploads/2025/08/middle-aged-businessman-looking-camera-600nw-2454682683.webp);
    background-position: center center;
    background-size: cover;
    border-radius: 1rem;
}


/* ----- Wrapper ----- */
body .gform_wrapper {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: "Segoe UI", Roboto, sans-serif;
}

/* ----- 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;
}

#wpadminbar {
    position: relative;
}

.mobile-menu ul.dropdown-menu.depth_0.show {
    display: block;
    position: relative !important;
    background: unset;
    border: unset !important;
    transform: unset !important;
    margin: 0 !important;
}

.mobile-menu a.dropdown-item {
    font-size: 12px;
    background: lightgray;
}


.services .wrapper {
    transition: all .5s ease;
    border-radius: 1rem;

}

/* حالت هاور: شناوری و سایه بیشتر */
.services .wrapper:hover {
    transform: translateY(-6px);
    border: solid 1px #fff;
}


:lang(ar) .header-info {
    border-right: 1px solid;
    border-left: unset;
}

:lang(ar) .services .wrapper .excerpt {
    text-align: right !important;
}

:lang(ar) section.about .img-wrapper {
    right: unset;
    left: 0;
}
:lang(ar) section.percent .img-wrapper {
    right: 0;
    left: unset;
}
:lang(ar)  .arrow-ar {
    transform:unset!important;
}

.wpml-ls-legacy-list-horizontal {
    padding: 0!important;
}
.wpml-ls-legacy-list-horizontal a{
    padding: 0!important;
}