/* Compact navigation replaces the generic 1920px blog hero on article pages. */
.amc-single-post-breadcrumbs {
	border-bottom: 1px solid #e4ebe5;
	background: #f8faf7;
	direction: rtl;
}

.amc-single-post-breadcrumbs__inner {
	width: min(calc(100% - 32px), 1240px);
	margin-inline: auto;
	padding-block: 11px;
}

.amc-single-post-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 0;
	color: #617369;
	font-size: .84rem;
	line-height: 1.7;
	list-style: none;
}

.amc-single-post-breadcrumbs li + li::before {
	content: "/";
	margin-inline-end: 7px;
	color: #9aaba0;
}

.amc-single-post-breadcrumbs a {
	color: #245b46;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.amc-single-post-breadcrumbs a:focus-visible,
.single-post .wd-entry-content a:focus-visible,
.single-post figure.wp-block-table:focus-visible {
	outline: 3px solid #8fbe39;
	outline-offset: 3px;
}

.single-post .post-single-page {
	width: 100%;
	max-width: 900px;
	margin-inline: auto;
}

.single-post .wd-single-post-header .wd-post-title {
	margin-block: 0 .65rem;
	font-size: clamp(1.5rem, 3vw, 2.2rem);
	line-height: 1.55;
	text-wrap: pretty;
}

.single-post .wd-post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px 16px;
	line-height: 1.7;
}

.single-post .wd-post-image {
	margin-block: 1.25rem 2rem;
}

.single-post .wd-post-image img,
.single-post .wd-entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.single-post .wd-entry-content {
	width: 100%;
	max-width: 760px;
	margin-inline: auto;
	color: #405249;
	font-size: 1.0625rem;
	line-height: 1.95;
	overflow-wrap: anywhere;
}

.single-post .wd-entry-content > :first-child {
	margin-block-start: 0;
}

.single-post .wd-entry-content p,
.single-post .wd-entry-content li {
	line-height: inherit;
}

.single-post .wd-entry-content h2,
.single-post .wd-entry-content h3 {
	color: #173f35;
	line-height: 1.55;
	text-wrap: pretty;
}

.single-post .wd-entry-content h2 {
	margin-block: 2rem .7rem;
	font-size: clamp(1.3rem, 2.4vw, 1.65rem);
}

.single-post .wd-entry-content h3 {
	margin-block: 1.5rem .55rem;
	font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.single-post .wd-entry-content a {
	color: #245b46;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.single-post .wd-entry-content figure {
	max-width: 100%;
	margin-block: 1.5rem;
}

.single-post .wd-entry-content figure.wp-block-table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	-webkit-overflow-scrolling: touch;
}

.single-post .wd-entry-content figure.wp-block-table table {
	width: 100%;
	min-width: 640px;
	margin: 0;
	border-collapse: collapse;
	font-size: .9em;
}

.single-post .wd-entry-content figure.wp-block-table th,
.single-post .wd-entry-content figure.wp-block-table td {
	padding: .65rem .75rem;
	border: 1px solid #dfe8e1;
	line-height: 1.75;
	text-align: right;
	vertical-align: top;
}

.single-post .wd-entry-content figure.wp-block-table th {
	background: #f3f7ef;
	color: #173f35;
	font-weight: 750;
}

.single-post .wd-entry-content figcaption {
	margin-block-start: .55rem;
	color: #617369;
	font-size: .88em;
	line-height: 1.7;
}

/* Preserve the brand green while meeting readable contrast for post metadata. */
.single-post .wd-post-meta {
	color: #4f5b53;
}

.single-post .wd-single-post-header .wd-post-cat a {
	color: #20320d !important;
}

.single-post .comment-form .required-field-message,
.single-post .comment-form :is(input, textarea) {
	color: #424d46;
}

.single-post .comment-form :is(input, textarea)::placeholder {
	color: #5a655e;
	opacity: 1;
}

.single-post .comment-form :is(input, textarea):focus-visible {
	outline: 3px solid #245b46;
	outline-offset: 2px;
}

.single-post .comment-form input[type="submit"] {
	background-color: #114639;
	color: #fff;
}

.single-post .wd-footer a {
	color: #f1f3f1 !important;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* The desktop article sidebar and upper utility bar use muted text on light green/gray backgrounds. */
.single-post .whb-header .wd-header-text span {
	color: #1b2b0c !important;
}

.single-post .widget-area .cat-item,
.single-post .widget-area .cat-item a,
.single-post .widget-area .recent-posts-time,
.single-post .widget-area .recent-posts-comment,
.single-post .widget-area .recentcomments,
.single-post .wd-page-nav .wd-label {
	color: #4f5b53 !important;
}

.single-post .wd-footer .woodmart-recent-posts-list .recent-posts-time,
.single-post .wd-footer .woodmart-recent-posts-list .recent-posts-comment {
	color: #f1f3f1 !important;
}

@media (max-width: 600px) {
	.amc-single-post-breadcrumbs__inner {
		width: calc(100% - 24px);
		padding-block: 9px;
	}

	.amc-single-post-breadcrumbs ol {
		gap: 5px;
		font-size: .78rem;
	}

	.amc-single-post-breadcrumbs li + li::before {
		margin-inline-end: 5px;
	}

	.single-post .post-single-page {
		max-width: none;
	}

	.single-post .wd-single-post-header .wd-post-title {
		font-size: clamp(1.4rem, 6vw, 1.9rem);
		line-height: 1.6;
	}

	.single-post .wd-entry-content {
		font-size: 1rem;
		line-height: 1.9;
	}

	.single-post .wd-entry-content figure.wp-block-table table {
		min-width: 600px;
	}
}
