
.page-pocketbooks,
.page-pocketbook-detail {
  background: #fbf8f0;
}

.pb-hero,
.pb-detail-hero {
  align-items: center;
  display: grid;
  gap: clamp(34px, 7vw, 90px);
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.62fr);
  margin: 0 auto;
  max-width: 1160px;
  min-height: 72vh;
  padding: 96px clamp(20px, 4vw, 44px) 78px;
}

.pb-detail-hero {
  grid-template-columns: minmax(240px, 0.46fr) minmax(0, 1fr);
}

.pb-hero h1,
.pb-detail-hero h1 {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 6.1vw, 6rem);
  hyphens: none;
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0 0 28px;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

.pb-detail-hero h1 {
  font-size: clamp(3rem, 5.6vw, 5.8rem);
}

.pb-series,
.pb-meta {
  color: #d7a33a;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.pb-nowrap {
  white-space: nowrap;
}

.pb-hero-copy > p:not(.pb-series),
.pb-detail-copy > p {
  max-width: 660px;
}

.pb-hero-panel {
  background: var(--green);
  border-radius: 10px;
  box-shadow: var(--shadow);
  color: #fff;
  min-height: 360px;
  padding: 38px;
}

.pb-hero-panel strong {
  color: #d7a33a;
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5.5rem, 12vw, 9rem);
  line-height: 0.9;
}

.pb-hero-panel span {
  display: block;
  font-size: 1.15rem;
  font-weight: 850;
  margin-top: 16px;
}

.pb-hero-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.pb-platform {
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1fr);
  padding-top: 56px;
}

.pb-platform h2,
.pb-detail-body h2,
.pb-social-preview h2,
.pb-related h2 {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  margin: 0 0 18px;
}

.pb-category-row {
  align-content: start;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pb-category-row span,
.pb-share a,
.pb-amazon-note {
  background: #fff;
  border: 1px solid rgba(23, 63, 53, 0.14);
  border-radius: 8px;
  color: var(--green);
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 760;
  padding: 9px 12px;
}

.pb-catalog {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 34px;
}

.pb-card {
  background: #fff;
  border: 1px solid rgba(23, 63, 53, 0.1);
  border-radius: 10px;
  box-shadow: 0 16px 50px rgba(23, 63, 53, 0.08);
  display: grid;
  gap: 22px;
  grid-template-columns: 128px 1fr;
  min-height: 292px;
  padding: 20px;
}

.pb-card-cover {
  align-self: start;
  background: #f4eee2;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(23, 63, 53, 0.18);
  display: block;
  overflow: hidden;
}

.pb-card-cover img,
.pb-detail-cover img {
  display: block;
  height: auto;
  width: 100%;
}

.pb-card h2 {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  hyphens: none;
  line-height: 1.04;
  margin: 0 0 10px;
  overflow-wrap: normal;
  word-break: normal;
}

.pb-subtitle,
.pb-detail-subtitle {
  color: var(--ink);
  font-weight: 760;
  line-height: 1.5;
  margin-bottom: 12px;
}

.pb-card p {
  font-size: 0.96rem;
  line-height: 1.58;
}

.pb-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.pb-detail-cover {
  justify-self: center;
  max-width: min(360px, 72vw);
  transform: rotate(-1.5deg);
}

.pb-detail-cover img {
  border-radius: 10px;
  box-shadow: 0 28px 82px rgba(23, 63, 53, 0.24);
}

.pb-detail-body {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
  padding-top: 36px;
}

.pb-text-panel,
.pb-facts {
  background: #fff;
  border: 1px solid rgba(23, 63, 53, 0.1);
  border-radius: 10px;
  box-shadow: 0 14px 46px rgba(23, 63, 53, 0.07);
  padding: clamp(24px, 4vw, 42px);
}

.pb-facts ul {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.pb-facts li {
  border-bottom: 1px solid rgba(23, 63, 53, 0.1);
  color: var(--muted);
  font-weight: 700;
  padding-bottom: 8px;
}

.pb-share {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.pb-share a:hover,
.pb-category-row span:hover {
  border-color: var(--green);
}

.pb-amazon-note {
  margin: 16px 0 0;
}

.pb-social-preview {
  align-items: center;
  display: grid;
  gap: clamp(26px, 5vw, 52px);
  grid-template-columns: minmax(0, 0.74fr) minmax(320px, 1fr);
  padding-top: 46px;
}

.pb-social-preview img {
  border-radius: 10px;
  box-shadow: 0 22px 70px rgba(23, 63, 53, 0.16);
  display: block;
  width: 100%;
}

.pb-related-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pb-related-grid .pb-card {
  grid-template-columns: 94px 1fr;
  min-height: 240px;
}

.pb-related-grid .pb-card h2 {
  font-size: 1.55rem;
}

.pb-related-grid .pb-card p:not(.pb-meta):not(.pb-subtitle) {
  display: none;
}

@media (max-width: 980px) {
  .pb-hero,
  .pb-detail-hero,
  .pb-platform,
  .pb-detail-body,
  .pb-social-preview {
    grid-template-columns: 1fr;
  }

  .pb-catalog,
  .pb-related-grid {
    grid-template-columns: 1fr;
  }

  .pb-detail-cover {
    justify-self: start;
    max-width: 300px;
  }

  .pb-detail-hero h1 {
    font-size: clamp(3rem, 7vw, 4.8rem);
    line-height: 1;
  }
}

@media (max-width: 620px) {
  .cookie-banner {
    bottom: 12px;
    gap: 12px;
    left: 12px;
    max-height: 42vh;
    overflow: auto;
    padding: 16px;
    right: 12px;
  }

  .cookie-banner h2 {
    font-size: 1.12rem;
    margin-bottom: 4px;
  }

  .cookie-banner p {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .cookie-actions {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cookie-actions .button {
    font-size: 0.86rem;
    padding: 10px 12px;
  }

  .pb-hero,
  .pb-detail-hero {
    padding-top: 76px;
  }

  .pb-hero h1,
  .pb-detail-hero h1 {
    line-height: 1;
  }

  .pb-hero h1 {
    font-size: clamp(2.45rem, 11vw, 3.35rem);
  }

  .pb-detail-hero h1 {
    font-size: clamp(2rem, 8.5vw, 3.05rem);
    line-height: 1.03;
  }

  .pb-card,
  .pb-related-grid .pb-card {
    grid-template-columns: 96px 1fr;
    padding: 16px;
  }

  .pb-card-actions {
    display: grid;
  }

  .pb-card-actions .button,
  .pb-detail-copy .button {
    width: 100%;
  }

  .pb-social-preview {
    gap: 20px;
  }
}
