/* Udemy-style exam product landing (Woo single product override) */

.eval-product-landing .content-area,
.eval-product-landing .site-container,
.eval-product-landing .content-container,
.eval-product-landing .entry-content-wrap,
.eval-product-landing .wp-site-blocks > .wp-block-group {
	max-width: none;
}

.eval-product-landing .entry-hero,
.eval-product-landing .entry-header,
.eval-product-landing .woocommerce-products-header,
.eval-product-landing .product .woocommerce-product-gallery,
.eval-product-landing .summary.entry-summary,
.eval-product-landing .woocommerce-tabs,
.eval-product-landing .related.products,
.eval-product-landing .upsells.products {
	display: none !important;
}

.eval-pl {
	--eval-pl-navy: #1c3654;
	--eval-pl-navy-deep: #13263d;
	--eval-pl-ink: #1c1d1f;
	--eval-pl-muted: #6a6f73;
	--eval-pl-surface: #f7f9fa;
	--eval-pl-card: #ffffff;
	--eval-pl-accent: #1c3654;
	--eval-pl-accent-hover: #13263d;
	--eval-pl-cta: #b8473a;
	--eval-pl-cta-hover: #963628;
	--eval-pl-border: #d1d7dc;
	--eval-pl-updated: #eceb98;
	--eval-pl-success: #2e9b4d;
	--eval-pl-radius: 4px;
	--eval-pl-max: 1152px;
	--eval-pl-buy-top: calc(var(--eval-masthead-h, 5.5rem) + var(--eval-notice-h, 0px) + 0.75rem);
	--eval-pl-buy-max-h: calc(100dvh - var(--eval-pl-buy-top) - 1rem);
	color: var(--eval-pl-ink);
	background: var(--eval-pl-surface);
	font-size: 1rem;
	line-height: 1.5;
}

html.admin-bar .eval-pl {
	--eval-pl-buy-top: calc(32px + var(--eval-masthead-h, 5.5rem) + var(--eval-notice-h, 0px) + 0.75rem);
	--eval-pl-buy-max-h: calc(100dvh - var(--eval-pl-buy-top) - 1rem);
}

@media (max-width: 782px) {
	html.admin-bar .eval-pl {
		--eval-pl-buy-top: calc(46px + var(--eval-masthead-h, 5.5rem) + var(--eval-notice-h, 0px) + 0.75rem);
		--eval-pl-buy-max-h: calc(100dvh - var(--eval-pl-buy-top) - 1rem);
	}
}

.eval-pl__hero {
	background: var(--eval-pl-navy);
	color: #fff;
	padding: 2rem 1.25rem 2.25rem;
}

/* Beat theme entry-title / h1 color on the navy hero. */
.eval-product-landing .eval-pl__hero,
.eval-product-landing .eval-pl__hero a,
.eval-product-landing .eval-pl__hero .eval-pl__headline,
.eval-product-landing .eval-pl__hero h1.eval-pl__headline,
.eval-product-landing .eval-pl__hero .eval-pl__subtitle,
.eval-product-landing .eval-pl__hero .eval-pl__crumbs,
.eval-product-landing .eval-pl__hero .eval-pl__crumbs a,
.eval-product-landing .eval-pl__hero .eval-pl__badge:not(.eval-pl__badge--updated) {
	color: #ffffff !important;
}

.eval-pl__hero-inner {
	max-width: var(--eval-pl-max);
	margin: 0 auto;
	padding-right: min(22rem, 34%);
}

.eval-pl__crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.35rem;
	list-style: none;
	margin: 0 0 0.85rem;
	padding: 0;
	font-size: 0.8125rem;
	opacity: 0.85;
}

.eval-pl__crumbs li:not(:last-child)::after {
	content: "›";
	margin-left: 0.35rem;
	opacity: 0.7;
}

.eval-pl__crumbs a {
	color: inherit;
	text-decoration: none;
}

.eval-pl__crumbs a:hover,
.eval-pl__crumbs a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.eval-product-landing .eval-pl__hero h1.eval-pl__headline,
.eval-pl__headline {
	margin: 0 0 0.75rem;
	font-size: clamp(1.35rem, 2.1vw, 1.75rem) !important;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: -0.02em;
	max-width: 38rem;
	color: #ffffff;
}

.eval-pl__subtitle {
	margin: 0 0 1.15rem;
	font-size: 1rem;
	line-height: 1.55;
	max-width: 40rem;
	color: rgba(255, 255, 255, 0.92);
}

.eval-pl__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.eval-pl__badge-item {
	position: relative;
}

.eval-pl__badge {
	display: inline-block;
	padding: 0.28rem 0.65rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	font-size: 0.75rem;
	line-height: 1.3;
	background: rgba(255, 255, 255, 0.06);
}

.eval-pl__badge-item--our .eval-pl__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding-right: 0.5rem;
}

.eval-pl__hero .eval-pl__badge-help.eval-exam-card-stats__help {
	flex-shrink: 0;
	width: 0.85rem;
	height: 0.85rem;
	margin: 0;
	color: rgba(255, 255, 255, 0.88);
	opacity: 0.9;
	cursor: pointer;
}

.eval-pl__hero .eval-pl__badge-help.eval-exam-card-stats__help:hover,
.eval-pl__hero .eval-pl__badge-help.eval-exam-card-stats__help:focus-visible {
	opacity: 1;
	color: #fff;
}

.eval-pl__hero .eval-pl__badge-help.eval-exam-card-stats__help svg {
	display: block;
	width: 100%;
	height: 100%;
}

.eval-pl__badge-item--our .eval-exam-card-stats__tooltip {
	left: 0;
	right: auto;
	bottom: calc(100% + 0.35rem);
	transform: none;
	max-width: min(17.5rem, calc(100vw - 2rem));
	color: #334155;
}

.eval-pl__badge-item--our .eval-exam-card-stats__tip-title {
	display: block;
	margin: 0 0 0.45rem;
}

.eval-pl__badge-item--our .eval-exam-card-stats__tip-copy {
	display: block;
}

.eval-pl__badge-item--our:has(.eval-pl__badge-help:hover),
.eval-pl__badge-item--our:has(.eval-pl__badge-help:focus),
.eval-pl__badge-item--our:has(.eval-pl__badge-help:focus-visible) {
	z-index: 8;
}

.eval-pl__badge-item--our:has(.eval-pl__badge-help:hover) .eval-exam-card-stats__tooltip,
.eval-pl__badge-item--our:has(.eval-pl__badge-help:focus) .eval-exam-card-stats__tooltip,
.eval-pl__badge-item--our:has(.eval-pl__badge-help:focus-visible) .eval-exam-card-stats__tooltip {
	opacity: 1;
	visibility: visible;
}

.eval-pl__badge--updated {
	background: var(--eval-pl-updated);
	border-color: transparent;
	color: #3d3c0a;
	font-weight: 600;
}

.eval-pl__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 2rem;
	align-items: start;
	max-width: var(--eval-pl-max);
	margin: -3.25rem auto 0;
	padding: 0 1.25rem 3rem;
	position: relative;
	z-index: 1;
}

.eval-pl__main {
	min-width: 0;
	padding-top: 3.5rem;
}

.eval-pl__section {
	margin: 0 0 1.5rem;
	padding: 1.35rem 1.35rem 1.2rem;
	background: var(--eval-pl-card);
	border: 1px solid var(--eval-pl-border);
	border-radius: var(--eval-pl-radius);
}

.eval-pl__section h2 {
	margin: 0 0 0.85rem;
	font-size: 1.35rem;
	line-height: 1.3;
	font-weight: 700;
}

.eval-pl__section-note {
	margin: -0.35rem 0 0.85rem;
	font-size: 0.875rem;
	color: var(--eval-pl-muted);
}

.eval-pl__domains {
	margin: 0;
	padding: 0;
	list-style: none;
}

.eval-pl__domains li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.7rem 0.35rem;
	border-bottom: 1px solid var(--eval-pl-border);
}

.eval-pl__domains li:nth-child(odd) {
	background: #f4f8fb;
}

.eval-pl__domains li:last-child {
	border-bottom: 0;
}

.eval-pl__domain-name {
	font-weight: 500;
}

.eval-pl__domain-weight {
	color: var(--eval-pl-muted);
	white-space: nowrap;
	font-size: 0.9375rem;
}

.eval-pl__section--practice .eval-pl__practice-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.eval-pl__section--practice .eval-pl__practice-list li {
	position: relative;
	margin: 0;
	padding: 0 0 0 1.55rem;
	line-height: 1.45;
	font-size: 0.9375rem;
	font-weight: 400;
}

.eval-pl__section--practice .eval-pl__practice-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0.05em;
	color: var(--eval-pl-success);
	font-weight: 800;
	font-size: 1rem;
	line-height: 1;
}

@media (max-width: 640px) {
	.eval-pl__section--practice .eval-pl__practice-list {
		grid-template-columns: 1fr;
	}
}

.eval-pl__section--sample .eval-product-sample {
	margin: 0;
}

.eval-pl__buy {
	position: sticky;
	top: var(--eval-pl-buy-top);
	z-index: 5;
}

@media (min-width: 961px) {
	/* Lift only the buy card into the hero; main column keeps its padding-top offset. */
	.eval-pl__buy {
		margin-top: -3.5rem;
	}
}

.eval-pl__buy-card {
	padding: 0;
	overflow: hidden;
	background: var(--eval-pl-card);
	border: 1px solid var(--eval-pl-border);
	border-radius: var(--eval-pl-radius);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (min-width: 961px) {
	.eval-pl__buy-card {
		display: flex;
		flex-direction: column;
		max-height: var(--eval-pl-buy-max-h);
	}
}

.eval-pl__buy-media {
	line-height: 0;
	background: #0f1720;
	border-bottom: 1px solid var(--eval-pl-border);
}

.eval-pl__buy-media .eval-exam-updated-wrap {
	display: block;
}

.eval-pl__buy-media img.eval-pl__buy-cover-img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

@media (min-width: 961px) {
	.eval-pl__buy-media {
		flex-shrink: 0;
	}

	.eval-pl__buy-media img.eval-pl__buy-cover-img {
		max-height: min(11.5rem, 38vh);
		aspect-ratio: auto;
	}
}

.eval-pl__buy-body {
	padding: 1.35rem 1.25rem 1.15rem;
}

@media (min-width: 961px) {
	.eval-pl__buy-body {
		flex: 1 1 auto;
		min-height: 0;
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-gutter: stable;
	}
}

.eval-pl__buy-status {
	margin: 0 0 1rem;
	font-size: 0.8125rem;
	color: var(--eval-pl-muted);
	line-height: 1.4;
}

.eval-pl__buy-plan {
	margin: 0 0 0.75rem;
	padding: 0.9rem 0.95rem 0.95rem;
	border: 1px solid var(--eval-pl-border);
	border-radius: var(--eval-pl-radius);
	background: var(--eval-pl-card);
}

.eval-pl__buy-plan--full {
	border-color: rgba(28, 54, 84, 0.22);
	background: #eef3f8;
	box-shadow: none;
}

.eval-pl__buy-plan--trial {
	background: #ffffff;
}

.eval-pl__buy-plan-offer {
	margin: 0.55rem 0 0;
	font-size: 0.6875rem;
	font-weight: 400;
	color: var(--eval-pl-muted);
	line-height: 1.45;
	text-align: center;
}

.eval-pl__buy-plan .eval-pl__btn {
	margin-bottom: 0;
}

.eval-pl__buy-compare {
	margin: 0.65rem 0 0.35rem;
	text-align: center;
	font-size: 0.875rem;
}

.eval-pl__buy-compare a {
	color: var(--eval-pl-accent);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.eval-pl__buy-trust {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.45rem 0.6rem;
	margin: 0 0 0.85rem;
	text-align: center;
}

.eval-pl__buy-pay {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--eval-pl-muted);
	line-height: 1.4;
}

.eval-pl__buy-payments {
	flex: 0 1 auto;
	min-width: 0;
}

.eval-pl__buy-payments .single-product-payments {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.eval-pl__buy-payments .single-product-payments legend {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.eval-pl__buy-payments .single-product-payments ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.25rem 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.eval-pl__buy-payments .single-product-payments li {
	margin: 0;
	padding: 0;
	line-height: 1;
}

.eval-pl__buy-payments .single-product-payments svg,
.eval-pl__buy-payments .single-product-payments .kadence-svg-icon {
	display: block;
	width: 2rem;
	height: auto;
	max-height: 1.25rem;
}

.eval-pl__buy-payments .single-product-payments .payment-custom-img {
	display: block;
	max-height: 1.25rem;
	width: auto;
	height: auto;
}

.eval-pl__buy-sample {
	margin: 0.85rem 0 0.65rem;
	text-align: center;
	font-size: 0.875rem;
}

.eval-pl__buy-sample a {
	color: var(--eval-pl-accent);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.eval-pl__btn {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin: 0 0 0.65rem;
	padding: 0.85rem 1rem;
	border-radius: var(--eval-pl-radius);
	border: 1px solid transparent;
	text-align: center;
	text-decoration: none !important;
	font-weight: 700;
	line-height: 1.3;
	font-size: 1rem;
}

.eval-pl__buy-card a.eval-pl__btn--primary,
.eval-pl__btn--primary {
	background: var(--eval-pl-cta) !important;
	background-color: var(--eval-pl-cta) !important;
	border-color: var(--eval-pl-cta) !important;
	color: #fff !important;
}

.eval-pl__buy-card a.eval-pl__btn--primary:hover,
.eval-pl__buy-card a.eval-pl__btn--primary:focus-visible,
.eval-pl__btn--primary:hover,
.eval-pl__btn--primary:focus-visible {
	background: var(--eval-pl-cta-hover) !important;
	background-color: var(--eval-pl-cta-hover) !important;
	border-color: var(--eval-pl-cta-hover) !important;
	color: #fff !important;
}

.eval-pl__btn--secondary {
	background: #fff;
	color: var(--eval-pl-accent) !important;
	border-color: var(--eval-pl-accent);
}

.eval-pl__btn--secondary:hover,
.eval-pl__btn--secondary:focus-visible {
	background: #f3f6f9;
}

.eval-pl__buy-guarantee {
	margin: 0.85rem 0 0;
}

.eval-pl__buy-guarantee .eval-quiz__guarantee {
	margin: 0;
	border: 1px solid #c9e0f0;
	background: #f0f7fb;
	border-radius: var(--eval-pl-radius);
	padding: 0.35rem 0.65rem;
}

.eval-pl__section--description h2 {
	margin-bottom: 1rem;
}

.eval-pl__desc-body {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--eval-pl-ink);
}

.eval-pl__desc-body > :first-child {
	margin-top: 0;
}

.eval-pl__desc-body > :last-child {
	margin-bottom: 0;
}

.eval-pl__desc-body h2,
.eval-pl__desc-body h3 {
	margin: 1.25rem 0 0.65rem;
	font-size: 1.0625rem;
	line-height: 1.35;
}

.eval-pl__desc-body p,
.eval-pl__desc-body ul,
.eval-pl__desc-body ol {
	margin: 0 0 0.85rem;
}

.eval-pl__desc-body ul,
.eval-pl__desc-body ol {
	padding-left: 1.35rem;
}

.eval-pl__desc--collapsible.is-collapsed .eval-pl__desc-body {
	max-height: 11.5rem;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
	mask-image: linear-gradient(180deg, #000 55%, transparent);
}

.eval-pl__desc-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0.75rem 0 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--eval-pl-accent);
	font-weight: 700;
	font-size: 0.9375rem;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.eval-pl__desc-toggle::after {
	content: "›";
	display: inline-block;
	transform: rotate(90deg);
	font-size: 1.1em;
	line-height: 1;
}

.eval-pl__desc--collapsible:not(.is-collapsed) .eval-pl__desc-toggle::after {
	transform: rotate(-90deg);
}

.eval-pl__faq {
	margin-top: 1.75rem;
	padding-top: 0.35rem;
}

.eval-pl__faq-heading {
	margin: 0 0 0.35rem;
	font-size: 1.0625rem;
	line-height: 1.35;
}

.eval-pl__faq-item {
	border-bottom: 1px solid var(--eval-pl-border);
}

.eval-pl__faq-item:last-child {
	border-bottom: 0;
}

.eval-pl__faq-q {
	cursor: pointer;
	font-weight: 600;
	padding: 0.85rem 0;
	list-style: none;
}

.eval-pl__faq-q::-webkit-details-marker {
	display: none;
}

.eval-pl__faq-q::after {
	content: "›";
	float: right;
	transform: rotate(90deg);
	opacity: 0.55;
}

.eval-pl__faq-item[open] .eval-pl__faq-q::after {
	transform: rotate(-90deg);
}

.eval-pl__faq-a {
	padding: 0 0 0.95rem;
	color: var(--eval-pl-muted);
}

.eval-pl__faq-a p {
	margin: 0;
}

.eval-pl__faq-a a {
	color: var(--eval-pl-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.eval-pl__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.eval-pl__meta-label {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--eval-pl-muted);
}

.eval-pl__meta-value {
	font-weight: 600;
}

.eval-pl__section--meta {
	background: transparent;
	border: 0;
	padding: 0.5rem 0 0;
}

@media (max-width: 960px) {
	.eval-pl__hero-inner {
		padding-right: 0;
	}

	.eval-pl__layout {
		grid-template-columns: 1fr;
		margin-top: 0;
		padding-top: 1.25rem;
	}

	.eval-pl__main {
		padding-top: 0;
	}

	.eval-pl__buy {
		position: static;
		order: -1;
	}
}

@media (max-width: 640px) {
	.eval-pl__buy-card {
		position: sticky;
		bottom: 0.75rem;
		z-index: 5;
	}
}

html[data-theme="dark"] .eval-pl {
	--eval-pl-ink: var(--eval-ink);
	--eval-pl-muted: var(--eval-muted);
	--eval-pl-surface: var(--eval-surface);
	--eval-pl-card: var(--eval-card);
	--eval-pl-border: var(--eval-border);
	--eval-pl-accent: #93c5fd;
	--eval-pl-accent-hover: #bfdbfe;
}

html[data-theme="dark"] .eval-pl .eval-pl__buy-plan--trial {
	background: var(--eval-pl-card);
}

html[data-theme="dark"] .eval-pl .eval-pl__buy-plan--full {
	background: var(--eval-surface);
	border-color: var(--eval-pl-border);
}

html[data-theme="dark"] .eval-pl .eval-pl__domains li:nth-child(odd) {
	background: var(--eval-surface);
}

html[data-theme="dark"] .eval-pl .eval-pl__domain-name {
	color: var(--eval-pl-ink);
}

html[data-theme="dark"] .eval-pl .eval-pl__domain-weight {
	color: var(--eval-pl-muted);
}

html[data-theme="dark"] .eval-pl .eval-pl__btn--secondary {
	background: var(--eval-pl-card);
}
