/* Marketing Privacy Hub — Style A + signature visuals.
   Logical properties (inline/block) throughout so Arabic mirrors automatically. */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

/* ---------- Tokens ---------- */
:root {
	--mph-teal: #0B4D44;
	--mph-teal-700: #12695C;
	--mph-ink: #122C29;
	--mph-slate: #4A5E5A;
	--mph-teal-50: #F1F7F5;
	--mph-teal-100: #DCEBE7;
	--mph-teal-200: #C9DDD7;
	--mph-sand: #F5F0E6;
	--mph-amber: #C7862B;
	--mph-error: #B3261E;
	--mph-white: #FFFFFF;
	--mph-on-dark: #CFE3DE;
	--mph-radius: 14px;
	--mph-font: 'IBM Plex Sans', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mph-container: 1240px;
}
html[lang="ar"] { --mph-font: 'IBM Plex Sans Arabic', 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; }

body.mph {
	font-family: var(--mph-font);
	color: var(--mph-ink);
	background: var(--mph-white);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
body.mph h1, body.mph h2, body.mph h3, body.mph h4 { font-family: var(--mph-font); color: var(--mph-ink); letter-spacing: -0.01em; }
html[lang="ar"] body.mph h1, html[lang="ar"] body.mph h2, html[lang="ar"] body.mph h3 { letter-spacing: 0; }
body.mph a { color: var(--mph-teal-700); }
body.mph a:hover { color: var(--mph-teal); }
body.mph :focus-visible { outline: 3px solid var(--mph-amber); outline-offset: 2px; border-radius: 4px; }
.mph-container { max-width: var(--mph-container); margin-inline: auto; padding-inline: 24px; box-sizing: border-box; }
.mph-arrow { display: inline-block; vertical-align: -3px; }
html[dir="rtl"] .mph-arrow { transform: scaleX(-1); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- Buttons ---------- */
.mph-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 28px 0; }
.mph-btn, body.mph .wp-block-button__link {
	display: inline-flex; align-items: center; gap: 8px; min-height: 48px; box-sizing: border-box;
	padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: 16px; line-height: 1.2;
	text-decoration: none; border: 1px solid var(--mph-teal); cursor: pointer; font-family: var(--mph-font);
}
.mph-btn--primary, body.mph .wp-block-button__link { background: var(--mph-teal); color: var(--mph-white) !important; }
.mph-btn--primary:hover, body.mph .wp-block-button__link:hover { background: var(--mph-ink); border-color: var(--mph-ink); }
.mph-btn--secondary, body.mph .is-style-outline .wp-block-button__link { background: var(--mph-white); color: var(--mph-teal) !important; }
.mph-btn--secondary:hover, body.mph .is-style-outline .wp-block-button__link:hover { background: var(--mph-teal-50); }
.mph-btn--light { background: var(--mph-white); color: var(--mph-teal) !important; border-color: var(--mph-white); }
.mph-btn--small { min-height: 44px; padding: 10px 16px; font-size: 14px; }

/* ---------- Header ---------- */
.mph-header, #masthead.mph-header { background: var(--mph-white); border-block-end: 1px solid var(--mph-teal-100); position: sticky; top: 0; z-index: 100; transition: box-shadow .2s ease; }
.mph-header.is-stuck { box-shadow: 0 6px 20px rgba(18, 44, 41, 0.08); }
.admin-bar .mph-header, .admin-bar #masthead.mph-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .mph-header, .admin-bar #masthead.mph-header { top: 46px; } }
@media (max-width: 600px) { #wpadminbar { position: fixed; } }
html { scroll-padding-top: 96px; }
.mph-header__bar { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.mph-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--mph-teal) !important; flex: 0 0 auto; }
.mph-brand__mark { width: 14px; height: 30px; border-radius: 7px; background: var(--mph-teal); box-shadow: 9px 0 0 -3px var(--mph-amber); }
html[dir="rtl"] .mph-brand__mark { box-shadow: -9px 0 0 -3px var(--mph-amber); }
.mph-brand__name { font-weight: 600; font-size: 17px; line-height: 1.1; max-width: 9.5em; }
.mph-brand__logo { display: block; height: 44px; width: auto; }
.mph-footer__logo { display: block; height: 52px; width: auto; }
.mph-menu-toggle { display: none; margin-inline-start: auto; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--mph-teal-100); border-radius: 8px; background: var(--mph-white); color: var(--mph-ink); font: 600 15px var(--mph-font); cursor: pointer; }
.mph-nav { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; min-width: 0; }
.mph-nav__list { display: flex; flex-wrap: nowrap; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; flex: 1 1 auto; justify-content: center; }
.mph-nav__item { position: relative; display: flex; align-items: center; }
.mph-nav__link { display: inline-block; padding: 12px 2px 12px 8px; font-weight: 500; font-size: 15px; color: var(--mph-ink) !important; text-decoration: none; white-space: nowrap; }
html[dir="rtl"] .mph-nav__link { padding: 12px 8px 12px 2px; font-size: 16px; }
.mph-nav__link--label { cursor: default; }
.mph-nav__link:hover { color: var(--mph-teal) !important; }
.mph-nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 36px; border: 0; background: transparent; color: var(--mph-slate); cursor: pointer; border-radius: 6px; padding: 0; }
.mph-nav__toggle svg { transition: transform .15s ease; }
.mph-nav__item.is-open > .mph-nav__toggle svg { transform: rotate(180deg); }
.mph-sub { position: absolute; inset-block-start: 100%; inset-inline-start: 0; min-width: 280px; margin: 0; padding: 10px; list-style: none; background: var(--mph-white); border: 1px solid var(--mph-teal-100); border-radius: 12px; box-shadow: 0 16px 40px rgba(18, 44, 41, 0.12); display: none; z-index: 60; }
.mph-sub a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 15px; color: var(--mph-ink) !important; text-decoration: none; line-height: 1.35; }
.mph-sub a:hover { background: var(--mph-teal-50); color: var(--mph-teal) !important; }
.mph-nav__item.is-open > .mph-sub { display: block; }
@media (hover: hover) and (min-width: 1181px) {
	.mph-nav__item.has-sub:hover > .mph-sub, .mph-nav__item.has-sub:focus-within > .mph-sub { display: block; }
}
.mph-nav__tools { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-inline-start: auto; }
@media (min-width: 1181px) and (max-width: 1360px) { .mph-nav__cta { display: none; } }
.mph-lang { font-size: 15px; font-weight: 500; color: var(--mph-slate) !important; text-decoration: none; padding: 10px 6px; }
.mph-search-toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--mph-teal-100); border-radius: 8px; background: var(--mph-white); color: var(--mph-ink); cursor: pointer; }
.mph-search-panel { border-block-start: 1px solid var(--mph-teal-100); background: var(--mph-teal-50); padding-block: 20px; }

@media (max-width: 1180px) {
	.mph-menu-toggle { display: inline-flex; }
	.mph-nav { display: none; position: absolute; inset-inline: 0; inset-block-start: 100%; flex-direction: column; align-items: stretch; background: var(--mph-white); border-block-end: 1px solid var(--mph-teal-100); padding: 12px 24px 24px; box-shadow: 0 16px 32px rgba(18, 44, 41, 0.1); }
	.mph-nav.is-open { display: flex; }
	.mph-nav { max-height: calc(100vh - 77px); max-height: calc(100dvh - 77px); overflow-y: auto; overscroll-behavior: contain; }
	.admin-bar .mph-nav { max-height: calc(100vh - 123px); max-height: calc(100dvh - 123px); }
	.mph-nav__list { flex-direction: column; align-items: stretch; }
	.mph-nav__item { flex-wrap: wrap; justify-content: space-between; border-block-end: 1px solid var(--mph-teal-100); }
	.mph-nav__link { font-size: 17px; padding-block: 14px; }
	.mph-nav__toggle { width: 44px; height: 44px; }
	.mph-sub { position: static; display: none; width: 100%; min-width: 0; border: 0; box-shadow: none; padding: 0 0 10px; }
	.mph-nav__tools { flex-wrap: wrap; padding-block-start: 16px; }
}

/* ---------- Search form ---------- */
.mph-search-form label { display: block; font-size: 14px; color: var(--mph-slate); margin-block-end: 8px; }
.mph-search-form__row { display: flex; gap: 8px; max-width: 640px; }
.mph-search-form input[type="search"] { flex: 1; min-width: 0; height: 52px; border: 1px solid var(--mph-teal-200); border-radius: 10px; padding-inline: 18px; font: 16px var(--mph-font); color: var(--mph-ink); background: var(--mph-white); }

/* ---------- Hero ---------- */
.mph-hero { background: var(--mph-teal-50); }
.mph-hero--page { padding-block: 28px 56px; }
.mph-hero--country { border-block-end: 3px solid var(--c); }
.mph-hero--home { padding-block: 88px 64px; }
.mph-hero__title { margin: 0 0 16px; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.1; font-weight: 600; color: var(--mph-teal) !important; max-width: 860px; }
.mph-hero__title--home { font-size: clamp(40px, 5.2vw, 62px); line-height: 1.06; max-width: 880px; }
html[lang="ar"] .mph-hero__title { line-height: 1.35; }
.mph-hero__lead { margin: 0; font-size: 20px; line-height: 1.6; color: var(--mph-slate); max-width: 760px; }
.mph-hero__search { margin-block-start: 36px; }
.mph-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.mph-hero__media { margin: 0; }
.mph-hero__media img { display: block; width: 100%; height: auto; }
.mph-hero__media.is-photo img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--mph-radius); box-shadow: 0 18px 40px rgba(18, 44, 41, 0.12); }
@media (min-width: 961px) {
	.has-media .mph-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 56px; }
	.has-media .mph-hero__title { font-size: clamp(32px, 3.4vw, 46px); }
	.mph-hero--home.has-media .mph-hero__title { font-size: clamp(38px, 4.2vw, 56px); }
}
@media (max-width: 960px) {
	.mph-hero__media { max-width: 520px; }
	.mph-hero__media.is-photo img { aspect-ratio: 16 / 9; }
}
.mph-eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mph-teal-700); }
html[lang="ar"] .mph-eyebrow { font-size: 15px; letter-spacing: 0; text-transform: none; }
.mph-eyebrow--warm { color: #8A5B0F; }

.mph-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 28px; padding: 0; font-size: 14px; color: var(--mph-slate); }
.mph-breadcrumb li + li::before { content: '›'; margin-inline-end: 8px; color: var(--mph-slate); }
html[dir="rtl"] .mph-breadcrumb li + li::before { content: '‹'; }
.mph-breadcrumb a { text-decoration: none; }
.mph-breadcrumb [aria-current] { color: var(--mph-ink); }

/* ---------- Tags ---------- */
.mph-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 18px; }
.mph-tag { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: 0.03em; color: var(--mph-teal-700); background: var(--mph-white); border: 1px solid var(--mph-teal-200); border-radius: 999px; padding: 5px 12px; line-height: 1.2; }
html[lang="ar"] .mph-tag { font-size: 13px; letter-spacing: 0; }
.mph-tag--country { color: var(--c); border-color: var(--c); }
.mph-tag--quiet { color: var(--mph-slate); }

/* ---------- Layout + article ---------- */
.mph-layout { display: block; padding-block: 56px 72px; }
.mph-layout.has-aside { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
@media (max-width: 960px) { .mph-layout.has-aside { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.mph-article { max-width: 760px; font-size: 18px; line-height: 1.75; }
html[lang="ar"] .mph-article { font-size: 19px; line-height: 1.95; }
.mph-article > *:first-child { margin-block-start: 0; }
.mph-article p { margin: 0 0 20px; }
.mph-article h2 { margin: 48px 0 14px; font-size: 28px; line-height: 1.3; font-weight: 600; scroll-margin-top: 104px; }
.mph-article h3 { margin: 32px 0 10px; font-size: 21px; line-height: 1.35; font-weight: 600; }
.mph-article h4 { margin: 24px 0 8px; font-size: 18px; font-weight: 600; }
.mph-article ul, .mph-article ol { margin: 0 0 22px; padding-inline-start: 26px; padding-inline-end: 0; }
.mph-article li { margin-block-end: 8px; }
.mph-article li::marker { color: var(--mph-teal-700); }
.mph-article code { font-size: 0.88em; background: var(--mph-teal-50); border: 1px solid var(--mph-teal-100); border-radius: 4px; padding: 1px 6px; direction: ltr; unicode-bidi: isolate; }
.mph-article strong { font-weight: 600; }
.mph-article blockquote { margin: 28px 0; padding: 4px 0; padding-inline-start: 20px; border-inline-start: 4px solid var(--mph-teal); color: var(--mph-slate); }
.mph-article .wp-block-table { margin: 28px 0; overflow-x: auto; }
.mph-article table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; border: 1px solid var(--mph-teal-100); }
.mph-article th, .mph-article td { padding: 12px 14px; text-align: start; vertical-align: top; border-block-end: 1px solid var(--mph-teal-100); }
.mph-article thead th { background: var(--mph-teal-50); font-weight: 600; }
.mph-article .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.mph-article .mph-related { font-size: 15px; line-height: 1.7; color: var(--mph-slate); border-block-start: 1px solid var(--mph-teal-100); padding-block-start: 14px; margin-block-start: 28px; }
.mph-article .mph-related strong { color: var(--mph-ink); }
.mph-disclaimer { margin-block-start: 40px !important; padding-block-start: 18px; border-block-start: 1px solid var(--mph-teal-100); font-size: 14px; line-height: 1.6; color: var(--mph-slate); }
.mph-notice { background: var(--mph-sand); border-radius: 10px; padding: 14px 18px; font-size: 16px; }

/* ---------- Aside ---------- */
.mph-aside { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 104px; }
@media (max-width: 960px) { .mph-aside { position: static; } }
.mph-aside__title { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mph-slate); }
html[lang="ar"] .mph-aside__title { font-size: 15px; letter-spacing: 0; text-transform: none; }
.mph-toc { background: var(--mph-teal-50); border-radius: var(--mph-radius); padding: 22px; }
.mph-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mph-toc a { display: block; padding: 6px 0; padding-inline-start: 12px; border-inline-start: 3px solid transparent; font-size: 15px; line-height: 1.4; color: var(--mph-slate) !important; text-decoration: none; }
.mph-toc a:hover, .mph-toc a.is-active { color: var(--mph-teal) !important; border-inline-start-color: var(--c, var(--mph-teal)); }
.mph-section-nav { border: 1px solid var(--mph-teal-100); border-radius: var(--mph-radius); padding: 22px; }
.mph-section-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.mph-section-nav a { display: block; padding: 7px 0; font-size: 15px; line-height: 1.4; text-decoration: none; }
.mph-section-nav li:first-child a { font-weight: 600; color: var(--mph-ink) !important; }
.mph-section-nav .is-current a { color: var(--mph-ink) !important; font-weight: 600; }
.mph-card-cta { background: var(--mph-teal); color: var(--mph-white); border-radius: var(--mph-radius); padding: 24px; }
.mph-card-cta p { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: var(--mph-on-dark); }
.mph-card-cta .mph-card-cta__title { font-size: 18px; font-weight: 600; color: var(--mph-white); margin-block-end: 8px; }

/* ---------- Cards ---------- */
.mph-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.mph-cards--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.mph-cards--5 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.mph-cards--6 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.mph-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--mph-white); border: 1px solid var(--mph-teal-100); border-radius: var(--mph-radius); text-decoration: none; color: var(--mph-ink) !important; transition: border-color .15s ease; }
.mph-card:hover { border-color: var(--mph-teal); }
.mph-card--country { border-block-start: 3px solid var(--c); }
.mph-card .mph-tag { align-self: flex-start; }
.mph-card__title { font-size: 19px; font-weight: 600; line-height: 1.3; }
.mph-card__text { font-size: 15px; line-height: 1.55; color: var(--mph-slate); }
.mph-card__more { margin-block-start: auto; padding-block-start: 6px; font-size: 15px; font-weight: 600; color: var(--mph-teal-700); }
.mph-children { padding-block: 0 80px; }
.mph-children__title { margin: 0 0 22px; font-size: 26px; font-weight: 600; }

/* ---------- Evidence (assessments) ---------- */
.mph-evidence { border: 1px solid var(--mph-teal-100); border-radius: var(--mph-radius); padding: 20px 22px; margin-block-end: 36px; }
.mph-evidence__title { margin: 0 0 12px !important; font-size: 15px; font-weight: 600; }
.mph-evidence ul { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 10px; }
.mph-ev { display: inline-flex; align-items: center; gap: 8px; margin: 0 !important; font-size: 14px; font-weight: 600; border-radius: 999px; padding: 6px 12px; background: var(--mph-teal-50); }
.mph-ev__dot { width: 10px; height: 10px; border-radius: 50%; }
.mph-ev--verified .mph-ev__dot { background: var(--mph-teal-700); }
.mph-ev--partial .mph-ev__dot { background: var(--mph-amber); }
.mph-ev--not .mph-ev__dot { background: transparent; border: 2px solid var(--mph-error); box-sizing: border-box; }
.mph-ev--na .mph-ev__dot { background: #9AA8A4; }
.mph-article ul.mph-evidence-list { list-style: none; padding-inline-start: 0; }
.mph-article ul.mph-evidence-list li { position: relative; padding-inline-start: 36px; padding-block: 12px; margin: 0; border-block-end: 1px solid var(--mph-teal-100); }
.mph-article ul.mph-evidence-list li::before { content: ''; position: absolute; inset-inline-start: 0; inset-block-start: 15px; width: 20px; height: 20px; border: 2px solid var(--mph-teal); border-radius: 5px; box-sizing: border-box; }

/* ---------- Figures + map ---------- */
.mph-figure, .mph-map { margin: 36px 0; background: var(--mph-white); border: 1px solid var(--mph-teal-100); border-radius: var(--mph-radius); padding: 24px 20px 18px; }
.mph-figure svg, .mph-map svg { display: block; width: 100%; height: auto; font-family: var(--mph-font); }
.mph-figure figcaption { margin-block-start: 14px; padding-block-start: 14px; border-block-start: 1px solid var(--mph-teal-100); font-size: 15px; line-height: 1.6; color: var(--mph-slate); }
.mph-figure figcaption strong { color: var(--mph-ink); }
.mph-map a { cursor: pointer; }
.mph-map a:hover text { text-decoration: underline; }
.mph-map a:focus-visible rect { stroke: var(--mph-amber); stroke-width: 4; }
.mph-map__legend { display: flex; flex-wrap: wrap; gap: 22px; margin-block-start: 16px; padding-block-start: 16px; border-block-start: 1px solid var(--mph-teal-100); font-size: 14px; color: var(--mph-slate); }
.mph-map__legend span { display: inline-flex; align-items: center; gap: 10px; }
.mph-map__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 760px) {
	.mph-map { padding-inline: 12px; }
	.mph-map__scroll svg { width: 720px; max-width: none; }
	.mph-map__hint { display: block; }
}
.mph-map__hint { display: none; margin: 0 0 8px; font-size: 13px; color: var(--mph-slate); }
.mph-map .mph-map__legend svg { display: inline-block; width: auto; flex: 0 0 auto; }
.mph-search-toggle svg, .mph-nav__toggle svg, .mph-menu-toggle svg { flex: 0 0 auto; }

/* ---------- Homepage sections ---------- */
.mph-section { padding-block: 80px; }
.mph-section--tint { background: var(--mph-teal-50); }
.mph-section--map { padding-block: 64px 40px; }
.mph-section__title { margin: 0 0 12px; font-size: clamp(26px, 3vw, 34px); line-height: 1.25; font-weight: 600; }
.mph-section__text { margin: 0 0 32px; font-size: 18px; line-height: 1.65; color: var(--mph-slate); max-width: 720px; }
.mph-section__title + .mph-cards { margin-block-start: 28px; }
.mph-card--path svg { margin-block-end: 4px; }
.mph-more { margin: 24px 0 0; font-weight: 600; }
.mph-more a { text-decoration: none; }
.mph-band { background: var(--mph-sand); padding-block: 64px; }
.mph-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.mph-band__inner > div { flex: 1 1 520px; min-width: 0; }
.mph-band .mph-section__text, .mph-section--about .mph-section__text { margin-block-end: 0; }
.mph-section--about { padding-block: 64px; border-block-start: 1px solid var(--mph-teal-100); }

/* ---------- Footer ---------- */
.mph-footer { background: var(--mph-teal); color: var(--mph-on-dark); margin-block-start: 0; }
.mph-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.6fr; gap: 36px; padding-block: 64px 40px; }
@media (max-width: 1080px) { .mph-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .mph-footer__grid { grid-template-columns: minmax(0, 1fr); } }
.mph-footer p { margin: 0 0 12px; font-size: 15px; line-height: 1.6; }
.mph-footer__name { font-size: 19px !important; font-weight: 600; color: var(--mph-white); }
.mph-footer__heading { font-weight: 600; color: var(--mph-white); font-size: 16px !important; }
.mph-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mph-footer a { color: var(--mph-on-dark) !important; text-decoration: none; font-size: 15px; }
.mph-footer a:hover { color: var(--mph-white) !important; text-decoration: underline; }
.mph-newsletter__row { display: flex; gap: 8px; }
.mph-newsletter input { flex: 1; min-width: 0; height: 46px; border-radius: 8px; border: 1px solid #3F7669; background: var(--mph-white); padding-inline: 14px; font: 15px var(--mph-font); color: var(--mph-ink); }
.mph-newsletter button { height: 46px; padding-inline: 18px; border-radius: 8px; border: 0; background: var(--mph-amber); color: var(--mph-ink); font: 600 15px var(--mph-font); cursor: pointer; }
.mph-newsletter__msg { min-height: 1em; font-size: 14px !important; color: var(--mph-white); }
.mph-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px 32px; border-block-start: 1px solid #2F6A60; font-size: 13px; }

/* ---------- Kadence overrides ---------- */
body.mph #inner-wrap { padding: 0; }
body.mph .site { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
html { scroll-behavior: smooth; }

/* Website Privacy Scanner */
.mph-scanner { margin: 32px 0; padding: 28px; background: var(--mph-teal-50); border: 1px solid var(--mph-teal-100); border-radius: var(--mph-radius); }
.mph-scanner__form label { display: block; font-weight: 600; margin-block-end: 8px; color: var(--mph-ink); }
.mph-scanner__row { display: flex; gap: 10px; flex-wrap: wrap; }
.mph-scanner__row input { flex: 1 1 280px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--mph-teal-100); border-radius: 8px; font: 16px var(--mph-font); background: #fff; }
.mph-scanner__row input:focus { outline: 2px solid var(--mph-teal); outline-offset: 1px; }
.mph-scanner__note { font-size: 14px; color: var(--mph-slate); margin: 12px 0 0; }
.mph-scanner__status { margin-block-start: 16px; font-weight: 500; color: var(--mph-ink); }
.mph-scanner.is-busy .mph-scanner__status::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-inline-end: 8px; border: 2px solid var(--mph-teal-100); border-top-color: var(--mph-teal); border-radius: 50%; animation: mph-spin .8s linear infinite; vertical-align: -2px; }
@keyframes mph-spin { to { transform: rotate(360deg); } }
.mph-scanner__result { margin-block-start: 24px; }
.mph-scanner__checked { font-size: 14px; color: var(--mph-slate); }
.mph-scanner__section { background: #fff; border: 1px solid var(--mph-teal-100); border-radius: 12px; padding: 20px 22px; margin-block-start: 16px; }
.mph-scanner__section h3 { margin: 0 0 12px; font-size: 18px; }
.mph-scanner__findings { list-style: none; margin: 0; padding: 0; }
.mph-scanner__findings li { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-block-end: 1px solid var(--mph-teal-50); }
.mph-scanner__findings li:last-child { border: 0; }
.mph-scanner__sev { flex: 0 0 auto; min-width: 72px; text-align: center; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--mph-teal-50); color: var(--mph-teal); }
.mph-scanner__findings .is-high .mph-scanner__sev { background: #FBE9E7; color: #B3261E; }
.mph-scanner__findings .is-medium .mph-scanner__sev { background: #FBF1E2; color: #8A5B0F; }
.mph-scanner__findings .is-info .mph-scanner__sev { background: #EEF2F1; color: var(--mph-slate); }
.mph-scanner__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mph-scanner__chips li { display: inline-flex; flex-direction: column; padding: 8px 12px; border: 1px solid var(--mph-teal-100); border-radius: 10px; font-weight: 500; }
.mph-scanner__chips small { font-weight: 400; color: var(--mph-slate); font-size: 12px; }
.mph-scanner__chips .cat-advertising { border-color: #E9C9A0; }
.mph-scanner__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mph-scanner__table td { padding: 8px 10px 8px 0; border-block-end: 1px solid var(--mph-teal-50); }
.mph-scanner__hosts { columns: 2; margin: 0; padding-inline-start: 18px; font-size: 14px; }
.mph-scanner__headers { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.mph-scanner__headers li { display: flex; justify-content: space-between; padding: 6px 0; border-block-end: 1px solid var(--mph-teal-50); }
.mph-scanner__headers .is-missing span { color: #8A5B0F; }
.mph-scanner__headers .is-ok span { color: var(--mph-teal); }
@media (max-width: 600px) { .mph-scanner { padding: 18px; } .mph-scanner__hosts { columns: 1; } }

/* ---------- Scanner report (real-browser mode) ---------- */
.mph-scanner__findings .is-low .mph-scanner__sev { background: #EEF2F1; color: var(--mph-ink); }
.mph-scanner__findings .is-good .mph-scanner__sev { background: var(--mph-teal-50); color: var(--mph-teal); }
.mph-report__head { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.mph-report__grade { flex: 0 0 auto; width: 116px; height: 116px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 8px solid var(--g, var(--mph-teal)); color: var(--g, var(--mph-teal)); }
.mph-report__grade.grade-A { --g: #0B4D44; } .mph-report__grade.grade-B { --g: #2F7A5F; } .mph-report__grade.grade-C { --g: #C7862B; }
.mph-report__grade.grade-D { --g: #B4561F; } .mph-report__grade.grade-F { --g: #B3261E; }
.mph-report__letter { font-size: 44px; font-weight: 700; line-height: 1; }
.mph-report__score { font-size: 13px; font-weight: 600; margin-block-start: 4px; color: var(--mph-slate); }
.mph-report__meta { flex: 1 1 320px; min-width: 0; }
.mph-report__kicker { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mph-slate); }
html[lang="ar"] .mph-report__kicker { letter-spacing: 0; text-transform: none; }
.mph-report__url { margin: 4px 0 2px; font-size: 24px; overflow-wrap: anywhere; }
.mph-report__verdict { margin: 0 0 6px; font-weight: 600; color: var(--mph-ink); }
.mph-report__facts { margin: 0 0 14px; font-size: 14px; color: var(--mph-slate); }
.mph-report__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mph-report__actions .mph-btn { min-height: 42px; padding: 9px 16px; font-size: 15px; }
.mph-report__arealist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.mph-report__arealist li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--mph-teal-100); border-radius: 10px; font-weight: 500; }
.mph-report__arealist li.is-high { border-color: #F2C4BF; background: #FDF4F3; }
.mph-report__arealist li.is-medium { border-color: #EBD3AE; background: #FDF8F0; }
.mph-report__arealist .is-high .mph-scanner__sev, .mph-report__arealist li.is-high .mph-scanner__sev { background: #FBE9E7; color: #B3261E; }
.mph-report__arealist li.is-medium .mph-scanner__sev { background: #FBF1E2; color: #8A5B0F; }
.mph-report__arealist li.is-low .mph-scanner__sev, .mph-report__arealist li.is-info .mph-scanner__sev { background: #EEF2F1; color: var(--mph-ink); }
.mph-report__findings li { align-items: flex-start; padding: 14px 0; }
.mph-report__findings .mph-scanner__sev { margin-block-start: 2px; }
.mph-report__fbody { min-width: 0; }
.mph-report__fbody strong { display: block; color: var(--mph-ink); }
.mph-report__fbody p { margin: 4px 0 0; font-size: 15px; color: var(--mph-slate); line-height: 1.55; }
.mph-report__found { font-size: 14px !important; overflow-wrap: anywhere; }
.mph-report__fix { display: inline-block; margin-block-start: 6px; font-size: 14px; font-weight: 600; }
.mph-report__cta { background: var(--mph-teal) !important; border-color: var(--mph-teal) !important; color: #fff; }
.mph-report__cta h3, .mph-report__cta p { color: #fff !important; }
.mph-report__cta p { margin: 0 0 16px; opacity: .92; max-width: 720px; }
.mph-report__cta .mph-btn--primary { background: #fff; color: var(--mph-teal) !important; border-color: #fff; }
.mph-report__shot { display: block; width: 100%; height: auto; border: 1px solid var(--mph-teal-100); border-radius: 8px; }
.mph-report__tablewrap { overflow-x: auto; }
.mph-report__visits { min-width: 520px; }
.mph-scanner__table th { text-align: start; font-size: 13px; font-weight: 600; color: var(--mph-slate); padding: 8px 10px 8px 0; border-block-end: 1px solid var(--mph-teal-100); }
.mph-scanner__table td { vertical-align: top; }
.mph-scanner__table td.is-flag { color: #8A3B12; font-weight: 500; }
.mph-report__btn { display: block; font-size: 12px; color: var(--mph-slate); margin-block-start: 2px; }
.mph-report__muted { color: var(--mph-slate); }
.mph-report__ids { margin: 14px 0 0; font-size: 14px; color: var(--mph-slate); overflow-wrap: anywhere; }
.mph-scanner__hosts small { color: var(--mph-slate); }
.mph-report__disclaimer { margin: 20px 0 0; font-size: 13px; color: var(--mph-slate); line-height: 1.6; }
@media (max-width: 600px) {
	.mph-report__grade { width: 92px; height: 92px; border-width: 6px; }
	.mph-report__letter { font-size: 34px; }
	.mph-report__url { font-size: 20px; }
}

/* ---------- Print: the scan report as a clean PDF ---------- */
@media print {
	@page { margin: 14mm; }
	body.has-scan-report .mph-header, body.has-scan-report .mph-footer, body.has-scan-report .mph-hero, body.has-scan-report .mph-aside,
	body.has-scan-report .mph-breadcrumb, body.has-scan-report #wpadminbar, body.has-scan-report .mph-scanner__form,
	body.has-scan-report .mph-scanner__status, body.has-scan-report .mph-report__actions, body.has-scan-report .mph-article > *:not(.mph-scanner) { display: none !important; }
	body.has-scan-report .mph-layout { display: block !important; max-width: none; padding: 0; }
	body.has-scan-report .mph-scanner { margin: 0; padding: 0; border: 0; background: none; }
	.mph-scanner__section { break-inside: avoid; box-shadow: none; }
	.mph-report__cta { background: #fff !important; color: var(--mph-ink); border: 2px solid var(--mph-teal) !important; }
	.mph-report__cta h3, .mph-report__cta p { color: var(--mph-ink) !important; }
	.mph-report__cta .mph-btn--primary { background: var(--mph-teal); color: #fff !important; }
	* { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.mph-report__foundlbl { font-weight: 600; color: var(--mph-ink); }
@media screen {
	body.has-scan-report .mph-layout.has-aside { grid-template-columns: minmax(0, 1fr); }
	body.has-scan-report .mph-aside { display: none; }
	body.has-scan-report .mph-article { max-width: 1040px; }
}

/* ---------- Scanner report: layout fixes, lead form, print ---------- */
.mph-article .mph-scanner ul, .mph-article .mph-scanner ol { padding-inline-start: 0; margin: 0; }
.mph-article .mph-scanner li { margin: 0; }
.mph-article .mph-scanner .mph-scanner__hosts, .mph-article .mph-scanner .mph-lead__benefits { padding-inline-start: 20px; }
.mph-article .mph-scanner .mph-scanner__hosts li, .mph-article .mph-scanner .mph-lead__benefits li { margin-block-end: 4px; }
.mph-scanner.has-report { background: none; border: 0; padding: 0; }
.mph-scanner.has-report .mph-scanner__form { background: var(--mph-teal-50); border: 1px solid var(--mph-teal-100); border-radius: var(--mph-radius); padding: 22px 24px; }
.mph-scanner__section { font-size: 16px; line-height: 1.6; }
.mph-report__arealist { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.mph-report__arealist li { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 8px; padding: 14px 16px; }
.mph-report__areaname { font-weight: 600; color: var(--mph-ink); overflow-wrap: normal; word-break: normal; hyphens: none; line-height: 1.35; }
.mph-report__head { align-items: center; }
.mph-report__more { margin: 12px 0 0; font-size: 15px; font-weight: 600; color: var(--mph-teal); }
.mph-report__printhead, .mph-report__printonly { display: none; }
.mph-lead { border: 2px solid var(--mph-teal) !important; }
.mph-lead h3 { font-size: 22px !important; margin-block-end: 6px !important; }
.mph-lead > p { margin: 0 0 10px; color: var(--mph-slate); }
.mph-lead__benefits { margin: 0 0 20px !important; color: var(--mph-ink); }
.mph-lead__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin-block-end: 14px; }
.mph-lead__field label { display: block; font-size: 14px; font-weight: 600; margin-block-end: 6px; color: var(--mph-ink); }
.mph-lead__field input { width: 100%; box-sizing: border-box; min-height: 46px; padding: 10px 14px; border: 1px solid var(--mph-teal-100); border-radius: 8px; font: 16px var(--mph-font); background: #fff; }
.mph-lead__field input:focus { outline: 2px solid var(--mph-teal); outline-offset: 1px; }
.mph-lead__check { display: flex; gap: 10px; align-items: flex-start; margin-block-end: 10px; font-size: 15px; line-height: 1.5; cursor: pointer; }
.mph-lead__check input { margin-block-start: 4px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--mph-teal); }
.mph-lead__notice { font-size: 13px !important; color: var(--mph-slate); margin: 6px 0 16px !important; line-height: 1.6; }
.mph-lead__msg { margin: 12px 0 0; font-weight: 500; color: var(--mph-ink); }
.mph-lead__msg:empty { display: none; }
.mph-lead__hp { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; border: 0 !important; opacity: 0; }
.mph-lead__done { margin: 0 0 4px; padding: 12px 16px; border-radius: 10px; background: var(--mph-teal-50); color: var(--mph-teal); font-weight: 600; }
/* Free scan summary */
.mph-sum__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mph-sum__tile { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 12px; background: var(--mph-teal-50); }
.mph-sum__tile span { font-size: 14px; line-height: 1.45; color: var(--mph-slate); }
.mph-sum__num { font-size: 32px; line-height: 1.1; font-weight: 700; color: var(--mph-teal); }
.mph-sum__tile.is-flag { background: #FDF4F3; }
.mph-sum__tile.is-flag .mph-sum__num { color: #B3261E; }
.mph-sum__tile.is-warn { background: #FDF8F0; }
.mph-sum__tile.is-warn .mph-sum__num { color: #8A5B0F; }
.mph-sum__lead { margin: 0 0 14px; color: var(--mph-slate); }
.mph-sum__visits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: v; }
.mph-sum__visit { counter-increment: v; position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 16px; border-radius: 12px; border: 1px solid var(--mph-teal-100); border-block-start-width: 4px; }
.mph-sum__visit::before { content: counter(v); position: absolute; inset-block-start: 14px; inset-inline-end: 16px; font-size: 13px; font-weight: 700; color: var(--mph-slate); opacity: .6; }
.mph-sum__vname { font-size: 15px; padding-inline-end: 20px; }
.mph-sum__vstate { align-self: flex-start; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #EEF2F1; color: var(--mph-ink); }
.mph-sum__vnums { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--mph-slate); }
.mph-sum__vnums b { font-size: 18px; color: var(--mph-ink); }
.mph-sum__visit.is-ok { border-block-start-color: var(--mph-teal); }
.mph-sum__visit.is-ok .mph-sum__vstate { background: var(--mph-teal-50); color: var(--mph-teal); }
.mph-sum__visit.is-flag { border-block-start-color: #B3261E; background: #FFFBFA; }
.mph-sum__visit.is-flag .mph-sum__vstate { background: #FBE9E7; color: #B3261E; }
.mph-sum__visit.is-muted { border-block-start-color: #C9D3D1; }
.mph-sum__locked { background: var(--mph-teal-50); border: 0 !important; border-radius: 14px; }
.mph-sum__locklist { list-style: none; margin: 0 0 18px !important; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.mph-sum__locklist li { position: relative; padding-inline-start: 28px; line-height: 1.5; }
.mph-sum__locklist li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 2px; width: 18px; height: 18px; background: var(--mph-teal); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") center / contain no-repeat; }
#mph-lead { scroll-margin-top: 90px; }
@media (max-width: 900px) {
	.mph-sum__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mph-sum__visits, .mph-sum__locklist { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
	.mph-lead__grid { grid-template-columns: minmax(0, 1fr); }
	.mph-report__arealist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media print {
	body.has-scan-report .mph-lead__done { display: none !important; }
	.mph-report__printhead { display: flex !important; align-items: center; justify-content: space-between; gap: 16px; padding-block-end: 12px; margin-block-end: 8px; border-block-end: 2px solid var(--mph-teal); font-size: 12px; color: var(--mph-slate); }
	.mph-report__printhead img { height: 40px; width: auto; }
	.mph-report__printonly { display: block !important; }
	.mph-report__printfoot { margin-block-start: 10px; font-size: 12px; color: var(--mph-ink); font-weight: 600; }
	.mph-report__cta .mph-btn { display: none !important; }
	.mph-report__cta .mph-report__printonly { font-weight: 600; margin: 0; }
	.mph-report__arealist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mph-report__findings li { break-inside: avoid; }
	.mph-report__shot { max-height: 420px; object-fit: contain; object-position: top; }
	.mph-scanner__section { padding: 14px 16px; margin-block-start: 10px; }
	body.has-scan-report .mph-article { max-width: none; font-size: 14px; }
}

/* ---------- Tools hub: featured scanner and tool cards ---------- */
.mph-toolkit { margin: 36px 0 44px; }
.mph-feature { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 28px; align-items: center; padding: 30px 32px; background: var(--mph-teal); color: #fff; border-radius: var(--mph-radius); }
.mph-feature__badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--mph-amber); color: var(--mph-ink); font-size: 13px; font-weight: 700; }
html[lang="ar"] .mph-feature__badge { font-size: 14px; }
.mph-article .mph-feature__title { margin: 12px 0 8px; font-size: 28px; line-height: 1.2; color: #fff !important; }
.mph-feature__text { margin: 0 0 14px; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .9); }
.mph-article ul.mph-feature__points { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 6px; font-size: 15px; line-height: 1.5; }
.mph-article ul.mph-feature__points li { position: relative; margin: 0; padding-inline-start: 26px; color: #fff; }
.mph-feature__points li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--mph-amber); border-bottom: 2px solid var(--mph-amber); transform: rotate(-45deg); }
.mph-feature__form { display: flex; gap: 10px; flex-wrap: wrap; }
.mph-feature__form input { flex: 1 1 220px; min-height: 50px; padding: 10px 16px; border: 0; border-radius: 8px; font: 16px var(--mph-font); background: #fff; color: var(--mph-ink); }
.mph-feature__form input:focus { outline: 3px solid var(--mph-amber); outline-offset: 1px; }
.mph-feature__form .mph-btn--primary { background: var(--mph-amber); border-color: var(--mph-amber); color: var(--mph-ink) !important; min-height: 50px; }
.mph-feature__form .mph-btn--primary:hover { background: #fff; border-color: #fff; }
.mph-feature__note { margin: 10px 0 0; font-size: 13px; color: rgba(255, 255, 255, .8); }
.mph-feature__media { margin: 0; background: #fff; border-radius: 12px; padding: 10px; }
.mph-feature__media img { display: block; width: 100%; height: auto; }
.mph-article .mph-toolkit__title { margin: 40px 0 18px; font-size: 24px; }
.mph-toolgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mph-tool { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-areas: "icon name" "icon text" "icon more"; column-gap: 14px; row-gap: 4px; padding: 18px 20px; background: #fff; border: 1px solid var(--mph-teal-100); border-radius: 12px; text-decoration: none !important; color: var(--mph-ink) !important; transition: border-color .15s ease, box-shadow .15s ease; }
.mph-tool:hover { border-color: var(--mph-teal); box-shadow: 0 6px 18px rgba(18, 44, 41, .07); }
.mph-tool__icon { grid-area: icon; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--mph-teal-50); color: var(--mph-teal); }
.mph-tool__name { grid-area: name; font-size: 16px; font-weight: 600; line-height: 1.35; }
.mph-tool__text { grid-area: text; font-size: 14px; line-height: 1.5; color: var(--mph-slate); }
.mph-tool__more { grid-area: more; margin-block-start: 4px; font-size: 14px; font-weight: 600; color: var(--mph-teal-700); display: inline-flex; align-items: center; gap: 6px; }
.mph-tool__more svg { width: 14px; height: 14px; flex: 0 0 auto; }
@media (max-width: 760px) {
	.mph-feature { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; }
	.mph-feature__media { display: none; }
	.mph-toolgrid { grid-template-columns: minmax(0, 1fr); }
	.mph-article .mph-feature__title { font-size: 24px; }
}

/* ---------- Audit offer inside the report ---------- */
.mph-offer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 4px 0 18px; }
.mph-offer__pkg { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); border-radius: 10px; padding: 14px 16px; }
.mph-offer__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.mph-offer__name { color: #fff; font-size: 16px; }
.mph-offer__price { color: var(--mph-amber); font-size: 22px; font-weight: 700; }
.mph-offer__fixed { display: block; color: rgba(255, 255, 255, .75); font-size: 12px; margin-block-start: 2px; }
.mph-report__cta .mph-offer__desc { margin: 8px 0 0 !important; font-size: 14px; line-height: 1.5; }
@media (max-width: 600px) { .mph-offer { grid-template-columns: minmax(0, 1fr); } }
@media print {
	.mph-offer__pkg { background: #fff; border-color: var(--mph-teal-100); }
	.mph-offer__name, .mph-offer__fixed { color: var(--mph-ink) !important; }
	.mph-offer__price { color: var(--mph-teal); }
}
@media (min-width: 1000px) {
	.mph-layout:not(.has-aside) .mph-toolgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mph-layout:not(.has-aside) .mph-feature { grid-template-columns: minmax(0, 1fr) 340px; padding: 36px 40px; }
	.mph-layout:not(.has-aside) .mph-feature__text, .mph-layout:not(.has-aside) .mph-feature__form { max-width: 640px; }
}

/* ---------- Content as boxes (lists converted at build time) ---------- */
.mph-article ul.mph-boxes { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.mph-article ul.mph-boxes > li { position: relative; margin: 0; padding: 16px 18px 16px 50px; background: var(--mph-white); border: 1px solid var(--mph-teal-100); border-radius: 12px; font-size: 16px; line-height: 1.55; color: var(--mph-ink); }
html[dir="rtl"] .mph-article ul.mph-boxes > li { padding: 16px 50px 16px 18px; font-size: 17px; }
.mph-article ul.mph-boxes > li::before { content: ""; position: absolute; inset-inline-start: 16px; top: 18px; width: 22px; height: 22px; border-radius: 50%; background: var(--mph-teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4D44' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.mph-box__t { display: block; margin-block-end: 4px; color: var(--mph-teal); font-weight: 600; }
.mph-article ul.mph-boxes > li:has(.mph-box__t) { padding-block-start: 16px; }

.mph-article ol.mph-steps { list-style: none; counter-reset: mph-step; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.mph-article ol.mph-steps > li { counter-increment: mph-step; position: relative; margin: 0; padding: 52px 18px 18px; background: var(--mph-teal-50); border-radius: 12px; font-weight: 500; line-height: 1.45; }
.mph-article ol.mph-steps > li::before { content: counter(mph-step); position: absolute; top: 16px; inset-inline-start: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--mph-teal); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

.mph-article ul.mph-linkcards { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.mph-article ul.mph-linkcards > li { margin: 0; }
.mph-linkcards a { display: flex; align-items: center; gap: 12px; height: 100%; box-sizing: border-box; padding: 14px 16px; background: var(--mph-white); border: 1px solid var(--mph-teal-100); border-radius: 12px; font-weight: 600; font-size: 16px; line-height: 1.35; color: var(--mph-ink) !important; text-decoration: none !important; transition: border-color .15s ease; }
.mph-linkcards a:hover { border-color: var(--mph-teal); }
.mph-linkcards a::after { content: ""; flex: 0 0 auto; margin-inline-start: auto; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23136B5E' stroke-width='2.2'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
html[dir="rtl"] .mph-linkcards a::after { transform: scaleX(-1); }
.mph-linkcards li[data-flag] a::before { content: ""; flex: 0 0 auto; width: 32px; height: 24px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(18, 44, 41, .12); background: center / cover no-repeat; }
.mph-linkcards li[data-flag="sa"] a::before { background-image: url(../img/flags/sa.svg); }
.mph-linkcards li[data-flag="qa"] a::before { background-image: url(../img/flags/qa.svg); }
.mph-linkcards li[data-flag="eg"] a::before { background-image: url(../img/flags/eg.svg); }
.mph-linkcards li[data-flag="ae"] a::before { background-image: url(../img/flags/ae.svg); }
.mph-linkcards li[data-flag="om"] a::before { background-image: url(../img/flags/om.svg); }

/* ---------- FAQ items ---------- */
.mph-faq { margin: 0 0 10px; border: 1px solid var(--mph-teal-100); border-radius: 12px; background: var(--mph-white); }
.mph-faq[open] { border-color: var(--mph-teal-200, #9FC9C1); }
.mph-faq > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.mph-faq > summary::-webkit-details-marker { display: none; }
.mph-faq > summary::after { content: ""; flex: 0 0 auto; margin-inline-start: auto; width: 26px; height: 26px; border-radius: 50%; background: var(--mph-teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4D44' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .15s ease; }
.mph-faq[open] > summary::after { transform: rotate(45deg); }
.mph-article .mph-faq__q { margin: 0 !important; font-size: 17px; line-height: 1.4; font-weight: 600; }
.mph-faq__a { padding: 0 18px 4px; }
.mph-faq__a > *:first-child { margin-block-start: 0; }
.mph-faq > summary:focus-visible { outline: 2px solid var(--mph-teal); outline-offset: 2px; border-radius: 12px; }

/* ---------- Callout, band and note blocks ---------- */
.mph-callout { margin: 0 0 32px; padding: 22px 24px; border-radius: 14px; background: var(--mph-teal-50); border-inline-start: 4px solid var(--mph-amber); }
.mph-callout p { margin: 0 0 14px; }
.mph-callout__links, .mph-band__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; }
.mph-article .mph-band { margin: 40px 0 32px; padding: 30px 32px; border-radius: 16px; background: var(--mph-teal); color: #fff; }
.mph-article .mph-band h2 { margin: 0 0 10px; color: #fff !important; font-size: 26px; }
.mph-article .mph-band p { margin: 0 0 18px; color: rgba(255, 255, 255, .9); }
.mph-article .mph-band .mph-btn--primary { background: var(--mph-amber); border-color: var(--mph-amber); color: var(--mph-ink) !important; }
.mph-article .mph-band .mph-btn--secondary { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff !important; }
.mph-article .mph-band .mph-btn--secondary:hover { background: rgba(255, 255, 255, .12); }
.mph-note { margin: 0 0 24px; padding: 18px 20px; border: 1px dashed var(--mph-teal-100); border-radius: 12px; font-size: 15px; color: var(--mph-slate); }
.mph-note p { margin: 0; }
.mph-note .mph-note__title { margin: 0 0 6px; font-weight: 600; color: var(--mph-ink); }

/* ---------- Regulations: country grid ---------- */
.mph-countrygrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 8px 0 40px; }
.mph-cg { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: var(--mph-white); border: 1px solid var(--mph-teal-100); border-top: 4px solid var(--c); border-radius: 14px; }
.mph-cg--lead { grid-column: 1 / -1; background: linear-gradient(135deg, var(--mph-white) 60%, var(--mph-teal-50)); }
.mph-cg__head { display: flex; align-items: center; gap: 14px; }
.mph-cg__head .mph-flag { border-radius: 4px; box-shadow: 0 0 0 1px rgba(18, 44, 41, .12); flex: 0 0 auto; }
.mph-article .mph-cg__name { margin: 0 !important; font-size: 21px; line-height: 1.2; }
.mph-cg__law { margin: 2px 0 0; font-size: 14px; color: var(--mph-slate); line-height: 1.4; }
.mph-article ul.mph-cg__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mph-article ul.mph-cg__facts li { margin: 0; padding: 4px 10px; border-radius: 999px; background: var(--mph-teal-50); color: var(--mph-teal); font-size: 13px; font-weight: 600; }
.mph-cg__text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--mph-ink); }
.mph-cg__links { margin: auto 0 0 !important; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.mph-cg__links .mph-btn { min-height: 42px; padding: 9px 16px; font-size: 15px; }
.mph-cg__sub { font-size: 14px; font-weight: 600; color: var(--mph-teal-700) !important; text-decoration: none !important; display: inline-flex; gap: 6px; align-items: center; }

/* Flags on cards */
.mph-flag { display: inline-block; vertical-align: middle; }
.mph-card__country { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mph-card__country .mph-flag { border-radius: 4px; box-shadow: 0 0 0 1px rgba(18, 44, 41, .12); }

@media (max-width: 640px) {
	.mph-countrygrid { grid-template-columns: minmax(0, 1fr); }
	.mph-article .mph-band { padding: 24px 20px; }
	.mph-article ul.mph-boxes, .mph-article ul.mph-linkcards { grid-template-columns: minmax(0, 1fr); }
	.mph-article ol.mph-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media print {
	.mph-faq > summary::after { display: none; }
	.mph-faq:not([open]) > .mph-faq__a { display: block; }
}
@media (min-width: 1000px) {
	.mph-layout:not(.has-aside) .mph-countrygrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.mph-layout:not(.has-aside) .mph-cg--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 32px; align-items: center; }
	.mph-layout:not(.has-aside) .mph-cg--lead .mph-cg__head, .mph-layout:not(.has-aside) .mph-cg--lead .mph-cg__facts { grid-column: 1; }
	.mph-layout:not(.has-aside) .mph-cg--lead .mph-cg__text { grid-column: 2; grid-row: 1 / span 2; font-size: 16px; }
	.mph-layout:not(.has-aside) .mph-cg--lead .mph-cg__links { grid-column: 2; }
	.mph-layout:not(.has-aside) .mph-band { padding: 36px 40px; }
	.mph-layout:not(.has-aside) .mph-band p { max-width: 760px; }
}

/* ---------- Pages without a sidebar: intro + split sections ---------- */
.mph-layout:not(.has-aside) .mph-article { max-width: none; }
.mph-intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-block-end: 8px; }
.mph-intro__text > p { max-width: 760px; }
.mph-intro__toc { align-self: start; padding: 20px 22px; border-radius: 14px; background: var(--mph-teal-50); border: 1px solid var(--mph-teal-100); }
.mph-intro__toctitle { margin: 0 0 10px !important; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mph-teal-700); }
html[lang="ar"] .mph-intro__toctitle { letter-spacing: 0; text-transform: none; font-size: 15px; }
.mph-article .mph-intro__toc ol { list-style: none; margin: 0; padding: 0; counter-reset: mph-toc; }
.mph-article .mph-intro__toc li { counter-increment: mph-toc; margin: 0; border-block-start: 1px solid var(--mph-teal-100); }
.mph-article .mph-intro__toc li:first-child { border: 0; }
.mph-intro__toc a { display: flex; gap: 10px; padding: 8px 0; font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--mph-ink) !important; text-decoration: none !important; }
.mph-intro__toc a::before { content: counter(mph-toc, decimal-leading-zero); color: var(--mph-amber-700, #8A5B0F); font-weight: 700; font-size: 13px; padding-block-start: 2px; flex: 0 0 22px; white-space: nowrap; }
.mph-intro__toc a:hover { color: var(--mph-teal) !important; }
.mph-sec { padding-block: 36px 8px; border-block-start: 1px solid var(--mph-teal-100); margin-block-start: 28px; }
.mph-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 48px; }
.mph-split--top { padding: 0; border: 0; margin: 0 0 8px; }
.mph-article .mph-split__head h2 { margin-block-start: 0; }
.mph-split__head > p { color: var(--mph-slate); }
.mph-split__body > *:first-child { margin-block-start: 0; }
.mph-sec--full > h2 { margin-block-start: 0; }
.mph-sec--full > p, .mph-sec--full > .mph-callout { max-width: 760px; }
@media (min-width: 1000px) {
	.mph-intro { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
	.mph-split { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
	.mph-split__head { position: sticky; top: 120px; align-self: start; }
	.admin-bar .mph-split__head { top: 152px; }
	.mph-split--top .mph-split__head { position: static; }
	.mph-split__body ul.mph-boxes { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
	.mph-split__body ol.mph-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Heading groups as cards ---------- */
.mph-h3cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 0 0 28px; }
.mph-h3card { position: relative; display: flex; flex-direction: column; padding: 20px 20px 18px; background: var(--mph-white); border: 1px solid var(--mph-teal-100); border-radius: 14px; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.mph-h3card:hover { border-color: var(--mph-teal); box-shadow: 0 8px 22px rgba(18, 44, 41, .07); }
.mph-h3card:has(a:only-child) { cursor: pointer; }
.mph-article .mph-h3card__t { margin: 0 0 8px !important; font-size: 17px; line-height: 1.35; color: var(--mph-ink); }
.mph-h3card p { margin: 0 0 10px; font-size: 15px; line-height: 1.55; color: var(--mph-slate); }
.mph-h3card p:last-child { margin-block-end: 0; }
.mph-h3card .mph-h3card__more { margin-block-start: auto; padding-block-start: 6px; }
.mph-h3card__more > a { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.mph-h3card__more > a::after { content: "→"; }
html[dir="rtl"] .mph-h3card__more > a::after { content: "←"; }
.mph-h3card--step { background: var(--mph-teal-50); border-color: transparent; padding-block-start: 56px; }
.mph-h3card__n { position: absolute; top: 18px; inset-inline-start: 20px; width: 28px; height: 28px; border-radius: 50%; background: var(--mph-teal); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.mph-article ol.mph-steps--rich > li { font-weight: 400; font-size: 15px; color: var(--mph-slate); }
.mph-steps--rich .mph-box__t { font-size: 16px; }
@media (min-width: 1000px) {
	.mph-split__body .mph-h3cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mph-split__body ol.mph-steps--rich { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}

/* Stacked sections: title, short text, then full-width cards */
.mph-sec--stack > h2 { margin-block-start: 0; }
.mph-sec--stack > p, .mph-sec--stack > .mph-callout { max-width: 820px; }
.mph-sec--full > h2 { margin-block-start: 0; }
@media (min-width: 1000px) {
	.mph-sec--stack .mph-h3cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
	.mph-sec--stack ul.mph-boxes { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
	.mph-sec--stack ol.mph-steps { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
	.mph-sec--stack ul.mph-linkcards { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

/* =====================================================================
   Texture and motion
   ===================================================================== */

/* Brand texture: the data-journey lines behind headers and dark bands. */
.mph-hero { background-image: url(../img/texture-lines.svg); background-repeat: no-repeat; background-size: 1500px auto; background-position: right -260px bottom -70px; }
html[dir="rtl"] .mph-hero { background-position: left -260px bottom -70px; }
.mph-article .mph-band, .mph-feature, .mph-report__cta { background-image: url(../img/texture-lines-light.svg); background-repeat: no-repeat; background-size: 1100px auto; background-position: right -320px center; }
html[dir="rtl"] .mph-article .mph-band, html[dir="rtl"] .mph-feature, html[dir="rtl"] .mph-report__cta { background-position: left -320px center; }
.mph-footer { background-image: url(../img/texture-lines-light.svg); background-repeat: no-repeat; background-size: 1600px auto; background-position: center top -120px; }
.mph-section--tint, .mph-children { background-image: radial-gradient(rgba(11, 77, 68, .06) 1px, transparent 1.3px); background-size: 22px 22px; }
.mph-intro__toc { background-image: radial-gradient(rgba(11, 77, 68, .05) 1px, transparent 1.3px); background-size: 18px 18px; }
@media print { .mph-hero, .mph-article .mph-band, .mph-feature, .mph-report__cta, .mph-footer, .mph-section--tint, .mph-children { background-image: none !important; } }

@media (prefers-reduced-motion: no-preference) {
	/* Smooth page-to-page transitions (Chrome, Edge, Safari); the header stays put. */
	@view-transition { navigation: auto; }
	.mph-header { view-transition-name: mph-header; }
	::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }

	/* Reveal on scroll. */
	.mph-motion .mph-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease var(--mph-d, 0ms), transform .6s cubic-bezier(.2, .7, .2, 1) var(--mph-d, 0ms); }
	.mph-motion .mph-reveal.is-in, .mph-motion-done .mph-reveal { opacity: 1; transform: none; }

	/* Journey map draws itself. */
	.mph-motion .mph-map__line { stroke-dasharray: 1; stroke-dashoffset: 1; }
	.mph-motion .mph-map.is-in .mph-map__line, .mph-motion-done .mph-map__line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s cubic-bezier(.4, 0, .2, 1); }
	.mph-motion .mph-map.is-in .mph-map__line:nth-of-type(2) { transition-delay: .12s; }
	.mph-motion .mph-map.is-in .mph-map__line:nth-of-type(3) { transition-delay: .24s; }
	.mph-motion .mph-map.is-in .mph-map__line:nth-of-type(4) { transition-delay: .36s; }
	.mph-motion .mph-map.is-in .mph-map__line:nth-of-type(5) { transition-delay: .48s; }
	.mph-motion .mph-map__trunk { stroke-dasharray: 1; }
	.mph-motion .mph-map__station { opacity: 0; transition: opacity .5s ease 1s; }
	.mph-motion .mph-map__check { opacity: 0; transition: opacity .4s ease 1.7s; }
	.mph-motion .mph-map.is-in .mph-map__station, .mph-motion .mph-map.is-in .mph-map__check, .mph-motion-done .mph-map__station, .mph-motion-done .mph-map__check { opacity: 1; }

	/* Header illustrations float gently. */
	.mph-hero__media.is-illustration img { animation: mph-float 7s ease-in-out infinite; }
	@keyframes mph-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

	/* Scanner block: a slow scan line across the illustration. */
	.mph-feature__media { position: relative; overflow: hidden; }
	.mph-feature__media::after { content: ""; position: absolute; inset-inline: 10px; top: 10px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--mph-amber), transparent); box-shadow: 0 0 18px 4px rgba(199, 134, 43, .35); animation: mph-scan 3.6s ease-in-out infinite; }
	@keyframes mph-scan { 0% { top: 12px; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: calc(100% - 14px); opacity: 0; } }

	/* Hover: cards lift, arrows nudge forward. */
	.mph-card, .mph-h3card, .mph-tool, .mph-cg, .mph-linkcards a { transition: border-color .15s ease, box-shadow .2s ease, transform .2s ease; }
	.mph-card:hover, .mph-h3card:hover, .mph-tool:hover, .mph-cg:hover, .mph-linkcards a:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(18, 44, 41, .09); }
	.mph-arrow { transition: transform .2s ease; }
	a:hover > .mph-arrow, a:hover .mph-card__more .mph-arrow, .mph-card:hover .mph-arrow, .mph-tool:hover .mph-arrow { transform: translateX(4px); }
	html[dir="rtl"] a:hover > .mph-arrow, html[dir="rtl"] .mph-card:hover .mph-arrow, html[dir="rtl"] .mph-tool:hover .mph-arrow { transform: scaleX(-1) translateX(4px); }
}
@media print { .mph-reveal { opacity: 1 !important; transform: none !important; } }

@media (min-width: 1000px) {
	.mph-sec--stack .mph-h3cards.mph-n2, .mph-sec--stack .mph-h3cards.mph-n4 { grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); }
	.mph-sec--stack .mph-h3cards.mph-n4 { --cols: 4; }
	.mph-sec--stack .mph-h3cards.mph-n3, .mph-sec--stack .mph-h3cards.mph-n6, .mph-sec--stack .mph-h3cards.mph-n9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mph-sec--stack .mph-h3cards.mph-n5, .mph-sec--stack .mph-h3cards.mph-n10 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.mph-sec--stack .mph-h3cards.mph-n7, .mph-sec--stack .mph-h3cards.mph-n8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
	.mph-sec--stack :is(ul.mph-boxes, ol.mph-steps, ul.mph-linkcards).mph-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mph-sec--stack :is(ul.mph-boxes, ol.mph-steps, ul.mph-linkcards):is(.mph-n3, .mph-n6, .mph-n9) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mph-sec--stack :is(ul.mph-boxes, ol.mph-steps, ul.mph-linkcards):is(.mph-n4, .mph-n7, .mph-n8) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.mph-sec--stack :is(ul.mph-boxes, ol.mph-steps, ul.mph-linkcards):is(.mph-n5, .mph-n10) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* =====================================================================
   Card system v2: a different style per kind of content
   ===================================================================== */
:root { --ic1: #0B4D44; --ic1b: #E3F0EC; --ic2: #8A5B0F; --ic2b: #FBF1E2; --ic3: #24508C; --ic3b: #E8EEF7; --ic4: #7D1D3F; --ic4b: #F6E8EE; --ic5: #7A3E8E; --ic5b: #F2EAF5; }
.mph-ic { display: block; }

/* 1. Feature tiles (paths to other pages, key topics): no border, tinted, icon circle. */
.mph-h3cards:not(.mph-h3cards--steps) .mph-h3card { border: 0; background: #F3F8F6; border-radius: 18px; padding: 24px 22px 22px; }
.mph-h3cards:not(.mph-h3cards--steps) .mph-h3card:hover { background: #fff; box-shadow: 0 14px 32px rgba(18, 44, 41, .10); }
.mph-h3card__ic { --c: var(--ic1); --b: var(--ic1b); width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-block-end: 16px; background: var(--b); color: var(--c); }
.mph-h3card:nth-child(5n+2) .mph-h3card__ic { --c: var(--ic2); --b: var(--ic2b); }
.mph-h3card:nth-child(5n+3) .mph-h3card__ic { --c: var(--ic3); --b: var(--ic3b); }
.mph-h3card:nth-child(5n+4) .mph-h3card__ic { --c: var(--ic4); --b: var(--ic4b); }
.mph-h3card:nth-child(5n+5) .mph-h3card__ic { --c: var(--ic5); --b: var(--ic5b); }
.mph-h3card__ic .mph-ic { width: 24px; height: 24px; }

/* 2. Icon list (labelled points): no boxes, open columns. */
.mph-article ul.mph-boxes.mph-iconlist { gap: 26px 32px; }
.mph-article ul.mph-boxes.mph-iconlist > li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 0; background: none; border: 0; border-radius: 0; }
html[dir="rtl"] .mph-article ul.mph-boxes.mph-iconlist > li { padding: 0; }
.mph-article ul.mph-boxes.mph-iconlist > li::before { display: none; }
.mph-il__ic { --c: var(--ic1); --b: var(--ic1b); width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--b); color: var(--c); }
.mph-iconlist > li:nth-child(5n+2) .mph-il__ic { --c: var(--ic2); --b: var(--ic2b); }
.mph-iconlist > li:nth-child(5n+3) .mph-il__ic { --c: var(--ic3); --b: var(--ic3b); }
.mph-iconlist > li:nth-child(5n+4) .mph-il__ic { --c: var(--ic4); --b: var(--ic4b); }
.mph-iconlist > li:nth-child(5n+5) .mph-il__ic { --c: var(--ic5); --b: var(--ic5b); }
.mph-il__ic .mph-ic { width: 22px; height: 22px; }
.mph-il__body { font-size: 15px; line-height: 1.6; color: var(--mph-slate); }
.mph-il__body .mph-box__t { color: var(--mph-ink); font-size: 16px; margin-block-end: 4px; }

/* 3. Checklists: tick rows with dividers, two columns when there is room. */
.mph-article ul.mph-boxes.mph-checks { gap: 0 36px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important; }
.mph-article ul.mph-boxes.mph-checks > li { background: none; border: 0; border-radius: 0; border-block-end: 1px dashed var(--mph-teal-100); padding: 14px 0 14px 38px; font-size: 16px; }
html[dir="rtl"] .mph-article ul.mph-boxes.mph-checks > li { padding: 14px 38px 14px 0; }
.mph-article ul.mph-boxes.mph-checks > li::before { top: 15px; inset-inline-start: 0; width: 24px; height: 24px; background-color: var(--ic1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); }

/* 4. Sequences: a timeline with numbered dots joined by a line. */
.mph-article ol.mph-steps, .mph-h3cards--steps { gap: 0 18px !important; }
.mph-article ol.mph-steps > li, .mph-h3cards--steps .mph-h3card--step { position: relative; background: none !important; border: 0; border-radius: 0; padding: 54px 4px 6px 0 !important; box-shadow: none !important; transform: none !important; }
html[dir="rtl"] .mph-article ol.mph-steps > li, html[dir="rtl"] .mph-h3cards--steps .mph-h3card--step { padding: 54px 0 6px 4px !important; }
.mph-article ol.mph-steps > li::before, .mph-h3card__n { top: 0 !important; inset-inline-start: 0 !important; width: 36px !important; height: 36px !important; font-size: 15px !important; box-shadow: 0 0 0 6px #fff; z-index: 1; }
.mph-article ol.mph-steps > li::after, .mph-h3cards--steps .mph-h3card--step::after { content: ""; position: absolute; top: 17px; inset-inline-start: 36px; inset-inline-end: -18px; height: 2px; background: repeating-linear-gradient(90deg, var(--mph-teal-200) 0 6px, transparent 6px 11px); }
.mph-article ol.mph-steps > li:last-child::after, .mph-h3cards--steps .mph-h3card--step:last-child::after { display: none; }
.mph-sec--tint ol.mph-steps > li::before, .mph-sec--tint .mph-h3card__n { box-shadow: 0 0 0 6px var(--mph-teal-50); }
@media (max-width: 999px) {
	.mph-article ol.mph-steps, .mph-h3cards--steps { grid-template-columns: minmax(0, 1fr) !important; }
	.mph-article ol.mph-steps > li, .mph-h3cards--steps .mph-h3card--step { padding: 4px 0 22px 52px !important; }
	html[dir="rtl"] .mph-article ol.mph-steps > li, html[dir="rtl"] .mph-h3cards--steps .mph-h3card--step { padding: 4px 52px 22px 0 !important; }
	.mph-article ol.mph-steps > li::after, .mph-h3cards--steps .mph-h3card--step::after { top: 40px; bottom: 0; inset-inline-start: 17px; inset-inline-end: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--mph-teal-200) 0 6px, transparent 6px 11px); }
}

/* 5. Link groups: compact pills. */
.mph-article ul.mph-linkcards { display: flex !important; flex-wrap: wrap; gap: 10px; width: auto !important; }
.mph-linkcards a { padding: 10px 18px; border: 0; border-radius: 999px; background: var(--mph-teal-50); font-size: 15px; height: auto; gap: 10px; }
.mph-linkcards a:hover { background: var(--mph-teal); color: #fff !important; transform: translateY(-2px); box-shadow: none; }
.mph-linkcards a::after { width: 14px; height: 14px; }
.mph-linkcards a:hover::after { filter: brightness(0) invert(1); }
.mph-linkcards li[data-flag] a::before { width: 24px; height: 18px; }

/* 6. Highlights: accent panel with a faint watermark icon. */
.mph-callout { position: relative; overflow: hidden; border-inline-start: 0; background: linear-gradient(120deg, #FFF8EC, var(--mph-teal-50)); border-radius: 18px; padding: 26px 28px; }
.mph-callout::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 5px; background: var(--mph-amber); }
.mph-callout::after { content: ""; position: absolute; inset-inline-end: -10px; bottom: -18px; width: 130px; height: 130px; opacity: .10; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4D44' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3Cpath d='M10.3 21a1.94 1.94 0 0 0 3.4 0'/%3E%3C/svg%3E") center / contain no-repeat; pointer-events: none; }
.mph-callout > * { position: relative; z-index: 1; }

/* 7. FAQ: open list with dividers instead of boxes. */
.mph-faq { border: 0; border-block-end: 1px solid var(--mph-teal-100); border-radius: 0; background: none; margin: 0; }
.mph-faq[open] { border-color: var(--mph-teal-100); }
.mph-faq > summary { padding: 18px 2px; }
.mph-faq__a { padding: 0 2px 10px; }
.mph-faq:first-of-type { border-block-start: 1px solid var(--mph-teal-100); }

/* 8. Section rhythm on landing pages: every second section on a soft band. */
.mph-sec:nth-of-type(even) { border-block-start: 0; background: #F4F8F7; box-shadow: 0 0 0 100vmax #F4F8F7; clip-path: inset(0 -100vmax); padding-block: 48px 28px; margin-block-start: 0; }
.mph-sec:nth-of-type(even) + .mph-sec { border-block-start: 0; }
.mph-sec:nth-of-type(even) .mph-h3cards:not(.mph-h3cards--steps) .mph-h3card { background: #fff; }
.mph-sec:nth-of-type(even) .mph-linkcards a { background: #fff; }
.mph-sec:nth-of-type(even) ol.mph-steps > li::before, .mph-sec:nth-of-type(even) .mph-h3card__n { box-shadow: 0 0 0 6px #F4F8F7; }
.mph-sec:nth-of-type(even) .mph-faq__q { background: none; }

/* Texture: quieter and centred behind headers, like the footer. */
.mph-hero { background-size: 1700px auto; background-position: center bottom -30px; }
html[dir="rtl"] .mph-hero { background-position: center bottom -30px; }
.mph-article .mph-band, .mph-feature, .mph-report__cta { background-size: 1300px auto; background-position: center; }
html[dir="rtl"] .mph-article .mph-band, html[dir="rtl"] .mph-feature, html[dir="rtl"] .mph-report__cta { background-position: center; }
/* Hub cards with icons: open tiles for learn and industry paths. */
.mph-card__ic { --c: var(--ic1); --b: var(--ic1b); width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--b); color: var(--c); margin-block-end: 4px; }
.mph-card:nth-child(5n+2) .mph-card__ic { --c: var(--ic2); --b: var(--ic2b); }
.mph-card:nth-child(5n+3) .mph-card__ic { --c: var(--ic3); --b: var(--ic3b); }
.mph-card:nth-child(5n+4) .mph-card__ic { --c: var(--ic4); --b: var(--ic4b); }
.mph-card:nth-child(5n+5) .mph-card__ic { --c: var(--ic5); --b: var(--ic5b); }
.mph-card:has(.mph-card__ic) { border-color: transparent; background: #F3F8F6; border-radius: 18px; }
.mph-card:has(.mph-card__ic):hover { background: #fff; border-color: transparent; }
.mph-section--tint .mph-card:has(.mph-card__ic), .mph-children .mph-card:has(.mph-card__ic) { background: #fff; }
/* Timelines stay on one row where there is room; vertical in narrow columns. */
@media (min-width: 1000px) {
	.mph-article ol.mph-steps, .mph-h3cards--steps { grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
	.mph-split__body ol.mph-steps, .mph-split__body .mph-h3cards--steps { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr) !important; }
	.mph-split__body ol.mph-steps > li, .mph-split__body .mph-h3cards--steps .mph-h3card--step { padding: 4px 0 22px 52px !important; }
	html[dir="rtl"] .mph-split__body ol.mph-steps > li, html[dir="rtl"] .mph-split__body .mph-h3cards--steps .mph-h3card--step { padding: 4px 52px 22px 0 !important; }
	.mph-split__body ol.mph-steps > li::after, .mph-split__body .mph-h3cards--steps .mph-h3card--step::after { top: 40px; bottom: 0; inset-inline-start: 17px; inset-inline-end: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--mph-teal-200) 0 6px, transparent 6px 11px); }
}

/* Contact form */
.mph-contact { margin: 8px 0 8px; padding: 28px 28px 24px; border: 2px solid var(--mph-teal); border-radius: 16px; background: #fff; }
.mph-contact__title { margin: 0 0 6px !important; font-size: 22px; }
.mph-contact__intro { margin: 0 0 18px; color: var(--mph-slate); }
.mph-contact .mph-lead__field--wide { grid-column: 1 / -1; }
.mph-contact select, .mph-contact textarea { width: 100%; box-sizing: border-box; padding: 10px 14px; border: 1px solid var(--mph-teal-100); border-radius: 8px; font: 16px var(--mph-font); background: #fff; color: var(--mph-ink); }
.mph-contact select { min-height: 46px; }
.mph-contact textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.mph-contact select:focus, .mph-contact textarea:focus { outline: 2px solid var(--mph-teal); outline-offset: 1px; }
.mph-contact .mph-req { color: #B3261E; }
.mph-contact .mph-lead__msg.is-error { color: #B3261E; }
.mph-contact__alt { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--mph-teal-100); color: var(--mph-slate); font-size: 15px; }
@media (max-width: 600px) { .mph-contact { padding: 20px 16px; } }

/* Consent: footer link and the live service list on the Cookies Notice */
.mph-footer__links { display: inline-flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.mph-privacy-settings { cursor: pointer; }
.mph-consent-list { margin: 18px 0 8px; padding: 20px 22px; border-radius: 14px; background: var(--mph-teal-50); }
.mph-consent-list h3 { margin: 22px 0 10px; font-size: 18px; }
.mph-consent-list__note { margin: 16px 0 0; color: var(--mph-slate); font-size: 15px; }

.mph-newsletter__note { margin: 10px 0 0; font-size: 13px; line-height: 1.55; opacity: .85; }
.mph-newsletter__note a { color: inherit; text-decoration: underline; }
