/* ============================================================
   Taunton Muslim Community — light theme, warm & welcoming
   ============================================================ */
:root {
  --bg: #FBF7EF;
  --bg-2: #F4EDE1;
  --surface: #FFFFFF;
  --ink: #20302B;
  --muted: #66746D;
  --faint: #97A29B;
  --brand: #0F7B64;
  --brand-deep: #0A5C4B;
  --brand-soft: #E4F2EC;
  --accent: #F26D3D;
  --accent-deep: #E2551F;
  --accent-soft: #FDEDE4;
  --gold: #F7B733;
  --line: #E9E1D2;
  --line-2: #DCD2BF;
  --grad: linear-gradient(135deg, #F26D3D 0%, #F7B733 100%);
  --grad-brand: linear-gradient(135deg, #0F7B64 0%, #0A5C4B 100%);
  --grad-text: linear-gradient(120deg, #F26D3D, #F7B733);
  --shadow-sm: 0 4px 14px rgba(32, 48, 43, 0.06);
  --shadow: 0 12px 34px rgba(32, 48, 43, 0.09);
  --shadow-lg: 0 26px 60px rgba(32, 48, 43, 0.14);
  --r: 20px;
  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 15px; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Announcement bar ---------- */
.announce { background: var(--brand); color: #fff; font-size: 14px; position: relative; }
.announce__inner { display: flex; align-items: center; gap: 12px; padding-top: 9px; padding-bottom: 9px; }
.announce__pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(247, 183, 51, 0.6); animation: announcePulse 1.8s infinite; flex-shrink: 0; }
@keyframes announcePulse { 0% { box-shadow: 0 0 0 0 rgba(247,183,51,0.55); } 70% { box-shadow: 0 0 0 9px rgba(247,183,51,0); } 100% { box-shadow: 0 0 0 0 rgba(247,183,51,0); } }
.announce__close { margin-left: auto; color: rgba(255,255,255,0.85); font-size: 14px; padding: 2px 6px; border-radius: 6px; }
.announce__close:hover { background: rgba(255,255,255,0.14); color: #fff; }
.announce.hidden { display: none; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28); }
.header__inner { display: flex; align-items: center; gap: 28px; height: 82px; }

.logo {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-display); text-decoration: none;
}
/* Gold-ringed emblem badge */
.logo__emblem {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #0F7B64, #0a5e4a);
  border: 2.5px solid #F7B733;
  box-shadow:
    0 0 0 3px rgba(247, 183, 51, 0.18),
    0 8px 22px rgba(15, 123, 100, 0.32),
    inset 0 1px 3px rgba(255, 255, 255, 0.18);
  position: relative; overflow: hidden;
}
/* Glass shimmer */
.logo__emblem::after {
  content: "";
  position: absolute; top: -30%; left: -20%; width: 60%; height: 120%;
  background: linear-gradient(180deg, rgba(255,255,255,.28) 0%, transparent 100%);
  border-radius: 50%; transform: rotate(-15deg);
}
.logo__emblem-inner {
  position: relative; z-index: 1;
  font-size: 15px; font-weight: 900; letter-spacing: 0.04em;
  color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.25);
}
/* Next-level circular emblem graphic */
.logo__emblem-mark {
  width: 76%; height: 76%; display: block;
  position: relative; z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.28));
}
/* Header logo image (replaces moon emblem) â€” pure site orange glow ring (#F26D3D) */
.logo__img {
  width: 60px; height: 60px; display: block; flex-shrink: 0;
  border-radius: 50%; object-fit: cover;
  background: transparent;
  box-shadow:
    0 0 0 3px rgba(242, 109, 61, 0.45),
    0 0 18px rgba(242, 109, 61, 0.38),
    0 2px 10px rgba(30, 20, 10, 0.12);
  animation: logoGlow 4s ease-in-out infinite;
}
@keyframes logoGlow {
  0%, 100% {
    box-shadow:
      0 0 0 3px rgba(242, 109, 61, 0.38),
      0 0 14px rgba(242, 109, 61, 0.28),
      0 2px 10px rgba(30, 20, 10, 0.12);
  }
  50% {
    box-shadow:
      0 0 0 5px rgba(242, 109, 61, 0.60),
      0 0 26px rgba(242, 109, 61, 0.50),
      0 2px 10px rgba(30, 20, 10, 0.12);
  }
}
/* Stacked text */
.logo__words {
  display: flex; flex-direction: column; gap: 0; line-height: 1.15;
  text-align: center; align-items: center;
}
.logo__top-line {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
/* Next-level wordmark: Fraunces serif, split-tone green/gold with slow shimmer */
.logo__bot-line {
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px; font-weight: 800; letter-spacing: -0.015em;
  white-space: nowrap; line-height: 1.1;
  display: inline-flex; align-items: center; gap: 5px;
}
.logo__w1, .logo__w2 {
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: wordmarkShine 7s ease-in-out infinite;
}
.logo__w1 { background-image: linear-gradient(115deg, #0F7B64 0%, #0a5e4a 55%, #1B8C74 100%); }
.logo__w2 { font-style: italic; font-weight: 900; background-image: linear-gradient(115deg, #F26D3D 0%, #F7B733 100%); }
.logo__star { display: inline-flex; align-items: center; line-height: 0; }
@keyframes wordmarkShine {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
/* Emblem: glow pulse + spinning orbits */
.logo__emblem { animation: emblemGlow 4s ease-in-out infinite; }
@keyframes emblemGlow {
  0%, 100% { box-shadow: 0 0 0 3px rgba(247,183,51,.18), 0 8px 22px rgba(15,123,100,.32), inset 0 1px 3px rgba(255,255,255,.18); }
  50% { box-shadow: 0 0 0 5px rgba(247,183,51,.32), 0 8px 26px rgba(15,123,100,.45), inset 0 1px 3px rgba(255,255,255,.18); }
}
.logo__orbit {
  transform-box: fill-box; transform-origin: 50% 50%;
  animation: orbitSpin 22s linear infinite;
}
.logo__orbit--inner { animation-duration: 14s; animation-direction: reverse; }
.logo__orbit--ring { animation-duration: 26s; }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
/* Footer logo: use white text, left-aligned */
.footer .logo__top-line { color: rgba(255,255,255,.55); }
/* Keep old classes for backward compatibility */
.logo__badge {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad-brand); color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
  font-size: 14px; font-weight: 900; letter-spacing: 0.02em;
  box-shadow: 0 6px 16px rgba(15, 123, 100, 0.3), inset 0 1px 0 rgba(255,255,255,.25);
  border: 2px solid rgba(255,255,255,.15);
}
.logo__mark {
  width: 40px; height: 40px; border-radius: 13px;
  background: var(--grad-brand); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 18px rgba(15, 123, 100, 0.28);
}
.logo em { font-style: normal; color: var(--accent); }

.nav { display: flex; gap: 22px; margin: 0 auto; }
.nav a { font-size: 14px; font-weight: 600; color: var(--muted); position: relative; padding: 8px 2px; transition: color 0.2s; }
.nav a:hover { color: var(--brand); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background: var(--grad); border-radius: 3px; transition: width 0.25s ease; }
.nav a:hover::after { width: 100%; }
.nav a.active { color: var(--brand); }
.nav a.active::after { width: 100%; }
.nav-mobile-only { display: none; }
/* Dark header (matches footer): light nav text on desktop */
@media (min-width: 1001px) {
  .nav a { color: #C8D2CC; }
  .nav a:hover { color: var(--gold); }
  .nav a.active { color: var(--gold); }
}

.header__actions { display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 20px; border-radius: 13px;
  font-weight: 700; font-size: 14.5px; transition: all 0.2s ease; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn--accent { background: var(--grad); color: #fff; box-shadow: 0 10px 22px rgba(242, 109, 61, 0.28); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(242, 109, 61, 0.36); }
.btn--brand { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 22px rgba(15, 123, 100, 0.24); }
.btn--brand:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15, 123, 100, 0.32); }
.btn--ghost { background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn--lg { padding: 15px 30px; font-size: 15.5px; border-radius: 15px; }

.nav-burger { display: none; flex-direction: column; gap: 4px; padding: 10px; border: none; background: rgba(255, 255, 255, 0.12); border-radius: 10px; cursor: pointer; }
.nav-burger span { width: 20px; height: 2.5px; background: #fff; border-radius: 2px; transition: all 0.3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 420px at 82% 8%, rgba(247, 183, 51, 0.14), transparent 60%),
    radial-gradient(620px 420px at 6% 28%, rgba(15, 123, 100, 0.10), transparent 60%),
    radial-gradient(520px 380px at 55% 92%, rgba(242, 109, 61, 0.08), transparent 60%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero__tag {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: 2px;
  color: var(--accent-deep); background: var(--accent-soft);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero__title { font-family: var(--font-display); font-size: clamp(36px, 4.8vw, 56px); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 18px; }
.hero__sub { font-size: 17px; color: var(--muted); max-width: 540px; margin-bottom: 30px; }

.hero__search {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: 18px; padding: 8px 8px 8px 20px;
  box-shadow: var(--shadow); max-width: 580px;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.hero__search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 123, 100, 0.12), var(--shadow); }
.hero__search svg { color: var(--faint); flex-shrink: 0; }
.hero__search input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-size: 15.5px; color: var(--ink); }
.hero__search input::placeholder { color: var(--faint); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero__trust { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.hero__avatars { display: flex; }
.hero__avatars span {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 13px;
  display: grid; place-items: center; border: 2px solid var(--bg);
  margin-left: -8px;
}
.hero__avatars span:first-child { margin-left: 0; }
.hero__avatars span:nth-child(2) { background: var(--grad-brand); }
.hero__avatars span:nth-child(3) { background: linear-gradient(135deg, #0F7B64, #F26D3D); }
.hero__avatars span:nth-child(4) { background: linear-gradient(135deg, #F7B733, #F26D3D); }
.hero__trust p { font-size: 13.5px; color: var(--muted); }
.hero__trust strong { color: var(--ink); }

.hero__art { position: relative; height: 460px; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.hero__blob--1 { width: 260px; height: 260px; background: rgba(242, 109, 61, 0.35); top: 4%; right: 8%; }
.hero__blob--2 { width: 240px; height: 240px; background: rgba(15, 123, 100, 0.3); bottom: 2%; left: 4%; }
.hero__card {
  position: absolute; z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px; padding: 18px;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.hero__card--a { top: 0%; left: 0%; width: 232px; animation-delay: 0s; }
.hero__card--b { top: 0%; right: 0%; width: 232px; animation-delay: 1.2s; }
.hero__card--c { bottom: 70px; left: 0%; right: 0%; width: auto; animation-delay: 0.6s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero__card-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-deep);
  display: grid; place-items: center; margin-bottom: 10px;
}
.hero__card--b .hero__card-icon { background: var(--brand-soft); color: var(--brand); }
.hero__card-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.hero__card-sub { font-size: 12.5px; color: var(--muted); }
.hero__card-head { display: flex; align-items: center; gap: 12px; }
.hero__card-head .hero__card-icon { margin-bottom: 0; flex: none; }
.hero__card-head .hero__card-title { line-height: 1.25; }
.hero__card-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--grad); color: #fff; font-size: 11px; font-weight: 800;
  padding: 4px 10px; border-radius: 999px;
}

/* ---------- Hero widgets ---------- */
.hero__prayer-time { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: #1f2b26; letter-spacing: 0.5px; line-height: 1.1; margin-top: 6px; }
.hero__prayer-meta { font-size: 11px; color: var(--muted); margin-top: 4px; }

.qibla-mini { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.qibla-mini__dial { position: relative; width: 66px; height: 66px; border-radius: 50%; border: 2px solid var(--brand); background: #fff; flex: none; }
.qibla-mini__dial::before { content: ""; position: absolute; inset: 7px; border: 1px dashed rgba(15,123,100,0.35); border-radius: 50%; }
.qibla-mini__n { position: absolute; top: 1px; left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 800; color: var(--accent-deep); z-index: 2; }
.qibla-mini__needle { position: absolute; inset: 0; transition: transform 0.6s ease; }
.qibla-mini__needle::before { content: ""; position: absolute; top: 16%; left: 50%; width: 4px; height: 34%; transform: translateX(-50%); border-radius: 4px; background: var(--brand); }
.qibla-mini__needle::after { content: ""; position: absolute; bottom: 16%; left: 50%; width: 4px; height: 22%; transform: translateX(-50%); border-radius: 4px; background: var(--accent); }
.qibla-mini__pin { position: absolute; top: 50%; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); transform: translate(-50%, -50%); z-index: 2; }
.qibla-mini__info { font-size: 11.5px; color: var(--muted); line-height: 1.45; margin: 0; }
.qibla-mini__cal {
  display: block; margin-top: 6px; padding: 3px 11px;
  border: 1px solid var(--brand); background: var(--brand); color: #fff;
  font-size: 10px; font-weight: 800; border-radius: 999px; cursor: pointer;
}

.tasbih { display: flex; align-items: center; gap: 18px; margin-top: 12px; }
.tasbih__ring { position: relative; width: 84px; height: 84px; flex: none; }
.tasbih__info { flex: 1; min-width: 0; }
.tasbih__ring svg { display: block; transform: rotate(-90deg); }
.tasbih__ring-bg { fill: none; stroke: rgba(15, 123, 100, 0.14); stroke-width: 7; }
.tasbih__ring-fg {
  fill: none; stroke: url(#tasbihGrad); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 232.5; stroke-dashoffset: 232.5;
  transition: stroke-dashoffset 0.25s ease;
}
.tasbih__ring-fg.glow { filter: drop-shadow(0 0 8px rgba(247, 183, 51, 0.9)); }
.tasbih__bead {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border: none; border-radius: 50%; cursor: pointer;
  background: var(--grad); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
  box-shadow: 0 10px 22px rgba(242, 109, 61, 0.38);
  transition: box-shadow 0.15s ease;
}
.tasbih__bead b { font-weight: 800; }
.tasbih__bead:active { transform: translate(-50%, -50%) scale(0.92); }
.tasbih__bead:hover { box-shadow: 0 12px 26px rgba(242, 109, 61, 0.52); }
.tasbih__bead.pop { animation: tasPop 0.32s ease; }
@keyframes tasPop {
  0% { transform: translate(-50%, -50%) scale(1); }
  35% { transform: translate(-50%, -50%) scale(1.2); }
  100% { transform: translate(-50%, -50%) scale(1); }
}
.tasbih__phrase { text-align: left; font-size: 13px; font-weight: 800; color: #1f2b26; margin-top: 0; }
.tasbih__ar { display: inline; font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", serif; font-size: 14.5px; color: var(--brand); unicode-bidi: embed; }
.tasbih__sets { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.tasbih__set {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 999px;
  background: #fff; border: 1.5px solid var(--line);
  font-size: 10.5px; font-weight: 700; color: var(--muted);
  transition: all 0.25s ease; white-space: nowrap;
}
.tasbih__set b { font-weight: 800; }
.tasbih__set.done { background: var(--brand); border-color: var(--brand); color: #fff; }
.tasbih__set.active {
  border-color: var(--gold); color: var(--gold);
  animation: tasPulse 1.5s ease-in-out infinite;
}
@keyframes tasPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(247, 183, 51, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(247, 183, 51, 0.16); }
}
.tasbih__reset {
  display: inline-block; margin: 9px 0 0; border: 1px solid var(--line); background: #fff;
  color: var(--muted); font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 999px; cursor: pointer;
}
.tasbih__reset:hover { border-color: var(--brand); color: var(--brand); }
.tasbih__phrase.done { color: var(--brand); }
.tm { display: none; }

/* ---------- Daily Hadeeth ---------- */
.hadeeth { padding: 26px 0 8px; }
.hadeeth__card {
  position: relative; overflow: hidden;
  max-width: 820px; margin: 0 auto;
  background: linear-gradient(135deg, #0b5a4a, #0f7b64 60%, #0e6b58);
  color: #fff; border-radius: 26px; padding: 24px 30px 28px;
  box-shadow: 0 24px 50px rgba(10, 92, 75, 0.28);
}
.hadeeth__card::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.1); right: -140px; top: -170px;
}
.hadeeth__card::after {
  content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 183, 51, 0.16), transparent 70%);
  left: -60px; bottom: -80px;
}
.hadeeth__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; position: relative; z-index: 1; }
.hadeeth__bar-info { display: flex; align-items: center; gap: 14px; }
.hadeeth__live { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.14); padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; }
.hadeeth__live i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: hdPulse 1.6s infinite; }
@keyframes hdPulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); } 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.hadeeth__title { font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin: 0; }
.hadeeth__next {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: #0f7b64; border: none; border-radius: 999px;
  padding: 10px 18px; font-weight: 800; font-size: 13px; cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.hadeeth__next:hover { background: #f0fbf6; }
.hadeeth__next:active { transform: scale(0.96); }
.hadeeth__body { display: flex; gap: 0; align-items: flex-start; position: relative; z-index: 1; }
.hadeeth__mark { font-family: Georgia, serif; font-size: 72px; line-height: 0.5; color: rgba(247, 183, 51, 0.15); flex: none; user-select: none; position: absolute; top: 12px; left: 0; z-index: 0; }
.hadeeth__main { flex: 1; min-width: 0; position: relative; z-index: 1; padding-left: 36px; }
.hadeeth__ar { font-family: "Scheherazade New", "Amiri", "Noto Naskh Arabic", "Segoe UI", serif; font-size: 24px; line-height: 1.9; text-align: right; color: #f7d68a; margin-bottom: 12px; unicode-bidi: embed; min-height: 78px; overflow: hidden; }
.hadeeth__ar span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; direction: rtl; unicode-bidi: embed; }
.hadeeth__text { font-size: 18px; line-height: 1.7; font-family: var(--font-body); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; min-height: 122px; }
.hadeeth__text.swap { animation: hdSwap 0.6s ease; }
@keyframes hdSwap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hadeeth__foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.hadeeth__src { font-size: 13px; color: rgba(255, 255, 255, 0.75); font-weight: 700; }
.hadeeth__more {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  background: rgba(255, 255, 255, 0.12); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32); border-radius: 999px;
  padding: 8px 15px; font-size: 12.5px; font-weight: 800; cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hadeeth__more[hidden] { display: none; }
.hadeeth__more:hover { background: rgba(255, 255, 255, 0.24); transform: translateY(-1px); }
.hadeeth__more:active { transform: scale(0.96); }
.hadeeth__badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, #16a34a, #15803d); color: #fff;
  font-size: 11.5px; font-weight: 800; padding: 8px 14px; border-radius: 999px;
  letter-spacing: 0.03em; box-shadow: 0 8px 18px rgba(22, 163, 74, 0.35);
  white-space: nowrap;
}
.hadeeth__progress { height: 4px; background: rgba(255, 255, 255, 0.15); border-radius: 999px; margin-top: 24px; overflow: hidden; position: relative; z-index: 1; }
.hadeeth__progress span { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #f7b733, #f26d3d); }
.hadeeth__progress span.run { width: 100%; transition: width 20s linear; }

/* Full hadith modal */
.hdmodal { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 20px; }
.hdmodal[hidden] { display: none; }
.hdmodal__backdrop { position: absolute; inset: 0; background: rgba(6, 26, 22, 0.7); backdrop-filter: blur(5px); animation: hdFade 0.3s ease; }
.hdmodal__panel {
  position: relative; width: min(580px, 100%); max-height: 74vh;
  display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(165deg, #0d5f4f, #0f7b64 60%, #0e6b58); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 22px;
  box-shadow: 0 40px 90px rgba(6, 26, 22, 0.55); animation: hdUp 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.hdmodal__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 26px; background: rgba(11, 90, 74, 0.96); flex: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.hdmodal__label {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.hdmodal__label i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: hdPulse 1.6s infinite; }
.hdmodal__close {
  width: 32px; height: 32px; display: grid; place-items: center; flex: none;
  background: rgba(255, 255, 255, 0.12); color: #fff; border: none; border-radius: 50%; cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hdmodal__close:hover { background: rgba(255, 255, 255, 0.24); transform: rotate(90deg); }
.hdmodal__body { min-height: 0; overflow-y: auto; padding: 20px 30px 26px; }
.hdmodal__body::-webkit-scrollbar { width: 8px; }
.hdmodal__body::-webkit-scrollbar-track { background: transparent; }
.hdmodal__body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.24); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
.hdmodal__sahih {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, #16a34a, #15803d); color: #fff;
  font-size: 11px; font-weight: 800; padding: 5px 11px; border-radius: 999px;
  letter-spacing: 0.03em; margin-bottom: 16px;
}
.hdmodal__ar {
  font-family: "Scheherazade New", "Amiri", "Noto Naskh Arabic", "Segoe UI", serif;
  font-size: 25px; line-height: 2.05; text-align: right; color: #f7d68a; direction: rtl; unicode-bidi: embed;
  margin: 0 0 16px; word-break: break-word;
}
.hdmodal__text { font-size: 15.5px; line-height: 1.8; color: rgba(255, 255, 255, 0.96); margin: 0 0 16px; white-space: pre-wrap; }
.hdmodal__divider { height: 1px; background: linear-gradient(90deg, rgba(247, 183, 51, 0.55), rgba(255, 255, 255, 0.08)); margin: 2px 0 14px; }
.hdmodal__src { font-size: 12.5px; color: rgba(255, 255, 255, 0.7); font-weight: 700; margin: 0; }
@keyframes hdFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hdUp { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
body.no-scroll { overflow: hidden; }

.hero__ramadan {
  position: absolute; left: 8%; right: 8%; bottom: 2%; z-index: 1;
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #8a5a14, #f7b733);
  color: #fff; border-radius: 16px; padding: 10px 14px;
  box-shadow: 0 14px 30px rgba(247,183,51,0.38);
}
.hero__ramadan-ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.22); flex: none; }
.hero__ramadan b { font-family: var(--font-display); font-weight: 700; font-size: 12.5px; flex: 1; line-height: 1.3; }
.hero__ramadan em { font-style: normal; font-size: 11.5px; font-weight: 800; white-space: nowrap; background: rgba(255,255,255,0.2); padding: 4px 10px; border-radius: 999px; }

/* ---------- Prayer times ---------- */
.prayer { padding: 84px 0 30px; }
.prayer-card {
  background: var(--grad-brand); border-radius: 22px;
  padding: 22px 24px; color: #fff;
  box-shadow: 0 24px 50px rgba(10, 92, 75, 0.28);
  position: relative; overflow: hidden;
}
.prayer-card::after {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(247,183,51,0.25), transparent 70%);
  right: -70px; top: -120px;
}
.prayer-card::before {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.09), transparent 70%);
  left: -50px; bottom: -120px;
}
.prayer__next {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 14px; margin-bottom: 16px;
}
.prayer__next-icon {
  width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0;
  background: rgba(255,255,255,0.14); display: grid; place-items: center; color: var(--gold);
}
.prayer__next-icon svg { width: 22px; height: 22px; }
.prayer__next-meta { flex: 1; min-width: 0; }
.prayer__next p { font-size: 12.5px; color: rgba(255,255,255,0.8); }
.prayer__next h3 { font-family: var(--font-display); font-size: 18px; font-weight: 800; margin-top: 2px; line-height: 1.25; }
.prayer__next strong { color: var(--gold); font-family: var(--font-display); font-size: 18px; font-weight: 800; }
.prayer__live {
  position: relative; z-index: 2; flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display);
  font-size: 10.5px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.65);
}
.prayer__live-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.5; font-style: normal; }
.prayer__live--on { background: rgba(126,226,166,0.14); border-color: rgba(126,226,166,0.35); color: #7EE2A6; }
.prayer__live--on .prayer__live-dot { opacity: 1; animation: livePulse 1.8s infinite; }
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(126,226,166,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(126,226,166,0); }
  100% { box-shadow: 0 0 0 0 rgba(126,226,166,0); }
}
.prayer__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px;
}
.prayer-slot {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 13px; padding: 10px 6px; text-align: center;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.prayer-slot::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 46%;
  background: linear-gradient(180deg, rgba(255,255,255,0.22), transparent);
  border-radius: 13px 13px 0 0; pointer-events: none;
}
.prayer-slot:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,0.25); }
.prayer-slot span { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: rgba(255,255,255,0.8); }
.prayer-slot b { display: block; font-family: var(--font-display); font-size: 16px; font-weight: 800; margin-top: 3px; color: #FFE2A3; }
.prayer-slot.jummah { background: rgba(247,183,51,0.16); border-color: rgba(247,183,51,0.42); }
.prayer-slot.jummah b { color: #FFE9B0; }
.prayer-slot.jummah span { color: #FFEFC8; }
.prayer-slot.next { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.prayer-slot.next::before { display: none; }
.prayer-slot.next b { color: var(--ink); }
.prayer-slot.next span { color: var(--brand); }
.prayer-note { text-align: center; font-size: 13px; color: var(--faint); margin-top: 14px; }

.prayer-card__extra {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.16);
}
.hijri { color: var(--gold); font-weight: 800; }
.prayer-count {
  display: inline-block; margin-left: 4px; padding: 2px 9px; border-radius: 999px;
  background: rgba(247,183,51,0.16); border: 1px solid rgba(247,183,51,0.42);
  color: #FFE2A3; font-family: var(--font-display);
  font-size: 13px; font-weight: 700; white-space: nowrap;
}
.qibla { display: flex; align-items: center; gap: 12px; }
.qibla__dial {
  position: relative; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.35);
  flex-shrink: 0;
}
.qibla__mark { position: absolute; font-size: 9px; font-weight: 800; color: rgba(255,255,255,0.85); }
.qibla__mark--n { top: 2px; left: 50%; transform: translateX(-50%); }
.qibla__mark--e { right: 3px; top: 50%; transform: translateY(-50%); }
.qibla__mark--s { bottom: 2px; left: 50%; transform: translateX(-50%); }
.qibla__mark--w { left: 3px; top: 50%; transform: translateY(-50%); }
.qibla__needle {
  position: absolute; left: 50%; top: 50%;
  width: 0; height: 0;
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-bottom: 20px solid var(--gold);
  transform-origin: 50% 100%;
  margin-left: -5px; margin-top: -20px;
  transition: transform 0.35s linear;
}
.qibla__cal {
  display: inline-block; margin-top: 4px; padding: 2px 9px;
  border: 1px solid rgba(247,183,51,0.5); background: rgba(247,183,51,0.12);
  color: var(--gold); font-size: 10px; font-weight: 700; border-radius: 999px; cursor: pointer;
}
.qibla__pin {
  position: absolute; left: 50%; top: 50%; width: 7px; height: 7px;
  margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #fff; border: 2px solid var(--gold);
}
.qibla__info { display: flex; align-items: center; gap: 10px; }
.qibla__icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(247,183,51,0.18); color: var(--gold);
  display: grid; place-items: center; flex-shrink: 0;
}
.qibla__icon svg { width: 17px; height: 17px; }
.qibla__info b { display: block; font-size: 13px; font-weight: 800; }
.qibla__info p { font-size: 11.5px; color: rgba(255,255,255,0.82); margin-top: 1px; }
.btn--share {
  background: #25D366; color: #fff;
  box-shadow: 0 10px 22px rgba(37,211,102,0.28);
  padding: 9px 14px; font-size: 13px;
}
.btn--share:hover { transform: translateY(-2px); background: #1fb457; box-shadow: 0 14px 30px rgba(37,211,102,0.38); }

.mosque-card__links, .biz-card__links { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.mosque-card__links a, .biz-card__links a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: var(--brand);
}
.mosque-card__links a:hover, .biz-card__links a:hover { color: var(--accent-deep); }
.mosque-card__links svg, .biz-card__links svg { width: 15px; height: 15px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section--tint { background: var(--bg-2); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section__tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.section__title { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 12px; }
.section__sub { font-size: 16px; color: var(--muted); }

.grid { display: grid; gap: 22px; }
.grid--events { grid-template-columns: repeat(3, 1fr); }
.grid--dir { grid-template-columns: repeat(3, 1fr); }
.grid--mosque { grid-template-columns: repeat(2, 1fr); }
.grid--classes { grid-template-columns: repeat(3, 1fr); }
.grid--support { grid-template-columns: repeat(3, 1fr); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.chip {
  padding: 9px 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2);
  font-weight: 700; font-size: 13.5px; color: var(--muted);
  transition: all 0.2s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.chip.active { background: var(--grad-brand); border-color: var(--brand); color: #fff; box-shadow: 0 8px 18px rgba(15, 123, 100, 0.22); }

/* Event card */
.event-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column;
}
.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.event-card__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; color: #fff; position: relative; overflow: hidden;
}
.event-card__top::after { content: ""; position: absolute; inset: 0; background: radial-gradient(300px 140px at 85% -20%, rgba(255,255,255,0.28), transparent 60%); }
.event-card__date { font-family: var(--font-display); font-weight: 800; line-height: 1.1; position: relative; z-index: 1; }
.event-card__date b { font-size: 26px; display: block; }
.event-card__date span { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; opacity: 0.92; }
.event-card__cat { position: relative; z-index: 1; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; background: rgba(255,255,255,0.2); padding: 5px 11px; border-radius: 999px; }
.event-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.event-card__title { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.event-card__meta { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.event-card__meta span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.event-card__meta svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.event-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.event-card__price { font-weight: 800; font-size: 14px; }
.event-card__price.free { color: var(--brand); }
.event-card__book {
  font-size: 13px; font-weight: 800; color: var(--brand);
  background: var(--brand-soft); border: 1px solid transparent; border-radius: 999px;
  padding: 8px 16px; cursor: pointer; transition: 0.2s;
}
.event-card__book:hover { background: var(--brand); color: #fff; }
.event-card__book.going { background: var(--brand); color: #fff; }

/* Mosque card */
.mosque-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px;
  box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column;
}
.mosque-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mosque-card__top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.mosque-card__icon {
  width: 56px; height: 56px; border-radius: 17px;
  background: var(--grad-brand); color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
}
.mosque-card__icon svg { width: 26px; height: 26px; }
.mosque-card__name { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.mosque-card__loc { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-top: 3px; }
.mosque-card__loc svg { width: 14px; height: 14px; color: var(--accent); }
.mosque-card__phone {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 7px;
  font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--ink);
  text-decoration: none;
}
.mosque-card__phone svg { width: 15px; height: 15px; color: var(--brand); }
.mosque-card__phone:hover { color: var(--brand); }
.mosque-card__jummah {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-soft); color: var(--brand);
  font-weight: 800; font-size: 13px; padding: 7px 14px; border-radius: 999px;
  margin-bottom: 14px;
}
.mosque-card__jummah svg { width: 14px; height: 14px; }
.mosque-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.mosque-card__tags span { font-size: 12px; font-weight: 700; color: var(--muted); background: var(--bg-2); padding: 5px 11px; border-radius: 999px; }
.mosque-card__foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.mosque-card__foot .btn {
  flex: 1; min-width: 0; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 8px; font-size: 13px; font-weight: 800; border-radius: 13px;
}
.mosque-card__foot .btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.mosque-card__foot .btn--call {
  background: var(--grad-brand); color: #fff;
  box-shadow: 0 8px 18px rgba(10, 92, 75, 0.25);
}
.mosque-card__foot .btn--call:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(10, 92, 75, 0.32); }
.mosque-card__foot .btn--msg { background: #E7F7EC; color: #128C4A; }
.mosque-card__foot .btn--msg:hover { background: #128C4A; color: #fff; transform: translateY(-2px); }
.mosque-card__foot .btn--dir { background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); }
.mosque-card__foot .btn--dir:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn--call { background: var(--brand-soft); color: var(--brand); }
.btn--call:hover { background: var(--brand); color: #fff; }
.btn--msg { background: #E7F7EC; color: #128C4A; }
.btn--msg:hover { background: #128C4A; color: #fff; }
.btn--dir { background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); }
.btn--dir:hover { border-color: var(--brand); color: var(--brand); }

/* Season banner */
.season { padding: 10px 0 0; }
.season__card {
  background: var(--grad); color: #fff; border-radius: 24px;
  padding: 30px 36px; display: flex; align-items: center; gap: 22px;
  box-shadow: 0 22px 46px rgba(242, 109, 61, 0.3);
  position: relative; overflow: hidden;
}
.season__card::after { content: ""; position: absolute; right: -40px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.2), transparent 70%); }
.season__icon { width: 58px; height: 58px; border-radius: 17px; background: rgba(255,255,255,0.2); display: grid; place-items: center; flex-shrink: 0; }
.season__card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 800; }
.season__card p { font-size: 14.5px; color: rgba(255,255,255,0.92); max-width: 620px; }
.season__card .btn { flex-shrink: 0; background: #fff; color: var(--accent-deep); margin-left: auto; position: relative; z-index: 2; }
.season__card .btn:hover { transform: translateY(-2px); }

/* Featured sponsor banner carousel */
.banners { padding: 36px 0 0; }
.banner {
  position: relative; border-radius: 22px; overflow: hidden;
  box-shadow: 0 22px 46px -18px rgba(15, 123, 100, 0.4);
}
.banner__track { display: flex; transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; }
.banner__slide {
  position: relative; flex: 0 0 100%; min-width: 100%; overflow: hidden;
  display: flex; align-items: center; gap: 22px; padding: 30px 64px;
  color: #fff; text-decoration: none;
}
.banner__glow { position: absolute; right: -70px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); pointer-events: none; }
.banner__glow::after { content: ""; position: absolute; right: 70px; top: 70px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); }
.banner__logo {
  flex: 0 0 64px; width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center; font-family: var(--font-display);
  font-weight: 800; font-size: 26px; color: #fff;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.3);
}
.banner__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.banner__kicker { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.6px; opacity: 0.85; }
.banner__title { font-size: clamp(20px, 2.8vw, 28px); font-weight: 800; line-height: 1.1; }
.banner__sub { font-size: 13.5px; opacity: 0.92; line-height: 1.5; max-width: 46ch; }
.banner__url { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; margin-top: 2px; opacity: 0.92; }
.banner__url svg { width: 13px; height: 13px; }
.banner__cta {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; align-self: flex-start;
  font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.3);
}
.banner__cta svg { width: 14px; height: 14px; }
.banner__num {
  position: absolute; top: 16px; right: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px;
  background: rgba(0, 0, 0, 0.18); padding: 5px 10px; border-radius: 999px;
}
.banner__num svg { width: 12px; height: 12px; }
.banner__dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: 6px; }
.banner__dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, 0.4); cursor: pointer; transition: all 0.25s; }
.banner__dot.active { background: #fff; width: 22px; border-radius: 4px; }
.banner__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--brand-deep);
  background: rgba(255, 255, 255, 0.92); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  transition: opacity 0.2s, transform 0.2s;
}
.banner__arrow svg { width: 18px; height: 18px; }
.banner__arrow--prev { left: 14px; }
.banner__arrow--next { right: 14px; }
.banner__arrow:hover { transform: translateY(-50%) scale(1.08); }

/* Business (halal) card */
.biz-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 20px;
  box-shadow: 0 1px 2px rgba(24,39,75,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column; position: relative;
}
.biz-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(24,39,75,0.1); }
.biz-card__promo {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #F7B733, #F26D3D);
  color: #fff; font-size: 11.5px; font-weight: 800;
  letter-spacing: 1.2px; text-transform: uppercase;
  padding: 9px 14px; margin: -20px -20px 16px; border-radius: 18px 18px 0 0;
  box-shadow: 0 10px 22px rgba(242, 109, 61, 0.28);
}
.biz-card__promo svg { width: 14px; height: 14px; }
.biz-card__tags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 12px; }
.biz-card__pill {
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase;
  color: var(--brand);
}
.biz-card__pill--alt { color: var(--faint); font-weight: 700; }
.biz-card__top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.biz-card__icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; color: #fff; flex-shrink: 0;
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
}
.biz-card__name { font-family: var(--font-display); font-size: 16px; font-weight: 800; line-height: 1.3; }
.biz-card__cat { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--faint); font-weight: 700; margin-top: 3px; }
.biz-card__rating { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; }
.biz-card__stars { color: var(--gold); font-size: 13px; letter-spacing: 1px; }
.biz-card__stars .off { color: var(--line-2); }
.biz-card__rating b { font-weight: 800; color: var(--ink); }
.biz-card__rating .count { color: var(--faint); }
.biz-card__desc { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin-bottom: 14px; }
.biz-card__meta { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.biz-card__meta span { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.biz-card__pin { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.biz-card__pin:hover { color: var(--brand); text-decoration: underline; }
.biz-card__meta svg { width: 15px; height: 15px; color: var(--brand); flex-shrink: 0; }
.biz-card__rating--none { font-size: 12px; color: var(--brand); font-weight: 700; }
.biz-card__open { color: var(--brand); font-weight: 700; }
.biz-card__closed { color: var(--faint); }
.biz-card__tel { color: var(--ink); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }

.biz-card__foot { display: flex; flex-direction: row; gap: 10px; margin-top: auto; }
.biz-card__foot .btn { flex: 1; padding: 10px 0; font-size: 13.5px; border-radius: 11px; min-width: 0; }

/* Smart Call / WhatsApp buttons */
.biz-card__foot .btn--cta { justify-content: center; gap: 8px; font-weight: 800; letter-spacing: 0.2px; }
.biz-card__foot .btn--cta svg { width: 16px; height: 16px; flex-shrink: 0; }
.biz-card__foot .btn--cta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.biz-card__foot .btn--call.btn--cta { background: var(--brand); color: #fff; }
.biz-card__foot .btn--call.btn--cta:hover { background: #0B8B72; }
.biz-card__foot .btn--msg.btn--cta { background: linear-gradient(135deg, #17A95F, #128C4A); color: #fff; }
.biz-card__foot .btn--msg.btn--cta:hover { background: linear-gradient(135deg, #1CBC6A, #17A95F); }
.btn--ghost { background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); font-weight: 800; }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.biz-card__foot .btn--ghost svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn--visit:hover { border-color: var(--brand); color: var(--brand); }

/* Class card */
.class-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 24px;
  box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column;
}
.class-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.class-card__icon {
  width: 50px; height: 50px; border-radius: 15px;
  display: grid; place-items: center; color: #fff; margin-bottom: 14px;
}
.class-card__icon svg { width: 24px; height: 24px; }
.class-card__title { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.class-card__meta { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.class-card__meta span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.class-card__meta svg { width: 14px; height: 14px; color: var(--accent); }
.class-card__age {
  align-self: flex-start; font-size: 12px; font-weight: 800;
  color: var(--brand); background: var(--brand-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.class-card__foot { margin-top: auto; }
.class-card__foot .btn { width: 100%; padding: 11px; font-size: 13.5px; border-radius: 12px; }

/* Support card */
.support-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px;
  box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column;
}
.support-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.support-card__icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; color: #fff; margin-bottom: 16px;
}
.support-card__icon svg { width: 24px; height: 24px; }
.support-card__title { font-family: var(--font-display); font-size: 17.5px; font-weight: 700; margin-bottom: 6px; }
.support-card p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.support-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.support-card__foot button { font-weight: 800; color: var(--brand); font-size: 14px; }
.support-card__foot button:hover { text-decoration: underline; }
.support-card__conf { font-size: 11px; font-weight: 800; color: var(--brand); background: var(--brand-soft); padding: 3px 9px; border-radius: 999px; }

/* Noticeboard */
.noticeboard { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
.post-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 24px;
  box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column;
  min-width: 0;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card--wide { grid-column: 1; grid-row: span 2; }
.post-card--wide .post-card__title { font-size: 21px; }
.post-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; min-width: 0; }
.post-card__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad-brand); color: #fff; font-weight: 800;
  display: grid; place-items: center; font-size: 14px; flex-shrink: 0;
}
.post-card__who { font-size: 13.5px; min-width: 0; overflow-wrap: break-word; }
.post-card__who b { display: block; font-size: 14px; }
.post-card__who span { color: var(--faint); font-size: 12.5px; }
.post-card__tag { margin-left: auto; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--brand); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; }
.post-card__tag.gold { color: #B07800; background: #FBF0D8; }
.post-card__tag.coral { color: var(--accent-deep); background: var(--accent-soft); }
.post-card__title { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.post-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
.post-card__foot { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.helpful-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--muted);
  padding: 6px 12px; border-radius: 999px; background: var(--bg-2);
  transition: all 0.2s;
}
.helpful-btn:hover, .helpful-btn.liked { background: var(--brand-soft); color: var(--brand); }
.helpful-btn svg { width: 15px; height: 15px; }

/* Lost & found */
.lf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lf-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 18px;
  box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s;
}
.lf-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.lf-card__top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.lf-card__icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.lf-card__icon.lost { background: var(--grad); }
.lf-card__icon.found { background: var(--grad-brand); }
.lf-card__label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.lf-card__label.lost { color: var(--accent-deep); }
.lf-card__label.found { color: var(--brand); }
.lf-card__title { font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.lf-card p { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.lf-card__foot { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--faint); }
.lf-card__foot button { color: var(--brand); font-weight: 700; font-size: 12.5px; }
.lf-card__foot button:hover { text-decoration: underline; }

/* Tabs & forms */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.tab { padding: 11px 20px; border-radius: 13px; background: var(--surface); border: 1px solid var(--line-2); font-weight: 700; font-size: 14px; color: var(--muted); transition: all 0.2s; }
.tab:hover { color: var(--brand); border-color: var(--brand); }
.tab.active { background: var(--grad-brand); border-color: var(--brand); color: #fff; box-shadow: 0 8px 18px rgba(15,123,100,0.22); }

.form-card {
  max-width: 680px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 24px; padding: 34px;
  box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form__row:first-child { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field__label { font-size: 13px; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line-2); border-radius: 12px;
  padding: 12px 15px; background: var(--bg); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15,123,100,0.1); background: var(--surface); }
.form__actions { display: flex; align-items: center; gap: 20px; margin-top: 8px; }
.form__note { font-size: 12.5px; color: var(--faint); }

/* Community stats & join card */
.community-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  max-width: 680px; margin: 0 auto 22px;
}
.community-stats .stat {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 16px 10px; text-align: center;
  box-shadow: var(--shadow-sm);
}
.community-stats .stat b { display: block; font-family: var(--font-display); font-size: 24px; color: var(--brand); }
.community-stats .stat span { font-size: 12px; color: var(--faint); font-weight: 600; }
.join-card {
  display: flex; align-items: center; gap: 16px;
  max-width: 680px; margin: 0 auto 22px;
  background: linear-gradient(135deg, #E7F7EC, #D3F0E0);
  border: 1px solid #BFE6CF; border-radius: 20px; padding: 18px 22px;
}
.join-card__icon { font-size: 30px; flex-shrink: 0; }
.join-card h3 { font-family: var(--font-display); font-size: 16.5px; font-weight: 700; margin-bottom: 3px; }
.join-card p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }
.join-card .btn--msg { flex-shrink: 0; white-space: nowrap; padding: 11px 18px; border-radius: 12px; font-size: 14px; }

/* Floating WhatsApp */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 250;
  width: 58px; height: 58px; border-radius: 50%;
  background: #128C4A; color: #fff; font-size: 27px;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(18,140,74,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-fab svg { width: 30px; height: 30px; }
.wa-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 30px rgba(18,140,74,0.55); }

/* Resources */
.res-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.res-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 20px;
  box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s;
}
.res-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.res-card__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; margin-bottom: 12px; }
.res-card__icon svg { width: 20px; height: 20px; }
.res-card h3 { font-family: var(--font-display); font-size: 15.5px; font-weight: 700; margin-bottom: 4px; }
.res-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.res-card a { font-weight: 800; color: var(--brand); font-size: 14px; }
.res-card a:hover { text-decoration: underline; }

/* Newsletter */
.newsletter { padding: 40px 0 90px; }
.newsletter__card {
  background: var(--grad-brand); border-radius: 28px;
  padding: 44px 48px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  box-shadow: 0 30px 60px rgba(10, 92, 75, 0.3);
  position: relative; overflow: hidden;
}
.newsletter__card::after {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(247,183,51,0.35), transparent 70%);
  right: -60px; top: -120px;
}
.newsletter__title { font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.newsletter__sub { color: rgba(255,255,255,0.85); font-size: 15px; }
.newsletter__form { display: flex; gap: 10px; flex-shrink: 0; position: relative; z-index: 2; }
.newsletter__form input {
  border: none; border-radius: 13px; padding: 14px 18px; min-width: 280px;
  outline: none; font-size: 14.5px;
}

/* Footer */
.footer { background: var(--ink); color: #B8C4BE; padding: 64px 0 30px; }
.footer .logo__text { color: #fff; }
.footer .logo__text em { color: var(--gold); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer__col--brand { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.footer__col--brand .logo {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.footer__col--brand .logo__emblem { margin-bottom: 14px; }
.footer__col--brand .logo__emblem {
  width: 56px; height: 56px;
  box-shadow: 0 0 0 3px rgba(247,183,51,.2), 0 10px 28px rgba(0,0,0,.35), inset 0 1px 3px rgba(255,255,255,.12);
}
.footer__col--brand .logo__emblem-inner { font-size: 18px; }
.footer__col--brand .logo__top-line { font-size: 11px; }
.footer__col--brand .logo__bot-line { font-size: 20px; }
.footer .logo__img { margin-bottom: 14px; }
.footer__col--brand p { font-size: 13.5px; line-height: 1.65; color: #9AA8A2; margin: 0; }
.footer__col h4 { font-family: var(--font-display); color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer__col a, .footer__col .footer__city { display: block; font-size: 14px; padding: 5px 0; color: #B8C4BE; transition: color 0.2s; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13.5px; }
.footer__heart { color: var(--accent); }

/* Toast */
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast {
  background: var(--ink); color: #fff; padding: 14px 22px;
  border-radius: 14px; font-size: 14.5px; font-weight: 600;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px;
  animation: toastIn 0.3s ease;
}
.toast svg { width: 18px; height: 18px; color: #7CF0C2; flex-shrink: 0; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* Empty state */
.empty { text-align: center; padding: 40px; color: var(--faint); grid-column: 1 / -1; font-size: 15px; }

/* Directory note */
.dir-note {
  max-width: 720px; margin: 26px auto 0; text-align: center;
  font-size: 13px; color: var(--muted);
  background: var(--surface); border: 1px dashed var(--line-2);
  border-radius: 14px; padding: 12px 18px;
}

#newsNote, #jobsNote {
  font-weight: 800; color: #fff;
  background: var(--grad);
  border: none; border-radius: 999px; padding: 13px 26px;
  box-shadow: 0 10px 22px rgba(242, 109, 61, 0.28);
}

/* ---------- Live sections (news + jobs) ---------- */
.live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand); vertical-align: baseline; margin-right: 6px;
  animation: livePulse 1.6s infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(15, 123, 100, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(15, 123, 100, 0); }
  100% { box-shadow: 0 0 0 0 rgba(15, 123, 100, 0); }
}

.news-show { position: relative; }
.news-show__stage {
  position: relative; border-radius: 20px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 24px 48px -28px rgba(15, 123, 100, 0.28);
}
.news-show__track { transition: opacity 0.16s ease; }
.news-slide { display: flex; align-items: stretch; min-width: 0; }
.news-slide__img {
  width: 44%; flex-shrink: 0; min-height: 250px; position: relative;
  background: var(--bg-2); overflow: hidden;
}
.news-slide__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-slide__img--ph {
  display: flex; align-items: center; justify-content: center; color: var(--line-2);
}
.news-slide__img--ph svg { width: 64px; height: 64px; }
.news-slide__body {
  flex: 1; min-width: 0; padding: 34px 38px;
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
}
.news-slide__title {
  margin: 0; font-size: 23px; line-height: 1.28; font-weight: 800;
  letter-spacing: -0.01em; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; overflow-wrap: break-word;
}
.news-slide__title a { color: inherit; text-decoration: none; }
.news-slide__title a:hover { color: var(--brand); }
.news-slide__sum {
  margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-slide__more {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  margin-top: 2px; font-weight: 700; font-size: 13.5px; color: var(--brand); text-decoration: none;
}
.news-slide__more svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.news-slide__more:hover svg { transform: translateX(3px); }

.news-card__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  font-size: 12px; color: var(--faint); font-weight: 700;
}
.news-card__tag {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--brand); background: var(--brand-soft);
  padding: 3px 9px; border-radius: 999px;
}

.news-show__controls {
  display: none; align-items: center; justify-content: center; gap: 18px; margin-top: 18px;
}
.news-show--ready .news-show__controls { display: flex; }
.news-show__arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--brand); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); transition: all 0.2s ease; flex-shrink: 0;
}
.news-show__arrow svg { width: 19px; height: 19px; }
.news-show__arrow:hover {
  background: var(--grad-brand); color: #fff; border-color: transparent;
  transform: translateY(-2px); box-shadow: 0 10px 20px -8px rgba(15, 123, 100, 0.5);
}
.news-show__dots { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px; }
.news-show__dot {
  width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0;
  background: var(--line-2); cursor: pointer; transition: all 0.25s ease;
}
.news-show__dot.is-active { width: 24px; background: var(--grad-brand); }

.news-slide--skeleton { pointer-events: none; }
.news-slide--skeleton i {
  width: 44%; flex-shrink: 0; min-height: 250px; background: var(--bg-2);
  position: relative; overflow: hidden;
}
.news-slide--skeleton span {
  flex: 1; min-width: 0; display: grid; gap: 12px; align-content: center; padding: 34px 38px;
}
.news-slide--skeleton em {
  height: 13px; border-radius: 7px; background: var(--bg-2);
  position: relative; overflow: hidden;
}
.news-slide--skeleton em:nth-child(1) { width: 34%; height: 15px; }
.news-slide--skeleton em:nth-child(2) { width: 92%; height: 20px; }
.news-slide--skeleton em:nth-child(3) { width: 74%; height: 20px; }
.news-slide--skeleton em:nth-child(4) { width: 100%; }
.news-slide--skeleton em:nth-child(5) { width: 60%; }

.news-slide--skeleton i::after, .news-slide--skeleton em::after, .job-card--skeleton i::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.65) 50%, transparent 80%);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

.fresh {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; color: var(--brand);
  background: var(--brand-soft); border-radius: 999px; padding: 3px 10px;
  margin-left: 4px;
}

.jobs-toolbar { display: none; flex-direction: column; gap: 14px; margin-bottom: 22px; }
#jobs.is-ready .jobs-toolbar { display: flex; }
.jobs-toolbar .chips { margin-bottom: 0; }
.jobs-toolbar__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.jobs-search {
  flex: 1 1 260px; min-width: 0; position: relative;
  display: flex; align-items: center;
}
.jobs-search__icon {
  position: absolute; left: 14px; width: 16px; height: 16px; color: var(--faint);
  pointer-events: none;
}
.jobs-search input {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 14px 10px 40px; font-size: 13.5px; font-family: inherit;
  color: var(--ink); background: var(--surface); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.jobs-search input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 123, 100, 0.12);
}
.jobs-search input::placeholder { color: var(--faint); }
.job-sort {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  font-family: inherit; font-size: 13px; font-weight: 700;
  padding: 10px 16px; border-radius: 12px; cursor: pointer;
  transition: all 0.2s ease; flex-shrink: 0;
}
.job-sort__icon { width: 15px; height: 15px; color: var(--faint); transition: transform 0.3s ease; }
.job-sort:hover { border-color: var(--line-2); }
.job-sort.is-on {
  background: var(--brand-soft); border-color: var(--brand); color: var(--brand);
}
.job-sort.is-on .job-sort__icon { transform: rotate(180deg); color: var(--brand); }

.job-card__new {
  font-size: 10.5px; font-weight: 800; color: #fff; text-transform: uppercase;
  letter-spacing: 0.6px; background: linear-gradient(135deg, #16A34A, #15803D);
  border-radius: 999px; padding: 3px 10px; white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5);
  animation: newPulse 2s infinite;
}
@keyframes newPulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45); }
  70% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.jobs-alert {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; margin-top: 26px; padding: 16px 20px;
  background: linear-gradient(135deg, #E7F6EC, #F1FBF4);
  border: 1px solid #C6E8D2; border-radius: 16px;
}
.jobs-alert__text {
  margin: 0; display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 700; color: #14532D;
}
.jobs-alert__text svg { width: 19px; height: 19px; color: #16A34A; flex-shrink: 0; }
.jobs-alert__btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #16A34A; color: #fff; font-weight: 800; font-size: 13px;
  padding: 11px 20px; border-radius: 12px; text-decoration: none;
  box-shadow: 0 10px 22px -12px rgba(22, 163, 74, 0.6);
  transition: filter 0.2s, transform 0.2s;
}
.jobs-alert__btn:hover { filter: brightness(1.06); transform: translateY(-2px); }

.grid--jobs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.job-card {
  display: flex; flex-direction: column; gap: 7px; padding: 14px 15px 13px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  min-width: 0; position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.job-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: 0 18px 34px -18px rgba(15, 123, 100, 0.28);
}
.job-card__title {
  margin: 0; font-size: 14.5px; font-weight: 800; line-height: 1.3;
  color: var(--ink); letter-spacing: -0.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; overflow-wrap: break-word;
}
.job-card__co {
  margin: 0; display: flex; align-items: center; gap: 7px;
  min-width: 0; white-space: nowrap; overflow: hidden;
}
.job-card__co-name {
  font-size: 12.5px; font-weight: 600; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis;
}
.job-card__co-dot {
  width: 3px; height: 3px; border-radius: 50%; background: var(--faint);
  flex-shrink: 0;
}
.job-card__co-loc {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; color: var(--faint);
  min-width: 0; overflow: hidden; text-overflow: ellipsis;
}
.job-card__co-loc svg { width: 12px; height: 12px; flex-shrink: 0; }
.job-card__badges { display: flex; flex-wrap: wrap; gap: 5px; }
.job-card__badges > span {
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1;
}
.job-card__salary {
  font-size: 11.5px; font-weight: 800; color: #8a5a00;
  background: #FFF3D6; border: 1px solid #F2D98C; border-radius: 999px;
  padding: 3px 10px; white-space: nowrap;
}
.job-card__salary--muted {
  color: var(--faint); background: var(--bg-2);
  border-color: var(--line-2); font-weight: 700;
}
.job-card__type {
  font-size: 11px; font-weight: 700; color: var(--brand);
  background: var(--brand-soft); border-radius: 999px; padding: 3px 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.job-card__foot {
  margin-top: auto; padding-top: 9px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.job-card__posted { font-size: 11.5px; color: var(--faint); font-weight: 600; white-space: nowrap; }
.job-card__apply {
  background: var(--grad-brand); color: #fff; font-weight: 700; font-size: 12px;
  padding: 7px 14px; border-radius: 9px; text-decoration: none;
  flex-shrink: 0; transition: filter 0.2s, transform 0.2s;
}
.job-card__apply:hover { filter: brightness(1.08); transform: translateY(-1px); }

.job-card--skeleton { gap: 10px; pointer-events: none; }
.job-card--skeleton i {
  height: 12px; border-radius: 6px; background: var(--bg-2);
  position: relative; overflow: hidden;
}
.job-card--skeleton i:nth-child(1) { width: 72%; height: 15px; }
.job-card--skeleton i:nth-child(2) { width: 52%; }
.job-card--skeleton i:nth-child(3) { width: 64%; height: 21px; border-radius: 999px; }
.job-card--skeleton i:nth-child(4) { width: 100%; height: 31px; border-radius: 9px; margin-top: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hero__art { height: 470px; width: 100%; max-width: 520px; margin: 0 auto; }
  .grid--events, .grid--dir, .grid--listing, .grid--classes, .grid--support, .grid--jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .res-grid { grid-template-columns: repeat(2, 1fr); }
  .lf-grid { grid-template-columns: repeat(2, 1fr); }
  .prayer__grid { grid-template-columns: repeat(4, 1fr); }
  .newsletter__card { flex-direction: column; text-align: center; padding: 36px 28px; }
  .newsletter__form { width: 100%; justify-content: center; }
}

@media (max-width: 1000px) {
  .header__inner { gap: 18px; }
  .nav {
    position: fixed; inset: 82px 0 auto 0; z-index: 99;
    flex-direction: column; align-items: center; gap: 4px;
    background: var(--surface); padding: 20px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-140%); transition: transform 0.3s ease;
  }
  .nav.open { transform: none; }
  .nav a { font-size: 16px; padding: 12px 20px; width: 100%; text-align: center; border-radius: 12px; transition: all 0.2s; text-decoration: none; }
  .nav a:hover, .nav a:active { background: var(--grad-brand); color: #fff; }
  .nav a.nav-mobile-only { display: block; }
  .nav .nav-cta {
    background: var(--grad); color: #fff; font-weight: 700;
    padding: 13px 24px; margin-top: 6px; margin-left: auto; margin-right: auto;
    border-radius: 13px; box-shadow: 0 8px 18px rgba(242,109,61,.22);
    width: auto; display: inline-flex;
  }
  .nav .nav-cta:hover { background: var(--grad) !important; color: #fff !important; filter: brightness(1.08); }
  .nav-burger { display: flex; }
  .header__actions .btn--accent { display: none; }
}

@media (max-width: 820px) {
  .nav {
    position: fixed; inset: 82px 0 auto 0; z-index: 99;
    flex-direction: column; align-items: center; gap: 4px;
    background: var(--surface); padding: 20px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-140%); transition: transform 0.3s ease;
  }
  .nav.open { transform: none; }
  .nav a { font-size: 16px; padding: 12px 20px; width: 100%; text-align: center; border-radius: 12px; transition: all 0.2s; text-decoration: none; }
  .nav a:hover, .nav a:active { background: var(--grad-brand); color: #fff; }
  .nav a.nav-mobile-only { display: block; }
  .nav .nav-cta {
    background: var(--grad); color: #fff; font-weight: 700;
    padding: 13px 24px; margin-top: 6px; margin-left: auto; margin-right: auto;
    border-radius: 13px; box-shadow: 0 8px 18px rgba(242,109,61,.22);
    width: auto; display: inline-flex;
  }
  .nav .nav-cta:hover { background: var(--grad) !important; color: #fff !important; filter: brightness(1.08); }
  .nav-burger { display: flex; }
  .header__actions .btn--accent { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .season__card { flex-wrap: wrap; }
  .season__card .btn { margin-left: 0; }
}

@media (max-width: 620px) {
  .grid--events, .grid--dir, .grid--mosque, .grid--classes, .grid--support, .grid--jobs { grid-template-columns: minmax(0, 1fr); }
  .news-slide { flex-direction: column; }
  .news-slide__img, .news-slide--skeleton i { width: 100%; min-height: 0; height: 200px; }
  .news-slide__body, .news-slide--skeleton span { padding: 24px; }
  .news-slide__title { font-size: 18px; }
  .jobs-toolbar { gap: 10px; margin-bottom: 16px; }
  .jobs-toolbar .chips { gap: 6px; justify-content: flex-start; }
  .jobs-toolbar__row { flex-direction: row; align-items: center; gap: 10px; flex-wrap: wrap; }
  .jobs-search { flex: 1 1 0; }
  .job-sort { padding: 9px 13px; font-size: 12.5px; }
  .job-sort { justify-content: center; }
  .jobs-alert { flex-direction: column; text-align: center; }
  .jobs-alert__text { justify-content: center; }
  .res-grid, .lf-grid { grid-template-columns: 1fr; }
  .prayer__grid { grid-template-columns: repeat(3, 1fr); }
  .prayer-card { padding: 18px 16px; }
  .prayer-card__extra { justify-content: center; }
  .qibla { flex-wrap: wrap; justify-content: center; }
  .btn--share { width: 100%; }
  .form__row { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .noticeboard { grid-template-columns: 1fr; }
  .post-card--wide { grid-column: auto; grid-row: auto; }
  .newsletter__form { flex-direction: column; }
  .newsletter__form input { min-width: 0; width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .community-stats { grid-template-columns: repeat(2, 1fr); }
  .join-card { flex-wrap: wrap; }
  .join-card .btn--msg { width: 100%; text-align: center; }
  .wa-fab { right: 16px; bottom: 16px; width: 54px; height: 54px; font-size: 24px; }
  .banner__arrow { display: none; }
  .banner__slide { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 20px 40px; }
  .banner__logo { width: 52px; height: 52px; font-size: 22px; }
  .banner__num { top: 12px; right: 12px; font-size: 10px; }
  .hero__card--a, .hero__card--b { width: 47%; }
  .hero__card--c { width: 100%; }
  .hero__art { height: 490px; }
  .hero__prayer-time { font-size: 22px; }
  .hero__ramadan b { font-size: 11px; }
  .hero__ramadan em { font-size: 10px; padding: 3px 8px; }
  .hadeeth { padding: 18px 0 6px; }
  .hadeeth__card { padding: 22px 20px 26px; border-radius: 20px; }
  .hadeeth__bar { flex-wrap: wrap; }
  .hadeeth__title { font-size: 19px; }
  .hadeeth__body { flex-wrap: wrap; gap: 8px; }
  .hadeeth__mark { display: none; }
  .hadeeth__ar { font-size: 20px; min-height: 64px; }
  .hadeeth__text { font-size: 15.5px; min-height: 105px; }
  .hadeeth__src { font-size: 11.5px; }
  .hadeeth__badge { font-size: 10px; padding: 5px 10px; gap: 4px; }
  .hadeeth__badge svg { width: 11px; height: 11px; }
  .hdmodal { padding: 12px; }
  .hdmodal__panel { max-height: 86vh; border-radius: 18px; }
  .hdmodal__head { padding: 13px 18px; }
  .hdmodal__body { padding: 18px 18px 24px; }
  .hdmodal__ar { font-size: 22px; }
  .hdmodal__text { font-size: 15px; }
}

@media (max-width: 360px) {
  .jobs-toolbar__row { gap: 8px; }
  .job-sort { padding: 9px 11px; font-size: 12px; gap: 6px; }
  .jobs-search input { padding-left: 36px; font-size: 12.5px; }
}

/* Very small phones — prevent iOS zoom on fields, tighter gutters */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__art { height: 600px; }
  .hero__ramadan { padding: 8px 12px; }
  .hero__ramadan b { line-height: 1.2; }
  input, select, textarea, .composer textarea, .composer input[type="text"], .composer select,
  .reply-composer input, #globalSearch, .newsletter__form input { font-size: 16px; }
  .hero__search input { font-size: 16px; }
  .hero__prayer-time { font-size: 20px; }
  .qibla-mini { gap: 6px; margin-top: 8px; }
  .qibla-mini__dial { width: 46px; height: 46px; }
  .qibla-mini__info { font-size: 11px; }
  .hadeeth__main { flex: 1 1 100%; }
  .mosque-card__foot .btn { font-size: 12.5px; padding: 9px 8px; }
  .form__actions { flex-wrap: wrap; gap: 12px; }
  .tasbih { flex-direction: column; gap: 12px; }
  .tasbih__info { width: 100%; text-align: center; }
  .tasbih__sets { justify-content: center; }
  .tasbih__phrase { text-align: center; }
  .tasbih__reset { display: block; margin-left: auto; margin-right: auto; }

  /* Tasbih focus mode */
  .tm {
    position: fixed; inset: 0; z-index: 2000;
    display: none;
    align-items: center; justify-content: center;
    overflow-y: auto;
    background: radial-gradient(130% 100% at 50% 0%, #fdf6ec 0%, #f7ecd8 55%, #f1dfc2 100%);
  }
  .tm.open { display: flex; animation: tmFade 0.2s ease; }
  .tm__stage {
    position: relative; margin: auto;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 18px; text-align: center; padding: 40px 24px 26px;
    width: 100%; max-width: 360px;
    -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none;
    touch-action: manipulation;
  }
  .tm.open .tm__stage { animation: tmUp 0.25s ease; }
  .tm__ring { position: relative; width: min(240px, 58vw, 44vh); aspect-ratio: 1; flex: none; }
  .tm__ring svg { display: block; transform: rotate(-90deg); width: 100%; height: 100%; }
  .tm__ring .tasbih__ring-bg { stroke: rgba(15, 123, 100, 0.18); stroke-width: 5.5; }
  .tm__ring .tasbih__ring-fg { stroke-width: 5.5; transition: stroke-dashoffset 0.22s cubic-bezier(0.25, 0.1, 0.25, 1); }
  .tm__dot {
    position: absolute; top: 50%; left: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px;
    border-radius: 50%; pointer-events: none; z-index: 1;
    background: radial-gradient(circle at 35% 30%, #ffe08a, #f7b733 55%, #f26d3d);
    box-shadow: 0 0 10px 2px rgba(247, 183, 51, 0.85), 0 2px 6px rgba(0, 0, 0, 0.25);
    transition: transform 0.22s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.3s ease;
  }
  .tm__dot.hot { box-shadow: 0 0 16px 5px rgba(247, 183, 51, 1), 0 2px 6px rgba(0, 0, 0, 0.25); }
  .tm__dot.pop { animation: tmDotPop 0.55s ease; }
  .tm__bead {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 58%; height: 58%; border-radius: 50%;
    background: var(--grad);
    box-shadow: 0 18px 40px rgba(242, 109, 61, 0.4), inset 0 2px 10px rgba(255, 255, 255, 0.35);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #fff; cursor: pointer; transition: box-shadow 0.3s ease;
  }
  .tm__bead.hot {
    box-shadow: 0 20px 48px rgba(247, 183, 51, 0.55), inset 0 2px 10px rgba(255, 255, 255, 0.4);
    animation: tmHotPulse 0.7s ease-in-out infinite;
  }
  .tm__bead b { font-family: var(--font-display); font-size: clamp(32px, 11vw, 44px); font-weight: 800; line-height: 1; }
  .tm__bead-sub { font-size: 11px; font-weight: 800; letter-spacing: 2px; opacity: 0.85; margin-top: 6px; }
  .tm__bead.pop { animation: tmPop 0.3s ease; }
  .tm__phrase { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: #1f2b26; }
  .tm__phrase .tasbih__ar { font-size: 24px; }
  .tm__phrase.done { color: var(--brand); }
  .tm__sets { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
  .tm__sets .tasbih__set { padding: 6px 14px; font-size: 12px; }
  .tm__reset {
    border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 24px;
    background: rgba(255, 255, 255, 0.92); color: var(--accent-deep);
    font-family: var(--font-display); font-weight: 800; font-size: 13px;
    box-shadow: var(--shadow); cursor: pointer;
  }
  .tm__reset:active { transform: scale(0.96); }
  .tm__close {
    position: fixed; top: 16px; right: 16px; z-index: 2;
    width: 42px; height: 42px; border: none; border-radius: 50%;
    background: rgba(255, 255, 255, 0.9); color: var(--muted);
    display: grid; place-items: center; box-shadow: var(--shadow);
    cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .tm__hint { position: fixed; bottom: 18px; left: 0; right: 0; text-align: center; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.3px; }
  @keyframes tmFade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes tmUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes tmPop {
    0% { transform: translate(-50%, -50%) scale(1); }
    35% { transform: translate(-50%, -50%) scale(1.12); }
    100% { transform: translate(-50%, -50%) scale(1); }
  }
  @keyframes tmDotPop {
    0% { opacity: 1; transform: scale(1); }
    45% { opacity: 1; transform: scale(1.9); }
    100% { opacity: 1; transform: scale(1); }
  }
  @keyframes tmHotPulse {
    0%, 100% { box-shadow: 0 20px 48px rgba(247, 183, 51, 0.55), inset 0 2px 10px rgba(255, 255, 255, 0.4); }
    50% { box-shadow: 0 22px 56px rgba(247, 183, 51, 0.85), inset 0 2px 10px rgba(255, 255, 255, 0.45); }
  }
}

/* ============================================================
   Marketplace
   ============================================================ */
.btn--grad { background: var(--grad); color: #fff; box-shadow: 0 10px 22px rgba(242, 109, 61, 0.3); }
.btn--grad:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(242, 109, 61, 0.4); }
.btn--danger { background: #FEE2E2; color: #B91C1C; border: 1px solid #FECACA; }
.btn--danger:hover { background: #FECACA; transform: translateY(-2px); }
.btn--sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }

/* Hero */
.mk-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #073c31 0%, #0B5745 55%, #0F7B64 100%);
  color: #fff; padding: 64px 0 72px;
}
.mk-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 320px at 85% 12%, rgba(247,183,51,.14), transparent 60%),
              radial-gradient(600px 300px at 8% 88%, rgba(242,109,61,.16), transparent 60%);
}
.mk-hero__inner { position: relative; display: flex; align-items: center; gap: 48px; }
.mk-hero__copy { flex: 1 1 56%; }
.mk-hero__copy .section__tag { background: rgba(255,255,255,.12); color: #FFD977; border: 1px solid rgba(255,255,255,.18); }
.mk-hero__title {
  font-family: "Fraunces", Georgia, serif; font-weight: 800; line-height: 1.05;
  font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -0.02em; margin: 14px 0 16px;
}
.mk-hero__title .grad-text { background: linear-gradient(115deg, #FFE9A8, #F7B733 55%, #F26D3D); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mk-hero__sub { font-size: 16.5px; line-height: 1.65; color: rgba(255,255,255,.82); max-width: 540px; margin-bottom: 28px; }
.mk-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.mk-hero__actions .btn--ghost { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); color: #fff; }
.mk-hero__actions .btn--ghost:hover { background: rgba(255,255,255,.2); border-color: #FFD977; color: #FFD977; }
.mk-hero__actions .btn--ghost.is-on { background: rgba(247,183,51,.22); border-color: #F7B733; color: #FFD977; }

.mk-hero__art { flex: 1 1 44%; position: relative; height: 330px; }
.mk-hero__blob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255,233,168,.18), rgba(247,183,51,.06) 55%, transparent 72%);
  border: 1px dashed rgba(247,183,51,.35);
  animation: mkBlobSpin 34s linear infinite;
}
@keyframes mkBlobSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.mk-hero__card {
  position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #fff; color: var(--ink); border-radius: 18px; padding: 14px 18px; text-align: center;
  box-shadow: 0 18px 44px rgba(0,0,0,.3);
}
.mk-hero__card b { font-size: 14px; margin: 6px 0 2px; }
.mk-hero__card i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--brand); }
.mk-hero__emoji { font-size: 30px; line-height: 1; }
.mk-hero__card--1 { top: 30px; left: 6%; transform: rotate(-5deg); }
.mk-hero__card--2 { top: 46px; right: 4%; transform: rotate(4deg); }
.mk-hero__card--3 { bottom: 28px; left: 26%; transform: rotate(-2deg); }
.mk-hero__card--4 { bottom: 46px; right: 5%; transform: rotate(3deg); }
.mk-hero__card--2 i { color: var(--grad); color: #F26D3D; }
.mk-hero__card--4 i { color: #1D4ED8; }
.mk-hero__tag {
  position: absolute; bottom: 6px; right: 8%; font-size: 12.5px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: #FFD977; background: rgba(0,0,0,.28); border: 1px solid rgba(255,217,119,.35);
  padding: 7px 14px; border-radius: 999px;
}

/* Toolbar + grid */
.mk-toolbar { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.mk-toolbar__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mk-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  margin-bottom: 8px;
}
.mk-card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column; min-width: 0;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; cursor: pointer;
}
.mk-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(15,40,32,.14); border-color: var(--line-2); }
.mk-card.is-sold { opacity: .72; }
.mk-card.is-sold .mk-card__img { filter: grayscale(.9); }
.mk-card__photo { position: relative; aspect-ratio: 4 / 3; background: var(--bg-2); overflow: hidden; }
.mk-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-card__ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(150deg, #E9F5F0, #F4EDE1 70%);
  color: var(--brand); position: relative;
}
.mk-card__ph svg { width: 42px; height: 42px; opacity: .5; }
.mk-card__sold {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: rgba(12,28,22,.82); color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
  backdrop-filter: blur(3px);
}
.mk-card__new {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  background: linear-gradient(135deg, #16A34A, #15803D); color: #fff;
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  padding: 4px 10px; border-radius: 999px; box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: newPulse 2s infinite;
}
@keyframes newPulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}
.mk-card__body { display: flex; flex-direction: column; gap: 7px; padding: 12px 13px 13px; flex: 1; }
.mk-card__row1 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mk-card__cat {
  font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft); padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.mk-card__cat--free { color: #B45309; background: #FDF0D3; }
.mk-card__cat--sale { color: #0F7B64; background: #E4F2EC; }
.mk-card__cat--rent { color: #1D4ED8; background: #E3EAFD; }
.mk-card__time { font-size: 11px; color: var(--faint); white-space: nowrap; }
.mk-card__title {
  font-family: var(--font-display); font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  overflow-wrap: break-word; word-break: break-word; min-height: 38px;
}
.mk-card__price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.mk-card__price b { font-family: var(--font-display); font-size: 17px; font-weight: 800; color: var(--ink); }
.mk-card__price .mk-free-badge {
  font-family: var(--font-display); font-size: 12px; font-weight: 900; letter-spacing: .04em;
  background: var(--grad); color: #fff; padding: 3px 10px; border-radius: 999px; text-transform: uppercase;
}
.mk-card__price .mk-ono { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.mk-card__meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.mk-card__meta svg { width: 13px; height: 13px; flex-shrink: 0; }
.mk-card__foot {
  display: flex; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line);
}
.mk-card__foot a {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--grad); color: #fff; font-size: 12.5px; font-weight: 800; padding: 9px 10px;
  border-radius: 11px; text-decoration: none; transition: all .2s ease;
}
.mk-card__foot a:hover { filter: brightness(1.05); transform: translateY(-1px); }
.mk-card__foot a svg { width: 14px; height: 14px; }

.mk-card--skeleton { pointer-events: none; }
.mk-card--skeleton .mk-card__photo { animation: mkSkel 1.3s ease-in-out infinite; }
.mk-card--skeleton .mk-card__body { gap: 9px; }
.mk-card--skeleton i { display: block; height: 11px; border-radius: 6px; background: var(--bg-2); animation: mkSkel 1.3s ease-in-out infinite; }
.mk-card--skeleton i:nth-child(2) { width: 70%; }
.mk-card--skeleton i:nth-child(3) { width: 92%; height: 14px; }
.mk-card--skeleton i:nth-child(4) { width: 45%; }
@keyframes mkSkel {
  0%, 100% { opacity: 1; } 50% { opacity: .45; }
}

.mk-empty {
  grid-column: 1 / -1; text-align: center; padding: 56px 20px; color: var(--muted);
}
.mk-empty svg { width: 46px; height: 46px; opacity: .35; margin-bottom: 10px; }
.mk-empty b { display: block; font-family: var(--font-display); font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.mk-empty p { margin: 0; font-size: 13.5px; }

/* Modals */
.mk-modal { position: fixed; inset: 0; z-index: 400; display: none; overscroll-behavior: contain; }
.mk-modal.is-open { display: block; }
.mk-modal__back { position: absolute; inset: 0; background: rgba(9, 28, 22, .55); backdrop-filter: blur(3px); }
.mk-modal__panel {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: none; -ms-overflow-style: none;
  background: var(--surface); border-radius: 20px; padding: 30px; box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
.mk-modal__panel::-webkit-scrollbar { display: none; }
.mk-modal__panel { scrollbar-color: transparent transparent; }
.mk-modal__x {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg-2); color: var(--muted); font-size: 15px; z-index: 2;
  display: grid; place-items: center; cursor: pointer; transition: all .2s ease;
}
.mk-modal__x:hover { background: var(--brand-soft); color: var(--brand); }
.mk-post .section__tag { margin-bottom: 8px; }
.mk-post__title { font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 6px; }
.mk-post__sub { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: 0 0 22px; }
.mk-post__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mk-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.mk-field > span { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.mk-field input, .mk-field select, .mk-field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px;
  font-size: 14px; font-family: inherit; color: var(--ink); background: var(--surface); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.mk-field input:focus, .mk-field select:focus, .mk-field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15,123,100,.12); }
.mk-field textarea { resize: vertical; min-height: 96px; }
.mk-price-row { position: relative; }
.mk-pound { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--muted); }
.mk-price-row input { padding-left: 26px; }
.mk-radio-row { display: flex; gap: 8px; flex-wrap: wrap; }
.mk-radio-row label {
  flex: 1; min-width: 92px; display: flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 8px; font-size: 13px; font-weight: 700;
  color: var(--muted); cursor: pointer; transition: all .2s ease; text-align: center;
}
.mk-radio-row input { position: absolute; opacity: 0; pointer-events: none; }
.mk-radio-row label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.mk-upload {
  align-items: center; justify-content: center; text-align: center; gap: 7px;
  border: 1.5px dashed var(--brand); border-radius: 14px; padding: 26px 20px; cursor: pointer;
  background: linear-gradient(135deg, rgba(15,123,100,.06), rgba(247,183,51,.08));
  color: var(--brand); transition: all .2s ease; position: relative;
}
.mk-upload:hover, .mk-upload.is-drag { border-color: var(--grad-brand, var(--brand)); background: var(--brand-soft); }
.mk-upload svg { opacity: .9; }
.mk-upload b { font-size: 15px; }
.mk-upload i { font-style: normal; font-size: 12px; color: var(--muted); }
.mk-upload__prev { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.mk-upload__prev img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line-2); }
.mk-error {
  background: #FEE2E2; color: #B91C1C; font-size: 13px; font-weight: 600; padding: 11px 14px;
  border-radius: 11px; margin-bottom: 14px; line-height: 1.45;
}
.mk-post__submit { width: 100%; padding: 13px; font-size: 15px; }
.mk-post__submit:disabled { opacity: .6; cursor: not-allowed; }

/* Post modal — redesigned */
.mk-post { padding: 0; }
.mk-post__head {
  position: relative; display: flex; align-items: flex-start; gap: 14px;
  background: linear-gradient(135deg, #0F7B64, #0A5C4B);
  padding: 24px 52px 22px 28px;
}
.mk-post__head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, #F7B733, #F26D3D);
}
.mk-post__head-icon {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #F7B733, #F26D3D);
  box-shadow: 0 8px 18px rgba(242, 109, 61, .35);
}
.mk-post__head-icon svg { width: 23px; height: 23px; }
.mk-post__head .mk-post__title { color: #fff; font-size: 21px; margin: 0 0 3px; }
.mk-post__head .mk-post__sub { color: rgba(255,255,255,.78); font-size: 12.5px; line-height: 1.5; margin: 0; }
.mk-post__body { padding: 22px 28px 30px; }
.mk-post .mk-modal__x { top: 18px; right: 16px; background: rgba(255,255,255,.16); color: #fff; }
.mk-post .mk-modal__x:hover { background: rgba(255,255,255,.3); color: #fff; }

.mk-section { margin-bottom: 22px; }
.mk-section:last-of-type { margin-bottom: 0; }
.mk-section__label {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em;
  color: var(--brand); margin-bottom: 12px;
}
.mk-section__label::before {
  content: ""; width: 8px; height: 8px; border-radius: 2.5px;
  background: linear-gradient(135deg, #F26D3D, #F7B733);
  box-shadow: 0 0 0 3px rgba(247, 183, 51, .22);
}

/* Custom dropdown */
.mk-select { position: relative; }
.mk-select__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px;
  font-size: 14px; font-family: inherit; color: var(--ink); background: var(--surface);
  cursor: pointer; text-align: left; transition: border-color .2s, box-shadow .2s;
}
.mk-select__btn:hover { border-color: var(--line-2); }
.mk-select.is-open .mk-select__btn { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15,123,100,.12); }
.mk-select__value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-select__value.is-placeholder { color: var(--faint); }
.mk-select__arrow {
  flex: none; width: 18px; height: 18px; color: var(--muted);
  transition: transform .2s ease, color .2s;
}
.mk-select.is-open .mk-select__arrow { transform: rotate(180deg); color: var(--brand); }
.mk-select__menu {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30;
  margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 16px 38px rgba(15,40,32,.18); max-height: 220px; overflow-y: auto;
}
.mk-select__menu li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; border-radius: 9px; font-size: 14px; color: var(--ink);
  cursor: pointer; transition: background .15s, color .15s;
}
.mk-select__menu li:hover { background: var(--brand-soft); color: var(--brand); }
.mk-select__menu li.is-selected { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.mk-select__menu li.is-selected::after { content: "✓"; font-weight: 800; color: var(--brand); }

/* Segmented price type */
.mk-price-type {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 4px;
  margin-bottom: 14px;
}
.mk-price-type__opt {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 6px; border: none; border-radius: 10px; background: transparent;
  font-family: inherit; font-size: 13px; font-weight: 700; color: var(--muted);
  cursor: pointer; transition: all .2s ease; min-width: 0;
}
.mk-price-type__opt svg { flex: none; width: 16px; height: 16px; }
.mk-price-type__opt:hover { color: var(--ink); }
.mk-price-type__opt.is-active {
  background: var(--surface); color: var(--brand);
  box-shadow: 0 3px 12px rgba(15,40,32,.12);
}
.mk-price-box { transition: opacity .2s ease; }
.mk-price-box.is-hidden { display: none; }

/* Mode toggle: Buy & Sell items / Property */
.mk-mode {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; max-width: 520px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 6px;
  margin: 0 auto 22px; box-shadow: 0 6px 20px rgba(15,40,32,.06);
}
.mk-mode__btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 10px; border: none; border-radius: 11px; background: transparent;
  font-family: inherit; cursor: pointer; text-align: left; min-width: 0;
  color: var(--muted); transition: all .2s ease;
}
.mk-mode__btn svg { flex: none; width: 20px; height: 20px; color: var(--brand); }
.mk-mode__btn b { display: block; font-family: var(--font-display); font-size: 14px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.mk-mode__btn i { display: block; font-style: normal; font-size: 11px; font-weight: 600; color: var(--faint); margin-top: 2px; }
.mk-mode__btn:hover { color: var(--ink); }
.mk-mode__btn.is-active {
  background: linear-gradient(135deg, rgba(15,123,100,.08), rgba(247,183,51,.1));
  box-shadow: inset 0 0 0 1.5px var(--brand);
  color: var(--brand);
}
.mk-mode__btn.is-active b { color: var(--brand); }
.mk-mode__btn.is-active svg { color: var(--brand); }
@media (max-width: 380px) {
  .mk-mode__btn { flex-direction: column; text-align: center; gap: 4px; padding: 10px 6px; }
  .mk-mode__btn svg { width: 18px; height: 18px; }
  .mk-mode__btn i { font-size: 10px; }
}

/* Property listing type segmented */
.mk-ptype {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 4px;
}
.mk-ptype__opt {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 6px; border: none; border-radius: 10px; background: transparent;
  font-family: inherit; font-size: 13px; font-weight: 700; color: var(--muted);
  cursor: pointer; transition: all .2s ease; min-width: 0;
}
.mk-ptype__opt svg { flex: none; width: 16px; height: 16px; }
.mk-ptype__opt:hover { color: var(--ink); }
.mk-ptype__opt.is-active { background: var(--surface); color: var(--brand); box-shadow: 0 3px 12px rgba(15,40,32,.12); }

/* Post success */
.mk-done { text-align: center; padding: 10px 0; }
.mk-done__icon {
  width: 68px; height: 82px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #16A34A, #15803D); box-shadow: 0 14px 34px rgba(22,163,74,.35);
}
.mk-done__icon svg { width: 30px; height: 30px; }
.mk-done h2 { font-family: var(--font-display); font-size: 22px; font-weight: 800; margin: 0 0 8px; }
.mk-done p { font-size: 13.5px; color: var(--muted); line-height: 1.6; max-width: 420px; margin: 0 auto 20px; }
.mk-done__link {
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
  border: 1px solid var(--line-2); background: var(--bg-2); border-radius: 14px; padding: 6px 6px 6px 16px;
}
.mk-done__link input {
  flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 0;
  font-size: 12px; color: var(--ink); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
}
.mk-done__link input:focus { outline: none; }
.mk-done__copy {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; justify-content: center;
  background: linear-gradient(135deg, #0F7B64, #0A5C4B); color: #fff; border: 0; border-radius: 10px;
  padding: 11px 18px; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: all .2s ease;
}
.mk-done__copy svg { width: 15px; height: 15px; }
.mk-done__copy:hover { filter: brightness(1.08); }
.mk-done__copy.copied { background: linear-gradient(135deg, #16A34A, #15803D); }
@media (max-width: 380px) {
  .mk-done__link { flex-wrap: wrap; padding: 8px; gap: 8px; }
  .mk-done__link input { flex: 1 1 100%; padding: 8px 4px; }
  .mk-done__copy { width: 100%; }
}
.mk-done__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Detail modal */
.mk-detail { width: min(720px, calc(100vw - 32px)); padding: 0; }
.mk-detail__gallery { position: relative; background: var(--bg-2); }
.mk-detail__gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.mk-detail__thumbs { display: flex; gap: 8px; padding: 10px 14px; overflow-x: auto; }
.mk-detail__thumbs img {
  width: 64px; height: 48px; aspect-ratio: auto; object-fit: cover; border-radius: 9px;
  border: 2px solid transparent; cursor: pointer; opacity: .7; flex-shrink: 0;
}
.mk-detail__thumbs img.is-active { border-color: var(--brand); opacity: 1; }
.mk-detail__body { padding: 20px 24px 26px; }
.mk-detail__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.mk-detail__title { font-family: var(--font-display); font-size: 22px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 8px; }
.mk-detail__price { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.mk-detail__price b { font-family: var(--font-display); font-size: 24px; font-weight: 800; }
.mk-detail__meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.mk-detail__meta span { display: inline-flex; align-items: center; gap: 5px; }
.mk-detail__desc { font-size: 14.5px; line-height: 1.65; color: var(--ink); margin: 0 0 20px; white-space: pre-line; }
.mk-detail__contact { display: flex; gap: 10px; flex-wrap: wrap; }
.mk-wa { flex: 1 1 200px; }

/* Manage bar */
.mk-manage { position: fixed; left: 0; right: 0; bottom: 0; z-index: 350; background: #0A3B2F; color: #fff; box-shadow: 0 -10px 30px rgba(0,0,0,.28); }
.mk-manage__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; flex-wrap: wrap; }
.mk-manage p { margin: 0; font-size: 13.5px; }
.mk-manage p b { color: #FFD977; }
.mk-manage__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mk-manage .btn--ghost { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }
.mk-manage .btn--ghost:hover { border-color: #FFD977; color: #FFD977; }

/* Marketplace responsive */
@media (max-width: 1020px) {
  .mk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-hero__inner { flex-direction: column; gap: 20px; text-align: center; }
  .mk-hero__copy .section__tag { margin: 0 auto; }
  .mk-hero__sub { margin-left: auto; margin-right: auto; }
  .mk-hero__actions { justify-content: center; }
  .mk-hero__art { width: 100%; max-width: 420px; flex-basis: auto; }
}
@media (max-width: 620px) {
  .mk-grid { grid-template-columns: minmax(0, 1fr); }
  .mk-hero { padding: 44px 0 52px; }
  .mk-hero__art { height: 280px; }
  .mk-hero__card { padding: 9px 11px; border-radius: 14px; }
  .mk-hero__card b { font-size: 11px; margin: 4px 0 1px; }
  .mk-hero__card i { font-size: 10px; }
  .mk-hero__emoji { font-size: 22px; }
  .mk-hero__card--1 { top: 40px; left: 2%; }
  .mk-hero__card--2 { top: 40px; right: 2%; }
  .mk-hero__card--3 { bottom: 18px; left: 2%; }
  .mk-hero__card--4 { bottom: 18px; right: 2%; }
  .mk-hero__tag { top: 4px; bottom: auto; right: auto; left: 50%; transform: translateX(-50%); font-size: 10px; padding: 5px 12px; white-space: nowrap; }
  .mk-post__grid { grid-template-columns: 1fr; }
  .mk-modal__panel { padding: 22px 18px; }
  .mk-toolbar__row { gap: 10px; }
}
@media (max-width: 380px) {
  .mk-post__head { padding: 20px 44px 18px 20px; }
  .mk-post__body { padding: 18px 18px 24px; }
  .mk-post__head-icon { width: 40px; height: 40px; }
  .mk-price-type__opt { flex-direction: column; gap: 3px; font-size: 11px; padding: 8px 4px; }
  .mk-price-type__opt svg { width: 18px; height: 18px; }
}

