:root {
  --ink: #171717;
  --muted: #666a66;
  --paper: #f8faf8;
  --white: #ffffff;
  --line: rgba(23, 23, 23, 0.11);
  --gold: #b88a2f;
  --green: #123a2a;
  --soft-green: #e9f1ed;
  --soft-gold: #f4ecdb;
  --shadow: 0 18px 50px rgba(24, 20, 12, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(150deg, rgba(18, 58, 42, 0.08), transparent 32rem),
    linear-gradient(330deg, rgba(184, 138, 47, 0.12), transparent 34rem),
    var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  font-style: normal;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

.subpage-body {
  background:
    radial-gradient(circle at 12% 6%, rgba(255, 255, 255, 0.98), transparent 18rem),
    radial-gradient(circle at 84% 20%, rgba(184, 138, 47, 0.12), transparent 22rem),
    linear-gradient(150deg, rgba(18, 58, 42, 0.1), transparent 34rem),
    var(--paper);
}

.subpage-body .site-header {
  padding-bottom: clamp(1.5rem, 5vw, 3rem);
}

.subpage-body main {
  position: relative;
}

.subpage-body main::before {
  content: "";
  position: absolute;
  top: 5rem;
  right: 0;
  z-index: -1;
  width: min(42vw, 24rem);
  height: min(42vw, 24rem);
  border: 1px solid rgba(184, 138, 47, 0.18);
  border-radius: 8px;
  transform: rotate(12deg);
  background: rgba(255, 255, 255, 0.24);
}

.home-body {
  min-height: 100svh;
  overflow: hidden auto;
  overflow-x: hidden;
  background:
    linear-gradient(115deg, rgba(248, 250, 248, 0.98) 0 38%, rgba(248, 250, 248, 0.7) 54%, rgba(233, 239, 234, 0.92) 100%),
    radial-gradient(circle at 78% 28%, rgba(184, 138, 47, 0.16), transparent 22rem),
    radial-gradient(circle at 72% 82%, rgba(18, 58, 42, 0.13), transparent 28rem),
    var(--paper);
}

.home-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(164deg, transparent 0 51%, rgba(184, 138, 47, 0.16) 51.4% 53.3%, transparent 53.7%),
    linear-gradient(18deg, transparent 0 64%, rgba(18, 58, 42, 0.08) 64.4% 67%, transparent 67.4%);
}

.home-scene {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: auto;
}

.home-scene canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.home-scene.is-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 34%, rgba(184, 138, 47, 0.16), transparent 18rem),
    radial-gradient(circle at 72% 74%, rgba(18, 58, 42, 0.12), transparent 24rem);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
}

.page {
  min-height: 100vh;
  padding: 1.25rem 1.25rem 9rem;
}

.home-page {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  padding-top: 1.1rem;
  pointer-events: none;
}

.home-page .shell {
  pointer-events: none;
}

.home-page .site-header,
.home-page .actions,
.home-page a,
.home-page button,
.premium-cards {
  pointer-events: auto;
}

.shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand img {
  width: 52px;
  height: 52px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  object-fit: contain;
  box-shadow: var(--shadow);
}

.eyebrow {
  display: none;
}

.brand-title {
  display: block;
  margin: 0;
  font-size: clamp(1.25rem, 4.5vw, 2.35rem);
  font-weight: 900;
  font-style: normal;
  line-height: 0.95;
  text-transform: uppercase;
}

.gold-line {
  display: block;
  width: 5.4rem;
  height: 2px;
  margin-top: 0.72rem;
  background: var(--gold);
}

.top-link {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.78rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  min-height: 2.9rem;
  padding: 0.34rem 0.36rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 42px rgba(24, 20, 12, 0.1);
  backdrop-filter: blur(18px);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.language-switch::before {
  content: "A";
  display: grid;
  width: 1.5rem;
  height: 1.5rem;
  place-items: center;
  border-radius: 7px;
  background: var(--soft-gold);
  color: var(--gold);
  font-size: 0.82rem;
}

.language-switch > span {
  display: none;
}

.language-switch select {
  min-width: 3.15rem;
  border: 0;
  border-radius: 7px;
  background: var(--ink);
  color: var(--white);
  font: inherit;
  padding: 0.5rem 0.35rem;
  text-align: center;
  cursor: pointer;
}

.home-body .site-header {
  padding-top: 0.5rem;
  padding-bottom: clamp(1.5rem, 5vh, 3.6rem);
}

.home-body .brand img {
  display: block;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.home-body .brand {
  align-items: flex-start;
}

.home-body .brand-title {
  font-size: clamp(1.65rem, 4.5vw, 3rem);
  letter-spacing: 0;
}

.home-body .top-link {
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(18px);
}

.premium-home {
  position: relative;
  display: grid;
  min-height: calc(100svh - 10rem);
  align-items: center;
  gap: clamp(1.4rem, 4vw, 3rem);
}

.premium-copy {
  max-width: 620px;
  padding: clamp(0.25rem, 2vw, 1rem) 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  white-space: nowrap;
}

.kicker > span:first-child {
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
}

.kicker > span:not(:first-child) {
  width: auto;
  height: auto;
  min-width: 0;
  border-radius: 0;
  background: transparent;
}

.premium-copy h1 {
  max-width: 620px;
  margin: 0.85rem 0 0;
  font-size: clamp(2.65rem, 8.4vw, 5.9rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
}

.premium-copy .lead {
  max-width: 520px;
  margin-top: 1.1rem;
  color: rgba(23, 23, 23, 0.68);
  font-size: clamp(0.92rem, 1.6vw, 1.02rem);
  line-height: 1.55;
}

.premium-cards {
  display: grid;
  gap: 0.9rem;
  max-width: 440px;
  margin-top: clamp(2rem, 18vh, 10rem);
}

.glass-card {
  display: grid;
  gap: 0.65rem;
  padding: clamp(1rem, 3vw, 1.45rem);
  border: 1px solid rgba(23, 23, 23, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 24px 70px rgba(24, 20, 12, 0.1);
  backdrop-filter: blur(18px);
}

.glass-card strong {
  font-size: clamp(1rem, 2.3vw, 1.35rem);
  line-height: 1.22;
  text-transform: uppercase;
}

.card-icon {
  color: var(--gold);
  font-size: 1.55rem;
  line-height: 1;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.community-grid span {
  display: grid;
  min-height: 4rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-hero {
  display: grid;
  gap: 1rem;
}

.hero {
  display: grid;
  gap: 1rem;
}

.hero-card,
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: clamp(1.25rem, 5vw, 3rem);
}

.hero-copy {
  align-content: center;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86)),
    rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft-green);
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dot {
  width: 0.45rem;
  height: 0.45rem;
  background: var(--gold);
  border-radius: 50%;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.hero h1,
.page-title {
  max-width: 900px;
  margin: 1rem 0 0;
  font-size: clamp(1.9rem, 7vw, 4.4rem);
  font-weight: 900;
  font-style: normal;
  line-height: 1.02;
}

.lead {
  max-width: 680px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 600;
  line-height: 1.8;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.9rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
}

.btn.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.btn.gold {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.two,
.grid.three {
  grid-template-columns: 1fr;
}

.card {
  padding: 1rem;
}

.stylish-grid {
  align-items: stretch;
}

.stylish-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.1rem, 3vw, 1.55rem);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.72)),
    rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.stylish-card::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: rgba(184, 138, 47, 0.09);
  pointer-events: none;
}

.page-symbol {
  display: inline-grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
}

.social-card h2,
.stylish-card h2 {
  max-width: 18rem;
}

.facebook-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(232, 239, 255, 0.72)),
    rgba(255, 255, 255, 0.86);
}

.youtube-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 235, 235, 0.72)),
    rgba(255, 255, 255, 0.86);
}

.mawaqit-card,
.charity-bank-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(233, 241, 237, 0.84)),
    rgba(255, 255, 255, 0.86);
}

.social-layout {
  display: grid;
  gap: 1rem;
  margin-top: 1.15rem;
}

.social-feature {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 241, 241, 0.78)),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(24, 20, 12, 0.1);
}

.youtube-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 220px;
  background:
    linear-gradient(135deg, rgba(23, 23, 23, 0.92), rgba(18, 58, 42, 0.74)),
    var(--ink);
}

.youtube-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(184, 138, 47, 0.28), transparent 9rem),
    linear-gradient(145deg, transparent, rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

.youtube-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.social-feature-copy {
  padding: clamp(1.1rem, 3vw, 1.6rem);
}

.social-feature-copy h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.65rem, 5vw, 3rem);
  line-height: 0.98;
}

.social-feature-copy p:not(.label) {
  max-width: 34rem;
  color: var(--muted);
  font-weight: 650;
}

.social-link-stack {
  display: grid;
  gap: 0.75rem;
}

.social-link-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: center;
  min-height: 7rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 52px rgba(24, 20, 12, 0.08);
  backdrop-filter: blur(18px);
}

.social-link-card small,
.social-link-card strong,
.social-link-card em {
  display: block;
}

.social-link-card small {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.social-link-card strong {
  margin-top: 0.2rem;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.1;
}

.social-link-card em {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 650;
  line-height: 1.35;
}

.card.highlight {
  background: var(--green);
  color: var(--white);
}

.card.soft {
  background: var(--soft-gold);
}

.label {
  margin: 0;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.card h2,
.card h3 {
  margin: 0.55rem 0 0;
  font-size: clamp(1.1rem, 3.2vw, 1.75rem);
  font-style: normal;
  line-height: 1.08;
}

.card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-weight: 600;
}

.card.highlight p {
  color: rgba(255, 255, 255, 0.72);
}

.mini-list {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0 0;
}

.mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.25rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.mini-row strong {
  font-size: 0.95rem;
}

.mini-row span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: right;
}

.embed {
  overflow: hidden;
  min-height: 640px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.embed iframe {
  display: block;
  width: 100%;
  height: 640px;
  border: 0;
  background: var(--white);
}

.mawaqit-embed {
  min-height: min(760px, 78svh);
}

.mawaqit-embed iframe {
  height: min(760px, 78svh);
}

.mobile-only {
  display: block;
}

.desktop-only {
  display: none;
}

.copy {
  cursor: pointer;
}

.bottom-nav {
  position: fixed;
  right: 1rem;
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  left: 1rem;
  z-index: 100;
  max-width: 540px;
  margin: 0 auto;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(24, 20, 12, 0.14);
}

.bottom-nav ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bottom-nav a {
  display: grid;
  grid-template-rows: 1.25rem auto;
  gap: 0.18rem;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  justify-items: center;
  border-radius: 8px;
  color: #6b7280;
  font-size: 0.62rem;
  font-weight: 900;
  font-style: normal;
  text-transform: uppercase;
}

.nav-symbol {
  position: relative;
  display: grid;
  width: 1.15rem;
  height: 1.15rem;
  place-items: center;
  color: currentColor;
  line-height: 1;
}

.nav-symbol::before,
.nav-symbol::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.icon-home::before {
  width: 0.95rem;
  height: 0.78rem;
  border: 2px solid currentColor;
  border-top: 0;
  bottom: 0.05rem;
}

.icon-home::after {
  width: 0.78rem;
  height: 0.78rem;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
  top: 0.03rem;
}

.icon-prayer::before {
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-prayer::after {
  width: 0.44rem;
  height: 0.36rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(0.08rem, -0.08rem);
}

.icon-social::before {
  width: 1rem;
  height: 1rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translate(-0.05rem, 0.08rem);
}

.icon-social::after {
  width: 0.78rem;
  height: 2px;
  background: currentColor;
  transform: rotate(-45deg) translate(-0.03rem, 0.05rem);
}

.icon-alerts::before {
  width: 0.92rem;
  height: 0.92rem;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-alerts::after {
  width: 0.24rem;
  height: 0.24rem;
  border-radius: 50%;
  background: currentColor;
}

.icon-charity::before {
  width: 0.72rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg) translate(-0.08rem, -0.05rem);
  border-radius: 0 0 0.35rem 0;
}

.icon-charity::after {
  width: 0.72rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg) translate(0.08rem, -0.05rem);
  border-radius: 0 0 0 0.35rem;
}

.bottom-nav a.active {
  background: var(--ink);
  color: var(--white);
}

.verse,
.card .verse {
  color: var(--ink);
  font-size: clamp(1.2rem, 4vw, 2rem);
  font-weight: 900;
  font-style: normal;
  line-height: 1.35;
}

.small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

@media (min-width: 760px) {
  .page {
    padding: 1.75rem 2rem 8rem;
  }

  .top-link {
    display: inline-flex;
  }

  .home-page {
    padding: 1.75rem 2rem 7rem;
  }

  .premium-home {
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.46fr);
    min-height: calc(100svh - 10.5rem);
  }

  .premium-cards {
    justify-self: end;
    align-self: end;
    width: min(360px, 100%);
    margin-top: 0;
    padding-bottom: 1.5rem;
  }

  .contact-card {
    transform: translateX(-2.75rem);
  }

  .community-card {
    transform: translateX(1.2rem);
  }

  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
  }

  .home-hero {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
  }

  .grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mobile-only {
    display: none;
  }

  .desktop-only {
    display: block;
  }

  .social-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    align-items: stretch;
  }

  .social-link-stack {
    align-content: stretch;
  }

  .social-link-card {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .site-header {
    align-items: center;
  }

  .brand {
    gap: 0.55rem;
  }

  .brand img,
  .home-body .brand img {
    width: 40px;
    height: 40px;
    padding: 4px;
  }

  .home-body .brand-title {
    font-size: 1.45rem;
  }

  .eyebrow {
    font-size: 0.58rem;
  }

  .gold-line {
    width: 3rem;
    margin-top: 0.45rem;
  }

  .top-actions {
    gap: 0.4rem;
  }

  .language-switch {
    min-height: 2.45rem;
    padding: 0.3rem 0.32rem;
  }

  .language-switch span {
    display: none;
  }

  .language-switch select {
    min-width: 3rem;
    padding: 0.42rem 0.28rem;
  }

  .premium-home {
    align-items: start;
    min-height: calc(100svh - 8.5rem);
  }

  .premium-copy {
    max-width: 20rem;
    padding-top: 0.25rem;
  }

  .kicker {
    max-width: 100%;
    gap: 0.4rem;
    font-size: 0.55rem;
    letter-spacing: 0.22em;
  }

  .premium-copy h1 {
    max-width: 18rem;
    font-size: clamp(2.2rem, 12vw, 3.25rem);
    line-height: 0.94;
  }

  .premium-copy .lead {
    max-width: 18rem;
    margin-top: 0.8rem;
    font-size: 0.86rem;
    line-height: 1.42;
  }

  .premium-cards {
    max-width: 19rem;
    margin-top: clamp(1.6rem, 18svh, 7rem);
  }

  .prayer-body .site-header {
    padding-bottom: 1.2rem;
  }

  .prayer-body .page-title {
    font-size: clamp(1.85rem, 9vw, 2.45rem);
  }

  .prayer-body .lead {
    line-height: 1.55;
  }

  .prayer-body .actions {
    gap: 0.55rem;
  }

  .prayer-body .btn {
    flex: 1 1 0;
    min-width: 0;
    padding-right: 0.72rem;
    padding-left: 0.72rem;
    font-size: 0.64rem;
  }

  .bottom-nav {
    right: 0.55rem;
    left: 0.55rem;
    padding: 0.35rem;
  }

  .bottom-nav ul {
    gap: 0.2rem;
  }

  .bottom-nav a {
    min-height: 3.25rem;
    font-size: 0.55rem;
    line-height: 1;
  }

  .nav-symbol {
    width: 1.08rem;
    height: 1.08rem;
  }

  .mawaqit-embed {
    margin-right: -0.6rem;
    margin-left: -0.6rem;
    min-height: 68svh;
    border-radius: 8px;
  }

  .mawaqit-embed iframe {
    height: 68svh;
  }

  .mini-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .mini-row span {
    text-align: left;
  }

  .social-feature-copy .actions .btn {
    width: 100%;
  }

}

[dir="rtl"] .site-header,
[dir="rtl"] .top-actions,
[dir="rtl"] .actions {
  direction: rtl;
}

[dir="rtl"] .site-header {
  direction: ltr;
}

[dir="rtl"] .premium-copy,
[dir="rtl"] .card,
[dir="rtl"] .glass-card,
[dir="rtl"] .lead,
[dir="rtl"] .page-title {
  text-align: right;
}

[dir="rtl"] .kicker {
  letter-spacing: 0;
}

[dir="rtl"] .visit-card strong,
[dir="rtl"] .contact-card strong,
[dir="rtl"] .mini-row span {
  direction: ltr;
  text-align: left;
  unicode-bidi: embed;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
