/*
 * EmiratesX design system (one stylesheet policy).
 * Source of truth: Word brief section 02 (tokens, responsive components).
 * Contract for the page builders: build/site/STYLEGUIDE.md.
 *
 * Rules: logical properties only, every custom class starts with ex-, system fonts only,
 * no external requests, motion 180-350ms and switched off by prefers-reduced-motion.
 * Breakpoints (match Elementor): desktop 1025px and up, tablet 768 to 1024, mobile up to 767.
 *
 * Contents
 *  1  Tokens
 *  2  Surfaces (ex-dark, ex-surface, ex-light) and Elementor colour bridge
 *  3  Reset and base
 *  4  Accessibility helpers (focus, skip link, screen reader text, reduced motion)
 *  5  Layout: sections, stacks, grids
 *  6  Typography
 *  7  Buttons and links
 *  8  Header and navigation
 *  9  Hero
 * 10  Intro, category cards, membership teaser, closing
 * 11  Page head, jump links, categories, service rows
 * 12  Memberships: tiers, notes, fee block
 * 13  Contact, legal, forms, 404
 * 14  Footer
 * 15  Style guide helpers (internal page only)
 */

/* ============================================================ 1  Tokens */
:root {
	/* Colour (brief) */
	--ex-bg: #101b18;
	--ex-surface: #182620;
	--ex-ivory: #f4f0e7;
	--ex-ink: #182620;
	--ex-gold: #c3aa78;
	--ex-muted: #bcc6be;
	--ex-line: #3d4d43;
	--ex-line-light: #d9d2c5;
	/* Derived from the palette (documented in STYLEGUIDE.md) */
	--ex-ink-soft: #3d4d43;
	--ex-field-line-dark: #7f9187;
	--ex-field-line-light: #766f61;
	--ex-error-dark: #f0a79e;
	--ex-error-light: #9b2c1f;
	--ex-pending-bg: #ffe9a8;
	--ex-pending-line: #b45309;

	/* Type */
	--ex-font-display: Georgia, "Times New Roman", serif;
	--ex-font-body: Arial, Helvetica, sans-serif;
	--ex-fs-h1: clamp(72px, 3.2vw + 36px, 88px);
	--ex-fs-h2: clamp(44px, 1.9vw + 24px, 56px);
	--ex-fs-h3: clamp(28px, 0.6vw + 22px, 32px);
	--ex-fs-lead: clamp(22px, 0.6vw + 16px, 26px);
	--ex-fs-body: 18px;
	--ex-fs-small: 15px;
	--ex-fs-eyebrow: 12px;
	--ex-lh-h1: 1.1;
	--ex-lh-h2: 1.15;
	--ex-lh-body: 1.65;
	--ex-track-eyebrow: 0.16em;

	/* Layout */
	--ex-container: 1280px;
	--ex-gutter: 64px;
	--ex-gap: 24px;
	--ex-section: 112px;
	--ex-header-h: 88px;
	--ex-edge: max(var(--ex-gutter), calc((100% - var(--ex-container)) / 2));
	--ex-measure: 62ch;
	--ex-measure-legal: 760px;
	--ex-radius: 2px;
	--ex-radius-card: 4px;

	/* Motion */
	--ex-t-fast: 180ms;
	--ex-t: 250ms;
	--ex-t-slow: 350ms;
	--ex-ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

@media (max-width: 1024px) {
	:root {
		--ex-gutter: 32px;
		--ex-gap: 20px;
		--ex-section: 80px;
		--ex-header-h: 72px;
		--ex-fs-h1: clamp(44px, 5.2vw + 4px, 56px);
		--ex-fs-h2: clamp(36px, 1.6vw + 24px, 44px);
		--ex-fs-h3: clamp(26px, 0.8vw + 20px, 30px);
		--ex-fs-lead: clamp(21px, 0.5vw + 17px, 24px);
		--ex-fs-body: 17px;
	}}

@media (max-width: 767px) {
	:root {
		--ex-gutter: 20px;
		--ex-gap: 16px;
		--ex-section: 56px;
		--ex-fs-h1: clamp(36px, 3.2vw + 20px, 44px);
		--ex-fs-h2: clamp(30px, 1.2vw + 22px, 36px);
		--ex-fs-h3: clamp(24px, 0.8vw + 19px, 27px);
		--ex-fs-lead: 21px;
		--ex-fs-body: clamp(16px, 0.6vw + 13.6px, 17px);
		--ex-fs-small: 14px;
	}}

/* ============================================ 2  Surfaces and colour bridge */
/* Every surface sets the context variables that components read.
   Elementor global colours are bridged so unclassed widgets follow the surface. */
:root,
.ex-dark {
	--ex-ctx-bg: var(--ex-bg);
	--ex-fg: var(--ex-ivory);
	--ex-fg-soft: var(--ex-muted);
	--ex-accent: var(--ex-gold);
	--ex-rule: var(--ex-line);
	--ex-rule-strong: var(--ex-gold);
	--ex-focus: var(--ex-gold);
	--ex-btn-bg: var(--ex-gold);
	--ex-btn-fg: var(--ex-bg);
	--ex-btn-border: var(--ex-gold);
	--ex-btn-bg-hover: var(--ex-ivory);
	--ex-btn-fg-hover: var(--ex-bg);
	--ex-btn-border-hover: var(--ex-ivory);
	--ex-ghost-fg: var(--ex-ivory);
	--ex-ghost-border: var(--ex-ivory);
	--ex-ghost-bg-hover: rgba(244, 240, 231, 0.1);
	--ex-field-bg: var(--ex-surface);
	--ex-field-line: var(--ex-field-line-dark);
	--ex-error: var(--ex-error-dark);
	--e-global-color-primary: var(--ex-ivory);
	--e-global-color-secondary: var(--ex-muted);
	--e-global-color-text: var(--ex-muted);
	--e-global-color-accent: var(--ex-gold);
}

.ex-surface {
	--ex-ctx-bg: var(--ex-surface);
	--ex-fg: var(--ex-ivory);
	--ex-fg-soft: var(--ex-muted);
	--ex-accent: var(--ex-gold);
	--ex-rule: var(--ex-line);
	--ex-rule-strong: var(--ex-gold);
	--ex-focus: var(--ex-gold);
	--ex-btn-bg: var(--ex-gold);
	--ex-btn-fg: var(--ex-bg);
	--ex-btn-border: var(--ex-gold);
	--ex-btn-bg-hover: var(--ex-ivory);
	--ex-btn-fg-hover: var(--ex-bg);
	--ex-btn-border-hover: var(--ex-ivory);
	--ex-ghost-fg: var(--ex-ivory);
	--ex-ghost-border: var(--ex-ivory);
	--ex-ghost-bg-hover: rgba(244, 240, 231, 0.1);
	--ex-field-bg: var(--ex-bg);
	--ex-field-line: var(--ex-field-line-dark);
	--ex-error: var(--ex-error-dark);
	--e-global-color-primary: var(--ex-ivory);
	--e-global-color-secondary: var(--ex-muted);
	--e-global-color-text: var(--ex-muted);
	--e-global-color-accent: var(--ex-gold);
}

.ex-light {
	--ex-ctx-bg: var(--ex-ivory);
	--ex-fg: var(--ex-ink);
	--ex-fg-soft: var(--ex-ink-soft);
	/* Gold is never text on ivory: the accent on light surfaces is the ink itself. */
	--ex-accent: var(--ex-ink);
	--ex-rule: var(--ex-line-light);
	--ex-rule-strong: var(--ex-ink);
	--ex-focus: var(--ex-ink);
	--ex-btn-bg: var(--ex-ink);
	--ex-btn-fg: var(--ex-ivory);
	--ex-btn-border: var(--ex-ink);
	--ex-btn-bg-hover: transparent;
	--ex-btn-fg-hover: var(--ex-ink);
	--ex-btn-border-hover: var(--ex-ink);
	--ex-ghost-fg: var(--ex-ink);
	--ex-ghost-border: var(--ex-ink);
	--ex-ghost-bg-hover: rgba(24, 38, 32, 0.07);
	--ex-field-bg: #fbf9f4;
	--ex-field-line: var(--ex-field-line-light);
	--ex-error: var(--ex-error-light);
	--e-global-color-primary: var(--ex-ink);
	--e-global-color-secondary: var(--ex-ink-soft);
	--e-global-color-text: var(--ex-ink);
	--e-global-color-accent: var(--ex-ink);
}

.ex-dark,
.ex-surface,
.ex-light {
	color: var(--ex-fg);
}
.ex-dark {
	background-color: var(--ex-bg);
}
.ex-surface {
	background-color: var(--ex-surface);
}
.ex-light {
	background-color: var(--ex-ivory);
}

/* ================================================================ 3  Reset and base */
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
*,
*::before,
*::after {
	box-sizing: border-box;
}
body {
	margin: 0;
	background-color: var(--ex-bg);
	color: var(--ex-fg);
	font-family: var(--ex-font-body);
	font-size: var(--ex-fs-body);
	font-weight: 400;
	line-height: var(--ex-lh-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-family: var(--ex-font-display);
	font-weight: 400;
	color: inherit;
}
h1 {
	font-size: var(--ex-fs-h1);
	line-height: var(--ex-lh-h1);
}
h2 {
	font-size: var(--ex-fs-h2);
	line-height: var(--ex-lh-h2);
}
h3 {
	font-size: var(--ex-fs-h3);
	line-height: 1.2;
}
/* Elementor kit bridge. The active kit (written by install-design.php) prints, with the same specificity as
   these rules, font-family "Georgia", Sans-serif on h1 to h4, "Arial", Sans-serif on the body, h5, h6 and the
   buttons, and a body line-height of 1.65em, which Elementor turns into a fixed length (29.7px at 18px) that every
   descendant without its own line-height inherits. This stylesheet loads after the kit, so these rules restore
   the brief stacks and a unitless line-height wherever no ex- class decides. */
.elementor-kit-4 {
	font-family: var(--ex-font-body);
	line-height: var(--ex-lh-body);
}
.elementor-kit-4 :is(h1, h2, h3, h4) {
	font-family: var(--ex-font-display);
}
.elementor-kit-4 :is(h5, h6, button, input[type="button"], input[type="submit"], .elementor-button) {
	font-family: var(--ex-font-body);
}
p {
	margin: 0 0 1em;
}
ul,
ol {
	margin: 0;
	padding: 0;
}
a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}
img,
svg,
video {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}
button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
	margin: 0;
}
hr {
	border: 0;
	border-block-start: 1px solid var(--ex-rule);
	margin: 0;
}
figure {
	margin: 0;
}
[hidden] {
	display: none !important;
}
/* Anchors land below the sticky header (brief 03 and 12). */
[id] {
	scroll-margin-block-start: var(--ex-header-h);
}
html.ex-menu-open {
	overflow: hidden;
}
.bhf-hidden {
	display: none !important;
}

/* ================================================== 4  Accessibility helpers */
:focus-visible {
	outline: 2px solid var(--ex-focus);
	outline-offset: 3px;
}
:focus:not(:focus-visible) {
	outline: none;
}
/* main#content is focused by script after the skip link (tabindex -1, never in the Tab order): no ring on the whole page body. */
main[tabindex='-1']:focus {
	outline: 0;
}
.screen-reader-text,
.ex-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}
/* Skip links (Header Footer Elementor prints .hfe-skip-link, Hello prints .skip-link). */
body a.hfe-skip-link:focus,
body a.skip-link:focus,
.screen-reader-text:focus {
	position: fixed !important;
	inset-block-start: 12px;
	inset-inline-start: 12px;
	z-index: 100000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 14px 22px;
	overflow: visible;
	clip: auto;
	clip-path: none;
	white-space: normal;
	background: var(--ex-ivory);
	color: var(--ex-ink);
	font: 600 14px/1.2 var(--ex-font-body);
	letter-spacing: 0.04em;
	text-decoration: none;
	border-radius: var(--ex-radius);
	outline: 2px solid var(--ex-ink);
	outline-offset: 2px;
	box-shadow: 0 0 0 4px var(--ex-gold);
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}}

/* ===================================================== 5  Layout */
/*
 * Sections are Elementor containers (content width Boxed). The class owns the
 * padding, the Elementor "Container Padding" is left empty and the kit default is 0.
 * Surface classes (ex-dark, ex-surface, ex-light) are added next to ex-section.
 */
.e-con.ex-section {
	--padding-top: var(--ex-section);
	--padding-bottom: var(--ex-section);
	--padding-left: var(--ex-gutter);
	--padding-right: var(--ex-gutter);
	--content-width: min(100%, var(--ex-container));
	--gap: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
}
/* Last item of a block has no trailing margin. */
.ex-section > .e-con-inner > :last-child,
.ex-section > :last-child {
	margin-block-end: 0;
}
/* Elementor divider widget used as a gold rule: class ex-rule on the widget. */

/*
 * Widget spacing bridge. Elementor prints the widgets of a container without wrapper margins
 * (the kit "space between widgets" is 0 and .e-con sets --kit-widget-spacing to 0px). The vertical
 * rhythm therefore comes from the role classes: each one sets --ex-mb, and this rule turns it into
 * the bottom margin of the widget. Elementor zeroes widget margins inside containers with
 * '.e-con .elementor-widget.elementor-widget' (0,3,0); '.elementor .e-con > .elementor-widget' ties and wins
 * because this file loads later. Do not use Elementor Advanced > Margin in this build: use the ex-mb-* classes.
 */
.elementor .e-con > .elementor-widget,
.elementor .e-con-inner > .elementor-widget {
	margin-block-end: var(--ex-mb, 0px);
}
.elementor .e-con > .elementor-widget:last-child,
.elementor .e-con-inner > .elementor-widget:last-child {
	margin-block-end: 0;
}
/* Same idea for the width of a widget: Elementor sets max-width 100% on widgets with a (0,4,0) rule,
   so a class cannot lower it directly. Classes set --ex-maxw instead. */
.elementor.elementor .e-con > .elementor-widget,
.elementor.elementor .e-con-inner > .elementor-widget {
	max-width: var(--ex-maxw, 100%);
}
/* Crop focus for images that are cropped by the layout (hero, ex-card__media): put on the image widget. */
.ex-pos-left img {
	object-position: 0% 50%;
}
.ex-pos-right img {
	object-position: 100% 50%;
}
/* Spacing utilities (use instead of Elementor Advanced > Margin): bottom space of a widget. */

/* ============================================================ 6  Typography */
:is(.ex-h1, .ex-h1 .elementor-heading-title, .ex-h1 :is(h1, h2)) {
	font-family: var(--ex-font-display);
	font-weight: 400;
	font-size: var(--ex-fs-h1);
	line-height: var(--ex-lh-h1);
	letter-spacing: -0.01em;
	color: var(--ex-fg);
	text-wrap: balance;
}
:is(.ex-h2, .ex-h2 .elementor-heading-title, .ex-h2 :is(h2, h3)) {
	font-family: var(--ex-font-display);
	font-weight: 400;
	font-size: var(--ex-fs-h2);
	line-height: var(--ex-lh-h2);
	letter-spacing: -0.005em;
	color: var(--ex-fg);
	text-wrap: balance;
}.ex-h1,
.ex-h2 {
	margin-block: 0 24px;
	--ex-mb: 24px;
}
/* Intro paragraph style (display serif, restrained). */
:is(.ex-lead, .ex-lead p) {
	font-family: var(--ex-font-display);
	font-size: var(--ex-fs-lead);
	line-height: 1.5;
	color: var(--ex-fg);
}
.ex-lead {
	margin-block: 0 32px;
	--ex-mb: 32px;
}
/* Line breaks without a lone word on the last line ("possibilities.", "ambition.", "weeks."). Progressive enhancement:
   a browser without text-wrap pretty or balance breaks lines as before, the copy never changes. Balance comes second so
   it wins where both lists name a class (.ex-lead). */
:is(.ex-lead, .ex-lead p, .ex-card__text p, .ex-teaser__note, .ex-notes p, .ex-fee__note, .ex-category__intro p, .ex-service__text p) {
	text-wrap: pretty;
}
:is(.ex-lead, .ex-lead p, .ex-card__title, .ex-category__title) {
	text-wrap: balance;
}
/* Body text. */
:is(.ex-text, .ex-text p) {
	font-family: var(--ex-font-body);
	font-size: var(--ex-fs-body);
	line-height: var(--ex-lh-body);
	color: var(--ex-fg-soft);
}
.ex-text {
	margin-block: 0 24px;
	--ex-mb: 24px;
}
.ex-text p:last-child,
.ex-lead p:last-child {
	margin-block-end: 0;
}
/* The Elementor kit gives every p a bottom margin; the last paragraph of a text widget never keeps it. */
.elementor-widget-text-editor > :last-child {
	margin-block-end: 0;
}
/* Eyebrow: 12px, uppercase, 0.16em. Gold on dark, ink on ivory (gold is never text on ivory). */
/* Rich text links and lists inside ex-prose / text widgets. */.ex-text a,
.ex-lead a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
	transition: color var(--ex-t-fast) var(--ex-ease), text-decoration-color var(--ex-t-fast) var(--ex-ease);
}.ex-dark .ex-text a:hover,
.ex-surface .ex-text a:hover {
	color: var(--ex-gold);
}.ex-light .ex-text a:hover {
	text-decoration-thickness: 2px;
}

/* ====================================================== 7  Buttons and links */
a.ex-btn,
button.ex-btn,
.elementor .ex-btn .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	min-height: 48px;
	padding: 0 24px;
	border: 1px solid var(--ex-btn-border);
	border-radius: var(--ex-radius);
	background: var(--ex-btn-bg);
	color: var(--ex-btn-fg);
	fill: currentColor;
	font-family: var(--ex-font-body);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
	transition: background-color var(--ex-t) var(--ex-ease), color var(--ex-t) var(--ex-ease), border-color var(--ex-t) var(--ex-ease);
}
a.ex-btn:hover,
button.ex-btn:hover,
.elementor .ex-btn .elementor-button:hover,
a.ex-btn:focus-visible,
.elementor .ex-btn .elementor-button:focus-visible {
	background: var(--ex-btn-bg-hover);
	color: var(--ex-btn-fg-hover);
	border-color: var(--ex-btn-border-hover);
}
a.ex-btn--ghost,
button.ex-btn--ghost,
.elementor .ex-btn--ghost .elementor-button {
	background: transparent;
	color: var(--ex-ghost-fg);
	border-color: var(--ex-ghost-border);
}
a.ex-btn--ghost:hover,
button.ex-btn--ghost:hover,
.elementor .ex-btn--ghost .elementor-button:hover,
a.ex-btn--ghost:focus-visible,
.elementor .ex-btn--ghost .elementor-button:focus-visible {
	background: var(--ex-ghost-bg-hover);
	color: var(--ex-ghost-fg);
	border-color: var(--ex-ghost-border);
}
.elementor .ex-btn .elementor-button-text {
	line-height: 1.2;
}
.elementor-widget.ex-btn {
	width: auto;
}
.elementor-widget.ex-btn .elementor-button-wrapper {
	text-align: start;
}
.ex-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
}
.e-con.ex-btn-row {
	--flex-direction: row;
	--flex-wrap: wrap;
	--gap: 16px;
	--row-gap: 16px;
	--column-gap: 16px;
	--align-items: center;
	flex-direction: row;
}
.ex-btn-row > .elementor-widget {
	width: auto;
	flex: 0 0 auto;
}
@media (max-width: 767px) {
	.ex-btn-row--stack,
	.ex-btn-row--stack.e-con {
		flex-direction: column;
		align-items: stretch;
	}
	.ex-btn-row--stack a.ex-btn,
	.ex-btn-row--stack .elementor-button {
		width: 100%;
	}
	.ex-btn-row--stack > .elementor-widget {
		width: 100%;
	}}
/* Text link with a fine underline. */
:is(a.ex-link, .ex-link a, .ex-link .elementor-button) {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0;
	border: 0;
	border-block-end: 1px solid currentcolor;
	border-radius: 0;
	background: none;
	color: var(--ex-fg);
	font-family: var(--ex-font-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	transition: color var(--ex-t) var(--ex-ease), border-color var(--ex-t) var(--ex-ease);
}
:is(a.ex-link, .ex-link a, .ex-link .elementor-button):hover {
	color: var(--ex-accent);
}
.ex-light :is(a.ex-link, .ex-link a):hover {
	color: var(--ex-ink);
	border-color: var(--ex-gold);
}
/* The Elementor kit paints .elementor-button:hover and :focus with an ivory fill and #101B18 text (specificity 0,3,0,
   above the 0,2,0 reset of an ex-link). An ex-link never has a fill: colour on hover (gold on dark, ink on ivory) and
   at rest while focused with a pointer, so the text keeps its contrast on the surface behind it. */
.elementor .ex-link .elementor-button:is(:hover, :focus, :focus-visible) {
	background: none;
	box-shadow: none;
	border-color: currentcolor;
	color: var(--ex-fg);
}
.elementor .ex-link .elementor-button:hover {
	color: var(--ex-accent);
}
.elementor .ex-light .ex-link .elementor-button:hover {
	border-color: var(--ex-gold);
}

/* ============================================ 8  Header and navigation */
/* Header Footer Elementor prints <header id="masthead"> around the header template. */
#masthead,
body.ehf-header #masthead {
	position: sticky;
	inset-block-start: 0;
	z-index: 1000;
	background: var(--ex-bg);
	/* The divider is an inset shadow so the header is exactly 88px (72px on mobile) tall. */
	box-shadow: inset 0 -1px 0 transparent;
	transition: background-color var(--ex-t) var(--ex-ease), box-shadow var(--ex-t) var(--ex-ease);
}
/* The state selectors repeat the "body.ehf-header" part of the base rule above (1,1,1), otherwise the transparent
   resting shadow outranks them and the divider never appears. */
body #masthead.is-scrolled,
body #masthead.is-menu-open,
body.ehf-header #masthead.is-scrolled,
body.ehf-header #masthead.is-menu-open {
	box-shadow: inset 0 -1px 0 var(--ex-line);
}
.footer-width-fixer {
	width: 100%;
}
body.admin-bar #masthead,
body.admin-bar.ehf-header #masthead {
	inset-block-start: 32px;
}
/* Overlay header (front page): transparent over the hero until the page scrolls. */
body.ex-overlay-header #masthead,
body.ex-overlay-header.ehf-header #masthead {
	position: fixed;
	inset-inline: 0;
	background: transparent;
}
body.ex-overlay-header #masthead.is-scrolled,
body.ex-overlay-header #masthead.is-menu-open,
body.ex-overlay-header.ehf-header #masthead.is-scrolled,
body.ex-overlay-header.ehf-header #masthead.is-menu-open {
	background: var(--ex-bg);
}
@media (max-width: 782px) {
	body.admin-bar #masthead,
	body.admin-bar.ehf-header #masthead {
		inset-block-start: 46px;
	}}

.e-con.ex-header {
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	--gap: 32px;
	--row-gap: 32px;
	--column-gap: 32px;
	--flex-direction: row;
	--flex-wrap: nowrap;
	--align-items: center;
	--justify-content: space-between;
	--width: 100%;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	min-height: var(--ex-header-h);
	padding-inline: var(--ex-edge);
	color: var(--ex-ivory);
}
.ex-header > .elementor-widget {
	width: auto;
	margin: 0;
	flex: 0 0 auto;
}
.ex-header__nav {
	flex: 1 1 auto !important;
	min-width: 0;
}
.ex-logo,
.ex-logo a {
	display: block;
	line-height: 0;
}
.ex-logo {
	--ex-logo-w: 232px;
}
.ex-logo--footer {
	--ex-logo-w: 220px;
}
.ex-logo--hero {
	--ex-logo-w: 150px;
}
.elementor-widget.ex-logo {
	width: var(--ex-logo-w);
	max-width: 100%;
}
.ex-header > .elementor-widget.ex-logo {
	width: var(--ex-logo-w);
}
.ex-logo img,
.elementor-widget-image.ex-logo a img[src$=".svg"] {
	display: block;
	width: 100%;
	height: auto;
}
.ex-logo a:focus-visible {
	outline-color: var(--ex-gold);
}
/* Touch target: the logo link is only as high as the image (23 to 29px). An invisible 10px extension above and below makes
   it 43 to 49px high without moving anything (no padding or margin, so the header height token is untouched). */
:is(.ex-header, .ex-footer) .ex-logo a {
	position: relative;
}
:is(.ex-header, .ex-footer) .ex-logo a::after {
	content: "";
	position: absolute;
	inset-block: -10px;
	inset-inline: 0;
}
@media (max-width: 767px) {
	.ex-logo {
		--ex-logo-w: 188px;
	}
	.ex-logo--footer {
		--ex-logo-w: 200px;
	}
	.ex-logo--hero {
		--ex-logo-w: 140px;
	}}
/* 320px (the reflow test width, WCAG 1.4.10): logo 188 + gap 32 + Menu button 83 + 2 x 20 gutter was 323px wide.
   A smaller gap and a 150px logo leave the 20px gutter and fit with 20px to spare (360px and up are untouched). */
@media (max-width: 359px) {
	.e-con.ex-header {
		--gap: 12px;
		--row-gap: 12px;
		--column-gap: 12px;
		gap: 12px;
	}
	.ex-header > .elementor-widget.ex-logo {
		--ex-logo-w: 150px;
	}}

.ex-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}
.ex-nav__toggle {
	display: none;
}
/* The Elementor kit styles every <button> on hover and focus (ivory fill); the toggle keeps its own look. */
.ex-nav .ex-nav__toggle,
.ex-nav .ex-nav__toggle:hover,
.ex-nav .ex-nav__toggle:focus,
.ex-nav .ex-nav__toggle:active {
	background: none;
	color: var(--ex-ivory);
	border: 0;
	box-shadow: none;
}
.ex-nav .ex-nav__toggle:hover .ex-nav__toggle-label,
.ex-nav .ex-nav__toggle:focus-visible .ex-nav__toggle-label {
	color: var(--ex-gold);
}
.ex-nav__panel {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}
.ex-nav__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0 clamp(20px, 2.6vw, 40px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.ex-nav__item {
	margin: 0;
}
.ex-nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0 2px;
	color: var(--ex-ivory);
	font-family: var(--ex-font-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	transition: color var(--ex-t-fast) var(--ex-ease);
}
.ex-nav__link::after {
	content: "";
	position: absolute;
	inset-inline: 2px;
	inset-block-end: 8px;
	height: 1px;
	background: var(--ex-gold);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--ex-t) var(--ex-ease);
}
.ex-nav__link:hover::after,
.ex-nav__link:focus-visible::after,
.ex-nav__item.is-current .ex-nav__link::after {
	transform: scaleX(1);
}
.ex-nav__cta {
	display: none;
}
.ex-header__cta {
	flex: 0 0 auto;
}

/* Desktop: the five links never wrap. Between 1025px and 1199px the header is compacted so logo, links and the button fit one line. */
@media (min-width: 1025px) {
	.ex-nav__list {
		flex-wrap: nowrap;
	}}
@media (min-width: 1025px) and (max-width: 1199px) {
	.e-con.ex-header {
		--gap: 24px;
		--row-gap: 24px;
		--column-gap: 24px;
		gap: 24px;
	}
	.ex-logo {
		--ex-logo-w: 196px;
	}
	.ex-nav__list {
		gap: 0 18px;
	}
	.ex-nav__link {
		font-size: 12px;
		letter-spacing: 0.1em;
	}
	.elementor .ex-header__cta .elementor-button {
		padding-inline: 20px;
		letter-spacing: 0.1em;
	}}

@media (max-width: 1024px) {
	.ex-header__cta {
		display: none;
	}
	.ex-header__nav {
		flex: 0 0 auto !important;
		margin-inline-start: auto;
	}
	.ex-nav {
		width: auto;
	}
	.ex-js .ex-nav__toggle {
		display: inline-flex;
		align-items: center;
		gap: 14px;
		min-height: 48px;
		min-width: 48px;
		padding: 0 2px;
		border: 0;
		background: none;
		color: var(--ex-ivory);
		font-family: var(--ex-font-body);
		font-size: 12px;
		font-weight: 700;
		letter-spacing: var(--ex-track-eyebrow);
		text-transform: uppercase;
		cursor: pointer;
	}
	.ex-nav__bars {
		position: relative;
		display: block;
		width: 24px;
		height: 12px;
	}
	.ex-nav__bars::before,
	.ex-nav__bars::after {
		content: "";
		position: absolute;
		inset-inline: 0;
		height: 2px;
		background: currentcolor;
		transition: transform var(--ex-t) var(--ex-ease), inset-block-start var(--ex-t) var(--ex-ease);
	}
	.ex-nav__bars::before {
		inset-block-start: 0;
	}
	.ex-nav__bars::after {
		inset-block-start: 10px;
	}
	.ex-nav.is-open .ex-nav__bars::before {
		inset-block-start: 5px;
		transform: rotate(45deg);
	}
	.ex-nav.is-open .ex-nav__bars::after {
		inset-block-start: 5px;
		transform: rotate(-45deg);
	}
	/* The panel is a fixed sheet under the header. Without JS it stays a normal list. */
	.ex-js .ex-nav__panel {
		display: none;
		position: fixed;
		inset-inline: 0;
		inset-block-start: var(--ex-header-h);
		z-index: 999;
		height: calc(100vh - var(--ex-header-h));
		height: calc(100dvh - var(--ex-header-h));
		overflow-y: auto;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		padding: 16px var(--ex-gutter) 48px;
		background: var(--ex-bg);
		border-block-start: 1px solid var(--ex-line);
	}
	body.admin-bar.ex-js .ex-nav__panel,
	body.admin-bar .ex-js .ex-nav__panel {
		inset-block-start: calc(var(--ex-header-h) + 32px);
	}
	.ex-js .ex-nav.is-open .ex-nav__panel {
		display: flex;
		animation: ex-panel-in var(--ex-t) var(--ex-ease);
	}
	.ex-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
	}
	.ex-nav__item {
		border-block-end: 1px solid var(--ex-line);
	}
	.ex-nav__link {
		display: flex;
		width: 100%;
		min-height: 64px;
		padding: 0;
		font-family: var(--ex-font-display);
		font-size: 28px;
		font-weight: 400;
		letter-spacing: 0;
		text-transform: none;
	}
	.ex-nav__link::after {
		display: none;
	}
	.ex-nav__item.is-current .ex-nav__link {
		color: var(--ex-gold);
	}
	.ex-nav__cta {
		display: block;
		margin-block-start: 32px;
	}
	.ex-nav__cta .ex-btn {
		width: 100%;
	}
	/* No JavaScript: show the links as a wrapping row below the logo. */
	html:not(.ex-js) .e-con.ex-header {
		flex-wrap: wrap;
		padding-block: 16px;
	}
	html:not(.ex-js) .ex-nav__list {
		flex-direction: row;
	}
	html:not(.ex-js) .ex-nav__item {
		border: 0;
	}
	html:not(.ex-js) .ex-nav__link {
		min-height: 48px;
		font-size: 13px;
		font-family: var(--ex-font-body);
		font-weight: 700;
		letter-spacing: 0.14em;
		text-transform: uppercase;
		width: auto;
		padding: 0 10px;
	}}
/* Windows forced colours (High Contrast): the hamburger and close icon are two pseudo element bars painted with a
   background, which the browser forces to the page colour, so they vanished (the MENU or CLOSE text stayed). The bars take the
   text colour. The logo is a raster with a transparent ground (ivory and gold): on a light high contrast page it nearly
   vanished, so it gets its own dark plate there. Nothing changes outside forced colours. */
@media (forced-colors: active) {
	.ex-nav__bars::before,
	.ex-nav__bars::after {
		background: CanvasText;
		forced-color-adjust: none;
	}
	/* The plate sits on the logo widget (padding on the image itself collapsed it to 20px: the link is an inline-block that
	   shrinks to its content). A shadow ring gives the plate its margin and takes no layout space. */
	.ex-header .ex-logo,
	.ex-footer .ex-logo {
		forced-color-adjust: none;
		background: #101b18;
		box-shadow: 0 0 0 6px #101b18;
	}}
@keyframes ex-panel-in {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ======================================================= 9  Hero */
/*
 * ex-hero: Elementor container, content width Full. Children: image widget
 * (ex-hero__media ex-hero-img ex-decor) and a container ex-hero__content.
 * Height 75-85vh (80vh), never above 900px. Under 768px the image becomes its
 * own panel and the text sits in a separate panel below it.
 */
.e-con.ex-hero {
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	--gap: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
	--flex-direction: column;
	--justify-content: flex-end;
	--align-items: stretch;
	--width: 100%;
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: clamp(560px, 80vh, 900px);
	overflow: hidden;
	background: var(--ex-bg);
	color: var(--ex-ivory);
}
.ex-hero > .ex-hero__media.elementor-widget {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	margin: 0;
}
.ex-hero__media img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 50% 50%;
}
/* From 768px the photograph fills the whole hero and the headline sits at the bottom left: crop low (82%) so the hull
   stays above the headline and only the wake is behind it (worst headline pixel 3.1:1 at 1280x720 before, 3.6:1 and
   better after). The mobile panel (under 768px) keeps its centred crop. */
@media (min-width: 768px) {
	.ex-hero__media img {
		object-position: 50% 82%;
	}}
/* The hero height stops at 900px, so on very wide screens the photograph is cropped much harder and a low crop would cut
   the bow under the header. Higher focus there (measured: the bow stays at least 100px below the top edge). */
@media (min-width: 2200px) {
	.ex-hero__media img {
		object-position: 50% 66%;
	}}
@media (min-width: 2400px) {
	.ex-hero__media img {
		object-position: 50% 60%;
	}}
@media (min-width: 3200px) {
	.ex-hero__media img {
		object-position: 50% 50%;
	}}
.ex-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
			linear-gradient(90deg, rgba(16, 27, 24, 0.56) 0%, rgba(16, 27, 24, 0.3) 46%, rgba(16, 27, 24, 0) 82%),
			linear-gradient(180deg, rgba(16, 27, 24, 0.62) 0%, rgba(16, 27, 24, 0.22) 30%, rgba(16, 27, 24, 0.4) 55%, rgba(16, 27, 24, 0.86) 100%);
	pointer-events: none;
}
.e-con.ex-hero__content {
	--padding-top: calc(var(--ex-header-h) + 48px);
	--padding-bottom: clamp(56px, 8vh, 96px);
	--padding-left: 0px;
	--padding-right: 0px;
	--gap: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
	--width: 100%;
	--margin-left: 0px;
	--margin-right: 0px;
	position: relative;
	width: 100%;
	max-width: none;
	padding-inline: var(--ex-edge);
	padding-block: calc(var(--ex-header-h) + 48px) clamp(56px, 8vh, 96px);
}
.ex-hero__content > .elementor-widget {
	max-width: 880px;
	--ex-maxw: 880px;
}
.ex-hero__wordmark {
	margin-block-end: 28px;
	--ex-mb: 28px;
}
:is(.ex-hero__supporting, .ex-hero__supporting p) {
	font-family: var(--ex-font-display);
	font-size: var(--ex-fs-lead);
	line-height: 1.4;
	color: var(--ex-ivory);
}
.ex-hero__supporting {
	margin-block: 20px 36px;
	--ex-mb: 36px;
}
.ex-hero :is(.ex-h1, .ex-h1 .elementor-heading-title) {
	color: var(--ex-ivory);
	margin-block-end: 0;
	--ex-mb: 0;
}
@media (max-width: 767px) {
	.e-con.ex-hero {
		height: auto;
		min-height: 0;
		overflow: visible;
		justify-content: flex-start;
	}
	.ex-hero > .ex-hero__media.elementor-widget {
		position: relative;
		inset: auto;
		z-index: 0;
		height: auto;
		aspect-ratio: 4 / 3;
		min-height: 260px;
	}
	/* Only a scrim for the header over the image panel; no copy sits on the photo. Dark enough behind the logo and the
	   Menu toggle (ivory 4.3:1 worst pixel over the bright wave texture, was 2.6:1), clear before the vessel (from about 34%). */
	.ex-hero__media::after {
		background: linear-gradient(180deg, rgba(16, 27, 24, 0.82) 0%, rgba(16, 27, 24, 0.5) 18%, rgba(16, 27, 24, 0) 42%);
	}
	.e-con.ex-hero__content {
		--padding-top: 40px;
		--padding-bottom: 56px;
		padding-block: 40px 56px;
		background: var(--ex-bg);
	}
	.ex-hero__supporting {
		margin-block: 16px 28px;
		--ex-mb: 28px;
	}}

/* ================================== 10  Intro, cards, membership teaser, closing */
.ex-intro .ex-intro__text {
	max-width: 760px;
	margin-inline: auto;
}
.ex-intro :is(.ex-lead, .ex-lead p) {
	font-size: clamp(24px, 1.2vw + 16px, 32px);
	line-height: 1.45;
}
.ex-intro .ex-intro__text .ex-lead {
	margin-block-end: 36px;
	--ex-mb: 36px;
}

/* Category cards: ex-cards (grid) with five ex-card containers. */
.e-con.ex-cards {
	--display: grid;
	--gap: var(--ex-gap);
	--row-gap: var(--ex-gap);
	--column-gap: var(--ex-gap);
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	--width: 100%;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: calc(var(--ex-gap) * 1.5) var(--ex-gap);
	margin-block-start: 56px;
}
.ex-cards > .e-con,
.ex-cards > .ex-card {
	--width: 100%;
	--margin-left: 0px;
	--margin-right: 0px;
	width: auto;
	max-width: none;
	grid-column: span 4;
}
.ex-cards > .ex-card:nth-child(-n + 2) {
	grid-column: span 6;
}
@media (max-width: 1024px) {
	.e-con.ex-cards {
		grid-template-columns: repeat(8, minmax(0, 1fr));
	}
	.ex-cards > .ex-card,
	.ex-cards > .ex-card:nth-child(-n + 2) {
		grid-column: span 4;
	}
	.ex-cards > .ex-card:nth-child(5) {
		grid-column: 3 / span 4;
	}}
@media (max-width: 767px) {
	.e-con.ex-cards {
		grid-template-columns: minmax(0, 1fr);
		margin-block-start: 40px;
	}
	.ex-cards > .ex-card,
	.ex-cards > .ex-card:nth-child(-n + 2),
	.ex-cards > .ex-card:nth-child(5) {
		grid-column: auto;
	}}
.e-con.ex-card,
a.ex-card {
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	--gap: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	color: var(--ex-fg);
	text-decoration: none;
	border-block-end: 1px solid var(--ex-rule);
	padding-block-end: 28px;
	transition: border-color var(--ex-t) var(--ex-ease);
}
.ex-card:hover,
.ex-card:focus-visible {
	border-block-end-color: var(--ex-gold);
}
.ex-card__media {
	overflow: hidden;
	margin: 0 0 24px;
	background: var(--ex-surface);
	border-radius: var(--ex-radius-card);
	--ex-mb: 24px;
}
.ex-card__media img {
	display: block;
	width: 100%;
	max-width: none;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform var(--ex-t-slow) var(--ex-ease);
}
.ex-card:hover .ex-card__media img,
.ex-card:focus-visible .ex-card__media img {
	transform: scale(1.03);
}
:is(.ex-card__title, .ex-card__title .elementor-heading-title) {
	font-family: var(--ex-font-display);
	font-size: clamp(26px, 0.8vw + 20px, 32px);
	font-weight: 400;
	line-height: 1.2;
	color: var(--ex-fg);
}
.ex-card__title {
	margin-block: 0 12px;
	--ex-mb: 12px;
}
:is(.ex-card__text, .ex-card__text p) {
	font-size: 16px;
	line-height: 1.6;
	color: var(--ex-fg-soft);
}
.ex-card__text {
	margin-block: 0 20px;
	max-width: 52ch;
	--ex-maxw: 52ch;
	--ex-mb: 20px;
}
:is(.ex-card__cta, .ex-card__cta p, .ex-card__cta .elementor-heading-title) {
	display: inline-block;
	font-family: var(--ex-font-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ex-fg);
}
.ex-card__cta {
	margin: auto 0 0;
	align-self: flex-start;
	padding-block-end: 4px;
	border-block-end: 1px solid var(--ex-gold);
}
.ex-card__cta p {
	margin: 0;
}

/* Three pillars (home, round 2, STYLEGUIDE 6.15): a typographic overview under the category cards, no images.
   ex-pillars__grid is a Full width grid container with three ex-pillar containers (heading + list). From 960px three
   columns, each with a 2px gold rule on top; the two rows (heading, list) are shared through subgrid, so the first
   rule of every column starts at the same height even when one label wraps. Below 960px the pillars stack. */
.e-con.ex-pillars__grid {
	--display: grid;
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	--gap: 56px;
	--row-gap: 56px;
	--column-gap: 0px;
	--width: 100%;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 56px 0;
}
.ex-pillars__grid > .e-con,
.ex-pillars__grid > .ex-pillar {
	--width: 100%;
	--margin-left: 0px;
	--margin-right: 0px;
	width: auto;
	max-width: none;
}
.e-con.ex-pillar {
	--padding-top: 32px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	--gap: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
	display: flex;
	flex-direction: column;
	padding-block-start: 32px;
	border-block-start: 2px solid var(--ex-gold);
}
:is(.ex-pillar__title, .ex-pillar__title .elementor-heading-title) {
	font-family: var(--ex-font-display);
	font-size: var(--ex-fs-h3);
	font-weight: 400;
	line-height: 1.2;
	color: var(--ex-fg);
	text-wrap: balance;
}
.ex-pillar__title {
	margin: 0 0 28px;
	--ex-mb: 28px;
}
.ex-pillar__list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.ex-pillar__item {
	margin: 0;
	padding-block: 24px;
	border-block-start: 1px solid var(--ex-rule);
}
.ex-pillar__item:last-child {
	padding-block-end: 0;
}
.ex-pillar__link {
	display: inline-block;
	font-family: var(--ex-font-display);
	font-size: clamp(22px, 0.5vw + 18px, 26px);
	line-height: 1.25;
	color: var(--ex-fg);
	text-decoration: underline;
	text-decoration-color: var(--ex-gold);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
	transition: text-decoration-color var(--ex-t-fast) var(--ex-ease);
}
.ex-pillar__link:hover,
.ex-pillar__link:focus-visible {
	text-decoration-color: var(--ex-ivory);
}
.ex-pillar__text {
	max-width: 40ch;
	margin: 12px 0 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ex-fg-soft);
	text-wrap: pretty;
}
@media (min-width: 960px) {
	.e-con.ex-pillars__grid {
		--column-gap: clamp(32px, 4.4vw, 64px);
		grid-template-columns: repeat(3, minmax(0, 1fr));
		grid-template-rows: auto 1fr;
		gap: 0 clamp(32px, 4.4vw, 64px);
	}
	.ex-pillars__grid > .ex-pillar {
		display: grid;
		grid-row: span 2;
		grid-template-rows: subgrid;
		grid-template-columns: minmax(0, 1fr);
		align-content: start;
	}}

/* Photograph band (home, round 2, STYLEGUIDE 6.16): one full width decorative photograph, no text, no overlay.
   21:9 from 1025px (never taller than 760px or 85% of the window), 16:9 on tablets, 4:3 on phones. The photograph is a top down
   view of a small island at 49% / 51% of the frame, so the focus stays on it at every crop. The image carries
   ex-decor (alt empty) and is lazy like every image except the hero. */
.e-con.ex-band {
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	--gap: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
	--width: 100%;
	overflow: hidden;
}
.ex-band__media {
	--ex-mb: 0px;
	margin: 0;
}
.ex-band__media img {
	display: block;
	width: 100%;
	max-width: none;
	aspect-ratio: 21 / 9;
	max-height: min(760px, 85vh);
	object-fit: cover;
	object-position: 49% 51%;
}
@media (max-width: 1024px) {
	.ex-band__media img {
		aspect-ratio: 16 / 9;
	}}
@media (max-width: 767px) {
	.ex-band__media img {
		aspect-ratio: 4 / 3;
	}}

/* Membership teaser (plain dark). */
.ex-teaser__head {
	max-width: 720px;
}
.ex-teaser__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--ex-gap);
	margin: 48px 0 40px;
	padding: 0;
	list-style: none;
}
.ex-teaser__item {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-block-start: 24px;
	border-block-start: 1px solid var(--ex-gold);
}
.ex-teaser__name {
	font-size: var(--ex-fs-eyebrow);
	font-weight: 700;
	letter-spacing: var(--ex-track-eyebrow);
	text-transform: uppercase;
	color: var(--ex-accent);
}
.ex-teaser__price {
	font-family: var(--ex-font-display);
	font-size: clamp(22px, 1.4vw + 12px, 36px);
	line-height: 1.2;
	color: var(--ex-fg);
}
.ex-teaser__note {
	margin-block: 0 28px;
	font-size: var(--ex-fs-small);
	color: var(--ex-fg-soft);
	--ex-mb: 28px;
}
@media (max-width: 767px) {
	.ex-teaser__list {
		grid-template-columns: minmax(0, 1fr);
		margin-block: 32px;
	}}

/* Closing invitation: typography only, gold rule. */
.ex-closing {
	text-align: center;
}
/* The rule is drawn inside the padded area: on the inner wrapper of a boxed container, on the container itself otherwise. */
.ex-closing:not(.e-con)::before,
.e-con-full.ex-closing::before,
.e-con-boxed.ex-closing > .e-con-inner::before {
	content: "";
	display: block;
	width: 72px;
	height: 2px;
	margin: 0 auto 40px;
	background: var(--ex-gold);
	flex: 0 0 auto;
	align-self: center;
}
.ex-closing :is(.ex-h2, .ex-h2 .elementor-heading-title) {
	font-size: clamp(36px, 2.6vw + 22px, 64px);
	margin-block-end: 20px;
	--ex-mb: 20px;
}
.ex-closing :is(.ex-lead, .ex-lead p) {
	max-width: 620px;
	margin-inline: auto;
}
.ex-closing .ex-lead {
	margin-block-end: 36px;
	--ex-mb: 36px;
}
.ex-closing .elementor-widget.ex-btn .elementor-button-wrapper {
	text-align: center;
}
.ex-closing > .elementor-widget,
.ex-closing > .e-con-inner > .elementor-widget {
	width: 100%;
}

/* ===================== 11  Page head, jump links, categories, service rows */
.e-con.ex-pagehead {
	--padding-top: clamp(72px, 9vw, 120px);
	--padding-bottom: clamp(48px, 6vw, 88px);
	--padding-left: var(--ex-gutter);
	--padding-right: var(--ex-gutter);
	--content-width: min(100%, var(--ex-container));
	--gap: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
	border-block-end: 1px solid var(--ex-rule);
}
.ex-pagehead :is(.ex-lead, .ex-lead p) {
	max-width: 760px;
}
.ex-pagehead .ex-lead {
	margin-block-end: 0;
	--ex-mb: 0;
}
.ex-pagehead :is(.ex-h1, .ex-h1 .elementor-heading-title) {
	margin-block-end: 28px;
	--ex-mb: 28px;
}

/* About: 45% text and 55% photograph (S17-P). ex-about is a Full width grid container with two children. */
.ex-about__media {
	--ex-mb: 0px;
	margin: 0;
	overflow: hidden;
	border-radius: var(--ex-radius-card);
	background: var(--ex-surface);
}
.ex-about__media img {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
}

/* Five category jump links. */
.ex-jump__link {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 8px 20px;
	border: 1px solid var(--ex-rule);
	border-radius: var(--ex-radius);
	color: var(--ex-fg);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.3;
	text-transform: uppercase;
	text-decoration: none;
	transition: border-color var(--ex-t) var(--ex-ease), color var(--ex-t) var(--ex-ease), background-color var(--ex-t) var(--ex-ease);
}
.ex-jump__link:hover,
.ex-jump__link:focus-visible {
	border-color: var(--ex-gold);
	background: rgba(195, 170, 120, 0.1);
}
/* From 960px (round 2): the bar is sticky under the header, so it must be low. One row of five chips (it was a 3 + 2 grid,
   172px tall, which would cover a fifth of the window while stuck): the chips share the row in proportion to their label,
   the long labels use two lines (three below about 1100px), every chip is 48px or more high and as high as the tallest one.
   The height is the same stuck or not, so nothing moves when the bar sticks. 768px to 959px keeps the wrapping flex list,
   phones keep the two column grid below. */
@media (min-width: 960px) {
	.ex-jump__link {
		width: 100%;
		min-width: 0;
		justify-content: center;
		text-align: center;
		padding: 6px 12px;
		font-size: 12px;
		letter-spacing: 0.06em;
	}}
/* The category in view (set by assets/js/emiratesx.js while the bar is sticky): same box, gold border and a stronger tint,
   so nothing changes size. Hover and keyboard focus keep the lighter tint. */
.ex-jump__link[aria-current] {
	border-color: var(--ex-gold);
	background: rgba(195, 170, 120, 0.2);
}
@media (max-width: 767px) {
	.ex-jump__link {
		width: 100%;
		justify-content: center;
		text-align: center;
		padding-inline: 10px;
		letter-spacing: 0.06em;
		min-height: 52px;
	}}
.e-con.ex-jumpbar {
	--padding-top: 32px;
	--padding-bottom: 32px;
	--padding-left: var(--ex-gutter);
	--padding-right: var(--ex-gutter);
	--content-width: min(100%, var(--ex-container));
	border-block-end: 1px solid var(--ex-rule);
}
/* Sticky category bar (round 2, STYLEGUIDE 6.18): from 960px the bar stays just under the sticky header once the page has
   scrolled past it. Solid page colour (ex-dark) and its fine bottom rule, below the header (z-index 1000) and above the
   page. Not sticky below 960px. The closing invitation is lifted above it, so the bar slides away under that section
   instead of staying over it. assets/js/emiratesx.js publishes the bar height as --ex-jumpbar-h (100px until it runs) and
   marks the category in view with aria-current. */
@media (min-width: 960px) {
	.e-con.ex-jumpbar {
		--padding-top: 16px;
		--padding-bottom: 16px;
		position: sticky;
		inset-block-start: var(--ex-header-h);
		z-index: 20;
	}
	.ex-jumpbar ~ .ex-closing,
	.ex-jumpbar ~ .ex-teaser {
		position: relative;
		z-index: 21;
	}
	/* Targets and focused controls never end up under the header and the bar. */.ex-closing a[href] {
		scroll-margin-block-start: calc(var(--ex-header-h) + var(--ex-jumpbar-h, 100px));
	}}

/* Services index (round 2, STYLEGUIDE 6.17): nav "Services index" under the jump bar, no visible heading. A grid of five
   groups from 768px (five columns from 1025px, three before), native details elements on phones. The stylesheet shows
   one of the two representations, so the other is out of the tab order and the accessibility tree. */

/* Category block: heading plus intro, then its service rows. */

/*
 * Service row: four direct children (title, media, text, action) so the mobile
 * order is heading, image, paragraph, button. From 1025px up the grid puts the
 * text in one column and the image on the other side (ex-service--flip swaps them).
 */
.ex-service__media {
	margin: 0 0 24px;
	overflow: hidden;
	border-radius: var(--ex-radius-card);
	background: var(--ex-surface);
	--ex-mb: 24px;
}
.ex-service__media img {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
}
/* Measure: 28em is about 58 characters per line of Arial body text (brief: 52 to 65). Measured in build/qa/design/run-checks.js. */
/* Between 960px and 1024px (iPad landscape) the rows are two columns as well: stacked, every row was taller than the
   screen (full width photo, 476px text under a 960px picture) and the page was twice as long. 768px to 959px stays stacked:
   from 960px the text column holds 52 or more characters per line (49 at 900px). */

/* ============================================ 12  Memberships */
.e-con.ex-tier {
	--display: grid;
	--padding-top: 40px;
	--padding-bottom: 40px;
	--padding-left: 36px;
	--padding-right: 36px;
	--gap: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: auto auto 1fr auto;
	align-content: start;
	background: var(--ex-surface);
	border: 1px solid var(--ex-line);
	border-radius: var(--ex-radius-card);
	color: var(--ex-ivory);
}
.ex-tier::before {
	content: "";
	position: absolute;
	inset-inline: -1px;
	inset-block-start: -1px;
	height: 2px;
	background: var(--ex-gold);
	border-start-start-radius: var(--ex-radius-card);
	border-start-end-radius: var(--ex-radius-card);
}
/* Narrow desktop columns (1025px to 1199px): the label "Apply for Standard" must not wrap either. Same 0,3,0 as the
   base button rule in section 7, later in the file. */
@media (max-width: 767px) {
	.e-con.ex-tier {
		--padding-top: 32px;
		--padding-bottom: 32px;
		--padding-left: 24px;
		--padding-right: 24px;
	}}

/* Notes directly under the cards (readable, never hidden). The block spans the grid, each note keeps a reading measure. */

/* Quotation information block: as wide as the card grid above it, so the edges line up. */

/* ========================================== 13  Contact, legal, forms, 404 */

/* Two ways in (contact, round 3, STYLEGUIDE 6.19): under the email block, still ivory. Two containers (heading, text,
   button) side by side from 768px, each under a 1px ink rule; stacked on phones. The section starts with no top padding,
   because the contact section above already ends with its own. */

/* Legal pages: ivory page, dark text, 760px measure, numbered headings. */
/* Round 2 (ledger DS-05): the legal pages follow the type tokens like every other page. Body text is the body token (18px
   desktop, 17px tablet, 16 to 17px phone) at line height 1.65, the measure stays 760px. */
/* The page title is the h1 of the legal fragment. Where the page already has its own h1 (the style guide specimen), the
   fragment title is printed as h2.ex-legal__title and keeps the same look. It is the H1 token (72 to 88px desktop, 44 to
   56px tablet, 36 to 44px phone, line height 1.1) exactly like ex-h1; the numbered section headings below stay at 24 to 30px.
   "Terms & Conditions" wraps onto two balanced lines when the column is too narrow (760px column, 82px type: it does), and
   overflow-wrap keeps a long word inside the box at 320px. */
/* Optional automatic numbering for legal text without numbers in the headings. */

/* Pending legal identity fields (staging). The option emiratesx_show_pending adds ex-show-pending to <body>. */
.ex-show-pending .ex-pending {
	padding: 0 0.3em;
	background: var(--ex-pending-bg);
	color: var(--ex-ink);
	outline: 2px dashed var(--ex-pending-line);
	outline-offset: 1px;
	border-radius: 2px;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

/* 404 */
.e-con.ex-404 {
	--padding-top: clamp(96px, 14vw, 180px);
	--padding-bottom: clamp(96px, 14vw, 180px);
	min-height: 60vh;
	justify-content: center;
	text-align: center;
}
.ex-404 .ex-h1,
.ex-404 .ex-h1 .elementor-heading-title {
	max-width: 16ch;
	margin-inline: auto;
}
.ex-404 :is(.ex-lead, .ex-lead p) {
	max-width: 520px;
	margin-inline: auto;
}
.ex-404 .ex-btn-row,
.ex-404.e-con .ex-btn-row {
	justify-content: center;
}

/* ================================================================ 14  Footer */
#colophon {
	background: var(--ex-surface);
}
.e-con.ex-footer {
	--padding-top: 80px;
	--padding-bottom: 32px;
	--padding-left: 0px;
	--padding-right: 0px;
	--gap: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
	--width: 100%;
	display: flex;
	flex-direction: column;
	padding-inline: var(--ex-edge);
	padding-block: 80px 32px;
	background: var(--ex-surface);
	color: var(--ex-ivory);
	border-block-start: 1px solid var(--ex-line);
}
.e-con.ex-footer__top {
	--display: grid;
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	--gap: 48px var(--ex-gap);
	--width: 100%;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 48px var(--ex-gap);
	padding-block-end: 56px;
}
.ex-footer__brand {
	grid-column: span 5;
}
.ex-footer__links {
	grid-column: 7 / span 3;
}
/* The link boxes are 44px high with the text centred, so the first link started 10px below the first line of the
   contact column. Pulled up by 10px they share a first line (only where the two columns sit side by side). */
@media (min-width: 768px) {
	.ex-footer__links {
		margin-block-start: -10px;
	}}
.ex-footer__contact {
	grid-column: 10 / span 3;
}
.ex-footer__tagline,
.ex-footer__tagline p {
	margin: 20px 0 0;
	font-family: var(--ex-font-display);
	font-size: clamp(20px, 0.6vw + 15px, 24px);
	line-height: 1.4;
	color: var(--ex-ivory);
	--ex-mb: 0;
}
.ex-footer__tagline p {
	margin: 0;
}
.ex-footer__tagline p + p {
	color: var(--ex-muted);
}
.ex-menu__list {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ex-menu__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--ex-ivory);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	transition: color var(--ex-t-fast) var(--ex-ease);
}
.ex-menu__link:hover,
.ex-menu__link:focus-visible,
.ex-menu__link[aria-current="page"] {
	color: var(--ex-gold);
}
.ex-footer__contact,
.ex-footer__contact p {
	font-size: 16px;
	line-height: 1.7;
	color: var(--ex-muted);
}
.ex-footer__contact p {
	margin: 0 0 6px;
}
.ex-footer__contact a {
	color: var(--ex-ivory);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}
.ex-footer__contact a:hover {
	color: var(--ex-gold);
}
.e-con.ex-footer__bottom {
	--display: flex;
	--flex-direction: row;
	--padding-top: 28px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	--gap: 16px 32px;
	--flex-wrap: wrap;
	--width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	padding-block-start: 28px;
	border-block-start: 1px solid var(--ex-line);
}
.ex-footer__bottom > .elementor-widget {
	width: auto;
	flex: 0 1 auto;
}
.ex-footer__legal .ex-menu__list {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0 28px;
}
.ex-footer__legal .ex-menu__link {
	min-height: 44px;
	font-size: 12px;
	letter-spacing: 0.1em;
	color: var(--ex-muted);
}
.ex-footer__legal .ex-menu__link:hover {
	color: var(--ex-gold);
}
.ex-footer__copy,
.ex-footer__copy p {
	margin: 0;
	font-size: 14px;
	color: var(--ex-muted);
}
@media (max-width: 1024px) {
	.e-con.ex-footer {
		padding-block: 64px 28px;
	}
	.ex-footer__brand {
		grid-column: 1 / -1;
	}
	.ex-footer__links {
		grid-column: 1 / span 6;
	}
	.ex-footer__contact {
		grid-column: 7 / span 6;
	}}
@media (max-width: 767px) {
	.e-con.ex-footer {
		padding-block: 56px 24px;
	}
	.e-con.ex-footer__top {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
		padding-block-end: 40px;
	}
	.ex-footer__brand,
	.ex-footer__links,
	.ex-footer__contact {
		grid-column: 1 / -1;
	}
	.e-con.ex-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}
	.ex-footer__legal .ex-menu__list {
		flex-direction: column;
	}}

/* ================================== 15  Style guide helpers (internal page) */

/* ===================== A1  Builder A additions (STYLEGUIDE section 14A): memberships notes and fee block, 404 lead */
/* The quotation block (ex-fee) follows the notes (ex-notes) directly: containers have no outer margin and widgets
   print none, so the block touched the last note. Same space as above the notes. */
/* The 404 supporting line is 47 characters of 26px type: 520px broke it into a line with one orphan word. */
.ex-404 :is(.ex-lead, .ex-lead p) {
	max-width: 600px;
}

/* ===================== L1  Legal pages track (STYLEGUIDE section 14L) */
/* Georgia prints old style figures by default, so "1 About" read like "I About" and the 3 of "13" hung below the
   line. The numbers of the section headings are part of the legal text (never renumbered), so only their figure
   style is set. Verified in Edge: Georgia on this machine has the lnum feature. Where a fallback font lacks it,
   nothing changes. */

/* ===================== B1  Blog module (STYLEGUIDE section 14B) */
/* The templates of modules/blog print plain markup, not Elementor containers, so nothing below depends on .e-con.
   Archive (/en/blog/): the dark page head of the ex-pagehead recipe, then an ivory band with a grid of cards and the
   pagination. Article (/en/blog/<slug>/): one ivory column of 760px, the legal page recipe. The header above is the
   normal sticky one (solid on every page except the home page), so no rule here offsets for it. The Elementor kit
   prints h1 and h2 sizes with one class and one element (0,1,1), so the headings here use two classes (0,2,0). */
.ex-blog__inner,
.ex-article__inner {
	width: 100%;
	margin-inline: auto;
	padding-inline: var(--ex-gutter);
}
.ex-blog__inner {
	max-width: calc(var(--ex-container) + 2 * var(--ex-gutter));
}
.ex-article__inner {
	max-width: calc(var(--ex-measure-legal) + 2 * var(--ex-gutter));
}

/* Archive: page head (same look as the Elementor ex-pagehead, which sets only variables on .e-con) */
.ex-blog__head.ex-pagehead {
	padding-block: clamp(72px, 9vw, 120px) clamp(48px, 6vw, 88px);
	border-block-end: 1px solid var(--ex-rule);
}
.ex-blog__head.ex-pagehead .ex-h1 {
	margin: 0;
}
.ex-blog__list {
	padding-block: clamp(48px, 6vw, 88px) var(--ex-section);
}

/* Archive: grid of cards. 1 column under 640px, 2 from 640px, 3 from 1024px (the sizes attribute in
   inc/render.php follows these breakpoints). */
.ex-blog-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: calc(var(--ex-gap) * 2) var(--ex-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 640px) {
	.ex-blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}}
@media (min-width: 1024px) {
	.ex-blog-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}}
.ex-blog-grid__item {
	margin: 0;
	min-width: 0;
}
.ex-blog-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding-block-end: 24px;
	border-block-end: 1px solid var(--ex-rule);
	color: var(--ex-fg);
	text-decoration: none;
	transition: border-color var(--ex-t) var(--ex-ease);
}
.ex-blog-card:hover,
.ex-blog-card:focus-visible {
	border-block-end-color: var(--ex-rule-strong);
}
.ex-blog-card__media {
	overflow: hidden;
	margin: 0 0 20px;
	aspect-ratio: 4 / 3;
	border-radius: var(--ex-radius-card);
	background: var(--ex-line-light);
}
.ex-blog-card__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform var(--ex-t-slow) var(--ex-ease);
}
.ex-blog-card:hover .ex-blog-card__img,
.ex-blog-card:focus-visible .ex-blog-card__img {
	transform: scale(1.03);
}
.ex-blog-card__date {
	display: block;
	margin: 0 0 10px;
	font-size: var(--ex-fs-eyebrow);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: var(--ex-track-eyebrow);
	text-transform: uppercase;
	color: var(--ex-fg-soft);
}
.ex-blog-card .ex-blog-card__title {
	margin: 0 0 12px;
	font-family: var(--ex-font-display);
	font-size: clamp(21px, 0.4vw + 18px, 24px);
	font-weight: 400;
	line-height: 1.25;
	letter-spacing: 0;
	color: var(--ex-fg);
	text-wrap: balance;
	overflow-wrap: break-word;
}
.ex-blog-card:hover .ex-blog-card__title,
.ex-blog-card:focus-visible .ex-blog-card__title {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}
.ex-blog-card .ex-blog-card__text {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ex-fg-soft);
	overflow-wrap: break-word;
}

/* Archive: pagination (First, Previous, Page X of N, Next, Last). Buttons are 48px high like the site buttons. */
.ex-pagination {
	margin-block-start: clamp(48px, 6vw, 80px);
}
.ex-pagination__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ex-pagination__item {
	margin: 0;
}
.ex-pagination__link,
.ex-pagination__status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	border-radius: var(--ex-radius);
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}
.ex-pagination__link {
	padding: 0 24px;
	border: 1px solid var(--ex-btn-border);
	background: var(--ex-btn-bg);
	color: var(--ex-btn-fg);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	transition: background-color var(--ex-t) var(--ex-ease), color var(--ex-t) var(--ex-ease), border-color var(--ex-t) var(--ex-ease);
}
a.ex-pagination__link:hover,
a.ex-pagination__link:focus-visible {
	background: var(--ex-btn-bg-hover);
	color: var(--ex-btn-fg-hover);
	border-color: var(--ex-btn-border-hover);
}
/* A button with nowhere to go: outlined and quiet, not a link (a span with aria-disabled). */
.ex-pagination__link.is-disabled {
	background: transparent;
	border-color: var(--ex-rule);
	color: var(--ex-fg-soft);
	cursor: default;
}
.ex-pagination__status {
	padding: 0 8px;
	font-size: 15px;
	color: var(--ex-fg);
}
/* Under 640px the status line sits on top (it is not focusable, so the Tab order of the four buttons is unchanged) and
   the buttons form two equal rows: First and Previous, Next and Last. */
@media (max-width: 639px) {
	.ex-pagination__list {
		gap: 8px;
	}
	.ex-pagination__item {
		flex: 1 1 calc(50% - 4px);
		min-width: 0;
	}
	.ex-pagination__item--status {
		order: -1;
		flex-basis: 100%;
		text-align: center;
	}
	.ex-pagination__link {
		width: 100%;
		padding: 0 16px;
		letter-spacing: 0.1em;
	}}

/* Article: back link, title, date, image, text. */
.ex-article {
	padding-block: var(--ex-section);
}
.ex-article__back {
	margin-block-end: clamp(24px, 3vw, 40px);
}
/* The arrow is decoration: where the browser supports alternative text for generated content it is silent. */
.ex-article__back::before {
	content: "\2190";
	content: "\2190" / "";
	margin-inline-end: 0.7em;
}
.ex-article .ex-article__title {
	margin: 0 0 20px;
	font-family: var(--ex-font-display);
	font-size: min(var(--ex-fs-h2), 44px);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.005em;
	color: var(--ex-ink);
	text-wrap: balance;
	overflow-wrap: break-word;
}
.ex-article .ex-article__meta {
	margin: 0 0 clamp(28px, 3.5vw, 44px);
	font-size: var(--ex-fs-eyebrow);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: var(--ex-track-eyebrow);
	text-transform: uppercase;
	color: var(--ex-fg-soft);
}
/* The image keeps the width attribute that core prints (no width rule here): a 540px original stays 540px wide,
   a 1440px one fills the column. max-width only shrinks it on a narrow screen. Never stretched. */
.ex-article__media {
	margin: 0 0 clamp(32px, 4vw, 48px);
}
.ex-article__img {
	display: block;
	max-width: 100%;
	height: auto;
	margin-inline: auto;
	border-radius: var(--ex-radius-card);
}

/* Article text: the legal page recipe (section L1 above) for plain post content. */
.ex-article__body {
	max-width: var(--ex-measure-legal);
	margin-inline: auto;
	color: var(--ex-ink);
	font-size: var(--ex-fs-body);
	line-height: var(--ex-lh-body);
	overflow-wrap: anywhere;
}
.ex-article__body > :first-child {
	margin-block-start: 0;
}
.ex-article__body > :last-child {
	margin-block-end: 0;
}
.ex-article__body h2 {
	margin-block: 64px 20px;
	padding-block-start: 28px;
	border-block-start: 1px solid var(--ex-line-light);
	font-size: clamp(24px, 0.8vw + 18px, 30px);
	line-height: 1.25;
	color: var(--ex-ink);
	font-variant-numeric: lining-nums;
}
.ex-article__body > h2:first-child {
	padding-block-start: 0;
	border-block-start: 0;
}
.ex-article__body h3 {
	margin-block: 32px 12px;
	font-size: 22px;
	line-height: 1.3;
	color: var(--ex-ink);
}
.ex-article__body h4 {
	margin-block: 28px 10px;
	font-size: 19px;
	line-height: 1.35;
	color: var(--ex-ink);
}
.ex-article__body h5 {
	margin-block: 24px 8px;
	font-family: var(--ex-font-body);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ex-ink);
}
.ex-article__body p,
.ex-article__body li {
	color: var(--ex-ink);
}
.ex-article__body p {
	margin-block: 0 1.1em;
}
.ex-article__body ul,
.ex-article__body ol {
	margin: 0 0 1.1em;
	padding-inline-start: 1.3em;
}
.ex-article__body li {
	margin-block-end: 0.5em;
}
.ex-article__body li > :is(ul, ol) {
	margin-block: 0.5em 0;
}
.ex-article__body a {
	color: var(--ex-ink);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}
.ex-article__body a:hover {
	text-decoration-thickness: 2px;
}
.ex-article__body strong,
.ex-article__body b {
	font-weight: 700;
}
.ex-article__body em {
	font-style: italic;
}
.ex-article__body blockquote {
	margin: 1.6em 0;
	padding-block: 2px;
	padding-inline: 24px 0;
	border-inline-start: 2px solid var(--ex-rule-strong);
	font-family: var(--ex-font-display);
	font-size: 1.1em;
	line-height: 1.5;
	color: var(--ex-ink);
}
.ex-article__body blockquote > :last-child {
	margin-block-end: 0;
}
.ex-article__body hr {
	margin-block: 2.5em;
	border: 0;
	border-block-start: 1px solid var(--ex-line-light);
}
/* A table is wrapped in .ex-article__table by the_content (inc/render.php): the box scrolls, the page does not. */
.ex-article__table {
	margin-block: 0 1.5em;
	overflow-x: auto;
	overscroll-behavior-x: contain;
}
.ex-article__table table {
	width: 100%;
	min-width: 480px;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.5;
}
.ex-article__table th,
.ex-article__table td {
	padding: 10px 12px;
	border: 1px solid var(--ex-line-light);
	text-align: start;
	vertical-align: top;
	overflow-wrap: break-word;
}
.ex-article__table th {
	font-weight: 700;
	background: rgba(24, 38, 32, 0.05);
}
