/* Additional modules use the same accessible native accordions as the core modules. */
.ks-alacarte{scroll-margin-top:96px;background:linear-gradient(150deg,#edf4e7,#fafbf6)}
.ks-alacarte .sectionHead{align-items:start}
.ks-alacarte .eyebrow{margin-bottom:12px}
.ks-extra-module summary:focus-visible{outline:3px solid #b76d3c;outline-offset:-4px;border-radius:20px}
.ks-extra-module .ks-content>p{color:#52625c;margin-top:0}
.ks-extra-module summary b{overflow-wrap:break-word}
.ks-module-enquiry{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:28px;padding:24px 28px;border:1px solid #d6e2cf;border-radius:22px;background:rgba(255,255,255,.65)}
.ks-module-enquiry p{margin:0;max-width:650px;color:#52625c}
.ks-module-enquiry .btn{flex-shrink:0;min-height:48px}
.ks-module-enquiry .btn:focus-visible{outline:3px solid #b76d3c;outline-offset:4px}
@media(max-width:850px){.ks-module-enquiry{align-items:flex-start;flex-direction:column}}
@media(max-width:540px){.ks-module-enquiry{padding:23px;gap:18px}.ks-module-enquiry .btn{width:100%;white-space:normal;text-align:center}.ks-extra-module summary{gap:10px;grid-template-columns:44px minmax(0,1fr) 20px}}

/* Compact spacing is scoped to Karma Shaala; content keeps its natural height. */
.karma-page .pageHero{padding-block:38px}
.karma-page .pageHero h1{margin:10px 0 14px}
.karma-page .pageHero .lead{margin:0;line-height:1.65}
.karma-page .pageHero .actions{margin-top:20px;gap:10px}
.karma-page .pageHero .actions .btn{min-height:48px;padding:11px 18px}
.karma-page .stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:22px;gap:10px}
.karma-page .stat{padding:14px 12px;line-height:1.5;overflow-wrap:anywhere}
.karma-page .ks-orbit{display:none}
.karma-page .section,.karma-page .band{padding-block:38px}
.karma-page .section h2,.karma-page .band h2{font-size:clamp(29px,3.1vw,40px);line-height:1.17}
.karma-page .sectionHead{gap:24px;margin-bottom:22px;align-items:start}
.karma-page .sectionHead>div,.karma-page .sectionHead>p{flex:1;min-width:0}
.karma-page .eyebrow{margin-bottom:8px}
.karma-page .ks-accordion,.karma-page .accordion{margin-top:18px;gap:10px}
.karma-page .ks-acc summary{padding:16px 20px;grid-template-columns:54px minmax(0,1fr) 24px;gap:14px;min-height:76px}
.karma-page .ks-acc summary b,.karma-page .ks-acc summary small{overflow-wrap:anywhere}
.karma-page .ks-acc .ks-icon{width:46px;height:46px;font-size:25px}
.karma-page .ks-content{padding:0 20px 20px 88px;line-height:1.65}
.karma-page .ks-content h4{margin:18px 0 10px}
.karma-page .ks-meta,.karma-page .session-grid,.karma-page .term-grid,.karma-page .ks-benefits,.karma-page .agebands,.karma-page .twoCol,.karma-page .grid3{gap:12px}
.karma-page .ks-meta{grid-template-columns:repeat(3,minmax(0,1fr))}
.karma-page .session-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.karma-page .term-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.karma-page .ks-meta p,.karma-page .term-grid p{padding:13px;line-height:1.6}
.karma-page .ks-benefits>div{padding:17px}
.karma-page .agebands{margin-top:20px;grid-template-columns:repeat(3,minmax(0,1fr))}
.karma-page .agebands>div{padding:20px}
.karma-page .agebands b{margin-top:6px}
.karma-page .portfolio-flow{margin-top:18px;gap:9px}
.karma-page .portfolio-flow span{padding:11px 14px;white-space:normal;max-width:100%}
.karma-page .ks-module-enquiry{margin-top:20px;padding:18px 22px;gap:18px}
.karma-page .ks-module-enquiry .btn{flex-shrink:1;white-space:normal;text-align:center}
.karma-page .card{padding:20px}
.karma-page .footer{padding:36px 0 22px}
.karma-page .copyright{margin-top:24px;padding-top:16px}
.karma-page :is(.stats,.ks-meta,.session-grid,.term-grid,.ks-benefits,.agebands,.twoCol,.grid3)>*{min-width:0;overflow-wrap:break-word}
.karma-page :is(#modules,#alacarte,#delivery,#schools){scroll-margin-top:92px}
@media(max-width:900px){.karma-page .sectionHead{display:block}.karma-page .sectionHead>p{margin-top:12px;max-width:none}}
@media(max-width:800px){
 .karma-page .ks-meta,.karma-page .term-grid,.karma-page .twoCol{grid-template-columns:minmax(0,1fr)}
 .karma-page .session-grid,.karma-page .ks-benefits,.karma-page .agebands{grid-template-columns:repeat(2,minmax(0,1fr))}
 .karma-page .ks-content{padding:0 17px 18px}
 .karma-page .ks-acc summary{padding:15px 17px;gap:12px}
 .karma-page .ks-module-enquiry{flex-direction:column;align-items:stretch}
}
@media(max-width:600px){
 .karma-page .wrap,.karma-page .pageHero>.wrap{width:calc(100% - 32px)}
 .karma-page .pageHero{padding-block:28px}
 .karma-page .section,.karma-page .band{padding-block:28px}
 .karma-page .pageHero h1{font-size:clamp(38px,10vw,50px)}
 .karma-page .pageHero .actions{grid-template-columns:minmax(0,1fr);gap:9px;margin-top:18px}
 .karma-page .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:18px}
 .karma-page .stat{padding:12px 9px;font-size:14px}
 .karma-page .stat b{font-size:22px}
 .karma-page .section h2,.karma-page .band h2{font-size:29px}
 .karma-page .sectionHead{margin-bottom:18px}
 .karma-page .section p{line-height:1.65}
 .karma-page .ks-acc summary{grid-template-columns:36px minmax(0,1fr) 20px;padding:14px 13px;gap:10px}
 .karma-page .ks-acc .ks-icon{width:36px;height:36px;font-size:21px;border-radius:12px}
 .karma-page .ks-acc summary b{font-size:18px;line-height:1.35}
 .karma-page .ks-acc summary small{line-height:1.5;font-size:13px}
 .karma-page .ks-content{padding:0 13px 16px}
 .karma-page .session-grid,.karma-page .ks-benefits,.karma-page .agebands,.karma-page .grid3{grid-template-columns:minmax(0,1fr)}
 .karma-page .session-grid span{padding:9px 11px}
 .karma-page .agebands>div,.karma-page .ks-benefits>div{padding:17px}
 .karma-page .ks-module-enquiry{padding:17px}
 .karma-page .ks-module-enquiry .btn{width:100%;min-width:0;line-height:1.5}
 .karma-page .acc button{padding:16px;gap:12px;align-items:start}
 .karma-page .acc button span{flex-shrink:0}
 .karma-page .footgrid{gap:22px}
 .karma-page .footer{padding-top:28px}
}

/* Distinct, restrained greens make each part of the programme easy to recognise. */
.karma-page .pageHero .actions .ks-alacarte-btn{background:#8ab878;color:#15382f;border:1px solid #79a967;box-shadow:0 6px 16px rgba(60,110,50,.12)}
.karma-page .pageHero .actions .ks-alacarte-btn:hover{background:#7dac6b;color:#15382f}
.karma-page .pageHero .actions .ks-alacarte-btn:focus-visible{outline:3px solid #173e2b;outline-offset:3px}
.karma-page #modules{background:#fffdf8}
.karma-page #modules>.wrap>.sectionHead .eyebrow{color:#235c41}
.karma-page #modules .ks-acc{--module-tint:#edf5e5;--module-edge:#82a96d;border-color:#ceddc6}
.karma-page #modules .ks-acc:nth-child(2){--module-tint:#e6f1e7;--module-edge:#699677}
.karma-page #modules .ks-acc:nth-child(3){--module-tint:#e3efea;--module-edge:#5e9380}
.karma-page #modules .ks-acc:nth-child(4){--module-tint:#edf1df;--module-edge:#8c9d5a}
.karma-page #modules .ks-acc:nth-child(5){--module-tint:#e5eee1;--module-edge:#769568}
.karma-page #modules .ks-acc:nth-child(6){--module-tint:#e4efed;--module-edge:#5f968c}
.karma-page :is(#modules,#alacarte,#numbers-strategy) .ks-acc summary{background:var(--module-tint);border-inline-start:4px solid var(--module-edge)}
.karma-page :is(#modules,#alacarte,#numbers-strategy) .ks-acc[open] summary{border-bottom:1px solid #dbe5d6}
.karma-page :is(#modules,#alacarte,#numbers-strategy) .ks-acc[open] .ks-content{padding-top:16px}
.karma-page :is(#modules,#alacarte,#numbers-strategy) .ks-icon{background:rgba(255,255,255,.65)}
.karma-page #alacarte{background:#f1f6ef}
.karma-page #alacarte .ks-acc{--module-tint:#e2eedb;--module-edge:#6b985a;border-color:#cbdcc4}
.karma-page #alacarte .ks-acc:nth-child(2){--module-tint:#e5efdd;--module-edge:#809d5d}
.karma-page #alacarte .ks-acc:nth-child(3){--module-tint:#dfede5;--module-edge:#63937b}
.karma-page #alacarte .ks-acc:nth-child(4){--module-tint:#e8eddb;--module-edge:#8b9b5e}
.karma-page #alacarte .ks-acc:nth-child(5){--module-tint:#deeadf;--module-edge:#719273}
.karma-page #alacarte .ks-acc:nth-child(6){--module-tint:#deeeea;--module-edge:#619889}
.karma-page .ks-meta p:nth-child(1){background:#f1f6ec}
.karma-page .ks-meta p:nth-child(2){background:#edf4ef}
.karma-page .ks-meta p:nth-child(3){background:#f0f3e7}
.karma-page .agebands>div:nth-child(1){background:#eaf3e2}
.karma-page .agebands>div:nth-child(2){background:#e1eee4}
.karma-page .agebands>div:nth-child(3){background:#dfede8}
.karma-page .ks-benefits>div:nth-child(3n+1){background:#244f3d}
.karma-page .ks-benefits>div:nth-child(3n+2){background:#2f5843}
.karma-page .ks-benefits>div:nth-child(3n){background:#3c5d42}

/* The hero illustration flows beside the copy on desktop and below buttons on mobile. */
.karma-page .ks-hero-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.85fr);gap:32px;align-items:center}
.karma-page .ks-hero-copy{min-width:0}
.karma-page .ks-hero-visual{margin:0;width:100%;max-width:420px;justify-self:end}
.karma-page .ks-hero-visual img{display:block;width:100%;height:auto;border-radius:26px;border:1px solid #d4dfc5;box-shadow:0 12px 28px rgba(29,65,41,.1)}
.karma-page .ks-hero-copy .actions{display:flex;flex-wrap:wrap}
.karma-page #faqs{scroll-margin-top:92px}
.karma-page #faqs .acc button{cursor:pointer;gap:14px;line-height:1.5}
.karma-page #faqs .acc button:focus-visible{outline:3px solid #416c48;outline-offset:-4px}
.karma-page #faqs .content{line-height:1.65}
@media(max-width:850px){.karma-page .ks-hero-layout{grid-template-columns:minmax(0,1fr);gap:22px}.karma-page .ks-hero-visual{max-width:340px;justify-self:center}}
@media(max-width:600px){.karma-page .ks-hero-layout{gap:18px}.karma-page .ks-hero-copy .actions{display:grid;grid-template-columns:minmax(0,1fr)}.karma-page .ks-hero-visual{max-width:280px}.karma-page .ks-hero-visual img{border-radius:22px}.karma-page #faqs .acc button{font-size:15px}}

/* Five age stages: three cards then two on desktop, two columns on tablet, one on mobile. */
.karma-page .agebands{grid-template-columns:repeat(6,minmax(0,1fr));align-items:stretch}
.karma-page .agebands>div{grid-column:span 2;min-width:0}
.karma-page .agebands>div:nth-child(n+4){grid-column:span 3}
.karma-page .agebands>div:nth-child(1){background:#edf4e1}
.karma-page .agebands>div:nth-child(2){background:#e7f2df}
.karma-page .agebands>div:nth-child(3){background:#e3efe3}
.karma-page .agebands>div:nth-child(4){background:#deede5}
.karma-page .agebands>div:nth-child(5){background:#dcece7}
.karma-page .agebands b{line-height:1.3;overflow-wrap:break-word}
.karma-page .agebands small{line-height:1.55}
@media(max-width:900px){.karma-page .agebands{grid-template-columns:repeat(2,minmax(0,1fr))}.karma-page .agebands>div,.karma-page .agebands>div:nth-child(n+4){grid-column:span 1}.karma-page .agebands>div:last-child{grid-column:span 2}}
@media(max-width:600px){.karma-page .agebands{grid-template-columns:minmax(0,1fr)}.karma-page .agebands>div:last-child{grid-column:span 1}}

/* Four equally sized hero controls, with natural label wrapping. */
.karma-page .pageHero .ks-hero-copy .actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);grid-auto-rows:1fr;align-items:stretch;gap:12px}
.karma-page .pageHero .ks-hero-copy .actions .btn{width:100%;min-width:0;min-height:60px;padding:12px 14px;line-height:1.4;white-space:normal;text-align:center;overflow-wrap:break-word}
@media(max-width:600px){.karma-page .pageHero .ks-hero-copy .actions{grid-template-columns:minmax(0,1fr);gap:10px}.karma-page .pageHero .ks-hero-copy .actions .btn{min-height:54px}}

.karma-page #numbers-strategy {
  scroll-margin-top: 92px;
}
.karma-page #numbers-strategy .ks-acc {
  --module-tint: #eaf1e4;
  --module-edge: #769568;
  border-color: #d4dfc5;
}

.karma-page .ks-week-plan {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  font-size: 0.93rem;
  line-height: 1.5;
}
.karma-page .ks-week-plan caption {
  text-align: left;
  font-weight: 700;
  color: #244f3d;
  padding: 0 0 8px;
}
.karma-page .ks-week-plan th,
.karma-page .ks-week-plan td {
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #dbe5d6;
}
.karma-page .ks-week-plan thead {
  background: #eaf1e4;
}
.karma-page .ks-week-plan :is(th[scope="row"], .ks-class-count) {
  text-align: center;
}
.karma-page .ks-week-plan ul {
  margin: 0;
  padding-left: 1.1em;
}
.karma-page .ks-week-plan li + li {
  margin-top: 4px;
}
@media (max-width: 600px) {
  .karma-page .ks-week-plan th,
  .karma-page .ks-week-plan td {
    padding: 7px 5px;
  }
}

/* Programme summary below the Karma Shaala hero. */
.karma-page .ks-programme-overview {
  margin-top: 28px;
}

.karma-page .ks-programme-overview h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 12px;
}

.karma-page .ks-overview-intro {
  margin-bottom: 18px;
  color: #52625c;
}

.karma-page .ks-overview-intro p {
  margin: 0 0 8px;
  line-height: 1.6;
}

.karma-page .ks-overview-intro p:not(.ks-intro-subtitle) {
  text-align: justify;
  hyphens: auto;
}

.karma-page .ks-button-tail {
  white-space: nowrap;
}

.karma-page .ks-intro-subtitle {
  color: #335c3f;
  font-weight: 800;
  font-size: clamp(17px, 1.8vw, 20px);
}

.karma-page .ks-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.karma-page .ks-overview-grid .card {
  background: #fff;
  min-width: 0;
  overflow-wrap: break-word;
}

.karma-page .ks-overview-grid h3 {
  margin: 0;
}

.karma-page .ks-overview-grid p {
  margin: 8px 0 0;
  line-height: 1.55;
}

.karma-page .ks-overview-grid a {
  color: #216846;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 600px) {
  .karma-page .ks-overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
