/* Presentation only. All rules are scoped to CGC content in the active child. */
body.cgc-child-theme {
  --cgc-brand-navy:#0b1f4b;
  --cgc-brand-gold:#e5a93c;
  --cgc-brand-paper:#faf9f5;
  --cgc-font-body:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  --cgc-font-heading:'Cormorant Garamond',Georgia,serif;
  --cgc-control-radius:8px;
  --cgc-control-height:48px;
}
body.cgc-child-theme :is(.cgc-wrap,.cgc-about-page,.cgc-services-page,.cgc-programmes-page,.cgc-contact-page,.cgc-footer,.ccg-reg,.gc-home-section,.gc-gallery-page,.cgc-profile-page) {
  font-family:var(--cgc-font-body);
  --navy:var(--cgc-brand-navy);
  --gold:var(--cgc-brand-gold);
}
body.cgc-child-theme :is(.cgc-wrap,.cgc-about-page,.cgc-services-page,.cgc-programmes-page,.cgc-contact-page,.ccg-reg,.gc-home-section,.gc-gallery-page,.cgc-profile-page) :is(h1,h2) {
  font-family:var(--cgc-font-heading);
}
body.cgc-child-theme :is(.cgc-btn-primary,.cgc-btn-ghost,.cgc-btn-p,.cgc-btn-g,.cgc-pbtn,.cgc-register-btn,.cgc-profile-register,.ccg-reg button) {
  min-height:var(--cgc-control-height);
  border-radius:var(--cgc-control-radius);
  font-family:var(--cgc-font-body);
  line-height:1.5;
  white-space:normal;
  overflow-wrap:anywhere;
}
body.cgc-child-theme .ccg-reg {
  --ink:var(--cgc-brand-navy);
  --accent:var(--cgc-brand-navy);
  --accent-dark:#152b63;
}
body.cgc-child-theme :is(.cgc-wrap,.cgc-about-page,.cgc-services-page,.cgc-programmes-page,.cgc-contact-page,.cgc-footer,.ccg-reg,.gc-home-section,.gc-gallery-page,.cgc-profile-page) :is(a,button,input,select,textarea,summary):focus-visible {
  outline:3px solid var(--cgc-brand-navy);
  outline-offset:3px;
  box-shadow:0 0 0 6px #fff;
}
body.cgc-child-theme :is(.cgc-wrap,.cgc-about-page,.cgc-services-page,.cgc-programmes-page,.cgc-contact-page,.cgc-profile-page) [id] {
  scroll-margin-top:6rem;
}
@media(prefers-reduced-motion:reduce) {
  body.cgc-child-theme :is(.cgc-wrap,.cgc-about-page,.cgc-services-page,.cgc-programmes-page,.cgc-contact-page,.cgc-footer,.ccg-reg,.gc-home-section,.gc-gallery-page,.cgc-profile-page) *,
  body.cgc-child-theme :is(.cgc-wrap,.cgc-about-page,.cgc-services-page,.cgc-programmes-page,.cgc-contact-page,.cgc-footer,.ccg-reg,.gc-home-section,.gc-gallery-page,.cgc-profile-page) *::before,
  body.cgc-child-theme :is(.cgc-wrap,.cgc-about-page,.cgc-services-page,.cgc-programmes-page,.cgc-contact-page,.cgc-footer,.ccg-reg,.gc-home-section,.gc-gallery-page,.cgc-profile-page) *::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}
