/* Featured educational books — additive styles for Andy Maddox bookshelf */
.featured-educational-books {
  margin-bottom: 48px;
}

.featured-fynn-moonlight {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid #1a3a5a33;
  padding: clamp(28px, 4vw, 44px);
  background:
    radial-gradient(circle at 12% 18%, #ffffff1a 0, transparent 42%),
    radial-gradient(circle at 88% 12%, #edb84e26 0, transparent 38%),
    radial-gradient(circle at 70% 88%, #2b827d22 0, transparent 45%),
    linear-gradient(165deg, #0f2840 0%, #12314d 42%, #1a3f5c 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.featured-fynn-moonlight::before,
.featured-fynn-moonlight::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.35;
}

.featured-fynn-moonlight::before {
  width: 220px;
  height: 220px;
  top: -60px;
  right: 8%;
  background: radial-gradient(circle, #fff8 0%, transparent 70%);
}

.featured-fynn-moonlight::after {
  width: 6px;
  height: 6px;
  top: 22%;
  left: 14%;
  background: #fff;
  box-shadow:
    42px 18px 0 0 #fff6,
    88px -8px 0 0 #edb84e88,
    120px 32px 0 0 #fff4,
    200px 12px 0 0 #fff5,
    260px 40px 0 0 #fff3;
}

.featured-edu-header {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-bottom: 32px;
}

.featured-edu-header h2 {
  color: #fff;
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  margin-bottom: 12px;
}

.featured-edu-subtitle {
  color: #dbe8f0;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 16px;
}

.featured-edu-intro {
  color: #c8d8e4;
  font-size: 0.98rem;
  line-height: 1.72;
  margin-bottom: 0;
}

.featured-edu-duo {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 28px;
}

.featured-edu-card {
  display: grid;
  grid-template-columns: minmax(120px, 38%) 1fr;
  gap: 16px;
  align-items: start;
  background: #fffdf8f2;
  border: 1px solid #dce4df;
  border-radius: 18px;
  padding: 18px;
  min-width: 0;
}

.featured-edu-card-cover {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, #e8eee9, #f7f3e7);
  box-shadow: 0 12px 28px #12314d24;
}

.featured-edu-card-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 10;
  object-fit: cover;
}

.featured-edu-card-body h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 8px;
  line-height: 1.25;
}

.featured-edu-age {
  display: inline-block;
  color: #41655f;
  background: #eef4f0;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.featured-edu-card-body p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.62;
  margin-bottom: 14px;
}

.featured-edu-price {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.featured-edu-card .button {
  width: 100%;
  text-align: center;
  font-size: 0.82rem;
  padding: 0 16px;
  min-height: 44px;
}

.featured-edu-collection,
.featured-edu-gift {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  padding: 22px 24px;
  margin-top: 8px;
}

.featured-edu-collection {
  background: #ffffffeb;
  border: 1px solid #dce4df;
  color: var(--navy);
}

.featured-edu-collection h3,
.featured-edu-gift h3 {
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.featured-edu-collection p,
.featured-edu-gift p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

.featured-edu-price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--navy);
}

.featured-edu-price-list li + li {
  margin-top: 6px;
}

.featured-edu-collection-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.featured-edu-collection-actions .button {
  flex: 1 1 200px;
  min-height: 44px;
  font-size: 0.82rem;
}

.featured-edu-disclaimer {
  font-size: 0.75rem !important;
  color: #61717d !important;
  margin-bottom: 0 !important;
  line-height: 1.55 !important;
}

.featured-edu-gift {
  margin-top: 18px;
  background: linear-gradient(135deg, #fff1c9 0%, #fffdf8 55%, #dcefeb 100%);
  border: 1px solid #edb84e55;
}

.featured-heron-time {
  margin-top: 36px;
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.featured-heron-time-cover {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 36px #16314818;
}

.featured-heron-time-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.featured-heron-time-copy h2 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  margin-bottom: 10px;
}

.featured-heron-time-copy .featured-edu-age {
  margin-bottom: 12px;
}

.featured-heron-time-copy p {
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.featured-heron-time-copy .button {
  min-height: 44px;
}

@media (max-width: 900px) {
  .featured-edu-duo {
    grid-template-columns: 1fr;
  }

  .featured-edu-card {
    grid-template-columns: minmax(100px, 34%) 1fr;
  }

  .featured-heron-time {
    grid-template-columns: 1fr;
  }

  .featured-heron-time-cover {
    max-width: 220px;
  }
}

@media (max-width: 560px) {
  .featured-edu-card {
    grid-template-columns: 1fr;
  }

  .featured-edu-card-cover {
    max-width: 200px;
    margin: 0 auto;
  }

  .featured-edu-collection-actions {
    flex-direction: column;
  }

  .featured-edu-collection-actions .button {
    flex: 1 1 auto;
    width: 100%;
  }
}
