.child-page__section--wide .child-page__accordion {
  max-width: var(--content);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.child-page__cta-band {
  border: none;
  background: var(--bg);
  box-shadow: none;
}
.child-page__section--wide {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.child-page__section--wide h2,
.child-page__section--wide .child-page__section-main {
  max-width: var(--content);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.child-page {
  --container: 1290px;
  --content: 740px;
  --toc: 350px;
  --gap: 48px;
  --stroke: #d1d5dc;
  --text-dark: #101828;
  --text-medium: #4a5565;
  --link: #007893;
  --link-hover: #005d72;
  --pink: #ffb6c1;
  --bg: #f8f8f8;
  --logo: url('/wp-content/uploads/2026/03/LogoTCH.png');
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  background: var(--bg);
  color: var(--text-dark);
  font-family: "Nunito", sans-serif;
  overflow-x: clip;
}

.child-page__top-gradient {
  height: 3px;
  background: linear-gradient(90deg, #ffb6c1 0%, #74d77f 50%, #9ee2ef 100%);
}

.child-page__hero {
  height: 461px;
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  background: #fff;
}

.child-page__hero-mark {
  position: absolute;
  right: calc(50% - 380px);
  top: 50%;
  transform: translateY(-50%) rotate(12deg);
  width: 260px;
  height: 274px;
  background: var(--logo) center/contain no-repeat;
  opacity: 0.6;
  pointer-events: none;
}

@keyframes cpHeroTitleIn {
  from {
    opacity: 0;
    transform: scale(0.88);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.child-page__hero-title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-medium);
  font-size: 67px;
  line-height: 1.1;
  font-weight: 600;
  animation: cpHeroTitleIn 2s var(--ease) both;
}

.child-page__body {
  padding: 96px 0;
}

.child-page__container {
  width: min(var(--container), calc(100vw - 48px));
  margin: 0 auto;
}

.child-page__layout {
  display: grid;
  grid-template-columns: var(--toc) var(--content);
  gap: var(--gap);
  align-items: start;
}

.child-page__toc-wrap {
  position: sticky;
  top: 112px;
  align-self: start;
}

.admin-bar .child-page__toc-wrap {
  top: 144px;
}

.child-page__toc {
  border: 2px solid var(--stroke);
  border-radius: 10px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.child-page__toc h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--text-medium);
}

.child-page__toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.child-page__toc a {
  color: var(--link);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.7;
  display: inline-block;
  transition: color 0.2s var(--ease);
}

.child-page__toc a:hover,
.child-page__toc a:focus-visible,
.child-page__toc a.is-active {
  color: var(--link-hover);
}

.child-page__content {
  min-width: 0;
  display: grid;
  gap: 54px;
}

.child-page__intro-block h1 {
  margin: 0 0 18px;
  font-size: 56px;
  line-height: 1.1;
  font-weight: 400;
  color: var(--text-medium);
  overflow-wrap: anywhere;
}


.child-page__section h2,
.child-page__cta-band-copy h2 {
  margin: 0 0 16px;
  font-size: 56px;
  line-height: 1.1;
  font-weight: 400;
  color: var(--text-medium);
  overflow-wrap: anywhere;
}

.child-page__section {
  scroll-margin-top: 124px;
}

.child-page__wide {
  display: grid;
  gap: 54px;
  margin-top: 54px;
}

.child-page__richtext {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
}

.child-page__richtext > *:first-child {
  margin-top: 0;
}

.child-page__richtext > *:last-child {
  margin-bottom: 0;
}

.child-page__richtext h4 {
  font-size: 33px;
  line-height: 1.15;
  font-weight: 400;
  color: var(--text-medium);
  margin: 22px 0 12px;
}

.child-page__richtext h5 {
  font-size: 27px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--text-medium);
  margin: 20px 0 10px;
}

.child-page__richtext h6 {
  font-size: 23px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--text-medium);
  margin: 18px 0 10px;
}

.child-page__richtext ul,
.child-page__richtext ol {
  padding-left: 1.4em;
}

.child-page__richtext img,
.child-page__richtext video,
.child-page__richtext iframe,
.child-page__section-main img,
.child-page__section-main video,
.child-page__section-main iframe,
.child-page__accordion-panel-inner img,
.child-page__accordion-panel-inner video,
.child-page__accordion-panel-inner iframe {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  margin: 16px 0;
}

.child-page__richtext blockquote {
  margin: 20px 0;
  padding: 8px 18px;
  border-left: 4px solid var(--stroke);
  color: var(--text-medium);
}

.child-page__accordion {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.child-page__accordion-item {
  border: 2px solid var(--stroke);
  border-radius: 18px;
  background: #fff;
  overflow: clip;
}

.child-page__accordion-trigger {
  width: 100%;
  border: 0;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 16px;
  padding: 22px 28px;
  color: var(--text-dark);
  font-size: clamp(27px, 2vw, 33px);
  line-height: 1.15;
  font-weight: 400;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.child-page__accordion-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 182, 193, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  transition: background 0.28s var(--ease);
}

.child-page__accordion-trigger:hover .child-page__accordion-icon,
.child-page__accordion-trigger:focus-visible .child-page__accordion-icon {
  background: rgba(255, 182, 193, 0.45);
}

.child-page__acc-line--v {
  transition: opacity 0.2s ease;
}

.child-page__accordion-trigger[aria-expanded="true"] .child-page__accordion-icon {
  background: rgba(255, 182, 193, 0.45);
}

.child-page__accordion-trigger[aria-expanded="true"] .child-page__acc-line--v {
  opacity: 0;
}

.child-page__accordion-trigger:hover,
.child-page__accordion-trigger:focus-visible {
  background: #fff4f6;
}

.child-page__accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.child-page__accordion-panel-inner {
  padding: 0 28px 24px;
}


.child-page__cta-band,
.child-page__cta-compact {
  border-radius: 24px;
  border: none;
  background: var(--bg);
  box-shadow: none;
}

.child-page__cta-band {
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: center;
}

.child-page__show-more-content {
  transition: max-height 0.35s var(--ease);
}

.child-page__show-more:not(.is-expanded) .child-page__show-more-content {
  max-height: 10.5em;
  overflow: hidden;
}

.child-page__show-more-toggle {
  margin-top: 10px;
  border: 0;
  background: transparent;
  color: var(--link);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.6;
  padding: 0;
  cursor: pointer;
}

.child-page__show-more-toggle::after {
  content: "\25BE";
  margin-left: 8px;
  font-size: 12px;
  transition: transform 0.2s var(--ease);
}

.child-page__show-more.is-expanded .child-page__show-more-toggle::after {
  transform: rotate(180deg);
}

.child-page__cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.child-page__button {
  width: 100%;
  min-height: 56px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 500;
  color: #0f0f0f;
  border: 1px solid transparent;
  padding: 12px 22px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease), background 0.25s var(--ease);
}

.child-page__button:hover,
.child-page__button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.14);
  filter: brightness(1.04);
}

.child-page__button--primary {
  background: var(--pink);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.child-page__button--secondary {
  background: rgba(255, 255, 255, 0.5);
  border-color: #0f0f0f;
  box-shadow: none;
}


.child-page__cta-compact {
  padding: 0;
  background: var(--bg);
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}



.child-page__cta-actions--compact {
  flex-direction: row;
  gap: 12px;
}

.child-page [hidden] {
  display: none !important;
}

@media (max-width: 1320px) {
  .child-page__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .child-page__toc-wrap,
  .admin-bar .child-page__toc-wrap {
    position: static;
    top: auto;
  }

  .child-page__content {
    gap: 44px;
  }

  .child-page__wide {
    gap: 44px;
    margin-top: 44px;
  }

  .child-page__cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .child-page__hero-mark {
    right: -40px;
    width: 180px;
    height: 190px;
    opacity: 0.45;
  }

  .child-page__hero-title {
    font-size: 50px;
  }
}

@media (max-width: 760px) {
  .child-page__container {
    width: calc(100% - 32px);
  }

  .child-page__body {
    padding: 64px 0;
  }

  .child-page__hero {
    height: 330px;
  }

  .child-page__hero-title {
    font-size: 44px;
  }

  .child-page__hero-mark {
    display: none;
  }

  .child-page__intro-block h1,
  .child-page__section h2,
  .child-page__cta-band-copy h2 {
    font-size: clamp(38px, 9vw, 42px);
  }

  .child-page__accordion-trigger {
    padding: 18px 20px;
    font-size: clamp(28px, 6.8vw, 31px);
  }

  .child-page__accordion-panel-inner {
    padding: 0 20px 20px;
  }

  .child-page__cta-actions--compact {
    flex-direction: column;
  }

  .child-page__button {
    width: 100%;
  }
}

/* Page-level animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes imageScaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Section load animations */
.child-page__intro-block,
.child-page__section {
  animation: fadeInUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.child-page__intro-block {
  animation-delay: 0.1s;
}

.child-page__section {
  animation-delay: 0.2s;
}

/* Image animations */
.child-page__intro-media img,
.child-page__section-media img {
  animation: imageScaleIn 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  animation-delay: 0.3s;
}

/* Image hover effects */
.child-page img {
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.child-page__intro-media img:hover,
.child-page__section-media img:hover {
  transform: scale(1.03);
}

/* Interactive hover effects */
.child-page__button {
  transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.child-page__button:hover,
.child-page__button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Accordion animations */
.child-page__accordion-trigger {
  transition: all 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.child-page__accordion-trigger:hover {
  transform: translateX(4px);
}

.child-page__accordion-panel-inner {
  transition: max-height 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Link hover effects */
.child-page a:not(.child-page__button) {
  transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
}

.child-page a:not(.child-page__button):hover {
  transform: translateX(2px);
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}
