/* Empowerus Academy: the inner pages (AEO package, Phase 2, 27 Nov 2026).
   Loaded after the design's style.css (generated from design 3's src/, never edited here) on every page but the
   homepage. It only adds: the page types' tops, the page body for WordPress blocks, the cards drawn by shortcodes,
   the guide (article) layout, and the article kit's skin. Same tokens, type and colours as the design; nothing under
   12px; white from top to bottom. */

:root {
  --ak-ink: var(--ink); --ak-muted: var(--ink-3); --ak-rule: var(--line); --ak-accent: var(--accent);
  --ak-surface: #fff; --ak-tint: var(--tint); --ak-zebra: #fafbfd; --ak-radius: 14px;
  --ak-top: calc(var(--head-h) + 24px); --ak-side: 280px; --ak-gap: 64px; --ak-ui-font: var(--sans);
  --measure: 68ch;
}

/* ---------- the top of a page ---------- */
.ip-hero {
  position: relative; overflow: hidden; padding: clamp(26px, 3.2vw, 44px) 0 clamp(36px, 4vw, 56px);
  background:
    radial-gradient(900px 520px at 90% 10%, rgba(119, 129, 233, .09), transparent 62%),
    radial-gradient(700px 420px at 72% 100%, rgba(78, 202, 221, .07), transparent 60%),
    var(--bg);
}
.ip-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 84px); align-items: center; }
.ip-hero--plain .ip-hero-grid { grid-template-columns: minmax(0, 1fr); }
.ip-hero--az .ip-copy { max-width: 820px; }
.ip-k { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 20px; font: 500 12.5px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--tc, var(--accent)); }
.ip-k .dot { width: 9px; height: 9px; }
.ip-h { font: 450 clamp(38px, 3.9vw, 60px)/1.05 var(--serif); letter-spacing: -.026em; text-wrap: balance; margin: 0; }
.ip-answer { margin: 20px 0 0; max-width: 60ch; font-size: clamp(17px, 1.25vw, 19px); line-height: 1.6; color: var(--ink-2); }
.ip-note { margin: 14px 0 0; max-width: 60ch; font-size: 15px; line-height: 1.55; color: var(--ink-3); }
.ip-h + .ip-note { margin-top: 20px; font-size: clamp(17px, 1.25vw, 19px); line-height: 1.6; color: var(--ink-2); }
/* single-column pages (track, guides, contact): the cards use the full width, text pieces keep a reading width */
.ip-single .eu-steps, .ip-single .eu-keybox, .ip-single .ak-table, .ip-single .eu-checklist, .ip-single .eu-close { max-width: 980px; }
.ip-content .eu-img img { aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 30%; }
.ip-content .eu-img { max-width: var(--measure); }
.ip-content div.eu-figpair { grid-template-columns: repeat(2, minmax(0, 260px)); gap: 28px; }
.ip-content .eu-figpair .eu-vid { display: block; margin: 0; }
.ip-content .eu-figpair .eu-vid figcaption { padding-top: 12px; border: 0; font: 400 15px/1.5 var(--sans); color: var(--ink-3); }
.ip-cta { margin-top: 28px; }
.ip-by { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 22px 0 0; font: 500 12.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.ip-by span + span { padding-left: 14px; border-left: 1px solid var(--line-2); }
.ip-card-k { margin: 0 0 14px; font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* a picture or video beside the headline, in the design's white frame with the gradient edge */
.ip-frame { padding: 10px; }
.ip-fig { margin: 0; }
.ip-fig img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
/* their clips are upright (9:16) reels, in the design's reel frame */
.ip-video { border-radius: 12px; box-shadow: none; }
.ip-hero--reel .ip-art { max-width: 320px; justify-self: center; width: 100%; }
.ip-content .eu-vid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: end; margin: 28px 0 1.6em; }
.ip-content .eu-vid .reel-frame { box-shadow: var(--sh-2); }
.ip-content .eu-vid figcaption { margin: 0; padding: 18px 0 6px; border-top: 2px solid transparent; border-image: var(--grad) 1; font: 450 clamp(20px, 1.6vw, 24px)/1.35 var(--serif); color: var(--ink); max-width: 30ch; }
.ip-sc + .ip-sc .eu-vid, .ip-tracks + .eu-vid { margin-top: 8px; }
.ip-btns p { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* about: the company's register details are the picture */
.ip-register, .ip-index, .ip-topics {
  position: relative; padding: 26px 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh-3);
}
.ip-register::before, .ip-index::before, .ip-topics::before, .ip-reach::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad);
}
.ip-reg { display: grid; gap: 0; }
.ip-reg div { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.ip-reg div:first-child { border-top: 0; padding-top: 0; }
.ip-reg dt { font: 500 12px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ip-reg dd { font: 500 15.5px/1.45 var(--sans); color: var(--ink); }
.ip-reg a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(70, 81, 196, .35); text-underline-offset: 3px; }
.ip-mono { font-family: var(--mono) !important; letter-spacing: .02em; }

/* FAQ: the groups and how many questions each holds */
.ip-index ol { list-style: none; display: grid; gap: 0; }
.ip-index li + li { border-top: 1px solid var(--line); }
.ip-index a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding: 14px 4px; text-decoration: none; color: var(--ink); }
.ip-index a:hover .ip-index-t { color: var(--accent); }
.ip-index-n { font: 450 26px/1 var(--serif); color: var(--accent); }
.ip-index-t { font: 600 16.5px/1.35 var(--sans); transition: color .2s; }
.ip-index-c { font: 500 12.5px/1.3 var(--mono); letter-spacing: .06em; color: var(--ink-3); white-space: nowrap; }

/* insights: the topics */
.ip-topics ul { list-style: none; display: grid; }
.ip-topics li + li { border-top: 1px solid var(--line); }
.ip-topics a { display: flex; align-items: center; gap: 14px; padding: 13px 2px; font: 600 16px/1.35 var(--sans); color: var(--ink); text-decoration: none; }
.ip-topics a .ico { color: var(--accent); }
.ip-topics .ip-arr { margin-left: auto; color: var(--ink-3); transition: translate .2s var(--ease); }
.ip-topics a:hover .ip-arr { translate: 4px 0; color: var(--accent); }

/* contact: the three ways to reach them, as the picture */
.ip-reach { position: relative; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh-3); }
.ip-reach-list { list-style: none; display: grid; gap: 14px; }
.ip-reach-list.c-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ip-reach-list.is-compact { gap: 0; }
.ip-reach-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-content: start; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-1); }
.ip-reach-list.is-compact .ip-reach-card { border: 0; border-radius: 0; box-shadow: none; padding: 18px 16px; }
.ip-reach-list.is-compact .ip-reach-card + .ip-reach-card { border-top: 1px solid var(--line); }
.ip-reach-ico { grid-row: 1 / span 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-t); color: var(--accent); }
.ip-reach-k { margin: 0 0 4px; font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ip-reach-v { margin: 0; font: 600 17px/1.4 var(--sans); color: var(--ink); overflow-wrap: anywhere; }
.ip-reach-v a { color: inherit; text-decoration: none; }
.ip-reach-v a:hover { color: var(--accent); }
.ip-reach-x { margin: 8px 0 0; font-size: 14.5px; }
.ip-reach-x a { color: var(--accent); font-weight: 500; }
.ip-reach-card .btn { grid-column: 2; justify-self: start; margin-top: 14px; }

/* a service page: its chapters under the top, numbered */
.ip-chapters { margin-top: clamp(30px, 3.6vw, 46px); padding: 20px 24px 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-1); }
.ip-chapters-k { margin: 0 0 8px; font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ip-chapters ol { list-style: none; columns: 2; column-gap: 40px; }
.ip-chapters li { break-inside: avoid; }
.ip-chapters a { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); font: 500 15.5px/1.4 var(--sans); color: var(--ink-2); text-decoration: none; }
.ip-chapters a:hover { color: var(--ink); }
.ip-chapters a:hover .ip-ch-n { color: var(--accent); }
.ip-ch-n { font: 500 12.5px/1.4 var(--mono); letter-spacing: .06em; color: var(--ink-3); }

/* a track page: the facts strip (the design's own) */
.ip-facts { grid-auto-columns: minmax(0, 1fr); }

/* glossary: A to Z */
.ip-az { margin-top: clamp(26px, 3vw, 40px); padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-1); }
.ip-az ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.ip-az ol li a, .ip-az ol li span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; font: 500 15px/1 var(--mono); }
.ip-az ol li a { background: var(--accent-t); color: var(--accent); text-decoration: none; }
.ip-az ol li a:hover { background: var(--accent); color: #fff; }
.ip-az ol li span { color: var(--ink-3); font-weight: 400; }
.ip-az ol li a { font-weight: 600; }
.ip-az-k { margin: 16px 0 8px; font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ip-az-terms { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ip-az-terms a { display: inline-flex; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font: 500 14px/1.3 var(--sans); color: var(--ink-2); text-decoration: none; background: var(--bg); }
.ip-az-terms a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- the body ---------- */
.ip-body { padding: clamp(40px, 4.5vw, 64px) 0 clamp(64px, 7vw, 104px); background: var(--bg); border-top: 1px solid var(--line); }
.ip-grid { display: grid; gap: clamp(32px, 4vw, 64px); align-items: start; }
.ip-grid--right { grid-template-columns: minmax(0, 1fr) 280px; }
.ip-grid--left { grid-template-columns: 264px minmax(0, 1fr); }
.ip-grid--right .ip-rail { order: 2; }
.ip-rail-in { position: sticky; top: calc(var(--head-h) + 24px); display: grid; gap: 16px; max-height: calc(100vh - var(--head-h) - 48px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.ip-main { min-width: 0; }
.ip-single { max-width: 1240px; }
.ak-toc-m { display: none; }

/* "On this page" (article kit markup) in the design's card */
.ip-toc, .ar-toc { padding: 20px 18px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-1); }
.ak-toc__label { margin: 0 0 8px 12px; font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ak-toc__list { list-style: none; display: grid; gap: 2px; margin: 0; padding: 0; }
.ak-toc__list a {
  position: relative; display: block; padding: 8px 12px; border-radius: 9px; border: 0;
  font: 500 14.5px/1.35 var(--sans); color: var(--ink-2); text-decoration: none; transition: background-color .2s, color .2s;
}
.ak-toc__list a:hover { background: var(--bg); color: var(--ink); }
.ak-toc__list a[aria-current="true"] { background: var(--accent-t); color: var(--accent); font-weight: 600; }
.ak-toc__list a[aria-current="true"]::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 3px; background: var(--grad); }
.ak-toc__foot { margin: 10px 0 0 12px; }
.ak-toc__top { font: 500 13px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); text-decoration: none; }
.ak-toc__top:hover { color: var(--accent); }
.ip-railcard { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-1); display: grid; gap: 10px; }
.ip-railcard-k { margin: 0 0 2px; font: 600 15px/1.35 var(--sans); color: var(--ink); }
.ip-railcard .btn { white-space: normal; text-align: center; }
.ak-toc-m { margin: 0 0 28px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-1); }
.ak-toc-m > summary { display: flex; align-items: center; gap: 10px; padding: 14px 18px; cursor: pointer; list-style: none; font: 600 15.5px/1.3 var(--sans); color: var(--ink); }
.ak-toc-m__count { font: 500 12.5px/1 var(--mono); color: var(--ink-3); }
.ak-toc-m .ak-toc { padding: 0 6px 10px; }

/* the page's own blocks */
.ip-content { font-size: 17px; line-height: 1.7; color: var(--ink-2); counter-reset: ch; }
.ip-content > :first-child { margin-top: 0; }
.ip-content > p, .ip-content > ul:not([class]), .ip-content > ol:not([class]), .ip-content > .wp-block-list:not(.eu-steps):not(.eu-checklist) { max-width: var(--measure); }
.ip-content p { margin: 0 0 1.05em; }
.ip-content a:not(.btn):not(.pc-more):not(.mf-more):not(.ip-track-a):not(.ip-guide-go) { color: var(--accent); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(70, 81, 196, .35); text-underline-offset: 3px; }
.ip-content a:not(.btn):hover { text-decoration-color: currentColor; }
.ip-content strong { color: var(--ink); font-weight: 600; }
.ip-content h2 { font: 450 clamp(28px, 2.5vw, 38px)/1.12 var(--serif); letter-spacing: -.02em; color: var(--ink); margin: clamp(52px, 5.5vw, 80px) 0 18px; text-wrap: balance; scroll-margin-top: calc(var(--head-h) + 24px); }
.ip-content h3 { font: 600 19px/1.35 var(--sans); color: var(--ink); margin: 32px 0 10px; }
.ip-content h4 { font: 600 17px/1.35 var(--sans); color: var(--ink); margin: 0 0 6px; }
/* chapters (service, about): a numbered rule above each section */
.ip-body--service .ip-content > h2, .ip-body--about .ip-content > h2 { padding-top: 22px; border-top: 1px solid var(--line-2); }
.ip-body--service .ip-content > h2::before, .ip-body--about .ip-content > h2::before {
  counter-increment: ch; content: counter(ch, decimal-leading-zero); display: block; margin-bottom: 12px;
  font: 500 12.5px/1 var(--mono); letter-spacing: .12em; color: var(--accent);
}
.ip-content ul:not([class*="eu-"]):not(.pc-bul):not([role]), .ip-content ol:not([class*="eu-"]):not([role]) { padding-left: 22px; margin: 0 0 1.2em; }
.ip-content li { margin: 0 0 .45em; }

/* a checklist */
.ip-content .eu-checklist { list-style: none; padding: 0; margin: 8px 0 1.4em; display: grid; gap: 10px; max-width: 760px; }
.ip-content .eu-checklist li { position: relative; margin: 0; padding: 14px 18px 14px 52px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-weight: 500; line-height: 1.5; }
.ip-content .eu-checklist li::before { content: ""; position: absolute; left: 18px; top: 16px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-t); }
.ip-content .eu-checklist li::after { content: ""; position: absolute; left: 24px; top: 21px; width: 8px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); rotate: -45deg; }

/* a step list: wider than the text, numbered in the design's serif numerals */
.ip-content .eu-steps { list-style: none; padding: 0; margin: 12px 0 1.6em; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; counter-reset: st; box-shadow: var(--sh-1); }
.ip-content .eu-steps li { counter-increment: st; position: relative; margin: 0; padding: 20px 24px 20px 84px; background: #fff; color: var(--ink-2); line-height: 1.6; }
.ip-content .eu-steps li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 24px; top: 16px; font: 450 30px/1 var(--serif); color: var(--tc, var(--accent)); }
.ip-content .eu-steps li strong:first-child { display: block; margin-bottom: 2px; font: 600 17px/1.4 var(--sans); color: var(--ink); }

/* key-boxes: a white card with the design's gradient edge */
.ip-content .eu-keybox, .ip-keybox {
  position: relative; margin: 20px 0 1.6em; padding: 24px 28px 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-2);
}
.ip-content .eu-keybox::before, .ip-keybox::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); }
.ip-content .eu-keybox > :last-child { margin-bottom: 0; }
.ip-content .eu-keybox h3, .ip-content .eu-keybox h4 { margin: 0 0 8px; font: 500 12.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.ip-content .eu-keybox p { color: var(--ink); }
.ip-content .eu-keybox-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 0; }
.ip-content .eu-keybox-split > .wp-block-group { padding: 24px 28px 22px; }
.ip-content .eu-keybox-split > .wp-block-group + .wp-block-group { border-left: 1px solid var(--line); background: var(--tint); border-radius: 0 16px 16px 0; }
.ip-content .eu-keybox-split > .wp-block-group > :last-child { margin-bottom: 0; }
.ip-keybox { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; margin: 0 0 clamp(40px, 4.4vw, 60px); }
.ip-keybox-ico { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--tt, var(--accent-t)); color: var(--tc, var(--accent)); }
.ip-keybox-h { margin: 2px 0 8px; font: 450 clamp(24px, 2vw, 30px)/1.15 var(--serif); letter-spacing: -.015em; color: var(--ink); }
.ip-keybox p { margin: 0 0 12px; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); max-width: 62ch; }

/* tables (the article kit's box, in the design's look) */
.ip-content .ak-table, .ar-body .ak-table { margin: 16px 0 1.6em; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-1); overflow-x: auto; }
.ak-table table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.ak-table thead th, .ak-table thead td { padding: 14px 18px; background: var(--tint); border-bottom: 1px solid var(--line-2); text-align: left; font: 500 12.5px/1.35 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.ak-table tbody td, .ak-table tbody th { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); text-align: left; }
.ak-table tbody tr:last-child > * { border-bottom: 0; }
.ak-table tbody td:first-child { color: var(--ink); font-weight: 600; }
.ak-table figcaption { padding: 12px 18px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--ink-3); }

/* questions: a stack of white cards, the answer opens under its question */
.ip-content .wp-block-details, .ar-body details {
  margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-1);
}
.ip-content .wp-block-details + .wp-block-details, .ar-body details + details { margin-top: 10px; }
.ip-content .wp-block-details summary, .ar-body details summary {
  position: relative; display: block; padding: 18px 56px 18px 22px; cursor: pointer; list-style: none;
  font: 600 17px/1.4 var(--sans); color: var(--ink);
}
.ip-content .wp-block-details summary::-webkit-details-marker, .ar-body details summary::-webkit-details-marker { display: none; }
.ip-content .wp-block-details summary::after, .ar-body details summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 28px; height: 28px;
  border: 1px solid var(--line-2); border-radius: 50%; font: 400 18px/1 var(--sans); color: var(--ink-2);
}
.ip-content .wp-block-details[open] summary::after, .ar-body details[open] summary::after { content: "\2212"; background: var(--ink); border-color: var(--ink); color: #fff; }
.ip-content .wp-block-details summary:hover, .ar-body details summary:hover { color: var(--accent); }
.ip-content .wp-block-details > :not(summary), .ar-body details > :not(summary) { margin: 0 22px; max-width: 70ch; }
.ip-content .wp-block-details > :last-child, .ar-body details > :last-child { padding-bottom: 20px; }
.ip-content .wp-block-details > :not(summary):first-of-type { padding-top: 2px; border-top: 1px solid var(--line); padding-top: 14px; }

/* pictures from their own classes */
.ip-content .wp-block-image, .ar-body figure.wp-block-image { margin: 24px 0 1.6em; }
.ip-content .wp-block-image img, .ar-body figure.wp-block-image img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--sh-2); }
.ip-content .wp-block-image figcaption, .ar-body figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.ip-content .eu-figpair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 20px 0 1.6em; }
.ip-content .eu-figpair .wp-block-image { margin: 0; }
.ip-content .eu-figpair .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; }
.ip-content .wp-block-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; margin: 20px 0 1.4em; }
.ip-content .wp-block-column > :first-child { margin-top: 0; }

/* buttons in the text */
.ip-content .wp-block-buttons, .ip-content .ip-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 1.4em; }
.ip-content .wp-block-button__link { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 12px; background: var(--ink); color: #fff !important; text-decoration: none !important; font: 600 16px/1 var(--sans); }
.ip-content .is-style-outline .wp-block-button__link { background: #fff; color: var(--ink) !important; border: 1px solid var(--line-2); }
.ip-content .wp-block-button__link:hover { background: var(--accent); }

/* the closing block */
.ip-content .eu-close { position: relative; margin: clamp(52px, 5.5vw, 80px) 0 0; padding: clamp(28px, 3vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh-2); }
.ip-content .eu-close::before { content: ""; position: absolute; left: 26px; right: 26px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); }
.ip-content .eu-close > h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.ip-content .eu-close > h2::before { content: none !important; counter-increment: none; }
.ip-content .eu-close > :last-child { margin-bottom: 0; }

/* ---------- cards drawn from WordPress ---------- */
.ip-tracks { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 20px 0 1.6em; }
.ip-track-a { position: relative; display: flex; flex-direction: column; height: 100%; padding: 24px 22px 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-1); text-decoration: none; color: var(--ink); transition: box-shadow .25s, translate .25s var(--ease); }
.ip-track-a::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 16px 16px 0 0; background: var(--tc); }
.ip-track-a:hover { box-shadow: var(--sh-2); translate: 0 -2px; }
.ip-track-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--tt); color: var(--tc); }
.ip-track-n { margin-top: 18px; font: 500 12.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tc); }
.ip-track-n b { font-weight: 600; }
.ip-track-t { margin-top: 6px; font: 450 28px/1.1 var(--serif); letter-spacing: -.015em; }
.ip-track-eg { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.ip-track-go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; font: 600 15px/1.3 var(--sans); color: var(--ink); }
.ip-track-a:hover .ip-track-go { color: var(--tc); }

.ip-group-h { display: flex; align-items: center; gap: 12px; margin: 36px 0 16px !important; font: 500 12.5px/1.3 var(--mono) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--ink) !important; }
.ip-group-n { display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--tt, var(--accent-t)); color: var(--tc, var(--accent)); }
.ip-cards.pc-grid { margin: 0 0 1.6em; }
.ip-cards.c-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ip-cards.c-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ip-cards.c-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ip-trainers.tr-grid { margin: 20px 0 1.6em; }
.ip-trainers.c-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ip-content .tr-bio, .ip-content .tr-focus { max-width: none; }

.ip-guides { list-style: none; display: grid; gap: 18px; margin: 20px 0 1.6em; }
.ip-guides.c-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ip-guides.c-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ip-guide { display: flex; flex-direction: column; height: 100%; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-1); }
.ip-guide-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin-bottom: 16px; }
.ip-guide-k { display: flex; gap: 12px; margin: 0 0 10px !important; font: 500 12.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ip-guide-k span { color: var(--accent); }
.ip-guide-t { margin: 0 0 8px !important; font: 450 24px/1.2 var(--serif) !important; letter-spacing: -.012em; }
.ip-guide-t a { color: var(--ink) !important; text-decoration: none !important; font-weight: inherit !important; }
.ip-guide-t a:hover { color: var(--accent) !important; }
.ip-guide-x { margin: 0 0 14px !important; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.ip-guide-go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font: 600 15px/1.3 var(--sans); color: var(--ink); text-decoration: none; }
.ip-guide-go:hover { color: var(--accent); }
.ip-empty { padding: 20px 24px; background: #fff; border: 1px dashed var(--line-2); border-radius: 14px; color: var(--ink-2); max-width: none !important; }

/* glossary entries: one white card each */
.ip-content .eu-term { position: relative; margin: 0 0 14px; padding: 26px 30px 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-1); scroll-margin-top: calc(var(--head-h) + 24px); }
.ip-content .eu-term > h2 { margin: 0 0 4px; font-size: clamp(26px, 2.2vw, 32px); }
.ip-content .eu-term > .eu-aka { margin: 0 0 14px; font: 500 12.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.ip-content .eu-term > p:last-child { margin-bottom: 0; }
.ip-content .eu-term:target { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-t), var(--sh-2); }

/* FAQ page: group headings carry their question count */
.ip-body--faq .ip-content > h2 { margin-top: clamp(44px, 4.6vw, 64px); }
.ip-body--faq .ip-content > h2:first-child { margin-top: 0; }

/* contact: the cards in the body */
.ip-body--contact .ip-content > h2:first-child { margin-top: 0; }

/* plain pages, 404 */
.ip-404 { padding: clamp(56px, 7vw, 104px) 0 clamp(72px, 8vw, 120px); }
.ip-404 .ip-h { max-width: 16ch; }
.ip-404-links { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 36px 0 28px; }
.ip-404-links a { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 4px 14px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-1); color: var(--ink); text-decoration: none; }
.ip-404-links a:hover { border-color: var(--accent); }
.ip-404-links .ico { grid-row: 1 / span 2; color: var(--accent); }
.ip-404-t { font: 600 17px/1.35 var(--sans); }
.ip-404-x { font-size: 14.5px; color: var(--ink-3); }
.ip-404-wa { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--ink-2); }

/* the course page: the short answer under the title, the HRD Corp box */
.ch-answer { max-width: 60ch; }
.ch-copy .ch-motto { margin: 0 0 12px; } /* the motto above the title (27 Nov 2026), same type as before */
.cmain .ip-keybox { margin-top: 0; margin-bottom: 28px; background: var(--tint); border-color: #dfe2fa; box-shadow: none; }
.cmain .ip-keybox::before { content: none; }
.cmain .ip-keybox + .cs { margin-top: 0; }
.bk-levy + .bk-levy { margin-left: 16px; }

/* the planner: its short answer under the deck */
.deck.deck-answer { margin-top: 14px; }

/* ---------- a guide (article) ---------- */
.ar-hero { padding: clamp(26px, 3.2vw, 44px) 0 clamp(28px, 3vw, 40px); background: var(--bg); }
.ar-hero-in { max-width: 1120px; }
.ar-sample { display: inline-flex; margin: 0 0 18px; padding: 8px 14px; border: 1px dashed var(--accent); border-radius: 10px; background: var(--accent-t); font: 600 13px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.ar-h { max-width: 24ch; margin: 0; font: 450 clamp(36px, 3.6vw, 56px)/1.06 var(--serif); letter-spacing: -.024em; text-wrap: balance; }
.ar-by { margin-top: 18px; }
.ar-answer { position: relative; max-width: 780px; margin-top: 28px; padding: 22px 26px 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-2); }
.ar-answer::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); }
.ar-answer-k { margin: 0 0 8px; font: 500 12.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.ar-answer p:last-child { margin: 0; font-size: 18px; line-height: 1.65; color: var(--ink); }
.ar-hero-img { max-width: 1120px; margin-top: 28px; }
.ar-hero-img img { width: 100%; height: auto; max-height: 460px; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); }
.ar-grid { max-width: 1120px; padding: clamp(32px, 3.6vw, 48px) 0 clamp(64px, 7vw, 104px); border-top: 1px solid var(--line); }
.ar-main { min-width: 0; }
.ar-body { font-size: 18px; line-height: 1.72; color: var(--ink-2); }
.ar-body > * { max-width: 720px; }
.ar-body > .ak-table, .ar-body > figure { max-width: none; }
.ar-body p { margin: 0 0 1.1em; }
.ar-body h2 { margin: clamp(48px, 5vw, 68px) 0 16px; padding-top: 22px; border-top: 1px solid var(--line-2); font: 450 clamp(28px, 2.4vw, 36px)/1.14 var(--serif); letter-spacing: -.018em; color: var(--ink); scroll-margin-top: calc(var(--head-h) + 24px); }
.ar-body h3 { margin: 30px 0 10px; font: 600 19.5px/1.35 var(--sans); color: var(--ink); }
.ar-body a { color: var(--accent); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(70, 81, 196, .35); text-underline-offset: 3px; }
.ar-body strong { color: var(--ink); }
.ar-body ul, .ar-body ol { padding-left: 22px; margin: 0 0 1.2em; }
.ar-body li { margin: 0 0 .5em; }
.ar-body .eu-takeaways { position: relative; margin: 0 0 32px; padding: 22px 26px 18px; background: var(--tint); border: 1px solid #dfe2fa; border-radius: 16px; }
.ar-body .eu-takeaways > h2 { margin: 0 0 10px; padding: 0; border: 0; font: 500 12.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.ar-body .eu-takeaways ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ar-body .eu-takeaways li { position: relative; margin: 0; padding-left: 28px; color: var(--ink); line-height: 1.55; }
.ar-body .eu-takeaways li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.ar-body .eu-sources { font-size: 15.5px; }
.ar-close { position: relative; max-width: 720px; margin-top: clamp(48px, 5vw, 68px); padding: clamp(26px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh-2); }
.ar-close::before { content: ""; position: absolute; left: 26px; right: 26px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); }
.ar-close h2 { margin: 0 0 10px; font: 450 clamp(26px, 2.2vw, 32px)/1.15 var(--serif); letter-spacing: -.015em; }
.ar-close p { margin: 0; color: var(--ink-2); max-width: 60ch; }
.ar-aside .ak-aside__inner { display: grid; gap: 16px; }

/* ---------- smaller screens ---------- */
@media (max-width: 1099px) {
  .ip-grid--right, .ip-grid--left { grid-template-columns: minmax(0, 1fr); }
  .ip-rail { display: none; }
  .ak-toc-m { display: block; }
  .ip-cards.c-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ip-trainers.c-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .ar-main > .ak-toc-m { display: none; }
}
@media (max-width: 1000px) {
  .ip-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .ip-hero--reel .ip-art { justify-self: start; }
  .ip-tracks { grid-template-columns: minmax(0, 1fr); }
  .ip-reach-list.c-3, .ip-guides.c-3 { grid-template-columns: minmax(0, 1fr); }
  .ip-404-links { grid-template-columns: minmax(0, 1fr); }
  .ip-chapters ol { columns: 1; }
}
@media (max-width: 720px) {
  .ip-h { font-size: clamp(34px, 9vw, 42px); }
  .ip-cards.c-4, .ip-cards.c-3, .ip-cards.c-2, .ip-guides.c-2 { grid-template-columns: minmax(0, 1fr); }
  .ip-trainers.c-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ip-content .eu-keybox-split, .ip-content .wp-block-columns, .ip-content .eu-figpair { grid-template-columns: minmax(0, 1fr); }
  .ip-content .eu-keybox-split > .wp-block-group + .wp-block-group { border-left: 0; border-top: 1px solid var(--line); border-radius: 0 0 16px 16px; }
  .ip-content .eu-vid { grid-template-columns: minmax(0, 260px); gap: 0; }
  .ip-content .eu-steps li { padding: 18px 18px 18px 66px; }
  .ip-content .eu-steps li::before { left: 18px; font-size: 26px; }
  .ip-content .eu-term { padding: 22px 20px 18px; }
  .ip-reg div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ip-register, .ip-index, .ip-topics { padding: 22px 18px 16px; }
  .ip-chapters { padding: 16px 16px 10px; }
  .ak-table thead th, .ak-table thead td, .ak-table tbody td, .ak-table tbody th { padding: 12px 14px; }
  /* a table keeps readable columns and scrolls sideways inside its box (the page never does) */
  .ak-table table { min-width: 560px; }
  .ak-table figcaption { position: sticky; left: 0; max-width: calc(100vw - 2 * var(--gut) - 2px); }
  .ar-body { font-size: 17px; }
  .ar-close .ch-cta .btn, .ip-cta .btn { width: 100%; justify-content: center; }
}

/* ======================================================================================================
   27 Nov 2026, Phase 2 Step 4: the design review's round 1 (R1-nn, review-pack/round-1-log.md) and the render
   gate. Later in the file on purpose: these rules win over the ones above, and each width they change is
   restated in the media blocks at the end.
   ====================================================================================================== */

/* type floor (render gate): the small labels of course pages, cards and trainers at 12px. inner.css is not loaded
   on the homepage, so the landing page keeps its own sizes (locked). */
main .fact-k, main .pc-k, main .pc-k .tag, main .jump-k, main .mod-n, main .mod-goal b, main .tr-focus { font-size: 12px; }
/* render gate: "More in <track>" shows two cards where it runs two columns (tablets), never two and a hole */
@media (max-width: 860px) and (min-width: 721px) {
  .pc-grid.pc-more > li:nth-child(3):last-child { display: none; }
}

/* R1-01 a contact card's button stays inside its card */
.ip-content .ip-reach-card .btn { grid-column: 1 / -1; justify-self: stretch; justify-content: center; min-width: 0; white-space: normal; text-align: center; }
/* R1-22 contact details never break inside a word (the email may break after the @ only) */
.ip-reach-v a { overflow-wrap: normal; }
.ip-reach-v:has(a[href^="mailto:"]) { overflow-wrap: normal; }
.ip-trainers .tr-post, .eu-nw { white-space: nowrap; }

/* R1-02 / R1-03 the glossary: the plain definition leads each card, the reading measure holds, a mono letter
   opens each letter's terms, and two of their own pictures sit in the matching cards */
.ip-content .eu-term > p { max-width: var(--measure); }
.ip-content .eu-term > h2 + p, .ip-content .eu-term > .eu-aka + p { font-size: 19px; line-height: 1.55; color: var(--ink); }
.ip-content > .ip-letter { display: flex; align-items: center; gap: 14px; max-width: none; margin: 34px 0 12px; font: 500 13px/1 var(--mono); letter-spacing: .14em; color: var(--accent); }
.ip-content > .ip-letter::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.ip-content > .ip-letter:first-child { margin-top: 0; }
.ip-content .eu-term .eu-vid { margin: 22px 0 18px; }
.ip-content .eu-term .eu-img { margin: 22px 0 18px; }

/* R1-04 the glossary's A to Z is the framed object beside its headline */
.ip-hero--az .ip-hero-grid { align-items: start; }
.ip-hero .ip-az { position: relative; margin-top: 0; padding: 22px 22px 20px; border-radius: 20px; box-shadow: var(--sh-3); }
.ip-hero .ip-az::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); }

/* R1-06 a reel beside its caption, not a thumbnail in an empty column */
.ip-content .eu-vid { grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: center; }
.ip-content .eu-vid figcaption { max-width: 46ch; padding: 16px 0 0; font: 400 17px/1.6 var(--sans); color: var(--ink-2); }
/* a course with one clip: "What you'll learn" beside it */
.cs-pair-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; margin-top: 18px; }
.cs-pair-grid .reels { max-width: none; }
.cs-pair-side { scroll-margin-top: calc(var(--head-h) + 24px); }
.cs-pair-side > .cs-h { margin-top: 0; }
/* About and contact: a row of text beside its picture, video or side card */
.ip-content .eu-row { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 3vw, 48px); align-items: start; margin: 0 0 1.4em; }
.ip-content .eu-row > .wp-block-group > :first-child { margin-top: 0; }
.ip-content .eu-row > .wp-block-group > :last-child { margin-bottom: 0; }
.ip-content .eu-row--media { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; }
.ip-content .eu-row--media div.eu-figpair { margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ip-content .eu-row-side { display: grid; gap: 20px; }
.ip-content .eu-side { margin: 0; }
.ip-content .eu-side > h2 { margin: 0 0 10px; padding: 0; border: 0; font-size: 24px; }
.ip-content .eu-side .ip-btns { margin: 14px 0 0; }
.ip-content .eu-row-side .eu-img { position: relative; max-width: none; margin: 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh-3); }
.ip-content .eu-row-side .eu-img::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); }
.ip-content .eu-row-side .eu-img img { aspect-ratio: 4 / 3; border: 0; box-shadow: none; border-radius: 12px; }
.ip-content .eu-row-side .eu-img figcaption { margin: 10px 6px 2px; }

/* R1-07 the rail's buttons hold one line (a course rail's button breaks once, at its slash) */
.ip-railcard .btn { white-space: nowrap; padding-inline: 14px; font-size: 14px; }
.ip-railcard .btn .ico { display: none; }
.jump .btn-book { text-wrap: balance; }

/* R1-09 track hubs and contact: steps, tables, boxes and the closing panel use the full width, like the cards */
.ip-body--hub .ip-single .eu-steps, .ip-body--hub .ip-single .ak-table, .ip-body--hub .ip-single .eu-keybox, .ip-body--hub .ip-single .eu-close,
.ip-body--contact .ip-single .eu-steps, .ip-body--contact .ip-single .eu-keybox { max-width: none; }

/* R1-11 one guide is one wide card */
.ip-guides.c-1 { grid-template-columns: minmax(0, 1fr); }
.ip-guides.is-one .ip-guide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "img img" "k x" "t x" "t go"; column-gap: 40px; padding: 28px 30px; }
.ip-guides.is-one .ip-guide-img { grid-area: img; }
.ip-guides.is-one .ip-guide-k { grid-area: k; }
.ip-guides.is-one .ip-guide-t { grid-area: t; }
.ip-guides.is-one .ip-guide-x { grid-area: x; }
.ip-guides.is-one .ip-guide-go { grid-area: go; align-self: end; }
/* R1-12 insights: what each topic covers, under it in the topics card */
.ip-topics li { padding-bottom: 10px; }
.ip-topics a { padding-bottom: 4px; }
.ip-topic-x { margin: 0 0 0 34px; font-size: 14.5px; line-height: 1.5; color: var(--ink-3); }
.ip-topic-x a { display: inline; padding: 0; font: inherit; font-weight: 500; color: var(--accent); text-decoration: underline; text-decoration-color: rgba(70, 81, 196, .35); text-underline-offset: 3px; }

/* R1-14 About: the trainers are the page's framed object, their bios at reading size */
.ip-body--about .ip-sc--trainers { position: relative; margin: 20px 0 1.6em; padding: 26px 24px 22px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh-3); }
.ip-body--about .ip-sc--trainers::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); }
.ip-body--about .ip-trainers.tr-grid { margin: 0; gap: 24px; }
.ip-content .ip-trainers .tr-bio { font-size: 15px; line-height: 1.6; }
/* the render gate: a trainer's Watch button on its own solid backing, readable on any picture */
main .tr-watch { background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* R1-15 the course page: one framed booking panel, the HRD Corp answer at its top */
.bk-claim { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; margin: 4px 0 22px; padding: 18px 20px; background: var(--tint); border: 1px solid #dfe2fa; border-radius: 14px; }
.bk-claim-ico { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: #fff; color: var(--tc, var(--accent)); }
.bk-claim-h { margin: 2px 0 6px; font: 600 17px/1.35 var(--sans); color: var(--ink); }
.bk-claim p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.bk-cta { flex-wrap: wrap; column-gap: 24px; row-gap: 6px; }
.bk-cta .bk-levy + .bk-levy { margin-left: 0; }

/* R1-16 a guide sits on the site's grid (breadcrumb, kicker and headline share one left edge) */
.ar-hero-in, .ar-grid, .ar-hero-img { max-width: none; }
/* R1-17 a guide's numbered steps in the design's serif numerals */
.ar-body > ol.wp-block-list:not(.eu-checklist):not(.eu-sources), .ar-body > ol:not([class]), .ar-body .eu-steps {
  list-style: none; padding: 0; margin: 12px 0 1.6em; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; counter-reset: st; box-shadow: var(--sh-1);
}
.ar-body > ol.wp-block-list:not(.eu-checklist):not(.eu-sources) > li, .ar-body > ol:not([class]) > li, .ar-body .eu-steps > li { counter-increment: st; position: relative; margin: 0; padding: 18px 22px 18px 80px; background: #fff; line-height: 1.6; }
.ar-body > ol.wp-block-list:not(.eu-checklist):not(.eu-sources) > li::before, .ar-body > ol:not([class]) > li::before, .ar-body .eu-steps > li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 22px; top: 15px; font: 450 30px/1 var(--serif); color: var(--accent); }
.ar-body .eu-steps > li strong:first-child { display: block; margin-bottom: 2px; color: var(--ink); }

/* R1-18 the planner: its short answer is a quiet note under the four steps */
.phero .plan-answer { margin: 18px 0 0; max-width: 60ch; font-size: 15px; line-height: 1.6; color: var(--ink-3); }
.phero .plan-answer a { color: var(--accent); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(70, 81, 196, .35); text-underline-offset: 3px; }

/* R1-19 the service page's rail shows "On this page" once the chapter list above has scrolled away */
.ip-toc.is-held { display: none; }

/* R1-21 a paragraph after cards or questions has room */
.ip-content > .wp-block-details + p, .ip-content > .ip-sc + p { margin-top: 20px; }

/* R1-24 a quiet text link beside the buttons */
.ip-content a.ip-textlink { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; font: 600 16px/1.3 var(--sans) !important; color: var(--ink) !important; text-decoration: none !important; }
.ip-content a.ip-textlink:hover { color: var(--accent) !important; }

/* R1-25 hub cards: no cover numeral (the programme number means nothing on a track page) */
.ip-cards .cv-n { display: none; }

/* R1-27 FAQ groups carry the mono number their index shows */
.ip-body--faq .ip-content > h2 { padding-top: 22px; border-top: 1px solid var(--line-2); }
.ip-body--faq .ip-content > h2::before { counter-increment: ch; content: counter(ch, decimal-leading-zero); display: block; margin-bottom: 12px; font: 500 12.5px/1 var(--mono); letter-spacing: .12em; color: var(--accent); }

/* R1-30 404: the track tiles in their track colours */
.ip-404-links li[class^="t-"] .ico { color: var(--tc); }

/* render gate: a course's outcomes never leave a hole (the last odd one runs across) */
.outc > li:last-child:nth-child(odd) { grid-column: 1 / -1; }

@media (min-width: 1100px) {
  /* R1-13 four cards in a row: the book button holds one line */
  .ip-cards.c-4 .btn-book { font-size: 13.5px; padding-inline: 12px; }
  .ip-cards.c-4 .btn-book .ico { display: none; }
}
@media (max-width: 1100px) {
  /* render gate: the facts strip fills its rows (no empty tile) */
  main .facts { display: flex; flex-wrap: wrap; }
  main .facts > .fact { flex: 1 1 30%; min-width: 0; }
}
@media (max-width: 1100px) and (min-width: 641px) {
  /* render gate: a course's clips in as many columns as there are clips (four in two rows), never wider than the page */
  .cmain .reels { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); max-width: min(100%, calc(var(--n) * 250px)); }
  .cmain .reels[style*="--n:4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 500px; }
}
@media (max-width: 1099px) {
  /* R1-08 the hero's own index already links every section: no second folded list on these pages */
  .ip-body--service .ak-toc-m, .ip-body--faq .ak-toc-m, .ip-body--glossary .ak-toc-m { display: none; }
}
@media (max-width: 1000px) {
  /* R1-28 the course's "On this page" strip fades at the right, so it reads as one that scrolls */
  .jump-list { -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
}
@media (max-width: 860px) {
  .ip-content .eu-row, .ip-content .eu-row--media { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  main .facts > .fact { flex-basis: 40%; }
  .ip-content .eu-vid { grid-template-columns: minmax(0, 260px); gap: 0; }
  .ip-content .eu-vid figcaption { font-size: 15px; }
  .cs-pair-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cs-pair-grid .reels { max-width: 260px; }
  .ip-guides.is-one .ip-guide { display: flex; padding: 22px; }
  .ip-body--about .ip-sc--trainers { padding: 20px 16px 16px; }
}
@media (max-width: 560px) {
  /* R1-05 tables on a phone: short columns fit the screen; long ones stack, each cell labelled */
  .ak-fit table { min-width: 0; }
  .ak-fit thead th, .ak-fit thead td { white-space: normal; font-size: 12px; letter-spacing: .05em; }
  .ak-fit thead th, .ak-fit thead td, .ak-fit tbody td, .ak-fit tbody th { padding: 10px 12px; }
  .ak-stack table { min-width: 0; }
  .ak-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ak-stack table, .ak-stack tbody, .ak-stack tr, .ak-stack td { display: block; width: auto; }
  .ak-stack tbody tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .ak-stack tbody tr:last-child { border-bottom: 0; }
  .ak-stack tbody td, .ak-stack tbody tr:last-child > * { padding: 3px 0; border: 0; background: none !important; }
  .ak-stack tbody td::before { content: attr(data-label); display: block; margin: 6px 0 2px; font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
  .ak-stack tbody td:first-child { font: 600 17px/1.35 var(--sans); }
  .ak-stack tbody td:first-child::before { content: none; }
  /* R1-20 the byline stacks; no stray rule */
  .ip-by { flex-direction: column; gap: 4px; }
  .ip-by span + span { padding-left: 0; border-left: 0; }
  /* R1-24 closing panels: one width of button */
  .ip-content .eu-close .btn { width: 100%; justify-content: center; }
  /* R1-29 the breadcrumb's last item on one line */
  .crumbs ol { flex-wrap: nowrap; }
  .crumbs li { flex: none; }
  .crumbs li:last-child { flex: 1 1 0; min-width: 0; }
  .crumbs li:last-child > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* ======================================================================================================
   27 Nov 2026, design review round 2 (R2-nn, review-pack/round-2-log.md) and the first guide's design check (DC-A,
   DC-B). Last in the file on purpose: these rules win over the ones above.
   ====================================================================================================== */

/* R2-01 the rail (service, FAQ, glossary, About, a guide): only its list scrolls; the advisor card is always whole.
   The rail runs the body's full height, so its inside really stays in view while the page is read. */
.ip-grid > .ip-rail { align-self: stretch; }
.ip-rail-in, .ar-aside .ak-aside__inner { display: flex; flex-direction: column; gap: 16px; }
.ip-rail-in > .ip-toc, .ar-aside .ak-aside__inner > .ar-toc { flex: 0 1 auto; min-height: 150px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.ip-rail-in > .ip-railcard, .ar-aside .ak-aside__inner > .ip-railcard { flex: none; }

/* R2-02 a reel's caption sits under a 1px rule (the gradient stays the top edge of a framed object), and a reel
   sits beside the paragraph it goes with (service chapter 06, the glossary's Debrief) */
.ip-content .eu-vid figcaption { border-top: 1px solid var(--line-2); border-image: none; }
.ip-content .eu-row--reel { grid-template-columns: minmax(0, 1fr) 260px; align-items: center; }
.ip-content .eu-row--reel .eu-vid { display: block; max-width: 260px; margin: 0; }
.ip-content .eu-row--reel .eu-vid figcaption { max-width: none; padding-top: 12px; font: 400 15px/1.5 var(--sans); color: var(--ink-3); }
.ip-content .eu-row--reel > .wp-block-group > p { max-width: var(--measure); }
.ip-content .eu-term .eu-row--reel { margin: 18px 0; }
.ip-content .eu-row--reel + .ip-sc--tracks .ip-tracks { margin-top: 8px; }

/* R2-03 a course with one clip, on a phone: the clip at a real size, then what you'll learn */
@media (max-width: 640px) {
  .cs-pair-grid .reels { display: block; width: min(100%, 300px); max-width: none; margin: 0; padding: 0; overflow: visible; }
  .cs-pair-grid .reel { width: 100%; }
}

/* R2-04 wide boxes keep the reading measure for their text */
.ip-content .eu-keybox p, .ip-content .eu-close p { max-width: var(--measure); }
@media (min-width: 721px) {
  .ip-content .eu-steps li { padding-right: max(24px, calc(100% - var(--measure) - 84px)); }
}

/* R2-05 About on a phone: one trainer per row, like the homepage's trainers */
@media (max-width: 560px) {
  .ip-trainers.tr-grid, .ip-trainers.c-4 { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ip-trainers .tr-frame { aspect-ratio: 5 / 4; }
  .ip-trainers .tr-frame img { object-position: 50% 22%; }
}

/* R2-07 the guides hub: the newest guide (7, 10, 13...) or the newest two (5, 8, 11...) above the threes */
.ip-guides.has-lead-1, .ip-guides.has-lead-2 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ip-guides.has-lead-1 > li, .ip-guides.has-lead-2 > li { grid-column: span 2; }
.ip-guides.has-lead-1 > li:first-child { grid-column: 1 / -1; }
.ip-guides.has-lead-2 > li:nth-child(-n+2) { grid-column: span 3; }
.ip-guides.has-lead-1 > li:first-child .ip-guide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "img img" "k x" "t x" "t go"; column-gap: 40px; padding: 28px 30px; }
.ip-guides.has-lead-1 > li:first-child .ip-guide-img { grid-area: img; }
.ip-guides.has-lead-1 > li:first-child .ip-guide-k { grid-area: k; }
.ip-guides.has-lead-1 > li:first-child .ip-guide-t { grid-area: t; }
.ip-guides.has-lead-1 > li:first-child .ip-guide-x { grid-area: x; }
.ip-guides.has-lead-1 > li:first-child .ip-guide-go { grid-area: go; align-self: end; }
@media (max-width: 1000px) {
  .ip-guides.has-lead-1, .ip-guides.has-lead-2 { grid-template-columns: minmax(0, 1fr); }
  .ip-guides.has-lead-1 > li, .ip-guides.has-lead-2 > li, .ip-guides.has-lead-1 > li:first-child, .ip-guides.has-lead-2 > li:nth-child(-n+2) { grid-column: auto; }
  .ip-guides.has-lead-1 > li:first-child .ip-guide { display: flex; padding: 22px; }
}

/* R1-02 (round 2) the glossary: two bands break the run of term cards, each sending the reader on */
.ip-content .eu-band { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 36px; align-items: center; margin: 44px 0 40px; padding: 30px 32px 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh-3); }
.ip-content .eu-band::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); }
.ip-content .eu-band-text > :last-child { margin-bottom: 0; }
.ip-content .eu-band-text p { max-width: 52ch; margin: 0 0 10px; }
.ip-content .eu-band .eu-band-k { margin: 0 0 10px; font: 500 12.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.ip-content .eu-band .eu-band-h { margin: 0 0 10px; font: 450 clamp(22px, 1.8vw, 27px)/1.3 var(--serif); letter-spacing: -.012em; color: var(--ink); max-width: 34ch; }
.ip-content .eu-band .ip-btns { margin: 0; flex-direction: column; align-items: stretch; }
.ip-content .eu-band .ip-btns p { flex-direction: column; align-items: stretch; gap: 10px; }
.ip-content .eu-band .ip-btns .btn { justify-content: center; }
@media (max-width: 860px) {
  .ip-content .eu-band { grid-template-columns: minmax(0, 1fr); padding: 24px 20px 22px; }
  .ip-content .eu-band .ip-btns p { flex-direction: row; flex-wrap: wrap; }
}

/* R2-08 the definition lead ends where the explanation under it ends (68ch of the 17px text) */
.ip-content .eu-term > h2 + p:not(.eu-aka), .ip-content .eu-term > .eu-aka + p { max-width: calc(var(--measure) * 17 / 19); }

/* R2-09 the glossary's letter rules: back to the A to Z where there is no rail */
.ip-hero .ip-az { scroll-margin-top: calc(var(--head-h) + 16px); }
.ip-content > .ip-letter .ip-letter-up { display: none; order: 1; font: 500 12.5px/1 var(--mono); letter-spacing: .06em; color: var(--ink-3); text-decoration: none; padding: 8px 0 8px 4px; }
.ip-content > .ip-letter .ip-letter-up:hover { color: var(--accent); }
@media (max-width: 1099px) {
  .ip-content > .ip-letter .ip-letter-up { display: inline-block; }
}

/* R2-10 pictures in the page body run the column, like its tables and cards */
.ip-content .eu-img, .ip-content .eu-term .eu-img { max-width: none; }

/* R2-12 a trainer's credentials on their own mono line, so every name holds one line */
.ip-trainers .tr-post { display: block; margin: 6px 0 0; }
/* ...and where the cards sit side by side, each card's photo, name, focus and bio share rows, so every focus line
   starts level whatever the name above it carries */
@media (min-width: 561px) {
  .ip-trainers .tr { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
}

/* R2-13 a contact card's button without the chat icon (as in the rail); on phones every button row one width */
.ip-content .ip-reach-card .btn .ico { display: none; }
@media (max-width: 560px) {
  .ip-content .ip-btns .btn, .ip-content .ip-btns .ip-textlink { width: 100%; justify-content: center; }
  .ip-cta .btn { padding-inline: 14px; font-size: 15px; }
}

/* R2-14 the booking panel: the two text links stacked beside the button */
@media (min-width: 721px) {
  .bk-cta { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 28px; row-gap: 0; align-items: center; justify-items: start; }
  .bk-cta > .btn { grid-row: 1 / span 2; }
  .bk-cta > .bk-levy { min-height: 36px; }
}

/* R2-15 a course with one clip: "See it in action" and "What you'll learn" start on one line */
@media (min-width: 721px) {
  .cs-pair { display: grid; grid-template-columns: 250px minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: 36px; align-items: start; }
  .cs-pair > .cs-h, .cs-pair > .cs-sub { grid-column: 1; }
  .cs-pair > .cs-pair-grid { display: contents; }
  .cs-pair .reels { grid-column: 1; grid-row: 3; }
  .cs-pair .cs-pair-side { grid-column: 2; grid-row: 1 / -1; }
}

/* R2-16 a guide's sources: a plain list with small mono numbers, not step rows */
.ar-body ol.eu-sources { padding-left: 28px; font-size: 15px; line-height: 1.6; }
.ar-body ol.eu-sources li::marker { font: 500 12.5px var(--mono); color: var(--ink-3); }

/* R2-17 contact: the company details box at a reading width */
.ip-body--contact .ip-content > .eu-keybox { max-width: 760px; }

/* DC-A a guide's key takeaways: a white card that stands out on the page ground (no gradient edge: that marks the
   short answer above it) */
.ar-body .eu-takeaways { background: #fff; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--sh-1); }
/* DC-B (and every stacked table) on a phone: each cell keeps room at both sides */
@media (max-width: 560px) {
  .ak-stack tbody tr { padding: 14px 4px; }
  .ak-stack tbody td, .ak-stack tbody tr:last-child > * { padding: 3px 12px; }
}

/* R3-01 (page review r1, 27 Nov 2026) a paragraph beside a reel or a picture never shares a phone's width: R2-02's
   two columns held at every width (service chapter 06, the glossary's Debrief: one or two words a line at 390).
   Below 640px every such row stacks, its text first, then the media at a real size. Last in the file on purpose. */
@media (max-width: 640px) {
  .ip-content .eu-row, .ip-content .eu-row--reel, .ip-content .eu-row--media { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .ip-content .eu-row--reel .eu-vid { width: min(100%, 300px); max-width: none; }
}

/* ======================================================================================================
   Course pages (parts/course.php), page review r1, round-2 template fixes (27 Nov 2026;
   aeo-package/reviews/fixes/r1/courses-shared.md). Every rule is scoped to the course page's own pieces (.ch-*,
   .cmain, .jump, .bk-*, .more, .faq-sub, .cs-intro, .c-upd); nothing here reaches another page.
   ====================================================================================================== */
/* the top picture: a course without a photo shows its track page's own picture under a caption, or a drawn cover
   that says what the course holds (never the catalogue number) */
.ch-frame.has-cap { padding-bottom: 10px; }
.ch-frame.has-cap .cover img { object-position: 50% 36%; } /* an upright video still: the people, not the floor */
.ch-cap { margin: 10px 6px 0; font: 500 12px/1.4 var(--mono); letter-spacing: .06em; color: var(--ink-3); }
.ch-cover .cv-m { position: absolute; left: 6.5cqw; bottom: 6cqw; max-width: 46cqw; font: 500 clamp(12px, 2.7cqw, 15px)/1.35 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tc); }
/* "Who is it for?": no repeated person icon; each audience marked by the track colour */
.cmain .who li { display: block; border-left: 3px solid var(--tc); }
/* "What will your team learn?" on its own: the points side by side on a laptop (one short line a row read thin) */
@media (min-width: 1101px) {
  .cmain .learn--2, .cmain .learn--3, .cmain .learn--4 { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .cmain .learn--2 li, .cmain .learn--3 li, .cmain .learn--4 li { grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; padding: 22px 24px 24px; }
  .cmain .learn--2 li + li, .cmain .learn--3 li + li, .cmain .learn--4 li + li { border-top: 0; border-left: 1px solid var(--line); }
}
/* modules: numbered in the design's serif numerals (the "Module" word is kept for screen readers) */
.cmain .mod-n { min-width: 1.3em; padding: 0; border-radius: 0; background: none; font: 400 28px/1 var(--serif); letter-spacing: -.02em; text-transform: none; color: var(--tc); }
/* the full outline on request: a plain card (the gradient edge marks a page's main object, not an ask) */
.cmain .outline-card { box-shadow: none; }
.cmain .outline-card::before { content: none; }
/* learning outcomes: a light checklist, not a second set of boxes */
.cmain .outc { gap: 0 28px; }
.cmain .outc li { padding: 12px 0; background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
/* the booking panel: each step as tall as its words, numbered like the rest of the page; a step's title and the
   claim box's question keep their weight as paragraphs */
.cmain .bk-steps { align-items: start; }
.cmain .bk-n { display: block; width: auto; height: auto; border-radius: 0; background: none; font: 400 30px/1 var(--serif); letter-spacing: -.02em; color: var(--tc); }
.cmain .bk-steps .bk-k { margin: 0 0 4px; font: 600 16px/1.35 var(--sans); color: var(--ink); }
.cmain .bk-claim .bk-claim-h { margin: 2px 0 6px; font: 600 17px/1.35 var(--sans); color: var(--ink); }
/* the questions every course page shares: their own group under a mono label, with the way to all the questions */
.cmain .faq-sub { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin: 40px 0 6px; }
.cmain .faq-sub-k { margin: 0; font: 500 12.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.cmain .faq-sub-all { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font: 500 15px/1.3 var(--sans); color: var(--accent); text-decoration: none; }
.cmain .faq-sub-all .ico { width: 16px; height: 16px; }
.cmain .faq-sub-all:hover span { text-decoration: underline; text-underline-offset: 3px; }
.cmain .c-upd { margin: calc(-1 * clamp(28px, 3vw, 44px)) 0 0; font: 500 12px/1.4 var(--mono); letter-spacing: .06em; color: var(--ink-3); }
/* the trainer introducing the course: its own item beside the counted clips, the clip beside what it is */
.cmain .cs-intro { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: center; margin: 26px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.cmain .cs-h + .cs-intro { margin-top: 0; padding-top: 0; border-top: 0; }
.cmain .cs-intro + .cs-sub { margin-top: 26px; }
.cmain .cs-intro .reel { width: 100%; }
.cmain .cs-intro-k { margin: 0 0 8px; font: 500 12.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tc); }
.cmain .cs-intro-c { margin: 0; max-width: 30ch; font: 450 clamp(21px, 1.8vw, 26px)/1.3 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.cmain .cs-pair > .cs-intro { grid-column: 1 / -1; }
/* their clips show the design's play button only until they play (no browser control bar under it) */
.js .cmain .reel-frame:not(.played) video::-webkit-media-controls { display: none !important; }
.js .cmain .reel-frame:not(.played) video::-webkit-media-controls-enclosure { display: none !important; }
/* "More in": every card as tall as its row (the list shares the "View course" link's class), two cards across the
   row when there are two, no catalogue numbers, the "See all" link on the headline's baseline */
.more .pc-grid.pc-more { display: grid; align-items: stretch; min-height: 0; font: inherit; color: inherit; }
.more .cv-n, .more .pc-n { display: none; }
.more .more-head { align-items: baseline; }
@media (min-width: 861px) {
  .more .pc-grid.pc-more--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
}
/* page review r2 (critical, broken): on phones "More in" stacks one card per row, so each card's buttons stay
   inside the card (two ~170px columns cut "Book training / Get full outline" and "Add to plan") */
@media (max-width: 720px) {
  .more .pc-grid.pc-more { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
/* the rail's main button on one line: the rail a little wider, the button without its icon */
@media (min-width: 1001px) {
  .cbody-grid { grid-template-columns: 288px minmax(0, 1fr); }
  .jump .btn-book { white-space: nowrap; padding-inline: 12px; font-size: 14px; text-wrap: nowrap; }
  .jump .btn-book .ico { display: none; }
}
@media (max-width: 720px) {
  /* phones: a shorter top picture, so the key facts come sooner, and the short answer at the 16px lead size */
  .ch-art .cover-lg { aspect-ratio: 2 / 1; }
  .ch-copy .ch-answer { font-size: 16px; }
  .cmain .cs-intro { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .cmain .cs-intro .reel { width: min(100%, 260px); }
}
@media (max-width: 640px) {
  /* the booking panel on a phone: one frame less, the claim's shield above its words */
  .cmain .bk { padding: 22px 18px; }
  .cmain .bk-claim { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 16px; }
  /* round 2 (27 Nov 2026): the clips on a phone are centred and as wide as the other pages' reels
     (min(100%, 300px)); several clips stay one row to swipe, each stopping in the middle. The row runs the screen's
     width (16px past the column each side), so its side room is half of what is left beside one clip. */
  .cmain { grid-template-columns: minmax(0, 1fr); } /* the column never grows past the screen (call-centre: 2px, so its clip row scrolled the page sideways) */
  .cmain .reels { padding-inline: calc((100% + 32px - min(100%, 300px)) / 2); scroll-padding: 0; }
  .cmain .reels .reel { flex: 0 0 min(100%, 300px); scroll-snap-align: center; }
  .cmain .cs-pair-grid .reels { margin-inline: auto; padding: 0; }
  .cmain .cs-intro .reel, .cmain .cs-intro-t { width: min(100%, 300px); margin-inline: auto; }
}

/* ======================================================================================================
   Legal pages: privacy-policy, terms-of-service (page review r1, 27 Nov 2026; page.php). Their text is theirs, word
   for word; only its frame is the design's: a kicker with the page's icon, their "Effective Date" line as the mono
   meta row, the site's grid (breadcrumb, title and text share one left edge) with "On this page" in the rail, each
   section's own number as a mono chapter mark over a rule, Newsreader headings, the 68ch measure at 17px, labelled
   lists as rows in a white card, plain lists with the accent dot, their contact table as the framed key box, their
   closing lines as a mono end-note. Every rule is scoped to .ip-hero--legal / .ip-body--legal.
   ====================================================================================================== */
.ip-hero--legal .ip-k { flex-wrap: nowrap; align-items: flex-start; }
.ip-hero--legal .ip-k .ico { width: 18px; height: 18px; margin-top: -2px; }
.ip-hero--legal .eu-lg-meta { margin-top: 20px; }
.ip-body--legal .eu-lg-intro > p { max-width: 760px; font-size: clamp(17px, 1.25vw, 18.5px); line-height: 1.65; }
.ip-body--legal .eu-lg-intro > :last-child { margin-bottom: 0; }
.ip-body--legal .eu-lg-doc > h2:first-child { margin-top: 44px; }
.ip-body--legal .ip-content h2 {
  max-width: 760px; margin: clamp(48px, 5vw, 72px) 0 16px; padding-top: 22px; border-top: 1px solid var(--line-2);
  font: 450 clamp(26px, 2.2vw, 32px)/1.15 var(--serif); letter-spacing: -.018em;
}
.ip-body--legal .eu-lg-n { display: block; margin-bottom: 12px; font: 500 12.5px/1 var(--mono); letter-spacing: .12em; color: var(--accent); }
.ip-body--legal .ip-content h3 { margin: 40px 0 10px; }
.ip-body--legal .ip-content h2 + h3 { margin-top: 24px; }
/* plain lists: the design's accent dot; a long one in two columns where there is room */
.ip-body--legal .eu-lg-dots { list-style: none; max-width: var(--measure); margin: 4px 0 1.3em; padding: 0; }
.ip-body--legal .eu-lg-dots li { position: relative; margin: 0 0 .55em; padding-left: 22px; }
.ip-body--legal .eu-lg-dots li::before { content: ""; position: absolute; left: 3px; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
/* labelled lists ("Right of Access: ..."): one row each in a white card, the label on its own line */
.ip-body--legal .eu-lg-keys {
  list-style: none; max-width: 760px; margin: 8px 0 1.5em; padding: 0; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--sh-1); overflow: hidden;
}
.ip-body--legal .eu-lg-keys li { margin: 0; padding: 14px 22px; border-top: 1px solid var(--line); line-height: 1.6; }
.ip-body--legal .eu-lg-keys li:first-child { border-top: 0; }
.ip-body--legal .eu-lg-keys li > strong:first-child { display: block; margin-bottom: 2px; }
/* their contact table: the framed key box, each key (mono) over its value */
.ip-body--legal .eu-lg-box {
  position: relative; max-width: 760px; margin: 20px 0 0; padding: 24px 28px 20px; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-2);
}
.ip-body--legal .eu-lg-box::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); }
.ip-body--legal .eu-lg-box dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
.ip-body--legal .eu-lg-box dl > div { min-width: 0; padding: 14px 0; border-top: 1px solid var(--line); }
.ip-body--legal .eu-lg-box dl > div:nth-child(-n+2) { padding-top: 0; border-top: 0; }
.ip-body--legal .eu-lg-box dl > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ip-body--legal .eu-lg-box dt { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ip-body--legal .eu-lg-box dt .ico { width: 16px; height: 16px; color: var(--accent); }
.ip-body--legal .eu-lg-box dd { margin: 0; font: 500 16px/1.5 var(--sans); color: var(--ink); overflow-wrap: break-word; }
/* their closing lines: a quiet document footer */
.ip-body--legal .eu-lg-end { max-width: var(--measure); margin: 36px 0 0; padding-top: 18px; border-top: 1px solid var(--line-2); }
.ip-body--legal .eu-lg-end p { margin: 0 0 6px; font: 400 13px/1.6 var(--mono); letter-spacing: .02em; color: var(--ink-3); }
.ip-body--legal .eu-lg-end a { color: var(--ink-3); }
/* after the document: the other legal page and Contact */
.ip-body--legal .eu-lg-rel { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; max-width: 760px; margin: 44px 0 0; }
.ip-body--legal .eu-lg-rel .ak-toc__label { flex-basis: 100%; margin: 0; }
.ip-body--legal .eu-lg-rel a {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--sh-1); font: 600 15.5px/1.3 var(--sans); color: var(--ink); text-decoration: none;
}
.ip-body--legal .eu-lg-rel a:hover { border-color: var(--accent); }
.ip-body--legal .eu-lg-rel .ico { width: 16px; height: 16px; color: var(--accent); }
@media (min-width: 900px) {
  .ip-body--legal .eu-lg-cols { max-width: none; columns: 2; column-gap: 40px; }
  .ip-body--legal .eu-lg-cols li { break-inside: avoid; }
}
@media (max-width: 1099px) {
  .ip-body--legal .ak-toc-m { margin: 28px 0 0; }
}
@media (max-width: 720px) {
  .ip-body--legal .eu-lg-box { padding: 22px 20px 16px; }
  .ip-body--legal .eu-lg-box dl { grid-template-columns: minmax(0, 1fr); }
  .ip-body--legal .eu-lg-box dl > div:nth-child(2) { padding-top: 14px; border-top: 1px solid var(--line); }
  .ip-body--legal .eu-lg-keys li { padding: 14px 18px; }
}

/* ======================================================================================================
   About, contact, plan (page review r1, 27 Nov 2026). Every rule is scoped to .ip-body--about, .ip-hero--reach,
   .ip-body--contact or body[data-page="plan"]; nothing here reaches the homepage (inner.css is not loaded there).
   ====================================================================================================== */

/* About: the rail numbers its chapters as the chapter rules do (01-05); the closing panel has no number */
.ip-body--about .ak-toc__list { counter-reset: abt; }
.ip-body--about .ak-toc__list li { position: relative; counter-increment: abt; }
.ip-body--about .ak-toc__list li::before { content: counter(abt, decimal-leading-zero); position: absolute; left: 12px; top: 8px; z-index: 1; font: 500 12px/19.5px var(--mono); letter-spacing: .08em; color: var(--accent); pointer-events: none; }
.ip-body--about .ak-toc__list li:last-child::before { content: none; }
.ip-body--about .ak-toc__list a { padding-left: 42px; }
/* About: the trainers' cards carry photo and name only (each profile is quoted under them, word for word) */
.ip-body--about .ip-trainers.is-bare .tr-name { margin-bottom: 0; }
@media (min-width: 561px) {
  .ip-body--about .ip-trainers.is-bare .tr { grid-row: span 2; }
}
/* About: the session clips' text starts at the top of the row, not in the middle of the reels */
.ip-body--about .ip-content .eu-row--media { align-items: start; }
/* About: one play control on a clip until it plays (the round button; the browser's own bar after that) */
.js .ip-body--about .reel-frame:not(.played) video::-webkit-media-controls { display: none !important; }
.js .ip-body--about .reel-frame:not(.played) video::-webkit-media-controls-enclosure { display: none !important; }
/* About: the closing panel holds the three ways to reach them */
.ip-body--about .eu-close .ip-sc--contact_cards { margin: 18px 0 0; }
.ip-body--about .eu-close .ip-reach-list { margin: 0; }
.ip-body--about .eu-close .ip-btns { margin: 22px 0 14px; }

/* Contact: the top card's number and email read as links; WhatsApp has its own link */
.ip-hero--reach .ip-reach-v a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(70, 81, 196, .35); text-underline-offset: 3px; }
.ip-hero--reach .ip-reach-v a:hover, .ip-hero--reach .ip-reach-v a:focus-visible { text-decoration-color: currentColor; }
.ip-hero--reach .ip-reach-x { margin-top: 4px; }
/* Contact: the checklist is one white card with a rule between rows, and its two buttons sit right under it */
.ip-body--contact .ip-content .eu-checklist { gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-1); overflow: hidden; }
.ip-body--contact .ip-content .eu-checklist li { border: 0; border-radius: 0; }
.ip-body--contact .ip-content .eu-checklist li + li { border-top: 1px solid var(--line); }
.ip-body--contact .eu-row-text .ip-btns { margin: 16px 0 0; }
/* Contact: the gradient edge stays on the top card and the planner box; the picture takes the plain white frame */
.ip-body--contact .eu-row-side .eu-img::before { content: none; }
.ip-body--contact .eu-row-side .eu-img { box-shadow: var(--sh-1); }
/* Contact: "What happens after I ask?" in three columns on wide screens, each numeral over its step */
@media (min-width: 1100px) {
  .ip-body--contact .ip-content .eu-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ip-body--contact .ip-content .eu-steps li { padding: 66px 26px 24px; }
  .ip-body--contact .ip-content .eu-steps li::before { left: 26px; top: 22px; }
}
/* Contact: the company details as a register strip across the page (mono keys over values, no gradient edge) */
.ip-body--contact .ip-content > .eu-regstrip { max-width: none; padding: 22px 28px; box-shadow: var(--sh-1); }
.ip-body--contact .eu-regstrip::before { content: none; }
.ip-body--contact .eu-regstrip .ip-reg { grid-template-columns: minmax(0, .75fr) minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.5fr); gap: 0; }
.ip-body--contact .eu-regstrip .ip-mono { white-space: nowrap; }
.ip-body--contact .eu-regstrip .ip-reg div { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 0 24px; border: 0; }
.ip-body--contact .eu-regstrip .ip-reg div:first-child { padding-left: 0; }
.ip-body--contact .eu-regstrip .ip-reg div + div { border-left: 1px solid var(--line); }
@media (max-width: 1000px) {
  .ip-body--contact .eu-regstrip .ip-reg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ip-body--contact .eu-regstrip .ip-reg div { padding: 12px 20px 12px 0; }
  .ip-body--contact .eu-regstrip .ip-reg div + div { border-left: 0; }
  .ip-body--contact .eu-regstrip .ip-reg div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .ip-body--contact .ip-content > .eu-regstrip { padding: 18px 20px; }
  .ip-body--contact .eu-regstrip .ip-reg { grid-template-columns: minmax(0, 1fr); }
  .ip-body--contact .eu-regstrip .ip-reg div:nth-child(n+2) { border-top: 1px solid var(--line); }
}

/* Plan: the short answer leads under the deck, at the deck's size; the track pages under the four steps */
body[data-page="plan"] .phero .deck { margin-bottom: 0; }
body[data-page="plan"] .phero .plan-answer { margin: 16px 0 0; max-width: 60ch; font-size: clamp(17.5px, 1.32vw, 20px); line-height: 1.6; color: var(--ink-2); }
body[data-page="plan"] .phero .plan-tracks { margin: 20px 0 0; font-size: 15.5px; line-height: 1.7; color: var(--ink-2); }
body[data-page="plan"] .phero .plan-tracks > span { margin-right: 6px; font: 500 12.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
body[data-page="plan"] .phero .plan-tracks a { color: var(--accent); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(70, 81, 196, .35); text-underline-offset: 3px; }
/* Plan: no reveal on scroll (inner pages use no decorative motion), so a print or a capture shows the whole planner */
body[data-page="plan"] [data-reveal] { opacity: 1; translate: 0 0; transition: none; }
/* Plan: under the tool, when to apply, the levy rules' sources and where to read on */
body[data-page="plan"] .plan-more { padding: clamp(56px, 6vw, 88px) 0; background: #fff; border-top: 1px solid var(--line); }
body[data-page="plan"] .pm-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
body[data-page="plan"] .pm-h { margin: 0 0 18px; max-width: 24ch; font: 450 clamp(28px, 2.5vw, 38px)/1.12 var(--serif); letter-spacing: -.02em; color: var(--ink); }
body[data-page="plan"] .pm-main p { max-width: 68ch; margin: 0 0 1.05em; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
body[data-page="plan"] .pm-main .pm-src { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.6; color: var(--ink-3); }
body[data-page="plan"] .pm-main a { color: var(--accent); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(70, 81, 196, .35); text-underline-offset: 3px; }
body[data-page="plan"] .pm-links { padding: 20px 18px 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-1); }
body[data-page="plan"] .pm-k { margin: 0 0 8px 12px; font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
body[data-page="plan"] .pm-links ul { list-style: none; display: grid; gap: 2px; margin: 0; padding: 0; }
body[data-page="plan"] .pm-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border-radius: 9px; font: 600 15.5px/1.35 var(--sans); color: var(--ink); text-decoration: none; }
body[data-page="plan"] .pm-links a:hover { background: var(--bg); color: var(--accent); }
body[data-page="plan"] .pm-links .ico { width: 16px; height: 16px; color: var(--accent); }
@media (max-width: 900px) {
  body[data-page="plan"] .pm-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ======================================================================================================
   Insights (/insights/, the guides hub, tpl-guides.php): page review r1, 27 Nov 2026. Every rule is scoped to the
   guides template (.page-template-tpl-guides) or to pieces only it draws (.ip-topics, .ip-guide*, .ip-guide-list).
   ====================================================================================================== */
/* the topics card: each topic's icon in its track colour, its live guide count in mono beside it */
.ip-topics li .ico:not(.ip-arr) { color: var(--tc, var(--accent)); }
.ip-topics a > span:first-of-type { flex: 1 1 auto; min-width: 0; }
.ip-topics .ip-arr { margin-left: 0; }
.ip-topic-n { flex: none; font: 500 12.5px/1.3 var(--mono); letter-spacing: .06em; color: var(--ink-3); white-space: nowrap; }
.ip-topic-x { text-wrap: pretty; }
/* a guide card: the picture's well holds its 16:9 box and a tint before the picture loads */
.ip-guide-img { display: block; aspect-ratio: 16 / 9; margin-bottom: 16px; overflow: hidden; border-radius: 10px; background: var(--tint); }
.ip-guide-img img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; border-radius: 0; }
/* ...its topic in its track colour with the track dot, then the date it was published */
.ip-guide-k { flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.ip-guide-k .ip-guide-topic { display: inline-flex; align-items: center; gap: 8px; color: var(--tc, var(--accent)); }
.ip-guide-k .ip-guide-dot { width: 8px; height: 8px; border-radius: 50%; color: inherit; background: currentColor; }
.ip-guide-k .ip-guide-date { color: var(--ink-3); }
/* ...and, when the guide says so, when its HRD Corp rules were checked */
.ip-guide-chk { display: flex; align-items: center; gap: 8px; margin: -4px 0 14px !important; font: 500 12.5px/1.4 var(--mono); letter-spacing: .04em; color: var(--ink-3); }
.ip-guide-chk .ico { flex: none; width: 15px; height: 15px; color: var(--accent); }
/* the newest guides lead the grid: a bigger serif title */
@media (min-width: 1001px) {
  .ip-guides.has-lead-2 > li:nth-child(-n+2) .ip-guide-t, .ip-guides.has-lead-1 > li:first-child .ip-guide-t, .ip-guides.is-one .ip-guide-t { font-size: 27px !important; line-height: 1.18 !important; }
}
/* a tablet keeps two columns; an odd count opens with one wide card, its picture beside its words */
@media (max-width: 1000px) and (min-width: 721px) {
  .ip-guides.c-3, .ip-guides.has-lead-1, .ip-guides.has-lead-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ip-guides.has-lead-1 > li, .ip-guides.has-lead-2 > li, .ip-guides.has-lead-1 > li:first-child, .ip-guides.has-lead-2 > li:nth-child(-n+2) { grid-column: auto; }
  .ip-guides.is-odd > li:first-child { grid-column: 1 / -1; }
  .ip-guides.is-odd > li:first-child .ip-guide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: min-content; column-gap: 28px; }
  .ip-guides.is-odd > li:first-child .ip-guide-img { grid-column: 1; grid-row: 1 / span 6; align-self: start; margin: 0; }
  .ip-guides.is-odd > li:first-child .ip-guide > :not(.ip-guide-img) { grid-column: 2; grid-row: auto; }
}
/* the topics card on a phone: one line per topic (its links are in the topic's section further down), so a guide
   shows within the second screen */
@media (max-width: 720px) {
  .ip-topics .ip-topic-x { display: none; }
  .ip-topics li { padding-bottom: 0; }
  .ip-topics a { padding: 12px 2px; }
}
/* a topic's guides under its section: plain links in a white box */
.ip-guide-list { max-width: 680px; margin: 20px 0 0; padding: 4px 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-1); }
.ip-guide-list .ip-guide-list-k { margin: 14px 0 2px !important; font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ip-guide-list ul { list-style: none; margin: 0; padding: 0; }
.ip-guide-list li { margin: 0; padding: 0; }
.ip-guide-list li + li { border-top: 1px solid var(--line); }
.ip-guide-list a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; font: 600 16px/1.4 var(--sans) !important; color: var(--ink) !important; text-decoration: none !important; }
.ip-guide-list a:hover { color: var(--accent) !important; }
.ip-guide-list .ico { flex: none; width: 16px; height: 16px; color: var(--accent); }
/* a comfortable line: about 62 characters for the hub's paragraphs, its checklist and the closing panel */
.page-template-tpl-guides .ip-content > p, .page-template-tpl-guides .ip-content .eu-close p { max-width: 62ch; text-wrap: pretty; }
.page-template-tpl-guides .ip-content .eu-row .eu-checklist { max-width: 640px; }

/* ======================================================================================================
   Page review r1, round-2 fixes for three pages only: hrd-corp-claimable-training (the only service page:
   .ip-hero--figure), faq (.ip-body--faq, .ip-hero--index) and glossary (.ip-body--glossary, .ip-hero--az).
   27 Nov 2026. Nothing here reaches another page.
   ====================================================================================================== */
/* service: on a phone the hero's chapter list is one line per chapter (numeral + the start of its question) */
@media (max-width: 640px) {
  .ip-hero--figure .ip-chapters a { padding: 7px 0; }
  .ip-hero--figure .ip-chapters a > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
/* FAQ: the index card starts level with the headline; the levy table sits in its labelled box */
.ip-hero--index .ip-hero-grid { align-items: start; }
.ip-body--faq .ip-content .eu-keybox > .ak-table { margin: 6px 0 0; box-shadow: none; }
/* glossary: a serif letter over each letter rule, a reading measure for the cards, the source set apart,
   the planner's Step 0 to 3 numbered from 00 */
.ip-body--glossary .ip-content > .ip-letter > span { font: 450 30px/1 var(--serif); letter-spacing: 0; color: var(--accent); }
.ip-body--glossary .ip-content .eu-term > p:not(.eu-aka) { max-width: 640px; }
.ip-body--glossary .ip-content .eu-term > h2 + p:not(.eu-aka), .ip-body--glossary .ip-content .eu-term > .eu-aka + p { max-width: 700px; }
.ip-body--glossary .ip-content .eu-term > .eu-src { margin: 16px 0 12px; padding-top: 10px; border-top: 1px solid var(--line); font: 400 13.5px/1.55 var(--sans); color: var(--ink-3); }
.ip-body--glossary .ip-content .eu-term .eu-row { margin: 18px 0 0; }
.ip-body--glossary .ip-content .eu-term .eu-row-text > p { max-width: 640px; }
.ip-body--glossary .ip-content .eu-term .ak-table { margin: 18px 0; }
.ip-body--glossary .ip-content .eu-term .ip-tracks { margin: 18px 0 4px; }
.ip-body--glossary .ip-content .eu-term .eu-steps { counter-reset: st -1; margin: 18px 0; }
/* glossary hero on wide screens: the rail already lists every term, so the A to Z card drops its term chips
   and sits level with the copy beside it */
@media (min-width: 1100px) {
  .ip-hero--az .ip-az-terms { display: none; }
  .ip-hero--az .ip-hero-grid { align-items: center; }
}

/* ======================================================================================================
   Page review r1, round-2 fixes for the three track pages only: soft-skills-training (.ip-body--t-soft),
   technical-skills-training (.ip-body--t-tech) and team-building (.ip-body--t-team); their tops are
   .ip-hero--reel. The course cards (.ip-cards), clip rows (.eu-reelrow), chips, facts and split closing panel
   below are drawn only on these three pages. 27 Nov 2026.
   ====================================================================================================== */
.ip-body--t-soft { --tc: var(--soft); --tt: var(--soft-t); }
.ip-body--t-tech { --tc: var(--tech); --tt: var(--tech-t); }
.ip-body--t-team { --tc: var(--team); --tt: var(--team-t); }

/* the top: on a phone the short answer at the lead size, so the buttons come sooner */
@media (max-width: 720px) {
  .ip-hero--reel .ip-answer { font-size: 16px; line-height: 1.6; }
}
/* every reel on these pages: the white play disc is the only control until the clip plays (no native bar over
   the still and its burned-in captions); the browser's controls come with the first play */
.ip-hero--reel .reel-frame:not(.played) video::-webkit-media-controls,
.ip-hero--reel .reel-frame:not(.played) video::-webkit-media-controls-enclosure,
.ip-body--hub .reel-frame:not(.played) video::-webkit-media-controls,
.ip-body--hub .reel-frame:not(.played) video::-webkit-media-controls-enclosure { display: none !important; }

/* the course cards: no catalogue numeral (it means nothing on a track page), no logo mark on a drawn cover (the
   header carries it), the title in ink as on the homepage's card (accent and underline on hover), the subtitle
   holds two lines so the rule above the points lines up across a row */
.ip-cards .pc-n, .ip-cards .cv-logo { display: none; }
.ip-content .ip-cards .pc-t { margin: 0; }
.ip-content .ip-cards .pc-t a { color: var(--ink) !important; font-weight: inherit !important; text-decoration: none !important; }
.ip-content .ip-cards .pc-t a:hover, .ip-content .ip-cards .pc-t a:focus-visible { color: var(--tc) !important; text-decoration: underline !important; text-underline-offset: 3px; }
@media (min-width: 721px) {
  .ip-cards .pc-sub { min-height: 2.8em; }
}
/* the Book button: one treatment in every group, icon kept; the short label where the card is narrow */
.ip-cards .bk-short { display: none; }
@media (min-width: 1100px) {
  .ip-cards.c-4 .btn-book { font-size: 14.5px; padding-inline: 12px; }
  .ip-cards.c-4 .btn-book .ico { display: inline-block; }
  .ip-cards.c-4 .bk-long { display: none; }
  .ip-cards.c-4 .bk-short { display: inline; }
}
@media (max-width: 420px) {
  .ip-cards .bk-long { display: none; }
  .ip-cards .bk-short { display: inline; }
}
/* a group heading is a link target (the technical page's chips) */
.ip-content .ip-group-h { scroll-margin-top: calc(var(--head-h) + 24px); }
/* phones: each group is a row to swipe; a mono line under it says how many it holds */
.ip-swipe { display: none; }
@media (max-width: 720px) {
  .ip-content .ip-sc--courses .ip-cards.pc-grid { margin-bottom: 6px; }
  .ip-content .ip-swipe { display: block; margin: 0 0 1.4em; font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
}

/* a row of clips (.eu-reelrow): every clip in one row across its column, the play disc in a corner clear of the
   titles their clips carry in the middle; three a row on tablets, a row to swipe on a phone */
.ip-content .eu-reelrow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(14px, 1.6vw, 24px); margin: 20px 0 1.6em; }
.ip-content .eu-reelrow .eu-vid { display: block; margin: 0; }
.ip-content .eu-reelrow .eu-vid figcaption { max-width: none; margin: 0; padding: 12px 0 0; border: 0; font: 400 14.5px/1.45 var(--sans); color: var(--ink-2); }
.ip-content .eu-reelrow .reel-play { left: auto; top: auto; right: 12px; bottom: 12px; translate: none; width: 48px; height: 48px; }
.ip-content .eu-reelrow .reel-play .ico { width: 20px; height: 20px; }
@media (max-width: 1099px) and (min-width: 721px) {
  .ip-content .eu-reelrow { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .ip-content .eu-reelrow { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-inline: calc(-1 * var(--gut)); padding: 2px var(--gut) 10px; scroll-padding-inline: var(--gut); scrollbar-width: none; }
  .ip-content .eu-reelrow::-webkit-scrollbar { display: none; }
  .ip-content .eu-reelrow > .ip-sc { flex: 0 0 min(62%, 240px); scroll-snap-align: start; }
}

/* soft skills and technical skills: the trainers who teach the track, with their faces (photo, name, subjects) */
.ip-content .ip-trainers.no-bio .tr-focus { margin-bottom: 0; }
@media (min-width: 561px) {
  .ip-content .ip-trainers.c-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); max-width: 980px; }
}
/* soft skills and technical skills: the claim's three steps at the width of the page's other text pieces */
.ip-body--t-soft .ip-single .eu-steps, .ip-body--t-tech .ip-single .eu-steps { max-width: 980px; }

/* technical skills: the three groups as linked chips with their counts, under the section's first line */
.ip-content .eu-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; max-width: none; margin: 18px 0 6px; padding: 0; }
.ip-content .eu-chips li { margin: 0; }
.ip-content .eu-chips a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 10px 8px 16px; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; box-shadow: var(--sh-1); font: 600 15px/1.25 var(--sans) !important; color: var(--ink) !important; text-decoration: none !important; }
.ip-content .eu-chips a:hover, .ip-content .eu-chips a:focus-visible { border-color: var(--tc); color: var(--tc) !important; }
.ip-content .eu-chips a span { display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--tt); color: var(--tc); font: 500 12.5px/1 var(--mono); }
/* technical skills: the two recruitment courses as wide cards (cover beside the text), so a pair never stretches
   two drawn covers across the page */
@media (min-width: 1100px) {
  .ip-body--t-tech .ip-cards.c-2 .pc { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); }
  .ip-body--t-tech .ip-cards.c-2 .pc-cv { padding: 8px 0 8px 8px; border-radius: 16px 0 0 16px; }
  .ip-body--t-tech .ip-cards.c-2 .pc-cv .cover { height: 100%; aspect-ratio: auto; min-height: 220px; }
}
/* technical skills: the table's Book column holds the short course names; Excel Basic or Intermediate side by side */
.ip-body--t-tech .ak-table th:nth-child(2), .ip-body--t-tech .ak-table td:nth-child(2) { width: 22%; }
.ip-body--t-tech .ip-content > h3 { margin-top: 36px; }
.ip-body--t-tech .ip-single .eu-compare { max-width: 980px; margin-top: 12px; }
/* technical skills: the three clips beside the line that says what they show */
.ip-content .eu-row--reels { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); align-items: center; margin-top: 20px; }
@media (min-width: 721px) {
  .ip-content .eu-row--reels .eu-reelrow { margin: 0; }
}
/* a list drawn as chips or a facts strip runs the column (not the text measure of a plain list) */
.ip-body .ip-content > ul.wp-block-list.eu-chips, .ip-body .ip-content > ul.wp-block-list.eu-facts { max-width: none; }
@media (max-width: 1099px) {
  .ip-content .eu-row--reels { grid-template-columns: minmax(0, 1fr); }
}

/* team building: the session's three parts side by side, each numeral above its part */
@media (min-width: 900px) {
  .ip-body--t-team .ip-content .eu-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ip-body--t-team .ip-content .eu-steps li { padding: 62px 24px 22px; }
  .ip-body--t-team .ip-content .eu-steps li::before { top: 20px; left: 24px; }
}
/* team building: duration, venue, group size and the claim's group sizes as one strip (the hero's facts look) */
.ip-content .eu-facts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; max-width: none; margin: 16px 0 1.4em; padding: 0; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-1); }
.ip-content .eu-facts li { margin: 0; padding: 18px 20px; background: #fff; font: 600 15.5px/1.4 var(--sans); color: var(--ink); }
.ip-content .eu-facts li strong { display: block; margin-bottom: 6px; font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 900px) {
  .ip-content .eu-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .ip-content .eu-facts { grid-template-columns: minmax(0, 1fr); }
}
/* team building: the claim box at the width of the page's text pieces */
.ip-body--t-team .ip-single .eu-keybox { max-width: 980px; }
/* team building: the closing panel with its buttons beside the text */
.ip-content .eu-close--split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 48px; align-items: center; }
.ip-content .eu-close--split .eu-close-text > h2 { margin: 0 0 12px; padding: 0; border: 0; }
.ip-content .eu-close--split .eu-close-text > :last-child { margin-bottom: 0; }
.ip-content .eu-close--split .ip-btns, .ip-content .eu-close--split .ip-btns p { margin: 0; flex-direction: column; align-items: stretch; }
.ip-content .eu-close--split .ip-btns .btn { justify-content: center; }
@media (max-width: 860px) {
  .ip-content .eu-close--split { grid-template-columns: minmax(0, 1fr); }
  .ip-content .eu-close--split .ip-btns, .ip-content .eu-close--split .ip-btns p { flex-direction: row; flex-wrap: wrap; }
}
