/* =========================================================================
   HAPEI Single Feature / Interview  |  append to end of assets/css/main.css
   Editorial layout, magazine-style typography, sticky Subject sidebar.
   ========================================================================= */

/* ---- Global body classes when on a feature single ---- */
body.single-hapei_feature .hp-main,
body.single-hapei_feature .site-main { background: #fff; }

/* ============================ 1. HEADER ============================ */
.hp-feat-head {
	padding: clamp(56px, 8vw, 100px) 0 32px;
	background: #fff;
	position: relative;
}

.hp-feat-head__inner {
	max-width: 860px;
	margin: 0 auto;
	text-align: center;
}

.hp-feat-pill {
	display: inline-block;
	padding: 6px 14px;
	background: rgba(225, 13, 13, 0.08);
	color: var(--hp-primary, #e10d0d);
	border-radius: 999px;
	font-family: var(--hp-body, "Inter", sans-serif);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin-bottom: 24px;
}

.hp-feat-title {
	font-family: var(--hp-head, "Outfit", sans-serif);
	font-size: clamp(32px, 5.4vw, 64px);
	line-height: 1.08;
	letter-spacing: -0.025em;
	color: var(--hp-ink, #1a0b0b);
	margin: 0 0 20px;
	font-weight: 800;
}

.hp-feat-deck {
	font-family: var(--hp-head, "Outfit", sans-serif);
	font-size: clamp(17px, 1.8vw, 22px);
	line-height: 1.5;
	color: rgba(26, 11, 11, 0.6);
	margin: 0 auto 32px;
	max-width: 60ch;
	font-weight: 400;
	letter-spacing: -0.005em;
}

.hp-feat-byline {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px 32px;
	padding-top: 24px;
	border-top: 1px solid rgba(26, 11, 11, 0.08);
	max-width: 720px;
	margin: 0 auto;
}

.hp-feat-byline__item {
	display: flex;
	flex-direction: column;
	gap: 2px;
	text-align: left;
	min-width: 0;
}

.hp-feat-byline__k {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(26, 11, 11, 0.4);
}

.hp-feat-byline__v {
	font-size: 14px;
	font-weight: 600;
	color: var(--hp-ink, #1a0b0b);
}

@media (max-width: 640px) {
	.hp-feat-byline { gap: 16px 24px; justify-content: flex-start; padding-top: 20px; }
	.hp-feat-byline__item { flex-direction: row; align-items: baseline; gap: 8px; }
}

/* ============================ 2. COVER ============================ */
.hp-feat-cover {
	margin: 0 0 32px;
	padding: 0 clamp(16px, 4vw, 40px);
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
}

.hp-feat-cover img {
	width: 100%;
	height: auto;
	max-height: 72vh;
	object-fit: cover;
	display: block;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(26, 11, 11, 0.15);
}

.hp-feat-cover__cap {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	max-width: 1400px;
	margin: 12px auto 0;
	font-size: 12px;
	color: rgba(26, 11, 11, 0.5);
	padding: 0 4px;
	font-family: var(--hp-body, "Inter", sans-serif);
}

.hp-feat-cover__cap span { font-weight: 500; }

@media (max-width: 640px) {
	.hp-feat-cover__cap { flex-direction: column; gap: 4px; }
}

/* ============================ 3. TAG STRIP ============================ */
.hp-feat-tags-wrap { margin: 0 0 40px; }

.hp-feat-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.hp-feat-tag {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	background: var(--hp-mist, #fbf6f5);
	border: 1px solid rgba(26, 11, 11, 0.06);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	color: rgba(26, 11, 11, 0.7);
	text-decoration: none;
	transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.hp-feat-tag:hover {
	border-color: var(--hp-primary, #e10d0d);
	color: var(--hp-primary, #e10d0d);
	background: rgba(225, 13, 13, 0.03);
}

.hp-feat-tag--plain { cursor: default; }
.hp-feat-tag--plain:hover { border-color: rgba(26, 11, 11, 0.06); color: rgba(26, 11, 11, 0.7); background: var(--hp-mist, #fbf6f5); }

/* ============================ 4. BODY + SIDEBAR ============================ */
.hp-feat-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
	padding-bottom: clamp(56px, 8vw, 96px);
}

.hp-feat-body {
	max-width: 720px;
	margin: 0 auto;
	width: 100%;
	font-family: var(--hp-body, "Inter", sans-serif);
	font-size: 18px;
	line-height: 1.75;
	color: rgba(26, 11, 11, 0.85);
}

.hp-feat-body > p:first-of-type::first-letter {
	float: left;
	font-family: var(--hp-head, "Outfit", sans-serif);
	font-size: 78px;
	line-height: 0.85;
	padding: 8px 12px 0 0;
	color: var(--hp-primary, #e10d0d);
	font-weight: 800;
}

.hp-feat-body p,
.hp-feat-body ul,
.hp-feat-body ol,
.hp-feat-body blockquote {
	margin: 0 0 1.4em;
}

.hp-feat-body h2 {
	font-family: var(--hp-head, "Outfit", sans-serif);
	font-size: clamp(24px, 2.8vw, 32px);
	line-height: 1.2;
	letter-spacing: -0.015em;
	color: var(--hp-ink, #1a0b0b);
	margin: 2em 0 0.7em;
	font-weight: 700;
}

.hp-feat-body h3 {
	font-family: var(--hp-head, "Outfit", sans-serif);
	font-size: clamp(20px, 2.2vw, 24px);
	line-height: 1.25;
	color: var(--hp-ink, #1a0b0b);
	margin: 1.8em 0 0.6em;
	font-weight: 700;
}

.hp-feat-body a {
	color: var(--hp-primary, #e10d0d);
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
}

.hp-feat-body a:hover { text-decoration-thickness: 2.5px; }

.hp-feat-body ul,
.hp-feat-body ol { padding-left: 1.4em; }
.hp-feat-body li { margin-bottom: 0.4em; }

.hp-feat-body img,
.hp-feat-body figure {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 1.5em 0;
}

.hp-feat-body figure { margin: 2em 0; }
.hp-feat-body figcaption {
	font-size: 13px;
	color: rgba(26, 11, 11, 0.55);
	margin-top: 10px;
	text-align: center;
	font-style: italic;
}

.hp-feat-body blockquote:not(.hp-feat-quote blockquote) {
	border-left: 3px solid var(--hp-primary, #e10d0d);
	padding: 4px 0 4px 24px;
	margin-left: 0;
	color: rgba(26, 11, 11, 0.75);
	font-style: italic;
}

/* Inline pull quote (auto-inserted mid-article) */
.hp-feat-quote {
	margin: 2.5em -40px;
	padding: 40px 40px 32px;
	background: linear-gradient(180deg, transparent 0%, rgba(225, 13, 13, 0.03) 100%);
	border-top: 3px solid var(--hp-primary, #e10d0d);
	border-bottom: 1px solid rgba(26, 11, 11, 0.08);
	position: relative;
}

.hp-feat-quote svg {
	width: 40px;
	height: 40px;
	color: var(--hp-primary, #e10d0d);
	opacity: 0.3;
	margin-bottom: 12px;
	display: block;
}

.hp-feat-quote blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	font-style: normal;
}

.hp-feat-quote blockquote p {
	font-family: var(--hp-head, "Outfit", sans-serif);
	font-size: clamp(20px, 2.4vw, 28px);
	line-height: 1.35;
	color: var(--hp-ink, #1a0b0b);
	font-weight: 600;
	letter-spacing: -0.01em;
	margin: 0 0 16px;
}

.hp-feat-quote blockquote footer {
	font-family: var(--hp-body, "Inter", sans-serif);
	font-size: 13px;
	font-weight: 600;
	color: var(--hp-primary, #e10d0d);
	letter-spacing: 0.02em;
	font-style: normal;
}

@media (max-width: 720px) {
	.hp-feat-quote { margin: 2em 0; padding: 28px 24px; border-radius: 8px; }
}

/* Video / audio embeds inside body */
.hp-feat-embed { margin: 2em 0; }
.hp-feat-embed iframe,
.hp-feat-embed video {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: 12px;
	display: block;
}
.hp-feat-embed audio { width: 100%; }

.hp-feat-credit {
	margin: 2.5em 0 1em;
	padding-top: 20px;
	border-top: 1px solid rgba(26, 11, 11, 0.08);
	font-size: 13px;
	color: rgba(26, 11, 11, 0.5);
	font-style: italic;
	text-align: center;
}

/* ---- Share bar ---- */
.hp-feat-share {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 32px;
	padding: 20px 0;
	border-top: 1px solid rgba(26, 11, 11, 0.08);
	border-bottom: 1px solid rgba(26, 11, 11, 0.08);
}

.hp-feat-share__label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(26, 11, 11, 0.5);
	margin-right: auto;
}

.hp-feat-share__btn {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--hp-mist, #fbf6f5);
	color: rgba(26, 11, 11, 0.7);
	border: 0;
	cursor: pointer;
	text-decoration: none;
	transition: background .2s ease, color .2s ease, transform .2s ease;
}

.hp-feat-share__btn:hover {
	background: var(--hp-primary, #e10d0d);
	color: #fff;
	transform: translateY(-2px);
}

.hp-feat-share__btn svg { width: 18px; height: 18px; }

/* ---- Sidebar (Subject card + Fast facts) ---- */
.hp-feat-side {
	position: sticky;
	top: 100px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.hp-feat-side__card {
	background: var(--hp-mist, #fbf6f5);
	border: 1px solid rgba(26, 11, 11, 0.05);
	border-radius: 16px;
	padding: 24px;
}

.hp-feat-side__card--subject { text-align: center; }

.hp-feat-subject__photo {
	width: 110px;
	height: 110px;
	margin: 0 auto 16px;
	border-radius: 50%;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 10px 24px rgba(26, 11, 11, 0.1);
}

.hp-feat-subject__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hp-feat-subject__name {
	font-family: var(--hp-head, "Outfit", sans-serif);
	font-size: 18px;
	font-weight: 700;
	color: var(--hp-ink, #1a0b0b);
	margin: 0 0 6px;
	line-height: 1.25;
}

.hp-feat-subject__role {
	font-size: 13px;
	color: rgba(26, 11, 11, 0.65);
	line-height: 1.5;
	margin: 0;
}

.hp-feat-subject__sep { margin: 0 6px; color: rgba(26, 11, 11, 0.3); }

.hp-feat-side__title {
	font-family: var(--hp-body, "Inter", sans-serif);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(26, 11, 11, 0.5);
	margin: 0 0 16px;
}

.hp-feat-facts {
	margin: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

.hp-feat-facts dt {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(26, 11, 11, 0.45);
	margin-bottom: 2px;
}

.hp-feat-facts dd {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--hp-ink, #1a0b0b);
	line-height: 1.4;
}

.hp-feat-facts dd:last-child { margin-bottom: 0; }

/* Mobile: sidebar collapses under content */
@media (max-width: 1024px) {
	.hp-feat-layout { grid-template-columns: 1fr; }
	.hp-feat-side { position: static; flex-direction: row; flex-wrap: wrap; gap: 16px; max-width: 720px; margin: 32px auto 0; }
	.hp-feat-side__card { flex: 1; min-width: 220px; }
}

@media (max-width: 640px) {
	.hp-feat-side { flex-direction: column; }
	.hp-feat-body { font-size: 17px; }
	.hp-feat-body > p:first-of-type::first-letter { font-size: 62px; }
}

/* ============================ 6. ORG CONTEXT BANNER ============================ */
.hp-feat-context {
	background: linear-gradient(135deg, var(--hp-ink, #1a0b0b) 0%, #2d0808 100%);
	color: #fff;
	position: relative;
	overflow: hidden;
	padding: clamp(56px, 8vw, 96px) 0;
}

.hp-feat-context::before {
	content: "";
	position: absolute;
	top: -100px;
	right: -100px;
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(225, 13, 13, 0.25) 0%, transparent 60%);
	border-radius: 50%;
	pointer-events: none;
}

.hp-feat-context__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 40px;
	align-items: center;
}

.hp-feat-context__eyebrow {
	display: inline-block;
	color: var(--hp-primary, #e10d0d);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.hp-feat-context h2 {
	font-family: var(--hp-head, "Outfit", sans-serif);
	font-size: clamp(24px, 3.2vw, 36px);
	line-height: 1.2;
	color: #fff;
	margin: 0 0 16px;
	letter-spacing: -0.015em;
	font-weight: 800;
}

.hp-feat-context h2 em {
	color: var(--hp-primary, #e10d0d);
	font-style: normal;
}

.hp-feat-context p {
	font-size: 16px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.75);
	margin: 0;
	max-width: 58ch;
}

.hp-feat-context__cta { text-align: right; }

@media (max-width: 800px) {
	.hp-feat-context__inner { grid-template-columns: 1fr; }
	.hp-feat-context__cta { text-align: left; }
}

/* ============================ 8. RELATED FEATURES ============================ */
.hp-feat-rel-sec { background: var(--hp-mist, #fbf6f5); }

.hp-feat-rel-head {
	text-align: center;
	margin-bottom: 48px;
}

.hp-feat-rel-head h2 {
	font-family: var(--hp-head, "Outfit", sans-serif);
	font-size: clamp(28px, 3.6vw, 40px);
	line-height: 1.15;
	color: var(--hp-ink, #1a0b0b);
	margin: 12px 0 0;
	letter-spacing: -0.015em;
	font-weight: 800;
}

.hp-feat-rel {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.hp-feat-rel__card {
	background: #fff;
	border-radius: 18px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	border: 1px solid rgba(26, 11, 11, 0.05);
	display: flex;
	flex-direction: column;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.hp-feat-rel__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px rgba(26, 11, 11, 0.08);
	border-color: rgba(225, 13, 13, 0.2);
}

.hp-feat-rel__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--hp-mist, #fbf6f5);
}

.hp-feat-rel__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}

.hp-feat-rel__card:hover .hp-feat-rel__media img { transform: scale(1.04); }

.hp-feat-rel__ph {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(225,13,13,0.12), rgba(255,75,43,0.06));
}

.hp-feat-rel__body {
	padding: 22px;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.hp-feat-rel__type {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--hp-primary, #e10d0d);
	width: fit-content;
}

.hp-feat-rel__body h3 {
	font-family: var(--hp-head, "Outfit", sans-serif);
	font-size: 18px;
	font-weight: 700;
	color: var(--hp-ink, #1a0b0b);
	margin: 0;
	line-height: 1.3;
	transition: color .2s ease;
}

.hp-feat-rel__card:hover .hp-feat-rel__body h3 { color: var(--hp-primary, #e10d0d); }

.hp-feat-rel__body p {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: rgba(26, 11, 11, 0.65);
	flex: 1;
}

@media (max-width: 900px) { .hp-feat-rel { grid-template-columns: 1fr; } }
