/* 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;
}

/* Inter (Latin) */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Azonix (برای تیتر/لوگو و ...) */
@font-face {
    font-family: 'Azonix';
    src: url('../fonts/AzonixRegular.woff2') format('woff2');
    font-weight: 400; /* این فونت معمولاً یک وزن دارد */
    font-style: normal;
    font-display: swap;
}


/* پیش‌فرض: لاتین */
html {
    margin: 0 !important;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
}

/* فارسی و عربی */
:lang(fa), :lang(ar) {
    font-family: 'YekanBakh', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

:lang(en) {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* بولد عمومی */
strong, b, .fw-bold {
    font-weight: 700;
}


/*armin root css*/
:root {
    --main: #062B2B;
    --second: #F9B625;
    --bg: #0B4C4C;
    --text: #11162E;
}

* {
    list-style: none;
}

.c-main {
    color: var(--main);
}

.c-second {
    color: var(--second);
}

.c-text {
    color: var(--text);
}

.bg-main {
    background: var(--main);
}

.bg-second {
    background: var(--second);
}

.bg-bg {
    background: var(--bg);

}

body {
    font-family: "HelveticaNeue";
    font-size: 0.8rem;
    color: #11162E;
    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;
}

.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;
}

.azonix {
    font-family: 'Azonix', 'Inter', sans-serif;

}

.text-justify {
    text-align: justify;
}

.second-button {
    line-height: 2;
    display: inline-flex; /* برای کنترل فلش داخل */
    align-items: center;
    gap: 0.5rem; /* فاصله بین متن و فلش */
    padding: 0.5rem 1rem;
    background: var(--second);
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    color: #11162E;
}

.second-button img {
    transition: transform 0.3s ease;
}

.second-button:hover {
    background: #e2a21e; /* یه تُن تیره‌تر هم‌خانواده */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.second-button:hover img {
    transform: translateX(-4px); /* فلش کمی به سمت چپ حرکت کنه */
}

.main-button {
    line-height: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: var(--bg);
    color: #fff;
}

.main-button img {
    transition: transform 0.3s ease;
}

.main-button:hover {
    background: #0e5f5f; /* کمی روشن‌تر و جذاب‌تر */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.main-button:hover img {
    transform: translateX(-4px); /* فلش به سمت راست حرکت کنه */
}


.home header#header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    padding: 1rem 0;
}

#main-menu .menu-item a {
    font-weight: 400 !important;
    font-size: 15px !important;
    color: white !important;
}

.navbar-nav {
    gap: 1rem;
}

#main-menu .menu-item a.active {
    color: var(--second) !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;
    text-align: right;
    padding: 0 !important;
    top: 90%;
    border-radius: 0.25rem;
    background: #f7f7f7;
    border: 1px solid var(--main);
}

ul.depth_1 {
    right: 95%;
    top: 50%;
}


div#wpadminbar {
    display: none;
}

.search-icon-wrapper {


    background: var(--main);
    border-radius: 50%;
    padding: 0.5rem;
    width: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav#main-menu-wrapper {
    background: var(--main);
    padding: 0.5rem 2rem;
    border-radius: 4rem;
}


.swiper.main-slider .swiper-slide:after {
    z-index: 9;
    content: '';
    display: block;
    width: 100%;
    height: 80%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(6, 43, 43, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.swiper.main-slider .swiper-slide .info-box {
    max-width: 50%;
    color: white;
    position: absolute;
    top: 50%;
    right: 10%;
    z-index: 99;
    line-height: 2.5;
}

.main-slider .slide-controller {
    z-index: 99;
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
}

#slide-number {
    font-size: 20px;
    color: var(--second);
    font-family: 'Azonix', 'Inter', sans-serif;
}

button.ms-next-btn, button.ms-perv-btn {
    background: unset;
    border: unset;
}

.brand-slider {
    height: 640px;
    margin: 0;
}

.brand-logo-wrapper {
    border-radius: 24px;
    display: flex;
    width: 200px;
    height: 200px;
    background: #57575633;
    align-items: center;
    justify-content: center;
}

section.customers:before {
    z-index: 9;
    content: '';
    display: block;
    width: 100%;
    height: 30%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(6, 43, 43, 1) 100%);
}

section.customers:after {
    z-index: 9;
    content: '';
    display: block;
    width: 100%;
    height: 30%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(6, 43, 43, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.product-wrapper {
    border-radius: 24px;
    overflow: hidden;
}

img.product-thumb {
    transition: filter .3s ease, transform .3s ease;
    will-change: filter, transform;
}

.product-wrapper:hover img.product-thumb {
    transform: scale(1.3);
}

.product-shape, .product-wrapper h3 {
    position: absolute;
    width: 80%;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
}

.product-wrapper h3 {
    z-index: 99;
    margin: 0;
    text-align: center;
    font-size: .8rem;
    font-weight: bold;

}

img.product-logo {
    position: absolute;
    top: 80%;
    left: 50%;
    z-index: 9;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity .5s ease, top .5s ease;
    will-change: opacity, top;
}

.product-wrapper:hover img.product-logo {
    top: 50%;
    opacity: 1; /* عددی از 0 تا 1 */
}

.slide-next, .slide-perv {
    border-radius: 50%;
    display: flex;
    width: 42px;
    height: 42px;
    border: 1px solid var(--bg);
    justify-content: center;
    align-items: center;
    transition: background-color .5s ease;
    will-change: background-color;
}

.slide-next:hover, .slide-perv:hover {
    background-color: var(--bg);
}

.slide-perv svg path, .slide-next svg path {
    transition: stroke .5s ease;
    will-change: stroke;
}

.slide-perv:hover svg path, .slide-next:hover svg path {
    stroke: white !important;
}

.counter-wrapper.bg-bg {
    padding: 0 1rem 2rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.counter-wrapper .icon-wrapper {
    background: white;
    border-radius: 50%;
    padding: 1rem;
    z-index: 9;
}

.counter-number-wrapper {
    direction: ltr;
}

img.counter-shape {
    position: absolute;
    top: -1%;
    width: 60%;
    z-index: 1;
}

.promotion .item-wrapper {
    border-radius: 12px;
    background: #ffffff12;
    padding: 0.75rem 1rem;
}

span.employer {
    font-size: 16px;
    position: absolute;
    z-index: 99;
    display: block;
    bottom: 0;
    right: 0;
    width: 40%;
    color: var(--second);
    padding: 0.25rem 0.5rem;
}

.project-thumb {
    border-radius: 20px;
}

img.project-shape {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 50%;
    border-bottom-right-radius: 20px;
}


.projects .slide-next, .projects .slide-perv {

    border: 1px solid var(--second);

}

.projects .slide-next:hover, .projects .slide-perv:hover {
    background-color: var(--second);
}

img.about-shape, img.about-logo {
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
}

img.about-logo {
    z-index: 9;
}

.video-close {
    position: absolute;
    left: 1rem;
    top: 1rem;
    z-index: 2;
    background: var(--second);
    color: var(--text);
    border: none;
    border-radius: .5rem;
    padding: .4rem .6rem;
    cursor: pointer;
}

.blog-image-wrapper {
    position: relative;
}

.blog-image-wrapper time {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    line-height: 1;
    color: white;
    background: var(--text);
    padding: 0.75rem;
    border-radius: 0.5rem;
}

img.footer-shape, img.footer-logo {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
}

ul.socials {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5rem;
}

ul.socials li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    transition: all 0.5s ease;

}

ul.socials li:hover {

    background: var(--second);
}

.contact-icon {
    background: #ffffff30;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.footer-menu li {
    margin-bottom: 0.75rem;
    font-size: 14px;
}

.copy-right {
    background: #57575630;
    padding: 0.4rem;
    border-radius: 12px;
}

.copy-right span {
    color: var(--second);
}


.costumer-logo-wrapper {
    width: 150px;
    height: 150px;
    background: #ffffff60;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1.5rem;
    margin: auto;
}

.info-wrapper {
    min-width: 80%;
}

.title-bar {
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid;
    padding: 1rem 0;
}

.project-hero {
    position: relative;
    border-radius: 2rem;
    display: flex;
    align-items: end;
    padding: 1rem;
    min-height: 400px;
    background-size: cover;
    background-position: center center;
    color: white;
}

.project-hero:before {
    content: '';
    background: black;
    opacity: .7;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 2rem;
}

.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;
}

img.employer-avatar.img-fluid {
    border-radius: 50%;
    height: 64px;
    width: 64px;
}

img.comment-icon {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
}


/* پایه‌ی تایپوگرافی و محدودکننده عرض مقاله */
.content-wrapper {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    text-align: justify;
}

/* پاراگراف/هدینگ/لینک/لیست (بولت دیفالت) */
.content-wrapper h1, .content-wrapper h2, .content-wrapper h3,
.content-wrapper h4, .content-wrapper h5, .content-wrapper h6 {
    font-weight: 700;
    color: #222;
    margin: 1.2em 0 .6em;
    line-height: 1.4;
}

.content-wrapper h1 {
    font-size: 26px !important;
}

.content-wrapper h2 {
    font-size: 24px !important;
}

.content-wrapper h3 {
    font-size: 22px !important;
}

.content-wrapper h4 {
    font-size: 20px !important;
}

.content-wrapper h5 {
    font-size: 18px !important;
}

.content-wrapper h6 {
    font-size: 16px !important;
}


.content-wrapper p {
    margin: 0 0 1.2em;
}

.content-wrapper a {
    color: var(--main);
    text-decoration: none;
}

.content-wrapper a:hover {
    text-decoration: underline;
    color: var(--second);
}

.content-wrapper ul, .content-wrapper ol {
    margin: 0 2em 1.2em 2em !important;
    padding: 0;
}

.content-wrapper li {
    margin-bottom: .5em;
    list-style: disc !important;

}

.content-wrapper li::marker {
    color: var(--second);
}

/* نقل‌قول */
.content-wrapper blockquote {
    border-right: 4px solid var(--main);
    background: #f9f9f9;
    padding: .8em 1.2em;
    margin: 1.5em 0;
    color: #555;
    font-style: italic;
}

/* --- تصاویر: حالت‌های چیدمان گوتنبرگ و کلاسیک --- */

/* حالت عمومی تصویر و figure */
.content-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* گوتنبرگ: بلاک تصویر */
.content-wrapper .wp-block-image {
    margin: 1.2em 0;
}

.content-wrapper .wp-block-image img {
    display: block;
}

/* تراز وسط */
.content-wrapper .wp-block-image.aligncenter,
.content-wrapper figure.aligncenter {
    text-align: center;
}

.content-wrapper .wp-block-image.aligncenter img,
.content-wrapper figure.aligncenter img {
    margin: 0 auto;
}

/* تراز چپ/راست با پیچیدن متن اطراف تصویر */
.content-wrapper .wp-block-image.alignleft,
.content-wrapper img.alignleft,
.content-wrapper figure.alignleft {
    float: left;
    margin: .2em 1em 1em 0;
}

.content-wrapper .wp-block-image.alignright,
.content-wrapper img.alignright,
.content-wrapper figure.alignright {
    float: right;
    margin: .2em 0 1em 1em;
}

/* تراز عریض (از ظرف اصلی کمی پهن‌تر ولی نه فول‌ویدث) */
.content-wrapper .wp-block-image.alignwide,
.content-wrapper .alignwide {
    width: min(1100px, 90vw);
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    display: block;
}

/* فول‌ویدث: شکستن از ظرف و رسیدن به لبه‌های ویوپورت */
.content-wrapper .wp-block-image.alignfull,
.content-wrapper .alignfull {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    max-width: none;
    margin-right: -50vw; /* در RTL: لبه راست را تا لبه ویوپورت بکش */
    margin-left: -50vw; /* تعادل برای مرکز */
    transform: translateX(-50%);
}


/* کپشن‌ها (گوتنبرگ) */
.content-wrapper .wp-block-image figcaption {
    text-align: center;
    color: #666;
    font-size: .9em;
    margin-top: .5em;
}

/* کلاسیک: wp-caption */
.content-wrapper .wp-caption {
    max-width: 100%;
    margin: 1.2em 0;
}

.content-wrapper .wp-caption img {
    display: block;
    margin: 0;
}

.content-wrapper .wp-caption .wp-caption-text {
    text-align: center;
    color: #666;
    font-size: .9em;
    margin-top: .5em;
}

/* گالری‌های گوتنبرگ: فقط فاصله‌ها و کپشن */
.content-wrapper .wp-block-gallery {
    margin: 1.5em 0;
}

.content-wrapper .wp-block-gallery figcaption {
    text-align: center;
    color: #666;
    font-size: .9em;
    margin-top: .4em;
}

/* پاک‌سازی شناورها داخل مقالات */
.content-wrapper::after {
    content: "";
    display: block;
    clear: both;
}

.content-wrapper {
    border: 1px solid #19328226;
    padding: 1rem;
    border-radius: 1rem;
}


.gallery-grid a {
    display: block;
    overflow: hidden;
    border-radius: 16px
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s
}

.gallery-grid a:hover img {
    transform: scale(1.05)
}

#lightbox .lb-nav a.lb-prev,
#lightbox .lb-nav a.lb-next {
    opacity: 1 !important;
    width: 24% !important; /* ناحیه لمس بزرگ‌تر */
}

#lightbox .lb-prev:before,
#lightbox .lb-next:before {
    content: ''; /* فقط برای افزایش هیت‌زون */
}


/* ===============================
   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;
    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 {
    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;
}


/* ===============================
   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);
}


.post-type-archive-project .project-wrapper {
    background: var(--main);
    padding: 1rem;
    border-radius: 2rem;
}

img.single-product-gallery {
    border-radius: 30px;
}

.product-hero .slide-next, .product-hero .slide-perv {


    background: var(--main);
    width: 32px;
    height: 32px;
    border: unset;

}

.single-product-thumbs .swiper-wrapper .swiper-slide img {
    border-radius: 10px;
}

.single-product-thumbs .swiper-wrapper .swiper-slide-thumb-active img {
    border: 2px solid var(--second);
}

.single-product-thumbs .swiper-wrapper .thumb-wrapper {
    border-radius: 14px;
    padding: .35rem;
    background: rgba(0, 0, 0, 10);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(4, 4, 4, 0.5) 100%);
}

.product-hero .navigation {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 999999;
}


/* share Short Code */

.aryabyte-share-btn {
    background: #B4BEC9;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s ease-in;
    border: unset;
}

.aryabyte-share-btn:hover {
    background: var(--second);
}

.aryabyte-share .share-icon {
    height: 45px;
    width: 45px;
    background: var(--main);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.share-bar {
    padding: .75rem 0;
    border-bottom: 2px solid #19328215;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.aryabyte-share {
    padding: .5rem 2rem .5rem .5rem;
    border-radius: 110px;
}

.nav-item-wrapper {
    background: var(--main);
    color: white;
    font-size: 16px;
    text-align: center;
    border-radius: .7rem;
    padding: .25rem 1rem;
    transition: .5s ease-in;

}

.nav-item-wrapper:hover {
    background: var(--second);

}

.product-nav-wrapper {
    margin-top: 5rem;
    border: 1px solid #19328215;
    border-radius: 1rem;
    padding: 1rem;
}

/* اسکرول نرم */
html {
    scroll-behavior: smooth;
}

/* اگر هدر چسبان داری، مقدار رو برابر ارتفاع هدرت بذار */
.product-section {
    scroll-margin-top: 80px;
}

/* کمی استایل برای آیتم‌ها (اختیاری) */
.nav-item-wrapper {
    cursor: pointer;
    text-decoration: none;
}

.nav-item-wrapper:hover {
    text-decoration: underline;
}

/* اندازهٔ مربع قابل تنظیم */
.approvals #approvalsCardsSwiper {
    --size: 260px; /* هرچی خواستی */
    width: var(--size) !important; /* w-50 را خنثی می‌کند */
    height: var(--size) !important; /* مربع */
    overflow: visible;
    touch-action: pan-y;
}


.approvals .swiper-wrapper { /* اختیاری: جلوگیری از اسکرول افقی */
    overflow: visible;
}

.approvals .swiper-slide {
    border-radius: 1rem;
    display: grid;
    place-items: center;
    padding: 0.75rem;
    /* چون .card-slide روی خودِ اسلاید است، پس پس‌زمینه را همین‌جا بده */
    background: linear-gradient(135deg, var(--main), var(--bg));
    color: #fff;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .06);
    transition: transform .28s ease, opacity .28s ease, filter .28s ease, box-shadow .28s ease, background-color .28s ease;
}

/* تصویر داخل اسلاید: درون مربع جا بگیرد */
.approvals .swiper-slide img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* فعال */
.approvals .swiper-slide.swiper-slide-active {
    transform: scale(1);
    filter: none;
    opacity: 1;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .08);
}

/* همسایه‌های بلافصل */
.approvals .swiper-slide.swiper-slide-prev,
.approvals .swiper-slide.swiper-slide-next {
    transform: scale(0.992);
    filter: blur(.7px) brightness(.97);
    opacity: .96;
    background: #D8DBE5 !important;

}

/* همسایه‌های دوم (با JS علامت‌گذاری می‌کنیم) */
.approvals .swiper-slide.two-prev,
.approvals .swiper-slide.two-next {
    transform: scale(0.984);
    filter: blur(1.1px) brightness(.92);
    opacity: .9;
    background: #0B4C4C70 !important;
}

/* بقیهٔ اسلایدها کاملاً مخفی — دقت کن این‌بار روی خودِ اسلاید است، نه فرزندش */
.approvals .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-prev):not(.swiper-slide-next):not(.two-prev):not(.two-next) {
    opacity: 0;
    filter: none;
    transform: scale(0.9);
    pointer-events: none;

}


.my-accordion {
    background-color: #fff;
    border: #19328215 1px solid;
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.my-accordion-header {
    padding: 1rem;
    font-size: 1rem;
    cursor: pointer;
}


.my-accordion-content {
    display: none;
    font-size: 14px;
    padding: 1rem;
}

.my-accordion.open .my-accordion-content {
    display: block;
}


.my-accordion .icon-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.my-accordion .minus {
    display: none;
}

.my-accordion.open .minus {
    display: flex;
}

.my-accordion.open .plus {
    display: none;
}


span.accordion-number {
    width: 48px;
    height: 48px;
    background: var(--main);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Azonix';
    color: white;
    border-radius: 1rem;
    font-size: 18px;
}

.my-accordion.open span.accordion-number {
    background-color: var(--second);
}

.my-accordion.open h4 {
    color: var(--second);
}

.value-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: #19328215 1px solid;
    padding: 1rem 0;
}

.value-item:last-of-type {
    border-bottom: unset;

}


/* Timeline bar */
section.timeline .timeline-container {
    position: relative;
    width: 100%
}

section.timeline .timeline-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 24px 0 24px;
    gap: 8px
}

section.timeline .line {
    position: absolute;
    top: 50%;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--second);
    z-index: 99;
    transform: translateY(-50%);
    transition: width .3s ease;
    border-radius: 999px
}

section.timeline .line-bs {
    position: absolute;
    top: 50%;
    right: 0;
    width: 100%;
    height: 1px;
    background: white;
    z-index: 1;
    transform: translateY(-50%);
    border-radius: 999px
}

section.timeline .data-group {
    position: relative;
    text-align: center;
    user-select: none
}

section.timeline .data-group span {
    font-family: 'Azonix';
    left: 50%;
    font-size: .8rem;
    position: absolute;
    bottom: 100%;
    transform: translateX(-50%);
}

section.timeline .data-group:nth-of-type(odd) span {
    bottom: unset;
    top: 100%;
}

section.timeline .circle {
    position: relative;
    z-index: 1;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color .7s ease, border-color .3s ease, transform .12s ease
}

section.timeline .circle:hover {
    background: var(--second);
    transform: scale(1.03)
}

section.timeline .circle.first {
    background: var(--second)
}

section.timeline .circle.active {
    background: var(--second);
}


section.timeline .fade {
    opacity: 0;
    transform: translateY(6px);
    transition: .25s ease
}

section.timeline .fade.show {
    opacity: 1;
    transform: translateY(0)
}

/* Gallery 3-6-3 شبیه col-md-3/6/3 */
section.timeline .gallery {
    display: grid;
    grid-template-columns:1fr 2fr 1fr;
    gap: 12px;
    margin-top: 20px
}


section.timeline .thumb-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #fafafa
}

section.timeline .thumb-btn {
    all: unset;
    cursor: pointer;
    display: block;
    width: 100%;
    height: 100%
}

section.timeline .thumb {
    height: 100%;
    width: 100%;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat
}


section.timeline .label {
    line-height: 1;
    transform: translateX(-50%);
    z-index: 99;
    left: 50%;
    bottom: .5rem;
    position: absolute;
    color: #fff;
    font-family: 'Azonix';
    font-size: 20px;
}

section.timeline h3#tl-title {
    margin-top: 2rem;
    font-size: 22px;
    font-weight: bold;
}

section.timeline #tl-content {
    max-width: 50%;
    margin: auto;
    font-size: 1rem;
}

section.timeline #main-wrap .label {
    font-size: 24px;
    color: var(--second);
}

section.timeline .hidden {
    display: none !important
}

section.timeline .disabled {
    opacity: .45;
    pointer-events: none
}


section.timeline .thumb-wrap:not(#main-wrap) .thumb {
    filter: blur(5px);
}

section.timeline img.timeline-shape {
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}


:root {
    --radius: 16px;
}

/* ارتفاع ثابت */
section.comment .swiper {
    height: 300px;
    overflow: visible; /* لازم برای دیده‌شدن کارت‌های پشت */
    touch-action: pan-y;
}

section.comment .swiper-slide {
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    padding: 0.75rem;
    background: transparent;
}

section.comment .card-slide {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: white;
    transition: transform .28s ease, filter .28s ease, opacity .28s ease, box-shadow .28s ease;
}

/* کارت فعال (وسط) */
section.comment .swiper-slide.swiper-slide-active .card-slide {
    transform: scale(1);
    filter: none;
    opacity: 1;
}

/* فقط یک کارت بالا و یک کارت پایین: prev/next بزرگ‌تر و کمی واضح‌تر */
section.comment .swiper-slide.swiper-slide-prev .card-slide,
section.comment .swiper-slide.swiper-slide-next .card-slide {
    transform: scale(0.992); /* کمی بزرگ‌تر شد */
    filter: blur(.7px) brightness(.97); /* تار کمتر تا واضح‌تر باشه */
    opacity: .96;
}

/* هر اسلایدی که نه فعال است و نه prev/next → کاملاً مخفی شود */
section.comment .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-prev):not(.swiper-slide-next) .card-slide {
    opacity: 0;
    filter: none;
    transform: scale(0.9);
    pointer-events: none; /* احتیاطی */
}


.comment-date {
    color: var(--main);
    border-radius: 32px;
    font-size: 12px;
    padding: .35rem 1rem;
    border: 1px solid var(--main);
}

p.comment-sub-text span {
    color: var(--second);
}

.team-figure span {
    font-size: 15px;
    color: #A6A6A6;
    line-height: 1;
}

.team-footer.p-3 {
    border-top: 1px solid #19328230;
}


.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 {
    background: #fafafa;
    border: 1px solid #eee;
    margin-top: 12px;
    font-size: 15.5px;
    line-height: 1.9;
    color: var(--text);
    border-radius: 14px;
    padding: 14px 16px;
}


/* ===============================
   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;
}

aside.col-md-3 {
    margin: 24px 0;
}


/* ظرف فرم دیدگاه */
.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);
}


#map {
    height: 500px;
}

.leaflet-pane.leaflet-shadow-pane {
    display: none;
}

.leaflet-pane.leaflet-tile-pane {
    filter: grayscale(1);
}


.contact-wrapper {
    text-align: center;
    height: max-content;
    z-index: 999;
    background-image: url(../img/cbg.svg);
    background-position: center top;
    background-repeat: no-repeat;
    border-radius: 1rem;
    padding: 3rem 1.5rem 1.5rem 1.5rem;
    background-size: 100% auto;
    width: 25%;
    background-color: white;
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
}

.contact-wrapper p {
    color: var(--text);
    font-weight: 200;
}


.contact-wrapper h6 {
    font-size: 1.2rem;
}


/* ----- 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);
}

/* ----- 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;
}

body .gform_wrapper {
    margin: 0 !important;
}

body .gform_button.button {
    border-radius: 0.5rem !important;
    background: var(--second) !important;
    margin: auto !important;
    font-weight: bold;
!important;
}


@media (min-width: 801px) {
    /* اگر .content-wrapper محدودکننده است، مطمئن شو alignfull واقعاً فول‌ویدث شود */
    .content-wrapper .wp-block-image.alignfull img,
    .content-wrapper .alignfull img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 640px) {
    section.timeline .data-group span {
        font-size: .7rem;
        font-weight: normal !important;
    }

    section.timeline .circle {
        width: 24px;
        height: 24px;
        border-width: 3px
    }
}

@media (max-width: 992px) {
    .navbar .dropdown-menu.show {
        display: block; /* تضمین نمایش وقتی JS کلاس show می‌ذاره */
    }

    .single-blog .info {
        font-size: 13px;
    }

    .post-content {
        font-size: 15.5px;
    }

    .side-section {
        padding: 14px;
        border-radius: 14px;
    }

    .side-section .items img {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }
}

/* برای ریسپانسیو می‌تونی کوچیک‌ترش کنی */
@media (max-width: 576px) {
    .content-wrapper .alignleft,
    .content-wrapper .alignright,
    .content-wrapper img.alignleft,
    .content-wrapper img.alignright,
    .content-wrapper figure.alignleft,
    .content-wrapper figure.alignright {
        float: none !important;
        display: block;
        margin: 1em auto !important;
    }

    /* فول‌ویدث روی موبایل همچنان لبه‌به‌لبه باشد */
    .content-wrapper .wp-block-image.alignfull,
    .content-wrapper .alignfull {
        left: 50%;
        width: 100vw;
        margin-right: -50vw;
        margin-left: -50vw;
        transform: translateX(-50%);
    }

    #searchform {
        gap: 8px;
    }

    #searchform #gsearch {
        height: 42px;
    }

    .side-section .items {
        padding: 8px;
        gap: 10px;
    }

    .side-section .items h6 {
        font-size: 13.5px;
    }

    .approvals #approvalsCardsSwiper {
        --size: 260px;
    }
}

@media only screen and (max-width: 768px) {
    section.timeline .gallery {
        grid-template-columns:1fr;
    }

    section.timeline #tl-content {
        max-width: 90%;
        font-size: 14px;
    }

    #lightbox .lb-nav a.lb-prev,
    #lightbox .lb-nav a.lb-next {
        width: 35% !important; /* ناحیه لمس حتی بزرگ‌تر در موبایل */
    }

    .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;
    }

    .contact-wrapper.shadow-sm {
        width: 100%;
        position: relative;
        top: unset;
        transform: unset;
        right: unset;
        margin-bottom: 2rem;
    }

    .mobile-menu-wrapper {
        background: var(--main);
        border-radius: 110px;
        position: relative;
        margin-top: 2rem;
        padding: 0.75rem;
    }

    .mobile-header-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    div#MobileMenuConvas .offcanvas-header .btn-close {
        filter: invert(84%) sepia(13%) saturate(469%) hue-rotate(28deg) brightness(87%) contrast(85%);
    }

    ul#menus-tab {
        border-bottom: 1px solid rgba(0, 0, 0, 0.105);
        margin: 0 !important;
    }

    ul#menus-tab > .nav-item > .nav-link {
        background: #efecec !important;
        border-radius: unset;
        margin: 0 !important;
        color: #909090;
        transition: .5s linear;

    }

    ul#menus-tab .nav-link.active {
        background: #cdcccc !important;
        color: #333 !important;
        font-weight: bold;
        font-size: 14px;
        position: relative;
        transition: .5s linear;
    }

    ul#menus-tab .nav-link.active:after {
        transform: translateY(-100%);
        display: block;
        content: '';
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        height: 2px;
        background-color: #333;
        transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    }

    .mobile-menu a.nav-link {
        flex: 1 1 0%;
        padding: 5px 20px;
        min-height: 50px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.105);
    }

    .mobile-menu a.nav-link.dropdown-toggle.show {
        border: unset;
    }

    .mobile-menu ul.py-3.dropdown-menu.depth_0.show {
        background: #efecec !important;
        border-radius: unset !important;
        padding: 0 !important;
    }

    .mobile-menu ul.py-3.dropdown-menu.depth_0.show a.dropdown-item {
        flex: 1 1 0%;
        padding: 5px 20px;
        min-height: 50px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.105);
    }

    .mobile-menu {
        width: 100%;
    }

    footer .my-accordion-content {
        padding: 0.5rem;
    }

    footer .my-accordion {
        background: #57575624;
    }

    footer h5 {
        display: none;
    }

    footer .my-accordion h4 {
        font-size: 18px;
    }

    .footer-menu li {
        font-size: 14px;
        list-style: disc;
        margin-right: 2rem;
    }

    .product-shape {
        transform: translateX(-50%) scaleY(1.5);
        width: 100%;
    }

    .product-wrapper h3 {

        font-size: 0.7rem;
        font-weight: normal;
    }

    /* 1) اندازهٔ واکنش‌گرا؛ در دسکتاپ همان 260px، در موبایل حداکثر 88vw */
    .approvals #approvalsCardsSwiper {
        --size: clamp(180px, 88vw, 260px);
        width: var(--size) !important;
        height: var(--size) !important;
        overflow: visible; /* دسکتاپ: اجازهٔ افکت */
        touch-action: pan-y;
        max-width: 100%; /* هرگز از عرض کانتینر بیشتر نشود */
        margin-inline: auto; /* مرکز */
    }

    /* 2) پیشگیری کلی از اسکرول افقی در این سکشن */
    .approvals {
        overflow-x: clip; /* مدرن‌تر از hidden؛ اگر سازگاری می‌خواهید، hidden هم خوب است */
    }

    span.accordion-number {
        display: none;
    }

    span.employer {
        font-size: 13px;
    }

    img.comment-icon {
        right: 50%;
    }

    img.footer-logo {
        transform: translate(-50%, -35%);
    }

    .timeline #next-wrap, .timeline #prev-wrap {
        display: none;
    }

    h2#section-heading-comment, .comment .subtitle {
        text-align: center;
    }

    .comment-date {
        display: none;
    }

    section.comment .swiper {
        height: 350px;
    }

    .swiper.main-slider .swiper-slide .info-box {
        width: 90%;
        max-width: 90%;
        top: 50%;
        right: 50%;
        transform: translate(50%, -50%);
    }

    .links {
        display: flex;
        justify-content: center;
    }

    img.about-logo {
        width: 20%;
    }

    img.about-shape {
        width: 40%;
    }

    section.customers:after, section.customers:before {
        display: none;
    }

    .brand-slider {
        height: unset;
    }

    .brand-logo-wrapper {
        width: unset;
        height: unset;
        border-radius: .5rem;
        padding: 1rem;
    }


}

/* 3) در موبایل، بیرون‌زدگی را قطع کن */
@media (max-width: 576px) {
    .approvals #approvalsCardsSwiper,
    .approvals .swiper,
    .approvals .swiper-wrapper {
        overflow: hidden; /* فقط موبایل: جلوی اسکرول افقی را می‌گیرد */
    }
}

button.btn-close {
    margin-left: unset !important;
    margin-right: auto !important;
}

.consultant-wrapper {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}
.consultant-wrapper a {
    display: inline-block;
    border: unset;
    margin-right: .25rem;
    padding: .5rem 1rem;
    border-radius: 100px;
}
.consultantImg{
animation: pulseAnim 1s ease-in-out infinite;
/* 2s = مدت یک سیکل، ease-in-out = نرم‌تر شدن شروع و پایان */
}

@keyframes pulseAnim {
    0%   { transform: scale(1);   } /* اندازه اصلی */
    50%  { transform: scale(.9); } /* بزرگ‌تر شدن */
    100% { transform: scale(1);   } /* برگشت به حالت اولیه */
}


