/* ============================================================
   RianKeng Design System  ·  riankeng.css
   Direction: Modern edtech (clean) — light surfaces, soft
   elevation, refined buttons, gentle motion.
   Single source of truth for all RianKeng pages.
   See DESIGN_SYSTEM.md for usage rules.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@400;500;600;700&display=swap');

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand greens */
  --rk-green-900: #123f2b;
  --rk-green-800: #17613f;
  --rk-green-700: #1c7c50;
  --rk-green-600: #2a9266;
  --rk-green-100: #e7f3ec;
  --rk-green-50:  #f1f8f4;

  /* Surfaces & ink */
  --rk-bg:    #eef2ef;   /* page background — calm, light */
  --rk-paper: #ffffff;   /* section panels */
  --rk-white: #ffffff;
  --rk-ink:   #122b22;
  --rk-muted: #5a6b63;
  --rk-line:  #e2eae5;   /* hairline, used sparingly */

  /* Accents */
  --rk-yellow: #f5cf3d;
  --rk-yellow-dark: #d9b21f;
  --rk-blue: #3b82c4;
  --rk-red: #d35546;

  /* Status colors */
  --rk-status-live-bg: #e3f4ea;   --rk-status-live-ink: #136c44;
  --rk-status-proto-bg: #fdf2cf;  --rk-status-proto-ink: #8a6d12;
  --rk-status-next-bg: #e8eef8;   --rk-status-next-ink: #2f5aa6;
  --rk-status-future-bg: #eef1ef; --rk-status-future-ink: #7c8a83;

  /* Typography */
  --rk-font: "IBM Plex Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rk-fs-hero: clamp(2rem, 5vw, 3.5rem);
  --rk-fs-h1: clamp(1.6rem, 3.5vw, 2.5rem);
  --rk-fs-h2: clamp(1.35rem, 2.6vw, 1.9rem);
  --rk-fs-h3: 1.2rem;
  --rk-fs-body: 1rem;
  --rk-fs-small: 0.875rem;
  --rk-lh: 1.7;

  /* Spacing scale */
  --rk-sp-1: 4px;
  --rk-sp-2: 8px;
  --rk-sp-3: 12px;
  --rk-sp-4: 16px;
  --rk-sp-5: 24px;
  --rk-sp-6: 36px;
  --rk-sp-7: 56px;

  /* Shape */
  --rk-radius: 16px;
  --rk-radius-sm: 10px;
  --rk-radius-pill: 999px;

  /* Elevation — soft, layered, modern */
  --rk-shadow-sm: 0 1px 2px rgba(12, 43, 30, 0.05), 0 1px 3px rgba(12, 43, 30, 0.08);
  --rk-shadow-md: 0 2px 6px rgba(12, 43, 30, 0.06), 0 8px 24px rgba(12, 43, 30, 0.08);
  --rk-shadow-lg: 0 10px 40px rgba(12, 43, 30, 0.12);
  --rk-shadow: var(--rk-shadow-md);  /* back-compat alias */

  /* Motion */
  --rk-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --rk-dur: 0.18s;

  /* Layout */
  --rk-page-max: 1120px;
}

/* ============================================================
   2. BASE ELEMENTS
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--rk-font);
  color: var(--rk-ink);
  line-height: var(--rk-lh);
  background: var(--rk-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -0.01em; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto; }
}

/* ============================================================
   3. PAGE LAYOUT
   ============================================================ */
.rk-page {
  width: min(var(--rk-page-max), calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 var(--rk-sp-7);
}

.rk-section {
  margin-top: var(--rk-sp-5);
  padding: clamp(22px, 3.5vw, 40px);
  border-radius: var(--rk-radius);
  background: var(--rk-paper);
  box-shadow: var(--rk-shadow-sm);
}

.rk-eyebrow {
  margin: 0 0 var(--rk-sp-2);
  color: var(--rk-green-700);
  font-weight: 600;
  font-size: var(--rk-fs-small);
  letter-spacing: 0.02em;
}

/* ============================================================
   4. TOPBAR + BRAND + NAV  (the unified header)
   ============================================================ */
.rk-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 -20px var(--rk-sp-2);
  padding: 14px 20px;
  background: var(--rk-green-700);
  box-shadow: 0 2px 12px rgba(12, 43, 30, 0.12);
}

.rk-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--rk-white);
  text-decoration: none;
}

.rk-brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 11px;
  background: var(--rk-yellow);
  color: var(--rk-green-900);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.rk-brand strong { display: block; font-size: 0.98rem; line-height: 1.15; font-weight: 600; }
.rk-brand span   { display: block; color: #cfe9da; font-size: 0.8rem; line-height: 1.2; }

.rk-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.rk-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--rk-radius-pill);
  color: #e9f6ef;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  transition: background var(--rk-dur) var(--rk-ease), color var(--rk-dur) var(--rk-ease);
}

.rk-nav a:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

.rk-nav a[aria-current="page"] {
  background: var(--rk-yellow);
  color: var(--rk-green-900);
  font-weight: 600;
}

/* ============================================================
   5. LESSON HEADER  (Thai-first title rule)
   ============================================================ */
.rk-lesson-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: var(--rk-sp-5);
  padding: clamp(22px, 3.5vw, 36px);
  border-radius: var(--rk-radius);
  background: var(--rk-paper);
  box-shadow: var(--rk-shadow-sm);
}

.rk-lesson-titles { min-width: 0; }

.rk-lesson-platform {
  margin: 0 0 6px;
  color: var(--rk-green-700);
  font-weight: 600;
  font-size: var(--rk-fs-small);
}

.rk-lesson-title {            /* THAI — the large line */
  margin: 0;
  font-size: var(--rk-fs-h1);
  color: var(--rk-ink);
}

.rk-lesson-subtitle {          /* ENGLISH — the small line */
  margin: 6px 0 0;
  color: var(--rk-muted);
  font-weight: 500;
  font-size: 1.05rem;
}

/* ============================================================
   6. CARD
   ============================================================ */
.rk-card {
  padding: clamp(18px, 2.5vw, 26px);
  border-radius: var(--rk-radius);
  background: var(--rk-white);
  box-shadow: var(--rk-shadow-sm);
}

.rk-card + .rk-card { margin-top: var(--rk-sp-4); }

/* Interactive card (clickable) — lifts on hover */
.rk-card.is-link,
a.rk-card {
  text-decoration: none;
  color: inherit;
  transition: transform var(--rk-dur) var(--rk-ease), box-shadow var(--rk-dur) var(--rk-ease);
}
.rk-card.is-link:hover,
a.rk-card:hover { transform: translateY(-2px); box-shadow: var(--rk-shadow-md); }

.rk-step {
  display: inline-block;
  margin-bottom: var(--rk-sp-2);
  color: var(--rk-green-700);
  font-weight: 600;
  font-size: var(--rk-fs-small);
}

/* ============================================================
   7. BUTTONS  (flat-but-elevated, smooth hover)
   ============================================================ */
.rk-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--rk-sp-2);
  padding: 11px 20px;
  border: none;
  border-radius: var(--rk-radius-sm);
  background: var(--rk-yellow);
  color: var(--rk-green-900);
  font-weight: 600;
  font-family: var(--rk-font);
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--rk-shadow-sm);
  transition: transform var(--rk-dur) var(--rk-ease), box-shadow var(--rk-dur) var(--rk-ease), background var(--rk-dur) var(--rk-ease);
}

.rk-btn:hover { transform: translateY(-1px); box-shadow: var(--rk-shadow-md); background: #f7d756; }
.rk-btn:active { transform: translateY(0); box-shadow: var(--rk-shadow-sm); }

.rk-btn.secondary {
  background: var(--rk-white);
  color: var(--rk-green-800);
  box-shadow: inset 0 0 0 1.5px var(--rk-line), var(--rk-shadow-sm);
}
.rk-btn.secondary:hover { background: var(--rk-green-50); }

.rk-btn:focus-visible { outline: 3px solid var(--rk-blue); outline-offset: 2px; }

/* ============================================================
   8. BADGES / STATUS PILLS
   ============================================================ */
.rk-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 11px;
  border-radius: var(--rk-radius-pill);
  font-weight: 600;
  font-size: 0.78rem;
  white-space: nowrap;
}

.rk-badge.live   { background: var(--rk-status-live-bg);   color: var(--rk-status-live-ink); }
.rk-badge.proto  { background: var(--rk-status-proto-bg);  color: var(--rk-status-proto-ink); }
.rk-badge.next   { background: var(--rk-status-next-bg);   color: var(--rk-status-next-ink); }
.rk-badge.future { background: var(--rk-status-future-bg); color: var(--rk-status-future-ink); }

.rk-lesson-badge {
  padding: 10px 16px;
  border-radius: var(--rk-radius-sm);
  background: var(--rk-green-50);
  color: var(--rk-green-800);
  font-weight: 600;
  font-size: var(--rk-fs-small);
  text-align: center;
  flex-shrink: 0;
}

/* ============================================================
   9. FORMULA PANEL  (the RianKeng signature)
   ============================================================ */
.rk-formula-panel {
  margin-top: var(--rk-sp-3);
  padding: var(--rk-sp-4);
  border-radius: var(--rk-radius-sm);
  background: var(--rk-green-50);
  font-weight: 600;
}

.rk-formula-panel .rk-live {
  color: var(--rk-red);
  font-weight: 700;
}

.rk-formula-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rk-sp-2);
  margin-top: var(--rk-sp-2);
  color: var(--rk-muted);
  font-size: var(--rk-fs-small);
}

.rk-note {
  margin-top: var(--rk-sp-2);
  color: var(--rk-muted);
  font-size: var(--rk-fs-small);
}

/* ============================================================
   10. PILL ROW (concept tags)
   ============================================================ */
.rk-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rk-sp-2);
  margin-top: var(--rk-sp-2);
}

.rk-pill {
  padding: 5px 12px;
  border-radius: var(--rk-radius-pill);
  background: var(--rk-green-100);
  color: var(--rk-green-800);
  font-size: 0.82rem;
  font-weight: 500;
}

/* ============================================================
   11. CURRICULUM + CODING LAB COMPONENTS
   ============================================================ */
.rk-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rk-sp-2);
  margin-top: var(--rk-sp-4);
  color: var(--rk-muted);
  font-size: var(--rk-fs-small);
}

.rk-breadcrumb a {
  color: var(--rk-green-800);
  font-weight: 600;
  text-decoration: none;
}

.rk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--rk-sp-4);
}

.rk-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rk-learning-frame {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--rk-sp-4);
  margin-top: var(--rk-sp-4);
}

.rk-frame-card {
  padding: var(--rk-sp-4);
  border: 1px solid var(--rk-line);
  border-radius: var(--rk-radius);
  background: var(--rk-white);
  box-shadow: var(--rk-shadow-sm);
}

.rk-frame-card h3 {
  margin: 0 0 var(--rk-sp-2);
  color: var(--rk-green-900);
  font-size: var(--rk-fs-body);
}

.rk-frame-card p {
  margin: 0;
  color: var(--rk-muted);
}

.rk-list {
  display: grid;
  gap: var(--rk-sp-3);
  margin: var(--rk-sp-4) 0 0;
  padding: 0;
  list-style: none;
}

.rk-list-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--rk-sp-3);
  align-items: center;
  padding: var(--rk-sp-4);
  border: 1px solid var(--rk-line);
  border-radius: var(--rk-radius);
  background: var(--rk-white);
}

.rk-list-num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rk-green-100);
  color: var(--rk-green-900);
  font-weight: 700;
}

.rk-lesson-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rk-sp-3);
  justify-content: space-between;
  margin-top: var(--rk-sp-5);
}

.rk-code-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: var(--rk-sp-4);
  align-items: start;
}

.rk-code-panel {
  overflow: hidden;
  border: 1px solid var(--rk-line);
  border-radius: var(--rk-radius);
  background: #10251e;
  color: #e8fff2;
  box-shadow: var(--rk-shadow-sm);
}

.rk-code-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--rk-sp-3);
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #bfe8d0;
  font-size: var(--rk-fs-small);
  font-weight: 600;
}

.rk-code-panel pre {
  margin: 0;
  padding: var(--rk-sp-4);
  overflow-x: auto;
  font-family: Consolas, "Cascadia Code", monospace;
  font-size: 0.95rem;
  line-height: 1.65;
  white-space: pre;
}

.rk-code-output {
  margin-top: var(--rk-sp-3);
  padding: var(--rk-sp-4);
  border-radius: var(--rk-radius);
  background: var(--rk-green-50);
}

.rk-memory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--rk-sp-3);
  margin-top: var(--rk-sp-4);
}

.rk-memory-cell {
  min-height: 88px;
  padding: var(--rk-sp-3);
  border: 1px solid var(--rk-line);
  border-radius: var(--rk-radius);
  background: var(--rk-white);
}

.rk-memory-cell span {
  display: block;
  color: var(--rk-muted);
  font-size: var(--rk-fs-small);
  font-weight: 600;
}

.rk-memory-cell strong {
  display: block;
  margin-top: var(--rk-sp-2);
  color: var(--rk-red);
  font-size: 1.55rem;
}

.rk-control-stack {
  display: grid;
  gap: var(--rk-sp-4);
}

.rk-control {
  display: grid;
  gap: var(--rk-sp-2);
}

.rk-control label {
  display: flex;
  justify-content: space-between;
  gap: var(--rk-sp-3);
  color: var(--rk-green-900);
  font-weight: 600;
}

.rk-control strong {
  color: var(--rk-red);
}

.rk-control input[type="range"] {
  width: 100%;
  accent-color: var(--rk-green-700);
}

.rk-quiz-list {
  display: grid;
  gap: var(--rk-sp-4);
  margin-top: var(--rk-sp-4);
}

.rk-question {
  padding: var(--rk-sp-4);
  border: 1px solid var(--rk-line);
  border-radius: var(--rk-radius);
  background: var(--rk-white);
}

.rk-question h3 {
  margin: 0 0 var(--rk-sp-2);
  font-size: var(--rk-fs-body);
}

.rk-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--rk-sp-2);
  margin-top: var(--rk-sp-3);
}

.rk-choice {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--rk-line);
  border-radius: var(--rk-radius-sm);
  background: var(--rk-white);
  color: var(--rk-ink);
  font-family: var(--rk-font);
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.rk-choice.correct {
  border-color: var(--rk-green-700);
  background: var(--rk-green-100);
}

.rk-choice.wrong {
  border-color: var(--rk-red);
  background: #fff1ee;
}

.rk-feedback {
  min-height: 1.5em;
  margin: var(--rk-sp-3) 0 0;
  color: var(--rk-muted);
  font-size: var(--rk-fs-small);
}

/* ============================================================
   12. FOOTER
   ============================================================ */
.rk-footer {
  margin-top: var(--rk-sp-5);
  padding: 28px;
  border-radius: var(--rk-radius);
  background: var(--rk-green-900);
  color: #dff0e7;
}

.rk-footer p { margin: 0; }
.rk-footer strong { color: #fff; }

/* ============================================================
   ACCORDION — overview-first progressive disclosure
   Use <details class="rk-accordion"> for any list with many items.
   See DESIGN_SYSTEM.md "Overview first".
   ============================================================ */
.rk-accordion {
  margin-top: var(--rk-sp-3);
  border-radius: var(--rk-radius);
  background: var(--rk-white);
  box-shadow: var(--rk-shadow-sm);
  overflow: hidden;
}
.rk-accordion > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  transition: background var(--rk-dur) var(--rk-ease);
}
.rk-accordion > summary::-webkit-details-marker { display: none; }
.rk-accordion > summary:hover { background: var(--rk-green-50); }
.rk-accordion > summary:focus-visible { outline: 3px solid var(--rk-blue); outline-offset: -3px; }
.rk-acc-title { font-size: 1.05rem; font-weight: 700; color: var(--rk-green-900); }
.rk-acc-sub { color: var(--rk-muted); font-weight: 500; font-size: 0.85rem; }
.rk-acc-meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--rk-muted);
  font-weight: 500;
  font-size: 0.85rem;
}
.rk-acc-chevron {
  width: 9px;
  height: 9px;
  border-right: 2.5px solid var(--rk-green-700);
  border-bottom: 2.5px solid var(--rk-green-700);
  transform: rotate(45deg);
  transition: transform var(--rk-dur) var(--rk-ease);
  flex-shrink: 0;
}
.rk-accordion[open] > summary .rk-acc-chevron { transform: rotate(-135deg); }
.rk-acc-body { padding: 2px 18px 18px; }
@media (max-width: 560px) { .rk-acc-sub { display: none; } }

/* ============================================================
   SUBJECT CARD GRID — compact overview of subjects/tracks
   Used by the hub (/labs/) and level landings.
   Set the accent per card with style="--c:#hex".
   ============================================================ */
.rk-subject-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: var(--rk-sp-4);
}
.rk-subject-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 18px;
  border-radius: var(--rk-radius);
  border-top: 4px solid var(--c, var(--rk-green-700));
  background: var(--rk-white);
  box-shadow: var(--rk-shadow-sm);
  transition: transform var(--rk-dur) var(--rk-ease), box-shadow var(--rk-dur) var(--rk-ease);
}
.rk-subject-card:hover { transform: translateY(-2px); box-shadow: var(--rk-shadow-md); }
.rk-subj-dot {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--c, var(--rk-green-700)); color: #fff;
  font-weight: 700; margin-bottom: 10px;
}
.rk-subject-card h3 { margin: 0; font-size: 1.05rem; }
.rk-subj-sub { margin: 3px 0 12px; color: var(--rk-muted); font-size: 0.86rem; }
.rk-subject-card.is-soon { opacity: 0.72; }

/* ============================================================
   LESSON LIST — ordered lessons inside a subject page
   ============================================================ */
.rk-topic-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 14px;
  margin-top: var(--rk-sp-4);
}
.rk-topic-row {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "num body" "btn btn";
  align-items: start;
  gap: 6px 12px;
  padding: 18px;
  border-radius: var(--rk-radius);
  background: var(--rk-green-50);
  box-shadow: var(--rk-shadow-sm);
}
.rk-topic-row.is-future { opacity: 0.62; }
.rk-topic-num {
  grid-area: num;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--rk-green-100); color: var(--rk-green-900);
  font-weight: 700; font-size: var(--rk-fs-small); flex-shrink: 0;
}
.rk-topic-row.is-live .rk-topic-num  { background: var(--rk-green-700); color: #fff; }
.rk-topic-row.is-proto .rk-topic-num { background: var(--rk-status-proto-ink); color: #fff; }
.rk-topic-body { grid-area: body; min-width: 0; }
.rk-topic-title { margin: 0 0 4px; font-size: 1.05rem; font-weight: 700; line-height: 1.25; }
.rk-topic-title a { text-decoration: none; }
.rk-topic-title a:hover { text-decoration: underline; }
.rk-topic-desc { margin: 0; font-size: 0.9rem; color: var(--rk-muted); }
.rk-topic-formula { margin: 6px 0 0; font-size: var(--rk-fs-small); font-weight: 600; color: var(--rk-green-800); }
.rk-go {
  grid-area: btn;
  justify-self: start;
  margin-top: 10px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 16px;
  border-radius: var(--rk-radius-sm);
  background: var(--rk-yellow); color: var(--rk-green-900);
  font-weight: 600; font-size: 0.86rem; text-decoration: none;
  box-shadow: var(--rk-shadow-sm); white-space: nowrap;
  transition: transform var(--rk-dur) var(--rk-ease), box-shadow var(--rk-dur) var(--rk-ease);
}
.rk-go:hover { transform: translateY(-1px); box-shadow: var(--rk-shadow-md); }
.rk-topic-row > .rk-badge { grid-area: btn; justify-self: start; margin-top: 10px; }

/* ============================================================
   13. RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .rk-topbar {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }
  .rk-nav { justify-content: flex-start; }
  .rk-lesson-head { flex-direction: column; }
  .rk-grid,
  .rk-grid.three,
  .rk-learning-frame,
  .rk-code-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .rk-page { width: min(100% - 24px, var(--rk-page-max)); }
  .rk-topbar {
    margin-left: 0;
    margin-right: 0;
  }
  .rk-section { padding: 20px; }
  .rk-nav a, .rk-btn { width: 100%; }
  .rk-list-row,
  .rk-memory-grid,
  .rk-choices {
    grid-template-columns: 1fr;
  }
}
