/**
 * Journal (blog) — mirrors the structure of service-menu.css so the
 * archive, single post, related strip and comments feel native.
 *
 * Layout primitives:
 *   .hbn-blog-archive            archive page wrapper
 *   .hbn-blog-archive__hero      aubergine hero band (same proportions as services)
 *   .hbn-blog-archive__intro     optional rich-text intro (category description, etc)
 *   .hbn-blog-archive__section   posts block (matches .hbn-services-archive__section)
 *   .hbn-blog-grid               responsive card grid
 *   .hbn-blog-card               post card (paper bg, line-soft border, rose hover)
 *   .hbn-blog-post               single post wrapper
 *   .hbn-comments                threaded comment list + form
 */

/* ============================== Archive ============================== */

.hbn-blog-archive {
	background: var(--bone);
	color: var(--ink);
	padding-bottom: 96px;
}

.hbn-blog-archive__hero {
	background: var(--aubergine);
	color: var(--bone);
	padding: 56px 24px 64px;
	text-align: center;
}
.hbn-blog-archive__hero-inner { max-width: 1100px; margin: 0 auto; }
.hbn-blog-archive__eyebrow {
	margin: 0 0 10px;
	font-size: 12px;
	letter-spacing: .18em;
	text-transform: uppercase;
	opacity: .8;
}
.hbn-blog-archive__title {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(40px, 6vw, 72px);
	line-height: 1;
	margin: 0;
}

.hbn-blog-archive__intro {
	max-width: 880px;
	margin: 48px auto 0;
	padding: 0 24px;
}
.hbn-blog-archive__intro-inner {
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink-2);
}
.hbn-blog-archive__intro-inner p { margin: 0 0 16px; }
.hbn-blog-archive__intro-inner h2,
.hbn-blog-archive__intro-inner h3 {
	font-family: var(--serif);
	font-weight: 400;
	color: var(--aubergine);
	margin: 24px 0 12px;
}
.hbn-blog-archive__intro-inner a { color: var(--aubergine); }

.hbn-blog-archive__section {
	max-width: 1180px;
	margin: 56px auto 0;
	padding: 0 24px;
}

/* ============================== Grid + card ============================== */

.hbn-blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 28px;
}

.hbn-blog-card {
	display: flex;
	flex-direction: column;
	background: var(--paper);
	border: 1px solid var(--line-soft);
	border-radius: 14px;
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hbn-blog-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(52, 26, 48, 0.12);
	border-color: var(--rose);
}
.hbn-blog-card__media-link { display: block; overflow: hidden; }
.hbn-blog-card__media {
	aspect-ratio: 4 / 3;
	background: var(--bone-2) center/cover no-repeat;
	transition: transform .35s ease;
}
.hbn-blog-card__media-link:hover .hbn-blog-card__media { transform: scale(1.03); }

.hbn-blog-card__body {
	padding: 18px 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}
.hbn-blog-card__cat {
	margin: 0;
	font-size: 11px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--rose-deep);
	font-weight: 600;
}
.hbn-blog-card__cat a { color: inherit; text-decoration: none; }
.hbn-blog-card__title {
	font-family: var(--serif);
	font-weight: 500;
	font-size: 22px;
	line-height: 1.2;
	margin: 0;
	color: var(--ink);
}
.hbn-blog-card__title a {
	color: inherit;
	text-decoration: none;
	background-image: linear-gradient(var(--rose), var(--rose));
	background-size: 0 1px;
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: background-size .25s ease;
}
.hbn-blog-card__title a:hover { background-size: 100% 1px; }
.hbn-blog-card__excerpt {
	color: var(--ink-2);
	font-size: 14.5px;
	line-height: 1.55;
	margin: 0;
}
.hbn-blog-card__meta {
	margin: auto 0 0;
	padding-top: 4px;
	color: var(--muted);
	font-size: 13px;
}
.hbn-blog-card__sep { margin: 0 6px; opacity: .6; }

/* ============================== Pagination ============================== */

.hbn-blog-archive__pagination {
	margin-top: 56px;
	display: flex;
	justify-content: center;
}
.hbn-blog-archive__pagination .nav-links {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	align-items: center;
}
.hbn-blog-archive__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--ink);
	text-decoration: none;
	font-size: 14px;
	background: var(--bone);
	transition: border-color .15s, background .15s, color .15s;
}
.hbn-blog-archive__pagination .page-numbers:hover { border-color: var(--aubergine); }
.hbn-blog-archive__pagination .page-numbers.current {
	background: var(--aubergine);
	color: var(--bone);
	border-color: var(--aubergine);
}

.hbn-blog-archive__empty {
	text-align: center;
	padding: 80px 24px;
	color: var(--muted);
	font-style: italic;
}

/* ============================== Single post ============================== */

.hbn-blog-post {
	background: var(--bone);
	color: var(--ink);
	padding-bottom: 96px;
}

.hbn-blog-post__hero {
	background: var(--aubergine);
	color: var(--bone);
	padding: 56px 24px 64px;
	text-align: center;
}
.hbn-blog-post__hero-inner { max-width: 880px; margin: 0 auto; }
.hbn-blog-post__eyebrow {
	margin: 0 0 12px;
	font-size: 12px;
	letter-spacing: .18em;
	text-transform: uppercase;
	opacity: .85;
}
.hbn-blog-post__eyebrow a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(246,239,228,.4); padding-bottom: 2px; }
.hbn-blog-post__title {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(36px, 5vw, 60px);
	line-height: 1.05;
	margin: 0;
}
.hbn-blog-post__meta {
	margin: 22px 0 0;
	font-size: 13.5px;
	opacity: .85;
	letter-spacing: .02em;
}
.hbn-blog-post__sep { margin: 0 8px; opacity: .6; }

.hbn-blog-post__feature {
	max-width: 1100px;
	margin: -40px auto 48px;
	padding: 0 24px;
}
.hbn-blog-post__feature img {
	width: 100%;
	display: block;
	border-radius: 14px;
	max-height: 560px;
	object-fit: cover;
}

.hbn-blog-post__content {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 24px;
	font-size: 18px;
	line-height: 1.7;
	color: var(--ink-2);
}
.hbn-blog-post__content h2,
.hbn-blog-post__content h3 {
	font-family: var(--serif);
	font-weight: 500;
	color: var(--ink);
	margin: 1.6em 0 .4em;
}
.hbn-blog-post__content h2 { font-size: clamp(26px, 3vw, 34px); }
.hbn-blog-post__content h3 { font-size: clamp(22px, 2.4vw, 26px); }
.hbn-blog-post__content blockquote {
	border-left: 3px solid var(--rose);
	margin: 1.6em 0;
	padding: 4px 0 4px 24px;
	font-family: var(--serif);
	font-style: italic;
	font-size: 22px;
	color: var(--ink);
}
.hbn-blog-post__content img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	margin: 1.4em 0;
}
.hbn-blog-post__content a { color: var(--aubergine); text-decoration: underline; text-underline-offset: 3px; }

.hbn-blog-post__pages {
	margin-top: 32px;
	font-size: 14px;
	color: var(--muted);
}
.hbn-blog-post__pages a { margin: 0 6px; color: var(--ink); }

.hbn-blog-post__tags {
	max-width: 720px;
	margin: 40px auto 0;
	padding: 0 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.hbn-blog-post__tag {
	display: inline-block;
	padding: 6px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 13px;
	color: var(--ink-2);
	text-decoration: none;
	transition: border-color .15s, color .15s;
}
.hbn-blog-post__tag:hover { border-color: var(--aubergine); color: var(--aubergine); }

.hbn-blog-post__nav {
	max-width: 1100px;
	margin: 64px auto 0;
	padding: 32px 24px 0;
	border-top: 1px solid var(--line);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.hbn-blog-post__nav a {
	display: flex;
	flex-direction: column;
	gap: 6px;
	text-decoration: none;
	color: var(--ink);
}
.hbn-blog-post__nav-next { text-align: right; }
.hbn-blog-post__nav-label {
	font-size: 11px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--muted);
}
.hbn-blog-post__nav-title {
	font-family: var(--serif);
	font-size: 20px;
	line-height: 1.2;
}

/* ============================== Related strip ============================== */

.hbn-blog-related {
	margin-top: 96px;
	padding: 64px 24px;
	background: var(--paper);
}
.hbn-blog-related__inner { max-width: 1180px; margin: 0 auto; }
.hbn-blog-related__title {
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(28px, 3.4vw, 40px);
	margin: 0 0 32px;
	text-align: center;
}

/* ============================== Comments ============================== */

.hbn-comments { margin-top: 80px; padding: 0 24px; }
.hbn-comments__inner { max-width: 720px; margin: 0 auto; }
.hbn-comments__title {
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(26px, 3vw, 34px);
	margin: 0 0 32px;
	color: var(--ink);
}
.hbn-comments__closed { color: var(--muted); font-style: italic; margin: 24px 0; }

.hbn-comment-list,
.hbn-comment-list .children {
	list-style: none;
	margin: 0;
	padding: 0;
}
.hbn-comment-list .children {
	margin-left: 32px;
	padding-left: 24px;
	border-left: 1px solid var(--line);
}
.hbn-comment { margin: 0 0 28px; }
.hbn-comment__inner {
	background: var(--paper);
	border: 1px solid var(--line-soft);
	border-radius: 12px;
	padding: 22px 24px;
}
.hbn-comment.bypostauthor > .hbn-comment__inner {
	border-color: var(--rose);
	background: var(--bone);
}
.hbn-comment__head {
	display: flex;
	gap: 14px;
	align-items: center;
	margin-bottom: 12px;
}
.hbn-comment__avatar img { width: 44px; height: 44px; border-radius: 50%; display: block; }
.hbn-comment__author { margin: 0; font-weight: 600; color: var(--ink); }
.hbn-comment__author a { color: var(--ink); text-decoration: none; }
.hbn-comment__meta { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.hbn-comment__meta a { color: inherit; text-decoration: none; }
.hbn-comment__meta a:hover { color: var(--aubergine); }
.hbn-comment__body { font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.hbn-comment__body p { margin: 0 0 .75em; }
.hbn-comment__body p:last-child { margin-bottom: 0; }
.hbn-comment__pending {
	background: var(--rose);
	color: var(--ink);
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 13px;
	margin: 0 0 12px;
}
.hbn-comment__actions { margin-top: 12px; }
.hbn-comment__actions .comment-reply-link {
	font-size: 11px;
	letter-spacing: .15em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--rose-deep);
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
}
.hbn-comment__actions .comment-reply-link:hover { color: var(--aubergine); }

/* ---- Comment form ---- */
.hbn-comment-form {
	margin-top: 48px;
	background: var(--paper);
	border: 1px solid var(--line-soft);
	border-radius: 14px;
	padding: 28px;
}
.hbn-comment-form__title {
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(22px, 2.6vw, 28px);
	margin: 0 0 8px;
	color: var(--ink);
}
.hbn-comment-form__notes { color: var(--muted); font-size: 13px; margin: 0 0 20px; }
.hbn-comment-form__row { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.hbn-comment-form__row label { font-size: 13px; font-weight: 500; color: var(--ink); }
.hbn-comment-form__row input,
.hbn-comment-form__row textarea {
	width: 100%;
	background: var(--bone);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 12px 14px;
	font-family: inherit;
	font-size: 15px;
	color: var(--ink);
}
.hbn-comment-form__row textarea { resize: vertical; min-height: 140px; }
.hbn-comment-form__row input:focus,
.hbn-comment-form__row textarea:focus { outline: none; border-color: var(--aubergine); }
.hbn-comment-form__row--inline { flex-direction: row; align-items: center; gap: 10px; }
.hbn-comment-form__row--inline input { width: auto; }
.hbn-comment-form__row--inline label { font-weight: 400; color: var(--ink-2); font-size: 13px; }
.hbn-comment-form__req { color: var(--rose-deep); }
.hbn-comment-form__submit { margin-top: 8px; border: none; cursor: pointer; }

/* ============================== Responsive ============================== */

@media (max-width: 640px) {
	.hbn-blog-archive__hero,
	.hbn-blog-post__hero { padding: 44px 20px 52px; }
	.hbn-blog-archive__section { margin-top: 40px; padding: 0 20px; }
	.hbn-blog-post__feature { margin-top: -24px; padding: 0 20px; }
	.hbn-blog-post__content { padding: 0 20px; font-size: 17px; }
	.hbn-blog-post__nav { grid-template-columns: 1fr; }
	.hbn-blog-post__nav-next { text-align: left; }
	.hbn-comment-list .children { margin-left: 16px; padding-left: 14px; }
	.hbn-comments,
	.hbn-blog-post__tags { padding: 0 20px; }
}
