.book-solidarity-hero {
  position: relative;
  grid-column: 1 / -1;
  min-height: clamp(610px, 56vw, 790px);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #073438;
}

.book-solidarity-background {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: bookSolidarityDrift 18s ease-in-out infinite alternate;
}

.book-solidarity-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 29, 33, .96) 0%, rgba(3, 31, 35, .88) 45%, rgba(3, 31, 35, .62) 100%),
    linear-gradient(0deg, rgba(3, 28, 31, .35), transparent 45%);
}

.book-solidarity-layout {
  width: min(1460px, calc(100% - 72px));
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(460px, .95fr);
  align-items: center;
  gap: clamp(38px, 5vw, 86px);
  margin: 0 auto;
  padding: 72px 0 58px;
}

.book-solidarity-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.book-solidarity-copy > span,
.book-returning-access > span {
  color: #f5c96d;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.book-solidarity-copy h2 {
  max-width: 690px;
  margin: 12px 0 18px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.75rem, 5vw, 5.4rem);
  line-height: .96;
  letter-spacing: 0;
}

.book-solidarity-copy p {
  max-width: 660px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(.98rem, 1.25vw, 1.16rem);
  line-height: 1.58;
}

.book-solidarity-copy .book-digital-clarity {
  width: fit-content;
  margin: 0 0 24px;
  padding: 10px 13px;
  border-left: 3px solid #f5c96d;
  color: #fff;
  background: rgba(5, 44, 47, .62);
  font-size: .88rem;
}

.book-solidarity-cta {
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 6px;
  color: #073438;
  background: #fff8e8;
  box-shadow: 0 15px 38px rgba(0, 0, 0, .24);
  font: 900 .9rem/1.1 Inter, ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
}

.book-solidarity-cta:hover { background: #f5c96d; }

.book-solidarity-product {
  display: grid;
  grid-template-columns: minmax(175px, 220px) minmax(255px, 1fr);
  align-items: center;
  gap: 20px;
}

.book-solidarity-cover {
  position: relative;
  z-index: 1;
  margin: 0;
  transform: rotate(-2deg);
  filter: drop-shadow(0 28px 28px rgba(0, 0, 0, .38));
}

.book-solidarity-cover img {
  display: block;
  width: 100%;
  max-height: 430px;
  border: 1px solid rgba(255, 255, 255, .68);
  object-fit: contain;
  background: #e8f2f1;
}

.book-solidarity-cover figcaption {
  margin-top: 11px;
  color: rgba(255, 255, 255, .76);
  font-size: .72rem;
  line-height: 1.4;
  text-align: center;
}

.book-returning-access {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 7px;
  background: rgba(3, 42, 46, .82);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  backdrop-filter: blur(12px);
}

.book-returning-access h3 {
  margin: 6px 0 9px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.05;
}

.book-returning-access > p {
  margin: 0 0 17px;
  color: rgba(255, 255, 255, .82);
  font-size: .82rem;
  line-height: 1.5;
}

.book-returning-fields label {
  display: block;
  margin-bottom: 7px;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
}

.book-returning-fields > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.book-returning-fields input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 5px;
  color: #123f45;
  background: #fff;
  font: 700 .86rem/1 Inter, ui-sans-serif, system-ui, sans-serif;
}

.book-returning-fields button,
.book-access-status button {
  min-height: 48px;
  padding: 0 15px;
  border: 0;
  border-radius: 5px;
  color: #073438;
  background: #f5c96d;
  font: 900 .78rem/1 Inter, ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
}

.book-returning-fields button:disabled { cursor: wait; opacity: .7; }

.book-returning-access .book-access-status {
  min-height: 18px;
  margin: 11px 0 0;
  color: #c9f1e9;
  font-size: .72rem;
  line-height: 1.45;
}

.book-returning-access .book-access-status.is-error { color: #ffe0b8; }
.book-access-status button { min-height: 34px; margin-top: 8px; padding: 0 10px; }

.book-ambient-toggle {
  position: absolute;
  top: 68px;
  right: 22px;
  z-index: 5;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 50%;
  color: #fff;
  background: rgba(3, 38, 42, .72);
  box-shadow: 0 9px 24px rgba(0, 0, 0, .24);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.book-ambient-note { font: 700 1.15rem/1 Georgia, serif; }
.book-ambient-slash { display: none; position: absolute; width: 23px; height: 2px; transform: rotate(-45deg); background: #ffcf72; }
.book-ambient-toggle.is-muted .book-ambient-slash { display: block; }
.book-ambient-toggle:hover { background: rgba(4, 66, 70, .92); }

.book-buyer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.book-data-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  margin: 13px 0 2px;
  color: #4f6b70;
  font-size: .76rem;
  line-height: 1.45;
}

.book-data-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #079ba3; }
.book-solidarity-note { padding: 13px 15px; border-left: 4px solid #f0b92b; background: #fff6d9; color: #35595f !important; }
.book-format-warning { padding: 12px 14px; border: 1px solid #efc56d; background: #fffaf0; color: #214f55; font-size: .84rem; line-height: 1.48; }

.book-prologue-preview {
  margin: 16px 0;
  border: 1px solid #b9dfe1;
  border-radius: 6px;
  overflow: hidden;
  background: #f5fbfa;
}

.book-prologue-preview summary {
  padding: 13px 15px;
  color: #0d4e58;
  font-weight: 900;
  cursor: pointer;
}

.book-prologue-preview iframe { width: 100%; height: min(52vh, 480px); display: block; border: 0; background: #fff; }

@keyframes bookSolidarityDrift {
  from { transform: scale(1.01); }
  to { transform: scale(1.055); }
}

@media (max-width: 1120px) {
  .book-solidarity-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 90px; }
  .book-solidarity-product { width: min(720px, 100%); }
  .book-solidarity-copy h2 { max-width: 760px; }
}

@media (max-width: 720px) {
  .book-solidarity-layout { width: min(100% - 30px, 650px); padding: 92px 0 40px; }
  .book-solidarity-shade { background: linear-gradient(180deg, rgba(3, 31, 35, .72), rgba(3, 31, 35, .97)); }
  .book-solidarity-copy h2 { font-size: clamp(2.35rem, 11vw, 3.5rem); }
  .book-solidarity-cta { width: 100%; }
  .book-solidarity-product { grid-template-columns: minmax(105px, 145px) minmax(0, 1fr); align-items: start; gap: 13px; }
  .book-solidarity-cover img { max-height: 300px; }
  .book-returning-access { padding: 18px; }
  .book-returning-fields > div { grid-template-columns: 1fr; }
  .book-returning-fields button { width: 100%; }
  .book-ambient-toggle { top: 62px; right: 15px; }
}

@media (max-width: 500px) {
  .book-solidarity-product { grid-template-columns: 1fr; }
  .book-solidarity-cover { width: min(180px, 56vw); margin: 0 auto; }
  .book-solidarity-cover figcaption { display: none; }
  .book-returning-access { width: 100%; }
  .book-buyer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .book-solidarity-background { animation: none; }
}
