/* Filakia Magazine. Mobile first. */

/* Pages built with the magazine: paper background, flush under the site header */
body.flkm-page, .flkm-page .jupiterx-site, .flkm-page .jupiterx-main, .flkm-page .jupiterx-main-content { background-color: #FFF8F9; }
.fm[data-fm] { background: #FFF8F9; }
.elementor .elementor-widget[class*="elementor-widget-flkm-"] { margin-bottom: 0; margin-block-end: 0; }
/* Let the magazine sit flush under the site header on Jupiter X */
.flkm-page .jupiterx-main-content { padding-top: 0; padding-bottom: 0; }

.fm {
	--fm-rose: #D92257;
	--fm-rose-ink: #B0143E;
	--fm-ink: #241A26;
	--fm-muted: #6C6170;
	--fm-paper: #FFF8F9;
	--fm-blush: #FBEAEF;
	--fm-line: #EFDCE2;
	--fm-plum: #6A2C5A;
	--fm-night: #191C47;
	--fm-night-2: #262A62;
	--fm-gold: #E6C677;
	--fm-sage: #2E6658;
	--fm-serif: "GFS Didot", Didot, "Bodoni 72", Georgia, "Times New Roman", serif;
	--fm-sans: Commissioner, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--fm-gutter: 16px;
	--fm-sticky-top: 0px;
	--fm-adminbar: 0px;

	position: relative;
	font-family: var(--fm-sans);
	font-size: 16px;
	line-height: 1.5;
	color: var(--fm-ink);
	background: transparent;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
	text-align: left;
}
.admin-bar .fm { --fm-adminbar: 32px; }
@media (max-width: 782px) { .admin-bar .fm { --fm-adminbar: 46px; } }
@media (max-width: 600px) { .admin-bar .fm { --fm-adminbar: 0px; } }

/* Isolation from theme and Elementor styles */
.fm *, .fm *::before, .fm *::after { box-sizing: border-box; }
.fm h1, .fm h2, .fm h3, .fm p, .fm figure, .fm details, .fm summary { margin: 0; padding: 0; }
.fm h1, .fm h2, .fm h3 { font-style: normal; text-transform: none; letter-spacing: 0; color: inherit; }
.fm a { color: inherit; text-decoration: none; border: 0; box-shadow: none; background: none; }
.fm img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; border: 0; border-radius: 0; box-shadow: none; }
.fm svg { display: block; flex: 0 0 auto; }
.fm button {
	font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0;
	min-height: 0; min-width: 0; line-height: 1.2; text-transform: none; letter-spacing: 0; box-shadow: none;
	cursor: pointer; -webkit-appearance: none; appearance: none; border-radius: 0;
}
.fm [hidden] { display: none !important; }
.fm .fm-sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.fm a:focus-visible, .fm button:focus-visible, .fm summary:focus-visible {
	outline: 2px solid var(--fm-rose); outline-offset: 3px; border-radius: 6px;
}

.fm-wrap {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding-left: max(var(--fm-gutter), env(safe-area-inset-left));
	padding-right: max(var(--fm-gutter), env(safe-area-inset-right));
}

/* Masthead */
.fm-mast { padding: 28px 0 22px; }
.fm .fm-mast__title {
	font-family: var(--fm-serif);
	font-weight: 400;
	font-size: clamp(2.4rem, 10.5vw, 4.75rem);
	line-height: 1;
	letter-spacing: -0.012em;
	max-width: 12em;
	text-wrap: balance;
}
.fm-mast__intro { margin-top: 16px; max-width: 36em; font-size: 1rem; line-height: 1.55; color: var(--fm-muted); }
.fm-mast__date { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 14px; font-size: .8125rem; color: var(--fm-muted); }
.fm-mast__date time { color: var(--fm-ink); font-weight: 500; }
.fm-mast__count { font-weight: 500; }
.fm-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; font-size: .875rem; color: var(--fm-muted); }
.fm .fm-crumbs a { font-weight: 600; color: var(--fm-rose-ink); }
.fm-crumbs [aria-current] { color: inherit; }

.fm-mast.fm-tone--blush { background: var(--fm-blush); }
.fm-mast.fm-tone--rose { background: var(--fm-rose); color: #fff; }
.fm-mast.fm-tone--night {
	color: #F2EEFF;
	background-color: var(--fm-night);
	background-image: radial-gradient(90% 80% at 100% 0%, rgba(230, 198, 119, .22), rgba(230, 198, 119, 0) 60%);
}
.fm-mast.fm-tone--rose .fm-mast__intro, .fm-mast.fm-tone--rose .fm-mast__date { color: rgba(255, 255, 255, .88); }
.fm-mast.fm-tone--night .fm-mast__intro, .fm-mast.fm-tone--night .fm-mast__date { color: rgba(242, 238, 255, .78); }
.fm-mast.fm-tone--rose time, .fm-mast.fm-tone--night time { color: inherit; font-weight: 600; }
.fm .fm-mast.fm-tone--rose .fm-crumbs a,
.fm.fm-mast.fm-tone--rose .fm-crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.fm .fm-mast.fm-tone--night .fm-crumbs a,
.fm.fm-mast.fm-tone--night .fm-crumbs a { color: var(--fm-gold); }
.fm-mast.fm-tone--rose .fm-crumbs, .fm-mast.fm-tone--night .fm-crumbs { color: rgba(255, 255, 255, .8); }

/* Sticky bar: search plus chips */
.fm-bar {
	position: -webkit-sticky;
	position: sticky;
	top: calc(var(--fm-sticky-top) + var(--fm-adminbar));
	z-index: 30;
	background: rgba(255, 248, 249, .95);
	-webkit-backdrop-filter: saturate(1.5) blur(12px);
	backdrop-filter: saturate(1.5) blur(12px);
	border-bottom: 1px solid var(--fm-line);
}
.fm-bar__in { padding-top: 10px; }

/* Search. High specificity and !important beat theme and Elementor input styles. */
.fm .fm-search {
	position: relative;
	display: flex;
	align-items: center;
	max-width: 640px;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid var(--fm-line);
	border-radius: 999px;
	transition: border-color .15s, box-shadow .15s;
}
.fm .fm-search:focus-within { border-color: var(--fm-rose); box-shadow: 0 0 0 4px rgba(217, 34, 87, .12); }
.fm-search__icon { padding-left: 16px; color: var(--fm-muted); }
.fm-search__icon svg { width: 20px; height: 20px; }
.fm .fm-search .fm-search__input[type="search"] {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	width: auto !important;
	max-width: none !important;
	height: 46px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 6px 0 10px !important;
	border: 0 !important;
	border-radius: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	font-family: var(--fm-sans) !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	color: var(--fm-ink) !important;
	-webkit-appearance: none;
	appearance: none;
}
.fm .fm-search .fm-search__input::placeholder { color: #9B8F9E; opacity: 1; font-weight: 400; }
.fm .fm-search .fm-search__input::-webkit-search-cancel-button,
.fm .fm-search .fm-search__input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.fm .fm-search .fm-search__input::-webkit-search-results-button,
.fm .fm-search .fm-search__input::-webkit-search-results-decoration { display: none; }
.fm .fm-search .fm-search__clear {
	display: flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; margin-right: 2px; padding: 0;
	background: transparent; color: var(--fm-muted); border: 0; border-radius: 50%;
}
.fm .fm-search .fm-search__clear svg { width: 18px; height: 18px; }
.fm .fm-search .fm-search__go {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); padding: 0; border: 0;
}

/* Horizontal scrollers with arrows (chips and rails) */
.fm-scroller { position: relative; }
.fm-track {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.fm-track::-webkit-scrollbar { display: none; }
.fm .fm-scroller .fm-nav {
	position: absolute;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .97);
	color: var(--fm-ink);
	box-shadow: 0 2px 10px rgba(36, 26, 38, .22);
}
.fm:not(.fm-js) .fm-nav { display: none !important; }

/* Chips */
.fm-chips .fm-track {
	display: flex;
	gap: 6px;
	padding: 8px 0 10px;
}
.fm .fm-chip {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 38px;
	padding: 0 16px;
	border: 1px solid var(--fm-line);
	border-radius: 999px;
	background: #fff;
	font-size: .9375rem;
	font-weight: 500;
	line-height: 1;
	color: var(--fm-ink);
	white-space: nowrap;
	transition: background-color .15s, color .15s, border-color .15s;
}
.fm .fm-chip[aria-current="true"] { background: var(--fm-ink); border-color: var(--fm-ink); color: #fff; }
/* Hub categories fit on one row on phones */
.fm .fm-chips--cats .fm-chip,
.fm .fm-chips--fit .fm-chip {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0 clamp(7px, 2.4vw, 18px);
	font-size: clamp(.8125rem, 3.5vw, .9375rem);
}
.fm .fm-chips .fm-nav { top: 50%; width: 32px; height: 32px; margin-top: -17px; }
.fm .fm-chips .fm-nav svg { width: 18px; height: 18px; }
.fm .fm-chips .fm-nav--prev { left: -4px; }
.fm .fm-chips .fm-nav--next { right: -4px; }
/* Soft fade so cut off chips read as "more this way" */
.fm-chips::before, .fm-chips::after {
	content: "";
	position: absolute;
	top: 8px;
	bottom: 10px;
	width: 44px;
	z-index: 2;
	pointer-events: none;
	transition: opacity .15s;
}
.fm-chips::before { left: 0; background: linear-gradient(to right, rgba(255, 248, 249, 1) 30%, rgba(255, 248, 249, 0)); }
.fm-chips::after { right: 0; background: linear-gradient(to left, rgba(255, 248, 249, 1) 30%, rgba(255, 248, 249, 0)); }
.fm-chips.is-start::before, .fm-chips.is-end::after, .fm:not(.fm-js) .fm-chips::before, .fm:not(.fm-js) .fm-chips::after { opacity: 0; }
@media (max-width: 1023px) {
	.fm-chips .fm-track { margin: 0 calc(-1 * var(--fm-gutter)); padding-left: var(--fm-gutter); padding-right: var(--fm-gutter); scroll-padding-left: var(--fm-gutter); }
	.fm .fm-chips .fm-nav--prev { left: calc(6px - var(--fm-gutter)); }
	.fm .fm-chips .fm-nav--next { right: calc(6px - var(--fm-gutter)); }
	.fm-chips::before { left: calc(-1 * var(--fm-gutter)); }
	.fm-chips::after { right: calc(-1 * var(--fm-gutter)); }
}

/* Section scaffolding */
.fm-sec { padding: 34px 0; }
.fm-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.fm .fm-h2 {
	font-family: var(--fm-serif);
	font-weight: 400;
	font-size: clamp(1.85rem, 7vw, 2.6rem);
	line-height: 1.08;
}
.fm .fm-h2--sm { font-size: 1.6rem; margin-bottom: 4px; }
.fm-h2__sub { display: block; margin-top: 8px; font-family: var(--fm-sans); font-size: .875rem; line-height: 1.4; color: var(--fm-muted); }
.fm .fm-more-link {
	flex: 0 0 auto;
	padding: 8px 0 2px;
	font-size: .875rem;
	font-weight: 600;
	color: var(--fm-rose-ink);
	border-bottom: 1.5px solid currentColor;
}

/* Labels and meta */
.fm-cat { display: inline-block; margin-bottom: 6px; font-size: .8125rem; font-weight: 600; line-height: 1.2; color: var(--fm-rose-ink); }
.fm-cat--relationships { color: var(--fm-plum); }
.fm-cat--zodia { color: #3A3E92; }
.fm-cat--style { color: var(--fm-sage); }
.fm--category .fm-cat { display: none; }
.fm-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 8px; font-size: .8125rem; line-height: 1.3; color: var(--fm-muted); }
.fm-meta__read { display: inline-flex; align-items: center; gap: 5px; }
.fm-meta__read svg { width: 13px; height: 13px; }

/* Cards */
.fm-card { position: relative; }
.fm-card__media { position: relative; overflow: hidden; border-radius: 12px; background: var(--fm-blush); }
.fm-card__media > .fm-img,
.fm-cover__media > .fm-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.fm-img--empty { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #FCE9EE, #F3CCD8); }
.fm .fm-card__title {
	font-family: var(--fm-sans);
	font-weight: 600;
	font-size: 1.0625rem;
	line-height: 1.32;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.fm-card__title a::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; }
.fm-card__excerpt { display: none; }
@media (hover: hover) {
	.fm-card:hover .fm-card__title { color: var(--fm-rose-ink); }
	.fm-img { transition: transform .5s ease; }
	.fm-card:hover .fm-img { transform: scale(1.03); }
}

/* Cover story */
.fm-top { padding-top: 22px; }
.fm-cover {
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	background: var(--fm-ink);
	color: #fff;
	isolation: isolate;
}
.fm-cover__media { position: relative; aspect-ratio: 4 / 5; }
.fm-cover__media::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 78%;
	background: linear-gradient(to top, rgba(28, 14, 26, .94) 12%, rgba(28, 14, 26, .55) 55%, rgba(28, 14, 26, 0));
}
.fm-cover__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px 20px 24px; }
.fm-cover .fm-cat { color: #FFC0D1; }
.fm .fm-cover__title {
	font-family: var(--fm-serif);
	font-weight: 400;
	font-size: clamp(1.9rem, 8vw, 3.1rem);
	line-height: 1.06;
	color: #fff;
	text-wrap: balance;
}
.fm-cover__title a::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 2; }
.fm-cover__excerpt {
	margin-top: 14px;
	font-size: .9375rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, .86);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.fm-cover .fm-meta { color: rgba(255, 255, 255, .72); }

/* Just published list */
.fm-latest { margin-top: 30px; }
.fm-card--row {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	padding: 14px 0;
	border-top: 1px solid var(--fm-line);
}
.fm-latest__list .fm-card--row:first-child { border-top: 0; }
.fm-card--row .fm-card__media { aspect-ratio: 1 / 1; border-radius: 12px; }
.fm .fm-card--row .fm-card__title { font-size: 1rem; }

/* Category rails */
.fm-rail .fm-cat { display: none; }
.fm-rail__scroller .fm-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 76%;
	gap: 14px;
	scroll-snap-type: x mandatory;
	scroll-padding-left: var(--fm-gutter);
	margin: 0 calc(-1 * var(--fm-gutter));
	padding: 0 var(--fm-gutter) 4px;
}
.fm-rail__scroller .fm-track > .fm-card { scroll-snap-align: start; }
.fm-card--rail .fm-card__media { aspect-ratio: 3 / 2; margin-bottom: 12px; }
.fm .fm-rail__scroller .fm-nav { top: var(--fm-arrow-top, 30%); width: 42px; height: 42px; margin-top: -21px; }
.fm .fm-rail__scroller .fm-nav svg { width: 22px; height: 22px; }
.fm .fm-rail__scroller .fm-nav--prev { left: -6px; }
.fm .fm-rail__scroller .fm-nav--next { right: -6px; }

.fm-rail.fm-tone--blush { background: var(--fm-blush); }
.fm-rail.fm-tone--night {
	color: #F2EEFF;
	background-color: var(--fm-night);
	background-image: radial-gradient(110% 70% at 100% 0%, rgba(230, 198, 119, .2), rgba(230, 198, 119, 0) 60%);
}
.fm-tone--night .fm-card__media { background: var(--fm-night-2); }
.fm-tone--night .fm-meta { color: rgba(242, 238, 255, .66); }
.fm .fm-tone--night .fm-more-link,
.fm.fm-tone--night .fm-more-link { color: var(--fm-gold); }
@media (hover: hover) {
	.fm-tone--night .fm-card:hover .fm-card__title { color: var(--fm-gold); }
}

/* Signup band */
.fm-cta { padding: 40px 0; background: var(--fm-rose); color: #fff; }
.fm .fm-cta__title {
	font-family: var(--fm-serif);
	font-size: clamp(1.9rem, 7.5vw, 2.8rem);
	line-height: 1.08;
	max-width: 16em;
	text-wrap: balance;
}
.fm-cta__text { margin-top: 12px; max-width: 32em; color: rgba(255, 255, 255, .9); }
.fm .fm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	margin-top: 22px;
	padding: 0 28px;
	border-radius: 999px;
	background: #fff;
	color: var(--fm-rose-ink);
	font-size: 1rem;
	font-weight: 700;
}

/* Article grid: list on phones, cards from tablet up */
.fm-grid { display: grid; }
.fm-grid > .fm-card {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	padding: 16px 0;
	border-top: 1px solid var(--fm-line);
}
.fm-grid > .fm-card:first-child { border-top: 0; padding-top: 4px; }
.fm-grid > .fm-card .fm-card__media { aspect-ratio: 1 / 1; }
.fm .fm-grid .fm-card__title { font-size: 1rem; }

.fm-results[aria-busy="true"] .fm-grid { opacity: .45; transition: opacity .15s; }
.fm-results .fm-h2 { margin-bottom: 18px; }
.fm-empty { max-width: 34em; padding: 4px 0 12px; color: var(--fm-muted); }

.fm .fm-more {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	margin: 26px auto 0;
	padding: 0 30px;
	border: 1.5px solid var(--fm-ink);
	border-radius: 999px;
	background: transparent;
	color: var(--fm-ink);
	font-weight: 600;
}
.fm .fm-more[aria-busy="true"] { opacity: .55; }
.fm:not(.fm-js) .fm-more { display: none; }
.fm.fm-js .fm-pager { display: none; }

.fm-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; font-size: .9375rem; }
.fm-pager a { padding: 10px 0; font-weight: 600; color: var(--fm-rose-ink); }
.fm-pager__now { color: var(--fm-muted); }

/* FAQ */
.fm-faq { border-top: 1px solid var(--fm-line); }
.fm-faq__list { max-width: 760px; margin-top: 14px; border-top: 1px solid var(--fm-line); }
.fm-faq__item { border-bottom: 1px solid var(--fm-line); }
.fm .fm-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	list-style: none;
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.35;
	cursor: pointer;
}
.fm-faq__item summary::-webkit-details-marker { display: none; }
.fm-faq__item summary::after {
	content: "";
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	margin-right: 4px;
	border-right: 2px solid var(--fm-rose);
	border-bottom: 2px solid var(--fm-rose);
	transform: translateY(-3px) rotate(45deg);
	transition: transform .2s;
}
.fm-faq__item[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.fm-faq__a { max-width: 42em; padding: 0 0 20px; line-height: 1.62; color: #4A3F4D; }

/* Explore other categories */
.fm-explore { border-top: 1px solid var(--fm-line); }
.fm-explore__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fm .fm-chip--strong { background: var(--fm-ink); border-color: var(--fm-ink); color: #fff; }

/* Tablet */
@media (min-width: 640px) {
	.fm { --fm-gutter: 28px; }
	.fm .fm-chips--cats .fm-chip, .fm .fm-chips--fit .fm-chip { flex: 0 0 auto; padding: 0 18px; font-size: .9375rem; }
	.fm-chips .fm-track { gap: 8px; }
	.fm-cover__media { aspect-ratio: 16 / 11; }
	.fm-cover__body { padding: 28px; }
	.fm-rail__scroller .fm-track { grid-auto-columns: 44%; gap: 20px; }

	.fm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
	.fm-grid > .fm-card, .fm-grid > .fm-card:first-child { display: block; padding: 0; border-top: 0; }
	.fm-grid > .fm-card .fm-card__media { aspect-ratio: 3 / 2; margin-bottom: 14px; border-radius: 14px; }
	.fm .fm-grid .fm-card__title { font-size: 1.125rem; }
	.fm-grid .fm-card__excerpt, .fm-card--rail .fm-card__excerpt {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		margin-top: 6px;
		font-size: .9375rem;
		line-height: 1.5;
		color: var(--fm-muted);
	}
	.fm-tone--night .fm-card__excerpt { color: rgba(242, 238, 255, .72); }

	.fm .fm-search .fm-search__go {
		position: static !important; width: auto; height: 40px; overflow: visible; clip: auto;
		margin-right: 4px; padding: 0 20px; border-radius: 999px;
		background: var(--fm-ink); color: #fff; font-weight: 600; font-size: .9375rem;
	}
}

/* Desktop */
@media (min-width: 1024px) {
	.fm { --fm-gutter: 32px; }
	.fm-mast { padding: 60px 0 36px; }
	.fm-sec { padding: 60px 0; }
	.fm-top { padding-top: 36px; }

	.fm-bar__in { display: flex; align-items: center; gap: 24px; padding-top: 0; }
	.fm .fm-bar .fm-search { flex: 0 0 420px; max-width: 420px; }
	.fm-bar .fm-chips { flex: 1 1 auto; min-width: 0; }
	.fm-chips .fm-track { padding: 12px 0; }
	.fm-chips::before, .fm-chips::after { top: 12px; bottom: 12px; }

	.fm-top__grid {
		display: grid;
		grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
		gap: 44px;
		align-items: start;
	}
	.fm-cover__media { aspect-ratio: 16 / 12; }
	.fm-cover__body { padding: 36px 40px; }
	.fm .fm-cover__title { font-size: 3.1rem; max-width: 15em; }
	.fm-latest { margin-top: 0; }
	.fm .fm-card--row { grid-template-columns: 104px minmax(0, 1fr); padding: 18px 0; }

	.fm-rail__scroller .fm-track {
		grid-auto-flow: row;
		grid-auto-columns: auto;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 40px 28px;
		overflow: visible;
		margin: 0;
		padding: 0;
	}
	.fm .fm-rail__scroller .fm-nav { display: none !important; }
	.fm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
	.fm-cta { padding: 64px 0; }
	.fm-cta__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); column-gap: 48px; align-items: end; }
	.fm-cta__title { grid-column: 1; grid-row: 1 / span 2; }
	.fm-cta__text { grid-column: 2; margin-top: 0; }
	.fm .fm-btn { grid-column: 2; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
	.fm *, .fm *::before, .fm *::after { transition: none !important; scroll-behavior: auto !important; }
}


/* ---------------------------------------------------------------------
 * Elementor widgets
 * ------------------------------------------------------------------ */

/* Sticky bars are pinned by script so they work inside any Elementor section.
   No backdrop blur here: on a fixed bar it flickers in iOS webviews and costs scroll smoothness. */
.fm-w .fm-bar {
	position: relative;
	top: auto;
	background: rgba(255, 248, 249, .98);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}
.fm-bar.is-stuck {
	position: fixed;
	left: 0;
	right: 0;
	width: auto;
	margin: 0;
	z-index: 999;
	box-shadow: 0 6px 16px rgba(36, 26, 38, .06);
	/* Own compositing layer: steady while iOS momentum scrolls */
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}
.fm-sticky-ph { height: 0; }
.fm-bar--chips .fm-bar__in { padding-top: 0; }

/* Search box inside the header area, not pinned */
.fm-bar--plain {
	background: transparent;
	border-bottom: 0;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}
.fm-bar--plain .fm-bar__in { padding-top: 0; padding-bottom: 20px; }
.fm-bar--plain .fm-chips::before, .fm-bar--plain .fm-chips::after { display: none; }

/* Search results appear right under the search bar */
.fm-results__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.fm-results__head .fm-h2 { margin-bottom: 0; }
.fm .fm-results__close { flex: 0 0 auto; font-size: .875rem; font-weight: 600; color: var(--fm-rose-ink); border-bottom: 1.5px solid currentColor; padding: 6px 0 2px; }
.fm-searchw .fm-results { border-bottom: 1px solid var(--fm-line); }

/* Article feeds */
.fm-feed--cover { padding-bottom: 34px; }
.fm-feed.fm-tone--blush { background: var(--fm-blush); }
.fm-feed.fm-tone--night {
	color: #F2EEFF;
	background-color: var(--fm-night);
	background-image: radial-gradient(110% 70% at 100% 0%, rgba(230, 198, 119, .2), rgba(230, 198, 119, 0) 60%);
}
.fm-feed.fm-tone--night .fm-cat { color: var(--fm-gold); }
.fm-feed.fm-tone--night .fm-card--row { border-color: rgba(242, 238, 255, .14); }
.fm-feed.fm-tone--night .fm-grid > .fm-card { border-color: rgba(242, 238, 255, .14); }
.fm-feed--rail .fm-cat { display: none; }
.fm-hide-cat .fm-cat { display: none; }
.fm-feed--grid .fm-sec-head + .fm-grid > .fm-card:first-child { padding-top: 4px; }

/* Chip rows and wrapped chip lists */
.fm-chiplist { display: flex; flex-wrap: wrap; gap: 8px; }
.fm-chipsw.fm-explore .fm-chipsw__body { margin-top: 16px; }
.fm-chipsw:not(.fm-explore) .fm-chipsw__body .fm-chips .fm-track { padding-top: 10px; }

@media (min-width: 1024px) {
	.fm-feed--cover { padding-bottom: 60px; }
	.fm-bar--plain .fm-bar__in { display: block; padding-bottom: 28px; }
	.fm-bar--plain .fm-search { max-width: 640px; }
	.fm-bar--chips .fm-bar__in { display: block; }
}
