/* „AI კურსი ქართულად“ (/kursi/). The page itself is generated (news-cms/lib/course.mjs); this file is static.
   It sits on /brandbook/brandbook.css (.bbp layout, hero, FAQ), /servisebi/servisebi.css (the wide spotlight cards, the
   folding „რას ისწავლი“, the hero menu) and sections.css (.tiers price cards, .chips, the purchase dialog).
   Only the site's colours: night, white, violet #b69cff / #4f2792. */

/* ---------- which tiers hold a part ---------- */
.krs-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; font-size: 14px; color: var(--ink-3); }
.krs-in .svc-chips li { font-size: 13px; padding: 5px 11px; }

/* ---------- the chapters inside a part ---------- */
.krs-ch { list-style: none; margin: 0; padding: 22px 0 6px; display: grid; gap: 20px; }
.krs-ch li { display: grid; grid-template-columns: 34px 1fr; padding-left: 0; }
.krs-ch li::before { content: none; }
.krs-n { font: 600 13px/1.9 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--violet-hi); }
.krs .krs-ch h3 { margin: 0; font: 600 17px/1.45 var(--ui-font); color: #fff; }
.krs .krs-ch p { margin: 4px 0 0; max-width: 46em; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.krs .krs-ch .krs-ch-in { margin-top: 6px; font-size: 13px; color: var(--violet-hi); }

/* ---------- prices: the home page's cards, then the comparison ---------- */
.krs-prices { scroll-margin-top: 80px; }
.krs-prices .tiers { margin-top: clamp(24px, 3vw, 40px); }
.krs .krs-t-h { margin: clamp(40px, 5vw, 64px) 0 16px; font: 600 clamp(20px, 2.2vw, 26px)/1.3 var(--ui-font); color: #fff; }
.krs-table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
.krs-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.krs-table th, .krs-table td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.krs-table thead th { font: 600 15px/1.3 var(--ui-font); color: #fff; }
.krs-table thead th span { display: block; margin-top: 4px; font-weight: 500; font-size: 14px; color: var(--violet-hi); }
.krs-table tbody th { text-align: left; font-weight: 400; color: var(--ink-2); padding-left: 0; }
.krs-table td { width: 16%; color: #fff; white-space: nowrap; }
.krs-table td:last-child, .krs-table th:last-child { background: rgba(79, 39, 146, .22); }   /* the full tier, as its card */
.krs-yes { color: var(--violet-hi); font-weight: 700; }
.krs-no { color: var(--ink-3); }

@media (max-width: 760px) {
  .krs-ch li { grid-template-columns: 28px 1fr; }
  .krs-table { font-size: 14px; }
  .krs-table th, .krs-table td { padding: 12px 6px; }
  .krs-table td { width: 18%; }
}
