:root { --accent: #cd2653; --muted: #6d6d6d; --cover: #073545; --reveal: #e4bcc4; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: #000;
  background: #dbdbdb url("/assets/noise.png");
  font-family: "Inter", "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 18px;
  letter-spacing: -0.015em;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
.skip, .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip:focus { clip: auto; width: auto; height: auto; margin: 0; left: 1rem; top: 1rem; background: #fff; padding: 0.4rem 0.6rem; z-index: 5; }

#site-header { background: #fff; position: relative; }
.header-inner {
  margin: 0 auto;
  max-width: 1680px;
  width: calc(100% - 40px);
  padding: 31.5px 0;
}
.header-titles-wrapper {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 0 40px;
  text-align: left;
}
.header-titles { margin: 0; }
.site-title,
.site-description { margin: 0; }
.site-title {
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
  color: #000;
}
.site-title a { color: inherit; display: block; text-decoration: none; }
.site-title a:hover, .site-title a:focus { text-decoration: underline; }
.site-title .site-logo {
  float: left;
  display: block;
  width: 40px;
  height: auto;
  margin: 0 0 -10px;
}
.site-description {
  display: none;
  margin-top: 10px;
  color: #6d6d6d;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.0311em;
}
.header-navigation-wrapper,
.header-toggles,
.primary-menu-wrapper { display: none; }
.header-inner .toggle {
  align-items: center;
  display: flex;
  justify-content: center;
  width: 20%;
  overflow: visible;
  padding: 0 20px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.header-inner .toggle svg,
.header-inner .toggle path { display: block; fill: currentColor; }
.toggle-inner { display: flex; justify-content: center; height: 23px; position: relative; }
.toggle-inner .toggle-text {
  color: #6d6d6d;
  font-size: 10px;
  font-weight: 600;
  position: absolute;
  top: calc(100% + 5px);
  width: auto;
  white-space: nowrap;
}
.header-inner .toggle:hover .toggle-text,
.header-inner .toggle:focus .toggle-text { text-decoration: underline; }
.search-toggle { position: absolute; bottom: 0; left: 0; top: 0; }
.search-toggle .toggle-icon,
.search-toggle svg { height: 25px; width: 23px; max-width: 23px; }
.nav-toggle { position: absolute; bottom: 0; right: 0; top: 0; }
.nav-toggle .toggle-icon,
.nav-toggle svg { height: 8px; width: 26px; }
.nav-toggle .toggle-inner { padding-top: 8px; }
.primary-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin: -8px 0 0 -16px;
  padding: 0;
  list-style: none;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.0277em;
}
.primary-menu > li { margin: 8px 0 0 16px; line-height: 1.25; }
.primary-menu a { color: var(--accent); display: block; line-height: 1.2; text-decoration: none; }
.menu-tree {
  width: 1.15em;
  height: 1.15em;
  margin: 0 0.35em 0 0;
  vertical-align: -0.2em;
}
.primary-menu a:hover,
.primary-menu a:focus,
.primary-menu a[aria-current="page"] { text-decoration: underline; }
.search-modal,
.menu-modal {
  display: none;
  opacity: 0;
  position: fixed;
  top: 0;
  bottom: 0;
  left: -9999px;
  width: 100%;
  z-index: 999;
}
.search-modal { background: rgba(0, 0, 0, 0.2); }
.menu-modal { background: #fff; right: 9999px; overflow: auto; z-index: 99; }
.search-modal.active,
.menu-modal.active { left: 0; right: 0; opacity: 1; }
.search-modal.show-modal,
.menu-modal.show-modal { display: block; }
.menu-modal.show-modal { display: flex; }
.search-modal-inner { background: #fff; }
.search-modal-inner .section-inner,
.menu-wrapper.section-inner {
  display: flex;
  justify-content: space-between;
  max-width: 1680px;
  width: calc(100% - 40px);
  margin: 0 auto;
}
.search-modal form { flex: 1; margin: 0; position: relative; width: 100%; }
.search-modal label { display: block; width: 100%; }
.search-modal .search-field {
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  font-size: 20px;
  height: 84px;
  width: 100%;
  padding: 0 16px;
}
.search-modal .search-submit {
  position: absolute;
  right: -9999px;
}
.search-untoggle,
.close-nav-toggle {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}
.search-untoggle { padding: 0 25px; }
.search-untoggle svg { width: 15px; height: 15px; fill: currentColor; }
.close-nav-toggle { font-size: 16px; font-weight: 500; justify-content: flex-end; padding: 31px 0; width: 100%; }
.close-nav-toggle .toggle-text { margin-right: 16px; position: static; color: inherit; font-size: 16px; }
.close-nav-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.menu-modal-inner { background: #fff; display: flex; width: 100%; }
.menu-wrapper { display: flex; flex-direction: column; justify-content: space-between; position: relative; min-height: 100%; }
.modal-menu { list-style: none; margin: 0; padding: 0; width: 100vw; position: relative; left: calc(50% - 50vw); }
.modal-menu li { border-top: 1px solid #dedfdf; margin: 0; }
.modal-menu li:last-child { border-bottom: 1px solid #dedfdf; }
.modal-menu a {
  display: block;
  padding: 20px 25px;
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.0375em;
  text-decoration: none;
}
.modal-menu a:hover, .modal-menu a[aria-current="page"] { text-decoration: underline; }
.menu-bottom { padding: 28px 0 40px; }
.menu-bottom .social-icons { justify-content: center; }

main { padding: 36px 0 20px; }
.entry { width: min(1000px, calc(100% - 40px)); margin: 0 auto 90px; }
.archive { width: min(1000px, calc(100% - 40px)); margin: 0 auto 48px; text-align: center; }
.entry-header { text-align: center; margin-bottom: 28px; }
.entry-categories { margin: 0 0 14px; }
.entry-categories a {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.037em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1.5px solid currentColor;
}
.entry-categories a:hover { border-bottom-color: transparent; }
.entry-title {
  margin: 0;
  text-align: center;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-size: 36px;
}
.entry-title a { color: #000; text-decoration: none; }
.entry-content { font-size: 21px; line-height: 1.5; }
.entry-content > * {
  max-width: 580px;
  width: calc(100% - 40px);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.25em;
}
.entry-content p, .entry-content li { line-height: 1.7; }
.entry-content p { background-color: #dbdbdbbf; }
.entry-content a { color: var(--accent); }
div.entry-content a.needs-review,
div.entry-content a.needs-review:visited { color: #0b57d0 !important; font-weight: 700; }
.private-mark { display: inline-block; margin-left: 0.35em; color: #9b1c1c; font-weight: 700; letter-spacing: 0.04em; font-size: 14px; white-space: nowrap; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.4em; }
.intro-text { display: none; }
.image-carousel {
  position: relative;
  max-width: 520px;
  margin: 0 auto 1.5em;
}
.carousel-frame {
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-slide { display: none; width: 100%; text-align: center; }
.carousel-slide.is-current { display: block; }
.carousel-slide img { display: inline-block; max-width: 100%; height: auto; }
.carousel-btn {
  position: absolute;
  top: 42%;
  z-index: 1;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }
.carousel-status { margin: 10px 0 0; text-align: center; color: var(--muted); font-size: 16px; }
.vocab-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 1.2em;
  max-width: 580px;
}
.vocab-mode {
  border: 1px solid var(--accent);
  background: #fff;
  color: var(--accent);
  border-radius: 4px;
  padding: 8px 12px;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
}
.vocab-mode.is-on { background: var(--accent); color: #fff; }
.vocab-list { list-style: none; margin: 0 auto 1.4em; padding: 0; max-width: 580px; }
.vocab-note { margin: 0.4em 0; }
.vocab-item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: inherit;
  text-align: left;
  cursor: default;
}
.vocab-lesson.is-toggle .vocab-item {
  margin: 10px auto;
  max-width: 420px;
  padding: 12px 14px;
  border-radius: 3px;
  background: #ceec;
  color: #073545;
  font-size: 22px;
  text-align: center;
  cursor: pointer;
}
.vocab-lesson.is-toggle .vocab-item.is-flipped {
  background: #e8afbbb3;
  color: #5d1625;
}
.vocab-jumps { text-align: center; font-size: 15px; margin: 0 auto 1.2em; max-width: 580px; line-height: 1.8; }
.vocab-jumps a { margin: 0 0.35em; white-space: nowrap; }
.vocab-range { text-align: center; font-size: 22px; margin: 1.6em auto 0.4em; }
.vocab-table { display: block; width: 100%; margin: 0 0 0.4em; }
.vocab-table thead, .vocab-table tbody { display: block; width: 100%; }
.vocab-table tr { display: grid; grid-template-columns: minmax(0, 56%) minmax(0, 44%); margin: 0 0 8px; }
.vocab-table th, .vocab-table td { padding: 10px 12px; vertical-align: middle; min-width: 0; }
.vocab-table th.en, .vocab-table td.en { background: #d7e8f8; text-align: left; }
.vocab-table th.ja, .vocab-table td.ja { background: #e4f3d8; text-align: center; }
.vocab-lesson.is-all .vocab-table td.ja {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.vocab-table th { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.vocab-table td.ex { display: none; background: #f8ddb0; color: #3a2a12; text-align: left; }
.ja-example { display: block; font-size: 18px; line-height: 2.05; }
.ja-example ruby { font-size: 20px; ruby-align: center; ruby-position: over; white-space: nowrap; }
.ja-example rt { font-size: 11px; }
.ex-en { display: block; margin-top: 6px; font-size: 16px; line-height: 1.45; }
.vocab-lesson.is-examples:not(.is-toggle) .vocab-table td.ex { display: block; grid-column: 1 / -1; margin-top: 4px; }
.vocab-lesson[data-speak="th"] .ex-speak {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
}
.vocab-lesson[data-speak="th"] .ex-speak .ja-example {
  display: inline;
  flex: 0 1 auto;
  min-width: 0;
}
.vocab-lesson[data-speak="th"] .ex-speak .ja-play {
  margin-top: 0.15em;
  flex: 0 0 auto;
}
.en-word { display: block; font-weight: 700; font-size: 20px; }
.en-pos { display: inline-block; margin-top: 2px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: #24527a; }
.en-pos + .en-pos { margin-left: 0.55em; }
.vocab-lesson[data-vocab-table]:not([data-speak="th"]) .vocab-table th.en,
.vocab-lesson[data-vocab-table]:not([data-speak="th"]) .vocab-table td.en { background: #e6d4f4; }
.vocab-lesson[data-vocab-table]:not([data-speak="th"]) .vocab-table th.ja,
.vocab-lesson[data-vocab-table]:not([data-speak="th"]) .vocab-table td.ja { background: #f6e19a; }
.vocab-lesson[data-vocab-table]:not([data-speak="th"]) .vocab-table td.ex { background: #cfe3b4; color: #1d3318; }
.vocab-lesson[data-vocab-table]:not([data-speak="th"]) .en-pos { color: #5c3d7a; }
.vocab-lesson[data-vocab-table]:not([data-speak="th"]).is-toggle .vocab-table tr[data-face="ex"] td.ex,
.vocab-lesson[data-vocab-table]:not([data-speak="th"]).is-toggle .vocab-table tr[data-face="xen"] td.ex { background: #cfe3b4; color: #1d3318; }
.en-def { display: block; margin-top: 4px; font-size: 16px; line-height: 1.45; }
.ja-word { display: block; font-size: 20px; line-height: 2.2; word-break: keep-all; }
.ja-word ruby { font-size: 28px; ruby-align: center; ruby-position: over; white-space: nowrap; }
.ja-word rt { font-size: 12px; }
.ja-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #2f6b32;
  border-radius: 999px;
  background: #fff;
  color: #1f4d22;
  font: inherit;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}
.ja-play svg { display: block; }
.ja-play[aria-pressed="true"] { background: #2f6b32; color: #fff; }
.vocab-lesson.is-toggle .vocab-table tr[data-face="ja"] .ja-play { border-color: #5d1625; color: #5d1625; }
.vocab-lesson.is-toggle .vocab-table tr[data-face="ja"] .ja-play[aria-pressed="true"] { background: #5d1625; color: #fff; }
.vocab-lesson.is-toggle .vocab-table thead { display: none; }
.vocab-lesson.is-toggle .vocab-table tr { grid-template-columns: 1fr; }
.vocab-lesson.is-toggle .vocab-table td.ja,
.vocab-lesson.is-toggle .vocab-table td.ex { display: none; }
.vocab-lesson.is-toggle .vocab-table tr[data-face="ja"] td.en { display: none; }
.vocab-lesson.is-toggle .vocab-table tr[data-face="ja"] td.ja {
  display: block;
  background: #e8afbbb3;
  color: #5d1625;
}
.vocab-lesson.is-toggle .vocab-table tr[data-face="ex"] td.en { display: none; }
.vocab-lesson.is-toggle .vocab-table tr[data-face="ex"] td.ex {
  display: block;
  background: #f8ddb0;
  color: #3a2a12;
  text-align: center;
}
.vocab-lesson.is-toggle .vocab-table tr[data-face="ex"] .ex-en { display: none; }
.vocab-lesson.is-toggle .vocab-table tr[data-face="ex"] .ex-speak { justify-content: center; }
.vocab-lesson.is-toggle .vocab-table tr[data-face="xen"] td.en,
.vocab-lesson.is-toggle .vocab-table tr[data-face="xen"] td.ja { display: none; }
.vocab-lesson.is-toggle .vocab-table tr[data-face="xen"] td.ex {
  display: block;
  background: #f8ddb0;
  color: #3a2a12;
  text-align: center;
}
.vocab-lesson.is-toggle .vocab-table tr[data-face="xen"] .ex-speak,
.vocab-lesson.is-toggle .vocab-table tr[data-face="xen"] .ja-example,
.vocab-lesson.is-toggle .vocab-table tr[data-face="xen"] td.ex > .ja-play { display: none; }
.vocab-lesson.is-toggle .vocab-table tr[data-face="xen"] .ex-en {
  display: block;
  margin-top: 0;
  font-size: 20px;
  line-height: 1.45;
}
.vocab-lesson.is-toggle .vocab-table tbody tr { cursor: pointer; }
@font-face {
  font-family: "Lesson Latin";
  src: url("/assets/fonts/LessonLatin.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lesson Latin";
  src: url("/assets/fonts/LessonLatin-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lesson Thai";
  src: url("/assets/fonts/LessonThai.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lesson Thai";
  src: url("/assets/fonts/LessonThai-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lesson JP";
  src: url("/assets/fonts/LessonJP.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.vocab-lesson.is-print {
  max-width: none;
  width: 100%;
}
.vocab-lesson.is-print > :not(.print-lesson) { display: none; }
.print-lesson {
  display: none;
  background: transparent;
  color: #000;
  padding: 0;
}
.vocab-lesson.is-print .print-lesson { display: block; }
.print-lesson p { background: transparent; }
.print-toolbar {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 10px 8px;
  background: #f3f3f3;
  border-bottom: 1px solid #ccc;
}
.print-wait {
  margin: 28px 0;
  text-align: center;
  color: #333;
  background: transparent;
}
.print-pages {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 18px 0 32px;
}
.paper-slot { width: 210mm; }
.paper {
  --fold: 50mm;
  --gap: 2.2mm;
  width: 210mm;
  height: 297mm;
  position: relative;
  background: #fff;
  color: #000;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16), 0 10px 24px rgba(0, 0, 0, 0.14);
  font-family: "Lesson Latin", "Lesson Thai", "Lesson JP", sans-serif;
  font-size: 9pt;
  line-height: 1.25;
  font-weight: 400;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "calt" 0;
}
.paper-run {
  position: absolute;
  top: 5mm;
  left: 12mm;
  right: 12mm;
  height: 5.5mm;
  font-size: 8pt;
  line-height: 5.5mm;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #222;
}
.paper-body {
  position: absolute;
  top: 13mm;
  bottom: 11mm;
  left: 12mm;
  right: 8mm;
  overflow: hidden;
}
.paper-fold {
  position: absolute;
  top: 13mm;
  bottom: 11mm;
  right: calc(8mm + var(--fold));
  width: 0;
  border-left: 0.8pt dotted #000;
  box-sizing: content-box;
}
.paper-num {
  position: absolute;
  left: 12mm;
  right: calc(8mm + var(--fold) + var(--gap));
  bottom: 4.5mm;
  text-align: center;
  font-size: 9pt;
  line-height: 1;
}
.paper-note,
.paper-section {
  width: calc(100% - var(--fold) - var(--gap));
}
.paper.is-cloze .paper-fold { display: none; }
.paper.is-cloze .paper-note,
.paper.is-cloze .paper-section { width: auto; }
.paper.is-cloze .paper-num { right: 12mm; }
.cloze-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 3mm;
  break-inside: avoid;
  page-break-inside: avoid;
}
.cloze-cell {
  min-width: 0;
}
.cloze-pair .cloze-cell:first-child { padding-right: 3mm; }
.cloze-pair .cloze-cell:last-child { padding-left: 3mm; }
.paper-note {
  margin: 0 0 3mm;
  font-size: 8pt;
  line-height: 1.35;
}
.paper-section {
  box-sizing: border-box;
  margin: 1.6mm 0 1.8mm;
  padding: 0.7mm 1.6mm;
  background: #666;
  color: #fff;
  font-size: 9pt;
  font-weight: 700;
  line-height: 1.25;
}
.word-row,
.sent-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--fold);
  column-gap: var(--gap);
  align-items: stretch;
  margin: 0 0 1.7mm;
  break-inside: avoid;
  page-break-inside: avoid;
}
.word-row { position: relative; }
.word-rule {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.7pt;
  background: #000;
  pointer-events: none;
}
.word-cols {
  display: grid;
  column-gap: 2.4mm;
  align-items: stretch;
  min-width: 0;
}
.wcell {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
}
.wen {
  font-size: 9pt;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.wline {
  flex: 1 0 auto;
  min-height: 7.2mm;
  margin-top: 0.5mm;
}
.sent-lines .wline,
.sent-row .wline {
  border-bottom: 0.7pt solid #000;
}
.wkey,
.sent-key {
  min-width: 0;
  padding-left: 1.8mm;
}
.wans {
  margin: 0 0 2mm;
  padding: 0.2mm 0 0.25mm;
  font-size: 9pt;
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.ruby-pair {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  vertical-align: bottom;
  margin: 0 0.04em;
  line-height: 1;
}
.ruby-read {
  display: block;
  min-height: 7pt;
  font-size: 5.5pt;
  line-height: 1;
  font-weight: 400;
}
.ruby-base {
  display: block;
  font-size: 9pt;
  line-height: 1.05;
}
.paper strong .ruby-read { font-weight: 400; }
.paper strong .ruby-base { font-weight: 700; }
.paper .ja-word,
.paper .ja-example,
.paper .wans .ja-word {
  display: inline;
  font-size: 9pt;
  line-height: 1.15;
  font-weight: 400;
  word-break: break-word;
  white-space: normal;
}
.paper .wans ruby,
.paper .sent-answer ruby {
  font-size: 9pt;
  line-height: 1;
  ruby-align: start;
  ruby-position: over;
  white-space: nowrap;
}
.paper .wans rt,
.paper .sent-answer rt { font-size: 6pt; }
.cloze-phrase {
  margin: 0;
  font-size: 12pt;
  line-height: 1.45;
}
.paper .cloze-phrase ruby {
  font-size: 12pt;
  ruby-align: start;
  ruby-position: over;
  white-space: nowrap;
}
.paper .cloze-phrase rt { font-size: 6.5pt; }
.cloze-en {
  margin: 0.7mm 0 0;
  font-size: 8.5pt;
  line-height: 1.3;
  color: #222;
}
.print-gap {
  display: inline-block;
  max-width: 28mm;
  height: 0.95em;
  border-bottom: 0.7pt solid #000;
  vertical-align: baseline;
  margin: 0 0.12em;
}
.sent-en {
  font-size: 10pt;
  line-height: 1.3;
  margin: 0 0 0.5mm;
}
.sent-lines .wline { min-height: 7mm; }
.sent-answer {
  font-size: 9pt;
  line-height: 1.35;
}
.paper strong { font-weight: 700; }
@page sheet {
  size: A4;
  margin: 0;
}
.paper { page: sheet; }
@media print {
  body.is-printing { background: #fff; }
  body.is-printing #site-header,
  body.is-printing .site-footer,
  body.is-printing .footer-social,
  body.is-printing .comments-wrap,
  body.is-printing .entry-header,
  body.is-printing .print-toolbar,
  body.is-printing .print-wait,
  body.is-printing .skip { display: none !important; }
  body.is-printing .entry,
  body.is-printing .entry-content > * {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
  }
  body.is-printing .print-pages { gap: 0; padding: 0; }
  body.is-printing .paper-slot {
    height: auto !important;
    break-after: page;
    page-break-after: always;
  }
  body.is-printing .paper-slot:last-child {
    break-after: auto;
    page-break-after: auto;
  }
  body.is-printing .paper {
    box-shadow: none;
    transform: none !important;
  }
}
.gallery-item { margin: 0.8em 0; text-align: center; }
.gallery-item img, .featured-media img, .wp-post-image { max-width: 500px; }
.featured-media img, .wp-post-image { max-width: 300px; }
.archive .cards, .archive .lesson-list, .archive .page-links { list-style: none; padding: 0; text-align: left; max-width: 580px; margin: 16px auto 0; }
.archive .cards a, .archive .lesson-list a {
  display: block;
  color: #000;
  text-decoration: none;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  padding: 14px 0;
}
.archive .cards strong { display: block; font-size: 22px; }
.archive .cards span, .lang-grid span { color: var(--muted); font-size: 15px; }
.lang-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 18px; text-align: left; }
.lang-grid a { display: block; background: #fff; color: #000; text-decoration: none; border-radius: 8px; padding: 16px; }
.lang-grid strong { display: block; font-size: 22px; }
.search-count { color: var(--muted); }
.pager, .pagination { width: min(1000px, calc(100% - 40px)); margin: 0 auto 40px; }
.pager, .nav-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; }
.pagination { border-top: 1px solid #dcd7ca; padding-top: 28px; }
.page-numbers { color: var(--accent); text-decoration: none; }
.page-numbers.current { color: #000; font-weight: 700; }
.comments-wrap { max-width: 580px; margin: 28px auto 0; }

.footer-social { padding: 10px 20px 0; }
.social-icons { display: flex; justify-content: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}
.social-icons a:hover { transform: scale(1.1); }
.site-footer { padding: 28px 16px 40px; text-align: center; color: var(--muted); }
.site-footer p { margin: 0.35em 0; }
.site-footer a, .to-top { color: var(--muted); text-decoration: none; }
.site-footer a:hover, .to-top:hover { text-decoration: underline; }

.lesson span.hidden, .lesson span.place {
  background: var(--cover);
  color: var(--cover);
  cursor: pointer;
  border-radius: 2px;
  padding: 2px 10px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.lesson span.hidden.black, .lesson span.place.black {
  background: var(--reveal);
  color: #000;
  user-select: none;
}
.lesson span.hidden:focus, .lesson span.place:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.small-text { font-size: 80%; color: #582a58; display: block; line-height: 23px; }
.cal-highlight-text { color: blue; }
li.pink, .bg-pink { background-color: #e8afbbb3; color: #5d1625; }
.bg-blue { background-color: #ceec; color: #073545; }
.word-list-wrapper li {
  padding: 10px;
  display: block;
  cursor: pointer;
  font-size: 28px;
  margin: 20px auto;
  width: 330px;
  max-width: 100%;
  background: #ceec;
  color: #073545;
}
.list-stack { list-style: none; border: 1px solid #555; border-radius: 3px; margin: 0; padding: 10px; box-shadow: 0 0 10px #999; }
.answ { display: none; }

@media (min-width: 700px) {
  .entry-title { font-size: 64px; }
}
@media (min-width: 1000px) {
  .entry-title { font-size: 84px; }
}
@media (min-width: 600px) {
  header .svg-icon { color: #cd2663; }
  .toggle-inner .toggle-text { color: #cd2663; }
  .search-toggle { margin-top: -20px; }
}
@media (min-width: 700px) {
  .header-inner { width: calc(100% - 80px); padding: 38px 0; }
  .site-title { font-size: 24px; font-weight: 700; }
  .site-description { display: block; }
  .search-toggle { left: 20px; }
  .nav-toggle { right: 20px; }
  .toggle-inner .toggle-text { font-size: 12px; }
  .close-nav-toggle { font-size: 18px; padding: 40px 0; }
  .close-nav-toggle svg { height: 20px; width: 20px; }
  .close-nav-toggle .toggle-text { margin-right: 21px; font-size: 18px; }
  .menu-wrapper.section-inner,
  .search-modal-inner .section-inner { width: calc(100% - 80px); }
  .modal-menu { left: auto; width: 100%; }
  .modal-menu > li > .ancestor-wrapper > a,
  .modal-menu > li > a { font-size: 24px; padding: 25px 0; }
}
@media (min-width: 1000px) {
  .header-inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 28px 0;
  }
  .header-titles-wrapper {
    margin-right: 40px;
    max-width: 50%;
    padding: 0;
    text-align: left;
  }
  .header-titles {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: -10px 0 0 -24px;
  }
  .header-titles .site-title,
  .header-titles .site-description { margin: 10px 0 0 24px; }
  .header-navigation-wrapper { align-items: center; display: flex; }
  .primary-menu-wrapper { display: block; width: 100%; }
  .mobile-search-toggle,
  .mobile-nav-toggle { display: none !important; }
  .primary-menu-wrapper + .header-toggles { margin-left: 30px; }
  .header-toggles {
    display: flex;
    flex-shrink: 0;
    margin-right: -30px;
  }
  .header-inner .toggle {
    height: 44px;
    padding: 0 30px;
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    top: auto;
    width: 60px;
  }
  .header-inner .toggle-wrapper { position: relative; }
  .header-inner .toggle-wrapper::before {
    background: #dedfdf;
    content: "";
    display: block;
    height: 27px;
    position: absolute;
    left: 0;
    top: calc(50% - 13.5px);
    width: 1px;
  }
  .toggle-inner { position: static; }
  .toggle-inner .toggle-text {
    left: 0;
    right: 0;
    text-align: center;
    top: calc(100% - 3px);
  }
}
@media (min-width: 1220px) {
  .primary-menu { margin-left: -25px; }
  .primary-menu > li { margin-left: 25px; }
  .primary-menu-wrapper + .header-toggles { margin-left: 40px; }
  .header-toggles { margin-right: -40px; }
  .header-toggles .toggle { padding: 0 40px; width: 80px; }
}
