/**
 * FIXED book — single authoritative visual layer (?bookLayout=fixed).
 * Load after obscure-library-book-fixed.css (base pipeline).
 * Stages 1–13 in base file are disabled via @media not all.
 * Self-contained keyframes — no dependency on legacy obscure-library.css visuals.
 */

/* ── Keyframes (fixed-only) ── */
@property --qa-marker-glint-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes bookFixedAllahFloatClean {
  0%, 100% { transform: translateY(4px); }
  50% { transform: translateY(-8px); }
}

@keyframes qaAnswerMarkerGoldShimmer {
  0%, 84%, 100% {
    filter: brightness(1) saturate(1);
    box-shadow:
      inset -1px -2px 3px rgba(48, 30, 8, 0.58),
      inset 1px 1px 2px rgba(255, 238, 188, 0.5),
      0 1px 2px rgba(0, 0, 0, 0.3),
      0 0 5px rgba(201, 168, 76, 0.34);
  }
  91% {
    filter: brightness(1.2) saturate(1.14);
    box-shadow:
      inset -1px -2px 3px rgba(48, 30, 8, 0.46),
      inset 1px 1px 3px rgba(255, 244, 200, 0.68),
      0 1px 2px rgba(0, 0, 0, 0.22),
      0 0 10px rgba(228, 198, 110, 0.55);
  }
}

@keyframes qaAnswerMarkerGlintSpin {
  to { --qa-marker-glint-angle: 360deg; }
}

@keyframes qaGoldTextShimmer {
  0%, 84%, 100% {
    color: #b8923a;
    text-shadow: 0 0 4px rgba(201, 168, 76, 0.22);
  }
  91% {
    color: #e8cc7a;
    text-shadow:
      0 0 10px rgba(228, 198, 110, 0.55),
      0 0 3px rgba(255, 244, 200, 0.4);
  }
}

/* ── Book-wide: reduce single-word/letter line orphans ── */
html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root .question-text,
html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root .answer-text,
html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root .qa-answer-list__text,
html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root .qa-answer-list-subheading,
html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root .qa-hadith-answer-quote,
html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root .qa-hadith-answer-intro,
html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root .qa-hadith-answer-source__text,
html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root .qa-quran-answer-intro,
html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root .qa-quran-ayah-translation,
html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root .qa015-tr-item {
  text-wrap: pretty;
  widows: 2;
  orphans: 2;
}

/* ── Host: vertical centering (scale shell) ── */
html.book-layout-mode-fixed .book-stage.book-stage--layout-fixed {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}

html.book-layout-mode-fixed .book-stage.book-stage--layout-fixed .spread-wrap {
  align-content: center !important;
  flex: 0 1 auto;
  width: 100%;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .book-flip-scale-slot {
  align-self: center;
}

html.book-layout-mode-fixed .stpageflip-host,
html.book-layout-mode-fixed .stpageflip-host.stf__parent {
  min-height: 0 !important;
}

@media (min-width: 701px) {
  html.book-layout-mode-fixed .book-stage.book-stage--layout-fixed .spread-wrap {
    align-content: center !important;
  }
}

@media (max-width: 953px) {
  html.book-layout-mode-fixed .overlay.open .book-modal {
    justify-content: center;
    min-height: 0;
  }

  html.book-layout-mode-fixed .overlay.open .book-stage.book-stage--layout-fixed {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (min-width: 701px) {
  html.book-layout-mode-fixed .overlay.open .book-modal {
    min-height: min(92vh, 900px);
    justify-content: center;
  }

  html.book-layout-mode-fixed .overlay.open .book-stage.book-stage--layout-fixed {
    flex: 1 1 auto;
    min-height: 0;
  }
}

/* ── Page numbers (380×520 anchor, all pages) ── */
html.book-layout-mode-fixed .book-stage--layout-fixed .page-inner-scale-slot {
  align-items: flex-end !important;
  justify-content: center !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root {
  position: relative !important;
  width: var(--book-fixed-page-w) !important;
  height: var(--book-fixed-page-h) !important;
  min-width: var(--book-fixed-page-w) !important;
  min-height: var(--book-fixed-page-h) !important;
  max-width: var(--book-fixed-page-w) !important;
  max-height: var(--book-fixed-page-h) !important;
  box-sizing: border-box !important;
  flex: none !important;
  overflow: hidden !important;
  transform-origin: bottom center !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root > .page-number {
  position: absolute !important;
  top: auto !important;
  bottom: var(--book-fixed-page-num-bottom) !important;
  font-size: var(--book-fixed-font-page-num) !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  flex: none !important;
  align-self: auto !important;
  grid-row: auto !important;
  grid-column: auto !important;
  width: auto !important;
  opacity: 0.6;
  z-index: 6;
}

html.book-layout-mode-fixed .obscure-page--content.page-sheet--left.book-page--fixed-shell .page-design-root > .page-number,
html.book-layout-mode-fixed .obscure-page--content.page-sheet--left.book-page--fixed-shell .page-design-root .page-number {
  left: var(--book-fixed-page-num-inset-x) !important;
  right: auto !important;
}

html.book-layout-mode-fixed .obscure-page--content.page-sheet--right.book-page--fixed-shell .page-design-root > .page-number,
html.book-layout-mode-fixed .obscure-page--content.page-sheet--right.book-page--fixed-shell .page-design-root .page-number {
  right: var(--book-fixed-page-num-inset-x) !important;
  left: auto !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [class*="page-design-root--"] > .page-number {
  position: absolute !important;
  bottom: var(--book-fixed-page-num-bottom) !important;
  top: auto !important;
  transform: none !important;
  margin: 0 !important;
  flex: none !important;
  align-self: auto !important;
  grid-row: auto !important;
}

/* ── Illustration free-zones (shared) — qa013 page13 has own bottom anchor ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [class*="page-design-root--"] .page-allah-zone,
html.book-layout-mode-fixed .book-stage--layout-fixed [class*="page-design-root--"] .qa-mechet-zone:not(.qa-mechet-zone--page13),
html.book-layout-mode-fixed .book-stage--layout-fixed [class*="page-design-root--"] .qa-page10-illustration-zone {
  display: grid !important;
  place-items: center !important;
  place-content: center !important;
  align-content: center !important;
  justify-items: center !important;
  overflow: hidden;
  box-sizing: border-box;
  padding:
    0
    2px
    calc(var(--book-fixed-illus-safe-bottom) - 2px) !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [class*="page-design-root--"] .qa-mechet-zone:not(.qa-mechet-zone--page13) .qa-mechet-image,
html.book-layout-mode-fixed .book-stage--layout-fixed [class*="page-design-root--"] .qa-page10-illustration {
  display: block !important;
  flex: 0 1 auto !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  -webkit-mask: none !important;
  mask: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  clip-path: none !important;
  border-radius: 0 !important;
  filter: none !important;
}

/* qa001 Allah — flat PNG, no soft mask */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa001"] .page-allah-icon,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa001"] .page-allah-icon__img {
  -webkit-mask: none !important;
  mask: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  -webkit-clip-path: none !important;
  clip-path: none !important;
  border-radius: 0 !important;
  filter: none !important;
  box-shadow: none !important;
  background: none !important;
}

/* ── Hadith grid (qa004, qa009, qa012) ── */
html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith .page-design-root__layout,
html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith .qa-page-layout--hadith {
  display: grid !important;
  grid-template-rows:
    var(--book-fixed-hadith-row-exercise)
    var(--book-fixed-hadith-row-divider)
    var(--book-fixed-hadith-row-answer) !important;
  height: var(--book-fixed-content-h);
  min-height: var(--book-fixed-content-h);
  flex: none;
  overflow: hidden;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith .qa-hadith-exercise-zone {
  grid-row: 1;
  flex: none;
  min-height: 0;
  overflow: hidden;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith .qa-hadith-spacer {
  grid-row: 2;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
  pointer-events: none;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith .qa-hadith-answer-zone {
  grid-row: 3;
  flex: none;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith .qa-hadith-prompt-text,
html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith .qa-hadith-completion__prompt {
  display: inline;
  overflow: visible;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith .qa-hadith-completion__edit-view,
html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith .qa-hadith-completion__stage,
html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith .qa-hadith-exercise-zone .qa-hadith-completion {
  overflow: visible;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith .qa-hadith-input {
  vertical-align: baseline;
  margin: 0 0.12em;
  flex-shrink: 0;
  overflow: visible;
  transform: none !important;
  backface-visibility: visible !important;
  -webkit-backface-visibility: visible !important;
  transform-style: flat !important;
  position: relative;
  z-index: 2;
  touch-action: manipulation;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith .qa-hadith-completion__actions--below,
html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith .qa-hadith-completed-actions {
  justify-content: flex-end !important;
  width: 100%;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith .qa-hadith-answer-quote {
  padding: 6px 8px 6px 10px;
  border-left: 2px solid rgba(201, 168, 76, 0.84);
  background: rgba(255, 250, 238, 0.42);
  box-shadow: inset 2px 0 10px rgba(201, 168, 76, 0.12);
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith .qa-hadith-answer-source {
  display: flex !important;
  align-items: flex-start !important;
  gap: var(--book-fixed-gap-source, 8px) !important;
  padding: 6px 6px 0;
  border-top: 1px solid rgba(201, 168, 76, 0.22);
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith .qa-hadith-answer-source__icon {
  flex: 0 0 auto;
  display: block !important;
  width: 15px;
  height: 15px;
  margin-top: 0.12em;
  background: url('../assets/images/icon-kniga-hadisi.svg') center / contain no-repeat;
  filter: sepia(0.85) saturate(2.4) hue-rotate(8deg) brightness(0.72);
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith .qa-hadith-answer-source__icon::before {
  display: none !important;
  content: none !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith .qa-hadith-answer-source__label {
  display: none !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith .qa-hadith-answer-source__text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: var(--book-fixed-font-hadith-source);
  line-height: var(--book-fixed-lh-hadith-source);
  color: rgba(42, 28, 14, 0.86);
}

/* ── qa001: large Allah icon, clean vertical float ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa001"] .page-design-root--allah .page-design-root__layout {
  grid-template-rows: 204px 230px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa001"] .page-design-root--allah .page-allah-zone {
  overflow: hidden !important;
  place-content: center !important;
  padding:
    14px
    0
    calc(var(--book-fixed-illus-safe-bottom) - 6px) !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa001"] .page-design-root--allah .page-allah-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  height: 100%;
  max-height: 100%;
  perspective: none !important;
  transform-style: flat !important;
  transition: none !important;
  animation: bookFixedAllahFloatClean 5.5s ease-in-out infinite !important;
  will-change: transform;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa001"] .page-design-root--allah .page-allah-icon__img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 168px !important;
  max-height: 168px !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  animation: none !important;
  will-change: auto;
  backface-visibility: visible !important;
  -webkit-backface-visibility: visible !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa001"].obscure-page--animation-active[data-page-animation="allah-float"] .page-allah-icon {
  animation: bookFixedAllahFloatClean 6s ease-in-out infinite !important;
}

/* ── qa002: clouds — true center + wider fill ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa002"] .page-design-root--mechet .page-design-root__layout {
  grid-template-rows: 198px 236px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa002"] .qa-mechet-zone--page2 {
  display: grid !important;
  place-items: center !important;
  place-content: center !important;
  height: 236px !important;
  max-height: 236px !important;
  padding: 0 0 calc(var(--book-fixed-illus-safe-bottom) - 2px) !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa002"] .qa-mechet-zone--page2 .qa-mechet-image {
  width: auto !important;
  height: auto !important;
  max-height: 228px !important;
  max-width: 300px !important;
  margin: 0 auto !important;
  justify-self: center !important;
  align-self: center !important;
}

/* ── qa003: centered in free zone, slightly larger ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa003"] .page-design-root--mechet .page-design-root__layout {
  grid-template-rows: 204px 230px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa003"] .qa-mechet-zone--page3 {
  place-content: center !important;
  height: 230px !important;
  max-height: 230px !important;
  padding-bottom: calc(var(--book-fixed-illus-safe-bottom) - 2px) !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa003"] .qa-mechet-zone--page3 .qa-mechet-image {
  width: auto !important;
  height: auto !important;
  max-height: 224px !important;
  max-width: 290px !important;
  margin: 0 auto !important;
}

/* ── qa006: larger, centered ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa006"] .page-design-root--mechet .page-design-root__layout {
  grid-template-rows: 200px 234px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa006"] .qa-mechet-zone--page6 {
  place-content: center !important;
  height: 234px !important;
  max-height: 234px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa006"] .qa-mechet-zone--page6 .qa-mechet-image {
  width: auto !important;
  height: auto !important;
  max-height: 228px !important;
  max-width: 300px !important;
  margin: 0 auto !important;
}

/* ── qa005: translation rhythm + lowered larger illustration ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa005"] .page-design-root--quran .page-design-root__layout {
  grid-template-rows: 254px 180px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa005"] .page-design-root--quran .qa-text-content {
  height: 254px !important;
  max-height: 254px !important;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa005"] .page-design-root--quran .qa-quran-answer {
  gap: 7px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa005"] .page-design-root--quran .qa-quran-ayah {
  padding: 6px 4px 4px !important;
  line-height: 1.72 !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa005"] .page-design-root--quran .qa-quran-ayah-translation,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa005"] .page-design-root--quran .qa-quran-ayah-translation--fixed-lines {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--book-fixed-content-w);
  margin: 0 auto;
  padding: 0 2px 2px;
  font-size: 15px;
  line-height: 1.44;
  text-align: center;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  position: relative;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa005"] .page-design-root--quran .qa-quran-source {
  align-self: flex-end !important;
  margin: 0 12px 10px auto !important;
  padding-bottom: 4px !important;
  position: relative;
  z-index: 2;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa005"] .page-design-root--quran .qa-mechet-zone--page5 {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  align-items: center !important;
  place-content: unset !important;
  place-items: unset !important;
  align-content: unset !important;
  height: 180px !important;
  max-height: 180px !important;
  padding-top: 10px !important;
  padding-bottom: calc(var(--book-fixed-illus-safe-bottom) - 14px) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa005"] .page-design-root--quran .qa-mechet-zone--page5 .qa-mechet-image {
  width: auto !important;
  height: auto !important;
  max-height: 172px !important;
  max-width: 280px !important;
  margin: 0 auto !important;
  flex: 0 0 auto !important;
}

/* ── qa008: shahada frame — center + fill free zone ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa008"] .page-design-root--mechet .page-design-root__layout {
  grid-template-rows: 210px 224px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa008"] .qa-mechet-zone--page8 {
  display: grid !important;
  place-items: center !important;
  place-content: center !important;
  padding: 0 0 calc(var(--book-fixed-illus-safe-bottom) - 2px) !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa008"] .qa-mechet-zone--page8 .qa-mechet-image {
  width: auto !important;
  height: auto !important;
  max-height: min(204px, calc(100% - 8px)) !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

/* ── qa007: gold markers + tawheed terms (all 3 visible + clickable) ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa007"] .page-design-root--answer-list .page-design-root__layout {
  grid-template-rows: 256px 178px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa007"] .page-design-root--answer-list .qa-text-content,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa007"] .page-design-root--answer-list .answer-block {
  overflow: visible !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa007"] .page-design-root--answer-list .answer-block {
  margin-top: 8px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa007"] .page-design-root--answer-list .qa-answer-list {
  gap: 6px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa007"] .page-design-root--answer-list .qa-answer-list__text {
  font-size: 16px !important;
  line-height: 1.44 !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa007"] .page-design-root--answer-list .qa-answer-list__marker {
  position: relative;
  flex: 0 0 auto;
  width: 8px !important;
  height: 8px !important;
  margin-top: 0.42em;
  border-radius: 2px !important;
  background: radial-gradient(
    circle at 32% 28%,
    #f2e2ad 0%,
    #e8cc7a 20%,
    #c9a84c 52%,
    #9a7830 80%,
    #6f5522 100%
  );
  box-shadow:
    inset -1px -2px 3px rgba(48, 30, 8, 0.58),
    inset 1px 1px 2px rgba(255, 238, 188, 0.5),
    0 1px 2px rgba(0, 0, 0, 0.3),
    0 0 5px rgba(201, 168, 76, 0.34);
  animation: qaAnswerMarkerGoldShimmer 4.8s ease-in-out infinite;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa007"] .page-design-root--answer-list .qa-answer-list__marker::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 2px !important;
  background: radial-gradient(circle at 28% 22%, rgba(255, 250, 228, 0.82) 0%, transparent 46%);
  pointer-events: none;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa007"] .page-design-root--answer-list .qa-answer-list__marker::after {
  content: none !important;
  display: none !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa007"] .page-design-root--answer-list .qa-tawheed-term-link {
  display: inline !important;
  margin: 0 !important;
  padding: 0 1px !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  color: #b8923a !important;
  font: inherit !important;
  font-weight: 600 !important;
  line-height: inherit !important;
  text-decoration: none !important;
  border-radius: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: color 0.22s ease, text-shadow 0.22s ease;
  animation: none !important;
  text-shadow:
    0 1px 0 rgba(18, 28, 42, 0.82),
    0 0 1px rgba(18, 28, 42, 0.62),
    0 0 0.5px rgba(42, 28, 14, 0.75);
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa007"] .page-design-root--answer-list .qa-tawheed-term-link:hover,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa007"] .page-design-root--answer-list .qa-tawheed-term-link:focus-visible {
  color: #8fd4ff !important;
  animation: none !important;
  text-shadow:
    0 1px 0 rgba(18, 28, 42, 0.92),
    0 0 1px rgba(18, 28, 42, 0.78),
    0 0 0.5px rgba(42, 28, 14, 0.82),
    0 0 7px rgba(100, 200, 255, 0.92),
    0 0 14px rgba(70, 170, 255, 0.62),
    0 0 3px rgba(140, 215, 255, 0.78);
  outline: none;
  box-shadow: none !important;
  background: none !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa007"] .page-design-root--answer-list .qa-tawheed-term-link:active {
  color: #c9a84c !important;
  transform: scale(0.985);
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa007"] .page-design-root--answer-list .qa-gold-shimmer-text:not(.qa-tawheed-term-link) {
  display: inline;
  font-weight: 600;
  color: #b8923a;
  animation: qaGoldTextShimmer 4.8s ease-in-out infinite;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa007"] .qa-mechet-zone--page7 {
  display: grid !important;
  place-items: center !important;
  place-content: center !important;
  height: 178px !important;
  max-height: 178px !important;
  padding-bottom: calc(var(--book-fixed-illus-safe-bottom) - 2px) !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa007"] .qa-mechet-zone--page7 .qa-mechet-image {
  width: auto !important;
  height: auto !important;
  max-height: 172px !important;
  max-width: 280px !important;
  object-position: center center !important;
  margin: 0 auto !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa007"] .page-design-root--answer-list .qa-answer-list-scroll,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa007"] .page-design-root--answer-list .qa-answer-list-scroll.is-scrollable {
  overflow: visible !important;
  flex: 0 1 auto !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa007"] .page-design-root--answer-list .qa-answer-list-scroll-indicator {
  display: none !important;
}

/* ── qa010/011: raised + larger in free zone ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa010"] .page-design-root--page10 .page-design-root__layout {
  grid-template-rows: 210px 224px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa011"] .page-design-root--page10 .page-design-root__layout {
  grid-template-rows: 210px 224px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa010"] .qa-page10-illustration-zone,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa011"] .qa-page10-illustration-zone {
  display: grid !important;
  place-items: center !important;
  place-content: center !important;
  height: 224px !important;
  max-height: 224px !important;
  padding: 0 0 calc(var(--book-fixed-illus-safe-bottom) - 2px) !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa010"] .qa-page10-illustration,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa011"] .qa-page10-illustration {
  width: auto !important;
  height: auto !important;
  max-height: 218px !important;
  max-width: 300px !important;
  margin: 0 auto !important;
}

/* ── qa014: page10 Q&A + icon-14stranica (same typography as qa010/011) ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa014"] .page-design-root--page10 .page-design-root__layout {
  grid-template-rows: 228px 206px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa014"] .qa-page10-illustration-zone {
  display: grid !important;
  place-items: center !important;
  place-content: center !important;
  align-content: center !important;
  height: 206px !important;
  max-height: 206px !important;
  padding: 10px 0 calc(var(--book-fixed-illus-safe-bottom) - 2px) !important;
  box-sizing: border-box !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa014"] .qa-page10-illustration {
  width: auto !important;
  height: auto !important;
  max-height: 200px !important;
  max-width: 300px !important;
  margin: 0 auto !important;
  transform: translateY(12px) !important;
  object-fit: contain !important;
  object-position: center center !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa014"] .page-design-root--page10 .qa-text-content {
  min-height: 0;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa014"] .page-design-root--page10 .answer-block,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa014"] .page-design-root--page10 .answer-text {
  overflow: hidden !important;
}

/* ── qa013: 3-row grid — compact text, raised source, large bottom illustration ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa013"] .page-design-root--qa013 {
  position: relative !important;
  --book-fixed-qa013-row-text: 288px;
  --book-fixed-qa013-row-source: 24px;
  --book-fixed-qa013-row-illus: 122px;
  --book-fixed-illus-safe-bottom: 4px;
  --book-fixed-qa013-illus-safe-above-num: calc(
    var(--book-fixed-page-num-bottom) + var(--book-fixed-font-page-num) + 6px
  );
  --book-fixed-qa013-illus-max-h: calc(
    var(--book-fixed-pad-bottom) + var(--book-fixed-qa013-row-illus) - var(--book-fixed-qa013-illus-safe-above-num)
  );
  --book-fixed-qa013-illus-image-max-h: 112px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa013"] .page-design-root--qa013 .page-design-root__layout {
  display: grid !important;
  position: static !important;
  grid-template-rows:
    var(--book-fixed-qa013-row-text)
    var(--book-fixed-qa013-row-source)
    var(--book-fixed-qa013-row-illus) !important;
  height: var(--book-fixed-content-h);
  min-height: var(--book-fixed-content-h);
  overflow: hidden;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa013"] .page-design-root--qa013 .qa-text-content {
  grid-row: 1;
  min-height: 0;
  height: 100%;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa013"] .page-design-root--qa013 .answer-block,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa013"] .page-design-root--qa013 .answer-text {
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa013"] .page-design-root--qa013 .answer-block {
  margin-top: 8px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa013"] .page-design-root--qa013 .qa-quran-answer-intro {
  font-size: 16px !important;
  line-height: 1.42 !important;
  margin: 0 !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa013"] .page-design-root--qa013 .qa-quran-answer {
  gap: 6px !important;
  display: flex !important;
  flex-direction: column !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa013"] .page-design-root--qa013 .qa-quran-ayah {
  flex-shrink: 0 !important;
  padding: 2px 0 2px !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
  text-align: center !important;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa013"] .page-design-root--qa013 .qa-quran-ayah-translation,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa013"] .page-design-root--qa013 .qa-quran-ayah-translation--fixed-lines {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: var(--book-fixed-content-w) !important;
  margin: 3px auto 0 !important;
  padding: 0 2px 8px !important;
  font-size: 15px !important;
  line-height: 1.44 !important;
  font-style: italic !important;
  font-weight: 500 !important;
  color: var(--book-fixed-color-text) !important;
  text-align: center !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  position: relative !important;
}

/* gold divider at bottom of translation block */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa013"] .page-design-root--qa013 .qa-quran-ayah-translation::after,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa013"] .page-design-root--qa013 .qa-quran-ayah-translation--fixed-lines::after {
  content: '' !important;
  display: block !important;
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(184, 142, 42, 0.38) 12%,
    rgba(184, 142, 42, 0.72) 50%,
    rgba(184, 142, 42, 0.38) 88%,
    transparent 100%
  );
  pointer-events: none;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa013"] .qa-quran-source-row::before {
  content: none;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa013"] .qa-quran-source-row {
  grid-row: 2;
  display: flex;
  align-items: flex-start !important;
  justify-content: flex-end;
  align-self: stretch;
  min-height: 0;
  height: 100%;
  margin: 0 !important;
  padding: 6px 12px 0 0;
  position: relative;
  z-index: 6;
  overflow: visible;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa013"] .page-design-root--qa013 .qa-quran-source {
  display: flex !important;
  align-items: center !important;
  gap: var(--book-fixed-gap-source) !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  max-width: calc(var(--book-fixed-content-w) - 12px);
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa013"] .page-design-root--qa013 .qa-quran-source__icon {
  display: block !important;
  flex: 0 0 auto;
  width: var(--book-fixed-source-icon) !important;
  height: var(--book-fixed-source-icon) !important;
  object-fit: contain;
  object-position: center;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa013"] .page-design-root--qa013 .qa-quran-source__text {
  font-size: var(--book-fixed-font-source) !important;
  line-height: var(--book-fixed-lh-source) !important;
  color: var(--book-fixed-color-source) !important;
}

/* illustration — centered in free band below source, equal top/bottom breathing room */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa013"] .page-design-root--qa013 .qa-mechet-zone,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa013"] .page-design-root--qa013 .qa-mechet-zone.qa-mechet-zone--page13 {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  bottom: var(--book-fixed-qa013-illus-safe-above-num) !important;
  transform: translateX(-50%) !important;
  width: var(--book-fixed-content-w) !important;
  height: var(--book-fixed-qa013-illus-max-h) !important;
  max-height: var(--book-fixed-qa013-illus-max-h) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  visibility: visible !important;
  z-index: 2;
  pointer-events: none;
  border-radius: 0 !important;
  clip-path: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  filter: none !important;
  isolation: auto !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa013"] .qa-mechet-zone--page13::before,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa013"] .qa-mechet-zone--page13::after,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa013"] .qa-mechet-zone--page13 .qa-mechet-image::before,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa013"] .qa-mechet-zone--page13 .qa-mechet-image::after {
  content: none !important;
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  background: none !important;
  -webkit-mask: none !important;
  mask: none !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa013"] .qa-mechet-zone--page13 .qa-mechet-image {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: var(--book-fixed-qa013-illus-image-max-h) !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  margin: 0 auto !important;
  border-radius: 0 !important;
  clip-path: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  -webkit-mask-border: none !important;
  mask-border: none !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-size: auto !important;
  mask-size: auto !important;
  -webkit-mask-position: 0% 0% !important;
  mask-position: 0% 0% !important;
  filter: none !important;
  transform: none !important;
  overflow: visible !important;
  box-shadow: none !important;
  background: none !important;
}

/* ── qa015: 2-row grid — qa013 Quran rhythm, no illustration (page 15) ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa015"] .page-design-root--qa015 {
  position: relative !important;
  width: var(--book-fixed-page-w);
  height: var(--book-fixed-page-h);
  box-sizing: border-box;
  padding:
    var(--book-fixed-pad-top)
    var(--book-fixed-pad-x)
    var(--book-fixed-pad-bottom);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  --book-fixed-qa015-row-text: 402px;
  --book-fixed-qa015-row-source: 32px;
  --book-fixed-qa015-tr-gap: 3px;
  --book-fixed-qa015-section-gap: 7px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa015"] .page-design-root--qa015 .page-design-root__layout {
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto !important;
  position: static !important;
  height: var(--book-fixed-content-h);
  min-height: var(--book-fixed-content-h);
  overflow: hidden;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa015"] .page-design-root--qa015 .qa-text-content {
  grid-row: 1;
  flex: none;
  min-height: 0;
  height: 100%;
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa015"] .page-design-root--qa015 .question-block {
  flex: 0 0 auto;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa015"] .page-design-root--qa015 .answer-block {
  flex: 0 0 auto;
  min-height: 0;
  margin-top: 8px !important;
  display: block;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa015"] .page-design-root--qa015 .answer-text {
  flex: 0 0 auto;
  min-height: 0;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa015"] .page-design-root--qa015 .question-text {
  font-family: 'IM Fell English', serif;
  font-size: var(--book-fixed-font-question);
  line-height: var(--book-fixed-lh-question);
  font-weight: 500;
  color: var(--book-fixed-color-text);
  margin: 0;
  word-break: normal;
  overflow-wrap: normal;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa015"] .page-design-root--qa015 .answer-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--book-fixed-font-label);
  font-weight: 600;
  line-height: var(--book-fixed-lh-label);
  color: var(--book-fixed-color-label);
  margin: 0;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa015"] .page-design-root--qa015 .qa-quran-answer-intro {
  font-size: 16px !important;
  line-height: 1.42 !important;
  margin: 0 !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa015"] .page-design-root--qa015 .qa-quran-answer {
  gap: var(--book-fixed-qa015-section-gap) !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 0 0 auto;
  min-height: 0;
  justify-content: flex-start;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa015"] .page-design-root--qa015 .qa-quran-ayah {
  flex-shrink: 0 !important;
  margin-top: 5px !important;
  padding: 2px 0 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  text-align: center !important;
  overflow: hidden !important;
  max-height: calc(2 * 1.35 * 13px + 6px);
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa015"] .page-design-root--qa015 .qa-quran-ayah-translation,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa015"] .page-design-root--qa015 .qa-quran-ayah-translation--qa015 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 296px !important;
  margin: 6px auto 0 !important;
  padding: 0 0 0 !important;
  font-size: 16px !important;
  line-height: 1.33 !important;
  font-style: italic !important;
  font-weight: 500 !important;
  color: var(--book-fixed-color-text) !important;
  text-align: center !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  text-wrap: pretty !important;
  position: relative !important;
  overflow: visible !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa015"] .page-design-root--qa015 .qa015-tr-item {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa015"] .page-design-root--qa015 .qa015-tr-item + .qa015-tr-item {
  margin-top: var(--book-fixed-qa015-tr-gap) !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa015"] .page-design-root--qa015 .qa-quran-translation-paren {
  display: inline !important;
  white-space: nowrap !important;
}

html.book-layout-mode-fixed:lang(ru) .book-stage--layout-fixed [data-page-audio-id="qa015"] .page-design-root--qa015 .qa-quran-ayah-translation,
html.book-layout-mode-fixed:lang(ru) .book-stage--layout-fixed [data-page-audio-id="qa015"] .page-design-root--qa015 .qa-quran-ayah-translation--qa015 {
  font-size: 16.2px !important;
  line-height: 1.30 !important;
}

html.book-layout-mode-fixed:lang(ru) .book-stage--layout-fixed [data-page-audio-id="qa015"] .page-design-root--qa015 .answer-block {
  margin-top: 6px !important;
}

html.book-layout-mode-fixed:lang(ru) .book-stage--layout-fixed [data-page-audio-id="qa015"] .page-design-root--qa015 .qa-quran-answer {
  gap: 5px !important;
}

html.book-layout-mode-fixed:lang(ru) .book-stage--layout-fixed [data-page-audio-id="qa015"] .page-design-root--qa015 .qa015-tr-item + .qa015-tr-item {
  margin-top: 1px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa015"] .page-design-root--qa015 .qa-quran-ayah-translation::after,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa015"] .page-design-root--qa015 .qa-quran-ayah-translation--qa015::after {
  content: none !important;
  display: none !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa015"] .qa-quran-source-row::before {
  content: '' !important;
  display: block !important;
  width: 84%;
  height: 1px;
  margin: 0 auto 7px auto;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(184, 142, 42, 0.38) 12%,
    rgba(184, 142, 42, 0.72) 50%,
    rgba(184, 142, 42, 0.38) 88%,
    transparent 100%
  );
  pointer-events: none;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa015"] .qa-quran-source-row {
  grid-row: 2;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end !important;
  justify-content: flex-end;
  align-self: stretch;
  min-height: 0;
  height: auto;
  margin-top: 0 !important;
  padding: 0 12px 12px 0;
  position: relative;
  z-index: 6;
  overflow: visible;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa015"] .page-design-root--qa015 .qa-quran-source {
  display: flex !important;
  align-items: center !important;
  gap: var(--book-fixed-gap-source) !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  max-width: calc(var(--book-fixed-content-w) - 12px);
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa015"] .page-design-root--qa015 .qa-quran-source__icon {
  display: block !important;
  flex: 0 0 auto;
  width: var(--book-fixed-source-icon) !important;
  height: var(--book-fixed-source-icon) !important;
  object-fit: contain;
  object-position: center;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa015"] .page-design-root--qa015 .qa-quran-source__text {
  font-size: var(--book-fixed-font-source) !important;
  line-height: var(--book-fixed-lh-source) !important;
  color: var(--book-fixed-color-source) !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa015"] .page-design-root--qa015 .page-number {
  bottom: var(--book-fixed-page-num-bottom);
}

/* ── qa016–qa019: question typography (match qa007/qa014/qa015) ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa016"] .page-design-root--page10 .question-text,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa020"] .page-design-root--page10 .question-text,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa021"] .page-design-root--page10 .question-text,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa022"] .page-design-root--page10 .question-text,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa023"] .page-design-root--page10 .question-text,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa024"] .page-design-root--page10 .question-text,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa025"] .page-design-root--page10 .question-text,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa026"] .page-design-root--page10 .question-text,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa028"] .page-design-root--page10 .question-text,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa029"] .page-design-root--page10 .question-text,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa031"] .page-design-root--page10 .question-text,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa033"] .page-design-root--page10 .question-text,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa017"] .page-design-root--answer-prose-list .question-text,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa018"] .page-design-root--answer-prose-list .question-text,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa019"] .page-design-root--hadith-quote .question-text,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa030"] .page-design-root--hadith-quote .question-text {
  font-family: 'IM Fell English', serif;
  font-size: var(--book-fixed-font-question);
  line-height: var(--book-fixed-lh-question);
  font-weight: 500;
  color: var(--book-fixed-color-text);
  margin: 0;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: manual;
  text-wrap: wrap;
}

/* ── qa020–qa026: answer typography (match qa016/page10) ── */
html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--qa-standard .answer-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--book-fixed-font-label);
  font-weight: 600;
  line-height: var(--book-fixed-lh-label);
  color: var(--book-fixed-color-label);
  margin: 0;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--qa-standard .answer-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--book-fixed-font-answer);
  line-height: var(--book-fixed-lh-answer);
  font-weight: 400;
  color: var(--book-fixed-color-text);
  margin: 0;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: manual;
  text-wrap: wrap;
}

/* ── qa020: page10 Q&A + icon-20stranica (centered, max in free zone) ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa020"] .page-design-root--page10 .page-design-root__layout {
  grid-template-rows: 168px 266px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa020"] .page-design-root--page10 .qa-text-content {
  min-height: 0;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa020"] .qa-page10-illustration-zone {
  display: grid !important;
  place-items: center !important;
  place-content: center !important;
  align-content: center !important;
  justify-items: center !important;
  height: 266px !important;
  max-height: 266px !important;
  padding: 6px 2px 6px !important;
  box-sizing: border-box !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa020"] .qa-page10-illustration {
  width: auto !important;
  height: auto !important;
  max-height: min(254px, calc(100% - 4px)) !important;
  max-width: min(312px, calc(100% - 4px)) !important;
  margin: 0 auto !important;
  transform: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa020"] .page-design-root--page10 .answer-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--book-fixed-font-label);
  font-weight: 600;
  line-height: var(--book-fixed-lh-label);
  color: var(--book-fixed-color-label);
  margin: 0;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa020"] .page-design-root--page10 .answer-block,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa020"] .page-design-root--page10 .answer-text {
  overflow: hidden !important;
}

/* ── qa021: page10 Q&A + icon-21stranica (centered, max in free zone) ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa021"] .page-design-root--page10 .page-design-root__layout {
  grid-template-rows: 190px 244px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa021"] .page-design-root--page10 .qa-text-content {
  min-height: 0;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa021"] .qa-page10-illustration-zone {
  display: grid !important;
  place-items: center !important;
  place-content: center !important;
  align-content: center !important;
  justify-items: center !important;
  height: 244px !important;
  max-height: 244px !important;
  padding: 2px 0 2px !important;
  box-sizing: border-box !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa021"] .qa-page10-illustration {
  width: auto !important;
  height: auto !important;
  max-height: min(240px, calc(100% - 2px)) !important;
  max-width: min(316px, calc(100% - 2px)) !important;
  margin: 0 auto !important;
  transform: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa021"] .page-design-root--page10 .answer-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--book-fixed-font-label);
  font-weight: 600;
  line-height: var(--book-fixed-lh-label);
  color: var(--book-fixed-color-label);
  margin: 0;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa021"] .page-design-root--page10 .answer-block,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa021"] .page-design-root--page10 .answer-text {
  overflow: hidden !important;
}

/* ── qa022: page10 Q&A + icon-22stranica (centered, max in free zone) ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa022"] .page-design-root--page10 .page-design-root__layout {
  grid-template-rows: 200px 234px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa022"] .page-design-root--page10 .qa-text-content {
  min-height: 0;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa022"] .page-design-root--page10 .question-block {
  margin-bottom: 6px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa022"] .page-design-root--page10 .answer-block {
  margin-top: 4px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa022"] .qa-page10-illustration-zone {
  display: grid !important;
  place-items: center !important;
  place-content: center !important;
  align-content: center !important;
  justify-items: center !important;
  height: 234px !important;
  max-height: 234px !important;
  padding: 2px 0 2px !important;
  box-sizing: border-box !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa022"] .qa-page10-illustration {
  width: auto !important;
  height: auto !important;
  max-height: min(230px, calc(100% - 2px)) !important;
  max-width: min(316px, calc(100% - 2px)) !important;
  margin: 0 auto !important;
  transform: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa022"] .page-design-root--page10 .answer-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--book-fixed-font-label);
  font-weight: 600;
  line-height: var(--book-fixed-lh-label);
  color: var(--book-fixed-color-label);
  margin: 0;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa022"] .page-design-root--page10 .answer-block,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa022"] .page-design-root--page10 .answer-text {
  overflow: hidden !important;
}

/* ── qa023: page10 Q&A + icon-23stranica (centered, max in free zone) ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa023"] .page-design-root--page10 .page-design-root__layout {
  grid-template-rows: 168px 266px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa023"] .page-design-root--page10 .qa-text-content {
  min-height: 0;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa023"] .qa-page10-illustration-zone {
  display: grid !important;
  place-items: center !important;
  place-content: center !important;
  align-content: center !important;
  justify-items: center !important;
  height: 266px !important;
  max-height: 266px !important;
  padding: 6px 2px 6px !important;
  box-sizing: border-box !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa023"] .qa-page10-illustration {
  width: auto !important;
  height: auto !important;
  max-height: min(254px, calc(100% - 4px)) !important;
  max-width: min(312px, calc(100% - 4px)) !important;
  margin: 0 auto !important;
  transform: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa023"] .page-design-root--page10 .answer-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--book-fixed-font-label);
  font-weight: 600;
  line-height: var(--book-fixed-lh-label);
  color: var(--book-fixed-color-label);
  margin: 0;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa023"] .page-design-root--page10 .answer-block,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa023"] .page-design-root--page10 .answer-text {
  overflow: hidden !important;
}

/* ── qa024: page10 Q&A + icon-24stranica (centered, max in free zone) ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa024"] .page-design-root--page10 .page-design-root__layout {
  grid-template-rows: 172px 262px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa024"] .page-design-root--page10 .qa-text-content {
  min-height: 0;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa024"] .page-design-root--page10 .question-block {
  margin-bottom: 6px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa024"] .page-design-root--page10 .answer-block {
  margin-top: 4px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa024"] .qa-page10-illustration-zone {
  display: grid !important;
  place-items: center !important;
  place-content: center !important;
  align-content: center !important;
  justify-items: center !important;
  height: 262px !important;
  max-height: 262px !important;
  padding: 2px 0 2px !important;
  box-sizing: border-box !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa024"] .qa-page10-illustration {
  width: auto !important;
  height: auto !important;
  max-height: min(258px, calc(100% - 2px)) !important;
  max-width: min(316px, calc(100% - 2px)) !important;
  margin: 0 auto !important;
  transform: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa024"] .page-design-root--page10 .answer-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--book-fixed-font-label);
  font-weight: 600;
  line-height: var(--book-fixed-lh-label);
  color: var(--book-fixed-color-label);
  margin: 0;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa024"] .page-design-root--page10 .answer-block,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa024"] .page-design-root--page10 .answer-text {
  overflow: hidden !important;
}

/* ── qa025: page10 Q&A + icon-25stranica (centered, max in free zone) ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa025"] .page-design-root--page10 .page-design-root__layout {
  grid-template-rows: 182px 252px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa025"] .page-design-root--page10 .qa-text-content {
  min-height: 0;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa025"] .page-design-root--page10 .question-block {
  margin-bottom: 6px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa025"] .page-design-root--page10 .answer-block {
  margin-top: 4px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa025"] .qa-page10-illustration-zone {
  display: grid !important;
  place-items: center !important;
  place-content: center !important;
  align-content: center !important;
  justify-items: center !important;
  height: 252px !important;
  max-height: 252px !important;
  padding: 2px 0 2px !important;
  box-sizing: border-box !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa025"] .qa-page10-illustration {
  width: auto !important;
  height: auto !important;
  max-height: min(248px, calc(100% - 2px)) !important;
  max-width: min(316px, calc(100% - 2px)) !important;
  margin: 0 auto !important;
  transform: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa025"] .page-design-root--page10 .answer-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--book-fixed-font-label);
  font-weight: 600;
  line-height: var(--book-fixed-lh-label);
  color: var(--book-fixed-color-label);
  margin: 0;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa025"] .page-design-root--page10 .answer-block,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa025"] .page-design-root--page10 .answer-text {
  overflow: hidden !important;
}

/* ── qa026: page10 Q&A + icon-26stranica (centered, max in free zone) ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa026"] .page-design-root--page10 .page-design-root__layout {
  grid-template-rows: 222px 212px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa026"] .page-design-root--page10 .qa-text-content {
  min-height: 0;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa026"] .page-design-root--page10 .question-block {
  margin-bottom: 6px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa026"] .page-design-root--page10 .answer-block {
  margin-top: 4px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa026"] .qa-page10-illustration-zone {
  display: grid !important;
  place-items: center !important;
  place-content: center !important;
  align-content: center !important;
  justify-items: center !important;
  height: 212px !important;
  max-height: 212px !important;
  padding: 2px 0 2px !important;
  box-sizing: border-box !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa026"] .qa-page10-illustration {
  width: auto !important;
  height: auto !important;
  max-height: min(208px, calc(100% - 2px)) !important;
  max-width: min(318px, calc(100% - 2px)) !important;
  margin: 0 auto !important;
  transform: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa026"] .page-design-root--page10 .answer-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--book-fixed-font-label);
  font-weight: 600;
  line-height: var(--book-fixed-lh-label);
  color: var(--book-fixed-color-label);
  margin: 0;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa026"] .page-design-root--page10 .answer-block,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa026"] .page-design-root--page10 .answer-text {
  overflow: hidden !important;
}

/* ── qa028: page10 Q&A + icon-28stranica (centered, max in free zone) ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa028"] .page-design-root--page10 .page-design-root__layout {
  grid-template-rows: 136px 298px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa028"] .page-design-root--page10 .qa-text-content {
  min-height: 0;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa028"] .page-design-root--page10 .question-block {
  margin-bottom: 6px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa028"] .page-design-root--page10 .answer-block {
  margin-top: 4px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa028"] .qa-page10-illustration-zone {
  display: grid !important;
  place-items: center !important;
  place-content: center !important;
  align-content: center !important;
  justify-items: center !important;
  height: 298px !important;
  max-height: 298px !important;
  padding: 2px 0 2px !important;
  box-sizing: border-box !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa028"] .qa-page10-illustration {
  width: auto !important;
  height: auto !important;
  max-height: min(294px, calc(100% - 2px)) !important;
  max-width: min(316px, calc(100% - 2px)) !important;
  margin: 0 auto !important;
  transform: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa028"] .page-design-root--page10 .answer-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--book-fixed-font-label);
  font-weight: 600;
  line-height: var(--book-fixed-lh-label);
  color: var(--book-fixed-color-label);
  margin: 0;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa028"] .page-design-root--page10 .answer-block,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa028"] .page-design-root--page10 .answer-text {
  overflow: hidden !important;
}

/* ── qa029: page10 Q&A + icon-29stranica (centered, max in free zone) ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa029"] .page-design-root--page10 .page-design-root__layout {
  grid-template-rows: 198px 236px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa029"] .page-design-root--page10 .qa-text-content {
  min-height: 0;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa029"] .page-design-root--page10 .question-block {
  margin-bottom: 6px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa029"] .page-design-root--page10 .answer-block {
  margin-top: 4px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa029"] .qa-page10-illustration-zone {
  display: grid !important;
  place-items: center !important;
  place-content: center !important;
  align-content: center !important;
  justify-items: center !important;
  height: 236px !important;
  max-height: 236px !important;
  padding: 2px 0 2px !important;
  box-sizing: border-box !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa029"] .qa-page10-illustration {
  width: auto !important;
  height: auto !important;
  max-height: min(232px, calc(100% - 2px)) !important;
  max-width: min(318px, calc(100% - 2px)) !important;
  margin: 0 auto !important;
  transform: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa029"] .page-design-root--page10 .answer-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--book-fixed-font-label);
  font-weight: 600;
  line-height: var(--book-fixed-lh-label);
  color: var(--book-fixed-color-label);
  margin: 0;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa029"] .page-design-root--page10 .answer-block,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa029"] .page-design-root--page10 .answer-text {
  overflow: hidden !important;
}

/* ── qa031: page10 Q&A + icon-31stranica (centered, max in free zone) ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa031"] .page-design-root--page10 .page-design-root__layout {
  grid-template-rows: 100px 334px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa031"] .page-design-root--page10 .qa-text-content {
  min-height: 0;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa031"] .page-design-root--page10 .question-block {
  margin-bottom: 6px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa031"] .page-design-root--page10 .answer-block {
  margin-top: 4px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa031"] .qa-page10-illustration-zone {
  display: grid !important;
  place-items: center !important;
  place-content: center !important;
  align-content: center !important;
  justify-items: center !important;
  height: 334px !important;
  max-height: 334px !important;
  padding: 2px 0 2px !important;
  box-sizing: border-box !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa031"] .qa-page10-illustration {
  width: auto !important;
  height: auto !important;
  max-height: min(330px, calc(100% - 2px)) !important;
  max-width: min(316px, calc(100% - 2px)) !important;
  margin: 0 auto !important;
  transform: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa031"] .page-design-root--page10 .answer-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--book-fixed-font-label);
  font-weight: 600;
  line-height: var(--book-fixed-lh-label);
  color: var(--book-fixed-color-label);
  margin: 0;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa031"] .page-design-root--page10 .answer-block,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa031"] .page-design-root--page10 .answer-text {
  overflow: hidden !important;
}

/* ── qa016: page10 Q&A + icon-16stranica (centered, max in free zone) ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa016"] .page-design-root--page10 .page-design-root__layout {
  grid-template-rows: 142px 292px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa016"] .page-design-root--page10 .qa-text-content {
  min-height: 0;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa016"] .qa-page10-illustration-zone {
  display: grid !important;
  place-items: center !important;
  place-content: center !important;
  align-content: center !important;
  justify-items: center !important;
  height: 292px !important;
  max-height: 292px !important;
  padding: 6px 2px 6px !important;
  box-sizing: border-box !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa016"] .qa-page10-illustration {
  width: auto !important;
  height: auto !important;
  max-height: min(280px, calc(100% - 4px)) !important;
  max-width: min(312px, calc(100% - 4px)) !important;
  margin: 0 auto !important;
  transform: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa016"] .page-design-root--page10 .answer-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--book-fixed-font-label);
  font-weight: 600;
  line-height: var(--book-fixed-lh-label);
  color: var(--book-fixed-color-label);
  margin: 0;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa016"] .page-design-root--page10 .page-number {
  bottom: var(--book-fixed-page-num-bottom);
}

/* ── qa018: answer + name explanation list ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa018"] .page-design-root--answer-prose-list .answer-block--intro .answer-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--book-fixed-font-label);
  font-weight: 600;
  line-height: var(--book-fixed-lh-label);
  color: var(--book-fixed-color-label);
  margin: 0;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa018"] .page-design-root--answer-prose-list .page-number {
  bottom: var(--book-fixed-page-num-bottom);
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa018"] .page-design-root--answer-prose-list .qa-answer-prose-list-zone {
  justify-content: flex-start;
  margin-top: 10px;
  padding-top: 10px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa018"] .page-design-root--answer-prose-list .qa-answer-prose-list-heading {
  margin: 0 0 8px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa018"] .page-design-root--answer-prose-list .qa-answer-list-scroll {
  flex: 0 1 auto;
  max-height: none;
}

/* qa018: bottom illustration in free zone (max size, no overlap) */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa018"] .page-design-root--answer-prose-list .page-design-root__layout {
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  height: var(--book-fixed-content-h) !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa018"] .page-design-root--answer-prose-list .qa-text-content {
  grid-row: 1;
  flex: none !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa018"] .page-design-root--answer-prose-list .qa-answer-prose-list-zone {
  flex: 0 1 auto !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa018"] .qa-page10-illustration-zone {
  grid-row: 2;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  min-height: 0 !important;
  height: 100% !important;
  max-height: 100% !important;
  padding: 0 2px 4px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa018"] .qa-page10-illustration {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: min(312px, calc(100% - 4px)) !important;
  max-height: calc(100% - 2px) !important;
  margin: 0 auto !important;
  transform: none !important;
  object-fit: contain !important;
  object-position: center bottom !important;
}

/* ── qa017: prose answer + obligation list ── */
html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--answer-prose-list {
  position: relative;
  width: var(--book-fixed-page-w);
  height: var(--book-fixed-page-h);
  box-sizing: border-box;
  padding:
    var(--book-fixed-pad-top)
    var(--book-fixed-pad-x)
    var(--book-fixed-pad-bottom);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--answer-prose-list .page-design-root__layout,
html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--answer-prose-list .qa-page-layout--answer-prose-list {
  width: 100%;
  max-width: var(--book-fixed-content-w);
  height: var(--book-fixed-content-h);
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--answer-prose-list .answer-block--intro .answer-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--book-fixed-font-label);
  font-weight: 600;
  line-height: var(--book-fixed-lh-label);
  color: var(--book-fixed-color-label);
  margin: 0;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--answer-prose-list .qa-text-content {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--answer-prose-list .question-block,
html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--answer-prose-list .answer-block--intro {
  flex: 0 0 auto;
  width: 100%;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--answer-prose-list .answer-block--intro {
  margin-top: var(--book-fixed-gap-q-block, 10px);
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--answer-prose-list .qa-answer-prose-list-zone {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin-top: 6px;
  overflow: hidden;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa017"] .page-design-root--answer-prose-list .qa-answer-prose-list-zone {
  justify-content: center;
  margin-top: 14px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa017"] .page-design-root--answer-prose-list .qa-answer-prose-list-heading {
  margin: 0 0 8px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa017"] .page-design-root--answer-prose-list .qa-answer-list-scroll {
  flex: 0 1 auto;
  max-height: none;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--answer-prose-list .qa-answer-prose-list-heading {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
  margin: 0 0 4px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--answer-prose-list .qa-answer-list-subheading {
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--book-fixed-font-answer, 16px);
  line-height: var(--book-fixed-lh-answer, 1.44);
  font-weight: 600;
  color: var(--book-fixed-color-text, #24180c);
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--answer-prose-list .qa-answer-list-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--answer-prose-list .qa-answer-list-scroll.is-scrollable {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--answer-prose-list .qa-answer-list-scroll::-webkit-scrollbar {
  display: none;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--answer-prose-list .qa-answer-list-scroll-indicator {
  flex: 0 0 auto;
  margin-left: auto;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--answer-prose-list .qa-answer-list-scroll-indicator[hidden] {
  display: none !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa017"] .page-design-root--answer-prose-list .qa-answer-list,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa018"] .page-design-root--answer-prose-list .qa-answer-list,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa034"] .page-design-root--answer-prose-list .qa-answer-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa017"] .page-design-root--answer-prose-list .qa-answer-list__item,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa018"] .page-design-root--answer-prose-list .qa-answer-list__item,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa034"] .page-design-root--answer-prose-list .qa-answer-list__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa017"] .page-design-root--answer-prose-list .qa-answer-list-subheading,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa018"] .page-design-root--answer-prose-list .qa-answer-list-subheading {
  font-size: 17.5px !important;
  line-height: 1.46 !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa017"] .page-design-root--answer-prose-list .qa-answer-list__text,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa018"] .page-design-root--answer-prose-list .qa-answer-list__text {
  font-size: 17px !important;
  line-height: 1.46 !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa017"] .page-design-root--answer-prose-list .qa-answer-list__marker,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa018"] .page-design-root--answer-prose-list .qa-answer-list__marker,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa034"] .page-design-root--answer-prose-list .qa-answer-list__marker,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa035"] .page-design-root--answer-list .qa-answer-list__marker,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa036"] .page-design-root--answer-list .qa-answer-list__marker {
  position: relative;
  flex: 0 0 auto;
  width: 8px !important;
  height: 8px !important;
  margin-top: 0.42em;
  border-radius: 2px !important;
  background: radial-gradient(
    circle at 32% 28%,
    #f2e2ad 0%,
    #e8cc7a 20%,
    #c9a84c 52%,
    #9a7830 80%,
    #6f5522 100%
  );
  box-shadow:
    inset -1px -2px 3px rgba(48, 30, 8, 0.58),
    inset 1px 1px 2px rgba(255, 238, 188, 0.5),
    0 1px 2px rgba(0, 0, 0, 0.3),
    0 0 5px rgba(201, 168, 76, 0.34);
  animation: qaAnswerMarkerGoldShimmer 4.8s ease-in-out infinite;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa017"] .page-design-root--answer-prose-list .qa-answer-list__marker::before,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa018"] .page-design-root--answer-prose-list .qa-answer-list__marker::before,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa034"] .page-design-root--answer-prose-list .qa-answer-list__marker::before,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa035"] .page-design-root--answer-list .qa-answer-list__marker::before,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa036"] .page-design-root--answer-list .qa-answer-list__marker::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 2px !important;
  background: radial-gradient(circle at 28% 22%, rgba(255, 250, 228, 0.82) 0%, transparent 46%);
  pointer-events: none;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa017"] .page-design-root--answer-prose-list .qa-answer-list__marker::after,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa018"] .page-design-root--answer-prose-list .qa-answer-list__marker::after,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa034"] .page-design-root--answer-prose-list .qa-answer-list__marker::after,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa035"] .page-design-root--answer-list .qa-answer-list__marker::after,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa036"] .page-design-root--answer-list .qa-answer-list__marker::after {
  content: none !important;
  display: none !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa017"] .page-design-root--answer-prose-list .page-number,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa018"] .page-design-root--answer-prose-list .page-number {
  bottom: var(--book-fixed-page-num-bottom);
}

/* ── qa019: static hadith quote (qa012 visual, no exercise) ── */
html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith-quote {
  position: relative;
  width: var(--book-fixed-page-w);
  height: var(--book-fixed-page-h);
  box-sizing: border-box;
  padding:
    var(--book-fixed-pad-top)
    var(--book-fixed-pad-x)
    var(--book-fixed-pad-bottom);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith-quote .page-design-root__layout,
html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith-quote .qa-page-layout--hadith-quote {
  width: 100%;
  max-width: var(--book-fixed-content-w);
  height: var(--book-fixed-content-h);
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith-quote .answer-block--intro .answer-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--book-fixed-font-label);
  font-weight: 600;
  line-height: var(--book-fixed-lh-label);
  color: var(--book-fixed-color-label);
  margin: 0;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith-quote .qa-text-content {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith-quote .question-block,
html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith-quote .answer-block--intro {
  flex: 0 0 auto;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith-quote .answer-block--intro {
  margin-top: var(--book-fixed-gap-q-block, 10px);
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith-quote .qa-hadith-quote-zone {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin-top: 6px;
  overflow: hidden;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith-quote .qa-hadith-quote-heading {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  margin: 0 0 2px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith-quote .qa-hadith-quote-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith-quote .qa-hadith-quote-scroll.is-scrollable {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith-quote .qa-hadith-quote-scroll::-webkit-scrollbar {
  display: none;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith-quote .qa-hadith-quote-scroll-indicator[hidden] {
  display: none !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith-quote .qa-hadith-quote-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith-quote .qa-hadith-answer-quote {
  margin: 0;
  padding: 6px 8px 6px 10px;
  border-left: 2px solid rgba(201, 168, 76, 0.84);
  background: rgba(255, 250, 238, 0.42);
  box-shadow: inset 2px 0 10px rgba(201, 168, 76, 0.12);
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  line-height: 1.48;
  font-weight: 500;
  font-style: normal;
  color: #24180c;
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith-quote .qa-hadith-answer-source {
  display: flex !important;
  align-items: flex-start !important;
  gap: var(--book-fixed-gap-source, 8px) !important;
  margin-top: 8px;
  padding: 6px 6px 0;
  border-top: 1px solid rgba(201, 168, 76, 0.22);
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith-quote .qa-hadith-answer-source__icon {
  flex: 0 0 auto;
  display: block !important;
  width: 15px;
  height: 15px;
  margin-top: 0.12em;
  background: url('../assets/images/icon-kniga-hadisi.svg') center / contain no-repeat;
  filter: sepia(0.85) saturate(2.4) hue-rotate(8deg) brightness(0.72);
}

html.book-layout-mode-fixed .book-stage--layout-fixed .page-design-root--hadith-quote .qa-hadith-answer-source__text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: var(--book-fixed-font-hadith-source);
  line-height: var(--book-fixed-lh-hadith-source);
  color: rgba(42, 28, 14, 0.86);
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa019"] .page-design-root--hadith-quote .page-number {
  bottom: var(--book-fixed-page-num-bottom);
}

/* qa019: bottom illustration in free zone (max size, no overlap) */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa019"] .page-design-root--hadith-quote .page-design-root__layout {
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  height: var(--book-fixed-content-h) !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa019"] .page-design-root--hadith-quote .qa-text-content {
  grid-row: 1;
  flex: none !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa019"] .page-design-root--hadith-quote .qa-hadith-quote-zone {
  flex: 0 1 auto !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa019"] .qa-page10-illustration-zone {
  grid-row: 2;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  min-height: 0 !important;
  height: 100% !important;
  max-height: 100% !important;
  padding: 0 2px 4px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa019"] .qa-page10-illustration {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: min(312px, calc(100% - 4px)) !important;
  max-height: calc(100% - 2px) !important;
  margin: 0 auto !important;
  transform: none !important;
  object-fit: contain !important;
  object-position: center bottom !important;
}

/* ── qa030: hadith quote + icon-30stranica (centered, max in free zone) ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa030"] .page-design-root--hadith-quote .page-design-root__layout {
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  height: var(--book-fixed-content-h) !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa030"] .page-design-root--hadith-quote .qa-text-content {
  grid-row: 1;
  flex: none !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa030"] .page-design-root--hadith-quote .answer-block--intro {
  margin-top: 8px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa030"] .page-design-root--hadith-quote .qa-hadith-quote-zone {
  flex: 0 1 auto !important;
  margin-top: 4px;
  min-height: 0 !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa030"] .page-design-root--hadith-quote .qa-hadith-quote-body {
  gap: 5px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa030"] .page-design-root--hadith-quote .qa-hadith-answer-quote {
  padding: 5px 8px 5px 10px;
  line-height: 1.42;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa030"] .page-design-root--hadith-quote .qa-hadith-answer-source {
  margin-top: 6px;
  padding-top: 4px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa030"] .qa-page10-illustration-zone {
  grid-row: 2;
  display: grid !important;
  place-items: center !important;
  place-content: center !important;
  align-content: center !important;
  justify-items: center !important;
  min-height: 0 !important;
  height: 100% !important;
  max-height: 100% !important;
  padding: 2px 0 2px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa030"] .qa-page10-illustration {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: min(316px, calc(100% - 2px)) !important;
  max-height: calc(100% - 2px) !important;
  margin: 0 auto !important;
  transform: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa030"] .page-design-root--hadith-quote .page-number {
  bottom: var(--book-fixed-page-num-bottom);
}

/* ── qa033: page10 Q&A + icon-33stranica (centered, max in free zone) ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa033"] .page-design-root--page10 .page-design-root__layout {
  grid-template-rows: 210px 224px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa033"] .page-design-root--page10 .qa-text-content {
  min-height: 0;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa033"] .page-design-root--page10 .question-block {
  margin-bottom: 6px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa033"] .page-design-root--page10 .answer-block {
  margin-top: 4px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa033"] .qa-page10-illustration-zone {
  display: grid !important;
  place-items: center !important;
  place-content: center !important;
  align-content: center !important;
  justify-items: center !important;
  height: 224px !important;
  max-height: 224px !important;
  padding: 2px 0 2px !important;
  box-sizing: border-box !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa033"] .qa-page10-illustration {
  width: auto !important;
  height: auto !important;
  max-height: min(220px, calc(100% - 2px)) !important;
  max-width: min(316px, calc(100% - 2px)) !important;
  margin: 0 auto !important;
  transform: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa033"] .page-design-root--page10 .answer-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--book-fixed-font-label);
  font-weight: 600;
  line-height: var(--book-fixed-lh-label);
  color: var(--book-fixed-color-label);
  margin: 0;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa033"] .page-design-root--page10 .answer-block,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa033"] .page-design-root--page10 .answer-text {
  overflow: hidden !important;
}

/* ── qa034: intro answer + numbered prayer list + icon-34stranica ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa034"] .page-design-root--answer-prose-list .page-design-root__layout {
  display: grid !important;
  grid-template-rows: 292px 142px !important;
  overflow: hidden;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa034"] .page-design-root--answer-prose-list .qa-text-content {
  grid-row: 1;
  min-height: 0;
  overflow: hidden !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa034"] .qa-page10-illustration-zone {
  grid-row: 2;
  display: grid !important;
  place-items: center !important;
  place-content: center !important;
  align-content: center !important;
  justify-items: center !important;
  height: 142px !important;
  max-height: 142px !important;
  min-height: 0;
  overflow: hidden;
  padding: 2px 0 0 !important;
  box-sizing: border-box !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa034"] .qa-page10-illustration {
  width: auto !important;
  height: auto !important;
  max-height: min(132px, calc(100% - 2px)) !important;
  max-width: min(280px, calc(100% - 2px)) !important;
  margin: 0 auto !important;
  transform: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa034"] .page-design-root--answer-prose-list .question-text {
  font-family: 'IM Fell English', serif;
  font-size: 17.5px !important;
  line-height: 1.4 !important;
  font-weight: 500;
  color: var(--book-fixed-color-text);
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa034"] .page-design-root--answer-prose-list .answer-block--intro {
  margin-top: 6px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa034"] .page-design-root--answer-prose-list .answer-block--intro .answer-text {
  font-size: 15px !important;
  line-height: 1.38 !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa034"] .page-design-root--answer-prose-list .qa-answer-prose-list-zone {
  margin-top: 2px;
  justify-content: flex-start;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa034"] .page-design-root--answer-prose-list .qa-answer-prose-list-heading--plain {
  display: none;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa034"] .page-design-root--answer-prose-list .qa-answer-list {
  gap: 3px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa034"] .page-design-root--answer-prose-list .qa-answer-list__text {
  font-size: 15px !important;
  line-height: 1.38 !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa034"] .page-design-root--answer-prose-list .qa-answer-list-scroll,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa034"] .page-design-root--answer-prose-list .qa-answer-list-scroll.is-scrollable {
  overflow: visible !important;
  flex: 0 1 auto !important;
  min-height: auto;
  max-height: none;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa034"] .page-design-root--answer-prose-list .qa-answer-list-scroll-indicator {
  display: none !important;
}

/* ── qa035: answer label + numbered conditions list (no image, no scroll) ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa035"] .page-design-root--answer-list .page-design-root__layout {
  grid-template-rows: minmax(0, 1fr) !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa035"] .page-design-root--answer-list .qa-text-content {
  overflow: visible !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa035"] .page-design-root--answer-list .question-block {
  margin-bottom: 4px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa035"] .page-design-root--answer-list .answer-block {
  margin-top: 6px !important;
  flex: 0 1 auto;
  min-height: auto;
  display: flex;
  flex-direction: column;
  overflow: visible !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa035"] .page-design-root--answer-list .qa-answer-list-heading {
  flex: 0 0 auto;
  margin-bottom: 2px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa035"] .page-design-root--answer-list .qa-answer-list-scroll,
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa035"] .page-design-root--answer-list .qa-answer-list-scroll.is-scrollable {
  overflow: visible !important;
  flex: 0 1 auto !important;
  min-height: auto;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa035"] .page-design-root--answer-list .qa-answer-list-scroll-indicator {
  display: none !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa035"] .page-design-root--answer-list .qa-answer-list {
  gap: 5px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa035"] .page-design-root--answer-list .qa-answer-list__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa035"] .page-design-root--answer-list .qa-answer-list__text {
  font-size: 15px !important;
  line-height: 1.4 !important;
}

/* ── qa036: answer label + wudu pillars list + icon-36stranica ── */
html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa036"] .page-design-root--answer-list .page-design-root__layout {
  display: grid !important;
  grid-template-rows: 272px 162px !important;
  overflow: hidden;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa036"] .page-design-root--answer-list .qa-text-content {
  grid-row: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa036"] .qa-page10-illustration-zone {
  grid-row: 2;
  display: grid !important;
  place-items: center !important;
  place-content: center !important;
  align-content: center !important;
  justify-items: center !important;
  height: 162px !important;
  max-height: 162px !important;
  min-height: 0;
  overflow: hidden;
  padding: 2px 0 0 !important;
  box-sizing: border-box !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa036"] .qa-page10-illustration {
  width: auto !important;
  height: auto !important;
  max-height: min(158px, calc(100% - 2px)) !important;
  max-width: min(316px, calc(100% - 2px)) !important;
  margin: 0 auto !important;
  transform: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa036"] .page-design-root--answer-list .question-block {
  flex: 0 0 auto;
  margin-bottom: 4px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa036"] .page-design-root--answer-list .answer-block {
  margin-top: 6px !important;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa036"] .page-design-root--answer-list .qa-answer-list-heading {
  flex: 0 0 auto;
  margin-bottom: 2px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa036"] .page-design-root--answer-list .qa-answer-list-scroll {
  flex: 1 1 auto;
  min-height: 0;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa036"] .page-design-root--answer-list .qa-answer-list {
  gap: 5px !important;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa036"] .page-design-root--answer-list .qa-answer-list__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

html.book-layout-mode-fixed .book-stage--layout-fixed [data-page-audio-id="qa036"] .page-design-root--answer-list .qa-answer-list__text {
  font-size: 15px !important;
  line-height: 1.4 !important;
}
