/* Level hub — exact type/spacing from newDesign/blue-level.dc.html */

.level-hero {
  max-width: none;
  margin: 0;
  padding: 22px 0 8px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.level-hero::before {
  display: none;
}

.level-hero__inner {
  background: var(--accent-level, #2f6db5);
  border-radius: 12px;
  padding: 36px 40px;
  color: #fff;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* Override legacy components.css dark text on colored banners */
.level-hero:not(.level-hero--yellow) .level-hero__inner .level-hero__title,
.level-hero:not(.level-hero--yellow) .level-hero__inner .level-hero__lead,
.level-hero:not(.level-hero--yellow) .level-hero__inner .level-hero__lesson-line,
.level-hero:not(.level-hero--yellow) .level-hero__inner .level-hero__checklist-text,
.level-hero:not(.level-hero--yellow) .level-hero__inner .level-hero__num,
.level-hero:not(.level-hero--yellow) .level-hero__inner .level-hero__badge {
  color: #fff;
}

.level-hero:not(.level-hero--yellow) .level-hero__inner .level-hero__badge {
  background: rgba(255, 255, 255, 0.2);
  border: none;
}

.level-hero--yellow .level-hero__inner {
  color: #2a2521;
}

.level-hero--yellow .level-hero__lesson-line,
.level-hero--yellow .level-hero__lead,
.level-hero--yellow .level-hero__checklist-text {
  opacity: 1;
  color: #2a2521;
}

.level-hero--yellow .level-hero__num {
  opacity: 0.8;
}

.level-hero__main {
  flex: 1;
  min-width: 320px;
}

.level-hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.level-hero__num {
  font-family: 'Bricolage Grotesque', var(--font-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  opacity: 0.6;
}

.level-hero__badge {
  font: 700 11px/1 'Public Sans', var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 999px;
}

.level-hero__lesson-line {
  display: none;
}

.level-hero__title {
  font-family: 'Bricolage Grotesque', var(--font-display);
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.level-hero__lead {
  font-family: 'Public Sans', var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  max-width: 560px;
  margin: 0;
  opacity: 0.95;
}

.level-hero__intro {
  margin: 0.65rem 0 0;
  max-width: 38rem;
}

.level-hero__intro p {
  margin: 0 0 0.65rem;
  font-family: 'Public Sans', var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: inherit;
  opacity: 0.95;
}

.level-hero__intro p:last-child {
  margin-bottom: 0;
}

.level-hero__intro u {
  text-underline-offset: 2px;
}

.level-hero__lead a {
  color: inherit;
}

.level-hero__checklist-card {
  width: 280px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 20px;
}

.level-hero--yellow .level-hero__checklist-card {
  background: rgba(42, 37, 33, 0.08);
}

.level-hero--yellow .level-hero__checklist-btn {
  color: #2a2521;
}

.level-hero__checklist-text {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.95;
  margin-bottom: 16px;
}

.level-hero__checklist-label {
  font: 700 12px/1 'Public Sans', var(--font-sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 10px;
}

.level-hero__checklist-btn {
  display: block;
  text-align: center;
  box-sizing: border-box;
  font-family: 'Bricolage Grotesque', var(--font-display);
  font-weight: 700;
  font-size: 14px;
  line-height: normal;
  color: var(--accent-level, #2f6db5);
  background: #fff;
  padding: 12px;
  border-radius: 6px;
  text-decoration: none;
}

.level-hero__checklist-btn:hover {
  text-decoration: none;
  filter: brightness(0.97);
}

.hub-lessons {
  max-width: none;
  margin: 0;
  padding: 30px 0 8px;
}

.hub-lessons__head {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 12px 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  text-align: left;
}

.hub-lessons__title {
  font-family: 'Bricolage Grotesque', var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: #211c16;
  letter-spacing: normal;
  margin: 0;
  text-align: left;
  flex: 1 1 auto;
  min-width: 0;
}

.hub-lessons__meta {
  font: 600 14px/1 'Public Sans', var(--font-sans);
  color: #8a8377;
  margin-left: auto;
}

.hub-lessons__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 10px;
}

.hub-lesson-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #eae2d4;
  border-radius: 8px;
  padding: 13px 16px;
  text-decoration: none;
  color: #211c16;
}

.hub-lesson-card:hover {
  border-color: var(--accent-level, #2f6db5);
  background: #f7fafd;
  text-decoration: none;
}

.hub-lesson-card__num {
  font-family: 'Bricolage Grotesque', var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--accent-level, #2f6db5);
  width: 34px;
  height: 34px;
  background: #eaf1f9;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hub-lesson-card__title {
  font-family: 'Public Sans', var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: #211c16;
}

.hub-lesson-card--review {
  background: var(--accent-level, #2f6db5);
  border-color: transparent;
}

.hub-lesson-card--review:hover {
  background: color-mix(in srgb, var(--accent-level, #2f6db5) 88%, #000);
}

.hub-lesson-card--review .hub-lesson-card__num,
.hub-lesson-card--review .hub-lesson-card__title {
  color: #fff;
}

.hub-lesson-card--review .hub-lesson-card__num {
  background: rgba(255, 255, 255, 0.18);
}

.hub-practice {
  max-width: none;
  margin: 0;
  padding: 30px 0 8px;
}

.hub-practice__grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 14px;
  align-items: start;
}

.hub-practice__grid > .hub-practice__card:only-child {
  grid-column: 1 / -1;
}

.hub-practice__card {
  background: #fff;
  border: 1px solid #eae2d4;
  border-radius: 10px;
  padding: 20px;
}

.hub-practice__card h3 {
  font-family: 'Bricolage Grotesque', var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: #211c16;
  letter-spacing: normal;
  margin: 0 0 14px;
}

.hub-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hub-chip {
  font-family: 'Public Sans', var(--font-sans);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 4px;
}

.hub-chip--fill {
  color: var(--accent-level, #2f6db5);
  background: #eaf1f9;
}

.hub-chip--fill:hover {
  background: var(--accent-level, #2f6db5);
  color: #fff;
  text-decoration: none;
}

.hub-chip--outline {
  font-weight: 600;
  color: #4a443b;
  border: 1px solid #eae2d4;
  border-radius: 999px;
  padding: 9px 13px;
}

.hub-chip--outline:hover {
  border-color: var(--accent-level, #2f6db5);
  color: var(--accent-level, #2f6db5);
  text-decoration: none;
}

.hub-note {
  max-width: none;
  margin: 24px 0 0;
  padding: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #5f594f;
}

.hub-note a {
  color: var(--accent-level, #2f6db5);
}

.hub-tests {
  max-width: none;
  margin: 0;
  padding: 30px 0;
}

.hub-tests__inner {
  background: #f4eee1;
  border-radius: 12px;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.hub-tests__label {
  font-family: 'Bricolage Grotesque', var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: #211c16;
}

.hub-tests__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.hub-tests__btn {
  display: inline-block;
  font-family: 'Bricolage Grotesque', var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: normal;
  padding: 14px 22px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
}

.hub-tests__btn--primary {
  color: #fff;
  background: #211c16;
}

.hub-tests__btn--secondary {
  color: #211c16;
  background: #efe7d6;
  border: none;
}

.hub-tests__btn:hover {
  text-decoration: none;
  filter: brightness(0.95);
}

/* path-nav on level hubs — blue-level.dc.html */
.path-nav.page-section,
.level-hub + .path-nav,
.path-nav {
  max-width: none;
  margin: 0;
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: none;
  flex-wrap: wrap;
}

.path-nav a {
  display: inline-block;
  font-family: 'Bricolage Grotesque', var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: normal;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 6px;
  color: #fff;
  background: var(--nav-level, var(--accent-level, #c63b34));
}

/* Solo back/next (CQ hubs etc.) — center like prod. */
.path-nav:has(> :only-child) {
  justify-content: center;
}

.path-nav__arrow {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 700;
}

/* Target level color (not current page accent). Solo next → right edge. */
.path-nav .path-nav__next {
  margin-left: auto;
}

.path-nav a[data-nav-level='blue'] { --nav-level: #2f6db5; }
.path-nav a[data-nav-level='red'] { --nav-level: #c63b34; }
.path-nav a[data-nav-level='yellow'] {
  --nav-level: #efb420;
  color: #2a2521;
}
.path-nav a[data-nav-level='green'] { --nav-level: #277a48; }
.path-nav a[data-nav-level='purple'] { --nav-level: #7a50b8; }
.path-nav a[data-nav-level='orange'] {
  --nav-level: #d9721e;
  color: #2a2521;
}
.path-nav a[data-nav-level='violet'] { --nav-level: #a0409b; }
.path-nav a[data-nav-level='aqua'] { --nav-level: #0d9488; }
.path-nav a[data-nav-level='maroon'] { --nav-level: #9f2d55; }

/* Legacy first/last only when data-nav-level is absent (non-curriculum hubs). */
.path-nav a:first-child:not([data-nav-level]) {
  color: #211c16;
  background: #efe7d6;
}

.path-nav a:last-child:not([data-nav-level]) {
  color: #fff;
  background: var(--accent-level, #c63b34);
  padding: 14px 22px;
}

.path-nav a:hover {
  text-decoration: none;
  filter: brightness(0.95);
}

@media (max-width: 900px) {
  .hub-practice__grid {
    grid-template-columns: 1fr;
  }

  .level-hero__main {
    min-width: 0;
  }

  .level-hero__inner {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .hub-lessons__grid {
    grid-template-columns: 1fr;
  }

  .level-hero__checklist-card {
    width: 100%;
  }

  .level-hero__main {
    min-width: 0;
  }
}

/* Listening Lab — section hub accent */
.level-hero--listening .level-hero__inner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(255, 255, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(0, 0, 0, 0.18), transparent 50%),
    linear-gradient(135deg, #0f766e 0%, #0d9488 48%, #115e59 100%);
  box-shadow: 0 18px 40px rgba(15, 118, 110, 0.22);
}

.level-hero--listening .level-hero__tip-card {
  width: 280px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 20px;
}

.level-hero--listening .level-hero__tip-label {
  font: 700 11px/1 'Public Sans', var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}

.level-hero--listening .level-hero__tip-text {
  font: 400 14.5px/1.5 'Public Sans', var(--font-sans);
  color: #fff;
  margin: 0 0 16px;
  opacity: 0.95;
}

.level-hero--listening .level-hero__tip-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.level-hero--listening .level-hero__tip-stat-num {
  font-family: 'Bricolage Grotesque', var(--font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  color: #fff;
}

.level-hero--listening .level-hero__tip-stat-label {
  font: 600 13px/1 'Public Sans', var(--font-sans);
  color: rgba(255, 255, 255, 0.8);
}

.level-hero--listening .level-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

@media (max-width: 900px) {
  .level-hero--listening .level-hero__tip-card {
    width: 100%;
  }
}

.level-hero--dictation .level-hero__inner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 100% 10%, rgba(255, 255, 255, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(0, 0, 0, 0.2), transparent 50%),
    linear-gradient(135deg, #1e4d6b 0%, #2a6285 50%, #163a52 100%);
  box-shadow: 0 18px 40px rgba(30, 77, 107, 0.24);
}

.level-hero--dictation .level-hero__tip-card {
  width: 280px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 20px;
}

.level-hero--dictation .level-hero__tip-label {
  font: 700 11px/1 'Public Sans', var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}

.level-hero--dictation .level-hero__tip-text {
  font: 400 14.5px/1.5 'Public Sans', var(--font-sans);
  color: #fff;
  margin: 0 0 16px;
  opacity: 0.95;
}

.level-hero--dictation .level-hero__tip-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.level-hero--dictation .level-hero__tip-stat-num {
  font-family: 'Bricolage Grotesque', var(--font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  color: #fff;
}

.level-hero--dictation .level-hero__tip-stat-label {
  font: 600 13px/1 'Public Sans', var(--font-sans);
  color: rgba(255, 255, 255, 0.8);
}

.level-hero--dictation .level-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

@media (max-width: 900px) {
  .level-hero--dictation .level-hero__tip-card {
    width: 100%;
  }
}

/* Topic hubs — Tests & Quizzes, Vocabulary, Slang, Pronunciation, Conversations… */
.level-hub-page[data-level='pronunciation'],
.wp-block-lae-level-hub[data-level='pronunciation'] {
  --accent-level: #5b4a8a;
  --accent-level-soft: #f1edf8;
  --accent-level-deep: #3d3260;
}
.level-hub-page[data-level='conversations'],
.wp-block-lae-level-hub[data-level='conversations'] {
  --accent-level: #2f6db5;
  --accent-level-soft: #eaf1f9;
  --accent-level-deep: #1e4d7a;
}
.level-hub-page[data-level='video-lessons'],
.wp-block-lae-level-hub[data-level='video-lessons'] {
  --accent-level: #1e4d6b;
  --accent-level-soft: #eaf3f8;
  --accent-level-deep: #143446;
}
.level-hub-page[data-level='tests-quizzes'],
.wp-block-lae-level-hub[data-level='tests-quizzes'] {
  --accent-level: #8a4b2a;
  --accent-level-soft: #f8efe8;
  --accent-level-deep: #5c321c;
}
.level-hub-page[data-level='prepositions-quizzes'],
.wp-block-lae-level-hub[data-level='prepositions-quizzes'],
.level-hub-page[data-level='prepositions'],
.wp-block-lae-level-hub[data-level='prepositions'] {
  --accent-level: #0f766e;
  --accent-level-soft: #ecfdf8;
  --accent-level-deep: #115e59;
}
.level-hub-page[data-level='word-of-the-day-quizzes'],
.wp-block-lae-level-hub[data-level='word-of-the-day-quizzes'] {
  --accent-level: #3d5a6c;
  --accent-level-soft: #eef3f6;
  --accent-level-deep: #2a414d;
}
.level-hub-page[data-level='vocabulary'],
.wp-block-lae-level-hub[data-level='vocabulary'] {
  --accent-level: #3d5a6c;
  --accent-level-soft: #eef3f6;
  --accent-level-deep: #2a414d;
}
.level-hub-page[data-level='american-slang'],
.wp-block-lae-level-hub[data-level='american-slang'] {
  --accent-level: #6b4c2f;
  --accent-level-soft: #f6f0ea;
  --accent-level-deep: #46321f;
}
.level-hub-page[data-level='american-expressions'],
.wp-block-lae-level-hub[data-level='american-expressions'] {
  --accent-level: #3d5a6c;
  --accent-level-soft: #eef3f6;
  --accent-level-deep: #2a414d;
}
.level-hub-page[data-level='american-speech'],
.wp-block-lae-level-hub[data-level='american-speech'] {
  --accent-level: #7a3e2e;
  --accent-level-soft: #f7efe9;
  --accent-level-deep: #53291f;
}

.level-hero--topic .level-hero__inner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(255, 255, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(0, 0, 0, 0.18), transparent 50%),
    linear-gradient(
      135deg,
      var(--accent-level-deep, #5c321c) 0%,
      var(--accent-level, #8a4b2a) 48%,
      color-mix(in srgb, var(--accent-level, #8a4b2a) 72%, #000) 100%
    );
  box-shadow: 0 18px 40px color-mix(in srgb, var(--accent-level, #8a4b2a) 24%, transparent);
}

.level-hero--topic .level-hero__tip-card {
  width: 280px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(6px);
}

.level-hero--topic .level-hero__tip-label {
  font: 700 11px/1 'Public Sans', var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}

.level-hero--topic .level-hero__tip-text {
  font: 400 14.5px/1.5 'Public Sans', var(--font-sans);
  color: #fff;
  margin: 0 0 16px;
  opacity: 0.95;
}

.level-hero--topic .level-hero__tip-list {
  margin: 0 0 12px;
  padding-left: 1.25em;
  font: 400 14.5px/1.5 'Public Sans', var(--font-sans);
  color: #fff;
  opacity: 0.95;
}

.level-hero--topic .level-hero__tip-list li {
  margin: 0 0 0.35em;
}

.level-hero--topic .level-hero__tip-list li:last-child {
  margin-bottom: 0;
}

.level-hero--topic .level-hero__tip-cta {
  margin: 0 0 16px;
}

.level-hero--topic .level-hero__tip-cta a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}

.level-hero--topic .level-hero__tip-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.level-hero--topic .level-hero__tip-stat-num {
  font-family: 'Bricolage Grotesque', var(--font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  color: #fff;
}

.level-hero--topic .level-hero__tip-stat-label {
  font: 600 13px/1 'Public Sans', var(--font-sans);
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 900px) {
  .level-hero--topic .level-hero__tip-card {
    width: 100%;
  }
}

.hub-lessons__grid--topic {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

a.hub-lesson-card--topic {
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border-color: color-mix(in srgb, var(--accent-level, #8a4b2a) 16%, #eae2d4);
  background: linear-gradient(180deg, #ffffff 0%, var(--accent-level-soft, #f8efe8) 100%);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

a.hub-lesson-card--topic:hover {
  border-color: var(--accent-level, #8a4b2a);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent-level, #8a4b2a) 16%, transparent);
  transform: translateY(-2px);
  background: #fff;
  text-decoration: none;
}

a.hub-lesson-card--topic .hub-lesson-card__num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-level-soft, #f8efe8);
  color: var(--accent-level-deep, #5c321c);
  align-self: center;
}

a.hub-lesson-card--topic .hub-lesson-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
  justify-content: center;
}

a.hub-lesson-card--topic .hub-lesson-card__kicker {
  font: 700 11px/1.2 'Public Sans', var(--font-sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a858a;
}

a.hub-lesson-card--topic .hub-lesson-card__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: #1f2a2e;
}

a.hub-lesson-card--topic .hub-lesson-card__go {
  margin-left: auto;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 18px;
  line-height: 1;
  transform: translateY(-0.5px);
  color: #7a858a;
}

a.hub-lesson-card--topic:hover .hub-lesson-card__go {
  background: var(--accent-level-soft, #f8efe8);
  color: var(--accent-level-deep, #5c321c);
}

/* Vocabulary — equal-size picture cards (prod Food / Vocabulary: 5 across on desktop) */
.hub-lessons__grid--vocab-images {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.15rem 1rem;
  align-items: stretch;
}
@media (max-width: 960px) {
  .hub-lessons__grid--vocab-images {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .hub-lessons__grid--vocab-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
a.hub-lesson-card--vocab-image {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  text-align: center;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--accent-level, #2f6db5) 16%, #e6e0d6);
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(26, 42, 51, 0.06);
  min-height: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
a.hub-lesson-card--vocab-image:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent-level, #2f6db5) 40%, #e6e0d6);
  box-shadow: 0 10px 24px rgba(26, 42, 51, 0.12);
  background: #fff;
}
a.hub-lesson-card--vocab-image .hub-lesson-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
  background: #fff;
}
a.hub-lesson-card--vocab-image .hub-lesson-card__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  display: block;
}
a.hub-lesson-card--vocab-image .hub-lesson-card__title {
  margin: 0;
  padding: 0.7rem 0.65rem 0.85rem;
  font: 700 0.92rem/1.3 'Public Sans', system-ui, sans-serif;
  color: var(--accent-level-deep, #143446);
  letter-spacing: 0.01em;
}
a.hub-lesson-card--vocab-image:hover .hub-lesson-card__title {
  text-decoration: none;
  color: var(--accent-level, #2f6db5);
}

/* American Speech — archive title + child chips (prod layout) */
.hub-lessons--speech {
  padding-top: 28px;
}

.hub-speech {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hub-speech-section__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  color: #211c16;
  margin: 0 0 12px;
  padding: 4px 0;
}

.hub-speech-section__title:hover {
  color: var(--accent-level, #7a3e2e);
  text-decoration: none;
}

.hub-speech-section__title--static {
  cursor: default;
  pointer-events: none;
}

.hub-speech-section__title--static:hover {
  color: #211c16;
}

.hub-speech-section__title-text {
  font-family: 'Bricolage Grotesque', var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.hub-speech-section__title-go {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #8a8377;
  background: #f4eee1;
}

.hub-speech-section__title:hover .hub-speech-section__title-go {
  background: var(--accent-level-soft, #f7efe9);
  color: var(--accent-level-deep, #53291f);
}

.hub-speech-section__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hub-speech-section__list--entries {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.hub-speech-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #eae2d4;
  background: #fff;
  color: #211c16;
  text-decoration: none;
  font: 600 14px/1.2 'Public Sans', var(--font-sans);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.hub-speech-chip--letter {
  font-family: 'Bricolage Grotesque', var(--font-display);
  font-weight: 800;
  font-size: 15px;
  min-width: 46px;
  min-height: 46px;
}

.hub-speech-section__list--entries .hub-speech-chip {
  justify-content: flex-start;
  font-weight: 600;
  padding: 12px 14px;
}

.hub-speech-chip:hover {
  border-color: var(--accent-level, #7a3e2e);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--accent-level, #7a3e2e) 14%, transparent);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--accent-level-deep, #53291f);
  background: #fff;
}
