/* Market Lense theme. Torn-banknote collage on deep navy. Brand tokens first. */
:root {
  --mlx-navy: #04293C;
  --mlx-navy-2: #0A3A52;
  --mlx-navy-3: #12485F;
  --mlx-paper: #F7F5EF;
  --mlx-white: #FFFFFF;
  --mlx-ink: #1F2A30;
  --mlx-ink-med: #3E4A51;
  --mlx-ink-light: #5C676D;
  --mlx-rule: #D9D5CB;
  --mlx-rule-light: #E8E5DD;
  --mlx-tint: #F2EFE7;
  /* Banknote colours: fill (bright), text (deep, AA on white), light (tint) */
  --mlx-coral: #E5735A;   --mlx-coral-deep: #B6402B;   --mlx-coral-light: #F7D3C7;
  --mlx-green: #5E9E83;   --mlx-green-deep: #2E6A55;   --mlx-green-light: #D3E6DD;
  --mlx-pink: #E0559A;    --mlx-pink-deep: #B5286C;    --mlx-pink-light: #F8D5E5;
  --mlx-gold: #D9A13F;    --mlx-gold-deep: #8A5F1C;    --mlx-gold-light: #F2DFB4;
  --mlx-up: var(--mlx-green-deep);
  --mlx-down: var(--mlx-coral-deep);
  --mlx-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --mlx-sans: 'Outfit', Arial, Helvetica, sans-serif;
  --mlx-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --mlx-max: 1200px;
  --mlx-text: 850px;
  --mlx-sheet: 660px;
  --mlx-radius: 2px;
  --mlx-ease: 180ms ease;
  --mlx-torn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 30' preserveAspectRatio='none'%3E%3Cpath d='M0 30 L0 14 L16 4 L34 12 L41 3 L50 7 L57 16 L79 5 L86 3 L105 8 L113 5 L121 10 L140 2 L149 5 L156 11 L174 2 L187 2 L197 6 L216 4 L225 11 L240 10 L251 3 L263 7 L272 10 L280 11 L287 11 L299 9 L318 14 L334 9 L354 7 L369 5 L380 13 L393 3 L408 10 L429 16 L445 13 L465 6 L473 3 L495 8 L506 14 L522 4 L543 8 L550 12 L558 14 L574 7 L591 11 L612 11 L632 3 L640 6 L661 13 L669 2 L684 12 L704 6 L722 16 L739 2 L759 7 L770 11 L779 9 L786 5 L801 4 L814 8 L832 16 L853 3 L864 9 L882 10 L896 16 L906 15 L925 15 L939 13 L958 7 L976 5 L986 3 L997 4 L1010 12 L1023 2 L1044 15 L1055 6 L1070 2 L1080 8 L1097 11 L1113 4 L1135 11 L1142 9 L1160 8 L1178 8 L1187 9 L1200 2 L1200 30 Z'/%3E%3C/svg%3E");
  --mlx-engrave: repeating-linear-gradient(112deg, rgba(4,41,60,0.07) 0 1px, transparent 1px 5px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mlx-paper); color: var(--mlx-ink); font-family: var(--mlx-serif); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mlx-navy); }
:focus-visible { outline: 3px solid var(--mlx-gold); outline-offset: 2px; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.mlx-skip { position: absolute; left: -999px; top: 8px; background: var(--mlx-gold); color: var(--mlx-navy); padding: 8px 14px; z-index: 100; font-family: var(--mlx-sans); font-weight: 600; }
.mlx-skip:focus { left: 8px; }

.mlx-wrap { max-width: var(--mlx-max); margin: 0 auto; padding: 0 32px; }
.mlx-wrap-text { max-width: calc(var(--mlx-text) + 64px); }
.mlx-center { text-align: center; }

/* Torn paper edge: put .mlx-torn-top on a section, its top edge tears into the section above */
.mlx-torn-top { position: relative; }
.mlx-torn-top::before { content: ''; position: absolute; left: 0; right: 0; top: -22px; height: 23px; background: inherit; background-image: none; -webkit-mask: var(--mlx-torn) 0 0 / 100% 100% no-repeat; mask: var(--mlx-torn) 0 0 / 100% 100% no-repeat; pointer-events: none; }
.mlx-torn-top.mlx-torn-paper::before { background: var(--mlx-paper); }
.mlx-torn-top.mlx-torn-navy::before { background: var(--mlx-navy); }
.mlx-torn-top.mlx-torn-white::before { background: var(--mlx-white); }

/* Banknote strip trio, the brand's signature rule */
.mlx-notes { display: flex; height: 5px; }
.mlx-notes span { flex: 1; }
.mlx-notes span:nth-child(1) { background: var(--mlx-coral); }
.mlx-notes span:nth-child(2) { background: var(--mlx-green); }
.mlx-notes span:nth-child(3) { background: var(--mlx-pink); }
.mlx-notes span:nth-child(4) { background: var(--mlx-gold); }

/* Type */
.mlx-kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mlx-sans); font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--mlx-ink-light); margin-bottom: 14px; }
.mlx-kicker::before { content: ''; width: 26px; height: 4px; background: var(--mlx-coral); transform: skewX(-20deg); }
.mlx-kicker-light { color: #C9D6DD; }
.mlx-kicker-green::before { background: var(--mlx-green); }
.mlx-kicker-pink::before { background: var(--mlx-pink); }
.mlx-kicker-gold::before { background: var(--mlx-gold); }
.mlx-pill { display: inline-block; font-family: var(--mlx-sans); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--mlx-navy); background: var(--mlx-gold-light); padding: 6px 12px; margin-bottom: 16px; transform: rotate(-1.5deg); }
.mlx-h1 { font-family: var(--mlx-display); font-weight: 700; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -0.5px; color: #fff; margin-bottom: 22px; }
.mlx-h1 em { font-style: italic; font-weight: 500; color: var(--mlx-gold); }
.mlx-h2 { font-family: var(--mlx-display); font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; color: var(--mlx-navy); margin-bottom: 16px; }
.mlx-lead { font-family: var(--mlx-serif); font-size: 19px; line-height: 1.65; color: var(--mlx-ink-med); }

/* Buttons (one style everywhere) */
.mlx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--mlx-sans); font-size: 14px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; text-decoration: none; color: var(--mlx-navy); background: var(--mlx-coral); border: 2px solid var(--mlx-coral); border-radius: var(--mlx-radius); padding: 10px 20px; cursor: pointer; transition: background var(--mlx-ease), border-color var(--mlx-ease), color var(--mlx-ease); white-space: nowrap; }
.mlx-btn:hover { background: var(--mlx-gold); border-color: var(--mlx-gold); }
.mlx-btn-ghost { background: transparent; color: var(--mlx-navy); border-color: var(--mlx-navy); }
.mlx-btn-ghost:hover { background: var(--mlx-navy); border-color: var(--mlx-navy); color: #fff; }
.mlx-on-dark .mlx-btn-ghost, .mlx-header .mlx-btn-ghost { color: #fff; border-color: rgba(255,255,255,0.6); }
.mlx-on-dark .mlx-btn-ghost:hover, .mlx-header .mlx-btn-ghost:hover { background: #fff; color: var(--mlx-navy); }
.mlx-btn-lg { padding: 14px 24px; }

/* Header */
.mlx-header { position: sticky; top: 0; z-index: 50; background: var(--mlx-navy); color: #fff; }
.mlx-header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 70px; }
.mlx-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.mlx-brand-logo { max-height: 40px; width: auto; }
.mlx-brand-name { font-family: var(--mlx-display); font-size: 23px; font-weight: 700; letter-spacing: 0.2px; }
.mlx-brand-name b { font-weight: 700; color: var(--mlx-gold); }
.mlx-nav { display: flex; align-items: center; gap: 28px; }
.mlx-nav-list { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.mlx-nav-list a, .mlx-signin { font-family: var(--mlx-sans); font-size: 15px; font-weight: 500; color: #D7E1E6; text-decoration: none; transition: color var(--mlx-ease); }
.mlx-nav-list a:hover, .mlx-signin:hover { color: #fff; }
.mlx-nav-actions { display: flex; align-items: center; gap: 18px; }
.mlx-burger { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.35); background: transparent; border-radius: var(--mlx-radius); cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.mlx-burger span { display: block; height: 2px; background: #fff; transition: transform var(--mlx-ease), opacity var(--mlx-ease); }
.mlx-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mlx-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mlx-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Forms */
.mlx-form { margin-top: 30px; max-width: 520px; }
.mlx-form-row { display: flex; background: #fff; border: 2px solid #fff; border-radius: var(--mlx-radius); }
.mlx-input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 13px 16px; font-family: var(--mlx-sans); font-size: 16px; color: var(--mlx-ink); }
.mlx-input::placeholder { color: #6B757B; }
.mlx-input:focus-visible { outline-offset: -3px; }
.mlx-form .mlx-btn { border-radius: 0 var(--mlx-radius) var(--mlx-radius) 0; }
.mlx-on-light .mlx-form-row { border-color: var(--mlx-navy); }
.mlx-btn-loading, .mlx-form-success, .mlx-form-error:empty { display: none; }
.mlx-form.loading .mlx-btn-label { display: none; }
.mlx-form.loading .mlx-btn-loading { display: inline; }
.mlx-form.success .mlx-form-row { display: none; }
.mlx-form.success .mlx-form-success { display: block; font-family: var(--mlx-sans); font-size: 16px; font-weight: 600; color: var(--mlx-green); padding: 14px 0; }
.mlx-on-light .mlx-form.success .mlx-form-success { color: var(--mlx-green-deep); }
.mlx-form-error { font-family: var(--mlx-sans); font-size: 14px; color: var(--mlx-coral); margin-top: 10px; }
.mlx-on-light .mlx-form-error { color: var(--mlx-coral-deep); }
.mlx-hero-note { font-family: var(--mlx-sans); font-size: 14px; color: #B9C8D0; margin-top: 12px; }

/* Hero */
.mlx-hero { background: var(--mlx-navy); color: #DCE5EA; padding: 64px 0 96px; overflow: hidden; }
.mlx-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.mlx-hero .mlx-lead { color: #CFDAE0; }
.mlx-hero-art { position: relative; margin: 0; }
.mlx-hero-art img { width: 100%; -webkit-mask-image: radial-gradient(ellipse 90% 88% at 50% 50%, #000 78%, transparent 100%); mask-image: radial-gradient(ellipse 90% 88% at 50% 50%, #000 78%, transparent 100%); }
.mlx-ticket { position: absolute; left: 4%; bottom: 2%; background: var(--mlx-paper); color: var(--mlx-navy); padding: 12px 16px 12px; box-shadow: 0 14px 30px -14px rgba(0,0,0,0.6); transform: rotate(-2.5deg); font-family: var(--mlx-sans); max-width: 290px; }
.mlx-ticket-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--mlx-ink-light); margin-bottom: 6px; }
.mlx-ticket-row { display: flex; justify-content: space-between; gap: 18px; font-size: 15px; font-weight: 600; padding: 3px 0; }
.mlx-ticket-row b { font-weight: 700; color: var(--mlx-ink); }
.mlx-up { color: var(--mlx-up); }
.mlx-down { color: var(--mlx-down); }

/* Sections */
.mlx-sec { padding: 92px 0; }
.mlx-sec-tight { padding: 0 0 88px; }
.mlx-sec-paper { background: var(--mlx-paper); }
.mlx-sec-white { background: var(--mlx-white); }
.mlx-sec-dark { background: var(--mlx-navy); color: #D7E1E6; }
.mlx-sec-dark .mlx-h2 { color: #fff; }
.mlx-sec-dark p { font-size: 18px; line-height: 1.7; margin-bottom: 14px; }
.mlx-sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.mlx-sec-head .mlx-h2 { margin-bottom: 0; }
.mlx-split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.mlx-split-even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }

/* Torn banknote strips (what you get) */
.mlx-strips { display: grid; gap: 18px; }
.mlx-strip { --c: var(--mlx-green); --cl: var(--mlx-green-light); position: relative; padding: 6px; background: #fff; clip-path: polygon(1.5% 6%, 22% 0, 61% 4%, 99% 0, 97.5% 48%, 100% 100%, 54% 96%, 0 100%, 2.5% 52%); filter: drop-shadow(0 10px 14px rgba(4,41,60,0.12)); }
.mlx-strip:nth-child(1) { transform: rotate(-1.2deg); }
.mlx-strip:nth-child(2) { --c: var(--mlx-pink); --cl: var(--mlx-pink-light); transform: rotate(0.8deg); margin-left: 4%; }
.mlx-strip:nth-child(3) { --c: var(--mlx-gold); --cl: var(--mlx-gold-light); transform: rotate(-0.6deg); margin-right: 3%; }
.mlx-strip-in { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; align-items: start; padding: 26px 7% 26px 6%; background: var(--mlx-engrave), var(--cl); clip-path: polygon(1.5% 6%, 22% 0, 61% 4%, 99% 0, 97.5% 48%, 100% 100%, 54% 96%, 0 100%, 2.5% 52%); }
.mlx-strip-num { font-family: var(--mlx-display); font-size: 44px; font-weight: 700; line-height: 1; color: var(--c); -webkit-text-stroke: 1px var(--mlx-navy); }
.mlx-strip-label { font-family: var(--mlx-display); font-size: 23px; font-weight: 700; color: var(--mlx-navy); margin-bottom: 4px; }
.mlx-strip-desc { font-size: 17px; line-height: 1.6; color: var(--mlx-ink); }

/* Headline vs the read */
.mlx-toggle { margin: 44px auto 0; max-width: 760px; text-align: left; }
.mlx-toggle-btns { display: flex; gap: 10px; margin-bottom: -2px; position: relative; z-index: 1; }
.mlx-toggle-btns button { font-family: var(--mlx-sans); font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 12px 20px; background: var(--mlx-tint); color: var(--mlx-ink-light); border: 2px solid var(--mlx-rule); border-bottom: 0; cursor: pointer; transition: background var(--mlx-ease), color var(--mlx-ease); }
.mlx-toggle-btns button.is-active { background: #fff; color: var(--mlx-navy); border-color: var(--mlx-navy); }
.mlx-toggle-btns button[aria-controls="mlx-pan-b"].is-active { background: var(--mlx-navy); color: #fff; }
.mlx-toggle-panel { padding: 34px 36px 36px; background: #fff; border: 2px solid var(--mlx-navy); }
#mlx-pan-b { background: var(--mlx-navy); }
#mlx-pan-b .mlx-quote { color: var(--mlx-gold); }
#mlx-pan-b .mlx-quote-sub { color: #D7E1E6; }
.mlx-quote { font-family: var(--mlx-display); font-style: italic; font-weight: 500; font-size: clamp(24px, 3vw, 34px); line-height: 1.25; color: var(--mlx-navy); margin-bottom: 14px; }
.mlx-quote-sub { font-size: 17px; line-height: 1.7; color: var(--mlx-ink-med); }
.mlx-quote-strike { text-decoration: line-through; text-decoration-color: var(--mlx-coral); text-decoration-thickness: 3px; }

/* About Tom */
.mlx-bigquote { margin: 0; position: relative; padding: 34px 30px 30px; background: var(--mlx-engrave), var(--mlx-paper); transform: rotate(-1.5deg); box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6); }
.mlx-bigquote::before { content: ''; position: absolute; left: 22px; top: -10px; width: 90px; height: 20px; background: var(--mlx-gold); opacity: 0.9; transform: rotate(-4deg); }
.mlx-bigquote p { font-family: var(--mlx-display); font-style: italic; font-weight: 500; font-size: clamp(26px, 3.2vw, 38px) !important; line-height: 1.22 !important; color: var(--mlx-navy) !important; margin: 0 !important; }
.mlx-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.18); }
.mlx-stat-num { display: block; font-family: var(--mlx-display); font-weight: 700; font-size: clamp(34px, 4.4vw, 50px); line-height: 1; margin-bottom: 6px; }
.mlx-stats div:nth-child(1) .mlx-stat-num { color: var(--mlx-coral); }
.mlx-stats div:nth-child(2) .mlx-stat-num { color: var(--mlx-green); }
.mlx-stats div:nth-child(3) .mlx-stat-num { color: var(--mlx-gold); }
.mlx-stat-label { font-family: var(--mlx-sans); font-size: 13px; letter-spacing: 0.5px; color: #B9C8D0; }

/* Issue cards */
.mlx-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.mlx-card { --c: var(--mlx-coral); position: relative; background: #fff; border: 1px solid var(--mlx-rule); transition: box-shadow var(--mlx-ease), transform var(--mlx-ease); }
.mlx-card:nth-child(3n+2) { --c: var(--mlx-green); }
.mlx-card:nth-child(3n+3) { --c: var(--mlx-pink); }
.mlx-card::before { content: ''; display: block; height: 14px; background: var(--mlx-engrave), var(--c); -webkit-mask: var(--mlx-torn) 0 0 / 100% 100% no-repeat; mask: var(--mlx-torn) 0 0 / 100% 100% no-repeat; transform: scaleY(-1); }
.mlx-card:hover { box-shadow: 0 18px 34px -22px rgba(4,41,60,0.5); transform: translateY(-3px) rotate(-0.3deg); }
.mlx-card-link { display: flex; flex-direction: column; height: calc(100% - 14px); padding: 18px 24px 24px; text-decoration: none; color: inherit; }
.mlx-card-date { font-family: var(--mlx-sans); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--mlx-ink-light); margin-bottom: 12px; }
.mlx-card-title { font-family: var(--mlx-display); font-size: 24px; font-weight: 700; line-height: 1.18; color: var(--mlx-navy); margin-bottom: 10px; }
.mlx-card-excerpt { font-size: 16px; line-height: 1.6; color: var(--mlx-ink-med); margin-bottom: 18px; }
.mlx-card-more { margin-top: auto; font-family: var(--mlx-sans); font-size: 14px; font-weight: 700; color: var(--mlx-navy); text-decoration: underline; text-decoration-color: var(--c); text-decoration-thickness: 3px; text-underline-offset: 5px; }

.mlx-empty { border: 2px dashed var(--mlx-rule); background: #fff; padding: 32px; text-align: center; }
.mlx-empty-wide { grid-column: 1 / -1; }
.mlx-empty-title { font-family: var(--mlx-display); font-size: 24px; font-weight: 700; color: var(--mlx-navy); margin-bottom: 6px; }
.mlx-empty-text { font-size: 16px; color: var(--mlx-ink-med); margin-bottom: 18px; }

/* CTA band */
.mlx-cta { background: var(--mlx-navy); color: #D7E1E6; padding: 80px 0 76px; margin-top: 22px; }
.mlx-cta .mlx-h2 { color: #fff; }
.mlx-cta .mlx-lead { color: #CFDAE0; }
.mlx-cta-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.mlx-cta .mlx-form { margin-top: 0; justify-self: end; width: 100%; }

/* Archive */
.mlx-page-head { margin-bottom: 36px; }
.mlx-archive { background: #fff; border: 1px solid var(--mlx-rule); }
.mlx-archive > .mlx-notes { height: 6px; }
.mlx-row { border-bottom: 1px solid var(--mlx-rule-light); }
.mlx-row:last-child { border-bottom: 0; }
.mlx-row-link { display: grid; grid-template-columns: 150px minmax(0, 1fr) 90px; gap: 20px; align-items: baseline; padding: 22px 24px; text-decoration: none; color: inherit; transition: background var(--mlx-ease); }
.mlx-row-link:hover { background: var(--mlx-tint); }
.mlx-row-date { font-family: var(--mlx-sans); font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--mlx-ink-light); }
.mlx-row-title { display: block; font-family: var(--mlx-display); font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--mlx-navy); margin-bottom: 4px; }
.mlx-row-excerpt { display: block; font-size: 16px; line-height: 1.6; color: var(--mlx-ink-med); }
.mlx-row-time { font-family: var(--mlx-sans); font-size: 13px; color: var(--mlx-ink-light); text-align: right; }
.mlx-archive .mlx-empty { margin: 24px; }

/* Post: the white sheet on the navy desk, the same look as the email */
.mlx-desk { background: var(--mlx-navy); padding: 44px 16px 60px; }
.mlx-sheet { max-width: var(--mlx-sheet); margin: 0 auto; background: #fff; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7); }
.mlx-article-head { padding: 40px 30px 0; text-align: center; }
.mlx-article-brand { display: block; font-family: var(--mlx-display); font-size: 20px; font-weight: 700; color: var(--mlx-navy); margin: 0 0 12px; }
.mlx-article-date { font-family: var(--mlx-sans); font-size: 12.5px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--mlx-ink-light); margin-bottom: 14px; }
.mlx-article-title { font-family: var(--mlx-display); font-size: clamp(30px, 4.6vw, 42px); font-weight: 700; line-height: 1.1; color: var(--mlx-navy); margin-bottom: 14px; }
.mlx-article-excerpt { font-family: var(--mlx-serif); font-style: italic; font-size: 18px; color: var(--mlx-ink-light); margin-bottom: 8px; }
.mlx-article-rule-thin { height: 1px; background: var(--mlx-rule); margin-top: 22px; }
.mlx-article-image { margin: 0 0 30px; }
.mlx-article-image img { width: 100%; max-height: 420px; object-fit: cover; }
.mlx-article-image figcaption { font-family: var(--mlx-sans); font-size: 13px; color: var(--mlx-ink-light); text-align: center; padding: 8px 30px 0; }
.mlx-article-foot { border-top: 1px solid var(--mlx-rule); background: var(--mlx-paper); padding: 22px 30px; }
.mlx-article-foot p { font-family: var(--mlx-sans); font-size: 12.5px; line-height: 1.65; color: var(--mlx-ink-light); text-align: center; }
.mlx-prevnext { max-width: var(--mlx-sheet); margin: 26px auto 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.mlx-pn { display: block; background: var(--mlx-navy-2); border: 1px solid var(--mlx-navy-3); padding: 16px 18px; text-decoration: none; transition: border-color var(--mlx-ease); }
.mlx-pn:hover { border-color: var(--mlx-gold); }
.mlx-pn-next { grid-column: 2; text-align: right; }
.mlx-pn-label { display: block; font-family: var(--mlx-sans); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #B9C8D0; margin-bottom: 4px; }
.mlx-pn-title { font-family: var(--mlx-display); font-size: 18px; font-weight: 700; color: #fff; }
.mlx-back { max-width: var(--mlx-sheet); margin: 20px auto 0; text-align: center; font-family: var(--mlx-sans); font-size: 15px; font-weight: 600; }
.mlx-back a { color: var(--mlx-gold); }

/* Content typography for plain editor content. The HTML card brings its own inline styles. */
.mlx-content { padding: 0 30px 30px; font-family: var(--mlx-serif); font-size: 18px; line-height: 1.75; color: var(--mlx-ink); }
.mlx-content:has(.mlx-pad) { padding: 0; }
.mlx-content-page { padding: 0; }
.mlx-content > * + * { margin-top: 20px; }
.mlx-content > table, .mlx-content > style + table { margin-top: 0; }
.mlx-content h2 { font-family: var(--mlx-display); font-size: 26px; font-weight: 700; color: var(--mlx-navy); line-height: 1.25; margin-top: 36px; }
.mlx-content h3 { font-family: var(--mlx-display); font-size: 21px; font-weight: 700; color: var(--mlx-navy); margin-top: 28px; }
.mlx-content blockquote { margin-left: 0; margin-right: 0; padding: 22px 26px; background: var(--mlx-pink-light); border-left: 4px solid var(--mlx-pink-deep); font-style: normal; }
.mlx-content hr { border: 0; border-top: 1px solid var(--mlx-rule); margin: 36px 0; }
.mlx-content img { border-radius: var(--mlx-radius); }
.mlx-content a { color: var(--mlx-navy); text-decoration-color: var(--mlx-coral); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mlx-content .kg-width-wide, .mlx-content .kg-width-full { margin-left: -30px; margin-right: -30px; }
.kg-width-wide img, .kg-width-full img { width: 100%; }

/* Footer */
.mlx-footer { background: #021C29; color: #C3D0D7; padding: 0 0 36px; }
.mlx-footer .mlx-notes { margin-bottom: 52px; }
.mlx-footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.mlx-footer-tag { font-size: 16px; line-height: 1.6; max-width: 420px; margin-top: 12px; color: #C3D0D7; }
.mlx-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; align-content: flex-start; }
.mlx-footer-links a { font-family: var(--mlx-sans); font-size: 15px; font-weight: 500; color: #fff; text-decoration: none; }
.mlx-footer-links a:hover { color: var(--mlx-gold); }
.mlx-disclaimer { font-family: var(--mlx-sans); font-size: 13px; line-height: 1.65; color: #A3B4BD; margin-top: 24px; max-width: 850px; }
.mlx-copy { font-family: var(--mlx-sans); font-size: 13px; color: #A3B4BD; margin-top: 12px; }

/* Motion */
.js .mlx-reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 700ms cubic-bezier(.2,.7,.2,1); }
.js .mlx-reveal.is-in { opacity: 1; transform: none; }
.js .mlx-strip.mlx-reveal.is-in:nth-child(1) { transform: rotate(-1.2deg); }
.js .mlx-strip.mlx-reveal.is-in:nth-child(2) { transform: rotate(0.8deg); transition-delay: 90ms; }
.js .mlx-strip.mlx-reveal.is-in:nth-child(3) { transform: rotate(-0.6deg); transition-delay: 180ms; }

.pagination { display: flex; justify-content: center; gap: 20px; margin-top: 36px; font-family: var(--mlx-sans); font-size: 15px; }

/* Responsive */
@media (max-width: 960px) {
  .mlx-hero-in, .mlx-split, .mlx-split-even, .mlx-cta-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .mlx-grid3 { grid-template-columns: minmax(0, 1fr); }
  .mlx-cta .mlx-form { justify-self: start; }
  .mlx-hero-art { max-width: 560px; }
}
@media (max-width: 820px) {
  .mlx-burger { display: flex; }
  .mlx-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--mlx-navy); border-top: 1px solid rgba(255,255,255,0.12); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 22px; box-shadow: 0 16px 30px -20px rgba(0,0,0,0.6); }
  .mlx-nav.is-open { display: flex; }
  .mlx-nav-list { flex-direction: column; gap: 0; }
  .mlx-nav-list a { display: block; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 17px; }
  .mlx-nav-actions { justify-content: space-between; padding-top: 16px; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .mlx-wrap { padding: 0 20px; }
  .mlx-hero { padding: 44px 0 72px; }
  .mlx-sec { padding: 64px 0; }
  .mlx-sec-tight { padding: 0 0 60px; }
  .mlx-brand-name { font-size: 20px; }
  .mlx-lead { font-size: 17px; }
  .mlx-form-row { flex-direction: column; background: transparent; border: 0; gap: 10px; }
  .mlx-input { background: #fff; border: 2px solid #fff; border-radius: var(--mlx-radius); }
  .mlx-on-light .mlx-input { border-color: var(--mlx-navy); }
  .mlx-form .mlx-btn { border-radius: var(--mlx-radius); }
  .mlx-sec-head { flex-direction: column; align-items: flex-start; }
  .mlx-strip:nth-child(2), .mlx-strip:nth-child(3) { margin: 0; }
  .mlx-strip-in { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 24px 9% 24px 8%; }
  .mlx-strip-num { font-size: 34px; }
  .mlx-toggle-panel { padding: 24px 20px; }
  .mlx-toggle-btns button { flex: 1; padding: 12px 8px; font-size: 13px; }
  .mlx-ticket { position: relative; left: auto; bottom: auto; margin: -30px 0 0 12px; }
  .mlx-row-link { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 18px 18px; }
  .mlx-row-time { text-align: left; }
  .mlx-desk { padding: 0 0 40px; }
  .mlx-article-head { padding: 30px 20px 0; }
  .mlx-content { padding: 0 20px 24px; }
  .mlx-content .kg-width-wide, .mlx-content .kg-width-full { margin-left: -20px; margin-right: -20px; }
  .mlx-article-image { margin-bottom: 20px; }
  .mlx-article-foot { padding: 20px; }
  .mlx-prevnext { grid-template-columns: minmax(0, 1fr); padding: 0 20px; }
  .mlx-pn-next { grid-column: 1; }
  .mlx-stats { gap: 10px; }
  .mlx-bigquote { padding: 30px 22px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .mlx-reveal { opacity: 1; }
}
