/**
 * TBMP Visual System v2.2
 *
 * Evolution layer for the existing field-manual design.
 * Goals: stronger hierarchy, shorter mobile pages, consistent article titles,
 * useful archive cards, calmer reading rhythm, and reliable interaction sizes.
 */

:root {
	--tbmp-card-bg: #fbf8f0;
	--tbmp-card-hover: #fffdf7;
	--tbmp-soft-shadow: 0 18px 50px rgba(21, 21, 18, 0.08);
	--tbmp-tight-reading: 700px;
}

/* Global polish and navigation */
body.tbmp-preservation-theme {
	font-kerning: normal;
	font-variant-ligatures: common-ligatures;
}

body.tbmp-preservation-theme .site-header {
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

body.tbmp-preservation-theme .inside-header {
	width: min(var(--tbmp-wide), calc(100vw - (2 * var(--tbmp-gutter))));
	margin-inline: auto;
}

body.tbmp-preservation-theme .main-navigation .main-nav ul li[class*="current-menu-"] > a,
body.tbmp-preservation-theme .main-navigation .main-nav ul li.current_page_item > a {
	background: var(--tbmp-ink);
	color: var(--tbmp-chalk);
}

body.tbmp-preservation-theme .main-navigation .main-nav ul li[class*="current-menu-"] > a::after,
body.tbmp-preservation-theme .main-navigation .main-nav ul li.current_page_item > a::after {
	background: var(--tbmp-gold-bright);
}

body.tbmp-preservation-theme :where(.site-content, .entry-content) a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

body.tbmp-preservation-theme :where(.tbmp-button, .wp-element-button, .wp-block-button__link, button, input[type="submit"]) {
	font-family: var(--tbmp-sans);
	font-weight: 800;
	letter-spacing: 0.035em;
}

/* Shared page rhythm */
body.tbmp-preservation-theme .tbmp-subhero,
body.page-id-1847.tbmp-preservation-theme .tbmp-start-hero {
	min-height: min(560px, 64vh);
	display: flex;
	align-items: center;
}

body.tbmp-preservation-theme .tbmp-subhero h1,
body.page-id-1847.tbmp-preservation-theme .tbmp-start-hero h1 {
	max-width: 13ch;
	letter-spacing: -0.035em;
}

body.tbmp-preservation-theme .tbmp-section {
	padding-block: clamp(52px, 6vw, 84px);
}

body.page-id-1847.tbmp-preservation-theme :where(.tbmp-reading, .tbmp-system) {
	width: min(var(--tbmp-wide), calc(100vw - (2 * var(--tbmp-gutter))));
	margin-inline: auto;
}

body.tbmp-preservation-theme :where(.tbmp-panel, .tbmp-card) {
	background: rgba(251, 248, 240, 0.74);
	box-shadow: 0 1px 0 rgba(21, 21, 18, 0.04);
}

body.tbmp-preservation-theme :where(.tbmp-panel, .tbmp-card):hover {
	background: var(--tbmp-card-hover);
}

body.tbmp-preservation-theme .tbmp-footer-links a {
	display: flex;
	width: max-content;
	max-width: 100%;
}

body.page-id-88.tbmp-preservation-theme .tbmp-panel,
body.page-id-90.tbmp-preservation-theme .tbmp-panel,
body.page-id-91.tbmp-preservation-theme .tbmp-panel,
body.page-id-92.tbmp-preservation-theme .tbmp-panel {
	padding: clamp(24px, 3.4vw, 44px);
}

body.page-id-90.tbmp-preservation-theme .tbmp-section,
body.page-id-91.tbmp-preservation-theme .tbmp-section {
	padding-block: clamp(44px, 5vw, 70px);
}

body.page-id-90.tbmp-preservation-theme .tbmp-panel p,
body.page-id-90.tbmp-preservation-theme .tbmp-panel li,
body.page-id-91.tbmp-preservation-theme .tbmp-panel p,
body.page-id-91.tbmp-preservation-theme .tbmp-panel li {
	max-width: 72ch;
	line-height: 1.72;
}

/* Homepage: preserve the field-manual story while removing mobile fatigue. */
body.page-id-113.tbmp-preservation-theme .tbmp-hero {
	min-height: auto;
}

body.page-id-113.tbmp-preservation-theme .tbmp-hero-grid {
	align-items: center;
}

body.page-id-113.tbmp-preservation-theme .tbmp-title {
	max-width: 8.8ch;
}

body.page-id-113.tbmp-preservation-theme .tbmp-intro p {
	max-width: 36ch;
}

body.page-id-113.tbmp-preservation-theme .tbmp-proof > * {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

body.page-id-113.tbmp-preservation-theme .tbmp-photo-board {
	box-shadow: 14px 14px 0 var(--tbmp-paper-deep);
}

body.page-id-113.tbmp-preservation-theme .tbmp-photo-stack figure {
	margin: 0;
}

body.page-id-113.tbmp-preservation-theme .tbmp-rule {
	transition: background-color 160ms ease, padding-inline 160ms ease;
}

body.page-id-113.tbmp-preservation-theme .tbmp-rule:hover,
body.page-id-113.tbmp-preservation-theme .tbmp-rule:focus-within {
	padding-inline: 16px;
	background: rgba(139, 105, 40, 0.07);
}

/* Start Here: make the sequence read like an ordered manual. */
body.page-id-1847.tbmp-preservation-theme :where(.tbmp-post-row, .tbmp-system-row) {
	transition: background-color 160ms ease, padding-inline 160ms ease;
}

body.page-id-1847.tbmp-preservation-theme :where(.tbmp-post-row, .tbmp-system-row):hover,
body.page-id-1847.tbmp-preservation-theme :where(.tbmp-post-row, .tbmp-system-row):focus-within {
	padding-inline: clamp(12px, 2vw, 24px);
	background: rgba(139, 105, 40, 0.08);
}

/* Roadmap: compact cards and visible progression. */
body.page-id-89.tbmp-preservation-theme :where(.tbmp-post-grid, .wp-block-post-template) {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: start;
}

body.page-id-89.tbmp-preservation-theme :where(.tbmp-post-card, .wp-block-post) {
	height: auto;
	align-self: start;
	background: var(--tbmp-card-bg);
}

body.page-id-89.tbmp-preservation-theme .wp-block-post-title {
	font-size: clamp(22px, 2vw, 30px);
	line-height: 1.08;
}

body.page-id-89.tbmp-preservation-theme .wp-block-post-excerpt__excerpt {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

body.page-id-89.tbmp-preservation-theme .wp-block-post-terms {
	font-size: 12px;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

/* Contact: remove form hesitation and improve focus clarity. */
body.page-id-92.tbmp-preservation-theme .tbmp-contact-panel :where(input, textarea, select) {
	width: 100%;
	padding-inline: 14px;
	border-radius: 0;
}

body.page-id-92.tbmp-preservation-theme .tbmp-contact-panel :where(input, textarea, select):focus {
	outline: 0;
	box-shadow: 0 3px 0 var(--tbmp-gold);
}

body.page-id-92.tbmp-preservation-theme .tbmp-contact-panel button[type="submit"] {
	padding-inline: 28px;
}

/* Archive and search directories */
body:is(.archive, .search, .blog).tbmp-preservation-theme .site-content {
	padding-block: clamp(52px, 6vw, 88px);
}

body:is(.archive, .search, .blog).tbmp-preservation-theme .page-header {
	position: relative;
	margin-bottom: clamp(30px, 4vw, 52px);
	padding: clamp(34px, 5vw, 64px);
	border: 0;
	border-top: 4px solid var(--tbmp-gold-bright);
	background: var(--tbmp-dark);
	color: var(--tbmp-chalk);
	box-shadow: var(--tbmp-soft-shadow);
}

body:is(.archive, .search, .blog).tbmp-preservation-theme .page-header::before {
	display: block;
	margin-bottom: 16px;
	color: var(--tbmp-gold-bright);
	font-family: var(--tbmp-sans);
	font-size: 11px;
	font-weight: 850;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	content: "Field notes directory";
}

body:is(.archive, .search, .blog).tbmp-preservation-theme .page-header :where(h1, .page-title) {
	margin: 0;
	color: var(--tbmp-chalk);
	font-size: clamp(42px, 6vw, 72px);
	line-height: 0.96;
}

body:is(.archive, .search, .blog).tbmp-preservation-theme .site-main {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: start;
	gap: clamp(18px, 2vw, 28px);
}

body:is(.archive, .search, .blog).tbmp-preservation-theme .site-main > article {
	align-self: start;
	overflow: hidden;
	padding: 0 !important;
	border: 1px solid var(--tbmp-rule);
	border-top: 4px solid var(--tbmp-ink);
	background: var(--tbmp-card-bg);
	box-shadow: none;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

body:is(.archive, .search, .blog).tbmp-preservation-theme .site-main > article:hover,
body:is(.archive, .search, .blog).tbmp-preservation-theme .site-main > article:focus-within {
	border-color: var(--tbmp-gold);
	box-shadow: var(--tbmp-soft-shadow);
	transform: translateY(-3px);
}

body:is(.archive, .search, .blog).tbmp-preservation-theme article .inside-article {
	display: flex;
	height: auto;
	min-height: 100%;
	flex-direction: column;
	padding: 0 !important;
}

body:is(.archive, .search, .blog).tbmp-preservation-theme article .post-image {
	order: 1;
	width: 100%;
	margin: 0 !important;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--tbmp-dark);
}

body:is(.archive, .search, .blog).tbmp-preservation-theme article .post-image a {
	display: block;
	height: 100%;
}

body:is(.archive, .search, .blog).tbmp-preservation-theme article .post-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.78) contrast(1.02);
	transition: filter 240ms ease, transform 240ms ease;
}

body:is(.archive, .search, .blog).tbmp-preservation-theme article:hover .post-image img,
body:is(.archive, .search, .blog).tbmp-preservation-theme article:focus-within .post-image img {
	filter: saturate(0.92) contrast(1.02);
	transform: scale(1.025);
}

body:is(.archive, .search, .blog).tbmp-preservation-theme article:not(.has-post-thumbnail) .inside-article::before {
	display: grid;
	order: 1;
	aspect-ratio: 16 / 8;
	place-items: end start;
	padding: 24px;
	background-color: var(--tbmp-dark);
	background-image: linear-gradient(rgba(246, 240, 228, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(246, 240, 228, 0.06) 1px, transparent 1px);
	background-size: 42px 42px;
	color: var(--tbmp-gold-bright);
	font-family: var(--tbmp-sans);
	font-size: 11px;
	font-weight: 850;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	content: "Field note";
}

body:is(.archive, .search, .blog).tbmp-preservation-theme article .entry-header {
	display: block;
	order: 2;
	width: auto;
	margin: 0 !important;
	padding: clamp(22px, 2.4vw, 30px) clamp(22px, 2.4vw, 30px) 0;
}

body:is(.archive, .search, .blog).tbmp-preservation-theme article .entry-title {
	margin: 0;
	font-size: clamp(26px, 2.4vw, 36px);
	line-height: 1.02;
	text-wrap: balance;
}

body:is(.archive, .search, .blog).tbmp-preservation-theme article .entry-title a {
	text-decoration: none;
}

body:is(.archive, .search, .blog).tbmp-preservation-theme article .entry-title a:hover,
body:is(.archive, .search, .blog).tbmp-preservation-theme article .entry-title a:focus-visible {
	color: var(--tbmp-gold);
}

body:is(.archive, .search, .blog).tbmp-preservation-theme article .entry-header .entry-meta {
	margin-top: 14px;
	color: var(--tbmp-muted);
	font-family: var(--tbmp-sans);
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 0.08em;
	line-height: 1.5;
	text-transform: uppercase;
}

body:is(.archive, .search, .blog).tbmp-preservation-theme article .entry-summary {
	order: 3;
	margin: 18px 0 0;
	padding-inline: clamp(22px, 2.4vw, 30px);
}

body:is(.archive, .search, .blog).tbmp-preservation-theme article .entry-summary p {
	display: -webkit-box;
	overflow: hidden;
	margin: 0;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	font-size: 16px;
	line-height: 1.6;
}

body:is(.archive, .search, .blog).tbmp-preservation-theme article .read-more {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	margin-top: 16px;
	font-family: var(--tbmp-sans);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

body:is(.archive, .search, .blog).tbmp-preservation-theme article > .inside-article > footer.entry-meta {
	order: 4;
	margin: auto 0 0;
	padding: 22px clamp(22px, 2.4vw, 30px) clamp(22px, 2.4vw, 30px);
	font-family: var(--tbmp-sans);
	font-size: 11px;
	letter-spacing: 0.06em;
	line-height: 1.5;
	text-transform: uppercase;
}

body:is(.archive, .search, .blog).tbmp-preservation-theme article > .inside-article > footer.entry-meta .tags-links,
body:is(.archive, .search, .blog).tbmp-preservation-theme article > .inside-article > footer.entry-meta .comments-link {
	display: none;
}

body:is(.archive, .search, .blog).tbmp-preservation-theme .paging-navigation {
	padding: 18px 22px;
	border-top: 3px solid var(--tbmp-ink);
	background: var(--tbmp-card-bg);
}

body:is(.archive, .search, .blog).tbmp-preservation-theme .paging-navigation a,
body:is(.archive, .search, .blog).tbmp-preservation-theme .paging-navigation span {
	display: inline-flex;
	min-width: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
}

/* Articles: one reliable canonical title and a calmer reading cadence. */
body.single-post.tbmp-preservation-theme .site-content {
	padding-block: clamp(42px, 6vw, 82px);
}

body.single-post.tbmp-preservation-theme article > .inside-article > .entry-header {
	display: block !important;
	width: min(100%, 980px);
	margin: 0 auto clamp(28px, 4vw, 50px) !important;
	padding: clamp(30px, 5vw, 62px);
	border-top: 4px solid var(--tbmp-ink);
	background: var(--tbmp-card-bg);
}

body.single-post.tbmp-preservation-theme article > .inside-article > .entry-header .entry-title {
	max-width: 15ch;
	margin: 0;
	font-size: clamp(42px, 6.2vw, 78px);
	line-height: 0.96;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

body.single-post.tbmp-preservation-theme article > .inside-article > .entry-header .entry-meta {
	margin-top: 20px;
	color: var(--tbmp-muted);
	font-family: var(--tbmp-sans);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.09em;
	line-height: 1.5;
	text-transform: uppercase;
}

body.single-post.tbmp-preservation-theme article > .inside-article > .post-image {
	width: min(100%, 980px);
	margin: 0 auto clamp(32px, 5vw, 60px);
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--tbmp-dark);
}

body.single-post.tbmp-preservation-theme article > .inside-article > .post-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.single-post.tbmp-preservation-theme:not(.tbmp-has-custom-layout) .entry-content {
	width: min(100%, var(--tbmp-tight-reading));
}

body.single-post.tbmp-preservation-theme:not(.tbmp-has-custom-layout) .entry-content > p,
body.single-post.tbmp-preservation-theme:not(.tbmp-has-custom-layout) .entry-content > ul,
body.single-post.tbmp-preservation-theme:not(.tbmp-has-custom-layout) .entry-content > ol {
	font-size: clamp(17px, 0.35vw + 16px, 19px);
	line-height: 1.76;
}

body.single-post.tbmp-preservation-theme .entry-content :where(h2, h3) {
	text-wrap: balance;
}

body.single-post.tbmp-preservation-theme .entry-content h2 {
	margin-top: clamp(46px, 7vw, 82px);
	padding-top: clamp(22px, 3vw, 34px);
	border-top: 2px solid var(--tbmp-ink);
}

body.single-post.tbmp-preservation-theme .entry-content h3 {
	margin-top: clamp(34px, 5vw, 56px);
}

body.single-post.tbmp-preservation-theme .entry-content :where(blockquote, .wp-block-quote) {
	margin-block: clamp(34px, 5vw, 58px);
	padding: clamp(22px, 4vw, 36px);
	border-left: 4px solid var(--tbmp-gold);
	background: var(--tbmp-card-bg);
}

body.single-post.tbmp-preservation-theme article > .inside-article > footer.entry-meta {
	width: min(100%, var(--tbmp-tight-reading));
	margin-inline: auto;
	padding-top: 30px;
	border-top: 2px solid var(--tbmp-ink);
}

body.single-post.tbmp-preservation-theme .post-navigation a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
}

body.tbmp-preservation-theme .tbmp-image-unavailable {
	display: none !important;
}

body.page-id-89.tbmp-preservation-theme .wp-block-query-pagination :where(a, span) {
	display: inline-flex;
	min-width: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
}

/* Responsive refinements */
@media (max-width: 1180px) {
	body.page-id-89.tbmp-preservation-theme :where(.tbmp-post-grid, .wp-block-post-template),
	body:is(.archive, .search, .blog).tbmp-preservation-theme .site-main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	body.tbmp-preservation-theme .site-header {
		position: sticky !important;
		top: 0;
	}

	body.tbmp-preservation-theme .inside-header {
		width: min(100% - 28px, 720px);
	}

	body.tbmp-preservation-theme .main-navigation.toggled .main-nav > ul,
	body.tbmp-preservation-theme .main-navigation.slideout-navigation .main-nav > ul {
		padding: 12px 18px 18px !important;
		background: var(--tbmp-paper);
		box-shadow: 0 16px 34px rgba(21, 21, 18, 0.12);
	}
}

@media (max-width: 700px) {
	body.tbmp-preservation-theme .tbmp-subhero,
	body.page-id-1847.tbmp-preservation-theme .tbmp-start-hero {
		min-height: auto;
		padding-block: 48px 58px;
	}

	body.tbmp-preservation-theme .tbmp-subhero h1,
	body.page-id-1847.tbmp-preservation-theme .tbmp-start-hero h1 {
		font-size: clamp(40px, 12vw, 56px);
		line-height: 0.96;
	}

	body.tbmp-preservation-theme .tbmp-section {
		padding-block: 44px;
	}

	body.page-id-113.tbmp-preservation-theme .tbmp-title {
		font-size: clamp(44px, 13.3vw, 58px);
	}

	body.page-id-113.tbmp-preservation-theme .tbmp-photo-board {
		padding: 12px;
		box-shadow: 8px 8px 0 var(--tbmp-paper-deep);
	}

	body.page-id-113.tbmp-preservation-theme .tbmp-photo-stack {
		display: grid !important;
		height: auto !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		grid-template-rows: auto !important;
		gap: 10px !important;
	}

	body.page-id-113.tbmp-preservation-theme .tbmp-photo-stack figure {
		width: auto !important;
		height: auto !important;
		min-height: 0 !important;
		margin: 0 !important;
		aspect-ratio: 1 / 1;
	}

	body.page-id-113.tbmp-preservation-theme .tbmp-photo-stack figure:first-child,
	body.page-id-113.tbmp-preservation-theme .tbmp-photo-stack figure:nth-child(4) {
		grid-column: 1 / -1;
		aspect-ratio: 16 / 9;
	}

	body.page-id-113.tbmp-preservation-theme .tbmp-photo-stack img {
		min-height: 0 !important;
	}

	body.page-id-113.tbmp-preservation-theme .tbmp-board-caption {
		position: static;
		max-width: none;
		margin-top: 10px;
	}

	body.page-id-89.tbmp-preservation-theme :where(.tbmp-post-grid, .wp-block-post-template),
	body:is(.archive, .search, .blog).tbmp-preservation-theme .site-main {
		grid-template-columns: 1fr;
	}

	body.page-id-89.tbmp-preservation-theme .wp-block-post-excerpt__excerpt {
		-webkit-line-clamp: 2;
	}

	body.page-id-89.tbmp-preservation-theme .tbmp-blog-query {
		padding: 42px 18px 54px !important;
	}

	body.page-id-89.tbmp-preservation-theme .tbmp-blog-query .tbmp-post-card {
		height: auto;
		padding: 16px;
	}

	body.page-id-89.tbmp-preservation-theme .tbmp-blog-query .wp-block-post-featured-image {
		margin: -16px -16px 14px;
	}

	body.page-id-89.tbmp-preservation-theme .tbmp-blog-query h3 {
		font-size: 24px;
	}

	body.page-id-89.tbmp-preservation-theme .tbmp-blog-query .wp-block-post-excerpt__excerpt {
		display: none;
	}

	body.page-id-89.tbmp-preservation-theme .tbmp-blog-query .wp-block-post-excerpt__more-text {
		margin: 0;
	}

	body:is(.archive, .search, .blog).tbmp-preservation-theme .page-header {
		padding: 30px 24px;
	}

	body:is(.archive, .search, .blog).tbmp-preservation-theme .page-header :where(h1, .page-title) {
		font-size: clamp(38px, 12vw, 54px);
	}

	body:is(.archive, .search, .blog).tbmp-preservation-theme .site-main > article:hover,
	body:is(.archive, .search, .blog).tbmp-preservation-theme .site-main > article:focus-within {
		transform: none;
	}

	body.single-post.tbmp-preservation-theme .site-content {
		padding-block: 28px 48px;
	}

	body.single-post.tbmp-preservation-theme article > .inside-article > .entry-header {
		margin-bottom: 24px !important;
		padding: 28px 22px;
	}

	body.single-post.tbmp-preservation-theme article > .inside-article > .entry-header .entry-title {
		font-size: clamp(36px, 11.4vw, 50px);
		line-height: 0.98;
	}

	body.single-post.tbmp-preservation-theme article > .inside-article > .post-image {
		margin-bottom: 32px;
	}
}

@media (max-width: 480px) {
	body.tbmp-preservation-theme .site-branding .main-title a {
		max-width: 180px !important;
		font-size: 22px !important;
	}

	body.page-id-113.tbmp-preservation-theme .tbmp-proof {
		margin-top: 38px;
	}

	body.page-id-113.tbmp-preservation-theme .tbmp-proof > * {
		padding: 18px;
	}

	body.page-id-92.tbmp-preservation-theme .tbmp-contact-panel button[type="submit"] {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.tbmp-preservation-theme *,
	body.tbmp-preservation-theme *::before,
	body.tbmp-preservation-theme *::after {
		scroll-behavior: auto !important;
	}
}

/* ── Grid background for all single posts ── */
body.single-post {
  background: #eee6d6 !important;
}

.single-post .inside-article {
  background:
    linear-gradient(90deg, rgba(21,21,18,.045) 1px, transparent 1px) 0 0 / 84px 84px,
    linear-gradient(0deg, rgba(21,21,18,.035) 1px, transparent 1px) 0 0 / 84px 84px,
    #eee6d6 !important;
}

/* Make entry-header transparent so grid background shows through */
.single-post .entry-header {
  background: transparent !important;
}

/* === FIELD NOTE CALLOUT === */
.tbmp-field-note {
  margin: 2rem 0 !important;
  padding: 24px 28px !important;
  background: rgba(155, 122, 53, .08) !important;
  border-left: 3px solid #9b7a35 !important;
  border-radius: 0 6px 6px 0 !important;
}
.tbmp-field-note-label {
  font-family: 'Inter', Arial, sans-serif !important;
  font-size: .68rem !important;
  font-weight: 800 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: #9b7a35 !important;
  margin-bottom: 10px !important;
}
.tbmp-field-note-text {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 1.15rem !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  color: #312d25 !important;
  font-style: italic !important;
}
@media (max-width: 768px) {
  .tbmp-field-note {
    padding: 20px 22px !important;
    margin: 1.6rem 0 !important;
  }
  .tbmp-field-note-text {
    font-size: 1.05rem !important;
  }
}

/* === MISSION BRIEF CARD === */
.tbmp-mission-brief {
  margin: 2rem 0 !important;
  padding: 28px 28px 24px !important;
  background: rgba(155, 122, 53, .06) !important;
  border: 1px solid rgba(155, 122, 53, .2) !important;
  border-radius: 8px !important;
}
.tbmp-mission-brief-label {
  font-family: 'Inter', Arial, sans-serif !important;
  font-size: .64rem !important;
  font-weight: 800 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: #9b7a35 !important;
  margin-bottom: 14px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(155, 122, 53, .15) !important;
}
.tbmp-mission-brief-body p {
  color: #312d25 !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
  margin-bottom: .9em !important;
}
.tbmp-mission-brief-body p:last-child {
  margin-bottom: 0 !important;
}

/* === SECTION CARD (Action Plan, Challenge) === */
.tbmp-section-card {
  margin: 2.2rem 0 !important;
  padding: 28px !important;
  background: rgba(238, 230, 214, .04) !important;
  border: 1px solid rgba(238, 230, 214, .1) !important;
  border-radius: 8px !important;
  border-left: 3px solid #9b7a35 !important;
}
.tbmp-section-card-label {
  font-family: 'Inter', Arial, sans-serif !important;
  font-size: .68rem !important;
  font-weight: 800 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: #9b7a35 !important;
  margin-bottom: 16px !important;
}
.tbmp-section-card-body p,
.tbmp-section-card-body li {
  color: #312d25 !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
}
.tbmp-section-card-body strong {
  color: #151512 !important;
}
.tbmp-section-card-body p:last-child {
  margin-bottom: 0 !important;
}

@media (max-width: 768px) {
  .tbmp-mission-brief {
    padding: 22px 20px 20px !important;
    margin: 1.5rem 0 !important;
  }
  .tbmp-section-card {
    padding: 22px 20px !important;
    margin: 1.6rem 0 !important;
  }
}

/* Author card — blend into grid background */
.single-post .tbmp-author-card {
  background: transparent !important;
  border: none !important;
  border-top: 1px solid rgba(21,21,18,.1) !important;
  border-radius: 0 !important;
  padding: 32px 0 0 !important;
}

/* Tighten title-to-content spacing */
.single-post .entry-header {
  padding-top: 0 !important;
  padding-bottom: 18px !important;
  margin-bottom: 0 !important;
}

/* Tighten content-area padding */
.single-post .inside-article {
  padding-bottom: 0 !important;
}

/* Tighten related posts spacing */
.single-post .tbmp-related-posts {
  margin-top: 38px !important;
}

/* Tighten entry footer meta */
.single-post footer.entry-meta {
  margin-top: 0 !important;
  padding-top: 18px !important;
  margin-bottom: 0 !important;
}

/* Stronger entry-header margin override */
.single.single-post .inside-article .entry-header {
  margin-bottom: 0 !important;
}

/* Entry content top margin */
.single.single-post .entry-content {
  margin-top: 12px !important;
}

/* Match existing specificity to override entry-header margin */
body.single-post.tbmp-preservation-theme article > .inside-article > .entry-header {
  margin-bottom: 10px !important;
}

/* Tighten header-to-content gap */
.single-post .site-content {
  padding-top: 0 !important;
}

/* Hide GP featured image when migration simulation renders its own hero */
body.tbmp-content-migrated .featured-image,
body.tbmp-content-migration-simulated .featured-image {
  display: none !important;
}

/* Show GP featured image, hide simulation's inline hero image */
body.tbmp-content-migrated .featured-image,
body.tbmp-content-migration-simulated .featured-image {
  display: block !important;
}
body.tbmp-content-migrated .tbmp-post-hero,
body.tbmp-content-migration-simulated .tbmp-post-hero {
  display: none !important;
}

/* Hide inline footer from simulation — site footer handles it */
body.tbmp-content-migrated .entry-content sectionfooter,
body.tbmp-content-migration-simulated .entry-content sectionfooter {
  display: none !important;
}

/* Hide inline tbmp-footer from simulation content */
.entry-content .tbmp-footer {
  display: none !important;
}

/* Hide comments area on single posts */
.single-post .comments-area {
  display: none !important;
}
