/*
Theme Name: Christopher Hadnagy (Twenty Twenty-Five Child)
Theme URI: https://christopherhadnagy.com
Description: Child theme of Twenty Twenty-Five for Christopher Hadnagy. Speeches, podcasts, news, books. Social-engineer.com accent; wide layout.
Author: Christopher Hadnagy
Author URI: https://christopherhadnagy.com
Template: twentytwentyfive
Version: 1.0.7
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: christopherhadnagy-tt5
*/

:root {
	--wp--preset--color--accent: #ff6600;
	--wp--preset--color--accent-hover: #e55a00;
}

body {
	font-size: 18px;
	line-height: 1.6;
	padding-top: 64px;
}

.wp-block-group.alignwide,
.wp-block-group .alignwide {
	max-width: min(1400px, 100%);
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
	box-sizing: border-box;
}

/* Smart Sticky header: transparent over hero, glass after 50px scroll */
.site-header-bar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	overflow: visible;
	background: transparent;
	box-shadow: none;
	transition: background 0.25s ease, box-shadow 0.25s ease, -webkit-backdrop-filter 0.25s ease, backdrop-filter 0.25s ease;
}
.site-header-bar.header-scrolled {
	background: rgba(39, 49, 64, 0.92);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--chris-slate-border);
	box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}
.site-header-bar .wp-block-group,
.site-header-bar .header-inner {
	overflow: visible;
}
.header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 1.5rem;
	min-width: 0;
}
.site-header-bar a,
.site-header-bar .wp-block-site-title a {
	color: #e5e5e5;
}
.site-header-bar a:hover,
.site-header-bar .wp-block-site-title a:hover {
	color: #fff;
}
.header-nav-cta-wrap {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-shrink: 0;
}
.nav-consolidated {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0.25rem 1.5rem;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.02em;
}
/* Top-level nav: 5 items — Speaking, Consulting, Books, Resources (hover = sub-text + dropdown), About */
.nav-list {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0.25rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-list .nav-item {
	margin: 0;
	padding: 0;
}
.nav-list .nav-item > a {
	text-decoration: none;
	white-space: nowrap;
	padding: 0.35rem 0.5rem;
}
.nav-item-wrap {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
}
.nav-item-wrap > a,
.nav-item-wrap > .nav-dropdown-trigger {
	text-decoration: none;
	white-space: nowrap;
	padding: 0.35rem 0.5rem;
}
/* Mega menu hover: sub-text / tooltip for Speaking, Consulting, Resources */
.nav-tooltip {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(4px);
	min-width: 200px;
	max-width: 260px;
	padding: 0.4rem 0.6rem;
	font-size: 12px;
	line-height: 1.35;
	color: var(--chris-bright-white);
	background: rgba(39, 49, 64, 0.96);
	border: 1px solid var(--chris-slate-border);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-radius: 4px;
	white-space: normal;
	text-align: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
	z-index: 101;
	pointer-events: none;
}
.nav-item-wrap:hover .nav-tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(6px);
}
.nav-dropdown-wrap {
	position: relative;
}
.nav-dropdown-trigger {
	background: none;
	border: none;
	color: inherit;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.02em;
	cursor: pointer;
	padding: 0.35rem 0.5rem;
	font-family: inherit;
}
.nav-dropdown-trigger:hover {
	color: #fff;
}
.nav-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	background: rgba(26, 26, 26, 0.98);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-radius: 6px;
	padding: 0.5rem 0;
	box-shadow: 0 8px 24px rgba(0,0,0,0.3);
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
	z-index: 100;
}
.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.nav-dropdown a {
	display: block;
	padding: 0.5rem 1rem;
	text-decoration: none;
	color: #e5e5e5;
	font-size: 14px;
	white-space: nowrap;
}
.nav-dropdown a:hover {
	background: rgba(255,255,255,0.08);
	color: #fff;
}
.site-header-bar .header-cta-btn {
	display: inline-block;
	flex-shrink: 0;
	white-space: nowrap;
	padding: 0.5rem 1.25rem;
	background-color: var(--wp--preset--color--accent, #ff6600);
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	letter-spacing: 0.03em;
}
.site-header-bar .header-cta-btn:hover {
	background-color: var(--wp--preset--color--accent-hover, #e55a00);
	color: #fff;
}
.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: transparent;
	border: 1px solid var(--chris-slate-border);
	border-radius: 4px;
	color: var(--chris-bright-white);
	cursor: pointer;
	padding: 0;
}
.nav-toggle .nav-toggle-icon {
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
	border-radius: 1px;
	position: relative;
}
.nav-toggle .nav-toggle-icon::before,
.nav-toggle .nav-toggle-icon::after {
	content: "";
	position: absolute;
	left: 0;
	width: 20px;
	height: 2px;
	background: currentColor;
	border-radius: 1px;
}
.nav-toggle .nav-toggle-icon::before {
	top: -6px;
}
.nav-toggle .nav-toggle-icon::after {
	top: 6px;
}
.site-header-bar .wp-block-navigation {
	display: none !important;
}
.site-header-bar .header-social {
	margin: 0;
}
.site-header-bar .header-social a {
	color: var(--chris-bright-white);
}
.site-header-bar .header-social a:hover {
	opacity: 0.9;
}

/* Footer: corporate slate bar, bright white text */
.site-footer-wrap {
	background: var(--chris-slate);
	color: var(--chris-bright-white);
	border-top: 1px solid var(--chris-slate-border);
}
.site-footer-wrap p,
.site-footer-wrap .wp-block-paragraph {
	color: var(--chris-bright-white);
}
.site-footer-wrap a {
	color: var(--chris-bright-white);
}
.site-footer-wrap a:hover {
	opacity: 0.9;
}
.site-footer-wrap .wp-block-navigation .wp-block-navigation-item__content {
	color: var(--chris-bright-white);
}
.site-footer-wrap .wp-block-navigation a:hover {
	color: var(--chris-bright-white);
}
@media (max-width: 782px) {
	.nav-toggle {
		display: flex;
	}
	.nav-consolidated {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: rgba(26, 26, 26, 0.98);
		-webkit-backdrop-filter: blur(12px);
		backdrop-filter: blur(12px);
		padding: 1rem;
		box-shadow: 0 8px 24px rgba(0,0,0,0.3);
		margin-top: 0.5rem;
		border-radius: 8px;
	}
	.nav-consolidated.is-open {
		display: flex;
	}
	.nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}
	.nav-list .nav-item {
		border-bottom: 1px solid var(--chris-slate-border);
	}
	.nav-list .nav-item > a {
		display: block;
		padding: 0.75rem 1rem;
	}
	.nav-item-wrap {
		align-items: flex-start;
		width: 100%;
	}
	.nav-item-wrap > a,
	.nav-item-wrap > .nav-dropdown-trigger {
		padding: 0.75rem 1rem;
	}
	.nav-tooltip {
		position: static;
		transform: none;
		min-width: 0;
		max-width: none;
		margin-top: 0.25rem;
		margin-left: 0;
		padding: 0 1rem 0.5rem;
		font-size: 12px;
		opacity: 0.85;
		visibility: visible;
		text-align: left;
	}
	.nav-item-wrap:hover .nav-tooltip {
		transform: none;
	}
	.nav-dropdown-wrap {
		border-bottom: 1px solid rgba(255,255,255,0.08);
	}
	.nav-dropdown-trigger {
		width: 100%;
		text-align: left;
		padding: 0.75rem 1rem;
	}
	.nav-dropdown {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		background: transparent;
		box-shadow: none;
		padding: 0 0 0.5rem 1rem;
		display: none;
	}
	.nav-dropdown.is-open {
		display: block;
	}
	.header-nav-cta-wrap {
		order: 1;
		gap: 0.5rem;
	}
	.header-cta-btn {
		padding: 0.5rem 1rem;
		font-size: 14px;
	}
}

/* No large logos in header: keep only compact site title; hide any site/custom logo image */
.site-header-bar .header-logo,
.site-header-bar .wp-block-site-logo,
.site-header-bar .wp-block-image img {
	max-width: 0;
	max-height: 0;
	width: 0;
	height: 0;
	overflow: hidden;
	opacity: 0;
	position: absolute;
}
.site-header-bar .wp-block-site-logo a,
.site-header-bar .header-logo a {
	display: none;
}

/* Books and Expert Witness: smaller top image/cover so it doesn't take up too much space */
body.page-slug-books main > .wp-block-cover:first-child,
body.page-slug-expert-witness main > .wp-block-cover:first-child,
body.page-slug-books main > .wp-block-group:first-child > .wp-block-cover,
body.page-slug-expert-witness main > .wp-block-group:first-child > .wp-block-cover {
	min-height: 0 !important;
	max-height: 220px;
	height: 220px;
}
body.page-slug-books main .wp-block-cover .wp-block-cover__inner-container,
body.page-slug-expert-witness main .wp-block-cover .wp-block-cover__inner-container {
	min-height: 0;
}
body.page-slug-books main > .wp-block-image:first-child img,
body.page-slug-expert-witness main > .wp-block-image:first-child img {
	max-height: 220px;
	width: auto;
	max-width: 100%;
	object-fit: cover;
	object-position: center;
}
body.page-slug-books main > .wp-block-image:first-child,
body.page-slug-expert-witness main > .wp-block-image:first-child {
	max-height: 220px;
	overflow: hidden;
}

/* About Authority page: biography narrative readability */
.about-authority .about-bio .about-narrative {
	line-height: 1.65;
}

/* Biography page: hero image visible and sized (smaller on desktop, much smaller on mobile) */
.biography-page .biography-hero-wrap .about-hero-img,
.biography-page .biography-hero-wrap .about-hero-img img {
	max-width: 35%;
	width: 35%;
	height: auto;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.biography-page .biography-hero-wrap .about-hero-img img,
body.chris-about-page .biography-hero-wrap .about-hero-img img {
	width: 100%;
	max-width: 100%;
}
/* About page: same hero image sizing */
body.chris-about-page .biography-hero-wrap .about-hero-img,
body.chris-about-page .biography-hero-wrap .about-hero-img img {
	max-width: 35%;
	width: 35%;
	height: auto;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
body.chris-about-page .biography-hero-wrap .about-hero-img img {
	width: 100%;
	max-width: 100%;
}
@media (max-width: 781px) {
	.biography-page .biography-hero-wrap .about-hero-img,
	.biography-page .biography-hero-wrap .about-hero-img img,
	body.chris-about-page .biography-hero-wrap .about-hero-img,
	body.chris-about-page .biography-hero-wrap .about-hero-img img {
		max-width: 65% !important;
		width: 65% !important;
	}
}

/* About page: picture ~50% smaller (body class chris-about-page added via body_class filter) */
body.chris-about-page .about-image,
body.chris-about-page .about-image img,
body.chris-about-page main .wp-block-image:first-of-type,
body.chris-about-page main .wp-block-image:first-of-type img,
body.chris-about-page main .wp-block-cover:first-of-type,
body.page-slug-about .about-image,
body.page-slug-about .about-image img,
body.page-slug-about main .wp-block-image:first-of-type,
body.page-slug-about main .wp-block-image:first-of-type img,
body.page-slug-about main .wp-block-cover:first-of-type,
body.page-slug-about main img:first-of-type {
	max-width: 50% !important;
	width: 50% !important;
	height: auto !important;
	display: block !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
body.chris-about-page main .wp-block-image:first-of-type img,
body.page-slug-about main .wp-block-image:first-of-type img {
	max-width: 100% !important;
	width: 100% !important;
}

/* Keynote Themes section (Speeches page) */
.keynote-themes-section {
	text-align: center;
}
.keynote-themes-title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin-bottom: 0.75rem;
}
.keynote-themes-subtitle {
	font-size: 1.05rem;
	line-height: 1.6;
	max-width: 42em;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 2rem;
	opacity: 0.9;
}
.keynote-themes-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	text-align: left;
	margin-bottom: 0;
}
.keynote-theme-card {
	background: var(--chris-bright-white);
	border: 1px solid var(--chris-slate-border);
	border-top: 4px solid var(--wp--preset--color--accent, #ff6600);
	border-radius: 6px;
	padding: 1.5rem;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.keynote-theme-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 28px rgba(39, 49, 64, 0.12);
}
.keynote-theme-card:hover .keynote-theme-icon {
	filter: drop-shadow(0 0 8px var(--wp--preset--color--accent, #ff6600));
	color: var(--wp--preset--color--accent, #ff6600);
}
.keynote-theme-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 1rem;
	color: var(--chris-slate);
	transition: color 0.25s ease, filter 0.25s ease;
}
.keynote-theme-icon svg {
	width: 40px;
	height: 40px;
}
.keynote-theme-card-title {
	font-size: 1.15rem;
	font-weight: 700;
	margin: 0 0 0.5rem;
	color: var(--chris-slate);
	line-height: 1.3;
}
.keynote-theme-card-copy {
	font-size: 0.95rem;
	line-height: 1.55;
	margin: 0;
	color: var(--chris-slate);
	opacity: 0.9;
}
.keynote-themes-cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}
.keynote-themes-cta .keynote-cta-primary .wp-block-button__link {
	background-color: var(--wp--preset--color--accent, #ff6600);
	color: #fff;
	font-weight: 600;
	padding: 0.6rem 1.5rem;
	border-radius: 6px;
	border: none;
}
.keynote-themes-cta .keynote-cta-primary .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--accent-hover, #e55a00);
	color: #fff;
}
.keynote-themes-cta .keynote-cta-secondary .wp-block-button__link {
	border: 2px solid var(--chris-slate-border);
	color: var(--chris-slate);
	background: transparent;
	padding: 0.5rem 1.25rem;
	border-radius: 6px;
}
.keynote-themes-cta .keynote-cta-secondary .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--accent, #ff6600);
	color: var(--wp--preset--color--accent, #ff6600);
}
@media (max-width: 782px) {
	.keynote-themes-grid {
		grid-template-columns: 1fr;
	}
}

/* Resources page hub: Podcast, Books, ILF cards */
.resources-hub {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
}
.resource-card {
	background: var(--chris-bright-white);
	border: 1px solid var(--chris-slate-border);
	border-top: 4px solid var(--wp--preset--color--accent, #ff6600);
	border-radius: 6px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.resource-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(39, 49, 64, 0.12);
}
.resource-card-title {
	margin-top: 0;
	margin-bottom: 0.75rem;
	font-size: 1.25rem;
	color: var(--chris-slate);
}
.resource-card-copy {
	margin-bottom: 1.25rem;
	color: var(--chris-slate);
}
.resource-card .wp-block-button__link {
	background-color: var(--wp--preset--color--accent, #ff6600);
	color: #fff;
	border: none;
}
.resource-card .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--accent-hover, #e55a00);
	color: #fff;
}

/* Speaking page: sizzle reel cover */
.speaking-reel-cover .funnel-play-link {
	display: inline-block;
}
.speaking-reel-caption {
	margin-top: 0.5rem;
	opacity: 0.9;
}

/* Archive CTA: centered orange button under banners (Speeches, Podcasts, News) */
.archive-cta-wrap {
	text-align: center;
}
.archive-cta-wrap .wp-block-buttons {
	justify-content: center;
}
.archive-cta-wrap .archive-cta-btn .wp-block-button__link {
	background-color: var(--wp--preset--color--accent, #ff6600);
	color: #fff;
	font-weight: 600;
	padding: 0.6rem 1.5rem;
	border-radius: 6px;
	border: none;
}
.archive-cta-wrap .archive-cta-btn .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--accent-hover, #e55a00);
	color: #fff;
}

/* Contact page styling */
.contact-page .wpcf7-submit,
.contact-page input[type="submit"],
.contact-page button[type="submit"] {
	cursor: pointer;
	padding: 1rem 2.5rem;
	font-size: 1.1rem;
	font-weight: 600;
	background-color: var(--wp--preset--color--accent, #ff6600);
	color: #fff;
	border: none;
	border-radius: 6px;
	margin-top: 1rem;
}
.contact-page .wpcf7-submit:hover,
.contact-page input[type="submit"]:hover,
.contact-page button[type="submit"]:hover {
	background-color: var(--wp--preset--color--accent-hover, #e55a00);
}
.contact-page .wpcf7 input[type="text"],
.contact-page .wpcf7 input[type="email"],
.contact-page .wpcf7 textarea,
.contact-page .wpcf7 select,
.contact-page select {
	width: 100%;
	max-width: 100%;
	padding: 0.75rem 1rem;
	margin-bottom: 1rem;
	border: 1px solid rgba(0,0,0,0.2);
	border-radius: 4px;
	box-sizing: border-box;
	font-size: 1rem;
	line-height: 1.5;
}
.contact-page .wpcf7 select,
.contact-page select {
	height: auto;
	min-height: calc(0.75rem + 0.75rem + 1em + 2px);
	appearance: auto;
	cursor: pointer;
}
@media (max-width: 781px) {
	.contact-page .wp-block-columns {
		flex-direction: column;
	}
	.contact-page .wp-block-column {
		flex-basis: 100% !important;
		padding-right: 0 !important;
	}
}

/* Hero: Dr. Abbie feel — background image, dark overlay, right-aligned content */
.wp-block-cover.is-style-hero-cover,
.front-hero,
.hero-abbie-style {
	width: 100%;
	min-height: 70vh;
	align-items: center;
	justify-content: flex-end;
}
.front-hero .wp-block-cover__inner-container.hero-inner {
	width: 100%;
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.front-hero .hero-content-wrap {
	margin-left: auto;
	text-align: right;
}
.front-hero .wp-block-cover__background {
	background-color: rgba(0, 0, 0, 0.65);
}
.front-hero .wp-block-button__link {
	text-decoration: none;
}
.front-hero .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background-color: rgba(255,255,255,0.15);
}
@media (max-width: 781px) {
	.front-hero .wp-block-cover__inner-container {
		justify-content: center;
	}
	.front-hero .wp-block-cover__inner-container > .wp-block-group {
		margin-left: 0;
		text-align: center;
	}
	.front-hero .has-text-align-right {
		text-align: center;
	}
	.front-hero .wp-block-buttons {
		justify-content: center;
	}
}

/* Section icons - nice full graphics above each section */
.section-speeches .section-icon,
.section-podcasts .section-icon,
.section-news .section-icon,
.section-books .section-icon,
.section-expert-witness .section-icon {
	max-width: 200px;
	height: auto;
	margin-bottom: 0.5rem;
}
/* Podcast archive: no icon at top (removed from template; hide here as fallback) */
body.post-type-archive-podcast .section-podcasts .section-icon {
	display: none !important;
}
.section-speeches,
.section-podcasts,
.section-news,
.section-books,
.section-expert-witness {
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.wp-block-query.is-layout-flex {
	gap: 1.5rem;
}

/* Archive pages: smaller post blocks (reduced by ~32%) */
.archive-podcast-query,
.archive-speech-query,
.archive-news-query {
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}
.archive-podcast-query .wp-block-post-template,
.archive-speech-query .wp-block-post-template,
.archive-news-query .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1.25rem;
	justify-content: center;
}
.archive-podcast-query .wp-block-post,
.archive-speech-query .wp-block-post,
.archive-news-query .wp-block-post {
	min-width: 0;
	max-width: 240px;
}
.archive-podcast-query .wp-block-post-featured-image img,
.archive-speech-query .wp-block-post-featured-image img,
.archive-news-query .wp-block-post-featured-image img {
	width: 100%;
	max-width: 200px;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
.archive-podcast-query .wp-block-post-title,
.archive-speech-query .wp-block-post-title,
.archive-news-query .wp-block-post-title {
	font-size: 0.95rem;
	line-height: 1.3;
	margin-bottom: 0.25rem;
}
.archive-podcast-query .wp-block-post-excerpt,
.archive-speech-query .wp-block-post-excerpt,
.archive-news-query .wp-block-post-excerpt {
	font-size: 0.85rem;
	line-height: 1.4;
}
/* Dates: hidden on podcasts; visible (dark) elsewhere if shown */
.archive-podcast-query .wp-block-post-date,
.single-podcast .wp-block-post-date,
body.post-type-archive-podcast .wp-block-post-date,
body.single-podcast .wp-block-post-date {
	display: none;
}
.archive-speech-query .wp-block-post-date,
.archive-news-query .wp-block-post-date,
.wp-block-post-date {
	font-size: 0.8rem;
	color: var(--chris-slate, #273140);
}
.front-section-query .wp-block-post-date {
	color: var(--chris-slate, #273140);
}
@media (max-width: 1200px) {
	.archive-podcast-query .wp-block-post-template,
	.archive-speech-query .wp-block-post-template,
	.archive-news-query .wp-block-post-template {
		grid-template-columns: repeat(4, 1fr);
	}
}
@media (max-width: 782px) {
	.archive-podcast-query .wp-block-post-template,
	.archive-speech-query .wp-block-post-template,
	.archive-news-query .wp-block-post-template {
		grid-template-columns: repeat(2, 1fr);
	}
	.archive-podcast-query .wp-block-post,
	.archive-speech-query .wp-block-post,
	.archive-news-query .wp-block-post {
		max-width: 100%;
	}
}

/* Front page: 5 per row */
.front-section-query .section-grid-5,
.front-section-query .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1.25rem;
}
.front-section-query .wp-block-post-featured-image img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
/* News cards: show full "In the Press" graphic (no square crop) */
.section-news .wp-block-post-featured-image img,
.archive-news-query .wp-block-post-featured-image img {
	aspect-ratio: auto;
	height: auto;
	min-height: 180px;
	object-fit: contain;
	object-position: center top;
	background: #f5f2ed;
}
.front-section-query .wp-block-post,
.archive-speech-query .wp-block-post,
.archive-news-query .wp-block-post {
	min-width: 0;
}
@media (max-width: 1200px) {
	.front-section-query .section-grid-5,
	.front-section-query .wp-block-post-template,
	.archive-speech-query .section-grid-5,
	.archive-speech-query .wp-block-post-template,
	.archive-news-query .section-grid-5,
	.archive-news-query .wp-block-post-template {
		grid-template-columns: repeat(4, 1fr);
	}
}
@media (max-width: 782px) {
	.front-section-query .section-grid-5,
	.front-section-query .wp-block-post-template,
	.archive-speech-query .section-grid-5,
	.archive-speech-query .wp-block-post-template,
	.archive-news-query .section-grid-5,
	.archive-news-query .wp-block-post-template {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ========== Funnel: typography & spacing ========== */
.funnel-main {
	font-size: 18px;
	line-height: 1.6;
}
.funnel-hero,
.reputation-shield,
.funnel-audience,
.funnel-human-hacking,
.funnel-lead-magnet {
	padding-top: 120px;
	padding-bottom: 120px;
}
.reputation-shield {
	padding-top: 2rem;
	padding-bottom: 2rem;
}

/* ========== Funnel Hero: split-screen authority hook ========== */
.funnel-hero-columns {
	display: flex;
	flex-wrap: nowrap;
	min-height: 100vh;
}
.funnel-hero-left {
	background: var(--chris-cloud-dancer);
	color: var(--chris-slate);
	flex: 0 0 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.funnel-hero-left .funnel-hero-headline {
	color: var(--chris-slate);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	line-height: 1.2;
	margin-bottom: 1rem;
}
.funnel-hero-left .funnel-hero-sub {
	color: rgba(255,255,255,0.9);
	font-size: 1.125rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
}
.funnel-hero-left .wp-block-button.is-style-fill .wp-block-button__link {
	background-color: var(--wp--preset--color--accent, #ff6600);
	color: #fff;
	border: none;
	padding: 0.75rem 1.5rem;
	font-weight: 600;
}
.funnel-hero-left .wp-block-button.is-style-fill .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--accent-hover, #e55a00);
	color: #fff;
}
.funnel-hero-left .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--chris-slate);
	border: 2px solid var(--chris-slate-border);
	border: 2px solid #fff;
	padding: 0.75rem 1.5rem;
}
.funnel-hero-left .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: rgba(255,255,255,0.1);
	color: #fff;
	border-color: #fff;
}

.funnel-hero-right {
	flex: 0 0 50%;
	min-height: 100vh;
	padding: 0;
}
.funnel-hero-portrait {
	width: 100%;
	min-height: 100vh !important;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
}
.funnel-hero-portrait:not([style*="background-image"]) {
	background-image: url(assets/images/hero.png);
}
.funnel-hero-portrait .wp-block-cover__background {
	background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%) !important;
}
.funnel-hero-portrait .wp-block-cover__inner-container {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100%;
}
.funnel-reel-overlay {
	text-align: center;
}
.funnel-play-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: rgba(255,255,255,0.2);
	border: 3px solid #fff;
	transition: background 0.2s, transform 0.2s;
	cursor: pointer;
}
.funnel-play-link[type="button"],
button.funnel-play-link {
	appearance: none;
	padding: 0;
	font: inherit;
}
.funnel-play-link:hover {
	background: rgba(255,255,255,0.35);
	transform: scale(1.05);
}
.funnel-play-icon {
	display: inline-block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 14px 0 14px 24px;
	border-color: transparent transparent transparent #fff;
	margin-left: 6px;
}
.funnel-reel-caption {
	color: #fff;
	font-size: 0.95rem;
	margin-top: 0.75rem;
	margin-bottom: 0;
	letter-spacing: 0.02em;
}

/* Speaker reel video — contain ensures full video visible, no cropping */
.speaker-reel-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
}
.speaker-reel-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center center;
}
.speaker-reel-dim {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.4);
	pointer-events: none;
}
.funnel-hero-portrait .speaker-reel-dim {
	background: rgba(0,0,0,0.4);
}
.speaking-reel-cover .speaker-reel-dim {
	background: rgba(0,0,0,0.5);
}
.speaker-reel-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	transition: opacity 0.3s;
	cursor: pointer;
}
.speaker-reel-overlay.is-playing {
	opacity: 0;
	pointer-events: none;
}

/* Fullscreen: video fills screen */
.speaker-reel-wrap:fullscreen .speaker-reel-video,
.speaker-reel-wrap:-webkit-full-screen .speaker-reel-video,
.speaker-reel-wrap:-ms-fullscreen .speaker-reel-video,
.speaker-reel-wrap:-moz-full-screen .speaker-reel-video {
	object-fit: contain;
}
.speaker-reel-wrap:fullscreen,
.speaker-reel-wrap:-webkit-full-screen,
.speaker-reel-wrap:-ms-fullscreen,
.speaker-reel-wrap:-moz-full-screen {
	background: #000;
}

/* ========== Trust banners: headings + institutions + media ========== */
.trust-banner-heading {
	font-size: 0.75rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--chris-slate);
	margin: 0 auto 1rem;
	max-width: 1400px;
	padding: 0 1.5rem;
}
.trust-banner-institutions,
.reputation-shield {
	width: 100vw;
	max-width: 100%;
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
	background: var(--chris-bright-white);
	color: var(--chris-slate);
	border-bottom: 1px solid var(--chris-slate-border);
}
.trust-banner-institutions .trust-banner-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 2rem 2.5rem;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 1.5rem;
}
.trust-banner-institutions .trust-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.trust-banner-institutions .trust-logo img {
	height: 40px;
	width: auto;
	max-width: 140px;
	object-fit: contain;
	vertical-align: middle;
	opacity: 1;
}
.trust-banner-institutions .trust-logo img[alt="US Military"] {
	max-width: 200px;
}

/* ========== Reputation Shield: Media banner (white bg, color logos) ========== */
.reputation-shield-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 2.5rem 3rem;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 1.5rem;
}
.reputation-shield .shield-logo,
.reputation-shield .shield-logo-img {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.reputation-shield .shield-logo-img img {
	height: 40px;
	width: auto;
	max-width: 130px;
	object-fit: contain;
	vertical-align: middle;
	opacity: 1;
	transition: opacity 0.2s;
}
.reputation-shield .shield-logo-img.shield-logo-nyt img,
.reputation-shield .shield-logo-img.shield-logo-csm img {
	height: 56px;
	max-width: 200px;
}
.reputation-shield .shield-logo-img.shield-logo-csm img {
	max-width: 220px;
}
.reputation-shield .shield-logo-img:hover img {
	opacity: 0.85;
}
.reputation-shield .shield-logo {
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--chris-slate);
	opacity: 0.9;
}
.reputation-shield .shield-logo:last-child {
	text-transform: none;
	letter-spacing: 0.02em;
	font-size: 0.95rem;
}

/* ========== Audience grid: choose your path ========== */
.funnel-audience-title {
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	margin-bottom: 2.5rem;
}
.funnel-audience-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}
.funnel-audience-grid > .wp-block-column {
	min-width: 0;
}
.funnel-card {
	min-width: 0;
}
.funnel-card-inner {
	padding: 2rem;
	border: 1px solid var(--chris-slate-border);
	border-radius: 8px;
	height: 100%;
	display: flex;
	flex-direction: column;
	background: var(--chris-bright-white);
	transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s ease;
}
.funnel-card-inner:hover {
	box-shadow: 0 8px 24px rgba(39, 49, 64, 0.1);
	border-color: var(--wp--preset--color--accent, #ff6600);
	transform: scale(1.02);
}
.funnel-card-inner h3 {
	margin-top: 0;
	margin-bottom: 0.75rem;
	font-size: 1.25rem;
	color: var(--chris-slate);
}
.funnel-card-inner p {
	margin-bottom: 1.25rem;
	flex-grow: 1;
	color: var(--chris-slate);
}
.funnel-card-inner .wp-block-button__link {
	background-color: var(--wp--preset--color--accent, #ff6600);
	color: #fff;
	border: none;
	padding: 0.6rem 1.25rem;
	font-weight: 600;
	align-self: flex-start;
}
.funnel-card-inner .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--accent-hover, #e55a00);
	color: #fff;
}

/* ========== Human Hacking: 3-part toggle ========== */
.funnel-human-hacking {
	text-align: center;
	background: var(--chris-slate);
	color: var(--chris-bright-white);
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	border-top: 1px solid var(--chris-slate-border);
	border-bottom: 1px solid var(--chris-slate-border);
}
.funnel-human-hacking .funnel-hh-title {
	color: var(--chris-bright-white);
}
.funnel-hh-title {
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
	margin-bottom: 1.5rem;
}
.funnel-hh-toggles {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}
.funnel-hh-tab {
	font-size: 0.95rem;
	font-weight: 600;
	padding: 0.6rem 1.25rem;
	border: 2px solid rgba(255,255,255,0.4);
	background: var(--chris-bright-white);
	color: var(--chris-slate);
	border-radius: 6px;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.funnel-hh-tab:hover {
	border-color: var(--wp--preset--color--accent, #ff6600);
	color: var(--wp--preset--color--accent, #ff6600);
}
.funnel-hh-tab.is-active {
	background: var(--wp--preset--color--accent, #ff6600);
	border-color: var(--wp--preset--color--accent, #ff6600);
	color: #fff;
}
.funnel-hh-panels {
	margin-bottom: 1.5rem;
	min-height: 4rem;
}
.funnel-hh-panel {
	text-align: center;
}
.funnel-hh-panel.is-hidden {
	display: none;
}
.funnel-hh-desc {
	font-size: 1.05rem;
	line-height: 1.6;
	color: var(--chris-bright-white);
	margin: 0;
	max-width: 36em;
	margin-left: auto;
	margin-right: auto;
}
.funnel-hh-cta-wrap {
	margin-top: 0.5rem;
}
.funnel-hh-cta {
	display: inline-block;
	padding: 0.75rem 1.75rem;
	background: var(--wp--preset--color--accent, #ff6600);
	color: #fff;
	font-weight: 600;
	border-radius: 6px;
	text-decoration: none;
	transition: background 0.2s;
}
.funnel-hh-cta:hover {
	background: var(--wp--preset--color--accent-hover, #e55a00);
	color: #fff;
}

/* ========== FAQ Section (SEO + LLM citations) ========== */
.funnel-faq {
	background: var(--chris-slate);
	color: var(--chris-bright-white);
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	border-top: 1px solid var(--chris-slate-border);
}
.funnel-faq-title {
	color: var(--chris-bright-white);
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
	margin-bottom: 2rem;
}
.funnel-faq-list {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
}
.funnel-faq-item {
	border-bottom: 1px solid var(--chris-slate-border);
	padding-bottom: 1.75rem;
}
.funnel-faq-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}
.funnel-faq-q {
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--chris-bright-white);
	margin: 0 0 0.5rem 0;
}
.funnel-faq-a {
	font-size: 1rem;
	line-height: 1.6;
	color: rgba(255,255,255,0.9);
}
.funnel-faq-a p {
	margin: 0;
}
.funnel-faq-a a {
	color: var(--wp--preset--color--accent, #ff6600);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.funnel-faq-a a:hover {
	color: var(--wp--preset--color--accent-hover, #e55a00);
}

/* Curated portal nav: intent-based labels */
.nav-curated-portal .wp-block-navigation-item__content {
	letter-spacing: 0.06em;
	font-weight: 500;
}

/* Footer: Security Audit link */
.footer-security-audit a {
	opacity: 0.9;
}
.footer-security-audit a:hover {
	text-decoration: underline;
}

/* Lazy sections: defer offscreen content (LCP optimization) */
.funnel-lazy-section {
	content-visibility: auto;
	contain-intrinsic-size: auto 400px;
}

/* ========== Lead magnet ========== */
.funnel-lead-magnet h2 {
	margin-top: 0;
	margin-bottom: 0.75rem;
	font-size: 1.5rem;
}
.funnel-pdf-thumbnail {
	max-width: 220px;
	margin-left: auto;
	margin-right: auto;
}
.funnel-pdf-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.funnel-lead-form .funnel-email-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}
.funnel-lead-form .funnel-email-input {
	flex: 1 1 200px;
	min-width: 200px;
	padding: 0.75rem 1rem;
	border: 1px solid rgba(0,0,0,0.2);
	border-radius: 6px;
	font-size: 1rem;
}
.funnel-lead-form .funnel-email-submit {
	padding: 0.75rem 1.5rem;
	background-color: var(--wp--preset--color--accent, #ff6600);
	color: #fff;
	border: none;
	border-radius: 6px;
	font-weight: 600;
	cursor: pointer;
}
.funnel-lead-form .funnel-email-submit:hover {
	background-color: var(--wp--preset--color--accent-hover, #e55a00);
}
.funnel-lead-message {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	border-radius: 6px;
	font-size: 1rem;
}
.funnel-lead-success {
	background: rgba(34, 139, 34, 0.15);
	color: #0d5c0d;
	border: 1px solid rgba(34, 139, 34, 0.3);
}
.funnel-lead-error {
	background: rgba(220, 53, 69, 0.1);
	color: #721c24;
	border: 1px solid rgba(220, 53, 69, 0.3);
}

/* ========== Mobile: Thumb-first refactor ========== */
@media (max-width: 781px) {
	body {
		line-height: 1.7;
	}
	.funnel-main,
	.funnel-hero-sub,
	.funnel-hh-desc {
		line-height: 1.7;
	}
	.funnel-hero,
	.reputation-shield,
	.funnel-audience,
	.funnel-human-hacking,
	.funnel-lead-magnet {
		padding-top: 60px;
		padding-bottom: 60px;
	}
	.funnel-hero-columns {
		flex-direction: column;
		min-height: auto;
	}
	.funnel-hero-left {
		order: 1;
		flex: none;
		padding: 2rem 1.5rem !important;
		min-height: auto;
	}
	.funnel-hero-right {
		order: 2;
		flex: none;
		min-height: 60vh;
	}
	.funnel-hero-portrait {
		min-height: 60vh !important;
	}
	.funnel-audience-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	.funnel-audience-grid .wp-block-column {
		flex-basis: 100% !important;
	}
	.funnel-human-hacking .funnel-hh-toggles {
		flex-direction: column;
	}
	.funnel-human-hacking .funnel-hh-tab {
		width: 100%;
	}
	.funnel-lead-magnet .wp-block-columns {
		flex-direction: column;
	}
	.funnel-lead-magnet .wp-block-column {
		flex-basis: 100% !important;
	}
	.funnel-pdf-mockup {
		display: flex;
		justify-content: center;
	}
	.funnel-lead-form .funnel-email-form {
		flex-direction: column;
		align-items: stretch;
	}
	.funnel-lead-form .funnel-email-input {
		min-width: 0;
	}
}

/* Mobile: bottom-floating Action Bar (thumb-first) */
.mobile-action-bar {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 999;
	padding: 0.75rem 1rem;
	background: rgba(39, 49, 64, 0.97);
	border-top: 1px solid var(--chris-slate-border);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	box-shadow: 0 -2px 12px rgba(39, 49, 64, 0.2);
}
@media (max-width: 781px) {
	.mobile-action-bar {
		display: block;
	}
	body {
		padding-bottom: 60px;
	}
}
.mobile-action-bar-btn {
	display: block;
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
	padding: 0.9rem 1.25rem;
	background: var(--wp--preset--color--accent, #ff6600);
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	border-radius: 8px;
	border: none;
}
.mobile-action-bar-btn:hover {
	background: var(--wp--preset--color--accent-hover, #e55a00);
	color: #fff;
}

a {
	color: var(--wp--preset--color--accent, #ff6600);
}
a:hover {
	color: var(--wp--preset--color--accent-hover, #e55a00);
}

/* ========== Corporate palette overrides (light bg, black text) ========== */
:root {
	--chris-cloud-dancer: #F0EEE9;
	--chris-bright-white: #FFFFFF;
	--chris-slate-border: #273140;
	--chris-slate: #273140;
	--chris-text-dark: #000000;
}
body,
.wp-site-blocks,
main,
.funnel-main {
	background-color: var(--chris-cloud-dancer);
	color: var(--chris-text-dark);
}
body h1, body h2, body h3, body h4, body h5, body h6,
.wp-block-heading,
.wp-block-paragraph,
main p,
main .wp-block-paragraph,
.funnel-hero-headline,
.funnel-hero-sub,
.funnel-audience-title,
.keynote-themes-title,
.keynote-themes-subtitle,
.keynote-theme-card-title,
.keynote-theme-card-copy,
.resource-card-title,
.resource-card-copy,
.funnel-card-inner h3,
.funnel-card-inner p,
.about-narrative,
.resources-intro {
	color: var(--chris-text-dark);
}

/* Header + nav */
.site-header-bar.header-scrolled {
	background: rgba(39, 49, 64, 0.92);
	border-bottom: 1px solid var(--chris-slate-border);
}
/* Site title (Christopher Hadnagy) = black */
.site-header-bar .wp-block-site-title a,
.site-header-bar .header-logo-link {
	color: #000000;
}
.site-header-bar .wp-block-site-title a:hover,
.site-header-bar .header-logo-link:hover {
	color: #000000;
	opacity: 0.85;
}
/* Resources label = white; other nav links white */
.site-header-bar a,
.site-header-bar .header-social a {
	color: var(--chris-bright-white);
}
.site-header-bar .nav-dropdown-trigger {
	color: var(--chris-bright-white);
}
.site-header-bar a:hover,
.site-header-bar .header-social a:hover {
	color: var(--chris-bright-white);
	opacity: 0.9;
}
.site-header-bar .nav-dropdown-trigger:hover {
	color: var(--chris-bright-white);
}
.nav-tooltip,
.nav-dropdown,
.nav-consolidated {
	background: rgba(39, 49, 64, 0.98);
	border: 1px solid var(--chris-slate-border);
}
.nav-dropdown a {
	color: var(--chris-bright-white);
}

/* Footer */
.site-footer-wrap {
	background: var(--chris-slate);
	color: var(--chris-bright-white);
	border-top: 1px solid var(--chris-slate-border);
}
.site-footer-wrap a,
.site-footer-wrap p {
	color: var(--chris-bright-white);
}

/* Cards + sections */
.funnel-hero-left {
	background: var(--chris-cloud-dancer);
	color: var(--chris-text-dark);
}
.funnel-hero-left .funnel-hero-headline,
.funnel-hero-left .funnel-hero-sub {
	color: var(--chris-text-dark);
}
.keynote-theme-card,
.resource-card,
.funnel-card-inner {
	background: var(--chris-bright-white);
	border: 1px solid var(--chris-slate-border);
}
.trust-banner-institutions,
.reputation-shield {
	background: var(--chris-bright-white);
	color: var(--chris-text-dark);
	border-bottom: 1px solid var(--chris-slate-border);
}
.trust-banner-heading {
	color: var(--chris-text-dark);
}
.reputation-shield .shield-logo {
	color: var(--chris-text-dark);
}

/* Human Hacking section */
.funnel-human-hacking {
	background: var(--chris-slate);
	color: var(--chris-bright-white);
	border-top: 1px solid var(--chris-slate-border);
	border-bottom: 1px solid var(--chris-slate-border);
}
.funnel-human-hacking .funnel-hh-title,
.funnel-human-hacking .funnel-hh-desc {
	color: var(--chris-bright-white);
}

/* Contact page: balanced title, clear hierarchy */
/* Contact page H1: balanced size (not huge) */
body.page-slug-contact .page-title,
body.page-slug-contact h1.page-title,
body.page-slug-get-in-touch .page-title,
body.page-slug-contact-us .page-title,
.contact-content .page-header .page-title,
.contact-page .wp-block-heading.has-text-align-center,
.contact-page-content .wp-block-heading {
	font-size: clamp(1.5rem, 3vw, 1.75rem) !important;
	font-weight: 600 !important;
	margin-bottom: 0.5rem !important;
}

/* Contact form: uniform layout, clear box, aligned fields */
.contact-content {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 4rem;
	margin: 3rem 0;
}
.contact-form-wrapper {
	background: var(--chris-bright-white);
	padding: 2rem 2.5rem;
	border-radius: 8px;
	border: 1px solid var(--chris-slate-border);
	box-shadow: 0 2px 12px rgba(39, 49, 64, 0.08);
}
.contact-form-wrapper h2,
.contact-info h2 {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: var(--chris-text-dark);
}
.form-intro {
	color: var(--chris-slate);
	margin-bottom: 1.25rem;
	font-size: 0.9rem;
	line-height: 1.5;
}
.chris-contact-form-wrap {
	width: 100%;
	min-width: 0;
	font-size: 1rem;
	background: var(--chris-bright-white);
	border: 1px solid rgba(39, 49, 64, 0.12);
	border-radius: 8px;
	padding: 1.5rem 1.75rem;
	margin-top: 0.5rem;
}
.chris-form-required-note {
	font-size: 0.8rem;
	color: var(--chris-slate);
	margin: 0 0 1rem 0;
	padding: 0;
}
#chris-contact-form.chris-contact-form,
.chris-contact-form.contact-form,
.contact-form {
	margin: 0;
	max-width: 100%;
	width: 100%;
	font-size: 1rem;
}
#chris-contact-form .form-group,
.chris-contact-form .form-group,
.contact-form .form-group {
	margin-bottom: 1.25rem;
	display: block;
}
#chris-contact-form .form-group:last-of-type {
	margin-bottom: 0;
}
#chris-contact-form .form-group label,
.chris-contact-form .form-group label,
.contact-form .form-group label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 500;
	font-size: 0.9rem;
	line-height: 1.4;
	color: var(--chris-text-dark);
}
#chris-contact-form .form-group .required,
.chris-contact-form .form-group .required,
.contact-form .form-group .required {
	color: var(--wp--preset--color--accent, #ff6600);
	font-size: inherit;
}
/* All inputs: uniform width, same styling */
#chris-contact-form .form-group input[type="text"],
#chris-contact-form .form-group input[type="email"],
#chris-contact-form .form-group input[type="number"],
#chris-contact-form .form-group select,
.chris-contact-form .form-group input[type="text"],
.chris-contact-form .form-group input[type="email"],
.chris-contact-form .form-group input[type="number"],
.chris-contact-form .form-group select,
.contact-form .form-group input[type="text"],
.contact-form .form-group input[type="email"],
.contact-form .form-group input[type="number"],
.contact-form .form-group select {
	display: block;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0.7rem 1rem;
	border: 1px solid var(--chris-slate-border);
	border-radius: 6px;
	font-size: 0.95rem;
	font-family: inherit;
	line-height: 1.5;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	background-color: var(--chris-bright-white);
}
#chris-contact-form .form-group input[type="number"],
.chris-contact-form .form-group input[type="number"],
.contact-form .form-group input[type="number"] {
	-moz-appearance: textfield;
	appearance: textfield;
}
#chris-contact-form .form-group select,
.chris-contact-form .form-group select,
.contact-form .form-group select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23273140' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.5rem;
}
#chris-contact-form .form-group textarea,
.chris-contact-form .form-group textarea,
.contact-form .form-group textarea {
	display: block;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0.7rem 1rem;
	border: 1px solid var(--chris-slate-border);
	border-radius: 6px;
	font-size: 0.95rem;
	font-family: inherit;
	line-height: 1.5;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	background-color: var(--chris-bright-white);
	resize: vertical;
	min-height: 120px;
}
#chris-contact-form .form-group input:focus,
#chris-contact-form .form-group select:focus,
#chris-contact-form .form-group textarea:focus,
.chris-contact-form .form-group input:focus,
.chris-contact-form .form-group select:focus,
.chris-contact-form .form-group textarea:focus,
.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--accent, #ff6600);
	box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.15);
}
#chris-contact-form .form-hint,
.chris-contact-form .form-hint,
.contact-form .form-hint {
	display: block;
	margin-top: 0.25rem;
	font-size: 0.8rem;
	color: var(--chris-slate);
	line-height: 1.4;
}
#chris-contact-form .btn-primary,
.chris-contact-form .btn-primary,
.contact-form .btn-primary {
	display: block;
	width: 100%;
	max-width: 280px;
	margin-top: 0.5rem;
	background-color: var(--wp--preset--color--accent, #ff6600);
	color: #fff;
	padding: 0.75rem 1.5rem;
	border: none;
	border-radius: 6px;
	font-size: 0.95rem;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s ease;
}
#chris-contact-form .btn-primary:hover,
.chris-contact-form .btn-primary:hover,
.contact-form .btn-primary:hover {
	background-color: var(--wp--preset--color--accent-hover, #e55a00);
}
@media (max-width: 768px) {
	.contact-content {
		grid-template-columns: 1fr;
	}
}
