@charset "utf-8";

/*
Theme Name: Qiblah - Mosque & Islamic Centre HTML5 Template.
Author: Metropolitanthemes
Version: 1.0.0

%%%%%%% Table of CSS %%%%%%%

1. General
   1.1 Design Tokens
   1.2 Base
   1.3 Typography
   1.4 Section Rhythm
   1.5 Section Title
   1.6 Eight-Point Star
   1.7 Arch Shapes
   1.8 Buttons
   1.9 Icon Buttons And Social
   1.10 Label Value Rows
   1.11 Forms
   1.12 Custom Select
   1.13 Stepper
   1.14 Tabs And Filters
   1.15 Pagination
   1.16 Meters And Toast
   1.17 Media Zoom
   1.18 Night Bands
2. Preloader
3. Header
   3.1 Topbar
   3.2 Header Bar
   3.3 Main Navigation
   3.4 Mega Menu
4. Offcanvas And Bag Drawer
   4.1 Offcanvas
   4.2 Bag Drawer
5. Page Banner
6. Hero
   6.1 Hero Slider
   6.2 Video Hero
   6.3 Prayer Bar
   6.4 Sun Arc
7. Welcome
8. Counters And Goal
   8.1 Counter Grid
   8.2 Goal Bar
   8.3 Sadaqah Causes
9. Everyday Tools
10. Events And Khutbah
   10.1 Heading Row
   10.2 Event Rail
   10.3 Accordion
   10.4 Khutbah Meta And Media
   10.5 Audio Player
11. Video Band
12. Qibla Line
   12.1 Night Band
   12.2 Map And Compass
13. Gallery
14. News Cards
15. Home Two
   15.1 Video Hero Details
   15.2 Imam Welcome
   15.3 Counter Strip
   15.4 Five Prayers
   15.5 Pattern Splits
   15.6 Ramadan Band
16. Inner Page Components
   16.1 Cards And Panels
   16.2 Controls Bar
   16.3 Data Tables
   16.4 Board Of Prayer Tiles
   16.5 Sidebar Widgets
   16.6 Toolbar
   16.7 Steps Row
17. Tool Pages
   17.1 Prayer Times Page
   17.2 Qibla Page
   17.3 Zakat Page
   17.4 Ramadan Page
   17.5 Calendar Page
   17.6 Print
18. Content Pages
   18.1 Donation
   18.2 Khutbah Archive
   18.3 Khutbah Details
   18.4 Article
   18.5 Comments
   18.6 Sidebar Extras
   18.7 Events Page
   18.8 Event Details
19. Community Pages
   19.1 Pillars And Story
   19.2 How To Pray
   19.3 People
   19.4 Madrasa
   19.5 Services
   19.6 FAQ
   19.7 Contact
20. Shop Blog And Account
   20.1 Product Card
   20.2 Shop Layouts
   20.3 Product Page
   20.4 Cart And Checkout
   20.5 Blog Posts
   20.6 Account
   20.7 Coming Soon And 404
21. Footer
   21.1 Footer Ground
   21.2 Call To Action
   21.3 Footer Widgets
   21.4 Footer Bottom
   21.5 Back To Top
*/

/*======================
1. General
========================*/
/*---- 1.1 Design Tokens ----*/
/* Iznik: the teal of tiled domes, the gold of their light, a cream ground.
   Light is the default; [data-theme="dark"] on <html> swaps every role. */
:root {
  --qb-color-primary: #0C7B77;
  --qb-color-primary-rgb: 12, 123, 119;
  --qb-color-primary-2: #16A39E;
  --qb-color-on-primary: #FFFFFF;
  --qb-color-gold: #C9A45C;
  --qb-color-gold-rgb: 201, 164, 92;
  --qb-color-gold-light: #E8D4A6;
  --qb-color-gold-ink: #8C6A2C;
  --qb-color-ink: #0C2B30;
  --qb-color-ink-rgb: 12, 43, 48;
  --qb-color-night: #071B1F;
  --qb-color-night-rgb: 7, 27, 31;
  --qb-color-bg: #FBF8F2;
  --qb-color-bg-rgb: 251, 248, 242;
  --qb-color-bg-alt: #F3ECDF;
  --qb-color-bg-alt-rgb: 243, 236, 223;
  --qb-color-surface: #FFFFFF;
  --qb-color-surface-2: #F7F1E6;
  --qb-color-heading: #0C2B30;
  --qb-color-text: #4D5C5F;
  --qb-color-muted: #7C898B;
  --qb-color-line: rgba(12, 43, 48, 0.1);
  --qb-color-star: #E0A33B;
  --qb-color-error: #C2453B;
  --qb-color-white: #FFFFFF;
  --qb-tonal: rgba(12, 43, 48, 0.055);
  --qb-tonal-2: rgba(12, 43, 48, 0.1);
  --qb-texture-opacity: 0.07;

  --qb-ff-heading: 'El Messiri', serif;
  --qb-ff-body: 'Readex Pro', sans-serif;
  --qb-fs-h1: clamp(42px, 5.2vw, 80px);
  --qb-fs-h2: clamp(32px, 3.4vw, 52px);
  --qb-fs-h3: clamp(22px, 1.8vw, 28px);
  --qb-fs-h4: 22px;
  --qb-fs-h5: 19px;
  --qb-fs-h6: 17px;

  --qb-radius: 18px;
  --qb-radius-sm: 12px;
  --qb-radius-pill: 60px;
  --qb-shadow: 0 30px 60px -32px rgba(12, 43, 48, 0.35);
  --qb-shadow-sm: 0 14px 34px -20px rgba(12, 43, 48, 0.3);
  --qb-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --qb-header-h: 92px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --qb-color-primary: #2FB8B1;
  --qb-color-primary-rgb: 47, 184, 177;
  --qb-color-primary-2: #5ED3CC;
  --qb-color-on-primary: #071B1F;
  --qb-color-gold: #D3B26C;
  --qb-color-gold-rgb: 211, 178, 108;
  --qb-color-gold-ink: #D3B26C;
  --qb-color-bg: #071B1F;
  --qb-color-bg-rgb: 7, 27, 31;
  --qb-color-bg-alt: #0A2327;
  --qb-color-bg-alt-rgb: 10, 35, 39;
  --qb-color-surface: #0E282D;
  --qb-color-surface-2: #123035;
  --qb-color-heading: #F4ECDD;
  --qb-color-text: #A6BABB;
  --qb-color-muted: #7F9597;
  --qb-color-line: rgba(255, 255, 255, 0.09);
  --qb-tonal: rgba(255, 255, 255, 0.06);
  --qb-tonal-2: rgba(255, 255, 255, 0.11);
  --qb-texture-opacity: 0.09;
  --qb-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  --qb-shadow-sm: 0 14px 34px -18px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

/*---- 1.2 Base ----*/
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--qb-color-primary-rgb), 0.45) transparent;
}
body {
  font-family: var(--qb-ff-body);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--qb-color-text);
  background: var(--qb-color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.5s var(--qb-ease), color 0.5s var(--qb-ease);
}
/* wide screens: a 2K display gets a wider measure and a step up in body type */
@media (min-width: 1600px) {
  body {
    font-size: 17px;
  }
  .container {
    max-width: 1440px;
  }
}
@media (min-width: 1960px) {
  body {
    font-size: 17.5px;
  }
  .container {
    max-width: 1560px;
  }
}
/* checkboxes: a rounded box in the template's colours, filled and ticked when checked */
.qb-check input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  border: 1.5px solid var(--qb-color-muted);
  border-radius: 6px;
  background: var(--qb-color-surface) no-repeat center / 13px 13px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.qb-check input[type="checkbox"]:hover {
  border-color: var(--qb-color-primary);
  box-shadow: 0 0 0 4px rgba(15, 122, 122, 0.16);
}
.qb-check input[type="checkbox"]:checked {
  border-color: var(--qb-color-primary);
  background-color: var(--qb-color-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.4 6.3 4.9 8.7 9.6 3.6' fill='none' stroke='%23FFFFFF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.qb-check input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--qb-color-primary);
  outline-offset: 2px;
}

body.oc-open {
  overflow: hidden;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--qb-ease), background-color 0.3s var(--qb-ease), border-color 0.3s var(--qb-ease);
}
a:hover {
  color: var(--qb-color-primary);
}
button {
  font-family: inherit;
}
.qb-reset {
  list-style: none;
  margin: 0;
  padding: 0;
}
.visually-hidden-label {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
::selection {
  background: var(--qb-color-gold);
  color: var(--qb-color-night);
}
:focus-visible {
  outline: 2px solid var(--qb-color-gold);
  outline-offset: 3px;
}

/*---- 1.3 Typography ----*/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--qb-ff-heading);
  font-weight: 600;
  color: var(--qb-color-heading);
  line-height: 1.16;
  margin: 0 0 16px;
}
h1 { font-size: var(--qb-fs-h1); }
h2 { font-size: var(--qb-fs-h2); }
h3 { font-size: var(--qb-fs-h3); }
h4 { font-size: var(--qb-fs-h4); }
h5 { font-size: var(--qb-fs-h5); }
h6 { font-size: var(--qb-fs-h6); }
p {
  margin: 0 0 18px;
}
p:last-child {
  margin-bottom: 0;
}
.qb-lead {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--qb-color-text);
}
.qb-num {
  font-variant-numeric: tabular-nums;
}

/*---- 1.4 Section Rhythm ----*/
.sec-pt-120 { padding-top: 130px; }
.sec-pb-120 { padding-bottom: 130px; }
.sec-pb-90 { padding-bottom: 96px; }
.sec-pt-60 { padding-top: 64px; }
.sec-pb-60 { padding-bottom: 64px; }
.qb-bg-alt { background: var(--qb-color-bg-alt); }
.qb-bg-surface { background: var(--qb-color-surface); }
.qb-rel {
  position: relative;
}
/* sections that hold a texture keep their content above it */
.qb-has-texture {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
/* a photograph laid at low opacity behind a section, read as a texture */
.qb-texture {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.qb-texture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: var(--qb-texture-opacity);
  filter: grayscale(0.35) contrast(1.05);
}
.qb-texture.is-pattern img {
  object-fit: cover;
  opacity: calc(var(--qb-texture-opacity) * 0.9);
  filter: none;
}
/* fade the texture out at the section edges */
.qb-texture::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--qb-section-bg, var(--qb-color-bg)) 0%, transparent 22%, transparent 78%, var(--qb-section-bg, var(--qb-color-bg)) 100%);
}
.qb-bg-alt .qb-texture::after {
  --qb-section-bg: var(--qb-color-bg-alt);
}
/* a photograph as a texture: the mosque under the page ground, with a teal glow from one corner and a gold glow
   from the other. Never on two sections in a row. */
.qb-tint {
  position: relative;
  isolation: isolate;
  --qb-tint-rgb: var(--qb-color-bg-rgb);
}
.qb-tint.qb-bg-alt {
  --qb-tint-rgb: var(--qb-color-bg-alt-rgb);
}
.qb-tint > .qb-tint-ground {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.qb-tint-ground img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.5) contrast(1.1);
}
.qb-tint-ground::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 90% at 0% 100%, rgba(var(--qb-color-primary-rgb), 0.26) 0%, rgba(var(--qb-color-primary-rgb), 0) 70%),
    radial-gradient(60% 80% at 100% 0%, rgba(var(--qb-color-gold-rgb), 0.28) 0%, rgba(var(--qb-color-gold-rgb), 0) 70%),
    linear-gradient(180deg, rgba(var(--qb-tint-rgb), 0.9) 0%, rgba(var(--qb-tint-rgb), 0.84) 50%, rgba(var(--qb-tint-rgb), 0.9) 100%);
}





/*---- 1.5 Section Title ----*/
.qb-section-title {
  margin-bottom: 58px;
}
.qb-section-title.text-center {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}
/* a split head: title on the start side, lead or action on the end side */
.qb-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px 60px;
  margin-bottom: 58px;
}
.qb-section-head .qb-section-title {
  margin-bottom: 0;
  max-width: 640px;
}
.qb-section-head > p {
  max-width: 420px;
  margin: 0;
}
.qb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--qb-ff-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--qb-color-primary);
  margin-bottom: 18px;
}
/* the hairline after the eyebrow (and before it when centred) - the R8 draw-on device */
.qb-eyebrow::after {
  content: "";
  width: 46px;
  height: 1px;
  background: var(--qb-color-gold);
  transform-origin: left center;
}
.text-center .qb-eyebrow::before {
  content: "";
  width: 46px;
  height: 1px;
  background: var(--qb-color-gold);
  order: -1;
  transform-origin: right center;
}
.qb-title {
  margin-bottom: 0;
}
.qb-title em {
  font-style: normal;
  color: var(--qb-color-primary);
}
.qb-section-title .qb-lead {
  margin-top: 22px;
}
.qb-section-title.is-light .qb-eyebrow,
.is-night .qb-section-title .qb-eyebrow {
  color: var(--qb-color-gold-light);
}
.qb-section-title.is-light .qb-title,
.is-night .qb-section-title .qb-title {
  color: #F4ECDD;
}
.qb-section-title.is-light .qb-title em,
.is-night .qb-title em {
  color: var(--qb-color-gold-light);
}
.qb-section-title.is-light .qb-lead,
.is-night .qb-section-title .qb-lead {
  color: rgba(244, 236, 221, 0.72);
}
/* R8 draw-on: armed by script only, so the no-JS page shows everything */
.qb-section-title.is-armed .qb-eyebrow::after,
.qb-section-title.is-armed .qb-eyebrow::before {
  transform: scaleX(0);
  transition: transform 1s var(--qb-ease) 0.25s;
}
.qb-section-title.is-armed .qb-star {
  opacity: 0;
  transform: rotate(-45deg) scale(0.3);
  transition: opacity 0.6s var(--qb-ease), transform 0.9s var(--qb-ease);
}
.qb-section-title.is-armed.is-drawn .qb-eyebrow::after,
.qb-section-title.is-armed.is-drawn .qb-eyebrow::before {
  transform: scaleX(1);
}
.qb-section-title.is-armed.is-drawn .qb-star {
  opacity: 1;
  transform: none;
}



/*---- 1.6 Eight-Point Star ----*/
/* the one ornament shape: two squares at 45 degrees, drawn from the base's arabesque */
.qb-star {
  position: relative;
  display: inline-block;
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
}
.qb-star::before,
.qb-star::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--qb-color-gold);
}
.qb-star::after {
  transform: rotate(45deg);
}
.qb-star.is-teal::before,
.qb-star.is-teal::after {
  background: var(--qb-color-primary);
}
/* the star as a divider between two hairlines */
.qb-star-rule {
  display: flex;
  align-items: center;
  gap: 14px;
}
.qb-star-rule::before,
.qb-star-rule::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--qb-color-line);
}

/*---- 1.7 Arch Shapes ----*/
/* a two-centred pointed arch, the mihrab's outline (the polygon is percentage based,
   so it is drawn on boxes with a fixed aspect ratio) */
.qb-arch {
  clip-path: polygon(0% 100%, 0% 47%, 0.2% 42.8%, 0.9% 38.7%, 2.1% 34.6%, 3.7% 30.6%, 5.7% 26.7%, 8.1% 23%, 11% 19.5%, 14.2% 16.1%, 17.8% 13.1%, 21.7% 10.3%, 25.8% 7.7%, 30.3% 5.5%, 35% 3.6%, 39.8% 2.1%, 44.9% 0.9%, 50% 0%, 55.1% 0.9%, 60.2% 2.1%, 65% 3.6%, 69.7% 5.5%, 74.2% 7.7%, 78.3% 10.3%, 82.2% 13.1%, 85.8% 16.1%, 89% 19.5%, 91.9% 23%, 94.3% 26.7%, 96.3% 30.6%, 97.9% 34.6%, 99.1% 38.7%, 99.8% 42.8%, 100% 47%, 100% 100%);
}
/* a round-headed arch for small figures */
.qb-arch-round {
  border-radius: 999px 999px var(--qb-radius) var(--qb-radius);
  overflow: hidden;
}

/*---- 1.8 Buttons ----*/
.qb-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 32px;
  border: 0;
  border-radius: var(--qb-radius-pill);
  background: var(--qb-color-primary);
  color: var(--qb-color-on-primary);
  font-family: var(--qb-ff-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--qb-ease), transform 0.4s var(--qb-ease), box-shadow 0.4s var(--qb-ease);
}
/* a gold fill rises from below on hover */
.qb-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--qb-color-gold);
  border-radius: inherit;
  transform: translateY(102%);
  transition: transform 0.45s var(--qb-ease);
}
.qb-btn:hover {
  color: var(--qb-color-night);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -16px rgba(var(--qb-color-gold-rgb), 0.9);
}
.qb-btn:hover::before {
  transform: translateY(0);
}
/* the house double-arrow: the second arrow slides in as the first leaves */
.qb-btn .btn-ic {
  position: relative;
  display: inline-block;
  width: 13px;
  height: 13px;
  overflow: hidden;
  font-size: 12px;
}
.qb-btn .btn-ic i {
  position: absolute;
  top: 0;
  left: 0;
  line-height: 13px;
  transition: transform 0.4s var(--qb-ease);
}
.qb-btn .btn-ic i + i {
  transform: translateX(-150%);
}
.qb-btn:hover .btn-ic i:first-child {
  transform: translateX(150%);
}
.qb-btn:hover .btn-ic i + i {
  transform: translateX(0);
}
.qb-btn-sm {
  padding: 12px 22px;
  font-size: 12.5px;
}
.qb-btn-gold {
  background: var(--qb-color-gold);
  color: var(--qb-color-night);
}
.qb-btn-gold::before {
  background: var(--qb-color-primary-2);
}
.qb-btn-gold:hover {
  color: var(--qb-color-night);
}
/* secondary: a tonal face, never a hairline box */
.qb-btn-tonal {
  background: var(--qb-tonal);
  color: var(--qb-color-heading);
}
.qb-btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.qb-btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}
.qb-btn-block {
  width: 100%;
}
.qb-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--qb-color-primary);
}
.qb-link i {
  transition: transform 0.3s var(--qb-ease);
}
.qb-link:hover i {
  transform: translateX(4px);
}
.qb-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/*---- 1.9 Icon Buttons And Social ----*/
.qb-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--qb-tonal);
  color: var(--qb-color-heading);
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s var(--qb-ease), color 0.3s var(--qb-ease), transform 0.3s var(--qb-ease);
}
.qb-icon-btn:hover,
.qb-icon-btn.is-active {
  background: var(--qb-color-primary);
  color: var(--qb-color-on-primary);
  transform: translateY(-2px);
}
.qb-social {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qb-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-size: 13px;
}
.qb-social a:hover {
  background: var(--qb-color-gold);
  color: var(--qb-color-night);
}
.qb-social.is-tonal a {
  background: var(--qb-tonal);
  color: var(--qb-color-heading);
}
.qb-social.is-tonal a:hover {
  background: var(--qb-color-primary);
  color: var(--qb-color-on-primary);
}

/*---- 1.10 Label Value Rows ----*/
.qb-facts {
  border-top: 1px solid var(--qb-color-line);
}
.qb-facts li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--qb-color-line);
}
.qb-facts span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--qb-color-muted);
}
.qb-facts b {
  font-weight: 500;
  color: var(--qb-color-heading);
  text-align: end;
}
.qb-facts b span {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  text-transform: none;
  color: inherit;
}
.qb-facts.is-light {
  border-color: rgba(255, 255, 255, 0.12);
}
.qb-facts.is-light li {
  border-color: rgba(255, 255, 255, 0.12);
}
.qb-facts.is-light span {
  color: rgba(244, 236, 221, 0.6);
}
.qb-facts.is-light b {
  color: #F4ECDD;
}

/*---- 1.11 Forms ----*/
.qb-field {
  position: relative;
  margin-bottom: 20px;
}
.qb-field > label,
.qb-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--qb-color-heading);
}
.qb-input-wrap {
  position: relative;
}
.qb-input-wrap > i {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: var(--qb-color-primary);
  font-size: 14px;
  pointer-events: none;
  z-index: 2;
}
.qb-input-wrap.is-area > i {
  top: 22px;
  transform: none;
}
.qb-input,
.qb-field input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
.qb-field textarea {
  display: block;
  width: 100%;
  height: 58px;
  padding: 0 20px;
  border: 1px solid var(--qb-color-line);
  border-radius: var(--qb-radius-sm);
  background: var(--qb-color-surface);
  color: var(--qb-color-heading);
  font-family: var(--qb-ff-body);
  font-size: 15.5px;
  transition: border-color 0.3s var(--qb-ease), box-shadow 0.3s var(--qb-ease), background-color 0.5s var(--qb-ease);
}
.qb-field .qb-input-wrap > i ~ input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
.qb-field .qb-input-wrap > i ~ textarea,
.qb-input-wrap > i ~ .qb-input {
  padding-left: 48px;
}
.qb-field textarea {
  height: 150px;
  padding-top: 16px;
  resize: vertical;
}
.qb-field input:focus,
.qb-field textarea:focus,
.qb-input:focus {
  outline: 0;
  border-color: var(--qb-color-primary);
  box-shadow: 0 0 0 4px rgba(var(--qb-color-primary-rgb), 0.15);
}
::placeholder {
  color: var(--qb-color-muted);
  opacity: 0.8;
}
.qb-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  cursor: pointer;
}
.qb-check input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--qb-color-primary);
  flex: 0 0 auto;
}
.form-status {
  display: block;
  font-size: 14px;
}
.form-status.is-success {
  color: var(--qb-color-primary);
  margin-top: 12px;
}
.form-status.is-error {
  color: var(--qb-color-error);
  margin-top: 12px;
}
.qb-range {
  width: 100%;
  accent-color: var(--qb-color-primary);
}

/*---- 1.12 Custom Select ----*/
.qb-select {
  position: relative;
}
.qb-select select {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.qb-select .select-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  height: 58px;
  padding: 0 20px;
  border: 1px solid var(--qb-color-line);
  border-radius: var(--qb-radius-sm);
  background: var(--qb-color-surface);
  color: var(--qb-color-heading);
  font-size: 15.5px;
  text-align: start;
  cursor: pointer;
}
.qb-input-wrap > i ~ .select-button {
  padding-left: 48px;
}
.qb-select .select-button i {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--qb-color-muted);
  transition: transform 0.3s var(--qb-ease);
}
.qb-select.is-open .select-button {
  border-color: var(--qb-color-primary);
}
.qb-select.is-open .select-button i {
  transform: rotate(180deg);
}
.qb-select .select-value {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.qb-select .select-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 40;
  max-height: 300px;
  margin: 0;
  padding: 8px;
  list-style: none;
  overflow-y: auto;
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
  border-radius: var(--qb-radius-sm);
  box-shadow: var(--qb-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s var(--qb-ease), transform 0.25s var(--qb-ease), visibility 0.25s;
}
.qb-select.opens-up .select-list {
  top: auto;
  bottom: calc(100% + 8px);
}
.qb-select.is-open .select-list {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.qb-select .select-option {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--qb-color-heading);
  cursor: pointer;
}
.qb-select .select-option.is-focused {
  background: var(--qb-tonal);
}
.qb-select .select-option.is-selected {
  color: var(--qb-color-primary);
  font-weight: 500;
}
.qb-select .option-meta {
  color: var(--qb-color-muted);
  font-size: 12px;
}
.qb-select.is-compact .select-button {
  height: 46px;
  border: 0;
  border-radius: var(--qb-radius-pill);
  background: var(--qb-tonal);
  font-size: 14px;
}

/*---- 1.13 Stepper ----*/
.qb-stepper {
  display: inline-flex;
  align-items: center;
  height: 52px;
  border-radius: var(--qb-radius-pill);
  background: var(--qb-tonal);
}
.qb-stepper button {
  width: 48px;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--qb-color-heading);
  font-size: 12px;
  cursor: pointer;
}
.qb-stepper button:disabled {
  opacity: 0.35;
  cursor: default;
}
.qb-stepper input {
  width: 44px;
  height: 100%;
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 600;
  color: var(--qb-color-heading);
  -moz-appearance: textfield;
}
.qb-stepper input::-webkit-outer-spin-button,
.qb-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/*---- 1.14 Tabs And Filters ----*/
.qb-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}
.qb-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: 0;
  border-radius: var(--qb-radius-pill);
  background: var(--qb-tonal);
  color: var(--qb-color-heading);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s var(--qb-ease), color 0.3s var(--qb-ease);
}
.qb-tab:hover {
  background: var(--qb-tonal-2);
}
.qb-tab.is-active {
  background: var(--qb-color-primary);
  color: var(--qb-color-on-primary);
}
.qb-tab .tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--qb-tonal-2);
  font-size: 11px;
}
.qb-tab.is-active .tab-count {
  background: rgba(255, 255, 255, 0.22);
}
.qb-tab.is-empty {
  opacity: 0.45;
}
.is-filtered-out {
  display: none !important;
}
[data-tab-panel] {
  display: none;
}
[data-tab-panel].is-active {
  display: block;
}

/*---- 1.15 Pagination ----*/
.qb-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}
.qb-pagination a,
.qb-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--qb-tonal);
  color: var(--qb-color-heading);
  font-weight: 500;
}
.qb-pagination .is-current,
.qb-pagination a:hover {
  background: var(--qb-color-primary);
  color: var(--qb-color-on-primary);
}

/*---- 1.16 Meters And Toast ----*/
.qb-meter {
  position: relative;
  height: 6px;
  border-radius: 3px;
  background: var(--qb-tonal-2);
  overflow: hidden;
}
.qb-meter i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--qb-color-primary), var(--qb-color-gold));
  transition: width 1.1s var(--qb-ease);
}
.qb-toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 1300;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: var(--qb-radius-pill);
  background: var(--qb-color-ink);
  color: #FFFFFF;
  font-size: 14.5px;
  box-shadow: var(--qb-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 20px);
  transition: opacity 0.35s var(--qb-ease), transform 0.35s var(--qb-ease), visibility 0.35s;
}
.qb-toast i {
  color: var(--qb-color-gold);
}
.qb-toast.is-shown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/*---- 1.17 Media Zoom ----*/
.qb-zoom {
  overflow: hidden;
}
.qb-zoom img {
  transition: transform 1s var(--qb-ease);
}
.qb-zoom:hover img {
  transform: scale(1.06);
}
.fancybox-bg {
  background: var(--qb-color-night);
}
.fancybox-is-open .fancybox-bg {
  opacity: 0.94;
}

/*---- 1.18 Night Bands ----*/
/* bands that stay dark in both modes (night sky, footer) */
.is-night {
  position: relative;
  background: var(--qb-color-night);
  color: rgba(244, 236, 221, 0.72);
}
:root[data-theme="dark"] .is-night {
  background: #041215;
}
.qb-webgl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* the accent word in a title keeps its colour and stands upright (no italic), wherever the title is styled */
html body :is(h1, h2, h3, h4, h5, h6, [class*="title"], [class*="display"]) :is(em, .accent, .fd-accent, .accent-serif) {
  font-style: normal;
}

/* Avatar group: overlapping round portraits of the community, a count and a short line. As wide as its content;
   is-centered sits it in the middle of a centred column, has-space-below keeps a button under it at a distance. */
.qb-avatars {
  display: flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  max-width: 100%;
  margin-top: 30px;
}
.qb-avatars.is-centered {
  margin-inline: auto;
}
.qb-avatars.has-space-below {
  margin-bottom: 32px;
}
.qb-avatar-stack {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.qb-avatar-stack li {
  position: relative;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  overflow: hidden;
  border: 3px solid var(--qb-color-surface);
  border-radius: 50%;
  background: var(--qb-color-surface);
  transition: transform 0.35s ease;
}
.qb-avatar-stack li + li {
  margin-inline-start: -14px;
}
.qb-avatar-stack li:hover {
  z-index: 2;
  transform: translateY(-4px);
}
.qb-avatar-stack img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qb-avatar-stack .is-more {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--qb-color-gold);
  color: var(--qb-color-night);
  font-family: var(--qb-ff-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.qb-avatars .avatars-copy {
  font-family: var(--qb-ff-body);
  font-size: 14px;
  line-height: 1.4;
  text-align: start;
}
.qb-avatars .avatars-copy b {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--qb-color-heading);
}
.qb-avatars .avatars-copy span {
  display: block;
  color: var(--qb-color-text);
}
/* on a photograph or a dark band: white rings and light words */
.qb-avatars.is-on-dark .qb-avatar-stack li {
  border-color: rgba(255, 255, 255, 0.92);
}
.qb-avatars.is-on-dark .avatars-copy b {
  color: #FFFFFF;
}
.qb-avatars.is-on-dark .avatars-copy span {
  color: rgba(255, 255, 255, 0.82);
}

/* a byline's round portrait, in place of the generic user icon */
.qb-byline-avatar {
  display: inline-block;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  box-shadow: 0 0 0 2px var(--qb-color-surface);
}

/*======================
2. Preloader
========================*/
/* HILAL: the gold moon is cut by a night disc until only the new crescent is left (the same
   geometry as the logo's crescent), the minaret rises into its cradle, the night lifts away */
.qb-preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  background:
    radial-gradient(1.5px 1.5px at 18% 24%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 72% 18%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 84% 62%, rgba(232, 212, 166, 0.8), transparent),
    radial-gradient(1px 1px at 30% 78%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 58% 86%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1.5px 1.5px at 8% 56%, rgba(232, 212, 166, 0.7), transparent),
    radial-gradient(circle at 50% 46%, rgba(201, 164, 92, 0.16), transparent 42%),
    #071B1F;
}
html.no-js .qb-preloader {
  display: none;
}
.qb-preloader .pre-stage {
  position: relative;
  width: 160px;
  height: 160px;
}
/* a gold halo that blooms as the crescent forms */
.qb-preloader .pre-halo {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 212, 166, 0.32) 0%, rgba(201, 164, 92, 0.12) 38%, transparent 68%);
  opacity: 0;
}
.qb-preloader .pre-moon {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 34% 64%, #F6ECCF, #E8D4A6 38%, #C9A45C 100%);
  box-shadow: 0 0 70px rgba(232, 212, 166, 0.3);
}
/* the cutting disc: 84% of the moon, offset up and right like the logo's
   (the logo is never mirrored, so neither is its crescent in right-to-left pages) */
/*rtl:begin:ignore*/
.qb-preloader .pre-shade {
  position: absolute;
  left: 23.9%;
  top: -5.6%;
  width: 84%;
  height: 84%;
  border-radius: 50%;
  background: #071B1F;
}
/* minaret and dome stand behind the crescent: each piece fills the logo's 100-unit frame laid over the moon and is
   masked to it - the dome to the hollow only, the minaret to the hollow and everything beyond the moon */
.qb-preloader .pre-fig {
  position: absolute;
  left: -3.409%;
  top: -10.227%;
  width: 113.636%;
  height: 113.636%;
  -webkit-mask-image: radial-gradient(circle 64.4px at 61% 41%, #000 99%, transparent 100%);
  mask-image: radial-gradient(circle 64.4px at 61% 41%, #000 99%, transparent 100%);
}
.qb-preloader .pre-fig.is-minaret {
  -webkit-mask-image: radial-gradient(circle 64.4px at 61% 41%, #000 99%, transparent 100%), radial-gradient(circle 82.9px at 47% 53%, transparent 99%, #000 100%);
  mask-image: radial-gradient(circle 64.4px at 61% 41%, #000 99%, transparent 100%), radial-gradient(circle 82.9px at 47% 53%, transparent 99%, #000 100%);
}
.qb-preloader .pre-fig img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}
/*rtl:end:ignore*/
.qb-preloader .pre-word {
  width: 300px;
  max-width: 70vw;
}

/*======================
3. Header
========================*/
/*---- 3.1 Topbar ----*/
.qb-topbar {
  position: relative;
  z-index: 102;
  background: var(--qb-color-night);
  color: rgba(244, 236, 221, 0.74);
  font-size: 13.5px;
}
:root[data-theme="dark"] .qb-topbar {
  background: #041215;
}
.qb-topbar .topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 50px;
}
.qb-topbar .topbar-left,
.qb-topbar .topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.qb-topbar .topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.qb-topbar .topbar-item i {
  color: var(--qb-color-gold);
}
.qb-topbar .topbar-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(244, 236, 221, 0.35);
}
.qb-topbar .topbar-next b,
.qb-offcanvas .oc-prayer b,
.mega-next b {
  color: #F4ECDD;
  font-weight: 500;
}
.qb-topbar .topbar-next {
  padding-right: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.qb-topbar .topbar-social a {
  width: 30px;
  height: 30px;
  font-size: 12px;
  background: transparent;
  color: rgba(244, 236, 221, 0.74);
}
.qb-topbar .topbar-social a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--qb-color-gold-light);
}
/* colour mode: one pill, an icon and the mode it switches to */
.qb-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--qb-radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: #F4ECDD;
  font-size: 12.5px;
  cursor: pointer;
  transition: background-color 0.3s var(--qb-ease);
}
.qb-theme-toggle i {
  color: var(--qb-color-gold);
  transition: transform 0.6s var(--qb-ease);
}
.qb-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
}
.qb-theme-toggle[aria-pressed="true"] i {
  transform: rotate(180deg);
}
/* the light / dark switch: a moon in the light theme, a sun in the dark one (Theme Icons) */
html .ti-sun {
  display: none;
}
html[data-theme="dark"] .ti-sun {
  display: inline-block;
}
html[data-theme="dark"] .ti-moon {
  display: none;
}
/* Language picker: a flag and a code; the menu lists the languages that read left to right and right to left.
   The demo copy stays in English, and a right-to-left language turns the layout around. */
.qb-lang {
  position: relative;
  flex-shrink: 0;
}
.qb-lang .lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(244, 236, 221, 0.9);
  font-family: var(--qb-ff-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.qb-lang .lang-btn:hover,
.qb-lang .lang-btn[aria-expanded="true"] {
  background: var(--qb-color-gold);
  color: var(--qb-color-night);
}
.qb-lang .lang-btn > i {
  font-size: 9px;
  transition: transform 0.3s ease;
}
.qb-lang .lang-btn[aria-expanded="true"] > i {
  transform: rotate(180deg);
}
.qb-lang .flag {
  flex-shrink: 0;
  width: 22px;
  height: 16px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.qb-lang.is-icon .lang-btn {
  height: 44px;
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(244, 236, 221, 0.9);
}
.qb-lang.is-icon .lang-btn:hover,
.qb-lang.is-icon .lang-btn[aria-expanded="true"] {
  background: var(--qb-color-gold);
  color: var(--qb-color-night);
}
.qb-lang .lang-menu {
  position: absolute;
  top: calc(100% + 12px);
  inset-inline-end: 0;
  z-index: 1300;
  width: 248px;
  padding: 10px;
  border-radius: 14px;
  background: var(--qb-color-surface);
  box-shadow: var(--qb-shadow);
  font-family: var(--qb-ff-body);
  text-align: start;
  white-space: normal;
}
.qb-lang.is-up .lang-menu {
  top: auto;
  bottom: calc(100% + 12px);
}
.qb-lang.is-start .lang-menu {
  inset-inline-start: 0;
  inset-inline-end: auto;
}
.qb-lang .lang-menu[hidden] {
  display: none;
}
.qb-lang .lang-group {
  margin: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--qb-color-text);
}
.qb-lang .lang-menu ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}
.qb-lang .lang-menu ul + .lang-group {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--qb-color-line);
}
.qb-lang .lang-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--qb-color-heading);
  font-family: var(--qb-ff-body);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: start;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s ease;
}
.qb-lang .lang-item small {
  margin-inline-start: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--qb-color-text);
}
.qb-lang .lang-item i {
  width: 12px;
  font-size: 11px;
  color: var(--qb-color-primary);
  opacity: 0;
}
.qb-lang .lang-item:hover,
.qb-lang .lang-item[aria-pressed="true"] {
  background: var(--qb-tonal);
}
.qb-lang .lang-item[aria-pressed="true"] {
  font-weight: 600;
}
.qb-lang .lang-item[aria-pressed="true"] i {
  opacity: 1;
}
.qb-lang .lang-note {
  margin: 10px 10px 4px;
  padding-top: 10px;
  border-top: 1px solid var(--qb-color-line);
  font-size: 12px;
  line-height: 1.5;
  color: var(--qb-color-text);
}




/*---- 3.2 Header Bar ----*/
.qb-header {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.4s var(--qb-ease);
}
.qb-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--qb-header-h);
  transition: height 0.4s var(--qb-ease);
}
.qb-logo {
  position: relative;
  display: block;
  flex: 0 0 auto;
}
.qb-logo img {
  display: block;
  height: 52px;
  width: auto;
  transition: height 0.4s var(--qb-ease);
}
/* over the hero the white logo shows; the solid header shows the theme's own */
.qb-header .logo-dark {
  display: none;
}
.qb-header.is-scrolled {
  position: fixed;
  top: 0;
  background: rgba(var(--qb-color-bg-rgb), 0.88);
  border-bottom-color: var(--qb-color-line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 0.5);
  animation: qbHeaderIn 0.55s var(--qb-ease);
}
.qb-header.is-scrolled .header-inner {
  height: 76px;
}
.qb-header.is-scrolled .qb-logo img {
  height: 44px;
}
:root:not([data-theme="dark"]) .qb-header.is-scrolled .logo-light {
  display: none;
}
:root:not([data-theme="dark"]) .qb-header.is-scrolled .logo-dark {
  display: block;
}
@keyframes qbHeaderIn {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}
.qb-header .header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.qb-bag-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s var(--qb-ease), color 0.3s var(--qb-ease);
}
.qb-bag-trigger:hover {
  background: var(--qb-color-gold);
  color: var(--qb-color-night);
}
.qb-header.is-scrolled .qb-bag-trigger {
  background: var(--qb-tonal);
  color: var(--qb-color-heading);
}
.qb-bag-count {
  position: absolute;
  top: -3px;
  right: -3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--qb-color-gold);
  color: var(--qb-color-night);
  font-size: 11px;
  font-weight: 600;
}
.qb-bag-count.is-empty {
  display: none;
}
.qb-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 13px;
  border: 0;
  border-radius: 50%;
  background: var(--qb-color-gold);
  cursor: pointer;
}
.qb-menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--qb-color-night);
}
.qb-menu-toggle span:nth-child(2) {
  width: 66%;
}




/*---- 3.3 Main Navigation ----*/
.qb-nav > ul {
  display: flex;
  align-items: center;
  gap: 2px;
}
.qb-nav li {
  position: relative;
}
.qb-nav > ul > li > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 12px;
  color: #FFFFFF;
  font-size: 15.5px;
  font-weight: 400;
}
.qb-nav > ul > li > a i {
  font-size: 9px;
  opacity: 0.6;
  transition: transform 0.3s var(--qb-ease);
}
/* hover and the current page: the accent colour only, no underline */
.qb-nav > ul > li:hover > a,
.qb-nav > ul > li.active > a {
  color: var(--qb-color-gold-light);
}
.qb-nav > ul > li:hover > a i {
  transform: rotate(180deg);
}
.qb-header.is-scrolled .qb-nav > ul > li > a {
  color: var(--qb-color-heading);
}
.qb-header.is-scrolled .qb-nav > ul > li:hover > a,
.qb-header.is-scrolled .qb-nav > ul > li.active > a {
  color: var(--qb-color-primary);
}
/* dropdowns: a rounded surface card that hangs below the header line */
.qb-nav .sub-menu,
.qb-mega {
  position: absolute;
  top: calc(100% + 26px);
  left: -10px;
  z-index: 20;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
  border-radius: var(--qb-radius);
  box-shadow: 0 40px 70px -30px rgba(var(--qb-color-night-rgb), 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--qb-ease), transform 0.3s var(--qb-ease), visibility 0.3s;
}
.qb-nav .sub-menu {
  min-width: 244px;
}
/* an invisible bridge across the gap, so the menu stays open on the way down */
.qb-nav .sub-menu::before,
.qb-mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 30px;
}
.qb-nav li:hover > .sub-menu,
.qb-nav li:focus-within > .sub-menu,
.qb-nav li:hover > .qb-mega,
.qb-nav li:focus-within > .qb-mega {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.qb-nav .sub-menu .sub-menu {
  top: -11px;
  left: calc(100% + 10px);
}
.qb-nav .sub-menu .sub-menu::before {
  bottom: auto;
  top: 0;
  right: 100%;
  left: auto;
  width: 12px;
  height: 100%;
}
/* the last three items open towards the page, so their menus never run past the window */
.qb-nav > ul > li:nth-last-child(-n+3) > .sub-menu {
  left: auto;
  right: -10px;
}
.qb-nav > ul > li:nth-last-child(-n+3) .sub-menu .sub-menu {
  left: auto;
  right: calc(100% + 10px);
}
.qb-nav > ul > li:nth-last-child(-n+3) .sub-menu .sub-menu::before {
  right: auto;
  left: 100%;
}
.qb-nav .sub-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--qb-color-heading);
  font-size: 15px;
  transition: color 0.3s var(--qb-ease), background-color 0.3s var(--qb-ease);
}
.qb-nav .sub-menu a i {
  font-size: 9px;
  opacity: 0.55;
}
.qb-nav .sub-menu li:hover > a,
.qb-nav .sub-menu li.active > a {
  background: var(--qb-tonal);
  color: var(--qb-color-primary);
}
.qb-header.is-scrolled .qb-nav .sub-menu,
.qb-header.is-scrolled .qb-mega {
  top: calc(100% + 16px);
}


/*---- 3.4 Mega Menu ----*/
.qb-mega {
  left: 50%;
  width: 780px;
  padding: 12px;
  margin-left: -390px;
}
.qb-mega .mega-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 12px;
}
.mega-tools li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 14px;
  color: var(--qb-color-heading);
}
.mega-tools li a:hover,
.mega-tools li a.is-current {
  background: var(--qb-tonal);
}
.mega-tools .tool-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(var(--qb-color-primary-rgb), 0.1);
  color: var(--qb-color-primary);
  font-size: 17px;
  transition: background-color 0.3s var(--qb-ease), color 0.3s var(--qb-ease);
}
.mega-tools li a:hover .tool-ic {
  background: var(--qb-color-primary);
  color: var(--qb-color-on-primary);
}
.mega-tools .tool-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.mega-tools .tool-text b {
  font-family: var(--qb-ff-heading);
  font-size: 18px;
  font-weight: 600;
}
.mega-tools .tool-text small {
  font-size: 13.5px;
  color: var(--qb-color-muted);
}
/* today's times: a night card */
.mega-today {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 18px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--qb-color-gold-rgb), 0.18), transparent 55%),
    var(--qb-color-night);
  color: rgba(244, 236, 221, 0.72);
}
.mega-today .mega-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--qb-color-gold-light);
}
.mega-today .mega-hijri {
  margin-bottom: 12px;
  font-family: var(--qb-ff-heading);
  font-size: 19px;
  color: #F4ECDD;
}
.mega-prayers li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 14px;
}
.mega-prayers li b {
  font-weight: 500;
  color: #F4ECDD;
  font-variant-numeric: tabular-nums;
}
.mega-prayers li.is-next,
.mega-prayers li.is-next b {
  color: var(--qb-color-gold-light);
}
.mega-today .mega-next {
  margin-top: 12px;
  font-size: 13px;
}

/*======================
4. Offcanvas And Bag Drawer
========================*/
/*---- 4.1 Offcanvas ----*/
.qb-offcanvas,
.qb-bag-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  width: 420px;
  max-width: 100%;
  background: var(--qb-color-surface);
  box-shadow: -30px 0 60px -30px rgba(0, 0, 0, 0.5);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.55s var(--qb-ease), visibility 0.55s;
}
.qb-offcanvas.is-open,
.qb-bag-drawer.is-open {
  transform: none;
  visibility: visible;
}
.qb-offcanvas-overlay,
.qb-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1150;
  background: rgba(var(--qb-color-night-rgb), 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--qb-ease), visibility 0.4s;
}
.qb-offcanvas-overlay.is-open,
.qb-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.qb-offcanvas .offcanvas-head,
.qb-bag-drawer .bag-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 30px;
  border-bottom: 1px solid var(--qb-color-line);
}
.qb-offcanvas .offcanvas-head img {
  height: 46px;
  width: auto;
}
.offcanvas-close,
.qb-bag-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--qb-tonal);
  color: var(--qb-color-heading);
  cursor: pointer;
  transition: background-color 0.3s var(--qb-ease), transform 0.4s var(--qb-ease);
}
.offcanvas-close:hover,
.qb-bag-close:hover {
  background: var(--qb-color-primary);
  transform: rotate(90deg);
}
.qb-offcanvas .oc-prayer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 30px;
  background: var(--qb-color-ink);
  color: #FFFFFF;
  font-size: 15px;
}
.qb-offcanvas .oc-prayer .oc-label {
  color: var(--qb-color-primary);
  margin: 0;
}
.qb-offcanvas .oc-prayer b {
  color: #FFFFFF;
}
.qb-offcanvas .offcanvas-nav {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 10px 30px 20px;
}
.oc-label {
  display: block;
  margin: 18px 0 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--qb-color-primary);
}
.qb-offcanvas .oc-group ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}
.qb-offcanvas .oc-group a {
  display: block;
  padding: 6px 0;
  color: var(--qb-color-heading);
  font-family: var(--qb-ff-heading);
  font-size: 17px;
}
.qb-offcanvas .oc-group a:hover,
.qb-offcanvas .oc-group a.is-current {
  color: var(--qb-color-primary);
}
.qb-offcanvas .offcanvas-foot {
  padding: 18px 30px 26px;
  border-top: 1px solid var(--qb-color-line);
}
.qb-offcanvas .offcanvas-foot .oc-label {
  margin-top: 0;
}
.qb-offcanvas .oc-contact {
  display: block;
  color: var(--qb-color-heading);
  font-weight: 600;
}
.qb-offcanvas .qb-social {
  margin-top: 14px;
}
.qb-offcanvas .qb-social a {
  background: var(--qb-tonal);
  color: var(--qb-color-heading);
}
.qb-offcanvas .qb-social a:hover {
  background: var(--qb-color-primary);
}


/*---- 4.2 Bag Drawer ----*/
.qb-bag-drawer .bag-head h4 {
  margin: 0;
  font-size: 22px;
}
.qb-bag-drawer .bag-head h4 span {
  font-family: var(--qb-ff-body);
  font-size: 15px;
  color: var(--qb-color-muted);
}
.qb-bag-drawer .bag-ship {
  padding: 16px 30px;
  background: var(--qb-color-surface-2);
  font-size: 14px;
}
.qb-bag-drawer .bag-ship p {
  margin-bottom: 10px;
}
.qb-bag-drawer .bag-ship b {
  color: var(--qb-color-heading);
}
.qb-bag-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 10px 30px;
}
.qb-bag-item {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--qb-color-line);
}
.qb-bag-item .bi-img img {
  width: 74px;
  height: 88px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--qb-radius-sm);
  background: var(--qb-color-surface-2);
}
.qb-bag-item h5 {
  margin: 0 0 4px;
  font-size: 16px;
}
.qb-bag-item p {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--qb-color-muted);
}
.qb-bag-item .bi-end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  font-weight: 700;
  color: var(--qb-color-heading);
}
.qb-bag-remove {
  border: 0;
  background: transparent;
  color: var(--qb-color-muted);
  cursor: pointer;
}
.qb-bag-remove:hover {
  color: var(--qb-color-error);
}
.qb-qty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 20px;
  background: var(--qb-tonal);
}
.qb-qty button {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: var(--qb-color-heading);
  font-size: 10px;
  cursor: pointer;
}
.qb-qty span {
  min-width: 18px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--qb-color-heading);
}
.qb-bag-empty {
  padding: 50px 0;
  text-align: center;
}
.qb-bag-empty i {
  font-size: 34px;
  color: var(--qb-color-gold);
  margin-bottom: 14px;
}
.qb-bag-drawer .bag-foot {
  padding: 20px 30px 26px;
  border-top: 1px solid var(--qb-color-line);
  display: grid;
  gap: 10px;
}
.bag-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.bag-row.is-total {
  margin: 4px 0 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--qb-color-line);
  font-size: 17px;
  color: var(--qb-color-heading);
}
.qb-catalog {
  display: none;
}

/*======================
5. Page Banner
========================*/
.qb-page-banner {
  position: relative;
  padding: 236px 0 110px;
  overflow: hidden;
  background: var(--qb-color-night);
  color: #FFFFFF;
}
.qb-page-banner .banner-bg {
  position: absolute;
  inset: 0;
}
.qb-page-banner .banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.qb-page-banner .banner-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(var(--qb-color-night-rgb), 0.94) 0%, rgba(var(--qb-color-night-rgb), 0.78) 45%, rgba(var(--qb-color-ink-rgb), 0.5) 100%),
    linear-gradient(0deg, rgba(var(--qb-color-night-rgb), 0.6), transparent 40%);
}
/* a gold hairline and star seal at the foot of every banner */
.qb-page-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--qb-color-gold-rgb), 0.7), transparent);
}
.qb-page-banner .container {
  position: relative;
}
.qb-page-banner .banner-inner {
  max-width: 760px;
}
.qb-banner-title {
  margin: 22px 0 16px;
  color: #FFFFFF;
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1.08;
}
.qb-page-banner p {
  max-width: 620px;
  font-size: 18px;
  font-weight: 300;
  color: rgba(244, 236, 221, 0.8);
}
/* breadcrumb: one glass pill, the current page in gold */
.qb-breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 7px 16px;
  border-radius: var(--qb-radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 14px;
}
.qb-breadcrumb li a,
.qb-breadcrumb li span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(244, 236, 221, 0.8);
}
.qb-breadcrumb li + li a::before,
.qb-breadcrumb li + li span::before {
  content: "";
  width: 6px;
  height: 6px;
  margin: 0 4px;
  background: var(--qb-color-gold);
  transform: rotate(45deg);
}
.qb-breadcrumb li a:hover {
  color: #FFFFFF;
}
.qb-breadcrumb li.is-current span {
  color: var(--qb-color-gold-light);
}

/*======================
6. Hero
========================*/
/*---- 6.1 Hero Slider ----*/
.qb-hero {
  position: relative;
  height: calc(100vh - 50px);
  min-height: 840px;
  max-height: 1020px;
  background: var(--qb-color-night);
  overflow: hidden;
}
.qb-hero .swiper,
.qb-hero .swiper-wrapper,
.qb-hero .swiper-slide {
  height: 100%;
}
.qb-hero .hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.qb-hero .hero-bg {
  position: absolute;
  inset: 0;
}
.qb-hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 8s linear;
}
.qb-hero .swiper-slide-active .hero-bg img {
  transform: scale(1);
}
.qb-hero .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 48%, rgba(var(--qb-color-night-rgb), 0.35), rgba(var(--qb-color-night-rgb), 0.72) 100%),
    linear-gradient(180deg, rgba(var(--qb-color-night-rgb), 0.55) 0%, transparent 30%, rgba(var(--qb-color-night-rgb), 0.85) 100%);
}
/* the WebGL lattice sits over the photographs, under the copy */
.qb-hero .hero-lattice {
  z-index: 2;
}
.qb-hero .hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 110px;
  text-align: center;
  color: #FFFFFF;
}
.qb-hero .hero-slide .container {
  position: relative;
  z-index: 3;
}
.qb-hero .hero-calligraphy {
  display: block;
  width: 300px;
  margin: 0 auto 26px;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.35));
}
.qb-hero .hero-title {
  margin: 0 auto 26px;
  color: #FFFFFF;
  font-size: clamp(44px, 6vw, 92px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.005em;
}
/* every line breaks where it was set */
.qb-hero .hero-title .line {
  display: block;
  white-space: nowrap;
}
.qb-hero .hero-title .line + .line {
  color: var(--qb-color-gold-light);
}
.qb-hero .hero-content p {
  max-width: 620px;
  margin: 0 auto 38px;
  font-size: 19px;
  font-weight: 300;
  color: rgba(244, 236, 221, 0.86);
}
.qb-hero .qb-btn-row {
  justify-content: center;
}
/* round glass arrows on the sides */
.qb-hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-top: -30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  font-size: 16px;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color 0.3s var(--qb-ease), color 0.3s var(--qb-ease), border-color 0.3s var(--qb-ease);
}
.qb-hero-arrow:hover {
  background: var(--qb-color-gold);
  border-color: var(--qb-color-gold);
  color: var(--qb-color-night);
}
.qb-hero-arrow.is-prev {
  left: 40px;
}
.qb-hero-arrow.is-next {
  right: 40px;
}
.qb-hero .hero-count,
.qb-hero .hero-count.swiper-pagination-horizontal {
  position: absolute;
  left: 50%;
  top: auto;
  bottom: 150px;
  z-index: 5;
  display: flex;
  gap: 10px;
  width: auto;
  transform: translateX(-50%);
}
.qb-hero .hero-count .swiper-pagination-bullet {
  width: 34px;
  height: 3px;
  margin: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  transition: background-color 0.3s var(--qb-ease), width 0.3s var(--qb-ease);
}
.qb-hero .hero-count .swiper-pagination-bullet-active {
  width: 54px;
  background: var(--qb-color-gold);
}





/*---- 6.2 Video Hero ----*/
.qb-hero.is-video .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qb-hero.is-video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 60% 55% at 50% 48%, rgba(var(--qb-color-night-rgb), 0.3), rgba(var(--qb-color-night-rgb), 0.7) 100%),
    linear-gradient(180deg, rgba(var(--qb-color-night-rgb), 0.55) 0%, transparent 30%, rgba(var(--qb-color-night-rgb), 0.9) 100%);
}
.qb-hero.is-video .swiper {
  z-index: 2;
}

/*---- 6.3 Prayer Bar ----*/
/* today's five prayers, floating over the foot of the hero */
.qb-prayer-bar-wrap {
  position: relative;
  z-index: 6;
  margin-top: -104px;
}
.qb-prayer-bar {
  display: grid;
  grid-template-columns: 250px repeat(6, 1fr);
  padding: 10px;
  gap: 6px;
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
  border-radius: 24px;
  box-shadow: 0 50px 90px -50px rgba(var(--qb-color-night-rgb), 0.6);
}
.qb-prayer-bar .bar-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 22px 24px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--qb-color-gold-rgb), 0.22), transparent 60%),
    var(--qb-color-night);
  color: rgba(244, 236, 221, 0.7);
  font-size: 13.5px;
}
.qb-prayer-bar .bar-head .qb-eyebrow {
  margin-bottom: 6px;
  color: var(--qb-color-gold-light);
  font-size: 11.5px;
}
.qb-prayer-bar .bar-head .qb-eyebrow::after {
  display: none;
}
.qb-prayer-bar .bar-head b {
  font-family: var(--qb-ff-heading);
  font-weight: 600;
  font-size: 21px;
  color: #F4ECDD;
  line-height: 1.25;
}
.qb-prayer-bar .bar-head .hijri-year {
  display: block;
  margin-top: 2px;
  font-family: var(--qb-ff-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--qb-color-gold-light);
}
.qb-prayer-bar .bar-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 20px 8px 18px;
  border-radius: 16px;
  text-align: center;
  transition: background-color 0.5s var(--qb-ease), color 0.5s var(--qb-ease), transform 0.5s var(--qb-ease);
}
.qb-prayer-bar .bar-name {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--qb-color-muted);
}
.qb-prayer-bar .qb-time {
  font-family: var(--qb-ff-heading);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--qb-color-heading);
}
.qb-prayer-bar .bar-iqamah {
  font-size: 12.5px;
  color: var(--qb-color-muted);
}
/* the next prayer: a teal tile with its countdown */
.qb-prayer-bar .bar-cell.is-next {
  background: var(--qb-color-primary);
  transform: translateY(-14px);
  box-shadow: 0 24px 40px -22px rgba(var(--qb-color-primary-rgb), 0.9);
}
.qb-prayer-bar .bar-cell.is-next .bar-name,
.qb-prayer-bar .bar-cell.is-next .qb-time {
  color: var(--qb-color-on-primary);
}
.qb-prayer-bar .bar-left {
  display: none;
  margin-top: 2px;
  padding: 2px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 500;
  color: var(--qb-color-on-primary);
}
.qb-prayer-bar .bar-cell.is-next .bar-left {
  display: inline-block;
}
.qb-prayer-bar .bar-cell.is-next .bar-iqamah {
  display: none;
}
.qb-prayer-bar .bar-cell.is-past .qb-time {
  opacity: 0.55;
}



/*---- 6.4 Sun Arc ----*/
/* where the sun stands at each prayer: a dashed sky arc, a horizon, the sun as a dot */
.sun-arc {
  position: relative;
  display: block;
  width: 46px;
  height: 24px;
  overflow: hidden;
}
.sun-arc::before {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 3px;
  height: 40px;
  border: 1.5px dashed rgba(var(--qb-color-gold-rgb), 0.7);
  border-radius: 50%;
}
.sun-arc::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--qb-color-line);
}
.sun-arc i {
  position: absolute;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--qb-color-gold);
  box-shadow: 0 0 0 3px rgba(var(--qb-color-gold-rgb), 0.2);
}
.sun-arc[data-sun="fajr"] i { left: 8%; top: 96%; background: var(--qb-color-muted); box-shadow: none; }
.sun-arc[data-sun="sunrise"] i { left: 12%; top: 80%; }
.sun-arc[data-sun="dhuhr"] i { left: 50%; top: 18%; }
.sun-arc[data-sun="asr"] i { left: 80%; top: 40%; }
.sun-arc[data-sun="maghrib"] i { left: 90%; top: 86%; background: #E07A4F; box-shadow: 0 0 0 3px rgba(224, 122, 79, 0.2); }
.sun-arc[data-sun="isha"] i { left: 50%; top: 100%; background: var(--qb-color-muted); box-shadow: none; }
.is-next .sun-arc::before {
  border-color: rgba(255, 255, 255, 0.6);
}
.is-next .sun-arc::after {
  background: rgba(255, 255, 255, 0.4);
}
.is-next .sun-arc i {
  background: #FFFFFF;
}

/*======================
7. Welcome
========================*/
.qb-welcome {
  position: relative;
  overflow: hidden;
}
.qb-prayer-bar-wrap + .qb-welcome {
  padding-top: 150px;
}
/* the base's "Allah" calligraphy, a faint watermark at the end side */
.qb-welcome .welcome-watermark {
  position: absolute;
  right: 4%;
  top: 50%;
  width: 280px;
  transform: translateY(-50%);
  opacity: 0.05;
  filter: brightness(0);
  pointer-events: none;
}
:root[data-theme="dark"] .qb-welcome .welcome-watermark {
  filter: none;
  opacity: 0.06;
}
/* two arched photographs and a gold seal */
.welcome-figure {
  position: relative;
  max-width: 560px;
  padding: 0 90px 70px 0;
}
.welcome-figure::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 40px;
  width: 140px;
  height: 140px;
  background:
    radial-gradient(circle, var(--qb-color-gold) 1.6px, transparent 2px) 0 0 / 18px 18px;
  opacity: 0.55;
}
.welcome-arch {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--qb-color-night);
}
.welcome-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.welcome-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 3 / 4;
  border: 8px solid var(--qb-color-bg);
  box-shadow: var(--qb-shadow);
  background: var(--qb-color-surface);
}
.welcome-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.welcome-seal {
  position: absolute;
  left: -20px;
  bottom: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  text-align: center;
  color: var(--qb-color-night);
}
/* the seal is an eight-point star in gold */
.welcome-seal .seal-star {
  position: absolute;
  inset: 12px;
  z-index: -1;
}
.welcome-seal .seal-star::before,
.welcome-seal .seal-star::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: var(--qb-color-gold);
  box-shadow: 0 20px 40px -20px rgba(var(--qb-color-gold-rgb), 0.9);
}
.welcome-seal .seal-star::after {
  transform: rotate(45deg);
}
.welcome-seal b {
  font-family: var(--qb-ff-heading);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}
.welcome-seal > span:last-child {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}
.welcome-seal {
  isolation: isolate;
}
.welcome-copy .qb-section-title {
  margin-bottom: 26px;
}
.welcome-copy .qb-lead {
  margin-bottom: 14px;
}
/* three facts as figures over a hairline, not as bullet chips */
.welcome-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 34px 0 38px;
  padding-top: 28px;
  border-top: 1px solid var(--qb-color-line);
}
.welcome-facts b {
  display: block;
  font-family: var(--qb-ff-heading);
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  color: var(--qb-color-primary);
}
.welcome-facts span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
}
.welcome-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 30px;
}
.welcome-sign {
  display: flex;
  align-items: center;
  gap: 12px;
}
.welcome-sign img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 0 0 3px var(--qb-color-bg), 0 0 0 4px var(--qb-color-gold);
}
.welcome-sign span {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--qb-color-muted);
}
.welcome-sign b {
  font-family: var(--qb-ff-heading);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--qb-color-heading);
}

/*======================
8. Counters And Goal
========================*/
/*---- 8.1 Counter Grid ----*/
.qb-counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
  border-radius: 24px;
  box-shadow: var(--qb-shadow-sm);
  overflow: hidden;
}
.qb-counter {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 36px 36px;
}
.qb-counter + .qb-counter {
  border-left: 1px solid var(--qb-color-line);
}
.qb-counter .counter-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 26px;
  border-radius: 16px;
  background: rgba(var(--qb-color-primary-rgb), 0.1);
  color: var(--qb-color-primary);
  font-size: 21px;
  transition: background-color 0.4s var(--qb-ease), color 0.4s var(--qb-ease), transform 0.5s var(--qb-ease);
}
.qb-counter:hover .counter-ic {
  background: var(--qb-color-primary);
  color: var(--qb-color-on-primary);
  transform: rotate(45deg);
}
.qb-counter:hover .counter-ic i {
  transform: rotate(-45deg);
}
.qb-counter .counter-ic i {
  transition: transform 0.5s var(--qb-ease);
}
.qb-counter .counter-num {
  margin-bottom: 8px;
  font-family: var(--qb-ff-heading);
  font-size: clamp(40px, 3.6vw, 58px);
  font-weight: 600;
  line-height: 1;
  color: var(--qb-color-heading);
  font-variant-numeric: tabular-nums;
}
.qb-counter .counter-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--qb-color-muted);
}



/*---- 8.2 Goal Bar ----*/
.qb-goal {
  margin-top: 26px;
  padding: 30px 36px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.qb-goal .goal-text {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-bottom: 16px;
}
.qb-goal .goal-name {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--qb-ff-heading);
  font-size: 24px;
  font-weight: 600;
  color: #F4ECDD;
}
.qb-goal .goal-figures {
  color: rgba(244, 236, 221, 0.72);
}
.qb-goal .goal-figures b {
  color: var(--qb-color-gold-light);
  font-weight: 600;
}
.qb-goal .goal-meter {
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.12);
}
.qb-goal .goal-meter i {
  border-radius: 5px;
}
.qb-goal .goal-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 34px;
  margin-top: 18px;
  font-size: 15px;
  color: rgba(244, 236, 221, 0.72);
}
.qb-goal .goal-foot b {
  color: #F4ECDD;
  font-weight: 600;
}
.qb-goal .goal-foot .qb-btn {
  margin-left: auto;
}
/* the same goal on a light ground */
.qb-goal.is-light {
  background: var(--qb-color-surface);
  border-color: var(--qb-color-line);
  box-shadow: var(--qb-shadow-sm);
}
.qb-goal.is-light .goal-name,
.qb-goal.is-light .goal-foot b {
  color: var(--qb-color-heading);
}
.qb-goal.is-light .goal-figures,
.qb-goal.is-light .goal-foot {
  color: var(--qb-color-text);
}
.qb-goal.is-light .goal-figures b {
  color: var(--qb-color-primary);
}
.qb-goal.is-light .goal-meter {
  background: var(--qb-tonal-2);
}


/*---- 8.3 Sadaqah Causes ----*/
/* a film and a live goal for each cause, one at a time, arrows between them */
.qb-sadaqah {
  margin-top: 46px;
}
.sadaqah-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.sadaqah-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--qb-ff-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--qb-color-heading);
}
.sadaqah-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sadaqah-count {
  margin-right: 10px;
  font-family: var(--qb-ff-heading);
  font-size: 18px;
  color: var(--qb-color-text);
}
.sadaqah-count b {
  font-size: 26px;
  color: var(--qb-color-primary);
}
.sadaqah-nav button {
  display: inline-flex;
  flex: 0 0 50px;
  align-items: center;
  justify-content: center;
  width: 50px;
  padding: 0;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: var(--qb-tonal-2);
  color: var(--qb-color-heading);
  cursor: pointer;
  transition: background-color 0.3s var(--qb-ease), color 0.3s var(--qb-ease);
}
.sadaqah-nav button:hover {
  background: var(--qb-color-primary);
  color: #FFFFFF;
}
.sadaqah-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 26px;
}
.sadaqah-film {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  overflow: hidden;
  border-radius: 24px;
  isolation: isolate;
}
.sadaqah-film img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--qb-ease);
}
.sadaqah-film::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(var(--qb-color-night-rgb), 0.1) 30%, rgba(var(--qb-color-night-rgb), 0.62));
}
.sadaqah-film:hover img {
  transform: scale(1.05);
}
.sadaqah-film .film-tag {
  position: absolute;
  left: 22px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
}
.sadaqah-card .qb-goal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 0;
}
.sadaqah-card .goal-name {
  margin: 0;
}
.sadaqah-text {
  margin: 0 0 22px;
  color: var(--qb-color-text);
}

/*======================
9. Everyday Tools
========================*/
.qb-tool-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
/* each tool card shows a live answer, the tool's name sits at the foot */
.qb-tool {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 24px 24px 24px;
  border-radius: var(--qb-radius);
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
  color: var(--qb-color-text);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--qb-ease), box-shadow 0.5s var(--qb-ease), color 0.4s var(--qb-ease);
}
/* a teal ground rises behind the card on hover */
.qb-tool::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--qb-color-gold-rgb), 0.3), transparent 55%),
    var(--qb-color-ink);
  transform: translateY(101%);
  transition: transform 0.55s var(--qb-ease);
}
.qb-tool:hover {
  color: rgba(244, 236, 221, 0.75);
  transform: translateY(-6px);
  box-shadow: var(--qb-shadow);
}
.qb-tool:hover::before {
  transform: translateY(0);
}
.qb-tool .tool-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: auto;
  padding-bottom: 30px;
}
.qb-tool .tool-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(var(--qb-color-primary-rgb), 0.1);
  color: var(--qb-color-primary);
  font-size: 20px;
  transition: background-color 0.4s var(--qb-ease), color 0.4s var(--qb-ease);
}
.qb-tool:hover .tool-ic {
  background: var(--qb-color-gold);
  color: var(--qb-color-night);
}
.qb-tool .tool-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--qb-tonal);
  color: var(--qb-color-heading);
  font-size: 12px;
  transform: rotate(-45deg);
  transition: transform 0.5s var(--qb-ease), background-color 0.4s var(--qb-ease), color 0.4s var(--qb-ease);
}
.qb-tool:hover .tool-arrow {
  transform: rotate(0deg);
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}
.qb-tool .tool-label {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--qb-color-muted);
  transition: color 0.4s var(--qb-ease);
}
.qb-tool .tool-value {
  margin: 6px 0 2px;
  font-family: var(--qb-ff-heading);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.12;
  color: var(--qb-color-heading);
  transition: color 0.4s var(--qb-ease);
}
.qb-tool .tool-value small {
  font-family: var(--qb-ff-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--qb-color-muted);
}
.qb-tool:hover .tool-value small {
  color: rgba(244, 236, 221, 0.7);
}
.qb-tool .tool-sub {
  font-size: 14px;
}
.qb-tool .tool-name {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--qb-color-line);
  font-size: 15px;
  font-weight: 500;
  color: var(--qb-color-primary);
  transition: color 0.4s var(--qb-ease), border-color 0.4s var(--qb-ease);
}
.qb-tool:hover .tool-label {
  color: var(--qb-color-gold-light);
}
.qb-tool:hover .tool-value {
  color: #F4ECDD;
}
.qb-tool:hover .tool-name {
  color: var(--qb-color-gold-light);
  border-color: rgba(255, 255, 255, 0.12);
}

/*======================
10. Events And Khutbah
========================*/
/*---- 10.1 Heading Row ----*/
.qb-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--qb-color-line);
}
.qb-heading-row .qb-eyebrow {
  margin-bottom: 8px;
}
.qb-heading-row h3 {
  margin: 0;
  font-size: clamp(28px, 2.4vw, 36px);
}
.rail-arrows {
  display: flex;
  gap: 8px;
}
.rail-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--qb-tonal);
  color: var(--qb-color-heading);
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.3s var(--qb-ease), color 0.3s var(--qb-ease);
}
.rail-arrow:hover {
  background: var(--qb-color-primary);
  color: var(--qb-color-on-primary);
}
.rail-arrow.swiper-button-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/*---- 10.2 Event Rail ----*/
.qb-event-rail {
  height: 462px;
}
.qb-event-row {
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  column-gap: 22px;
  height: 142px;
  padding: 16px 22px 16px 16px;
  border-radius: var(--qb-radius);
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
  color: var(--qb-color-text);
  transition: box-shadow 0.4s var(--qb-ease), transform 0.4s var(--qb-ease), border-color 0.4s var(--qb-ease);
}
.qb-event-row:hover {
  color: var(--qb-color-text);
  border-color: rgba(var(--qb-color-primary-rgb), 0.35);
  box-shadow: var(--qb-shadow-sm);
  transform: translateX(6px);
}
/* the date tile: teal, the numeral in El Messiri */
.qb-event-row .event-date {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 108px;
  border-radius: 14px;
  background: var(--qb-color-primary);
  color: rgba(255, 255, 255, 0.85);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
}
:root[data-theme="dark"] .qb-event-row .event-date {
  color: rgba(7, 27, 31, 0.8);
}
.qb-event-row .event-date b {
  font-family: var(--qb-ff-heading);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: var(--qb-color-on-primary);
}
.qb-event-row .event-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.qb-event-row .event-title {
  margin-bottom: 4px;
  font-family: var(--qb-ff-heading);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--qb-color-heading);
  transition: color 0.3s var(--qb-ease);
}
.qb-event-row:hover .event-title {
  color: var(--qb-color-primary);
}
.qb-event-row .event-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qb-event-row .event-meta i {
  width: 14px;
  color: var(--qb-color-gold);
}
.qb-event-row .event-hijri {
  grid-column: 2;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--qb-color-gold-ink);
}


/*---- 10.3 Accordion ----*/
.qb-acc-item {
  margin-bottom: 12px;
  border-radius: var(--qb-radius);
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
  transition: box-shadow 0.4s var(--qb-ease), border-color 0.4s var(--qb-ease);
}
.qb-acc-item.is-open {
  border-color: rgba(var(--qb-color-primary-rgb), 0.35);
  box-shadow: var(--qb-shadow-sm);
}
.qb-acc-item .acc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: var(--qb-color-heading);
  font-family: var(--qb-ff-heading);
  font-size: 19px;
  font-weight: 600;
  text-align: start;
  cursor: pointer;
}
.qb-acc-item .acc-head i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--qb-tonal);
  font-size: 11px;
  transition: transform 0.4s var(--qb-ease), background-color 0.3s var(--qb-ease), color 0.3s var(--qb-ease);
}
.qb-acc-item.is-open .acc-head i {
  background: var(--qb-color-primary);
  color: var(--qb-color-on-primary);
  transform: rotate(45deg);
}
.qb-acc-item .acc-head:hover {
  color: var(--qb-color-primary);
}
.qb-acc-item .acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--qb-ease);
}
.qb-acc-item.is-open .acc-body {
  grid-template-rows: 1fr;
}
.qb-acc-item .acc-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 24px;
}
.qb-acc-item .acc-inner > :last-child {
  margin-bottom: 24px;
}

/*---- 10.4 Khutbah Meta And Media ----*/
.khutbah-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-bottom: 18px;
  font-size: 14.5px;
}
.khutbah-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.khutbah-meta i {
  color: var(--qb-color-gold);
}
.khutbah-meta a {
  color: var(--qb-color-primary);
  font-weight: 500;
}
.khutbah-media {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.share-note {
  font-size: 13px;
  color: var(--qb-color-primary);
}

/*---- 10.5 Audio Player ----*/
.qb-player {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px 10px 10px;
  border-radius: var(--qb-radius-pill);
  background: var(--qb-color-surface-2);
}
.qb-player .player-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--qb-color-primary);
  color: var(--qb-color-on-primary);
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s var(--qb-ease), color 0.3s var(--qb-ease);
}
.qb-player .player-play i.fa-play {
  margin-left: 3px;
}
.qb-player.is-playing .player-play {
  background: var(--qb-color-gold);
  color: var(--qb-color-night);
}
.qb-player .player-track {
  flex: 1 1 auto;
  min-width: 0;
}
.qb-player .player-title {
  display: block;
  margin-bottom: 2px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--qb-color-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qb-player .player-seek {
  display: block;
  width: 100%;
  height: 4px;
  margin: 6px 0 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--qb-color-primary) var(--qb-progress, 0%), var(--qb-tonal-2) var(--qb-progress, 0%));
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.qb-player .player-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--qb-color-gold);
}
.qb-player .player-seek::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: var(--qb-color-gold);
}
.qb-player .player-time {
  flex: 0 0 auto;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  color: var(--qb-color-muted);
}
.qb-player .player-back,
.qb-player .player-speed {
  flex: 0 0 auto;
  height: 34px;
  min-width: 34px;
  padding: 0 9px;
  border: 0;
  border-radius: 17px;
  background: var(--qb-tonal);
  color: var(--qb-color-heading);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.qb-player .player-back:hover,
.qb-player .player-speed:hover {
  background: var(--qb-tonal-2);
}

/*======================
11. Video Band
========================*/
.qb-video-band {
  position: relative;
  padding: 150px 0;
  overflow: hidden;
  background: var(--qb-color-night);
  color: #FFFFFF;
  text-align: center;
}
.qb-video-band .video-bg {
  position: absolute;
  inset: 0;
}
.qb-video-band .video-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qb-video-band .video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(var(--qb-color-ink-rgb), 0.45) 0%, rgba(var(--qb-color-night-rgb), 0.8) 75%);
}
.qb-video-band .video-band-inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}
.qb-video-band h2 {
  margin: 34px 0 14px;
  color: #FFFFFF;
}
.qb-video-band p {
  color: rgba(244, 236, 221, 0.8);
  font-size: 18px;
  font-weight: 300;
}
/* the gold play disc with two slow rings */
.qb-play {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--qb-color-gold);
  color: var(--qb-color-night);
  font-size: 24px;
  transition: transform 0.4s var(--qb-ease), background-color 0.3s var(--qb-ease);
}
.qb-play i {
  margin-left: 5px;
}
.qb-play::before,
.qb-play::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(var(--qb-color-gold-rgb), 0.8);
  animation: qbRing 2.8s var(--qb-ease) infinite;
}
.qb-play::after {
  animation-delay: 1.4s;
}
.qb-play:hover {
  color: var(--qb-color-night);
  transform: scale(1.06);
}
@keyframes qbRing {
  from { transform: scale(1); opacity: 1; }
  to { transform: scale(1.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .qb-play::before,
  .qb-play::after {
    animation: none;
  }
}

/*======================
12. Qibla Line
========================*/
/*---- 12.1 Night Band ----*/
.qb-qibla-line {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 40%, rgba(var(--qb-color-gold-rgb), 0.12), transparent 55%),
    var(--qb-color-night);
  color: rgba(255, 255, 255, 0.78);
}
/* D2 night sky: twinkling stars drawn on a canvas behind the band */
.qb-night-sky {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.qb-qibla-line .container {
  position: relative;
}
.qb-qibla-line .qb-section-title {
  margin-bottom: 34px;
}
.qibla-city {
  max-width: 420px;
  margin-bottom: 26px;
}
/* the select on the night ground */
.qb-qibla-line .qb-select .select-button {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}
.qb-qibla-line .qb-select .select-button i {
  color: rgba(255, 255, 255, 0.6);
}
.qb-qibla-line .qb-input-wrap > i {
  color: var(--qb-color-primary);
}
/* label / value rows divided by hairlines */
.qibla-readout {
  max-width: 420px;
  margin-bottom: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.qibla-readout li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.qibla-readout span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.qibla-readout b {
  font-family: var(--qb-ff-heading);
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
}
.qibla-readout b span {
  font-size: inherit;
  letter-spacing: 0;
  text-transform: none;
}
.qibla-readout small {
  font-family: var(--qb-ff-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--qb-color-primary);
}

/*---- 12.2 Map And Compass ----*/
.qb-qibla-map {
  position: relative;
  aspect-ratio: 5 / 2;
  width: 100%;
}
.qb-qibla-map .qibla-canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.qibla-compass {
  position: absolute;
  left: 2%;
  bottom: -4%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(var(--qb-color-night-rgb), 0.9) 54%, transparent 55%),
    repeating-conic-gradient(rgba(255, 255, 255, 0.35) 0deg 1.2deg, transparent 1.2deg 15deg),
    rgba(var(--qb-color-night-rgb), 0.92);
  border: 1px solid rgba(var(--qb-color-gold-rgb), 0.5);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
}
.qibla-compass > span:not(.compass-needle) {
  position: absolute;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}
/* a compass never mirrors */
/*rtl:begin:ignore*/
.qibla-compass .compass-n {
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--qb-color-primary);
}
.qibla-compass .compass-s {
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
}
.qibla-compass .compass-e {
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.qibla-compass .compass-w {
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}
/*rtl:end:ignore*/
/* the needle points up at 0deg and is turned to the bearing by script */
.compass-needle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 92px;
  margin: -46px 0 0 -2px;
  transform-origin: 50% 50%;
}
.compass-needle::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 14px;
  bottom: 46px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--qb-color-gold-light), var(--qb-color-gold));
}
.compass-needle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--qb-color-primary);
}
.compass-needle i {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 15px;
  color: var(--qb-color-gold-light);
}
/* other cities under the map */
.qibla-others {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 46px;
}
.qibla-other {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 2px 10px;
  padding: 14px 16px;
  border: 0;
  border-radius: var(--qb-radius);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s var(--qb-ease);
}
.qibla-other:hover,
.qibla-other.is-active {
  background: rgba(var(--qb-color-primary-rgb), 0.14);
}
.qibla-other span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.qibla-other b {
  font-family: var(--qb-ff-heading);
  font-weight: 400;
  font-size: 20px;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
}
.qibla-other small {
  grid-column: 1 / -1;
  font-size: 13px;
}

/*======================
13. Gallery
========================*/
/* the base's mosaic: two by two on the left, one tall photo on the right */
.qb-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 290px 290px;
  gap: 10px;
}
.qb-mosaic .mosaic-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--qb-radius);
  background: var(--qb-color-ink);
}
.qb-mosaic .mosaic-item.is-tall {
  grid-column: 3;
  grid-row: 1 / 3;
}
.qb-mosaic .mosaic-item:nth-child(4) {
  grid-column: 1;
  grid-row: 2;
}
.qb-mosaic .mosaic-item:nth-child(5) {
  grid-column: 2;
  grid-row: 2;
}
.qb-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qb-mosaic .mosaic-cap {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--qb-radius-pill);
  background: rgba(var(--qb-color-night-rgb), 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--qb-ease), transform 0.4s var(--qb-ease);
}
.qb-mosaic .mosaic-cap i {
  color: var(--qb-color-gold);
}
.qb-mosaic .mosaic-item:hover .mosaic-cap,
.qb-mosaic .mosaic-item:focus-visible .mosaic-cap {
  opacity: 1;
  transform: none;
}

/*======================
14. News Cards
========================*/
/* the base's overlap card, refined: the body card rises over the photograph's foot */
.qb-news-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.qb-news-card .news-media {
  display: block;
  height: 300px;
  border-radius: var(--qb-radius);
}
/* Home 2's two wide cards: a taller photograph */
.qb-news-card.is-wide .news-media {
  height: 430px;
}
.qb-news-card .news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* the date badge: a gold seal on the photograph */
.qb-news-card .news-date {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 70px;
  border-radius: 14px;
  background: var(--qb-color-surface);
  color: var(--qb-color-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: var(--qb-shadow-sm);
}
.qb-news-card .news-date b {
  font-family: var(--qb-ff-heading);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--qb-color-primary);
}
.qb-news-card .news-body {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: -54px 18px 0;
  padding: 28px 28px 30px;
  border-radius: var(--qb-radius);
  background: var(--qb-color-surface);
  border-top: 3px solid var(--qb-color-gold);
  box-shadow: 0 26px 50px -34px rgba(var(--qb-color-night-rgb), 0.55);
  transition: transform 0.5s var(--qb-ease), box-shadow 0.5s var(--qb-ease);
}
.qb-news-card:hover .news-body {
  transform: translateY(-8px);
  box-shadow: var(--qb-shadow);
}
/* tags on the photograph: glass pills across from the date seal */
.qb-news-card .news-tags {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: calc(100% - 120px);
}
.qb-news-card .news-tags a {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 15px;
  border-radius: var(--qb-radius-pill);
  background: rgba(var(--qb-color-night-rgb), 0.45);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 0.3s ease, color 0.3s ease;
}
.qb-news-card .news-tags a:hover {
  background: var(--qb-color-gold);
  color: var(--qb-color-night);
}
/* the author: a round portrait in a gold ring, name and role */
.qb-news-card .news-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.qb-news-card .news-author img {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  padding: 2px;
  border: 2px solid var(--qb-color-gold);
  border-radius: 50%;
  background: var(--qb-color-surface);
  object-fit: cover;
}
.qb-news-card .news-author b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--qb-color-heading);
}
.qb-news-card .news-author small {
  display: block;
  font-size: 13px;
  color: var(--qb-color-text);
}
.qb-news-card h3 {
  margin: 18px 0 12px;
  font-size: 23px;
}
.qb-news-card h3 a:hover {
  color: var(--qb-color-primary);
}
.qb-news-card p {
  flex: 1 1 auto;
  font-size: 15.5px;
  margin-bottom: 22px;
}
/* the foot: read more, then the reading time and the comments */
.qb-news-card .news-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  width: 100%;
  padding-top: 18px;
  border-top: 1px dashed var(--qb-color-line);
}
.qb-news-card .news-stats {
  display: flex;
  gap: 18px;
  font-size: 13.5px;
  color: var(--qb-color-text);
}
.qb-news-card .news-stats li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  /* "6 Min Read" keeps its English order in a right-to-left page */
  unicode-bidi: plaintext;
}
.qb-news-card .news-stats i {
  color: var(--qb-color-primary);
}

/*======================
15. Home Two
========================*/
/*---- 15.1 Video Hero Details ----*/
.qb-hero .hero-count.is-low,
.qb-hero .hero-count.is-low.swiper-pagination-horizontal {
  bottom: 70px;
}
.qb-hero.is-video .hero-lattice {
  z-index: 1;
}


/*---- 15.2 Imam Welcome ----*/
.imam-figure {
  position: relative;
  max-width: 470px;
  padding: 34px 0 0 34px;
}
/* the base's gold arabesque as a panel behind the arch, offset */
.imam-pattern {
  position: absolute;
  left: 0;
  top: 0;
  width: 78%;
  height: 82%;
  overflow: hidden;
  border-radius: 999px 999px var(--qb-radius) var(--qb-radius);
}
.imam-pattern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.imam-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--qb-color-surface-2);
}
.imam-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.imam-badge {
  position: absolute;
  right: -24px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-radius: var(--qb-radius);
  background: var(--qb-color-surface);
  box-shadow: var(--qb-shadow);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--qb-color-muted);
}
.imam-badge b {
  font-family: var(--qb-ff-heading);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: var(--qb-color-primary);
  letter-spacing: 0;
}
.imam-role {
  display: block;
  margin: -34px 0 22px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--qb-color-gold-ink);
}
.qb-imam-welcome .qb-section-title {
  margin-bottom: 40px;
}
.imam-facts {
  margin: 30px 0 34px;
}
.imam-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
}



/*---- 15.3 Counter Strip ----*/
.qb-counter-strip {
  padding: 70px 0;
  border-top: 1px solid var(--qb-color-line);
  border-bottom: 1px solid var(--qb-color-line);
}
.qb-counter-strip .qb-texture img {
  opacity: 0.12;
}
:root[data-theme="dark"] .qb-counter-strip .qb-texture img {
  opacity: 0.08;
}
.qb-counter-strip .qb-texture::after {
  background: radial-gradient(ellipse at center, transparent 30%, var(--qb-color-bg) 85%);
}
.strip-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.strip-item + .strip-item {
  border-left: 1px solid var(--qb-color-line);
}
.strip-item b {
  font-family: var(--qb-ff-heading);
  font-size: clamp(40px, 3.6vw, 56px);
  font-weight: 600;
  line-height: 1;
  color: var(--qb-color-primary);
  font-variant-numeric: tabular-nums;
}
.strip-item > span:last-child {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--qb-color-muted);
}


/*---- 15.4 Five Prayers ----*/
.five-intro {
  position: sticky;
  top: 140px;
  padding-bottom: 40px;
}
.five-next {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 34px;
  padding: 20px 24px;
  border-radius: var(--qb-radius);
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
  font-size: 17px;
}
.five-next .label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--qb-color-primary);
}
.five-next b {
  font-family: var(--qb-ff-heading);
  font-weight: 600;
  font-size: 22px;
  color: var(--qb-color-heading);
}
.five-stack {
  position: relative;
}
/* each card sticks a little lower than the one before, so the pile shows its edges */
.five-card {
  position: sticky;
  top: 130px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  min-height: 300px;
  margin-bottom: 30px;
  padding: 40px 42px;
  border-radius: 26px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 -20px 50px -30px rgba(0, 0, 0, 0.5);
  transform-origin: center top;
}
.five-card:nth-child(2) { top: 154px; }
.five-card:nth-child(3) { top: 178px; }
.five-card:nth-child(4) { top: 202px; }
.five-card:nth-child(5) { top: 226px; margin-bottom: 0; }
/* the sky of each hour */
.five-card.is-fajr { background: linear-gradient(135deg, #16234A 0%, #5A4C86 55%, #D9927B 100%); }
.five-card.is-dhuhr { background: linear-gradient(135deg, #0F5E8F 0%, #2E8FC9 55%, #8FCBE4 100%); }
.five-card.is-asr { background: linear-gradient(135deg, #8A4B17 0%, #C9813A 50%, #E9B65C 100%); }
.five-card.is-maghrib { background: linear-gradient(135deg, #34183F 0%, #A33A5E 55%, #E8883E 100%); }
.five-card.is-isha {
  background:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 70% 20%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 85% 70%, rgba(232, 212, 166, 0.9), transparent),
    radial-gradient(1px 1px at 40% 80%, rgba(255, 255, 255, 0.6), transparent),
    linear-gradient(135deg, #040B14 0%, #0C2B30 60%, #183A55 100%);
}
.five-card h3 {
  margin: 4px 0 10px;
  color: #FFFFFF;
  font-size: clamp(40px, 3.6vw, 56px);
  line-height: 1;
}
.five-card p {
  max-width: 300px;
  font-size: 15.5px;
}
.five-card .five-when {
  display: block;
  margin-top: 18px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.five-card .five-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.five-card .five-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.five-card .qb-time {
  margin-bottom: 14px;
  font-family: var(--qb-ff-heading);
  font-size: clamp(34px, 3vw, 46px);
  font-weight: 600;
  line-height: 1.1;
  color: #FFFFFF;
}
.five-rows li {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14.5px;
}
.five-rows b {
  font-weight: 500;
  color: #FFFFFF;
}
.five-card .five-left {
  display: none;
  align-self: flex-start;
  margin-top: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 500;
  color: #FFFFFF;
}
.five-card.is-next .five-left {
  display: inline-block;
}
.five-card.is-next {
  box-shadow: 0 0 0 3px var(--qb-color-gold), 0 -20px 50px -30px rgba(0, 0, 0, 0.5);
}
/* the large sun arc on a card */
.sun-arc.is-large {
  width: 92px;
  height: 46px;
}
.sun-arc.is-large::before {
  left: 4px;
  right: 4px;
  top: 4px;
  height: 84px;
  border: 2px dashed rgba(255, 255, 255, 0.55);
}
.sun-arc.is-large::after {
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
}
.sun-arc.is-large i {
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  background: #FFE7A8;
  box-shadow: 0 0 18px 4px rgba(255, 220, 140, 0.6);
}



/*---- 15.5 Pattern Splits ----*/
/* the base's two gold arabesque bands: photo + pattern panel, side by side */
.qb-upcoming,
.qb-schedule {
  display: grid;
  grid-template-columns: 5fr 7fr;
  min-height: 560px;
}
.qb-schedule {
  grid-template-columns: 7fr 5fr;
}
.upcoming-photo,
.schedule-photo {
  position: relative;
  overflow: hidden;
  background: var(--qb-color-night);
}
.upcoming-photo img,
.schedule-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.upcoming-panel,
.schedule-panel {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 90px 8%;
  background: var(--qb-color-ink);
  color: rgba(244, 236, 221, 0.78);
  isolation: isolate;
}
.panel-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.panel-pattern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  mix-blend-mode: luminosity;
}
.panel-pattern::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(var(--qb-color-ink-rgb), 0.55), rgba(var(--qb-color-ink-rgb), 0.92) 80%);
}
.upcoming-inner,
.schedule-inner {
  width: 100%;
  max-width: 620px;
}
.upcoming-panel .qb-eyebrow,
.schedule-panel .qb-eyebrow {
  color: var(--qb-color-gold-light);
}
.upcoming-title,
.schedule-title {
  margin: 0 0 12px;
  color: #F4ECDD;
  font-size: clamp(32px, 3.2vw, 50px);
}
.upcoming-date,
.schedule-date {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-bottom: 34px;
  font-size: 17px;
}
.upcoming-date .dot,
.schedule-date .dot {
  width: 6px;
  height: 6px;
  background: var(--qb-color-gold);
  transform: rotate(45deg);
}
/* the countdown: four glass tiles */
.qb-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 520px;
  margin-bottom: 38px;
}
.qb-countdown > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 8px 16px;
  border-radius: var(--qb-radius);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.qb-countdown b {
  font-family: var(--qb-ff-heading);
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 600;
  line-height: 1;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
}
.qb-countdown span {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--qb-color-gold-light);
}
/* the computed schedule */
.qb-schedule-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: var(--qb-radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.qb-schedule-table th,
.qb-schedule-table td {
  padding: 14px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: start;
  font-variant-numeric: tabular-nums;
}
.qb-schedule-table thead th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--qb-color-gold-light);
  background: rgba(255, 255, 255, 0.04);
}
.qb-schedule-table tbody th {
  font-family: var(--qb-ff-heading);
  font-size: 19px;
  font-weight: 600;
  color: #F4ECDD;
}
.qb-schedule-table td {
  font-size: 16px;
  color: rgba(244, 236, 221, 0.86);
}
.qb-schedule-table tr.is-next th,
.qb-schedule-table tr.is-next td {
  background: rgba(var(--qb-color-gold-rgb), 0.18);
  color: var(--qb-color-gold-light);
}
.qb-schedule-table tr.is-jumuah th,
.qb-schedule-table tr.is-jumuah td {
  border-bottom: 0;
  color: var(--qb-color-gold-light);
}
/* the schedule is the light panel: the base's gold arabesque on cream, and the night run
   (upcoming ... Ramadan) is broken before the Ramadan band */
.schedule-panel.is-light {
  background: var(--qb-color-bg-alt);
  color: var(--qb-color-text);
}
.schedule-panel.is-light .panel-pattern img {
  opacity: 0.55;
  mix-blend-mode: multiply;
}
.schedule-panel.is-light .panel-pattern::after {
  background: radial-gradient(ellipse at 40% 50%, rgba(var(--qb-color-bg-rgb), 0.9), rgba(var(--qb-color-bg-rgb), 0.6) 85%);
}
.schedule-panel.is-light .qb-eyebrow {
  color: var(--qb-color-primary);
}
.schedule-panel.is-light .schedule-title {
  color: var(--qb-color-heading);
}
.schedule-panel.is-light .qb-schedule-table {
  background: var(--qb-color-surface);
  border-color: var(--qb-color-line);
  box-shadow: var(--qb-shadow-sm);
}
.schedule-panel.is-light .qb-schedule-table th,
.schedule-panel.is-light .qb-schedule-table td {
  border-bottom-color: var(--qb-color-line);
}
.schedule-panel.is-light .qb-schedule-table thead th {
  color: var(--qb-color-gold-ink);
  background: var(--qb-color-surface-2);
}
.schedule-panel.is-light .qb-schedule-table tbody th {
  color: var(--qb-color-heading);
}
.schedule-panel.is-light .qb-schedule-table td {
  color: var(--qb-color-text);
}
.schedule-panel.is-light .qb-schedule-table tr.is-next th,
.schedule-panel.is-light .qb-schedule-table tr.is-next td {
  background: rgba(var(--qb-color-gold-rgb), 0.16);
  color: var(--qb-color-gold-ink);
}
.schedule-panel.is-light .qb-schedule-table tr.is-jumuah th,
.schedule-panel.is-light .qb-schedule-table tr.is-jumuah td {
  color: var(--qb-color-gold-ink);
}



/*---- 15.6 Ramadan Band ----*/
.qb-ramadan {
  overflow: hidden;
}
.qb-ramadan .container {
  position: relative;
}
.ramadan-count {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: -10px 0 30px;
}
.ramadan-count > b {
  font-family: var(--qb-ff-heading);
  font-size: clamp(64px, 6vw, 96px);
  font-weight: 700;
  line-height: 0.9;
  color: var(--qb-color-gold-light);
  font-variant-numeric: tabular-nums;
}
.ramadan-count em {
  display: block;
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #F4ECDD;
}
.ramadan-count > span {
  font-size: 15px;
}
.qb-ramadan .qb-facts {
  margin-bottom: 36px;
}
/* the Fitrah card: cream on the night */
.qb-fitrah {
  position: relative;
  padding: 40px 38px;
  border-radius: 26px;
  background: var(--qb-color-surface);
  color: var(--qb-color-text);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}
.qb-fitrah h3 {
  margin-bottom: 6px;
  font-size: 30px;
}
.qb-fitrah > p {
  margin-bottom: 24px;
  font-size: 15px;
}
/* a gold crescent in the card corner, the logo's geometry */
.fitrah-crescent {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(var(--qb-color-gold-rgb), 0.22);
}
.fitrah-crescent::after {
  content: "";
  position: absolute;
  left: 24%;
  top: -6%;
  width: 84%;
  height: 84%;
  border-radius: 50%;
  background: var(--qb-color-surface);
}
.fitrah-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--qb-color-line);
}
.fitrah-row .qb-label {
  margin: 0;
}
.fitrah-row b {
  font-size: 17px;
  font-weight: 600;
  color: var(--qb-color-heading);
}
.fitrah-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 6px 0 18px;
  padding: 18px 20px;
  border-radius: var(--qb-radius-sm);
  background: rgba(var(--qb-color-primary-rgb), 0.08);
}
.fitrah-total span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--qb-color-primary);
}
.fitrah-total b {
  font-family: var(--qb-ff-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--qb-color-heading);
}
.fitrah-times {
  margin-bottom: 24px;
}
.fitrah-times li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--qb-color-line);
  font-size: 15px;
}
.fitrah-times b {
  font-weight: 600;
  color: var(--qb-color-heading);
}

/*======================
16. Inner Page Components
========================*/
/*---- 16.1 Cards And Panels ----*/
.qb-card {
  position: relative;
  padding: 34px;
  border-radius: 22px;
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
  box-shadow: var(--qb-shadow-sm);
}
.qb-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 24px;
}
.qb-card-title i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(var(--qb-color-primary-rgb), 0.1);
  color: var(--qb-color-primary);
  font-size: 17px;
}
/* a night panel for results and live figures */
.qb-panel-night {
  position: relative;
  padding: 34px;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--qb-color-gold-rgb), 0.22), transparent 55%),
    var(--qb-color-night);
  color: rgba(244, 236, 221, 0.75);
}
.qb-panel-night h2,
.qb-panel-night h3,
.qb-panel-night h4 {
  color: #F4ECDD;
}
.qb-sticky {
  position: sticky;
  top: 110px;
}
.qb-note {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--qb-radius-sm);
  background: rgba(var(--qb-color-gold-rgb), 0.12);
  font-size: 14.5px;
  color: var(--qb-color-text);
}
.qb-note i {
  margin-top: 4px;
  color: var(--qb-color-gold-ink);
}



/*---- 16.2 Controls Bar ----*/
/* a row of selects above a tool */
.qb-controls {
  display: grid;
  /* minmax(0, ...): a select never widens its column to fit its longest option */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}
.qb-controls .qb-field {
  min-width: 0;
  margin-bottom: 0;
}



/*---- 16.3 Data Tables ----*/
/* tables never scroll sideways: secondary columns fold away per breakpoint */
.qb-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.qb-table th,
.qb-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--qb-color-line);
  text-align: start;
  font-size: 15px;
}
.qb-table thead th {
  position: sticky;
  top: 76px;
  z-index: 2;
  background: var(--qb-color-surface-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--qb-color-muted);
}
.qb-table thead th:first-child {
  border-radius: 12px 0 0 12px;
}
.qb-table thead th:last-child {
  border-radius: 0 12px 12px 0;
}
.qb-table tbody th {
  font-weight: 500;
  color: var(--qb-color-heading);
}
.qb-table tbody tr {
  transition: background-color 0.3s var(--qb-ease);
}
.qb-table tbody tr:hover {
  background: var(--qb-tonal);
}
.qb-table tr.is-today th,
.qb-table tr.is-today td {
  background: rgba(var(--qb-color-primary-rgb), 0.1);
  color: var(--qb-color-primary);
  font-weight: 600;
}
.qb-table tr.is-friday th {
  color: var(--qb-color-gold-ink);
}
.qb-table tr.is-marked td,
.qb-table tr.is-marked th {
  background: rgba(var(--qb-color-gold-rgb), 0.1);
}
.qb-table small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--qb-color-muted);
}




/*---- 16.4 Board Of Prayer Tiles ----*/
.qb-board {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.qb-board .board-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 10px 22px;
  border-radius: var(--qb-radius);
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
  text-align: center;
  transition: background-color 0.5s var(--qb-ease), transform 0.5s var(--qb-ease);
}
.qb-board .board-name {
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--qb-color-muted);
}
.qb-board .qb-time {
  font-family: var(--qb-ff-heading);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 600;
  color: var(--qb-color-heading);
}
.qb-board .board-sub {
  font-size: 13px;
  color: var(--qb-color-muted);
}
.qb-board .board-tile.is-next {
  background: var(--qb-color-primary);
  border-color: var(--qb-color-primary);
  transform: translateY(-8px);
  box-shadow: 0 24px 40px -22px rgba(var(--qb-color-primary-rgb), 0.9);
}
.qb-board .board-tile.is-next .board-name,
.qb-board .board-tile.is-next .qb-time,
.qb-board .board-tile.is-next .board-sub {
  color: var(--qb-color-on-primary);
}
.qb-board .board-tile [data-left] {
  display: none;
  margin-top: 6px;
  padding: 2px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 12px;
  color: var(--qb-color-on-primary);
}
.qb-board .board-tile.is-next [data-left] {
  display: inline-block;
}
.qb-board .board-tile.is-next .sun-arc::before {
  border-color: rgba(255, 255, 255, 0.6);
}
.qb-board .board-tile.is-next .sun-arc i {
  background: #FFFFFF;
}



/*---- 16.5 Sidebar Widgets ----*/
.qb-sidebar > * + * {
  margin-top: 26px;
}
.qb-widget {
  padding: 30px;
  border-radius: 22px;
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
}
.qb-widget-title {
  position: relative;
  margin-bottom: 22px;
  padding-bottom: 14px;
  font-size: 21px;
}
.qb-widget-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: var(--qb-color-gold);
}
.qb-search {
  position: relative;
}
.qb-search input {
  display: block;
  width: 100%;
  height: 54px;
  padding: 0 58px 0 20px;
  border: 1px solid var(--qb-color-line);
  border-radius: var(--qb-radius-pill);
  background: var(--qb-color-bg);
  color: var(--qb-color-heading);
  font-size: 15px;
}
.qb-search input:focus {
  outline: 0;
  border-color: var(--qb-color-primary);
}
.qb-search button {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--qb-color-primary);
  color: var(--qb-color-on-primary);
  cursor: pointer;
}
.qb-list-links li a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--qb-color-line);
  color: var(--qb-color-heading);
}
.qb-list-links li:last-child a {
  border-bottom: 0;
}
.qb-list-links li a span {
  color: var(--qb-color-muted);
}
.qb-list-links li a:hover {
  color: var(--qb-color-primary);
}
.qb-mini-posts li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--qb-color-line);
}
.qb-mini-posts li:last-child {
  border-bottom: 0;
}
.qb-mini-posts img {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  border-radius: 14px;
  object-fit: cover;
}
.qb-mini-posts h4 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.35;
}
.qb-mini-posts small {
  font-size: 13px;
  color: var(--qb-color-muted);
}
.qb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.qb-tags a {
  padding: 7px 16px;
  border-radius: var(--qb-radius-pill);
  background: var(--qb-tonal);
  color: var(--qb-color-heading);
  font-size: 14px;
}
.qb-tags a:hover {
  background: var(--qb-color-primary);
  color: var(--qb-color-on-primary);
}

/*---- 16.6 Toolbar ----*/
.qb-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
  padding: 14px;
  border-radius: 22px;
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
}
.qb-toolbar .toolbar-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.qb-toolbar .qb-search {
  width: 300px;
}
.qb-toolbar .qb-select {
  width: 210px;
}
.qb-toolbar .toolbar-count {
  padding: 0 10px;
  font-size: 14.5px;
  color: var(--qb-color-muted);
}
.qb-view-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: var(--qb-radius-pill);
  background: var(--qb-tonal);
}
.qb-view-toggle button {
  width: 40px;
  height: 38px;
  border: 0;
  border-radius: var(--qb-radius-pill);
  background: transparent;
  color: var(--qb-color-muted);
  cursor: pointer;
}
.qb-view-toggle button.is-active {
  background: var(--qb-color-surface);
  color: var(--qb-color-primary);
  box-shadow: var(--qb-shadow-sm);
}
.qb-empty {
  padding: 50px 20px;
  text-align: center;
  color: var(--qb-color-muted);
}


/*---- 16.7 Steps Row ----*/
.qb-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.qb-step {
  position: relative;
  padding: 34px 30px;
  border-radius: 22px;
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
}
.qb-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 16px;
  font-family: var(--qb-ff-heading);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--qb-color-gold);
}
.qb-step h3 {
  margin-bottom: 10px;
  font-size: var(--qb-fs-h4);
}
.qb-step p {
  font-size: 15.5px;
}

/*======================
17. Tool Pages
========================*/
/*---- 17.1 Prayer Times Page ----*/
.pt-controls {
  margin-bottom: 60px;
}
.pt-today-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.pt-date {
  margin: 0 0 4px;
  font-size: clamp(30px, 3vw, 44px);
}
.pt-hijri {
  margin: 0;
  font-size: 17px;
  color: var(--qb-color-gold-ink);
}
.pt-next {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 18px 26px;
  border-radius: var(--qb-radius);
  background: var(--qb-color-night);
  color: rgba(244, 236, 221, 0.7);
  font-size: 13px;
  text-align: end;
}
.pt-next span {
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--qb-color-gold-light);
}
.pt-next b {
  font-family: var(--qb-ff-heading);
  font-size: 26px;
  font-weight: 600;
  color: #F4ECDD;
}
.pt-note {
  margin: 30px 0 70px;
}
.pt-month-card {
  margin-bottom: 30px;
}
.pt-month-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.pt-month-head .qb-card-title {
  margin: 0;
}
.pt-month-head .qb-btn i {
  font-size: 13px;
}
.pt-jumuah {
  height: 100%;
}
.pt-jumuah h3 {
  margin-bottom: 20px;
}
.pt-methods {
  height: 100%;
}
.pt-methods p {
  margin-bottom: 20px;
}


/*---- 17.2 Qibla Page ----*/
.qibla-form {
  height: 100%;
}
.qibla-or {
  margin: 4px 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--qb-color-muted);
}
.qibla-form .qb-btn {
  margin: 4px 0 26px;
}
.qibla-results small {
  font-size: 13px;
  color: var(--qb-color-primary);
}
.qibla-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 520px;
  text-align: center;
}
.qibla-dial {
  position: relative;
  width: min(420px, 80%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(var(--qb-color-night-rgb), 0.9) 60%, transparent 61%),
    repeating-conic-gradient(rgba(232, 212, 166, 0.55) 0deg 0.8deg, transparent 0.8deg 10deg),
    radial-gradient(circle, #0E2A30, #0A2226);
  border: 1px solid rgba(var(--qb-color-gold-rgb), 0.5);
  box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.03), 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.qibla-dial .dial-ring {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.15);
}
/*rtl:begin:ignore*/
.qibla-dial > span:not(.compass-needle):not(.dial-ring) {
  position: absolute;
  font-family: var(--qb-ff-heading);
  font-size: 22px;
  font-weight: 600;
  color: rgba(244, 236, 221, 0.75);
}
.qibla-dial .compass-n {
  top: 9%;
  left: 50%;
  transform: translateX(-50%);
  color: var(--qb-color-gold-light);
}
.qibla-dial .compass-s {
  bottom: 9%;
  left: 50%;
  transform: translateX(-50%);
}
.qibla-dial .compass-e {
  right: 9%;
  top: 50%;
  transform: translateY(-50%);
}
.qibla-dial .compass-w {
  left: 9%;
  top: 50%;
  transform: translateY(-50%);
}
/*rtl:end:ignore*/
.compass-needle.is-large {
  width: 6px;
  height: 64%;
  margin: 0;
  top: 18%;
  left: calc(50% - 3px);
  transition: transform 1.4s var(--qb-ease);
}
.compass-needle.is-large::before {
  top: 34px;
  bottom: 50%;
  border-radius: 3px;
}
.compass-needle.is-large::after {
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  box-shadow: 0 0 0 6px rgba(var(--qb-color-primary-rgb), 0.25);
}
.compass-needle.is-large i {
  top: -6px;
  font-size: 30px;
  filter: drop-shadow(0 0 12px rgba(232, 212, 166, 0.6));
}
.qibla-hint {
  position: relative;
  max-width: 420px;
  margin-top: 30px;
  font-size: 15px;
}
.qibla-map-card {
  margin-top: 30px;
  padding: 24px;
}
.qibla-steps {
  margin-top: 110px;
}


/*---- 17.3 Zakat Page ----*/
.zakat-basis {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.zakat-gap {
  margin-top: 26px;
  padding-top: 30px;
  border-top: 1px solid var(--qb-color-line);
}
.zakat-form .qb-btn-tonal i {
  font-size: 12px;
}
.zakat-result .zakat-due {
  display: block;
  margin: 6px 0 4px;
  font-family: var(--qb-ff-heading);
  font-size: clamp(44px, 4.4vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  color: #F4ECDD;
}
.zakat-result.is-due .zakat-due {
  color: var(--qb-color-gold-light);
}
.zakat-status {
  margin-bottom: 20px;
  font-size: 16px;
}
.zakat-meter {
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
}
.zakat-meter-label {
  display: block;
  margin: 8px 0 22px;
  font-size: 13px;
  color: rgba(244, 236, 221, 0.6);
}
.zakat-result .qb-facts {
  margin-bottom: 26px;
}
.zakat-small {
  margin: 16px 0 0;
  font-size: 13.5px;
  color: rgba(244, 236, 221, 0.6);
}
.zakat-faq {
  margin-top: 110px;
}
.qb-faq-list {
  max-width: 900px;
  margin: 0 auto;
}

/*---- 17.4 Ramadan Page ----*/
.ramadan-top {
  padding-top: 110px;
}
.rt-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(560px, 100%);
}
.rt-controls .qb-field {
  min-width: 0;
  margin-bottom: 0;
}
.rt-today {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 26px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--qb-color-primary);
  color: rgba(255, 255, 255, 0.78);
}
:root[data-theme="dark"] .rt-today {
  color: rgba(7, 27, 31, 0.75);
}
.rt-today > div {
  display: flex;
  flex-direction: column;
  padding: 26px 28px;
}
.rt-today > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.rt-today span {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.rt-today b {
  font-family: var(--qb-ff-heading);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 600;
  color: var(--qb-color-on-primary);
}
.rt-note {
  margin-top: 24px;
}
.taraweeh-card {
  height: 100%;
}



/*---- 17.5 Calendar Page ----*/
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.cal-title {
  text-align: center;
}
.cal-title h3 {
  margin: 0;
  font-size: 30px;
}
.cal-title span {
  font-size: 15px;
  color: var(--qb-color-gold-ink);
}
.cal-week,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.cal-week {
  margin-bottom: 8px;
}
.cal-week span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--qb-color-muted);
}
.cal-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 92px;
  padding: 10px 10px 8px;
  border-radius: 14px;
  background: var(--qb-color-surface-2);
  font-variant-numeric: tabular-nums;
}
.cal-cell.is-blank {
  background: transparent;
}
.cal-cell b {
  font-family: var(--qb-ff-heading);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--qb-color-heading);
}
.cal-cell small {
  font-size: 12px;
  color: var(--qb-color-gold-ink);
}
.cal-cell em {
  margin-top: auto;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--qb-color-primary);
}
.cal-cell.is-friday b {
  color: var(--qb-color-primary);
}
.cal-cell.is-sacred {
  background: rgba(var(--qb-color-gold-rgb), 0.18);
  box-shadow: inset 0 0 0 1px rgba(var(--qb-color-gold-rgb), 0.6);
}
.cal-cell.is-today {
  background: var(--qb-color-primary);
}
.cal-cell.is-today b,
.cal-cell.is-today small,
.cal-cell.is-today em {
  color: var(--qb-color-on-primary);
}
.cal-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 22px;
  font-size: 14px;
}
.cal-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cal-legend i {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}
.cal-legend i.is-today {
  background: var(--qb-color-primary);
}
.cal-legend i.is-sacred {
  background: rgba(var(--qb-color-gold-rgb), 0.5);
}
.cal-legend i.is-friday {
  background: var(--qb-tonal-2);
  box-shadow: inset 0 0 0 2px var(--qb-color-primary);
}
.cal-legend .qb-btn {
  margin-left: auto;
}
.cal-convert {
  height: 100%;
}
.cal-convert h3 {
  margin: 8px 0 14px;
  font-size: 22px;
}
.cal-convert .qb-input,
.cal-convert .qb-select .select-button {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  color: #F4ECDD;
  color-scheme: dark;
}
.cv-hijri {
  display: grid;
  grid-template-columns: 80px 1fr 96px;
  gap: 10px;
}
.cv-hijri .qb-field {
  margin-bottom: 0;
}
.cv-out {
  margin: 14px 0 30px;
  padding: 14px 18px;
  border-radius: var(--qb-radius-sm);
  background: rgba(var(--qb-color-gold-rgb), 0.14);
  color: var(--qb-color-gold-light);
  font-size: 15px;
}
.cal-days {
  margin-top: 110px;
}
.cal-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cal-day {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 18px 22px 18px 18px;
  border-radius: var(--qb-radius);
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
}
.cal-day-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 84px;
  border-radius: 14px;
  background: rgba(var(--qb-color-primary-rgb), 0.1);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--qb-color-primary);
}
.cal-day-date b {
  font-family: var(--qb-ff-heading);
  font-size: 32px;
  line-height: 1;
}
.cal-day-info {
  display: flex;
  flex-direction: column;
}
.cal-day-info b {
  font-family: var(--qb-ff-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--qb-color-heading);
}
.cal-day-info span {
  font-size: 14px;
}
.cal-day-info small {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--qb-color-gold-ink);
}
.cal-day-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cal-day-left b {
  font-family: var(--qb-ff-heading);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--qb-color-heading);
}
.cal-day-left span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--qb-color-muted);
}




/*---- 17.6 Print ----*/
@media print {
  .qb-topbar,
  .qb-header,
  .qb-page-banner,
  .qb-footer,
  .qb-back-to-top,
  .qb-preloader,
  .pt-controls,
  .pt-info,
  .pt-month-head .qb-btn {
    display: none !important;
  }
  .qb-card {
    box-shadow: none;
    border: 0;
  }
}

/*======================
18. Content Pages
========================*/
/*---- 18.1 Donation ----*/
.donate-funds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.fund-tile {
  position: relative;
  cursor: pointer;
}
.fund-tile input {
  position: absolute;
  opacity: 0;
}
.fund-face {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
  border-radius: var(--qb-radius);
  background: var(--qb-color-surface-2);
  border: 1.5px solid transparent;
  transition: border-color 0.3s var(--qb-ease), background-color 0.3s var(--qb-ease), transform 0.3s var(--qb-ease);
}
.fund-face b {
  margin-top: 14px;
  font-family: var(--qb-ff-heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--qb-color-heading);
}
.fund-face small {
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--qb-color-muted);
}
.fund-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--qb-color-surface);
  color: var(--qb-color-primary);
}
.fund-tile:hover .fund-face {
  transform: translateY(-3px);
}
.fund-tile input:checked + .fund-face {
  border-color: var(--qb-color-primary);
  background: rgba(var(--qb-color-primary-rgb), 0.08);
}
.fund-tile input:checked + .fund-face .fund-ic {
  background: var(--qb-color-primary);
  color: var(--qb-color-on-primary);
}
.fund-tile input:focus-visible + .fund-face {
  outline: 2px solid var(--qb-color-gold);
  outline-offset: 2px;
}
.donate-gap {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--qb-color-line);
}
.donate-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.amount-chip {
  min-width: 92px;
  height: 58px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--qb-radius-sm);
  background: var(--qb-tonal);
  color: var(--qb-color-heading);
  font-family: var(--qb-ff-heading);
  font-size: 21px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s var(--qb-ease), color 0.3s var(--qb-ease);
}
.amount-chip:hover {
  background: var(--qb-tonal-2);
}
.amount-chip.is-active {
  background: var(--qb-color-primary);
  color: var(--qb-color-on-primary);
}
.amount-custom {
  flex: 1 1 200px;
  margin: 0;
}
.donate-fee b {
  color: var(--qb-color-heading);
}
.donate-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
}
.donate-form .qb-btn[type="submit"] {
  margin-top: 10px;
}
.donate-total {
  display: block;
  margin: 6px 0 2px;
  font-family: var(--qb-ff-heading);
  font-size: clamp(44px, 4.4vw, 62px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--qb-color-gold-light);
}
.donate-per {
  display: block;
  margin-bottom: 22px;
  font-size: 15px;
}
.donate-impact {
  margin: 22px 0 14px;
  padding: 16px 18px;
  border-radius: var(--qb-radius-sm);
  background: rgba(var(--qb-color-gold-rgb), 0.14);
  color: var(--qb-color-gold-light);
  font-size: 15.5px;
}
.donate-small {
  font-size: 13.5px;
  color: rgba(244, 236, 221, 0.55);
}
.donate-campaigns {
  margin-top: 110px;
}
.qb-campaign {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
  overflow: hidden;
}
.campaign-media {
  height: 220px;
}
.campaign-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.campaign-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 26px 28px 28px;
}
.campaign-body h3 {
  margin-bottom: 10px;
  font-size: 23px;
}
.campaign-body p {
  flex: 1 1 auto;
  margin-bottom: 20px;
  font-size: 15px;
}
.campaign-figures,
.campaign-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  font-size: 14px;
}
.campaign-figures b {
  color: var(--qb-color-primary);
}
.campaign-foot {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--qb-color-line);
}
.campaign-foot i {
  margin-right: 6px;
  color: var(--qb-color-gold);
}



/*---- 18.2 Khutbah Archive ----*/
.qb-toolbar .qb-select .select-button {
  height: 54px;
  border-radius: var(--qb-radius-pill);
  background: var(--qb-color-bg);
}
.qb-khutbah-list {
  display: grid;
  gap: 18px;
}
.qb-khutbah-item {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  padding: 16px;
  border-radius: 22px;
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
  transition: box-shadow 0.4s var(--qb-ease), border-color 0.4s var(--qb-ease);
}
.qb-khutbah-item:hover {
  border-color: rgba(var(--qb-color-primary-rgb), 0.3);
  box-shadow: var(--qb-shadow-sm);
}
.kh-media {
  position: relative;
  display: block;
  min-height: 220px;
  border-radius: var(--qb-radius);
}
.kh-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kh-dur {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--qb-radius-pill);
  background: rgba(var(--qb-color-night-rgb), 0.75);
  color: #FFFFFF;
  font-size: 12.5px;
}
.kh-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 14px 10px 0;
}
.kh-cat {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--qb-color-gold-ink);
}
.kh-body h3 {
  margin: 6px 0 10px;
  font-size: 25px;
}
.kh-body h3 a:hover {
  color: var(--qb-color-primary);
}
.kh-body .khutbah-media {
  margin-top: 14px;
}
/* the grid view: three across, the photograph on top */
.qb-khutbah-list.is-grid {
  grid-template-columns: repeat(3, 1fr);
}
.qb-khutbah-list.is-grid .qb-khutbah-item {
  grid-template-columns: 1fr;
  gap: 18px;
}
.qb-khutbah-list.is-grid .kh-media {
  min-height: 200px;
}
.qb-khutbah-list.is-grid .kh-body {
  padding: 0 6px 6px;
}
.qb-khutbah-list.is-grid .kh-body h3 {
  font-size: 21px;
}



/*---- 18.3 Khutbah Details ----*/
.kd-figure {
  position: relative;
  height: 440px;
  border-radius: 22px;
  overflow: hidden;
}
.kd-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kd-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: -34px 24px 0;
  padding: 8px;
  position: relative;
  border-radius: var(--qb-radius);
  background: var(--qb-color-surface);
  box-shadow: var(--qb-shadow);
}
.kd-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--qb-color-heading);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s var(--qb-ease), color 0.3s var(--qb-ease);
}
.kd-tab i {
  color: var(--qb-color-gold);
}
.kd-tab:hover {
  background: var(--qb-tonal);
}
.kd-tab.is-active {
  background: var(--qb-color-primary);
  color: var(--qb-color-on-primary);
}
.kd-tab.is-active i {
  color: inherit;
}
.kd-panels {
  margin: 24px 0 50px;
}
.kd-watch {
  position: relative;
  display: block;
  height: 320px;
  border-radius: var(--qb-radius);
  overflow: hidden;
}
.kd-watch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kd-watch .qb-play {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -48px 0 0 -48px;
}
.kd-read {
  padding: 20px 24px;
  border-radius: var(--qb-radius);
  background: var(--qb-color-surface-2);
}
.kd-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.kd-share .qb-btn i {
  font-size: 13px;
}


/*---- 18.4 Article ----*/
.qb-article h2 {
  margin: 12px 0 20px;
  font-size: clamp(30px, 3vw, 44px);
}
.qb-article h3 {
  margin: 34px 0 18px;
  font-size: 26px;
}
.qb-article > p {
  font-size: 17px;
}
.qb-quote {
  position: relative;
  margin: 34px 0;
  padding: 34px 38px 34px 90px;
  border-radius: 22px;
  background: var(--qb-color-surface-2);
}
.qb-quote::before {
  content: "\201C";
  position: absolute;
  left: 30px;
  top: 14px;
  font-family: var(--qb-ff-heading);
  font-size: 90px;
  line-height: 1;
  color: var(--qb-color-gold);
}
.qb-quote p {
  margin-bottom: 14px;
  font-family: var(--qb-ff-heading);
  font-size: 22px;
  line-height: 1.5;
  color: var(--qb-color-heading);
}
.qb-quote cite {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--qb-color-primary);
}
/* a typographic list: gold numerals, hairlines */
.qb-ol {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  counter-reset: ol;
}
.qb-ol li {
  position: relative;
  padding: 12px 0 12px 54px;
  border-bottom: 1px solid var(--qb-color-line);
  font-size: 16.5px;
  counter-increment: ol;
}
.qb-ol li::before {
  content: counter(ol, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 10px;
  font-family: var(--qb-ff-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--qb-color-gold);
}
.article-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  padding: 22px 0;
  border-top: 1px solid var(--qb-color-line);
  border-bottom: 1px solid var(--qb-color-line);
}
.foot-label {
  align-self: center;
  margin-right: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--qb-color-heading);
}
.qb-author {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  padding: 30px;
  border-radius: 22px;
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
}
.qb-author img {
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 0 0 4px var(--qb-color-bg), 0 0 0 5px var(--qb-color-gold);
}
.author-role {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--qb-color-gold-ink);
}
.qb-author h4 {
  margin: 4px 0 8px;
}
.qb-author p {
  font-size: 15.5px;
}
.qb-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}
.post-nav-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 26px;
  border-radius: 22px;
  background: var(--qb-color-surface-2);
  color: var(--qb-color-heading);
  transition: background-color 0.3s var(--qb-ease);
}
.post-nav-item span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--qb-color-primary);
}
.post-nav-item b {
  font-family: var(--qb-ff-heading);
  font-size: 19px;
  font-weight: 600;
}
.post-nav-item.is-next {
  align-items: flex-end;
  text-align: end;
}
.post-nav-item:hover {
  background: var(--qb-tonal-2);
  color: var(--qb-color-heading);
}


/*---- 18.5 Comments ----*/
.qb-comments {
  margin-top: 60px;
}
.comments-title {
  margin-bottom: 26px;
  font-size: 28px;
}
.comment-list .comment {
  position: relative;
}
.comment-list .comment > img {
  position: absolute;
  left: 0;
  top: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.comment-body {
  margin-left: 86px;
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--qb-color-line);
}
.comment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin-bottom: 8px;
}
.comment-head b {
  font-family: var(--qb-ff-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--qb-color-heading);
}
.comment-head span {
  font-size: 13.5px;
  color: var(--qb-color-muted);
}
.comment-head .qb-link {
  margin-left: auto;
  font-size: 12.5px;
}
.comment-children {
  margin-left: 86px;
}
.comment-form {
  margin-top: 10px;
}


/*---- 18.6 Sidebar Extras ----*/
.side-jumuah h3 {
  margin: 4px 0 6px;
  font-size: 24px;
}
.side-jumuah-times {
  margin-bottom: 8px;
  font-family: var(--qb-ff-heading);
  font-size: 26px;
  font-weight: 600;
  color: var(--qb-color-gold-light);
}
.side-jumuah .qb-next-prayer {
  font-size: 14px;
}

/*---- 18.7 Events Page ----*/
.qb-event-list {
  display: grid;
  gap: 26px;
}
.qb-event-card {
  display: grid;
  grid-template-columns: 120px 380px 1fr;
  gap: 34px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
  transition: box-shadow 0.4s var(--qb-ease), border-color 0.4s var(--qb-ease);
}
.qb-event-card:hover {
  border-color: rgba(var(--qb-color-primary-rgb), 0.3);
  box-shadow: var(--qb-shadow-sm);
}
/* the base's navy date tile, now the night ground with a gold numeral */
.ec-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  border-radius: 18px;
  background: var(--qb-color-night);
  color: rgba(244, 236, 221, 0.75);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ec-date b {
  font-family: var(--qb-ff-heading);
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
  color: var(--qb-color-gold-light);
}
.ec-media {
  display: block;
  height: 250px;
  border-radius: 18px;
}
.ec-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ec-body {
  padding-right: 20px;
}
.ec-kind {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--qb-color-primary);
}
.ec-body h3 {
  margin: 6px 0 10px;
  font-size: 26px;
}
.ec-body h3 a:hover {
  color: var(--qb-color-primary);
}
.ec-meta {
  margin: 16px 0 22px;
}
.ec-meta li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 0;
  font-size: 14.5px;
}
.ec-meta i {
  width: 16px;
  color: var(--qb-color-gold);
}




/*---- 18.8 Event Details ----*/
.ed-figure {
  margin-bottom: 40px;
}
.ed-photo {
  height: 440px;
  border-radius: 22px 22px 0 0;
  overflow: hidden;
}
.ed-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* the base's countdown strip under the photograph */
.ed-strip {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: stretch;
  border-radius: 0 0 22px 22px;
  overflow: hidden;
  background: var(--qb-color-night);
}
.ed-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--qb-color-primary);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  text-transform: uppercase;
}
/* the dark theme's teal is light: the date reads in night teal on it */
[data-theme="dark"] .ed-date,
[data-theme="dark"] .ed-date b {
  color: var(--qb-color-night);
}
.ed-date b {
  font-family: var(--qb-ff-heading);
  font-size: 46px;
  line-height: 1;
  color: var(--qb-color-on-primary);
}
.ed-strip .qb-countdown {
  max-width: none;
  margin: 0;
  padding: 18px;
}
.ed-cal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.ed-cal .qb-btn i {
  font-size: 14px;
}
.rsvp-seats {
  margin-bottom: 10px;
  font-size: 15px;
}
.rsvp-seats b {
  font-family: var(--qb-ff-heading);
  font-size: 30px;
  color: var(--qb-color-primary);
}
.rsvp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0;
}
.rsvp-row .qb-label {
  margin: 0;
}
.ed-map iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: var(--qb-radius);
}

/*======================
19. Community Pages
========================*/
/*---- 19.1 Pillars And Story ----*/
.qb-pillar {
  height: 100%;
  padding: 40px 36px;
  border-radius: 24px;
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
  transition: transform 0.5s var(--qb-ease), box-shadow 0.5s var(--qb-ease);
}
.qb-pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--qb-shadow);
}
/* the icon sits in an eight-point star that turns on hover */
.pillar-ic {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 26px;
  color: var(--qb-color-on-primary);
  font-size: 20px;
  isolation: isolate;
}
.pillar-ic::before,
.pillar-ic::after {
  content: "";
  position: absolute;
  inset: 6px;
  z-index: -1;
  border-radius: 8px;
  background: var(--qb-color-primary);
  transition: transform 0.6s var(--qb-ease), background-color 0.4s var(--qb-ease);
}
.pillar-ic::after {
  transform: rotate(45deg);
}
.qb-pillar:hover .pillar-ic::before {
  transform: rotate(45deg);
  background: var(--qb-color-gold);
}
.qb-pillar:hover .pillar-ic::after {
  transform: rotate(90deg);
  background: var(--qb-color-gold);
}
.qb-pillar h3 {
  font-size: 24px;
}
.qb-story-card {
  position: relative;
  height: 100%;
  padding: 40px 40px 36px;
  border-radius: 24px;
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
  overflow: hidden;
}
.story-num {
  position: absolute;
  top: 18px;
  right: 26px;
  font-family: var(--qb-ff-heading);
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--qb-color-gold-rgb), 0.55);
}
.qb-story-card h3 {
  margin-bottom: 14px;
  font-size: 26px;
}
.qb-story-card p {
  margin-bottom: 18px;
}
/* the timeline: a gold rule with stars on the years */
.qb-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 70px;
  padding-top: 34px;
}
.qb-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 7px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--qb-color-gold) 10%, var(--qb-color-gold) 90%, transparent);
}
.tl-item {
  position: relative;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: -34px;
  width: 15px;
  height: 15px;
  background: var(--qb-color-gold);
  transform: rotate(45deg);
  box-shadow: 0 0 0 5px var(--qb-color-bg);
}
.tl-item b {
  display: block;
  margin-bottom: 6px;
  font-family: var(--qb-ff-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--qb-color-primary);
}
.tl-item span {
  font-size: 15px;
}


/*---- 19.2 How To Pray ----*/
.pray-stage {
  padding: 34px;
  border-radius: 26px;
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
  box-shadow: var(--qb-shadow-sm);
}
.pray-strip {
  position: relative;
  overflow: hidden;
  border-radius: var(--qb-radius);
  background: #FFFFFF;
}
.pray-strip img {
  display: block;
  width: 100%;
}
/* a window over the chosen position; the rest of the strip dims (the strip is a photograph: never mirrored) */
/*rtl:begin:ignore*/
.pray-focus {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1.5%;
  width: 8.5%;
  border-radius: 14px;
  box-shadow: 0 0 0 2000px rgba(var(--qb-color-bg-rgb), 0.72), inset 0 0 0 2px var(--qb-color-gold);
  transition: left 0.7s var(--qb-ease), width 0.7s var(--qb-ease);
}
/*rtl:end:ignore*/
.pray-steps {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 22px;
}
.pray-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 6px;
  border: 0;
  border-radius: var(--qb-radius-sm);
  background: var(--qb-tonal);
  color: var(--qb-color-heading);
  cursor: pointer;
  transition: background-color 0.3s var(--qb-ease), color 0.3s var(--qb-ease);
}
.pray-step b {
  font-family: var(--qb-ff-heading);
  font-size: 17px;
  font-weight: 600;
}
.pray-step span {
  font-size: 12px;
  color: var(--qb-color-muted);
}
.pray-step.is-active {
  background: var(--qb-color-primary);
  color: var(--qb-color-on-primary);
}
.pray-step.is-active span {
  color: inherit;
  opacity: 0.8;
}
.pray-text {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-top: 22px;
  padding: 18px 22px;
  border-radius: var(--qb-radius-sm);
  background: rgba(var(--qb-color-gold-rgb), 0.12);
}
.pray-text b {
  font-family: var(--qb-ff-heading);
  font-size: 24px;
  color: var(--qb-color-heading);
}
.pray-text p {
  margin: 0;
}



/*---- 19.3 People ----*/
.qb-person {
  position: relative;
  height: 100%;
  padding: 18px 18px 26px;
  border-radius: 24px;
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
  text-align: center;
  transition: transform 0.5s var(--qb-ease), box-shadow 0.5s var(--qb-ease);
}
.qb-person:hover {
  transform: translateY(-6px);
  box-shadow: var(--qb-shadow);
}
.person-photo {
  aspect-ratio: 4 / 5;
  background: var(--qb-color-surface-2);
}
.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.8s var(--qb-ease);
}
.qb-person:hover .person-photo img {
  transform: scale(1.05);
}
.person-star {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  margin: -8px auto 14px;
}
.person-star::before,
.person-star::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--qb-color-gold);
  transition: transform 0.6s var(--qb-ease);
}
.person-star::after {
  transform: rotate(45deg);
}
.qb-person:hover .person-star::before {
  transform: rotate(45deg);
}
.qb-person:hover .person-star::after {
  transform: rotate(90deg);
}
.qb-person h3 {
  margin-bottom: 2px;
  font-size: 22px;
}
.person-role {
  display: block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--qb-color-gold-ink);
}
.qb-person .qb-social {
  justify-content: center;
}
@media (min-width: 1200px) {
  .row.is-five > * {
    width: 20%;
  }
}

.ask-panel {
  height: 100%;
}
.ask-panel h2 {
  margin: 4px 0 14px;
  font-size: clamp(28px, 2.6vw, 38px);
}
.ask-panel > *:not(.qb-night-sky) {
  position: relative;
}
.ask-panel .qb-facts {
  margin-top: 26px;
}
.ask-submit {
  margin-top: 20px;
}

/*---- 19.4 Madrasa ----*/
.madrasa-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 34px;
  border-top: 1px solid var(--qb-color-line);
}
.madrasa-stats > div {
  padding: 22px 10px 0 0;
}
.madrasa-stats b {
  display: block;
  font-family: var(--qb-ff-heading);
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
  color: var(--qb-color-primary);
}
.madrasa-stats > div > span {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--qb-color-muted);
}
.madrasa-figure {
  position: relative;
  max-width: 500px;
  margin-left: auto;
}
.madrasa-photo {
  aspect-ratio: 4 / 5;
  background: var(--qb-color-night);
}
.madrasa-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.madrasa-note {
  position: absolute;
  left: -40px;
  bottom: 50px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 230px;
  padding: 22px 24px;
  border-radius: var(--qb-radius);
  background: var(--qb-color-surface);
  box-shadow: var(--qb-shadow);
  font-size: 14px;
}
.madrasa-note b {
  margin-top: 8px;
  font-family: var(--qb-ff-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--qb-color-heading);
}
.qb-class {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
  overflow: hidden;
}
.class-media {
  position: relative;
  height: 210px;
}
.class-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.class-fee {
  position: absolute;
  right: 16px;
  top: 16px;
  padding: 6px 14px;
  border-radius: var(--qb-radius-pill);
  background: var(--qb-color-gold);
  color: var(--qb-color-night);
  font-size: 13px;
  font-weight: 600;
}
.class-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 24px 26px 26px;
}
.class-age {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--qb-color-primary);
}
.class-body h3 {
  margin: 6px 0 14px;
  font-size: 23px;
}
.class-body .qb-facts li {
  padding: 10px 0;
}
.class-seats {
  margin: 18px 0 20px;
  font-size: 14px;
}
.class-seats b {
  color: var(--qb-color-primary);
}
.class-seats .qb-meter {
  margin-top: 8px;
}
.class-body .qb-btn {
  margin-top: auto;
}
.qb-meter i.is-static.is-w30 { width: 30%; }
.qb-meter i.is-static.is-w50 { width: 50%; }
.qb-meter i.is-static.is-w70 { width: 70%; }
.qb-meter i.is-static.is-w80 { width: 80%; }
.qb-meter i.is-static.is-w85 { width: 85%; }
.enrol-first {
  display: block;
  margin: 6px 0 2px;
  font-family: var(--qb-ff-heading);
  font-size: clamp(44px, 4.4vw, 62px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--qb-color-gold-light);
}
.enrol-per {
  display: block;
  margin-bottom: 22px;
  font-size: 15px;
}
.enrol-small {
  margin: 18px 0 0;
  font-size: 13.5px;
  color: rgba(244, 236, 221, 0.6);
}



/*---- 19.5 Services ----*/
.qb-service {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
  overflow: hidden;
  transition: transform 0.5s var(--qb-ease), box-shadow 0.5s var(--qb-ease);
}
.qb-service:hover {
  transform: translateY(-6px);
  box-shadow: var(--qb-shadow);
}
.service-media {
  display: block;
  height: 230px;
}
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-ic {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin: -31px 0 0 26px;
  border-radius: 18px;
  background: var(--qb-color-primary);
  color: var(--qb-color-on-primary);
  font-size: 22px;
  box-shadow: 0 0 0 6px var(--qb-color-surface);
  transition: background-color 0.4s var(--qb-ease), color 0.4s var(--qb-ease), transform 0.6s var(--qb-ease);
}
.qb-service:hover .service-ic {
  background: var(--qb-color-gold);
  color: var(--qb-color-night);
  transform: rotate(-8deg);
}
.service-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 28px 30px;
}
.service-body h3 {
  margin-bottom: 10px;
  font-size: 24px;
}
.service-body p {
  flex: 1 1 auto;
  font-size: 15.5px;
}
.office-card,
.office-cta {
  height: 100%;
}
.office-cta > *:not(.qb-webgl) {
  position: relative;
}
.office-cta h3 {
  margin: 4px 0 14px;
  font-size: clamp(26px, 2.4vw, 34px);
}
.office-cta .qb-btn-row {
  margin-top: 26px;
}
.sd-photo {
  height: 460px;
  margin-bottom: 40px;
  border-radius: 24px;
  overflow: hidden;
}
.sd-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sd-included {
  margin-bottom: 10px;
}
.sd-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 30px;
}
.sd-gallery a {
  display: block;
  height: 220px;
  border-radius: var(--qb-radius);
}
.sd-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sd-packages {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}
.pack {
  position: relative;
  cursor: pointer;
}
.pack input {
  position: absolute;
  opacity: 0;
}
.pack > span {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0 10px;
  padding: 14px 16px;
  border-radius: var(--qb-radius-sm);
  background: var(--qb-color-surface-2);
  border: 1.5px solid transparent;
  transition: border-color 0.3s var(--qb-ease), background-color 0.3s var(--qb-ease);
}
.pack b {
  font-family: var(--qb-ff-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--qb-color-heading);
}
.pack small {
  grid-column: 1;
  font-size: 13px;
  color: var(--qb-color-muted);
}
.pack em {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  font-style: normal;
  font-family: var(--qb-ff-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--qb-color-primary);
}
.pack input:checked + span {
  border-color: var(--qb-color-primary);
  background: rgba(var(--qb-color-primary-rgb), 0.08);
}
.pack input:focus-visible + span {
  outline: 2px solid var(--qb-color-gold);
}
.sd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.sd-row .qb-label {
  margin: 0;
}
.sd-extras {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
.sd-extras b {
  color: var(--qb-color-primary);
}
.sd-booking input[type="date"] {
  height: 58px;
  padding: 0 14px;
}
.sd-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 6px;
  padding: 16px 18px;
  border-radius: var(--qb-radius-sm);
  background: rgba(var(--qb-color-primary-rgb), 0.08);
}
.sd-total span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--qb-color-primary);
}
.sd-total b {
  font-family: var(--qb-ff-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--qb-color-heading);
}
.sd-breakdown {
  margin: 10px 0 16px;
  font-size: 13.5px;
  color: var(--qb-color-muted);
}


/*---- 19.6 FAQ ----*/
.faq-top {
  max-width: 820px;
  margin: 0 auto 50px;
  text-align: center;
}
.faq-top .qb-section-title {
  margin-bottom: 30px;
}
.faq-search {
  max-width: 620px;
  margin: 0 auto 22px;
}
.faq-search input {
  height: 64px;
  background: var(--qb-color-surface);
  box-shadow: var(--qb-shadow-sm);
}
.faq-search button {
  top: 9px;
  right: 9px;
  width: 46px;
  height: 46px;
}
.faq-tabs {
  justify-content: center;
}
.is-search-out {
  display: none !important;
}
.faq-contact {
  max-width: 900px;
  margin: 70px auto 0;
}
.faq-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.faq-cta > *:not(.qb-webgl) {
  position: relative;
}
.faq-cta h3 {
  margin: 0;
  font-size: 26px;
}

/*---- 19.7 Contact ----*/
.qb-info-card {
  height: 100%;
  padding: 34px 30px;
  border-radius: 24px;
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
  transition: transform 0.5s var(--qb-ease), box-shadow 0.5s var(--qb-ease);
}
.qb-info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--qb-shadow);
}
.info-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: rgba(var(--qb-color-primary-rgb), 0.1);
  color: var(--qb-color-primary);
  font-size: 21px;
  transition: background-color 0.4s var(--qb-ease), color 0.4s var(--qb-ease);
}
.qb-info-card:hover .info-ic {
  background: var(--qb-color-primary);
  color: var(--qb-color-on-primary);
}
.qb-info-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
}
.qb-info-card p {
  font-size: 15.5px;
}
.contact-map {
  padding: 12px;
  border-radius: 26px;
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 18px;
}
.contact-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 0;
  max-width: 1080px;
  margin: 70px auto 0;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--qb-shadow);
}
.contact-panel {
  border-radius: 0;
  padding: 50px 44px;
}
.contact-panel > *:not(.qb-night-sky) {
  position: relative;
}
.contact-panel h2 {
  margin: 0 0 30px;
  font-size: clamp(30px, 3vw, 42px);
}
.contact-lines li {
  display: flex;
  flex-direction: column;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-lines span {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--qb-color-gold-light);
}
.contact-lines b {
  font-size: 18px;
  font-weight: 400;
  color: #F4ECDD;
}
.contact-bubble {
  position: absolute !important;
  right: 30px;
  bottom: 20px;
  font-size: 120px;
  color: rgba(255, 255, 255, 0.05);
}
.contact-form {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 50px 44px;
}

/*======================
20. Shop Blog And Account
========================*/
/*---- 20.1 Product Card ----*/
.qb-product {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
  overflow: hidden;
  transition: transform 0.5s var(--qb-ease), box-shadow 0.5s var(--qb-ease);
}
.qb-product:hover {
  transform: translateY(-6px);
  box-shadow: var(--qb-shadow);
}
.product-media {
  position: relative;
  aspect-ratio: 9 / 10;
  overflow: hidden;
  background: #FFFFFF;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.9s var(--qb-ease);
}
.product-media img[src$=".png"] {
  object-fit: contain;
  padding: 10%;
}
.qb-product:hover .product-media img {
  transform: scale(1.06);
}
.product-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 5px 12px;
  border-radius: var(--qb-radius-pill);
  background: var(--qb-color-gold);
  color: var(--qb-color-night);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
/* the quick add slides up on hover */
.product-add {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--qb-color-primary);
  color: var(--qb-color-on-primary);
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s var(--qb-ease), transform 0.4s var(--qb-ease), background-color 0.3s var(--qb-ease);
}
.qb-product:hover .product-add,
.product-add:focus-visible {
  opacity: 1;
  transform: none;
}
.product-add:hover {
  background: var(--qb-color-gold);
  color: var(--qb-color-night);
}
/* the base's ink caption bar, now a quiet strip under the photo */
.product-caption {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 18px 20px 20px;
}
.product-cat {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--qb-color-gold-ink);
}
.product-caption h3 {
  margin: 4px 0 8px;
  font-size: 19px;
}
.product-caption h3 a:hover {
  color: var(--qb-color-primary);
}
.product-price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.product-price b {
  font-family: var(--qb-ff-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--qb-color-primary);
}
.product-price del {
  font-size: 15px;
  color: var(--qb-color-muted);
}


/*---- 20.2 Shop Layouts ----*/
.shop-toolbar {
  margin-bottom: 26px;
}
.shop-cats li button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 11px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--qb-color-heading);
  font-size: 15px;
  text-align: start;
  cursor: pointer;
  transition: background-color 0.3s var(--qb-ease), color 0.3s var(--qb-ease);
}
.shop-cats li button span {
  color: var(--qb-color-muted);
}
.shop-cats li button:hover {
  background: var(--qb-tonal);
}
.shop-cats li button.is-active {
  background: var(--qb-color-primary);
  color: var(--qb-color-on-primary);
}
.shop-cats li button.is-active span {
  color: inherit;
}
.shop-price-label {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
}
.shop-price-label b {
  color: var(--qb-color-primary);
}
.shop-price-ends {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--qb-color-muted);
}
.shop-ad {
  display: block;
  border-radius: 22px;
}
.shop-ad img {
  width: 100%;
  display: block;
}
.shop-filterbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.shop-filterbar .qb-search {
  width: 320px;
}


/*---- 20.3 Product Page ----*/
.pd-main {
  border-radius: 24px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--qb-color-line);
}
.pd-main a {
  display: block;
  aspect-ratio: 1;
}
.pd-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.pd-main img[src$=".png"] {
  object-fit: contain;
  padding: 12%;
}
.pd-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.pd-thumbs button {
  padding: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 14px;
  background: #FFFFFF;
  cursor: pointer;
  transition: border-color 0.3s var(--qb-ease);
}
.pd-thumbs button.is-active {
  border-color: var(--qb-color-primary);
}
.pd-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pd-info h2 {
  margin: 6px 0 10px;
  font-size: clamp(32px, 3vw, 44px);
}
.pd-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
}
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--qb-color-star);
  font-size: 13px;
}
.pd-price {
  display: block;
  margin-bottom: 18px;
  font-family: var(--qb-ff-heading);
  font-size: 40px;
  font-weight: 700;
  color: var(--qb-color-primary);
}
.pd-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.size-opt {
  position: relative;
  cursor: pointer;
}
.size-opt input {
  position: absolute;
  opacity: 0;
}
.size-opt span {
  display: flex;
  flex-direction: column;
  padding: 12px 18px;
  border-radius: var(--qb-radius-sm);
  background: var(--qb-color-surface-2);
  border: 1.5px solid transparent;
  font-weight: 500;
  color: var(--qb-color-heading);
}
.size-opt small {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--qb-color-muted);
}
.size-opt input:checked + span {
  border-color: var(--qb-color-primary);
  background: rgba(var(--qb-color-primary-rgb), 0.08);
}
.size-opt input:focus-visible + span {
  outline: 2px solid var(--qb-color-gold);
}
.pd-buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.pd-buy .qb-btn i {
  font-size: 14px;
}
.pd-stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 14px;
}
.pd-stock i {
  font-size: 8px;
  color: var(--qb-color-primary);
}
.pd-tabs {
  margin-top: 80px;
  padding: 36px;
  border-radius: 24px;
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
}
.pd-tabs .qb-tabs {
  margin-bottom: 28px;
}
.pd-tabs h3 {
  font-size: 26px;
}
.pd-reviews .comment-head .stars {
  margin-left: auto;
}
.pd-related {
  margin-top: 110px;
}


/*---- 20.4 Cart And Checkout ----*/
.cart-head,
.cart-line {
  display: grid;
  grid-template-columns: 1fr 100px 130px 100px 40px;
  align-items: center;
  gap: 14px;
}
.cart-head {
  padding: 0 0 14px;
  border-bottom: 1px solid var(--qb-color-line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--qb-color-muted);
}
.cart-head span:last-child {
  grid-column: 4 / 6;
}
.cart-line {
  padding: 18px 0;
  border-bottom: 1px solid var(--qb-color-line);
}
.cl-product {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.cl-product img {
  width: 76px;
  height: 90px;
  flex: 0 0 auto;
  border-radius: 12px;
  object-fit: cover;
  object-position: center top;
  background: #FFFFFF;
}
.cl-product span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.cl-product b {
  font-family: var(--qb-ff-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--qb-color-heading);
}
.cl-product small {
  font-size: 13px;
  color: var(--qb-color-muted);
}
.cl-price,
.cl-total {
  font-weight: 500;
  color: var(--qb-color-heading);
}
.cl-remove {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--qb-tonal);
  color: var(--qb-color-muted);
  cursor: pointer;
}
.cl-remove:hover {
  background: var(--qb-color-error);
  color: #FFFFFF;
}
.cart-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 24px;
}
.cart-coupon {
  display: flex;
  gap: 8px;
}
.cart-coupon .qb-input {
  width: 200px;
  height: 46px;
}
.coupon-note {
  font-size: 13.5px;
  color: var(--qb-color-primary);
}
.cart-actions > .qb-btn {
  margin-left: auto;
}
.cart-grand {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 18px 0 14px;
}
.cart-grand span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--qb-color-gold-light);
}
.cart-grand b {
  font-family: var(--qb-ff-heading);
  font-size: 40px;
  font-weight: 700;
  color: #F4ECDD;
}
.cart-ship-note {
  font-size: 14px;
}
.co-gap {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--qb-color-line);
}
.co-options {
  display: grid;
  gap: 8px;
}
.co-lines {
  margin: 10px 0 18px;
}
.co-lines li {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}
.co-lines img {
  width: 54px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center top;
  background: #FFFFFF;
}
.co-lines span {
  display: flex;
  flex-direction: column;
  font-size: 13px;
}
.co-lines b {
  font-weight: 500;
  font-size: 15px;
  color: #F4ECDD;
}
.co-lines em {
  font-style: normal;
  color: #F4ECDD;
}
.co-terms {
  margin-bottom: 18px;
  color: rgba(244, 236, 221, 0.8);
}


/*---- 20.5 Blog Posts ----*/
.qb-post {
  margin-bottom: 40px;
  border-radius: 24px;
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
  overflow: hidden;
}
.post-media {
  position: relative;
  display: block;
  height: 400px;
}
.post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-play {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -48px 0 0 -48px;
}
.post-gallery .swiper,
.post-gallery .swiper-wrapper,
.post-gallery .swiper-slide {
  height: 100%;
}
.post-gallery .slider-prev,
.post-gallery .slider-next {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--qb-color-ink);
  cursor: pointer;
}
.post-gallery .slider-prev {
  left: 18px;
}
.post-gallery .slider-next {
  right: 18px;
}
.post-body {
  padding: 34px 38px 38px;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--qb-color-muted);
}
.post-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.post-meta i {
  color: var(--qb-color-gold);
}
.post-meta a {
  color: var(--qb-color-primary);
}
.post-body h2 {
  margin-bottom: 14px;
  font-size: clamp(26px, 2.4vw, 34px);
}
.post-body h2 a:hover {
  color: var(--qb-color-primary);
}
.post-body .qb-player {
  margin: 10px 0 18px;
}
.qb-post.is-quote {
  border: 0;
}
.post-quote {
  position: relative;
  padding: 50px 54px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--qb-color-gold-rgb), 0.25), transparent 55%),
    var(--qb-color-night);
  color: rgba(244, 236, 221, 0.75);
}
.post-quote > *:not(.qb-webgl) {
  position: relative;
}
.post-quote i {
  font-size: 40px;
  color: var(--qb-color-gold);
}
.post-quote p {
  margin: 18px 0 16px;
  font-family: var(--qb-ff-heading);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.45;
  color: #F4ECDD;
}
.post-quote cite {
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.post-quote cite a {
  color: var(--qb-color-gold-light);
}
.side-prayers .footer-prayers li {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
}
.bd-figure {
  height: 460px;
  margin-bottom: 34px;
  border-radius: 24px;
  overflow: hidden;
}
.bd-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bd-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 10px 0 26px;
}
.bd-photos a {
  display: block;
  height: 240px;
  border-radius: var(--qb-radius);
}
.bd-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/*---- 20.6 Account ----*/
.account-wrap {
  border-radius: 28px;
  overflow: hidden;
  background: var(--qb-color-surface);
  border: 1px solid var(--qb-color-line);
  box-shadow: var(--qb-shadow);
}
.account-panel {
  height: 100%;
  border-radius: 0;
  padding: 56px 46px;
}
.account-panel > *:not(.qb-webgl) {
  position: relative;
}
.account-logo {
  height: 52px;
  width: auto;
  margin-bottom: 50px;
}
.account-panel h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 2.6vw, 38px);
}
.account-panel .qb-facts {
  margin-top: 34px;
}
.account-form {
  padding: 56px 54px;
}
.password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 38px;
  height: 38px;
  margin-top: -19px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--qb-color-muted);
  cursor: pointer;
}
.password-toggle:hover {
  background: var(--qb-tonal);
}
.account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}
.account-switch {
  margin-top: 22px;
  text-align: center;
  font-size: 15px;
}
.account-switch a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--qb-color-primary);
  font-weight: 500;
}
.account-submit {
  margin-top: 24px;
}
.pw-strength {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--qb-color-muted);
}
.pw-bars {
  display: grid;
  grid-template-columns: repeat(4, 30px);
  gap: 4px;
}
.pw-bars i {
  height: 4px;
  border-radius: 2px;
  background: var(--qb-tonal-2);
}
.pw-strength[data-level="1"] .pw-bars i:nth-child(-n+1) { background: var(--qb-color-error); }
.pw-strength[data-level="2"] .pw-bars i:nth-child(-n+2) { background: var(--qb-color-star); }
.pw-strength[data-level="3"] .pw-bars i:nth-child(-n+3) { background: var(--qb-color-primary-2); }
.pw-strength[data-level="4"] .pw-bars i { background: var(--qb-color-primary); }
.pw-match {
  display: block;
  margin-top: 8px;
  font-size: 13px;
}
.pw-match.is-ok {
  color: var(--qb-color-primary);
}
.pw-match.is-bad {
  color: var(--qb-color-error);
}


/*---- 20.7 Coming Soon And 404 ----*/
.qb-soon,
.qb-error {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 80px 0;
  overflow: hidden;
  text-align: center;
}
.qb-soon .container,
.qb-error .container {
  position: relative;
}
.soon-inner,
.error-inner {
  max-width: 760px;
  margin: 0 auto;
}
.soon-logo {
  display: block;
}
.soon-logo img {
  height: 60px;
  width: auto;
  margin-bottom: 50px;
}
.qb-soon h1,
.qb-error h1 {
  margin: 0 0 16px;
  color: #F4ECDD;
  font-size: clamp(36px, 4.6vw, 64px);
}
.qb-soon p,
.qb-error p {
  font-size: 18px;
  font-weight: 300;
}
.qb-soon p b {
  color: var(--qb-color-gold-light);
  font-weight: 500;
}
.soon-count .qb-countdown {
  margin: 40px auto;
}
.soon-form {
  max-width: 480px;
  margin: 0 auto 30px;
}
.soon-social {
  justify-content: center;
}
.error-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
  font-family: var(--qb-ff-heading);
  font-size: clamp(110px, 16vw, 200px);
  font-weight: 700;
  line-height: 1;
  color: var(--qb-color-gold-light);
}
/* the 0 is the logo's crescent, never mirrored */
/*rtl:begin:ignore*/
.error-moon {
  position: relative;
  width: 0.72em;
  height: 0.72em;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 34% 64%, #F6ECCF, #E8D4A6 38%, #C9A45C 100%);
  box-shadow: 0 0 60px rgba(232, 212, 166, 0.3);
}
.error-moon::after {
  content: "";
  position: absolute;
  left: 23.9%;
  top: -5.6%;
  width: 84%;
  height: 84%;
  border-radius: 50%;
  background: var(--qb-color-night);
}
:root[data-theme="dark"] .error-moon::after {
  background: #041215;
}
/*rtl:end:ignore*/
.qb-error .qb-btn-row {
  justify-content: center;
  margin-top: 34px;
}

/*======================
21. Footer
========================*/
/*---- 21.1 Footer Ground ----*/
.qb-footer {
  position: relative;
  padding-top: 0;
  overflow: hidden;
  isolation: isolate;
}
.qb-footer .qb-texture img {
  opacity: 0.05;
}
.qb-footer .qb-texture::after {
  display: none;
}

/*---- 21.2 Call To Action ----*/
/* the CTA card straddles the top of the footer on a teal ground with the lattice */
.footer-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px 50px;
  margin-top: 110px;
  padding: 56px 60px;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--qb-color-gold-rgb), 0.28), transparent 50%),
    linear-gradient(120deg, #0C7B77 0%, #0B5E5C 55%, #0C2B30 100%);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}
.footer-cta .qb-webgl {
  opacity: 0.9;
}
.footer-cta .cta-copy,
.footer-cta .qb-btn-row {
  position: relative;
}
.footer-cta .qb-eyebrow {
  color: var(--qb-color-gold-light);
}
.footer-cta h2 {
  max-width: 620px;
  margin: 0;
  color: #FFFFFF;
  font-size: clamp(30px, 3vw, 44px);
}
.footer-cta .qb-btn-row {
  flex: 0 0 auto;
}



/*---- 21.3 Footer Widgets ----*/
.qb-footer .footer-widgets {
  padding: 90px 0 70px;
}
.qb-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.3fr 1.1fr;
  gap: 50px;
}
.footer-title {
  position: relative;
  margin-bottom: 28px;
  padding-bottom: 14px;
  color: #F4ECDD;
  font-size: 22px;
}
.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  border-radius: 2px;
  background: var(--qb-color-gold);
}
.qb-footer .footer-logo img {
  height: 54px;
  width: auto;
  margin-bottom: 22px;
}
.qb-footer .footer-brand p {
  margin-bottom: 22px;
  font-size: 15.5px;
}
.footer-contact {
  margin-bottom: 24px;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 15px;
}
.footer-contact i {
  width: 16px;
  margin-top: 6px;
  color: var(--qb-color-gold);
  font-size: 13px;
}
.footer-contact a:hover,
.footer-links a:hover {
  color: var(--qb-color-gold-light);
}
/* today's prayers: adhan and iqamah columns, the next one in gold */
.footer-prayers-head,
.footer-prayers li {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 8px;
}
.footer-prayers-head {
  margin-bottom: 4px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 236, 221, 0.45);
}
.footer-prayers li {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 15px;
}
.footer-prayers li b {
  font-weight: 500;
  color: #F4ECDD;
  font-variant-numeric: tabular-nums;
}
.footer-prayers li b.iq {
  color: rgba(244, 236, 221, 0.6);
}
.footer-prayers li.is-next,
.footer-prayers li.is-next b {
  color: var(--qb-color-gold-light);
}
.footer-jumuah {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 14.5px;
}
.footer-jumuah b {
  font-weight: 500;
  color: var(--qb-color-gold-light);
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}
.footer-links a {
  position: relative;
  font-size: 15px;
  white-space: nowrap;
}
/* newsletter: one pill field with the send button inside */
.qb-subscribe {
  position: relative;
  margin-bottom: 26px;
}
.qb-subscribe input {
  display: block;
  width: 100%;
  height: 56px;
  padding: 0 64px 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--qb-radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: #F4ECDD;
  font-size: 15px;
}
.qb-subscribe input:focus {
  outline: 0;
  border-color: var(--qb-color-gold);
}
.qb-subscribe input::placeholder {
  color: rgba(244, 236, 221, 0.5);
}
.qb-subscribe button {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--qb-color-gold);
  color: var(--qb-color-night);
  cursor: pointer;
  transition: background-color 0.3s var(--qb-ease);
}
.qb-subscribe button:hover {
  background: var(--qb-color-primary-2);
}
.qb-subscribe .form-status {
  margin-top: 8px;
}
.footer-insta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.footer-insta a {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
}
.footer-insta img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--qb-ease), opacity 0.3s;
}
.footer-insta a:hover img {
  transform: scale(1.1);
  opacity: 0.85;
}



/*---- 21.4 Footer Bottom ----*/
.qb-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14.5px;
}
.qb-footer .footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 30px;
  padding: 28px 0;
}
.qb-footer .footer-bottom p {
  margin: 0;
}
.qb-footer .bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.qb-footer .bottom-links a {
  color: #F4ECDD;
}
.qb-footer .bottom-links a:hover {
  color: var(--qb-color-gold-light);
}


/*---- 21.5 Back To Top ----*/
.qb-back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 0;
  background: transparent;
  color: var(--qb-color-night);
  font-size: 15px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s var(--qb-ease), transform 0.35s var(--qb-ease), visibility 0.35s;
}
.qb-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
/* the eight-point star turns as the page scrolls */
.qb-back-to-top .btt-star {
  position: absolute;
  inset: 7px;
  transform: rotate(var(--qb-turn, 0deg));
}
.qb-back-to-top .btt-star::before,
.qb-back-to-top .btt-star::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: var(--qb-color-gold);
}
.qb-back-to-top .btt-star::after {
  transform: rotate(45deg);
}
.qb-back-to-top i {
  position: relative;
}
.qb-back-to-top:hover .btt-star::before,
.qb-back-to-top:hover .btt-star::after {
  background: var(--qb-color-primary);
}
.qb-back-to-top:hover {
  color: #FFFFFF;
}
