/* Let section bands span the viewport (theme caps .site-main at 1140px). */
body.single.single-post:not([class*=elementor-page-]) .site-main {
	max-width: none;
	width: 100%;
	padding-inline: 0;
}

.single.single-post .page-header {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 3rem);
	box-sizing: border-box;
}

/* Alternating full-width bands (site blue #5ea3ff tint from homepage UI). */
.single.single-post .page-content > section.th-post-section,
.single.single-post .page-content > section.container-fluid {
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	padding: 2.5rem clamp(1.25rem, 4vw, 3rem);
	box-sizing: border-box;
}

.single.single-post .page-content > section.th-post-section--white,
.single.single-post .page-content > section.container-fluid.bg-white {
	background: #ffffff !important;
}

.single.single-post .page-content > section.th-post-section--alt,
.single.single-post .page-content > section.container-fluid.bg-light {
	/* Solid tint: darker, bluer (#5ea3ff family); no color-mix (unsupported in some browsers). */
	background: #b5cee8 !important;
}

.single.single-post .page-content > section.th-post-section .th-post-section__inner,
.single.single-post .page-content > section.container-fluid > .container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding: 0;
	box-sizing: border-box;
}

.single.single-post .page-content > section.th-post-section > .th-post-section__inner > :first-child,
.single.single-post .page-content > section.container-fluid > .container > :first-child {
	margin-top: 0;
}

.single.single-post .page-content > section.th-post-section > .th-post-section__inner > :last-child,
.single.single-post .page-content > section.container-fluid > .container > :last-child {
	margin-bottom: 0;
}

/* Bootstrap column blocks inside a section (theme does not load Bootstrap). */
.single.single-post .page-content .container {
	width: 100%;
	max-width: 100%;
	padding: 0;
}

.single.single-post .page-content .container > .row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem;
	margin: 1.5rem 0;
}

.single.single-post .page-content .container > .row.th-post-two-col {
	align-items: flex-start;
}

.single.single-post .page-content .container > .row > [class*="col-"] {
	flex: 1 1 calc(50% - 0.75rem);
	max-width: calc(50% - 0.75rem);
	min-width: 0;
	box-sizing: border-box;
}

/* Inline Vimeo embeds in blog posts: navy frame on column wrapper. */
.single.single-post .page-content [class*="col-"]:has(> iframe[src*="player.vimeo.com"], > iframe[data-lzl-v-src*="player.vimeo.com"], > iframe[data-lzl-src*="player.vimeo.com"]) {
	border: 1px solid #1a3a6e;
	box-sizing: border-box;
	line-height: 0;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	height: auto;
	align-self: flex-start;
}

.single.single-post .page-content iframe[src*="player.vimeo.com"],
.single.single-post .page-content iframe[data-lzl-v-src*="player.vimeo.com"],
.single.single-post .page-content iframe[data-lzl-src*="player.vimeo.com"],
.single.single-post .page-content .wp-block-embed iframe[src*="player.vimeo.com"] {
	border: none !important;
	outline: none !important;
	box-sizing: border-box;
}

/* Standalone blog Vimeo embeds (not in a column layout): frame on the iframe. */
.single.single-post .page-content > iframe[src*="player.vimeo.com"],
.single.single-post .page-content > iframe[data-lzl-v-src*="player.vimeo.com"],
.single.single-post .page-content > iframe[data-lzl-src*="player.vimeo.com"],
.single.single-post .page-content > .wp-block-embed:has(iframe[src*="player.vimeo.com"]) {
	border: 1px solid #1a3a6e !important;
	box-sizing: border-box;
}

/* Standalone blog Vimeo embeds (not in a column layout): half content width. */
.single.single-post .page-content > .wp-block-embed,
.single.single-post .page-content > iframe[src*="vimeo"],
.single.single-post .page-content > iframe[data-lzl-v-src*="vimeo"],
.single.single-post .page-content > iframe[data-lzl-src*="vimeo"] {
	max-width: 50%;
	margin-inline: auto;
}

.single.single-post .page-content > .wp-block-embed iframe,
.single.single-post .page-content > iframe[src*="vimeo"],
.single.single-post .page-content > iframe[data-lzl-v-src*="vimeo"],
.single.single-post .page-content > iframe[data-lzl-src*="vimeo"] {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 16 / 9;
}

/* Show Demo in blog column layouts: half-width thumb grid, not full-bleed. */
.single.single-post .page-content [class*="col-"] .show-demo-root.show-demo-grid {
	width: 100%;
	max-width: 100%;
}

.single.single-post .page-content > .show-demo-root.show-demo-grid {
	max-width: 50%;
	margin-inline: auto;
}

/* Column layouts: fill the bordered column box (aspect-ratio lives on col-6 wrapper). */
.single.single-post .page-content [class*="col-"] iframe[src*="vimeo"],
.single.single-post .page-content [class*="col-"] iframe[data-lzl-v-src*="vimeo"],
.single.single-post .page-content [class*="col-"] iframe[data-lzl-src*="vimeo"] {
	display: block;
	width: 100% !important;
	max-width: 100%;
	height: 100% !important;
	max-height: 100%;
	aspect-ratio: auto;
	margin-inline: 0;
	vertical-align: top;
}

/* Content images: preserve intrinsic aspect ratio (avoid square crop on wide logos/photos). */
.single.single-post .page-content .wp-caption img,
.single.single-post .page-content img[class*="wp-image-"] {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

.single.single-post .wp-caption {
	width: auto !important;
	max-width: 100%;
}

.single.single-post .wp-post-image {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: none;
	object-fit: contain;
}

.single.single-post .page-content .th-video-styles-promo {
	width: 100%;
	max-width: 100%;
	margin: 0;
}

.single.single-post .page-content .th-video-styles-promo a {
	display: block;
	line-height: 0;
	border: 1px solid #1a3a6e;
	box-sizing: border-box;
	overflow: hidden;
}

.single.single-post .page-content .th-video-styles-promo img {
	display: block;
	width: 100%;
	height: auto;
	border: none;
	box-sizing: border-box;
}

.single.single-post .page-content .th-video-styles-promo .wp-caption-text {
	margin-top: 0.75rem;
	text-align: center;
	font-size: 0.95rem;
	line-height: 1.5;
}

/* SEO infographic embed (blog conclusion column, etc.). */
.single.single-post .page-content .th-seo-infographic {
	width: 100%;
	max-width: 100%;
	margin: 0;
	border: 1px solid #1a3a6e;
	box-sizing: border-box;
	overflow: hidden;
}

.single.single-post .page-content .th-seo-infographic__inner {
	background: #ffffff;
}

.single.single-post .page-content .th-seo-infographic__header {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	padding: 0;
	background-color: #5ea3ff;
	text-align: center;
}

.single.single-post .page-content .th-seo-infographic__header::before {
	content: '';
	display: block;
	min-height: 3.75rem;
	padding: 0.75rem 1.25rem;
	background-color: #ffffff;
	background-image: url('https://talkingheads.com/wp-content/uploads/2025/06/talking-2.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 120px auto;
	box-sizing: border-box;
}

.single.single-post .page-content .th-seo-infographic__title {
	margin: 0;
	padding: 0.75rem 1.25rem 1rem;
	font-size: 1.125rem;
	line-height: 1.3;
	font-weight: 700;
	color: #ffffff;
}

.single.single-post .page-content .th-seo-infographic__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
}

.single.single-post .page-content .th-seo-infographic__card {
	padding: 1rem 1.125rem;
}

.single.single-post .page-content .th-seo-infographic__card--ai {
	background: #b5cee8;
}

.single.single-post .page-content .th-seo-infographic__card--real {
	background: #ffffff;
	border-left: 3px solid #EAA73F;
}

.single.single-post .page-content .th-seo-infographic__card-label {
	margin: 0 0 0.625rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: #1a3a6e;
}

.single.single-post .page-content .th-seo-infographic__list {
	margin: 0;
	padding-left: 1.125rem;
	font-size: 0.875rem;
	line-height: 1.45;
	color: #1a3a6e;
}

.single.single-post .page-content .th-seo-infographic__list li {
	margin-bottom: 0.375rem;
}

.single.single-post .page-content .th-seo-infographic__list li:last-child {
	margin-bottom: 0;
}

.single.single-post .page-content .th-seo-infographic__cta {
	margin: 0;
	padding: 0.75rem 1.125rem;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	color: #ffffff;
	background: #1a3a6e;
}

.single.single-post .page-content .th-seo-infographic__footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.25rem;
	padding: 0.625rem 1rem;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: #e8e8e8;
	background: #1a3a6e;
	border-top: 2px solid #EAA73F;
}

.single.single-post .page-content .th-seo-infographic__caption {
	margin-top: 0.75rem;
	text-align: center;
	font-size: 0.875rem;
	line-height: 1.45;
}

@media (max-width: 767px) {
	.single.single-post .page-content .container > .row > [class*="col-"] {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.single.single-post .page-content > .wp-block-embed,
	.single.single-post .page-content > iframe[src*="vimeo"],
	.single.single-post .page-content > iframe[data-lzl-v-src*="vimeo"],
	.single.single-post .page-content > iframe[data-lzl-src*="vimeo"] {
		max-width: 100%;
	}
}

.single.single-post .th-blog-related-guides h2 {
	margin: 0 0 1rem;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	line-height: 1.25;
}

.single.single-post .th-blog-related-guides__list {
	margin: 0;
	padding-left: 1.25rem;
}

.single.single-post .th-blog-related-guides__list li + li {
	margin-top: 0.5rem;
}

.single.single-post .th-blog-related-guides__list a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}
