/**
 * Level hub block styles — also loaded in the editor (SSR preview).
 * Scoped under .wp-block-lae-level-hub so cards win over default link styles.
 */

/* Keep parity with home-levels cards + design/css/tokens.css */
.wp-block-lae-level-hub {
  --accent-level: #2f6db5;
}

.wp-block-lae-level-hub[data-level='red'] {
  --accent-level: #c63b34;
}

.wp-block-lae-level-hub[data-level='yellow'] {
  --accent-level: #efb420;
}

.wp-block-lae-level-hub[data-level='green'] {
  --accent-level: #277a48;
}

.wp-block-lae-level-hub[data-level='purple'] {
  --accent-level: #7a50b8;
}

.wp-block-lae-level-hub[data-level='orange'] {
  --accent-level: #d9721e;
}

.wp-block-lae-level-hub[data-level='violet'] {
  --accent-level: #a0409b;
}

.wp-block-lae-level-hub[data-level='aqua'] {
  --accent-level: #0d9488;
}

.wp-block-lae-level-hub[data-level='maroon'] {
  --accent-level: #9f2d55;
}

.wp-block-lae-level-hub[data-level='links'] {
  --accent-level: #2f6db5;
}

.wp-block-lae-level-hub .hub-links-youtube {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0 28px;
  padding: 16px 20px;
  border: 1px solid #e8e4dc;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 245, 245, 0.9) 100%);
  box-shadow: 0 1px 0 rgba(42, 37, 33, 0.04);
  text-decoration: none !important;
  color: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.wp-block-lae-level-hub .hub-links-youtube:hover {
  border-color: #f1b0b0;
  box-shadow: 0 8px 22px rgba(198, 59, 52, 0.1);
  transform: translateY(-1px);
  text-decoration: none !important;
}

.wp-block-lae-level-hub .hub-links-youtube__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #c63b34;
  color: #fff;
}

.wp-block-lae-level-hub .hub-links-youtube__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.wp-block-lae-level-hub .hub-links-youtube__kicker {
  font: 700 11px/1.2 'Public Sans', system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c63b34;
}

.wp-block-lae-level-hub .hub-links-youtube__title {
  font: 700 17px/1.25 'Bricolage Grotesque', Georgia, serif;
  color: #2a2521;
  letter-spacing: -0.01em;
}

.wp-block-lae-level-hub .hub-links-youtube__note {
  margin-top: 2px;
  font: 500 13px/1.4 'Public Sans', system-ui, sans-serif;
  color: #6b635a;
}

.wp-block-lae-level-hub .hub-external-links {
  margin: 8px 0 28px;
}

.wp-block-lae-level-hub .hub-external-links__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wp-block-lae-level-hub .hub-external-links .hub-links-youtube {
  margin: 0;
}

.wp-block-lae-level-hub .hub-links-youtube--generic .hub-links-youtube__icon {
  background: #5b6b3a;
}

.wp-block-lae-level-hub .hub-links-youtube--generic .hub-links-youtube__kicker {
  color: #5b6b3a;
}

.wp-block-lae-level-hub .hub-links-youtube--generic .hub-links-youtube__go {
  background: rgba(91, 107, 58, 0.12);
  color: #5b6b3a;
}

.wp-block-lae-level-hub .hub-links-youtube--generic:hover {
  border-color: #c5d0a8;
  box-shadow: 0 8px 22px rgba(91, 107, 58, 0.12);
}

.wp-block-lae-level-hub .hub-links-youtube--generic:hover .hub-links-youtube__go {
  background: #5b6b3a;
  color: #fff;
}

.wp-block-lae-level-hub .hub-links-youtube__go {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(198, 59, 52, 0.1);
  color: #c63b34;
  font-size: 16px;
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease;
}

.wp-block-lae-level-hub .hub-links-youtube:hover .hub-links-youtube__go {
  background: #c63b34;
  color: #fff;
}

@media (max-width: 600px) {
  .wp-block-lae-level-hub .hub-links-youtube {
    margin-top: 22px;
    padding: 14px 16px;
    gap: 12px;
  }

  .wp-block-lae-level-hub .hub-links-youtube__title {
    font-size: 15px;
  }
}

.wp-block-lae-level-hub[data-level='listening-lab'] {
  --accent-level: #0f766e;
  --accent-level-soft: #ecfdf8;
  --accent-level-deep: #115e59;
}

.wp-block-lae-level-hub[data-level='dictation-exercises'] {
  --accent-level: #1e4d6b;
  --accent-level-soft: #e8f1f6;
  --accent-level-deep: #163a52;
}

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

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

.wp-block-lae-level-hub .hub-lessons__title {
  font-family: 'Bricolage Grotesque', Georgia, serif;
  font-weight: 700;
  font-size: 24px;
  color: #211c16;
  letter-spacing: normal;
  margin: 0;
  text-align: left;
  flex: 1 1 auto;
  min-width: 0;
}

.wp-block-lae-level-hub .hub-lessons__meta {
  font: 600 14px/1 'Public Sans', system-ui, sans-serif;
  color: #8a8377;
  margin-left: auto;
  text-align: right;
}

.wp-block-lae-level-hub .hub-lessons__grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}

.wp-block-lae-level-hub a.hub-lesson-card {
  display: flex !important;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #eae2d4;
  border-radius: 8px;
  padding: 13px 16px;
  text-decoration: none !important;
  color: #211c16 !important;
  box-sizing: border-box;
  min-width: 0;
}

.wp-block-lae-level-hub a.hub-lesson-card:hover {
  border-color: var(--accent-level, #2f6db5);
  background: #f7fafd;
  text-decoration: none !important;
  color: #211c16 !important;
}

.wp-block-lae-level-hub .hub-lesson-card__num {
  font-family: 'Bricolage Grotesque', Georgia, serif;
  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;
}

.wp-block-lae-level-hub .hub-lesson-card__title {
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: #211c16;
  min-width: 0;
}

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

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

.wp-block-lae-level-hub a.hub-lesson-card--review .hub-lesson-card__num,
.wp-block-lae-level-hub a.hub-lesson-card--review .hub-lesson-card__title {
  color: #fff;
}

.wp-block-lae-level-hub a.hub-lesson-card--review .hub-lesson-card__num {
  background: rgba(255, 255, 255, 0.18);
}

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

.wp-block-lae-level-hub .hub-practice__grid {
  display: grid !important;
  grid-template-columns: 1fr 1.7fr;
  gap: 14px;
  align-items: start;
}

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

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

.wp-block-lae-level-hub .hub-practice__card h3 {
  font-family: 'Bricolage Grotesque', Georgia, serif;
  font-weight: 700;
  font-size: 18px;
  color: #211c16;
  letter-spacing: normal;
  margin: 0 0 14px;
}

.wp-block-lae-level-hub .hub-chips {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
}

.wp-block-lae-level-hub a.hub-chip {
  display: inline-block !important;
  font-family: 'Public Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none !important;
  padding: 10px 14px;
  border-radius: 4px;
  box-sizing: border-box;
}

.wp-block-lae-level-hub a.hub-chip--fill {
  color: var(--accent-level, #2f6db5) !important;
  background: #eaf1f9;
}

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

.wp-block-lae-level-hub a.hub-chip--outline {
  font-weight: 600;
  color: #4a443b !important;
  border: 1px solid #eae2d4;
  background: #fff;
}

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

.wp-block-lae-level-hub .path-nav {
  display: flex !important;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  max-width: none;
  margin: 0;
  padding: 30px 0;
}

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

/* Next alone (e.g. Blue → Red) stays on the right edge. */
.wp-block-lae-level-hub .path-nav .path-nav__next {
  margin-left: auto;
}

/* Button color matches the level named on the label (← Orange Level → orange). */
.wp-block-lae-level-hub .path-nav a[data-nav-level='blue'] { --nav-level: #2f6db5; }
.wp-block-lae-level-hub .path-nav a[data-nav-level='red'] { --nav-level: #c63b34; }
.wp-block-lae-level-hub .path-nav a[data-nav-level='yellow'] {
  --nav-level: #efb420;
  color: #2a2521 !important;
}
.wp-block-lae-level-hub .path-nav a[data-nav-level='green'] { --nav-level: #277a48; }
.wp-block-lae-level-hub .path-nav a[data-nav-level='purple'] { --nav-level: #7a50b8; }
.wp-block-lae-level-hub .path-nav a[data-nav-level='orange'] {
  --nav-level: #d9721e;
  color: #2a2521 !important;
}
.wp-block-lae-level-hub .path-nav a[data-nav-level='violet'] { --nav-level: #a0409b; }
.wp-block-lae-level-hub .path-nav a[data-nav-level='aqua'] { --nav-level: #0d9488; }
.wp-block-lae-level-hub .path-nav a[data-nav-level='maroon'] { --nav-level: #9f2d55; }

.wp-block-lae-level-hub .path-nav a:hover {
  text-decoration: none !important;
  filter: brightness(0.95);
}

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

  .wp-block-lae-level-hub .level-hero__main {
    min-width: 0;
  }
}

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

  .wp-block-lae-level-hub .level-hero__checklist-card {
    width: 100%;
  }
}

/* ——— Listening Lab hub ——— */

.wp-block-lae-level-hub[data-level='listening-lab'] .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);
}

.wp-block-lae-level-hub[data-level='listening-lab'] .level-hero--listening .level-hero__inner::after {
  content: '';
  position: absolute;
  inset: auto -8% -40% auto;
  width: min(280px, 42vw);
  height: min(280px, 42vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.wp-block-lae-level-hub[data-level='listening-lab'] .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;
}

.wp-block-lae-level-hub[data-level='listening-lab'] .level-hero__tip-card {
  width: 280px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  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);
}

.wp-block-lae-level-hub[data-level='listening-lab'] .level-hero__tip-label {
  font: 700 11px/1 'Public Sans', system-ui, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}

.wp-block-lae-level-hub[data-level='listening-lab'] .level-hero__tip-text {
  font: 400 14.5px/1.5 'Public Sans', system-ui, sans-serif;
  color: #fff;
  margin: 0 0 16px;
  opacity: 0.95;
}

.wp-block-lae-level-hub[data-level='listening-lab'] .level-hero__tip-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.wp-block-lae-level-hub[data-level='listening-lab'] .level-hero__tip-stat-num {
  font-family: 'Bricolage Grotesque', Georgia, serif;
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  color: #fff;
}

.wp-block-lae-level-hub[data-level='listening-lab'] .level-hero__tip-stat-label {
  font: 600 13px/1 'Public Sans', system-ui, sans-serif;
  color: rgba(255, 255, 255, 0.8);
  text-transform: lowercase;
}

.wp-block-lae-level-hub[data-level='listening-lab'] .hub-lessons__grid--listening {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}

.wp-block-lae-level-hub[data-level='listening-lab'] a.hub-lesson-card--listening {
  align-items: stretch;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border-color: #d7ebe7;
  background: linear-gradient(180deg, #ffffff 0%, #f7fcfb 100%);
  box-shadow: 0 1px 0 rgba(15, 118, 110, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.wp-block-lae-level-hub[data-level='listening-lab'] a.hub-lesson-card--listening:hover {
  border-color: var(--accent-level, #0f766e);
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.12);
  transform: translateY(-2px);
}

.wp-block-lae-level-hub[data-level='listening-lab'] a.hub-lesson-card--listening .hub-lesson-card__num {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--accent-level-soft, #ecfdf8);
  color: var(--accent-level-deep, #115e59);
  border: 1px solid #c7ebe4;
  font-size: 14px;
  align-self: center;
}

.wp-block-lae-level-hub[data-level='listening-lab'] a.hub-lesson-card--listening:hover .hub-lesson-card__num {
  background: var(--accent-level, #0f766e);
  color: #fff;
  border-color: transparent;
}

.wp-block-lae-level-hub[data-level='listening-lab'] .hub-lesson-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
  justify-content: center;
}

.wp-block-lae-level-hub[data-level='listening-lab'] .hub-lesson-card__kicker {
  font: 700 11px/1.2 'Public Sans', system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b8f88;
}

.wp-block-lae-level-hub[data-level='listening-lab'] a.hub-lesson-card--listening .hub-lesson-card__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: #163532;
}

.wp-block-lae-level-hub[data-level='listening-lab'] .hub-lesson-card__go {
  align-self: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #6b8f88;
  font-size: 16px;
  transition: background 0.18s ease, color 0.18s ease;
}

.wp-block-lae-level-hub[data-level='listening-lab'] a.hub-lesson-card--listening:hover .hub-lesson-card__go {
  background: var(--accent-level-soft, #ecfdf8);
  color: var(--accent-level-deep, #115e59);
}

.wp-block-lae-level-hub[data-level='listening-lab'] .path-nav a:last-child {
  background: var(--accent-level, #0f766e);
}

@media (max-width: 900px) {
  .wp-block-lae-level-hub[data-level='listening-lab'] .level-hero__tip-card {
    width: 100%;
  }
}


/* ——— Dictation Exercises hub ——— */

.wp-block-lae-level-hub[data-level='dictation-exercises'] .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);
}

.wp-block-lae-level-hub[data-level='dictation-exercises'] .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;
}

.wp-block-lae-level-hub[data-level='dictation-exercises'] .level-hero__tip-card {
  width: 280px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  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);
}

.wp-block-lae-level-hub[data-level='dictation-exercises'] .level-hero__tip-label {
  font: 700 11px/1 'Public Sans', system-ui, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}

.wp-block-lae-level-hub[data-level='dictation-exercises'] .level-hero__tip-text {
  font: 400 14.5px/1.5 'Public Sans', system-ui, sans-serif;
  color: #fff;
  margin: 0 0 16px;
  opacity: 0.95;
}

.wp-block-lae-level-hub[data-level='dictation-exercises'] .level-hero__tip-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.wp-block-lae-level-hub[data-level='dictation-exercises'] .level-hero__tip-stat-num {
  font-family: 'Bricolage Grotesque', Georgia, serif;
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  color: #fff;
}

.wp-block-lae-level-hub[data-level='dictation-exercises'] .level-hero__tip-stat-label {
  font: 600 13px/1 'Public Sans', system-ui, sans-serif;
  color: rgba(255, 255, 255, 0.8);
}

.wp-block-lae-level-hub[data-level='dictation-exercises'] .hub-lessons__grid--dictation {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.wp-block-lae-level-hub[data-level='dictation-exercises'] a.hub-lesson-card--dictation {
  align-items: stretch;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid #d9e4ec;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
  box-shadow: 0 1px 0 rgba(30, 77, 107, 0.05);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.wp-block-lae-level-hub[data-level='dictation-exercises'] a.hub-lesson-card--dictation:hover {
  border-color: var(--accent-level, #1e4d6b);
  box-shadow: 0 12px 28px rgba(30, 77, 107, 0.14);
  transform: translateY(-2px);
}

.wp-block-lae-level-hub[data-level='dictation-exercises'] a.hub-lesson-card--dictation .hub-lesson-card__num {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-level-soft, #e8f1f6);
  color: var(--accent-level-deep, #163a52);
  border: none;
  font-size: 15px;
  align-self: center;
}

.wp-block-lae-level-hub[data-level='dictation-exercises'] a.hub-lesson-card--level-blue .hub-lesson-card__num { background: #e8f0fa; color: #2f6db5; }
.wp-block-lae-level-hub[data-level='dictation-exercises'] a.hub-lesson-card--level-red .hub-lesson-card__num { background: #f9e8e7; color: #c63b34; }
.wp-block-lae-level-hub[data-level='dictation-exercises'] a.hub-lesson-card--level-yellow .hub-lesson-card__num { background: #fbf5d9; color: #b8860b; }
.wp-block-lae-level-hub[data-level='dictation-exercises'] a.hub-lesson-card--level-green .hub-lesson-card__num { background: #e7f5ec; color: #277a48; }
.wp-block-lae-level-hub[data-level='dictation-exercises'] a.hub-lesson-card--level-purple .hub-lesson-card__num { background: #efeaf6; color: #6b4c9a; }
.wp-block-lae-level-hub[data-level='dictation-exercises'] a.hub-lesson-card--level-orange .hub-lesson-card__num { background: #f8ecdf; color: #d97706; }
.wp-block-lae-level-hub[data-level='dictation-exercises'] a.hub-lesson-card--level-violet .hub-lesson-card__num { background: #f0e9fc; color: #a0409b; }

/* English Grammar Quizzes hub — per-level card accents (same palette as dictation). */
.wp-block-lae-level-hub[data-level='english-grammar-quizzes'] .hub-lessons--grammar-level[data-level='blue'] .hub-lessons__title,
.wp-block-lae-level-hub[data-level='english-grammar-quizzes'] a.hub-lesson-card--level-blue .hub-lesson-card__title { color: #2f6db5; }
.wp-block-lae-level-hub[data-level='english-grammar-quizzes'] a.hub-lesson-card--level-blue .hub-lesson-card__num { background: #e8f0fa; color: #2f6db5; }
.wp-block-lae-level-hub[data-level='english-grammar-quizzes'] .hub-lessons--grammar-level[data-level='red'] .hub-lessons__title,
.wp-block-lae-level-hub[data-level='english-grammar-quizzes'] a.hub-lesson-card--level-red .hub-lesson-card__title { color: #c63b34; }
.wp-block-lae-level-hub[data-level='english-grammar-quizzes'] a.hub-lesson-card--level-red .hub-lesson-card__num { background: #f9e8e7; color: #c63b34; }
.wp-block-lae-level-hub[data-level='english-grammar-quizzes'] .hub-lessons--grammar-level[data-level='yellow'] .hub-lessons__title,
.wp-block-lae-level-hub[data-level='english-grammar-quizzes'] a.hub-lesson-card--level-yellow .hub-lesson-card__title { color: #b8860b; }
.wp-block-lae-level-hub[data-level='english-grammar-quizzes'] a.hub-lesson-card--level-yellow .hub-lesson-card__num { background: #fbf5d9; color: #b8860b; }
.wp-block-lae-level-hub[data-level='english-grammar-quizzes'] .hub-lessons--grammar-level[data-level='green'] .hub-lessons__title,
.wp-block-lae-level-hub[data-level='english-grammar-quizzes'] a.hub-lesson-card--level-green .hub-lesson-card__title { color: #277a48; }
.wp-block-lae-level-hub[data-level='english-grammar-quizzes'] a.hub-lesson-card--level-green .hub-lesson-card__num { background: #e7f5ec; color: #277a48; }
.wp-block-lae-level-hub[data-level='english-grammar-quizzes'] .hub-lessons--grammar-level[data-level='purple'] .hub-lessons__title,
.wp-block-lae-level-hub[data-level='english-grammar-quizzes'] a.hub-lesson-card--level-purple .hub-lesson-card__title { color: #6b4c9a; }
.wp-block-lae-level-hub[data-level='english-grammar-quizzes'] a.hub-lesson-card--level-purple .hub-lesson-card__num { background: #efeaf6; color: #6b4c9a; }
.wp-block-lae-level-hub[data-level='english-grammar-quizzes'] .hub-lessons--grammar-level[data-level='orange'] .hub-lessons__title,
.wp-block-lae-level-hub[data-level='english-grammar-quizzes'] a.hub-lesson-card--level-orange .hub-lesson-card__title { color: #d97706; }
.wp-block-lae-level-hub[data-level='english-grammar-quizzes'] a.hub-lesson-card--level-orange .hub-lesson-card__num { background: #f8ecdf; color: #d97706; }
.wp-block-lae-level-hub[data-level='english-grammar-quizzes'] .hub-lessons--grammar-level[data-level='violet'] .hub-lessons__title,
.wp-block-lae-level-hub[data-level='english-grammar-quizzes'] a.hub-lesson-card--level-violet .hub-lesson-card__title { color: #a0409b; }
.wp-block-lae-level-hub[data-level='english-grammar-quizzes'] a.hub-lesson-card--level-violet .hub-lesson-card__num { background: #f0e9fc; color: #a0409b; }

.wp-block-lae-level-hub[data-level='dictation-exercises'] .hub-lesson-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
  justify-content: center;
}

.wp-block-lae-level-hub[data-level='dictation-exercises'] .hub-lesson-card__kicker {
  font: 700 11px/1.2 'Public Sans', system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6a7f8f;
}

.wp-block-lae-level-hub[data-level='dictation-exercises'] a.hub-lesson-card--dictation .hub-lesson-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #152833;
}

.wp-block-lae-level-hub[data-level='dictation-exercises'] .hub-lesson-card__go {
  align-self: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #6a7f8f;
  font-size: 16px;
}

.wp-block-lae-level-hub[data-level='dictation-exercises'] a.hub-lesson-card--dictation:hover .hub-lesson-card__go {
  background: var(--accent-level-soft, #e8f1f6);
  color: var(--accent-level-deep, #163a52);
}

.wp-block-lae-level-hub[data-level='dictation-exercises'] .path-nav a:last-child {
  background: var(--accent-level, #1e4d6b);
}

@media (max-width: 900px) {
  .wp-block-lae-level-hub[data-level='dictation-exercises'] .level-hero__tip-card {
    width: 100%;
  }
}

/* ——— Level Reading Room ——— */

.wp-block-lae-level-hub.level-hub-page--reading-room .level-hero--reading-room .level-hero__inner {
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 40px color-mix(in srgb, var(--accent-level, #2f6db5) 28%, transparent);
}

.wp-block-lae-level-hub.level-hub-page--reading-room .level-hero--reading-room .level-hero__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(255, 255, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(0, 0, 0, 0.14), transparent 50%);
  pointer-events: none;
}

.wp-block-lae-level-hub.level-hub-page--reading-room .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;
  position: relative;
  z-index: 1;
}

.wp-block-lae-level-hub.level-hub-page--reading-room .level-hero__tip-card {
  width: 280px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  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);
}

.wp-block-lae-level-hub.level-hub-page--reading-room .level-hero__tip-label {
  font: 700 11px/1 'Public Sans', system-ui, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}

.wp-block-lae-level-hub.level-hub-page--reading-room .level-hero__tip-text {
  font: 400 14.5px/1.5 'Public Sans', system-ui, sans-serif;
  color: #fff;
  margin: 0 0 16px;
  opacity: 0.95;
}

.wp-block-lae-level-hub.level-hub-page--reading-room .level-hero__tip-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.wp-block-lae-level-hub.level-hub-page--reading-room .level-hero__tip-stat-num {
  font-family: 'Bricolage Grotesque', Georgia, serif;
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  color: #fff;
}

.wp-block-lae-level-hub.level-hub-page--reading-room .level-hero__tip-stat-label {
  font: 600 13px/1 'Public Sans', system-ui, sans-serif;
  color: rgba(255, 255, 255, 0.8);
}

.wp-block-lae-level-hub.level-hub-page--reading-room .hub-lessons__grid--reading-room {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.wp-block-lae-level-hub.level-hub-page--reading-room a.hub-lesson-card--reading {
  align-items: stretch;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border-color: color-mix(in srgb, var(--accent-level, #2f6db5) 18%, #eae2d4);
  background: linear-gradient(180deg, #ffffff 0%, #f7fafd 100%);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.wp-block-lae-level-hub.level-hub-page--reading-room a.hub-lesson-card--reading:hover {
  border-color: var(--accent-level, #2f6db5);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent-level, #2f6db5) 16%, transparent);
  transform: translateY(-2px);
  background: #fff;
}

.wp-block-lae-level-hub.level-hub-page--reading-room a.hub-lesson-card--reading .hub-lesson-card__num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent-level, #2f6db5) 12%, #fff);
  color: var(--accent-level, #2f6db5);
  align-self: center;
}

.wp-block-lae-level-hub.level-hub-page--reading-room .hub-lesson-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
  justify-content: center;
}

.wp-block-lae-level-hub.level-hub-page--reading-room .hub-lesson-card__kicker {
  font: 700 11px/1.2 'Public Sans', system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a8377;
}

.wp-block-lae-level-hub.level-hub-page--reading-room a.hub-lesson-card--reading .hub-lesson-card__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: #211c16;
}

.wp-block-lae-level-hub.level-hub-page--reading-room .hub-lesson-card__go {
  align-self: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #8a8377;
  font-size: 16px;
}

.wp-block-lae-level-hub.level-hub-page--reading-room a.hub-lesson-card--reading:hover .hub-lesson-card__go {
  background: color-mix(in srgb, var(--accent-level, #2f6db5) 12%, #fff);
  color: var(--accent-level, #2f6db5);
}

/* Instructions card — numbered steps above related CTAs. */
.wp-block-lae-level-hub.level-hub-page--reading-room .hub-instructions {
  margin: 0 0 1.25rem;
  padding: 1.25rem 1.35rem 1.15rem;
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent-level-soft, #eef4fb) 72%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent-level, #2f6db5) 18%, #e8e4dc);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--accent-level, #2f6db5) 8%, transparent);
}

.wp-block-lae-level-hub.level-hub-page--reading-room .hub-instructions__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.95rem;
}

.wp-block-lae-level-hub.level-hub-page--reading-room .hub-instructions__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  color: var(--accent-level, #2f6db5);
  background: color-mix(in srgb, var(--accent-level, #2f6db5) 12%, #fff);
}

.wp-block-lae-level-hub.level-hub-page--reading-room .hub-instructions__title {
  margin: 0;
  font: 700 1.15rem/1.2 'Bricolage Grotesque', Georgia, serif;
  color: #211c16;
  letter-spacing: -0.01em;
}

.wp-block-lae-level-hub.level-hub-page--reading-room .hub-instructions__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.wp-block-lae-level-hub.level-hub-page--reading-room .hub-instructions__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid color-mix(in srgb, var(--accent-level, #2f6db5) 10%, #ece7df);
}

.wp-block-lae-level-hub.level-hub-page--reading-room .hub-instructions__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  font: 700 0.82rem/1 'Public Sans', system-ui, sans-serif;
  color: #fff;
  background: var(--accent-level, #2f6db5);
}

.wp-block-lae-level-hub.level-hub-page--reading-room .hub-instructions__text {
  font: 500 1rem/1.55 'Public Sans', system-ui, sans-serif;
  color: #2b2926;
}

@media (max-width: 640px) {
  .wp-block-lae-level-hub.level-hub-page--reading-room .hub-instructions {
    padding: 1rem 1rem 0.95rem;
  }
}

@media (min-width: 900px) {
  .wp-block-lae-level-hub.level-hub-page--reading-room .hub-instructions__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .wp-block-lae-level-hub.level-hub-page--reading-room .level-hero__tip-card {
    width: 100%;
  }
}

/* ——— Write in English / Think in English ——— */

.wp-block-lae-level-hub[data-level='write-in-english'] {
  --accent-level: #3f5f6b;
  --accent-level-soft: #eef4f6;
  --accent-level-deep: #2c4550;
}

.wp-block-lae-level-hub[data-level='think-in-english'] {
  --accent-level: #4a5d4e;
  --accent-level-soft: #eef3ef;
  --accent-level-deep: #344338;
}

.wp-block-lae-level-hub[data-level='write-in-english'] .level-hero--write .level-hero__inner,
.wp-block-lae-level-hub[data-level='think-in-english'] .level-hero--think .level-hero__inner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(255, 255, 255, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(0, 0, 0, 0.18), transparent 50%),
    linear-gradient(135deg, var(--accent-level-deep) 0%, var(--accent-level) 55%, color-mix(in srgb, var(--accent-level) 70%, #000) 100%);
  box-shadow: 0 18px 40px color-mix(in srgb, var(--accent-level) 28%, transparent);
}

.wp-block-lae-level-hub[data-level='write-in-english'] .level-hero__icon,
.wp-block-lae-level-hub[data-level='think-in-english'] .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;
}

.wp-block-lae-level-hub[data-level='write-in-english'] .level-hero__tip-card,
.wp-block-lae-level-hub[data-level='think-in-english'] .level-hero__tip-card {
  width: 280px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  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);
}

.wp-block-lae-level-hub[data-level='write-in-english'] .level-hero__tip-label,
.wp-block-lae-level-hub[data-level='think-in-english'] .level-hero__tip-label {
  font: 700 11px/1 'Public Sans', system-ui, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}

.wp-block-lae-level-hub[data-level='think-in-english'] .level-hero__tip-list {
  margin: 0 0 12px;
  padding-left: 1.25em;
  font: 500 14px/1.45 'Public Sans', system-ui, sans-serif;
  color: #fff;
  opacity: 0.95;
}

.wp-block-lae-level-hub[data-level='think-in-english'] .level-hero__tip-list li {
  margin: 0 0 0.35em;
}

.wp-block-lae-level-hub[data-level='think-in-english'] .level-hero__tip-list li:last-child {
  margin-bottom: 0;
}

.wp-block-lae-level-hub[data-level='write-in-english'] .level-hero__tip-text,
.wp-block-lae-level-hub[data-level='think-in-english'] .level-hero__tip-text {
  font: 400 14.5px/1.5 'Public Sans', system-ui, sans-serif;
  color: #fff;
  margin: 0 0 16px;
  opacity: 0.95;
}

.wp-block-lae-level-hub[data-level='write-in-english'] .level-hero__tip-stat,
.wp-block-lae-level-hub[data-level='think-in-english'] .level-hero__tip-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.wp-block-lae-level-hub[data-level='write-in-english'] .level-hero__tip-stat-num,
.wp-block-lae-level-hub[data-level='think-in-english'] .level-hero__tip-stat-num {
  font-family: 'Bricolage Grotesque', Georgia, serif;
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  color: #fff;
}

.wp-block-lae-level-hub[data-level='write-in-english'] .level-hero__tip-stat-label,
.wp-block-lae-level-hub[data-level='think-in-english'] .level-hero__tip-stat-label {
  font: 600 13px/1 'Public Sans', system-ui, sans-serif;
  color: rgba(255, 255, 255, 0.8);
}

.wp-block-lae-level-hub[data-level='write-in-english'] .hub-lessons__grid--write,
.wp-block-lae-level-hub[data-level='think-in-english'] .hub-lessons__grid--think {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.wp-block-lae-level-hub[data-level='write-in-english'] a.hub-lesson-card--write,
.wp-block-lae-level-hub[data-level='think-in-english'] a.hub-lesson-card--think {
  align-items: stretch;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border-color: color-mix(in srgb, var(--accent-level) 16%, #eae2d4);
  background: linear-gradient(180deg, #ffffff 0%, var(--accent-level-soft) 100%);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.wp-block-lae-level-hub[data-level='write-in-english'] a.hub-lesson-card--write:hover,
.wp-block-lae-level-hub[data-level='think-in-english'] a.hub-lesson-card--think:hover {
  border-color: var(--accent-level);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent-level) 16%, transparent);
  transform: translateY(-2px);
  background: #fff;
}

.wp-block-lae-level-hub[data-level='write-in-english'] a.hub-lesson-card--write .hub-lesson-card__num,
.wp-block-lae-level-hub[data-level='think-in-english'] a.hub-lesson-card--think .hub-lesson-card__num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-level-soft);
  color: var(--accent-level-deep);
  align-self: center;
}

.wp-block-lae-level-hub[data-level='write-in-english'] .hub-lesson-card__body,
.wp-block-lae-level-hub[data-level='think-in-english'] .hub-lesson-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
  justify-content: center;
}

.wp-block-lae-level-hub[data-level='write-in-english'] .hub-lesson-card__kicker,
.wp-block-lae-level-hub[data-level='think-in-english'] .hub-lesson-card__kicker {
  font: 700 11px/1.2 'Public Sans', system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a858a;
}

.wp-block-lae-level-hub[data-level='write-in-english'] a.hub-lesson-card--write .hub-lesson-card__title,
.wp-block-lae-level-hub[data-level='think-in-english'] a.hub-lesson-card--think .hub-lesson-card__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: #1f2a2e;
}

.wp-block-lae-level-hub[data-level='write-in-english'] .hub-lesson-card__go,
.wp-block-lae-level-hub[data-level='think-in-english'] .hub-lesson-card__go {
  align-self: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #7a858a;
  font-size: 16px;
}

.wp-block-lae-level-hub[data-level='write-in-english'] a.hub-lesson-card--write:hover .hub-lesson-card__go,
.wp-block-lae-level-hub[data-level='think-in-english'] a.hub-lesson-card--think:hover .hub-lesson-card__go {
  background: var(--accent-level-soft);
  color: var(--accent-level-deep);
}

.wp-block-lae-level-hub[data-level='write-in-english'] .path-nav a:last-child,
.wp-block-lae-level-hub[data-level='think-in-english'] .path-nav a:last-child {
  background: var(--accent-level);
}

@media (max-width: 900px) {
  .wp-block-lae-level-hub[data-level='write-in-english'] .level-hero__tip-card,
  .wp-block-lae-level-hub[data-level='think-in-english'] .level-hero__tip-card {
    width: 100%;
  }
}

/* ——— Section topic hubs (pronunciation, conversations, video, tests, vocabulary, slang) ——— */
.wp-block-lae-level-hub[data-level='pronunciation'],
.wp-block-lae-level-hub[data-level='conversations'],
.wp-block-lae-level-hub[data-level='conversation-questions'],
.wp-block-lae-level-hub[data-level='video-lessons'],
.wp-block-lae-level-hub[data-level='tests-quizzes'],
.wp-block-lae-level-hub[data-level='prepositions-quizzes'],
.wp-block-lae-level-hub[data-level='prepositions'],
.wp-block-lae-level-hub[data-level='word-of-the-day-quizzes'],
.wp-block-lae-level-hub[data-level='vocabulary'],
.wp-block-lae-level-hub[data-level='american-slang'] {
  --accent-level: #3f5f6b;
  --accent-level-soft: #eef4f6;
  --accent-level-deep: #2c4550;
}
.wp-block-lae-level-hub[data-level='pronunciation'] { --accent-level: #2f6b5a; --accent-level-soft: #eef6f3; --accent-level-deep: #21483d; }
.wp-block-lae-level-hub[data-level='conversations'],
.wp-block-lae-level-hub[data-level='conversation-questions'] { --accent-level: #5a4a6b; --accent-level-soft: #f3eef6; --accent-level-deep: #3f334c; }
.wp-block-lae-level-hub[data-level='video-lessons'] { --accent-level: #1e4d6b; --accent-level-soft: #eaf3f8; --accent-level-deep: #143446; }
.wp-block-lae-level-hub[data-level='tests-quizzes'] { --accent-level: #8a4b2a; --accent-level-soft: #f8efe8; --accent-level-deep: #5c321c; }
.wp-block-lae-level-hub[data-level='prepositions-quizzes'],
.wp-block-lae-level-hub[data-level='prepositions'] { --accent-level: #0f766e; --accent-level-soft: #ecfdf8; --accent-level-deep: #115e59; }
.wp-block-lae-level-hub[data-level='word-of-the-day-quizzes'] { --accent-level: #3d5a6c; --accent-level-soft: #eef3f6; --accent-level-deep: #2a414d; }
.wp-block-lae-level-hub[data-level='vocabulary'] { --accent-level: #3d5a6c; --accent-level-soft: #eef3f6; --accent-level-deep: #2a414d; }
.wp-block-lae-level-hub[data-level='american-slang'] { --accent-level: #6b4c2f; --accent-level-soft: #f6f0ea; --accent-level-deep: #46321f; }
.wp-block-lae-level-hub[data-level='american-expressions'] { --accent-level: #3d5a6c; --accent-level-soft: #eef3f6; --accent-level-deep: #2a414d; }
.wp-block-lae-level-hub[data-level='stuff-for-teachers'] { --accent-level: #5b6b3a; --accent-level-soft: #f3f5ec; --accent-level-deep: #3f4a28; }
.wp-block-lae-level-hub[data-level='american-speech'] { --accent-level: #7a3e2e; --accent-level-soft: #f7efe9; --accent-level-deep: #53291f; }

.wp-block-lae-level-hub .level-hero--topic .level-hero__inner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(255, 255, 255, 0.16), transparent 55%),
    linear-gradient(135deg, var(--accent-level-deep, #115e59) 0%, var(--accent-level, #0f766e) 55%, color-mix(in srgb, var(--accent-level, #0f766e) 70%, #000) 100%);
  box-shadow: 0 18px 40px color-mix(in srgb, var(--accent-level, #0f766e) 28%, transparent);
}

.wp-block-lae-level-hub .level-hero__intro {
  margin: 0.65rem 0 0;
  max-width: 38rem;
}

.wp-block-lae-level-hub .level-hero__intro p {
  margin: 0 0 0.65rem;
  font-family: 'Public Sans', system-ui, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
}

.wp-block-lae-level-hub .level-hero__intro p:last-child {
  margin-bottom: 0;
}

.wp-block-lae-level-hub .level-hero__intro u {
  text-underline-offset: 2px;
}

.wp-block-lae-level-hub[data-level='pronunciation'] .level-hero__tip-card,
.wp-block-lae-level-hub[data-level='conversations'] .level-hero__tip-card,
.wp-block-lae-level-hub[data-level='video-lessons'] .level-hero__tip-card,
.wp-block-lae-level-hub[data-level='tests-quizzes'] .level-hero__tip-card,
.wp-block-lae-level-hub[data-level='prepositions-quizzes'] .level-hero__tip-card,
.wp-block-lae-level-hub[data-level='prepositions'] .level-hero__tip-card,
.wp-block-lae-level-hub[data-level='vocabulary'] .level-hero__tip-card,
.wp-block-lae-level-hub[data-level='american-slang'] .level-hero__tip-card,
.wp-block-lae-level-hub[data-level='american-expressions'] .level-hero__tip-card,
.wp-block-lae-level-hub[data-level='idioms'] .level-hero__tip-card,
.wp-block-lae-level-hub[data-level='proverbs'] .level-hero__tip-card,
.wp-block-lae-level-hub[data-level='stuff-for-teachers'] .level-hero__tip-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 14px 16px;
  color: #fff;
}
.wp-block-lae-level-hub[data-level='pronunciation'] .level-hero__tip-label,
.wp-block-lae-level-hub[data-level='conversations'] .level-hero__tip-label,
.wp-block-lae-level-hub[data-level='video-lessons'] .level-hero__tip-label,
.wp-block-lae-level-hub[data-level='tests-quizzes'] .level-hero__tip-label,
.wp-block-lae-level-hub[data-level='prepositions-quizzes'] .level-hero__tip-label,
.wp-block-lae-level-hub[data-level='prepositions'] .level-hero__tip-label,
.wp-block-lae-level-hub[data-level='vocabulary'] .level-hero__tip-label,
.wp-block-lae-level-hub[data-level='american-slang'] .level-hero__tip-label {
  font: 700 11px/1.2 'Public Sans', system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 6px;
}
.wp-block-lae-level-hub[data-level='pronunciation'] .level-hero__tip-text,
.wp-block-lae-level-hub[data-level='conversations'] .level-hero__tip-text,
.wp-block-lae-level-hub[data-level='video-lessons'] .level-hero__tip-text,
.wp-block-lae-level-hub[data-level='tests-quizzes'] .level-hero__tip-text,
.wp-block-lae-level-hub[data-level='prepositions-quizzes'] .level-hero__tip-text,
.wp-block-lae-level-hub[data-level='prepositions'] .level-hero__tip-text,
.wp-block-lae-level-hub[data-level='vocabulary'] .level-hero__tip-text,
.wp-block-lae-level-hub[data-level='american-slang'] .level-hero__tip-text {
  font: 500 14px/1.45 'Public Sans', system-ui, sans-serif;
  opacity: 0.95;
}
.wp-block-lae-level-hub[data-level='pronunciation'] .level-hero__tip-list {
  margin: 0 0 12px;
  padding-left: 1.25em;
  font: 500 14px/1.45 'Public Sans', system-ui, sans-serif;
  opacity: 0.95;
}
.wp-block-lae-level-hub[data-level='pronunciation'] .level-hero__tip-list li {
  margin: 0 0 0.35em;
}
.wp-block-lae-level-hub[data-level='pronunciation'] .level-hero__tip-list li:last-child {
  margin-bottom: 0;
}
.wp-block-lae-level-hub[data-level='pronunciation'] .level-hero__tip-cta {
  margin: 0;
}
.wp-block-lae-level-hub[data-level='pronunciation'] .level-hero__tip-cta a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}
.wp-block-lae-level-hub[data-level='pronunciation'] .level-hero__tip-stat,
.wp-block-lae-level-hub[data-level='conversations'] .level-hero__tip-stat,
.wp-block-lae-level-hub[data-level='video-lessons'] .level-hero__tip-stat,
.wp-block-lae-level-hub[data-level='tests-quizzes'] .level-hero__tip-stat,
.wp-block-lae-level-hub[data-level='prepositions-quizzes'] .level-hero__tip-stat,
.wp-block-lae-level-hub[data-level='prepositions'] .level-hero__tip-stat,
.wp-block-lae-level-hub[data-level='vocabulary'] .level-hero__tip-stat,
.wp-block-lae-level-hub[data-level='american-slang'] .level-hero__tip-stat {
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.wp-block-lae-level-hub[data-level='pronunciation'] .level-hero__tip-stat-num,
.wp-block-lae-level-hub[data-level='conversations'] .level-hero__tip-stat-num,
.wp-block-lae-level-hub[data-level='video-lessons'] .level-hero__tip-stat-num,
.wp-block-lae-level-hub[data-level='tests-quizzes'] .level-hero__tip-stat-num,
.wp-block-lae-level-hub[data-level='prepositions-quizzes'] .level-hero__tip-stat-num,
.wp-block-lae-level-hub[data-level='prepositions'] .level-hero__tip-stat-num,
.wp-block-lae-level-hub[data-level='vocabulary'] .level-hero__tip-stat-num,
.wp-block-lae-level-hub[data-level='american-slang'] .level-hero__tip-stat-num {
  font: 800 28px/1 'Public Sans', system-ui, sans-serif;
}
.wp-block-lae-level-hub[data-level='pronunciation'] .level-hero__tip-stat-label,
.wp-block-lae-level-hub[data-level='conversations'] .level-hero__tip-stat-label,
.wp-block-lae-level-hub[data-level='video-lessons'] .level-hero__tip-stat-label,
.wp-block-lae-level-hub[data-level='tests-quizzes'] .level-hero__tip-stat-label,
.wp-block-lae-level-hub[data-level='prepositions-quizzes'] .level-hero__tip-stat-label,
.wp-block-lae-level-hub[data-level='prepositions'] .level-hero__tip-stat-label,
.wp-block-lae-level-hub[data-level='vocabulary'] .level-hero__tip-stat-label,
.wp-block-lae-level-hub[data-level='american-slang'] .level-hero__tip-stat-label {
  font: 600 12px/1.2 'Public Sans', system-ui, sans-serif;
  opacity: 0.85;
}

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

.wp-block-lae-level-hub 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) 16%, #eae2d4);
  background: linear-gradient(180deg, #ffffff 0%, var(--accent-level-soft) 100%);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.wp-block-lae-level-hub a.hub-lesson-card--topic:hover {
  border-color: var(--accent-level);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent-level) 16%, transparent);
  transform: translateY(-2px);
  background: #fff;
}
.wp-block-lae-level-hub a.hub-lesson-card--topic .hub-lesson-card__num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-level-soft);
  color: var(--accent-level-deep);
  align-self: center;
}
.wp-block-lae-level-hub a.hub-lesson-card--topic .hub-lesson-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
  justify-content: center;
}
.wp-block-lae-level-hub a.hub-lesson-card--topic .hub-lesson-card__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: #1f2a2e;
}
.wp-block-lae-level-hub a.hub-lesson-card--topic .hub-lesson-card__note {
  display: block;
  margin-top: 2px;
  font: 500 12.5px/1.4 'Public Sans', system-ui, sans-serif;
  color: #6b7378;
  text-transform: none;
  letter-spacing: normal;
}
.wp-block-lae-level-hub a.hub-lesson-card--topic .hub-lesson-card__kicker {
  font: 700 11px/1.2 'Public Sans', system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a858a;
}
.wp-block-lae-level-hub 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;
  color: #7a858a;
  font-size: 18px;
  line-height: 1;
  transform: translateY(-0.5px);
}
.wp-block-lae-level-hub a.hub-lesson-card--topic:hover .hub-lesson-card__go {
  background: var(--accent-level-soft);
  color: var(--accent-level-deep);
}

/* Vocabulary — equal-size picture cards (prod Food / Vocabulary: 5 across on desktop) */
.wp-block-lae-level-hub .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) {
  .wp-block-lae-level-hub .hub-lessons__grid--vocab-images {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .wp-block-lae-level-hub .hub-lessons__grid--vocab-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.wp-block-lae-level-hub 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 color-mix(in srgb, #1a2a33 6%, transparent);
  min-height: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.wp-block-lae-level-hub 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 color-mix(in srgb, #1a2a33 12%, transparent);
  background: #fff;
}
.wp-block-lae-level-hub 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;
}
.wp-block-lae-level-hub 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;
}
.wp-block-lae-level-hub 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;
}
.wp-block-lae-level-hub a.hub-lesson-card--vocab-image:hover .hub-lesson-card__title {
  text-decoration: none;
  color: var(--accent-level, #2f6db5);
}

/* ——— Video Lessons: paginated embed grid ——— */
.wp-block-lae-level-hub .hub-videos {
  margin: 1.75rem 0 2rem;
  padding: 0 0 1.5rem;
  border-bottom: 1px solid color-mix(in srgb, var(--accent-level, #1e4d6b) 14%, #eae2d4);
}
.wp-block-lae-level-hub .hub-videos.is-loading {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.wp-block-lae-level-hub .hub-videos__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}
.wp-block-lae-level-hub .hub-videos__title {
  margin: 0;
  font: 800 1.25rem/1.25 'Public Sans', system-ui, sans-serif;
  color: var(--accent-level-deep, #143446);
}
.wp-block-lae-level-hub .hub-videos__meta {
  margin: 0;
  font: 600 0.75rem/1.3 'Public Sans', system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7a858a;
}
.wp-block-lae-level-hub .hub-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.wp-block-lae-level-hub .hub-video-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
}
.wp-block-lae-level-hub .hub-video-card__media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent-level, #1e4d6b) 14%, #eae2d4);
  background: #0f1c24;
}
.wp-block-lae-level-hub .hub-video-card__media .lae-yt-lite {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
}
.wp-block-lae-level-hub .hub-video-card__media .lae-yt-lite__button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #000;
  position: relative;
}
.wp-block-lae-level-hub .hub-video-card__media .lae-yt-lite__thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wp-block-lae-level-hub .hub-video-card__media .lae-yt-lite__play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 3rem;
  height: 3rem;
  margin: -1.5rem 0 0 -1.5rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}
.wp-block-lae-level-hub .hub-video-card__media .lae-yt-lite__play::before {
  content: '';
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-35%, -50%);
  border-style: solid;
  border-width: 0.55rem 0 0.55rem 0.9rem;
  border-color: transparent transparent transparent #fff;
}
.wp-block-lae-level-hub .hub-video-card__media .lae-yt-lite iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.wp-block-lae-level-hub .hub-video-card__title {
  font: 600 0.9375rem/1.4 'Public Sans', system-ui, sans-serif;
  color: #1f2a2e;
  text-decoration: none;
}
.wp-block-lae-level-hub a.hub-video-card__title:hover {
  color: var(--accent-level-deep, #143446);
  text-decoration: underline;
}
.wp-block-lae-level-hub .hub-video-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 0.85rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
}
.wp-block-lae-level-hub .hub-video-pager__btn,
.wp-block-lae-level-hub a.hub-video-pager__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--accent-level-deep, #143446);
  font: 700 0.875rem/1 'Public Sans', system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.wp-block-lae-level-hub a.hub-video-pager__btn:hover,
.wp-block-lae-level-hub a.hub-video-pager__page:hover {
  background: var(--accent-level-soft, #eaf3f8);
}
.wp-block-lae-level-hub .hub-video-pager__btn.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.wp-block-lae-level-hub a.hub-video-pager__page.is-active {
  background: var(--accent-level, #1e4d6b);
  color: #fff;
}
.wp-block-lae-level-hub .hub-video-pager__pages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wp-block-lae-level-hub .hub-video-pager__gap {
  display: inline-flex;
  align-items: center;
  padding: 0 0.2rem;
  color: #9aa3a8;
}
.wp-block-lae-level-hub .hub-video-pager__status {
  min-width: 3.5rem;
  font: 600 0.75rem/1 'Public Sans', system-ui, sans-serif;
  color: #7a858a;
}
.wp-block-lae-level-hub .hub-video-empty {
  margin: 0;
  color: #7a858a;
}

@media (max-width: 640px) {
  .wp-block-lae-level-hub .hub-video-grid {
    grid-template-columns: 1fr;
  }
}

/* American Speech — archive title + child chips */
.wp-block-lae-level-hub .hub-lessons--speech { padding-top: 28px; }
.wp-block-lae-level-hub .hub-speech { display: flex; flex-direction: column; gap: 28px; }
.wp-block-lae-level-hub .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;
}
.wp-block-lae-level-hub .hub-speech-section__title:hover { color: var(--accent-level, #7a3e2e); text-decoration: none; }
.wp-block-lae-level-hub .hub-speech-section__title--static {
  cursor: default;
  pointer-events: none;
}
.wp-block-lae-level-hub .hub-speech-section__title--static:hover { color: #211c16; }
.wp-block-lae-level-hub .hub-speech-section__title-text {
  font-family: 'Bricolage Grotesque', var(--font-display, sans-serif);
  font-weight: 700; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em;
}
.wp-block-lae-level-hub .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;
}
.wp-block-lae-level-hub .hub-speech-section__title:hover .hub-speech-section__title-go {
  background: var(--accent-level-soft, #f7efe9); color: var(--accent-level-deep, #53291f);
}
.wp-block-lae-level-hub .hub-speech-section__list { display: flex; flex-wrap: wrap; gap: 8px; }
.wp-block-lae-level-hub .hub-speech-section__list--entries {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px;
}
.wp-block-lae-level-hub .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', sans-serif;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.wp-block-lae-level-hub .hub-speech-chip--letter {
  font-family: 'Bricolage Grotesque', var(--font-display, sans-serif);
  font-weight: 800; font-size: 15px; min-width: 46px; min-height: 46px;
}
.wp-block-lae-level-hub .hub-speech-section__list--entries .hub-speech-chip {
  justify-content: flex-start; font-weight: 600; padding: 12px 14px;
}
.wp-block-lae-level-hub .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;
}

/* Ready hub components used on Expressions related footer. */
.wp-block-lae-level-hub .hub-note {
  max-width: none;
  margin: 0 0 14px;
  padding: 0;
  font: 500 15px/1.6 'Public Sans', system-ui, sans-serif;
  color: #5f594f;
}

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

.wp-block-lae-level-hub .hub-tests {
  max-width: none;
  margin: 8px 0 0;
  padding: 8px 0 22px;
}

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

.wp-block-lae-level-hub .hub-tests__copy {
  min-width: 0;
  flex: 1 1 240px;
}

.wp-block-lae-level-hub .hub-tests__label {
  font-family: 'Bricolage Grotesque', Georgia, serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  color: #211c16;
  margin: 0 0 6px;
}

.wp-block-lae-level-hub .hub-tests__copy .hub-note {
  margin: 0;
}

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

.wp-block-lae-level-hub a.hub-tests__btn {
  display: inline-block !important;
  font-family: 'Bricolage Grotesque', Georgia, serif;
  font-weight: 700;
  font-size: 15px;
  line-height: normal;
  padding: 14px 22px;
  border-radius: 6px;
  text-decoration: none !important;
  border: none;
}

.wp-block-lae-level-hub a.hub-tests__btn--primary {
  color: #fff !important;
  background: #211c16;
}

.wp-block-lae-level-hub a.hub-tests__btn--primary:hover {
  filter: brightness(0.95);
  text-decoration: none !important;
}

.wp-block-lae-level-hub[data-level='american-expressions'] a.hub-chip--fill {
  color: var(--accent-level, #3d5a6c) !important;
  background: var(--accent-level-soft, #eef3f6);
}

.wp-block-lae-level-hub[data-level='american-expressions'] a.hub-chip--fill:hover {
  background: var(--accent-level, #3d5a6c);
  color: #fff !important;
}

/* Idioms hub intro + yellow CTA stack (prod #FFFFCC parity) */
.wp-block-lae-level-hub[data-level='idioms'],
.wp-block-lae-level-hub[data-level='idioms-quizzes'],
.wp-block-lae-level-hub[data-level='proverbs'] {
  --accent-level: #3d5a6c;
  --accent-level-soft: #eef3f6;
  --accent-level-deep: #2a414d;
}

/* Intro prose + related cards (same lesson-card system as letter grids). */
.wp-block-lae-level-hub .hub-callouts {
  max-width: none;
  width: 100%;
  margin: 0 0 1.5rem;
  padding: 0;
  box-sizing: border-box;
}

.wp-block-lae-level-hub .hub-callouts__prose {
  margin: 0 0 1.15rem;
  max-width: none;
  width: 100%;
}

.wp-block-lae-level-hub .hub-callouts__prose p {
  margin: 0 0 0.85rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text, #1c1917);
}

.wp-block-lae-level-hub .hub-callouts__prose p:last-child {
  margin-bottom: 0;
}

.wp-block-lae-level-hub .hub-callouts__grid {
  margin: 0;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .wp-block-lae-level-hub .hub-callouts__grid {
    grid-template-columns: 1fr;
  }
}

.wp-block-lae-level-hub a.hub-lesson-card--callout {
  min-height: 5.25rem;
}

.wp-block-lae-level-hub a.hub-lesson-card--callout .hub-lesson-card__note {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.45;
  color: #5f686d;
}

.wp-block-lae-level-hub .hub-footer-cta {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.5;
}

.wp-block-lae-level-hub .hub-footer-cta a {
  color: var(--accent-level, #2f6db5);
  font-weight: 600;
  text-decoration: underline;
}

/* Conversation Questions — prod table: topic | image */
.wp-block-lae-level-hub .hub-lessons--cq-table {
  margin-top: 0.25rem;
}

.wp-block-lae-level-hub .hub-cq-table-wrap {
  max-width: 32rem;
  margin: 0.5rem auto 0;
  padding: 0.35rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, var(--accent-level-soft, #f3eef6) 140%);
  border: 1px solid color-mix(in srgb, var(--accent-level, #5a4a6b) 14%, #e8e4dc);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 12px 28px color-mix(in srgb, var(--accent-level, #5a4a6b) 10%, transparent);
}

.wp-block-lae-level-hub .hub-cq-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  border: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
}

.wp-block-lae-level-hub .hub-cq-table tr {
  transition: background-color 0.16s ease;
}

.wp-block-lae-level-hub .hub-cq-table tr:nth-child(even) {
  background: color-mix(in srgb, var(--accent-level-soft, #f3eef6) 55%, #fff);
}

.wp-block-lae-level-hub .hub-cq-table tr:hover {
  background: color-mix(in srgb, var(--accent-level-soft, #f3eef6) 88%, #fff);
}

.wp-block-lae-level-hub .hub-cq-table tr + tr td {
  border-top: 1px solid color-mix(in srgb, var(--accent-level, #5a4a6b) 10%, #ece8e1);
}

.wp-block-lae-level-hub .hub-cq-table td {
  padding: 0.95rem 1.15rem;
  vertical-align: middle;
  border: 0;
}

.wp-block-lae-level-hub .hub-cq-table__topic {
  width: 46%;
  text-align: center;
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.2rem);
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.wp-block-lae-level-hub .hub-cq-table__topic a {
  color: var(--accent-level-deep, #3f334c);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.wp-block-lae-level-hub .hub-cq-table__topic a:hover,
.wp-block-lae-level-hub .hub-cq-table__topic a:focus-visible {
  color: var(--accent-level, #5a4a6b);
  text-decoration: underline;
}

.wp-block-lae-level-hub .hub-cq-table__media {
  text-align: center;
}

.wp-block-lae-level-hub .hub-cq-table__thumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 0.35rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent-level-soft, #f3eef6) 40%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent-level, #5a4a6b) 12%, #e8e4dc);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.wp-block-lae-level-hub .hub-cq-table tr:hover .hub-cq-table__thumb {
  border-color: color-mix(in srgb, var(--accent-level, #5a4a6b) 28%, #e8e4dc);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--accent-level, #5a4a6b) 16%, transparent);
  transform: translateY(-1px);
}

.wp-block-lae-level-hub .hub-cq-table__thumb img {
  display: block;
  max-width: min(100%, 210px);
  max-height: 168px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

@media (max-width: 640px) {
  .wp-block-lae-level-hub .hub-cq-table-wrap {
    padding: 0.2rem;
    border-radius: 14px;
  }

  .wp-block-lae-level-hub .hub-cq-table td {
    padding: 0.7rem 0.55rem;
  }

  .wp-block-lae-level-hub .hub-cq-table__topic {
    width: 40%;
    font-size: 0.98rem;
  }

  .wp-block-lae-level-hub .hub-cq-table__thumb {
    padding: 0.25rem;
    border-radius: 10px;
  }

  .wp-block-lae-level-hub .hub-cq-table__thumb img {
    max-width: min(100%, 148px);
    max-height: 128px;
  }
}


