/* Study hub layout, shared by the course page and the practice page
   (<body class="gx-hub">). Those pages load only this sheet, their own small
   additions and the shared baseline. */

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.gx-hub {
  --cr-blue: #1257e0;
  --cr-navy: #0b2a6f;
  --cr-ink: #101c3a;
  --cr-text: #44536f;
  --cr-muted: #6a7a99;
  --cr-line: #e3eaf7;
  --cr-gold: #f5a623;
  --cr-shadow: 0 8px 22px rgba(28, 57, 108, .07);
  margin: 0;
  background: linear-gradient(180deg, #eef4ff 0%, #f6f9ff 46%, #eef3fc 100%) fixed;
  color: var(--cr-ink);
  font-family: Inter, Arial, sans-serif;
}

.gx-hub *,
.gx-hub *::before,
.gx-hub *::after { box-sizing: border-box; }

.gx-hub :is(h1, h2, h3, p, ul) { margin: 0; padding: 0; }
.gx-hub ul { list-style: none; }
.gx-hub [hidden] { display: none !important; }
.gx-hub :is(a, button, input):focus-visible { outline: 2px solid var(--cr-blue); outline-offset: 2px; }

.cr-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  width: min(100% - 48px, 1240px);
  margin: 0 auto;
  padding: 22px 0 40px;
}

/* ------------------------------------------------------------------ */
/* Banner                                                              */
/* ------------------------------------------------------------------ */
.cr-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 12px;
  min-height: 380px;
  border: 1px solid #dbe6fb;
  border-radius: 24px;
  background: linear-gradient(105deg, #f7faff 0%, #eef4ff 44%, #ffffff 62%, #ffffff 100%);
  box-shadow: var(--cr-shadow);
  overflow: hidden;
}

.cr-hero__copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 34px 0 34px clamp(22px, 4vw, 52px); }

.cr-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 9px;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  background: #e3edff;
  color: var(--cr-blue);
  font: 800 12.5px/1 Inter, Arial, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cr-badge lucide-icon { width: 18px; height: 18px; }

.gx-hub h1 {
  margin-top: 18px;
  color: #0a1230;
  font: 800 clamp(40px, 6vw, 72px)/1 Inter, Arial, sans-serif;
  letter-spacing: -.03em;
}

.gx-hub h1 span {
  position: relative;
  display: inline-block;
  color: var(--cr-blue);
}

/* gold underline swoosh under "Paths" */
.gx-hub h1 span::after {
  content: "";
  position: absolute;
  right: 6%;
  bottom: -.1em;
  width: 42%;
  height: .09em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(245, 166, 35, .2), var(--cr-gold));
  transform: rotate(-2deg);
}

.cr-hero__copy > p { max-width: 46ch; margin-top: 22px !important; color: var(--cr-text); font: 400 16px/1.55 Inter, Arial, sans-serif; }
.cr-perks { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 24px !important; }
.cr-perks li { display: flex; align-items: center; gap: 12px; color: var(--cr-ink); font: 600 14px/1.35 Inter, Arial, sans-serif; }
.cr-perks lucide-icon { width: 36px; height: 36px; color: var(--cr-blue); }
.cr-perks li.is-gold lucide-icon { color: var(--cr-gold); }

/* Books, mascot and board sit in three columns of their own, so none of
   them can cover another at any width. */
.cr-hero__art {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 0 14px;
  min-width: 0;
  min-height: 320px;
}

.cr-spark { position: absolute; top: 12%; left: 8%; width: 30px; height: 30px; color: var(--cr-gold); }
.cr-mascot { align-self: end; width: clamp(190px, 21vw, 280px); }
.cr-mascot img { display: block; width: 100%; height: auto; }

/* stack of labelled books */
.cr-books {
  display: grid;
  justify-self: end;
  gap: 4px;
  width: 100%;
  max-width: 176px;
  margin-bottom: 44px;
}

.cr-books span {
  display: grid;
  place-items: center;
  min-height: 30px;
  border-radius: 5px 9px 9px 5px;
  border-left: 7px solid var(--cr-gold);
  background: linear-gradient(180deg, #17389b, #0b2a6f);
  box-shadow: inset 0 -3px 0 rgba(255, 255, 255, .5), 0 4px 8px rgba(11, 42, 111, .2);
  color: #ffd45c;
  font: 800 13px/1 Inter, Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cr-books span:nth-child(odd) { margin-right: 8%; }
.cr-books span:nth-child(even) { margin-left: 6%; }

/* chalkboard */
.cr-board {
  position: relative;
  align-self: stretch;
  justify-self: end;
  width: 100%;
  max-width: 200px;
  margin-bottom: 96px;
  padding: 62px 6px 0 14%;
  border-radius: 0 0 0 20px;
  background: linear-gradient(160deg, #0d2f7d, #071d57);
  box-shadow: -8px 10px 24px rgba(11, 42, 111, .2);
  color: #fff;
}

.cr-board lucide-icon { position: absolute; top: 18px; right: 12%; width: 30px; height: 30px; color: #ffd45c; }
.gx-hub .cr-board p { color: #fff; font: 700 clamp(17px, 1.8vw, 24px)/1.12 Caveat, "Segoe Script", cursive; transform: rotate(-8deg); }

.cr-note {
  position: absolute;
  right: 8%;
  bottom: 6%;
  padding: 6px 9px;
  background: #ffe27a;
  box-shadow: 0 6px 12px rgba(0, 0, 0, .25);
  color: #4a3200;
  font: 700 13px/1.15 Caveat, "Segoe Script", cursive;
  text-align: center;
  transform: rotate(6deg);
}

/* ------------------------------------------------------------------ */
/* Search                                                              */
/* ------------------------------------------------------------------ */
.cr-search {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 16px clamp(14px, 2.6vw, 30px);
  border: 1px solid #cfdcf5;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--cr-shadow);
}

.cr-search__form { position: relative; display: flex; align-items: center; gap: 14px; }
.cr-search__icon { position: absolute; left: 22px; z-index: 1; width: 22px; height: 22px; color: var(--cr-blue); pointer-events: none; }

.gx-hub .cr-search__form input {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  min-height: 54px;
  padding: 0 18px 0 60px;
  border: 1px solid var(--cr-line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(28, 57, 108, .06);
  color: var(--cr-ink);
  font: 500 15px/1.2 Inter, Arial, sans-serif;
}

.gx-hub .cr-search__form input:focus { border-color: var(--cr-blue); outline: 0; box-shadow: 0 0 0 3px rgba(18, 87, 224, .14); }
.gx-hub .cr-search__form input::placeholder { color: #8795b1; }
.gx-hub .cr-search__form input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }

.gx-hub .cr-search__btn {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #1c6bff, #0f52e0);
  box-shadow: 0 10px 20px rgba(18, 87, 224, .26);
  color: #fff;
  font: 700 15px/1 Inter, Arial, sans-serif;
  cursor: pointer;
}

.gx-hub .cr-search__btn:hover { background: linear-gradient(180deg, #1560ee, #0b47c9); }
.cr-search__btn lucide-icon { width: 19px; height: 19px; }

.cr-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  padding: 6px;
  border: 1px solid #dce5f6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(28, 57, 108, .16);
}

.cr-suggestions a { padding: 11px 14px; border-radius: 9px; color: var(--cr-ink); font: 600 14px/1.3 Inter, Arial, sans-serif; text-decoration: none; }
.cr-suggestions a:hover,
.cr-suggestions a:focus-visible { background: #f1f6ff; }
.cr-try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding-left: 4px; }
.cr-try > span { margin-right: 4px; color: var(--cr-muted); font: 500 14px/1 Inter, Arial, sans-serif; }

.gx-hub .cr-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  background: #eef3fc;
  color: var(--cr-ink);
  font: 500 12.5px/1 Inter, Arial, sans-serif;
  cursor: pointer;
  transition: background-color .16s ease;
}

.gx-hub .cr-chip:hover { background: #dfe9fb; }
.cr-chip lucide-icon { width: 16px; height: 16px; color: var(--cr-navy); }
.gx-hub .cr-search__status { padding-left: 4px; color: var(--cr-text); font: 500 13px/1.4 Inter, Arial, sans-serif; }
.gx-hub .cr-search__status:empty { display: none; }

/* ------------------------------------------------------------------ */
/* Course card                                                         */
/* ------------------------------------------------------------------ */
.cr-courses { display: grid; gap: 16px; }

.cr-course {
  padding: clamp(16px, 2.6vw, 30px);
  border: 1px solid var(--cr-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--cr-shadow);
  scroll-margin-top: 14px;
}

.cr-course__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; margin-bottom: 18px; }

.cr-course__tile {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  border-radius: 20px;
  background: linear-gradient(150deg, #1c6bff, #0b3fc0);
  box-shadow: 0 14px 26px rgba(18, 87, 224, .3);
  color: #fff;
}

.cr-course__tile lucide-icon { width: 44px; height: 44px; }
.cr-course__copy { display: grid; justify-items: start; gap: 6px; min-width: 0; }
.cr-tag { padding: 4px 9px; border-radius: 6px; background: #e3edff; color: var(--cr-blue); font: 800 12px/1 Inter, Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.gx-hub .course-title { color: var(--cr-ink); font: 800 clamp(24px, 3vw, 34px)/1.15 Inter, Arial, sans-serif; letter-spacing: -.01em; }
.gx-hub .cr-course__copy p { max-width: 62ch; color: var(--cr-text); font: 400 15px/1.5 Inter, Arial, sans-serif; }

.cr-course__art { position: relative; width: 250px; height: 110px; }
.cr-gear { position: absolute; color: var(--cr-blue); }
.cr-gear--lg { top: 0; left: 42%; width: 70px; height: 70px; }
.cr-gear--sm { bottom: 0; left: 30%; width: 42px; height: 42px; color: #7fa7f2; }

.cr-course__art::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 92px;
  height: 78px;
  border-radius: 12px;
  background:
    linear-gradient(#fff, #fff) 14px 30px / 54px 6px no-repeat,
    linear-gradient(#fff, #fff) 14px 44px / 40px 6px no-repeat,
    linear-gradient(#fff, #fff) 14px 58px / 48px 6px no-repeat,
    linear-gradient(180deg, #7fa7f2 0 20px, #cfe0ff 20px);
  box-shadow: 0 10px 20px rgba(28, 57, 108, .14);
  transform: rotate(-10deg);
}


.cr-rows { display: grid; gap: 12px; }

.cr-row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px 26px;
  padding: 12px 20px 12px 26px;
  border: 1px solid var(--cr-line);
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.cr-row::before { content: ""; position: absolute; inset: 22% auto 22% 0; width: 4px; border-radius: 0 4px 4px 0; background: var(--cr-tone); }
.cr-row:hover { border-color: var(--cr-tone); box-shadow: 0 10px 22px rgba(28, 57, 108, .09); }
.cr-row--notes { --cr-tone: #7a4fe0; --cr-soft: #efe9ff; }
.cr-row--videos { --cr-tone: #1257e0; --cr-soft: #e6efff; }
.cr-row--practice { --cr-tone: #1e9a52; --cr-soft: #e4f7ec; }
.cr-row--pyqs { --cr-tone: #e8891a; --cr-soft: #fff1dc; background: linear-gradient(90deg, #fff, #fffaf2); }

.cr-row__icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 66px;
  border-radius: 18px;
  background: var(--cr-soft);
  color: var(--cr-tone);
}

.cr-row__icon lucide-icon { width: 34px; height: 34px; }
.cr-row__copy { display: grid; gap: 5px; min-width: 0; }
.gx-hub .cr-row h3 { font: 800 clamp(18px, 1.9vw, 23px)/1.2 Inter, Arial, sans-serif; }
.gx-hub .cr-row h3 a { color: var(--cr-ink); text-decoration: none; }
/* the whole row opens the resource */
.cr-row h3 a::after { content: ""; position: absolute; inset: 0; }
.gx-hub .cr-row p { color: var(--cr-text); font: 400 15px/1.45 Inter, Arial, sans-serif; }

.cr-row__cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 226px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--cr-soft);
  color: var(--cr-ink);
  font: 600 14.5px/1 Inter, Arial, sans-serif;
  text-decoration: none;
  transition: filter .16s ease;
}

.cr-row__cta:hover { filter: brightness(.96); }
.cr-row__cta lucide-icon { width: 20px; height: 20px; color: var(--cr-tone); }

.cr-row__go {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5fc;
  color: var(--cr-ink);
}

.cr-row__go lucide-icon { width: 18px; height: 18px; }

/* ------------------------------------------------------------------ */
/* Back                                                                */
/* ------------------------------------------------------------------ */
.cr-back {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  min-height: 50px;
  padding: 0 26px 0 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffc94d, #f5a623);
  box-shadow: 0 10px 20px rgba(245, 166, 35, .3);
  color: #3a2500;
  font: 700 15.5px/1 Inter, Arial, sans-serif;
  text-decoration: none;
}

.cr-back:hover { background: linear-gradient(180deg, #ffd166, #f7b02e); }
.cr-back lucide-icon { width: 20px; height: 20px; }

/* ------------------------------------------------------------------ */
/* Smaller screens                                                     */
/* ------------------------------------------------------------------ */
@media (max-width: 1080px) {
  .cr-course__art { display: none; }
  .cr-course__head { grid-template-columns: auto minmax(0, 1fr); gap: 20px; }
  .cr-row__cta { min-width: 200px; }
  .cr-books span { min-height: 26px; font-size: 11.5px; }
}

@media (max-width: 900px) {
  .cr-page { gap: 12px; width: min(100% - 24px, 640px); padding: 12px 0 28px; }
  .cr-hero { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; border-radius: 18px; background: linear-gradient(180deg, #eef4ff 0%, #ffffff 46%); }
  .cr-hero__copy { padding: 22px 18px 6px; }
  .cr-badge { min-height: 30px; padding: 0 12px; font-size: 11.5px; }
  .gx-hub h1 { margin-top: 14px; font-size: clamp(36px, 11vw, 54px); }
  .cr-hero__copy > p { margin-top: 16px !important; font-size: 14px; }
  .cr-perks { gap: 10px 18px; margin-top: 18px !important; }
  .cr-perks li { gap: 9px; font-size: 12.5px; }
  .cr-perks lucide-icon { width: 28px; height: 28px; }
  .cr-hero__art { gap: 0 8px; min-height: 190px; margin-top: 6px; padding-left: 10px; }
  .cr-spark { top: 0; }
  .cr-mascot { width: clamp(160px, 46vw, 240px); }
  .cr-books { margin-bottom: 34px; }
  .cr-books span { min-height: 24px; border-left-width: 5px; font-size: 10.5px; letter-spacing: .04em; }
  .cr-board { margin-bottom: 70px; padding-top: 46px; border-radius: 0 0 0 16px; }
  .cr-note { display: none; }
  .cr-board lucide-icon { top: 12px; width: 24px; height: 24px; }

  .cr-search { padding: 12px; border-radius: 16px; }
  .cr-search__form { gap: 8px; }
  .cr-search__icon { left: 16px; width: 19px; height: 19px; }
  .gx-hub .cr-search__form input { min-height: 48px; padding-left: 44px; font-size: 14px; }
  .gx-hub .cr-search__btn { min-height: 48px; padding: 0 18px; font-size: 14px; }
  .cr-try { gap: 6px; }
  .cr-try > span { flex: 1 1 100%; }
  .gx-hub .cr-chip { min-height: 36px; padding: 0 12px; }

  .cr-course { border-radius: 18px; }
  .cr-course__head { gap: 14px; margin-bottom: 14px; }
  .cr-course__tile { width: 58px; height: 58px; border-radius: 15px; }
  .cr-course__tile lucide-icon { width: 30px; height: 30px; }
  .gx-hub .cr-course__copy p { font-size: 13.5px; }
  .cr-rows { gap: 10px; }
  .cr-row { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px 14px; padding: 14px; border-radius: 16px; }
  .cr-row__icon { width: 52px; height: 50px; border-radius: 14px; }
  .cr-row__icon lucide-icon { width: 26px; height: 26px; }
  .gx-hub .cr-row p { font-size: 13px; }
  .cr-row__cta { grid-column: 1 / -1; grid-row: 2; min-width: 0; width: 100%; min-height: 44px; font-size: 14px; }
  .cr-row__go { grid-column: 3; grid-row: 1; }
}

@media (max-width: 420px) {
  .gx-hub .cr-search__btn { padding: 0 14px; }
  .gx-hub .cr-search__btn lucide-icon { display: none; }
  .cr-hero__art { grid-template-columns: minmax(0, 1fr) auto; padding-right: 10px; }
  .cr-board { display: none; }
  .cr-books { justify-self: center; max-width: 150px; }
  .cr-row__go { display: none; }
  .cr-row { grid-template-columns: auto minmax(0, 1fr); }
}

/* ------------------------------------------------------------------ */
/* Practice page additions                                             */
/* ------------------------------------------------------------------ */
.pr-section {
  padding: clamp(16px, 2.6vw, 30px);
  border: 1px solid var(--cr-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--cr-shadow);
  scroll-margin-top: 14px;
}

.pr-section .cr-course__head { grid-template-columns: auto minmax(0, 1fr); }


.pr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.pr-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--cr-line);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.pr-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--cr-tone); }
.pr-card:hover,
.pr-card.is-found { border-color: var(--cr-tone); box-shadow: 0 12px 24px rgba(28, 57, 108, .1); }
.pr-card:nth-child(4n + 1) { --cr-tone: #1257e0; --cr-soft: #e6efff; }
.pr-card:nth-child(4n + 2) { --cr-tone: #7a4fe0; --cr-soft: #efe9ff; }
.pr-card:nth-child(4n + 3) { --cr-tone: #1e9a52; --cr-soft: #e4f7ec; }
.pr-card:nth-child(4n + 4) { --cr-tone: #e8891a; --cr-soft: #fff1dc; }
.pr-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.pr-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--cr-soft);
  color: var(--cr-tone);
}

.pr-card__icon lucide-icon { width: 26px; height: 26px; }

.pr-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--cr-soft);
  color: var(--cr-ink);
  font: 700 11.5px/1 Inter, Arial, sans-serif;
}

.pr-card__tag lucide-icon { width: 13px; height: 13px; color: var(--cr-tone); }
.gx-hub .pr-card h3 { color: var(--cr-ink); font: 800 19px/1.25 Inter, Arial, sans-serif; }
.gx-hub .pr-card p { color: var(--cr-text); font: 400 14px/1.5 Inter, Arial, sans-serif; }
.gx-hub .pr-card__meta { color: var(--cr-muted); font: 500 12.5px/1.4 Inter, Arial, sans-serif; }
.pr-card__actions { display: grid; gap: 8px; margin-top: auto; padding-top: 4px; }

.pr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1c6bff, #0f52e0);
  box-shadow: 0 8px 16px rgba(18, 87, 224, .22);
  color: #fff;
  font: 700 14px/1 Inter, Arial, sans-serif;
  text-decoration: none;
}

.pr-btn:hover { background: linear-gradient(180deg, #1560ee, #0b47c9); }
.pr-btn lucide-icon { width: 18px; height: 18px; }
.pr-btn--soft { background: var(--cr-soft); box-shadow: none; color: var(--cr-ink); }
.pr-btn--soft:hover { background: var(--cr-soft); filter: brightness(.96); }
.pr-btn--soft lucide-icon { color: var(--cr-tone); }
.pr-btn.is-disabled { background: #edf1f8; box-shadow: none; color: var(--cr-muted); cursor: not-allowed; }

.pr-empty {
  display: grid;
  grid-column: 1 / -1;
  justify-items: center;
  gap: 8px;
  padding: 34px 16px;
  border: 1px dashed #d6e0f3;
  border-radius: 18px;
  color: var(--cr-text);
  text-align: center;
}

.pr-empty lucide-icon { width: 34px; height: 34px; color: var(--cr-blue); }
.gx-hub .pr-empty strong { color: var(--cr-ink); font: 800 17px/1.3 Inter, Arial, sans-serif; }
.gx-hub .pr-empty p { font: 400 14px/1.5 Inter, Arial, sans-serif; }

@media (max-width: 1080px) {
  .pr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .pr-section { border-radius: 18px; }
  .pr-section .cr-course__head { grid-template-columns: auto minmax(0, 1fr); }
  .pr-grid { gap: 10px; }
  .pr-card { padding: 14px; border-radius: 16px; }
  .gx-hub .pr-card h3 { font-size: 17px; }
}

@media (max-width: 620px) {
  .pr-grid { grid-template-columns: minmax(0, 1fr); }
}
