/* ═══════════════════════════════════════════════════════════════
   E-KİTAP OKUYUCU — MİNİMAL BARLAR + GERÇEKÇİ SAYFA KIVRIMI
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Doğa yeşili renk paleti */
  --accent: #a8432f;
  --accent-hover: #8f3727;
  --accent-soft: rgba(168, 67, 47, 0.12);
  --bg: #ece0c6;
  --reader-bg-image: radial-gradient(circle at 50% 35%, #fbf4e4 0%, #e6d6b4 100%);
  --paper: #f8efdc;
  --ink: #2b2a4a;
  --ink-soft: rgba(43, 42, 74, 0.68);
  --muted: #6b604f;
  --glass: rgba(255, 255, 255, 0.42);
  --glass-border: rgba(255, 255, 255, 0.55);
  --glass-shadow: 0 1px 8px rgba(42, 51, 40, 0.06);
  --focus: 0 0 0 2px rgba(168, 67, 47, 0.3);
  --page-radius: 5px;
  --spine-w: 4px;
  --font-display: "Outfit", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --bar-h: 36px;
  --bar-radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { min-height: 100%; max-width: 100%; overflow: hidden; }
html { background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--reader-bg-image) center / cover fixed no-repeat, var(--bg);
}
button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

/* ═══════════════════════════════════════════════════════════════
   SHELL — Kitap barların ARASINDA
   ═══════════════════════════════════════════════════════════════ */

.reader-shell {
  position: relative;
  width: 100%; height: 100svh;
  display: grid;
  grid-template-rows: var(--bar-h) minmax(0, 1fr) var(--bar-h);
  gap: 6px;
  padding: 6px 10px;
  overflow: hidden;
}

.reader-texture { display: none; }

/* ═══════════════════════════════════════════════════════════════
   ÜST BAR — İnce, minimal, glassmorphic
   ═══════════════════════════════════════════════════════════════ */

.reader-topbar {
  z-index: 20;
  width: min(720px, 100%);
  max-width: 100%;
  margin: 0 auto;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--glass-border);
  border-radius: var(--bar-radius);
  background: var(--glass);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}

.brand-lockup {
  min-width: 0; display: inline-flex; align-items: center;
  flex: 1 1 auto; gap: 6px; color: inherit; text-decoration: none; overflow: hidden;
}
.brand-lockup img { width: 22px; height: 22px; flex: 0 0 auto; object-fit: contain; opacity: 0.8; }
.brand-lockup span { min-width: 0; overflow: hidden; }
.brand-kicker { display: none; }
.brand-lockup strong {
  display: block; max-width: min(40vw, 400px); overflow: hidden;
  color: var(--ink-soft); font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 650; line-height: 1.2;
  text-overflow: ellipsis; white-space: nowrap;
}

.topbar-actions {
  min-width: 0; display: inline-flex; align-items: center;
  justify-content: flex-end; gap: 6px; flex: 0 0 auto;
}

.page-meter {
  display: flex; align-items: center; gap: 6px;
  color: var(--muted); font-size: 0.62rem; font-weight: 650;
  line-height: 1; white-space: nowrap;
}
.meter-track {
  min-width: 40px; height: 2px; overflow: hidden;
  border-radius: 999px; background: rgba(42, 51, 40, 0.10);
}
#progressFill {
  display: block; width: 0%; height: 100%;
  border-radius: inherit; background: var(--accent);
  transition: width 200ms ease;
}

/* ═══════════════════════════════════════════════════════════════
   KİTAP SAHNESİ — Barlar arasında kalan alan
   ═══════════════════════════════════════════════════════════════ */

.reader-main {
  width: 100%; max-width: 100%; min-width: 0; min-height: 0;
  margin: 0 auto; display: grid;
}

.book-stage {
  position: relative; width: 100%; height: 100%;
  display: grid; place-items: center;
  overflow: hidden; overscroll-behavior: contain;
}

/* ═══════════════════════════════════════════════════════════════
   StPageFlip KIVRILAN SAYFA MOTORU
   ═══════════════════════════════════════════════════════════════ */

.flipbook {
  position: relative; z-index: 1;
  max-width: 100%; max-height: 100%;
  margin: auto; overflow: visible;
}

.flipbook.is-spread-view::after {
  content: "";
  position: absolute;
  z-index: 40;
  top: 0;
  bottom: 0;
  left: calc(50% - (var(--spine-w) / 2));
  width: var(--spine-w);
  pointer-events: none;
  opacity: 0.5;
  background:
    linear-gradient(90deg,
      rgba(25, 35, 24, 0) 0%,
      rgba(25, 35, 24, 0.10) 36%,
      rgba(25, 35, 24, 0.18) 50%,
      rgba(25, 35, 24, 0.10) 64%,
      rgba(25, 35, 24, 0) 100%);
  filter: blur(0.2px);
}

.flipbook .stf__item {
  background: var(--paper);
  overflow: hidden;
  border-radius: var(--page-radius);
}

.flipbook .stf__item.--hard {
  background: #eef2ea;
}

.book-page {
  width: 100%; height: 100%; overflow: hidden;
  background: var(--paper); user-select: none;
  border-radius: inherit;
}
.book-page.--left { border-radius: var(--page-radius) 0 0 var(--page-radius); }
.book-page.--right { border-radius: 0 var(--page-radius) var(--page-radius) 0; }
.flipbook.is-spread-view .book-page.--right.--simple {
  margin-left: -1px;
}
.flipbook.is-single-view .book-page,
.book-page.book-page-front-cover,
.book-page.book-page-back-cover {
  border-radius: var(--page-radius);
}
.book-page-front-cover, .book-page-back-cover { background: #eef2ea; }

.book-page:not(.book-page-front-cover):not(.book-page-back-cover).--left::after,
.book-page:not(.book-page-front-cover):not(.book-page-back-cover).--right::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: 14px;
  pointer-events: none;
}

.book-page:not(.book-page-front-cover):not(.book-page-back-cover).--left::after {
  right: 0;
  background: linear-gradient(90deg,
    rgba(25, 35, 24, 0) 0%,
    rgba(25, 35, 24, 0.04) 48%,
    rgba(25, 35, 24, 0.12) 100%);
}

.book-page:not(.book-page-front-cover):not(.book-page-back-cover).--right::before {
  left: 0;
  background: linear-gradient(90deg,
    rgba(25, 35, 24, 0.12) 0%,
    rgba(25, 35, 24, 0.04) 52%,
    rgba(25, 35, 24, 0) 100%);
}

.book-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: transparent;
  position: relative;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}

.book-page {
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
}

/* StPageFlip canvas gölgeleri */
.stf__outerShadow, .stf__innerShadow,
.stf__hardShadow, .stf__hardInnerShadow { pointer-events: none; }

.image-fallback {
  width: 100%; height: 100%; display: grid; place-items: center;
  padding: 24px; color: var(--muted); font-weight: 700;
  text-align: center; background: rgba(255,255,255,0.9);
}

/* ═══════════════════════════════════════════════════════════════
   ALT KONTROL ÇUBUĞU — İnce, minimal, glassmorphic
   ═══════════════════════════════════════════════════════════════ */

.control-bar {
  z-index: 30;
  width: min(620px, 100%);
  max-width: 100%;
  margin: 0 auto;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0 8px;
  border: 1px solid var(--glass-border);
  border-radius: var(--bar-radius);
  background: var(--glass);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}

.control-group {
  min-width: 0; display: inline-flex; align-items: center;
  justify-content: center; gap: 1px; padding: 0;
  border: none; background: transparent;
}

/* ── Slider — tam oturan, düzgün track ── */
.progress-control {
  min-width: 0;
  flex: 1 1 100px;
  display: flex;
  align-items: center;
  padding-inline: 8px;
  height: 100%;
}

#pageProgress {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  min-width: 60px;
  height: 100%;
  background: transparent;
  cursor: pointer;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

#pageProgress::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(42, 51, 40, 0.12);
  border: none;
}

#pageProgress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

#pageProgress::-moz-range-track {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(42, 51, 40, 0.12);
  border: none;
}

#pageProgress::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

#pageProgress::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
}

/* ── Butonlar ── */
.icon-button, .control-button {
  min-height: 28px; border: none; background: transparent;
  color: var(--ink-soft); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 4px; font-size: 0.68rem; font-weight: 650; line-height: 1;
  border-radius: 8px;
  transition: transform 100ms ease, background 100ms ease, color 100ms ease, opacity 100ms ease;
}
.icon-button { width: 28px; padding: 0; }
.control-button { min-width: 0; padding: 0 8px; border-radius: 999px; }
.control-button.compact { min-width: 0; padding-inline: 6px; }
.control-button.primary { color: #fff; background: var(--accent); padding: 0 10px; }

.icon-button svg, .control-button svg {
  width: 15px; height: 15px; flex: 0 0 auto;
  stroke: currentColor; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round; fill: none;
}
.control-button.primary svg path:first-child { fill: currentColor; stroke: none; }

.icon-button:hover:not(:disabled),
.control-button:hover:not(:disabled) {
  background: var(--accent-soft); color: var(--accent-hover);
}
.control-button.primary:hover:not(:disabled) { color: #fff; background: var(--accent-hover); }
.icon-button:active:not(:disabled),
.control-button:active:not(:disabled) { transform: scale(0.9); }
.icon-button:disabled, .control-button:disabled { opacity: 0.25; cursor: not-allowed; }
.control-button[aria-pressed="true"] { color: var(--accent); background: var(--accent-soft); }

.audio-status {
  min-width: 0; max-width: 72px; color: var(--muted);
  font-size: 0.58rem; font-weight: 600; line-height: 1;
  text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ── Toast ── */
.toast {
  position: fixed; left: 50%; bottom: 56px; z-index: 60;
  width: min(360px, calc(100vw - 32px)); padding: 8px 14px;
  border-radius: 12px; background: rgba(42, 51, 40, 0.88); color: #fffdf7;
  font-size: 0.72rem; font-weight: 650; line-height: 1.3; text-align: center;
  transform: translate(-50%, 10px); opacity: 0; pointer-events: none;
  backdrop-filter: blur(8px);
  transition: opacity 170ms ease, transform 170ms ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
:focus-visible { outline: none; box-shadow: var(--focus); }

.reader-shell.is-fullscreen,
.reader-shell.is-pseudo-fullscreen {
  height: 100svh;
  background: var(--reader-bg-image) center / cover fixed no-repeat, var(--bg);
}
.reader-shell.is-pseudo-fullscreen { position: fixed; inset: 0; z-index: 9999; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 760px) {
  :root { --bar-h: 32px; --bar-radius: 14px; }
  .reader-shell { gap: 4px; padding: 4px; }
  .reader-topbar { width: calc(100vw - 8px); padding: 0 8px; }
  .brand-lockup img { width: 18px; height: 18px; }
  .brand-lockup strong { font-size: 0.66rem; }
  .page-meter { font-size: 0.56rem; }
  .control-bar {
    width: calc(100vw - 8px);
    flex-wrap: nowrap;
    gap: 1px;
    padding: 0 4px;
    height: var(--bar-h);
    min-height: var(--bar-h);
    overflow: hidden;
  }
  .progress-control { flex: 1 1 auto; order: 0; padding-inline: 4px; }
  #pageProgress { height: 100%; min-width: 44px; }
  .icon-button { width: 24px; min-height: 24px; }
  .icon-button svg, .control-button svg { width: 13px; height: 13px; }
  .control-button { min-height: 24px; font-size: 0.6rem; padding: 0 6px; }
  .control-button.primary { padding: 0 7px; }
  .control-button.compact { padding-inline: 4px; }
  .control-button.primary span,
  .control-button.compact span,
  .audio-status { display: none; }
  .audio-controls,
  .navigation-controls { flex: 0 0 auto; margin-left: 0; }
}

@media (max-width: 340px) {
  .reader-shell { padding: 3px; }
  .brand-lockup img { width: 16px; height: 16px; }
  .brand-lockup strong { font-size: 0.6rem; }
  .icon-button { width: 22px; min-height: 22px; }
  .control-button { min-height: 22px; padding: 0 5px; }
  .progress-control { padding-inline: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   BÖLÜM KİTABI — görselin üstünde metin, künye, kurdele
   Yazı tipleri: Andika, Baloo 2, Josefin Sans (SIL OFL 1.1)
   ═══════════════════════════════════════════════════════════════ */

@font-face { font-family: "Andika"; font-style: normal; font-weight: 400; font-display: swap; src: url("chapter-fonts/andika-normal-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Andika"; font-style: normal; font-weight: 400; font-display: swap; src: url("chapter-fonts/andika-normal-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Andika"; font-style: italic; font-weight: 400; font-display: swap; src: url("chapter-fonts/andika-italic-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Andika"; font-style: italic; font-weight: 400; font-display: swap; src: url("chapter-fonts/andika-italic-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Andika"; font-style: normal; font-weight: 700; font-display: swap; src: url("chapter-fonts/andika-normal-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Andika"; font-style: normal; font-weight: 700; font-display: swap; src: url("chapter-fonts/andika-normal-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("chapter-fonts/baloo2-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("chapter-fonts/baloo2-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Josefin Sans"; font-style: normal; font-weight: 100 700; font-display: swap; src: url("chapter-fonts/josefinsans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Josefin Sans"; font-style: normal; font-weight: 100 700; font-display: swap; src: url("chapter-fonts/josefinsans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.is-chapter-book .book-page {
  position: relative;
  container-type: inline-size;
  color: var(--ink);
  font-family: "Andika", system-ui, sans-serif;
}
.is-chapter-book .book-page-front-cover,
.is-chapter-book .book-page-back-cover { background: var(--paper); }
.is-chapter-book .book-image {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: top;
}

/* Hikâye metni: her sayfada aynı yazı tipi ve boyut, sayfanın altına sabit */
.chapter-text {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 7cqw 8cqw 7.5cqw;
  font-size: 2.45cqw;
  line-height: 1.42;
  background: linear-gradient(to bottom, rgba(248, 239, 220, 0), rgba(248, 239, 220, 0.92) 6cqw, var(--paper) 10cqw);
}
.chapter-text p { margin: 0 0 0.45em; }
.chapter-text .block-center { text-align: center; font-weight: 700; letter-spacing: 0.03em; }
.chapter-text .block-poem { text-align: center; font-style: italic; color: #4b3f66; margin: 0.1em 0; }
.chapter-text .block-chapterNumber,
.chapter-text .block-chapterTitle,
.chapter-text .block-chapterSubtitle { text-align: center; }
.chapter-text .block-chapterNumber { font: 800 0.7em/1 "Baloo 2", sans-serif; letter-spacing: 0.2em; color: #8a5a12; }
.chapter-text .block-chapterTitle { font: 800 1.6em/1.1 "Baloo 2", sans-serif; margin: 0.1em 0 0.5em; }
.chapter-text .block-chapterSubtitle { font-size: 0.8em; font-style: italic; color: var(--muted); margin: -0.4em 0 0.5em; }
.chapter-page-number {
  position: absolute;
  bottom: 2.8cqw; left: 0; right: 0;
  z-index: 3;
  text-align: center;
  font: 800 2.6cqw/1 "Baloo 2", sans-serif;
  color: var(--muted);
}

/* Kapak üstündeki bölüm kurdelesi */
.chapter-ribbon {
  position: absolute;
  left: 50%;
  bottom: 4cqw;
  z-index: 2;
  transform: translateX(-50%) rotate(-2deg);
  padding: 1.6cqw 7cqw 2cqw;
  border-radius: 2cqw;
  background: #d9604a;
  color: #fff;
  font: 800 5.4cqw/1.05 "Baloo 2", sans-serif;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 1.2cqw 3cqw rgba(0, 0, 0, 0.3);
}
.chapter-ribbon span { display: block; font-size: 0.5em; letter-spacing: 0.25em; opacity: 0.9; }

/* Künye ve yayın ekibi sayfaları */
.chapter-info {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Like the source books: the info text scales with this padded box, not the whole page. */
  container-type: inline-size;
  padding: 12cqw 17cqw 8cqw;
  background: #fdfdfb;
  color: #1d1d1d;
  font-family: "Josefin Sans", system-ui, sans-serif;
  text-align: center;
  overflow: hidden;
}
.chapter-info .chapter-logo { width: 19cqw; height: auto; }
.chapter-info .block-kicker { margin-top: 1.8cqw; font-weight: 700; font-size: 3cqw; color: #24783a; letter-spacing: 0.02em; }
.chapter-info h2 { margin: 1cqw 0 0; font-weight: 700; font-size: 7.4cqw; line-height: 1; letter-spacing: 0.03em; }
.chapter-info .block-subheading { margin-top: 1.2cqw; font-size: 1.7cqw; }
.chapter-info hr { flex-shrink: 0; width: 100%; margin: 2cqw 0 2.6cqw; border: 0; border-top: 0.25cqw solid #2f9a45; }
.chapter-info .block-work { font-weight: 700; font-size: 3.1cqw; }
.chapter-info .block-work small { display: block; margin-top: 0.4cqw; font-weight: 600; font-size: 0.7em; color: #555; }
.chapter-info .block-note { margin: 2cqw 0 0; font-size: 2.1cqw; }
.chapter-info h3 { margin: 3.4cqw 0 1.8cqw; font-weight: 700; font-size: 3cqw; color: #24783a; }
.chapter-info hr + h3 { margin-top: 0; }
.chapter-info dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2cqw;
  row-gap: 1cqw;
  width: 100%;
  margin: 0;
  font-size: 2.15cqw;
  line-height: 1.25;
}
.chapter-info dt { text-align: right; text-transform: uppercase; }
.chapter-info dd { margin: 0; text-align: left; font-weight: 700; white-space: pre-line; }
.chapter-info .block-links { margin: 1.4cqw 0 0; font-size: 1.75cqw; font-weight: 700; color: #24783a; }
.chapter-info dl + .block-note { margin-top: auto; }
.chapter-info .block-legal { margin: 0; font-size: 1.6cqw; line-height: 1.35; font-style: italic; }
