/* =========================================
   Nass / Ibn Ashour Tafsir Format (LIGHT)
   (No HTML modification required)
   ========================================= */

/* Outer alert reset */
.alert.alert-default {
  background: #f4f5f7 !important;
  border: 1px solid #e2e4e8;
  border-radius: 18px;
  padding: 22px;
  max-width: 1000px;
  margin: 20px auto;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

/* Main content */
.nass {
  direction: rtl;
  text-align: right;
  font-family: "Amiri", "Scheherazade New", serif;
  color: #111;
  line-height: 1.9;
  font-size: 1rem; /* ~16px */
}

/* Ayah header */
.aya_text {
  display: block;
  text-align: center;
  font-size: 1.4rem; /* ~22px */
  color: #222;
  margin-bottom: 14px;
  line-height: 2;
  font-weight: 700;
}

/* Divider */
.nass hr {
  border: none;
  height: 1px;
  background: #d6d9de;
  margin: 14px 0 20px;
}

/* Tafsir paragraphs */
.nass p {
  background: #ffffff;
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid #e5e7eb;
}

/* === Semantic coloring (based on existing inline styles) === */

/* Labels like: قوله : */
.nass span[style*="#006d98"] {
  color: #0b5fa5 !important;
  font-weight: 700;
}

/* Qur'anic phrases */
.nass span[style*="#947721"] {
  color: #7a5a00 !important;
  font-weight: 700;
}

/* Grammar terms */
.nass span[style*="#008000"] {
  color: #0f6d2f !important;
  font-weight: 700;
}

/* Proverbs / sayings */
.nass span[style*="#6c6c00"] {
  color: #6b5200 !important;
  font-style: italic;
  font-weight: 600;
}

/* Poetry line */
.nass p:has(***) {
  border-right: 4px solid #c9a24d;
}

/* === Hide ALL UI / junk without touching HTML === */

/* Anchors */
.nass .anchor {
  display: none !important;
}

/* Copy buttons */
.nass a.btn_tag,
.nass a.btn,
.nass .btn,
.nass .btn-sm,
.nass .active {
  display: none !important;
}

/* FontAwesome icons */
.nass .fa,
.nass .fa-copy,
.nass .text-gray {
  display: none !important;
}

/* Links should not look like links */
.nass a {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
  cursor: default;
}
