/*!
 * Hoof Journal — plugin styles
 * Loaded only on blog / archive / search pages.
 * Uses the tokens already defined in style.css (--cream, --green-deep, --r, --sh …).
 */

/* ==========================================================================
   Base
   ========================================================================== */
.hmj-site-main {
	background: var(--cream);
	padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

/* Zero-specificity reset so component classes below always win. */
.hmj-site-main :where(h1, h2, h3, h4) {
	margin: 0;
}

.hmj-site-main .hm-head__title { margin: 1rem 0 0; }
.hmj-site-main .hm-head__sub { margin: .8rem 0 0; }

.hmj-noimg {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	font-size: 2.6rem;
	background: linear-gradient(135deg, var(--pink), var(--sky));
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.hmj-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .45rem;
	font-size: .82rem;
	font-weight: 700;
	color: var(--muted);
	margin-bottom: 1.2rem;
}
.hmj-crumbs a { color: var(--muted); text-decoration: none; }
.hmj-crumbs a:hover { color: var(--green); text-decoration: underline; }
.hmj-crumbs span[aria-hidden] { color: var(--pink); }
.hmj-crumbs__now { color: var(--coral); }

/* ==========================================================================
   Journal hero
   ========================================================================== */
.hmj-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(2rem, 5vw, 3.4rem) 0 clamp(1.6rem, 4vw, 2.6rem);
}
.hmj-hero--sub { padding-bottom: clamp(1.2rem, 3vw, 2rem); }

.hmj-hero__blob { position: absolute; border-radius: 50%; z-index: 0; filter: blur(6px); }
.hmj-hero__blob--1 { width: 380px; height: 380px; background: var(--pink); top: -170px; right: -110px; opacity: .55; }
.hmj-hero__blob--2 { width: 280px; height: 280px; background: var(--sky); bottom: -160px; left: -120px; opacity: .38; }
.hmj-hero > .hm-wrap { position: relative; z-index: 1; }

.hmj-hero .hm-head { margin-bottom: 1.8rem; }
.hmj-hero--sub .hm-head { max-width: 780px; }

/* ==========================================================================
   Category chips
   ========================================================================== */
.hmj-filter {
	display: flex;
	flex-wrap: wrap;
	gap: .55rem;
	justify-content: center;
}
.hmj-filter__chip {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	background: #fff;
	border: 2px solid transparent;
	color: var(--ink);
	font-weight: 800;
	font-size: .88rem;
	padding: .5rem 1.05rem;
	border-radius: 999px;
	text-decoration: none;
	box-shadow: var(--sh);
	transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.hmj-filter__chip:hover { border-color: var(--pink); color: var(--green-deep); }
.hmj-filter__chip.is-active { background: var(--green); color: #fff; }
.hmj-filter__n {
	font-size: .72rem;
	font-weight: 800;
	background: var(--cream);
	color: var(--muted);
	border-radius: 999px;
	padding: .05rem .45rem;
}
.hmj-filter__chip.is-active .hmj-filter__n { background: rgba(255, 255, 255, .22); color: #fff; }
@media (prefers-reduced-motion: no-preference) {
	.hmj-filter__chip:hover { transform: translateY(-2px); }
}

/* ==========================================================================
   Listing
   ========================================================================== */
.hmj-list {
	background: var(--paper);
	padding: clamp(2rem, 4.5vw, 3.4rem) 0 clamp(2.4rem, 5vw, 4rem);
}

/* Featured post ---------------------------------------------------------- */
.hmj-feat {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	background: var(--cream);
	border: 2px solid #fff;
	border-radius: var(--r);
	overflow: hidden;
	box-shadow: var(--sh);
	margin-bottom: clamp(1.6rem, 3.5vw, 2.6rem);
	transition: box-shadow .2s ease;
}
.hmj-feat:hover { box-shadow: var(--sh-lg); }
.hmj-feat__img { display: block; aspect-ratio: 16/10; overflow: hidden; }
.hmj-feat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
@media (prefers-reduced-motion: no-preference) {
	.hmj-feat:hover .hmj-feat__img img { transform: scale(1.04); }
}
.hmj-feat__body {
	padding: clamp(1.4rem, 3vw, 2.4rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.hmj-feat__title {
	font-size: clamp(1.6rem, 3.2vw, 2.3rem);
	line-height: 1.15;
	margin: 0 0 .7rem;
}
.hmj-feat__title a { color: var(--green-deep); text-decoration: none; }
.hmj-feat__title a:hover { color: var(--coral); }
.hmj-feat__excerpt {
	color: var(--muted);
	font-weight: 600;
	font-size: 1.02rem;
	margin: 0 0 1.5rem;
	text-wrap: pretty;
}
.hmj-feat .hm-btn { align-self: flex-start; }

@media (min-width: 860px) {
	.hmj-feat { grid-template-columns: 1.05fr .95fr; }
	.hmj-feat__img { aspect-ratio: auto; height: 100%; }
}

/* Card tweaks (built on the existing .hm-post styles) -------------------- */
.hmj-grid .hm-post__date {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .35rem;
}
.hmj-grid .hm-post__date span { color: var(--pink); }

/* Pagination ------------------------------------------------------------- */
.hmj-pager {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .5rem;
	margin-top: clamp(2rem, 4vw, 3rem);
}
.hmj-pager .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 46px;
	height: 46px;
	padding: 0 .9rem;
	border-radius: 999px;
	background: #fff;
	color: var(--ink);
	font-weight: 800;
	text-decoration: none;
	box-shadow: var(--sh);
	transition: transform .18s ease, background-color .18s ease, color .18s ease;
}
.hmj-pager .page-numbers:hover { background: var(--amber); color: var(--ink); }
.hmj-pager .page-numbers.current { background: var(--green); color: #fff; }
.hmj-pager .page-numbers.dots { background: transparent; box-shadow: none; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
	.hmj-pager .page-numbers:not(.dots):hover { transform: translateY(-2px); }
}

/* Empty state ------------------------------------------------------------ */
.hmj-empty {
	text-align: center;
	max-width: 560px;
	margin: clamp(1rem, 4vw, 2.5rem) auto;
	background: var(--cream);
	border: 2px solid #fff;
	border-radius: var(--r);
	box-shadow: var(--sh);
	padding: clamp(2rem, 5vw, 3.2rem) 1.6rem;
}
.hmj-empty__ic { font-size: 2.8rem; display: block; margin-bottom: .8rem; }
.hmj-empty__title { font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--green-deep); margin: 0 0 .6rem; }
.hmj-empty__text { color: var(--muted); font-weight: 600; margin: 0 0 1.6rem; text-wrap: pretty; }
.hmj-empty__btns { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.hmj-empty__search { margin-bottom: 1.6rem; }

/* ==========================================================================
   Search form
   ========================================================================== */
.hmj-searchbar { max-width: 520px; margin: 0 auto; }
.hmj-site-main .search-form {
	display: flex;
	gap: .6rem;
	align-items: stretch;
}
.hmj-site-main .search-form label { flex: 1; display: block; }
.hmj-site-main .search-field {
	width: 100%;
	min-height: 50px;
	padding: .7rem 1.2rem;
	font-family: 'Nunito', sans-serif;
	font-size: 1rem;
	font-weight: 600;
	color: var(--ink);
	background: #fff;
	border: 2px solid var(--pink);
	border-radius: 999px;
}
.hmj-site-main .search-field::placeholder { color: #b0a999; }
.hmj-site-main .search-submit {
	min-height: 50px;
	padding: 0 1.5rem;
	border: none;
	border-radius: 999px;
	background: var(--green);
	color: #fff;
	font-family: 'Nunito', sans-serif;
	font-weight: 800;
	cursor: pointer;
	transition: background-color .18s ease;
}
.hmj-site-main .search-submit:hover { background: var(--green-deep); }

/* ==========================================================================
   Reading progress bar
   ========================================================================== */
.hmj-progress {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	z-index: 200;
	background: transparent;
	pointer-events: none;
}
.hmj-progress__bar {
	display: block;
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, var(--coral), var(--amber));
	border-radius: 0 999px 999px 0;
	transition: width .1s linear;
}
@media (prefers-reduced-motion: reduce) {
	.hmj-progress__bar { transition: none; }
}

/* ==========================================================================
   Single post — header
   ========================================================================== */
.hmj-article__head { padding: clamp(1.6rem, 4vw, 2.8rem) 0 clamp(1.2rem, 3vw, 2rem); }
.hmj-article__head-inner { max-width: 780px; }

.hmj-article__cats { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1rem; }
.hm-chip--link { text-decoration: none; transition: background-color .18s ease, color .18s ease; }
.hm-chip--link:hover { background: var(--green); border-color: var(--green); color: #fff; }

.hmj-article__title {
	font-size: clamp(2rem, 5vw, 3.15rem);
	line-height: 1.08;
	color: var(--green-deep);
	margin: 0 0 .9rem;
	text-wrap: balance;
}
.hmj-article__standfirst {
	font-size: clamp(1.05rem, 2vw, 1.22rem);
	font-weight: 600;
	color: var(--muted);
	margin: 0 0 1.6rem;
	text-wrap: pretty;
}

/* Meta line -------------------------------------------------------------- */
.hmj-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .7rem;
	font-weight: 700;
	font-size: .9rem;
	color: var(--muted);
}
.hmj-meta__author {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	text-decoration: none;
	color: inherit;
}
.hmj-meta__author strong { display: block; color: var(--green-deep); font-size: .95rem; }
.hmj-meta__author small { display: block; color: var(--muted); font-weight: 700; font-size: .76rem; }
.hmj-meta__author:hover strong { color: var(--coral); }
.hmj-meta__sep { width: 5px; height: 5px; border-radius: 50%; background: var(--pink); }
.hmj-meta__item { white-space: nowrap; }

.hmj-avatar {
	border-radius: 14px;
	background: var(--cream);
	object-fit: cover;
	box-shadow: var(--sh);
	transform: rotate(-5deg);
	flex: none;
}

/* Cover image ------------------------------------------------------------ */
.hmj-article__cover {
	margin: 0 0 clamp(1.6rem, 4vw, 2.6rem);
	border-radius: var(--r);
	overflow: hidden;
	border: 6px solid #fff;
	box-shadow: var(--sh-lg);
}
.hmj-article__cover img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.hmj-article__cover figcaption {
	padding: .75rem 1.2rem;
	background: var(--paper);
	color: var(--muted);
	font-size: .84rem;
	font-weight: 600;
	text-align: center;
}

/* ==========================================================================
   Single post — layout
   ========================================================================== */
.hmj-article__layout {
	display: grid;
	gap: 2rem;
	align-items: start;
}
.hmj-article__body { order: 0; min-width: 0; }
.hmj-article__side { order: -1; min-width: 0; }
.hmj-article__side-share { display: none; }

@media (min-width: 1020px) {
	.hmj-article__layout { grid-template-columns: minmax(0, 1fr) 288px; gap: 3.5rem; }
	.hmj-article__side { order: 0; position: sticky; top: 96px; }
	.hmj-article__side-share { display: block; margin-top: 1.2rem; }
	.hmj-article__sharefoot { display: none; }
}

/* ==========================================================================
   Table of contents — the sticky rail
   ========================================================================== */
.hmj-toc {
	background: var(--paper);
	border: 2px solid #fff;
	border-radius: var(--r-sm);
	box-shadow: var(--sh);
	padding: 1.1rem 1.25rem;
}
.hmj-toc__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	cursor: pointer;
	list-style: none;
	font-family: 'Fredoka', sans-serif;
	font-weight: 600;
	font-size: 1.02rem;
	color: var(--green-deep);
}
.hmj-toc__summary::-webkit-details-marker { display: none; }
.hmj-toc__chev { width: 18px; height: 18px; color: var(--coral); transition: transform .2s ease; flex: none; }
.hmj-toc[open] .hmj-toc__chev { transform: rotate(180deg); }

.hmj-toc__list {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0 0 0 .9rem;
	border-left: 2px solid rgba(53, 107, 46, .12);
	display: grid;
	gap: .1rem;
}
.hmj-toc__item a {
	position: relative;
	display: block;
	padding: .38rem 0;
	font-size: .88rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--muted);
	text-decoration: none;
	transition: color .18s ease;
}
.hmj-toc__item--h3 a { padding-left: .85rem; font-size: .83rem; }
.hmj-toc__item a::before {
	content: "";
	position: absolute;
	left: -1.02rem;
	top: 50%;
	width: 3px;
	height: 0;
	border-radius: 999px;
	background: var(--amber);
	transform: translateY(-50%);
	transition: height .22s ease;
}
.hmj-toc__item a:hover { color: var(--green-deep); }
.hmj-toc__item a.is-active { color: var(--green-deep); }
.hmj-toc__item a.is-active::before { height: 72%; }
@media (prefers-reduced-motion: reduce) {
	.hmj-toc__item a::before { transition: none; }
}

@media (min-width: 1020px) {
	.hmj-toc__summary { cursor: default; pointer-events: none; }
	.hmj-toc__chev { display: none; }
	.hmj-toc__list { max-height: calc(100vh - 260px); overflow-y: auto; }
}

/* ==========================================================================
   Share
   ========================================================================== */
.hmj-share {
	background: var(--paper);
	border: 2px solid #fff;
	border-radius: var(--r-sm);
	box-shadow: var(--sh);
	padding: 1rem 1.25rem 1.15rem;
}
.hmj-article__sharefoot { margin-top: 2rem; }
.hmj-share__title {
	margin: 0 0 .75rem;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--muted);
}
.hmj-share__row { display: flex; flex-wrap: wrap; gap: .5rem; }
.hmj-share__btn {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: none;
	border-radius: 13px;
	background: var(--cream);
	color: var(--green-deep);
	cursor: pointer;
	box-shadow: var(--sh);
	transition: transform .18s ease, background-color .18s ease, color .18s ease;
}
.hmj-share__btn svg { width: 19px; height: 19px; }
.hmj-share__btn:hover { background: var(--amber); color: var(--ink); }
.hmj-share__btn.is-copied { background: var(--green); color: #fff; }
@media (prefers-reduced-motion: no-preference) {
	.hmj-share__btn:hover { transform: translateY(-3px); }
}

/* ==========================================================================
   Article content
   ========================================================================== */
.hmj-article__content {
	font-size: 1.075rem;
	line-height: 1.82;
	color: #4a4740;
	font-weight: 500;
}
.hmj-article__content > *:first-child { margin-top: 0; }
.hmj-article__content p { margin: 0 0 1.35rem; text-wrap: pretty; }
.hmj-article__content a { color: var(--green-deep); text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hmj-article__content a:hover { color: var(--coral); text-decoration-color: var(--coral); }
.hmj-article__content strong { color: var(--ink); font-weight: 800; }

.hmj-article__content h2,
.hmj-article__content h3,
.hmj-article__content h4 {
	font-family: 'Fredoka', system-ui, sans-serif;
	font-weight: 600;
	color: var(--green-deep);
	letter-spacing: -0.01em;
	line-height: 1.22;
	scroll-margin-top: 100px;
}
.hmj-article__content h2 {
	position: relative;
	font-size: clamp(1.45rem, 3vw, 1.85rem);
	margin: 2.6rem 0 1.5rem;
	padding-bottom: .7rem;
}
.hmj-article__content h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 44px;
	height: 4px;
	border-radius: 999px;
	background: var(--amber);
}
.hmj-article__content h3 { font-size: clamp(1.2rem, 2.4vw, 1.4rem); margin: 2rem 0 .8rem; }
.hmj-article__content h4 { font-size: 1.1rem; margin: 1.6rem 0 .6rem; color: var(--ink); }

.hmj-article__content ul,
.hmj-article__content ol { margin: 0 0 1.35rem; padding-left: 1.4rem; }
.hmj-article__content li { margin-bottom: .5rem; }
.hmj-article__content ul { list-style: none; padding-left: 1.5rem; }
.hmj-article__content ul li { position: relative; }
.hmj-article__content ul li::before {
	content: "";
	position: absolute;
	left: -1.15rem;
	top: .72em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--green);
}
.hmj-article__content ul ul { margin: .5rem 0 0; }

.hmj-article__content blockquote {
	margin: 2rem 0;
	padding: 1.3rem 1.5rem;
	background: var(--paper);
	border-left: 5px solid var(--coral);
	border-radius: 0 var(--r-sm) var(--r-sm) 0;
	font-family: 'Fredoka', sans-serif;
	font-size: 1.15rem;
	line-height: 1.55;
	color: var(--green-deep);
}
.hmj-article__content blockquote p:last-child { margin-bottom: 0; }
.hmj-article__content blockquote cite {
	display: block;
	margin-top: .7rem;
	font-family: 'Nunito', sans-serif;
	font-style: normal;
	font-size: .82rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--coral);
}

.hmj-article__content img {
	border-radius: var(--r-sm);
	border: 4px solid #fff;
	box-shadow: var(--sh);
}
.hmj-article__content figure { margin: 2rem 0; }
.hmj-article__content figcaption,
.hmj-article__content .wp-caption-text {
	margin-top: .6rem;
	font-size: .84rem;
	font-weight: 600;
	color: var(--muted);
	text-align: center;
}

.hmj-article__content hr {
	border: 0;
	height: 2px;
	background: rgba(53, 107, 46, .12);
	margin: 2.5rem 0;
	border-radius: 999px;
}

.hmj-article__content table {
	width: 100%;
	border-collapse: collapse;
	margin: 2rem 0;
	font-size: .95rem;
	background: var(--paper);
	border-radius: var(--r-sm);
	overflow: hidden;
	box-shadow: var(--sh);
}
.hmj-article__content th {
	background: var(--green-deep);
	color: #fff;
	font-weight: 800;
	font-size: .74rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-align: left;
	padding: .85rem 1.1rem;
}
.hmj-article__content td { padding: .75rem 1.1rem; border-top: 1px solid rgba(53, 107, 46, .1); }
.hmj-article__content tbody tr:nth-child(even) td { background: var(--cream); }

.hmj-article__content pre {
	background: var(--ink);
	color: #f4f1e8;
	padding: 1.2rem 1.4rem;
	border-radius: var(--r-sm);
	overflow-x: auto;
	font-size: .9rem;
	line-height: 1.6;
	margin: 1.8rem 0;
}
.hmj-article__content code {
	font-size: .9em;
	background: var(--paper);
	padding: .12em .4em;
	border-radius: 6px;
	color: var(--coral);
}
.hmj-article__content pre code { background: none; color: inherit; padding: 0; }

/* Classic editor alignment classes --------------------------------------- */
.hmj-article__content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.hmj-article__content .alignleft { float: left; margin: .4rem 1.6rem 1.2rem 0; max-width: 50%; }
.hmj-article__content .alignright { float: right; margin: .4rem 0 1.2rem 1.6rem; max-width: 50%; }
.hmj-article__content .wp-caption { max-width: 100%; }
.hmj-article__content .wp-caption img { margin-bottom: 0; }
.hmj-article__content::after { content: ""; display: table; clear: both; }
@media (max-width: 620px) {
	.hmj-article__content .alignleft,
	.hmj-article__content .alignright { float: none; margin: 1.4rem auto; max-width: 100%; }
}

/* ==========================================================================
   Tags
   ========================================================================== */
.hmj-article__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem;
	margin-top: 2.2rem;
	padding-top: 1.6rem;
	border-top: 2px solid rgba(53, 107, 46, .1);
}
.hmj-article__tags-label {
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--muted);
	margin-right: .2rem;
}
.hmj-article__tags a {
	background: var(--paper);
	border: 1.5px solid var(--pink);
	color: var(--ink);
	font-weight: 700;
	font-size: .8rem;
	padding: .28rem .8rem;
	border-radius: 999px;
	text-decoration: none;
	transition: background-color .18s ease, color .18s ease;
}
.hmj-article__tags a:hover { background: var(--green); border-color: var(--green); color: #fff; }

/* ==========================================================================
   Author box
   ========================================================================== */
.hmj-authorbox {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
	margin-top: 2.4rem;
	padding: clamp(1.4rem, 3vw, 2rem);
	background: var(--paper);
	border: 2px solid #fff;
	border-radius: var(--r);
	box-shadow: var(--sh);
}
.hmj-authorbox__photo { flex: none; }
.hmj-authorbox__text { flex: 1; min-width: 0; }
.hmj-authorbox__photo .hmj-avatar { width: 96px; height: 96px; border-radius: 24px; }
.hmj-authorbox__eyebrow {
	margin: 0 0 .25rem;
	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
}
.hmj-authorbox__name { font-size: 1.35rem; margin: 0 0 .1rem; }
.hmj-authorbox__name a { color: var(--green-deep); text-decoration: none; }
.hmj-authorbox__name a:hover { color: var(--coral); }
.hmj-authorbox__role {
	margin: 0 0 .8rem;
	font-size: .8rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--coral);
}
.hmj-authorbox__bio { color: var(--muted); font-weight: 600; font-size: .96rem; }
.hmj-authorbox__bio p { margin: 0 0 .7rem; }
.hmj-authorbox__bio p:last-child { margin-bottom: 0; }
.hmj-authorbox__links { display: flex; gap: .5rem; margin-top: 1rem; }
.hmj-authorbox__links a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: var(--cream);
	color: var(--green-deep);
	box-shadow: var(--sh);
	transition: transform .18s ease, background-color .18s ease, color .18s ease;
}
.hmj-authorbox__links svg { width: 18px; height: 18px; }
.hmj-authorbox__links a:hover { background: var(--amber); color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
	.hmj-authorbox__links a:hover { transform: translateY(-3px); }
}
@media (min-width: 620px) {
	.hmj-authorbox { flex-direction: row; gap: 1.6rem; }
}

/* Author archive hero ---------------------------------------------------- */
.hmj-authorhero {
	display: flex;
	flex-direction: column;
	gap: 1.4rem;
	align-items: flex-start;
	max-width: 820px;
}
.hmj-authorhero__photo .hmj-avatar { width: 120px; height: 120px; border-radius: 30px; }
.hmj-authorhero__name { font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--green-deep); margin: .9rem 0 .2rem; }
.hmj-authorhero__role {
	margin: 0 0 .9rem;
	font-size: .82rem;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--coral);
}
.hmj-authorhero__bio { color: var(--muted); font-weight: 600; text-wrap: pretty; }
.hmj-authorhero__bio p { margin: 0 0 .8rem; }
@media (min-width: 720px) {
	.hmj-authorhero { flex-direction: row; gap: 2rem; align-items: center; }
}

/* ==========================================================================
   Prev / next
   ========================================================================== */
.hmj-postnav {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin-top: clamp(2.4rem, 5vw, 3.5rem);
	margin-bottom: clamp(1rem, 3vw, 2rem);
}
.hmj-postnav__card {
	display: flex;
	flex-direction: column;
	gap: .4rem;
	padding: 1.2rem 1.4rem;
	background: var(--paper);
	border: 2px solid #fff;
	border-radius: var(--r-sm);
	box-shadow: var(--sh);
	text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease;
}
.hmj-postnav__card:hover { box-shadow: var(--sh-lg); }
@media (prefers-reduced-motion: no-preference) {
	.hmj-postnav__card:hover { transform: translateY(-4px); }
}
.hmj-postnav__label {
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--coral);
}
.hmj-postnav__title {
	font-family: 'Fredoka', sans-serif;
	font-weight: 600;
	font-size: 1.08rem;
	line-height: 1.3;
	color: var(--green-deep);
}
.hmj-postnav__card--next { text-align: right; }
@media (min-width: 700px) {
	.hmj-postnav { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Related posts
   ========================================================================== */
.hmj-related {
	background: var(--paper);
	padding: clamp(2.4rem, 5vw, 3.8rem) 0;
}
.hmj-related .hm-head { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.hmj-related .hm-head__title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }

/* ==========================================================================
   Comments
   ========================================================================== */
.hmj-comments-wrap { padding: clamp(2rem, 4vw, 3rem) 0; }
.hmj-comments { max-width: 780px; }
.hmj-comments__title { font-size: 1.5rem; color: var(--green-deep); margin: 0 0 1.4rem; }
.hmj-comments__list,
.hmj-comments__list .children { list-style: none; margin: 0; padding: 0; }
.hmj-comments__list .children { margin-left: 1.2rem; padding-left: 1.2rem; border-left: 2px solid rgba(53, 107, 46, .12); }
.hmj-comments__list li.comment { margin-bottom: 1.2rem; }
.hmj-comments__list article {
	background: var(--paper);
	border: 2px solid #fff;
	border-radius: var(--r-sm);
	box-shadow: var(--sh);
	padding: 1.2rem 1.4rem;
}
.hmj-comments__list .comment-meta { display: flex; align-items: center; gap: .7rem; margin-bottom: .7rem; }
.hmj-comments__list .avatar { border-radius: 12px; }
.hmj-comments__list .fn { font-family: 'Fredoka', sans-serif; font-style: normal; font-weight: 600; color: var(--green-deep); }
.hmj-comments__list .comment-metadata a { font-size: .78rem; font-weight: 700; color: var(--muted); text-decoration: none; }
.hmj-comments__list .comment-content { color: var(--muted); font-weight: 600; }
.hmj-comments__list .reply a {
	display: inline-block;
	margin-top: .6rem;
	font-size: .8rem;
	font-weight: 800;
	color: var(--coral);
	text-decoration: none;
}
.hmj-comments__closed { color: var(--muted); font-weight: 700; }

.hmj-comments .comment-respond { margin-top: 2rem; }
.hmj-comments .comment-reply-title { font-family: 'Fredoka', sans-serif; font-size: 1.4rem; color: var(--green-deep); margin: 0 0 .8rem; }
.hmj-cform__note { color: var(--muted); font-weight: 600; font-size: .9rem; margin: 0 0 1.2rem; }
.hmj-comments label { display: block; font-weight: 800; font-size: .82rem; color: var(--ink); margin-bottom: .35rem; }
.hmj-comments input[type="text"],
.hmj-comments input[type="email"],
.hmj-comments input[type="url"],
.hmj-comments textarea {
	width: 100%;
	padding: .75rem 1.1rem;
	font-family: 'Nunito', sans-serif;
	font-size: 1rem;
	font-weight: 600;
	color: var(--ink);
	background: #fff;
	border: 2px solid var(--pink);
	border-radius: var(--r-sm);
}
.hmj-comments textarea { min-height: 140px; resize: vertical; }
.hmj-comments p { margin: 0 0 1rem; }
.hmj-comments .required { color: var(--coral); }
.hmj-comments .comment-form-cookies-consent { display: flex; align-items: center; gap: .5rem; }
.hmj-comments .comment-form-cookies-consent input { width: auto; }
.hmj-comments .comment-form-cookies-consent label { margin: 0; font-weight: 600; font-size: .88rem; color: var(--muted); }

/* ==========================================================================
   Print
   ========================================================================== */
@media print {
	.hmj-progress,
	.hmj-article__side,
	.hmj-article__sharefoot,
	.hmj-related,
	.hmj-postnav,
	.hm-cta,
	.hm-anno,
	.hm-header,
	.hm-footer { display: none !important; }
	.hmj-article__content { font-size: 11pt; color: #000; }
}
