.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--celadon);
}
.hero figure {
  position: absolute;
  inset: 0 0 0 28%;
  margin: 0;
  overflow: hidden;
}
.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 47%;
}
.hero .preview-books {
  inset: 0 0 0 52%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px;
}
.preview-books .book-art {
  flex: 1;
  max-width: 150px;
  min-width: 0;
  border: 0;
  background: transparent;
}
.preview-books .book-art img {
  object-fit: contain;
}
@media (max-width: 700px) {
  .hero .preview-books {
    inset: auto 0 0;
    height: var(--hero-photo-height);
    padding: 20px;
  }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #e4edea 0%,
    #e4edea 36%,
    rgba(228, 237, 234, 0.98) 42%,
    rgba(228, 237, 234, 0.76) 48%,
    rgba(228, 237, 234, 0) 58%
  );
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: 49%;
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.hero .hero-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pine);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.13em;
}
.hero-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}
.hero h1 {
  margin: 0;
  color: var(--pine);
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.42;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: balance;
  hyphens: none;
}
.hero h1:lang(ko),
.hero p:lang(ko) {
  word-break: keep-all;
}
.hero h1:lang(ne) {
  font-family: "Noto Sans Devanagari", "Devanagari Sangam MN", sans-serif;
  line-height: 1.55;
}
.hero h1:lang(th) {
  font-family: "Noto Sans Thai", Thonburi, sans-serif;
  line-height: 1.55;
}
.hero p {
  white-space: normal;
  font-size: 16px;
  line-height: 1.75;
  text-wrap: pretty;
}
.hero .actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.hero-secondary {
  background: rgba(255, 255, 255, 0.62);
  color: var(--pine);
  border-color: var(--pine);
}
@media (min-width: 701px) and (max-width: 1000px) {
  .hero-copy {
    width: 53%;
    padding: 34px 28px;
  }
  .hero h1 {
    font-size: 30px;
  }
}
@media (max-width: 700px) {
  .hero {
    --hero-photo-height: clamp(200px, 60vw, 280px);
    min-height: 0;
    border-radius: 10px;
  }
  .hero-copy {
    width: 100%;
    padding: 28px 22px calc(var(--hero-photo-height) + 12px);
    gap: 18px;
  }
  .hero h1 {
    font-size: clamp(24px, 6.8vw, 30px);
    line-height: 1.45;
  }
  .hero p {
    font-size: 15px;
    line-height: 1.75;
  }
  .hero figure {
    inset: auto 0 0;
    height: var(--hero-photo-height);
  }
  .hero-photo {
    object-position: 50% 45%;
  }
  .hero::after {
    inset: auto 0 0;
    height: var(--hero-photo-height);
    background: linear-gradient(
      180deg,
      #e4edea 0%,
      rgba(228, 237, 234, 0.68) 8%,
      rgba(228, 237, 234, 0) 23%
    );
  }
  .hero .actions {
    gap: 8px;
  }
  .hero .button {
    padding-inline: 14px;
  }
}
@media (max-width: 360px) {
  .hero-copy {
    padding-inline: 18px;
  }
}

.hero .button {
  font-size: 14px;
  min-height: 46px;
}
.hero .primary {
  min-width: 120px;
}
.hero-secondary {
  min-width: 92px;
}
