/* ==========================================================================
   Inspirasi Hidup — main stylesheet
   ========================================================================== */

:root {
	--ih-bg: #fbf7f0;
	--ih-surface: #ffffff;
	--ih-paper: #f4ecdf;
	--ih-ink: #2b2622;
	--ih-ink-soft: #6a5f55;
	--ih-line: #e6dccd;
	--ih-accent: #b4532a;
	--ih-accent-ink: #ffffff;
	--ih-sage: #5f7a5a;
	--ih-humor: #c28a12;
	--ih-shadow: 0 1px 2px rgb(60 40 20 / 6%), 0 8px 24px rgb(60 40 20 / 8%);

	--ih-font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--ih-font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
	--ih-font-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--ih-measure: 680px;
	--ih-wide: 1040px;
	--ih-max: 1200px;
	--ih-gutter: clamp(16px, 4vw, 32px);
	--ih-radius: 14px;

	color-scheme: light;
}

/* Dark theme: automatic (the visitor's device) unless the visitor chose light, or manual (the toggle sets data-theme). */
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--ih-bg: #1c1915;
		--ih-surface: #25211c;
		--ih-paper: #2c2721;
		--ih-ink: #efe7dc;
		--ih-ink-soft: #b3a797;
		--ih-line: #3b342c;
		--ih-accent: #e08a5f;
		--ih-accent-ink: #1c1915;
		--ih-sage: #9cb796;
		--ih-humor: #e5b84b;
		--ih-shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 30%);
		color-scheme: dark;
	}
}

:root[data-theme="dark"] {
	--ih-bg: #1c1915;
	--ih-surface: #25211c;
	--ih-paper: #2c2721;
	--ih-ink: #efe7dc;
	--ih-ink-soft: #b3a797;
	--ih-line: #3b342c;
	--ih-accent: #e08a5f;
	--ih-accent-ink: #1c1915;
	--ih-sage: #9cb796;
	--ih-humor: #e5b84b;
	--ih-shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 30%);
	color-scheme: dark;
}

:root[data-theme="light"] { color-scheme: light; }

/* Base ------------------------------------------------------------------- */

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

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

body {
	margin: 0;
	background: var(--ih-bg);
	color: var(--ih-ink);
	font-family: var(--ih-font-body);
	font-size: 1.125rem;
	line-height: 1.7;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--ih-accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--ih-accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
	font-family: var(--ih-font-display);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--ih-ink);
	text-wrap: balance;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto;
	z-index: 1000; top: 8px; left: 8px;
	padding: 10px 16px;
	background: var(--ih-surface); color: var(--ih-ink);
}

.ih-container { max-width: var(--ih-max); margin: 0 auto; padding: 0 var(--ih-gutter); }

.ih-eyebrow {
	margin: 0 0 8px;
	font-family: var(--ih-font-ui);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ih-accent);
}

.ih-button {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 12px 22px;
	border: 0; border-radius: 999px;
	background: var(--ih-accent); color: var(--ih-accent-ink);
	font-family: var(--ih-font-ui); font-size: 0.9375rem; font-weight: 600;
	text-decoration: none; cursor: pointer;
	transition: transform .15s ease, filter .15s ease;
}
.ih-button:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* Reading progress ------------------------------------------------------ */

.ih-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.ih-progress span { display: block; height: 100%; width: 0; background: var(--ih-accent); transition: width .1s linear; }

/* Header ----------------------------------------------------------------- */

.ih-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--ih-bg) 88%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--ih-line);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
	.ih-header { background: var(--ih-bg); }
}
.ih-header__inner {
	max-width: var(--ih-max); margin: 0 auto;
	padding: 12px var(--ih-gutter);
	display: flex; align-items: center; gap: 24px;
}
.ih-brand { display: flex; align-items: center; gap: 10px; color: var(--ih-ink); text-decoration: none; margin-right: auto; }
.ih-brand__mark { width: 24px; height: 33px; color: var(--ih-accent); overflow: visible; filter: drop-shadow(0 0 3px color-mix(in srgb, var(--ih-accent) 45%, transparent)); animation: ih-glow 2.6s ease-in-out infinite; }
/* The flame sways and flickers from its base like a real candle; the warm core moves on its own and the glow pulses. */
.ih-brand__flame,
.ih-brand__core { transform-box: fill-box; transform-origin: 50% 100%; }
.ih-brand__flame { animation: ih-flicker 1.9s ease-in-out infinite; }
.ih-brand__core { animation: ih-core 1.3s ease-in-out infinite; }
@keyframes ih-flicker {
	0%, 100% { transform: scale(1, 1) rotate(0deg) skewX(0deg); }
	14% { transform: scale(0.9, 1.14) rotate(-5deg) skewX(-4deg); }
	31% { transform: scale(1.08, 0.9) rotate(4deg) skewX(3deg); }
	48% { transform: scale(0.93, 1.1) rotate(-3.5deg) skewX(-2deg); }
	66% { transform: scale(1.06, 0.93) rotate(5deg) skewX(4deg); }
	82% { transform: scale(0.96, 1.07) rotate(-2deg) skewX(-1deg); }
}
@keyframes ih-core {
	0%, 100% { transform: scale(1, 1); opacity: 1; }
	30% { transform: scale(0.8, 1.25); opacity: 0.85; }
	60% { transform: scale(1.15, 0.85); opacity: 1; }
	80% { transform: scale(0.9, 1.15); opacity: 0.9; }
}
@keyframes ih-glow {
	0%, 100% { filter: drop-shadow(0 0 2px color-mix(in srgb, var(--ih-accent) 35%, transparent)); }
	50% { filter: drop-shadow(0 0 7px color-mix(in srgb, var(--ih-accent) 70%, transparent)); }
}
@media (prefers-reduced-motion: reduce) {
	.ih-brand__mark,
	.ih-brand__flame,
	.ih-brand__core { animation: none; }
}
.ih-brand__logo { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.ih-brand__name { font-family: var(--ih-font-display); font-size: 1.25rem; font-weight: 700; }

.ih-nav { display: flex; align-items: center; gap: 20px; }
.ih-nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.ih-nav .menu a {
	display: block; padding: 8px 12px; border-radius: 999px;
	font-family: var(--ih-font-ui); font-size: 0.9375rem; font-weight: 500;
	color: var(--ih-ink); text-decoration: none;
}
.ih-nav .menu a:hover,
.ih-nav .current-menu-item > a,
.ih-nav .current-cat > a { background: var(--ih-paper); }

.ih-search input {
	width: 200px; padding: 9px 14px;
	border: 1px solid var(--ih-line); border-radius: 999px;
	background: var(--ih-surface); color: var(--ih-ink);
	font-family: var(--ih-font-ui); font-size: 0.9375rem;
}
.ih-search--block { display: flex; gap: 8px; max-width: 480px; margin: 24px auto; }
.ih-search--block input { flex: 1; width: auto; }

.ih-menu-toggle { display: none; }

@media (max-width: 760px) {
	.ih-menu-toggle {
		display: grid; place-items: center;
		width: 44px; height: 44px; padding: 0;
		border: 1px solid var(--ih-line); border-radius: 12px;
		background: var(--ih-surface); cursor: pointer;
	}
	.ih-menu-toggle__bar,
	.ih-menu-toggle__bar::before,
	.ih-menu-toggle__bar::after {
		display: block; width: 18px; height: 2px; background: var(--ih-ink);
		border-radius: 2px; position: relative; content: ""; transition: transform .2s ease;
	}
	.ih-menu-toggle__bar::before { position: absolute; top: -6px; }
	.ih-menu-toggle__bar::after { position: absolute; top: 6px; }
	.ih-menu-toggle[aria-expanded="true"] .ih-menu-toggle__bar { background: transparent; }
	.ih-menu-toggle[aria-expanded="true"] .ih-menu-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
	.ih-menu-toggle[aria-expanded="true"] .ih-menu-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }

	.ih-nav {
		display: none;
		position: absolute; inset: 100% 0 auto;
		flex-direction: column; align-items: stretch; gap: 12px;
		padding: 16px var(--ih-gutter) 20px;
		background: var(--ih-bg); border-bottom: 1px solid var(--ih-line);
	}
	.ih-nav.is-open { display: flex; }
	.ih-nav .menu { flex-direction: column; }
	.ih-search input { width: 100%; }
}

/* Theme toggle (light / dark) ------------------------------------------- */

.ih-theme-toggle {
	order: 2;
	display: grid; place-items: center;
	width: 44px; height: 44px; padding: 0;
	border: 1px solid var(--ih-line); border-radius: 12px;
	background: var(--ih-surface); color: var(--ih-ink); cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.ih-theme-toggle:hover { border-color: var(--ih-accent); color: var(--ih-accent); }
.ih-theme-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* The icon shows the mode the click switches to: moon while light, sun while dark. */
.ih-theme-toggle__sun { display: none; }
.ih-theme-toggle__moon { display: block; }
:root[data-theme="dark"] .ih-theme-toggle__sun { display: block; }
:root[data-theme="dark"] .ih-theme-toggle__moon { display: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .ih-theme-toggle__sun { display: block; }
	:root:not([data-theme="light"]) .ih-theme-toggle__moon { display: none; }
}
@media (max-width: 760px) {
	.ih-theme-toggle { order: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.ih-theme-toggle { transition: none; }
}

/* Home feature ---------------------------------------------------------- */

.ih-feature {
	position: relative;
	min-height: min(78vh, 720px);
	display: flex; align-items: flex-end;
	overflow: hidden;
	background: #2b2622;
	color: #fff;
}
.ih-feature__img {
	position: absolute; inset: 0;
	width: 100%; height: 100%; object-fit: cover;
	animation: ih-zoom 18s ease-out both;
}
.ih-feature::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgb(20 14 8 / 0%) 30%, rgb(20 14 8 / 82%) 100%);
}
.ih-feature__content {
	position: relative; z-index: 1;
	max-width: var(--ih-max); width: 100%;
	margin: 0 auto; padding: 48px var(--ih-gutter) clamp(40px, 7vw, 80px);
}
.ih-feature .ih-eyebrow { color: #f3c9a9; }
.ih-feature__title { margin: 0 0 12px; max-width: 18ch; font-size: clamp(2.1rem, 5.5vw, 4rem); color: #fff; }
.ih-feature__title a { color: inherit; text-decoration: none; }
.ih-feature__excerpt { max-width: 56ch; margin: 0 0 24px; font-size: 1.125rem; color: rgb(255 255 255 / 88%); }
.ih-feature--plain { background: var(--ih-paper); color: var(--ih-ink); min-height: 0; }
.ih-feature--plain::after { display: none; }
.ih-feature--plain .ih-eyebrow { color: var(--ih-accent); }
.ih-feature--plain .ih-feature__title,
.ih-feature--plain .ih-feature__excerpt { color: var(--ih-ink); }

@keyframes ih-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
	.ih-feature__img { animation: none; }
	html { scroll-behavior: auto; }
}

/* Listing ---------------------------------------------------------------- */

.ih-listing-head { padding: clamp(40px, 6vw, 64px) 0 24px; }
.ih-listing-title { margin: 0 0 16px; font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.ih-listing-desc { color: var(--ih-ink-soft); max-width: 60ch; }

.ih-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.ih-filter a {
	padding: 8px 16px; border-radius: 999px;
	border: 1px solid var(--ih-line); background: var(--ih-surface);
	font-family: var(--ih-font-ui); font-size: 0.875rem; font-weight: 500;
	color: var(--ih-ink); text-decoration: none;
}
.ih-filter a span { color: var(--ih-ink-soft); margin-left: 2px; }
.ih-filter a[aria-current] { background: var(--ih-ink); border-color: var(--ih-ink); color: var(--ih-bg); }
.ih-filter a[aria-current] span { color: inherit; opacity: .7; }

.ih-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: clamp(20px, 3vw, 32px);
	padding-bottom: 48px;
}

.ih-card {
	display: flex; flex-direction: column;
	background: var(--ih-surface);
	border-radius: var(--ih-radius);
	overflow: hidden;
	box-shadow: var(--ih-shadow);
	transition: transform .2s ease, box-shadow .2s ease;
}
.ih-card:hover { transform: translateY(-3px); }
.ih-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ih-paper); text-decoration: none; }
.ih-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ih-card:hover .ih-card__media img { transform: scale(1.04); }
.ih-card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.ih-card__title { margin: 0; font-size: 1.3rem; }
.ih-card__title a { color: var(--ih-ink); text-decoration: none; }
.ih-card__title a::after { content: ""; position: absolute; inset: 0; }
.ih-card { position: relative; }
.ih-card__excerpt { margin: 0; color: var(--ih-ink-soft); font-size: 1rem; line-height: 1.55; flex: 1; }
.ih-card .ih-badge { position: relative; z-index: 1; align-self: flex-start; }

.ih-fallback {
	display: grid; place-items: center; width: 100%; height: 100%;
	background:
		radial-gradient(circle at 20% 20%, rgb(255 255 255 / 35%), transparent 40%),
		linear-gradient(135deg, var(--ih-paper), color-mix(in srgb, var(--ih-accent) 25%, var(--ih-paper)));
	font-family: var(--ih-font-display); font-size: 1.5rem; color: var(--ih-ink-soft);
}

.ih-badge {
	display: inline-block;
	padding: 3px 10px; border-radius: 999px;
	background: color-mix(in srgb, var(--ih-sage) 16%, transparent);
	color: var(--ih-sage);
	font-family: var(--ih-font-ui); font-size: 0.75rem; font-weight: 600;
	letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
}
.ih-badge--humor { background: color-mix(in srgb, var(--ih-humor) 18%, transparent); color: var(--ih-humor); }

.ih-meta {
	display: inline-flex; flex-wrap: wrap; gap: 8px;
	font-family: var(--ih-font-ui); font-size: 0.8125rem; color: var(--ih-ink-soft);
}

.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding-bottom: 64px; }
.pagination .page-numbers {
	min-width: 42px; padding: 8px 12px; border-radius: 10px; text-align: center;
	font-family: var(--ih-font-ui); font-size: 0.9375rem;
	color: var(--ih-ink); text-decoration: none; background: var(--ih-surface); border: 1px solid var(--ih-line);
}
.pagination .page-numbers.current { background: var(--ih-ink); color: var(--ih-bg); border-color: var(--ih-ink); }
.pagination .page-numbers.dots { border: 0; background: none; }

.ih-empty { text-align: center; padding: 64px 0; }

/* Story hero ------------------------------------------------------------ */

.ih-hero {
	position: relative;
	min-height: min(72vh, 680px);
	display: flex; align-items: flex-end;
	background: #2b2622; color: #fff; overflow: hidden;
}
.ih-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ih-hero::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgb(20 14 8 / 5%) 25%, rgb(20 14 8 / 80%) 100%);
}
.ih-hero__content {
	position: relative; z-index: 1; width: 100%;
	max-width: var(--ih-wide); margin: 0 auto;
	padding: 48px var(--ih-gutter) clamp(32px, 5vw, 56px);
}
.ih-hero__title { margin: 12px 0; font-size: clamp(2rem, 5vw, 3.5rem); color: #fff; max-width: 20ch; }
.ih-hero .ih-meta { color: rgb(255 255 255 / 82%); }
.ih-hero .ih-badge { background: rgb(255 255 255 / 18%); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

.ih-hero--plain { min-height: 0; background: var(--ih-paper); color: var(--ih-ink); }
.ih-hero--plain::after { display: none; }
.ih-hero--plain .ih-hero__title { color: var(--ih-ink); }
.ih-hero--plain .ih-meta { color: var(--ih-ink-soft); }
.ih-hero--plain .ih-badge { background: color-mix(in srgb, var(--ih-sage) 16%, transparent); color: var(--ih-sage); }

.ih-hero__caption {
	max-width: var(--ih-wide); margin: 10px auto 0; padding: 0 var(--ih-gutter);
	font-family: var(--ih-font-ui); font-size: 0.8125rem; color: var(--ih-ink-soft);
	display: flex; flex-wrap: wrap; gap: 4px 12px;
}
.ih-hero__caption > span:first-child:not(.ih-credit) { font-style: italic; }

/* Story prose ------------------------------------------------------------ */

.ih-prose {
	max-width: var(--ih-measure);
	margin: 0 auto;
	padding: clamp(32px, 5vw, 56px) var(--ih-gutter) 24px;
	font-size: clamp(1.0625rem, 1vw + 0.8rem, 1.1875rem);
}
.ih-prose > * { margin-top: 0; margin-bottom: 1.25em; }
.ih-prose > p:first-of-type::first-letter {
	float: left;
	font-family: var(--ih-font-display); font-weight: 700;
	font-size: 3.6em; line-height: 0.85;
	padding: 0.06em 0.1em 0 0;
	color: var(--ih-accent);
}
.ih-prose h2 { font-size: 1.75rem; margin-top: 2em; }
.ih-prose h3 { font-size: 1.4rem; margin-top: 1.8em; }
.ih-prose em { color: var(--ih-ink); }
.ih-prose ul, .ih-prose ol { padding-left: 1.3em; }
.ih-prose li { margin-bottom: .4em; }
.ih-prose hr { border: 0; text-align: center; margin: 2.5em 0; }
.ih-prose hr::before { content: "❦"; color: var(--ih-accent); font-size: 1.4rem; }

.ih-prose blockquote {
	margin-left: 0; margin-right: 0;
	padding: 20px 24px;
	border-left: 4px solid var(--ih-accent);
	border-radius: 0 var(--ih-radius) var(--ih-radius) 0;
	background: var(--ih-paper);
	font-style: italic;
}
.ih-prose blockquote p:last-child { margin-bottom: 0; }

/* Images inside stories. Figures from the importer use .ih-figure. */
.ih-prose img { border-radius: 10px; }
.ih-prose figure,
.ih-prose .wp-caption { margin-left: 0; margin-right: 0; max-width: 100%; }
.ih-prose .alignleft, .ih-prose .alignright, .ih-prose .aligncenter { margin-left: auto; margin-right: auto; float: none; }

.ih-prose .ih-figure { margin: 2.2em 0; }
.ih-figure img { width: auto; max-width: 100%; max-height: 80vh; margin: 0 auto; }
.ih-prose .ih-figure--photo {
	width: min(var(--ih-wide), 100vw - 2 * var(--ih-gutter));
	margin-left: 50%;
	transform: translateX(-50%);
}
.ih-figure--photo img { border-radius: var(--ih-radius); box-shadow: var(--ih-shadow); }
.ih-figure--illustration {
	padding: 14px; background: var(--ih-paper);
	border: 1px solid var(--ih-line); border-radius: var(--ih-radius);
}
.ih-figure--illustration img { border-radius: 6px; }

.ih-prose figcaption,
.ih-prose .wp-caption-text {
	margin-top: 10px; padding: 0 2px;
	font-family: var(--ih-font-ui); font-size: 0.8125rem; line-height: 1.5;
	color: var(--ih-ink-soft);
}
.ih-figure--photo figcaption { max-width: var(--ih-measure); margin-left: auto; margin-right: auto; }
.ih-figure figcaption .ih-caption-text { display: block; font-family: var(--ih-font-body); font-style: italic; font-size: 0.9375rem; color: var(--ih-ink); }

.ih-prose .ih-source {
	margin-top: 2.5em; padding-top: 1em; border-top: 1px solid var(--ih-line);
	font-family: var(--ih-font-ui); color: var(--ih-ink-soft);
}

.ih-credit { opacity: .8; }
.ih-credit a { color: inherit; }

/* Story footer ----------------------------------------------------------- */

.ih-story__footer { max-width: var(--ih-measure); margin: 0 auto; padding: 8px var(--ih-gutter) 40px; }

.ih-share {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
	padding: 20px 0; border-top: 1px solid var(--ih-line); border-bottom: 1px solid var(--ih-line);
	font-family: var(--ih-font-ui); font-size: 0.875rem;
}
.ih-share > span { margin-right: 4px; color: var(--ih-ink-soft); }
.ih-share__btn {
	padding: 8px 14px; border-radius: 999px;
	border: 1px solid var(--ih-line); background: var(--ih-surface);
	color: var(--ih-ink); font: inherit; font-weight: 500; text-decoration: none; cursor: pointer;
}
.ih-share__btn--whatsapp { background: #1f8a4c; border-color: #1f8a4c; color: #fff; }
.ih-share__btn:hover { border-color: var(--ih-ink-soft); }

.ih-tags a {
	display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; border-radius: 999px;
	background: var(--ih-paper); color: var(--ih-ink-soft);
	font-family: var(--ih-font-ui); font-size: 0.8125rem; text-decoration: none;
}

.ih-adjacent {
	max-width: var(--ih-wide); margin: 0 auto 24px; padding: 0 var(--ih-gutter);
	display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.ih-adjacent__link {
	display: flex; align-items: center; gap: 14px;
	padding: 12px; border-radius: var(--ih-radius);
	background: var(--ih-surface); box-shadow: var(--ih-shadow);
	color: var(--ih-ink); text-decoration: none;
	font-family: var(--ih-font-display); font-weight: 500; line-height: 1.3;
}
.ih-adjacent__link img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.ih-adjacent__link small { display: block; margin-bottom: 4px; font-family: var(--ih-font-ui); font-size: 0.75rem; color: var(--ih-ink-soft); }
.ih-adjacent__link--next { flex-direction: row-reverse; text-align: right; }
@media (max-width: 640px) { .ih-adjacent { grid-template-columns: 1fr; } }

.ih-related { padding-top: 40px; }

/* Comments --------------------------------------------------------------- */

.ih-comments-wrap { max-width: var(--ih-measure); padding-bottom: 56px; }
.ih-comments__list { list-style: none; padding: 0; }
.ih-comments__list .comment-body { padding: 16px 0; border-bottom: 1px solid var(--ih-line); }
.ih-comments__list .avatar { border-radius: 50%; float: left; margin-right: 12px; }
.ih-comments input:not([type="submit"]):not([type="checkbox"]),
.ih-comments textarea {
	width: 100%; padding: 12px 14px;
	border: 1px solid var(--ih-line); border-radius: 10px;
	background: var(--ih-surface); color: var(--ih-ink); font: inherit;
}

/* Footer ----------------------------------------------------------------- */

.ih-footer { margin-top: 32px; background: var(--ih-paper); border-top: 1px solid var(--ih-line); }
.ih-footer__inner {
	max-width: var(--ih-max); margin: 0 auto; padding: 48px var(--ih-gutter) 24px;
	display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between;
}
.ih-footer__name { margin: 0 0 4px; font-family: var(--ih-font-display); font-size: 1.4rem; font-weight: 700; }
.ih-footer__about p:last-child { margin: 0; color: var(--ih-ink-soft); }
.ih-footer__widgets {
	flex: 1 1 360px; max-width: 640px;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px 32px;
}
.ih-footer__widgets .widget { margin: 0; }
.ih-footer__widgets h2 {
	margin: 0 0 12px; font-family: var(--ih-font-ui); font-size: 0.8125rem; font-weight: 600;
	letter-spacing: 0.06em; text-transform: uppercase; color: var(--ih-ink-soft);
}
.ih-footer__widgets ul { list-style: none; margin: 0; padding: 0; font-family: var(--ih-font-ui); font-size: 0.9375rem; }
.ih-footer__widgets li { margin: 0 0 8px; }
.ih-footer__widgets .wp-block-archives-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.ih-footer__widgets a { color: var(--ih-ink); text-decoration: none; }
.ih-footer__widgets a:hover { color: var(--ih-accent); text-decoration: underline; }
.ih-footer__widgets select { max-width: 100%; font: inherit; }
.ih-count { color: var(--ih-ink-soft); font-size: 0.8125rem; }
.ih-footer__nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; }
.ih-footer__nav a { color: var(--ih-ink); font-family: var(--ih-font-ui); font-size: 0.9375rem; }
.ih-footer__fine {
	max-width: var(--ih-max); margin: 0 auto; padding: 16px var(--ih-gutter) 32px;
	font-family: var(--ih-font-ui); font-size: 0.8125rem; color: var(--ih-ink-soft);
}
