/* 공부 노트: 읽기 편한 글 페이지 */
.note-wrap { max-width: 760px; margin: 0 auto; padding: 36px 20px 80px; }
.note { background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 40px 48px 44px; font-size: 17px; line-height: 1.85; }
.note p { margin: 0 0 18px; }
.crumb { font-size: 14px; color: var(--ink-soft); margin-bottom: 10px !important; }
.crumb a { color: inherit; text-decoration: none; font-weight: 700; }
.crumb a:hover { text-decoration: underline; }
.note h1 { margin: 0 0 10px; font-size: clamp(26px, 4.2vw, 34px); line-height: 1.35; letter-spacing: -0.035em; font-weight: 800; }
.byline { font-size: 14px; color: var(--ink-soft); padding-bottom: 22px; border-bottom: 1.5px solid var(--rule); margin-bottom: 28px !important; }
.note h2 { margin: 48px 0 16px; font-size: 23px; line-height: 1.4; letter-spacing: -0.03em; font-weight: 800; }
.note h2::before { content: ""; display: block; width: 36px; height: 6px; margin-bottom: 14px; background: var(--hi); border-radius: 3px; }
.note h3 { margin: 30px 0 12px; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.en { font-weight: 700; color: var(--ink); }
.note figure { margin: 24px 0 26px; }
.note figure img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 0 0 1.5px var(--line); }
.table-wrap { overflow-x: auto; margin: 0 0 18px; }
.note table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.note th { text-align: left; font-weight: 800; padding: 10px 12px; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.note td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.note tbody tr:nth-child(odd) td { background: #f8fafc; }
.pair { display: grid; gap: 8px; margin: 0 0 18px; }
.pair p { margin: 0; padding: 12px 16px; border-radius: 10px; font-weight: 700; }
.pair span { display: block; font-size: 13px; font-weight: 800; margin-bottom: 2px; }
.pair .wrong { background: #fdeeef; color: #8b2630; }
.pair .wrong span { color: var(--margin); }
.pair .right { background: #eaf6ef; color: #134a33; }
.pair .right span { color: var(--good); }
.ex { padding: 12px 16px; border-left: 4px solid var(--hi); background: #fffde8; border-radius: 0 10px 10px 0; }
.ex span { display: block; }
.ex .ko, .ex-list .ko { font-size: 15px; color: var(--ink-soft); }
.ex-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.ex-list li { padding: 12px 16px; border-radius: 10px; background: var(--bg); }
.ex-list span { display: block; }
.ex-list .en { font-weight: 700; }
.dialog { margin: 0 0 18px; padding: 16px 18px; border-radius: 12px; background: var(--bg); display: grid; gap: 10px; }
.dialog p { margin: 0; display: grid; grid-template-columns: 44px 1fr; gap: 8px; line-height: 1.6; }
.dialog b { font-size: 14px; color: var(--ink-soft); padding-top: 2px; }
.dialog span { font-weight: 600; }
.quiz { margin: 0 0 14px; padding-left: 22px; }
.quiz li { margin-bottom: 8px; }
.answer { margin: 0 0 18px; border-radius: 10px; background: var(--bg); padding: 10px 16px; }
.answer summary { cursor: pointer; font-weight: 800; }
.answer p { margin: 10px 0 2px; font-weight: 700; }
.practice { display: grid; gap: 10px; margin: 8px 0 22px; }
.practice a { display: block; padding: 14px 18px; border-radius: 12px; text-decoration: none; font-weight: 800; background: #fff; box-shadow: var(--shadow); transition: translate .12s; }
.practice a:hover { translate: 0 -2px; }
.cta { font-size: 15.5px; color: var(--ink-soft); padding-top: 18px; border-top: 1.5px solid var(--rule); }

.list-title { margin: 0 0 6px; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.list-lead { margin: 0 0 24px; color: var(--ink-soft); }
.note-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.note-list a { display: grid; grid-template-columns: 220px 1fr; grid-template-rows: auto auto 1fr; column-gap: 20px; padding: 16px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); text-decoration: none; transition: translate .12s; }
.note-list a:hover { translate: 0 -2px; }
.note-list img { grid-row: 1 / 4; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
.note-list .tag { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.note-list b { font-size: 18px; line-height: 1.45; letter-spacing: -0.02em; margin: 2px 0 6px; }
.note-list .sum { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

@media (max-width: 640px) {
  .note-wrap { padding: 18px 12px 56px; }
  .note { padding: 26px 18px 30px; font-size: 16px; }
  .note h2 { font-size: 21px; margin-top: 40px; }
  .note-list a { grid-template-columns: 1fr; }
  .note-list img { grid-row: auto; margin-bottom: 10px; }
}
.note td:first-child { white-space: nowrap; }
