/* ============================================================
   Learn Finnish with FinMigrants — Series Stylesheet
   ============================================================ */

/* ── Series header bar ────────────────────────────────────── */
.lf-series-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #003580;
  color: #fff;
  border-radius: 10px;
  padding: 14px 22px;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}
.lf-series-bar__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  opacity: .8;
}
.lf-series-bar__week {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}
.lf-series-bar__phase {
  font-size: 12px;
  background: rgba(255,255,255,.15);
  border-radius: 20px;
  padding: 4px 12px;
}

/* ── Progress bar ─────────────────────────────────────────── */
.lf-progress-wrap {
  margin-bottom: 8px;
}
.lf-progress-wrap__label {
  font-size: 12px;
  color: #fff;
  opacity: .7;
  margin-bottom: 4px;
}
.lf-progress-track {
  height: 6px;
  background: rgba(255,255,255,.2);
  border-radius: 10px;
  width: 180px;
  overflow: hidden;
}
.lf-progress-fill {
  height: 100%;
  background: #fbbf24;
  border-radius: 10px;
  transition: width .6s ease;
}

/* ── Series nav (prev / next) ─────────────────────────────── */
.lf-series-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 40px 0 32px;
}
.lf-series-nav a {
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  background: #f0f4ff;
  border: 1.5px solid #c7d5f7;
  border-radius: 10px;
  text-decoration: none;
  color: #1e293b;
  transition: background .2s, border-color .2s;
}
.lf-series-nav a:hover { background: #e0e9ff; border-color: #003580; }
.lf-series-nav__dir  { font-size: 11px; font-weight: 700; color: #003580; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.lf-series-nav__title { font-size: 14px; font-weight: 600; }
.lf-series-nav a:last-child { text-align: right; }

/* ── Section dividers ─────────────────────────────────────── */
.lf-section {
  margin: 40px 0;
}
.lf-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8ecf4;
}
.lf-section-title .lf-icon {
  font-size: 22px;
}

/* ── FinMigrants Tip box ──────────────────────────────────── */
.lf-tip-box {
  background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 100%);
  border-left: 4px solid #b44706;
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin: 28px 0;
  font-size: 15px;
  line-height: 1.7;
}
.lf-tip-box__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #b44706;
  margin-bottom: 6px;
}

/* ── Vocabulary flip cards ────────────────────────────────── */
.lf-vocab-intro {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 16px;
}
.lf-vocab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.lf-card {
  height: 110px;
  perspective: 800px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.lf-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.lf-card.is-flipped .lf-card__inner {
  transform: rotateY(180deg);
}
.lf-card__front,
.lf-card__back {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  text-align: center;
}
.lf-card__front {
  background: #003580;
  color: #fff;
  border: 2px solid #003580;
}
.lf-card__back {
  background: #fff;
  color: #1e293b;
  border: 2px solid #003580;
  transform: rotateY(180deg);
}
.lf-card__fi {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .02em;
}
.lf-card__hint {
  font-size: 10px;
  opacity: .6;
  margin-top: 4px;
  font-style: italic;
}
.lf-card__en {
  font-size: 15px;
  font-weight: 700;
  color: #003580;
}
.lf-card__pron {
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
  font-style: italic;
}
.lf-card.is-known .lf-card__front {
  background: #166534;
  border-color: #166534;
}
.lf-card.is-known .lf-card__back {
  border-color: #166534;
}
.lf-card.is-known .lf-card__en { color: #166534; }

/* vocab progress counter */
.lf-vocab-progress {
  font-size: 13px;
  color: #64748b;
  margin-top: 8px;
}
.lf-vocab-progress strong { color: #003580; }

/* vocab controls */
.lf-vocab-controls {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.lf-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity .2s;
}
.lf-btn:hover { opacity: .85; }
.lf-btn--primary   { background: #003580; color: #fff; }
.lf-btn--secondary { background: #f1f5f9; color: #1e293b; border: 1.5px solid #cbd5e1; }
.lf-btn--success   { background: #166534; color: #fff; }

/* ── Danger pairs table ───────────────────────────────────── */
.lf-pairs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.lf-pair-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fafafa;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
}
.lf-pair-card__words {
  font-size: 17px;
  font-weight: 800;
}
.lf-pair-card__vs {
  font-size: 11px;
  font-weight: 700;
  color: #b44706;
  background: #fff7ed;
  border-radius: 20px;
  padding: 2px 8px;
}
.lf-pair-card__meanings {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

/* ── Cities practice table ────────────────────────────────── */
.lf-city-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.lf-city-table th {
  background: #003580;
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.lf-city-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #e8ecf4;
}
.lf-city-table tr:last-child td { border-bottom: none; }
.lf-city-table tr:nth-child(even) td { background: #f8faff; }
.wrong { color: #dc2626; text-decoration: line-through; }

/* ── Syllable highlighter ─────────────────────────────────── */
.lf-syllable-word {
  display: inline-flex;
  gap: 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
}
.lf-syllable-word .syl {
  position: relative;
  transition: background .2s;
  border-radius: 3px;
  padding: 0 1px;
}
.lf-syllable-word .syl:nth-child(odd)  { background: transparent; }
.lf-syllable-word .syl:nth-child(even) { background: rgba(0,53,128,.1); }
.lf-syllable-word.active .syl:nth-child(odd)  { background: rgba(0,53,128,.15); }
.lf-syllable-word.active .syl:nth-child(even) { background: rgba(0,53,128,.35); color: #fff; }
.lf-syllable-dash { color: #003580; font-weight: 400; }

/* ── Quiz ─────────────────────────────────────────────────── */
.lf-quiz {
  background: #f8faff;
  border: 1.5px solid #c7d5f7;
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
}
.lf-quiz__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.lf-quiz__title {
  font-size: 18px;
  font-weight: 800;
  color: #1e293b;
}
.lf-quiz__score-badge {
  font-size: 13px;
  background: #003580;
  color: #fff;
  border-radius: 20px;
  padding: 4px 14px;
  font-weight: 700;
}
.lf-quiz__q {
  display: none;
}
.lf-quiz__q.is-active {
  display: block;
}
.lf-quiz__question {
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
}
.lf-quiz__question span {
  display: inline-block;
  background: #003580;
  color: #fff;
  border-radius: 6px;
  padding: 2px 10px;
  font-style: italic;
}
.lf-quiz__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.lf-quiz__opt {
  padding: 12px 16px;
  border-radius: 8px;
  border: 2px solid #c7d5f7;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s, background .15s;
}
.lf-quiz__opt:hover:not(:disabled) { border-color: #003580; background: #f0f4ff; }
.lf-quiz__opt.correct  { border-color: #16a34a; background: #f0fdf4; color: #166534; }
.lf-quiz__opt.wrong    { border-color: #dc2626; background: #fef2f2; color: #991b1b; }
.lf-quiz__opt:disabled { cursor: default; }
.lf-quiz__feedback {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  min-height: 24px;
}
.lf-quiz__feedback.correct { color: #166534; }
.lf-quiz__feedback.wrong   { color: #991b1b; }
.lf-quiz__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}
.lf-quiz__counter {
  font-size: 13px;
  color: #64748b;
}
.lf-quiz__result {
  display: none;
  text-align: center;
  padding: 16px;
}
.lf-quiz__result.is-active { display: block; }
.lf-quiz__result-score {
  font-size: 48px;
  font-weight: 900;
  color: #003580;
}
.lf-quiz__result-label {
  font-size: 18px;
  font-weight: 700;
  margin: 8px 0 16px;
}
.lf-quiz__result-msg {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 20px;
}

/* ── Practice reveal section ──────────────────────────────── */
.lf-practice {
  margin: 32px 0;
}
.lf-practice__item {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 12px;
}
.lf-practice__q {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 10px;
}
.lf-practice__input {
  width: 100%;
  border: 1.5px solid #c7d5f7;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  margin-bottom: 8px;
  box-sizing: border-box;
  font-family: inherit;
}
.lf-practice__input:focus { outline: none; border-color: #003580; }
.lf-practice__answer {
  display: none;
  margin-top: 8px;
  padding: 10px 14px;
  background: #f0fdf4;
  border-radius: 6px;
  border-left: 3px solid #16a34a;
  font-size: 14px;
  font-weight: 600;
  color: #166534;
}
.lf-practice__answer.is-shown { display: block; }

/* ── CTA next week ────────────────────────────────────────── */
.lf-next-week-cta {
  background: linear-gradient(135deg, #003580 0%, #1d4ed8 100%);
  color: #fff;
  border-radius: 12px;
  padding: 28px 32px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.lf-next-week-cta__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .7;
  margin-bottom: 6px;
}
.lf-next-week-cta__title {
  font-size: 20px;
  font-weight: 800;
}
.lf-next-week-cta__desc {
  font-size: 14px;
  opacity: .8;
  margin-top: 4px;
}
.lf-next-week-cta a {
  background: #fff;
  color: #003580;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s;
}
.lf-next-week-cta a:hover { opacity: .85; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .lf-vocab-grid          { grid-template-columns: repeat(2, 1fr); }
  .lf-quiz__options       { grid-template-columns: 1fr; }
  .lf-series-nav          { grid-template-columns: 1fr; }
  .lf-next-week-cta       { flex-direction: column; }
  .lf-progress-track      { width: 120px; }
}

/* ── Level-up toast ────────────────────────────────────────── */
.lf-toast {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99999;
	padding: 14px 22px;
	background: linear-gradient(135deg, #003580 0%, #0f6e44 60%, #22b06e 100%);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
	transform: translateY(20px);
	opacity: 0;
	transition: transform .3s ease, opacity .3s ease;
	pointer-events: none;
	max-width: 320px;
}
.lf-toast.is-shown {
	transform: translateY(0);
	opacity: 1;
}
@media (max-width: 600px) {
	.lf-toast {
		right: 16px;
		left: 16px;
		bottom: 16px;
		max-width: none;
		text-align: center;
	}
}

/* ── Interactive exercises ─────────────────────────────────────── */
.lf-exercise {
	background: #fff;
	border: 1px solid #e1e4e8;
	border-radius: 12px;
	padding: 20px 22px;
	margin: 24px 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.lf-exercise__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
	gap: 12px;
}
.lf-exercise__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: linear-gradient(135deg, #003580, #0f6e44);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 5px 12px;
	border-radius: 999px;
	letter-spacing: .3px;
}
.lf-exercise__actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 12px;
}
.lf-exercise__feedback {
	margin-top: 10px;
	font-size: 14px;
	font-weight: 600;
	min-height: 22px;
}
.lf-exercise__feedback.is-ok  { color: #166534; }
.lf-exercise__feedback.is-bad { color: #b91c1c; }

/* Match */
.lf-match__progress { font-size: 13px; color: #5c6774; font-weight: 600; }
.lf-match__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 12px;
}
.lf-match__col {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.lf-match__btn {
	width: 100%;
	padding: 12px 14px;
	background: #f6f8fa;
	border: 2px solid #e1e4e8;
	border-radius: 8px;
	color: #1f2328;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	text-align: left;
	transition: all .15s ease;
	font-family: inherit;
}
.lf-match__col[data-side="fi"] .lf-match__btn { color: #003580; }
.lf-match__btn:hover    { border-color: #003580; transform: translateY(-1px); }
.lf-match__btn.is-selected {
	border-color: #003580;
	background: #e6efff;
	box-shadow: 0 0 0 3px rgba(0, 53, 128, .15);
}
.lf-match__btn.is-matched {
	background: #dcfce7;
	border-color: #166534;
	color: #166534;
	cursor: default;
	pointer-events: none;
	opacity: .85;
}
.lf-match__btn.is-wrong {
	background: #fee2e2;
	border-color: #b91c1c;
	animation: lf-shake .35s ease;
}
@keyframes lf-shake {
	0%,100% { transform: translateX(0); }
	25%     { transform: translateX(-4px); }
	75%     { transform: translateX(4px); }
}
.lf-match__reset {
	background: none;
	border: 1px solid #d0d7de;
	color: #5c6774;
	font-size: 12px;
	padding: 6px 12px;
	border-radius: 6px;
	cursor: pointer;
	font-family: inherit;
}
.lf-match__reset:hover { color: #003580; border-color: #003580; }

/* Blank / Translate / Listen — shared inputs */
.lf-blank__sentence {
	font-size: 17px;
	line-height: 1.6;
	color: #1f2328;
	margin: 0 0 6px;
}
.lf-blank__hint   { font-size: 13px; color: #5c6774; font-style: italic; }
.lf-blank__input,
.lf-listen__input {
	display: inline-block;
	font-size: 16px;
	font-weight: 600;
	color: #003580;
	border: none;
	border-bottom: 2px solid #003580;
	background: transparent;
	padding: 4px 8px;
	min-width: 120px;
	outline: none;
	font-family: inherit;
}
.lf-listen__input { width: 100%; max-width: 100%; }
.lf-translate__prompt { font-size: 17px; color: #1f2328; margin-bottom: 10px; }
.lf-translate__input {
	width: 100%;
	padding: 12px;
	border: 2px solid #e1e4e8;
	border-radius: 8px;
	font-size: 15px;
	font-family: inherit;
	resize: vertical;
}
.lf-translate__input:focus,
.lf-listen__input:focus,
.lf-blank__input:focus { border-color: #003580; }
.lf-blank__input.is-ok,
.lf-translate__input.is-ok,
.lf-listen__input.is-ok    { border-color: #166534; color: #166534; }
.lf-blank__input.is-bad,
.lf-translate__input.is-bad,
.lf-listen__input.is-bad   { border-color: #b91c1c; }

/* Primary action buttons (Check / Play) — branded gradient */
.lf-blank__check,
.lf-translate__check,
.lf-listen__check,
.lf-listen__play {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: linear-gradient(135deg, #003580 0%, #1d4ed8 100%);
	border: none;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	padding: 10px 20px;
	border-radius: 8px;
	cursor: pointer;
	font-family: inherit;
	letter-spacing: .2px;
	box-shadow: 0 2px 6px rgba(0, 53, 128, .25);
	transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.lf-blank__check:hover,
.lf-translate__check:hover,
.lf-listen__check:hover,
.lf-listen__play:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 10px rgba(0, 53, 128, .32);
	filter: brightness(1.05);
}
.lf-blank__check:active,
.lf-translate__check:active,
.lf-listen__check:active,
.lf-listen__play:active {
	transform: translateY(0);
	box-shadow: 0 1px 3px rgba(0, 53, 128, .25);
}

/* Secondary reveal buttons (Show answer / Show translation) */
.lf-blank__reveal,
.lf-translate__reveal,
.lf-listen__reveal,
.lf-practice__reveal {
	background: #fff;
	border: 1.5px solid #d0d7de;
	color: #475569;
	font-size: 13px;
	font-weight: 600;
	padding: 9px 16px;
	border-radius: 8px;
	cursor: pointer;
	font-family: inherit;
	transition: all .12s ease;
}
.lf-blank__reveal:hover,
.lf-translate__reveal:hover,
.lf-listen__reveal:hover,
.lf-practice__reveal:hover {
	color: #003580;
	border-color: #003580;
	background: #f6f8fa;
}

/* Listen-specific controls */
.lf-listen__controls { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; align-items: center; }
.lf-listen__slow {
	background: #f6f8fa;
	border: 1.5px solid #d0d7de;
	color: #1f2328;
	padding: 9px 16px;
	border-radius: 8px;
	cursor: pointer;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	transition: all .12s ease;
}
.lf-listen__slow:hover { background: #e1e4e8; border-color: #003580; color: #003580; }
.lf-listen__note { font-size: 12px; color: #5c6774; margin-top: 10px; font-style: italic; }

/* Listen input — proper boxed field instead of underline */
.lf-listen__input {
	display: block;
	width: 100%;
	border: 1.5px solid #c7d5f7;
	border-bottom-width: 1.5px;
	border-radius: 8px;
	background: #fff;
	padding: 12px 14px;
	font-size: 16px;
	font-weight: 600;
	color: #003580;
	margin: 0 0 12px;
	box-sizing: border-box;
	transition: border-color .12s ease, box-shadow .12s ease;
}
.lf-listen__input:focus {
	border-color: #003580;
	box-shadow: 0 0 0 3px rgba(0, 53, 128, .12);
	outline: none;
}
.lf-listen__input::placeholder { color: #94a3b8; font-weight: 500; }


@media (max-width: 600px) {
	.lf-match__grid { grid-template-columns: 1fr; }
	.lf-match__btn  { font-size: 14px; padding: 10px 12px; }
	.lf-exercise    { padding: 16px; }
}

/* ════════════════════════════════════════════════════════════════════
   Lesson-body typography polish
   These rules only apply inside .single-article .entry-content so
   regular blog posts are unaffected.
   ════════════════════════════════════════════════════════════════════ */

/* Episode stats row — sits above the body, teaches the reader scope */
.lf-episode-stats {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	padding: 14px 18px;
	background: linear-gradient(135deg, #f6f8fa 0%, #eef2f7 100%);
	border: 1px solid #e1e4e8;
	border-radius: 12px;
	margin: 0 0 32px;
}
.lf-episode-stats__item {
	flex: 1 1 110px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.lf-episode-stats__item strong {
	font-size: 17px;
	font-weight: 800;
	color: #003580;
	line-height: 1.2;
}
.lf-episode-stats__item span {
	font-size: 11px;
	color: #5c6774;
	text-transform: uppercase;
	letter-spacing: .5px;
}

/* H2 / H3 polish — only inside single-article entry content */
.single-article .entry-content > h2 {
	position: relative;
	font-size: 26px;
	font-weight: 800;
	color: #1e293b;
	margin: 48px 0 18px;
	padding: 14px 0 14px 20px;
	line-height: 1.25;
	border-left: 4px solid #003580;
	background: linear-gradient(90deg, rgba(0, 53, 128, .07), transparent 65%);
	border-radius: 0 8px 8px 0;
}
.single-article .entry-content > h3 {
	font-size: 19px;
	font-weight: 700;
	color: #003580;
	margin: 32px 0 12px;
	padding-left: 4px;
	border-left: 3px solid #fbbf24;
	padding-left: 12px;
}

/* Inline Finnish words via <strong> in body text — subtle blue */
.single-article .entry-content p strong,
.single-article .entry-content li strong {
	color: #003580;
	font-weight: 700;
}

/* Default body paragraphs — comfortable reading width + spacing */
.single-article .entry-content p {
	font-size: 16px;
	line-height: 1.75;
	color: #1f2328;
	margin: 0 0 18px;
}

/* "What you'll learn" — semantic class on the UL. Checkmark cards. */
.lf-objectives {
	list-style: none !important;
	padding-left: 0 !important;
	margin: 18px 0 32px !important;
	display: grid;
	gap: 10px;
}
.lf-objectives li {
	background: #f8faff;
	border-left: 3px solid #fbbf24;
	border-radius: 0 10px 10px 0;
	padding: 14px 18px 14px 44px;
	font-size: 15px;
	font-weight: 500;
	color: #1f2328;
	position: relative;
	line-height: 1.5;
}
.lf-objectives li::before {
	content: '✓';
	position: absolute;
	left: 16px;
	top: 13px;
	width: 20px;
	height: 20px;
	background: #166534;
	color: #fff;
	border-radius: 50%;
	font-size: 11px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Quick recap callout — yellow / honey tint */
.lf-recap {
	background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
	border-left: 4px solid #eab308;
	border-radius: 0 12px 12px 0;
	padding: 20px 26px;
	margin: 32px 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}
.lf-recap::before {
	content: '🔄 RECAP';
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .1em;
	color: #854d0e;
	margin-bottom: 10px;
	background: rgba(234, 179, 8, .15);
	padding: 3px 10px;
	border-radius: 999px;
}
.lf-recap p { margin: 0 0 10px; font-size: 15px; line-height: 1.65; color: #422006; }
.lf-recap p:last-child { margin-bottom: 0; }

/* Next steps callout — green */
.lf-next-steps {
	background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
	border-left: 4px solid #16a34a;
	border-radius: 0 12px 12px 0;
	padding: 22px 26px;
	margin: 36px 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}
.lf-next-steps::before {
	content: '🚀 NEXT STEPS';
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .1em;
	color: #065f46;
	margin-bottom: 10px;
	background: rgba(22, 163, 74, .15);
	padding: 3px 10px;
	border-radius: 999px;
}
.lf-next-steps p { margin: 0 0 10px; font-size: 15px; line-height: 1.65; color: #064e3b; }
.lf-next-steps p:last-child { margin-bottom: 0; }

/* Example sentence — Finnish + English pair, presented like a quote */
.lf-example {
	background: #f0f7ff;
	border-left: 3px solid #0f6e44;
	border-radius: 0 10px 10px 0;
	padding: 14px 20px;
	margin: 16px 0;
	line-height: 1.65;
}
.lf-example__fi {
	display: block;
	font-size: 17px;
	font-weight: 700;
	color: #003580;
	font-family: Georgia, 'Times New Roman', serif;
}
.lf-example__en {
	display: block;
	font-size: 14px;
	color: #5c6774;
	font-style: italic;
	margin-top: 4px;
}

/* When tip-boxes appear inline in lesson body — make them look intentional */
.single-article .entry-content .lf-tip-box {
	margin: 28px 0;
}

/* Default UL/OL inside entry-content — better spacing */
.single-article .entry-content > ul:not(.lf-objectives):not(.lf-vocab-grid),
.single-article .entry-content > ol {
	margin: 14px 0 22px;
	padding-left: 24px;
}
.single-article .entry-content > ul:not(.lf-objectives):not(.lf-vocab-grid) li,
.single-article .entry-content > ol li {
	margin-bottom: 8px;
	line-height: 1.65;
}

@media (max-width: 600px) {
	.single-article .entry-content > h2 { font-size: 22px; padding-left: 16px; }
	.single-article .entry-content > h3 { font-size: 17px; }
	.lf-recap, .lf-next-steps { padding: 16px 18px; }
	.lf-episode-stats__item   { flex: 1 1 calc(50% - 6px); }
}

/* ════════════════════════════════════════════════════════════════════
   Lesson gamification surfaces
   ════════════════════════════════════════════════════════════════════ */

/* Mission callout — top of the lesson body */
.lf-mission {
	display: flex;
	align-items: center;
	gap: 18px;
	background: linear-gradient(135deg, #003580 0%, #0f6e44 65%, #22b06e 100%);
	color: #fff;
	border-radius: 14px;
	padding: 20px 24px;
	margin: 0 0 28px;
	box-shadow: 0 6px 22px rgba(0, 53, 128, 0.18);
}
.lf-mission--guest {
	background: linear-gradient(135deg, #1f2328 0%, #24292f 100%);
}
.lf-mission__icon {
	font-size: 36px;
	line-height: 1;
	flex: 0 0 auto;
}
.lf-mission__body {
	flex: 1 1 auto;
	min-width: 0;
}
.lf-mission__label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 4px;
}
.lf-mission__title {
	font-size: 18px;
	font-weight: 800;
	color: #fff;
	line-height: 1.3;
	margin-bottom: 6px;
}
.lf-mission__hint {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.78);
	line-height: 1.5;
}
.lf-mission__stats {
	display: flex;
	gap: 14px;
	flex: 0 0 auto;
}
.lf-mission__stat {
	background: rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	padding: 10px 14px;
	text-align: center;
	min-width: 64px;
}
.lf-mission__stat strong {
	display: block;
	font-size: 22px;
	font-weight: 800;
	color: #fbbf24;
	line-height: 1;
}
.lf-mission__stat span {
	display: block;
	font-size: 10px;
	color: rgba(255, 255, 255, 0.7);
	letter-spacing: 0.05em;
	margin-top: 4px;
}
.lf-mission__cta {
	display: inline-block;
	background: #fbbf24;
	color: #1f2328;
	padding: 10px 20px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}
.lf-mission__cta:hover { opacity: 0.9; }

/* Mark-lesson-complete CTA — bottom of body */
.lf-complete-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
	border: 2px solid #facc15;
	border-radius: 14px;
	padding: 22px 26px;
	margin: 36px 0;
	flex-wrap: wrap;
}
.lf-complete-cta__title {
	font-size: 18px;
	font-weight: 800;
	color: #422006;
	margin-bottom: 4px;
}
.lf-complete-cta__hint {
	font-size: 13px;
	color: #854d0e;
	line-height: 1.5;
}
.lf-complete-cta__btn {
	background: #166534;
	color: #fff;
	border: none;
	padding: 14px 26px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s, transform 0.15s;
	font-family: inherit;
}
.lf-complete-cta__btn:hover:not(:disabled) {
	background: #14532d;
	transform: translateY(-1px);
}
.lf-complete-cta__btn:disabled {
	cursor: default;
}
.lf-complete-cta__btn.is-done {
	background: #16a34a;
	color: #fff;
}

/* Live XP pill — fixed bottom-right while reading */
.lf-xp-pill {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99998;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	background: linear-gradient(135deg, #166534 0%, #22b06e 100%);
	color: #fff;
	border-radius: 999px;
	box-shadow: 0 6px 20px rgba(22, 101, 52, 0.35);
	font-weight: 700;
	font-size: 14px;
	transition: transform 0.18s ease;
}
.lf-xp-pill[hidden] { display: none; }
.lf-xp-pill__label {
	font-size: 11px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.lf-xp-pill__value {
	font-size: 18px;
	font-weight: 800;
	color: #fff;
}
.lf-xp-pill.is-bumped {
	transform: scale(1.08);
}

@media (max-width: 700px) {
	.lf-mission { flex-direction: column; text-align: center; }
	.lf-mission__stats { width: 100%; justify-content: space-around; }
	.lf-complete-cta { flex-direction: column; align-items: stretch; text-align: center; }
	.lf-xp-pill { right: 12px; bottom: 12px; padding: 8px 14px; }
}
