/* MACTEP theme: Deep Indigo brand system (design/brand/mactep-brand-system.html).
   Colours and fonts come from theme.json presets; component classes use the m- prefix.
   Logical properties (inline/block) keep the layout right-to-left ready. */

:root {
	--m-midnight: var(--wp--preset--color--midnight, #14163A);
	--m-indigo: var(--wp--preset--color--indigo, #262A6B);
	--m-peri: var(--wp--preset--color--periwinkle, #A9B8FF);
	--m-link: var(--wp--preset--color--link, #3B47C9);
	--m-cloud: var(--wp--preset--color--cloud, #F3F3F6);
	--m-ink: var(--wp--preset--color--ink, #1D2033);
	--m-slate: var(--wp--preset--color--slate, #545A70);
	--m-mist: var(--wp--preset--color--mist, #C9D0F5);
	--m-line: var(--wp--preset--color--line, #DCDEE8);
	--m-footer: #0E1030;
	--m-head: var(--wp--preset--font-family--heading);
	--m-body: var(--wp--preset--font-family--body);
	--m-mono: var(--wp--preset--font-family--mono);
	--m-white: var(--wp--preset--color--white, #fff);
	--m-border: var(--wp--preset--color--border, #7D839C);
	--m-peri-hover: #97A8F7;
	--m-indigo-hover: #1E2259;
	--m-highlight: #E8EBFF;
	--m-tint: #E6E9FA;
	--m-error: #B42318;
	--m-award: #B9480A;
	--m-award-light: #F5B27A;
	--m-linkedin: #0A66C2;
	--m-github: #24292F;
	--m-microsoft: #0067B8;
	/* RGB triplets for translucent layers: rgba(var(--m-peri-rgb), .5) */
	--m-peri-rgb: 169, 184, 255;
	--m-white-rgb: 255, 255, 255;
	--m-indigo-rgb: 38, 42, 107;
	--m-night-rgb: 8, 10, 32;
	--m-shade-rgb: 0, 0, 0;
	--m-gutter: max(16px, env(safe-area-inset-left, 0px));
	--m-ok: #1F7A4D; /* success state, 5.6:1 on white */
	--m-alert: #B4232A; /* warning state, 6.3:1 on white */
	--m-print-ink: #111216; /* print text: near-black, tinted to the ink */
	--m-col-gap: 32px; /* one column gap for every multi-column section below the hero (Hallmark audit 2026-11-19, F15) */
}
html { scroll-behavior: smooth; }
/* Always reserve the scrollbar, so short pages (Experts) do not shift the centred header and content sideways
 * (owner 2026-10-27). Not in a partner frame, which sizes itself to its content. */
html:not(.m-embedded) { overflow-y: scroll; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
html, body { overflow-x: clip; } /* never sideways scrolling (Hallmark audit 2026-11-01) */
body { margin: 0; -webkit-text-size-adjust: 100%; }
:lang(ar), [dir="rtl"] { font-family: var(--wp--preset--font-family--arabic); }
/* Arabic text: Arabic font everywhere and no letter-spacing (it breaks letter joining). */
:lang(ar) :is(h1, h2, h3, p, li, a, b, span, .m-label, .m-brand) { font-family: var(--wp--preset--font-family--arabic) !important; letter-spacing: 0 !important; }
.wp-block-quote { border-inline-start: 3px solid var(--m-link); padding-inline-start: 20px; }

.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
:where(a, button, summary, input, select, textarea):focus-visible { outline: 3px solid var(--m-link); outline-offset: 3px; border-radius: 4px; }
.m-dark :focus-visible, .m-foot :focus-visible { outline-color: var(--m-peri); }

/* layout */
/* Sections sit edge to edge: no block gap between header, main, footer or the sections inside main. */
.wp-site-blocks > *, .m-main > *, .m-main > article > * { margin-block-start: 0 !important; }
.m-main { margin: 0; }
.m-in { max-width: 1140px; margin-inline: auto; padding-inline: var(--m-gutter); box-sizing: border-box; }
.m-in * , .m-head *, .m-foot * { box-sizing: border-box; }
.m-dark { background: var(--m-midnight); color: var(--m-white); }
.m-dark h1, .m-dark h2, .m-dark h3 { color: var(--m-white); }
.m-dark a:not(.m-btn) { color: var(--m-peri); }
.m-cloud { background: var(--m-cloud); }
.m-section { padding-block: 64px; }
@media (max-width: 700px) { .m-section { padding-block: 48px; } }
.m-label { font: 500 12px/1.3 var(--m-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--m-link); margin: 0; }
.m-dark .m-label { color: var(--m-peri); }
.m-lead { font-size: 18px; color: var(--m-slate); max-width: none; margin: 16px 0 0; } /* descriptions under headings use the full section width (owner 2026-11-05) */
.m-dark .m-lead { color: var(--m-mist); }
.m-section-head { display: grid; gap: 10px; margin-block-end: 48px; max-width: 720px; }
.m-section-head h2, .m-founder h2 { margin: 0; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }

/* buttons */
.m-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 32px; }
.m-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15px/1.2 var(--m-body); text-decoration: none; border: 2px solid transparent; transition: background-color .15s, border-color .15s; }
.m-btn-peri { background: var(--m-peri); color: var(--m-midnight) !important; }
.m-btn-peri:hover { background: var(--m-peri-hover); }
.m-btn-ghost { border-color: rgba(var(--m-peri-rgb), .6); color: var(--m-white) !important; }
.m-btn-ghost:hover { border-color: var(--m-peri); }
.m-btn-indigo { background: var(--m-indigo); color: var(--m-white) !important; }
.m-btn-indigo:hover { background: var(--m-indigo-hover); }
.wp-block-button__link { min-height: 48px; display: inline-flex; align-items: center; }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--m-indigo); border-color: var(--m-indigo); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--m-cloud); color: var(--m-indigo); }
.m-dark .wp-block-button__link { background: var(--m-peri); border-color: var(--m-peri); color: var(--m-midnight); }

/* header */
.m-head { background: var(--m-midnight); color: var(--m-white); border-block-end: 1px solid rgba(var(--m-peri-rgb), .14); position: relative; z-index: 20; }
.m-skip { position: absolute; inset-inline-start: -999px; top: 0; background: var(--m-peri); color: var(--m-midnight) !important; padding: 10px 14px; font-weight: 600; z-index: 30; }
.m-skip:focus { inset-inline-start: var(--m-gutter); top: calc(8px + env(safe-area-inset-top, 0px)); }
.m-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.m-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--m-white) !important; text-decoration: none; font: 600 20px/1 var(--m-head); letter-spacing: .1em; }
.m-symbol { width: 34px; height: 34px; flex: 0 0 auto; color: var(--m-peri); }
.m-menu { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px; }
.m-menu a { color: var(--m-mist) !important; text-decoration: none; font: 500 15px/1 var(--m-body); padding: 10px 12px; border-radius: 999px; }
.m-menu a:hover, .m-menu a[aria-current], .m-menu a.is-section { color: var(--m-white) !important; }
.m-menu a[aria-current], .m-menu a.is-section { text-decoration: underline; text-decoration-color: var(--m-peri); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.m-menu a.m-btn { color: var(--m-midnight) !important; margin-inline-start: 8px; min-height: 42px; padding: 0 20px; text-decoration: none; }
.m-mnav { display: none; }
@media (max-width: 900px) {
	.m-menu { display: none; }
	.m-mnav { display: block; position: relative; }
	.m-mnav summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid rgba(var(--m-peri-rgb), .5); border-radius: 999px; color: var(--m-white); font: 600 15px/1 var(--m-body); }
	.m-mnav summary::-webkit-details-marker { display: none; }
	.m-mnav[open] .m-panel { display: grid; }
	.m-panel { display: none; position: absolute; inset-inline-end: 0; top: calc(100% + 8px); width: min(80vw, 280px); background: var(--m-indigo); border-radius: 14px; padding: 8px; gap: 2px; box-shadow: 0 16px 40px rgba(var(--m-shade-rgb), .35); }
	.m-panel a { color: var(--m-white) !important; text-decoration: none; padding: 12px 14px; border-radius: 10px; font-weight: 500; }
	.m-panel a:hover, .m-panel a[aria-current] { background: rgba(var(--m-peri-rgb), .14); }
	.m-panel a.cta { background: var(--m-peri); color: var(--m-midnight) !important; font-weight: 600; margin-block-start: 6px; text-align: center; border-radius: 999px; }
}

/* hero */
.m-hero { background-color: var(--m-midnight); background-image: linear-gradient(rgba(var(--m-peri-rgb), .07) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--m-peri-rgb), .07) 1px, transparent 1px); background-size: 32px 32px; }
.m-hero .m-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 96px; }
.m-hero h1 { font-size: var(--wp--preset--font-size--display); line-height: 1.06; letter-spacing: -.02em; margin: 16px 0 0; }
.m-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.m-tile { background: var(--m-indigo); border-radius: 14px; padding: 20px; min-width: 0; color: var(--m-white) !important; text-decoration: none; display: grid; gap: 6px; border: 1px solid transparent; transition: border-color .15s; }
.m-tile:hover { border-color: rgba(var(--m-peri-rgb), .5); }
.m-tile.wide { grid-column: 1 / -1; background: linear-gradient(135deg, var(--m-indigo), var(--m-link)); }
.m-tile svg { width: 26px; height: 26px; color: var(--m-peri); }
.m-tile b { font: 600 17px/1.3 var(--m-head); }
.m-tile span { font-size: 14.5px; color: var(--m-mist); line-height: 1.45; }
@media (max-width: 900px) { .m-hero .m-in { grid-template-columns: minmax(0, 1fr); padding-block: 64px; } }
@media (max-width: 440px) { .m-tiles { grid-template-columns: minmax(0, 1fr); } }

/* credentials strip */
.m-creds { background: var(--m-cloud); border-block-end: 1px solid var(--m-line); }
.m-creds .m-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-block: 20px; }
.m-cred { display: flex; align-items: baseline; gap: 10px; font-size: 15px; color: var(--m-ink); }
.m-cred b { font: 500 12.5px/1 var(--m-mono); letter-spacing: .1em; color: var(--m-link); }
.m-creds a { margin-inline-start: auto; font-weight: 600; font-size: 15px; }
@media (max-width: 700px) { .m-creds a { margin-inline-start: 0; } }

/* service cards */
.m-cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--m-col-gap); }
@media (max-width: 900px) { .m-cards3 { grid-template-columns: minmax(0, 1fr); } }
.m-card { background: var(--m-white); border: 1px solid var(--m-line); border-radius: 14px; padding: 32px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.m-card h3 { margin: 0; }
/* Icon and title on one row, text and link below at full width (owner 2026-11-05). */
.m-card:has(> .m-ic) { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto 1fr; grid-auto-rows: auto; column-gap: 14px; row-gap: 12px; }
.m-card:has(> .m-ic) > .m-more { align-self: end; }
.m-card:has(> .m-ic) > .m-ic { grid-column: 1; }
.m-card:has(> .m-ic) > h3 { grid-column: 2; align-self: center; }
.m-card:has(> .m-ic) > :not(.m-ic):not(h3) { grid-column: 1 / -1; }
.m-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--m-cloud); display: grid; place-items: center; color: var(--m-indigo); }
.m-ic svg { width: 24px; height: 24px; }
.m-card p { margin: 0; color: var(--m-slate); font-size: 16px; }
.m-card ul { margin: 0; padding-inline-start: 20px; color: var(--m-ink); font-size: 15.5px; display: grid; gap: 4px; }
.m-more { margin-block-start: auto; padding-block-start: 8px; font-weight: 600; font-size: 15.5px; }

/* steps */
.m-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--m-col-gap); counter-reset: s; }
@media (max-width: 900px) { .m-steps { grid-template-columns: minmax(0, 1fr); } }
.m-steps li { counter-increment: s; border-block-start: 2px solid var(--m-indigo); padding-block: 20px 0; min-width: 0; } /* a step is a statement, not a card (F7) */
.m-steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--m-indigo); color: var(--m-white); font: 600 15px/1 var(--m-head); margin-block-end: 14px; }
.m-steps b { display: block; font: 600 18px/1.3 var(--m-head); margin-block-end: 6px; }
.m-steps p { margin: 0; color: var(--m-slate); font-size: 16px; }

/* founder */
.m-founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--m-col-gap); align-items: start; }
@media (max-width: 900px) { .m-founder { grid-template-columns: minmax(0, 1fr); } }
.m-founder h2 { margin-block-start: 10px; }
.m-portrait { background: var(--m-midnight); border-radius: 18px; aspect-ratio: 4 / 3; max-width: 100%; display: grid; place-items: center; color: var(--m-white); position: relative; overflow: hidden; }
.m-portrait svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-portrait-img { display: block; width: 100%; max-width: 440px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 18px; background: var(--m-midnight); }
@media (max-width: 900px) { .m-portrait-img { max-width: 360px; } }
.m-founder-photo img { border-radius: 18px; }
.m-content .wp-block-buttons, .m-content h2 { clear: both; }
@media (min-width: 760px) { .m-content > .m-founder-photo { float: inline-end; width: 260px; margin-block: 0 16px; margin-inline: 32px max(0px, calc((100% - var(--wp--style--global--content-size, 760px)) / 2)) !important; } }
@media (max-width: 759px) { .m-founder-photo { max-width: 300px; } }
.m-mono { position: relative; width: 112px; height: 112px; border-radius: 50%; background: var(--m-indigo); border: 2px solid var(--m-peri); display: grid; place-items: center; font: 600 34px/1 var(--m-head); }
.m-note { position: absolute; bottom: 12px; inset-inline: 14px; font-size: 12.5px; color: var(--m-mist); }
.m-founder p { margin: 16px 0 0; color: var(--m-slate); }
.m-founder p.m-label { margin: 0; color: var(--m-link); }
.m-facts { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.m-facts li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: baseline; padding-block-end: 10px; border-block-end: 1px solid var(--m-line); font-size: 15.5px; }
.m-facts li:last-child { border-block-end: 0; }
.m-facts b { font: 500 12px/1.2 var(--m-mono); letter-spacing: .1em; color: var(--m-link); min-width: 72px; }

/* training areas */
.m-areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .m-areas { grid-template-columns: minmax(0, 1fr); } }
.m-area { background: var(--m-indigo); border-radius: 14px; padding: 24px; display: grid; gap: 8px; min-width: 0; align-content: start; }
.m-area h3 { font-size: 18px; margin: 0; }
.m-area p { margin: 0; color: var(--m-mist); font-size: 15.5px; }
.m-area p.m-meta { font: 500 12px/1.3 var(--m-mono); letter-spacing: .08em; color: var(--m-peri); text-transform: uppercase; }
.m-notice { margin-block-start: 24px; color: var(--m-mist); font-size: 15px; max-width: 72ch; }

/* post cards (front page and listings) */
.m-insights .m-section-head { margin-block-end: 48px; }
.m-posts { list-style: none; margin: 0; padding: 0; display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--m-col-gap); }
@media (max-width: 759.98px) { .m-posts { grid-template-columns: minmax(0, 1fr); } }
.m-posts > li { margin: 0; min-width: 0; }
.m-post { border: 1px solid var(--m-line); border-radius: 14px; padding: 32px; display: grid; gap: 12px; min-width: 0; background: var(--m-white); height: 100%; box-sizing: border-box; align-content: start; }
.m-post > * { margin: 0 !important; }
.m-post .wp-block-post-title { font-size: 20px; line-height: 1.3; }
.m-post .wp-block-post-title a { color: var(--m-ink); text-decoration: none; }
.m-post .wp-block-post-title a:hover { color: var(--m-link); text-decoration: underline; }
.m-post .wp-block-post-excerpt__excerpt { margin: 0; color: var(--m-slate); font-size: 16px; }
.m-post-date { color: var(--m-slate); }
.m-dark .m-post-date { color: var(--m-mist); }
.m-empty { color: var(--m-slate); margin: 0; }
.m-listing { padding-block: 64px; }
.m-pagination { margin-block-start: 32px; gap: 12px; }

/* call to action */
.m-cta .m-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 64px; }
.m-cta h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 0; }
.m-cta .m-btns { margin-block-start: 0; }

/* inner pages */
.m-titleband { padding-block: 56px 48px; background-color: var(--m-midnight); background-image: linear-gradient(rgba(var(--m-peri-rgb), .06) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--m-peri-rgb), .06) 1px, transparent 1px); background-size: 32px 32px; }
.m-titleband > * { margin-block: 0; }
.m-titleband > * + * { margin-block-start: 16px; }
.m-titleband h1 { text-wrap: balance; }
.m-titleband .m-lead { max-width: none; } /* overridden for wide bands below */
.m-titleband .m-label a { color: var(--m-peri); text-decoration: none; }
.m-titleband .m-label a:hover { text-decoration: underline; }
.m-content { padding-block: 48px 64px; }
.m-content :where(h2) { margin-block: 48px 0; }
.m-content :where(h3) { margin-block: 32px 0; }
.m-content :where(p, ul, ol) { margin-block: 16px 0; }
.m-content :where(ul, ol) { padding-inline-start: 22px; }
.m-content li + li { margin-block-start: 6px; }
.m-content > :first-child { margin-block-start: 0; }
.m-content .wp-block-columns { gap: var(--m-col-gap); margin-block-start: 24px; }
.m-content .wp-block-column { background: var(--m-cloud); border-radius: 14px; padding: 24px; } /* a filled panel, not the card (F7) */
.m-content .wp-block-column > :first-child { margin-block-start: 0; }
.m-content .wp-block-buttons { margin-block-start: 24px; gap: 12px; }
.m-content .wp-block-table table { border-collapse: collapse; width: 100%; font-size: 16px; }
.m-content .wp-block-table th, .m-content .wp-block-table td { border: 1px solid var(--m-line); padding: 10px 12px; text-align: start; }
.m-content .wp-block-table th { background: var(--m-cloud); }
.m-content .wp-block-image img { border-radius: 14px; height: auto; }
.m-search { margin-block-start: 24px; max-width: 560px; }
.m-search .wp-block-search__input { min-height: 48px; border: 1px solid var(--m-border); border-radius: 10px; padding: 0 14px; font: inherit; }

/* footer */
.m-foot { background: var(--m-footer); color: var(--m-mist); font-size: 15px; }
/* Owner 2026-10-27: the footer bar matches the header bar (same logo size and height); only the company line sits below it. */
.m-foot .m-in { padding-block: 0 24px; display: grid; gap: 0; }
.m-foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; min-height: 84px; padding-block: 10px; }
.m-foot-top > div { display: flex; }
.m-tag { margin: 10px 0 0; color: var(--m-mist); }
.m-foot-links { display: flex; flex-wrap: wrap; gap: 0 24px; list-style: none; margin: 0; padding: 0; }
.m-foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--m-white); text-decoration: none; }
.m-foot-links a:hover, .m-foot-links a[aria-current] { text-decoration: underline; }
.m-foot-links a.m-foot-in { justify-content: flex-end; min-width: 44px; color: var(--m-white); } /* icon edge = Contact edge (owner 2026-11-05) */
.m-foot-links a.m-foot-in:hover { color: var(--m-peri); }
.m-foot-links a.m-foot-in:focus-visible { outline: 2px solid var(--m-peri); outline-offset: 2px; border-radius: 4px; }
.m-legal { border-block-start: 1px solid rgba(var(--m-peri-rgb), .16); padding-block-start: 16px; display: grid; gap: 8px; font-size: 13.5px; line-height: 1.5; }
.m-legal p { margin: 0; }

/* article sources: small print */
.m-content .m-sources-h { font-size: 16px; margin-block-start: 56px; letter-spacing: 0; }
.m-content .m-sources { font-size: 14px; line-height: 1.5; color: var(--m-slate); padding-inline-start: 20px; }
.m-content .m-sources li + li { margin-block-start: 4px; }
.m-content .m-sources a { color: var(--m-link); }
/* Article likes (inc/likes.php, owner 2026-10-28): one row before the Sources list. */
.m-like { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-block: 48px 0; padding-block-start: 24px; border-top: 1px solid var(--m-line); }
.m-like[hidden] { display: none; }
.m-like-q { font: 600 16px/1.3 var(--m-head); color: var(--m-ink); }
.m-like-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--m-line); border-radius: 999px; background: var(--m-white); color: var(--m-link); font: 600 15px/1.2 var(--m-body); cursor: pointer; transition: background-color .15s, border-color .15s; }
.m-like-btn:hover { border-color: var(--m-link); }
.m-like-btn[aria-pressed="true"] { background: var(--m-cloud); border-color: var(--m-link); }
.m-like-btn[aria-pressed="true"] svg { fill: currentColor; }
.m-like-btn[aria-disabled="true"] { cursor: progress; }
.m-like-count { font-size: 15px; color: var(--m-slate); }
.m-content .m-sources-note { font-size: 14px; color: var(--m-slate); }
.m-content .m-sources-fold { margin-block: 12px 0; }
.m-content .m-sources-fold > .m-sources { margin: 0; padding: 4px 16px 16px 36px; }
.m-content .m-related { margin-block-start: 32px; padding-block-start: 16px; border-block-start: 1px solid var(--m-line); font-size: 16px; }

/* article figures: HTML diagrams that reflow on small screens */
.m-content .m-fig { margin-block: 32px; padding: 20px; background: var(--m-cloud); border: 1px solid var(--m-line); border-radius: 8px; } /* media radius, not the card radius (F7) */
.m-fig figcaption, .wp-element-caption { margin-block-start: 14px; font-size: 14px; color: var(--m-slate); line-height: 1.5; text-align: center; }
/* SVG diagrams (owner, 2026-10-23): a wide drawing for desktop and a narrow one for phones */
.m-content .m-fig-svg { background: var(--m-white); }
.m-fig-svg svg { display: block; width: 100%; height: auto; margin-inline: auto; }
.m-fig-svg .m-svg-wide { max-width: 760px; }
.m-fig-svg .m-svg-narrow { display: none; max-width: 480px; }
@media (max-width: 600px) {
  .m-content .m-fig-svg { padding: 12px; }
  .m-fig-svg .m-svg-wide { display: none; }
  .m-fig-svg .m-svg-narrow { display: block; }
}
.m-fbox { border-radius: 12px; padding: 12px 14px; display: grid; gap: 4px; align-content: start; }
.m-ftag { font: 600 15px/1.3 var(--m-head); }
.m-fnote { font-size: 13.5px; line-height: 1.45; }
.m-frow { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-block-start: 10px; }
.m-l1 { background: var(--m-midnight); color: var(--m-white); }
.m-l1 > .m-fnote { color: var(--m-mist); }
.m-l2 { background: var(--m-indigo); color: var(--m-white); }
.m-l2 > .m-fnote { color: var(--m-mist); }
.m-l3 { background: var(--m-white); color: var(--m-ink); }
.m-l3 .m-fnote { color: var(--m-slate); }
.m-l3.m-mgmt { box-shadow: inset 0 0 0 2px var(--m-peri); }
.m-fbox.m-ghost { background: transparent; border: 1px dashed rgba(var(--m-peri-rgb), .6); }
.m-l3.m-ghost { border-color: var(--m-border); }
.m-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: q; }
.m-fq { counter-increment: q; background: var(--m-white); border: 1px solid var(--m-line); border-radius: 12px; padding: 14px 16px; display: grid; gap: 8px; }
.m-fq-text { font: 600 15.5px/1.4 var(--m-head); }
.m-fq-text::before { content: counter(q) ". "; color: var(--m-link); }
.m-fa { font-size: 14.5px; line-height: 1.45; padding: 8px 12px; border-radius: 10px; }
.m-fa b { font: 500 12px/1 var(--m-mono); letter-spacing: .1em; text-transform: uppercase; margin-inline-end: 8px; }
.m-fa.m-no { background: var(--m-cloud); color: var(--m-ink); }
.m-fa.m-yes { background: var(--m-indigo); color: var(--m-white); }
.m-fa.m-yes a, .m-fa.m-yes code, .m-ccell.m-cspan a { color: var(--m-white); text-decoration: underline; }
.m-cgrid { display: grid; grid-template-columns: 150px repeat(3, minmax(0, 1fr)); gap: 8px; }
.m-cgrid.m-c2 { grid-template-columns: 150px repeat(2, minmax(0, 1fr)); }
.m-chead { font: 500 12px/1.3 var(--m-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--m-link); align-self: end; }
.m-clevel { font: 600 14.5px/1.3 var(--m-head); color: var(--m-ink); align-self: center; }
.m-ccell { background: var(--m-white); border: 1px solid var(--m-line); border-radius: 10px; padding: 10px 12px; font-size: 14px; line-height: 1.5; }
.m-ccell.m-cspan { grid-column: 2 / -1; background: var(--m-indigo); color: var(--m-white); border-color: var(--m-indigo); }
.m-ccell code { font: 500 12.5px/1 var(--m-mono); color: var(--m-link); white-space: nowrap; }
.m-ccell.m-cspan code { color: var(--m-peri); }
@media (max-width: 700px) {
	.m-cgrid, .m-cgrid.m-c2 { grid-template-columns: minmax(0, 1fr); }
	.m-chead { display: none; }
	.m-clevel { margin-block-start: 8px; }
	.m-ccell .m-crole { position: static; width: auto; height: auto; margin: 0; clip-path: none; overflow: visible; white-space: normal; font-weight: 600; }
	.m-ccell.m-cspan { grid-column: auto; }
}
.m-l1 > .m-frow { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); }
.m-l2 > .m-frow { grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); } /* wraps inside a narrow level-2 box instead of squeezing three columns (review of the Supervisor figure, 2026-10-21) */
.m-l3.m-ghost { color: var(--m-white); }
.m-l3.m-ghost .m-fnote { color: var(--m-mist); }
@media (max-width: 700px) { .m-l1 > .m-frow, .m-l2 > .m-frow { grid-template-columns: minmax(0, 1fr); } }
/* exam-code links (owner request 2026-10-20) */
.m-ccell code a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.m-ccell.m-cspan a { color: var(--m-peri); }
/* book-style citations (owner request 2026-10-20) */
.m-ref { font-size: .7em; line-height: 0; vertical-align: super; margin-inline-start: 1px; }
.m-ref a { text-decoration: none; padding: 0 1px; font-weight: 600; }
.m-ref a:hover, .m-ref a:focus-visible { text-decoration: underline; }
.m-dark .m-ref a, .m-fa.m-yes .m-ref a { color: var(--m-peri); }
.m-sources li { scroll-margin-top: 96px; border-radius: 6px; }
.m-sources li:target { background: var(--m-highlight); outline: 2px solid var(--m-peri); outline-offset: 2px; }
/* role label inside figure cells: screen-reader only on wide screens, visible on narrow (review 009 L8) */
.m-crole { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* long identifiers (e.g. LoginExtensionBySubjectName) wrap instead of overflowing; short exam codes still fit on one line */
.m-ccell { min-width: 0; }
.m-ccell code, .m-content code { white-space: normal; overflow-wrap: anywhere; }

/* "Badges" style for the HTML figures (owner 2026-10-23, docs/editorial/diagram-style-guide.md): the same look as the
   drawn SVG figures. White figure, navy header row, grey row labels (like questions), white cells, navy results. */
.m-content .m-fig { background: var(--m-white); }
.m-cgrid { gap: 6px; }
.m-chead { align-self: stretch; display: flex; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--m-indigo); color: var(--m-white); font: 600 14.5px/1.35 var(--m-body); letter-spacing: 0; text-transform: none; }
.m-chead:empty { background: none; padding: 0; }
.m-clevel { align-self: stretch; display: flex; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--m-cloud); border: 1px solid var(--m-line); font: 600 14.5px/1.35 var(--m-body); }
.m-ccell { font-size: 14.5px; }
.m-ccell.m-cspan { font-weight: 600; }
.m-fq { background: var(--m-cloud); grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; }
.m-fq > * { grid-column: 2; }
.m-fq-text { grid-column: 2; font: 600 15.5px/1.4 var(--m-body); }
.m-fq-text::before { content: counter(q); position: absolute; margin-inline-start: -52px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--m-indigo); color: var(--m-white); font: 700 15px/1 var(--m-body); }
.m-fq { position: relative; }
.m-fa.m-no { background: var(--m-white); border: 1px solid var(--m-line); }
.m-l1 { background: var(--m-cloud); color: var(--m-ink); border: 1px solid var(--m-line); }
.m-l1 > .m-fnote, .m-l2 > .m-fnote { color: var(--m-slate); }
.m-l2 { background: var(--m-white); color: var(--m-ink); border: 1px solid var(--m-line); }
.m-l3 { border: 1px solid var(--m-line); }
.m-ftag { font: 600 15px/1.3 var(--m-body); }
.m-fbox.m-ghost, .m-l3.m-ghost { background: transparent; border: 1px dashed var(--m-slate); color: var(--m-ink); }
/* check-mark tables (owner 2026-10-23): a wide feature column, centred symbols only; the words stay for screen readers */
.m-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.m-cgrid.m-ccheck { grid-template-columns: minmax(0, 2.4fr) repeat(2, minmax(0, 1fr)); }
.m-ccheck .m-chead:not(:empty) { justify-content: center; text-align: center; }
.m-ccheck .m-ccell { display: flex; align-items: center; justify-content: center; padding: 8px; }
.m-ccheck .m-clevel { padding-block: 8px; }
/* compact tables for short values (owner 2026-10-23): wide label column, centred values; m-ccompact-phone keeps the columns on phones */
.m-cgrid.m-ccompact { grid-template-columns: minmax(0, 2.4fr) repeat(3, minmax(0, 1fr)); }
.m-ccompact .m-chead:not(:empty) { justify-content: center; text-align: center; }
.m-ccompact .m-ccell { display: flex; align-items: center; justify-content: center; padding: 8px; text-align: center; }
.m-ccompact .m-ccell.m-cspan { justify-content: flex-start; text-align: start; padding: 10px 12px; }
.m-ccompact .m-clevel { padding-block: 8px; }
.m-mark { font: 700 22px/1 var(--m-body); }
.m-mark-yes { color: var(--m-indigo); }
.m-mark-no { color: var(--m-slate); }
.m-ccheck .m-short { display: none; }
@media (max-width: 700px) {
  .m-content .m-fig:has(.m-ccheck), .m-content .m-fig:has(.m-ccompact-phone) { padding: 12px; }
  .m-cgrid.m-ccompact-phone { grid-template-columns: minmax(0, 1fr) repeat(3, 52px); gap: 4px; }
  .m-ccompact-phone .m-chead:not(:empty) { display: flex; font-size: 13px; padding: 8px 4px; }
  .m-ccompact-phone .m-clevel { margin-block-start: 0; font-size: 14px; padding: 8px 10px; }
  .m-ccompact-phone .m-ccell { font-size: 14px; padding: 6px 4px; }
  .m-ccompact-phone .m-ccell .m-crole { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .m-ccompact-phone .m-ccell.m-cspan { grid-column: 1 / -1; }
  .m-cgrid.m-ccheck { grid-template-columns: minmax(0, 1fr) 48px 48px; gap: 5px; }
  .m-ccheck .m-chead:not(:empty) { display: flex; font-size: 14px; padding: 8px 4px; }
  .m-ccheck .m-long { display: none; }
  .m-ccheck .m-short { display: inline; }
  .m-ccheck .m-clevel { margin-block-start: 0; font-size: 14px; padding: 8px 10px; hyphens: auto; overflow-wrap: anywhere; }
  .m-ccheck .m-ccell .m-crole { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.m-l3.m-ghost .m-fnote { color: var(--m-slate); }
@media (max-width: 700px) {
  .m-chead:not(:empty) { display: none; }
  .m-fq { grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; }
  .m-fq-text::before { margin-inline-start: -44px; width: 30px; height: 30px; }
}

/* MACTEP logo image in header and footer (owner 2026-10-21) */
.m-brand .m-logo { display: block; height: 64px; width: auto; }
.m-head .m-bar { min-height: 84px; }
@media (max-width: 900px) { .m-brand .m-logo { height: 50px; } .m-head .m-bar { min-height: 72px; } }
@media (max-width: 380px) { .m-brand .m-logo { height: 44px; } }

/* Insights: topic bar, search, cards, article sidebar and dates (owner request 2026-10-21) */
.m-topics ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.m-topics a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid rgba(var(--m-peri-rgb), .5); border-radius: 999px; color: var(--m-white) !important; text-decoration: none; font: 500 15px/1.2 var(--m-body); box-sizing: border-box; }
.m-topics a:hover { border-color: var(--m-peri); }
.m-topics a[aria-current] { background: var(--m-peri); border-color: var(--m-peri); color: var(--m-midnight) !important; }
.m-count { font: 500 12px/1 var(--m-mono); opacity: .85; }
.m-find { display: flex; flex-wrap: wrap; gap: 8px; max-width: 560px; margin-block-start: 16px; }
.m-find input[type="search"] { flex: 1 1 220px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(var(--m-peri-rgb), .5); background: rgba(var(--m-white-rgb), .06); color: var(--m-white); font: 16px/1.2 var(--m-body); box-sizing: border-box; }
.m-find input[type="search"]::placeholder { color: var(--m-mist); }
.m-find button { cursor: pointer; }
.m-post-topic { font: 500 12px/1.3 var(--m-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--m-slate); }
.m-post-topic a { color: var(--m-link); text-decoration: none; }
.m-post-topic a:hover { text-decoration: underline; }
@media (min-width: 1100px) { .m-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } .m-post { padding: 28px; } }
.m-crumb a { color: var(--m-peri); text-decoration: none; }
.m-crumb a:hover { text-decoration: underline; }
.m-post-dates { margin: 0; color: var(--m-mist); font-size: 15px; }
.m-article { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 56px; align-items: start; }
@media (min-width: 1024px) { .m-article { grid-template-columns: minmax(0, 1fr) 300px; } }
.m-article > .m-content { max-width: 780px; min-width: 0; }
.m-side { display: grid; gap: 32px; padding-block: 48px 64px; font-size: 15px; min-width: 0; }
@media (max-width: 1023px) { .m-side { border-block-start: 1px solid var(--m-line); padding-block-start: 32px; } }
.m-side h2 { font: 600 12px/1.3 var(--m-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--m-slate); margin: 0 0 8px; }
.m-side-list { list-style: none; margin: 0; padding: 0; }
.m-side-list li { padding-block: 10px; border-block-start: 1px solid var(--m-line); display: grid; gap: 2px; }
.m-side-list a { color: var(--m-ink); text-decoration: none; font-weight: 600; line-height: 1.35; }
.m-side-list a:hover { color: var(--m-link); text-decoration: underline; }
.m-side-list time { font-size: 13px; color: var(--m-slate); }
.m-side-more { display: inline-flex; align-items: center; min-height: 44px; margin-block-start: 4px; color: var(--m-link); font-weight: 600; }
.m-side-topics { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.m-side-topics a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid var(--m-line); border-radius: 999px; color: var(--m-ink); text-decoration: none; }
.m-side-topics a:hover { border-color: var(--m-link); color: var(--m-link); }
/* 1.4.62 (owner 2026-10-26, saves space): "All topics" and search on one line; an opened panel takes the full width and search moves below it */
.m-topicbar { container-type: inline-size; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-block-start: 12px; }
.m-topicbar > .m-all, .m-topicbar > .m-find { margin-block-start: 0; }
.m-topicbar > .m-find { flex: 1 1 320px; }
/* 1.4.64 (owner): the panel opens as a drop-down layer, so the search box keeps its place */
.m-topicbar > .m-all { position: relative; }
.m-topicbar > .m-all > .m-all-body { position: absolute; z-index: 30; inset-inline-start: 0; inset-block-start: 100%; width: min(1140px, 100cqi); box-sizing: border-box; margin-block-start: 8px; background: var(--m-midnight); box-shadow: 0 16px 40px rgba(var(--m-night-rgb), .55); }
/* Topic hierarchy (owner 2026-10-21): areas in the first row, the current area's topics below, all topics in a panel */
.m-topics a.m-on { border-color: var(--m-peri); box-shadow: inset 0 0 0 1px var(--m-peri); }
.m-subtopics { margin-block-start: 10px; padding-inline-start: 14px; border-inline-start: 2px solid rgba(var(--m-peri-rgb), .5); }
.m-subtopics a { font-size: 14px; min-height: 44px; padding: 0 14px; }
.m-all { margin-block-start: 12px; max-width: 1140px; }
.m-all > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px dashed rgba(var(--m-peri-rgb), .7); border-radius: 999px; color: var(--m-white); font: 500 15px/1.2 var(--m-body); cursor: pointer; list-style: none; }
.m-all > summary::-webkit-details-marker { display: none; }
.m-all > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.m-all[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.m-all > summary:focus-visible { outline: 3px solid var(--m-peri); outline-offset: 2px; }
.m-all-body { margin-block-start: 12px; padding: 20px; border: 1px solid rgba(var(--m-peri-rgb), .35); border-radius: 16px; background: rgba(var(--m-white-rgb), .04); }
.m-all-filter { display: grid; gap: 6px; max-width: 360px; margin-block-end: 16px; color: var(--m-mist); font-size: 14px; }
.m-all-filter[hidden], .m-all-none[hidden], .m-all-group[hidden], .m-all-group li[hidden] { display: none; }
.m-all-filter input { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(var(--m-peri-rgb), .5); background: rgba(var(--m-white-rgb), .06); color: var(--m-white); font: 16px/1.2 var(--m-body); box-sizing: border-box; }
.m-all-none { margin: 0 0 12px; color: var(--m-mist); }
.m-all-groups { display: grid; gap: 20px 32px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.m-all-group h2 { margin: 0 0 6px; font: 600 12px/1.3 var(--m-mono); letter-spacing: .12em; text-transform: uppercase; }
.m-all-group h2 a, .m-all-group li a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: var(--m-white); text-decoration: none; }
.m-all-group ul { list-style: none; margin: 0; padding: 0 0 0 12px; border-inline-start: 1px solid rgba(var(--m-peri-rgb), .35); }
.m-all-group li a { font: 400 15px/1.3 var(--m-body); }
.m-all-group a:hover { text-decoration: underline; }
.m-all-group a[aria-current] { color: var(--m-peri); font-weight: 600; }
/* "All articles" as the first entry of the panel (1.4.61: the chip rows were removed, owner 2026-10-26) */
.m-all-home { margin: 0; }
.m-all-home a { display: inline-flex; align-items: center; min-height: 32px; color: var(--m-white); text-decoration: none; font: 600 12px/1.3 var(--m-mono); letter-spacing: .12em; text-transform: uppercase; }
.m-all-home a:hover { text-decoration: underline; }
.m-all-home a[aria-current] { color: var(--m-peri); }
.m-side-topics > li { display: grid; gap: 8px; }
.m-side-topics ul { list-style: none; margin: 0; padding: 0 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; border-inline-start: 2px solid var(--m-line); }
/* Review 018: touch targets (WCAG 2.5.8 minimum 24 px, 44 px where the theme uses chips), pagination, tablet layout */
.m-side-list a { display: block; padding-block: 2px; }
.m-post-topic a, .m-crumb a { display: inline-flex; align-items: center; min-height: 24px; }
.m-crumb-nav { margin: 0; }
.m-pagination { display: flex; flex-wrap: wrap; align-items: center; }
.m-pagination a, .m-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding-inline: 12px; border: 1px solid var(--m-line); border-radius: 999px; box-sizing: border-box; text-decoration: none; }
.m-pagination .page-numbers.current { background: var(--m-indigo); border-color: var(--m-indigo); color: var(--m-white); }
@media (max-width: 1023px) { .m-article > .m-content, .m-article > .m-side { width: 100%; max-width: 780px; justify-self: center; } }
/* Wide title bands (Insights index, topics, search, articles; owner 2026-10-21: lead text was misaligned).
   Every child, including the lead, uses the 1140 px column and the same inner gutter as .m-in content and the header. */
.m-band-wide > .m-lead { max-width: min(1140px, 100%) !important; margin-inline: auto !important; }
@media (min-width: 1172px) { .m-band-wide > * { padding-inline: var(--m-gutter); box-sizing: border-box; } }
/* Content pages start under the logo too (owner 2026-10-21), keeping the article reading width */
.m-page > .m-content { max-width: 780px; }
@media (min-width: 760px) { .m-page .m-content > .m-founder-photo { margin-inline: 32px 0 !important; } }
/* Founder page: profile cards, credential badges, open-source block (owner 2026-10-21; v1.4.0) */
.m-profiles { clear: both; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-block: 28px; }
@media (min-width: 480px) { .m-profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .m-profiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } .m-profile { padding: 14px; gap: 12px; } }
.m-profile { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--m-white); border: 1px solid var(--m-line); border-radius: 14px; color: var(--m-ink); text-decoration: none; transition: box-shadow .15s ease, transform .15s ease; }
.m-profile:hover { border-color: var(--m-link); box-shadow: 0 6px 18px rgba(var(--m-indigo-rgb), .12); transform: translateY(-1px); }
/* Keyboard focus: the outline ring and a border colour, both at once, no lift (Hallmark audit 2026-11-01). */
.m-profile:hover, .m-profile:focus-visible { border-color: var(--m-link); }
.m-profile svg { flex: none; width: 44px; height: 44px; padding: 10px; box-sizing: border-box; border-radius: 12px; color: var(--m-white); background: var(--m-indigo); }
.m-profile.m-li svg { background: var(--m-linkedin); }
.m-profile.m-gh svg { background: var(--m-github); }
.m-profile.m-cr svg { background: var(--m-award); }
.m-profile.m-ms svg { background: var(--m-microsoft); }
.m-profile b { display: block; font: 600 16px/1.25 var(--m-head); }
.m-profile span { display: block; font-size: 14px; color: var(--m-slate); }
.m-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 12px; margin: 16px 0 28px; padding: 0; list-style: none; }
.m-badge { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; background: var(--m-white); border: 1px solid var(--m-line); border-block-start: 4px solid var(--m-indigo); border-radius: 12px; }
.m-badge.m-pro { border-block-start-color: var(--m-link); }
.m-badge.m-sec { border-block-start-color: var(--m-slate); }
.m-badge.m-award { border-block-start-color: var(--m-award); }
.m-badge-code { font: 500 12px/1.2 var(--m-mono); letter-spacing: .08em; color: var(--m-link); }
.m-badge b { font: 600 15.5px/1.3 var(--m-head); color: var(--m-ink); }
.m-badge-meta { font-size: 13.5px; color: var(--m-slate); }
.m-badge a { margin-block-start: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.m-badge a svg, .m-oss-card a svg { width: 16px; height: 16px; flex: none; }
.m-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 12px; margin: 20px 0; padding: 0; list-style: none; }
.m-stats li { padding: 18px 20px; border-radius: 14px; background: var(--m-indigo); color: var(--m-white); }
.m-stats b { display: block; font: 700 34px/1 var(--m-head); font-variant-numeric: tabular-nums; }
.m-stats span { display: block; margin-block-start: 8px; font-size: 14.5px; line-height: 1.35; }
.m-bars { display: grid; gap: 10px; margin: 16px 0 28px; padding: 0; list-style: none; }
.m-bars li { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr) 3ch; gap: 12px; align-items: center; font-size: 15px; color: var(--m-ink); }
.m-bars li > b { font: 600 15px/1 var(--m-mono); text-align: end; }
.m-meter { height: 12px; border-radius: 6px; background: var(--m-cloud); overflow: hidden; }
.m-meter i { display: block; height: 100%; border-radius: 6px; background: var(--m-indigo); }
@media (max-width: 600px) { .m-bars li { grid-template-columns: minmax(0, 1fr) 3ch; } .m-bars .m-meter { grid-column: 1 / -1; grid-row: 2; } }
/* Founder certifications by technology area (owner 2026-10-22): compact cards with count, years and scope */
.m-cert-areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 10px; margin: 0 0 8px; padding: 0; list-style: none; }
.m-cert-areas li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 14px; background: var(--m-white); border: 1px solid var(--m-line); border-radius: 12px; }
.m-cert-name { font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--m-ink); }
.m-cert-count { grid-row: span 2; align-self: center; font: 700 26px/1 var(--m-head); color: var(--m-indigo); }
.m-cert-years { font: 500 13px/1.3 var(--m-mono); color: var(--m-slate); }
.m-cert-scope { grid-column: 1 / -1; margin-block-start: 4px; font-size: 14px; line-height: 1.4; color: var(--m-slate); }
/* Founder recognition list with a small award icon per line */
.m-honors { display: grid; gap: 10px; margin: 12px 0 28px; padding: 0; list-style: none; }
.m-honors li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.45; color: var(--m-ink); }
.m-honors svg { flex: none; width: 22px; height: 22px; margin-block-start: 1px; color: var(--m-award); }
/* Collapsible block on content pages (owner 2026-10-22: Experience on the founder page), native details, no script */
.m-fold { display: flow-root; margin-block: 12px 28px; border: 1px solid var(--m-line); border-radius: 12px; background: var(--m-white); font-weight: 400; color: var(--m-ink); }
.m-fold > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 16px; cursor: pointer; list-style: none; font: 600 16px/1.3 var(--m-head); color: var(--m-link); }
.m-fold > summary::-webkit-details-marker { display: none; }
.m-fold > summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.m-fold[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.m-fold > .wp-block-list { margin: 0; padding: 4px 20px 16px 36px; }
.m-fold > .m-honors { margin: 0; padding: 4px 16px 16px; }
.m-fold > .m-badges { margin: 0; padding: 4px 16px 16px; }
.m-fold > .m-stats { margin: 0; padding: 4px 16px 16px; }
.m-fold > .m-profiles { margin: 0; padding: 4px 16px 16px; }
.m-fold-section > :not(summary) { margin-inline: 16px; }
.m-fold-section > .m-fold { margin-block: 8px 20px; }
.m-fold-section > :last-child { margin-block-end: 16px; }
.m-content .m-fold > .m-fig { margin: 0; padding: 4px 16px 16px; border: 0; border-radius: 0 0 12px 12px; background: transparent; }
/* Founder page on phones (owner 2026-10-22: more compact): two-column badges and profiles, tighter cards and figures */
@media (max-width: 600px) {
  .m-founder-photo { max-width: 200px; }
  .m-profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-block: 20px; }
  .m-profile { flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px 12px; }
  .m-profile svg { width: 34px; height: 34px; padding: 7px; border-radius: 9px; }
  .m-profile b { font-size: 15px; }
  .m-profile span { font-size: 13px; }
  .m-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0 20px; }
  .m-badge { gap: 4px; padding: 10px 11px; border-block-start-width: 3px; }
  .m-badge-code { font-size: 11px; }
  .m-badge b { font-size: 14px; }
  .m-badge-meta { font-size: 12.5px; }
  .m-badge a { font-size: 12.5px; gap: 4px; }
  .m-stats { gap: 8px; margin: 14px 0; }
  .m-stats li { padding: 12px 14px; border-radius: 12px; }
  .m-stats b { font-size: 26px; }
  .m-stats span { margin-block-start: 6px; font-size: 13px; }
  .m-cert-areas { gap: 8px; }
  .m-cert-areas li { padding: 9px 12px; }
  .m-cert-name { font-size: 14.5px; }
  .m-cert-count { font-size: 22px; }
  .m-cert-scope { font-size: 13px; line-height: 1.35; }
  .m-honors { gap: 8px; margin-block-end: 20px; }
  .m-honors li { gap: 10px; font-size: 14.5px; line-height: 1.4; }
  .m-honors svg { width: 18px; height: 18px; }
}
.m-w5 { width: 5%; } .m-w10 { width: 10%; } .m-w15 { width: 15%; } .m-w20 { width: 20%; } .m-w25 { width: 25%; } .m-w30 { width: 30%; } .m-w40 { width: 40%; } .m-w50 { width: 50%; } .m-w60 { width: 60%; } .m-w75 { width: 75%; } .m-w100 { width: 100%; }
.m-oss { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; margin: 16px 0 28px; }
.m-oss-card { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; background: var(--m-white); border: 1px solid var(--m-line); border-radius: 14px; }
.m-oss-repo { display: flex; align-items: center; gap: 8px; font: 500 13px/1.3 var(--m-mono); color: var(--m-slate); }
.m-oss-repo svg { width: 18px; height: 18px; flex: none; color: var(--m-ink); }
.m-oss-card b { font: 600 17px/1.3 var(--m-head); color: var(--m-ink); }
.m-oss-card p { margin: 0; font-size: 15px; color: var(--m-slate); }
.m-oss-card a { margin-block-start: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; }
.m-oss-tag { align-self: flex-start; padding: 4px 9px; border-radius: 999px; background: var(--m-cloud); font: 500 12px/1 var(--m-mono); color: var(--m-ink); }

/* Print and save-as-PDF: keep figures with their captions and print the folded Sources list open. */
@media print {
  .m-fig, .m-fq, .m-frow, .m-cgrid > div { break-inside: avoid; }
  .m-fig figcaption { break-before: avoid; }
  .m-sources-fold::details-content { content-visibility: visible; display: contents; }
  .m-sources-fold > summary { display: none; }
  .m-like { display: none; }
}

/* Home page, company-led layout (owner 2026-10-23, docs/reviews/gpt-homepage-2026-10-23) */
.m-hero .m-lead-sub { font-size: 16px; margin-block-start: 10px; }
.m-insights .m-btns { margin-block-start: 28px; }
.m-experts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.m-expert { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px; background: var(--m-white); border: 1px solid var(--m-line); border-radius: 14px; color: var(--m-ink) !important; text-decoration: none; }
.m-expert:hover { border-color: var(--m-peri); }
.m-expert img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; background: var(--m-cloud); }
.m-expert-body { display: grid; gap: 4px; }
.m-expert-body b { font: 600 17px/1.3 var(--m-head); }
.m-expert-role { color: var(--m-slate); font-size: 14.5px; }
.m-expert-body > span:not([class]) { font-size: 15px; line-height: 1.5; color: var(--m-slate); }
.m-expert-body .m-more { padding-block-start: 4px; color: var(--m-link); }
@media (max-width: 700px) {
  .m-section { padding-block: 44px; }
  .m-section-head { margin-block-end: 28px; }
  .m-hero .m-in { padding-block: 44px; gap: 28px; }
  .m-tiles { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .m-tile { padding: 12px 14px; grid-template-columns: 22px minmax(0, 1fr); align-items: center; column-gap: 10px; }
  .m-tile svg { width: 20px; height: 20px; }
  .m-tile span { display: none; }
  .m-btns { flex-wrap: wrap; }
}

/* Expert profile header (1.4.35, owner 2026-10-23): small portrait beside name and role on phones, larger on desktop */
.m-xp-head { display: grid; grid-template-columns: 88px minmax(0, 1fr); grid-template-areas: "photo id" "lead lead"; gap: 14px 16px; align-items: center; margin-block-end: 20px; }
.m-xp-head img { grid-area: photo; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; }
.m-xp-id { grid-area: id; }
.m-xp-role { margin: 0; font: 600 20px/1.3 var(--m-head); color: var(--m-ink); }
.m-xp-sub { margin: 4px 0 0; font-size: 15px; color: var(--m-slate); }
.m-xp-lead { grid-area: lead; margin: 0; font-size: 18px; line-height: 1.6; }
@media (min-width: 760px) {
  .m-xp-head { grid-template-columns: 180px minmax(0, 1fr); grid-template-areas: "photo id" "photo lead"; gap: 10px 32px; align-items: start; }
  .m-xp-head img { width: 180px; height: 220px; border-radius: 16px; }
  .m-xp-id { align-self: end; }
}
.m-xp-stats { margin-block: 24px 8px; }
.m-content .m-stats > li { margin: 0; }
.m-fold > p { margin: 12px 16px 8px; }
.m-xp-stats li { padding: 14px 16px; }
.m-xp-stats b { font-size: 30px; font-variant-numeric: tabular-nums; }
.m-xp-note { font-size: 14px; color: var(--m-slate); }
@media (max-width: 700px) {
  .m-titleband { padding-block: 32px 28px; }
  .m-xp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .m-xp-stats b { font-size: 26px; }
  .m-xp-stats span { font-size: 13.5px; }
}
/* Fold summary with a count and years on the right (1.4.38, expert profile credential areas) */
.m-fold > summary .m-fold-meta { margin-inline-start: auto; font: 500 13.5px/1.3 var(--m-mono); color: var(--m-slate); white-space: nowrap; }
@media (max-width: 480px) { .m-fold > summary:has(.m-fold-meta) { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 4px; align-items: center; } .m-fold > summary:has(.m-fold-meta)::after { grid-column: 2; grid-row: 1; } .m-fold > summary .m-fold-meta { grid-column: 1; grid-row: 2; margin-inline-start: 0; white-space: normal; } }
/* Outline button for light sections (1.4.40): the home contact band is light since the Experts section left the home page */
.m-btn-line { border-color: var(--m-indigo); color: var(--m-indigo) !important; }
.m-btn-line:hover { background: var(--m-white); }
/* Experts (1.4.41, owner 2026-10-26): sidebar on expert pages, the directory and the embedded mode */
.m-page:has(> .m-side) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 56px; align-items: start; }
@media (min-width: 1024px) { .m-page:has(> .m-side) { grid-template-columns: minmax(0, 1fr) 300px; } }
@media (max-width: 1023px) { .m-page:has(> .m-side) > .m-content, .m-page > .m-side { width: 100%; max-width: 780px; justify-self: center; } }
.m-side-experts a[aria-current="page"] { color: var(--m-link); }
.m-side-experts span { font-size: 13px; color: var(--m-slate); }
.m-experts-dir { margin-block: 24px 32px; }
.m-fold > .wp-block-code { margin: 8px 16px 16px; padding: 12px 14px; overflow-x: auto; font: 13px/1.5 var(--m-mono); background: var(--m-cloud); border-radius: 8px; white-space: pre-wrap; word-break: break-all; }
.m-embedded .m-head, .m-embedded .m-foot, .m-embedded .m-side, .m-embedded .m-skip, .m-embedded .m-embed-hide { display: none !important; }
.m-embedded .m-titleband { padding-block: 24px 20px; }
.m-embedded .m-content { padding-block: 24px 16px; }
/* LinkedIn links (1.4.48, owner 2026-10-26): the LinkedIn mark (white tile, LinkedIn-blue "in") before every button that
 * opens LinkedIn, and a smaller LinkedIn-blue tile before text links to LinkedIn. Profile cards keep their own icon. */
.wp-block-button__link[href*="linkedin.com/"]::before, .m-btn[href*="linkedin.com/"]::before { content: ""; flex: none; width: 20px; height: 20px; margin-inline-end: 10px; border-radius: 4px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' rx='4' fill='%23fff'/%3E%3Cpath fill='%230A66C2' transform='translate(2.4 2.4) scale(.8)' d='M20.45 20.45h-3.56v-5.57c0-1.33-.02-3.04-1.85-3.04-1.85 0-2.13 1.45-2.13 2.94v5.67H9.35V9h3.41v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28zM5.34 7.43a2.06 2.06 0 1 1 0-4.13 2.06 2.06 0 0 1 0 4.13zM7.12 20.45H3.56V9h3.56v11.45z'/%3E%3C/svg%3E") no-repeat center / contain; }
.m-content a[href*="linkedin.com/"]:not(.wp-block-button__link):not(.m-profile):not(.m-btn)::before { content: ""; display: inline-block; width: 1em; height: 1em; margin-inline-end: .3em; vertical-align: -.12em; border-radius: 3px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' rx='4' fill='%230A66C2'/%3E%3Cpath fill='%23fff' transform='translate(2.4 2.4) scale(.8)' d='M20.45 20.45h-3.56v-5.57c0-1.33-.02-3.04-1.85-3.04-1.85 0-2.13 1.45-2.13 2.94v5.67H9.35V9h3.41v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28zM5.34 7.43a2.06 2.06 0 1 1 0-4.13 2.06 2.06 0 0 1 0 4.13zM7.12 20.45H3.56V9h3.56v11.45z'/%3E%3C/svg%3E") no-repeat center / contain; }
/* Badge images in credential tiles (1.4.52, owner 2026-10-26: larger, top right): the badge floats in the top-right
 * corner and the title wraps around it; the Credly image links to the Credly record, the default badge has no link
 * (assets/badges, scripts/fetch-badge-images.py). */
.m-badge:has(> .m-badge-img) { display: block; }
.m-badge:has(> .m-badge-img) > :is(.m-badge-code, b, .m-badge-meta) { display: block; }
.m-badge:has(> .m-badge-img) > b { margin-block-start: 6px; }
.m-badge:has(> .m-badge-img) > .m-badge-meta { margin-block-start: 6px; }
.m-badge .m-badge-img { float: inline-end; display: block; width: 64px; height: 64px; margin: -2px -4px 6px 10px; }
img.m-badge-img, .m-badge-img img { width: 100%; height: 100%; object-fit: contain; }
a.m-badge-img { border-radius: 6px; }
a.m-badge-img:focus-visible { outline: 2px solid var(--m-link); outline-offset: 2px; }
.m-badge:has(> .m-badge-img) > b { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }  /* 1.4.54: long words beside the badge */
@media (max-width: 600px) {
  .m-badge .m-badge-img { width: 44px; height: 44px; margin: -2px -3px 2px 6px; }
}
/* Partner view (1.4.50, owner 2026-10-26): no name band in a frame (the h1 stays for screen readers), the name next to
 * the photo instead, figures two by two in narrow frames, and the partner's background from ?bg= (hex or transparent);
 * on a dark background the page text turns light, while cards and tiles keep their own colours. */
html.m-embedded, .m-embedded body { background: var(--m-embed-bg, var(--m-white)); }
.m-embedded .m-titleband { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.m-xp-name { display: none; }
.m-embedded .m-xp-name { display: block; margin: 0 0 4px; font: 600 26px/1.15 var(--m-head); color: var(--m-ink); }
.m-embedded .m-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .m-embedded .m-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.m-embed-dark .m-content, .m-embed-dark .m-content h2, .m-embed-dark .m-xp-name, .m-embed-dark .m-xp-role { color: var(--m-white); }
.m-embed-dark .m-xp-sub, .m-embed-dark .m-xp-lead { color: var(--m-tint); }
.m-embed-dark .m-content :is(p, li) > a:not(.wp-block-button__link) { color: var(--m-peri); }
/* 1.4.53 (owner 2026-10-26): on a dark partner background the folds take the partner's colour too (transparent, light
 * border and text); badge tiles and profile cards inside them stay white cards with their own colours. */
.m-embed-dark .m-content .m-fold { background: transparent; border-color: rgba(var(--m-white-rgb), .3); color: var(--m-white); }
.m-embed-dark .m-content .m-fold > summary { color: var(--m-white); }
.m-embed-dark .m-content .m-fold > summary .m-fold-meta { color: var(--m-mist); }
.m-embed-dark .m-content .m-fold :is(p, li) > a, .m-embed-dark .m-content .m-honors a { color: var(--m-peri); }
.m-embed-dark .m-content .m-honors li { color: var(--m-white); }
.m-embed-dark .m-content .m-honors svg { color: var(--m-award-light); }

/* Course catalogue, course and lesson pages (1.4.57, ADR-005; design docs/ia/site-structure-and-catalogue-2026-10-26.md, section 3) */
.m-course-empty { margin-block-start: 32px; padding: 24px 28px; border: 1px dashed var(--m-mist); border-radius: 14px; background: var(--m-cloud); }
.m-course-empty h2 { margin: 0 !important; font-size: 20px; }
.m-course-empty p { margin: 8px 0 0 !important; color: var(--m-slate); }
.m-course-count { color: var(--m-slate); font-size: 15px; }
.m-courses { list-style: none; margin: 16px 0 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.m-courses > li { margin: 0 !important; min-width: 0; }

.m-course-card { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; background: var(--m-white); border: 1px solid var(--m-line); border-radius: 14px; }
.m-course-card > * { margin: 0 !important; }
.m-course-topic { font: 500 12px/1.3 var(--m-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--m-link); }
.m-course-title { font-size: 19px; line-height: 1.3; letter-spacing: normal; hyphens: auto; } /* h2 or h3: the same look */
.m-course-title a { color: var(--m-ink); text-decoration: none; }
.m-course-title a:hover { color: var(--m-link); text-decoration: underline; }
.m-course-outcome { color: var(--m-slate); font-size: 15.5px; }
.m-course-facts, .m-course-by { font-size: 14.5px; color: var(--m-ink); }
.m-course-tags { margin-block-start: auto !important; padding-block-start: 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.m-course-price, .m-course-new { padding: 5px 10px; border-radius: 999px; font: 600 13px/1 var(--m-body); }
.m-course-price { background: var(--m-indigo); color: var(--m-white); }
.m-course-new { background: var(--m-cloud); color: var(--m-ink); border: 1px solid var(--m-line); }
.m-course-filters fieldset { margin: 24px 0 0; padding: 16px 20px 20px; border: 1px solid var(--m-line); border-radius: 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr)); gap: 12px 16px; align-items: end; }
.m-course-filters legend { padding-inline: 6px; font-weight: 600; }
.m-course-filters p { margin: 0 !important; display: grid; gap: 4px; }
.m-course-filters label { font-size: 14px; color: var(--m-slate); }
.m-course-filters select { width: 100%; min-width: 0; box-sizing: border-box; min-height: 44px; padding-inline: 10px; border: 1px solid var(--m-slate); border-radius: 8px; background: var(--m-white); font: inherit; color: var(--m-ink); }
.m-course-filters .m-course-filter-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.m-course-filters button { cursor: pointer; }
.m-course-facts-list { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); border: 1px solid var(--m-line); border-radius: 14px; overflow: hidden; }
.m-course-facts-list > div { padding: 12px 16px; border-block-end: 1px solid var(--m-line); }
.m-course-facts-list dt { font: 500 12px/1.3 var(--m-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--m-link); }
.m-course-facts-list dd { margin: 4px 0 0; font-weight: 600; }
/* Three fixed columns from tablet width (owner 2026-11-21): Level, Length, Format / Audio and slides, Subtitles (two
   columns) / Price, Last reviewed. One column on phones. A long subtitle list folds into "English + N more". */
@media (min-width: 640px) {
	.m-course-facts-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	/* Subtitles spans two columns in source order (no dense packing, so the reading order stays as written; review
	   2026-11-22 re-check 9). Length and Format are always set for a course with lessons, so no hole appears before
	   Subtitles. */
	.m-course-facts-list > .m-fact-wide { grid-column: span 2; }
}
.m-fact-more > summary { cursor: pointer; inline-size: fit-content; }
.m-fact-more > summary:focus-visible { outline: 2px solid var(--m-link); outline-offset: 3px; border-radius: 4px; }
.m-fact-more ul { margin: 8px 0 2px; padding-inline-start: 20px; font-weight: 500; columns: 2 180px; }
.m-course-applies { margin-block-start: 12px; color: var(--m-slate); font-size: 15.5px; }
.m-course-start .m-btns { margin-block-start: 24px; }
.m-course > hr { margin-block: 48px 0; border: 0; border-block-start: 1px solid var(--m-line); }
.m-course-start p, .m-course-note { margin-block-start: 12px; color: var(--m-slate); font-size: 15.5px; }
.m-course-outline { padding-inline-start: 28px !important; }
.m-course-outline li + li { margin-block-start: 12px; }
.m-course-outline a { font-weight: 600; }
.m-course-outline li.m-course-unnumbered { list-style: none; } /* unnumbered pages: labelled, not numbered */
.m-course-min { color: var(--m-slate); font-size: 14.5px; white-space: nowrap; }
.m-course-sum { display: block; margin: 2px 0 0 !important; color: var(--m-slate); font-size: 15.5px; }
.m-narration { margin: 0 0 32px; padding: 16px 20px; border: 1px solid var(--m-line); border-radius: 14px; background: var(--m-cloud); }
.m-narration figcaption { font-size: 15px; color: var(--m-slate); margin-block-end: 10px; }
.m-narration audio { width: 100%; }
.m-lesson-by { margin-block-start: 40px !important; padding-block-start: 16px; border-block-start: 1px solid var(--m-line); color: var(--m-slate); font-size: 15.5px; }
.m-lesson-nav { margin-block-start: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 12px; }
.m-lesson-nav a { display: grid; gap: 2px; padding: 14px 18px; border: 1px solid var(--m-line); border-radius: 14px; color: var(--m-ink); text-decoration: none; font-weight: 600; }
.m-lesson-nav a:hover { border-color: var(--m-link); color: var(--m-link); }
.m-lesson-nav span { font: 500 12px/1.3 var(--m-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--m-slate); }
.m-lesson-next { text-align: end; grid-column: -2 / -1; }
.m-lesson-done { margin-block-start: 32px; padding: 20px 24px; border-radius: 14px; background: var(--m-cloud); }
.m-lesson-done h2 { margin: 0 !important; font-size: 20px; }
.m-side-course { margin: 0 0 8px; }
.m-side-course a { font-weight: 600; }
.m-lesson-list a[aria-current] { color: var(--m-link); margin-inline-start: -14px; padding-inline-start: 11px; border-inline-start: 3px solid var(--m-link); }
.m-lesson-n { color: var(--m-slate); font-weight: 500; }
.m-side-meta { font-size: 13px; color: var(--m-slate); }
/* Course cards stay white inside a dark partner frame: keep their own link colours (the embed rule above lightens links). */
.m-embed-dark .m-content .m-course-card p > a { color: var(--m-link); }
.m-embed-dark .m-content .m-course-card .m-course-title a { color: var(--m-ink); }
/* Services overview: an icon before each service heading, the same icons as the home page tiles (1.4.65, owner 2026-10-27) */
.m-svc-h { display: flex; align-items: center; gap: 14px; }
.m-svc-h .m-ic { flex: none; }

/* Home page 1.4.71 (owner 2026-10-27, gpt-6.1-sol layout): one-column hero, How we work beside four commitments,
   experts and reach in two columns, a compact course strip. */
.m-hero-solo .m-in { grid-template-columns: minmax(0, 1fr); padding-block: 56px 48px; } /* same spacing as the title band on other pages (owner 2026-11-05) */
/* Headline and the line under it use the full content width, logo to Contact (owner 2026-11-05). */
.m-hero-solo h1, .m-hero-solo .m-lead { max-width: none; }
.m-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: var(--m-col-gap); align-items: start; }
.m-split .m-section-head { margin-block-end: 0; }
.m-commits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px var(--m-col-gap); }
.m-commits li { border-block-start: 2px solid var(--m-indigo); padding-block: 18px 0; min-width: 0; } /* commitments read as statements, not cards (F7) */
.m-commits h3 { margin: 0; font-size: 18px; }
.m-commits p { margin: 6px 0 0; color: var(--m-slate); font-size: 16px; }
.m-proof { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--m-col-gap); align-items: start; }
.m-proof .m-section-head { margin-block-end: 0; }
.m-proof .m-lead + .m-lead { margin-block-start: 14px; }
.m-proof-panel { background: var(--m-cloud); border: 1px solid var(--m-line); border-radius: 14px; padding: 28px; }
.m-proof-panel h3 { margin: 0; font-size: 18px; }
.m-proof-panel p { margin: 10px 0 0; color: var(--m-slate); font-size: 16px; }
.m-coursestrip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 28px 32px; border: 1px solid var(--m-line); border-radius: 14px; }
.m-coursestrip > div { flex: 1 1 420px; min-width: 0; }
.m-coursestrip h2 { margin: 8px 0 0; font-size: 24px; }
.m-coursestrip p:not(.m-label) { margin: 8px 0 0; color: var(--m-slate); max-width: none; }
.m-coursestrip .m-more { margin: 0; padding: 0; }
@media (max-width: 900px) { .m-split, .m-proof { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .m-commits { grid-template-columns: minmax(0, 1fr); } .m-hero-solo .m-in { padding-block: 32px 28px; } .m-coursestrip { padding: 22px 20px; } }
/* Page title icons in the dark title band (1.4.73, owner 2026-10-27) */
.m-titleband h1:has(> .m-title-ic) { display: flex; align-items: center; gap: 12px; }
.m-title-ic { flex: none; box-sizing: border-box; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(var(--m-peri-rgb), .12); border: 1px solid rgba(var(--m-peri-rgb), .35); color: var(--m-peri); }
.m-title-ic svg { width: 24px; height: 24px; } /* page titles match section headings: 32px text, 44px icon (owner 2026-11-05) */

/* Contact form (1.4.74, owner 2026-10-27) */
.m-cf { margin-block-start: 20px; padding: 28px; border: 1px solid var(--m-line); border-radius: 14px; background: var(--m-cloud); }
.m-cf p { margin: 0; }
.m-cf-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
@media (max-width: 640px) { .m-cf { padding: 20px; } .m-cf-row { grid-template-columns: minmax(0, 1fr); } }
.m-cf-field { display: grid; gap: 6px; margin-block-end: 18px !important; min-width: 0; }
.m-cf label { font-weight: 600; font-size: 15px; }
.m-cf-opt { font-weight: 400; color: var(--m-slate); }
.m-cf input[type="text"], .m-cf input[type="email"], .m-cf select, .m-cf textarea { width: 100%; box-sizing: border-box; min-height: 48px; padding: 10px 14px; border: 1px solid var(--m-slate); border-radius: 10px; background: var(--m-white); color: var(--m-ink); font: 16px/1.5 var(--m-body); }
.m-cf textarea { min-height: 160px; resize: vertical; }
.m-cf [aria-invalid="true"] { border: 2px solid var(--m-error); }
.m-cf-err { color: var(--m-error); font-size: 14.5px; font-weight: 600; }
.m-cf-err::before { content: "Error: "; }
.m-cf-note { color: var(--m-slate); font-size: 14.5px; margin-block-end: 18px !important; }
.m-cf button { cursor: pointer; border: 0; }
.m-cf-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.m-cf-summary { margin-block-end: 20px; padding: 16px 18px; border: 2px solid var(--m-error); border-radius: 10px; background: var(--m-white); }
.m-cf-summary p { font-weight: 600; }
.m-cf-summary ul { margin: 8px 0 0; padding-inline-start: 20px; }
.m-cf-summary a { color: var(--m-error); }
.m-cf-done { margin-block-start: 20px; padding: 24px 28px; border: 1px solid var(--m-line); border-radius: 14px; background: var(--m-cloud); }
.m-cf-done h2 { margin: 0 !important; font-size: 22px; }
.m-cf-done p { margin: 10px 0 0 !important; }
/* Contact form inside a fold (1.4.75, owner 2026-10-27) */
.m-cf-fold { margin-block: 16px 20px; }
.m-cf-fold > .m-cf { margin: 0; border: 0; border-block-start: 1px solid var(--m-line); border-radius: 0 0 12px 12px; }
/* Home page heading icons and sector panel labels (1.4.78, owner 2026-10-27, gpt-6.1-sol) */
.m-section-head h2.m-svc-h, .m-coursestrip h2.m-svc-h { display: flex; align-items: flex-start; gap: 12px; }
.m-section-head h2.m-svc-h .m-ic, .m-coursestrip h2.m-svc-h .m-ic { margin-block-start: 2px; }
.m-cloud .m-svc-h .m-ic { background: var(--m-white); border: 1px solid var(--m-line); }
.m-proof-panel .m-proof-label { margin: 18px 0 0; font: 500 12px/1.3 var(--m-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--m-link); }
.m-proof-panel h3 + .m-proof-label { margin-block-start: 14px; }
.m-proof-panel .m-proof-label + p { margin-block-start: 6px; }
/* Home page (1.4.81, owner 2026-10-27): the full-width sections keep their heading on one line on desktop */
#services .m-section-head, .m-insights .m-section-head { max-width: none; }
/* Pressed state for buttons and card links (Hallmark audit 2026-11-01): a 1px press, no colour change. */
:where(.m-btn, .wp-block-button__link, .m-like-btn, .m-profile, .m-tile, .m-expert, .m-cf button):active { transform: translateY(1px); }
/* Code blocks in articles (VVF automation article, 2026-11-01): keep line breaks and indentation, scroll sideways on
   narrow screens; overrides the wrapping rule for inline code in .m-content. */
.m-content .wp-block-code { margin-block: 20px; padding: 14px 16px; overflow-x: auto; background: var(--m-cloud); border: 1px solid var(--m-line); border-radius: 8px; }
.m-content .wp-block-code code { font: 13.5px/1.55 var(--m-mono); color: var(--m-ink); white-space: pre; overflow-wrap: normal; }

/* Home hero with a route panel (design review 2026-11-22): the right half routes each need to its service or course. */
.m-hero-solo.m-hero-routes .m-in { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.m-routes { border: 1px solid rgba(var(--m-peri-rgb), .28); border-radius: 14px; background: rgba(var(--m-indigo-rgb), .55); padding: 8px 0; }
.m-routes-h { font: 600 15px/1.3 var(--m-body); color: var(--m-mist) !important; margin: 0; padding: 14px 24px 10px; }
.m-routes ul { list-style: none; margin: 0; padding: 0; }
.m-routes li + li { border-block-start: 1px solid rgba(var(--m-peri-rgb), .16); }
.m-routes a { display: grid; gap: 2px; padding: 14px 52px 14px 24px; text-decoration: none; position: relative; transition: background-color .15s; }
.m-routes a::after { content: ""; position: absolute; inset-inline-end: 24px; top: 50%; width: 9px; height: 9px; border-block-start: 2px solid var(--m-peri); border-inline-end: 2px solid var(--m-peri); transform: translateY(-50%) rotate(45deg); transition: transform .15s; }
.m-routes a:hover { background: rgba(var(--m-peri-rgb), .08); }
.m-routes a:hover::after { transform: translate(3px, -50%) rotate(45deg); }
.m-routes a:focus-visible { outline: 2px solid var(--m-peri); outline-offset: -2px; border-radius: 10px; }
.m-route-need { font-size: 14px; color: var(--m-mist); }
.m-route-to { font: 600 17px/1.3 var(--m-head); color: var(--m-white); }
@media (max-width: 900px) { .m-hero-solo.m-hero-routes .m-in { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
[dir="rtl"] .m-routes a::after { transform: translateY(-50%) rotate(-135deg); }

/* Home learning section: the live free course with a real slide, beside live team training. */
.m-learn { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: var(--m-col-gap); align-items: start; }
.m-learn-course { display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--m-line); border-radius: 14px; overflow: hidden; background: var(--m-white); }
.m-learn-shot { display: block; background: var(--m-midnight); overflow: hidden; }
.m-learn-shot img { display: block; width: 100%; height: auto; transition: transform .3s ease-out; }
.m-learn-course:hover .m-learn-shot img { transform: scale(1.02); }
.m-learn-body { padding: 28px 32px 32px; display: grid; gap: 12px; align-content: start; }
.m-learn-kind { margin: 0; font-size: 14px; font-weight: 600; color: var(--m-link); }
.m-learn-body h3 { margin: 0; font-size: 24px; }
.m-learn-body h3 a { color: var(--m-ink); text-decoration: none; }
.m-learn-body h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.m-learn-body > p:not(.m-learn-kind) { margin: 0; color: var(--m-slate); }
.m-learn-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 8px 0 0; padding-block-start: 16px; border-block-start: 1px solid var(--m-line); }
.m-learn-facts dt { font-size: 13px; color: var(--m-slate); }
.m-learn-facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; color: var(--m-ink); }
.m-learn-body .m-btns { margin-block-start: 8px; }
.m-learn-live { background: var(--m-cloud); border: 1px solid var(--m-line); border-radius: 14px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.m-learn-live h3 { margin: 0; font-size: 24px; }
.m-learn-live > p { margin: 0; color: var(--m-slate); }
.m-learn-live ul { margin: 0; padding-inline-start: 20px; display: grid; gap: 8px; color: var(--m-ink); }
.m-learn-live .m-btns { margin-block-start: 8px; }
.m-learn-note { font-size: 14px; }
@media (max-width: 900px) { .m-learn { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .m-learn-facts { grid-template-columns: minmax(0, 1fr); } .m-learn-body, .m-learn-live { padding: 22px 20px 24px; } }

/* Browser surfaces in the palette (design review 2026-11-22). */
::selection { background: var(--m-mist); color: var(--m-midnight); }
.m-dark ::selection { background: var(--m-peri); color: var(--m-midnight); }

/* Hub pages (Services, Courses; design review 2026-11-22): content may use the full width, text keeps its measure. */
.m-page > .m-content:has(> .m-hub) { max-width: none; }
.m-page > .m-content:has(> .m-hub) > :not(.m-hub, .m-catalogue) { max-width: 760px; }
.m-hub-rows { margin-block-start: 40px; border-block-end: 1px solid var(--m-line); }
.m-hub-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) 19rem; gap: 16px 40px; align-items: center; padding-block: 28px; border-block-start: 1px solid var(--m-line); }
.m-hub-row .m-btn { justify-self: end; }
.m-content .m-hub-row h2 { margin: 0; font-size: 24px; line-height: 1.25; }
.m-content .m-hub-row p { margin: 0; color: var(--m-slate); }
.m-hub-row .m-btn { white-space: nowrap; }
.m-hub-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: var(--m-col-gap); align-items: start; margin-block-start: 56px; }
.m-content .m-hub-two h2 { margin-block-start: 0; font-size: 24px; }
.m-hub-panel { background: var(--m-cloud); border: 1px solid var(--m-line); border-radius: 14px; padding: 28px; }
.m-plat { margin: 20px 0 0; display: grid; gap: 0; border-block-start: 1px solid var(--m-line); }
.m-plat > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 4px 24px; padding-block: 12px; border-block-end: 1px solid var(--m-line); }
.m-plat dt { font-weight: 600; color: var(--m-ink); }
.m-plat dd { margin: 0; color: var(--m-slate); }
@media (max-width: 900px) {
	.m-hub-row { grid-template-columns: minmax(0, 1fr); align-items: start; }
	.m-hub-row .m-btn { justify-self: start; }
	.m-hub-two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) { .m-plat > div { grid-template-columns: minmax(0, 1fr); } .m-hub-row .m-btn { white-space: normal; } }
.m-hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--m-col-gap); margin-block-start: 48px; }
.m-hub-grid .m-hub-panel { display: flex; flex-direction: column; gap: 12px; }
.m-content .m-hub-grid h2 { margin: 0; font-size: 22px; }
.m-content .m-hub-grid p { margin: 0; color: var(--m-slate); }
.m-hub-grid .m-btns { margin-block-start: 4px; }
@media (max-width: 760px) { .m-hub-grid { grid-template-columns: minmax(0, 1fr); } }
.m-learn-more { margin-block-start: 8px; padding-block-start: 16px; border-block-start: 1px solid var(--m-line); }
.m-learn-more h4 { margin: 0 0 8px; font: 600 14px/1.3 var(--m-body); color: var(--m-slate); }
.m-learn-more ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.m-learn-more li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding-block: 10px; border-block-end: 1px solid var(--m-line); }
.m-learn-more li a { font-weight: 600; color: var(--m-ink); text-decoration: none; }
.m-learn-more li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.m-learn-more li span { font-size: 14px; color: var(--m-slate); }
.m-learn-all { margin: 4px 0 0; }
.m-learn-all a { font-weight: 600; }
.m-learn:not(:has(.m-learn-course)) { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
/* Course catalogue pages: the same look as the article pagination. */
.m-course-pages { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-block-start: 32px; }
.m-course-pages ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 !important; padding: 0 !important; }
.m-course-pages li + li { margin: 0; }
.m-course-pages a, .m-course-pages span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding-inline: 12px; border: 1px solid var(--m-line); border-radius: 999px; box-sizing: border-box; text-decoration: none; }
.m-course-pages span[aria-current] { background: var(--m-indigo); border-color: var(--m-indigo); color: var(--m-white); font-weight: 600; }
.m-course-pages a:hover { border-color: var(--m-indigo); }
