/* Quiet course overview; confined to the children’s course page.
   FAQ styling and the existing registration behaviour remain independent. */
.itf-children-page .itf-lesson-section .grade-program-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.itf-children-page .itf-lesson-section.site-shell .grade-program-grid > article {
  display: grid;
  grid-template-columns: minmax(190px,.9fr) minmax(0,1.5fr) 190px;
  grid-template-areas: "heading copy time";
  align-items: start;
  gap: 28px;
  min-width: 0;
  padding: 28px 30px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.itf-children-page .itf-lesson-section.site-shell .grade-program-grid > article + article {
  border-top: 1px solid var(--line);
}
.itf-children-page .itf-lesson-section .itf-grade-heading {
  grid-area: heading;
  padding: 0;
  min-height: 0;
  background: transparent;
  border-radius: 0;
}
.itf-children-page .itf-grade-heading > span {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .05em;
}
.itf-children-page .itf-lesson-section .grade-program-grid .itf-grade-heading h3 {
  margin: 8px 0 0;
  font-size: 25px;
  line-height: 1.25;
}
main.itf-children-page .itf-lesson-section .grade-program-grid > article > p {
  grid-area: copy;
  margin: 0;
  padding: 0;
  font-size: 18px !important;
  line-height: 1.65 !important;
}
.itf-children-page .itf-lesson-section .itf-grade-time {
  grid-area: time;
  align-self: stretch;
  margin: 0;
  padding: 0 0 0 24px;
  border-left: 1px solid var(--line);
}
.itf-children-page .itf-grade-time .itf-course-slot {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.itf-children-page .itf-grade-time .course-time-heading { display: contents; }
.itf-children-page .itf-grade-time .course-time-heading > span { grid-row: 1; font-size: 12px; }
.itf-children-page .itf-grade-time time { grid-row: 2; font-size: 23px; white-space: nowrap; }
.itf-children-page .itf-grade-time .course-status { grid-row: 3; margin-top: 2px; }

/* Small decorative course motifs; holiday groups retain their current layout. */
.itf-children-page:not(.itf-holiday-course-page) .grade-program-grid .itf-grade-heading {
  display: grid;
  grid-template-columns: 52px minmax(0,1fr);
  grid-template-areas: "motif grade" "motif title";
  gap: 8px 14px;
  align-content: start;
  align-items: start;
}
.itf-children-page:not(.itf-holiday-course-page) .grade-program-grid .itf-grade-heading::before {
  content: "";
  grid-area: motif;
  display: block;
  width: 52px;
  height: 60px;
  background: var(--itf-picture-v82-schulkurs-katze-20261026,url('/assets/schulkurs-katze-20261026.svg')) center / contain no-repeat;
  pointer-events: none;
}
.itf-children-page:not(.itf-holiday-course-page) .grade-program-grid > article:nth-child(2) .itf-grade-heading::before {
  background-image: var(--itf-picture-v82-schulkurs-baum-20261026,url('/assets/schulkurs-baum-20261026.svg'));
}
.itf-children-page:not(.itf-holiday-course-page) .grade-program-grid > article:nth-child(3) .itf-grade-heading::before {
  background-image: var(--itf-picture-v82-schulkurs-sonne-20261026,url('/assets/schulkurs-sonne-20261026.svg?v=66'));
}
.itf-children-page:not(.itf-holiday-course-page) .grade-program-grid .itf-grade-heading > span { grid-area: grade; }
.itf-children-page:not(.itf-holiday-course-page) .itf-lesson-section .grade-program-grid .itf-grade-heading h3 {
  grid-area: title;
  margin: 0;
}

/* One registration surface instead of separate heading and form boxes. */
.itf-children-page #itf-course-information .course-schedule {
  margin-top: 34px;
  padding: 0;
}
.itf-children-page #itf-course-information .course-registration {
  padding: 28px 30px;
  gap: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.itf-children-page #itf-course-information .itf-registration-intro {
  min-height: 0 !important;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.itf-children-page #itf-course-information .registration-inquiry-title {
  font-size: 30px;
  line-height: 1.25;
}
.itf-children-page #itf-course-information .registration-form {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  gap: 20px;
}
.itf-children-page #itf-course-information .registration-form-grid { gap: 18px 24px; }
.itf-children-page #itf-course-information .registration-form label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  gap: 7px;
}
.itf-children-page #itf-course-information .registration-submit-button {
  justify-self: start;
  width: auto;
  min-width: 240px;
  padding-inline: 24px;
}
@media (max-width:1000px) {
  .itf-children-page .itf-lesson-section.site-shell .grade-program-grid > article {
    grid-template-columns: minmax(0,1fr) 185px;
    grid-template-areas: "heading time" "copy time";
    gap: 16px 28px;
  }
}
@media (max-width:600px) {
  .itf-children-page .itf-lesson-section.site-shell .grade-program-grid > article {
    grid-template-columns: minmax(0,1fr);
    grid-template-areas: "heading" "copy" "time";
    gap: 16px;
    padding: 24px 20px;
  }
  .itf-children-page .itf-lesson-section .itf-grade-time {
    padding: 16px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .itf-children-page .itf-grade-time .itf-course-slot { gap: 6px; }
  .itf-children-page .itf-grade-time time { font-size: 22px; }
  .itf-children-page #itf-course-information .course-registration { padding: 24px 20px; }
  .itf-children-page #itf-course-information .registration-form-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .itf-children-page #itf-course-information .registration-submit-button { width: 100%; min-width: 0; }
}

/* Paired leaf sprigs separate school offers, registration and parent information. */
.itf-school-divider.site-shell { display: flex; align-items: center; gap: 24px; margin-block: 34px; }
.itf-school-divider::before, .itf-school-divider::after { content: ""; flex: 1; height: 1px; background: #bdc6b3; }
.itf-school-divider > span { flex: 0 0 320px; height: 58px; background: url('/assets/oase-naturzweig-20261026.png') center / 100% auto no-repeat; }
.itf-children-page:not(.itf-holiday-course-page) #itf-course-information .course-schedule,
.itf-children-page:not(.itf-holiday-course-page) #itf-parent-questions .parent-faq.site-shell { margin-top: 0; }
@media (max-width:600px) {
 .itf-school-divider.site-shell { margin-block: 26px; gap: 12px; }
 .itf-school-divider > span { flex-basis: 160px; height: 34px; }
}

/* Small shared motifs identify the two registration areas. */
.itf-children-page #itf-course-information .itf-registration-intro { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.itf-children-page #itf-course-information .itf-registration-intro::after { content: ""; flex: 0 0 72px; width: 72px; height: 64px; background: var(--itf-picture-v82-anmeldung-schule-20261026,url('/assets/anmeldung-schule-20261026.svg')) center / contain no-repeat; pointer-events: none; }
.itf-holiday-course-page #itf-course-information .itf-registration-intro::after { background-image: var(--itf-picture-v82-anmeldung-ferien-20261026,url('/assets/anmeldung-ferien-20261026.svg')); }
.itf-children-page #itf-course-information .registration-inquiry-title { min-width: 0; }
@media (max-width:600px) {
 .itf-children-page #itf-course-information .itf-registration-intro { gap: 12px; }
 .itf-children-page #itf-course-information .itf-registration-intro::after { flex-basis: 44px; width: 44px; height: 42px; }
 .itf-children-page #itf-course-information .registration-inquiry-title { font-size: 24px; }
}
