@import "books.css";

/* Kids hero section with angled image */
.kids-hero.adult-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  background: var(--accentColor2);
  color: white;
  padding: 3rem 2rem 2.5rem 2rem;
  margin-bottom: 3rem;
  border-radius: 1.5rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.kids-hero-img-container {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
}
.kids-hero-img-angled {
  width: 210px;
  height: 260px;
  object-fit: cover;
  border-radius: 1.2rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.13);
  transform: rotate(-7deg);
  margin-right: 0.5rem;
  margin-bottom: 0;
  background: #fff;
  border: 3px solid #fff;
}
.kids-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 600px;
}
.kids-hero-content .adult-hero-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}
.kids-hero-content .adult-hero-desc {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  opacity: 0.95;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .kids-hero.adult-hero {
    flex-direction: column;
    padding: 2rem 1rem 1.5rem 1rem;
    gap: 1.5rem;
  }
  .kids-hero-img-angled {
    width: 150px;
    height: 180px;
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
  .kids-hero-content {
    align-items: center;
    text-align: center;
  }
}
