.bac-subject02-preview {
  margin: 0;
  background: #f6f3ec;
  color: #182033;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.s02-shell {
  width: min(1040px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.s02-hero {
  display: grid;
  gap: 12px;
  align-items: start;
  padding: 22px 0 18px;
}

.s02-hero p,
.s02-section__head span {
  margin: 0;
  color: #6f5b37;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.s02-hero h1,
.s02-section__head h2 {
  margin: 0;
  color: #172033;
  letter-spacing: 0;
}

.s02-hero h1 {
  font-size: clamp(2rem, 5vw, 4.3rem);
  line-height: 0.98;
}

.s02-cta,
.s02-actions a,
.s02-locked-page a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #171c2d;
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

.s02-cta {
  width: fit-content;
}

.s02-section {
  margin-top: 22px;
}

.s02-section__head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
  margin-bottom: 12px;
}

.s02-section__head h2 {
  font-size: clamp(1.3rem, 3vw, 2rem);
}

.s02-pages {
  display: grid;
  gap: 14px;
}

.s02-pages img,
.s02-locked-page {
  width: 100%;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(23, 32, 51, 0.1);
}

.s02-pages img {
  display: block;
  height: auto;
}

.s02-locked-page {
  display: grid;
  min-height: 320px;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.82), rgba(246,243,236,0.95)),
    repeating-linear-gradient(-12deg, #efe7d8 0 12px, #f8f4eb 12px 24px);
}

.s02-locked-page strong {
  font-size: 1.25rem;
}

.s02-locked-page p {
  margin: 0;
}

.s02-actions {
  position: sticky;
  bottom: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
  padding: 10px;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 16px;
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(14px);
}

.s02-actions a:nth-child(2),
.s02-actions a:nth-child(3) {
  background: #fff;
  color: #172033;
  border: 1px solid rgba(23, 32, 51, 0.14);
}

@media (max-width: 720px) {
  .s02-shell {
    width: min(100% - 18px, 520px);
    padding-top: 16px;
  }

  .s02-section__head {
    display: grid;
    align-items: start;
  }

  .s02-actions {
    grid-template-columns: 1fr;
    border-radius: 12px;
  }
}
