.elementor-4983 .elementor-element.elementor-element-377ac5b0{--display:flex;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}/* Start custom CSS for html, class: .elementor-element-6ccacb4 *//* ==========================================================================
   Rahafarin Gold & VAT Calculator Page Stylesheet
   Isolated Class Scope: .rhf-gold-vat-
   ========================================================================== */

.rhf-gold-vat-page {
  --rhf-gv-primary: #b45309; /* رنگ طلایی سوخته/خردلی گرم مناسب طلا */
  --rhf-gv-primary-dark: #78350f;
  --rhf-gv-primary-light: #fef3c7;
  --rhf-gv-primary-border: #fde68a;
  --rhf-gv-accent: #d97706;
  --rhf-gv-text: #1e293b;
  --rhf-gv-text-muted: #64748b;
  --rhf-gv-bg: #fafaf9;
  --rhf-gv-white: #ffffff;
  --rhf-gv-border: #e7e5e4;
  --rhf-gv-radius: 16px;
  --rhf-gv-shadow: 0 10px 30px -5px rgba(180, 83, 9, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);

  background-color: var(--rhf-gv-bg);
  color: var(--rhf-gv-text);
  font-family: inherit;
  line-height: 1.95;
  direction: rtl;
}

.rhf-gold-vat-page *,
.rhf-gold-vat-page *::before,
.rhf-gold-vat-page *::after {
  box-sizing: border-box;
}

.rhf-gold-vat-container {
  width: min(1080px, calc(100% - 32px));
  margin-inline: auto;
}

/* ---------------- Hero Section ---------------- */
.rhf-gold-vat-hero {
  position: relative;
  background: linear-gradient(135deg, #451a03 0%, var(--rhf-gv-primary-dark) 50%, var(--rhf-gv-primary) 100%);
  color: var(--rhf-gv-white);
  padding: 64px 0 90px;
  text-align: center;
}

.rhf-gold-vat-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
}

.rhf-gold-vat-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.4;
  color: #ffffff;
}

.rhf-gold-vat-lead {
  max-width: 820px;
  margin: 0 auto 28px;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 2.1;
}

.rhf-gold-vat-hero-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.rhf-gold-vat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  font-size: 0.9rem;
}

.rhf-gold-vat-pill strong {
  color: #fde68a;
}

/* ---------------- Main Content Layout ---------------- */
.rhf-gold-vat-main {
  padding-bottom: 70px;
}

/* ---------------- Calculator Card ---------------- */
.rhf-gold-vat-calculator-card {
  position: relative;
  z-index: 5;
  background: var(--rhf-gv-white);
  border: 1px solid var(--rhf-gv-border);
  border-radius: var(--rhf-gv-radius);
  box-shadow: var(--rhf-gv-shadow);
  padding: 32px;
  margin-top: -55px;
  margin-bottom: 36px;
}

.rhf-gold-vat-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rhf-gv-border);
  margin-bottom: 24px;
}

.rhf-gold-vat-card-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--rhf-gv-primary-light);
  color: var(--rhf-gv-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border: 1px solid var(--rhf-gv-primary-border);
}

.rhf-gold-vat-card-header h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--rhf-gv-primary-dark);
}

.rhf-gold-vat-card-header p {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--rhf-gv-text-muted);
}

.rhf-gold-vat-shortcode-container {
  min-height: 40px;
  padding: 10px 0;
}

.rhf-gold-vat-card-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px dashed var(--rhf-gv-border);
  font-size: 0.85rem;
  color: var(--rhf-gv-text-muted);
}

/* ---------------- Content Article Blocks ---------------- */
.rhf-gold-vat-content-block {
  background: var(--rhf-gv-white);
  border: 1px solid var(--rhf-gv-border);
  border-radius: var(--rhf-gv-radius);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
}

.rhf-gold-vat-content-block h2 {
  position: relative;
  margin: 0 0 18px;
  padding-right: 14px;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 800;
  color: var(--rhf-gv-primary-dark);
}

.rhf-gold-vat-content-block h2::before {
  content: "";
  position: absolute;
  top: 0.35em;
  right: 0;
  width: 4px;
  height: 1.1em;
  border-radius: 99px;
  background: var(--rhf-gv-primary);
}

.rhf-gold-vat-content-block p {
  margin: 0 0 14px;
  color: #334155;
  text-align: justify;
}

.rhf-gold-vat-content-block ul {
  margin: 0 0 16px;
  padding-right: 20px;
  color: #334155;
}

.rhf-gold-vat-content-block li {
  margin-bottom: 8px;
}

/* ---------------- Breakdown Grid ---------------- */
.rhf-gold-vat-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.rhf-gold-vat-breakdown-item {
  background: var(--rhf-gv-primary-light);
  border: 1px solid var(--rhf-gv-primary-border);
  padding: 18px;
  border-radius: 12px;
}

.rhf-gold-vat-breakdown-num {
  display: block;
  font-weight: 800;
  color: var(--rhf-gv-primary-dark);
  font-size: 1rem;
  margin-bottom: 6px;
}

.rhf-gold-vat-breakdown-item p {
  font-size: 0.88rem;
  color: #78350f;
  margin: 0;
}

/* ---------------- Formulas & Examples ---------------- */
.rhf-gold-vat-formula-card {
  background: #faf9f6;
  border: 1px solid var(--rhf-gv-border);
  border-radius: 12px;
  padding: 22px;
}

.rhf-gold-vat-formula-card h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--rhf-gv-primary-dark);
}

.rhf-gold-vat-formula-expression {
  background: #1c1917;
  color: #fde68a;
  border-radius: 10px;
  padding: 18px;
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  direction: rtl;
  text-align: right;
  font-family: inherit;
}

.rhf-gold-vat-formula-expression code {
  font-size: 0.92rem;
  font-weight: 600;
}

.rhf-gold-vat-example {
  background: #ffffff;
  border: 1px dashed var(--rhf-gv-border);
  border-radius: 8px;
  padding: 18px;
  margin-top: 16px;
  font-size: 0.9rem;
  color: #334155;
}

.rhf-gold-vat-example ul {
  margin: 8px 0 0;
  padding-right: 20px;
}

/* ---------------- Steps Grid ---------------- */
.rhf-gold-vat-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.rhf-gold-vat-step {
  background: #fafaf9;
  border: 1px solid var(--rhf-gv-border);
  border-radius: 12px;
  padding: 20px;
}

.rhf-gold-vat-step-badge {
  width: 28px;
  height: 28px;
  background: var(--rhf-gv-primary);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.rhf-gold-vat-step h4 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--rhf-gv-primary-dark);
}

.rhf-gold-vat-step p {
  font-size: 0.86rem;
  color: #64748b;
  margin: 0;
}

/* ---------------- FAQ Accordion ---------------- */
.rhf-gold-vat-faq-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.rhf-gold-vat-faq-item {
  border: 1px solid var(--rhf-gv-border);
  border-radius: 12px;
  background: var(--rhf-gv-white);
  overflow: hidden;
}

.rhf-gold-vat-faq-item summary {
  position: relative;
  padding: 16px 44px 16px 18px;
  color: var(--rhf-gv-text);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  font-size: 0.96rem;
}

.rhf-gold-vat-faq-item summary::-webkit-details-marker {
  display: none;
}

.rhf-gold-vat-faq-item summary::before {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  color: var(--rhf-gv-primary);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
}

.rhf-gold-vat-faq-item[open] summary {
  color: var(--rhf-gv-primary-dark);
  background: var(--rhf-gv-primary-light);
}

.rhf-gold-vat-faq-item[open] summary::before {
  content: "−";
}

.rhf-gold-vat-faq-body {
  padding: 16px 20px 20px;
  color: #475569;
  border-top: 1px solid var(--rhf-gv-border);
  font-size: 0.92rem;
}

.rhf-gold-vat-faq-body p {
  margin: 0;
}

/* ---------------- Disclaimer Footer ---------------- */
.rhf-gold-vat-disclaimer {
  background: #f5f5f4;
  border: 1px solid var(--rhf-gv-border);
  border-radius: 14px;
  padding: 24px;
  margin-top: 28px;
}

.rhf-gold-vat-disclaimer h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #44403c;
}

.rhf-gold-vat-disclaimer p {
  margin: 0;
  font-size: 0.87rem;
  color: var(--rhf-gv-text-muted);
}

.rhf-gold-vat-disclaimer a {
  color: var(--rhf-gv-primary-dark);
  text-decoration: underline;
}

/* ---------------- Responsive Rules ---------------- */
@media (max-width: 768px) {
  .rhf-gold-vat-hero {
    padding: 48px 0 74px;
  }

  .rhf-gold-vat-calculator-card {
    padding: 20px 16px;
    margin-top: -45px;
  }

  .rhf-gold-vat-content-block {
    padding: 22px 18px;
    margin-bottom: 18px;
  }

  .rhf-gold-vat-formula-expression {
    padding: 12px;
    font-size: 0.85rem;
  }

  .rhf-gold-vat-breakdown-grid {
    grid-template-columns: 1fr;
  }
}/* End custom CSS */
/* Start custom CSS for text-editor, class: .elementor-element-4d6362a9 */.gold-calc-wrapper {
    max-width: 600px;
    margin: 20px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    direction: rtl;
    color: #333;
}

.calc-title {
    text-align: center;
    margin-bottom: 25px;
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: bold;
}

/* ===== گرید دو ستونه (فیلدها کنار هم) ===== */
.calc-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.calc-row {
    margin-bottom: 0;
}

.calc-row label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #555;
}

.calc-row input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
    box-sizing: border-box;
}

.calc-row input:focus {
    background: #fff;
    border-color: #d4af37;
}

/* فیلد مالیات تمام‌عرض (چون ۵ فیلد عدد فرد است) */
.calc-row-full {
    grid-column: 1 / -1;
}

.calc-btn {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.calc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.calc-result {
    margin-top: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    animation: fadeIn 0.5s ease;
}

.result-item {
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.result-total {
    font-size: 1.1rem;
    font-weight: bold;
    color: #c0392b;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== موبایل: تک‌ستونه ===== */
@media (max-width: 600px) {
    .calc-fields {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .calc-row-full {
        grid-column: auto;
    }
    .gold-calc-wrapper {
        padding: 20px;
    }
}/* End custom CSS */