/* FivePrayer — Blog & alternative-page styles */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&family=Cairo:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Noto+Nastaliq+Urdu:wght@400;500;600;700&display=swap');

:root {
  --bg: #F4F2FA;
  --bg-elev: #EDEBF3;
  --bg-card: #ffffff;
  --fg: #323232;
  --fg-muted: #5F5F5F;
  --fg-dim: #8C8C8C;
  --accent: #289491;
  --accent-deep: #003231;
  --accent-soft: #D6E5E5;
  --accent-2: #CF9F02;
  --line: rgba(50,50,50,0.08);
  --line-strong: rgba(50,50,50,0.16);

  --font-sans: 'Nunito', -apple-system, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ───────────── NAV ───────────── */
.nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  background: color-mix(in oklab, var(--bg) 75%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  max-width: 1280px; margin: 0 auto;
  gap: 24px;
}
.nav-links { display: flex; gap: 32px; font-size: 14px; font-weight: 600; color: var(--fg-muted); }
.nav-links a { transition: color 0.15s; color: inherit; }
.nav-links a:hover { color: var(--fg); text-decoration: none; }
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--accent-deep);
}
.logo:hover { text-decoration: none; }
.logo img { border-radius: 7px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  font-family: var(--font-sans); font-weight: 700; font-size: 14px;
  letter-spacing: -0.005em;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-deep);
  color: var(--bg-card);
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); text-decoration: none; }
.btn-ghost {
  background: transparent; color: var(--fg);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--bg-elev); text-decoration: none; }

/* ───────────── ARTICLE HERO ───────────── */
.article-hero {
  position: relative;
  padding: 64px 0 48px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.article-hero::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 18%, transparent), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.article-hero-inner { position: relative; z-index: 1; }
.article-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--fg-muted);
  margin-bottom: 28px;
}
.article-breadcrumb a { color: var(--fg-muted); }
.article-breadcrumb a:hover { color: var(--accent); }
.article-breadcrumb-sep { opacity: 0.4; }

.article-title {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 12px 0 24px;
  color: var(--accent-deep);
  font-size: clamp(34px, 5.4vw, 64px);
  max-width: 18ch;
}
.article-deck {
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--fg-muted);
  font-weight: 500;
  max-width: 60ch;
  margin: 0 0 36px;
  line-height: 1.45;
}
.article-meta {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--fg-muted); font-weight: 600;
  padding-bottom: 8px;
}
.article-meta-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent-soft);
  display: grid; place-items: center;
  color: var(--accent-deep); font-weight: 800; font-size: 14px;
}
.article-meta-author { display: flex; align-items: center; gap: 10px; }
.article-meta-author strong { color: var(--fg); font-weight: 700; }
.article-meta-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--fg-dim); }

/* ───────────── ARTICLE BODY ───────────── */
.article-body {
  padding: 56px 0 96px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg);
}
.article-body p {
  max-width: 68ch;
  margin: 0 0 22px;
  font-weight: 500;
}
.article-body p.large {
  font-size: 19px;
  color: var(--fg);
  font-weight: 600;
  margin-bottom: 28px;
}
.article-body h2 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.02em;
  color: var(--accent-deep);
  margin: 56px 0 18px;
  line-height: 1.15;
  scroll-margin-top: 100px;
}
.article-body h3 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(20px, 2vw, 24px);
  color: var(--accent-deep);
  margin: 36px 0 12px;
  letter-spacing: -0.015em;
  scroll-margin-top: 100px;
}
.article-body h4 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 17px;
  color: var(--accent-deep);
  margin: 24px 0 8px;
  letter-spacing: -0.01em;
}
.article-body ul, .article-body ol {
  padding-left: 24px;
  max-width: 66ch;
  margin: 0 0 22px;
}
.article-body li { margin-bottom: 10px; font-weight: 500; }
.article-body strong { color: var(--accent-deep); font-weight: 800; }
.article-body em { color: var(--fg); }
.article-body a { color: var(--accent); font-weight: 700; }
.article-body a:hover { color: var(--accent-deep); }

.article-body blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--accent-deep);
  font-style: italic;
  max-width: 68ch;
}

/* ───────────── TABLE OF CONTENTS ───────────── */
.toc {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 0 0 48px;
  max-width: 68ch;
}
.toc-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.toc ol {
  counter-reset: toc;
  list-style: none;
  padding: 0;
  margin: 0;
}
.toc li {
  counter-increment: toc;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  display: flex; gap: 14px; align-items: baseline;
  margin: 0;
}
.toc li:last-child { border-bottom: 0; padding-bottom: 0; }
.toc li:first-child { padding-top: 0; }
.toc li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-dim);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.toc a {
  color: var(--fg);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.15s;
}
.toc a:hover { color: var(--accent); text-decoration: none; }

/* ───────────── COMPARISON TABLE ───────────── */
.compare-table-wrap {
  margin: 36px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 720px;
}
.compare-table th, .compare-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare-table th {
  background: var(--bg-elev);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.compare-table th:first-child { border-top-left-radius: var(--radius-lg); }
.compare-table th:last-child { border-top-right-radius: var(--radius-lg); }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table td:first-child {
  font-weight: 700;
  color: var(--accent-deep);
  width: 30%;
}
.compare-table .yes { color: var(--accent); font-weight: 800; }
.compare-table .no { color: #C13030; font-weight: 800; }
.compare-table .partial { color: var(--accent-2); font-weight: 800; }
.compare-table .winner {
  background: color-mix(in oklab, var(--accent) 8%, transparent);
}
.compare-table .winner th, .compare-table td.winner {
  background: color-mix(in oklab, var(--accent) 12%, transparent);
}

/* ───────────── COMPARISON TABLE V2 (Visual / Score) ───────────── */
.compare-table-wrap.v2 {
  margin: 40px 0 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-elev) 100%);
  overflow-x: auto;
  box-shadow: 0 8px 30px rgba(0,50,49,0.06);
}
.compare-table.v2 {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  min-width: 820px;
}
.compare-table.v2 thead th {
  background: var(--bg-card);
  padding: 22px 14px 18px;
  border-bottom: 2px solid var(--line);
  text-align: center;
  vertical-align: bottom;
  text-transform: none;
  letter-spacing: 0;
}
.compare-table.v2 thead th:first-child {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding-left: 22px;
}
.compare-table.v2 .score-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.compare-table.v2 .score-num {
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  color: #B0B0B0;
  font-variant-numeric: tabular-nums;
}
.compare-table.v2 .score-col.winner .score-num {
  color: var(--accent);
  text-shadow: 0 0 24px rgba(40, 148, 145, 0.4);
}
.compare-table.v2 .score-dots {
  display: flex;
  gap: 3px;
}
.compare-table.v2 .score-dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--line-strong);
  display: inline-block;
}
.compare-table.v2 .score-dots span.filled {
  background: #D6695A;
}
.compare-table.v2 .score-col.winner .score-dots span {
  background: var(--accent);
}
.compare-table.v2 .score-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}
.compare-table.v2 .score-col.winner .score-label {
  color: var(--accent-deep);
  font-weight: 900;
}

.compare-table.v2 tbody td {
  padding: 14px 10px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.compare-table.v2 tbody td:first-child {
  text-align: left;
  font-weight: 700;
  color: var(--fg);
  padding-left: 22px;
  width: 24%;
  font-size: 14px;
}
.compare-table.v2 tbody tr:last-child td { border-bottom: 0; }
.compare-table.v2 tbody tr:nth-child(odd) { background: rgba(0,0,0,0.012); }
.compare-table.v2 tbody tr:hover { background: rgba(40, 148, 145, 0.04); }

.compare-table.v2 .cell .pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.compare-table.v2 .cell .pill-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}
.compare-table.v2 .cell.yes .pill {
  background: rgba(40, 148, 145, 0.12);
  color: var(--accent-deep);
  border-color: rgba(40, 148, 145, 0.3);
}
.compare-table.v2 .cell.yes .pill-icon {
  background: var(--accent);
  color: white;
}
.compare-table.v2 .cell.no .pill {
  background: rgba(193, 48, 48, 0.10);
  color: #B02828;
  border-color: rgba(193, 48, 48, 0.25);
}
.compare-table.v2 .cell.no .pill-icon {
  background: #C13030;
  color: white;
}
.compare-table.v2 .cell.partial .pill {
  background: rgba(212, 158, 50, 0.12);
  color: #8B6420;
  border-color: rgba(212, 158, 50, 0.30);
}
.compare-table.v2 .cell.partial .pill-icon {
  background: #D49E32;
  color: white;
}

/* Winner column subtle highlight */
.compare-table.v2 thead th:nth-child(2),
.compare-table.v2 tbody td:nth-child(2) {
  background: linear-gradient(180deg, rgba(40,148,145,0.04), rgba(40,148,145,0.02));
}
.compare-table.v2 tbody tr:hover td:nth-child(2) {
  background: rgba(40, 148, 145, 0.10);
}

.compare-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
  color: var(--fg-muted);
  margin: 12px 0 36px;
  padding: 0 4px;
  align-items: center;
  font-weight: 600;
}
.compare-legend .legend-item {
  display: inline-flex; align-items: center; gap: 8px;
}
.compare-legend .cell.inline .pill {
  display: inline-flex; align-items: center;
  padding: 4px;
  border-radius: 999px;
  border: 1.5px solid transparent;
}
.compare-legend .cell.inline .pill-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 14px; height: 14px; border-radius: 50%;
  font-size: 10px; font-weight: 900; color: white;
}
.compare-legend .cell.yes.inline .pill { background: rgba(40,148,145,0.12); border-color: rgba(40,148,145,0.3); }
.compare-legend .cell.yes.inline .pill-icon { background: var(--accent); }
.compare-legend .cell.no.inline .pill { background: rgba(193,48,48,0.10); border-color: rgba(193,48,48,0.25); }
.compare-legend .cell.no.inline .pill-icon { background: #C13030; }
.compare-legend .cell.partial.inline .pill { background: rgba(212,158,50,0.12); border-color: rgba(212,158,50,0.30); }
.compare-legend .cell.partial.inline .pill-icon { background: #D49E32; }

@media (max-width: 720px) {
  .compare-table.v2 { font-size: 13px; min-width: 700px; }
  .compare-table.v2 .score-num { font-size: 22px; }
  .compare-table.v2 .cell .pill { padding: 5px 10px; font-size: 11px; }
  .compare-table.v2 thead th { padding: 16px 8px 14px; }
  .compare-table.v2 tbody td:first-child { padding-left: 14px; font-size: 13px; }
}

/* ───────────── APP CARD ───────────── */
.app-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 32px 0;
  max-width: 720px;
}
.app-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 14%, transparent), 0 16px 40px rgba(0,50,49,0.06);
}
.app-card-head {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 18px;
}
.app-card-logo {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--accent-soft);
  display: grid; place-items: center;
  font-weight: 800; font-size: 26px;
  color: var(--accent-deep);
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.app-card-logo.fp { background: var(--accent); color: #fff; }
.app-card-title {
  font-size: 26px; font-weight: 800;
  color: var(--accent-deep);
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}
.app-card-rating {
  font-size: 14px; color: var(--fg-muted); font-weight: 600;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.app-card-rating .stars { color: var(--accent-2); letter-spacing: 1px; }

.pros-cons {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin: 20px 0 0;
}
.pros, .cons {
  background: var(--bg-elev);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.pros { background: color-mix(in oklab, var(--accent) 8%, var(--bg-elev)); }
.pros-cons h4 {
  font-size: 12px; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.pros h4 { color: var(--accent); }
.cons h4 { color: #C13030; }
.pros-cons ul {
  margin: 0; padding-left: 18px;
  font-size: 14px; line-height: 1.5;
}
.pros-cons li { margin-bottom: 6px; }

/* ───────────── CALLOUT ───────────── */
.callout {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 32px 0;
  max-width: 68ch;
  display: flex; align-items: flex-start; gap: 16px;
}
.callout-icon {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 16px;
  flex-shrink: 0;
}
.callout-body {
  font-size: 16px;
  color: var(--accent-deep);
  font-weight: 600;
  line-height: 1.55;
}
.callout-body p { margin: 0 0 8px; color: var(--accent-deep); max-width: none; }
.callout-body p:last-child { margin-bottom: 0; }

.callout.warning { background: #FFF4D6; }
.callout.warning .callout-icon { background: var(--accent-2); }
.callout.warning .callout-body { color: #5A4500; }
.callout.warning .callout-body p { color: #5A4500; }

/* ───────────── VERDICT BOX ───────────── */
.verdict {
  background: var(--accent-deep);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px;
  margin: 48px 0;
  position: relative;
  max-width: 720px;
}
.verdict-label {
  font-size: 11px; letter-spacing: 0.18em; font-weight: 800; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.verdict h3 {
  color: #fff !important;
  font-size: 26px !important;
  margin: 0 0 14px !important;
  letter-spacing: -0.02em;
}
.verdict p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  margin: 0 0 14px;
  max-width: 60ch;
}
.verdict p:last-of-type { margin-bottom: 0; }
.verdict a {
  color: var(--accent-soft);
  font-weight: 800;
  text-decoration: underline;
}
.verdict a:hover { color: #fff; }

/* ───────────── STORE BUTTONS ───────────── */
.article-stores {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin: 24px 0;
}
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px;
  padding: 0 16px;
  background: var(--accent-deep); color: #fff;
  border-radius: 12px;
  transition: transform 0.15s, filter 0.15s;
  line-height: 1;
  font-weight: 700;
}
.store-btn:hover { transform: translateY(-1px); filter: brightness(1.1); text-decoration: none; color: #fff; }
.store-btn-icon {
  width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.store-btn-icon svg { width: 100%; height: 100%; display: block; }
.store-btn-label {
  display: inline-flex; flex-direction: column;
  line-height: 1.05; text-align: left; gap: 2px;
}
.store-btn-label small {
  font-size: 9px; opacity: 0.72; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.store-btn-label strong { font-size: 13px; font-weight: 800; }

/* ───────────── KEY-VALUE GRID ───────────── */
.kv-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  margin: 24px 0 32px;
  max-width: 68ch;
}
.kv-cell {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.kv-cell .k {
  font-size: 11px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-dim);
  margin-bottom: 6px;
}
.kv-cell .v {
  font-size: 17px; font-weight: 800; color: var(--accent-deep);
  letter-spacing: -0.01em;
}

/* ───────────── FAQ ───────────── */
details.faq {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  max-width: 68ch;
}
details.faq summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: var(--accent-deep);
  gap: 24px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: '+';
  font-weight: 400;
  font-size: 24px; color: var(--fg-muted);
  transition: transform 0.3s;
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .faq-body {
  padding-top: 12px;
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}
details.faq .faq-body p { margin: 0 0 12px; color: var(--fg-muted); max-width: none; }
details.faq .faq-body p:last-child { margin-bottom: 0; }

/* ───────────── DOWNLOAD CTA ───────────── */
.cta-strip {
  margin: 64px 0 32px;
  padding: 48px 40px;
  background: linear-gradient(135deg, var(--accent-deep), #0E4A48);
  color: #fff;
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 60%, transparent), transparent 70%);
  pointer-events: none;
}
.cta-strip-inner { position: relative; z-index: 1; }
.cta-strip .eyebrow { color: var(--accent); margin-bottom: 12px; }
.cta-strip h2 {
  color: #fff !important;
  font-size: clamp(28px, 3vw, 40px) !important;
  margin: 0 0 14px !important;
  letter-spacing: -0.02em;
}
.cta-strip p {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  margin: 0 auto 28px !important;
  max-width: 52ch !important;
}
.cta-strip .article-stores { justify-content: center; }
.cta-strip .store-btn { background: #fff; color: var(--accent-deep); }
.cta-strip .store-btn:hover { background: var(--accent-soft); color: var(--accent-deep); }

/* ───────────── BLOG INDEX ───────────── */
.blog-hero {
  padding: 88px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-hero h1 {
  font-size: clamp(48px, 6.5vw, 80px);
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--accent-deep);
  margin: 16px auto 22px;
  max-width: 16ch;
}
.blog-hero p {
  font-size: 19px;
  color: var(--fg-muted);
  max-width: 56ch;
  margin: 0 auto;
  line-height: 1.5;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 64px 0 96px;
}
.city-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
  margin: 24px 0 56px;
}
.city-index-grid a {
  display: block;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  transition: transform 0.2s, border-color 0.2s;
}
.city-index-grid a:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(0,50,49,0.08);
  text-decoration: none;
}
.blog-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--accent-deep), #0E4A48);
  color: #fff;
  border-color: transparent;
}
.blog-card.featured .blog-card-tag { color: var(--accent); background: rgba(40,148,145,0.15); }
.blog-card.featured h2 { color: #fff; }
.blog-card.featured .blog-card-excerpt { color: rgba(255,255,255,0.8); }
.blog-card.featured .blog-card-meta { color: rgba(255,255,255,0.6); }

.blog-card-tag {
  display: inline-block;
  font-size: 10px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent-deep);
  padding: 6px 10px;
  border-radius: 999px;
  align-self: flex-start;
}
.blog-card h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.018em;
  color: var(--accent-deep);
  margin: 18px 0 10px;
  line-height: 1.18;
}
.blog-card.featured h2 { font-size: clamp(28px, 3vw, 36px); }
.blog-card-excerpt {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
  flex: 1;
  margin-bottom: 18px;
}
.blog-card-meta {
  font-size: 12px;
  color: var(--fg-dim);
  font-weight: 600;
  display: flex; align-items: center; gap: 10px;
}
.blog-card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.blog-card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; display: inline-block; }

.blog-section-head {
  display: flex; justify-content: space-between; align-items: end;
  margin: 56px 0 28px;
  flex-wrap: wrap; gap: 16px;
}
.blog-section-head h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent-deep);
  margin: 0;
}

/* ───────────── RELATED ARTICLES ───────────── */
.related {
  margin: 80px 0 0;
  padding: 56px 0 0;
  border-top: 1px solid var(--line);
}
.related h2 {
  font-size: clamp(24px, 2.4vw, 32px) !important;
  margin: 0 0 28px !important;
  color: var(--accent-deep);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
  display: flex; flex-direction: column;
}
.related-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  text-decoration: none;
}
.related-card .tag {
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.related-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--accent-deep) !important;
  margin: 0 !important;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

/* ───────────── FOOTER ───────────── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  background: var(--bg-elev);
}
.site-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}
.site-footer-brand p {
  font-size: 14px; color: var(--fg-muted); margin-top: 12px; max-width: 300px;
}
.footer-col h4 {
  font-size: 12px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-deep);
  margin: 0 0 16px;
}
.footer-col a {
  display: block;
  font-size: 14px; color: var(--fg-muted);
  font-weight: 600;
  margin-bottom: 10px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--accent-deep); text-decoration: none; }
.site-footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--fg-muted); font-weight: 600;
}

/* ───────────── LANGUAGE SWITCHER ───────────── */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: var(--bg-elev);
  border-radius: 999px;
  border: 1px solid var(--line);
}
.lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  text-decoration: none;
  transition: all 0.15s;
}
.lang-pill:hover { color: var(--accent-deep); background: var(--bg-card); text-decoration: none; }
.lang-pill.active {
  background: var(--accent-deep);
  color: #fff;
}
.lang-pill.active:hover { color: #fff; background: var(--accent-deep); }

/* Mobile-friendly language switcher in nav */
.nav-inner .lang-switcher { margin: 0; }

/* ───────────── RTL / ARABIC ───────────── */
[dir="rtl"] {
  font-family: 'Cairo', 'Tajawal', -apple-system, system-ui, sans-serif;
}
[dir="rtl"] body { font-family: 'Cairo', 'Tajawal', -apple-system, system-ui, sans-serif; }
[dir="rtl"] .logo,
[dir="rtl"] .article-title,
[dir="rtl"] .article-body h2,
[dir="rtl"] .article-body h3,
[dir="rtl"] .article-body h4,
[dir="rtl"] .blog-hero h1,
[dir="rtl"] .blog-card h2,
[dir="rtl"] .verdict h3,
[dir="rtl"] .cta-strip h2,
[dir="rtl"] details.faq summary,
[dir="rtl"] .feature-title,
[dir="rtl"] .app-card-title,
[dir="rtl"] .related h2,
[dir="rtl"] .blog-section-head h2 {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  letter-spacing: 0;
  line-height: 1.4;
}
[dir="rtl"] .article-body p {
  text-align: start;
}
[dir="rtl"] .article-breadcrumb { flex-direction: row-reverse; justify-content: flex-end; }
[dir="rtl"] .toc ol { padding-right: 0; padding-left: 24px; }
[dir="rtl"] .toc li { flex-direction: row; }
[dir="rtl"] .article-body ul,
[dir="rtl"] .article-body ol { padding-left: 0; padding-right: 24px; }
[dir="rtl"] .article-body blockquote {
  border-left: 0;
  border-right: 4px solid var(--accent);
}
[dir="rtl"] .compare-table th,
[dir="rtl"] .compare-table td { text-align: right; }
[dir="rtl"] .article-meta-dot,
[dir="rtl"] .article-breadcrumb-sep { transform: scaleX(-1); }
[dir="rtl"] .nav-inner { flex-direction: row-reverse; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .article-stores,
[dir="rtl"] .cta-strip .article-stores { flex-direction: row-reverse; }
[dir="rtl"] .store-btn-label { text-align: right; }
[dir="rtl"] .pros-cons { direction: rtl; }
[dir="rtl"] .blog-grid,
[dir="rtl"] .related-grid,
[dir="rtl"] .kv-grid { direction: rtl; }
[dir="rtl"] .blog-card-meta { flex-direction: row-reverse; }
[dir="rtl"] .article-meta { flex-direction: row-reverse; }
[dir="rtl"] details.faq summary::after { margin-right: auto; margin-left: 0; }
[dir="rtl"] .callout { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .app-card-head { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .verdict { text-align: right; }
[dir="rtl"] .cta-strip { text-align: center; }
[dir="rtl"] .site-footer-grid { direction: rtl; }
[dir="rtl"] .article-body strong { font-weight: 800; }

/* Indonesian uses Plus Jakarta Sans for a slight regional flavour */
[lang="id"] {
  font-family: 'Plus Jakarta Sans', 'Nunito', -apple-system, system-ui, sans-serif;
}
[lang="id"] body { font-family: 'Plus Jakarta Sans', 'Nunito', -apple-system, system-ui, sans-serif; }

/* Urdu — uses Noto Nastaliq Urdu for body, Cairo for headings (better legibility) */
[lang="ur"] {
  font-family: 'Noto Nastaliq Urdu', 'Cairo', 'Tajawal', sans-serif;
  line-height: 2;
}
[lang="ur"] body { font-family: 'Noto Nastaliq Urdu', 'Cairo', sans-serif; line-height: 2; }
[lang="ur"] .article-title,
[lang="ur"] .article-body h2,
[lang="ur"] .article-body h3,
[lang="ur"] .blog-hero h1,
[lang="ur"] .blog-card h2,
[lang="ur"] .verdict h3,
[lang="ur"] .cta-strip h2,
[lang="ur"] details.faq summary,
[lang="ur"] .feature-title { font-family: 'Cairo', sans-serif; line-height: 1.5; }
[lang="ur"] .article-deck,
[lang="ur"] .blog-card-excerpt { line-height: 1.85; }

/* Turkish uses Nunito (Turkish coverage is good) */
[lang="tr"] body { font-family: 'Nunito', -apple-system, system-ui, sans-serif; }

/* Malay uses Plus Jakarta Sans (similar to Indonesian) */
[lang="ms"] body { font-family: 'Plus Jakarta Sans', 'Nunito', -apple-system, system-ui, sans-serif; }

/* ───────────── RESPONSIVE ───────────── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-card.featured { grid-column: span 2; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .site-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pros-cons { grid-template-columns: 1fr; }
  .kv-grid { grid-template-columns: 1fr; }
  .article-hero { padding: 40px 0 32px; }
  .article-body { padding: 40px 0 64px; font-size: 16px; }
  .article-body h2 { margin: 40px 0 14px; }
  .cta-strip { padding: 36px 24px; }
}
@media (max-width: 640px) {
  .container, .container-narrow { padding: 0 20px; }
  .nav-inner { padding: 14px 20px; gap: 12px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card.featured { grid-column: span 1; }
  .related-grid { grid-template-columns: 1fr; }
  .site-footer-grid { grid-template-columns: 1fr; }
  .article-title { font-size: 32px; }
  .article-body { font-size: 16px; }
  .compare-table-wrap { margin-left: -20px; margin-right: -20px; border-radius: 0; border-left: 0; border-right: 0; }
  .app-card { padding: 24px; }
  .verdict { padding: 28px 24px; }
  .verdict h3 { font-size: 22px !important; }
}
