* {
    box-sizing: border-box;
}

body {
    margin: 0;
}

/* Peyda overrides Astra inline (IRANSans) — layout uses orginalheaderfooter without donate-page-body class */
html body,
html body button,
html body input,
html body select,
html body textarea,
#page,
#page *,
main,
main *,
.elementor-3819,
.elementor-3819 *,
.elementor-3821,
.elementor-3821 * {
    font-family: "PeydaWebVF", "peyda", Tahoma, Arial, sans-serif !important;
}

a {
    color: inherit;
    text-decoration: none;
}

.public-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.public-header {
    background: #f3f4f6;
    border-bottom: 1px solid #d8dee4;
    padding: 28px 0 10px;
    /*
     * کنترل عمودی هدر (برای تنظیم سریع مثل عکس مرجع):
     * مقدار منفی = منو/خط‌ها بالاتر
     * مقدار مثبت = منو/خط‌ها پایین‌تر
     */
    --public-header-top-adjust: -44px;
    --public-header-line-top-base: -14px;
    --public-header-menu-top-base: 17px;
    position: relative;
    overflow: hidden;
    background-image: url("/donate/riglt-min-1-1.png"), url("/donate/left-min-1-1.png");
    background-position: top right, top left;
    background-repeat: no-repeat, no-repeat;
    background-size: auto 92%, auto 92%;
    z-index: 40;
}

.public-header::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    width: 82px;
    height: 42px;
    transform: translateX(-50%);
    background: url("/donate/Asset-1-3-1.png") center top / contain no-repeat;
    pointer-events: none;
    z-index: 1;
}

.public-header-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.public-header-top::before,
.public-header-top::after {
    content: "";
    position: absolute;
    top: calc(100% + var(--public-header-line-top-base) + var(--public-header-top-adjust));
    border-top: 1px solid #b7bcc2;
    pointer-events: none;
}

.public-header-top::before {
    right: calc(50% + 100px);
    left: 0;
}

.public-header-top::after {
    left: calc(50% + 100px);
    right: 0;
}

.public-nav {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.public-nav a {
    position: relative;
    z-index: 60;
    pointer-events: auto !important;
}

.public-header-spacer {
    min-height: 1px;
    pointer-events: none;
}

.public-left-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    pointer-events: auto;
}

.public-left-tools input {
    height: 36px;
    width: 190px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    padding: 0 12px;
    background: #fff;
    font-size: 13px;
}

.public-logo-placeholder {
    width: 206px;
    height: 150px;
    border: 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    margin-top: 16px;
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.public-logo-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.public-login-btn {
    border: 1px solid #cdd3da;
    background: #fff;
    border-radius: 999px;
    min-height: 36px;
    padding: 10px 26px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    pointer-events: auto;
}

.public-donate-btn {
    border: 1px solid #4f8f87;
    background: linear-gradient(180deg, #65a7a0 0%, #4f8f87 100%);
    color: #fff;
    border-radius: 999px;
    min-height: 36px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    pointer-events: auto;
    box-shadow: 0 4px 10px rgba(79, 143, 135, 0.25);
    transition: all .2s ease;
}

.public-donate-btn:hover {
    background: linear-gradient(180deg, #6fb3ab 0%, #569b93 100%);
    box-shadow: 0 6px 14px rgba(79, 143, 135, 0.32);
    transform: translateY(-1px);
}

.public-donate-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(79, 143, 135, 0.24);
}

.public-header-bottom {
    margin-top: calc(var(--public-header-menu-top-base) + var(--public-header-top-adjust));
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 16px;
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 10px;
    position: relative;
    z-index: 3;
    pointer-events: auto;
}

.public-nav-left-bottom,
.public-nav-right-bottom {
    min-width: 0;
}

.public-header-bottom-spacer {
    width: 168px;
    height: 1px;
    pointer-events: none;
}

.public-nav-left-bottom {
    justify-content: flex-end;
    gap: 14px;
}

.public-nav-right-bottom {
    justify-content: flex-start;
    gap: 14px;
}

.public-left-tools {
    justify-content: flex-end;
    flex: 1;
}


.public-footer {
    padding: 34px 0 8px;
}

.public-footer-top-image {
    display: block;
    width: min(240px, 48vw);
    margin: 0 auto 10px;
    object-fit: contain;
}

.public-footer-card {
    width: min(1120px, 94%);
    margin: 0 auto;
    background: linear-gradient(rgba(28, 36, 43, 0.88), rgba(20, 28, 34, 0.9)), url("/donate/Asset-1-12.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 30px 30px 18px 18px;
    color: #d1d5db;
    padding: 20px 42px 14px;
    position: relative;
    overflow: hidden;
}

.public-footer-title {
    margin: 0;
    text-align: center;
    color: #8ad1c6;
    font-size: 17px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.public-footer-title-mark {
    width: 14px;
    height: 20px;
    object-fit: contain;
    opacity: 0.95;
}

.public-footer-title-mark-right {
    transform: rotate(180deg);
}

.public-footer-about {
    text-align: center;
    margin: 10px auto 12px;
    font-size: 14px;
    line-height: 2;
    color: #cdd3d8;
    max-width: 980px;
}

.public-footer-social {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.public-footer-line {
    flex: 1;
    border-top: 1px solid rgba(188, 197, 203, 0.55);
}

.public-footer-social-icons {
    display: inline-flex;
    gap: 8px;
}

.public-footer-social-icons a {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #65a7a0;
    color: #fff;
    font-size: 13px;
}

.public-footer-social-icons a svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.public-footer-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
}

.public-footer-cols h4 {
    margin: 0 0 10px;
    color: #7dd3c7;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.public-footer-heading-mark {
    width: 13px;
    height: 18px;
    object-fit: contain;
    opacity: 0.9;
}

.public-footer-cols ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.public-footer-cols li {
    margin-bottom: 7px;
    font-size: 16px;
    line-height: 1.45;
    color: #d9dde1;
}

.public-footer-contact li {
    font-size: 15px;
    line-height: 1.55;
    display: flex;
    align-items: center;
    gap: 10px;
}

.public-contact-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 999px;
    border: 2px solid #65a7a0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #65a7a0;
    background: rgba(101, 167, 160, 0.08);
}

.public-contact-icon svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
}

.public-footer-crown {
    width: 84px;
    opacity: .95;
    display: block;
    margin: 12px auto -20px;
    transform: rotate(180deg);
}

.public-footer-bottom {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: #374151;
    width: min(1120px, 94%);
    margin-inline: auto;
}

.public-footer-bottom a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.public-footer-bottom a:hover {
    opacity: 0.9;
}

@media (max-width: 1024px) {
    .public-footer-card {
        padding: 18px 22px 12px;
        border-radius: 24px 24px 16px 16px;
    }

    .public-footer-cols {
        gap: 16px;
    }

    .public-footer-cols h4 {
        font-size: 18px;
    }

    .public-footer-cols li {
        font-size: 14px;
    }

    .public-footer-bottom {
        font-size: 12px;
    }
}

/* Donate page */
.donate-hero {
    min-height: 560px;
    position: relative;
    background: #2f3b46;
}

.donate-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.donate-hero-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, 92%);
    margin: 0 auto;
    padding: 38px 0;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 30px;
}

.donate-hero-copy {
    color: #fff;
    padding-top: 54px;
}

.donate-hero-copy h1 {
    margin: 0 0 18px;
    font-size: 40px;
    line-height: 1.5;
}

.donate-hero-copy p {
    margin: 0;
    line-height: 2;
    color: #e5e7eb;
}

.hero-image-placeholder {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .42;
    filter: saturate(0.9);
}

.donate-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
}

.donate-card h2 {
    margin: 0;
    font-size: 20px;
}

.donate-card-head {
    margin-bottom: 14px;
}

.donate-card-head p {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 13px;
}

.donate-method {
    border: 1px solid #cfe4df;
    background: #eff7f4;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.donate-method span {
    font-size: 14px;
    font-weight: 700;
    color: #9d174d;
}

.donate-method small {
    font-size: 13px;
    color: #2d5a53;
    font-weight: 500;
}

.donate-field {
    margin-bottom: 12px;
}

.donate-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
}

.donate-field input,
.donate-field select {
    width: 100%;
    height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 0 12px;
    font-size: 14px;
}

.donate-amount-group {
    display: flex;
    gap: 8px;
}

.donate-amount-group span {
    min-width: 54px;
    height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    background: #f9fafb;
}

.preset-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.preset-grid button {
    height: 38px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #f7f9fb;
    color: #3f4650;
    font-weight: 500;
    opacity: 1;
    cursor: pointer;
    transition: all .2s ease;
}

.preset-grid button:hover {
    border-color: #64a39a;
    background: #ecf7f4;
}

.donate-submit {
    width: 100%;
    border: 0;
    background: linear-gradient(90deg, #5b958d 0%, #64a39a 100%);
    color: #fff;
    border-radius: 10px;
    height: 44px;
    font-size: 14px;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

.donate-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(100, 163, 154, 0.35);
}

.donate-note {
    margin: 8px 0 0;
    text-align: center;
    color: #6b7280;
    font-size: 12px;
}

.faq-wrap {
    width: min(920px, 92%);
    margin: 24px auto;
}

.faq-wrap h3 {
    text-align: center;
    margin: 0 0 16px;
}

.faq-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 8px;
}

.faq-item summary {
    cursor: pointer;
    font-size: 14px;
}

.faq-item p {
    margin: 10px 0 0;
    font-size: 13px;
    color: #4b5563;
    line-height: 1.9;
}

@media (max-width: 1024px) {
    .public-header-top {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .public-left-tools {
        justify-content: center;
    }
    .donate-hero-inner {
        grid-template-columns: 1fr;
    }
    .donate-hero-copy {
        padding-top: 0;
    }
    .donate-hero-copy h1 {
        font-size: 30px;
    }
}

/* WP export corrections for header/footer fidelity */
.elementor-3819 .elementor-element.elementor-element-3d58f781:not(.elementor-motion-effects-element-type-background),
.elementor-3819 .elementor-element.elementor-element-78aa371:not(.elementor-motion-effects-element-type-background) {
    background-color: #f8f9fb !important;
    background-image: url("./riglt-min-1-1.png"), url("./left-min-1-1.png") !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: top right, top left !important;
    background-size: auto 100%, auto 100% !important;
}

.elementor-3819 .elementor-element.elementor-element-3d58f781 > .elementor-background-overlay,
.elementor-3819 .elementor-element.elementor-element-78aa371 > .elementor-background-overlay {
    background: transparent !important;
    opacity: 0 !important;
}

/* Hide thin dividers in side columns — full-width lines drawn on container below */
.elementor-3819 .elementor-element.elementor-element-376b043a,
.elementor-3819 .elementor-element.elementor-element-5e861421 {
    display: none !important;
}

/* Full-width horizontal lines beside logo (physical left / right of row) */
.elementor-3819 .elementor-element.elementor-element-3d58f781 .elementor-container,
.elementor-3819 .elementor-element.elementor-element-78aa371 .elementor-container {
    position: relative;
    /*
     * post-3819: padding-top ستون‌های کناری 24px | سکشن پایین 22px
     * --donate-logo-line-inset: نیم‌فاصلهٔ افقی خط از مرکز تا کنار لوگو (بزرگ‌تر = خط و متن از لوگو دورتر)
     */
    --donate-header-col-pad-top: 73px;
    --donate-header-tools-h: 40px;
    --donate-header-menu-gap: 12px;
    --donate-logo-line-inset: 102px;
}


/*
 * خطوط کنار لوگو: باید زیر ردیف جستجو/حساب کاربری باشد (نه روی آن).
 * — مرورگرهای جدید: anchor به پایین همان ردیف
 * — بقیه: فاصلهٔ پیکسلی امن
 */
/*
 * ستون وسط (جستجو/حساب/منو): با flex-wrap + order تا حتماً دو ردیف جدا شود
 * (grid با سلکتور ضعیف‌تر از post-3819 اعمال نمی‌شد و باعث هم‌پوشانی می‌شد)
 * anchor روی دکمه برای خط افقی
 */
.elementor-3819 .elementor-element-3bd87371 {
    anchor-name: --donate-header-tools;
}

.elementor-3819 .elementor-element.elementor-element-2e15cb97.elementor-column > .elementor-widget-wrap.elementor-element-populated,
.elementor-3819 .elementor-element-2e15cb97 > .elementor-widget-wrap {
    position: relative;
    display: flex !important;
    flex-flow: row wrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    align-content: flex-start !important;
    /* فاصلهٔ عمودی بین ردیف جستجو/دکمه و منو — فقط row-gap تا با ستون مقابل هم‌تراز شود */
    gap: var(--donate-header-menu-gap) 4px;
    padding-top: var(--donate-header-col-pad-top) !important;
    padding-bottom: 0 !important;
    /* RTL: فاصلهٔ افقی جستجو/منو از ستون لوگو (بدون دست زدن به خود لوگو) */
    padding-inline-start: clamp(12px, 2.4vw, 24px) !important;
    z-index: 1;
}

.elementor-3819 .elementor-element-2e15cb97 .elementor-element-70dc8e77 {
    order: 1;
    flex: 1 1 140px;
    width: auto !important;
    max-width: min(220px, 100%) !important;
    min-width: 0;
    --container-widget-width: 100% !important;
}

/* فاصلهٔ المنتور بین جستجو و دکمه (post-3819 قبلاً 16px بود) */
.elementor-3819 .elementor-element-2e15cb97 .elementor-element-70dc8e77 > .elementor-widget-container {
    margin: 0 !important;
}

.elementor-3819 .elementor-element-2e15cb97 .elementor-element-3bd87371 {
    order: 2;
    flex: 0 0 auto;
}

.elementor-3819 .elementor-element-2e15cb97 .elementor-element-5e861421 {
    display: none !important;
}

.elementor-3819 .elementor-element-2e15cb97 .elementor-element-3f7c8060 {
    order: 10;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.elementor-3819 .elementor-element-5d489912 > .elementor-widget-wrap {
    anchor-name: --donate-header-tools-tb;
    position: relative;
    z-index: 2;
}

/* Fallback بدون anchor (خط کاملاً زیر نوار ابزار؛ مرورگرهای قدیمی) */
.elementor-3819 .elementor-element-3d58f781 .elementor-container::before,
.elementor-3819 .elementor-element-3d58f781 .elementor-container::after,
.elementor-3819 .elementor-element-78aa371 .elementor-container::before,
.elementor-3819 .elementor-element-78aa371 .elementor-container::after {
    top: 224px;
}

.elementor-3819 .elementor-element-3d58f781 .elementor-container::before,
.elementor-3819 .elementor-element-78aa371 .elementor-container::before {
    content: "";
    position: absolute;
    left: 0;
    right: calc(50% + var(--donate-logo-line-inset, 102px));
    height: 0;
    border-top: 1px solid #b7bcc2;
    z-index: 0;
    pointer-events: none;
}

.elementor-3819 .elementor-element-3d58f781 .elementor-container::after,
.elementor-3819 .elementor-element-78aa371 .elementor-container::after {
    content: "";
    position: absolute;
    left: calc(50% + var(--donate-logo-line-inset, 102px));
    right: 0;
    height: 0;
    border-top: 1px solid #b7bcc2;
    z-index: 0;
    pointer-events: none;
}

@supports (top: anchor(--donate-header-tools bottom)) {
    .elementor-3819 .elementor-element-3d58f781 .elementor-container::before,
    .elementor-3819 .elementor-element-3d58f781 .elementor-container::after {
        top: calc(anchor(--donate-header-tools bottom) + 6px);
    }
}

@supports (top: anchor(--donate-header-tools-tb bottom)) {
    .elementor-3819 .elementor-element-78aa371 .elementor-container::before,
    .elementor-3819 .elementor-element-78aa371 .elementor-container::after {
        top: calc(anchor(--donate-header-tools-tb bottom) + 14px);
    }
}

/* فقط هدر دسکتاپ؛ هدر تبلت با anchor یا fallback */
@media (max-width: 1024px) {
    .elementor-3819 .elementor-element-3d58f781 .elementor-container::before,
    .elementor-3819 .elementor-element-3d58f781 .elementor-container::after {
        top: 196px;
    }
}

/*
 * ستون DOM اول (منوی صفحه اصلی / اخبار): مثل post-3819 فقط padding-top ستون کناری؛
 * به‌اضافهٔ ارتفاع ردیف جستجو+دکمهٔ ستون سوم تا دو منو زیر خط هم‌تراز بمانند.
 */
.elementor-3819 .elementor-element-1e672c39 > .elementor-widget-wrap.elementor-element-populated,
.elementor-3819 .elementor-element-1e672c39 > .elementor-widget-wrap {
    align-items: flex-start !important;
    align-content: flex-start !important;
    padding-top: calc(var(--donate-header-col-pad-top) + var(--donate-header-tools-h) + var(--donate-header-menu-gap)) !important;
    padding-bottom: 0 !important;
    /* RTL: فاصلهٔ منو از لوگوی وسط */
    padding-inline-end: clamp(12px, 2.4vw, 24px) !important;
}

.elementor-3819 .elementor-element.elementor-element-2e15cb97 .elementor-widget {
    margin-block-end: 0 !important;
    margin-block-start: 0 !important;
    position: relative !important;
}

.elementor-3819 .elementor-element.elementor-element-2e15cb97 .elementor-widget-hfe-search-button,
.elementor-3819 .elementor-element.elementor-element-2e15cb97 .elementor-widget-button {
    display: flex !important;
    align-items: center !important;
}

.elementor-3819 .elementor-element.elementor-element-2e15cb97 .elementor-widget-container {
    display: flex !important;
    align-items: center !important;
}

.elementor-3819 .elementor-element.elementor-element-2e15cb97 .hfe-search-button-wrapper,
.elementor-3819 .elementor-element.elementor-element-2e15cb97 .elementor-button-wrapper {
    display: flex !important;
    align-items: center !important;
}

.elementor-3819 .elementor-element.elementor-element-2e15cb97 .hfe-search-form__input,
.elementor-3819 .elementor-element.elementor-element-2e15cb97 .elementor-button {
    align-self: center !important;
}

/* جستجو + حساب کاربری: جمع‌وجور و نزدیک به هم مثل سایت اصلی (post-3819: فونت 13px / دکمه padding کمتر) */
.elementor-3819 .elementor-element-2e15cb97 .hfe-search-form__container,
.elementor-3819 .elementor-element-2e15cb97 .hfe-search-form__input {
    border-radius: 999px !important;
}

.elementor-3819 .elementor-element-2e15cb97 .hfe-search-form__container {
    min-height: 36px !important;
    align-items: center !important;
}

.elementor-3819 .elementor-element-2e15cb97 .hfe-search-form__container button#clear {
    min-width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    margin-inline-start: 2px !important;
}

.elementor-3819 .elementor-element-2e15cb97 .hfe-search-form__input {
    min-height: 36px !important;
    height: 36px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    box-sizing: border-box !important;
}

.elementor-3819 .elementor-element-2e15cb97 .elementor-button {
    min-height: 36px !important;
    height: 36px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    border-radius: 999px !important;
    box-shadow: 0 2px 12px rgba(95, 106, 105, 0.18) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

/* Font Awesome لود نیست — آیکن پاک‌کردن جستجو */
.elementor-3819 .elementor-element-70dc8e77 button#clear .fas.fa-times,
.elementor-3819 .elementor-element-70dc8e77 .clearable__clear {
    font-family: inherit !important;
    font-size: 0 !important;
}

.elementor-3819 .elementor-element-70dc8e77 button#clear .fas.fa-times::before,
.elementor-3819 .elementor-element-70dc8e77 .clearable__clear::before {
    content: "×";
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    color: #7a7a7a;
}

/* زیرمنو: <i class="fa"> بدون Font Awesome — فلش پایین واضح */
.elementor-3819 .uael-nav-menu .sub-arrow i.fa {
    display: none !important;
}

.elementor-3819 .uael-nav-menu .sub-arrow::before {
    content: none !important;
}

.elementor-3819 .uael-nav-menu .menu-item-has-children .sub-arrow::after {
    content: "\25BE";
    font-family: "PeydaWebVF", "peyda", Tahoma, sans-serif !important;
    font-size: 0.65rem;
    line-height: 1;
    display: inline-block;
    margin-inline-start: 0.3em;
    vertical-align: middle;
    opacity: 0.72;
}

.elementor-3819 .uael-nav-menu .menu-item-has-children:hover .sub-arrow::after {
    opacity: 1;
}

.elementor-3821 .elementor-element.elementor-element-1804f5e5:not(.elementor-motion-effects-element-type-background) > .elementor-widget-wrap,
.elementor-3821 .elementor-element.elementor-element-1804f5e5 > .elementor-widget-wrap > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-image: linear-gradient(180deg, rgba(12, 22, 22, 0.82) 0%, rgba(10, 18, 18, 0.92) 100%), url("./Asset-1-12.png") !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
}

/* فوتر: فاصله‌ها جمع‌وجورتر + رنگ تیترها مثل سایت اصلی (post-3821) */
.elementor-3821 .elementor-element-1804f5e5 > .elementor-element-populated {
    padding: 18px clamp(20px, 4vw, 48px) 12px !important;
}

.elementor-3821 .elementor-element-e67a834 .elementor-heading-title {
    color: #7dd3c7 !important;
    font-size: 15px !important;
}

.elementor-3821 .elementor-element-bc4ef58 > .elementor-widget-container {
    margin-top: 10px !important;
}

.elementor-3821 .elementor-element-bc4ef58 {
    line-height: 1.75 !important;
}

.elementor-3821 .elementor-element-5adfbea1 .elementor-divider,
.elementor-3821 .elementor-element-2a16caf0 .elementor-divider {
    padding-block-start: 6px !important;
    padding-block-end: 6px !important;
}

.elementor-3821 .elementor-element-1c5e41ca {
    --grid-column-gap: 12px !important;
}

.elementor-3821 .elementor-element-12407cec .elementor-heading-title,
.elementor-3821 .elementor-element-1ebb1878 .elementor-heading-title,
.elementor-3821 .elementor-element-150b88d .elementor-heading-title {
    color: #64a39a !important;
    font-size: 17px !important;
}

.elementor-3821 .elementor-element-43c5ce7 .elementor-icon-list-items:not(.elementor-inline-items) .elementor-icon-list-item:not(:last-child),
.elementor-3821 .elementor-element-7e9516c5 .elementor-icon-list-items:not(.elementor-inline-items) .elementor-icon-list-item:not(:last-child) {
    padding-block-end: 4px !important;
}

.elementor-3821 .elementor-element-43c5ce7 .elementor-icon-list-items:not(.elementor-inline-items) .elementor-icon-list-item:not(:first-child),
.elementor-3821 .elementor-element-7e9516c5 .elementor-icon-list-items:not(.elementor-inline-items) .elementor-icon-list-item:not(:first-child) {
    margin-block-start: 4px !important;
}

.elementor-3821 .elementor-element-43c5ce7 > .elementor-widget-container,
.elementor-3821 .elementor-element-7e9516c5 > .elementor-widget-container {
    margin-top: 6px !important;
}

.elementor-3821 .elementor-element-43c5ce7 .elementor-icon-list-item > .elementor-icon-list-text,
.elementor-3821 .elementor-element-43c5ce7 .elementor-icon-list-item > a,
.elementor-3821 .elementor-element-7e9516c5 .elementor-icon-list-item > .elementor-icon-list-text,
.elementor-3821 .elementor-element-7e9516c5 .elementor-icon-list-item > a {
    font-size: 14px !important;
}

.elementor-3821 .elementor-element-4013de4b > .elementor-widget-wrap > .elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute) {
    margin-block-end: 6px !important;
}

.elementor-3821 .elementor-element-15b5e552 .elementor-icon-box-title,
.elementor-3821 .elementor-element-15b5e552 .elementor-icon-box-title a,
.elementor-3821 .elementor-element-1441fec9 .elementor-icon-box-title,
.elementor-3821 .elementor-element-1441fec9 .elementor-icon-box-title a,
.elementor-3821 .elementor-element-584aee35 .elementor-icon-box-title,
.elementor-3821 .elementor-element-584aee35 .elementor-icon-box-title a {
    color: #c5cdd1 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
}

.elementor-3821 .elementor-element-15b5e552 > .elementor-widget-container,
.elementor-3821 .elementor-element-1441fec9 > .elementor-widget-container,
.elementor-3821 .elementor-element-584aee35 > .elementor-widget-container {
    margin-top: 2px !important;
    margin-bottom: 0 !important;
}

.elementor-3821 .elementor-element-15b5e552 .elementor-icon-box-wrapper,
.elementor-3821 .elementor-element-1441fec9 .elementor-icon-box-wrapper,
.elementor-3821 .elementor-element-584aee35 .elementor-icon-box-wrapper {
    gap: 8px !important;
}

.elementor-3821 .elementor-element-6005b1c7 > .elementor-widget-wrap,
.elementor-3821 .elementor-element-339947f7 > .elementor-widget-wrap,
.elementor-3821 .elementor-element-4013de4b > .elementor-widget-wrap {
    align-content: flex-start !important;
    align-items: flex-start !important;
}

.elementor-3821 .elementor-element-6bd0517 > .elementor-container {
    column-gap: 22px !important;
}

.elementor-3821 .elementor-element-62d6798 > .elementor-widget-container {
    margin-top: 4px !important;
}

.elementor-3821 .elementor-element-45ad036f {
    padding-top: 8px !important;
    padding-bottom: 10px !important;
}

@media (max-width: 767px) {
    .elementor-3821 .elementor-element-1804f5e5 > .elementor-element-populated {
        padding: 16px 16px 10px !important;
    }

    .elementor-3821 .elementor-element-6bd0517 > .elementor-container {
        column-gap: 14px !important;
    }
}

.elementor-element.elementor-element-54d31d9d.uael-nav-menu__align-left.uael-submenu-open-hover.uael-submenu-icon-arrow.uael-submenu-animation-none.uael-link-redirect-child.uael-nav-menu__breakpoint-tablet.elementor-widget.elementor-widget-uael-nav-menu {
    padding-top: 25px;
}
.elementor-element.elementor-element-3f7c8060.uael-nav-menu__align-right.uael-submenu-open-hover.uael-submenu-icon-arrow.uael-submenu-animation-none.uael-link-redirect-child.uael-nav-menu__breakpoint-tablet.elementor-widget.elementor-widget-uael-nav-menu {
    padding-top: 15px;
}

/* Mobile donate redesign inspired by mahak-charity.org */
.donate-mobile-header {
    display: none;
}

.donate-mobile-topbar {
    display: none;
}

.donate-mobile-menu {
    display: none !important;
}

@media (max-width: 767px) {
    .public-header {
        display: none !important;
    }

    #masthead {
        display: none !important;
    }

    main {
        background: #fff !important;
    }

    .donate-mobile-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: min(100%, 520px);
        margin: 8px auto 0;
        min-height: 68px;
        padding: 0 14px;
        border-bottom: 1px solid #eff1f4;
        background: #fff;
    }

    .donate-mobile-topbar img {
        width: 52px;
        height: 52px;
        object-fit: contain;
    }

    .donate-mobile-brand {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        margin-inline-end: auto;
        margin-inline-start: 8px;
    }

    .donate-mobile-brand span {
        font-size: 12px;
        line-height: 1.25;
        color: #3f4650;
        font-weight: 600;
        white-space: nowrap;
    }

    .donate-mobile-menu-btn {
        width: 40px;
        height: 40px;
        border: 0;
        background: transparent;
        padding: 0;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        cursor: pointer;
    }

    .donate-mobile-menu-btn span {
        width: 19px;
        height: 2px;
        border-radius: 2px;
        background: #2f343b;
        display: block;
    }

    .donate-mobile-account-btn {
        min-width: 96px;
        height: 38px;
        border-radius: 999px;
        background: #fff;
        border: 1px solid #eceef2;
        box-shadow: 0 3px 10px rgba(31, 41, 55, 0.07);
        color: #3f4650;
        font-size: 16px;
        font-weight: 500;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .donate-mobile-menu {
        display: none;
    }

    .donate-mobile-menu.is-open {
        display: flex !important;
        flex-direction: column;
        gap: 2px;
        width: min(100%, 520px);
        margin: 0 auto 8px;
        padding: 8px 14px 10px;
        border-bottom: 1px solid #eff1f4;
        background: #fff;
    }

    .donate-mobile-menu a {
        display: block;
        padding: 8px 2px;
        font-size: 14px;
        color: #4b5563;
    }

    .donate-hero {
        background: #fff !important;
        min-height: auto;
    }

    .donate-hero::after,
    .hero-image-placeholder,
    .donate-hero-copy {
        display: none !important;
    }

    .donate-hero-inner {
        width: min(100%, 520px);
        padding: 10px 14px 16px;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .donate-card {
        border: 1px solid #ececf0;
        border-radius: 18px;
        box-shadow: none;
        padding: 12px;
        background: #fbfbfc;
    }

    .donate-card-head h2 {
        font-size: 31px;
        color: #3f4650;
    }

    .donate-card-head p {
        margin-top: 3px;
        font-size: 12px;
        color: #9ca3af;
    }

    .donate-method {
        border-color: #cfe4df;
        background: #eff7f4;
        border-radius: 14px;
        padding: 10px 12px;
        margin-bottom: 8px;
    }

    .donate-method span {
        font-size: 21px;
        color: #2f3136;
    }

    .donate-method small {
        font-size: 13px;
        color: #2d5a53;
        font-weight: 500;
    }

    .donate-field {
        margin-bottom: 8px;
    }

    .donate-field label {
        font-size: 13px;
        color: #5d626b;
        margin-bottom: 6px;
    }

    .donate-field input,
    .donate-field select {
        height: 44px;
        border-radius: 12px;
        border: 1px solid #e7e8ed;
        background: #fff;
        font-size: 13px;
    }

    .donate-amount-group span {
        min-width: 56px;
        height: 44px;
        border-radius: 12px;
        background: #f4f5f7;
        color: #6b7280;
        font-size: 12px;
    }

    .preset-grid {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .preset-grid button {
        height: 40px;
        border-radius: 12px;
        font-size: 13px;
        background: #f3f5f7;
        color: #3f4650;
        border-color: #d4d8dd;
        opacity: 1;
    }

    .donate-submit {
        height: 44px;
        border-radius: 14px;
        background: linear-gradient(90deg, #5b958d 0%, #64a39a 100%);
        font-size: 14px;
        font-weight: 600;
    }

    .donate-note {
        font-size: 11px;
        margin-top: 6px;
    }

    .faq-wrap {
        width: min(100%, 520px);
        padding: 0 14px 12px;
        margin: 4px auto 0;
    }

    .faq-wrap h3 {
        font-size: 18px;
    }

    .faq-item {
        border-radius: 10px;
        padding: 10px 12px;
    }

    .faq-item summary {
        font-size: 13px;
    }

    #donate-amount-input::placeholder,
    #donate-phone-input::placeholder {
        color: #9aa3ad;
        opacity: 1;
    }

    .donate-note {
        display: none;
    }
}

@media (max-width: 767px) {
    .public-footer {
        padding: 18px 0 8px;
    }

    .public-footer-top-image {
        width: min(180px, 52vw);
        margin-bottom: 8px;
    }

    .public-footer-card {
        width: min(100%, 520px);
        padding: 14px 14px 10px;
        border-radius: 22px 22px 14px 14px;
    }

    .public-footer-title {
        font-size: 24px;
        line-height: 1.25;
        gap: 6px;
    }

    .public-footer-about {
        margin: 8px auto 10px;
        font-size: 12px;
        line-height: 1.9;
    }

    .public-footer-social {
        margin-bottom: 10px;
        gap: 8px;
    }

    .public-footer-social-icons a {
        width: 28px;
        height: 28px;
    }

    .public-footer-cols {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .public-footer-cols section {
        width: 100%;
    }

    .public-footer-cols h4 {
        font-size: 28px;
        margin-bottom: 6px;
    }

    .public-footer-cols li {
        font-size: 23px;
        line-height: 1.55;
    }

    .public-footer-contact li {
        align-items: flex-start;
        gap: 8px;
    }

    .public-footer-contact li span:last-child {
        flex: 1;
    }

    .public-contact-icon {
        margin-top: 2px;
    }

    .public-footer-crown {
        width: 64px;
        margin: 8px auto -14px;
    }

    .public-footer-bottom {
        width: min(100%, 520px);
        margin-top: 8px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 4px;
        font-size: 11px;
    }
}

/* Footer mobile cleanup (only mobile) */
@media (max-width: 767px) {
    .elementor-3821 .elementor-element-1804f5e5 > .elementor-element-populated {
        border-radius: 24px 24px 14px 14px !important;
        padding: 14px 14px 10px !important;
    }

    .elementor-3821 .elementor-element-bc4ef58 {
        font-size: 12px !important;
        line-height: 1.9 !important;
    }

    .elementor-3821 .elementor-element-6bd0517 {
        margin-top: 8px !important;
    }

    .elementor-3821 .elementor-element-6bd0517 > .elementor-container {
        display: grid !important;
        grid-template-columns: 1fr !important;
        row-gap: 8px !important;
    }

    .elementor-3821 .elementor-element-6005b1c7,
    .elementor-3821 .elementor-element-339947f7,
    .elementor-3821 .elementor-element-4013de4b {
        width: 100% !important;
    }

    .elementor-3821 .elementor-element-12407cec .elementor-heading-title,
    .elementor-3821 .elementor-element-1ebb1878 .elementor-heading-title,
    .elementor-3821 .elementor-element-150b88d .elementor-heading-title {
        font-size: 18px !important;
    }

    .elementor-3821 .elementor-element-43c5ce7 .elementor-icon-list-item > a,
    .elementor-3821 .elementor-element-7e9516c5 .elementor-icon-list-item > a {
        font-size: 14px !important;
        line-height: 1.45 !important;
    }

    .elementor-3821 .elementor-element-15b5e552 .elementor-icon-box-title,
    .elementor-3821 .elementor-element-1441fec9 .elementor-icon-box-title,
    .elementor-3821 .elementor-element-584aee35 .elementor-icon-box-title {
        font-size: 12px !important;
        line-height: 1.55 !important;
    }

    .elementor-3821 .elementor-element-43c5ce7 .elementor-icon-list-items:not(.elementor-inline-items) .elementor-icon-list-item:not(:last-child),
    .elementor-3821 .elementor-element-7e9516c5 .elementor-icon-list-items:not(.elementor-inline-items) .elementor-icon-list-item:not(:last-child) {
        padding-block-end: 2px !important;
    }

    .elementor-3821 .elementor-element-43c5ce7 .elementor-icon-list-items:not(.elementor-inline-items) .elementor-icon-list-item:not(:first-child),
    .elementor-3821 .elementor-element-7e9516c5 .elementor-icon-list-items:not(.elementor-inline-items) .elementor-icon-list-item:not(:first-child) {
        margin-block-start: 2px !important;
    }

    .elementor-3821 .elementor-element-15b5e552 > .elementor-widget-container,
    .elementor-3821 .elementor-element-1441fec9 > .elementor-widget-container,
    .elementor-3821 .elementor-element-584aee35 > .elementor-widget-container {
        margin-top: 0 !important;
    }

    .elementor-3821 .elementor-element-15b5e552 .elementor-icon-box-wrapper,
    .elementor-3821 .elementor-element-1441fec9 .elementor-icon-box-wrapper,
    .elementor-3821 .elementor-element-584aee35 .elementor-icon-box-wrapper {
        gap: 5px !important;
    }

    .elementor-3821 .elementor-element-4013de4b > .elementor-widget-wrap > .elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute) {
        margin-block-end: 2px !important;
    }

    .elementor-3821 .elementor-element-5fc1ca53,
    .elementor-3821 .elementor-element-664e5683,
    .elementor-3821 .elementor-element-203c4d56 {
        display: none !important;
    }

    .elementor-3821 .elementor-element-bc4ef58 > .elementor-widget-container {
        margin-top: 6px !important;
        margin-bottom: 4px !important;
    }

    .elementor-3821 .elementor-element-45ad036f > .elementor-container {
        display: grid !important;
        grid-template-columns: 1fr !important;
        row-gap: 4px !important;
    }

    .elementor-3821 .elementor-element-7bcbb657,
    .elementor-3821 .elementor-element-78408f1e {
        width: 100% !important;
    }

    .elementor-3821 .elementor-element-78408f1e.elementor-column > .elementor-widget-wrap {
        justify-content: flex-start !important;
    }
}
.public-nav a {
    font-size: 16px !important;
}