/*
 * single-myth.css — Myth Template Styles
 *
 * Layout and typography specific to the single-myth template:
 *   - Breadcrumb
 *   - Article header (eyebrow, roman numeral, title, japanese,
 *     subtitle, meta dl)
 *   - Article body wrapper (.kt-myth-body / .entry-content)
 *   - Related articles section
 *
 * The 14 block patterns inside the body are styled by components.css.
 * This file does NOT redefine .kt-card etc. — those classes are
 * shared with the three-cards pattern by design.
 *
 * Loaded conditionally on is_singular( 'myth' ) only.
 *
 * @package Kadence_Kojiki_Trail
 */

/* ====================================================================
 * BREADCRUMB
 * ================================================================== */

.kt-breadcrumb {
	max-width: 920px;
	margin: 0 auto;
	padding: 120px 48px 0;
}

.kt-breadcrumb-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	font-family: var(--font-label);
	font-size: 10px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--ink-faint);
}

.kt-breadcrumb-list li:not(:last-child)::after {
	content: '·';
	margin-left: 12px;
	color: var(--vermillion);
}

.kt-breadcrumb-list a {
	color: var(--ink-faint);
	transition: color 0.3s;
}

.kt-breadcrumb-list a:hover {
	color: var(--vermillion);
}

/* ====================================================================
 * ARTICLE HEADER
 * ================================================================== */

.kt-myth-header {
	max-width: 920px;
	margin: 0 auto;
	padding: 60px 48px 80px;
	position: relative;
}

.kt-myth-eyebrow {
	font-family: var(--font-label);
	font-size: 11px;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: var(--vermillion);
	margin: 0 0 32px;
	display: flex;
	align-items: center;
	gap: 16px;
}

.kt-myth-eyebrow::before {
	content: '';
	width: 48px;
	height: 1px;
	background: var(--vermillion);
	flex-shrink: 0;
}

.kt-myth-roman {
	font-family: var(--font-display);
	font-size: 110px;
	font-weight: 300;
	color: var(--vermillion);
	line-height: 0.85;
	margin: 0 0 12px;
	letter-spacing: -0.02em;
}

.kt-myth-title {
	font-family: var(--font-display);
	font-weight: 300;
	font-size: clamp(48px, 6vw, 88px);
	line-height: 0.98;
	letter-spacing: -0.02em;
	margin: 0 0 24px;
	color: var(--ink);
}

.kt-myth-title em {
	font-style: italic;
	color: var(--vermillion);
	font-weight: 400;
}

.kt-myth-japanese {
	font-family: var(--font-display);
	font-style: italic;
	font-size: clamp(20px, 2.2vw, 26px);
	color: var(--ink-faint);
	margin: 0 0 40px;
}

.kt-myth-subtitle {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 300;
	font-size: clamp(22px, 2.4vw, 30px);
	line-height: 1.45;
	color: var(--ink-soft);
	max-width: 760px;
	margin: 0 0 56px;
}

.kt-myth-meta {
	display: flex;
	gap: 48px;
	padding: 24px 0;
	margin: 0;
	border-top: 1px solid var(--hairline);
	border-bottom: 1px solid var(--hairline);
	align-items: center;
	flex-wrap: wrap;
}

.kt-meta-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.kt-meta-label {
	font-family: var(--font-label);
	font-size: 9px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--ink-faint);
	margin: 0;
}

.kt-meta-value {
	font-family: var(--font-display);
	font-size: 16px;
	color: var(--ink);
	margin: 0;
}

/* ====================================================================
 * ARTICLE BODY
 * ================================================================== */

.kt-myth-body {
	max-width: 760px;
	margin: 0 auto;
	padding: 60px 48px 80px;
}

/* The .lede class is reserved for the drop-cap-lede pattern
   (already styled in components.css). The first paragraph after
   the body wrapper uses normal flow. */

.kt-myth-body p {
	margin-bottom: 28px;
	color: var(--ink);
	font-size: 19px;
	line-height: 1.78;
}

.kt-myth-body p em {
	font-style: italic;
}

/* ====================================================================
 * RELATED ARTICLES SECTION
 * ================================================================== */

.kt-related-section {
	background: var(--paper-deep);
	border-top: 1px solid var(--hairline);
	border-bottom: 1px solid var(--hairline);
	padding: 100px 48px;
	margin-top: 80px;
}

.kt-related-inner {
	max-width: var(--container-max);
	margin: 0 auto;
}

.kt-related-eyebrow {
	font-family: var(--font-label);
	font-size: 11px;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: var(--vermillion);
	margin: 0 0 16px;
}

.kt-related-title {
	font-family: var(--font-display);
	font-size: clamp(36px, 4.5vw, 56px);
	font-weight: 300;
	line-height: 1.05;
	letter-spacing: -0.015em;
	margin: 0 0 60px;
	color: var(--ink);
}

.kt-related-title em {
	font-style: italic;
	color: var(--vermillion);
	font-weight: 400;
}

.kt-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

/* The .kt-card / .kt-card-num / .kt-card-label / .kt-card-title /
   .kt-card-text / .kt-card-link styles are defined in components.css
   (Pattern 14: Three Related Cards) and are reused here. */

/* ====================================================================
 * RESPONSIVE — Mobile (≤720px)
 * ================================================================== */

@media (max-width: 720px) {
	.kt-breadcrumb {
		padding: 100px 24px 0;
	}

	.kt-myth-header {
		padding: 40px 24px 60px;
	}

	.kt-myth-roman {
		font-size: 80px;
	}

	.kt-myth-meta {
		gap: 24px 32px;
	}

	.kt-myth-body {
		padding: 40px 24px 60px;
	}

	.kt-related-section {
		padding: 60px 24px;
	}

	.kt-related-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 1023px) and (min-width: 721px) {
	.kt-related-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
