/* صفحه سوالات متداول */
.ids-faq {
  direction: rtl;
  padding: 0 0 28px;
  color: #111;
}
.ids-faq * { box-sizing: border-box; }

.ids-faq-hero {
  padding: 20px 16px 16px;
  background: linear-gradient(165deg, #fff 0%, #fff5f7 50%, #ffe8ee 100%);
  border-bottom: 1px solid #f0e4e8;
  text-align: center;
}
.ids-faq-hero h1 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
}
.ids-faq-hero p {
  margin: 0;
  font-size: 13px;
  color: #666;
  line-height: 1.65;
}

.ids-faq-tabs {
  display: flex;
  gap: 8px;
  padding: 14px 16px 6px;
}
.ids-faq-tab {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  border-radius: 12px;
  background: #f4f4f5;
  color: #444;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}
.ids-faq-tab.is-on,
.ids-faq-tab:hover {
  background: var(--ids-brand, #ff4d6d);
  color: #fff;
}

.ids-faq-body {
  padding: 8px 14px 20px;
}

.ids-faq-section {
  margin: 0 0 18px;
}
.ids-faq-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 2px 12px;
  font-size: 15px;
  font-weight: 800;
}
.ids-faq-section-title .ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff0f3;
  color: var(--ids-brand, #ff4d6d);
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* آکاردئون details */
.ids-faq details,
.ids-faq-body details,
.ids-page-content.ids-faq-page details {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  margin: 0 0 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.03);
}
.ids-faq details[open],
.ids-faq-body details[open],
.ids-page-content.ids-faq-page details[open] {
  border-color: #ffd6e0;
  box-shadow: 0 4px 16px rgba(255, 77, 109, .08);
}

.ids-faq summary,
.ids-faq-body summary,
.ids-page-content.ids-faq-page summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 44px 14px 14px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.55;
  color: #1a1a1a;
  position: relative;
  user-select: none;
}
.ids-faq summary::-webkit-details-marker,
.ids-faq-body summary::-webkit-details-marker,
.ids-page-content.ids-faq-page summary::-webkit-details-marker {
  display: none;
}
.ids-faq summary::after,
.ids-faq-body summary::after,
.ids-page-content.ids-faq-page summary::after {
  content: "+";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #f4f4f5;
  color: #333;
  font-size: 16px;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}
.ids-faq details[open] summary::after,
.ids-faq-body details[open] summary::after,
.ids-page-content.ids-faq-page details[open] summary::after {
  content: "−";
  background: var(--ids-brand, #ff4d6d);
  color: #fff;
}

.ids-faq details > *:not(summary),
.ids-faq-body details > *:not(summary),
.ids-page-content.ids-faq-page details > *:not(summary) {
  padding: 0 14px 14px;
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: #555;
  border-top: 1px solid #f5f5f5;
  padding-top: 12px;
  margin-top: 0;
}
.ids-faq details p,
.ids-faq-body details p,
.ids-page-content.ids-faq-page details p {
  margin: 0 0 8px;
}
.ids-faq details p:last-child,
.ids-faq-body details p:last-child {
  margin-bottom: 0;
}

/* پنهان کردن تیترهای خام Elementor که فقط متن‌اند */
.ids-faq-page > p:first-child,
.ids-faq .ids-faq-raw-hide {
  display: none;
}

.ids-faq-cta {
  margin: 8px 14px 0;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #111 0%, #333 100%);
  color: #fff;
  text-align: center;
}
.ids-faq-cta p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.6;
  opacity: .9;
}
.ids-faq-cta a {
  display: inline-block;
  background: var(--ids-brand, #ff4d6d);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 12px;
}
