/* Preschool theatre page: only additions to the shared theatre design. */
.theatre-kids-page {
  --kids-ink: #142052;
  --kids-violet: #6a3bd8;
}

.theatre-kids-page .blog-hero { min-height: 920px; background: #f8f5ff; }
.theatre-kids-page .blog-hero__space { display: none; }
.theatre-kids-page .blog-hero::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255,255,255,.97), rgba(255,255,255,.9) 31%, rgba(255,255,255,.28) 58%, rgba(255,255,255,.03) 76%),
    linear-gradient(180deg, transparent 66%, rgba(247,243,255,.96) 91%, #f7f3ff);
}

.kids-hero__picture {
  position: absolute;
  z-index: -2;
  inset: 136px 0 auto;
  height: 720px;
  overflow: hidden;
}
.kids-hero__picture img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 48%; }
.kids-hero__inner { position: relative; min-height: 630px; display: flex; align-items: center; }
.kids-hero__copy { width: min(50%, 700px); }
.kids-hero__copy > p:not(.theatre-hero__note) { max-width: 620px; }

.kids-hero__message {
  position: absolute;
  z-index: 8;
  left: 53%;
  bottom: 52px;
  width: min(300px, 24vw);
  min-height: 112px;
  padding: 20px 22px;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.96);
  border-radius: 25px;
  color: var(--kids-ink);
  background: rgba(255,255,255,.83);
  box-shadow: 0 18px 42px rgba(65,42,128,.16);
  backdrop-filter: blur(14px);
  transform: rotate(-3deg);
}
.kids-hero__message strong { font-size: 20px; line-height: 1.05; }
.kids-hero__message span { color: #616984; font-size: 12px; line-height: 1.45; }

.kids-skill-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 22px;
  color: #fff !important;
  background: linear-gradient(145deg, #ff9c22, #ff5e4e 48%, #8c52e8);
  box-shadow: 0 12px 24px rgba(112,66,199,.2);
  font-size: 27px !important;
  font-weight: 950;
}

.theatre-kids-page .reality-gallery {
  grid-template-columns: minmax(0, 1.2fr) minmax(270px, .8fr);
  grid-template-rows: repeat(2, 285px) 410px;
}
.theatre-kids-page .reality-photo--final { grid-column: 1 / -1; }
.theatre-kids-page .program-phone > img { object-position: 54% center; }

.kids-fit { padding: 110px 0; background: linear-gradient(145deg, #fff8ee, #f7f2ff 58%, #eef7ff); }
.kids-fit__layout {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(460px, 1.1fr);
  gap: 58px;
  align-items: center;
}
.kids-fit__photo {
  min-height: 620px;
  overflow: hidden;
  border: 9px solid rgba(255,255,255,.86);
  border-radius: 44px;
  background: #ddd5ff;
  box-shadow: 0 28px 65px rgba(69,44,135,.18);
  transform: rotate(-2deg);
}
.kids-fit__photo img { width: 100%; height: 100%; min-height: 620px; object-fit: cover; object-position: 52% center; }
.kids-fit__copy h2 {
  margin: 23px 0 0;
  color: var(--kids-ink);
  font-size: clamp(42px, 4vw, 65px);
  line-height: .98;
  letter-spacing: -2.8px;
}
.kids-fit__copy ul {
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  list-style: none;
}
.kids-fit__copy li {
  position: relative;
  min-height: 82px;
  padding: 18px 17px 18px 47px;
  border: 1px solid rgba(104,69,188,.12);
  border-radius: 20px;
  color: #3c4261;
  background: rgba(255,255,255,.76);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.42;
}
.kids-fit__copy li::before {
  content: "✓";
  position: absolute;
  top: 18px;
  left: 17px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #ff9b1f, #ff6d34);
  font-size: 11px;
}
.kids-fit__copy > p { margin: 22px 0 0; color: #62677d; font-size: 15px; line-height: 1.58; }
.kids-fit__copy .blog-button { margin-top: 24px; }

.kids-program-copy { display: grid; gap: 18px; }
.kids-program-copy .program-list li { min-height: 124px; }
.program-closing {
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  border: 1px solid rgba(108, 70, 204, .18);
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #17185f, #6331c1 70%, #8e38bd);
  box-shadow: 0 18px 42px rgba(70, 39, 160, .2);
}
.program-closing > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #6331c1;
  background: #fff;
  font-weight: 900;
}
.program-closing p { margin: 0; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.55; }
.program-closing strong { display: block; margin-top: 10px; font-size: 15px; line-height: 1.5; }

.theatre-kids-page .direction-process .blog-heading p {
  max-width: 780px;
  margin: 20px auto 0;
  color: rgba(255,255,255,.78);
}
.theatre-kids-page .kids-process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.theatre-kids-page .kids-process-grid::before { display: none; }
.theatre-kids-page .kids-process-grid article { min-height: 220px; }
.theatre-kids-page .kids-process-grid article:nth-child(even) { transform: none; }

.kids-age .kids-fit__copy > p + p { margin-top: 12px; }
.kids-age .kids-fit__copy ul { grid-template-columns: 1fr; gap: 8px; margin-top: 22px; }
.kids-age .kids-fit__copy li { min-height: 0; }

.kids-purpose {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
  color: #fff;
  background:
    radial-gradient(circle at 12% 20%, rgba(255,152,31,.26), transparent 28%),
    radial-gradient(circle at 88% 78%, rgba(192,115,255,.23), transparent 30%),
    #12154f;
}
.kids-purpose::after {
  content: "";
  position: absolute;
  top: -150px;
  right: -110px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 66px rgba(255,255,255,.025), 0 0 0 132px rgba(255,255,255,.018);
}
.kids-purpose__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(420px, .95fr) minmax(430px, 1.05fr);
  gap: 90px;
  align-items: center;
}
.kids-purpose h2,
.kids-teacher-method h2,
.kids-format h2 {
  margin: 23px 0 0;
  font-size: clamp(42px, 4.2vw, 66px);
  line-height: .98;
  letter-spacing: -2.8px;
}
.kids-purpose__copy {
  padding: 34px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 32px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 22px 52px rgba(8,10,47,.28);
  backdrop-filter: blur(12px);
}
.kids-purpose__copy strong { color: #ffb052; font-size: 28px; }
.kids-purpose__copy p { margin: 17px 0 0; color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.65; }

.kids-stage { padding: 112px 0; background: linear-gradient(160deg, #f8f5ff, #fff 58%, #fff6e9); }
.kids-stage__grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.kids-stage__grid article {
  position: relative;
  min-height: 330px;
  padding: 35px 35px 32px;
  overflow: hidden;
  border: 1px solid rgba(102,70,190,.14);
  border-radius: 32px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 22px 52px rgba(68,45,145,.12);
}
.kids-stage__grid article:last-child { color: #fff; background: linear-gradient(145deg, #191960, #6330be 64%, #9c3ac6); }
.kids-stage__grid article > span { color: #8056de; font-size: 11px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.kids-stage__grid article:last-child > span { color: #ffb35d; }
.kids-stage__number {
  position: absolute;
  top: 24px;
  right: 28px;
  color: rgba(104,66,205,.09);
  font-size: 92px;
  font-weight: 950;
  line-height: 1;
}
.kids-stage__grid article:last-child .kids-stage__number { color: rgba(255,255,255,.1); }
.kids-stage__grid h3 { position: relative; margin: 86px 0 0; font-size: 35px; line-height: 1; }
.kids-stage__grid p { position: relative; max-width: 510px; margin: 18px 0 0; color: #686176; font-size: 15px; line-height: 1.6; }
.kids-stage__grid article:last-child p { color: rgba(255,255,255,.76); }
.kids-stage__conclusion {
  width: min(880px, 100%);
  margin: 28px auto 0;
  padding: 20px 28px;
  border-radius: 22px;
  color: #35266c;
  background: #fff;
  box-shadow: 0 15px 34px rgba(68,45,145,.1);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

.kids-teacher-method { padding: 112px 0; background: #fff; }
.kids-teacher-method__layout {
  display: grid;
  grid-template-columns: minmax(430px, 1fr) minmax(440px, 1fr);
  gap: 70px;
  align-items: center;
}
.kids-teacher-method h2 { color: var(--kids-ink); }
.kids-teacher-method__layout > div:first-child > p { margin: 22px 0 0; color: #62677d; font-size: 16px; line-height: 1.62; }
.kids-teacher-method__result {
  padding: 32px;
  border-radius: 32px;
  background: linear-gradient(145deg, #fff6e9, #f4efff);
  box-shadow: 0 22px 50px rgba(70,44,146,.12);
}
.kids-teacher-method__result > span { color: #302365; font-size: 18px; font-weight: 850; }
.kids-teacher-method__result ul { margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; list-style: none; }
.kids-teacher-method__result li {
  position: relative;
  min-height: 72px;
  padding: 16px 14px 16px 46px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(105,70,190,.12);
  border-radius: 18px;
  color: #3e4260;
  background: rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}
.kids-teacher-method__result li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #ff9b1f, #ff6710);
  font-size: 10px;
}

.kids-format { padding: 112px 0; color: #fff; background: linear-gradient(135deg, #17175c, #5f2db7 60%, #9132b8); }
.kids-format__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.kids-format__header dl { margin: 0; display: flex; gap: 12px; }
.kids-format__header dl > div { min-width: 160px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; background: rgba(255,255,255,.09); }
.kids-format__header dt { color: #ffb15c; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.kids-format__header dd { margin: 6px 0 0; font-size: 20px; font-weight: 900; }
.kids-format__modules { margin-top: 45px; display: grid; grid-template-columns: .82fr .95fr 1.23fr; gap: 15px; }
.kids-format__modules article { min-height: 285px; padding: 28px; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.85); border-radius: 28px; color: #17184f; background: rgba(255,255,255,.94); box-shadow: 0 20px 45px rgba(17,12,67,.25); }
.kids-format__modules article > span { color: #7950d5; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.kids-format__modules article > strong { margin-top: auto; font-size: 34px; line-height: 1; }
.kids-format__modules article > p { margin: 10px 0 0; color: #656079; font-size: 15px; }
.kids-format__modules article > small { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(96,66,180,.13); color: #5f5871; font-size: 12px; line-height: 1.5; }
.kids-format__module--final { background: linear-gradient(145deg, #fff8ed, #fff) !important; }
.kids-format__cta { margin-top: 22px; padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid rgba(255,255,255,.18); border-radius: 24px; background: rgba(255,255,255,.09); }
.kids-format__cta p { max-width: 650px; margin: 0; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.5; }
.kids-format__cta .blog-button { flex: 0 0 auto; }

@media (max-width: 1180px) {
  .kids-hero__picture { top: 128px; height: 690px; }
  .kids-hero__copy { width: 53%; }
  .kids-hero__message { left: 55%; width: 245px; }
  .kids-fit__layout { gap: 34px; }
  .kids-fit__photo,
  .kids-fit__photo img { min-height: 540px; }
  .kids-purpose__layout { gap: 46px; }
  .kids-teacher-method__layout { gap: 38px; }
  .kids-format__modules { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .theatre-kids-page .blog-hero { min-height: 0; }
  .theatre-kids-page .blog-hero::after {
    background:
      linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,.62) 52%, rgba(255,255,255,.12) 78%),
      linear-gradient(180deg, transparent 58%, #f7f3ff 96%);
  }
  .kids-hero__picture { top: 118px; height: 650px; }
  .kids-hero__picture img { object-position: 61% center; }
  .kids-hero__inner { min-height: 595px; justify-content: flex-start; }
  .kids-hero__copy { width: 62%; padding: 62px 0 20px; text-align: left; }
  .kids-hero__copy .theatre-hero__eyebrow,
  .kids-hero__copy h1,
  .kids-hero__copy > p:not(.theatre-hero__note),
  .kids-hero__copy > .blog-button,
  .kids-hero__copy .theatre-hero__note { margin-left: 0; margin-right: 0; }
  .kids-hero__copy h1 { font-size: clamp(43px, 7.5vw, 62px); }
  .kids-hero__message { left: auto; right: 3%; bottom: 32px; width: 220px; }
  .theatre-kids-page .reality-gallery { grid-template-rows: repeat(2, 260px) 350px; }
  .kids-fit { padding: 82px 0; }
  .kids-fit__layout { grid-template-columns: 1fr; }
  .kids-fit__photo { min-height: 470px; order: 2; }
  .kids-fit__photo img { min-height: 470px; }
  .kids-fit__copy { order: 1; }
  .theatre-kids-page .kids-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kids-purpose,
  .kids-stage,
  .kids-teacher-method,
  .kids-format { padding: 82px 0; }
  .kids-purpose__layout,
  .kids-teacher-method__layout { grid-template-columns: 1fr; gap: 35px; }
  .kids-stage__grid { grid-template-columns: 1fr; }
  .kids-format__header { align-items: flex-start; flex-direction: column; }
  .kids-format__modules { grid-template-columns: 1fr 1fr; }
  .kids-format__module--final { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .theatre-kids-page .blog-hero::after {
    background:
      linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.84) 41%, rgba(255,255,255,.08) 68%, #f7f3ff 94%),
      linear-gradient(90deg, rgba(255,255,255,.45), transparent 74%);
  }
  .kids-hero__picture { top: 155px; height: 590px; }
  .kids-hero__picture img { object-position: 63% center; }
  .kids-hero__inner { min-height: 735px; align-items: flex-start; }
  .kids-hero__copy { width: 100%; padding: 34px 0 0; text-align: left; }
  .kids-hero__copy h1 { max-width: 92%; font-size: clamp(38px, 11.4vw, 50px); }
  .kids-hero__copy > p:not(.theatre-hero__note) { max-width: 92%; font-size: 13px; }
  .kids-hero__copy > .blog-button { width: max-content; max-width: 95%; }
  .kids-hero__message { right: 4%; bottom: 25px; width: 184px; min-height: 0; padding: 14px 15px; border-radius: 18px; }
  .kids-hero__message strong { font-size: 14px; }
  .kids-hero__message span { font-size: 9px; }
  .kids-skill-icon { width: 58px; height: 58px; border-radius: 18px; font-size: 22px !important; }
  .theatre-kids-page .reality-gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .theatre-kids-page .reality-photo { min-height: 250px; }
  .theatre-kids-page .reality-step-card { min-height: 185px; }
  .theatre-kids-page .reality-photo--final { min-height: 300px; }
  .kids-fit { padding: 70px 0; }
  .kids-fit__layout { gap: 30px; }
  .kids-fit__copy h2 { font-size: 38px; letter-spacing: -1.8px; }
  .kids-fit__copy ul { grid-template-columns: 1fr; gap: 8px; }
  .kids-fit__copy li { min-height: 0; }
  .kids-fit__photo,
  .kids-fit__photo img { min-height: 360px; }
  .kids-fit__photo { border-width: 6px; border-radius: 30px; }
  .program-closing { padding: 18px; grid-template-columns: 34px 1fr; gap: 12px; }
  .program-closing > span { width: 34px; height: 34px; border-radius: 11px; }
  .theatre-kids-page .kids-process-grid { grid-template-columns: 1fr; }
  .theatre-kids-page .kids-process-grid article { min-height: 0; }
  .kids-purpose,
  .kids-stage,
  .kids-teacher-method,
  .kids-format { padding: 70px 0; }
  .kids-purpose h2,
  .kids-teacher-method h2,
  .kids-format h2 { font-size: 38px; letter-spacing: -1.8px; }
  .kids-purpose__copy,
  .kids-teacher-method__result { padding: 23px 20px; border-radius: 24px; }
  .kids-purpose__copy strong { font-size: 23px; }
  .kids-purpose__copy p { font-size: 14px; }
  .kids-stage__grid { margin-top: 30px; }
  .kids-stage__grid article { min-height: 285px; padding: 27px 23px; border-radius: 25px; }
  .kids-stage__grid h3 { margin-top: 75px; font-size: 29px; }
  .kids-stage__number { right: 20px; font-size: 76px; }
  .kids-stage__conclusion { padding: 18px 19px; font-size: 14px; }
  .kids-teacher-method__result ul { grid-template-columns: 1fr; }
  .kids-teacher-method__result li { min-height: 60px; }
  .kids-format__header dl { width: 100%; }
  .kids-format__header dl > div { min-width: 0; flex: 1 1 0; padding: 15px; }
  .kids-format__header dd { font-size: 17px; }
  .kids-format__modules { margin-top: 30px; grid-template-columns: 1fr; }
  .kids-format__module--final { grid-column: auto; }
  .kids-format__modules article { min-height: 230px; padding: 23px; }
  .kids-format__cta { align-items: stretch; flex-direction: column; padding: 21px; }
  .kids-format__cta .blog-button { width: 100%; }
}
