/*
 * Mediaxiss design system, v2.
 * References (Behance): BlogSpot (bento feature card + coloured side tiles + pills),
 * MuseLine (bold hero band, uppercase coloured category labels, subscribe strip),
 * Beebom (oversized grotesk type, hand-drawn swoosh, colourful topic tiles),
 * RADAR TECH (article bar, table of contents, summary box, lead paragraph).
 * Rules: one accent (orange) + soft pastel tones per section; no gradients; no
 * heavy drop shadows; real type hierarchy.
 */
:root {
	--mx-ink: #121110;
	--mx-ink-2: #2a2825;
	--mx-muted: #6e6a62;
	--mx-paper: #f6f4ef;
	--mx-card: #ffffff;
	--mx-rule: #e3ded3;
	--mx-accent: #ff5a1f;
	--mx-accent-ink: #c2410c;
	--mx-sand: #f1e4cc;
	--mx-sky: #d7e6f3;
	--mx-sage: #dce8d5;
	--mx-lilac: #e6def3;
	--mx-coral: #f8d9ce;
	--mx-lemon: #f3edb8;
	--mx-display: "Bricolage Grotesque", "IBM Plex Sans", system-ui, sans-serif;
	--mx-serif: "Newsreader", Georgia, serif;
	--mx-sans: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;
	--mx-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
	--mx-wrap: 1240px;
	--mx-r-lg: 28px;
	--mx-r: 20px;
}

/* ---------- Base ---------- */
html, body, .site, #wrapper, #inner-wrap, .content-bg, .site-main,
body.content-style-unboxed .content-bg { background: var(--mx-paper) !important; }
body { color: var(--mx-ink); font-family: var(--mx-sans); font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .entry-title, .site-title {
	font-family: var(--mx-display) !important;
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.08;
	color: var(--mx-ink);
}
h1 em, h2 em, h3 em, .mx-display em, .mx-newsletter-title em {
	font-family: var(--mx-serif);
	font-style: italic;
	font-weight: 500;
	letter-spacing: -0.01em;
}
a { color: var(--mx-accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--mx-accent); }
::selection { background: var(--mx-accent); color: #fff; }

/* ---------- Header ---------- */
#masthead, #masthead .site-header-row-container-inner { background: var(--mx-paper) !important; }
#masthead { border-bottom: 1px solid var(--mx-rule); }
.site-branding .site-title { font-size: 1.7rem !important; font-weight: 800; letter-spacing: -0.04em; }
.site-branding .site-title::after { content: "."; color: var(--mx-accent); }
.header-navigation ul.menu, .header-navigation .header-menu-container > ul { flex-wrap: nowrap !important; align-items: center; }
.header-navigation .header-menu-container > ul > li > a {
	font-family: var(--mx-sans);
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--mx-ink) !important;
	padding: 0.5em 0.85em;
	white-space: nowrap;
}
.header-navigation .header-menu-container > ul > li > a:hover,
.header-navigation .header-menu-container > ul > li.current-menu-item > a { color: var(--mx-accent-ink) !important; }
.mx-nav-count { font-family: var(--mx-mono); font-size: 0.62em; color: var(--mx-muted); margin-left: 2px; }
.header-navigation .mx-menu-cta > a,
.mobile-navigation .mx-menu-cta > a {
	background: var(--mx-ink);
	color: #fff !important;
	border-radius: 999px;
	padding: 0.55em 1.2em !important;
	margin-left: 0.6em;
}
.header-navigation .mx-menu-cta > a:hover { background: var(--mx-accent); color: #fff !important; }

/* ---------- Shared bits ---------- */
.mx-eyebrow {
	display: inline-flex; align-items: center; gap: 0.55em;
	font-family: var(--mx-mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
	color: var(--mx-muted); margin: 0 0 1rem !important;
}
.mx-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mx-accent); display: inline-block; }
.mx-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.mx-pill {
	display: inline-block; font-size: 0.78rem; font-weight: 500; line-height: 1;
	padding: 0.5em 0.85em; border-radius: 999px; background: var(--mx-card); color: var(--mx-ink);
}
.mx-pill-cat { background: transparent; border: 1px solid currentColor; }
.mx-chip-outline { display: inline-block; font-size: 0.78rem; border: 1px solid var(--mx-ink); border-radius: 999px; padding: 0.3em 0.8em; }
.mx-pill-btn {
	display: inline-block; font-weight: 600; font-size: 0.95rem; text-decoration: none;
	background: var(--mx-card); color: var(--mx-ink); border-radius: 999px; padding: 0.8em 1.3em;
}
.mx-pill-btn-dark { background: var(--mx-ink); color: #fff !important; }
.mx-pill-btn-dark:hover { background: var(--mx-accent); }
.mx-round-arrow {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: var(--mx-card); color: var(--mx-ink); font-size: 1.1rem;
}
.mx-round-arrow-sm { width: 36px; height: 36px; font-size: 1rem; }
.mx-swoosh { color: var(--mx-accent); }
.mx-link-arrow { font-weight: 600; color: var(--mx-ink); text-decoration: none; white-space: nowrap; }
.mx-link-arrow:hover { color: var(--mx-accent-ink); }
.mx-tone-sand { background: var(--mx-sand) !important; }
.mx-tone-sky { background: var(--mx-sky) !important; }
.mx-tone-sage { background: var(--mx-sage) !important; }
.mx-tone-lilac { background: var(--mx-lilac) !important; }
.mx-tone-coral { background: var(--mx-coral) !important; }
.mx-tone-lemon { background: var(--mx-lemon) !important; }
.mx-icon { width: 28px; height: 28px; }

/* ---------- Homepage container ---------- */
.home .content-container.site-container,
.home .site-container .content-wrap { max-width: none; padding-left: 0; padding-right: 0; }
.home .entry-content-wrap { padding: 0 !important; }
.mx-home { max-width: var(--mx-wrap); margin: 0 auto; padding: 0 24px 24px; }
.mx-home section { margin-top: 0 !important; }
.entry-content .mx-home h1, .entry-content .mx-home h2, .entry-content .mx-home h3, .entry-content .mx-home p { margin-top: 0; }

/* Bento hero */
.mx-bento {
	display: grid;
	grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
	grid-template-areas: "head head" "feature side";
	gap: 20px;
	padding-top: clamp(2rem, 5vw, 3.5rem);
}
.mx-bento-head { grid-area: head; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.mx-bento-head .mx-eyebrow { width: 100%; }
.mx-display {
	font-size: clamp(2.8rem, 7.2vw, 6.2rem) !important;
	font-weight: 800 !important;
	letter-spacing: -0.045em !important;
	line-height: 0.95 !important;
	margin: 0 !important;
	max-width: 13ch;
}
.mx-display em { color: var(--mx-accent-ink); }

.mx-feature {
	grid-area: feature;
	position: relative;
	display: block;
	min-height: 480px;
	border-radius: var(--mx-r-lg);
	overflow: hidden;
	background: var(--mx-ink);
	color: #fff;
	text-decoration: none;
}
.mx-feature .mx-card-img, .mx-feature .mx-card-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.mx-feature-pills { position: absolute; top: 22px; left: 22px; z-index: 2; }
.mx-feature-title {
	position: absolute; left: 22px; right: 90px; bottom: 22px; z-index: 2; margin: 0 !important;
	font-size: clamp(1.5rem, 2.6vw, 2.2rem) !important; line-height: 1.12 !important;
}
.mx-feature-title span {
	background: var(--mx-card); color: var(--mx-ink); padding: 0.12em 0.4em; border-radius: 14px;
	box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.mx-feature .mx-round-arrow { position: absolute; right: 22px; bottom: 22px; z-index: 2; }
.mx-feature:hover .mx-round-arrow { background: var(--mx-accent); color: #fff; }

/* Intro feature (before the first post) */
.mx-feature-intro { padding: 96px 40px 40px; }
.mx-feature-grid {
	position: absolute; inset: 0;
	background-image: radial-gradient(rgba(255,255,255,0.13) 1.2px, transparent 1.2px);
	background-size: 22px 22px;
}
.mx-swoosh-hero { position: absolute; right: -30px; top: 40px; width: 62%; opacity: 1; }
.mx-feature-kicker { position: relative; font-family: var(--mx-mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: #bdb8ae; margin: 120px 0 16px !important; }
.mx-feature-points { position: relative; list-style: none; margin: 0; padding: 0; max-width: 34ch; }
.mx-feature-points li {
	font-size: 1.08rem; line-height: 1.45; color: #e9e6df; padding: 14px 0;
	border-top: 1px solid rgba(255,255,255,0.14);
}
.mx-feature-points strong { color: #fff; font-family: var(--mx-display); font-weight: 700; margin-right: 0.3em; }

/* Side tiles */
.mx-bento-side { grid-area: side; display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.mx-tile {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
	border-radius: var(--mx-r-lg); padding: 24px; min-height: 230px; overflow: hidden;
	color: var(--mx-ink); text-decoration: none;
}
.mx-tile .mx-chip-outline { position: absolute; top: 22px; left: 22px; }
.mx-tile-plus {
	position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%;
	background: var(--mx-card); display: grid; place-items: center; font-size: 1.3rem;
}
.mx-tile-small { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.mx-tile-big { font-family: var(--mx-display); font-weight: 700; font-size: 1.45rem; line-height: 1.15; letter-spacing: -0.02em; }
.mx-tile-link { font-weight: 600; font-size: 0.92rem; text-decoration: underline; text-underline-offset: 3px; margin-top: 6px; }
.mx-tile-cta:hover .mx-tile-plus { background: var(--mx-ink); color: #fff; }
.mx-tile-dark { background: var(--mx-ink); color: #fff; }
.mx-tile-dark .mx-tile-big { color: #fff; margin-bottom: 10px; }
.mx-tile-dark .mx-pill-btn { align-self: flex-start; }
.mx-tile-dark:hover .mx-pill-btn { background: var(--mx-accent); color: #fff; }
.mx-tile-count { position: absolute; top: 18px; right: 22px; font-family: var(--mx-serif); font-style: italic; font-size: 1.1rem; color: #bdb8ae; }
.mx-swoosh-tile { position: absolute; top: 22px; left: 18px; width: 52%; }

/* Section heads */
.mx-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 0 0 22px; }
.mx-h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem) !important; font-weight: 800 !important; letter-spacing: -0.035em !important; margin: 0 !important; }
.mx-section-note { color: var(--mx-muted); margin: 0 !important; max-width: 46ch; }

/* Topic tiles */
.mx-topics { padding-top: clamp(3rem, 7vw, 5rem); }
.mx-topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mx-topic {
	position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 230px;
	border-radius: var(--mx-r); padding: 24px; color: var(--mx-ink); text-decoration: none;
	transition: transform .18s ease;
}
.mx-topic:hover { transform: translateY(-3px); color: var(--mx-ink); }
.mx-topic-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--mx-card); display: grid; place-items: center; margin-bottom: auto; }
.mx-topic-count { font-family: var(--mx-mono); font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--mx-ink-2); opacity: .75; margin-top: 28px; }
.mx-topic-name { font-family: var(--mx-display); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.mx-topic-desc { font-size: 0.95rem; line-height: 1.45; color: var(--mx-ink-2); max-width: 32ch; }
.mx-topic .mx-round-arrow { position: absolute; top: 24px; right: 24px; }
.mx-topic:hover .mx-round-arrow { background: var(--mx-ink); color: #fff; }

/* Cards */
.mx-latest { padding-top: clamp(3rem, 7vw, 5rem); }
.mx-card-grid, .mx-coming { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.mx-card { display: flex; flex-direction: column; gap: 12px; color: var(--mx-ink); text-decoration: none; }
.mx-card-media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--mx-r); overflow: hidden; background: var(--mx-sand); }
.mx-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.mx-card:hover .mx-card-img { transform: scale(1.03); }
.mx-card-art { width: 100%; height: 100%; display: grid; place-items: center; position: relative;
	background-image: radial-gradient(rgba(18,17,16,0.09) 1.2px, transparent 1.2px) !important; background-size: 18px 18px !important; }
.mx-card-art-icon { width: 34%; height: 34%; color: var(--mx-ink); opacity: .85; }
.mx-card .mx-pill { background: var(--mx-card); border: 1px solid var(--mx-rule); }
.mx-card .mx-pill-cat { color: var(--mx-accent-ink); border-color: var(--mx-accent-ink); background: transparent; }
.mx-card-title { font-size: 1.35rem !important; line-height: 1.2 !important; letter-spacing: -0.02em !important; margin: 0 !important; }
.mx-card:hover .mx-card-title { color: var(--mx-accent-ink); }
.mx-card-excerpt { color: var(--mx-muted); font-size: 0.98rem; line-height: 1.5; margin: 0 !important; }
.mx-card-soon { opacity: .9; }

/* Newsletter band */
.mx-newsletter {
	position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 32px; align-items: end; margin-top: clamp(3.5rem, 8vw, 6rem) !important;
	background: var(--mx-ink); color: #fff; border-radius: var(--mx-r-lg); padding: clamp(28px, 5vw, 56px);
}
.mx-swoosh-news { position: absolute; right: -40px; top: -20px; width: 46%; opacity: .95; }
.mx-eyebrow-light { color: #bdb8ae; }
.mx-newsletter-title { position: relative; color: #fff !important; font-size: clamp(2rem, 4.2vw, 3.4rem) !important; font-weight: 800 !important; letter-spacing: -0.04em !important; line-height: 1 !important; margin: 0 0 14px !important; }
.mx-newsletter-title em { color: var(--mx-accent); }
.mx-newsletter-note { color: #cfcac1; margin: 0 !important; max-width: 44ch; }
.mx-newsletter-form { position: relative; display: flex; flex-wrap: wrap; gap: 10px; background: var(--mx-card); border-radius: 999px; padding: 6px; }
.mx-newsletter-form input[type=email] {
	flex: 1 1 200px; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important;
	font-size: 1rem; padding: 0.8em 1.1em; color: var(--mx-ink);
}
.mx-newsletter-form input[type=email]:focus { outline: none; }
.mx-newsletter-form button {
	border: 0; border-radius: 999px; background: var(--mx-accent); color: #fff; font-weight: 600; font-size: 1rem;
	padding: 0.8em 1.5em; cursor: pointer;
}
.mx-newsletter-form button:hover { background: var(--mx-ink); }
.mx-form-legal { flex-basis: 100%; font-size: 0.78rem; color: var(--mx-muted); margin: 0 !important; padding: 0 1.1em 0.4em; }
.mx-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.mx-newsletter-done { position: relative; font-family: var(--mx-display); font-size: 1.4rem; font-weight: 700; color: #fff; }

/* ---------- Section (category) pages ---------- */
.mx-hub-page .entry-hero-container-inner { background: transparent !important; }
.mx-hub-page .entry-hero .entry-header {
	max-width: var(--mx-wrap); margin: 28px auto 0; padding: clamp(36px, 6vw, 64px) clamp(24px, 4vw, 48px) !important;
	border-radius: var(--mx-r-lg); text-align: left; min-height: 0 !important;
}
.mx-hub-tone-sand .entry-hero .entry-header { background: var(--mx-sand); }
.mx-hub-tone-sky .entry-hero .entry-header { background: var(--mx-sky); }
.mx-hub-tone-sage .entry-hero .entry-header { background: var(--mx-sage); }
.mx-hub-tone-lilac .entry-hero .entry-header { background: var(--mx-lilac); }
.mx-hub-tone-coral .entry-hero .entry-header { background: var(--mx-coral); }
.mx-hub-tone-lemon .entry-hero .entry-header { background: var(--mx-lemon); }
.mx-hub-page .entry-hero .page-title, .mx-hub-page .archive-title {
	font-size: clamp(2.6rem, 6vw, 4.8rem) !important; font-weight: 800 !important; letter-spacing: -0.045em !important;
}
.archive-description { color: var(--mx-ink-2); max-width: 56ch; font-size: 1.1rem; }
.mx-empty { max-width: 760px; padding: 24px 0 40px; }
.mx-empty-title { font-size: clamp(1.6rem, 3vw, 2.2rem) !important; margin: 0 0 10px !important; }
.mx-empty-note { color: var(--mx-muted); margin: 0 0 22px !important; }

/* Kadence archive loop as cards */
.loop-entry { background: transparent !important; box-shadow: none !important; border: 0 !important; }
.loop-entry .post-thumbnail { border-radius: var(--mx-r); overflow: hidden; }
.loop-entry .entry-title { font-size: 1.35rem !important; }
.entry-taxonomies a { font-family: var(--mx-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--mx-accent-ink) !important; }

/* ---------- Pages & articles ---------- */
.entry-hero-container-inner, .hero-section-overlay { background: transparent !important; }
.entry-hero .entry-header { min-height: 0 !important; padding-top: 3.5rem; padding-bottom: 1.2rem; }
.entry, .content-bg, .entry.single-entry { box-shadow: none !important; border-radius: 0 !important; background: transparent !important; }
.page .entry-hero .entry-title, .single .entry-hero .entry-title, .entry-header .entry-title {
	font-size: clamp(2.3rem, 5vw, 3.6rem) !important; font-weight: 800 !important; letter-spacing: -0.04em !important;
}
.single-post .entry-taxonomies { margin-bottom: 0.8rem; }
.entry-content > p, .entry-content > ul, .entry-content > ol, .mx-article-body > p, .mx-article-body > ul, .mx-article-body > ol { max-width: 68ch; }
.entry-content h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 2.2em; }
.entry-content h3 { font-size: 1.35rem; margin-top: 1.8em; }

/* Article bar */
.mx-article-bar {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
	border-top: 1px solid var(--mx-rule); border-bottom: 1px solid var(--mx-rule);
	padding: 12px 0; margin: 0 0 2rem; font-size: 0.85rem; color: var(--mx-muted);
}
.mx-meta-item { font-family: var(--mx-mono); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.mx-share { margin-left: auto; display: inline-flex; gap: 10px; align-items: center; }
.mx-share a, .mx-copy-link {
	font-size: 0.8rem; font-weight: 500; text-decoration: none; color: var(--mx-ink);
	background: var(--mx-card); border: 1px solid var(--mx-rule); border-radius: 999px; padding: 0.35em 0.9em; cursor: pointer;
}
.mx-share a:hover, .mx-copy-link:hover { border-color: var(--mx-ink); color: var(--mx-ink); }
.mx-article-body > p:first-of-type { font-size: 1.28rem; line-height: 1.55; color: var(--mx-ink-2); }

/* Table of contents */
.mx-toc { background: var(--mx-card); border: 1px solid var(--mx-rule); border-radius: var(--mx-r); padding: 20px 24px; margin: 0 0 2rem; max-width: 68ch; }
.mx-toc-title { font-family: var(--mx-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mx-muted); margin: 0 0 10px !important; }
.mx-toc ol { margin: 0; padding-left: 1.2em; }
.mx-toc li { margin: 4px 0; font-size: 0.98rem; }
.mx-toc a { color: var(--mx-ink); text-decoration: none; }
.mx-toc a:hover, .mx-toc a.is-active { color: var(--mx-accent-ink); text-decoration: underline; }

/* Summary / key takeaways box: add class "mx-summary" to a Group block */
.mx-summary { position: relative; border: 1px solid var(--mx-ink); border-radius: var(--mx-r); padding: 26px 26px 18px !important; margin: 2rem 0; max-width: 68ch; background: var(--mx-card); }
.mx-summary::before { content: "Key takeaways"; position: absolute; top: -0.75em; left: 20px; background: var(--mx-paper); padding: 0 10px; font-family: var(--mx-display); font-weight: 700; font-size: 1.05rem; }

/* Tables */
.entry-content table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.95rem; margin: 1.5em 0; background: var(--mx-card); border: 1px solid var(--mx-rule); border-radius: 14px; overflow: hidden; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--mx-rule); padding: 0.75em 0.9em; text-align: left; vertical-align: top; }
.entry-content th { font-weight: 600; background: var(--mx-ink); color: #fff; }
.entry-content tr:last-child td { border-bottom: 0; }

/* Code and prompts */
code, pre, kbd { font-family: var(--mx-mono); }
.entry-content pre, .entry-content .wp-block-code {
	position: relative; background: var(--mx-ink); color: #f1eee7; border: 0; border-radius: 16px;
	padding: 1.2em 1.3em; padding-top: 2.6em; font-size: 0.92rem; line-height: 1.6; white-space: pre-wrap; overflow-x: auto;
}
.entry-content pre::before { content: "Prompt"; position: absolute; top: 0.9em; left: 1.3em; font: 500 0.72rem var(--mx-mono); letter-spacing: 0.06em; text-transform: uppercase; color: #9b968c; }
.entry-content .wp-block-code::before { content: "Code"; }
.mx-copy {
	position: absolute; top: 0.7em; right: 0.7em; font: 600 0.75rem var(--mx-sans);
	background: var(--mx-accent); color: #fff; border: 0; border-radius: 999px; padding: 0.35em 0.9em; cursor: pointer;
}
.mx-copy:hover { background: #fff; color: var(--mx-ink); }

/* Disclosure + labels */
.mx-disclosure { font-size: 0.88rem; color: var(--mx-ink-2); background: var(--mx-lemon); border-radius: 12px; padding: 0.7em 1em; margin-bottom: 1.6em; max-width: 68ch; }
.mx-updated { font-family: var(--mx-mono); font-size: 0.78rem; color: var(--mx-muted); }

/* ---------- Footer ---------- */
#colophon { background: var(--mx-paper); border-top: 1px solid var(--mx-rule); font-size: 0.85rem; color: var(--mx-muted); }
#colophon .site-footer-row-container-inner { background: var(--mx-paper) !important; }
#colophon .site-bottom-footer-inner-wrap { min-height: 0 !important; padding-top: 1rem !important; padding-bottom: 0.4rem !important; }
.mx-footer-links { padding: 0.4em 16px 1.8em; font-size: 0.85rem; }
.mx-footer-menu { list-style: none; margin: 0 auto; padding: 0; max-width: var(--mx-wrap); display: flex; flex-wrap: wrap; gap: 0.4em 1.4em; justify-content: center; }
.mx-footer-menu a { color: var(--mx-muted); text-decoration: none; }
.mx-footer-menu a:hover { color: var(--mx-accent-ink); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.mx-bento { grid-template-columns: 1fr; grid-template-areas: "head" "feature" "side"; }
	.mx-bento-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
	.mx-topic-grid, .mx-card-grid, .mx-coming { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mx-newsletter { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	body { font-size: 17px; }
	.mx-home { padding: 0 16px 16px; }
	.mx-feature { min-height: 420px; }
	.mx-feature-intro { padding: 80px 22px 26px; }
	.mx-feature-kicker { margin-top: 70px !important; }
	.mx-bento-side, .mx-topic-grid, .mx-card-grid, .mx-coming { grid-template-columns: 1fr; }
	.mx-newsletter-form { border-radius: 22px; }
	.mx-newsletter-form button { width: 100%; }
	.mx-share { margin-left: 0; }
	.entry-content pre { font-size: 0.85rem; }
}

/* ---------- v2 fixes after Chrome check ---------- */
.header-navigation .header-menu-container > ul > li.mx-menu-cta > a,
.header-navigation .header-menu-container > ul > li.mx-menu-cta > a:hover,
.mobile-navigation ul li.mx-menu-cta > a { color: #fff !important; }
.header-navigation .header-menu-container > ul > li.mx-menu-cta > a { padding: 0.6em 1.3em !important; }
.mx-display { letter-spacing: -0.035em !important; word-spacing: 0.04em; }
.entry-content .mx-feature-points { padding-left: 0 !important; margin-left: 0 !important; list-style: none !important; }
.entry-content .mx-feature-points li { margin: 0 !important; padding-left: 0 !important; }
.mx-feature .mx-pill-cat { color: #fff; border-color: rgba(255,255,255,.6); }
.mx-home .mx-newsletter { margin-top: clamp(3.5rem, 8vw, 6rem) !important; }
.mx-home .mx-latest { padding-bottom: 0.5rem; }
body .mx-empty a.mx-pill-btn-dark, body .mx-empty a.mx-pill-btn-dark:hover { color: #fff !important; text-decoration: none; }
.mx-hub-page .entry-hero .entry-header { text-align: left; }
.mx-hub-page .archive-description { margin-left: 0; }

/* ---------- Newsletter band v3 (after review) ---------- */
/* 1. Guaranteed gap above the band, whatever the cards' heights. */
.mx-home .mx-latest { padding-bottom: clamp(3.5rem, 8vw, 6rem) !important; }
.mx-home .mx-newsletter { margin-top: 0 !important; }
/* 6. Even card rows: titles clamp to 3 lines, cards align to the top. */
.mx-card-grid, .mx-coming { align-items: start; }
.mx-card-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* 2. Swoosh stays inside the band's top edge and bleeds only off the right. */
.mx-swoosh-news { top: 40px !important; right: -60px !important; width: 40% !important; }
/* 5. Headline breathing room. */
.mx-newsletter-title { letter-spacing: -0.03em !important; word-spacing: 0.06em; line-height: 1.02 !important; }
/* 3. Form: a clean pill (input + button), legal line outside it. */
.mx-newsletter-form { display: block !important; background: transparent !important; padding: 0 !important; border-radius: 0 !important; }
.mx-field {
	display: flex; align-items: center; gap: 8px;
	background: var(--mx-card); border-radius: 999px; padding: 6px 6px 6px 8px;
	border: 2px solid transparent; transition: border-color .15s ease;
}
.mx-field:focus-within { border-color: var(--mx-accent); }
.mx-field input[type=email] { flex: 1 1 auto; padding: 0.85em 1em !important; }
.mx-field button { flex: 0 0 auto; padding: 0.85em 1.5em !important; white-space: nowrap; }
/* 4. Warm placeholder. */
.mx-newsletter-form input::placeholder { color: #9c968b; opacity: 1; }
.mx-form-legal { color: #9c968b !important; padding: 12px 4px 0 !important; font-size: 0.8rem !important; }
.mx-form-legal a { color: #e9e6df; }
@media (max-width: 640px) {
	.mx-field { flex-direction: column; align-items: stretch; border-radius: 22px; padding: 6px; }
	.mx-field button { width: 100%; }
	.mx-swoosh-news { width: 70% !important; top: 18px !important; opacity: .5; }
}
/* ======================= Audit fixes (v1.3.0) ======================= */
/* 2. Topic tiles: fixed rhythm so text lines up across a row. */
.mx-topic { justify-content: flex-start; }
.mx-topic-icon { margin-bottom: 36px !important; }
.mx-topic-count { margin-top: 0; }
.mx-topic-name { margin-top: 0; }

/* 3. Feature card: points spread across the card. */
.mx-feature-intro { display: flex; flex-direction: column; justify-content: flex-end; }
.entry-content .mx-feature-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; max-width: none; }
.entry-content .mx-feature-points li { border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 16px !important; }
.mx-feature-points strong { display: block; font-size: 1.35rem; margin: 0 0 6px; }
.mx-feature-kicker { margin-top: 0 !important; }

/* 6/7. Phones: compact topic tiles, no muddy swoosh. */
@media (max-width: 640px) {
	.entry-content .mx-feature-points { grid-template-columns: 1fr; }
	.mx-topic { min-height: 0; padding: 20px; }
	.mx-topic-icon { width: 44px; height: 44px; margin-bottom: 18px !important; }
	.mx-topic-name { font-size: 1.45rem; }
	.mx-swoosh-news { display: none; }
	.mx-swoosh-hero { width: 80%; top: 30px; }
}
@media (min-width: 641px) and (max-width: 1024px) {
	.entry-content .mx-feature-points { gap: 0 18px; }
}

/* 8/9. Section pages: left-aligned header, tighter gap. */
.mx-hub-page .entry-hero .entry-header,
.mx-hub-page .entry-hero .entry-header * { text-align: left !important; }
.mx-hub-page .archive-description { margin: 14px 0 0 !important; max-width: 56ch; }
.mx-hub-page .content-area { margin-top: 2rem !important; }
.mx-empty { padding-top: 0; }

/* 10. Plain pages: one centred column, title aligned with the text. */
.mx-plain-page .entry-hero .entry-header,
.mx-plain-page .entry-content { max-width: 760px; margin-left: auto !important; margin-right: auto !important; }
.mx-plain-page .entry-hero .entry-header { text-align: left !important; padding-left: 24px; padding-right: 24px; }
.mx-plain-page .entry-content-wrap { padding-left: 24px !important; padding-right: 24px !important; }
.mx-plain-page .entry-hero .entry-title { font-size: clamp(2.2rem, 5vw, 3.4rem) !important; }

/* 13. No author/date line on pages. */
.mx-plain-page .entry-meta, .page .entry-header .entry-meta { display: none !important; }

/* 12. Search results as tidy cards. */
.search .loop-entry .entry-title { font-size: 1.35rem !important; letter-spacing: -0.02em !important; }
.search .page-title, .search .archive-title { font-size: clamp(1.8rem, 4vw, 2.6rem) !important; }
.loop-entry .more-link-wrap a, .loop-entry .post-more-link { font-family: var(--mx-mono); font-size: 0.75rem; letter-spacing: .06em; color: var(--mx-accent-ink) !important; }

/* 14. Search boxes match the design. */
.search-form input[type=search], .mx-404-search input[type=search] {
	border: 1px solid var(--mx-rule) !important; border-radius: 999px !important; background: var(--mx-card) !important;
	padding: 0.85em 1.2em !important; font-size: 1rem; box-shadow: none !important;
}
.search-form input[type=search]:focus, .mx-404-search input[type=search]:focus { border-color: var(--mx-ink) !important; outline: none; }

/* 15. 404 page. */
.error404 .entry-hero, .error404 .page-header { display: none; }
.mx-404 { max-width: 760px; margin: 0 auto; padding: clamp(2.5rem, 7vw, 5rem) 0; }
.mx-404-num { font-family: var(--mx-display); font-weight: 800; font-size: clamp(6rem, 20vw, 12rem); line-height: .8; letter-spacing: -0.06em; color: var(--mx-accent); margin: 0 0 18px !important; }
.mx-404-title { font-size: clamp(2rem, 5vw, 3.2rem) !important; margin: 0 0 12px !important; }
.mx-404-title em { color: var(--mx-accent-ink); }
.mx-404-note { color: var(--mx-muted); margin: 0 0 20px !important; }
.mx-404-hubs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.mx-404-hubs .mx-pill-btn { border: 1px solid var(--mx-rule); }
.mx-404-hubs .mx-pill-btn:hover { border-color: var(--mx-ink); color: var(--mx-ink); }
.mx-404-search { display: flex; gap: 8px; margin-bottom: 26px; max-width: 520px; }
.mx-404-search input { flex: 1; }
.mx-404-search button { border: 0; border-radius: 999px; background: var(--mx-ink); color: #fff; font-weight: 600; padding: 0 1.4em; cursor: pointer; }
.mx-404-search button:hover { background: var(--mx-accent); }

/* 16. Footer brand block. */
.mx-footer-brand { border-top: 1px solid var(--mx-rule); background: var(--mx-paper); }
.mx-footer-inner {
	max-width: var(--mx-wrap); margin: 0 auto; padding: 44px 24px 28px;
	display: grid; grid-template-columns: 1.2fr 2fr auto; gap: 28px; align-items: start;
}
.mx-footer-logo { font-family: var(--mx-display); font-weight: 800; font-size: 1.9rem; letter-spacing: -0.04em; color: var(--mx-ink); text-decoration: none; }
.mx-footer-logo span { color: var(--mx-accent); }
.mx-footer-tag { color: var(--mx-muted); margin: 6px 0 0; font-size: 0.95rem; max-width: 30ch; }
.mx-footer-hubs { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 10px 28px; justify-content: start; }
.mx-footer-hubs a { color: var(--mx-ink); text-decoration: none; font-weight: 500; }
.mx-footer-hubs a:hover { color: var(--mx-accent-ink); }
.mx-footer-cta { white-space: nowrap; }
#colophon { border-top: 0 !important; }
#colophon .site-bottom-footer-inner-wrap { padding-top: 0.6rem !important; }
@media (max-width: 900px) {
	.mx-footer-inner { grid-template-columns: 1fr; }
	.mx-footer-hubs { grid-template-columns: repeat(2, auto); }
}

/* ---- v1.3.1: footer order, flex-centred titles ---- */
#colophon { display: none !important; }
.mx-footer-copy { text-align: center; color: var(--mx-muted); font-size: 0.8rem; margin: 14px 0 0; }
.mx-hub-page .entry-hero .entry-header,
.mx-plain-page .entry-hero .entry-header { align-items: flex-start !important; justify-content: flex-start !important; }
.mx-hub-page .entry-hero .entry-header > *, .mx-plain-page .entry-hero .entry-header > * { margin-left: 0 !important; margin-right: 0 !important; text-align: left !important; align-self: flex-start !important; }
.mx-hub-page .archive-description, .mx-hub-page .archive-description p { margin-left: 0 !important; text-align: left !important; }

/* ---- v1.3.2: page title alignment, mobile hero swoosh ---- */
.mx-plain-page .entry-hero .entry-header { padding-left: 0 !important; padding-right: 0 !important; }
@media (max-width: 640px) {
	.mx-plain-page .entry-hero .entry-header { padding-left: 24px !important; padding-right: 24px !important; }
	.mx-feature-intro { padding-top: 150px !important; }
	.mx-swoosh-hero { width: 72% !important; top: 66px !important; right: -24px !important; }
}

/* ---- v1.4.1: article page fixes ---- */
.single-post .post-thumbnail, .single-post .entry-hero .post-thumbnail, .single-post article > .post-thumbnail { display: none !important; }
.single-post .entry-header { padding-top: clamp(1.5rem, 4vw, 3rem); }
.entry-content :not(pre) > code, .mx-summary code {
	background: #ece7dc; color: var(--mx-ink); padding: 0.12em 0.4em; border-radius: 6px; font-size: 0.86em; white-space: nowrap;
}
@media (max-width: 640px) {
	.mx-article-body > p:first-of-type { font-size: 1.1rem; }
	.single-post .entry-title { font-size: 2.1rem !important; }
	.entry-content :not(pre) > code { white-space: normal; }
}

/* ---------- Responsive covers (v1.6) ----------
   Live text instead of images with baked-in text: it wraps and scales with the
   card through container query units, so it is never cropped on phones. */
.mx-cover-tone-sand  { --mx-cv-bg: var(--mx-sand); }
.mx-cover-tone-sky   { --mx-cv-bg: var(--mx-sky); }
.mx-cover-tone-sage  { --mx-cv-bg: var(--mx-sage); }
.mx-cover-tone-lilac { --mx-cv-bg: var(--mx-lilac); }
.mx-cover-tone-coral { --mx-cv-bg: var(--mx-coral); }
.mx-cover-tone-lemon { --mx-cv-bg: var(--mx-lemon); }
.mx-cover-tone-ink   { --mx-cv-bg: var(--mx-ink); --mx-cv-ink: #fff; --mx-cv-sub: #bdb8ae; --mx-cv-dot: rgba(255,255,255,.12); --mx-cv-em: var(--mx-accent); --mx-cv-chip: #2a2825; --mx-cv-chip-ink: #f1eee7; }

.mx-cover {
	container-type: inline-size;
	position: relative; display: flex; flex-direction: column; gap: 12px;
	width: 100%; aspect-ratio: 16 / 10; padding: clamp(16px, 6%, 30px); box-sizing: border-box;
	background: var(--mx-cv-bg, var(--mx-sand)); color: var(--mx-cv-ink, var(--mx-ink));
	overflow: visible; /* grows taller instead of clipping if the text needs room */
}
.mx-cover-dots {
	position: absolute; inset: 0; pointer-events: none;
	background-image: radial-gradient(var(--mx-cv-dot, rgba(0,0,0,.09)) 1.5px, transparent 1.5px);
	background-size: 22px 22px;
}
.mx-cover > :not(.mx-cover-dots) { position: relative; }
.mx-cover-kicker {
	display: flex; align-items: center; gap: 0.6em;
	font: 500 clamp(10px, 3.1cqi, 14px)/1.3 var(--mx-mono); letter-spacing: 0.07em; text-transform: uppercase;
	color: var(--mx-cv-sub, var(--mx-ink-2));
}
.mx-cover-kicker .mx-dot { flex: none; }
.mx-cover-head {
	font-family: var(--mx-display); font-weight: 800; font-size: clamp(20px, 8.4cqi, 56px);
	line-height: 1; letter-spacing: -0.04em; max-width: 15ch; text-wrap: balance;
}
.mx-cover-head em { font-family: var(--mx-serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em; color: var(--mx-cv-em, var(--mx-accent-ink)); }
.mx-cover-chips {
	display: flex; flex-wrap: wrap; gap: 1.6cqi; margin-top: auto;
	max-height: calc(2 * (clamp(10px, 3.2cqi, 15px) * 1.2 + 2.4cqi) + 1.6cqi); overflow: hidden; /* at most two rows */
}
.mx-cover-chip {
	font: 500 clamp(10px, 3.2cqi, 15px)/1.2 var(--mx-mono); padding: 1.2cqi 2.6cqi; border-radius: 999px;
	background: var(--mx-cv-chip, #fff); color: var(--mx-cv-chip-ink, var(--mx-ink)); white-space: nowrap;
}
.mx-cover-chip:last-child:not(:only-child) { background: var(--mx-accent); color: #fff; }
.mx-cover-brand { display: none; }
.mx-card:hover .mx-cover-head { color: inherit; }

/* Card media: let the cover set the height. */
.mx-card-media:has(.mx-cover) { aspect-ratio: auto; background: none; }
.mx-card-media .mx-cover { transition: transform .35s ease; }
.mx-card:hover .mx-card-media .mx-cover { transform: scale(1.02); }

/* Theme archive loops (Kadence ratio box with absolute inner). */
.post-thumbnail:has(.mx-cover) { padding-bottom: 0 !important; height: auto !important; }
.post-thumbnail:has(.mx-cover) .post-thumbnail-inner { position: static !important; height: auto !important; }

/* Homepage feature: everything in normal flow, so title, pills and chips can never overlap. */
.mx-feature-cover {
	display: flex; flex-direction: column; gap: 18px; padding: 22px;
	background: var(--mx-cv-bg, var(--mx-ink)); color: var(--mx-cv-ink, var(--mx-ink));
	min-height: 480px;
}
.mx-feature-cover .mx-feature-pills { position: static; }
.mx-feature-cover .mx-cover-feature {
	position: static; flex: 1; aspect-ratio: auto; padding: 0; background: none; gap: 22px;
	container-type: inline-size;
}
.mx-feature-cover .mx-cover-feature .mx-cover-dots { position: absolute; inset: 0; }
.mx-feature-cover { isolation: isolate; }
.mx-feature-cover .mx-cover-feature { position: static; }
.mx-feature-cover .mx-cover-dots { z-index: -1; }
.mx-feature-cover .mx-cover-kicker { font-size: clamp(11px, 2.2cqi, 14px); margin-top: 8px; }
.mx-feature-cover .mx-cover-chips {
	margin-top: auto; margin-bottom: auto; max-height: none; gap: 10px; max-width: 560px;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr));
}
.mx-feature-cover .mx-cover-chip { font-size: 15px; padding: 12px 16px; border-radius: 14px; }
.mx-feature-cover .mx-cover-chip:nth-child(n+5) { background: var(--mx-ink); color: #fff; }
.mx-feature-cover .mx-cover-chip:last-child:not(:only-child) { background: var(--mx-accent); color: #fff; }
.mx-feature-foot { display: flex; align-items: flex-end; gap: 14px; }
.mx-feature-cover .mx-feature-title { position: static; flex: 1; min-width: 0; }
.mx-feature-cover .mx-round-arrow { position: static; flex: none; }
@media (max-width: 640px) {
	.mx-feature-cover { min-height: 0; padding: 16px; gap: 16px; }
	.mx-feature-cover .mx-cover-chips { grid-template-columns: 1fr 1fr; margin: 4px 0; }
	.mx-feature-cover .mx-cover-chip { font-size: 13px; padding: 10px 12px; overflow: hidden; text-overflow: ellipsis; }
	.mx-feature-cover .mx-feature-title { font-size: 1.45rem !important; }
}
.mx-feature-cover .mx-pill-cat { color: var(--mx-cv-ink, var(--mx-ink)); border: 1px solid currentColor; background: transparent; }
a:has(> .mx-cover), a:has(.mx-cover), .post-thumbnail:has(.mx-cover) { text-decoration: none !important; }

/* ---------- Article media (v1.7): videos, screenshots, charts, AI outputs ----------
   Everything scales to the column width; nothing is cropped. */
.mx-media { margin: 2rem 0 !important; }
.mx-media img, .mx-media video { display: block; width: 100%; height: auto; border-radius: 16px; background: #000; }
.mx-media img { background: var(--mx-card); border: 1px solid var(--mx-rule); }
.mx-media video { aspect-ratio: 16 / 9; }
.mx-media figcaption { font-size: 0.88rem; line-height: 1.5; color: var(--mx-muted); margin-top: 10px; text-align: left; }
.mx-media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mx-media-pair figcaption { grid-column: 1 / -1; margin-top: 0; }
.mx-media-label { font: 500 0.78rem/1.3 var(--mx-mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--mx-ink-2); margin: 8px 0 0 !important; }
@media (max-width: 640px) { .mx-media-pair { grid-template-columns: 1fr; } }

/* Click-to-load YouTube (no YouTube scripts or cookies until the reader presses play). */
.mx-yt { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.mx-yt img { width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; opacity: .92; transition: opacity .2s; }
.mx-yt:hover img { opacity: 1; }
.mx-yt-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--mx-accent); box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .2s; }
.mx-yt-play::after { content: ""; position: absolute; left: 29px; top: 23px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #fff; }
.mx-yt:hover .mx-yt-play { transform: scale(1.08); }
.mx-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Bar charts in HTML/CSS */
.mx-chart { background: var(--mx-card); border: 1px solid var(--mx-rule); border-radius: 20px; padding: clamp(18px, 4vw, 28px); }
.mx-chart-title { font-family: var(--mx-display); font-weight: 700; font-size: 1.1rem; line-height: 1.25; margin: 0 0 18px !important; }
.mx-bars { display: grid; gap: 14px; }
.mx-bar { display: grid; grid-template-columns: minmax(0, 15rem) 1fr 4.2rem; align-items: center; gap: 12px; }
.mx-bar-label { font-size: 0.92rem; line-height: 1.3; color: var(--mx-ink-2); }
.mx-bar-track { height: 14px; border-radius: 999px; background: var(--mx-paper); overflow: hidden; }
.mx-bar-fill { display: block; height: 100%; border-radius: 999px; background: var(--mx-ink); }
.mx-bar-hi .mx-bar-fill { background: var(--mx-accent); }
.mx-bar-value { font: 600 0.95rem var(--mx-mono); text-align: right; }
.mx-chart figcaption { margin-top: 18px; }
@media (max-width: 640px) {
	.mx-bar { grid-template-columns: 1fr auto; row-gap: 6px; }
	.mx-bar-track { grid-column: 1 / -1; grid-row: 2; }
}

/* Real AI output boxes */
.mx-output { margin: 1.6rem 0 2rem; border: 1px solid var(--mx-rule); border-radius: 20px; background: var(--mx-card); overflow: hidden; }
.mx-output-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; padding: 12px 18px; background: var(--mx-lilac); font: 500 0.78rem/1.4 var(--mx-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--mx-ink-2); }
.mx-output-model { color: var(--mx-ink); font-weight: 600; }
.mx-output-model::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mx-accent); margin-right: 8px; vertical-align: 1px; }
.mx-output-filled { margin: 0 !important; padding: 14px 18px 0; font-size: 0.92rem; color: var(--mx-muted); }
.mx-output-body { padding: 6px 18px 16px; font-size: 0.98rem; line-height: 1.6; }
.mx-output-body ol { padding-left: 1.3em; margin: 10px 0; }
.mx-output-body li { margin: 0 0 10px; }
.mx-output-body p { margin: 0 !important; color: var(--mx-ink-2); }

/* Keep reading (v1.8) */
.mx-related { margin: 3rem 0 1rem; padding-top: 2rem; border-top: 1px solid var(--mx-rule); }
.mx-related-title { font-size: 1.5rem !important; margin: 0 0 1rem !important; }
.mx-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.mx-related-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 44px; border-radius: 18px; background: var(--mx-card); border: 1px solid var(--mx-rule); color: var(--mx-ink); text-decoration: none !important; transition: border-color .2s, transform .2s; }
.mx-related-card:hover { border-color: var(--mx-ink); transform: translateY(-2px); color: var(--mx-ink); }
.mx-related-cat { font: 500 0.72rem/1.3 var(--mx-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mx-accent-ink); }
.mx-related-name { font-family: var(--mx-display); font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.mx-related-arrow { position: absolute; left: 18px; bottom: 14px; color: var(--mx-muted); }
