/*
Theme Name: MurderFan
Theme URI: https://murderfan.com/
Author: MurderFan
Description: A dark, cinematic, highly customizable block theme for MurderFan.com, with visual Deep Dive layouts, horror articles, reviews, archives, and extensive theme controls.
Version: 0.3.3
Requires at least: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: murderfan
Tags: block-patterns, block-styles, full-site-editing, editor-style, featured-images, wide-blocks, dark
*/

/* --------------------------------------------------------------------------
   MurderFan visual layer
   Most editable design tokens live in theme.json. This stylesheet handles
   signature layout, atmosphere, card treatments, and responsive behavior.
   -------------------------------------------------------------------------- */

:root {
	--mf-content: var(--wp--style--global--content-size, 760px);
	--mf-wide: var(--wp--style--global--wide-size, 1280px);
	--mf-surface: var(--wp--custom--surface, #141414);
	--mf-surface-alt: var(--wp--custom--surface-alt, #1c1c1c);
	--mf-muted: var(--wp--custom--muted, #a8a29e);
	--mf-border: var(--wp--custom--border, #34302e);
	--mf-radius: var(--wp--custom--radius, 8px);
	--mf-header-height: var(--wp--custom--header-height, 72px);
}

html {
	scroll-behavior: smooth;
}

body {
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

a {
	text-underline-offset: .18em;
}

::selection {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--bone);
}

.mf-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	min-height: var(--mf-header-height);
	border-bottom: 1px solid color-mix(in srgb, var(--mf-border) 80%, transparent);
	background: color-mix(in srgb, var(--wp--preset--color--background) 90%, transparent);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

.mf-site-header .wp-block-site-title {
	white-space: nowrap;
}

.mf-site-header .wp-block-site-title a {
	text-decoration: none;
}

.mf-site-header .wp-block-site-title a::after {
	content: ".COM";
	font-size: .34em;
	vertical-align: super;
	margin-left: .2em;
	color: var(--wp--preset--color--accent);
	letter-spacing: .05em;
}

.mf-site-header .wp-block-navigation-item__content {
	text-transform: uppercase;
	letter-spacing: .06em;
	font-size: .82rem;
}

.mf-site-header .wp-block-navigation-item__content:hover,
.mf-site-header .current-menu-item > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--accent);
}

.mf-site-footer {
	border-top: 1px solid var(--mf-border);
	background: var(--mf-surface);
}

.mf-kicker {
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
}

.mf-hero {
	position: relative;
	overflow: hidden;
	min-height: 420px;
	isolation: isolate;
	background:
		radial-gradient(circle at 78% 28%, color-mix(in srgb, var(--wp--preset--color--accent) 26%, transparent) 0, transparent 30%),
		linear-gradient(125deg, var(--wp--preset--color--background) 0 46%, color-mix(in srgb, var(--mf-surface-alt) 82%, var(--wp--preset--color--accent) 18%) 100%);
}

.mf-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	opacity: .52;
	background:
		repeating-linear-gradient(110deg, transparent 0 42px, rgba(255,255,255,.018) 43px 44px),
		linear-gradient(to bottom, transparent 0 70%, rgba(0,0,0,.42) 100%);
}

.mf-hero::after {
	content: "";
	position: absolute;
	width: min(48vw, 650px);
	aspect-ratio: 1;
	right: -8%;
	bottom: -38%;
	z-index: -1;
	border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 28%, transparent);
	box-shadow:
		0 0 0 48px color-mix(in srgb, var(--wp--preset--color--accent) 4%, transparent),
		0 0 0 110px color-mix(in srgb, var(--wp--preset--color--accent) 2%, transparent);
}

.mf-hero .wp-block-heading {
	max-width: 13ch;
	text-wrap: balance;
}

.mf-section {
	position: relative;
}

.mf-section-title {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: clamp(1.25rem, 2vw, 2rem);
}

.mf-card-grid {
	align-items: stretch;
}

.is-style-mf-card,
.mf-card {
	position: relative;
	overflow: hidden;
	height: 100%;
	border: 1px solid var(--mf-border);
	border-radius: var(--mf-radius);
	background: var(--mf-surface);
	transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
	transform-origin: 50% 100%;
}

.is-style-mf-card:hover,
.mf-card:hover {
	transform: translateY(-4px) perspective(900px) rotateX(1deg);
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 52%, var(--mf-border));
	background: color-mix(in srgb, var(--mf-surface) 92%, var(--wp--preset--color--accent) 8%);
}

.is-style-mf-panel,
.mf-panel {
	border: 1px solid var(--mf-border);
	border-radius: var(--mf-radius);
	background: var(--mf-surface-alt);
}

.is-style-mf-cinematic img,
img.is-style-mf-cinematic {
	aspect-ratio: 16 / 9;
	object-fit: cover;
	filter: saturate(.8) contrast(1.05);
}

.is-style-mf-poster img,
img.is-style-mf-poster {
	aspect-ratio: 2 / 3;
	object-fit: cover;
}

.is-style-mf-ghost .wp-block-button__link,
.wp-block-button.is-style-mf-ghost .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--foreground);
	border: 1px solid var(--mf-border);
}

.is-style-mf-ghost .wp-block-button__link:hover,
.wp-block-button.is-style-mf-ghost .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--accent);
}

.is-style-mf-pullquote,
.wp-block-quote.is-style-mf-pullquote {
	margin-block: 2.5rem;
	padding: 1rem 0 1rem 1.4rem;
	border-left: 4px solid var(--wp--preset--color--accent);
	font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.wp-block-details.is-style-mf-spoiler {
	border: 1px solid var(--mf-border);
	border-radius: var(--mf-radius);
	background: var(--mf-surface);
	padding: 1rem 1.1rem;
}

.wp-block-details.is-style-mf-spoiler > summary {
	cursor: pointer;
	font-weight: 700;
}

.wp-block-details.is-style-mf-spoiler > summary::marker {
	color: var(--wp--preset--color--accent);
}

.mf-post-card {
	height: 100%;
}

.mf-post-card .wp-block-post-featured-image {
	overflow: hidden;
	margin-bottom: 1rem;
	border-radius: calc(var(--mf-radius) - 2px);
}

.mf-post-card .wp-block-post-featured-image img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform 240ms ease, filter 240ms ease;
	filter: saturate(.78) contrast(1.04);
}

.mf-post-card:hover .wp-block-post-featured-image img {
	transform: scale(1.025);
	filter: saturate(1) contrast(1.04);
}

.mf-post-card .wp-block-post-title {
	margin-top: .35rem;
}

.mf-post-card .wp-block-post-title a {
	text-decoration: none;
}

.mf-post-card .wp-block-post-terms {
	font-size: .73rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
}

.mf-deep-dive-shell {
	overflow: clip;
}

.mf-deep-hero {
	position: relative;
	overflow: hidden;
	min-height: clamp(420px, 60vh, 680px);
	isolation: isolate;
	background:
		linear-gradient(90deg, rgba(0,0,0,.5), transparent 60%),
		radial-gradient(circle at 72% 40%, color-mix(in srgb, var(--wp--preset--color--accent) 36%, transparent), transparent 28%),
		linear-gradient(145deg, var(--wp--preset--color--background), var(--mf-surface-alt));
}

.mf-deep-hero::before,
.mf-deep-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	pointer-events: none;
}

.mf-deep-hero::before {
	width: 82%;
	height: 24px;
	right: -18%;
	top: 28%;
	transform: rotate(-7deg);
	border: 1px solid var(--mf-border);
	background: rgba(255,255,255,.035);
	box-shadow: 0 85px 0 rgba(255,255,255,.025), 0 170px 0 rgba(255,255,255,.02);
}

.mf-deep-hero::after {
	width: 440px;
	height: 440px;
	right: 4%;
	bottom: -48%;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--wp--preset--color--accent) 18%, transparent), transparent 68%);
	filter: blur(2px);
}

.mf-deep-hero .wp-block-heading {
	max-width: 15ch;
	text-wrap: balance;
}

.mf-stat-row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid var(--mf-border);
	background: var(--mf-border);
}

.mf-stat {
	padding: 1.05rem 1rem;
	background: var(--mf-surface);
}

.mf-stat strong {
	display: block;
	font-size: clamp(1.3rem, 3vw, 2rem);
	line-height: 1;
	color: var(--wp--preset--color--foreground);
}

.mf-stat span {
	display: block;
	margin-top: .35rem;
	font-size: .72rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--mf-muted);
}

.mf-topic-card {
	min-height: 250px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background:
		linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,.06) 76%),
		linear-gradient(145deg, color-mix(in srgb, var(--mf-surface-alt) 75%, var(--wp--preset--color--accent) 25%), var(--mf-surface));
}

.mf-topic-card .wp-block-group {
	position: relative;
	z-index: 2;
}

.mf-timeline {
	position: relative;
}

.mf-timeline::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 1.4rem;
	height: 1px;
	background: color-mix(in srgb, var(--wp--preset--color--accent) 64%, var(--mf-border));
}

.mf-timeline-item {
	position: relative;
	padding-top: 2.7rem;
}

.mf-timeline-item::before {
	content: "";
	position: absolute;
	top: 1.08rem;
	left: 0;
	width: .68rem;
	height: .68rem;
	border-radius: 50%;
	background: var(--wp--preset--color--accent);
	box-shadow: 0 0 0 4px var(--wp--preset--color--background);
}

.mf-camp-note {
	position: relative;
	transform: rotate(-1deg);
	border: 1px solid color-mix(in srgb, var(--mf-border) 70%, #8c775b 30%);
	background: color-mix(in srgb, var(--mf-surface-alt) 90%, #8c775b 10%);
}

.mf-camp-note::before {
	content: "●";
	position: absolute;
	top: .35rem;
	left: .45rem;
	color: var(--wp--preset--color--accent);
	font-size: 1rem;
}

.mf-article-header {
	max-width: 1050px;
}

.mf-article-header .wp-block-post-title {
	text-wrap: balance;
}

.mf-article-featured img {
	width: 100%;
	max-height: 680px;
	object-fit: cover;
	filter: saturate(.84) contrast(1.04);
}

.mf-article-body {
	font-size: clamp(1rem, 1.3vw, 1.125rem);
}

.mf-article-body > p:first-of-type {
	font-size: clamp(1.16rem, 1.7vw, 1.36rem);
	line-height: 1.62;
}

.mf-meta {
	font-size: .78rem;
	color: var(--mf-muted);
}

.mf-archive-header {
	border-bottom: 1px solid var(--mf-border);
}

.mf-pagination {
	border-top: 1px solid var(--mf-border);
	padding-top: 1.25rem;
}

.mf-no-auto-note {
	border-left: 3px solid var(--wp--preset--color--accent);
	padding-left: 1rem;
	color: var(--mf-muted);
}

@media (max-width: 900px) {
	.mf-stat-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mf-timeline::before {
		display: none;
	}

	.mf-timeline-item {
		padding: .7rem 0 .7rem 1.4rem;
		border-left: 1px solid var(--mf-border);
	}

	.mf-timeline-item::before {
		top: 1.2rem;
		left: -.34rem;
	}
}

@media (max-width: 700px) {
	.mf-site-header {
		position: relative;
	}

	.mf-hero {
		min-height: 360px;
	}

	.mf-deep-hero {
		min-height: 440px;
	}

	.mf-stat-row {
		grid-template-columns: 1fr 1fr;
	}

	.mf-section-title {
		align-items: flex-start;
		flex-direction: column;
	}

	.mf-topic-card {
		min-height: 210px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}

	.is-style-mf-card:hover,
	.mf-card:hover {
		transform: none;
	}
}


.mf-logo {
	display: inline-flex;
	align-items: center;
	gap: 0;
	font-family: "Arial Black", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
	font-size: clamp(1.65rem, 2.2vw, 2.2rem);
	font-weight: 900;
	line-height: .9;
	letter-spacing: -0.035em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.mf-logo-murder {
	color: var(--wp--preset--color--foreground);
}

.mf-logo-fan {
	color: var(--wp--preset--color--accent);
	font-style: italic;
	transform: skewX(-10deg);
	margin-left: .02em;
}

.mf-logo-footer {
	margin-bottom: .85rem;
}

.mf-header-tools {
	gap: 1rem;
}

.mf-site-header .wp-block-navigation {
	margin: 0;
}

.mf-site-header .wp-block-search__inside-wrapper,
.mf-site-footer .wp-block-search__inside-wrapper {
	border-color: var(--mf-border);
	background: color-mix(in srgb, var(--mf-surface) 86%, black 14%);
}

.mf-site-header .wp-block-search__input,
.mf-site-footer .wp-block-search__input {
	background: transparent;
	color: var(--wp--preset--color--foreground);
}

.mf-site-header .wp-block-search__button,
.mf-site-footer .wp-block-search__button {
	border-radius: 999px;
}

.mf-home-display {
	text-transform: uppercase;
	letter-spacing: -0.045em;
}

.mf-hero.mf-hero-deepdive {
	background:
		radial-gradient(circle at 82% 18%, rgba(255,255,255,.06), transparent 18%),
		radial-gradient(circle at 84% 22%, color-mix(in srgb, var(--wp--preset--color--accent) var(--mf-hero-glow, 28%), transparent), transparent 30%),
		linear-gradient(to right, rgba(0,0,0,.55), rgba(0,0,0,.2) 32%, rgba(0,0,0,.55) 100%),
		linear-gradient(125deg, #050607 0 48%, #101214 100%);
}

.mf-hero.mf-hero-deepdive .wp-block-heading {
	max-width: none;
}

.mf-showcase-card,
.mf-topic-card {
	background:
		linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,.06) 76%),
		radial-gradient(circle at 68% 26%, rgba(255,255,255,.05), transparent 20%),
		linear-gradient(145deg, color-mix(in srgb, var(--mf-surface-alt) 75%, var(--wp--preset--color--accent) 25%), var(--mf-surface));
}

.mf-site-footer .wp-block-navigation-item__content {
	font-size: .84rem;
	letter-spacing: .04em;
	text-transform: uppercase;
}


/* 0.2.0 visual pass: closer to the signature Deep Dive concept. */
.wp-site-blocks {
	background:
		radial-gradient(circle at 12% 8%, color-mix(in srgb, var(--wp--preset--color--accent) 6%, transparent), transparent 20rem),
		var(--wp--preset--color--background);
}

.mf-site-header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 1px;
	background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--wp--preset--color--accent) 60%, transparent), transparent 65%);
	pointer-events: none;
}

.mf-logo-wordmark {
	display: inline-flex;
	align-items: baseline;
}

.mf-logo-mode-both {
	gap: .7rem;
}

.mf-logo-image {
	display: block;
	max-height: 54px;
	object-fit: contain;
}

.mf-logo-fan {
	position: relative;
	padding-right: .06em;
	text-shadow: 0 0 18px color-mix(in srgb, var(--wp--preset--color--accent) 34%, transparent);
}

.mf-logo-fan::after {
	content: "";
	position: absolute;
	left: 4%;
	right: 0;
	bottom: -.11em;
	height: .08em;
	background: var(--wp--preset--color--accent);
	transform: skewX(-18deg);
	opacity: .9;
}

.mf-site-header .wp-block-search {
	max-width: 220px;
}

.mf-site-header .wp-block-search__inside-wrapper {
	min-height: 38px;
	border-radius: 999px;
	padding-left: .35rem;
}

.mf-site-header .wp-block-search__input {
	font-size: .82rem;
}

.mf-site-header .wp-block-search__button {
	min-width: 38px;
	padding: .45rem;
}

.mf-hero.mf-hero-deepdive {
	isolation: isolate;
	border-bottom: 1px solid var(--mf-border);
}

.mf-hero.mf-hero-deepdive::before {
	opacity: .65;
	background:
		linear-gradient(180deg, rgba(255,255,255,.012), transparent 42%),
		repeating-linear-gradient(0deg, transparent 0 5px, rgba(255,255,255,.009) 6px),
		repeating-linear-gradient(112deg, transparent 0 56px, rgba(255,255,255,.018) 57px 58px),
		linear-gradient(to bottom, transparent 0 62%, rgba(0,0,0,.58) 100%);
}

.mf-hero.mf-hero-deepdive::after {
	width: min(58vw, 760px);
	right: -13%;
	bottom: -50%;
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 42%, transparent);
	box-shadow:
		0 0 0 55px color-mix(in srgb, var(--wp--preset--color--accent) 4%, transparent),
		0 0 0 130px color-mix(in srgb, var(--wp--preset--color--accent) 2%, transparent),
		0 0 100px color-mix(in srgb, var(--wp--preset--color--accent) 14%, transparent);
}

.mf-home-display {
	font-size: clamp(2.8rem, 7vw, 6.25rem) !important;
	line-height: .85 !important;
	text-shadow: 0 14px 36px rgba(0,0,0,.45);
}

.mf-hero .mf-kicker {
	display: table;
	margin-left: auto;
	margin-right: auto;
	padding: .42rem .72rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 45%, var(--mf-border));
	border-radius: 999px;
	background: color-mix(in srgb, var(--mf-surface) 88%, transparent);
}

.mf-section {
	border-top: 1px solid color-mix(in srgb, var(--mf-border) 70%, transparent);
}

.mf-section-title h2,
.mf-deep-dive-shell h2 {
	text-transform: uppercase;
	letter-spacing: -.035em;
}

.mf-stat-row {
	position: relative;
	margin-top: -1px;
	box-shadow: 0 18px 60px rgba(0,0,0,.18);
}

.mf-stat {
	position: relative;
	min-height: 92px;
	display: flex;
	align-items: center;
}

.mf-stat::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 42%;
	height: 2px;
	background: var(--wp--preset--color--accent);
	opacity: .82;
}

.mf-stat p {
	margin: 0;
}

.mf-deep-showcase {
	position: relative;
	overflow: hidden;
}

.mf-deep-showcase::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 12% 100%, color-mix(in srgb, var(--wp--preset--color--accent) 8%, transparent), transparent 28%),
		repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,.012) 80px);
}

.mf-showcase-card {
	min-height: 330px;
	box-shadow: inset 0 -80px 120px rgba(0,0,0,.38);
}

.mf-topic-card::after,
.mf-showcase-card::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 2px;
	background: linear-gradient(90deg, var(--wp--preset--color--accent), transparent 72%);
	opacity: .7;
}

.mf-deep-hero {
	border-bottom: 1px solid var(--mf-border);
	background:
		linear-gradient(90deg, rgba(0,0,0,.68), rgba(0,0,0,.2) 56%, rgba(0,0,0,.55)),
		radial-gradient(circle at 76% 31%, color-mix(in srgb, var(--wp--preset--color--accent) 25%, transparent), transparent 24%),
		repeating-linear-gradient(0deg, transparent 0 6px, rgba(255,255,255,.008) 7px),
		linear-gradient(145deg, var(--wp--preset--color--background), var(--mf-surface-alt));
}

.mf-deep-hero .wp-block-post-title {
	max-width: 12ch;
	font-size: clamp(3.25rem, 9vw, 8.5rem) !important;
	line-height: .84;
	letter-spacing: -.055em;
}

.mf-deep-hero .wp-block-post-excerpt {
	max-width: 760px;
}

.mf-timeline-item {
	min-height: 104px;
}

.mf-crypt-section .is-style-mf-panel {
	position: relative;
	overflow: hidden;
}

.mf-crypt-section .is-style-mf-panel::after {
	content: "";
	position: absolute;
	right: -8%;
	top: -90%;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 22%, transparent);
	pointer-events: none;
}

@media (max-width: 900px) {
	.mf-site-header .wp-block-search {
		display: none;
	}

	.mf-latest-query .wp-block-post-template,
	.wp-block-query .wp-block-post-template.is-layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 620px) {
	.mf-header-tools {
		gap: .4rem;
	}

	.mf-latest-query .wp-block-post-template,
	.wp-block-query .wp-block-post-template.is-layout-grid {
		grid-template-columns: 1fr !important;
	}

	.mf-home-display {
		font-size: clamp(2.75rem, 17vw, 5.5rem) !important;
	}
}


/* 0.2.1 compact homepage hero. */
.mf-hero.mf-hero-deepdive {
	padding-top: 44px;
	padding-bottom: 44px;
}

.mf-hero-content {
	max-width: 980px;
}

.mf-hero .mf-kicker {
	margin-top: 0;
	margin-bottom: .9rem;
}

.mf-hero .mf-home-display {
	margin-top: 0;
	margin-bottom: .75rem;
}

.mf-hero-tagline {
	max-width: 790px;
	margin: 0 auto;
	line-height: 1.45;
}

.mf-hero-actions {
	margin-top: 1.35rem;
}

@media (max-width: 700px) {
	.mf-hero.mf-hero-deepdive {
		padding-top: 34px;
		padding-bottom: 34px;
	}

	.mf-hero .mf-kicker {
		margin-bottom: .7rem;
	}

	.mf-hero-actions {
		margin-top: 1rem;
	}
}


/* v0.2.2 deep-dive match refinements */
.mf-site-header {
	background: linear-gradient(to bottom, rgba(5,6,7,.96), rgba(5,6,7,.90));
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 18%, var(--mf-border));
	box-shadow: inset 0 -1px 0 rgba(255,255,255,.03);
}

.mf-site-header .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--body);
	font-weight: 500;
	letter-spacing: .08em;
	font-size: .9rem;
	position: relative;
	text-decoration: none;
}

.mf-site-header .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -.85rem;
	height: 1px;
	background: var(--wp--preset--color--accent);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .18s ease;
}

.mf-site-header .wp-block-navigation-item__content:hover::after,
.mf-site-header .current-menu-item > .wp-block-navigation-item__content::after,
.mf-site-header .current_page_item > .wp-block-navigation-item__content::after {
	transform: scaleX(1);
}

.mf-site-header .wp-block-navigation-item__content:hover,
.mf-site-header .current-menu-item > .wp-block-navigation-item__content,
.mf-site-header .current_page_item > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--accent);
}

.mf-logo {
	font-size: clamp(1.8rem, 2.5vw, 2.45rem);
	letter-spacing: -0.045em;
}

.mf-logo-wordmark {
	display: inline-flex;
	align-items: baseline;
}

.mf-logo-murder {
	color: #f4efe4;
}

.mf-logo-fan {
	color: var(--wp--preset--color--accent);
	font-style: italic;
	transform: skewX(-12deg);
}

.mf-hero {
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 14%, var(--mf-border));
}

.mf-hero.mf-hero-deepdive {
	background:
		radial-gradient(circle at 84% 18%, rgba(255,255,255,.06), transparent 16%),
		radial-gradient(circle at 86% 22%, color-mix(in srgb, var(--wp--preset--color--accent) var(--mf-hero-glow,22%), transparent), transparent 29%),
		linear-gradient(to right, rgba(0,0,0,.62), rgba(0,0,0,.18) 34%, rgba(0,0,0,.58) 100%),
		linear-gradient(125deg, #050607 0 48%, #101214 100%);
}

.mf-hero.mf-hero-deepdive::before {
	opacity: .42;
}

.mf-hero-content {
	max-width: 900px;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.mf-hero-deepcopy {
	max-width: 18ch;
	margin-left: auto;
	margin-right: auto;
	font-size: clamp(2rem, 5vw, 4.2rem) !important;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	line-height: .98;
	letter-spacing: -0.04em;
	text-wrap: balance;
	margin-bottom: .5rem;
}

.mf-hero-single-action {
	margin-top: 1.15rem;
}

.mf-hero-single-action .wp-block-button__link {
	padding: .88rem 1.35rem;
}

.mf-section,
.mf-site-footer,
.is-style-mf-card,
.mf-card,
.mf-topic-card,
.mf-panel,
.is-style-mf-panel,
.mf-stat,
.mf-post-card {
	border-color: var(--mf-border);
}

.is-style-mf-card,
.mf-card,
.mf-topic-card,
.mf-panel,
.is-style-mf-panel,
.mf-post-card,
.mf-stat {
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}

.is-style-mf-card:hover,
.mf-card:hover {
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 42%, var(--mf-border));
	background: color-mix(in srgb, var(--mf-surface) 95%, var(--wp--preset--color--accent) 5%);
}

.mf-showcase-card,
.mf-topic-card {
	background:
		linear-gradient(to top, rgba(0,0,0,.9), rgba(0,0,0,.05) 76%),
		radial-gradient(circle at 68% 26%, rgba(255,255,255,.05), transparent 20%),
		linear-gradient(145deg, color-mix(in srgb, #141618 72%, var(--wp--preset--color--accent) 28%), #090a0b);
}

.mf-kicker {
	color: var(--wp--preset--color--accent);
}

.wp-block-button__link,
.wp-element-button {
	background: var(--wp--preset--color--accent);
	color: #f7f1e8;
	box-shadow: none;
}

.is-style-mf-ghost .wp-block-button__link,
.wp-block-button.is-style-mf-ghost .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--foreground);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 20%, var(--mf-border));
}


/* v0.3.0 hero asset + generated logo support */
.mf-logo-mode-image,
.mf-logo-mode-both {
	align-items: center;
}

.mf-logo-image {
	display: block;
	height: auto;
	max-width: 100%;
}

.mf-logo-mode-image .mf-logo-wordmark {
	display: none;
}

.mf-hero.mf-hero-deepdive {
	background-size: auto, auto, auto, cover, cover;
	background-position: center, center, center, center, center;
}

.mf-hero-tagline.mf-hero-deepcopy {
	text-shadow: 0 2px 12px rgba(0,0,0,.5);
}


/* v0.3.2 hero cleanup */
.mf-hero.mf-hero-deepdive::before {
	opacity: .34;
	background:
		linear-gradient(180deg, rgba(255,255,255,.015), transparent 34%),
		linear-gradient(to bottom, transparent 0 64%, rgba(0,0,0,.56) 100%);
}

.mf-hero.mf-hero-deepdive::after {
	content: none;
	display: none;
}

.mf-hero.mf-hero-deepdive {
	background-size: auto, auto, auto, cover, cover;
	background-position: center, center, center, center, center;
}


/* v0.3.3 logo scaling + hero alignment */
.mf-logo-image {
	width: auto;
	height: auto;
	max-height: none;
	object-fit: contain;
}

.mf-logo-mode-image .mf-logo-image,
.mf-logo-mode-both .mf-logo-image {
	display: block;
}

.mf-hero-deepcopy {
	width: auto;
	max-width: min(var(--mf-hero-text-width, 980px), 92vw);
}

.mf-hero-single-action,
.mf-hero-actions {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.mf-hero-single-action .wp-block-button {
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 700px) {
	.mf-hero-deepcopy {
		max-width: 18ch;
	}
}
