/*
Theme Name: Krampus Costume
Theme URI: https://krampuscostume.com
Author: KrampusCostume.com
Author URI: https://krampuscostume.com
Description: An Alpine editorial classic PHP WordPress theme for KrampusCostume.com. Culture-first, dark winter atmosphere, warm parchment reading areas. Documentary, folklore, and archival in character.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
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: bestkrampuscostume-classic
Tags: blog, editorial, custom-menu, featured-images, translation-ready, one-column
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */

:root {
	/* Core palette — specified by brief */
	--bkc-dark:       #1a1918;
	--bkc-warm:       #f5f0e8;
	--bkc-subtle:     #faf7f2;
	--bkc-text-dark:  #e8e0d4;
	--bkc-text-warm:  #2a2520;
	--bkc-accent:     #8b3a3a;
	--bkc-border:     #5a4a3a;

	/* Extended palette */
	--bkc-dark-mid:   #252220;   /* slightly lighter dark — card bgs on dark sections */
	--bkc-dark-rule:  #3a3330;   /* dividers on dark backgrounds */
	--bkc-warm-rule:  #d4ccbe;   /* dividers on warm backgrounds */
	--bkc-accent-dim: #6b2b2b;   /* darker accent for hover/active */
	--bkc-ghost:      #9a8a7a;   /* muted text — captions, meta */
	--bkc-ghost-dark: #7a6e64;   /* muted text on warm backgrounds */

	/* Typography */
	--font-display: 'IM Fell English', Georgia, 'Times New Roman', serif;
	--font-serif:   'Source Serif 4', Georgia, 'Times New Roman', serif;
	--font-ui:      'IBM Plex Sans', system-ui, -apple-system, sans-serif;

	/* Type scale */
	--text-xs:   0.75rem;    /* 12px — footnotes */
	--text-sm:   0.8125rem;  /* 13px — captions, meta */
	--text-base: 1rem;       /* 16px */
	--text-md:   1.125rem;   /* 18px — comfortable body */
	--text-lg:   1.3125rem;  /* 21px — lead text */
	--text-xl:   1.5rem;     /* 24px — card titles */
	--text-2xl:  2rem;       /* 32px — section headings */
	--text-3xl:  2.625rem;   /* 42px — page heroes (mobile) */
	--text-4xl:  3.5rem;     /* 56px — page heroes (desktop) */
	--text-5xl:  4.75rem;    /* 76px — homepage hero */

	/* Spacing (base 8px) */
	--sp-1:  0.5rem;   /* 8px  */
	--sp-2:  1rem;     /* 16px */
	--sp-3:  1.5rem;   /* 24px */
	--sp-4:  2rem;     /* 32px */
	--sp-6:  3rem;     /* 48px */
	--sp-8:  4rem;     /* 64px */
	--sp-12: 6rem;     /* 96px */
	--sp-16: 8rem;     /* 128px */

	/* Layout */
	--width-prose: 680px;
	--width-wide:  1040px;
	--width-full:  100%;

	/* Borders */
	--border-thin:   1px solid var(--bkc-border);
	--border-warm:   1px solid var(--bkc-warm-rule);
	--border-accent: 3px solid var(--bkc-accent);

	/* Transitions */
	--transition: 180ms ease;
}


/* ============================================================
   RESET & BASE
   ============================================================ */

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

html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--font-serif);
	font-size: var(--text-md);
	line-height: 1.75;
	color: var(--bkc-text-warm);
	background-color: var(--bkc-subtle);
	-webkit-font-smoothing: antialiased;
}

img, video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	transition: color var(--transition), opacity var(--transition);
}

ul, ol {
	padding-left: var(--sp-4);
}

p, ul, ol, blockquote, figure, pre {
	margin-top: 0;
	margin-bottom: var(--sp-3);
}

h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
	margin-bottom: var(--sp-2);
	font-family: var(--font-serif);
	line-height: 1.2;
	font-weight: 600;
}

blockquote {
	margin-left: 0;
	margin-right: 0;
	padding-left: var(--sp-3);
	border-left: 3px solid var(--bkc-accent);
	font-style: italic;
	color: var(--bkc-ghost-dark);
}

figure {
	margin-left: 0;
	margin-right: 0;
}

figcaption {
	font-family: var(--font-ui);
	font-size: var(--text-sm);
	color: var(--bkc-ghost-dark);
	margin-top: var(--sp-1);
	line-height: 1.5;
}

hr {
	border: none;
	border-top: var(--border-warm);
	margin: var(--sp-6) 0;
}

code, pre {
	font-family: 'Courier New', Courier, monospace;
	font-size: var(--text-sm);
}

pre {
	background: var(--bkc-warm);
	padding: var(--sp-3);
	overflow-x: auto;
}

table {
	width: 100%;
	border-collapse: collapse;
}

th, td {
	padding: var(--sp-1) var(--sp-2);
	border-bottom: var(--border-warm);
	text-align: left;
}

th {
	font-family: var(--font-ui);
	font-size: var(--text-sm);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}


/* ============================================================
   ACCESSIBILITY UTILITIES
   ============================================================ */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--bkc-subtle);
	border-radius: 2px;
	clip: auto !important;
	clip-path: none;
	color: var(--bkc-text-warm);
	display: block;
	font-family: var(--font-ui);
	font-size: var(--text-base);
	font-weight: 500;
	height: auto;
	left: var(--sp-2);
	line-height: normal;
	padding: var(--sp-2) var(--sp-3);
	text-decoration: none;
	top: var(--sp-2);
	width: auto;
	z-index: 100000;
}

/* Skip link */
.skip-link {
	position: absolute;
	top: -100%;
	left: var(--sp-2);
	padding: var(--sp-1) var(--sp-3);
	background: var(--bkc-accent);
	color: var(--bkc-text-dark);
	font-family: var(--font-ui);
	font-size: var(--text-sm);
	font-weight: 500;
	text-decoration: none;
	z-index: 100000;
	transition: top var(--transition);
}

.skip-link:focus {
	top: var(--sp-2);
}


/* ============================================================
   FOCUS STATES — visible on all interactive elements
   ============================================================ */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--bkc-accent);
	outline-offset: 3px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
	outline: none;
}


/* ============================================================
   LAYOUT CONTAINERS
   ============================================================ */

.bkcc-container {
	width: 100%;
	max-width: var(--width-wide);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--sp-4);
	padding-right: var(--sp-4);
}

.bkcc-container-prose {
	width: 100%;
	max-width: var(--width-prose);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--sp-4);
	padding-right: var(--sp-4);
}


/* ============================================================
   SITE HEADER
   ============================================================ */

.site-header {
	background-color: var(--bkc-dark);
	color: var(--bkc-text-dark);
	border-bottom: 1px solid var(--bkc-dark-rule);
	position: relative;
	z-index: 100;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: var(--width-wide);
	margin: 0 auto;
	padding: var(--sp-3) var(--sp-4);
	gap: var(--sp-4);
}

.site-branding {
	flex-shrink: 0;
}

.site-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--text-xl);
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 1.1;
}

.site-title a {
	color: var(--bkc-text-dark);
	text-decoration: none;
}

.site-title a:hover {
	color: var(--bkc-warm);
}

.site-description {
	display: none;
}


/* ============================================================
   NAVIGATION — CSS-only mobile toggle via checkbox
   ============================================================ */

/* Visually hidden checkbox */
.menu-toggle-input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

.menu-toggle-label {
	display: none;
	cursor: pointer;
	font-family: var(--font-ui);
	font-size: var(--text-sm);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--bkc-text-dark);
	padding: var(--sp-1) var(--sp-2);
	border: 1px solid var(--bkc-dark-rule);
	user-select: none;
	flex-shrink: 0;
}

.menu-toggle-label:hover {
	border-color: var(--bkc-border);
}

.site-nav {
	flex: 1;
	display: flex;
	justify-content: flex-end;
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: var(--sp-1);
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-menu li {
	margin: 0;
}

.nav-menu a {
	display: block;
	font-family: var(--font-ui);
	font-size: var(--text-sm);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--bkc-text-dark);
	text-decoration: none;
	padding: var(--sp-1) var(--sp-2);
	border-bottom: 1px solid transparent;
	transition: color var(--transition), border-color var(--transition);
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current-page-ancestor > a {
	color: var(--bkc-warm);
	border-bottom-color: var(--bkc-accent);
}

/* Fallback nav — same styles */
.nav-fallback {
	display: flex;
	align-items: center;
	gap: var(--sp-1);
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-fallback li {
	margin: 0;
}

.nav-fallback a {
	display: block;
	font-family: var(--font-ui);
	font-size: var(--text-sm);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--bkc-text-dark);
	text-decoration: none;
	padding: var(--sp-1) var(--sp-2);
	border-bottom: 1px solid transparent;
	transition: color var(--transition), border-color var(--transition);
}

.nav-fallback a:hover {
	color: var(--bkc-warm);
	border-bottom-color: var(--bkc-accent);
}

/* Mobile nav — checkbox reveal */
@media (max-width: 768px) {
	.menu-toggle-label {
		display: block;
	}

	.site-header__inner {
		flex-wrap: wrap;
	}

	.site-nav {
		width: 100%;
		max-height: 0;
		overflow: hidden;
		justify-content: flex-start;
		transition: max-height 0.3s ease;
	}

	.nav-menu,
	.nav-fallback {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: var(--sp-2) 0;
		width: 100%;
	}

	.nav-menu a,
	.nav-fallback a {
		padding: var(--sp-1) 0;
		width: 100%;
		border-bottom: 1px solid var(--bkc-dark-rule);
	}

	.menu-toggle-input:checked ~ .site-header__inner .site-nav {
		max-height: 400px;
	}
}


/* ============================================================
   HOMEPAGE HERO
   ============================================================ */

.bkcc-hero {
	background-color: var(--bkc-dark);
	color: var(--bkc-text-dark);
	padding: var(--sp-16) var(--sp-4) var(--sp-12);
	position: relative;
	overflow: hidden;
}

.bkcc-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 30% 60%, #211b14 0%, transparent 70%);
	pointer-events: none;
}

.bkcc-hero__inner {
	position: relative;
	max-width: var(--width-wide);
	margin: 0 auto;
}

.bkcc-eyebrow {
	font-family: var(--font-ui);
	font-size: var(--text-xs);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--bkc-accent);
	margin-bottom: var(--sp-3);
	display: flex;
	align-items: center;
	gap: var(--sp-2);
}

.bkcc-eyebrow::before {
	content: '';
	display: inline-block;
	width: 2rem;
	height: 1px;
	background-color: var(--bkc-accent);
}

.bkcc-hero__headline {
	font-family: var(--font-display);
	font-size: var(--text-5xl);
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.05;
	color: var(--bkc-warm);
	max-width: 800px;
	margin-bottom: var(--sp-4);
}

.bkcc-hero__sub {
	font-family: var(--font-serif);
	font-size: var(--text-lg);
	font-style: italic;
	color: var(--bkc-text-dark);
	max-width: 540px;
	margin-bottom: 0;
	opacity: 0.9;
}

@media (max-width: 768px) {
	.bkcc-hero {
		padding: var(--sp-8) var(--sp-4);
	}
	.bkcc-hero__headline {
		font-size: var(--text-3xl);
	}
}

/* Article/page hero — used in single.php, page-hub.php */
.bkcc-page-hero {
	background-color: var(--bkc-dark);
	color: var(--bkc-text-dark);
	padding: var(--sp-8) var(--sp-4) var(--sp-6);
}

.bkcc-page-hero__inner {
	max-width: var(--width-prose);
	margin: 0 auto;
}

.bkcc-page-hero__eyebrow {
	font-family: var(--font-ui);
	font-size: var(--text-xs);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--bkc-accent);
	margin-bottom: var(--sp-2);
	display: flex;
	align-items: center;
	gap: var(--sp-2);
}

.bkcc-page-hero__eyebrow::before {
	content: '';
	display: inline-block;
	width: 1.5rem;
	height: 1px;
	background-color: var(--bkc-accent);
}

.bkcc-page-hero__title {
	font-family: var(--font-display);
	font-size: var(--text-4xl);
	font-weight: 400;
	letter-spacing: -0.01em;
	line-height: 1.1;
	color: var(--bkc-warm);
	margin-bottom: var(--sp-2);
}

@media (max-width: 768px) {
	.bkcc-page-hero__title {
		font-size: var(--text-3xl);
	}
}

/* Hub page hero — wider, has subtitle */
.bkcc-hub-hero {
	background-color: var(--bkc-dark);
	color: var(--bkc-text-dark);
	padding: var(--sp-12) var(--sp-4) var(--sp-8);
	border-bottom: 1px solid var(--bkc-dark-rule);
}

.bkcc-hub-hero__inner {
	max-width: var(--width-wide);
	margin: 0 auto;
}

.bkcc-hub-hero__label {
	font-family: var(--font-ui);
	font-size: var(--text-xs);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--bkc-accent);
	margin-bottom: var(--sp-2);
	display: flex;
	align-items: center;
	gap: var(--sp-2);
}

.bkcc-hub-hero__label::before {
	content: '';
	display: inline-block;
	width: 1.5rem;
	height: 1px;
	background-color: var(--bkc-accent);
}

.bkcc-hub-hero__title {
	font-family: var(--font-display);
	font-size: var(--text-4xl);
	font-weight: 400;
	letter-spacing: -0.01em;
	line-height: 1.1;
	color: var(--bkc-warm);
	margin-bottom: var(--sp-3);
}

.bkcc-hub-hero__sub {
	font-family: var(--font-serif);
	font-size: var(--text-lg);
	font-style: italic;
	color: var(--bkc-text-dark);
	max-width: 600px;
	opacity: 0.85;
}

@media (max-width: 768px) {
	.bkcc-hub-hero__title {
		font-size: var(--text-3xl);
	}
}


/* ============================================================
   FEATURED IMAGE HERO (single.php)
   ============================================================ */

.bkcc-featured-hero {
	background-color: var(--bkc-dark);
}

.bkcc-featured-hero__image {
	width: 100%;
	aspect-ratio: 16 / 7;
	overflow: hidden;
}

.bkcc-featured-hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.bkcc-featured-hero__caption {
	max-width: var(--width-prose);
	margin: 0 auto;
	padding: var(--sp-1) var(--sp-4);
	font-family: var(--font-ui);
	font-size: var(--text-xs);
	color: var(--bkc-ghost);
}


/* ============================================================
   HOMEPAGE SECTIONS
   ============================================================ */

/* Editorial bridge */
.bkcc-bridge {
	background-color: var(--bkc-warm);
	padding: var(--sp-8) var(--sp-4);
	border-bottom: var(--border-warm);
}

.bkcc-bridge__text {
	font-size: var(--text-lg);
	font-style: italic;
	color: var(--bkc-text-warm);
	max-width: var(--width-prose);
	margin: 0 auto;
	line-height: 1.7;
}

/* Hub pathways — dark section */
.bkcc-pathways {
	background-color: var(--bkc-dark);
	color: var(--bkc-text-dark);
	padding: var(--sp-12) var(--sp-4);
	border-bottom: 1px solid var(--bkc-dark-rule);
}

.bkcc-section-label {
	font-family: var(--font-ui);
	font-size: var(--text-xs);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--bkc-accent);
	margin-bottom: var(--sp-4);
	display: flex;
	align-items: center;
	gap: var(--sp-2);
}

.bkcc-section-label::before {
	content: '';
	display: inline-block;
	width: 1.5rem;
	height: 1px;
	background-color: var(--bkc-accent);
}

.bkcc-pathways__title {
	font-family: var(--font-serif);
	font-size: var(--text-2xl);
	font-weight: 400;
	color: var(--bkc-warm);
	margin-bottom: var(--sp-8);
	letter-spacing: -0.01em;
}

.bkcc-pathways__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background-color: var(--bkc-dark-rule);
}

.bkcc-pathway-card {
	display: flex;
	flex-direction: column;
	padding: var(--sp-6) var(--sp-4);
	background-color: var(--bkc-dark);
	color: var(--bkc-text-dark);
	text-decoration: none;
	border-left: 3px solid transparent;
	transition: border-color var(--transition), background-color var(--transition);
}

.bkcc-pathway-card:hover {
	background-color: var(--bkc-dark-mid);
	border-left-color: var(--bkc-accent);
}

.bkcc-pathway-card__label {
	font-family: var(--font-ui);
	font-size: var(--text-xs);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--bkc-accent);
	margin-bottom: var(--sp-2);
}

.bkcc-pathway-card__title {
	font-family: var(--font-serif);
	font-size: var(--text-xl);
	font-weight: 600;
	color: var(--bkc-warm);
	line-height: 1.2;
	margin-bottom: var(--sp-2);
}

.bkcc-pathway-card__desc {
	font-family: var(--font-serif);
	font-size: var(--text-base);
	color: var(--bkc-text-dark);
	line-height: 1.6;
	flex: 1;
	margin-bottom: var(--sp-3);
	opacity: 0.85;
}

.bkcc-pathway-card__cta {
	font-family: var(--font-ui);
	font-size: var(--text-sm);
	font-weight: 500;
	color: var(--bkc-accent);
	letter-spacing: 0.04em;
}

@media (max-width: 768px) {
	.bkcc-pathways__grid {
		grid-template-columns: 1fr;
	}
}


/* ============================================================
   FEATURED ARTICLES (homepage)
   ============================================================ */

.bkcc-featured {
	background-color: var(--bkc-subtle);
	padding: var(--sp-12) var(--sp-4);
}

.bkcc-section-title {
	font-family: var(--font-serif);
	font-size: var(--text-2xl);
	font-weight: 400;
	letter-spacing: -0.01em;
	color: var(--bkc-text-warm);
	margin-bottom: var(--sp-8);
	padding-bottom: var(--sp-3);
	border-bottom: var(--border-warm);
}

/* Article grid — asymmetric: first card wider */
.bkcc-article-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: var(--sp-6);
}

.bkcc-article-card {
	display: flex;
	flex-direction: column;
}

/* First card gets image emphasis */
.bkcc-article-card:first-child .bkcc-article-card__image {
	display: block;
	margin-bottom: var(--sp-3);
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.bkcc-article-card:first-child .bkcc-article-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Other cards: image hidden */
.bkcc-article-card:not(:first-child) .bkcc-article-card__image {
	display: none;
}

.bkcc-article-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	border-left: 3px solid var(--bkc-warm-rule);
	padding-left: var(--sp-3);
}

.bkcc-article-card:first-child .bkcc-article-card__body {
	border-left-color: var(--bkc-accent);
}

.bkcc-article-card__title {
	font-family: var(--font-serif);
	font-size: var(--text-xl);
	font-weight: 600;
	line-height: 1.25;
	color: var(--bkc-text-warm);
	margin-bottom: var(--sp-2);
}

.bkcc-article-card:first-child .bkcc-article-card__title {
	font-size: var(--text-2xl);
}

.bkcc-article-card__title a {
	color: inherit;
	text-decoration: none;
}

.bkcc-article-card__title a:hover {
	color: var(--bkc-accent);
}

.bkcc-article-card__excerpt {
	font-family: var(--font-serif);
	font-size: var(--text-base);
	color: var(--bkc-ghost-dark);
	line-height: 1.65;
	flex: 1;
	margin-bottom: var(--sp-3);
}

.bkcc-read-more {
	font-family: var(--font-ui);
	font-size: var(--text-sm);
	font-weight: 500;
	color: var(--bkc-accent);
	text-decoration: none;
	letter-spacing: 0.03em;
	margin-top: auto;
}

.bkcc-read-more:hover {
	color: var(--bkc-accent-dim);
	text-decoration: underline;
}

@media (max-width: 900px) {
	.bkcc-article-grid {
		grid-template-columns: 1fr 1fr;
	}
	.bkcc-article-card:first-child {
		grid-column: 1 / -1;
	}
	.bkcc-article-card:first-child .bkcc-article-card__image {
		display: block;
	}
}

@media (max-width: 600px) {
	.bkcc-article-grid {
		grid-template-columns: 1fr;
	}
}


/* ============================================================
   CULTURAL CREDIBILITY SECTION
   ============================================================ */

.bkcc-credibility {
	background-color: var(--bkc-dark);
	color: var(--bkc-text-dark);
	padding: var(--sp-12) var(--sp-4);
	border-top: 1px solid var(--bkc-dark-rule);
}

.bkcc-credibility__title {
	font-family: var(--font-serif);
	font-size: var(--text-xl);
	font-weight: 600;
	color: var(--bkc-warm);
	margin-bottom: var(--sp-3);
}

.bkcc-credibility__text {
	font-family: var(--font-serif);
	font-size: var(--text-base);
	line-height: 1.75;
	color: var(--bkc-text-dark);
	margin-bottom: var(--sp-3);
	opacity: 0.88;
}

.bkcc-text-link {
	font-family: var(--font-ui);
	font-size: var(--text-sm);
	font-weight: 500;
	color: var(--bkc-accent);
	text-decoration: none;
}

.bkcc-text-link:hover {
	text-decoration: underline;
}


/* ============================================================
   SINGLE ARTICLE / POST
   ============================================================ */

.bkcc-article-wrapper {
	background-color: var(--bkc-subtle);
}

.bkcc-article-content {
	max-width: var(--width-prose);
	margin: 0 auto;
	padding: var(--sp-8) var(--sp-4);
}

/* Standfirst / deck */
.bkcc-standfirst {
	font-size: var(--text-lg);
	font-style: italic;
	color: var(--bkc-ghost-dark);
	line-height: 1.65;
	margin-bottom: var(--sp-6);
	padding-bottom: var(--sp-4);
	border-bottom: var(--border-warm);
}

/* Entry content typography */
.entry-content {
	font-family: var(--font-serif);
	font-size: var(--text-md);
	line-height: 1.78;
	color: var(--bkc-text-warm);
}

.entry-content > * + * {
	margin-top: var(--sp-3);
}

.entry-content h2 {
	font-family: var(--font-serif);
	font-size: var(--text-xl);
	font-weight: 600;
	color: var(--bkc-text-warm);
	margin-top: var(--sp-8);
	margin-bottom: var(--sp-3);
	padding-left: var(--sp-3);
	border-left: var(--border-accent);
	line-height: 1.25;
}

.entry-content h3 {
	font-family: var(--font-ui);
	font-size: var(--text-base);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--bkc-ghost-dark);
	margin-top: var(--sp-6);
	margin-bottom: var(--sp-2);
}

.entry-content h4,
.entry-content h5,
.entry-content h6 {
	font-size: var(--text-base);
	font-weight: 600;
}

/* Content links must be underlined (WCAG + WP requirement) */
.entry-content a,
.comment-content a,
.widget_text a {
	color: var(--bkc-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-content a:hover,
.comment-content a:hover {
	color: var(--bkc-accent-dim);
}

/* Figure / images */
.entry-content figure {
	margin-left: calc(-1 * var(--sp-4));
	margin-right: calc(-1 * var(--sp-4));
}

.entry-content figure img {
	width: 100%;
}

.entry-content figcaption {
	padding: var(--sp-1) var(--sp-4);
}

/* Callout box */
.bkcc-callout,
.entry-content .bkcc-callout {
	background-color: var(--bkc-warm);
	border-left: 4px solid var(--bkc-accent);
	padding: var(--sp-4) var(--sp-4) var(--sp-4) calc(var(--sp-4) - 4px);
	margin: var(--sp-6) 0;
	font-style: italic;
	font-size: var(--text-md);
}

/* Further reading / sources box */
.bkcc-further-reading,
.entry-content .bkcc-further-reading {
	background-color: var(--bkc-dark);
	color: var(--bkc-text-dark);
	padding: var(--sp-4);
	margin: var(--sp-8) 0;
}

.bkcc-further-reading__title {
	font-family: var(--font-ui);
	font-size: var(--text-xs);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--bkc-accent);
	margin-bottom: var(--sp-3);
}

.bkcc-further-reading ul {
	margin: 0;
	padding-left: 0;
	list-style: none;
}

.bkcc-further-reading li {
	margin-bottom: var(--sp-1);
	padding-left: var(--sp-3);
	position: relative;
}

.bkcc-further-reading li::before {
	content: '—';
	position: absolute;
	left: 0;
	color: var(--bkc-accent);
}

.bkcc-further-reading a {
	color: var(--bkc-text-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
	font-size: var(--text-sm);
	font-family: var(--font-ui);
}

.bkcc-further-reading a:hover {
	color: var(--bkc-warm);
}

/* Article footer — minimal */
.bkcc-article-footer {
	border-top: var(--border-warm);
	padding-top: var(--sp-4);
	margin-top: var(--sp-8);
}

.bkcc-article-meta {
	font-family: var(--font-ui);
	font-size: var(--text-sm);
	color: var(--bkc-ghost-dark);
}

/* Suppress clutter */
.bkcc-no-comments { display: none; }


/* ============================================================
   GENERIC PAGES (About, Sources, etc.)
   ============================================================ */

.bkcc-page-content {
	max-width: var(--width-prose);
	margin: 0 auto;
	padding: var(--sp-8) var(--sp-4);
}

.bkcc-page-content h2 {
	font-size: var(--text-xl);
	font-weight: 600;
	margin-top: var(--sp-8);
	margin-bottom: var(--sp-3);
	padding-left: var(--sp-3);
	border-left: var(--border-accent);
}

.bkcc-page-content a {
	color: var(--bkc-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}


/* ============================================================
   HUB PAGE
   ============================================================ */

.bkcc-hub-content {
	background-color: var(--bkc-subtle);
	padding: var(--sp-8) var(--sp-4);
}

.bkcc-hub-content__inner {
	max-width: var(--width-wide);
	margin: 0 auto;
}

/* Hub intro — editorial paragraph */
.bkcc-hub-intro {
	max-width: var(--width-prose);
	margin-bottom: var(--sp-8);
	padding-bottom: var(--sp-6);
	border-bottom: var(--border-warm);
}

.bkcc-hub-intro p {
	font-size: var(--text-lg);
	font-style: italic;
	color: var(--bkc-ghost-dark);
	line-height: 1.7;
}

/* Hub article cards — 2-column grid */
.bkcc-hub-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--sp-6);
	margin-bottom: var(--sp-8);
}

.bkcc-hub-card {
	display: flex;
	flex-direction: column;
	border-top: var(--border-warm);
	padding-top: var(--sp-4);
}

.bkcc-hub-card__image {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	margin-bottom: var(--sp-3);
}

.bkcc-hub-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bkcc-hub-card__label {
	font-family: var(--font-ui);
	font-size: var(--text-xs);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--bkc-accent);
	margin-bottom: var(--sp-1);
}

.bkcc-hub-card__title {
	font-family: var(--font-serif);
	font-size: var(--text-xl);
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: var(--sp-2);
}

.bkcc-hub-card__title a {
	color: var(--bkc-text-warm);
	text-decoration: none;
}

.bkcc-hub-card__title a:hover {
	color: var(--bkc-accent);
}

.bkcc-hub-card__excerpt {
	font-size: var(--text-base);
	color: var(--bkc-ghost-dark);
	line-height: 1.65;
	flex: 1;
	margin-bottom: var(--sp-3);
}

@media (max-width: 640px) {
	.bkcc-hub-grid {
		grid-template-columns: 1fr;
	}
}

/* Cross-hub navigation */
.bkcc-cross-hub {
	background-color: var(--bkc-dark);
	color: var(--bkc-text-dark);
	padding: var(--sp-6) var(--sp-4);
	border-top: 1px solid var(--bkc-dark-rule);
}

.bkcc-cross-hub__inner {
	max-width: var(--width-wide);
	margin: 0 auto;
}

.bkcc-cross-hub__title {
	font-family: var(--font-ui);
	font-size: var(--text-xs);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--bkc-accent);
	margin-bottom: var(--sp-3);
}

.bkcc-cross-hub__links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	list-style: none;
	margin: 0;
	padding: 0;
}

.bkcc-cross-hub__links a {
	font-family: var(--font-ui);
	font-size: var(--text-sm);
	font-weight: 500;
	color: var(--bkc-text-dark);
	text-decoration: none;
	padding: var(--sp-1) var(--sp-3);
	border: 1px solid var(--bkc-dark-rule);
	transition: border-color var(--transition), color var(--transition);
}

.bkcc-cross-hub__links a:hover {
	border-color: var(--bkc-accent);
	color: var(--bkc-warm);
}


/* ============================================================
   HUB PAGE — WordPress editor content area
   ============================================================ */

.bkcc-hub-editor-content {
	max-width: var(--width-wide);
	margin: 0 auto;
	padding: var(--sp-8) var(--sp-4);
}

.bkcc-hub-editor-content h2 {
	font-size: var(--text-xl);
	font-weight: 600;
	border-left: var(--border-accent);
	padding-left: var(--sp-3);
	margin-top: var(--sp-8);
	margin-bottom: var(--sp-3);
}

.bkcc-hub-editor-content a {
	color: var(--bkc-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}


/* ============================================================
   SITE FOOTER
   ============================================================ */

.site-footer {
	background-color: var(--bkc-dark);
	color: var(--bkc-text-dark);
	border-top: 1px solid var(--bkc-dark-rule);
	padding: var(--sp-8) var(--sp-4) var(--sp-6);
}

.site-footer__inner {
	max-width: var(--width-wide);
	margin: 0 auto;
}

.site-footer__top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: var(--sp-6);
	margin-bottom: var(--sp-6);
	padding-bottom: var(--sp-6);
	border-bottom: 1px solid var(--bkc-dark-rule);
}

.site-footer__brand {
	flex-shrink: 0;
}

.site-footer__brand .site-title {
	font-size: var(--text-lg);
	margin-bottom: var(--sp-1);
}

.site-footer__brand .site-title a {
	color: var(--bkc-warm);
	text-decoration: none;
}

.site-footer__tagline {
	font-family: var(--font-ui);
	font-size: var(--text-xs);
	color: var(--bkc-ghost);
	letter-spacing: 0.05em;
}

/* Footer nav */
.footer-nav-menu,
.footer-nav-fallback {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-1) var(--sp-3);
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: flex-end;
}

.footer-nav-menu a,
.footer-nav-fallback a {
	font-family: var(--font-ui);
	font-size: var(--text-xs);
	color: var(--bkc-ghost);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	transition: color var(--transition);
}

.footer-nav-menu a:hover,
.footer-nav-fallback a:hover {
	color: var(--bkc-text-dark);
}

/* AI disclosure note */
.site-footer__disclosure {
	font-family: var(--font-ui);
	font-size: var(--text-xs);
	color: var(--bkc-ghost);
	line-height: 1.6;
	max-width: 680px;
	margin-bottom: var(--sp-4);
}

.site-footer__bottom {
	font-family: var(--font-ui);
	font-size: var(--text-xs);
	color: var(--bkc-ghost);
}

@media (max-width: 640px) {
	.site-footer__top {
		flex-direction: column;
	}
	.footer-nav-menu,
	.footer-nav-fallback {
		justify-content: flex-start;
	}
}


/* ============================================================
   404 PAGE
   ============================================================ */

.bkcc-404 {
	background-color: var(--bkc-dark);
	color: var(--bkc-text-dark);
	min-height: 60vh;
	display: flex;
	align-items: center;
	padding: var(--sp-12) var(--sp-4);
}

.bkcc-404__inner {
	max-width: var(--width-prose);
	margin: 0 auto;
}

.bkcc-404__label {
	font-family: var(--font-ui);
	font-size: var(--text-xs);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--bkc-accent);
	margin-bottom: var(--sp-3);
}

.bkcc-404__title {
	font-family: var(--font-display);
	font-size: var(--text-4xl);
	font-weight: 400;
	color: var(--bkc-warm);
	margin-bottom: var(--sp-4);
	line-height: 1.1;
}

.bkcc-404__text {
	color: var(--bkc-text-dark);
	margin-bottom: var(--sp-6);
	opacity: 0.85;
}

.bkcc-button {
	display: inline-block;
	font-family: var(--font-ui);
	font-size: var(--text-sm);
	font-weight: 500;
	text-decoration: none;
	padding: var(--sp-2) var(--sp-4);
	background-color: var(--bkc-accent);
	color: var(--bkc-warm);
	letter-spacing: 0.04em;
	transition: background-color var(--transition);
}

.bkcc-button:hover {
	background-color: var(--bkc-accent-dim);
}


/* ============================================================
   INDEX / FALLBACK LISTING
   ============================================================ */

.bkcc-index {
	background-color: var(--bkc-subtle);
	padding: var(--sp-8) var(--sp-4);
}

.bkcc-index__inner {
	max-width: var(--width-prose);
	margin: 0 auto;
}

.bkcc-post-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bkcc-post-item {
	border-bottom: var(--border-warm);
	padding: var(--sp-4) 0;
}

.bkcc-post-item__title {
	font-family: var(--font-serif);
	font-size: var(--text-xl);
	font-weight: 600;
	margin-bottom: var(--sp-1);
}

.bkcc-post-item__title a {
	color: var(--bkc-text-warm);
	text-decoration: none;
}

.bkcc-post-item__title a:hover {
	color: var(--bkc-accent);
}

.bkcc-post-item__meta {
	font-family: var(--font-ui);
	font-size: var(--text-sm);
	color: var(--bkc-ghost-dark);
	margin-bottom: var(--sp-2);
}

.bkcc-post-item__excerpt {
	color: var(--bkc-ghost-dark);
	font-size: var(--text-base);
}

.bkcc-no-posts {
	padding: var(--sp-8) 0;
	font-style: italic;
	color: var(--bkc-ghost-dark);
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	html {
		scroll-behavior: auto;
	}
}


/* ============================================================
   WORDPRESS ALIGNMENT CLASSES
   ============================================================ */

.alignleft {
	float: left;
	margin-right: var(--sp-4);
	margin-bottom: var(--sp-2);
}

.alignright {
	float: right;
	margin-left: var(--sp-4);
	margin-bottom: var(--sp-2);
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignwide {
	max-width: var(--width-wide);
}

.alignfull {
	max-width: 100%;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text {
	font-family: var(--font-ui);
	font-size: var(--text-sm);
	color: var(--bkc-ghost-dark);
	margin-top: var(--sp-1);
}


/* ============================================================
   WORDPRESS BLOCK EDITOR — basic support within classic theme
   ============================================================ */

.entry-content .wp-block-image {
	margin-left: 0;
	margin-right: 0;
}

.entry-content .wp-block-quote {
	margin-left: 0;
}

.entry-content .wp-block-pullquote {
	border-top: 3px solid var(--bkc-accent);
	border-bottom: 3px solid var(--bkc-accent);
	padding: var(--sp-4) 0;
	text-align: center;
}

.entry-content .wp-block-pullquote p {
	font-family: var(--font-display);
	font-size: var(--text-xl);
	font-style: italic;
	color: var(--bkc-text-warm);
}
