/*
Theme Name: RuzSun
Theme URI: https://kicode.ir/ruzsun
Author: Kianoosh Sharifimehr
Author URI: https://kicode.ir
Description: RuzSun is a high-performance corporate WordPress theme meticulously crafted for speed and search engine optimization. Built with a modular architecture that conditionally loads styles and scripts, it ensures lightning-fast load times and an exceptional user experience. Fully responsive and deeply SEO-friendly, RuzSun provides a robust, clean, and flexible foundation for modern businesses, professional agencies, and corporate platforms to thrive online.
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ruzsun
Tags: corporate, responsive-layout, seo-friendly, fast-loading, modular-assets, custom-menu, custom-logo, translation-ready
*/
/* Modern CSS Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

body {
    font-family: "YekanBakh", Tahoma, Arial, sans-serif;
    direction: rtl;
    text-align: right;
    line-height: 1.6;
    color: #242424;
    overflow-x: hidden;
}

/*.container {*/
/*    width: 1280px;*/
/*    margin: auto;*/
/*    max-width: 92% !important;*/
/*}*/



/* ==========================================
   Container - Mobile First
   ========================================== */

.container {
    width: 100%;
    max-width: 92% !important;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}


/* ==========================================
   Tablet
   ========================================== */

@media (min-width: 768px) {

    .container {
        width: 100%;
        max-width: 92% !important;
    }

}


/* ==========================================
   Desktop
   ========================================== */

@media (min-width: 1200px) {

    .container {
        width: 1280px;
        max-width: 1280px !important;
        margin-left: auto;
        margin-right: auto;
    }

}



a {
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

@font-face {
    font-family: "YekanBakh";
    src: url("assets/fonts/YekanBakhFaNum-VF.woff2") format("woff2"),
        url("assets/fonts/YekanBakhFaNum-VF.woff") format("woff");
    font-display: swap;
}

:root {
    --accent-green: #249360;
    --accent-gold: #F4B200;
    --text-white: #ffffff;
    --transition: all 0.3s ease;
}

.icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   Main Header (Global & Desktop)
   ========================================= */
:root {
    /* محاسبه دقیق فضای خالی بیرون کانتینر برای تراز کردن محتوا */
    --container-width: min(1280px, 92%);
    --edge-gap: calc((100% - var(--container-width)) / 2);
}

.main-header {
    font-family: 'YekanBakh', Tahoma, sans-serif;
    position: relative;
    z-index: 100;
    width: 100%;
    background-color: transparent;
}

.header__wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 91px;
}

/* استایل پایه بلوک‌ها و برش ۲۱ پیکسلی با clip-path */
.header__block {
    height: 100%;
    display: flex;
    align-items: center;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 21px), calc(100% - 21px) 100%, 21px 100%, 0 calc(100% - 21px));
}

/* بلاک راست (فضای خالی تا شروع کانتینر) */
.header__block--right {
    width: var(--edge-gap);
    background-color: #243A41;
    flex-shrink: 0;
}

/* بلاک مرکز (باکس سبز رنگ لوگو) */
.header__block--center {
    width: 156px;
    background-color: var(--accent-green, #249360);
    justify-content: center;
    flex-shrink: 0;
}

/* بلاک چپ (فهرست منو و اطلاعات تماس) */
.header__block--left {
    flex-grow: 1;
    background-color: #243A41;
    justify-content: space-between;
    padding-inline-start: 32px;
    padding-inline-end: var(--edge-gap);
    /* تراز شدن شماره تماس با لبه چپ کانتینر */
}

/* =========================================
   Logo Section
   ========================================= */
.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.logo-img {
    max-width: 80%;
    height: auto;
}

.logo-text {
    color: #ffffff;
    font-weight: bold;
    font-size: 18px;
}

/* =========================================
   Navigation Menu (Desktop)
   ========================================= */
nav.header__nav {
    display: flex;
    align-items: center;
}

.header__nav ul.nav-list {
    display: flex;
    gap: 45px;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list__item {
    display: flex;
    align-items: center;
    position: relative;
    padding: 30px 0;
}

.nav-list__item a {
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-list__item a:hover,
.nav-list__item.current_page_item a {
    color: var(--accent-green, #2EBC7B);
}

.nav-list__item.current_page_item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 5px;
    background-color: var(--accent-green, #2EBC7B);
    border-radius: 4px 4px 0 0;
}

.nav-list__item.current_page_item::before {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 14px;
    background-color: rgba(46, 188, 123, 0.15);
    clip-path: polygon(15% 0, 85% 0, 100% 100%, 0% 100%);
}

/* =========================================
   Contact Box
   ========================================= */
.header__contact {
    display: flex;
    align-items: center;
}

.contact-box {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-box:hover {
    opacity: 0.8;
}

.contact-box__number {
    font-weight: 600;
    font-size: 18px;
    color: #ffffff;
    direction: ltr;
}

.header__contact .icon {
    background-color: var(--accent-green, #2EBC7B);
    border-radius: 12px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/**
** Start Hamberger Menu
**/
/* =========================================
   Mobile Menu Drawer
   ========================================= */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 26, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 998;
}

.mobile-menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(320px, 85%);
    background-color: #243A41;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
}

.mobile-menu-drawer.is-active {
    transform: translateX(0);
}

.mobile-menu-drawer__inner {
    padding: 20px 28px 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;

}

.mobile-nav-list li {
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-list li a {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease, color 0.3s ease;
}

.mobile-menu-drawer.is-active .mobile-nav-list li a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-list li:nth-child(1) a {
    transition-delay: 0.05s;
}

.mobile-nav-list li:nth-child(2) a {
    transition-delay: 0.1s;
}

.mobile-nav-list li:nth-child(3) a {
    transition-delay: 0.15s;
}

.mobile-nav-list li:nth-child(4) a {
    transition-delay: 0.2s;
}

.mobile-nav-list li:nth-child(5) a {
    transition-delay: 0.25s;
}

.mobile-nav-list li:nth-child(6) a {
    transition-delay: 0.3s;
}

.mobile-nav-list li a:hover,
.mobile-nav-list li.current_page_item a {
    color: var(--accent-green, #2EBC7B);
}

.mobile-contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.mobile-contact-link__number {
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    direction: ltr;
}

.mobile-contact-link__icon {
    background-color: var(--accent-green, #2EBC7B);
    border-radius: 12px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* انیمیشن تبدیل همبرگر به ضربدر */
.mobile-menu-btn span {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-btn.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* دکمه هنگام باز بودن منو باید بالاتر از اورلی باشه تا دیده و کلیک‌پذیر بمونه */
body.mobile-menu-open .main-header {
    z-index: 1000;
}

body.mobile-menu-open {
    overflow: hidden;
}

/**
** End Hamberger Menu
**/

/* =========================================
   زیرمنو (Dropdown) - دسکتاپ
   ========================================= */

/* ریست رفتار سطح اول برای li های داخل زیرمنو */
.sub-menu .nav-list__item {
    display: block;
    padding: 0;
    position: relative;
}

.header__nav>.nav-list>.nav-list__item>.sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 230px;
    background-color: #243A41;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    z-index: 9999;
}

.header__nav>.nav-list>.nav-list__item:hover>.sub-menu,
.header__nav>.nav-list>.nav-list__item:focus-within>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.sub-menu .nav-list__item>a {
    display: block;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    color: #ffffff;
    transition: background-color 0.25s ease, color 0.25s ease, padding-inline-start 0.25s ease;
}

.sub-menu .nav-list__item>a:hover {
    background-color: rgba(46, 188, 123, 0.14);
    color: var(--accent-green, #2EBC7B);
    padding-inline-start: 28px;
}

/* خط سبز صفحه فعال داخل زیرمنو نشون داده نشه */
.sub-menu .nav-list__item.current_page_item::after,
.sub-menu .nav-list__item.current_page_item::before {
    display: none;
}

/* فلش کوچیک کنار آیتم‌هایی که زیرمنو دارن */
.header__nav>.nav-list>.menu-item-has-children>a {
    position: relative;
    padding-inline-end: 18px;
}

.header__nav>.nav-list>.menu-item-has-children>a::after {
    content: "";
    position: absolute;
    inset-inline-end: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-inline-end: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.3s ease;
}

.header__nav>.nav-list>.menu-item-has-children:hover>a::after {
    transform: translateY(-35%) rotate(-45deg);
}

/* =========================================
   زیرمنو (Accordion) - موبایل / دراور
   ========================================= */

/* ریست رفتار flex ارثیه در همه سطوح دراور موبایل */
.mobile-nav-list .nav-list__item {
    display: block;
    position: static;
    padding: 0;
}

.mobile-nav-list .sub-menu li {
    border-bottom: none;
}

.mobile-nav-list .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0 0 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.mobile-nav-list li.is-open>.sub-menu {
    max-height: 600px;
}

.mobile-nav-list .sub-menu li a {
    font-size: 15px;
    font-weight: 500;
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.75);
}

.mobile-nav-list .menu-item-has-children>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-toggle-icon {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
}

.mobile-menu-toggle-icon::before {
    content: "";
    width: 8px;
    height: 8px;
    border-inline-end: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.mobile-nav-list li.is-open>a .mobile-menu-toggle-icon::before {
    transform: rotate(-43deg);
}



/* لغو کلیپ روی بلاک منو (فقط این بلاک) و شبیه‌سازی همون شکل با یه لایه‌ی پس‌زمینه‌ی جدا */
.header__block.header__block--left {
    clip-path: none;
    background-color: transparent;
    overflow: visible;
    position: relative;
    z-index: 0;
}

.header__block--left::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: #243A41;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 21px), calc(100% - 21px) 100%, 21px 100%, 0 calc(100% - 21px));
}

@media (max-width: 991px) {
    .header__block--left::before {
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 17.5px), calc(100% - 17.5px) 100%, 17.5px 100%, 0 calc(100% - 17.5px));
    }
}

/* =========================================
   Mobile Responsive
   ========================================= */
@media (min-width: 992px) {
    .mobile-menu-btn {
        display: none;
    }
}

@media (max-width: 991px) {
    .header__wrapper {
        height: 75px;
    }

    /* تنظیم زاویه برش موبایل */
    .header__block {
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 17.5px), calc(100% - 17.5px) 100%, 17.5px 100%, 0 calc(100% - 17.5px));
    }

    /* بازگشت به درصدهای تمام‌عرض در موبایل و لغو محدودیت کانتینر */
    .header__block--right {
        width: 36.65%;
    }

    .header__block--center {
        width: 26.7%;
    }

    .header__block--left {
        width: 36.65%;
        padding-inline-end: 0;
        padding-inline-start: 0;
        justify-content: center;
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        background-color: transparent;
        border: none;
        width: 100%;
        height: 100%;
        cursor: pointer;
    }

    .mobile-menu-btn span {
        width: 22px;
        height: 2px;
        background-color: #ffffff;
        border-radius: 2px;
    }

    .header__nav,
    .contact-box__number {
        display: none !important;
    }

    .header__contact .icon {
        background-color: transparent;
        width: auto;
        height: auto;
    }
}

/* =========================================
   Footer (Mobile-First Base Styles)
========================================= */
footer {
    width: 100%;
    background: #249360;
    position: relative;
    margin-top: 120px;
    padding-bottom: 10px;
}

.footer-flex {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(180deg, rgba(17, 41, 49, 0.5) 0%, #112931 100%), url('assets/images/bg-footer.png');
    background-position: center, top center;
    background-size: cover, auto;
    background-color: #11292E;

    /* Mobile Layout - Grid */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 32px 24px;
    top: -48px;
    border-radius: 20px;
}

.footer-flex .footer-column {
    width: 100%;
}

/* --- Footer 1 (About, Call, Social) --- */
.footer-flex .footer1 {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer1 .call-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.call-footer p {
    font-weight: 750;
    font-size: 20px;
    color: #112931;
    background: #F4B200;
    border-radius: 8px;
    padding: 1px 6px;
    margin: 0;
    line-height: 1.93;
}

.call-footer a {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    background: #FFFFFF;
    color: #112931;
    font-weight: 725;
    font-size: 15px;
    padding: 6px 12px;
    text-decoration: none;
}

.about-footer {
    font-weight: 325;
    font-size: 14px;
    line-height: 200%;
    letter-spacing: -0.04em;
    text-align: justify;
    color: #b8c1c2;
    margin: 0;
}

.social-foorer {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.social-foorer a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #249360;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    padding: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.social-foorer a img {
    transition: transform 0.3s ease;
}

.social-foorer a:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(36, 147, 96, 0.4);
    background: #1e7b50;
}

.social-foorer a:hover img {
    transform: scale(1.15) rotate(8deg);
}

.social-foorer a:active {
    transform: translateY(-2px) scale(0.95);
    box-shadow: 0 5px 10px rgba(36, 147, 96, 0.3);
}

/* --- Footer 2 & 3 (Menu Links) --- */
.footer-flex .footer2 {
    grid-column: 1 / 2;
}

.footer-flex .footer3 {
    grid-column: 2 / 3;
}

.footer-flex .footer2,
.footer-flex .footer3 {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer2 h3,
.footer3 h3 {
    font-weight: 725;
    font-size: 16px;
    color: #fff;
    margin: 0;
}

footer .footer-column ul,
.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .footer-column ul li,
.footer-menu li {
    border-bottom: 1px solid #b8c1c2;
    transition: all 0.2s ease-in-out;
    padding-bottom: 4px;
}

footer .footer-column ul li:hover,
.footer-menu li:hover {
    border-bottom: 1px solid #fff;
}

footer .footer-column ul li a,
.footer-menu li a {
    display: flex;
    color: #b8c1c2;
    font-size: 13px;
    text-decoration: none;
}

footer .footer-column ul li a:hover,
.footer-menu li a:hover {
    color: #fff;
}

/* --- Footer 4 (Trust Symbols) --- */
.footer-flex .footer4 {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
}

.footer4 a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #249360;
    width: 100%;
    height: 110px;
    border-radius: 16px;
}

.footer4 a img {
    max-width: 80%;
    height: auto;
}

/* --- Footer Copyright Info --- */
.footer-info {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 9px;
    margin-top: -26px;
}

.footer-info .info-site,
.footer-info .info-kicode {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #112931;
    border-radius: 8px;
    padding: 8px;
    width: 100%;
    /* برای پر کردن عرض در موبایل */
    box-sizing: border-box;
}

.info-site p,
.info-kicode p {
    font-weight: 450;
    color: #fff;
    font-size: 12px;
    margin: 0;
}

.info-site p b,
.info-site p strong {
    color: #249360;
    border-radius: 4px;
    padding: 1px 4px;
    background: #FFFFFF;
}

.info-kicode p {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-kicode p a {
    color: #ff9900;
    border-radius: 4px;
    padding: 1px 4px;
    background: #FFFFFF;
}


/* =========================================
   Desktop View (min-width: 992px)
========================================= */
@media (min-width: 992px) {
    footer {
        margin-top: 196px;
        padding-bottom: 14px;
    }

    /* تبدیل Grid به Flex برای دسکتاپ */
    .footer-flex {
        display: flex;
        gap: 50px;
        top: -76px;
        border-radius: 24px;
        padding: 45px 62px;
    }

    .footer-flex .footer1 {
        width: 41.65%;
        gap: 29px;
    }

    .call-footer p {
        font-size: 24px;
    }

    .call-footer a {
        padding: 8px 16px;
        font-size: 18px;
    }

    .about-footer {
        font-weight: 450;
        line-height: 209%;
        letter-spacing: normal;
    }

    .social-foorer {
        justify-content: flex-start;
        gap: 21px;
    }

    .social-foorer a {
        width: 72px;
        height: 72px;
        border-radius: 16px;
        padding: 11px;
    }

    .footer-flex .footer2 {
        width: 13.16%;
    }

    .footer-flex .footer3 {
        width: 15.99%;
    }

    .footer2 h3,
    .footer3 h3 {
        font-size: 20px;
    }

    footer .footer-column ul,
    .footer-menu {
        gap: 26px;
    }

    footer .footer-column ul li a,
    .footer-menu li a {
        font-size: 16px;
        /* بازگردانی سایز فونت به استاندارد دسکتاپ */
    }

    /* تبدیل ردیف نمادها به ستون عمودی در دسکتاپ */
    .footer-flex .footer4 {
        width: auto;
        flex-direction: column;
        justify-content: flex-start;
        gap: 24px;
    }

    .footer4 a {
        width: 134px;
        height: 145px;
        border-radius: 19px;
    }

    .footer4 a img {
        max-width: 100%;
    }

    /* چیدمان افقی بخش کپی‌رایت */
    .footer-info {
        flex-direction: row;
        gap: 16px;
        margin-top: 0;
    }

    .footer-info .info-site,
    .footer-info .info-kicode {
        width: auto;
    }

    .info-site p,
    .info-kicode p {
        font-size: 14px;
        /* سایز استاندارد دسکتاپ */
    }

    .info-kicode p svg {
        width: 113px;
        /* بازگردانی ابعاد طبیعی SVG در دسکتاپ */
    }
}

/* =========================================
   End Footer (Mobile-First Base Styles)
========================================= */
/**
*
*
* Contact Page
*
**/
/* ==========================================
   Mobile-First Base Styles (موبایل پایه)
   ========================================== */
.location-section {
    margin-top: 96px;
}

.location_content {
    display: flex;
    gap: 72px;
    margin-top: 52px;
}

.location-main {
    width: 49.3%;
    display: flex;
    flex-direction: column;
    gap: 23px;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.location-title {
    font-weight: 725;
    font-size: 24px;
    color: #112931;
}

.location-desc {
    font-weight: 325;
    font-size: 16px;
    line-height: 180%;
    text-align: justify;
    color: #777;
}

.working-hours-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 150.5306854248047px;
    padding: 16px 20px 16px 16px;
    background-image: url('./assets/images/working-hours-card.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.working-hours-card .hours-label {
    font-weight: 725;
    font-size: 24px;
    color: #fff;
}

.working-hours-card .hours-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 397px;
    height: 116px;
    background-image: url('./assets/images/hours-time.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    font-weight: 450;
    font-size: 20px;
}

.working-hours-card .hours-time strong {
    font-weight: 725;
}

/* .map-badge{
width: 40%;
height: 420px;
border-top-left-radius: 24px;
border-top-right-radius: 24px;
overflow: hidden;
}
.map-badge img{
   width: 100%;
   height: 100%;
   object-fit: cover;
} */
.map-badge {
    width: 40%;
    height: 420px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    overflow: hidden;
    padding: 0;
    /* حذف پدینگ احتمالی که باعث ایجاد فاصله می‌شود */
    margin: 0;
    /* این خط باگ اعمال نشدن overflow روی گوشه‌های گرد در برخی مرورگرها (Webkit) را حل می‌کند */
    transform: translateZ(0);
}

.map-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* این خط فضای خالی و نامرئی زیر عکس (که ذاتاً inline است) را از بین می‌برد */

    /* برای اطمینان ۱۰۰٪، می‌توانید ردیوس را مستقیماً به خود عکس هم بدهید */
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.address-card {
    width: 100%;
    /* height: 144px; */
    display: flex;
    gap: 40px;
    border-radius: 24px;
    padding: 40px;
    background: #FFFFFF;
    border: 1px solid #34343414;
    box-shadow: 0px 20px 40px 0px #0000000A;
}

.address-info {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 840px;
    height: 64px;
    border-radius: 16px;
    padding-top: 16px;
    padding-right: 16px;
    padding-bottom: 16px;
    padding-left: 8px;
    border: 1px solid #34343414;
}

.address-icon-title {
    display: flex;
    gap: 8px;
}

.address-label {
    font-weight: 725;
    font-size: 16px;
    color: #343434;
}

.address-text {
    font-weight: 325;
    font-size: 16px;
    line-height: 24px;
    color: #545454;
}

.line-vertical {
    border: 1px solid #34343429;
}

.routing-apps {
    display: flex;
    align-items: center;
    gap: 8px;
}

.routing-apps a {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8F8F8;
    border: 1.33px solid #34343414;
}

.swiper-button-next,
.swiper-button-prev {
    width: 56px;
    height: 56px;
    background: #249360;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 7px;
}

.swiper-button-next svg,
.swiper-button-prev svg {
    width: 22px !important;
    height: 22px !important;
}

@media (max-width: 992px) {
    .location-section {
        margin-top: 56px;
    }

    .location_content {
        flex-direction: column;
        gap: unset;
        margin-top: 24px;
    }

    .location-main,
    .map-badge {
        width: 100%;
    }

    .address-card {
        width: 100%;
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }

    .address-info {
        flex-direction: column;
        align-items: start;
        gap: 8px;
        width: 100%;
        height: 105px;
        padding: 12px;
    }

    .address-card .line-vertical {
        display: none;
    }

    .routing-apps a {
        width: 77px;
        height: 56px;
    }
}

/* =========================================
   Section Header (Mobile-First)
========================================= */
.sec-header-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
    /* فاصله ۸ پیکسل آیکون از متن در موبایل */
}

/* آیکون - تنظیمات پایه و موبایل */
.sec-header-wrapper .bg-icon {
    width: 48px;
    height: 48px;
    background: #112931;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    /* جلوگیری از فشرده شدن آیکون */

    /* SVG Mask اختصاصی 48x48 */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.88274 1.11726C5.59811 0.401891 6.56836 0 7.58005 0L40.42 0C41.4316 0 42.4019 0.401891 43.1173 1.11726L46.8827 4.88274C47.5981 5.59811 48 6.56836 48 7.58005V40.4199C48 41.4316 47.5981 42.4019 46.8827 43.1173L43.1173 46.8827C42.4019 47.5981 41.4316 48 40.42 48H7.58005C6.56836 48 5.59811 47.5981 4.88274 46.8827L1.11726 43.1173C0.40189 42.4019 0 41.4316 0 40.42L0 7.58005C0 6.56836 0.401891 5.59811 1.11726 4.88274L4.88274 1.11726Z' fill='%23000'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.88274 1.11726C5.59811 0.401891 6.56836 0 7.58005 0L40.42 0C41.4316 0 42.4019 0.401891 43.1173 1.11726L46.8827 4.88274C47.5981 5.59811 48 6.56836 48 7.58005V40.4199C48 41.4316 47.5981 42.4019 46.8827 43.1173L43.1173 46.8827C42.4019 47.5981 41.4316 48 40.42 48H7.58005C6.56836 48 5.59811 47.5981 4.88274 46.8827L1.11726 43.1173C0.40189 42.4019 0 41.4316 0 40.42L0 7.58005C0 6.56836 0.401891 5.59811 1.11726 4.88274L4.88274 1.11726Z' fill='%23000'/%3E%3C/svg%3E");
    mask-size: 100% 100%;
}

/* عنوان - تنظیمات پایه و موبایل */
.sec-header-wrapper .sec-title {
    height: 48px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    /* فضای امن اطراف متن برای بریده نشدن در شیپ */
    margin: 0;

    background: #ECEEEF;
    color: #112931;
    font-weight: 725;
    font-size: 16px;
    line-height: 100%;
    white-space: nowrap;
    /* جلوگیری از شکستن متن */

    /* SVG Mask با ویژگی preserveAspectRatio='none' برای عرض‌های متغیر */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 126 48' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.75048 1.07131C6.55706 0.379993 7.58432 0 8.64662 0L116.853 0C117.916 0 118.943 0.379993 119.75 1.07131L123.946 4.66791C124.932 5.5134 125.5 6.74773 125.5 8.04694V39.9531C125.5 41.2523 124.932 42.4866 123.946 43.3321L119.75 46.9287C118.943 47.62 117.916 48 116.853 48L8.64662 48C7.58432 48 6.55706 47.62 5.75048 46.9287L1.55419 43.3321C0.567735 42.4866 0 41.2523 0 39.9531L0 8.04694C0 6.74773 0.567736 5.5134 1.55419 4.66791L5.75048 1.07131Z' fill='%23000'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 126 48' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.75048 1.07131C6.55706 0.379993 7.58432 0 8.64662 0L116.853 0C117.916 0 118.943 0.379993 119.75 1.07131L123.946 4.66791C124.932 5.5134 125.5 6.74773 125.5 8.04694V39.9531C125.5 41.2523 124.932 42.4866 123.946 43.3321L119.75 46.9287C118.943 47.62 117.916 48 116.853 48L8.64662 48C7.58432 48 6.55706 47.62 5.75048 46.9287L1.55419 43.3321C0.567735 42.4866 0 41.2523 0 39.9531L0 8.04694C0 6.74773 0.567736 5.5134 1.55419 4.66791L5.75048 1.07131Z' fill='%23000'/%3E%3C/svg%3E");
    mask-size: 100% 100%;
}

/* خط پرکننده مابقی فضا */
.sec-header-wrapper .line {
    flex-grow: 1;
    /* گرفتن تمام فضای باقی‌مانده سطر */
    height: 4px;
    background: #ECEEEF;
    border-radius: 2px;
    /* نرم کردن گوشه‌های خط در صورت نیاز */
}

/* =========================================
   Desktop View (min-width: 992px)
========================================= */
@media (min-width: 992px) {
    .sec-header-wrapper {
        gap: 11px;
        /* آپدیت فاصله آیکون از متن در دسکتاپ */
    }

    .sec-header-wrapper .bg-icon {
        width: 56px;
        height: 56px;
        /* جایگزینی با SVG Mask نسخه 56x56 دسکتاپ */
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 56 56' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.69653 1.30347C6.53113 0.468872 7.66309 0 8.84339 0L47.1566 0C48.3369 0 49.4689 0.468873 50.3035 1.30347L54.6965 5.69653C55.5311 6.53113 56 7.66309 56 8.84339V47.1566C56 48.3369 55.5311 49.4689 54.6965 50.3035L50.3035 54.6965C49.4689 55.5311 48.3369 56 47.1566 56H8.84339C7.66309 56 6.53113 55.5311 5.69653 54.6965L1.30347 50.3035C0.468872 49.4689 0 48.3369 0 47.1566L0 8.84339C0 7.66309 0.468873 6.53113 1.30347 5.69653L5.69653 1.30347Z' fill='%23000'/%3E%3C/svg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 56 56' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.69653 1.30347C6.53113 0.468872 7.66309 0 8.84339 0L47.1566 0C48.3369 0 49.4689 0.468873 50.3035 1.30347L54.6965 5.69653C55.5311 6.53113 56 7.66309 56 8.84339V47.1566C56 48.3369 55.5311 49.4689 54.6965 50.3035L50.3035 54.6965C49.4689 55.5311 48.3369 56 47.1566 56H8.84339C7.66309 56 6.53113 55.5311 5.69653 54.6965L1.30347 50.3035C0.468872 49.4689 0 48.3369 0 47.1566L0 8.84339C0 7.66309 0.468873 6.53113 1.30347 5.69653L5.69653 1.30347Z' fill='%23000'/%3E%3C/svg%3E");
    }

    .sec-header-wrapper .sec-title {
        height: 56px;
        font-size: 20px;
        padding: 0 24px;

        /* جایگزینی با SVG Mask نسخه 164x56 دسکتاپ */
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 164 56' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.69653 1.30347C6.53113 0.468872 7.66309 0 8.84339 0L154.639 0C155.819 0 156.951 0.468872 157.786 1.30347L162.179 5.69653C163.013 6.53113 163.482 7.66309 163.482 8.84339V47.1566C163.482 48.3369 163.013 49.4689 162.179 50.3035L157.786 54.6965C156.951 55.5311 155.819 56 154.639 56L8.84338 56C7.66308 56 6.53113 55.5311 5.69653 54.6965L1.30347 50.3035C0.468871 49.4689 0 48.3369 0 47.1566L0 8.84339C0 7.66309 0.468873 6.53113 1.30347 5.69653L5.69653 1.30347Z' fill='%23000'/%3E%3C/svg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 164 56' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.69653 1.30347C6.53113 0.468872 7.66309 0 8.84339 0L154.639 0C155.819 0 156.951 0.468872 157.786 1.30347L162.179 5.69653C163.013 6.53113 163.482 7.66309 163.482 8.84339V47.1566C163.482 48.3369 163.013 49.4689 162.179 50.3035L157.786 54.6965C156.951 55.5311 155.819 56 154.639 56L8.84338 56C7.66308 56 6.53113 55.5311 5.69653 54.6965L1.30347 50.3035C0.468871 49.4689 0 48.3369 0 47.1566L0 8.84339C0 7.66309 0.468873 6.53113 1.30347 5.69653L5.69653 1.30347Z' fill='%23000'/%3E%3C/svg%3E");
    }
}

.sec-header-wrapper .bg-icon svg {
    width: 20px;
    height: 18px;
}

.page-content {
    width: 100%;
}

/**
**
**/
/* =========================================================
   Articles Grid Section (filter tabs + 6-article grid + pagination)
   Mobile-first, HTML5/CSS3
   Note: relies on existing global tokens (:root, .container, .icon) — not redefined here.
   Note: relies on the Vazirmatn webfont link already present in the page <head>.
   ========================================================= */

.articles-grid-section {
    margin-top: 40px;
    /* section offset from the previous block, same on mobile and desktop */
}

/* =========================================================
   Filter tabs
   ========================================================= */
.filter-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tab {
    flex-shrink: 0;
    height: 40px;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid #34343429;
    background: transparent;
    font-family: inherit;
    font-weight: 450;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #A4A9AA;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition);
}

.filter-tab:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.filter-tab.is-active {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: #ffffff;
}

/* =========================================================
   Article grid
   ========================================================= */
.grid-articles {
    margin-top: 40px;
    /* gap between the filter tabs and the grid */
    display: flex;
    flex-direction: column;
    gap: 40px;
    /* gap between article cards on mobile */
}

.grid-article__link {
    display: block;
    text-decoration: none;
}

/* -------- Media (photo + date badge) -------- */
.grid-article__media {
    position: relative;
    /* NOT clipped — lets the badge float above the frame's edge */
    width: 100%;
    max-width: 364px;
}

.grid-article__frame {
    width: 100%;
    height: 230px;
    clip-path: url(#agrid-clip-image-mobile);
    overflow: hidden;
    transition: filter 0.3s ease;
}

.grid-article__img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

/* Green multiply-tint overlay, faded in on hover (kept inside the frame's clip-path) */
.grid-article__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent-green);
    mix-blend-mode: multiply;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Shadow uses drop-shadow (not box-shadow) so it follows the clipped blob shape
   instead of being cropped away by the frame's own clip-path */
.grid-article:hover .grid-article__frame {
    filter: drop-shadow(0px 12px 24px rgba(0, 0, 0, 0.25));
}

.grid-article:hover .grid-article__frame::after {
    opacity: 1;
}

.grid-article__badge {
    position: absolute;
    top: 16px;
    /* half of the badge height (78px) sits above the photo */
    right: 16px;
    width: 82px;
    height: 78px;
    clip-path: url(#agrid-clip-badge-mobile);
    background: #ECEEEF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.grid-article__day {
    font-weight: 725;
    font-size: 18px;
    color: var(--accent-green);
}

.grid-article__month {
    font-weight: 325;
    font-size: 14px;
    color: var(--accent-green);
}

/* -------- Title box -------- */
.grid-article__title-box {
    width: 100%;
    max-width: 364px;
    height: 110px;
    margin-top: 8px;
    /* gap between the photo and the title box, same logic as the featured-articles section */
    clip-path: url(#agrid-clip-bubble-mobile);
    background: #ECEEEF;
    display: flex;
    align-items: center;
    padding: 0 34px;
    transition: background-color 0.3s ease, filter 0.3s ease;
}

.grid-article:hover .grid-article__title-box {
    background: var(--accent-green);
    filter: drop-shadow(0px 12px 24px rgba(0, 0, 0, 0.25));
}

.grid-article__title {
    font-weight: 725;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0px;
    text-align: right;
    color: #112931;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.grid-article:hover .grid-article__title {
    color: #ffffff;
}

/* =========================================================
   Pagination (desktop) / Load-more (mobile)
   ========================================================= */
.pagination {
    display: none;
    /* hidden on mobile — the load-more button below replaces it */
}

.load-more {
    margin-top: 40px;
    width: 100%;
    height: 56px;
    border-radius: 8px;
    border: 1.5px solid var(--accent-green);
    background: #24936029;
    padding: 0 20px 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 725;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--accent-green);
    cursor: pointer;
    transition: var(--transition);
}

.load-more:hover {
    background: #24936045;
}

/**
** Start Loading
**/
/**
** Start Loading
**/
.grid-articles-wrapper {
    position: relative;
    min-height: 200px;
}

/* لایه رویی لودینگ */
.loader-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    border-radius: 16px;
}

.is-loading .loader-overlay {
    opacity: 1;
    visibility: visible;
}

/* اسپینر زیبا */
.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #24936029;
    /* رنگ پس‌زمینه اسپینر */
    border-top-color: var(--accent-green, #249360);
    /* رنگ اصلی چرخان */
    border-radius: 50%;
    animation: spinner-spin 1s linear infinite;
}

@keyframes spinner-spin {
    100% {
        transform: rotate(360deg);
    }
}

/* انیمیشن نرم محتوا هنگام لود */
.grid-articles {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.is-loading .grid-articles {
    opacity: 0.5;
    transform: scale(0.98);
}

/**
** End loading
**/
/**
** End loading
**/
/* =========================================================
   Desktop
   ========================================================= */
@media (min-width: 1024px) {

    /* ---------- Filter tabs ---------- */
    /* .filter-bar {
        width: 100%;
        margin: 0 auto;
        background: #FFFFFF;
        border: 1px solid #34343414;
        border-radius: 16px;
        box-shadow: 0px 20px 40px 0px #0000000A;
        padding: 8px 16px;
    } */

    .filter-tabs {
        gap: 16px;
        overflow-x: visible;
    }

    .filter-tab {
        height: 48px;
        padding: 0 16px;
        font-size: 16px;
    }

    /* ---------- Article grid: 3 columns ---------- */
    .grid-articles {
        margin-top: 40px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 24px;
        row-gap: 40px;
    }

    .grid-article__media,
    .grid-article__title-box {
        max-width: 411px;
    }

    .grid-article__frame {
        height: 251.99993896484375px;
        clip-path: url(#agrid-clip-image-desktop);
    }

    .grid-article__badge {
        width: 91px;
        height: 86px;
        top: 16px;
        /* half of the badge height (86px) */
        right: 16px;
        clip-path: url(#agrid-clip-badge-desktop);
    }

    .grid-article__day {
        font-size: 20px;
        line-height: 24px;
    }

    .grid-article__month {
        font-size: 16px;
        line-height: 24px;
    }

    .grid-article__title-box {
        height: 110px;
        padding: 0 40px;
        justify-content: center;
        clip-path: url(#agrid-clip-bubble-desktop);
    }

    .grid-article__title {
        text-align: center;
        -webkit-line-clamp: 2;
    }

    /* ---------- Pagination ---------- */
    .pagination {
        display: block;
        margin-top: 40px;
    }

    .pagination__bar {
        width: 100%;
        height: 77.70223236083984px;
        clip-path: url(#agrid-clip-pagination);
        background: #112931;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 32px;
    }

    .pagination__list {
        list-style: none;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .pagination__list li a {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pagination__link,
    .pagination__ellipsis {
        font-family: inherit;
        font-weight: 450;
        font-size: 14px;
        color: #ffffff;
        background: transparent;
        border: none;
        cursor: pointer;
    }

    .pagination__link {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        border: 1px solid transparent;
        transition: var(--transition);
    }

    .pagination__link:hover {
        border-color: #ffffff40;
    }

    .pagination__link.is-active {
        background: var(--accent-green);
        border: 1px solid #ffffff;
    }

    .pagination__ellipsis {
        cursor: default;
        color: #ffffff80;
    }

    .pagination__nav {
        display: flex;
        align-items: center;
        gap: 6px;
        background: transparent;
        border: none;
        font-family: inherit;
        font-weight: 450;
        font-size: 14px;
        color: #ffffff;
        cursor: pointer;
        transition: var(--transition);
    }

    .pagination__nav:hover {
        color: var(--accent-green);
    }

    /* ---------- Load-more button not needed on desktop ---------- */
    .load-more {
        display: none;
    }

}

/* ------------------ Breadcrumbs ------------------ */
.search-page .breadcrumb,
.archive-page .breadcrumb {
    margin: 40px 0 20px;
}

.breadcrumb {
    width: 100%;
    height: 57px;
    border-radius: 16px;
    padding: 0 24px;
    background: #FFFFFF;
    border: 1px solid #34343414;
    box-shadow: 0px 24px 48px 0px #0000000A;
    display: flex;
    align-items: center;
}

.breadcrumb ul {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.breadcrumb ul::-webkit-scrollbar {
    display: none;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 450;
    font-size: 16px;
    color: #34343452;
}

.breadcrumb li:not(:last-child)::after {
    content: ">";
    margin-inline-start: 8px;
    margin-inline-end: 8px;
    color: #34343452;
}

[dir="rtl"] .breadcrumb li:not(:last-child)::after {
    content: "<";
}

.breadcrumb ul li a {
    font-weight: 450;
    font-size: 16px;
    color: #34343452;
    text-decoration: none;
}
/**
** Contact Form 7
**/
/* CF7 Auto-p & br Fixes */
.wpcf7-form br {
    display: none;
}

/* Layout (Fixing the wrapper p tag issue) */
.form-row-2col,
.form-row-2col p {
    display: flex;
    gap: 40px;
    margin-bottom: 24px;
    width: 100%;
    margin-top: 0;
}

.form-row-2col span.wpcf7-form-control-wrap {
    flex: 1;
    width: 100%;
}

.form-row-checkbox {
    margin-bottom: 24px;
}

.form-row-submit {
    display: flex;
}

/* General Inputs */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="url"] {
    width: 100%;
    height: 64px;
    background: #F8F8F8;
    border: 1px solid #35353552;
    border-radius: 16px;
    padding: 28px 16px 28px 8px;
    box-sizing: border-box;
    font-family: inherit;
    font-weight: 450;
    font-size: 16px;
    line-height: 100%;
    color: #353535;
    transition: all 0.3s ease;
}

/* Textarea */
.wpcf7-form textarea {
    width: 100%;
    height: 122px;
    background: #F8F8F8;
    border: 1px solid #35353552;
    border-radius: 16px;
    padding: 16px 16px 16px 8px;
    box-sizing: border-box;
    font-family: inherit;
    font-weight: 450;
    font-size: 16px;
    line-height: 100%;
    color: #353535;
    resize: vertical;
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

/* Placeholders */
.wpcf7-form ::placeholder {
    color: #3535353D;
    opacity: 1;
    font-weight: 450;
    font-size: 16px;
    line-height: 100%;
}

/* Focus State */
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-color: var(--accent-green);
    outline: none;
    box-shadow: 0 0 0 1px var(--accent-green);
}

/* Submit Button */
.custom-submit-btn {
    width: 141px;
    height: 64px;
    background: #249360;
    border-radius: 12px;
    padding: 0 32px 0 24px;
    border: none;
    color: #FFFFFF;
    font-family: inherit;
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.3s ease;
}

.custom-submit-btn:hover {
    opacity: 0.9;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .form-row-2col,
    .form-row-2col p {
        flex-direction: column;
        gap: 16px;
    }
    
    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form input[type="tel"],
    .wpcf7-form input[type="number"],
    .wpcf7-form input[type="url"] {
        height: 56px;
        border-radius: 8px;
    }

    .wpcf7-form textarea {
        height: 174px;
        border-radius: 8px;
    }
    
    .form-row-submit {
        justify-content: center;
    }
    
    .custom-submit-btn {
        width: 100%;
    }
}
/* =======================================================
   Request Type Row (نوع درخواست)
======================================================== */
.form-row-request-type {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.request-type-label {
    font-family: inherit;
    font-weight: 600;
    font-size: 18px;
    color: #353535;
}

/* Radio buttons container */
.form-row-request-type .wpcf7-form-control.wpcf7-radio {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.form-row-request-type .wpcf7-list-item {
    margin: 0;
}

/* Hide default radio input */
.form-row-request-type input[type="radio"] {
    display: none;
}

/* Style label as button */
.form-row-request-type .wpcf7-list-item-label {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 24px;
    background: #FFFFFF;
    border: 1px solid #35353552;
    border-radius: 12px;
    color: #353535;
    font-family: inherit;
    font-weight: 450;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Active (Checked) State */
.form-row-request-type input[type="radio"]:checked + .wpcf7-list-item-label {
    background: #249360;
    color: #FFFFFF;
    border-color: #249360;
}

/* Checkmark Icon for Active State */
.form-row-request-type input[type="radio"]:checked + .wpcf7-list-item-label::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-left: 8px;
    background-color: #FFFFFF;
    border-radius: 50%;
    /* SVG تیک سبز رنگ به صورت Base64 برای بک‌گراند */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23249360' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .form-row-request-type {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .form-row-request-type .wpcf7-form-control.wpcf7-radio {
        width: 100%;
        justify-content: space-between;
    }
    
    .form-row-request-type .wpcf7-list-item {
        flex: 1;
    }
    
    .form-row-request-type .wpcf7-list-item-label {
        width: 100%;
        padding: 0 12px;
        font-size: 14px;
    }
}