/* ============================================================================
   Blog / News index, single post, and archive specifics.
   Reuses card classes from blog.css (.hmd-imgph, .hmd-wh-card, .hmd-card__meta,
   .hmd-wh-grid, .hmd-editorial__title) and heading classes from directory.css
   (.hmd-page-heading*). Tokens/aliases come from app.css.
   ========================================================================== */

/* ── Index heading spacing ────────────────────────────────────────────────*/
.hmd-blog-index__heading .hmd-eyebrow { margin-bottom: 1rem; }

/* ── Card read-more link ──────────────────────────────────────────────────*/
.hmd-wh-card__body .hmd-wh-card__more {
	margin-top: 0.25rem;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--magenta);
	text-decoration: none;
	align-self: flex-start;
}
.hmd-wh-card__body .hmd-wh-card__more:hover { color: var(--ink); text-decoration: none; }

/* ── Pagination ───────────────────────────────────────────────────────────*/
.hmd-blog-index__pagination {
	margin-top: 3rem;
	gap: 0.5rem;
	align-items: center;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 0.875rem;
}
.hmd-blog-index__pagination a,
.hmd-blog-index__pagination .wp-block-query-pagination-numbers .page-numbers {
	color: var(--ink);
	text-decoration: none;
	padding: 0.4rem 0.75rem;
	border-radius: 8px;
}
.hmd-blog-index__pagination a:hover { color: var(--magenta); }
.hmd-blog-index__pagination .page-numbers.current {
	background: var(--magenta);
	color: #fff;
}

/* ============================================================================
   Single post
   ========================================================================== */
.hmd-post {
	max-width: 760px;
	margin-inline: auto;
}

/* ── Post header ──────────────────────────────────────────────────────────*/
.hmd-post__header { margin-bottom: 0.5rem; }
.hmd-post__cat { margin: 0 0 1.25rem; }
.hmd-post__cat a {
	display: inline-flex;
	align-items: center;
	background: var(--magenta);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 0.6875rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	padding: 0.4rem 0.8rem;
	border-radius: 999px;
	text-decoration: none;
}
.hmd-post__cat a:hover { background: var(--ink); color: var(--yellow); }
.hmd-post__title {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	line-height: 1;
	letter-spacing: -0.03em;
	margin: 0 0 1.25rem;
}
.hmd-post__meta {
	gap: 0.75rem;
	align-items: center;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.8125rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--ink-soft);
}
.hmd-post__meta .wp-block-post-author-name::before {
	content: "·";
	margin-right: 0.75rem;
	color: var(--ink-soft);
}

/* ── Featured image / fallback ────────────────────────────────────────────*/
.hmd-post__hero.hmd-imgph {
	aspect-ratio: 16 / 9;
	border-radius: 14px;
}

/* ── Post content typography (readable column) ────────────────────────────*/
.hmd-post__content { font-size: 1.0625rem; line-height: 1.75; color: var(--ink); }
.hmd-post__content > * + * { margin-top: 1.4rem; }
.hmd-post__content h2,
.hmd-post__content h3,
.hmd-post__content h4 {
	font-family: var(--font-display);
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1.1;
	margin-top: 2.5rem;
}
.hmd-post__content h2 { font-size: clamp(1.75rem, 3vw, 2.125rem); }
.hmd-post__content h3 { font-size: clamp(1.375rem, 2.4vw, 1.625rem); }
.hmd-post__content a { color: var(--magenta); text-decoration: underline; text-underline-offset: 2px; }
.hmd-post__content a:hover { color: var(--ink); }
.hmd-post__content blockquote {
	border-left: 3px solid var(--magenta);
	padding-left: 1.25rem;
	margin-left: 0;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.25rem;
	line-height: 1.35;
	color: var(--ink);
}
.hmd-post__content ul,
.hmd-post__content ol { padding-left: 1.25rem; }
.hmd-post__content img { border-radius: 12px; }

/* ── Tags ─────────────────────────────────────────────────────────────────*/
.hmd-post__tags {
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
	font-size: 0.8125rem;
	color: var(--ink-soft);
}
.hmd-post__tags .wp-block-post-terms a {
	color: var(--ink-soft);
	font-weight: 700;
	text-decoration: none;
}
.hmd-post__tags .wp-block-post-terms a:hover { color: var(--magenta); }

/* ── Related strip ────────────────────────────────────────────────────────*/
.hmd-post-related__head { max-width: 640px; margin-bottom: 1.75rem; }
.hmd-post-related__head .hmd-editorial__title { margin: 0; }
