/* سرلوح دکمه + کادر نسخه؛ بدون کولاژ */
.fal-illum,
.fal-illum *:not(i):not([class*="fa-"]),
.view-fal,
.view-fal *:not(i):not([class*="fa-"]) {
  font-family: "IRANSans", sans-serif !important;
}

.fal-illum {
  --fal-ink: #2a1c12;
  --fal-muted: #5c4333;
  --fal-navy: #1e3a6e;
  --fal-gold: #c4a15a;
  --fal-ruby: #6e1b28;
  --fal-rule: #2f2d57;
  color: var(--fal-ink);
  margin: 0.2rem 0 1.4rem;
  padding: 0.35rem 0.35rem 0.8rem;
  background: none;
  overflow: visible;
}
.fal-frame {
  max-width: 38rem;
  margin: 0 auto;
  background: none;
  box-shadow: none;
  overflow: visible;
}
.fal-ms {
  margin: 0;
  padding: 0.35rem 1.05rem 1.15rem;
  background: none;
  border: 7px double var(--fal-rule);
}
.fal-hero { text-align: center; padding: 0 0.2rem 0.5rem; }
.fal-illum h1 {
  margin: 0.15rem 0 0.45rem;
  font-size: clamp(1.22rem, 4vw, 1.58rem);
  font-weight: 700;
  line-height: 1.7;
  color: var(--fal-navy);
}
.fal-illum .fal-lead {
  margin: 0 auto 0.85rem;
  max-width: 34rem;
  line-height: 2;
  font-size: 0.98rem;
  color: var(--fal-muted);
  text-align: justify;
  text-align-last: center;
}
.fal-open {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 32rem);
  aspect-ratio: 4.2 / 1;
  margin: 0.15rem auto 1rem;
  padding: 0 18%;
  text-decoration: none;
  color: var(--fal-navy);
  background: url("/divan/assets/ornaments/fal-btn.png") center / contain no-repeat;
  background-color: transparent;
  border: 0;
  box-shadow: none;
}
.fal-open:hover { filter: brightness(1.05); }
.fal-open b {
  font-size: clamp(1.15rem, 4vw, 1.45rem);
  font-weight: 700;
  line-height: 1.4;
  color: #14244a;
}
.fal-qasam {
  margin: 0 auto 1rem;
  max-width: 32rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #e4d5b4;
  background: #fff;
  font-size: 1.02rem;
  line-height: 2.1;
  text-align: center;
  color: var(--fal-ink);
}
.fal-illum h2 {
  margin: 1.15rem 0 0.45rem;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--fal-navy);
  text-align: center;
  line-height: 1.8;
}
.fal-illum ol,
.fal-illum ul {
  margin: 0 0 0.5rem;
  padding: 0 1.3rem 0 0;
  line-height: 2.05;
  font-size: 0.98rem;
}
.fal-illum li { margin: 0 0 0.4rem; }
.fal-illum p {
  margin: 0 0 0.7rem;
  line-height: 2.05;
  font-size: 0.98rem;
  text-align: justify;
}
.fal-illum details {
  margin: 0 0 0.35rem;
  padding: 0.5rem 0.75rem;
  background: #fff;
  border: 1px solid #eadbc0;
}
.fal-illum summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--fal-navy);
  line-height: 1.8;
}
.fal-illum details p { margin: 0.35rem 0 0; text-align: justify; }
.fal-illum .fal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-top: 0.85rem;
}
.fal-illum .fal-links a {
  min-height: 40px;
  padding: 0 0.9rem;
  border: 1px solid var(--fal-gold);
  background: #fff;
  color: var(--fal-navy);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
}
.fal-note {
  font-size: 0.84rem;
  color: var(--fal-muted);
  text-align: center;
  line-height: 1.8;
}
.fal-illum .crumb { justify-content: center; color: var(--fal-muted); }

.view-fal.fal-illum { min-height: 0; width: 100%; }
.view-fal .fal-frame {
  max-width: none;
  width: 100%;
}
.view-fal .fal-ms {
  padding: 0.5rem 1.2rem 1.25rem;
}
.view-fal .fal-deck {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.view-fal .couplet .mesra {
  font-size: clamp(1.12rem, 3.5vw, 1.28rem);
  line-height: 2.05;
  color: #2a1c12;
}

@media (max-width: 640px) {
  .fal-illum { padding: 0.2rem 0.15rem 0.6rem; }
  .fal-ms { padding: 0.2rem 0.7rem 1rem; }
  .fal-open {
    padding: 0 14%;
    aspect-ratio: 3.8 / 1;
  }
  .fal-open b { font-size: 1.12rem; }
}
