/*
 * Group page kit (px-*), ported from ukstudyenglish.com (for-schools page, October 2026).
 * Same class names and tokens as UK Study English, so the two sites share one component language.
 * Loaded with the journey pages v2 (inc/design-journey-v2.php). LH additions are at the end.
 */

body.lh-journey-v2 {
    --navy: #000032;
    --magenta: #e6007e;
    --ink-2: #2e3150;
    --muted: #4b4f6b;
    --line: #e4e6ee;
    --line-2: #eef0f5;
    --chip: #f2f3f7;
    --soft: #f5f7fa;
    --sky: #e8f6fd;
}


/* ---------- Ported kit (only the components the LH pages use) ---------- */
.px-facts{list-style:none;margin:-26px 0 0;padding:18px;position:relative;z-index:2;background:#fff;border-radius:22px;box-shadow:0 2px 4px rgba(0,0,50,.04),0 18px 40px rgba(0,0,50,.1);display:grid;grid-template-columns:repeat(2,minmax(0, 1fr));gap:16px 14px}
.px-facts li{display:flex;flex-direction:column;gap:4px;min-width:0;padding:4px 6px}
.px-facts__n{font-size:32px;line-height:1;font-weight:800;color:var(--navy);letter-spacing:-.02em}
.px-facts li>span:last-child{font-size:14.5px;color:var(--muted);line-height:1.35}
.px-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0, 1fr);gap:22px;position:relative}
.px-steps li{position:relative;padding-inline-start:66px;display:flex;flex-direction:column;gap:6px;min-width:0}
.px-steps li:not(:last-child):after{content:"";position:absolute;inset-inline-start:23px;top:50px;bottom:-18px;width:2px;background:linear-gradient(var(--magenta),rgba(230,0,126,.15))}
.px-steps__n{position:absolute;inset-inline-start:0;top:0;width:48px;height:48px;border-radius:50%;background:var(--navy);color:#fff;font-weight:800;font-size:19px;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 6px rgba(230,0,126,.12)}
.px-steps h3{font-size:18.5px;color:var(--navy);padding-top:11px}
.px-faq{display:grid;grid-template-columns:minmax(0, 1fr);gap:24px;align-items:start}
.px-faq__side{display:flex;flex-direction:column;gap:20px;min-width:0}
.px-faq__list{min-width:0}
.px-side{background:var(--soft);border-radius:20px;padding:20px 22px;display:flex;flex-direction:column;gap:10px}
.px-side h3{font-size:18px;color:var(--navy)}
@media (min-width:760px){
  .px-facts{grid-template-columns:repeat(4,minmax(0, 1fr));padding:22px 26px;margin-top:-30px}
  .px-facts li+li{border-inline-start:1px solid var(--line);padding-inline-start:20px}
  .px-steps li:not(:last-child):after{display:none}
}
@media (min-width:1060px){
  .px-faq{grid-template-columns:minmax(0, .8fr) minmax(0, 1.2fr);gap:56px}
  .px-faq__side{position:sticky;top:96px}
}
/* Facts bar: icons from Font Awesome, the stars in gold */
.px-facts__n .px-star{ color: #f5b301; font-size: .7em; margin-left: 2px; vertical-align: .15em; }
/* FAQ accordion (native details) */
.px-acc{ border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.px-acc details + details{ border-top: 1px solid var(--line); }
.px-acc summary{ list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 20px; font-weight: 700; font-size: 16.5px; color: var(--navy); }
.px-acc summary::-webkit-details-marker{ display: none; }
.px-acc summary::after{ content: "+"; font-size: 22px; line-height: 1; color: var(--navy); flex: none; transition: transform .2s; }
.px-acc details[open] summary::after{ transform: rotate(45deg); color: var(--magenta); }
/* The kit page follows the hero directly; the facts bar overlaps the hero's bottom edge */
body.lh-journey-v2 body.lh-journey-v2 > .px-facts:first-child{ margin-top: -40px; }

/* Stepper column counts (px-steps--4 / --5): the class is built in PHP, keep these */
@media (min-width:760px){
  .px-steps--4,.px-steps--5{grid-template-columns:repeat(2,minmax(0, 1fr));gap:28px 32px}
}
@media (min-width:1060px){
  .px-steps--4{grid-template-columns:repeat(4,minmax(0, 1fr))}
  .px-steps--5{grid-template-columns:repeat(5,minmax(0, 1fr));gap:24px}
  .px-steps--4 li,.px-steps--5 li{padding-inline-start:0;padding-top:66px}
  .px-steps--4 li:not(:last-child):after,.px-steps--5 li:not(:last-child):after{display:block;inset-inline-start:60px;inset-inline-end:-16px;top:23px;bottom:auto;width:auto;height:2px;background:linear-gradient(90deg,var(--magenta),rgba(230,0,126,.15))}
  .px-steps--4 h3,.px-steps--5 h3{padding-top:0}
}
