/**
 * EML MB Landing — front-end styles (page-mb-report.php only).
 * Palette per the EML design (document/landing_page.jpg): navy→purple hero,
 * white cards, lilac accents. No AusPost red. No external fonts/CDNs.
 *
 * Typeface (2026 review): Stabil Grotesk, self-hosted in assets/fonts/ —
 * the four client weights serve these CSS weights via @font-face ranges,
 * so nothing falls back to synthetic bold.
 */

@font-face {
	font-family: "Stabil Grotesk";
	src: url("../fonts/StabilGrotesk-40Light.woff2") format("woff2");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Stabil Grotesk";
	src: url("../fonts/StabilGrotesk-50Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Stabil Grotesk";
	src: url("../fonts/StabilGrotesk-60Medium.woff2") format("woff2");
	font-weight: 500 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Stabil Grotesk";
	src: url("../fonts/StabilGrotesk-70Bold.woff2") format("woff2");
	font-weight: 700 800;
	font-style: normal;
	font-display: swap;
}

.eml-mb-landing {
	--eml-navy: #141a4e;
	--eml-navy-deep: #0e1238;
	--eml-navy-soft: #1e4aa1;
	--eml-purple: #79239e;
	--eml-purple-soft: #d485fa;
	--eml-purple-light: #c889f1;
	--eml-lilac: #ede4fb;
	--eml-ink: #17172b;
	--eml-gray: #55556b;
	--eml-black: #000000;
	--eml-surface: #ffffff;
	--eml-radius: 18px;

	/* The AI chat modal (AskDoc) reads these two variables — point them at
	   the landing typeface so the popup matches the page. */
	--askdoc-font-body: "Stabil Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--askdoc-font-head: "Stabil Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	margin: 0;
	background: var(--eml-navy-deep);
	color: var(--eml-ink);
	font-family: "Stabil Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.5;
}

.eml-mb-landing *,
.eml-mb-landing *::before,
.eml-mb-landing *::after {
	box-sizing: border-box;
}

/* Icon centering pass: inline SVGs are block-level so they never sit on a
   text baseline inside flex buttons/links. */
.eml-mb-landing svg {
	display: block;
}

.eml-mb-btn-download {
	justify-content: center;
}

.eml-mb-landing .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.eml-mb-logo{
	text-decoration: none;
}
.page-template-page-mb-report button.askdoc-launcher.askdoc-pos-right {
   display: none !important;
}
/* ------------------------------------------------------------------ */
/* Header / logo                                                       */
/* ------------------------------------------------------------------ */

.eml-mb-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 5;
	padding: 40px 0;
}

/* Logo left + right-logo cluster on one line (2026 design). */
.eml-mb-header-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
}

/* Right logo cluster: eyebrow + "Annual Report YYYY", right-aligned, same
   sizes as before. Hidden ≤900px — the cluster re-renders inside the hero
   (.eml-mb-hero-brand) above the title. */
.eml-mb-header-brand {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	text-align: right;
	gap: 6px;
}

.eml-mb-brand-title {
	margin: 0;
	font-size: clamp(36px, 4.8vw, 50px);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: 0;
	color: #ffffff;
}

/* Mobile copy of the right-logo cluster, shown above the hero title. */
.eml-mb-hero-brand {
	display: none;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	margin-bottom: 14px;
}

/* Shared layout container: 90% of the viewport, capped at 1680px. */
.eml-mb-container {
	width: min(90%, 1680px);
	margin-inline: auto;
}

.eml-mb-logo {
	display: inline-flex;
	flex-direction: column;
	line-height: 1;
	color: #ffffff;
}

/* Admin-uploaded logo image (MB Landing → Settings) replaces the text logo. */
.eml-mb-logo-img {
    display: block;
    max-height: 70px;
    max-width: 220px;
    width: 220px !important;
    height: 70px !important;
    object-fit: contain;
    object-position: left center;
}

.eml-mb-logo-word {
	font-size: 34px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.eml-mb-logo-word::after {
	content: "";
	display: block;
	width: 18px;
	height: 3px;
	margin-top: 4px;
	background: var(--eml-purple-soft);
	border-radius: 2px;
}

.eml-mb-logo-tag {
	margin-top: 6px;
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.28em;
	color: rgba(255, 255, 255, 0.85);
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */

/*
 * Hero + cards share ONE continuous background on .eml-mb-gradient-wrap.
 * The animated layer is the Originkit "Ribbon Glow 02" (sunset, instance
 * bg-custom) WebGL2 canvas — eml-mb-ribbon.js injects and paints it behind
 * the content (canvas z-index 0; hero and cards sit at z-index 1). The
 * static navy→coral gradient below is the no-WebGL / context-lost fallback;
 * prefers-reduced-motion renders a single static ribbon frame (no loop).
 */
.eml-mb-gradient-wrap {
	position: relative;
	overflow: hidden;
	/* Desktop: hero + cards together — at least 90vh, never shorter than 900px. */
	min-height: max(90vh, 900px);
	background:
		radial-gradient(90% 60% at 88% 4%, rgba(124, 58, 237, 0.55) 0%, rgba(124, 58, 237, 0) 60%),
		linear-gradient(
			180deg,
			var(--eml-navy-deep) 0%,
			var(--eml-navy) 30%,
			#33237c 50%,
			#4c2d9e 64%,
			#8f3cc0 80%,
			#b843a4 92%,
			#cf5f8f 100%
		);
}

.eml-mb-ribbon-canvas {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	display: block;
	pointer-events: none; /* hover tracking listens on window; never block clicks */
}

.eml-mb-hero {
	position: relative;
	z-index: 1;
	color: #ffffff;
	padding: 200px 0 130px;
}

.eml-mb-hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
	gap: 32px;
	align-items: center;
}

/* Copy/CTA above portrait canvas — canvas must never cover banner text. */
.eml-mb-hero-copy {
	position: relative;
	z-index: 2;
}

.eml-mb-cards-section {
	position: relative;
	z-index: 1;
	padding: 0 0 84px;
}

/* prefers-reduced-motion: ribbon JS renders a single static frame, no loop. */

/* Spacing via parent gap — immune to theme margin resets on h1/p. */
.eml-mb-hero-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 30px;
}

/* Eyebrow + title sit tight (15px); the 46px copy gap separates the heading
   group from the CTA row. */
.eml-mb-hero-heading {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
}

.eml-mb-hero-eyebrow {
	font-size: clamp(20px, 2.4vw, 30px);
	font-weight: 700;
	color: rgba(255, 255, 255, 0.92);
	margin: 0;
}

.eml-mb-hero-eyebrow-accent {
	color: var(--eml-purple-soft);
}

/* Wordmark image (2026 review): the "Mutual Benefits Program" SVG replaces
   the text eyebrow in the header cluster and above the hero title. Sized to
   the line it replaces; intrinsic ratio keeps the width proportional. */
.eml-mb-hero-eyebrow-img {
	display: block;
	height: clamp(22px, 3vw, 28px);
	width: auto;
}

.eml-mb-hero-title {
	margin: 0;
   font-size: clamp(38px, 4.8vw, 68px);
   font-weight: 700;
   line-height: 1.04;
   letter-spacing: 0;
   color: #ffffff !important;
}

/* Subtitle under the hero title (2026 design): 18px desktop, 16px tablet
   and below (see responsive). */
.eml-mb-hero-subtitle {
	margin: 20px 0 0;
	max-width: 640px;
	font-size: 18px;
	line-height: 1.5;
	color: var(--eml-white);
	font-weight: 400;
}

.eml-mb-hero-actions {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: nowrap; /* Download pill stays one row on desktop */
}

.eml-mb-btn-download {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 22px;
	border-radius: 999px;
	background: var(--eml-purple-soft);
	color: var(--eml-black) !important;
	font-weight: 700;
	font-size: 18px;
	text-decoration: none;
	flex: 0 0 auto;
	/* Resting lift so the pill reads against the Ribbon Glow background. */
	box-shadow: 0 8px 24px rgba(1, 27, 60, 0.35);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.eml-mb-btn-download:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
	color: var(--eml-navy-deep) !important;
}

.eml-mb-btn-download svg {
	display: block;
    width: 34px;
    height: 30px;
	margin: 0;
	color: #ffffff; /* icon trang, tách khỏi màu chữ nút */
}

/* Ribbon Glow readability: light navy-tinted shadow under hero copy
   (tint = ribbon base #011B3C) so white text never melts into the glow. */
.eml-mb-hero-eyebrow,
.eml-mb-hero-title,
.eml-mb-brand-title,
.eml-mb-hero-subtitle {
	text-shadow:
		0 1px 2px rgba(1, 27, 60, 0.4),
		0 4px 18px rgba(1, 27, 60, 0.45);
}

/* Portrait — retired in the 2026 design: the hero is text-on-gradient only
   and the right-logo cluster takes the top-right corner. Markup stays; flip
   this off to bring the canvas back. */
.eml-mb-hero-portrait {
	display: none;
}

.eml-mb-portrait-canvas {
	position: absolute;
	top: -10px;
	right: 0;
	z-index: 0;
	width: min(48%, 580px);
	height: min(140%, 920px);
	overflow: hidden;
	pointer-events: none;
	/* Right + top-right radii stay 0 so edges stay flush; only left edge morphs. */
	border-radius: 42% 0 0 58% / 28% 0 0 72%;
	-webkit-mask-image: none;
	mask-image: none;
	clip-path: none;
	animation: eml-mb-canvas-morph 14s ease-in-out infinite alternate;
	will-change: border-radius;
	/* No transform — translate/scale would pull away from top/right corners. */
}

.eml-mb-portrait-canvas img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 52% 18%;
}

/* Morph only the left edge (top-left / bottom-left). Right side always square. */
@keyframes eml-mb-canvas-morph {
	0% {
		border-radius: 42% 10% 5% 58% / 28% 0 5% 72%;
	}
	50% {
		border-radius: 52% 10% 5% 48% / 38% 0 5% 62%;
	}
	100% {
		border-radius: 34% 10% 5% 66% / 22% 0 5% 78%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.eml-mb-portrait-canvas {
		animation: none;
	}
}

/* ------------------------------------------------------------------ */
/* Cards                                                               */
/* ------------------------------------------------------------------ */

.eml-mb-cards {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 26px;
}

/* Cards slider mode (more than 3 cards): full-bleed Swiper — at rest 3
   cards sit exactly between the container lines, and scrolling sweeps them
   under the Prev/Next buttons, which straddle those same lines (half in,
   half out), round black style shared with the previous-reports section. */
.eml-mb-cards--slider {
	--eml-mb-cards-gutter: calc((100% - min(90%, 1680px)) / 2);
	display: block;
}

.eml-mb-cards--slider .swiper-slide {
	/* (100% - 2*gutter - 52px)/3 simplifies to this — % cancels out, so no
	   var arithmetic here (nested calc-in-var multiplication resolves to 0
	   in some Chromium builds). */
	width: calc((min(90%, 1680px) - 52px) / 3);
	height: auto;
}

.eml-mb-cards--slider .eml-mb-card {
	height: 100%;
}

.eml-mb-cards-nav {
	position: absolute;
	top: 50%;
	left: var(--eml-mb-cards-gutter);
	right: var(--eml-mb-cards-gutter);
	transform: translateY(-50%);
	pointer-events: none; /* buttons re-enable pointer-events themselves */
	z-index: 2;
}

.eml-mb-cards-nav .eml-mb-previous-btn {
	position: absolute;
	top: 50%;
	pointer-events: auto;
}

.eml-mb-cards-btn-prev {
	left: 0;
	transform: translate(-50%, -50%);
}

.eml-mb-cards-btn-next {
	right: 0;
	transform: translate(50%, -50%);
}

/* 4 CPT cards: keep all 4 in one row; the AI card wraps to its own
   centred row at the same width as a single card (per anh). */
.eml-mb-cards--four {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.eml-mb-cards--four .eml-mb-card--ai {
	grid-column: 1 / -1;
	justify-self: center;
	width: calc((100% - 78px) / 4); /* (100% - 3×26px gap) / 4 */
}

.eml-mb-card {
	background: var(--eml-surface);
	border-radius: var(--eml-radius);
	padding: 26px 26px 22px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 10px;
	box-shadow: 0 2px 1px 1px rgba(10, 8, 40, 0.22);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.eml-mb-card:hover,
.eml-mb-card:focus-visible {
	transform: translateY(-4px);
	outline: none;
}

.eml-mb-card-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.eml-mb-card-title {
    font-size: 26px;
    line-height: 1.25;
    letter-spacing: 0;
    font-weight: 700;
	margin-top: 0;
	color: var(--eml-ink);
}

.eml-mb-card-arrow {
	/* 2026 design: bolder ↗ arrow, #004BA6 (SVG keeps stroke="currentColor"). */
	color: #004ba6;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 10px;
}

.eml-mb-card-arrow svg {
    width: 22px;
    height: 22px;
}

.eml-mb-card-desc {
	font-size: 16px;
	line-height: 1.45;
	letter-spacing: 0;
	color: var(--eml-black);
	font-weight: 400;
}

/* AI search card: no tile image — CTA pill + subtitle instead (2026 design).
   The whole card is the AI-modal trigger (data-eml-mb-ai-trigger). */
   .eml-mb-card-ai-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    padding: 12px 22px;
    border-radius: 999px;
    background: #69d0f7;
    color: var(--eml-black);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    min-width: 250px;
    text-align: center;
    justify-content: center;
}

.eml-mb-card-ai-cta svg {
	display: block;
    width: 22px;
    height: 27px;
    flex: 0 0 auto;
    margin-right: 5px;
}
.eml-mb-card-ai-sub {
    margin: 8px 0 0;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 400;
    color: var(--eml-black);
}
.eml-mb-card-image {
	width: 100%;
	border-radius: 0 0 12px 12px;
	margin-top: auto;
	object-fit: cover;
	aspect-ratio: 16 / 9;
	background: var(--eml-lilac);
}

/* ------------------------------------------------------------------ */
/* Full story section ("Ready to explore…", white band)                */
/* ------------------------------------------------------------------ */

.sec-full-story {
	background: #ffffff;
	padding: 70px 0 75px;
	text-align: center;
}

.sec-full-story__heading {
	margin-bottom: 40px;
	font-size: clamp(38px, 4.8vw, 68px);
	font-weight: 700;
	line-height: 1.1;
	color: var(--eml-ink);
	letter-spacing: 0;
}

.sec-full-story__sub {
    max-width: 980px;
    margin: 0px auto 0;
    font-size: 24px;
    line-height: 1.55;
	font-weight: 400;
	color: var(--eml-ink);
}

.sec-full-story__actions {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 36px;
	flex-wrap: wrap;
	margin-top: 60px;
}

.sec-full-story__action {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	min-width: 320px;
}

.sec-full-story__note {
   margin: 0;
   font-size: 13px;
   line-height: 1.3;
   color: rgba(23, 23, 43, 0.62);
   font-weight: 400;
}

/* Blue "View our insights video" pill (play icon + label). */
.eml-mb-btn-video {
	display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 12px;
   padding: 13px 28px;
   border: 0;
   border-radius: 999px;
   background: #004ba6 !important;
   color: #ffffff !important;
   font-weight: 700 !important;
   font-size: 18px !important;
   cursor: pointer !important;
   width: 100%;
   box-shadow: 0 8px 24px rgba(1, 27, 60, 0.35) !important;
   transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.eml-mb-btn-video:hover,
.eml-mb-btn-video:focus,
.eml-mb-btn-video:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25) !important;
	color: #ffffff !important;
	background-color: var(--eml-purple) !important;
}

.eml-mb-btn-video svg {
	display: block;
	width: 30px;
	height: 30px;
}

/* Video popup — same overlay pattern as the AI modal. */
.eml-mb-video-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(10, 8, 40, 0.72);
	-webkit-backdrop-filter: blur(3px); /* Safari <= 17 needs the prefix */
	backdrop-filter: blur(3px);
	overflow-y: auto;
}

.eml-mb-video-modal[hidden] {
	display: none;
}

.eml-mb-video-panel {
	position: relative;
	background: #ffffff;
	border-radius: var(--eml-radius);
	width: min(1000px, 100%);
	box-shadow: 0 40px 90px rgba(5, 4, 30, 0.5);
	margin: auto;
	/* White frame around the player, title sits in the top band. */
	padding: 34px 40px 40px;
}

.eml-mb-video-title {
	margin: 0;
	/* Side padding keeps the text clear of the absolute close button. */
	padding: 0 64px 26px;
	text-align: center;
	color: #000000;
	font-size: clamp(20px, 2.4vw, 24px);
	font-weight: 700;
	line-height: 1.25;
}

.eml-mb-video-frame {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: var(--eml-radius);
	background: #000000;
}

/* display:block above beats the UA [hidden] rule — re-hide explicitly so
   the featured-image flow can swap poster/player without layout jumps. */
iframe.eml-mb-video-frame[hidden] {
	display: none;
}

/* Featured image (poster) shown before the video plays. Sits on top of
   the player area; clicking it starts playback (eml-mb-landing.js). The
   stage owns the 16:9 height — the iframe is display:none until play. */
.eml-mb-video-stage {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
}

.eml-mb-video-stage .eml-mb-video-frame {
	position: absolute;
	inset: 0;
	height: 100%;
}

.eml-mb-video-poster {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: var(--eml-radius);
	background-color: var(--eml-navy-deep);
	background-size: cover;
	background-position: center;
	cursor: pointer;
}

.eml-mb-video-poster[hidden] {
	display: none;
}

.eml-mb-video-poster-play {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: rgba(14, 18, 56, 0.62);
	color: #ffffff;
	box-shadow: 0 10px 30px rgba(5, 4, 30, 0.35);
	transition: background 0.2s ease, transform 0.2s ease;
}

.eml-mb-video-poster:hover .eml-mb-video-poster-play,
.eml-mb-video-poster:focus-visible .eml-mb-video-poster-play {
	background: var(--eml-purple);
	transform: scale(1.06);
}

.eml-mb-video-poster:focus-visible {
	outline: 2px solid var(--eml-purple-soft);
	outline-offset: 2px;
}

.eml-mb-video-poster-play svg {
	width: 34px;
	height: 34px;
	margin-left: 4px; /* optically centre the triangle */
}

@media (max-width: 640px) {
	.eml-mb-video-panel {
		padding: 18px 16px 16px;
	}

	.eml-mb-video-title {
		padding: 0 64px 16px;
	}
}

/* ------------------------------------------------------------------ */
/* A year in pictures slider                                           */
/* ------------------------------------------------------------------ */

.sec-year-pictures {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #004ba7 0%, #013879 100%);
	padding: 75px 0 80px;
}

.sec-year-pictures__heading {
	margin: 0 0 52px;
	text-align: center;
	font-size: clamp(30px, 3.2vw, 46px);
	font-weight: 700;
	color: #ffffff;
	letter-spacing: 0;
}

/* Full-bleed track. Desktop: 4 full slides + half-slide peeks at both
   edges (slide width + JS negative offset do the math, gap 26px). */
.sec-year-pictures__swiper {
	width: 100%;
}

/* Two-class selector on purpose: swiper-bundle.min.css sets
   .swiper-slide { width: 100% } and loads AFTER this stylesheet, so a
   single-class rule loses the cascade tie (0-1-0 vs 0-1-0, later wins). */
.sec-year-pictures__swiper .sec-year-pictures__slide {
	width: calc((100% - 130px) / 5);
}

.sec-year-pictures__slide img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 18px;
}

/* Nav arrows: hidden on desktop per design; white rounds on blue. */
.sec-year-pictures__nav {
	display: none;
}

.sec-year-pictures__nav .eml-mb-previous-btn {
	background: #ffffff;
	color: #013879;
}

.sec-year-pictures__nav button.eml-mb-previous-btn:hover,
.sec-year-pictures__nav button.eml-mb-previous-btn:focus {
	background-color: #e8f1fb;
	color: #013879;
}

/* ------------------------------------------------------------------ */
/* Previous reports strip                                              */
/* ------------------------------------------------------------------ */

.swiper.eml-mb-cards-swiper {
	padding-top: 20px;
    padding-bottom: 20px;
}
.eml-mb-previous-head{
	background: #ffffff;
    height: 100%;
	padding: 50px 50px 50px 0;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
	/* One-sided shadow on the RIGHT edge only: offset-x = blur = spread
	   magnitude keeps the blur from leaking left/top/bottom. z-index paints
	   it over the grey covers band next to it. */
	position: relative;
	z-index: 1;
    box-shadow: 10px 0 10px -10px rgb(0 0 0 / 51%);
}

.eml-mb-previous-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 0;
    width: 100%;
    align-items: center;
    background: #ffffff;
}

/* Full-bleed bands: head + list span the viewport, with the HEAD aligned to
   the cards container above and the LIST always flush to the right screen
   edge. Left padding reproduces .eml-mb-container's auto-margin gutter:
   container = width min(90%, 1680px) centred → its left offset is
   (100% - min(90%, 1680px)) / 2 — % resolves against the same containing
   block as the container's own width, so it stays scrollbar-exact.
   Scoped to 1440–2560px screens per anh. */
@media (min-width: 1440px) and (max-width: 2560px) {
	.eml-mb-previous-inner {
		padding-left: calc((100% - min(90%, 1680px)) / 2);
		padding-right: 0;
	}
}

.eml-mb-previous-title {
    font-size: clamp(30px, 3.6vw, 65px);
    font-weight: 700;
    line-height: 1.4;
    color: var(--eml-ink);
    letter-spacing: 0;
}

.eml-mb-previous-sub {
    margin-top: 10px !important;
    font-size: 26px;
	line-height: 1.4;
    font-weight: 400;
	color: var(--eml-ink);
	letter-spacing: 0;
	padding-left: 5px;
}
/* Next/Prev buttons — black circles stacked vertically, straddling the seam
   between the white head column and the grey covers band (absolutely
   positioned on the list's left edge, pulled half-width left). Prev sits
   under Next and starts disabled (dimmed) until the slider moves. */
.eml-mb-previous-list {
	position: relative;
}
.swiper.eml-mb-swiper {
    padding-top: 10px;
    padding-bottom: 10px;
}
@media screen and (min-width: 901px) {
	.eml-mb-previous-nav {
		position: absolute;
		left: 0;
		top: 50%;
		transform: translate(-50%, -50%);
		display: flex;
		flex-direction: column;
		gap: 12px;
		z-index: 3;
	}
}

/* Black circular arrow — icon perfectly centered. */
.eml-mb-previous-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	/* Zero the theme button padding — otherwise the content box (52 - 32px)
	   flex-shrinks the 30px arrow svg down to 20px. */
	padding: 0;
	width: 52px;
	height: 52px;
	border: 0;
	border-radius: 50%;
	background: var(--eml-ink) !important;
	color: #ffffff !important;
	cursor: pointer;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

button.eml-mb-previous-btn:hover, button.eml-mb-previous-btn:focus {
    background-color: var(--eml-purple) !important;
}

.eml-mb-previous-btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.eml-mb-previous-btn svg {
	display: block;
	width: 30px; /* 24 → 30 per anh (~+30%) — all Prev/Next round buttons */
	height: 30px;
	margin: 0 auto;
}

/* Grey covers band — three layouts by document count:
   --slider (3+): Swiper showing 2 full covers + half of the 3rd peeking at
   the right edge; --pair (2): two covers evenly spaced; --single (1): one
   landscape cover centred. Swiper's bundle CSS handles the flex layout. */
.eml-mb-previous-list {
    background: #e8ecef;
    padding: 50px 0 50px 60px;
    min-width: 0;
}

.eml-mb-previous--slider .swiper-slide {
	/* 2 slides + 2 gaps + half a slide = full width → exact 2.5-slide view. */
	width: calc((100% - 52px) / 2.5);
}

/* Slider + pair covers render in a uniform portrait frame regardless of the
   uploaded image's own aspect (the single-doc cover stays landscape). */
.eml-mb-previous--slider .swiper-slide img,
.eml-mb-previous--pair .eml-mb-previous-item img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

/* Single cover: landscape rectangle, centred in the right column. */
.eml-mb-previous--single {
	display: flex;
	align-items: center;
	justify-content: center;
}

.eml-mb-previous--single .eml-mb-previous-item {
	width: min(100%, 720px);
}

.eml-mb-previous--single .eml-mb-previous-item img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

/* Two covers, evenly spaced. */
.eml-mb-previous--pair {
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	gap: 26px;
}

.eml-mb-previous--pair .eml-mb-previous-item {
	width: clamp(190px, 38%, 300px);
}

/* Slides contain links/images — kill their native drag so the mouse drag
   is always handled by Swiper's pointer tracking. */
.eml-mb-previous-list .swiper-slide a,
.eml-mb-previous-list .swiper-slide img {
	-webkit-user-drag: none;
	user-select: none;
}

.eml-mb-previous-item {
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-decoration: none;
	color: var(--eml-ink);
	font-weight: 600;
	font-size: 14px;
	text-align: center;
}

.eml-mb-previous-item img {
   border-radius: 10px;
   box-shadow: none;
   transition: transform 0.15s ease;
   margin-top: 0;
}
span.eml-mb-previous-label {
   font-size: 18px;
   font-weight: 500;
   letter-spacing: 0;
   line-height: 1.4;
	margin-top: 15px;
	color: var(--eml-ink);
}
.eml-mb-previous-item:hover img {
	transform: translateY(-3px);
}
a.eml-mb-previous-item:hover,
a.eml-mb-previous-item:focus-visible,
a.eml-mb-previous-item:focus {
	text-decoration: none;
	outline: none;
	color: var(--eml-navy);
}
/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.eml-mb-footer {
	background: #101018;
	color: #ffffff;
	padding: 56px 0;
}

.eml-mb-footer-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 32px;
	align-items: end;
}

.eml-mb-footer-heading {
    color: var(--eml-purple-soft);
    font-size: 5em;	
    font-weight: 700;
    margin-bottom: 30px !important;
}

.eml-mb-footer-email {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 16px;
}

.eml-mb-footer-email svg {
	width: 25px;
	height: 25px;
	color: #ffffff;
}

.eml-mb-footer-email a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 22px;
    letter-spacing: 0;
    line-height: 1;
	font-weight: 400;
}

.eml-mb-footer-email a:hover {
	color: var(--eml-purple-soft) !important;
}

.eml-mb-footer-legal {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.62);
}

.eml-mb-footer-legal .eml-mb-legal-link {
	color: inherit !important;
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: opacity 0.15s ease;
}

.eml-mb-footer-legal .eml-mb-legal-link:hover {
    opacity: 1;
    color: var(--eml-purple-soft) !important;
}

/* ------------------------------------------------------------------ */
/* Modal                                                               */
/* ------------------------------------------------------------------ */

.eml-mb-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	/* Extra top room: the icon badge straddles the panel's top edge. */
	padding: 100px 24px 24px;
	background: rgba(10, 8, 40, 0.62);
	-webkit-backdrop-filter: blur(3px); /* Safari <= 17 needs the prefix */
	backdrop-filter: blur(3px);
	overflow-y: auto;
}

.eml-mb-modal[hidden] {
	display: none;
}

.eml-mb-modal-panel {
	position: relative;
	background: var(--eml-surface);
	border-radius: 40px;
	max-width: 1180px;
	width: 100%;
	box-shadow: 0 40px 90px rgba(5, 4, 30, 0.5);
	margin: auto;
}

.eml-mb-modal-badge {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 132px;
	height: 132px;
	border-radius: 50%;
	background: var(--eml-badge-color, #c77df3);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.eml-mb-modal-badge img {
	width: 62px;
	height: 62px;
	object-fit: contain;
}

.eml-mb-modal-close {
	position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--eml-ink) !important;
	color: #ffffff !important;
	cursor: pointer;
}

.eml-mb-modal-close svg {
	display: block;
	width: 18px;
	height: 18px;
	margin: 0;
	flex: 0 0 auto;
}

.eml-mb-modal-close:hover {
	background: #000000;
}

/* The theme reset paints focused buttons pink (#CC3366) — JS focuses the
   close button when a modal opens, so pin it to black with a visible ring. */
.eml-mb-modal-close:focus {
	background: #000000;
	outline: 2px solid var(--eml-purple-soft);
	outline-offset: 2px;
}

.eml-mb-modal-body {
	/* Top padding clears the badge that straddles the panel edge. */
	padding: 92px 64px 64px;
}

.eml-mb-modal-title {
	font-size: clamp(34px, 3.6vw, 54px);
	font-weight: 800;
	line-height: 1.1;
	color: var(--eml-ink);
	text-align: center;
	margin: 0 0 56px;
}

/* Content sits in the right column; the left column stays whitespace
   (or holds the optional popup image) per the 2026 design. */
.eml-mb-modal-cols {
	display: grid;
	grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
}

.eml-mb-modal-media {
	background: var(--eml-stat-bg, #FBF3FF);
    border-radius: 24px;
    padding: 52px 44px;
    min-height: 300px;
    display: flex;
    align-items: center;
	justify-content: center;
}

.eml-mb-modal-bigstat {
	text-align: center;
}

.eml-mb-modal-bigstat-value {
	display: block;
	font-size: clamp(44px, 3.4vw, 64px);
	font-weight: 800;
	line-height: 1;
	/* Accent-darkened variant set per-card; purple default otherwise. */
	color: var(--eml-bigstat-color, #c77df3);
}

.eml-mb-modal-bigstat-label {
	display: block;
	margin-top: 20px;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.15;
	color: #000000;
}

.eml-mb-modal-content {
	min-width: 0;
}

.eml-mb-modal-text {
	font-size: 19px;
	line-height: 1.55;
	color: var(--eml-ink);
}

.eml-mb-modal-text p {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0;
	line-height: 1.5;
	color:var(--eml-black);
}

.eml-mb-modal-text ul {
	margin: 0 0 18px;
	padding-left: 26px;
}

.eml-mb-modal-text li {
	margin-bottom: 5px;
	font-size: 17px;
    font-weight: 400;
    letter-spacing: 0;
	color:var(--eml-black);
}
.eml-mb-modal-text strong {
    font-weight: 700;
}
.eml-mb-modal-cta {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 18px;
   margin-top: 24px;
   padding: 16px 48px;
   border-radius: 999px;
   /* --eml-cta-color/--eml-cta-text set per-card via the accent setting. */
   background: var(--eml-cta-color, #831aa6);
   color: var(--eml-cta-text, #ffffff) !important;
   font-weight: 700;
   font-size: 18px;
   text-decoration: none;
	transition: transform 0.15s ease, filter 0.15s ease;
}

.eml-mb-modal-cta svg {
    display: block;
    width: 20px;
    height: 20px;
	flex: 0 0 auto;
}

.eml-mb-modal-cta:hover,
.eml-mb-modal-cta:focus {
	background: var(--eml-cta-color, #831aa6);
	filter: brightness(0.88);
	color: var(--eml-cta-text, #ffffff) !important;
	transform: translateY(-1px);
}

@media (max-width: 900px) {
	.eml-mb-hero-heading{
		padding-top: 40px;
	}
	.eml-mb-modal {
		padding: 84px 14px 14px;
	}

	.eml-mb-modal-panel {
		border-radius: 28px;
	}

	.eml-mb-modal-badge {
		width: 96px;
		height: 96px;
	}

	.eml-mb-modal-badge img {
		width: 46px;
		height: 46px;
	}

    .eml-mb-modal-body {
        padding: 70px 26px 36px;
    }

	.eml-mb-modal-title {
		font-size: clamp(28px, 7vw, 40px);
		margin-bottom: 32px;
	}

	.eml-mb-modal-cols {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.eml-mb-modal-media {
        padding: 36px 30px;
        min-height: 100px;
    }

	.eml-mb-modal-bigstat-value {
		font-size: clamp(38px, 11vw, 52px);
	}

	.eml-mb-modal-bigstat-label {
		font-size: 26px;
		margin-top: 12px;
	}

	.eml-mb-modal-text {
		font-size: 17px;
        padding: 0 10px;
	}

	.eml-mb-modal-cta {
		width: 100%;
		font-size: 18px;
		padding: 16px 32px;
	}
}

.eml-mb-modal-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 12px;
	margin: 20px 0;
}

.eml-mb-modal-stat {
	background: var(--eml-lilac);
	border-radius: 12px;
	padding: 14px 16px;
}

.eml-mb-modal-stat-value {
	display: block;
	font-size: 24px;
	font-weight: 800;
	color: var(--eml-purple);
}

.eml-mb-modal-stat-label {
	display: block;
	font-size: 12px;
	color: var(--eml-gray);
	margin-top: 2px;
}

.eml-mb-modal-sources {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 4px 0 18px;
}

.eml-mb-modal-source {
	display: inline-flex;
	align-items: center;
	padding: 9px 16px;
	border: 1.5px solid var(--eml-purple);
	border-radius: 999px;
	color: var(--eml-purple);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.eml-mb-modal-source:hover {
	background: var(--eml-lilac);
}

.eml-mb-modal-next {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--eml-purple);
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.eml-mb-modal-next:hover {
	background: #6a2fd0;
}

/* ------------------------------------------------------------------ */
/* AI modal (AskDoc panel)                                             */
/* ------------------------------------------------------------------ */

.eml-mb-ai-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(10, 8, 40, 0.62);
	-webkit-backdrop-filter: blur(3px); /* Safari <= 17 needs the prefix */
	backdrop-filter: blur(3px);
	overflow-y: auto;
}

.eml-mb-ai-modal[hidden] {
	display: none;
}

.eml-mb-ai-panel {
	position: relative;
	background: var(--eml-surface);
	border-radius: var(--eml-radius);
    max-width: 1000px;
    width: 100%;
    padding: 50px 50px 60px;
    box-shadow: 0 40px 90px rgba(5, 4, 30, 0.5);
    margin: auto;
}

/* Blend the embedded AskDoc panel into the EML modal. */
.eml-mb-ai-panel .askdoc-app.askdoc-embed {
	width: 100%;
}

/* 2026 design: sparkle search icon (EML purple) — taller aspect than the
   generic magnifier, so it gets its own box instead of askdoc.css's 24×24. */
.eml-mb-ai-panel .askdoc-search-icon svg {
	width: 21px;
	height: 27px;
}

/* Chat layout: the AI note pins to the top (aligned with the close button),
   conversation log first, then the follow-up input, download CTA and the
   small print. Flex order overrides the AskDoc DOM order. */
.eml-mb-ai-panel .askdoc-body {
	display: flex;
	flex-direction: column;
}

.eml-mb-ai-panel .askdoc-title { order: 0; }
.eml-mb-ai-panel .askdoc-result { order: 1; }
.eml-mb-ai-panel .askdoc-form { order: 2; }
.eml-mb-ai-panel .eml-mb-ai-suggest { order: 3; }
.eml-mb-ai-panel .eml-mb-ai-download { order: 4; }
.eml-mb-ai-panel .askdoc-disclaimer { order: 5; margin-top: 18px; }
.eml-mb-ai-panel .eml-mb-ai-download{
    max-width: 340px;
    box-shadow: none;
	margin-top: 50px;
}
.eml-mb-ai-note {
    position: absolute;
    top: 26px;
    left: 54px;
    right: 96px;
    margin: 0;
    font-size: 15px;
    line-height: 1.3;
    color: #A7B1B7;
    z-index: 9;
}

.eml-mb-ai-note[hidden],
.eml-mb-ai-download[hidden] {
	display: none !important;
}

.eml-mb-ai-panel .askdoc-panel {
	border: 0;
	box-shadow: none;
	border-radius: 0;
}

.eml-mb-ai-panel .askdoc-body {
	padding: 12px 8px 8px;
}

.eml-mb-ai-panel .askdoc-title {
	color: var(--eml-ink);
	font-size: 26px;
	font-weight: 700;
	text-align: center;
}

/*
 * Pill = .askdoc-form only. Theme input borders must NOT show on .askdoc-input
 * (that caused the nested rectangle inside the pill).
 */
.eml-mb-ai-panel .askdoc-form {
	border-color: rgba(124, 58, 237, 0.45);
}

.eml-mb-ai-panel .askdoc-form:focus-within {
	border-color: var(--eml-purple);
	box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
}

.eml-mb-ai-panel .askdoc-input,
.eml-mb-ai-panel .askdoc-input:focus {
	border: 0 !important;
	outline: none !important;
	box-shadow: none !important;
	background: transparent !important;
	appearance: none;
	-webkit-appearance: none;
	border-radius: 0;
	padding: 0;
	margin: 0;
	margin-bottom: 0 !important;
	height: 100%;
	min-height: 0;
	line-height: 1.4;
}

.eml-mb-ai-panel .askdoc-app.askdoc-chat .askdoc-input{
	font-size: 15px;
}
.eml-mb-ai-panel .askdoc-disclaimer {
	color: #A7B1B7;
	line-height: 1.4;
    max-width: 100%;
    text-align: center;
    font-size: 15px;
	margin-top: 50px !important;
}

/* Enter icon submits the question (same as pressing Enter) — JS wires the
   click; here just afford it. */
.eml-mb-ai-panel .askdoc-enter {
	display: none;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.eml-mb-ai-panel .askdoc-enter:hover {
	opacity: 0.65;
}

/* Once an answer is on screen, hide the disclaimer to declutter
   (class toggled by eml-mb-landing.js watching .askdoc-result). */
.eml-mb-ai-panel .askdoc-app.eml-mb-answered .askdoc-disclaimer {
	display: none;
}

/* 2026 chat design: the disclaimer STAYS visible at the bottom of the
   conversation (this overrides the declutter rule above). */
.eml-mb-ai-panel .askdoc-app.askdoc-chat.eml-mb-answered .askdoc-disclaimer {
    display: block;
    padding-top: 20px;
}

/* Chat form: slimmer 60px, muted grey border, sparkle icon ~20% smaller. */
.eml-mb-ai-panel .askdoc-app.askdoc-chat .askdoc-form {
	height: 58px;
	border-color: rgb(74 74 74 / 45%);
}

.eml-mb-ai-panel .askdoc-app.askdoc-chat .askdoc-search-icon svg {
	width: 17px;
	height: 22px;
}

/* Once a question has been asked, the suggestions hide too (same answered
   class; the JS also hides the block right on form submit). */
.eml-mb-ai-panel .askdoc-app.eml-mb-answered .eml-mb-ai-suggest {
	display: none;
}

/* "Try asking" suggestions (admin-editable: MB Landing → Settings).
   JS relocates this block under the search pill and un-hides it. */
.eml-mb-ai-panel .eml-mb-ai-suggest[hidden] {
	display: none;
}

.eml-mb-ai-panel .eml-mb-ai-suggest {
	margin: 2px 0 0;
	padding: 15px 0 0;
	text-align: left;
}

.eml-mb-ai-panel .eml-mb-ai-suggest-title {
	margin: 10px 0 10px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
	color: var(--askdoc-text);
}

.eml-mb-ai-panel .eml-mb-ai-suggest-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.eml-mb-ai-panel .eml-mb-ai-suggest-item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: auto;
	padding: 10px 14px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--eml-black) !important;
	font-size: 14px;
	line-height: 1.35;
	text-align: left;
	cursor: pointer;
	transition: background 0.12s ease;
}

.eml-mb-ai-panel .eml-mb-ai-suggest-item svg {
	flex: 0 0 auto;
	color: var(--eml-purple);
	display: none;
}
.eml-mb-ai-panel .eml-mb-ai-suggest-item{
	background: #e9ecee;
}
.eml-mb-ai-panel .eml-mb-ai-suggest-item:hover,
.eml-mb-ai-panel .eml-mb-ai-suggest-item:focus-visible {
	background: var(--eml-lilac);
	outline: none;
}
/* Hide the AI bubbles ≤800px ONLY while a popup is open (card modal / video
   modal / AI chat — all toggle the [hidden] attribute). The fixed robot
   (.eml-chi-stage, z-index 99999) and the AskDoc launcher/floating panel
   cover the popup corner on small screens; popup closed → mascot returns. */
@media (max-width: 800px) {
	body:has(.eml-mb-modal:not([hidden]), .eml-mb-video-modal:not([hidden]), .eml-mb-ai-modal:not([hidden])) .eml-chi-stage,
	body:has(.eml-mb-modal:not([hidden]), .eml-mb-video-modal:not([hidden]), .eml-mb-ai-modal:not([hidden])) button.askdoc-launcher,
	body:has(.eml-mb-modal:not([hidden]), .eml-mb-video-modal:not([hidden]), .eml-mb-ai-modal:not([hidden])) .askdoc-app.askdoc-floating {
		display: none !important;
	}
}
/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

/* Mid screens: 4-card variant becomes 2×2 (AI card flows as a cell). */
@media (max-width: 1280px) and (min-width: 901px) {
	.eml-mb-cards--four {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.eml-mb-cards--four .eml-mb-card--ai {
		grid-column: auto;
		width: auto;
		justify-self: stretch;
	}

	/* Pictures slider: 3 flush slides on tablet. */
	.sec-year-pictures__swiper .sec-year-pictures__slide {
		width: calc((100% - 52px) / 3);
	}
}

@media (max-width: 1025px) {
	.eml-mb-hero {
		padding: 170px 0 80px;
	}
	/* Subtitle: 16px on tablet and below (18px on larger screens). */
	.eml-mb-hero-subtitle {
		font-size: 16px;
	}
	.eml-mb-hero-inner {
		grid-template-columns: auto;
	}
	.eml-mb-portrait-canvas {
		width: min(40%, 580px);
		height: min(110%, 800px);
	}
}

@media (max-width: 900px) {
	.eml-mb-portrait-canvas {
        width: min(40%, 580px);
        height: min(90%, 580px);
		width: min(50%, 320px);
        aspect-ratio: 320 / 420;
    }
	.eml-mb-hero-portrait {
		order: 1;
	}
	.eml-mb-hero-copy{
		order: 2;
	}
	.eml-mb-header {
		padding: 20px 0;
	}

	/* Right-logo cluster moves from the header line into the hero copy. */
	.eml-mb-header-brand {
		display: none;
	}

	.eml-mb-hero-brand {
		display: flex;
	}

	.eml-mb-hero {
		padding: 110px 0 56px;
	}

	.eml-mb-gradient-wrap {
		min-height: 0; /* 90vh / 900px floor is desktop-only */
	}

	.eml-mb-hero-inner {
		grid-template-columns: 1fr;
	}

	.eml-mb-hero-actions {
		flex-wrap: wrap; /* stack Download above AI group on narrow screens */
	}

	.eml-mb-hero-portrait {
		display: none;
	}

	.eml-mb-cards-section {
		padding: 0 0 60px;
	}

	.eml-mb-previous-inner,
	.eml-mb-footer-inner {
		/* minmax(0, …) like the desktop columns: a plain 1fr lets the
		   slider's min-content widen the track past the viewport. */
		grid-template-columns: minmax(0, 1fr);
	}

	/* Cards: stacked grid (≤3 cards) / one card + peek (slider mode). */
	.eml-mb-cards {
		grid-template-columns: 1fr;
	}

	/* 4-card variant collapses the same way (AI card back to full width). */
	.eml-mb-cards--four {
		grid-template-columns: 1fr;
	}

	.eml-mb-cards--four .eml-mb-card--ai {
		grid-column: auto;
		width: auto;
		justify-self: stretch;
	}

	.sec-full-story {
		padding: 60px 0 56px;
	}

	.sec-full-story__actions {
		margin-top: 40px;
		gap: 28px;
	}

	/* Pictures slider: 2 flush slides on phones + visible arrows. */
	.sec-year-pictures {
		padding: 52px 0 60px;
	}

	.sec-year-pictures__heading {
		margin-bottom: 32px;
	}

	.sec-year-pictures__swiper .sec-year-pictures__slide {
		width: calc((100% - 26px) / 2);
	}

	.sec-year-pictures__nav {
		display: block;
	}

	.sec-year-pictures__nav .eml-mb-previous-btn {
		position: absolute;
		top: 50%;
		z-index: 2;
	}

	.sec-year-pictures__btn-prev {
		left: 14px;
		transform: translateY(-50%);
	}

	.sec-year-pictures__btn-next {
		right: 14px;
		transform: translateY(-50%);
	}

	/* 767→601px keeps the 2-slide row from this block; below 600px a
	   single photo per slide, inset 15px each side (see the
	   max-width:600px block right after this media query). */

	.eml-mb-cards--slider .swiper-slide {
		width: 78%;
	}

	/* Previous reports: one cover + peek at a time. */
	.eml-mb-previous--slider .swiper-slide {
		width: 72%;
	}

	/* Portrait canvas: smaller, centred under the hero copy. */
	.eml-mb-portrait-canvas {
		width: min(100%, 320px);
	}

	/* Lighter paddings inside the full-bleed bands on small screens. */
	.eml-mb-previous-head,
	.eml-mb-previous-list {
		padding: 28px;
	}
	.eml-mb-previous-inner {
		display: flex;
		flex-direction: column;
		/* The base align-items:center is grid block-axis centering; in a
		   column flex it centres items horizontally, so a wide slider
		   (image min-content) overflows the viewport. Stretch instead. */
		align-items: stretch;
	}
	.eml-mb-previous-head {
		background: #e8ecef;
		height: 100%;
		padding: 40px 0;
		box-shadow: none;
	}
	.eml-mb-previous-inner {
		background: #e8ecef;
	}
	.eml-mb-btn-next{
		position: absolute;
		right: 0;
		bottom: 50%;
		z-index: 999;
	}
	.eml-mb-btn-prev{
		position: absolute;
		left: 0;
		bottom: 50%;
		z-index: 999;
	}
	.eml-mb-previous-head{
		justify-content: center;
		align-items: center;
	}
	.eml-mb-previous-title {
		font-size: clamp(38px, 3.6vw, 65px);
	}
	.eml-mb-previous-sub {
		padding-left: 0;
		font-size: 24px;
	}
	.eml-mb-previous-title{
		text-align: center;
	}
}

/* A year in pictures: below 600px show ONE photo per slide, inset 15px
   from each screen edge (the 15px side offsets come from JS
   slidesOffsetBefore/After so the first/last slide sit inside the margin). */
@media (max-width: 600px) {
	.sec-year-pictures__swiper .sec-year-pictures__slide {
		width: calc(100% - 30px);
	}
}

@media (max-width: 767px) {
	p.eml-mb-hero-subtitle br{
		display: none;
	}
	p.eml-mb-brand-title {
		font-size: clamp(44px, 4.8vw, 68px);
	}
	.eml-mb-header {
        padding: 40px 0 0;
    }
	.eml-mb-hero-title {
		font-size: clamp(44px, 4.8vw, 68px);
	}
	span.eml-mb-previous-label {
		font-size: 16px;
	}
	.eml-mb-modal-title {
        font-size: clamp(28px, 7vw, 36px);
    }
}
/* Phones: keep the page compact — hide the decorative portrait, stack the
   2-cover layout, and slim the slider buttons so they occlude less. */
@media (max-width: 600px) {
	.eml-mb-card-ai-cta{
		width: 100%;
		min-width: 100%;
	}
	.eml-mb-modal-text p,
	.eml-mb-modal-text li{
		font-size: 16px;
	}
	.eml-mb-btn-prev {
        left: 10px;
    }
	.eml-mb-btn-next {
        right: 10px;
    }
	.eml-mb-previous-sub {
        font-size: 22px;
    }
	.eml-mb-modal-bigstat-label {
        font-size: 20px;
        margin-top: 15px;
    }
	.eml-mb-modal-badge {
        width: 90px;
        height: 90px;
    }
	.eml-mb-modal-badge img {
        width: 40px;
        height: 40px;
    }
	.sec-full-story__heading {
		font-size: clamp(30px, 4.8vw, 68px);
		margin-bottom: 30px;
	}
	.eml-mb-previous-title {
        font-size: clamp(32px, 3.6vw, 65px);
        margin-bottom: 10px;
    }
	.sec-full-story__sub {
		max-width: 100%;
		font-size: 18px;
		line-height: 1.5;
	}
	.eml-mb-footer-heading{
		font-size: 3em;
	}
	.eml-mb-portrait-canvas {
		display: none;
	}
	.eml-mb-previous--pair {
		flex-direction: column;
		gap: 26px;
	}
	.eml-mb-previous--pair .eml-mb-previous-item {
		width: min(100%, 300px);
	}

	.eml-mb-cards-nav .eml-mb-previous-btn {
		width: 44px;
		height: 44px;
	}

	.eml-mb-cards-nav .eml-mb-previous-btn svg {
		width: 24px;
		height: 24px;
	}

	.eml-mb-previous-head,
	.eml-mb-previous-list {
		padding: 22px;
	}
	.eml-mb-previous-btn svg {
		width: 22px;
		height: 22px;
	}
}
@media (max-width: 480px) {
	.eml-mb-card-title{
		font-size: 24px;
	}
	p.eml-mb-brand-title,
	.eml-mb-hero-title {
      font-size: clamp(40px, 4.8vw, 68px);
   }
    .eml-mb-previous-title {
      font-size: clamp(30px, 3.6vw, 65px);
    }
	.eml-mb-previous-head{
		padding: 40px 0 0;
	}
	.eml-mb-previous-list {
		padding: 20px 0 30px;
	}
	.eml-mb-previous-sub {
      font-size: 18px;
      margin-top: 0 !important;
    }
}
@media (max-width: 767px) {
	.eml-mb-modal-close {
	    position: absolute;
	    top: -10px;
	    right: -10px;
	    width: 32px;
	    height: 32px;
	    background: var(--eml-purple) !important;
	}
	.eml-mb-video-title {
      padding: 0 20px 15px;
      font-size: 17px;
   }
	.eml-mb-ai-panel .askdoc-title {
		font-size: 20px;
	}
	.eml-mb-ai-panel .eml-mb-ai-suggest-item {
		text-wrap: wrap;
		white-space: normal;
	}
	.eml-mb-ai-panel .askdoc-disclaimer{
		font-size: 13px;
	}
	.eml-mb-ai-panel .eml-mb-ai-download{
		margin-top: 30px;
	}
	.eml-mb-ai-panel .askdoc-app.askdoc-chat.eml-mb-answered .askdoc-disclaimer {
		padding-top: 0;
		font-size: 13px;
	}
	.eml-mb-ai-note{
		font-size: 13px;
	}
	.askdoc-answer,
	.askdoc-q{
		font-size: 14px;
	}
	.eml-mb-ai-panel {
		padding: 60px 20px 40px;
	}
}
@media screen and (max-width: 481px) {
	.eml-mb-modal-bigstat-value {
      font-size: clamp(38px, 11vw, 40px);
   }
   .eml-mb-modal-title {
      font-size: clamp(28px, 7vw, 32px);
   }
   .eml-mb-modal-cta {
      font-size: 17px;
   }
   .eml-mb-modal-media {
      padding: 30px 30px;
   }
	.eml-mb-ai-panel .eml-mb-ai-download {
		max-width: 100%;
		font-size: 16px;
		margin-top: 25px;
	}
	.eml-mb-btn-download {
	   padding: 12px 22px;
	   font-size: 17px;
	}
}
/* Phones (≤767px): the previous-reports slider shows ONE cover at 80%
   width, centred (JS adds 10% side offsets) — small peek of the next. */
@media (max-width: 767px) {
	.eml-mb-previous--slider .swiper-slide {
		width: 80%;
	}
}

/* Below 480px: exactly ONE slide per view, inset 15px from each screen
   edge (15px side offsets + 30px gap come from JS so no part of the next
   cover ever peeks in). */
@media (max-width: 480px) {
	.eml-mb-footer-email a{
		font-size: 20px;
	}
	.eml-mb-ai-panel .eml-mb-ai-suggest-item {
		font-size: 13px;
	}
	.eml-mb-previous--slider .swiper-slide {
		width: calc(100% - 30px);
	}
}
@media (max-width: 400px) {
	p.eml-mb-brand-title, .eml-mb-hero-title {
	   font-size: clamp(30px, 4.8vw, 68px);
	   line-height: 1.35;
	}
}
@media (max-width: 426px) {
	.eml-mb-ai-panel{
		padding: 30px 20px 40px;
	}
	.eml-mb-ai-panel .askdoc-app.askdoc-chat .askdoc-input {
	   font-size: 14px;
	}
	.eml-mb-btn-download svg {
	   width: 30px;
	   height: 26px;
	}
   .eml-mb-ai-note {
      font-size: 12px;
      width: 80%;
      left: 30px;
   }
   .eml-mb-ai-panel .eml-mb-ai-download {
      font-size: 15px;
   }
	.sec-full-story__heading {
      font-size: clamp(26px, 4.8vw, 68px);
   }
	.eml-mb-modal-cta {
      width: 100%;
      font-size: 16px;
   }
	.eml-mb-btn-download{
		width: 100%;
	}
	.sec-full-story__sub {
      line-height: 1.4;
   }
   .eml-mb-ai-panel .askdoc-app.askdoc-chat.eml-mb-answered .askdoc-disclaimer {
      margin-top: 20px !important;
   }
}
@media (max-width: 375px) {
	.eml-mb-ai-panel {
      padding: 60px 15px 30px;
   }
   .eml-mb-ai-panel .askdoc-app.askdoc-chat.eml-mb-answered .askdoc-disclaimer {
      font-size: 12px;
   }
	.eml-mb-btn-download svg {
		width: 30px;
		height: 24px;
	}
	.eml-mb-ai-panel .eml-mb-ai-download {
      font-size: 13px;
      margin-top: 25px;
      text-align: center;
      line-height: 1.2;
   }
   .sec-full-story__sub {
      font-size: 16px;
   }
}