/* القرآن الكريم — the section's own bar and footer, shared by all its pages (mushaf, quran, khatma, adhkar, ruqyah,
   nidaa). Self-contained: it does not lean on any page's own styles. Written into the pages by tools/quran_bar.py. */
.qbar { background: linear-gradient(180deg, #133d32, #0f3329); color: #efe4c4; border-bottom: 1px solid rgba(201, 162, 79, .35);
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; position: relative; z-index: 40; line-height: 1.5; }
.qbar *, .qfoot * { box-sizing: border-box; }
.qbarIn { max-width: 1160px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 18px; min-height: 66px; }
.qbrand { display: inline-flex; align-items: center; gap: 11px; flex: none; color: inherit; text-decoration: none; border-radius: 12px; }
.qbrand:focus-visible { outline: 2px solid #f5c95a; outline-offset: 3px; }
.qmark { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #f5c95a;
  background: rgba(245, 201, 90, .1); border: 1px solid rgba(245, 201, 90, .45); }
.qmark svg { width: 23px; height: 23px; }
.qbrand b { display: block; font-family: "Amiri", "Scheherazade New", serif; font-size: 1.36rem; line-height: 1.15; font-weight: 700; color: #f8ecc8; }
.qbrand small { display: block; font-size: .72rem; color: #bdb393; }
.qtabs { display: flex; gap: 2px; margin-inline-start: auto; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.qtabs::-webkit-scrollbar { display: none; }
.qtabs a { flex: none; color: #e3d8b8; text-decoration: none; font-size: .93rem; font-weight: 600; padding: .5rem .8rem; border-radius: 10px; white-space: nowrap; }
.qtabs a:hover, .qtabs a:focus-visible { background: rgba(255, 255, 255, .08); color: #fff; outline: none; }
.qtabs a[aria-current="page"] { color: #f5c95a; background: rgba(245, 201, 90, .13); box-shadow: inset 0 -2px 0 #f5c95a; }
@media (max-width: 900px) {
  .qbarIn { flex-wrap: wrap; gap: 8px 12px; padding-top: 10px; min-height: 0; }
  .qtabs { flex-basis: calc(100% + 32px); margin: 0 -16px; padding: 0 14px 10px; gap: 6px; }
  .qtabs a { padding: .4rem .75rem; font-size: .88rem; background: rgba(255, 255, 255, .06); }
  .qtabs a[aria-current="page"] { box-shadow: none; }
}

.qfoot { background: #0f3329; color: #c4ba99; font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; margin-top: 44px; font-size: .9rem; line-height: 1.8; }
.qfootIn { max-width: 1160px; margin: 0 auto; padding: 22px 16px 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.qfoot nav { display: flex; flex-wrap: wrap; gap: 2px 16px; }
.qfoot a { color: #efe4c4; text-decoration: none; }
.qfoot a:hover, .qfoot a:focus-visible { color: #f5c95a; text-decoration: underline; outline: none; }
.qfoot p { margin: 0; }
.qfoot .kq { font-weight: 700; color: #f8ecc8; }
