:root {
  --rt-font-main: Vazirmatn, IRANSans, "IRANSansX", "Yekan Bakh", "Segoe UI", Tahoma, Arial, sans-serif;

  --rt-brand-blue: #0095DA;
  --rt-brand-orange: #F6882E;

  --rt-text-main: #243447;
  --rt-text-soft: #475467;
  --rt-text-muted: #667085;

  --rt-heading-h1: #102A43;
  --rt-heading-h2: #005F8C;
  --rt-heading-h3: #0077A8;
  --rt-heading-h4: #344054;

  --rt-link: #0077B6;
  --rt-link-hover: #005F8C;

  --rt-orange-text: #B85A12;
  --rt-orange-dark: #9A4A0F;

  --rt-border: #E5E7EB;
  --rt-border-blue: rgba(0, 149, 218, 0.28);
  --rt-border-orange: rgba(246, 136, 46, 0.34);

  --rt-bg-soft: #F8FAFC;
  --rt-bg-blue-soft: #EAF7FD;
  --rt-bg-orange-soft: #FFF3E8;
  --rt-bg-green-soft: #ECFDF5;
  --rt-mark: #FFF3BF;

  --rt-radius-sm: 8px;
  --rt-radius-md: 12px;
  --rt-radius-lg: 16px;
}

/* ---------- ØªÙ†Ø¸ÛŒÙ…Ø§Øª Ù¾Ø§ÛŒÙ‡ ---------- */
.description {
  font-family: var(--rt-font-main);
  color: var(--rt-text-main);
  font-size: 16px;
  line-height: 1.85;
  direction: rtl;
  text-align: right;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.description button,
.description input,
.description select,
.description textarea {
  font-family: inherit;
}

.description ::selection {
  background: rgba(0, 149, 218, 0.18);
  color: #102A43;
}

.description {
  font-family: var(--rt-font-main);
  color: var(--rt-text-main);
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: break-word;
}

.description p {
  font-size: 16px;
  line-height: 1.95;
  color: var(--rt-text-main);
  margin: 0 0 18px;
}

.description :where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--rt-font-main);
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  padding-bottom: 0 !important;
  text-decoration: none !important;
  overflow-wrap: break-word;
}

/* Ø­Ø°Ù Ø®Ø·â€ŒÙ‡Ø§ÛŒ ØªØ²Ø¦ÛŒÙ†ÛŒ Ø§Ø­ØªÙ…Ø§Ù„ÛŒ Ù‚Ø§Ù„Ø¨ */
.description :where(h1, h2, h3, h4, h5, h6)::before,
.description :where(h1, h2, h3, h4, h5, h6)::after {
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}

/* H1 */
.description h1 {
  font-size: clamp(23px, 2.6vw, 30px);
  line-height: 1.45;
  font-weight: 800;
  color: var(--rt-heading-h1);
  letter-spacing: -0.25px;
  margin: 0 0 20px;
}

/* H2 */
.description h2 {
  font-size: clamp(20px, 2.2vw, 25px);
  line-height: 1.5;
  font-weight: 800;
  color: var(--rt-heading-h2);
  letter-spacing: -0.2px;
  margin: 32px 0 14px;
}

/* H3 */
.description h3 {
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.55;
  font-weight: 750;
  color: var(--rt-heading-h3);
  margin: 26px 0 11px;
}

/* H4 */
.description h4 {
  font-size: 17px;
  line-height: 1.6;
  font-weight: 750;
  color: var(--rt-heading-h4);
  margin: 22px 0 10px;
}

/* H5 */
.description h5 {
  font-size: 15.5px;
  line-height: 1.65;
  font-weight: 750;
  color: var(--rt-heading-h4);
  margin: 20px 0 8px;
}

/* H6 */
.description h6 {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 800;
  color: var(--rt-text-muted);
  margin: 18px 0 8px;
}

/* ØªÛŒØªØ± Ù†Ø²Ø¯ÛŒÚ© Ø¨Ù‡ Ù…ØªÙ† Ø²ÛŒØ± Ø®ÙˆØ¯Ø´ */
.description :where(h1, h2, h3, h4, h5, h6)+p {
  margin-top: 0;
}

/* =========================================================
   Ù„ÛŒÙ†Ú©â€ŒÙ‡Ø§
   Ù„ÛŒÙ†Ú© Ø¯Ø§Ø®Ù„ Ù…ØªÙ† Ø¨Ø§ÛŒØ¯ Ù‚Ø§Ø¨Ù„ ØªØ´Ø®ÛŒØµ Ø¨Ø§Ø´Ø¯ØŒ ÙˆÙ„ÛŒ Ø¯Ú©Ù…Ù‡â€ŒÙ‡Ø§ Ø®Ø±Ø§Ø¨ Ù†Ø´ÙˆÙ†Ø¯
   ========================================================= */

.description a:not(.btn):not(.button):not([class*="btn"]):not([class*="button"]):not([role="button"]) {
  color: var(--rt-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.description a:not(.btn):not(.button):not([class*="btn"]):not([class*="button"]):not([role="button"]):hover {
  color: var(--rt-link-hover);
}

/* =========================================================
   Ù…ØªÙ†â€ŒÙ‡Ø§ÛŒ ØªØ£Ú©ÛŒØ¯ÛŒ
   ========================================================= */

.description :where(strong, b) {
  font-weight: 800;
  color: #111827;
}

.description :where(em, i) {
  color: var(--rt-text-soft);
}

.description mark {
  background: var(--rt-mark);
  color: #111827;
  padding: 2px 6px;
  border-radius: var(--rt-radius-sm);
}

.description small {
  font-size: 13px;
  line-height: 1.7;
  color: var(--rt-text-muted);
}

/* =========================================================
   Ù„ÛŒØ³Øªâ€ŒÙ‡Ø§
   ========================================================= */

.description :where(ul, ol) {
  margin: 0 0 24px;
  padding-right: 24px;
  padding-left: 0;
}

.description li {
  font-size: 16px;
  line-height: 1.9;
  color: var(--rt-text-main);
  margin-bottom: 8px;
  padding-right: 3px;
}

.description li :where(ul, ol) {
  margin-top: 8px;
  margin-bottom: 8px;
}

/* =========================================================
   Ù„ÛŒØ³Øª ØªÙˆØ¶ÛŒØ­ÛŒ dl / dt / dd
   ========================================================= */

.description dl {
  margin: 0 0 24px;
}

.description dt {
  font-weight: 800;
  color: var(--rt-heading-h1);
  margin: 18px 0 6px;
}

.description dd {
  margin: 0 0 14px;
  color: var(--rt-text-soft);
  line-height: 1.85;
}

/* =========================================================
   Ù†Ù‚Ù„ Ù‚ÙˆÙ„ Ùˆ Ø¨Ø§Ú©Ø³ ØªØ£Ú©ÛŒØ¯ÛŒ
   ========================================================= */

.description blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  background: var(--rt-bg-blue-soft);
  border: none;
  border-right: 4px solid var(--rt-brand-blue);
  border-radius: var(--rt-radius-lg);
  color: #1E3A5F;
  font-size: 16px;
  line-height: 1.9;
}

.description blockquote p {
  margin-bottom: 0;
  color: inherit;
}

/* Ú©Ù„Ø§Ø³â€ŒÙ‡Ø§ÛŒ Ø¢Ù…Ø§Ø¯Ù‡ Ø¨Ø±Ø§ÛŒ Ø¨Ø§Ú©Ø³â€ŒÙ‡Ø§ÛŒ Ù…ØªÙ†ÛŒØŒ Ø§Ú¯Ø± Ø¯Ø§Ø®Ù„ Ù…Ø­ØªÙˆØ§ Ø§Ø³ØªÙØ§Ø¯Ù‡ Ø´ÙˆÙ†Ø¯ */
.rt-note,
.rt-tip,
.rt-warning,
.rt-summary {
  border-radius: var(--rt-radius-lg);
  padding: 16px 18px;
  margin: 24px 0;
  line-height: 1.9;
}

.rt-note,
.rt-tip {
  background: var(--rt-bg-blue-soft);
  border-right: 4px solid var(--rt-brand-blue);
  color: #1E3A5F;
}

.rt-warning {
  background: var(--rt-bg-orange-soft);
  border-right: 4px solid var(--rt-brand-orange);
  color: var(--rt-orange-dark);
}

.rt-summary {
  background: var(--rt-bg-soft);
  border: 1px solid var(--rt-border);
  color: var(--rt-text-main);
}

/* =========================================================
   Ø¬Ø¯ÙˆÙ„â€ŒÙ‡Ø§
   ========================================================= */

.description table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 28px 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--rt-text-main);
}

.description :where(th, td) {
  padding: 13px 15px;
  border: 1px solid var(--rt-border);
  vertical-align: top;
  text-align: right;
}

.description th {
  background: var(--rt-bg-blue-soft);
  color: var(--rt-heading-h1);
  font-weight: 800;
}

.description tr:nth-child(even) td {
  background: #FCFCFD;
}

.description caption {
  caption-side: bottom;
  padding-top: 10px;
  color: var(--rt-text-muted);
  font-size: 13.5px;
  line-height: 1.7;
}

/* =========================================================
   ØªØµÙˆÛŒØ±ØŒ figure Ùˆ Ú©Ù¾Ø´Ù†
   ========================================================= */

.description img {
  max-width: 100%;
  height: auto;
}

.description figure {
  margin: 28px 0;
}

.description figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--rt-text-muted);
  text-align: center;
}

/* =========================================================
   Ú©Ø¯ØŒ preØŒ kbdØŒ samp
   ========================================================= */

.description :where(code, kbd, samp) {
  font-family: Consolas, Monaco, "Courier New", monospace;
  direction: ltr;
  unicode-bidi: plaintext;
  background: #F3F4F6;
  color: #B42318;
  padding: 2px 6px;
  border-radius: var(--rt-radius-sm);
  font-size: 0.92em;
}

.description pre {
  direction: ltr;
  text-align: left;
  background: #111827;
  color: #F9FAFB;
  padding: 18px 20px;
  border-radius: var(--rt-radius-lg);
  overflow-x: auto;
  margin: 28px 0;
  line-height: 1.75;
  font-size: 14px;
}

.description pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  border-radius: 0;
}

/* =========================================================
   FAQ / details / summary
   ========================================================= */

.description details {
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-radius-lg);
  padding: 14px 16px;
  margin: 18px 0;
  background: #FFFFFF;
}

.description summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--rt-heading-h1);
  line-height: 1.7;
}

.description details[open] {
  background: var(--rt-bg-soft);
  border-color: var(--rt-border-blue);
}

/* =========================================================
   Ø¬Ø¯Ø§Ú©Ù†Ù†Ø¯Ù‡ØŒ Ø¢Ø¯Ø±Ø³ØŒ Ù…Ø®ÙÙØŒ Ù†Ù‚Ù„ Ù…Ù†Ø¨Ø¹
   ========================================================= */

.description hr {
  border: 0;
  height: 1px;
  background: var(--rt-border);
  margin: 34px 0;
}

.description address {
  font-style: normal;
  background: var(--rt-bg-soft);
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-radius-lg);
  padding: 16px 18px;
  margin: 24px 0;
  line-height: 1.85;
  color: var(--rt-text-main);
}

.description abbr {
  text-decoration: underline dotted;
  text-underline-offset: 4px;
  cursor: help;
}

.description cite {
  color: var(--rt-text-muted);
  font-style: normal;
}

.description q {
  color: var(--rt-heading-h2);
}

/* =========================================================
   sup / sub / del / ins / time
   ========================================================= */

.description :where(sup, sub) {
  font-size: 75%;
  line-height: 0;
}

.description del {
  color: #98A2B3;
}

.description ins {
  color: #027A48;
  text-decoration: none;
  background: var(--rt-bg-green-soft);
  padding: 1px 5px;
  border-radius: var(--rt-radius-sm);
}

.description time {
  color: var(--rt-text-muted);
}

/* =========================================================
   Ù…ÙˆØ¨Ø§ÛŒÙ„
   ========================================================= */

@media (max-width: 768px) {
  .description {
    font-size: 15.5px;
    line-height: 1.85;
  }

  .description {
    font-size: 15.5px;
    line-height: 1.85;
  }

  .description p {
    font-size: 15.5px;
    line-height: 1.9;
    margin-bottom: 16px;
  }

  .description h1 {
    font-size: 22px;
    line-height: 1.45;
    margin-bottom: 18px;
  }

  .description h2 {
    font-size: 19px;
    line-height: 1.5;
    margin-top: 26px;
    margin-bottom: 12px;
  }

  .description h3 {
    font-size: 17.5px;
    line-height: 1.55;
    margin-top: 22px;
    margin-bottom: 10px;
  }

  .description h4 {
    font-size: 16px;
    line-height: 1.6;
  }

  .description h5 {
    font-size: 15px;
  }

  .description li {
    font-size: 15.5px;
    line-height: 1.9;
  }

  .description table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 14px;
  }

  .description :where(th, td) {
    padding: 11px 12px;
  }

  .description blockquote {
    padding: 15px 16px;
    font-size: 15px;
  }

  .description pre {
    font-size: 13px;
    padding: 15px;
  }

  .rt-note,
  .rt-tip,
  .rt-warning,
  .rt-summary {
    padding: 14px 15px;
    margin: 20px 0;
  }
}