/* ==========================================================================
   BILIKIDS - MODERN SUBPAGES STYLESHEET (BABIES, TODDLERS, KIDS, TEENS)
   Faithful to the official design with warm light aesthetic and high fidelity.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fredoka', 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-alt: 'Outfit', 'Plus Jakarta Sans', -apple-system, sans-serif;
  
  --bg-app: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --color-pink: #ec4899;
  --color-blue: #0284c7;
  --color-sky: #38bdf8;
  --color-yellow: #f59e0b;
  --color-purple: #8b5cf6;
  --color-green: #10b981;
  --color-teal: #14b8a6;
  
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 28px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-app);
  color: var(--text-main);
  font-family: var(--font-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ==========================================================================
   GLOBAL NAVBAR
   ========================================================================== */
.subpage-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.nav-left-brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-logo-img:hover {
  transform: scale(1.03);
}

.brand-subtitle-tag {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0284c7;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-center-menu {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #f1f5f9;
  padding: 0.25rem 0.35rem;
  border-radius: var(--radius-full);
}

.nav-pill-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  color: #475569;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.nav-pill-item svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

.nav-pill-item:hover {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.7);
}

.nav-pill-item.active {
  background: #ffe4e6;
  color: #e11d48;
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-circle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-circle-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.user-profile-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.25rem 0.75rem 0.25rem 0.35rem;
  border-radius: var(--radius-full);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: background 0.2s;
}

.user-profile-badge:hover {
  background: #f1f5f9;
}

.user-avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.user-greeting-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
}

/* ==========================================================================
   LAYOUT CONTAINER
   ========================================================================== */
.subpage-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem 1.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* ==========================================================================
   MODERN HIGH-FIDELITY HERO BANNER COMPONENTS (BABIES, TODDLERS, KIDS, TEENS)
   ========================================================================== */
.subpage-hero {
  position: relative;
  width: 100%;
  min-height: 350px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  align-items: center;
  background: #fdfaf6;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.subpage-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.subpage-hero-bg-img {
  position: absolute;
  right: 0;
  top: 0;
  width: 68%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 1;
  pointer-events: none;
}

.subpage-hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 350px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #fefcf9 0%, #fefcf9 44%, rgba(254, 252, 249, 0.92) 56%, rgba(254, 252, 249, 0) 74%);
  padding: 2.25rem 3.5rem;
}

.subpage-hero-content {
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hero-title-with-sun {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-group-title {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.5px;
}

.hero-sun-rays {
  width: 38px;
  height: 38px;
}

.hero-group-age {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-top: -4px;
}

.hero-group-desc {
  font-family: var(--font-main);
  font-size: 1.05rem;
  line-height: 1.5;
  color: #475569;
  font-weight: 500;
}

.hero-start-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  margin-top: 0.5rem;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  cursor: pointer;
}

.hero-start-btn:hover {
  transform: scale(1.04);
}

.btn-play-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* Specific themes for hero */
/* Babies */
.babies-hero .hero-group-title { color: #1e3a8a; }
.babies-cta {
  background: #facc15;
  color: #0f172a;
  box-shadow: 0 4px 16px rgba(250, 204, 21, 0.45);
}
.babies-cta .btn-play-circle {
  background: #1e3a8a;
  color: #ffffff;
}
.babies-cta:hover {
  box-shadow: 0 6px 22px rgba(250, 204, 21, 0.65);
}

/* Toddlers */
.toddlers-hero .hero-group-title { color: #e11d48; }
.toddlers-hero .hero-group-age { color: #0f172a; }
.toddlers-cta {
  background: #e11d48;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.4);
}
.toddlers-cta .btn-play-circle {
  background: #0f172a;
  color: #ffffff;
}
.toddlers-cta:hover {
  box-shadow: 0 6px 22px rgba(225, 29, 72, 0.6);
}

/* Floating cloud badge in Babies and Toddlers */
.hero-floating-cloud {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  z-index: 5;
  background: #ffffff;
  padding: 0.65rem 1.25rem;
  border-radius: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  pointer-events: none;
}

.cloud-text-line { font-size: 0.95rem; }
.cloud-blue { color: #0284c7; }
.cloud-pink { color: #ec4899; }
.cloud-purple { color: #8b5cf6; }

/* Kids Hero layout */
.kids-hero-card {
  position: relative;
  width: 100%;
  min-height: 280px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 1.5rem 2.25rem;
  gap: 1.5rem;
}

.kids-hero-art-side {
  width: 320px;
  height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.kids-hero-art-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kids-hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  flex: 1;
}

.kids-group-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: #1e3a8a;
  line-height: 1;
}

.kids-group-age {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e3a8a;
}

.kids-speech-bubble {
  background: #fef08a;
  color: #713f12;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(250, 204, 21, 0.25);
  text-decoration: none;
  transition: transform 0.2s ease;
  margin-top: 0.35rem;
}

.kids-speech-bubble:hover {
  transform: scale(1.04);
}

.kids-continue-responsive-card {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.85rem;
  border-radius: 24px;
  text-decoration: none;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 640px) {
  .kids-continue-responsive-card {
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
  }
  .kids-continue-responsive-card .continue-btn-wrap {
    width: 100%;
  }
}

.kids-continue-widget:hover {
  transform: translateY(-2px);
  border-color: #38bdf8;
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.15);
}

.widget-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.widget-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.widget-thumb-box {
  width: 72px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.widget-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.widget-thumb-play {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
}

.widget-info {
  flex: 1;
}

.widget-unit-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
}

.widget-lesson-name {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 1px;
}

.widget-arrow {
  color: #94a3b8;
  font-size: 1.1rem;
}

.widget-progress-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.widget-progress-track {
  flex: 1;
  height: 7px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.widget-progress-fill {
  height: 100%;
  background: #10b981;
  border-radius: 999px;
}

.widget-progress-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: #059669;
}

/* ==========================================================================
   CATEGORY CARDS (STORIES, VIDEOS, SONGS, GAMES, ACTIVITIES)
   ========================================================================== */
.categories-5-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.15rem;
}

.category-pill-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: block;
  text-decoration: none;
  background: #ffffff;
}

.category-pill-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.category-card-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   SECTION "CONTINÚA APRENDIENDO"
   ========================================================================== */
.section-headline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.section-headline-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
}

.link-see-all {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f1f5f9;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  color: #0284c7;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.link-see-all:hover {
  background: #e0f2fe;
}

.carousel-cards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  align-items: start;
}

.carousel-card-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  background: #ffffff;
  transition: all 0.22s ease;
  display: block;
}

.carousel-card-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.carousel-card-img {
  width: 100%;
  height: auto;
  display: block;
}

.bili-companion-entry { text-decoration: none; text-align: center; color: #155e8b; font-weight: 900; }
.bili-companion-entry .carousel-card-img { height: 118px; object-fit: contain; background: #fffaf0; }
.bili-companion-entry span { display: block; padding: 8px 4px; }

/* ==========================================================================
   KIDS 12 UNITS GRID (CAMBRIDGE A1-A2)
   ========================================================================== */
.kids-units-12-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.kids-unit-card-btn {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  background: #ffffff;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: block;
  text-decoration: none;
}

.kids-unit-card-btn:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-hover);
  border-color: #38bdf8;
}

.kids-unit-card-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   TOPIC FILTER PILLS (EXPLORA MÁS RECURSOS)
   ========================================================================== */
.topic-pills-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.topic-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
  cursor: pointer;
}

.topic-filter-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.topic-filter-btn.active {
  background: #e0f2fe;
  color: #0284c7;
  border-color: #38bdf8;
}

/* ==========================================================================
   TEENS MODERN THEME SPECIFICS
   ========================================================================== */
.teens-hero-card {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  background: linear-gradient(135deg, #2e1065 0%, #1e1b4b 50%, #312e81 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  color: #ffffff;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.teens-hero-content {
  padding: 2.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.teens-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(168, 85, 247, 0.25);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #d8b4fe;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  width: fit-content;
}

.teens-hero-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  line-height: 1.1;
  color: #ffffff;
}

.teens-hero-sub {
  color: #c4b5fd;
  font-size: 1.25rem;
  font-weight: 700;
}

.teens-hero-desc {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.teens-cta-btn {
  background: linear-gradient(90deg, #a855f7, #ec4899);
  color: #fff;
  border: none;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.8rem 1.85rem;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  box-shadow: 0 4px 18px rgba(168, 85, 247, 0.5);
  transition: all 0.2s;
}

.teens-cta-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.7);
}

.teens-hero-img-box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.teens-hero-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .categories-5-grid { grid-template-columns: repeat(3, 1fr); }
  .carousel-cards-grid { grid-template-columns: repeat(3, 1fr); }
  .kids-units-12-grid { grid-template-columns: repeat(2, 1fr); }
  .teens-hero-card { grid-template-columns: 1fr; }
  .kids-hero-card { flex-direction: column; align-items: center; }
  .kids-action-strip { grid-template-columns: 1fr !important; }
  .kids-hero-art-side { width: 100%; height: 200px; }
  .kids-continue-widget { width: 100%; }
}

@media (max-width: 768px) {
  .subpage-navbar {
    padding: 0.65rem 0.85rem;
    flex-wrap: wrap;
    gap: 0.6rem;
  }
  .nav-center-menu {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #94a3b8 #e2e8f0;
    gap: 6px;
    padding: 4px 0;
  }
  .nav-center-menu::-webkit-scrollbar {
    display: block;
    height: 5px;
  }
  .nav-center-menu::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 999px;
  }
  .nav-center-menu::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 999px;
  }
  .nav-pill-item {
    flex-shrink: 0;
    min-height: 42px;
    white-space: nowrap;
    font-size: 0.88rem;
    padding: 6px 14px;
  }
  .subpage-container {
    padding: 0.75rem;
  }
  .kids-units-12-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .teens-hero-card {
    grid-template-columns: 1fr;
    padding: 1.25rem;
    gap: 1.25rem;
  }
  .teens-hero-title {
    font-size: 2rem;
  }
  .teens-hero-sub {
    font-size: 1.05rem;
  }
  .teens-hero-art {
    max-height: 280px;
    width: 100%;
    object-fit: cover;
    border-radius: 18px;
  }
}

@media (max-width: 480px) {
  .brand-logo-img {
    height: 32px;
  }
  .brand-subtitle-tag {
    font-size: 0.72rem;
    padding: 2px 6px;
  }
  .user-greeting-name {
    display: none;
  }
  .user-profile-badge {
    padding: 3px;
    gap: 4px;
  }
  .user-avatar-circle {
    width: 34px;
    height: 34px;
  }
  .kids-units-12-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .categories-5-grid {
    grid-template-columns: 1fr;
  }
  .carousel-cards-grid {
    grid-template-columns: 1fr;
  }
  .hero-group-title {
    font-size: 2rem;
  }
  .subpage-hero-overlay {
    padding: 1.2rem;
  }
}


/* Babies Hero: Clean crisp artwork with no difuminado / gradient fog */
.babies-hero .subpage-hero-overlay {
  background: transparent !important;
}
.babies-hero .subpage-hero-bg-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  opacity: 1 !important;
}

/* Toddlers Hero: The provided artwork is 3072x740 with 3D typography and CTA button baked in.
   Match exact aspect-ratio so ZERO pixels are cropped on the left or right, hide duplicate HTML text,
   and position the CTA link over the baked button. */
.toddlers-hero {
  min-height: unset !important;
  height: auto !important;
  aspect-ratio: 3072 / 740 !important;
  width: 100% !important;
  overflow: hidden;
}
.toddlers-hero .subpage-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: unset !important;
  padding: 0 !important;
  background: transparent !important;
  pointer-events: none;
}
.toddlers-hero .subpage-hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: fill !important;
  object-position: center !important;
  opacity: 1 !important;
}
.toddlers-hero .hero-title-with-sun,
.toddlers-hero .hero-group-age,
.toddlers-hero .hero-group-desc,
.toddlers-hero .hero-floating-cloud {
  display: none !important;
}
.toddlers-hero .subpage-hero-content {
  position: relative;
  width: 100%;
  height: 100%;
}
.toddlers-hero .toddlers-cta {
  position: absolute;
  left: 5.3%;
  top: 77.4%;
  width: 21%;
  height: 16%;
  opacity: 0;
  cursor: pointer;
  pointer-events: auto;
  border-radius: 9999px;
  z-index: 10;
}

/* Kids Hero: The provided artwork is 2172x724 with 3D typography and CTA button baked in.
   Match exact aspect-ratio so ZERO pixels are cropped on the left or right, and zero difuminado. */
.kids-hero {
  min-height: unset !important;
  height: auto !important;
  aspect-ratio: 2172 / 724 !important;
  width: 100% !important;
  overflow: hidden;
}
.kids-hero .subpage-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: unset !important;
  padding: 0 !important;
  background: transparent !important;
  pointer-events: none;
}
.kids-hero .subpage-hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: fill !important;
  object-position: center !important;
  opacity: 1 !important;
}
.kids-hero .subpage-hero-content {
  position: relative;
  width: 100%;
  height: 100%;
}
.kids-hero .kids-cta {
  position: absolute;
  left: 4.0%;
  top: 62.2%;
  width: 28.2%;
  height: 27.5%;
  opacity: 0;
  cursor: pointer;
  pointer-events: auto;
  border-radius: 9999px;
  z-index: 10;
}

/* PUZZLE CATEGORY BUTTON CARDS (TRANSPARENT WITH NATURAL FLOATING SHADOW) */
.puzzle-button-card {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease !important;
  display: block;
}

.puzzle-button-card:hover {
  transform: translateY(-6px) scale(1.04) !important;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.16)) !important;
}

.puzzle-button-card .carousel-card-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}
