/* Ngô Quốc Huỳnh — personal-brand course site. Style A: black with blue (navy/gold token names kept, values are blue-black and blue).
   Type: Playfair Display (headings, Vietnamese subset) + Be Vietnam Pro (text). Shared by every page. */
:root {
  --navy-950: #050608;
  --navy-900: #0a0c10;
  --navy-850: #0f1218;
  --navy-800: #151a24;
  --navy-700: #1d2533;
  --ink: #eef1f6;
  --muted: #a7b0c0;
  --line: rgba(238, 241, 246, .1);
  --line-strong: rgba(238, 241, 246, .22);
  --gold: #4f9dff;
  --gold-soft: #9cc8ff;
  --gold-ink: #031127;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px; --r-lg: 22px;
  --wrap: 1200px; --gut: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
/* Swapped scheme (scheme.js sets data-scheme="dao"): royal-blue grounds, black accents, white type */
:root[data-scheme="dao"] {
  --navy-950: #0f2f86; --navy-900: #1d4ed8; --navy-850: #1b48c8; --navy-800: #1a43ba; --navy-700: #163a9e;
  --ink: #ffffff; --muted: #d6e2ff; --line: rgba(255, 255, 255, .18); --line-strong: rgba(255, 255, 255, .38);
  --gold: #0b0d12; --gold-soft: #2a2f3a; --gold-ink: #ffffff;
}
:root[data-scheme="dao"] .btn--gold { box-shadow: 0 10px 28px -12px rgba(0, 0, 0, .6); }
:root[data-scheme="dao"] .btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(0, 0, 0, .18); }
:root[data-scheme="dao"] .top { background: rgba(11, 13, 18, .82); }
:root[data-scheme="dao"] .logo__mark { border-color: #fff; color: #fff; }
:root[data-scheme="dao"] .eyebrow { color: #fff; }
:root[data-scheme="dao"] :focus-visible { outline-color: #fff; }
:root[data-scheme="dao"] .demo { color: #fff; border-color: rgba(255, 255, 255, .5); }
.scheme-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; transition: border-color .2s, transform .2s; }
.scheme-btn:hover { border-color: var(--ink); transform: rotate(-20deg); }
.scheme-btn svg { width: 20px; height: 20px; }
.top .scheme-btn { margin-left: auto; }
.top .scheme-btn + .who { margin-left: 0 !important; }
@media (min-width: 960px) { .top .scheme-btn { margin-left: 6px; } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--navy-900); color: var(--ink); font: 400 16px/1.6 var(--sans); }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; line-height: 1.12; text-wrap: balance; }
h2 { font-size: clamp(30px, 5.6vw, 52px); }
h3 { font-size: 21px; line-height: 1.25; }
.gold { color: var(--gold); font-style: italic; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: max(var(--gut), env(safe-area-inset-left, 0px)) max(var(--gut), env(safe-area-inset-right, 0px)); }
@media (min-width: 768px) { :root { --gut: 32px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.muted { color: var(--muted); }
.skip { position: absolute; left: 12px; top: 10px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--gold); color: var(--gold-ink); font-weight: 600; transform: translateY(-200%); }
.skip:focus { transform: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.ic-g { width: 20px; height: 20px; flex: none; }

/* Buttons: gold solid, and a ghost outline */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 16px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.btn--gold { background: linear-gradient(180deg, var(--gold-soft), var(--gold)); color: var(--gold-ink); box-shadow: 0 10px 30px -12px rgba(79, 157, 255, .6); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(79, 157, 255, .75); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: rgba(255, 255, 255, .03); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn img { width: 20px; height: 20px; }
.btn .ic-g { transition: transform .25s var(--ease); }
.btn:hover .ic-g { transform: translateX(3px); }

/* Header: glass bar */
.top { position: sticky; top: 0; z-index: 50; background: rgba(10, 12, 16, .72); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.top__bar { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; }
.logo__mark { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); font: 600 17px/1 var(--serif); }
.logo__name { font: 600 18px/1 var(--serif); }
.top__nav { display: none; gap: 30px; margin-left: auto; }
.top__nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; transition: color .2s; }
.top__nav a:hover { color: var(--ink); }
.top .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.top .who { margin-left: auto; }
.top .who, .top .btn { white-space: nowrap; }
/* phone: the bottom bar carries "Vào học", so the header keeps only the sign-in link */
@media (max-width: 559px) { .top .btn { display: none; } .logo__name { font-size: 16px; } }
@media (min-width: 960px) { .top__nav { display: flex; } .top .who { margin-left: 6px; } }

/* Sections */
.sec { padding-block: 72px; position: relative; }
.sec--alt { background: var(--navy-850); }
.sec__head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 36px; }
.sec__head p { color: var(--muted); font-size: 18px; max-width: 60ch; }
@media (min-width: 960px) { .sec { padding-block: 120px; } .sec__head { margin-bottom: 56px; } }

/* Gentle reveal on scroll, only when script runs and motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  html.js .reveal.is-in { opacity: 1; transform: none; }
}

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 40px calc(40px + 72px); font-size: 14px; color: var(--muted); }
.foot__grid { display: grid; gap: 22px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px; }
.foot__links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s; }
.foot__links a:hover { border-color: var(--gold); }
.foot__links img { width: 18px; height: 18px; object-fit: contain; }
@media (min-width: 960px) { .foot { padding-bottom: 40px; } .foot__grid { grid-template-columns: 1fr auto; align-items: center; } }

/* Phone action bar */
.bar { position: fixed; inset: auto 0 0 0; z-index: 60; display: flex; gap: 10px; padding: 10px max(var(--gut), env(safe-area-inset-left, 0px)) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 12, 16, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.bar .btn { flex: 1; min-height: 50px; padding: 0 12px; }
@media (min-width: 960px) { .bar { display: none; } }

/* Course cover: drawn in CSS so every title stays crisp; the teacher on the right, the platform's colour behind */
.cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; isolation: isolate; background: var(--navy-800); }
.cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cv-bg); }
.cover::after { content: ""; position: absolute; right: -12%; top: -30%; width: 75%; aspect-ratio: 1; border-radius: 50%; z-index: -1; background: var(--cv-glow); filter: blur(6px); }
.cover__person { position: absolute; right: 6%; bottom: 0; height: 92%; width: auto; max-width: none; transition: transform .6s var(--ease); }
.cover__title { position: absolute; left: 7%; top: 12%; width: 56%; font: 700 clamp(18px, 2.1vw, 24px)/1.18 var(--serif); color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.cover__tag { position: absolute; left: 7%; bottom: 9%; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: #111; font: 600 13px/1 var(--sans); }
.cover__tag img, .cover__tag .ic-g { width: 22px; height: 22px; }
.cover--tiktok { --cv-bg: linear-gradient(135deg, #07070d, #16161f); --cv-glow: radial-gradient(circle, rgba(37, 244, 238, .45), rgba(254, 44, 85, .3) 55%, transparent 70%); }
.cover--facebook { --cv-bg: linear-gradient(135deg, #0a2153, #1254c4); --cv-glow: radial-gradient(circle, rgba(120, 180, 255, .55), transparent 70%); }
.cover--shopee { --cv-bg: linear-gradient(135deg, #5c1206, #d94424); --cv-glow: radial-gradient(circle, rgba(255, 190, 120, .55), transparent 70%); }
.cover--ai { --cv-bg: linear-gradient(135deg, #0a0c10, #1d2533); --cv-glow: radial-gradient(circle, rgba(79, 157, 255, .55), transparent 70%); }
.cover--video { --cv-bg: linear-gradient(135deg, #080b12, #1b2a45); --cv-glow: radial-gradient(circle, rgba(156, 200, 255, .6), transparent 70%); }

/* Course cards (home and my courses) */
.courses { display: grid; gap: 20px; }
@media (min-width: 640px) { .courses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .courses { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.course { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-800); border: 1px solid var(--line); text-decoration: none;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.course:hover { transform: translateY(-4px); border-color: rgba(79, 157, 255, .5); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .8); }
.course:hover .cover__person { transform: scale(1.04); transform-origin: bottom right; }
.course__body { display: grid; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.course__body p { color: var(--muted); font-size: 15px; }
.course__body h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* the title is on the cover */
@media (max-width: 639px) { .course__body { padding: 16px 18px 18px; } }
/* progress meter, avatar, form fields (student pages) */
.meter { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--gold-ink); font: 600 14px/1 var(--sans); }
.who { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 500; font-size: 15px; }
.field input { min-height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .04); color: var(--ink); font: 400 16px/1 var(--sans); transition: border-color .2s; }
.field input:hover { border-color: rgba(79, 157, 255, .5); }
.field input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.field input[aria-invalid="true"] { border-color: #f08a7a; }
.field .err { min-height: 1.2em; color: #f6a596; font-size: 14px; }
 { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ===== Scheme "sang" (default, per Huỳnh's feedback): white + navy about 90%, a little black, red main buttons,
   deep blue tech background (img/bg-tech.webp, made for this site) on the hero and large bands, expert details. ===== */
:root[data-scheme="sang"] {
  --navy-950: #0a2150; --navy-900: #f4f7fc; --navy-850: #ffffff; --navy-800: #ffffff; --navy-700: #e8eef8;
  --ink: #0b1f45; --muted: #4b5b78; --line: rgba(11, 33, 80, .12); --line-strong: rgba(11, 33, 80, .26);
  --gold: #d7262e; --gold-soft: #ee4b52; --gold-ink: #ffffff; --hl: #1d4ed8;
  color-scheme: light;
}
:root[data-scheme="sang"] .gold { color: var(--hl); }
:root[data-scheme="sang"] .btn--gold { box-shadow: 0 10px 24px -12px rgba(215, 38, 46, .55); }
:root[data-scheme="sang"] .btn--ghost:hover { border-color: var(--hl); color: var(--hl); }
:root[data-scheme="sang"] .top { background: rgba(255, 255, 255, .94); border-bottom-color: var(--line); }
:root[data-scheme="sang"] .logo__mark { border: 2px solid #0a2150; color: #0a2150; border-radius: 10px 10px 14px 14px; }
:root[data-scheme="sang"] .eyebrow { color: #0a2150; }
:root[data-scheme="sang"] :focus-visible { outline-color: var(--hl); }
:root[data-scheme="sang"] .filter[aria-pressed="true"] { background: #0a2150; border-color: #0a2150; color: #fff; }
:root[data-scheme="sang"] .filter:hover { border-color: #0a2150; color: #0a2150; }
:root[data-scheme="sang"] .course { box-shadow: 0 1px 2px rgba(11, 33, 80, .06), 0 10px 30px -22px rgba(11, 33, 80, .35); }
:root[data-scheme="sang"] .course:hover { border-color: #0a2150; }
:root[data-scheme="sang"] .course__more { color: var(--gold); }
:root[data-scheme="sang"] .course__meta .ic-g { color: var(--hl); }
:root[data-scheme="sang"] .bar { background: rgba(255, 255, 255, .96); }
/* dark bands on the tech background: hero, closing call, strip, footer */
:root[data-scheme="sang"] :is(.hero, .close, .strip, .foot) {
  --ink: #ffffff; --muted: #c8d6f0; --line: rgba(255, 255, 255, .18); --line-strong: rgba(255, 255, 255, .4); --hl: #8ec5ff;
  color: var(--ink);
}
:root[data-scheme="sang"] .hero { background: linear-gradient(180deg, rgba(5, 18, 52, .55), rgba(5, 18, 52, .35) 60%, rgba(5, 18, 52, .7)), url(img/bg-tech.webp) center 30% / cover, #0a2150; }
:root[data-scheme="sang"] .hero::before { opacity: .25; }
:root[data-scheme="sang"] .hero .eyebrow, :root[data-scheme="sang"] .close .eyebrow { color: #fff; }
:root[data-scheme="sang"] .hero h1 span, :root[data-scheme="sang"] .close .gold { color: #8ec5ff; }
:root[data-scheme="sang"] .close { background: linear-gradient(90deg, rgba(5, 18, 52, .88), rgba(5, 18, 52, .45)), url(img/bg-tech.webp) center / cover; border-color: rgba(255, 255, 255, .25); }
:root[data-scheme="sang"] .strip { background: #0a2150; }
:root[data-scheme="sang"] .foot { background: #071a40; border-top: 0; }
/* expert details: course label pill with rules, glowing platform under the teacher, name plate, thin corner frame */
:root[data-scheme="sang"] .eyebrow::before { display: none; }
:root[data-scheme="sang"] .sec__head .eyebrow, :root[data-scheme="sang"] .hero .eyebrow { gap: 12px; }
:root[data-scheme="sang"] .sec__head .eyebrow span, :root[data-scheme="sang"] .hero .eyebrow span { padding: 6px 14px; border-radius: 6px; background: #fff; color: #0a2150; font-weight: 700; letter-spacing: .12em; box-shadow: 0 0 0 1px rgba(11, 33, 80, .15), 0 6px 18px -8px rgba(11, 33, 80, .5); }
:root[data-scheme="sang"] .sec__head .eyebrow::after, :root[data-scheme="sang"] .hero .eyebrow::after { content: ""; width: 54px; height: 1px; background: linear-gradient(90deg, currentColor, transparent); opacity: .6; }
.hero__ring { display: none; }
.hero__plate { display: none; }
:root[data-scheme="sang"] .hero__photo::before { border-color: rgba(142, 197, 255, .55); box-shadow: 0 0 0 18px rgba(142, 197, 255, .07), 0 0 0 38px rgba(142, 197, 255, .04), 0 0 80px rgba(80, 160, 255, .35); }
:root[data-scheme="sang"] .hero__ring { display: block; position: absolute; left: 50%; bottom: 2%; width: 92%; aspect-ratio: 4 / 1; transform: translateX(-50%); border-radius: 50%;
  border: 2px solid rgba(142, 197, 255, .7); box-shadow: 0 0 24px rgba(80, 160, 255, .8), inset 0 0 30px rgba(80, 160, 255, .5), 0 0 0 14px rgba(142, 197, 255, .12), 0 0 0 30px rgba(142, 197, 255, .06); }
:root[data-scheme="sang"] .hero__plate { display: grid; position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); z-index: 3; text-align: center; padding: 10px 26px; border-radius: 12px 12px 40px 40px / 12px 12px 22px 22px;
  background: linear-gradient(180deg, #ffffff, #dfe8f7); color: #0a2150; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .7); white-space: nowrap; }
:root[data-scheme="sang"] .hero__plate b { font: 800 clamp(15px, 1.6vw, 19px)/1.1 var(--sans); letter-spacing: .04em; }
:root[data-scheme="sang"] .hero__plate small { font-size: 12px; font-style: italic; color: #3b5486; }
:root[data-scheme="sang"] .hero::after { content: ""; position: absolute; inset: 14px; pointer-events: none; border: 1px solid rgba(255, 255, 255, .14);
  -webkit-mask: linear-gradient(#000 0 0) top left / 70px 70px no-repeat, linear-gradient(#000 0 0) top right / 70px 70px no-repeat, linear-gradient(#000 0 0) bottom left / 70px 70px no-repeat, linear-gradient(#000 0 0) bottom right / 70px 70px no-repeat;
  mask: linear-gradient(#000 0 0) top left / 70px 70px no-repeat, linear-gradient(#000 0 0) top right / 70px 70px no-repeat, linear-gradient(#000 0 0) bottom left / 70px 70px no-repeat, linear-gradient(#000 0 0) bottom right / 70px 70px no-repeat; }
/* course page cover and student pages keep the white ground; login art uses the tech background */
:root[data-scheme="sang"] .auth__art { background: linear-gradient(180deg, rgba(5, 18, 52, .35), rgba(5, 18, 52, .6)), url(img/bg-tech.webp) center / cover !important; color: #fff; }

/* ===== Brand logo (NQH Digital Marketing) and depth layers (2026-12-05) ===== */
.logo__img { display: block; height: 40px; width: auto; }
.logo__tag { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.foot__logo { display: block; height: 52px; width: auto; margin-bottom: 12px; }
@media (max-width: 559px) { .logo__img { height: 34px; } }
/* layer 1: a faded photo behind every page, fixed so the content scrolls over it */
:root[data-scheme="sang"] { background: #eaf0fa; }
:root[data-scheme="sang"] body { background: transparent; } /* the root paints the ground so the fixed photo layer (z-index -1) stays visible */
:root[data-scheme="sang"] body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: url(img/bg-circuit.webp) center / cover; opacity: .22; }
:root[data-scheme="sang"] body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(80% 55% at 50% 0%, rgba(255, 255, 255, .55), transparent 70%); }
/* layer 2: a soft blue light behind the course grid */
:root[data-scheme="sang"] #khoa-hoc { isolation: isolate; }
:root[data-scheme="sang"] #khoa-hoc::before { content: ""; position: absolute; inset: 10% 0 0; z-index: -1; pointer-events: none; background: radial-gradient(50% 40% at 50% 40%, rgba(29, 78, 216, .12), transparent 70%); }
/* layer 3: raised cards, lit from above */
:root[data-scheme="sang"] .course { background: linear-gradient(180deg, #ffffff, #f6f9ff); border: 1px solid #fff;
  box-shadow: 0 0 0 1px rgba(11, 33, 80, .07), 0 2px 4px rgba(11, 33, 80, .06), 0 14px 28px -14px rgba(11, 33, 80, .3), 0 36px 70px -36px rgba(11, 33, 80, .45); }
:root[data-scheme="sang"] .course:hover { transform: translateY(-8px); border-color: #fff;
  box-shadow: 0 0 0 1px rgba(29, 78, 216, .35), 0 6px 10px rgba(11, 33, 80, .08), 0 26px 44px -18px rgba(11, 33, 80, .4), 0 60px 100px -40px rgba(11, 33, 80, .55); }
:root[data-scheme="sang"] .course .cover { box-shadow: 0 1px 0 rgba(11, 33, 80, .1); }
:root[data-scheme="sang"] .filter { background: #fff; border-color: rgba(11, 33, 80, .1); box-shadow: 0 1px 2px rgba(11, 33, 80, .08), 0 6px 14px -8px rgba(11, 33, 80, .3); }
:root[data-scheme="sang"] .filter[aria-pressed="true"] { box-shadow: 0 8px 18px -8px rgba(10, 33, 80, .7); }
:root[data-scheme="sang"] .close { box-shadow: 0 30px 70px -30px rgba(5, 18, 52, .7); }
/* long background that scrolls with the page content (img/bg-long.webp, pre-faded, edges melt into the page) */
:root[data-scheme="sang"] body[data-page="home"] main { background: url(img/bg-long.webp) center top / cover no-repeat; } /* one image from the hero down to the footer: no seam between sections */
/* bigger brand logo in the header (Huỳnh's feedback 2026-12-05) */
.top__bar { height: 76px; }
.logo__img { height: 54px; }
@media (max-width: 559px) { .top__bar { height: 68px; } .logo__img { height: 44px; } }
/* "Khóa học đang hot" */
.sec--hot { padding-bottom: 0; }
.course { position: relative; }
.course__hot { position: absolute; z-index: 3; top: 14px; right: 14px; padding: 6px 12px; border-radius: 999px; background: linear-gradient(180deg, #ee4b52, #d7262e); color: #fff;
  font: 700 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 8px 18px -8px rgba(215, 38, 46, .8); }
@media (min-width: 640px) { .courses--hot { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 840px; } }
