/* ============================================
   LESSON 28 — SPECIFIC STYLES
   Understanding an Explanation (No Recording)
   ============================================ */

/* ── Question blocks ── */
.l28-q-block {
  padding: 16px 18px;
  background: var(--bg-card-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.l28-q-block:last-of-type { margin-bottom: 8px; }

.l28-q-label {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 8px;
}
.l28-q-stem {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.4;
}

/* ── MCQ options (display only) ── */
.l28-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 10px;
}
.l28-opt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.l28-opt-letter {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-card-2);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Notes section ── */
.l28-notes-label {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
  padding-top: 2px;
  border-top: 1px dashed var(--border);
  padding-top: 10px;
}
.l28-notes { display: flex; flex-direction: column; gap: 10px; }

.l28-note-line {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
}

/* ── Input field ── */
.l28-inp {
  padding: 5px 11px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  width: 120px;
  outline: none;
  transition: border-color .15s, background .15s;
}
.l28-inp-wide { width: 200px; }
.l28-inp:focus       { border-color: var(--gold); }
.l28-inp.l28-correct { border-color: var(--success); background: rgba(74,222,128,.07); color: var(--success); }
.l28-inp.l28-wrong   { border-color: var(--error);   background: rgba(248,113,113,.07); }

/* ── Inline explanation panels ── */
.l28-inline-exp {
  margin: 4px 0 8px 0;
  padding: 9px 13px;
  border-radius: var(--radius);
  font-size: .97rem;
  line-height: 1.7;
  border: 1px solid var(--border);
}
.l28-exp-ok  { background: rgba(72,199,116,.08); border-color: var(--success); }
.l28-exp-err { background: rgba(255,100,100,.07); border-color: var(--error); }

/* ── Explanation ── */
.l28-exp-list { display: flex; flex-direction: column; gap: 8px; }
.l28-exp-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-card-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  flex-wrap: wrap;
}
.l28-exp-word    { font-weight: 800; color: var(--text); font-size: 1rem; min-width: 110px; }
.l28-exp-arrow   { color: var(--gold); font-size: .97rem; }
.l28-exp-meaning { color: var(--text-muted); font-size: 1rem; }

/* ── Study Tip ── */
.l28-tip-box { display: flex; flex-direction: column; gap: 14px; }
.l28-tip-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--bg-card-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
}
.l28-tip-icon  { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.l28-tip-title { font-weight: 700; color: var(--gold); margin-bottom: 4px; font-size: 1rem; }
.l28-tip-body  { color: var(--text-muted); font-size: .97rem; line-height: 1.55; margin: 0; }
.l28-tip-body em { color: var(--gold); font-style: normal; font-weight: 600; }

/* ── Shake animation ── */
@keyframes l28-shake {
  0%,100% { transform: translateX(0); }
  20%     { transform: translateX(-6px); }
  40%     { transform: translateX(6px); }
  60%     { transform: translateX(-4px); }
  80%     { transform: translateX(4px); }
}
.l28-shake { animation: l28-shake .4s ease; }
