/* ==========================================================================
   Maven Journal — landing page
   Design: Figma "Maven Blog Redesign" › FINAL › Journal Main Page_v3 (desktop
   1728px) + Maven Journal mobile (390px). Sizes scale fluidly between the two.
   Everything is scoped under .mj so the theme is untouched.
   ========================================================================== */

/* Playfair Display (OFL, self-hosted, no Google Fonts call): headings and titles. Emma, 5 Nov 2026. */
@font-face { font-family: "MJ Playfair"; src: url("fonts/playfair-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "MJ Playfair"; src: url("fonts/playfair-display-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/**
 * @license
 * MyFonts Webfont Build ID 3867246, 2020-12-16T11:57:38-0500
 *
 * The fonts listed in this notice are subject to the End User License
 * Agreement(s) entered into by the website owner. All other parties are
 * explicitly restricted from using the Licensed Webfonts(s).
 *
 * You may obtain a valid license at the URLs below.
 *
 * Webfont: Rombera Distressed by Arterfak Project
 * URL: https://www.myfonts.com/collections/arterfak-project-foundry
 *
 * © 2026 MyFonts Inc. */
/* Maven Collection's licensed webfont (MyFonts kit 722904): the label font in the Figma designs. */
@font-face { font-family: "MJ Rombera"; src: url("fonts/rombera/rombera-distressed.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* Akzidenz-Grotesk Pro is a commercial font. If the theme already
   loads them (or the licensed .woff2 files are added), they are used first.
   Until then these open-source stand-ins are used. They are only downloaded if needed. */
@font-face { font-family: "MJ Label"; src: url("fonts/fallback/label-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "MJ Sans"; src: url("fonts/fallback/sans-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "MJ Sans"; src: url("fonts/fallback/sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

.mj {
	/* Colours (from Figma) */
	--mj-green: #2b4117;
	--mj-blue: #4966d9;
	--mj-bg: #f6f4f1;    /* Cotton */
	--mj-panel: #dfe4e4; /* Mountain air */
	--mj-white: #fff;

	/* Type */
	--mj-serif: "MJ Playfair", "Playfair Display", Georgia, serif; /* titles and headings, written as typed */
	--mj-label: "MJ Rombera", "MJ Label", "Helvetica Neue", Arial, sans-serif;
	/* Her site loads Akzidenz as "AkzidenzGrotesk" (light) and "akzidenz-grotesk_proregular" (regular). */
	--mj-sans: "AkzidenzGrotesk", "akzidenz-grotesk_prolight", "Akzidenz-Grotesk Pro", "Akzidenz Grotesk", "MJ Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--mj-sans-regular: "akzidenz-grotesk_proregular", "Akzidenz-Grotesk Pro", "Akzidenz Grotesk", "MJ Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--mj-menu: var(--mj-sans); /* Journal menu bar: Akzidenz capitals (Emma, 5 Nov 2026) */

	/* Fluid sizes: value at 390px → value at 1728px */
	--mj-title: clamp(42px, 22.18px + 5.082vw, 110px);
	--mj-intro: clamp(10px, 6.5px + 0.897vw, 22px);
	--mj-intro-track: clamp(1px, 0.42px + 0.149vw, 3px);
	--mj-nav: clamp(11px, 7.21px + 0.972vw, 24px);
	--mj-nav-gap: clamp(18px, 10.71px + 1.868vw, 43px);
	--mj-lead-title: clamp(29px, 25.79px + 0.822vw, 40px);
	--mj-card-title: clamp(23px, 18.04px + 1.271vw, 40px);
	--mj-excerpt: clamp(15px, 13.54px + 0.374vw, 20px);
	--mj-meta: clamp(10px, 6.19px + 0.336vw, 12px);      /* 75% of the first design (Emma, 5 Nov) */
	--mj-link: clamp(9px, 7.54px + 0.374vw, 14px);
	--mj-section-title: clamp(26px, 20.75px + 1.345vw, 44px);
	--mj-editor-name: clamp(23px, 19.79px + 0.822vw, 34px);
	--mj-nl-title: clamp(30px, 24.17px + 1.495vw, 50px);
	--mj-btn: clamp(10px, 8.25px + 0.448vw, 16px);
	--mj-dropdown: clamp(12px, 10.83px + 0.299vw, 16px);
	--mj-nl-kicker: clamp(10px, 6.72px + 0.392vw, 13.5px);

	/* Spacing */
	--mj-gutter: clamp(20px, -1.86px + 5.605vw, 95px);
	--mj-row-gap: clamp(56px, 39.68px + 4.185vw, 112px);
	--mj-section-pad: clamp(58px, 42.84px + 3.886vw, 110px);
	--mj-col-gap: clamp(16px, 1.3vw, 24px);
	--mj-max: 1548px;

	background: var(--mj-bg);
	color: var(--mj-green);
	font-family: var(--mj-sans);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
	/* Full width even when the theme wraps pages in a centred container.
	   --mj-vw = viewport width without the scrollbar (set by the page script). */
	box-sizing: border-box;
	width: auto;
	max-width: none;
	margin-left: calc(50% - var(--mj-vw, 100vw) / 2);
	margin-right: calc(50% - var(--mj-vw, 100vw) / 2);
}
body.mj-landing,
body.mj-article-layout { overflow-x: clip; }

.mj *,
.mj *::before,
.mj *::after { box-sizing: border-box; }

/* Shield from the theme's global element styles (h2 { color: red } etc.).
   :where() keeps these at the specificity of .mj, so every component rule below still wins. */
.mj :where(h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote) { margin: 0; padding: 0; }
.mj :where(h1, h2, h3, h4, h5, h6, p, li, a, span, label, button, input, figcaption, blockquote, small, strong, em) {
	font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit;
	letter-spacing: inherit; text-transform: inherit; color: inherit; text-shadow: none;
}
.mj :where(strong, b) { font-weight: 500; }
.mj :where(em, i) { font-style: italic; }
.mj :where(ul, ol) { list-style: none; }
.mj :where(img) { border: 0; border-radius: 0; box-shadow: none; max-width: 100%; }
.mj :where(button, input) { border-radius: 0; box-shadow: none; text-shadow: none; }
.mj :where(a) { box-shadow: none; border-radius: 0; }
.mj a { color: inherit; text-decoration: none; }
.mj a:focus-visible,
.mj button:focus-visible,
.mj [tabindex]:focus-visible { outline: 1px solid var(--mj-blue); outline-offset: 4px; }

.mj .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- shared pieces ---------- */

.mj-meta {
	display: flex;            /* lets parents align it left / centre */
	overflow: hidden;         /* clips the separator of an item that starts a new line */
	padding-block: 1px;
	font-family: var(--mj-label);
	font-size: var(--mj-meta);
	line-height: 1.1;
	letter-spacing: .1575em; /* 2.52px @ 16px */
	text-transform: uppercase;
	color: var(--mj-blue);
}
.mj-meta__in {
	display: flex; flex-wrap: wrap; align-items: center; row-gap: .35em;
	justify-content: inherit;
	margin-left: -1.4em;
}
.mj-meta__item { position: relative; padding-left: 1.4em; white-space: nowrap; }
.mj-meta__item::before {
	content: ""; position: absolute; left: .7em; top: 50%;
	width: 1px; height: 1.15em; transform: translateY(-55%);
	background: currentColor; opacity: .55;
}

.mj-link {
	display: inline-block;
	padding-bottom: .55em;
	border-bottom: 1px solid currentColor;
	font-family: var(--mj-sans-regular);
	font-weight: 400;
	font-size: var(--mj-link);
	line-height: 1.2;
	letter-spacing: .214em; /* 3px @ 14px */
	text-transform: uppercase;
	transition: opacity .2s;
}
.mj-link:hover { opacity: .6; }

.mj-section-title {
	font-family: var(--mj-serif);
	font-weight: 400;
	font-size: var(--mj-section-title);
	line-height: 1.12;
}

.mj-img {
	display: block; width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
.mj-img--empty { background: var(--mj-panel); }

.mj-card__media,
.mj-feature__media,
.mj-editor__media { display: block; overflow: hidden; background: var(--mj-panel); }

.mj-card:hover .mj-img,
.mj-feature:hover .mj-img { transform: scale(1.03); }

.mj :is(.mj-card__title, .mj-feature__title, .mj-editor__name) a:hover {
	text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em;
}

/* ---------- intro ---------- */

.mj-intro {
	padding: clamp(48px, 5.8vw, 100px) 24px clamp(28px, 3.2vw, 56px); /* less space above the menu (Emma, 4 Nov) */
	text-align: center;
}
.mj-intro__title {
	font-family: var(--mj-serif);
	font-weight: 400;
	font-size: var(--mj-title);
	line-height: 1.05;
	text-wrap: balance;
}
.mj-intro__text {
	max-width: 1150px;
	margin: clamp(14px, 1.4vw, 24px) auto 0;
	font-family: var(--mj-sans); /* tagline: Akzidenz, sentence case, pine (Emma, 4 Nov) */
	font-weight: 300;
	font-size: clamp(16px, 14.5px + .4vw, 22px);
	line-height: 1.4;
	text-wrap: balance;
}

/* ---------- section bar + destinations ---------- */

.mj-filters {
	position: relative;
	z-index: 20;
	border-bottom: 1px solid #aab3a2;
}
.mj-filters__topics {
	display: flex;
	gap: var(--mj-nav-gap);
	padding: 14px 20px;
	min-height: 66px;
	align-items: center;
	overflow-x: auto;
	scrollbar-width: none;
	border-bottom: 1px solid #aab3a2;
}
.mj-filters__topics::-webkit-scrollbar { display: none; }
.mj-filters__topics a {
	display: block;
	white-space: nowrap;
	font-family: var(--mj-menu);
	font-size: max(11px, var(--mj-nav) * .7); /* 70% of the first design (Emma, 5 Nov) */
	line-height: 1;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--mj-green);
	transition: color .2s;
}
.mj-filters__topics a:hover { color: var(--mj-blue); }
.mj-filters__topics a.is-active {
	text-decoration: underline;
	text-decoration-color: var(--mj-blue);
	text-decoration-thickness: 1px;
	text-underline-offset: .45em;
}

.mj-dest { position: relative; }
.mj-dest__toggle {
	display: flex; width: 100%; height: 48px; padding: 0 20px;
	align-items: center; justify-content: space-between; gap: 16px;
	border: 0; background: none; color: inherit; cursor: pointer;
	font-family: var(--mj-menu);
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	transition: color .2s;
}
.mj-dest__toggle:hover { color: var(--mj-blue); }
.mj-dest__chevron { width: 14px; height: auto; transition: transform .25s; }
.mj-dest__toggle[aria-expanded="true"] .mj-dest__chevron { transform: rotate(180deg); }

.mj-dest__panel { background: #fff; border-top: 1px solid var(--mj-green); }
.mj-dest__list > li + li { border-top: 1px solid var(--mj-green); }
.mj-dest__list a {
	display: block;
	padding: 18px 24px 18px clamp(40px, 6vw, 104px);
	font-family: var(--mj-label); /* Figma: the label font (Rombera), like the other small capitals */
	font-size: var(--mj-dropdown);
	line-height: 1;
	letter-spacing: .19em; /* 3px @ 16px */
	text-transform: uppercase;
}
/* Countries in pine (a little larger), the places in each country in blue; hover = underline (Emma, 4 Nov). */
.mj-dest__list > li > a { color: var(--mj-green); font-size: calc(var(--mj-dropdown) * 1.12); }
.mj-dest__sub a { color: var(--mj-blue); padding-top: 10px; padding-bottom: 11px; padding-left: calc(clamp(40px, 6vw, 104px) + 40px); font-size: calc(var(--mj-dropdown) * .88); }
.mj-dest__list a:hover,
.mj-dest__list a[aria-current] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em; }
.mj-dest__list > li > a:has(+ .mj-dest__sub) { padding-bottom: 12px; }
.mj-dest__sub li:last-child a { padding-bottom: 22px; }

@media (min-width: 1024px) {
	.mj-filters {
		/* One row on desktop: scale the bar so it fits from 1024px up to 24px type at 1728px. */
		--mj-nav: clamp(13px, 1.5vw - 2px, 24px);
		--mj-nav-gap: clamp(20px, 2.6vw - 2px, 43px);
		display: flex;
		align-items: center;
		justify-content: space-between;
		border-bottom: 0;
		min-height: 76px;
	}
	.mj-filters__topics {
		flex: 1 1 auto;
		min-width: 0;
		padding: 32px 0 32px clamp(24px, 2.78vw, 48px);
		border-bottom: 0;
		min-height: 0;
	}
	.mj-filters__topics a { opacity: 1; }
	.mj-dest { flex: 0 0 auto; }
	.mj-dest__toggle {
		width: auto; height: auto;
		padding: 0 clamp(24px, 2.08vw, 36px) 0 clamp(24px, 2.4vw, 48px);
		gap: clamp(20px, 3.6vw - 4px, 58px);
		font-size: max(11px, var(--mj-nav) * .7);
	}
	.mj-dest__chevron { width: clamp(18px, 1.5vw, 26px); }
	.mj-dest__panel {
		position: absolute;
		top: calc(100% + 18px);
		right: 0;
		width: clamp(320px, 25.35vw, 438px);
		border-bottom: 1px solid var(--mj-green);
		box-shadow: 0 18px 40px -24px rgb(43 65 23 / .25);
	}
}

/* ---------- chronological grid ---------- */

.mj-grid {
	max-width: calc(var(--mj-max) + 2 * var(--mj-gutter));
	margin: var(--mj-row-gap) auto 0;
	padding: 0 var(--mj-gutter);
}
.mj-grid__list {
	display: grid;
	grid-template-columns: 1fr;
	column-gap: var(--mj-col-gap);
	row-gap: var(--mj-row-gap);
}
@media (min-width: 640px) { .mj-grid__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .mj-grid__list { grid-template-columns: repeat(3, 1fr); } }

.mj-card { display: flex; flex-direction: column; min-width: 0; }
.mj-card__media { aspect-ratio: 500 / 570; }
.mj-card__body { display: flex; flex-direction: column; align-items: flex-start; }
.mj-card__body .mj-meta { margin-top: clamp(16px, 1.74vw, 30px); }
.mj-card__title {
	margin-top: clamp(14px, 1.16vw, 20px);
	font-family: var(--mj-serif);
	font-weight: 400;
	font-size: var(--mj-card-title);
	line-height: 1.2;
	text-wrap: balance;
}
.mj-card__excerpt {
	margin-top: clamp(14px, 1.5vw, 26px);
	max-width: 447px;
	font-weight: 300;
	font-size: var(--mj-excerpt);
	line-height: 1.38;
}
.mj-card__body .mj-link { margin-top: clamp(16px, 2.14vw, 37px); }

/* mid-grid feature spans the full row */
.mj-feature { grid-column: 1 / -1; text-align: center; }
.mj-feature__media { aspect-ratio: 1066 / 631; width: min(100%, 1066px); margin: 0 auto; }
.mj-feature__body { display: flex; flex-direction: column; align-items: center; }
.mj-feature__body .mj-meta { justify-content: center; margin-top: clamp(20px, 2.5vw, 43px); }
.mj-feature__title {
	max-width: 744px;
	margin-top: clamp(14px, 1.16vw, 20px);
	font-family: var(--mj-serif);
	font-weight: 400;
	font-size: var(--mj-card-title);
	line-height: 1.2;
	text-wrap: balance;
}
.mj-feature__excerpt {
	max-width: 573px;
	margin-top: clamp(14px, 1.16vw, 20px);
	font-weight: 300;
	font-size: var(--mj-excerpt);
	line-height: 1.38;
}
.mj-feature__body .mj-link { margin-top: clamp(18px, 1.5vw, 26px); }

/* On phones the feature looks like the highlight story (full-bleed, grey panel). */
@media (max-width: 639px) {
	.mj-feature { margin: 0 calc(-1 * var(--mj-gutter)); text-align: left; }
	.mj-feature__media { aspect-ratio: 390 / 420; width: 100%; }
	.mj-feature__body { align-items: flex-start; background: var(--mj-panel); padding: 30px 24px 38px; }
	.mj-feature__body > * { margin-top: 0 !important; }
	.mj-feature__body > * + * { margin-top: 16px !important; }
	.mj-feature__body .mj-meta { justify-content: flex-start; }
	.mj-feature__title { font-size: var(--mj-lead-title); }
}

.mj-empty { grid-column: 1 / -1; text-align: center; font-weight: 300; font-size: var(--mj-excerpt); }

.mj-more { display: flex; justify-content: center; margin-top: clamp(64px, 6.4vw, 111px); }
/* No editors section between the stories and the newsletter: keep the same space under the button as above it. */
.mj-grid + .mj-newsletter { margin-top: clamp(64px, 6.4vw, 111px); }
.mj-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: clamp(190px, 12.4vw, 214px);
	min-height: clamp(46px, 2.7vw, 48px);
	padding: 0 28px;
	background: var(--mj-green); /* buttons in pine (Emma, 5 Nov) */
	color: var(--mj-white) !important;
	font-family: var(--mj-sans-regular);
	font-size: var(--mj-btn);
	letter-spacing: .1875em; /* 3px @ 16px */
	text-transform: uppercase;
	transition: background-color .2s;
}
.mj-btn:hover { background: #1c2b0f; }
.mj-btn[aria-busy="true"] { opacity: .6; pointer-events: none; }

/* ---------- carousels (picks + editors) ---------- */

.mj-carousel__track {
	position: relative;
	display: grid;
	grid-auto-flow: column;
	gap: 16px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.mj-carousel__track::-webkit-scrollbar { display: none; }
.mj-carousel__track > * { scroll-snap-align: start; }

.mj-dots { display: flex; gap: 7px; margin-top: 34px; }
.mj-dots[hidden] { display: none; }
.mj-dots button {
	width: clamp(6px, .58vw, 10px); aspect-ratio: 1; padding: 0;
	border: 1px solid var(--mj-green); border-radius: 50%;
	background: transparent; cursor: pointer;
}
.mj-dots button[aria-current="true"] { background: var(--mj-green); }

/* ---------- editor's picks ---------- */

.mj-picks {
	margin-top: clamp(80px, 11.5vw, 200px);
	padding: 58px 0 64px;
	border-top: 1px solid var(--mj-green);
	border-bottom: 1px solid var(--mj-green);
}
.mj-picks__title { margin: 0 20px; max-width: 10em; } /* breaks as “The editor’s picks / this month” */
.mj-picks__carousel { margin-top: 48px; }
.mj-picks .mj-carousel__track {
	grid-auto-columns: min(330px, 84vw);
	padding: 0 20px;
	scroll-padding-inline: 20px;
}
.mj-picks .mj-dots { justify-content: center; }
.mj-card--pick .mj-card__media { aspect-ratio: 330 / 340; }
.mj-card--pick .mj-card__body .mj-meta { margin-top: 16px; }
.mj-card--pick .mj-card__title { margin-top: 12px; font-size: 23px; }
.mj-card--pick .mj-card__excerpt { margin-top: 13px; }
.mj-card--pick .mj-card__body .mj-link { margin-top: 13px; }

@media (min-width: 1024px) {
	.mj-picks {
		display: grid;
		grid-template-columns: 35vw 1fr;
		padding: clamp(60px, 5.3vw, 91px) 0 clamp(60px, 5.1vw, 88px) var(--mj-gutter);
	}
	.mj-picks__title { margin: 0; padding: 49px 0 0; }
	.mj-picks__carousel { margin-top: 0; min-width: 0; }
	.mj-picks .mj-carousel__track {
		grid-auto-columns: 28.8vw;
		gap: 1.39vw;
		padding: 0;
		scroll-padding-inline: 0;
	}
	.mj-picks .mj-dots { justify-content: flex-start; margin-top: clamp(40px, 5.5vw, 95px); }
	.mj-card--pick .mj-card__media { aspect-ratio: 498 / 457; }
	.mj-card--pick .mj-card__body .mj-meta { margin-top: clamp(20px, 1.9vw, 33px); font-size: clamp(12px, .87vw, 15px); }
	.mj-card--pick .mj-card__excerpt { margin-top: clamp(14px, 1.2vw, 20px); }
	.mj-card--pick .mj-card__body .mj-link { margin-top: clamp(24px, 2.7vw, 47px); }
}

/* ---------- meet the editors ---------- */

.mj-editors { padding: 72px 0 40px; }
.mj-editors__intro { padding: 0 20px; text-align: center; }
.mj-editors__text {
	max-width: 514px; margin: 16px auto 0;
	font-weight: 300; font-size: var(--mj-excerpt); line-height: 1.38;
}
.mj-editors__carousel { margin-top: 44px; }
.mj-editors .mj-carousel__track {
	grid-auto-columns: min(330px, 84vw);
	padding: 0 20px;
	scroll-padding-inline: 20px;
	justify-content: safe center;
}
.mj-editors .mj-dots { justify-content: center; }

.mj-editor { display: flex; flex-direction: column; align-items: center; text-align: center; }
.mj-editor__media { width: 100%; aspect-ratio: 330 / 390; }
.mj-editor__media .mj-img { filter: grayscale(1); }
.mj-editor .mj-meta { justify-content: center; margin-top: 16px; }
.mj-editor__name {
	margin-top: 10px;
	font-family: var(--mj-serif);
	font-weight: 400;
	font-size: var(--mj-editor-name);
	line-height: 1.2;
}
.mj-editor .mj-link { margin-top: 10px; }

@media (min-width: 1024px) {
	.mj-editors { padding: clamp(80px, 6.65vw, 115px) var(--mj-gutter) clamp(60px, 5.2vw, 90px); }
	.mj-editors__text { margin-top: clamp(16px, 1.3vw, 22px); }
	.mj-editors__carousel { max-width: 1328px; margin: clamp(48px, 4.6vw, 80px) auto 0; }
	.mj-editors .mj-carousel__track {
		grid-auto-columns: calc((100% - 2 * 25px) / 3);
		gap: 25px;
		padding: 0;
		scroll-padding-inline: 0;
	}
	.mj-editor__media { aspect-ratio: 426 / 457; }
	.mj-editor .mj-meta { margin-top: clamp(16px, 1.3vw, 22px); font-size: clamp(12px, .87vw, 15px); }
	.mj-editor__name { margin-top: clamp(8px, .7vw, 12px); line-height: 1.41; }
	.mj-editor .mj-link { margin-top: clamp(24px, 2.4vw, 42px); }
	.mj-editors .mj-dots { margin-top: clamp(40px, 4.9vw, 85px); }
}

/* ---------- newsletter ---------- */

.mj-newsletter {
	background: var(--mj-green);
	color: var(--mj-white);
	padding: var(--mj-section-pad) 24px;
	border-bottom: 1px solid rgb(251 250 246 / .3); /* separates it from a green theme footer */
	text-align: center;
}
.mj-newsletter__inner { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.mj-newsletter__kicker {
	font-family: var(--mj-label);
	font-size: var(--mj-nl-kicker);
	line-height: 1.1;
	letter-spacing: .167em;
	text-transform: uppercase;
}
.mj-newsletter__title {
	max-width: 690px;
	margin-top: 26px;
	font-family: var(--mj-serif);
	font-weight: 400;
	font-size: var(--mj-nl-title);
	line-height: 1.1;
	text-wrap: balance;
}
.mj-newsletter__text {
	max-width: 440px;
	margin-top: 26px;
	font-weight: 300;
	font-size: var(--mj-excerpt);
	line-height: 1.38;
}
.mj-newsletter__form {
	position: relative;
	display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
	gap: 12px;
	width: 100%;
	margin-top: 44px;
}
.mj-newsletter__label {
	flex: 0 0 100%;
	font-family: var(--mj-sans);
	font-weight: 300;
	font-size: clamp(12px, .93vw, 16px);
	letter-spacing: .175em;
	text-transform: uppercase;
}
.mj-newsletter__input {
	flex: 1 1 220px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--mj-white);
	border-radius: 0;
	background: transparent;
	color: var(--mj-white);
	font: 300 16px/1 var(--mj-sans);
	appearance: none;
}
.mj-newsletter__input::placeholder { color: rgb(255 255 255 / .55); }
.mj-newsletter__input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--mj-white); }
.mj-newsletter__button {
	flex: 0 0 auto;
	height: 40px;
	min-width: 120px;
	padding: 0 20px;
	border: 1px solid var(--mj-white);
	border-radius: 0;
	background: var(--mj-white);
	color: var(--mj-green);
	cursor: pointer;
	font: 300 12px/1 var(--mj-sans);
	letter-spacing: .233em;
	text-transform: uppercase;
	transition: background-color .2s, color .2s;
}
.mj-newsletter__button:hover { background: transparent; color: var(--mj-white); }
.mj-newsletter__status { flex: 0 0 100%; min-height: 1.4em; font-weight: 300; font-size: 14px; }
.mj-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (min-width: 768px) {
	.mj-newsletter__form { flex-wrap: nowrap; width: 630px; max-width: 100%; }
	.mj-newsletter__label { flex: 0 0 auto; text-align: left; margin-right: 0; }
	.mj-newsletter__input { flex: 0 1 334px; height: 37px; }
	.mj-newsletter__button { height: 37px; min-width: 148px; }
	.mj-newsletter__status { position: absolute; top: calc(100% + 12px); left: 0; right: 0; }
}

/* Sliders can be dragged with the mouse (journal.js › mjDrag). */
@media (hover: hover) and (pointer: fine) {
	.mj .mj-draggable { cursor: grab; }
	.mj .mj-draggable.is-dragging { cursor: grabbing; scroll-snap-type: none !important; scroll-behavior: auto !important; user-select: none; }
	.mj .mj-draggable.is-dragging * { pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
	.mj *, .mj *::before, .mj *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Editor page (Figma: FINAL › Editor Detail Page)
   ========================================================================== */
.mj-editor-page { padding-bottom: 0; }
.mj-ed { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(24px, 2.2vw, 38px) var(--mj-gutter) clamp(48px, 4.6vw, 80px); }
.mj-ed__top { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; width: 100%; }
.mj-ed__back,
.mj-ed__all {
	font-family: var(--mj-sans-regular);
	font-size: var(--mj-link);
	letter-spacing: .2em;
	text-transform: uppercase;
}
.mj .mj-ed__back { text-decoration: underline; text-underline-offset: .7em; text-decoration-thickness: 1px; }
.mj .mj-ed__all { color: var(--mj-green); font-family: var(--mj-label); } /* "Our contributors" in Rombera Distressed (Emma, 4 Nov) */
.mj .mj-ed__back:hover,
.mj .mj-ed__all:hover { opacity: .65; }
.mj-ed__name {
	margin-top: clamp(20px, 1.6vw, 28px);
	font-family: var(--mj-serif);
	font-weight: 400;
	font-size: clamp(34px, 27.6px + 1.644vw, 56px);
	line-height: 1.05;
	color: var(--mj-green);
	text-wrap: balance;
}
.mj-ed__portrait { margin: clamp(36px, 3.8vw, 66px) 0 0; width: clamp(150px, 12.2vw, 212px); aspect-ratio: 212 / 254; overflow: hidden; background: var(--mj-panel); }
.mj-ed__portrait .mj-img { filter: grayscale(1); }
.mj-ed__role {
	margin-top: clamp(40px, 4.4vw, 76px);
	font-family: var(--mj-label);
	font-size: clamp(12px, 10.83px + .3vw, 16px);
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--mj-green);
}
.mj-ed__bio { margin-top: clamp(16px, 1.4vw, 24px); max-width: 640px; font-weight: 300; font-size: clamp(15px, 14.42px + .15vw, 17px); line-height: 1.45; }
.mj-ed__bio p + p { margin-top: .8em; }

.mj-ed__facts {
	display: flex; flex-wrap: wrap; justify-content: center;
	gap: 20px clamp(36px, 5vw, 86px);
	margin: 0;
	padding: clamp(18px, 1.4vw, 24px) var(--mj-gutter);
	border-top: 1px solid rgb(43 65 23 / .55);
}
.mj-ed__facts > div { min-width: 0; text-align: left; }
.mj-ed__facts dt { font-family: var(--mj-sans-regular); font-size: clamp(12px, 11.42px + .15vw, 14px); line-height: 1.15; letter-spacing: .04em; text-transform: uppercase; color: var(--mj-green); }
.mj-ed__facts dd { margin: 3px 0 0; font-weight: 300; font-size: clamp(13px, 12.42px + .15vw, 15px); line-height: 1.3; }
.mj-ed__facts .mj-ed__spec { max-width: 24em; } /* room for "Fitness, wellness, food …" */
.mj .mj-ed__facts a:hover { text-decoration: underline; }

.mj-ed__stories { padding: clamp(48px, 5vw, 90px) var(--mj-gutter) var(--mj-section-pad); max-width: calc(var(--mj-max) + 2 * var(--mj-gutter)); margin: 0 auto; }
.mj-ed__list { display: grid; grid-template-columns: 1fr; row-gap: var(--mj-row-gap); }
.mj-ed__list .mj-card__media { aspect-ratio: 4 / 3; }
@media (min-width: 760px) {
	.mj-ed__list { grid-template-columns: minmax(0, 586fr) minmax(0, 680fr); column-gap: clamp(40px, 9.5vw, 165px); align-items: start; }
	.mj-ed__list > .mj-card:nth-child(4n+1) .mj-card__media { aspect-ratio: 586 / 440; }
	.mj-ed__list > .mj-card:nth-child(4n+2) .mj-card__media { aspect-ratio: 680 / 340; }
	.mj-ed__list > .mj-card:nth-child(4n+3) .mj-card__media { aspect-ratio: 680 / 450; width: 82%; }
	.mj-ed__list > .mj-card:nth-child(4n) .mj-card__media { aspect-ratio: 580 / 650; width: 72%; }
	.mj-ed__list > .mj-card:nth-child(even) { margin-top: 0; }
}
.mj-ed__list .mj-card__excerpt { max-width: 400px; }
.mj-editor-page .mj-empty { padding: 20px 0; }

/* ==========================================================================
   v0.7 — Emma's final design round (4–5 Nov 2026): fonts, colours, spacing
   ========================================================================== */

/* Compact story listings (like uniquehomestays.com/live-unique): a centred column with space each side. */
@media (min-width: 1024px) {
	.mj-grid { max-width: calc(1180px + 2 * var(--mj-gutter)); }
	.mj-grid__list { column-gap: clamp(24px, 2.4vw, 40px); row-gap: clamp(48px, 4.4vw, 76px); }
	.mj-card__media { aspect-ratio: 4 / 4.2; }
	.mj-grid .mj-card__title { font-size: clamp(19px, 14px + .55vw, 24px); }
	.mj-grid .mj-card__excerpt { font-size: clamp(14px, 12.6px + .14vw, 15.5px); line-height: 1.45; }
	.mj-grid .mj-feature__media { width: min(100%, 1066px); }
	.mj-grid .mj-feature__title { font-size: clamp(22px, 15px + .8vw, 30px); }
	.mj-grid .mj-feature__excerpt { font-size: clamp(14px, 12.6px + .14vw, 15.5px); line-height: 1.45; }
}

/* Spacing inside the stories (Emma's table, 4 Nov):
                         grid cards   featured stories
   meta line → title        12px          16px
   title → excerpt          12px          20px
   excerpt → Read the story 16px          24px
   title line height        1.2           1.15 */
.mj .mj-card__body .mj-card__title { margin-top: 12px; line-height: 1.2; }
.mj .mj-card__body .mj-card__excerpt { margin-top: 12px; }
.mj .mj-card__body .mj-link { margin-top: 16px; }
.mj .mj-feature__body .mj-feature__title { margin-top: 16px; line-height: 1.15; }
.mj .mj-feature__body .mj-feature__excerpt { margin-top: 20px; }
.mj .mj-feature__body .mj-link { margin-top: 24px; }
@media (max-width: 639px) {
	.mj .mj-feature__body > .mj-feature__title { margin-top: 16px !important; }
	.mj .mj-feature__body > .mj-feature__excerpt { margin-top: 20px !important; }
	.mj .mj-feature__body > .mj-link { margin-top: 24px !important; }
}

/* The top story looks like the centred featured story, above the grid (it was a big split panel). */
.mj-grid__lead { margin-bottom: var(--mj-row-gap); }
.mj-grid { margin-top: clamp(32px, 3vw, 56px); }
@media (min-width: 1024px) { .mj-grid__lead { margin-bottom: clamp(48px, 4.4vw, 76px); } }

/* Journal menu: one group, as wide as the top story's photo, with Destinations right after the sections. */
@media (min-width: 1024px) {
	.mj-filters {
		width: min(1066px, 100% - 2 * var(--mj-gutter));
		margin: 0 auto;
		gap: var(--mj-nav-gap);
		min-height: 0;
	}
	.mj-filters__topics { justify-content: space-between; padding: 22px 0; }
	.mj-dest__toggle { padding: 0; gap: 12px; }
	.mj-dest__chevron { width: 13px; }
}

/* Editor's picks: Mountain air background, centred title, smaller cards; titles like every other story
   (Playfair, as typed, pine) and the line above them in pine. */
.mj-picks {
	margin-top: clamp(64px, 6.4vw, 111px);
	padding: clamp(48px, 4.6vw, 80px) 0 clamp(44px, 4.2vw, 72px);
	border: 0;
	background: var(--mj-panel);
}
.mj .mj-picks__title { margin: 0 auto; padding: 0 20px; max-width: 18em; text-align: center; }
.mj-picks__carousel { margin-top: clamp(28px, 2.8vw, 48px); }
.mj-picks .mj-carousel__track { justify-content: safe center; }
.mj-picks .mj-dots { justify-content: center; }
.mj-picks .mj-meta { color: var(--mj-green); }
.mj .mj-card--pick .mj-card__media { aspect-ratio: 4 / 3; }
.mj .mj-card--pick .mj-card__body .mj-meta { margin-top: 16px; font-size: var(--mj-meta); }
.mj .mj-card--pick .mj-card__title { font-family: var(--mj-serif); font-size: clamp(19px, 14px + .55vw, 24px); letter-spacing: 0; color: var(--mj-green); }
@media (min-width: 1024px) {
	.mj-picks { display: block; padding-left: var(--mj-gutter); padding-right: var(--mj-gutter); }
	.mj-picks__title { padding: 0; }
	.mj-picks__carousel { max-width: 1180px; margin-left: auto; margin-right: auto; }
	.mj-picks .mj-carousel__track { grid-auto-columns: calc((100% - 2 * clamp(24px, 2.4vw, 40px)) / 3); gap: clamp(24px, 2.4vw, 40px); }
	.mj-picks .mj-dots { justify-content: center; margin-top: clamp(28px, 2.8vw, 48px); }
}

/* ==========================================================================
   v0.7.2 — Emma's "It looks GREAT!!" email (10 Nov 2026)
   ========================================================================== */

/* Tagline under the title in Rombera Distressed. */
.mj .mj-intro__text {
	font-family: var(--mj-label);
	font-weight: 400;
	font-size: clamp(14px, 12.25px + .45vw, 20px);
	letter-spacing: .06em;
	line-height: 1.45;
}

/* Top story: a coloured band right across the page from half-way down its photo, behind its text
   (like uniquehomestays.com/live-unique), then "More from the Edit" above the other stories. */
@media (min-width: 640px) {
	.mj-grid__lead { container-type: inline-size; margin-bottom: 0; }
	.mj-feature--lead { position: relative; z-index: 0; padding-bottom: clamp(48px, 4.4vw, 76px); }
	.mj-feature--lead::before {
		content: "";
		position: absolute; z-index: -1;
		top: calc(min(100cqw, 1066px) * 631 / 1066 / 2);
		bottom: 0;
		left: 50%;
		width: var(--mj-vw, 100vw);
		margin-left: calc(var(--mj-vw, 100vw) / -2);
		background: var(--mj-lead-band, var(--mj-panel));
	}
	.mj .mj-grid__more { margin: clamp(56px, 5vw, 88px) auto clamp(36px, 3.4vw, 60px); padding: 0 20px; text-align: center; }
}
@media (max-width: 639px) {
	.mj .mj-grid__more { margin: clamp(48px, 12vw, 64px) auto 32px; text-align: center; }
	.mj-grid__lead { margin-bottom: 0; }
}

/* "Meet our contributors": about half the size it was. */
.mj-editors { padding: 56px 0 32px; }
.mj-editors .mj-carousel__track { grid-auto-columns: min(210px, 56vw); }
.mj .mj-editor__name { font-size: clamp(19px, 16px + .5vw, 24px); }
.mj-editors__carousel { margin-top: 32px; }
@media (min-width: 1024px) {
	.mj-editors { padding: clamp(56px, 4.4vw, 76px) var(--mj-gutter) clamp(40px, 3.4vw, 60px); }
	.mj-editors__carousel { max-width: 880px; margin-top: clamp(28px, 2.6vw, 44px); }
	.mj-editors .mj-carousel__track { grid-auto-columns: calc((100% - 2 * 24px) / 3); gap: 24px; }
	.mj-editor .mj-meta { margin-top: 12px; font-size: var(--mj-meta); letter-spacing: .12em; }
	.mj-editor__name { margin-top: 6px; }
	.mj-editor .mj-link { margin-top: 16px; }
	.mj-editors .mj-dots { margin-top: clamp(28px, 2.6vw, 44px); }
}

/* No divider before the first item of a label line (it showed as "| Best of | Mallorca" when centred). */
.mj-meta__item:first-child::before,
.mj-meta__item.is-line-start::before { content: none; }

/* ==========================================================================
   v0.7.4: Emma, 10 Nov night (WhatsApp, uniquehomestays.com/live-unique)
   ========================================================================== */

/* The Journal menu stays at the top while you scroll, right under the site header. The theme's
   header slides away when scrolling down and comes back when scrolling up; journal.js keeps
   --mj-sticky-top in step with it. A page-coloured strip runs right across behind the menu so
   stories never show through at the sides. */
.mj-filters {
	position: sticky;
	top: var(--mj-sticky-top, 0px);
	z-index: 40;
}
.mj-filters::before {
	content: "";
	position: absolute; z-index: -1;
	top: 0; bottom: 0; left: 50%;
	width: var(--mj-vw, 100vw);
	margin-left: calc(var(--mj-vw, 100vw) / -2);
	background: var(--mj-bg);
	transition: box-shadow .2s;
}
.mj-filters.is-stuck::before { box-shadow: 0 1px 0 #aab3a2; }
/* An open Destinations list never runs off the bottom of the screen while the menu is pinned. */
.mj-filters .mj-dest__panel {
	max-height: calc(100vh - var(--mj-sticky-top, 0px) - 140px);
	max-height: calc(100dvh - var(--mj-sticky-top, 0px) - 140px);
	overflow-y: auto;
	overscroll-behavior: contain;
}
.mj #mj-grid { scroll-margin-top: calc(var(--mj-sticky-top, 0px) + 90px); }
.mj .mj-filters-mark { display: block; height: 0; scroll-margin-top: var(--mj-sticky-top, 0px); }

/* Top story: the coloured band starts right under the Journal menu and runs behind the whole story;
   the photo is wide and low like theirs (980 × 428). Phones keep the full-bleed photo + panel. */
@media (min-width: 640px) {
	.mj-grid:has(> .mj-grid__lead) { margin-top: 0; }
	.mj-feature--lead { padding-top: clamp(28px, 2.8vw, 44px); }
	.mj-feature--lead::before { top: 0; }
	.mj .mj-feature--lead .mj-feature__media { aspect-ratio: 980 / 428; }
}
