/* ============================================================
   Duas page — scanned Arabic presented as framed calligraphy
   ============================================================ */

.dua-stack {
  display: grid;
  gap: var(--space-8);
  max-width: 720px;
  margin: 0 auto var(--space-section);
}

.dua-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-surface-line);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6) var(--space-6);
  box-shadow: var(--shadow-card);
  position: relative;
  text-align: center;
}
/* gold cap along the top edge */
.dua-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.dua-card h2 {
  font-size: var(--text-lg);
  margin: 0 0 var(--space-1);
}
.dua-card__note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}
/* small ornament between title and the scan */
.dua-card__rule {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  color: var(--color-gold); margin: var(--space-4) auto var(--space-6);
  max-width: 220px;
}
.dua-card__rule::before, .dua-card__rule::after {
  content: ""; height: 1px; flex: 1;
  background: linear-gradient(90deg, transparent, var(--color-gold-deep));
}
.dua-card__rule::after { transform: scaleX(-1); }
.dua-card__rule span { font-size: 0.7rem; }

/* the framed "plate" that embeds the scan */
.dua-plate {
  margin: 0;
  background: #fff;
  border: 1px solid var(--color-surface-line);
  border-radius: var(--radius);
  padding: clamp(var(--space-4), 3vw, var(--space-8));
  box-shadow: inset 0 0 0 1px #fff, inset 0 0 0 2px rgba(201,162,74,0.28);
}
.dua-plate img {
  width: 100%;
  height: auto;
  display: block;
}

/* Feature the Three Quls */
.dua-card--feature {
  background:
    radial-gradient(120% 80% at 50% 0%, #33445f 0%, var(--color-navy) 55%, var(--color-navy-deep) 100%);
  color: var(--color-on-navy);
  border-color: var(--color-navy-line);
}
.dua-card--feature h2 { color: #fff; }
.dua-card--feature .dua-card__note { color: var(--color-on-navy-dim); }
.dua-card--feature .dua-card__rule { color: var(--color-gold-soft); }
.dua-card--feature .dua-card__rule::before,
.dua-card--feature .dua-card__rule::after { background: linear-gradient(90deg, transparent, var(--color-gold-soft)); }
.dua-card--feature .dua-plate { box-shadow: inset 0 0 0 1px #fff, inset 0 0 0 3px rgba(201,162,74,0.5); }
