.handbook-hero {
  background:
    linear-gradient(135deg, rgba(17, 110, 99, 0.92), rgba(8, 46, 42, 0.88)),
    url("image.php?book=therapeutic&kind=cover") center/cover no-repeat;
}

.home-handbook {
  background: linear-gradient(135deg, #0d4f47 0%, #116E63 55%, #0b3d38 100%);
}

.home-handbook-text {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

.home-handbook-card {
  display: block;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.25);
  transition: transform .25s ease, box-shadow .25s ease;
}

.home-handbook-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.35);
}

.home-handbook-cover {
  background: #f2f3f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  min-height: 250px;
}

.home-handbook-cover img {
  max-height: 230px;
  width: auto;
  max-width: 100%;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.home-handbook-info {
  padding: 18px 20px 22px;
}

.home-handbook-info h5 {
  margin-bottom: 6px;
  color: var(--theme-color);
}

.home-handbook-info span {
  color: #667;
  font-size: 14px;
}

.handbook-note {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff8ea;
  border: 1px solid #f3d9a4;
  color: #6a4b12;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 40px;
}

.handbook-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(17, 110, 99, 0.12);
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}

.handbook-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(17, 110, 99, 0.18);
}

.handbook-cover-wrap {
  background: linear-gradient(180deg, #0d4f47 0%, #116E63 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.handbook-cover-wrap img {
  max-height: 360px;
  width: auto;
  max-width: 100%;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
  border-radius: 4px;
}

.handbook-card-body {
  padding: 24px;
}

.handbook-kicker {
  color: var(--theme-color2);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 8px;
}

.handbook-card-body h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.handbook-meta {
  color: #667;
  margin-bottom: 18px;
}

.handbook-reader {
  background:
    radial-gradient(circle at top, #1b7a6e 0, #0b3d38 42%, #071f1d 100%);
  min-height: 70vh;
  padding: 24px 0 70px;
}

.handbook-toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 31, 29, 0.92);
  backdrop-filter: blur(8px);
  color: #fff;
  border-bottom: 1px solid rgba(253, 163, 27, 0.35);
  margin-bottom: 24px;
}

.handbook-toolbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.handbook-toolbar a.back-link {
  color: #fff;
  font-weight: 600;
}

.handbook-toolbar a.back-link:hover {
  color: var(--theme-color2);
}

.handbook-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.handbook-controls button,
.handbook-controls .page-jump {
  background: #116E63;
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  min-width: 42px;
  height: 40px;
  padding: 0 12px;
}

.handbook-controls button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.handbook-controls input[type="number"] {
  width: 72px;
  height: 40px;
  border-radius: 8px;
  border: 0;
  text-align: center;
  font-weight: 700;
}

.handbook-stage {
  display: flex;
  justify-content: center;
  padding: 10px 0 24px;
}

.handbook-page-frame {
  background: #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  max-width: min(920px, 100%);
  width: 100%;
}

.handbook-page-frame.landscape {
  max-width: min(1100px, 100%);
}

.handbook-page-frame img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}

.handbook-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 4px 16px;
}

.handbook-thumbs a {
  flex: 0 0 auto;
  width: 64px;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  opacity: .72;
}

.handbook-thumbs a.active,
.handbook-thumbs a:hover {
  border-color: var(--theme-color2);
  opacity: 1;
}

.handbook-thumbs img {
  display: block;
  width: 100%;
  height: 86px;
  object-fit: cover;
}
