/* ==========================================================================
   Học Cùng Sơn — site.css
   Shared stylesheet for the NEW static SEO pages only
   (/lop-N/, /lop-N/<ky-thi>/, /lop-N/<ky-thi>/thi-thu/..., /blog/...).
   NOT used by the SPA app (/hoc/, styles.css) and NOT used by mockup/.

   Design: Claymorphism (soft, chunky, playful — fits a kids' learning site)
   from the ui-ux-pro-max skill, constrained to the Học Cùng Sơn brand:
   navy #143A6B, blue #1D6FD1, yellow #FFC107, orange #FF7A29,
   green #1A9E57, light background. The skill's generic palette
   (a generic blue plus pink) and its suggested display fonts
   are DELIBERATELY NOT used — brand rules win.

   Font: Nunito, loaded ONCE via the import rule below (the only font load;
   site_templates.py does NOT add a separate Google Fonts <link>).
   ========================================================================== */

/* NOTE: custom properties were inlined to literal values on 08/11/2026
   (the live render dropped every declaration using CSS variables,
   breaking all backgrounds/borders; literal values match the working
   mockup). The header comment no longer contains 'star-slash'
   sequences from path examples, which used to close the comment early. */

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 19px;
  line-height: 1.55;
  color: #12233f;
  background: #fbf9f5;
}

h1, h2, h3, h4 { color: #143a6b; line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: 32px; font-weight: 900; }
h2 { font-size: 26px; font-weight: 900; margin-top: 32px; }
h3 { font-size: 21px; font-weight: 800; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 24px; }
li { margin-bottom: 6px; }

a { color: #1d6fd1; text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* Visible keyboard focus everywhere (skill checklist: never remove it). */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #ffc107;
  outline-offset: 3px;
  border-radius: 6px;
}

/* Every clickable element gets a pointer cursor. */
a, button, [role="button"], summary, label, .chip, .grade-card__link { cursor: pointer; }

/* Smooth hover everywhere, 150-300ms. */
a, button, .btn, .card, .course-card, .grade-card, .exam-card,
.feature-card, .step-card, .blog-card, .chip {
  transition: transform 200ms ease-out,
              box-shadow 200ms ease-out,
              background-color 150ms ease-out,
              border-color 150ms ease-out,
              color 150ms ease-out;
}

::selection { background: #ffc107; color: #143a6b; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 24px 20px; }
.meta { color: #4e5e75; font-size: 16px; }
.eyebrow {
  font-size: 15px; font-weight: 900; letter-spacing: 1px;
  color: #1d6fd1; text-transform: uppercase; margin: 0 0 8px;
}

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #ffffff;
  border-bottom: 3px solid #dce4f0;
  box-shadow: 0 2px 12px rgba(20, 58, 107, 0.10);
}
.site-header__inner {
  max-width: 1180px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.logo { display: flex; align-items: center; gap: 12px; color: #143a6b; }
.logo:hover { text-decoration: none; }
.logo__mark {
  width: 52px; height: 52px; flex: none;
  border-radius: 14px; background: #143a6b; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900; line-height: 1;
  white-space: nowrap; overflow: hidden;
}
.logo__name { font-size: 24px; font-weight: 900; line-height: 1.1; display: block; }
.logo__slogan { font-size: 14px; font-weight: 700; color: #4e5e75; display: block; }

.site-nav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.site-nav a {
  display: inline-block; padding: 12px 14px;
  font-size: 18px; font-weight: 800; color: #143a6b;
  border-radius: 999px; min-height: 48px;
}
.site-nav a:hover { background: #eaf2fd; text-decoration: none; }
.site-nav a[aria-current="page"] { background: #143a6b; color: #fff; }
.site-nav a[aria-current="page"]:hover { background: #0e2a4e; }

.site-header .btn { margin-left: 4px; }

/* ------------------------------------------------------------------ buttons */
/* CTA buttons: min-height 56px, 20px bold text (large text: 3:1 is enough,
   but all variants below clear 3:1; body text keeps the 4.5:1 rule). */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; min-width: 56px;
  padding: 14px 24px;
  border: 3px solid transparent; border-radius: 999px;
  font-family: inherit; font-size: 20px; font-weight: 800; line-height: 1.2;
  background: #1d6fd1; color: #fff;
  box-shadow: 0 4px 0 rgba(20, 58, 107, 0.18), 0 6px 16px rgba(29, 111, 209, 0.28);
  text-decoration: none; text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 4px 0 rgba(20, 58, 107, 0.08),
                 0 10px 24px rgba(20, 58, 107, 0.10); background: #155cb4; }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(20, 58, 107, 0.18); }
.btn--orange { background: #ff7a29; color: #143a6b; box-shadow: 0 4px 0 rgba(224, 94, 0, 0.35), 0 6px 16px rgba(255, 122, 41, 0.30); }
.btn--orange:hover { background: #e05e00; color: #fff; }
.btn--green { background: #1a9e57; color: #fff; }
.btn--green:hover { background: #0f7a40; }
.btn--yellow { background: #ffc107; color: #143a6b; box-shadow: 0 4px 0 rgba(180, 130, 0, 0.35), 0 6px 16px rgba(255, 193, 7, 0.35); }
.btn--yellow:hover { background: #e6ac00; }
.btn--light { background: #eaf2fd; color: #143a6b; box-shadow: 0 3px 0 rgba(20, 58, 107, 0.08),
                    0 6px 16px rgba(20, 58, 107, 0.08); }
.btn--light:hover { background: #d9e8fb; }
.btn--ghost { background: #fff; color: #143a6b; border-color: #b9c6da; box-shadow: 0 3px 0 rgba(20, 58, 107, 0.08),
                    0 6px 16px rgba(20, 58, 107, 0.08); }
.btn--ghost:hover { border-color: #1d6fd1; }
.btn--block { display: flex; width: 100%; }
.btn--cta { font-size: 21px; padding: 16px 28px; } /* the big page CTA */
.btn[disabled], .btn--disabled {
  background: #dce4f0; color: #4e5e75;
  box-shadow: none; transform: none; cursor: not-allowed;
}
.btn svg { width: 22px; height: 22px; flex: none; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: #143a6b; color: #fff; margin-top: 40px; }
.site-footer__grid {
  max-width: 1180px; margin: 0 auto; padding: 36px 20px 12px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px;
}
.site-footer h3 { color: #ffc107; font-size: 19px; margin-bottom: 10px; }
.site-footer p, .site-footer li { color: #fff; font-size: 17px; }
.site-footer a { color: #d6e4ff; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer__brand { font-size: 21px; font-weight: 900; color: #fff; }
.site-footer__bottom {
  text-align: center; padding: 0 20px 24px;
  color: #d6e4ff; font-size: 16px;
}

/* ------------------------------------------------------------------ breadcrumb */
.breadcrumb { margin: 0 0 16px; font-size: 17px; }
.breadcrumb ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "/"; color: #4e5e75; font-weight: 800; }
.breadcrumb a { font-weight: 700; }
.breadcrumb [aria-current="page"] { color: #4e5e75; font-weight: 800; }

/* ------------------------------------------------------------------ hero */
.hero {
  background: linear-gradient(135deg, #143a6b, #1d6fd1);
  color: #fff; border-radius: 26px;
  border: 3px solid #0e2a4e;
  box-shadow: 0 6px 0 rgba(20, 58, 107, 0.10),
                    0 16px 34px rgba(20, 58, 107, 0.16);
  padding: 32px 28px; margin: 8px 0 24px;
}
.hero h1 { color: #fff; font-size: 34px; margin-bottom: 10px; }
.hero p { color: #d6e4ff; font-size: 20px; margin-bottom: 12px; }
.hero p:last-child { margin-bottom: 0; }
.hero .btn { margin-top: 8px; }
.hero__stats { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 18px; }
.hero__stats b { display: block; font-size: 28px; color: #ffc107; }
.hero__stats span { font-size: 15px; color: #d6e4ff; }

/* ------------------------------------------------------------------ cards */
.card {
  background: #ffffff; border: 3px solid #dce4f0; border-radius: 22px;
  box-shadow: 0 4px 0 rgba(20, 58, 107, 0.08),
                 0 10px 24px rgba(20, 58, 107, 0.10); padding: 22px 24px; margin-bottom: 20px;
}
.card > :last-child { margin-bottom: 0; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; color: #4e5e75; font-size: 17px; }

/* Pills / badges — status is text, never colour alone. */
.pill {
  display: inline-block; background: #eaf2fd; color: #143a6b;
  border-radius: 999px; padding: 5px 12px;
  font-size: 15px; font-weight: 800; margin: 2px;
  border: 2px solid transparent;
}
.pill--free { background: #e6f7ee; color: #0f7a40; }
.pill--round { background: #fff3e8; color: #8a3a00; }
.pill--soon { background: #fff8d6; color: #6b4e00; }
.badge {
  display: inline-block; background: #fff8d6; color: #6b4e00;
  border-radius: 999px; padding: 6px 12px; font-size: 15px; font-weight: 800;
}
.badge--ok { background: #e6f7ee; color: #0f7a40; }
.badge--soon { background: #fff8d6; color: #6b4e00; }

/* ------------------------------------------------------------------ stat row */
.stat-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px; margin: 16px 0;
}
.stat {
  background: #ffffff; border: 3px solid #dce4f0; border-radius: 16px;
  box-shadow: 0 3px 0 rgba(20, 58, 107, 0.08),
                    0 6px 16px rgba(20, 58, 107, 0.08); padding: 16px 14px; text-align: center;
}
.stat b { display: block; font-size: 30px; font-weight: 900; color: #143a6b; line-height: 1.1; }
.stat span { color: #4e5e75; font-size: 16px; font-weight: 700; }

/* ------------------------------------------------------------------ grade cards (5 khối) */
.grade-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin: 16px 0; }
.grade-grid > .grade-card:only-child { grid-column: 1 / -1; }
.grade-card {
  background: #ffffff; border: 3px solid #dce4f0; border-radius: 20px;
  box-shadow: 0 4px 0 rgba(20, 58, 107, 0.08),
                 0 10px 24px rgba(20, 58, 107, 0.10); padding: 20px; overflow: hidden;
}
.grade-card:hover { transform: translateY(-3px); box-shadow: 0 6px 0 rgba(20, 58, 107, 0.10),
                    0 16px 34px rgba(20, 58, 107, 0.16); }
.grade-card h3 { font-size: 23px; margin-bottom: 12px; }
.grade-card__exams { list-style: none; margin: 0 0 14px; padding: 0; }
.grade-card__exams li {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px 0; border-top: 2px solid #f0f3f8; font-size: 18px; margin: 0;
}
.grade-card__exams li:first-child { border-top: 0; }
.grade-card__exams b { font-weight: 800; color: #143a6b; }
.grade-card__status { font-weight: 800; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.grade-card__status svg { width: 22px; height: 22px; flex: none; }
.grade-card__status--ok { color: #0f7a40; }
.grade-card__status--soon { color: #8a5a00; }
.grade-card .btn { width: 100%; }

/* Chip row (grade picker on hub / grade page) */
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.chip {
  display: inline-block; padding: 12px 20px; border-radius: 999px;
  background: #ffffff; border: 3px solid #dce4f0;
  font-size: 17px; font-weight: 800; color: #143a6b;
  box-shadow: 0 3px 0 rgba(20, 58, 107, 0.08),
                    0 6px 16px rgba(20, 58, 107, 0.08); min-height: 48px;
}
.chip:hover { border-color: #1d6fd1; transform: translateY(-2px); }
.chip--active, .chip[aria-current="true"] { background: #143a6b; color: #fff; border-color: #0e2a4e; }

/* ------------------------------------------------------------------ course cards */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin: 16px 0; }
.course-card {
  background: #ffffff; border: 3px solid #dce4f0; border-radius: 20px;
  box-shadow: 0 4px 0 rgba(20, 58, 107, 0.08),
                 0 10px 24px rgba(20, 58, 107, 0.10); overflow: hidden;
  display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-3px); box-shadow: 0 6px 0 rgba(20, 58, 107, 0.10),
                    0 16px 34px rgba(20, 58, 107, 0.16); }
.course-card__thumb {
  height: 130px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1d6fd1, #ff7a29);
  color: #fff; font-size: 40px; font-weight: 900;
  border-bottom: 3px solid #dce4f0;
}
.course-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.course-card__body { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.course-card__body h3 { margin: 0; }
.course-card__body p { margin: 0; color: #4e5e75; font-size: 17px; }
.course-card__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.course-card__actions .btn { flex: 1 1 auto; min-height: 52px; font-size: 18px; padding: 12px 16px; }

/* Fact rows (exam / course summary, Mind-Maths style from mockup v3) */
.fact-rows { margin: 0 0 12px; }
.fact-rows div {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 8px 0; border-top: 2px solid #f0f3f8; font-size: 17px;
}
.fact-rows div:first-child { border-top: 0; }
.fact-rows b { color: #4e5e75; font-weight: 700; }
.fact-rows span { font-weight: 800; color: #12233f; text-align: right; }

/* ------------------------------------------------------------------ exam list (merged hub/pillar/grade) */
.exam-list { margin: 16px 0; }
.exam-group { margin-bottom: 24px; }
.exam-group > h3 { font-size: 22px; margin-bottom: 10px; }
.exam-group > h3 .pill { vertical-align: middle; }
.exam-list__items { list-style: none; margin: 0; padding: 0; }
.exam-item {
  background: #ffffff; border: 3px solid #dce4f0; border-radius: 16px;
  box-shadow: 0 3px 0 rgba(20, 58, 107, 0.08),
                    0 6px 16px rgba(20, 58, 107, 0.08); padding: 14px 18px; margin-bottom: 10px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px;
}
.exam-item:hover { transform: translateY(-2px); box-shadow: 0 4px 0 rgba(20, 58, 107, 0.08),
                 0 10px 24px rgba(20, 58, 107, 0.10); }
.exam-item__title { font-weight: 800; font-size: 19px; color: #143a6b; flex: 1 1 260px; }
.exam-item__title a { color: #143a6b; }
.exam-item__meta { color: #4e5e75; font-size: 16px; font-weight: 700; white-space: nowrap; }
/* Nut "Vao thi" trong moi de (10/11/2026): desktop day sang phai, mobile full-width. */
.exam-item__cta { flex: 0 0 auto; margin-left: auto; min-height: 52px; font-size: 18px; padding: 12px 20px; }
.exam-list__note { color: #4e5e75; font-size: 16px; margin-top: 8px; }

/* Single exam card (featured exams on hub / grade / pillar pages) */
.exam-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin: 16px 0; }
.exam-card {
  background: #ffffff; border: 3px solid #dce4f0; border-radius: 20px;
  box-shadow: 0 4px 0 rgba(20, 58, 107, 0.08),
                 0 10px 24px rgba(20, 58, 107, 0.10); padding: 18px 20px;
}
.exam-card:hover { transform: translateY(-3px); box-shadow: 0 6px 0 rgba(20, 58, 107, 0.10),
                    0 16px 34px rgba(20, 58, 107, 0.16); }
.exam-card h3 { font-size: 20px; margin-bottom: 10px; }
.exam-card .btn { width: 100%; margin-top: 4px; }

/* ------------------------------------------------------------------ sample question */
.q-sample {
  background: #ffffff; border: 3px solid #dce4f0; border-radius: 16px;
  box-shadow: 0 3px 0 rgba(20, 58, 107, 0.08),
                    0 6px 16px rgba(20, 58, 107, 0.08); padding: 18px 20px; margin: 14px 0;
}
.q-sample__no { font-weight: 900; color: #143a6b; font-size: 19px; margin-bottom: 8px; }
.q-sample__content { font-size: 19px; margin-bottom: 12px; }
.q-sample__content p { margin-bottom: 8px; }
.q-sample img { border-radius: 14px; border: 2px solid #dce4f0; margin: 8px 0 12px; }
.q-sample__opts { list-style: none; margin: 0; padding: 0; }
.q-sample__opts li {
  border: 2px solid #dce4f0; border-radius: 14px;
  padding: 12px 16px; margin: 8px 0; font-size: 18px;
  display: flex; gap: 10px; align-items: baseline;
}
.q-sample__opts li:hover { border-color: #1d6fd1; background: #eaf2fd; }
.q-sample__opt-label { font-weight: 900; color: #143a6b; flex: none; }

/* ------------------------------------------------------------------ note box / answer box */
.note {
  background: #eaf2fd; border-left: 5px solid #1d6fd1;
  border-radius: 14px; padding: 14px 18px; margin: 16px 0; font-size: 18px;
}
.note--warn { background: #fff8d6; border-left-color: #ffc107; }
.note--success { background: #e6f7ee; border-left-color: #1a9e57; }
.note--orange { background: #fff3e8; border-left-color: #ff7a29; }
.note p { margin: 0 0 8px; }
.note p:last-child { margin-bottom: 0; }
.note b, .note strong { color: #143a6b; }

/* ------------------------------------------------------------------ FAQ */
.faq { margin: 16px 0; }
.faq-item {
  background: #ffffff; border: 3px solid #dce4f0; border-radius: 14px;
  box-shadow: 0 3px 0 rgba(20, 58, 107, 0.08),
                    0 6px 16px rgba(20, 58, 107, 0.08); padding: 16px 18px; margin: 10px 0;
}
.faq-item h3 { margin: 0 0 6px; font-size: 19px; }
.faq-item p { margin: 0; color: #12233f; }

/* ------------------------------------------------------------------ compare / structure tables */
.table-wrap { overflow-x: auto; margin: 14px 0; border-radius: 14px; }
table.compare, table.table-compare, table.struct {
  width: 100%; border-collapse: collapse; background: #ffffff;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 3px 0 rgba(20, 58, 107, 0.08),
                    0 6px 16px rgba(20, 58, 107, 0.08); margin: 0; font-size: 17px;
  border: 2px solid #dce4f0;
}
table.compare th, table.table-compare th, table.struct th {
  background: #143a6b; color: #fff; text-align: left;
  padding: 12px 14px; font-size: 17px; font-weight: 800;
}
table.compare td, table.table-compare td, table.struct td { padding: 12px 14px; border-top: 2px solid #dce4f0; }
table.compare td.yes, table.table-compare td.yes { color: #0f7a40; font-weight: 800; }
table.compare td.no, table.table-compare td.no { color: #4e5e75; }

/* ------------------------------------------------------------------ feature / step grids (home, course) */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 16px 0; }
.feature-card {
  background: #ffffff; border: 3px solid #dce4f0; border-radius: 20px;
  box-shadow: 0 4px 0 rgba(20, 58, 107, 0.08),
                 0 10px 24px rgba(20, 58, 107, 0.10); padding: 20px;
}
.feature-card h3 { font-size: 20px; }
.feature-card p { margin: 0; color: #4e5e75; font-size: 17px; }
.feature-card__icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
  border: 3px solid #dce4f0;
}
.feature-card__icon svg { width: 30px; height: 30px; }
.feature-card__icon--blue { background: #eaf2fd; color: #155cb4; }
.feature-card__icon--orange { background: #fff3e8; color: #e05e00; }
.feature-card__icon--green { background: #e6f7ee; color: #0f7a40; }
.feature-card__icon--yellow { background: #fff8d6; color: #6b4e00; }

.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 16px 0; }
.step-card {
  background: #ffffff; border: 3px solid #dce4f0; border-radius: 20px;
  box-shadow: 0 4px 0 rgba(20, 58, 107, 0.08),
                 0 10px 24px rgba(20, 58, 107, 0.10); padding: 20px; text-align: center;
}
.step-card__num {
  width: 48px; height: 48px; border-radius: 50%; background: #143a6b; color: #fff;
  font-size: 22px; font-weight: 900; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px; border: 3px solid #0e2a4e;
  box-shadow: 0 3px 0 rgba(20, 58, 107, 0.25);
}
.step-card p { margin: 0; color: #4e5e75; font-size: 17px; }

/* ------------------------------------------------------------------ blog */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin: 16px 0; }
.blog-card {
  background: #ffffff; border: 3px solid #dce4f0; border-radius: 20px;
  box-shadow: 0 4px 0 rgba(20, 58, 107, 0.08),
                 0 10px 24px rgba(20, 58, 107, 0.10); padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 6px 0 rgba(20, 58, 107, 0.10),
                    0 16px 34px rgba(20, 58, 107, 0.16); }
.blog-card h3 { margin: 0; }
.blog-card h3 a { color: #143a6b; }
.blog-card p { margin: 0; color: #4e5e75; font-size: 17px; }
.blog-card__thumb {
  height: 120px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: #eaf2fd; color: #155cb4; font-size: 40px; font-weight: 900;
  border: 2px solid #dce4f0; overflow: hidden; margin-bottom: 4px;
}
.blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__date { font-size: 15px; font-weight: 800; color: #4e5e75; }
.blog-post { max-width: 760px; }
.blog-post .blog-card__date { display: block; margin-bottom: 12px; }

/* CTA band at the bottom of a page */
.cta-band {
  background: #ffffff; border: 3px solid #dce4f0; border-radius: 26px;
  box-shadow: 0 4px 0 rgba(20, 58, 107, 0.08),
                 0 10px 24px rgba(20, 58, 107, 0.10); padding: 28px 24px; text-align: center; margin: 28px 0 8px;
}
.cta-band h2 { margin-top: 0; }
.cta-band p { color: #4e5e75; }
.cta-band .btn { margin: 6px 4px 0; }

/* ------------------------------------------------------------------ responsive */
/* Mobile-first base above is the 375px layout. */
@media (max-width: 700px) {
  body { font-size: 19px; }
  .wrap { padding: 14px 12px; }
  .site-header__inner { padding: 10px 12px; gap: 8px; }
  .site-nav { flex-wrap: nowrap; overflow-x: auto; width: 100%; margin-left: 0; -webkit-overflow-scrolling: touch; }
  .site-nav a { white-space: nowrap; flex: 0 0 auto; }
  .site-header .btn { width: 100%; margin-left: 0; }
  .hero { padding: 22px 18px; }
  .hero h1 { font-size: 28px; }
  h1 { font-size: 28px; }
  h2 { font-size: 23px; }
  .card { padding: 16px; }
  .btn { width: 100%; }
  .btn--inline { width: auto; }
  .exam-item__title { flex-basis: 100%; }
  table.compare, table.struct { font-size: 16px; }
  .site-footer__grid { padding-top: 28px; }
}

@media (min-width: 768px) {
  h1 { font-size: 38px; }
  .hero h1 { font-size: 38px; }
  .hero { padding: 36px; }
  .wrap { padding: 28px 24px; }
}

@media (min-width: 1024px) {
  h1 { font-size: 42px; }
  .hero h1 { font-size: 42px; }
  .hero { padding: 40px 44px; }
  /* Two-column course layout (mockup v3 pkg-layout) for wide screens. */
  .pkg-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; align-items: start; }
  .pkg-top { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; align-items: center; }
}

/* ------------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover, .card:hover, .grade-card:hover, .course-card:hover,
  .exam-card:hover, .exam-item:hover, .blog-card:hover, .chip:hover {
    transform: none;
  }
}


/* ==========================================================================
   Omni-Flagship v8.0 Tactile 3D & Google AIO / IXL Skill Tree Enhancements
   (All literal hex values — zero CSS variables)
   ========================================================================== */
.btn {
  border-bottom: 5px solid #0f4c9c;
  border-radius: 16px;
  font-weight: 900;
}
.btn:active {
  transform: translateY(3px);
}
.btn--orange {
  background: #ff6b2c;
  border-bottom: 5px solid #c2410c;
  color: #ffffff;
}
.btn--yellow {
  background: #ffc107;
  border-bottom: 5px solid #b45309;
  color: #143a6b;
}
.btn--light {
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-bottom: 5px solid #94a3b8;
  color: #143a6b;
}
.card, .grade-card, .course-card, .exam-card, .blog-card, .q-sample, .faq-item {
  border: 2px solid #e5dec9;
  border-bottom: 6px solid #cfc5ae;
  border-radius: 22px;
  background: #ffffff;
}
.aio-box {
  background: #eff6ff;
  border: 2.5px solid #93c5fd;
  border-bottom: 6px solid #2563eb;
  border-radius: 22px;
  padding: 22px;
  margin: 20px 0 28px;
}
.aio-box__tag {
  display: inline-block;
  background: #2563eb;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.aio-box h2 {
  margin-top: 0;
  font-size: 23px;
  color: #102039;
}
.aio-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  background: #ffffff;
  border: 2px solid #bfdbfe;
  border-radius: 16px;
  padding: 14px 16px;
  margin: 14px 0 0;
}
.aio-specs div {
  margin: 0;
}
.aio-specs dt {
  font-size: 13px;
  font-weight: 800;
  color: #5b6e8c;
  text-transform: uppercase;
}
.aio-specs dd {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 900;
  color: #143a6b;
}
.ixl-tree {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
  margin: 18px 0 28px;
}
.ixl-chapter {
  background: #ffffff;
  border: 2px solid #e5dec9;
  border-bottom: 6px solid #cfc5ae;
  border-radius: 20px;
  padding: 18px;
}
.ixl-chapter__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 2px dashed #e5dec9;
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.ixl-chapter__code {
  background: #fef3c7;
  color: #92400e;
  font-size: 13px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1.5px solid #f59e0b;
}
.ixl-topic-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ixl-topic-list li {
  padding: 8px 10px;
  border-radius: 12px;
  border-bottom: 1px dashed #eef2f6;
  font-size: 16.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ixl-topic-list li:last-child {
  border-bottom: none;
}
.ixl-topic-list li:hover {
  background: #fffbeb;
}
.ixl-topic-num {
  color: #1d6fd1;
  font-weight: 900;
  margin-right: 6px;
}
.btn-tts {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fffbeb;
  color: #92400e;
  border: 2px solid #f59e0b;
  border-bottom: 4px solid #b45309;
  border-radius: 12px;
  padding: 6px 14px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}
.btn-tts:active {
  transform: translateY(2px);
}
