/*
Theme Name: DarkMystery
Theme URI: https://example.com/darkmystery
Author: GitHub Copilot
Author URI: https://github.com/features/copilot
Description: A production-ready WordPress theme for true crime and mystery websites with a cinematic dark aesthetic.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: darkmystery
Tags: blog, news, entertainment, dark, responsive, custom-logo, featured-images, threaded-comments
*/

:root {
	--dm-bg: #0a0608;
	--dm-bg-elevated: #181015;
	--dm-bg-panel: rgba(23, 15, 20, 0.9);
	--dm-surface: #171a22;
	--dm-surface-strong: #1f2430;
	--dm-border: rgba(255, 255, 255, 0.08);
	--dm-text: #f3efe6;
	--dm-text-soft: #c2b6b4;
	--dm-accent: #b11d2f;
	--dm-accent-strong: #ea435e;
	--dm-gold: #d48fa0;
	--dm-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
	--dm-radius: 24px;
	--dm-radius-sm: 16px;
	--dm-container: min(1200px, calc(100vw - 2rem));
	--dm-copy: "Georgia", "Times New Roman", serif;
	--dm-display: "Trebuchet MS", "Segoe UI", sans-serif;
	--dm-transition: 220ms ease;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--dm-copy);
	background:
		radial-gradient(circle at top, rgba(234, 67, 94, 0.42), transparent 42%),
		radial-gradient(circle at 18% 18%, rgba(212, 143, 160, 0.16), transparent 22%),
		radial-gradient(circle at 82% 12%, rgba(177, 29, 47, 0.24), transparent 24%),
		linear-gradient(180deg, #19080b 0%, #210b0f 40%, #130608 100%);
	color: var(--dm-text);
	line-height: 1.7;
	min-height: 100vh;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

.site-header a,
.site-footer a,
.story-card a,
.sidebar-area a,
.page-header a,
.section-heading__link,
.button,
.search-submit,
.share-strip__button,
.post-taxonomy__items a,
.nav-links a,
.posts-navigation a,
.post-navigation a,
.page-numbers {
	color: inherit;
	text-decoration: none;
	transition: color var(--dm-transition), transform var(--dm-transition), opacity var(--dm-transition);
}

.site-header a:hover,
.site-header a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible,
.story-card a:hover,
.story-card a:focus-visible,
.sidebar-area a:hover,
.sidebar-area a:focus-visible,
.page-header a:hover,
.page-header a:focus-visible,
.section-heading__link:hover,
.section-heading__link:focus-visible,
.button:hover,
.button:focus-visible,
.search-submit:hover,
.search-submit:focus-visible,
.share-strip__button:hover,
.share-strip__button:focus-visible,
.post-taxonomy__items a:hover,
.post-taxonomy__items a:focus-visible,
.nav-links a:hover,
.nav-links a:focus-visible,
.posts-navigation a:hover,
.posts-navigation a:focus-visible,
.post-navigation a:hover,
.post-navigation a:focus-visible,
.page-numbers:hover,
.page-numbers:focus-visible {
	color: #fff;
}

.search-form button,
.search-form input,
.comments-area input,
.comments-area textarea,
.comments-area select,
.header-toggle,
.search-toggle {
	font: inherit;
}

.header-toggle,
.search-toggle,
.search-submit,
.button,
.comments-area input[type="submit"] {
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

.search-form input,
.comments-area input:not([type="submit"]),
.comments-area textarea,
.comments-area select {
	width: 100%;
	padding: 0.95rem 1rem;
	border: 1px solid var(--dm-border);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--dm-text);
}

.search-form input:focus-visible,
.search-form button:focus-visible,
.comments-area input:focus-visible,
.comments-area textarea:focus-visible,
.comments-area select:focus-visible,
.header-toggle:focus-visible,
.search-toggle:focus-visible,
.site-header a:focus-visible,
.site-footer a:focus-visible,
.story-card a:focus-visible,
.sidebar-area a:focus-visible,
.page-header a:focus-visible,
.page-entry__content--styled a:focus-visible,
.single-story__content a:focus-visible,
.comments-area a:focus-visible {
	outline: 2px solid var(--dm-accent-strong);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
	width: auto;
	height: auto;
	padding: 0.85rem 1rem;
	clip: auto;
	z-index: 999;
	background: #fff;
	color: #111;
	border-radius: 12px;
}

.container {
	width: var(--dm-container);
	margin-inline: auto;
}

.site-shell {
	position: relative;
	overflow: clip;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: blur(18px);
	background: rgba(10, 6, 8, 0.86);
	border-bottom: 1px solid rgba(234, 67, 94, 0.14);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}

.site-header__inner {
	display: grid;
	grid-template-columns: auto auto auto;
	align-items: center;
	gap: 1rem;
	min-height: 124px;
	padding-block: 1.1rem;
}

.site-branding {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	justify-self: start;
	min-width: 0;
}

.custom-logo-link img {
	max-height: 112px;
	width: auto;
}

.site-branding__placeholder {
	display: inline-flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 1rem 1.25rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 22px;
	background: linear-gradient(135deg, rgba(177, 29, 47, 0.14), rgba(255, 255, 255, 0.02));
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
	max-width: min(100%, 400px);
}

.site-branding__title {
	font-family: var(--dm-display);
	font-size: clamp(2.1rem, 3.3vw, 3.15rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #fff;
}

.site-branding__tagline {
	margin: 0;
	font-size: 0.92rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--dm-gold);
}

.site-branding__title,
.hero-feature h1,
.section-heading h2,
.page-header h1,
.story-card__title,
.single-story__title,
.widget-title,
.footer-title,
.comments-title,
.error-page h1,
.error-page h2,
.page-entry__content--styled h1,
.page-entry__content--styled h2,
.page-entry__content--styled h3,
.page-entry__content--styled h4,
.page-entry__content--styled h5,
.page-entry__content--styled h6,
.single-story__content h2,
.single-story__content h3,
.single-story__content h4,
.single-story__content h5,
.single-story__content h6 {
	margin: 0 0 1rem;
	font-family: var(--dm-display);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.01em;
	color: var(--dm-text);
}

.hero-feature__excerpt,
.page-header p,
.story-card__excerpt,
.single-story__content p,
.error-page p,
.footer-panel p,
.mystery-widget p,
.comments-area p,
.page-entry__content--styled p,
.archive-description,
.single-story__meta,
.story-card__meta,
.comment-metadata,
.wp-caption-text {
	margin: 0 0 1rem;
	color: var(--dm-text-soft);
}

.single-story__content ul,
.single-story__content ol,
.page-entry__content--styled ul,
.page-entry__content--styled ol,
.comments-area ol,
.comments-area ul,
.error-page ul,
.error-page ol {
	padding-left: 1.2rem;
}

.single-story__content blockquote,
.page-entry__content--styled blockquote {
	margin: 2rem 0;
	padding: 1.5rem;
	border-left: 4px solid var(--dm-accent);
	background: rgba(177, 29, 47, 0.08);
	border-radius: 0 var(--dm-radius-sm) var(--dm-radius-sm) 0;
}

.single-story__content table,
.page-entry__content--styled table {
	width: 100%;
	border-collapse: collapse;
}

.single-story__content th,
.single-story__content td,
.page-entry__content--styled th,
.page-entry__content--styled td {
	padding: 0.85rem;
	border-bottom: 1px solid var(--dm-border);
	text-align: left;
}

.primary-navigation {
	justify-self: center;
}

.primary-menu,
.footer-menu,
.footer-social-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 1.25rem;
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-menu a,
.footer-menu a,
.footer-social-menu a {
	position: relative;
	display: inline-flex;
	align-items: center;
	font-family: var(--dm-display);
	font-size: 0.95rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--dm-text-soft);
	padding: 0.95rem 0.35rem;
}

.primary-menu a::after,
.footer-menu a::after,
.footer-social-menu a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -0.2rem;
	width: 100%;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--dm-gold), var(--dm-accent-strong));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--dm-transition);
}

.primary-menu a:hover::after,
.primary-menu a:focus-visible::after,
.footer-menu a:hover::after,
.footer-social-menu a:hover::after {
	transform: scaleX(1);
}

.header-actions {
	justify-self: end;
}

.header-toggle,
.search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: background var(--dm-transition), transform var(--dm-transition), border-color var(--dm-transition);
}

.header-toggle:hover,
.search-toggle:hover {
	transform: translateY(-1px);
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.15);
}

.header-toggle {
	display: none;
	flex-direction: column;
	gap: 4px;
}

.header-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	background: #fff;
	transition: transform var(--dm-transition), opacity var(--dm-transition);
}

.search-toggle__icon {
	position: relative;
	width: 15px;
	height: 15px;
	border: 2px solid #fff;
	border-radius: 50%;
}

.search-toggle__icon::after {
	content: "";
	position: absolute;
	right: -5px;
	bottom: -5px;
	width: 7px;
	height: 2px;
	background: #fff;
	transform: rotate(45deg);
	transform-origin: center;
}

.site-search-panel {
	padding: 0 0 1.75rem;
}

.site-search-panel[hidden] {
	display: none;
}

.search-form {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	padding: 1.05rem 1.25rem;
	border: 1px solid var(--dm-border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.search-form label {
	flex: 1;
	min-width: 0;
}

.search-field {
	border: 0;
	padding-inline: 1.15rem;
	padding-block: 1rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
}

.search-field::placeholder {
	color: var(--dm-text-soft);
}

.search-submit {
	min-width: 138px;
}

.button,
.wp-element-button,
.search-submit,
.comments-area input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.9rem 1.4rem;
	border-radius: 999px;
	font-family: var(--dm-display);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	transition: transform var(--dm-transition), box-shadow var(--dm-transition), background var(--dm-transition);
}

.button--primary,
.wp-element-button,
.search-submit,
.comments-area input[type="submit"] {
	background: linear-gradient(135deg, var(--dm-accent), var(--dm-accent-strong));
	color: #fff;
	box-shadow: 0 18px 28px rgba(177, 29, 47, 0.28);
}

.button--primary:hover,
.wp-element-button:hover,
.search-submit:hover,
.comments-area input[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 22px 34px rgba(177, 29, 47, 0.38);
}

.home-main,
.site-main {
	padding: 1.5rem 0 4rem;
}

.site-main--page,
.site-main--elementor-fullwidth {
	padding-top: 1.5rem;
}

.site-main--canvas {
	padding: 0;
}

.story-slider {
	width: var(--dm-container);
	margin-inline: auto;
	margin-bottom: 3rem;
}

.story-slider__surface {
	position: relative;
	display: block;
	min-height: clamp(520px, 78vh, 760px);
	border: 1px solid rgba(234, 67, 94, 0.16);
	border-radius: calc(var(--dm-radius) + 8px);
	overflow: hidden;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(10px);
}

.story-slider__stage {
	position: relative;
	min-height: inherit;
	background: rgba(9, 5, 7, 0.88);
}

.story-slide__media,
.story-slide__overlay {
	position: absolute;
	inset: 0;
}

.story-slide {
	display: none;
	position: relative;
	min-height: inherit;
}

.story-slide.is-active {
	display: block;
	opacity: 1;
	pointer-events: auto;
	transform: scale(1);
	z-index: 1;
}

.story-slide__media img,
.story-slide__fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.story-slide__fallback {
	background: radial-gradient(circle at top, rgba(234, 67, 94, 0.45), transparent 40%), linear-gradient(140deg, #231018, #0b070a);
}

.story-slide__overlay {
	background: linear-gradient(90deg, rgba(7, 5, 6, 0.95) 0%, rgba(7, 5, 6, 0.76) 44%, rgba(7, 5, 6, 0.35) 100%);
}

.story-slide__inner {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: inherit;
	padding-block: clamp(3rem, 6vw, 4.5rem);
	padding-left: clamp(1rem, 3vw, 2.25rem);
	z-index: 2;
}

.story-slide__content {
	max-width: min(640px, 100%);
	display: grid;
	gap: 1.15rem;
	padding-right: clamp(1rem, 4vw, 2rem);
	padding-bottom: 5.5rem;
}

.story-slide__eyebrow,
.section-heading__kicker {
	margin-bottom: 0.85rem;
	font-family: var(--dm-display);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--dm-gold);
}

.story-slide__title {
	max-width: 13ch;
	margin: 0;
	font-size: clamp(2.1rem, 4.3vw, 4rem);
	line-height: 0.98;
	text-shadow: 0 12px 32px rgba(0, 0, 0, 0.42);
}

.story-slide__title a {
	color: var(--dm-text);
	text-decoration: none;
}

.story-slide__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1rem;
	font-family: var(--dm-display);
	font-size: 0.82rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(243, 239, 230, 0.72);
}

.story-slide__excerpt {
	max-width: 58ch;
	margin: 0;
	font-size: 1rem;
	color: #efe6df;
}

.story-slide__actions {
	position: absolute;
	right: clamp(1rem, 3vw, 2rem);
	bottom: clamp(1rem, 3vw, 2rem);
	display: flex;
	gap: 1rem;
	align-items: center;
	justify-content: flex-end;
	z-index: 3;
}

.story-slide__actions .button {
	background: linear-gradient(135deg, rgba(177, 29, 47, 0.96), rgba(234, 67, 94, 0.96));
	box-shadow: 0 18px 30px rgba(177, 29, 47, 0.34);
}

.story-slider__controls {
	position: absolute;
	left: clamp(1rem, 3vw, 2rem);
	bottom: clamp(1rem, 3vw, 2rem);
	display: flex;
	gap: 0.75rem;
	z-index: 3;
}

.story-slider__control {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 1.2rem;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.content-grid {
	display: grid;
	gap: 2rem;
}

.content-grid--home,
.content-grid {
	grid-template-columns: minmax(0, 1fr);
}

.content-area {
	display: grid;
	gap: 2rem;
}

.content-area--page {
	min-width: 0;
}

.page-entry {
	width: 100%;
}

.page-entry__inner {
	width: min(1100px, calc(100vw - 2rem));
	margin-inline: auto;
	min-width: 0;
}

.page-entry--framed .page-entry__inner {
	display: grid;
	gap: 1.5rem;
	padding: clamp(1.25rem, 3vw, 2rem);
	background: var(--dm-bg-panel);
	border: 1px solid var(--dm-border);
	border-radius: var(--dm-radius);
	box-shadow: var(--dm-shadow);
	backdrop-filter: blur(8px);
}

.page-entry__content {
	width: 100%;
	min-width: 0;
}

.page-entry__content--styled {
	font-size: 1.04rem;
	color: #efe8dd;
}

.page-entry__content--styled > * + * {
	margin-top: 1.25rem;
}

.page-entry__content--styled a {
	color: var(--dm-gold);
	text-decoration: underline;
	text-decoration-color: rgba(197, 164, 109, 0.5);
	text-underline-offset: 0.18em;
}

.page-entry__content--styled figure,
.page-entry__content--styled .wp-block-image,
.page-entry__content--styled .wp-block-embed,
.page-entry__content--styled .wp-block-gallery {
	margin: 2rem 0;
}

.darkmystery-contact-form-wrap {
	display: grid;
	gap: 1.5rem;
}

.darkmystery-contact-form {
	display: grid;
	gap: 1rem;
	padding: clamp(1.25rem, 3vw, 2rem);
	background: var(--dm-bg-panel);
	border: 1px solid var(--dm-border);
	border-radius: var(--dm-radius);
	box-shadow: var(--dm-shadow);
	backdrop-filter: blur(8px);
}

.darkmystery-contact-form__grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.darkmystery-contact-form__field,
.darkmystery-contact-form__actions {
	margin: 0;
}

.darkmystery-contact-form__field label {
	display: inline-block;
	margin-bottom: 0.5rem;
	font-family: var(--dm-display);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dm-gold);
}

.darkmystery-contact-form__field input,
.darkmystery-contact-form__field textarea {
	width: 100%;
	padding: 0.95rem 1rem;
	border: 1px solid var(--dm-border);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--dm-text);
}

.darkmystery-contact-form__field textarea {
	resize: vertical;
	min-height: 180px;
}

.darkmystery-contact-form__notice {
	padding: 1rem 1.2rem;
	border-radius: 18px;
	border: 1px solid var(--dm-border);
	background: var(--dm-bg-panel);
}

.darkmystery-contact-form__notice--success {
	border-color: rgba(90, 170, 116, 0.4);
	background: rgba(90, 170, 116, 0.12);
}

.darkmystery-contact-form__notice--error {
	border-color: rgba(177, 29, 47, 0.4);
	background: rgba(177, 29, 47, 0.12);
}

.darkmystery-contact-form__notice p,
.darkmystery-contact-form__notice ul {
	margin: 0;
}

.darkmystery-contact-form__notice ul {
	padding-left: 1.2rem;
	margin-top: 0.75rem;
}

.darkmystery-contact-form__honeypot {
	position: absolute;
	left: -9999px;
	opacity: 0;
	pointer-events: none;
}

.contact-page-layout {
	display: grid;
	gap: 2rem;
	grid-template-columns: minmax(0, 1fr) 320px;
	align-items: start;
}

.contact-page__panel {
	gap: 2rem;
}

.contact-page__aside {
	display: grid;
	gap: 1.25rem;
	align-self: start;
}

.footer-social-menu--stacked {
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
}

.homepage-section,
.page-header,
.mystery-widget,
.single-story,
.comments-area,
.error-page,
.ad-banner,
.footer-panel {
	position: relative;
	background: var(--dm-bg-panel);
	border: 1px solid var(--dm-border);
	border-radius: var(--dm-radius);
	box-shadow: var(--dm-shadow);
	backdrop-filter: blur(8px);
}

.homepage-section,
.page-header,
.single-story,
.comments-area,
.error-page {
	padding: clamp(1.25rem, 3vw, 2rem);
}

.section-heading {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.section-heading h2,
.page-header h1,
.single-story__title,
.error-page h1 {
	font-size: clamp(2rem, 4vw, 3rem);
}

.section-heading__link {
	font-family: var(--dm-display);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--dm-gold);
}

.post-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(1, minmax(0, 1fr));
}

.story-card {
	overflow: hidden;
	border-radius: var(--dm-radius);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
	border: 1px solid rgba(255, 255, 255, 0.05);
	transition: transform var(--dm-transition), border-color var(--dm-transition), box-shadow var(--dm-transition);
}

.story-card:hover {
	transform: translateY(-4px);
	border-color: rgba(197, 164, 109, 0.28);
	box-shadow: 0 26px 50px rgba(0, 0, 0, 0.28);
}

.story-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(177, 29, 47, 0.12), rgba(255, 255, 255, 0.02));
}

.story-card__media::after,
.single-story__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0.45) 100%);
	pointer-events: none;
}

.story-card__media img,
.single-story__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms ease;
}

.story-card:hover .story-card__media img {
	transform: scale(1.04);
}

.story-card__placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	padding: 1rem;
	text-align: center;
	color: var(--dm-text-soft);
	background: linear-gradient(135deg, rgba(177, 29, 47, 0.22), rgba(255, 255, 255, 0.04));
}

.story-card__content {
	display: grid;
	gap: 0.9rem;
	padding: 1.35rem;
}

.story-card__tag,
.post-taxonomy__items a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	padding: 0.45rem 0.8rem;
	border-radius: 999px;
	background: rgba(177, 29, 47, 0.15);
	color: #ffd7dc;
	font-family: var(--dm-display);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.story-card__title {
	font-size: 1.35rem;
	margin-bottom: 0;
}

.story-card__excerpt,
.archive-description,
.single-story__meta,
.story-card__meta,
.comment-metadata,
.wp-caption-text {
	color: var(--dm-text-soft);
}

.story-card__meta,
.single-story__meta,
.site-footer__bottom,
.post-taxonomy {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	align-items: center;
	font-size: 0.88rem;
}

.story-card--empty {
	min-height: 220px;
	display: flex;
	align-items: center;
}

.ad-banner {
	display: grid;
	place-items: center;
	gap: 0.25rem;
	min-height: 120px;
	padding: 1rem;
	text-align: center;
	background:
		linear-gradient(135deg, rgba(177, 29, 47, 0.18), rgba(255, 255, 255, 0.03)),
		repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 12px);
}

.ad-banner__eyebrow {
	font-family: var(--dm-display);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--dm-gold);
}

.ad-banner__label {
	margin: 0;
	font-size: 1rem;
	color: var(--dm-text);
}

.sidebar-area {
	display: grid;
	gap: 1.25rem;
	align-self: start;
}

.mystery-widget {
	padding: 1.4rem;
}

.widget-title,
.footer-title,
.comments-title {
	font-size: 1.2rem;
	margin-bottom: 1rem;
}

.mystery-widget ul,
.footer-panel ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.8rem;
}

.mystery-widget li a,
.footer-panel li a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--dm-text);
}

.mystery-widget li,
.footer-panel li {
	padding-bottom: 0.8rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mystery-widget li:last-child,
.footer-panel li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.single-story {
	display: grid;
	gap: 1.5rem;
}

.single-story__media {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: calc(var(--dm-radius) - 4px);
	aspect-ratio: 16 / 9;
	background: rgba(255, 255, 255, 0.03);
}

.single-story__content {
	font-size: 1.06rem;
	color: #efe8dd;
}

.single-story__content,
.single-story__content :where(p, li, span, strong, em, b, i, u, small, mark, blockquote, cite, figcaption),
.page-entry__content--styled,
.page-entry__content--styled :where(p, li, span, strong, em, b, i, u, small, mark, blockquote, cite, figcaption) {
	color: #efe8dd;
}

.single-story__content .has-text-color,
.page-entry__content--styled .has-text-color,
.single-story__content .wp-block-heading,
.page-entry__content--styled .wp-block-heading {
	color: #efe8dd;
}

.single-story__content > * + * {
	margin-top: 1.25rem;
}

.single-story__content a {
	text-decoration: underline;
	text-decoration-color: rgba(197, 164, 109, 0.5);
	text-underline-offset: 0.18em;
}

.single-story__meta,
.single-story__meta a,
.post-author a,
.post-date a {
	color: var(--dm-text-soft);
	text-decoration: none;
}

.single-story__meta a:hover,
.single-story__meta a:focus-visible,
.post-author a:hover,
.post-author a:focus-visible,
.post-date a:hover,
.post-date a:focus-visible {
	color: var(--dm-text);
}

.single-story__content h2,
.single-story__content h3,
.single-story__content h4,
.page-entry__content--styled h2,
.page-entry__content--styled h3,
.page-entry__content--styled h4 {
	margin-top: 2rem;
	margin-bottom: 0.8rem;
}

.single-story__content figure,
.single-story__content .wp-block-image,
.single-story__content .wp-block-embed,
.single-story__content .wp-block-gallery,
.page-entry__content--styled figure,
.page-entry__content--styled .wp-block-image,
.page-entry__content--styled .wp-block-embed,
.page-entry__content--styled .wp-block-gallery {
	margin: 2rem 0;
}

.share-strip,
.post-taxonomy,
.related-posts {
	margin-top: 0.5rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.share-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	align-items: center;
}

.share-strip__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
}

.share-strip__label,
.post-taxonomy__label {
	font-family: var(--dm-display);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--dm-gold);
}

.share-strip__button {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.55rem 0.9rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	font-family: var(--dm-display);
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.share-strip__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1rem;
	height: 1rem;
	flex: 0 0 auto;
}

.share-strip__icon svg {
	width: 100%;
	height: 100%;
}

.darkmystery-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

.darkmystery-social-links--stacked {
	flex-direction: column;
	align-items: stretch;
}

.darkmystery-social-link {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--dm-text);
	transition: transform var(--dm-transition), border-color var(--dm-transition), background var(--dm-transition), box-shadow var(--dm-transition);
}

.darkmystery-social-link:hover,
.darkmystery-social-link:focus-visible {
	transform: translateY(-2px);
	border-color: rgba(234, 67, 94, 0.35);
	background: rgba(234, 67, 94, 0.1);
	box-shadow: 0 18px 28px rgba(0, 0, 0, 0.18);
}

.darkmystery-social-link__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(177, 29, 47, 0.2), rgba(234, 67, 94, 0.12));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
	transition: transform var(--dm-transition), background var(--dm-transition);
}

.darkmystery-social-link:hover .darkmystery-social-link__icon,
.darkmystery-social-link:focus-visible .darkmystery-social-link__icon {
	transform: scale(1.06) rotate(-4deg);
	background: linear-gradient(135deg, rgba(177, 29, 47, 0.34), rgba(234, 67, 94, 0.24));
}

.darkmystery-social-link__icon svg {
	width: 1.1rem;
	height: 1.1rem;
}

.darkmystery-social-link__label {
	font-family: var(--dm-display);
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.comments-area .comment-list {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem;
	display: grid;
	gap: 1rem;
}

.comments-area article.comment-body {
	padding: 1.2rem;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.comments-area .comment-author {
	margin-bottom: 0.5rem;
	font-weight: 700;
}

.comments-area .reply a {
	font-family: var(--dm-display);
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dm-gold);
}

.comments-area .comment-form {
	display: grid;
	gap: 1rem;
}

.comments-area .comment-form-comment,
.comments-area .logged-in-as,
.comments-area .comment-notes,
.comments-area .form-submit {
	margin: 0;
}

.comments-area textarea {
	min-height: 180px;
	resize: vertical;
}

.empty-state,
.error-page {
	text-align: center;
}

.error-page__actions {
	margin: 1.5rem 0;
}

.footer-grid {
	display: grid;
	gap: 1.5rem;
	padding: 2rem 0;
	grid-template-columns: repeat(1, minmax(0, 1fr));
}

.footer-column {
	min-width: 0;
}

.footer-panel {
	height: 100%;
	padding: 1.5rem;
}

.site-footer {
	padding: 1rem 0 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.02));
}

.site-footer__branding {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__brandmark {
	display: inline-flex;
	align-items: center;
	gap: 0.9rem;
	color: var(--dm-text);
}

.site-footer__brandmark .custom-logo-link img {
	max-height: 64px;
}

.site-footer__brand-copy {
	display: grid;
	gap: 0.25rem;
}

.site-footer__brand-title {
	margin: 0;
	font-family: var(--dm-display);
	font-size: 1.1rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--dm-text);
}

.site-footer__brand-tagline {
	margin: 0;
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--dm-text-soft);
}

.site-footer__bottom {
	justify-content: space-between;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.page-header,
.error-page {
	background:
		linear-gradient(135deg, rgba(177, 29, 47, 0.14), rgba(255, 255, 255, 0.03)),
		rgba(17, 19, 26, 0.88);
}


.reveal {
	opacity: 1;
	transform: translateY(0);
}


.js-enabled .reveal,
.js-enabled .reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
	transition: none;
}

.single-story__content .alignwide,
.single-story__content .alignfull,
.page-entry__content--styled .alignwide,
.page-entry__content--styled .alignfull {
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.single-story__content .wp-caption,
.page-entry__content--styled .wp-caption {
	max-width: 100%;
	margin: 0;
}

.single-story__content .gallery,
.single-story__content .wp-block-gallery,
.page-entry__content--styled .gallery,
.page-entry__content--styled .wp-block-gallery {
	gap: 1rem;
}

.nav-links,
.posts-navigation,
.post-navigation {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1.5rem;
	font-family: var(--dm-display);
}

.nav-links a,
.posts-navigation a,
.post-navigation a,
.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.current.page-numbers {
	background: rgba(177, 29, 47, 0.16);
	border-color: rgba(177, 29, 47, 0.35);
}

@media (min-width: 680px) {
	.darkmystery-contact-form__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.post-grid--trending,
	.post-grid--category,
	.post-grid--related,
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 960px) {
	.content-grid--home,
	.content-grid {
		grid-template-columns: minmax(0, 1fr) 320px;
		align-items: start;
	}

	.post-grid--trending {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.post-grid--category,
	.post-grid--related {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	}

@media (max-width: 959px) {
	.story-slider__surface,
	.contact-page-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.story-slider__stage {
		min-height: 560px;
	}

	.site-header__inner {
		grid-template-columns: 1fr auto auto;
	}

	.header-toggle {
		display: inline-flex;
	}

	.primary-navigation {
		position: absolute;
		top: calc(100% + 0.75rem);
		left: 1rem;
		right: 1rem;
		padding: 1rem;
		border: 1px solid rgba(255, 255, 255, 0.08);
		border-radius: 18px;
		background: rgba(10, 12, 16, 0.96);
		box-shadow: var(--dm-shadow);
		opacity: 0;
		pointer-events: none;
		transform: translateY(-10px);
		transition: opacity var(--dm-transition), transform var(--dm-transition);
	}

	body.menu-open .primary-navigation {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}

	.primary-menu {
		flex-direction: column;
		align-items: flex-start;
	}

	body.menu-open .header-toggle span:nth-child(1) {
		transform: translateY(6px) rotate(45deg);
	}

	body.menu-open .header-toggle span:nth-child(2) {
		opacity: 0;
	}

	body.menu-open .header-toggle span:nth-child(3) {
		transform: translateY(-6px) rotate(-45deg);
	}
	}

@media (max-width: 679px) {
	.darkmystery-contact-form__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.story-slide__title {
		max-width: none;
		font-size: clamp(1.85rem, 8.2vw, 3rem);
	}

	.story-slide__content {
		padding-right: 0;
		padding-bottom: 5rem;
		gap: 0.95rem;
	}

	.story-slide__excerpt {
		font-size: 0.94rem;
	}

	.story-slide__actions {
		right: 1rem;
	}

	.story-slider {
		width: var(--dm-container);
	}

	.search-form,
	.site-footer__branding,
	.site-footer__bottom,
	.section-heading,
	.share-strip,
	.share-strip__buttons,
	.post-taxonomy {
		flex-direction: column;
		align-items: flex-start;
	}

	.search-form {
		border-radius: 26px;
	}

	.search-field {
		width: 100%;
	}
	}
