/* ===========================================================
   Jordan Bet Answers — Q&A Community Theme (original design)
   =========================================================== */

:root {
  --paper: #ffffff;
  --paper-2: #f8fafc;
  --paper-3: #f1f5f9;
  --ink: #0f172a;
  --ink-2: #1e293b;
  --ink-3: #334155;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --border: #e2e8f0;
  --border-soft: #f1f5f9;

  --teal: #a8201a;
  --teal-dark: #861810;
  --teal-darker: #5c100a;
  --teal-light: #fde2e1;
  --teal-soft: #fef2f2;
  --accent-bright: #d63d33;

  --green: #16a34a;
  --green-light: #dcfce7;
  --red: #dc2626;
  --red-light: #fee2e2;
  --gold: #d4af37;
  --gold-bright: #ffd700;
  --gold-deep: #b8860b;
  --gold-soft: #fef3c7;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.05);
  --shadow-md: 0 4px 12px rgba(15,23,42,.08);
  --shadow-lg: 0 10px 30px rgba(15,23,42,.1);

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper-2);
  -webkit-font-smoothing: antialiased;
}
body.rtl { direction: rtl; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); text-decoration: underline; }

button { font-family: inherit; cursor: pointer; }

/* ============ HEADER ============ */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.3px;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; color: var(--ink); }
.brand-icon {
  width: 36px;
  height: 36px;
  background: var(--teal);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  position: relative;
}
.brand-icon::after {
  content: "";
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 14px;
  height: 14px;
  background: var(--gold-deep);
  border: 2px solid var(--paper);
  border-radius: 50%;
}
body.rtl .brand-icon::after { right: auto; left: -3px; }
.brand-text { line-height: 1.1; }
.brand-text .sub {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.search-form {
  flex: 1;
  max-width: 560px;
  position: relative;
}
.search-form input {
  width: 100%;
  padding: 9px 14px 9px 38px;
  font: 14px var(--font-sans);
  background: var(--paper-3);
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
}
.search-form input:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-light);
}
.search-form::before {
  content: "\f002";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  opacity: .55;
}
body.rtl .search-form input { padding: 9px 38px 9px 14px; }
body.rtl .search-form::before { left: auto; right: 14px; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.btn-ghost {
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.btn-ghost:hover { background: var(--paper-3); color: var(--ink); text-decoration: none; }
.btn-ask {
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #fff !important;
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 999px;
}
.btn-ask:hover { background: var(--teal-dark); text-decoration: none; color: #fff !important; }
.btn-lang {
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-3);
  background: var(--paper-3);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.btn-lang:hover { background: var(--ink); color: var(--gold-bright); border-color: var(--ink); text-decoration: none; }

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  background: var(--paper-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ============ CATEGORY BAR ============ */
.catbar {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.catbar::-webkit-scrollbar { display: none; }
.catbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  gap: 0;
  flex-wrap: nowrap;
}
.catbar a {
  display: inline-block;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.catbar a:hover { color: var(--teal-dark); text-decoration: none; }
.catbar a.active {
  color: var(--teal-dark);
  border-bottom-color: var(--teal);
  font-weight: 700;
}

/* ============ LAYOUT ============ */
.layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 16px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

/* ============ BREADCRUMB ============ */
.breadcrumb {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb .sep { margin: 0 6px; color: var(--muted-2); }
.breadcrumb [aria-current] { color: var(--ink-3); font-weight: 600; }

/* ============ QUESTION CARD ============ */
.question-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.question-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.tag {
  display: inline-block;
  padding: 4px 11px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--teal-soft);
  color: var(--teal-darker);
  border: 1px solid var(--teal-light);
  border-radius: 999px;
}
.tag:hover { background: var(--teal-light); text-decoration: none; }
.tag.featured {
  background: var(--gold-soft);
  color: #92400e;
  border-color: #fde68a;
}
.question-title {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: -.3px;
}
.question-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 16px;
}
.question-meta strong { color: var(--ink-3); }
.question-meta .verified {
  color: var(--green);
  font-weight: 600;
}
.question-body {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.question-body p { margin: 0 0 12px; }
.question-body p:last-child { margin-bottom: 0; }
.question-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}
.action-link {
  font-size: 12.5px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.action-link:hover { color: var(--teal); }

/* ============ ANSWERS HEADER ============ */
.answers-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 16px;
  padding: 0 4px;
}
.answers-head h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.answers-head h2 span {
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  margin-left: 6px;
}
body.rtl .answers-head h2 span { margin-left: 0; margin-right: 6px; }
.sort-select {
  font-size: 12.5px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink-3);
  cursor: pointer;
}

/* ============ ANSWER CARD ============ */
.answer {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  box-shadow: var(--shadow-sm);
}
.answer.accepted {
  border-color: var(--green);
  border-width: 2px;
  box-shadow: 0 0 0 3px var(--green-light);
  position: relative;
}
.answer.accepted::before {
  content: "✓ Accepted answer";
  position: absolute;
  top: -11px;
  left: 22px;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 999px;
  letter-spacing: .5px;
}
body.rtl .answer.accepted::before { left: auto; right: 22px; content: "✓ الإجابة المقبولة"; }

.vote-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.vote-btn {
  width: 36px;
  height: 36px;
  background: var(--paper-3);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
  transition: all .15s;
  text-decoration: none !important;
}
.vote-btn:hover {
  background: var(--teal-soft);
  border-color: var(--teal);
  color: var(--teal-dark);
}
.vote-btn.upvoted {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.vote-count {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.vote-label {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.answer-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
}
.answer-body p { margin: 0 0 12px; }
.answer-body p:last-of-type { margin-bottom: 14px; }
.answer-body strong { color: var(--ink); font-weight: 700; }
.answer-body ul, .answer-body ol { padding-left: 22px; margin: 8px 0 14px; }
body.rtl .answer-body ul, body.rtl .answer-body ol { padding-left: 0; padding-right: 22px; }
.answer-body li { margin-bottom: 5px; }

.answer-quote {
  background: var(--teal-soft);
  border-left: 4px solid var(--teal);
  padding: 12px 16px;
  margin: 12px 0;
  font-style: italic;
  color: var(--ink-2);
  border-radius: 0 6px 6px 0;
}
body.rtl .answer-quote { border-left: 0; border-right: 4px solid var(--teal); border-radius: 6px 0 0 6px; }

.inline-cta {
  display: inline-block;
  padding: 2px 10px;
  background: linear-gradient(180deg, #fef3c7, #fde68a);
  border: 1px solid var(--gold-deep);
  color: #1a1208 !important;
  font-weight: 700;
  font-size: 13.5px;
  border-radius: 4px;
  text-decoration: none !important;
  white-space: nowrap;
}
.inline-cta::after { content: " →"; }
.inline-cta:hover { background: linear-gradient(180deg, #fde68a, #fbbf24); }

/* Author card inside answer */
.author-card {
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}
.author-avatar.gold { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #1a1208; }
.author-avatar.violet { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.author-avatar.rose { background: linear-gradient(135deg, #f43f5e, #be123c); }
.author-avatar.sky { background: linear-gradient(135deg, #38bdf8, #0369a1); }
.author-avatar.amber { background: linear-gradient(135deg, #fbbf24, #d97706); }
.author-info { flex: 1; min-width: 0; }
.author-info .name {
  font-weight: 700;
  color: var(--ink);
}
.author-info .name .badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  background: var(--teal-soft);
  color: var(--teal-darker);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}
body.rtl .author-info .name .badge { margin-left: 0; margin-right: 6px; }
.author-info .meta {
  color: var(--muted);
  font-size: 11.5px;
  margin-top: 2px;
}
.author-info .meta strong { color: var(--ink-3); }

.answer-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}
.answer-actions a { color: var(--muted); }
.answer-actions a:hover { color: var(--teal); }
.answer-actions .helpful {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ============ INLINE CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(180deg, #fef9e7, #fef3c7);
  border: 1px solid var(--gold-deep);
  border-left: 4px solid var(--gold-deep);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 18px 0;
  display: flex;
  gap: 16px;
  align-items: center;
  position: relative;
}
body.rtl .cta-banner { border-left: 1px solid var(--gold-deep); border-right: 4px solid var(--gold-deep); }
.cta-banner-label {
  position: absolute;
  top: -10px;
  right: 14px;
  background: var(--gold-deep);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
body.rtl .cta-banner-label { right: auto; left: 14px; }
.cta-banner-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #fef3c7, var(--gold));
  border: 1px solid var(--gold-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.cta-banner-text { flex: 1; min-width: 0; }
.cta-banner-text strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 2px;
}
.cta-banner-text span {
  font-size: 12.5px;
  color: var(--ink-3);
}
.btn-primary {
  display: inline-block;
  padding: 10px 18px;
  background: linear-gradient(180deg, #ffd700 0%, #d4af37 60%, #b8860b 100%);
  border: 1px solid var(--gold-deep);
  color: #1a1208 !important;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: .5px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  white-space: nowrap;
  transition: all .15s;
}
.btn-primary:hover {
  background: linear-gradient(180deg, #fff3a0 0%, #ffd700 50%, #d4af37 100%);
  transform: translateY(-1px);
  text-decoration: none !important;
}
.btn-primary small {
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  opacity: .75;
  margin-top: 1px;
}

/* ============ RELATED QUESTIONS BLOCK (in-flow) ============ */
.related-block {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin-top: 22px;
}
.related-block h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--ink);
}
.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.related-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.related-list li:last-child { border-bottom: 0; }
.related-list .votes-mini {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  flex-shrink: 0;
  min-width: 56px;
}
.related-list .votes-mini strong {
  display: block;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 800;
}
.related-list .q-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.4;
}
.related-list .q-title:hover { color: var(--teal); text-decoration: none; }
.related-list .q-meta {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 3px;
}

/* ============ SIDEBAR ============ */
.sidebar { display: flex; flex-direction: column; gap: 18px; }

.widget {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.widget-head {
  padding: 12px 16px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.widget-body { padding: 14px 18px; }

.widget.sponsored {
  border-color: var(--gold-deep);
}
.widget.sponsored .widget-head {
  background: linear-gradient(180deg, #fef9e7, #fef3c7);
  color: #92400e;
  border-bottom-color: var(--gold-deep);
}
.widget.sponsored .widget-body {
  background: linear-gradient(180deg, #fefce8, #ffffff);
  text-align: center;
}
.sponsored-brand {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.5px;
  margin: 6px 0 4px;
}
.sponsored-brand em { color: var(--gold-deep); font-style: italic; }
.sponsored-stars {
  color: var(--gold-deep);
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 4px;
}
.sponsored-rating {
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 10px;
}
.sponsored-rating strong { color: var(--ink); }
.sponsored-offer {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.45;
  margin: 0 0 12px;
}
.sponsored-offer strong { color: var(--gold-deep); }
.btn-block {
  display: block;
  width: 100%;
  padding: 11px 14px;
  background: linear-gradient(180deg, #ffd700 0%, #d4af37 60%, #b8860b 100%);
  border: 1px solid var(--gold-deep);
  color: #1a1208 !important;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .8px;
  text-transform: uppercase;
  text-align: center;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  transition: all .15s;
}
.btn-block:hover {
  background: linear-gradient(180deg, #fff3a0 0%, #ffd700 50%, #d4af37 100%);
  transform: translateY(-1px);
  text-decoration: none !important;
}
.btn-block small {
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  opacity: .75;
  margin-top: 2px;
  letter-spacing: .3px;
}
.sponsored-fine {
  display: block;
  margin-top: 10px;
  font-size: 10px;
  color: var(--muted);
  font-style: italic;
}

/* Related Q sidebar */
.qmini {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.4;
}
.qmini:last-child { border-bottom: 0; }
.qmini:hover { color: var(--teal); text-decoration: none; }
.qmini .qmini-meta {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}

/* Tags cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag-cloud .tag {
  font-size: 11.5px;
}

/* Top users widget */
.user-list { list-style: none; padding: 0; margin: 0; }
.user-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-soft);
}
.user-list li:last-child { border-bottom: 0; }
.user-list .author-avatar { width: 32px; height: 32px; font-size: 13px; }
.user-list .name { font-weight: 700; font-size: 13px; color: var(--ink); flex: 1; }
.user-list .rep {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--teal-dark);
  font-variant-numeric: tabular-nums;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--ink);
  color: #cbd5e1;
  padding: 36px 0 14px;
  margin-top: 36px;
  font-size: 13px;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #334155;
}
.footer-grid h4 {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-bright);
  margin: 0 0 10px;
  font-weight: 700;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 5px; }
.footer-grid a { color: #cbd5e1; }
.footer-grid a:hover { color: #fff; }
.footer-brand-block .ft-brand {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.3px;
  margin-bottom: 4px;
}
.footer-brand-block .ft-brand em { color: var(--gold-bright); font-style: italic; }
.footer-brand-block p { margin: 8px 0; color: #94a3b8; font-size: 12.5px; line-height: 1.6; }
.footer-awareness {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-bottom: 1px solid #334155;
}
.footer-awareness img {
  max-height: 26px;
  filter: brightness(0) invert(.55);
  transition: filter .15s;
}
.footer-awareness img:hover { filter: brightness(0) invert(.95); }
.footer-bottom {
  text-align: center;
  padding-top: 14px;
  font-size: 11.5px;
  color: #94a3b8;
  font-style: italic;
}

/* ============ STICKY CTA ============ */
.sticky-cta {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 80;
  background: linear-gradient(180deg, #ffd700 0%, #d4af37 60%, #b8860b 100%);
  color: #1a1208 !important;
  padding: 11px 18px;
  border: 1px solid var(--gold-deep);
  border-radius: 999px;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: .5px;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(184,134,11,.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  transition: transform .2s;
}
.sticky-cta::before { content: "\f005"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: #7c2d12; }
.sticky-cta:hover { transform: translateY(-2px); }
body.rtl .sticky-cta { right: auto; left: 16px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .search-form { display: none; }
  .header-actions .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { padding: 10px 12px; gap: 8px; }
  .brand-text .sub { display: none; }
  .brand { font-size: 16px; }
  .question-card { padding: 18px 16px; }
  .question-title { font-size: 20px; }
  .answer {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .vote-col {
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
  }
  .answer.accepted::before { left: 16px; }
  body.rtl .answer.accepted::before { left: auto; right: 16px; }
  .cta-banner { flex-wrap: wrap; padding: 14px 16px; }
  .cta-banner-text { flex: 1 1 100%; }
  .cta-banner .btn-primary { width: 100%; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .layout { padding: 14px 10px; }
  .related-block { padding: 16px; }
}
@media (max-width: 480px) {
  .sticky-cta { font-size: 11px; padding: 9px 14px; }
}
