/**
 * CRO page hero + course info strip
 */

.cro-hero {
	--th-h1: clamp(36px, 3.4vw, 46px);
	--th-h2: clamp(28px, 2.4vw, 32px);
	--th-h3: 20px;
	--th-eyebrow: 12px;
	--th-btn: 14px;
	--th-section-pad: 60px;
	--th-heading-weight: 600;
	--cro-teal: var(--accent, #1c8592);
	--cro-teal-dark: var(--global-color-11, #176f7a);
	--cro-text: var(--contrast-2, #173746);
	--cro-muted: var(--contrast-2, #3d5a63);
	--cro-strip-bg: var(--accent, #1c8592);
	--cro-max: 1440px;
	width: 100%;
	background: transparent;
}

body.has-cro-hero .cro-hero,
.cro-hero__strip,
.cro-hero__page-rule {
	box-sizing: border-box;
	inline-size: 100vw;
	max-inline-size: 100vw;
	margin-inline: calc(50% - 50vw);
}

.cro-hero__main {
	padding: clamp(3.75rem, 7vw, 5.75rem) 0 clamp(3.25rem, 6vw, 5rem);
	background: linear-gradient(105deg, #fff1d7 0%, #f4f3e3 44%, #d3ecec 100%);
}

.cro-hero__inner {
	max-width: var(--cro-max);
	width: 100%;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
}

.cro-hero__inner--has-media {
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

body.tarigo-brochure-single .cro-hero__inner--has-media {
	grid-template-columns: minmax(0, 1.75fr) minmax(240px, 0.55fr);
	align-items: start;
}

body.tarigo-brochure-single .cro-hero__subhead {
	max-width: none;
}

body.single-post:not(.ktpm-video-single):not(.tarigo-brochure-single) .cro-hero__main {
	padding: clamp(2rem, 3.6vw, 2.75rem) 0;
}

body.single-post:not(.ktpm-video-single):not(.tarigo-brochure-single) .cro-hero__subhead {
	margin-bottom: 1rem;
}

body.playbook-landing .cro-hero__main,
body.tcp-playbook-landing-page .cro-hero__main {
	padding: clamp(2rem, 3.6vw, 2.75rem) 0;
}

body.playbook-landing .cro-hero__headline,
body.tcp-playbook-landing-page .cro-hero__headline {
	margin-bottom: 0;
}

.cro-hero__headline {
	margin: 0 0 1rem;
	color: var(--accent, var(--cro-teal));
	font-size: var(--th-h1);
	line-height: 1.2;
	font-weight: var(--th-heading-weight);
	letter-spacing: normal;
}

.cro-hero__subhead {
	margin: 0 0 1.5rem;
	max-width: 36rem;
	color: var(--cro-muted);
	font-size: clamp(1rem, 1.6vw, 1.125rem);
	line-height: 1.55;
}

.cro-hero__subhead p {
	margin: 0 0 1rem;
}

.cro-hero__subhead p:last-child {
	margin-bottom: 0;
}

.cro-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	margin-bottom: 1.5rem;
}

.cro-hero__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.85rem 1.25rem;
	border-radius: 4px;
	font-size: var(--th-btn);
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.2;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cro-hero__btn--primary {
	background: var(--cro-teal);
	border: 2px solid var(--cro-teal);
	color: #fff;
}

.cro-hero__btn--primary:hover,
.cro-hero__btn--primary:focus-visible {
	background: var(--cro-teal-dark);
	border-color: var(--cro-teal-dark);
	color: #fff;
}

.cro-hero__btn--secondary {
	background: transparent;
	border: 2px solid var(--cro-teal);
	color: var(--cro-teal);
}

.cro-hero__btn--secondary:hover,
.cro-hero__btn--secondary:focus-visible {
	background: rgba(28, 133, 146, 0.08);
	color: var(--cro-teal-dark);
	border-color: var(--cro-teal-dark);
}

/* Keep hero look when using Calendly popup triggers */
.cro-hero__btn.js-tarigo-calendly-trigger {
	cursor: pointer;
}

.cro-hero__btn.js-tarigo-calendly-trigger.tarigo-calendly-btn,
.cro-hero__btn.js-tarigo-calendly-trigger {
	text-transform: uppercase;
}

.cro-hero__btn-arrow {
	font-weight: 400;
	line-height: 1;
}

.cro-hero__trust {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px 18px;
	margin: 22px 0 0;
	padding: 0;
	border-top: 0;
	list-style: none;
	color: var(--cro-teal);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.3;
}

.cro-hero__trust-item {
	display: inline-flex;
	align-items: baseline;
	flex: 0 0 auto;
	margin: 0;
	white-space: nowrap;
}

.cro-hero__trust-item:not(:last-child)::after {
	content: none;
}

.cro-hero__trust-item::before {
	content: "\2713";
	margin-right: 7px;
	color: var(--cro-teal);
	font-weight: 900;
}

/* Full-bleed grey separator under the course strip / hero */
.cro-hero__page-rule {
	display: block;
	width: 100%;
	height: 1px;
	margin: 0;
	background-color: #c8c8c8;
	border: 0;
}

.cro-hero__media {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 200px;
}

.cro-hero__media--html {
	display: block;
	width: 100%;
	min-height: 0;
}

.cro-hero__media--html .ktpm-player {
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 12px 32px rgba(23, 55, 70, 0.16);
}

.cro-hero__brochure {
	position: relative;
	width: 100%;
	max-width: 420px;
	margin-inline: auto;
	aspect-ratio: 1 / 1.35;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(23, 55, 70, 0.18);
}

.cro-hero__brochure-frame {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #fff;
}

.cro-hero__brochure-cover {
	display: none;
	width: 100%;
	height: 100%;
}

.cro-hero__brochure-cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cro-hero__image {
	display: block;
	width: auto;
	max-width: min(100%, 420px);
	height: auto;
	max-height: 370px;
	object-fit: contain;
	object-position: center;
}

.why-extras strong {
    background: var(--global-color-9);
    width: 36px;
    height: 36px;
    color: var(--global-color-11);
    border-radius: 50%;
    place-items: center;
    font-size: 11px;
    font-weight: 900;
    display: grid;
}

/* ----- Course strip ----- */
.cro-hero__strip {
	--cro-teal: var(--accent, #1c8592);
	--cro-teal-dark: var(--global-color-11, #176f7a);
	--cro-strip-bg: var(--accent, #1c8592);
	background: var(--cro-strip-bg);
	border-top: 0;
	border-bottom: 0;
	color: #fff;
}

.cro-hero__strip-inner {
	max-width: var(--th-max, var(--cro-max));
	width: 100%;
	margin: 0 auto;
	padding: 1.75rem 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.1rem 2rem;
	box-sizing: border-box;
}

.cro-hero__strip-item {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.cro-hero__strip-item--course {
	flex: 1 1 12rem;
}

.cro-hero__strip-item--cta {
	margin-left: auto;
}

.cro-hero__strip-label {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.82);
}

.cro-hero__strip-value {
	font-size: 1.0625rem;
	font-weight: 600;
	color: #fff;
	line-height: 1.3;
}

.cro-hero__strip-value--emphasis {
	color: #fff;
	font-weight: 800;
	font-size: 1.1875rem;
}

.cro-hero__strip-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.8rem 1.15rem;
	border-radius: 4px;
	background: #fff;
	color: var(--cro-teal);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.cro-hero__strip-btn:hover,
.cro-hero__strip-btn:focus-visible {
	background: #fff4d8;
	color: var(--cro-teal-dark);
}

@media (max-width: 900px) {
	.cro-hero__trust {
		flex-wrap: wrap;
	}

	.cro-hero__inner--has-media {
		grid-template-columns: 1fr;
	}

	.cro-hero__media {
		order: -1;
	}

	.cro-hero__image {
		max-width: min(100%, 280px);
		max-height: none;
	}

	.cro-hero__brochure-frame {
		display: none;
	}

	.cro-hero__brochure-cover {
		display: block;
	}

	.cro-hero__brochure:not(:has(.cro-hero__brochure-cover)) .cro-hero__brochure-frame {
		display: block;
	}

	.cro-hero__strip-item--cta {
		margin-left: 0;
		width: 100%;
	}

	.cro-hero__strip-btn {
		justify-content: center;
		width: 100%;
	}
}

@media (max-width: 600px) {
	.cro-hero__strip-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.cro-hero__actions {
		flex-direction: column;
	}

	.cro-hero__btn {
		justify-content: center;
		width: 100%;
	}

	.cro-hero__trust {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
}
