/* Lessons page visuals (7 Nov 2026): teacher photo with key facts and price, one-to-one vs group, the 50-minute
 * timeline, the A1–C2 staircase, a sample quiz question and the teacher's hours next to the free call. */
.lx-strip { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 28px; align-items: center; margin: -18px 0 34px; }
.lx-photo { margin: 0; }
.lx-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; box-shadow: 0 10px 26px rgb(15 25 40 / 18%); }
.lx-photo figcaption { margin-top: 10px; padding-left: 12px; border-left: 3px solid #f05a18; font-size: 13px; line-height: 1.45; color: #555a62; }
.lx-photo figcaption strong { display: block; color: #203758; font-size: 15px; }
.lx-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.lx-facts li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid #d8dce2; font-size: 14px; line-height: 1.4; color: #30343a; }
.lx-facts li strong { display: block; font-size: 16px; color: #203758; }
.lx-facts svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: #fff1e9; color: #c44711; }
.lx-facts li.lx-price { border-color: #f3b896; background: #fff8f3; }

/* Card 01: one-to-one vs group */
.lx-formats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 14px; }
.lx-format { padding: 12px; background: #f4f6f9; border-radius: 4px; }
.lx-format-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-weight: 700; font-size: 13px; color: #203758; }
.lx-format-head svg { width: 26px; height: 26px; color: #5878b5; }
.lx-format ul { margin: 0; padding: 0 0 0 16px; font-size: 12.5px; line-height: 1.55; color: #555a62; }

/* Card 02: 50-minute timeline */
.lx-time { display: flex; height: 14px; margin: 18px 0 10px; border-radius: 7px; overflow: hidden; }
.lx-time span { display: block; height: 100%; }
.lx-time span + span { margin-left: 2px; }
.lx-s1 { flex: 5; background: #7898ce; } .lx-s2 { flex: 15; background: #3f7fd9; } .lx-s3 { flex: 25; background: #f05a18; } .lx-s4 { flex: 5; background: #1f9a87; }
.lx-time-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 12.5px; line-height: 1.4; color: #555a62; }
.lx-time-legend li { display: flex; align-items: baseline; gap: 6px; }
.lx-time-legend i { flex: none; width: 9px; height: 9px; border-radius: 50%; transform: translateY(1px); }
.lx-time-legend b { color: #203758; }

/* Card 03: A1–C2 staircase */
.lx-ladder { margin: 16px 0 14px; padding: 0; list-style: none; }
.lx-ladder li { display: flex; align-items: center; gap: 9px; margin: 0 0 6px calc(var(--step) * 11px); font-size: 12.5px; line-height: 1.35; color: #555a62; }
.lx-ladder b { flex: none; display: grid; place-items: center; width: 34px; height: 24px; border-radius: 3px; color: #fff; font-size: 12px; }
.lx-ladder li:nth-child(1) b { background: #9fb4d8; } .lx-ladder li:nth-child(2) b { background: #7898ce; }
.lx-ladder li:nth-child(3) b { background: #5878b5; } .lx-ladder li:nth-child(4) b { background: #3d5c96; }
.lx-ladder li:nth-child(5) b { background: #f07a45; } .lx-ladder li:nth-child(6) b { background: #f05a18; }

/* Quiz box: a sample question you can try */
.lx-sample { margin-top: 18px; padding: 16px; background: #f4f6f9; border-radius: 4px; }
.lx-sample-label { margin: 0 0 6px !important; font-size: 11px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5878b5 !important; }
.lx-sample-q { margin: 0 0 10px !important; font-weight: 650; color: #203758 !important; }
.lx-sample-options { display: flex; flex-wrap: wrap; gap: 8px; }
.lx-sample-options button { padding: 8px 12px; border: 1px solid #c9d1dc; border-radius: 3px; background: #fff; color: #30343a; font: inherit; font-size: 14px; cursor: pointer; }
.lx-sample-options button:hover { border-color: #5878b5; }
.lx-sample-options button:focus-visible { outline: 3px solid #203758; outline-offset: 2px; }
.lx-sample-options button.is-right { border-color: #1f9a87; background: #e6f6f3; color: #0f5e52; }
.lx-sample-options button.is-wrong { border-color: #d9534f; background: #fdecec; color: #8a1f1b; }
.lx-sample-feedback { min-height: 1.5em; margin: 10px 0 0 !important; font-size: 13px !important; }

/* Free call: who you will talk to and when */
.lx-teacher { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.lx-teacher img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 2px solid #f05a18; }
.lx-teacher strong { display: block; color: #203758; font-size: 16px; }
.lx-teacher span { display: block; color: #555a62; font-size: 13px; line-height: 1.5; }

html[data-theme="dark"] .lx-photo figcaption, html[data-theme="dark"] .lx-format ul, html[data-theme="dark"] .lx-time-legend,
html[data-theme="dark"] .lx-ladder li, html[data-theme="dark"] .lx-teacher span { color: #bec7d5; }
html[data-theme="dark"] .lx-photo figcaption strong, html[data-theme="dark"] .lx-facts li strong, html[data-theme="dark"] .lx-format-head,
html[data-theme="dark"] .lx-time-legend b, html[data-theme="dark"] .lx-teacher strong, html[data-theme="dark"] .lx-sample-q { color: #edf2f8 !important; }
html[data-theme="dark"] .lx-facts li { background: #1b2029; border-color: #394457; color: #bec7d5; }
html[data-theme="dark"] .lx-facts li.lx-price { background: #2a2019; border-color: #6b3d22; }
html[data-theme="dark"] .lx-facts svg { background: #3a2518; color: #ff9a6a; }
html[data-theme="dark"] .lx-format, html[data-theme="dark"] .lx-sample { background: #232a36; }
html[data-theme="dark"] .lx-format-head svg { color: #9fb4d8; }
html[data-theme="dark"] .lx-sample-label { color: #9fb4d8 !important; }
html[data-theme="dark"] .lx-sample-options button { background: #1b2029; border-color: #4b566a; color: #e3e8ef; }
html[data-theme="dark"] .lx-sample-options button.is-right { background: #143a35; border-color: #2fbfa8; color: #bff0e6; }
html[data-theme="dark"] .lx-sample-options button.is-wrong { background: #3f1d1d; border-color: #e07572; color: #ffd0ce; }

@media (max-width: 900px) {
  .lx-strip { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 20px; }
  .lx-facts { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .lx-strip { grid-template-columns: 1fr; margin-top: 0; }
  .lx-photo { max-width: 360px; }
  .lx-facts { grid-template-columns: 1fr 1fr; gap: 8px; }
  .lx-facts li { padding: 11px; gap: 9px; font-size: 13px; }
  .lx-facts li strong { font-size: 14px; }
  .lx-facts svg { width: 30px; height: 30px; padding: 6px; }
}
@media (max-width: 380px) { .lx-formats { grid-template-columns: 1fr; } .lx-facts li { padding: 10px 9px; gap: 7px; font-size: 12px; } .lx-facts li strong { font-size: 13px; } .lx-facts svg { width: 26px; height: 26px; padding: 5px; } }
