/* صفحات المقارنة (1 نوفمبر): فوق guides.css. جدول المقارنة يمرر أفقيا داخل إطاره على الجوال، والصفحة نفسها لا تمرر. */
main.compare.hub { max-width: 980px; }
.compare .cmp-wrap { overflow-x: auto; margin: 8px 0 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel-solid); -webkit-overflow-scrolling: touch; }
.compare .cmp-wrap:focus-visible { outline: 2px solid rgba(255, 200, 87, .6); outline-offset: 2px; }
.compare .cmp { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.compare .cmp caption { caption-side: top; text-align: start; padding: 14px 16px 4px; color: var(--muted); font-size: 13.5px; }
.compare .cmp th, .compare .cmp td { text-align: start; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare .cmp tbody tr:last-child th, .compare .cmp tbody tr:last-child td { border-bottom: 0; }
.compare .cmp thead th { color: #f1f2f4; font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.compare .cmp tbody th { color: #c9ccd2; font-weight: 600; min-width: 140px; }
.compare .cmp td { color: #d7dae0; min-width: 150px; }
.compare .cmp .us { background: rgba(255, 200, 87, .06); }
.compare .cmp thead .us { color: #ffd98a; }
.compare .cmp .yes { color: #6ee7b7; font-weight: 600; }
.compare .cmp .no { color: #fca5a5; font-weight: 600; }
.compare .cmp .part { color: #fcd34d; font-weight: 600; }

/* المصادر في الأسفل */
.compare .sources { margin-top: 34px; }
.compare .sources h2 { font-size: 20px; margin: 0 0 8px; }
.compare .sources p { font-size: 14.5px; color: var(--muted); }
.compare .sources li { font-size: 14.5px; }

/* فهرس المقارنات تحت الجدول */
.compare.hub .g-list { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.compare.hub .g-list a { display: block; padding: 20px 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel-solid); text-decoration: none; transition: border-color .2s; }
.compare.hub .g-list a:hover, .compare.hub .g-list a:focus-visible { border-color: rgba(255, 200, 87, .45); }
.compare.hub .g-list h2 { margin: 0 0 6px; font-size: 19px; line-height: 1.35; color: #f1f2f4; }
.compare.hub .g-list p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.compare.hub h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.15; margin: 10px 0 14px; }
[dir="rtl"] .compare.hub h1 { line-height: 1.35; }

@media (max-width: 640px) {
  .compare .cmp { font-size: 14px; }
  .compare .cmp th, .compare .cmp td { padding: 10px 11px; }
  .compare .cmp tbody th { min-width: 110px; }
  .compare .cmp td { min-width: 120px; }
}
@media (prefers-reduced-motion: reduce) { .compare.hub .g-list a { transition: none; } }
