/*
Theme Name: ScanEx
Version: 0.1.2
*/

/* Typography */
.h1 {
	font-size: var(--wp--preset--font-size--heading-xx-large);
	font-weight: 500;
	line-height: 1.125;
}

.h2, .h3, .h4, .h5, .h6 {
	font-weight: 500;
	line-height: 1.1;
}

.h2 {
	font-size: var(--wp--preset--font-size--heading-x-large);
}

.h3 {
	font-size: var(--wp--preset--font-size--heading-large);
}

.h4 {
	font-size: var(--wp--preset--font-size--heading-medium);
}

.h5 {
	font-size: var(--wp--preset--font-size--heading-small);
}


/* Template/blocks specifics */
.scanex-header-logo {
	width: 140px;
	max-width: 100%;
}

.scanex-header-logo img {
	display: block;
	width: 100%;
	height: auto;
}


/* Scanex Hero */
.scanex-hero {
	margin-top: var(--wp--preset--spacing--40);
	margin-bottom: var(--wp--preset--spacing--60);
}

.scanex-hero-panel {
	background: var(--wp--preset--color--secondary-dark);
	color: var(--wp--preset--color--base);
	border-radius: var(--border-radius-regular);
	padding: var(--wp--preset--spacing--medium);
}

.scanex-hero-title {
	max-width: 800px;
	margin: 0;
}

.scanex-hero-summary {
	max-width: 800px;
	margin: var(--wp--preset--spacing--regular) 0;
}

.scanex-hero-actions {
	margin-top: var(--wp--preset--spacing--large);
}

.scanex-hero-media {
	margin-top: var(--wp--preset--spacing--regular) 0 0;
	overflow: hidden;
	border-radius: var(--border-radius-regular);
	background: color-mix(in srgb, var(--wp--preset--color--base) 8%, transparent);
}

.scanex-hero-media img {
	display: block;
	width: 100%;
	height: auto;
}

.scanex-hero-media img[src=""] {
	display: none;
}

.scanex-hero-media:has(img[src=""]) {
	min-height: 26rem;
}


/**/
.scanex-problem {
	margin-bottom: var(--wp--preset--spacing--70);
}

.scanex-problem-title {
	max-width: 12ch;
	margin-top: var(--wp--preset--spacing--30);
	margin-bottom: 0;
}

.scanex-problem-summary {
	max-width: 52rem;
	margin-top: var(--wp--preset--spacing--40);
	margin-bottom: 0;
}

.scanex-problem-eyebrow {
	margin: 0;
}

.scanex-problem-pills {
	margin-top: var(--wp--preset--spacing--50);
	gap: var(--wp--preset--spacing--30);
}

.scanex-problem-pill {
	padding: 1rem 1.75rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--wp--preset--color--contrast) 4%, var(--wp--preset--color--base));
}

.scanex-problem-pill p {
	margin: 0;
}

.scanex-problem-media {
	margin-top: var(--wp--preset--spacing--60);
	align-items: stretch;
	gap: var(--wp--preset--spacing--30);
}

.scanex-problem-media-primary {
	flex: 1 1 52rem;
}

.scanex-problem-media-secondary {
	flex: 1 1 32rem;
}

.scanex-problem-media-primary,
.scanex-problem-media-secondary {
	overflow: hidden;
	border-radius: 1.25rem;
	background: color-mix(in srgb, var(--wp--preset--color--base) 8%, transparent);
}

.scanex-problem-image,
.scanex-problem-image img {
	display: block;
	width: 100%;
	height: auto;
}

.scanex-problem-image {
	margin: 0;
}

.scanex-problem-image img[src=""] {
	display: none;
}

.scanex-problem-media-primary:has(img[src=""]) {
	min-height: 38rem;
}

.scanex-problem-media-secondary:has(img[src=""]) {
	min-height: 38rem;
}

@media (max-width: 782px) {
	.scanex-problem-media {
		display: block;
	}

	.scanex-problem-media-secondary {
		margin-top: var(--wp--preset--spacing--30);
	}
}

.scanex-process {
	margin-bottom: var(--wp--preset--spacing--70);
}

.scanex-process-intro {
	align-items: flex-start;
	gap: var(--wp--preset--spacing--40);
}

.scanex-process-content {
	flex: 1 1 42rem;
	max-width: 58rem;
}

.scanex-process-eyebrow {
	margin: 0;
}

.scanex-process-title {
	max-width: 11ch;
	margin-top: var(--wp--preset--spacing--30);
	margin-bottom: 0;
}

.scanex-process-summary {
	max-width: 54rem;
	margin-top: var(--wp--preset--spacing--40);
	margin-bottom: 0;
}

.scanex-process-actions {
	flex: 0 0 auto;
}

.scanex-process-button .wp-element-button {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	border-radius: 999px;
}

.scanex-process-button-icon .wp-element-button {
	min-width: 4rem;
	padding-right: 1.25rem;
	padding-left: 1.25rem;
	text-align: center;
}

.scanex-process-layout {
	margin-top: var(--wp--preset--spacing--60);
	align-items: stretch;
	gap: var(--wp--preset--spacing--30);
}

.scanex-process-media {
	flex: 1 1 38rem;
	overflow: hidden;
	border-radius: 1.25rem;
	background: color-mix(in srgb, var(--wp--preset--color--base) 8%, transparent);
}

.scanex-process-steps {
	flex: 1 1 42rem;
}

.scanex-process-step-grid {
	gap: var(--wp--preset--spacing--30);
}

.scanex-process-step-card {
	min-height: 100%;
	padding: 2rem;
	border-radius: 1.25rem;
	background: color-mix(in srgb, var(--wp--preset--color--contrast) 4%, var(--wp--preset--color--base));
}

.scanex-process-step-number {
	margin: 0;
}

.scanex-process-step-divider {
	margin-top: 1.75rem;
	margin-bottom: 1.75rem;
}

.scanex-process-step-title {
	margin-top: 0;
	margin-bottom: 0;
}

.scanex-process-step-summary {
	margin-top: 1.5rem;
	margin-bottom: 0;
}

.scanex-process-image,
.scanex-process-image img {
	display: block;
	width: 100%;
	height: auto;
}

.scanex-process-image {
	margin: 0;
}

.scanex-process-image img[src=""] {
	display: none;
}

.scanex-process-media:has(img[src=""]) {
	min-height: 48rem;
}

@media (max-width: 782px) {
	.scanex-process-step-grid {
		grid-template-columns: 1fr;
	}
}

.scanex-product-presentation {
	margin-bottom: var(--wp--preset--spacing--70);
}

.scanex-product-presentation-title {
	margin-top: 0;
	margin-bottom: var(--wp--preset--spacing--60);
}

.scanex-product-presentation-grid {
	gap: var(--wp--preset--spacing--30);
}

.scanex-product-card {
	position: relative;
	overflow: hidden;
	border-radius: 1.25rem;
	background: color-mix(in srgb, var(--wp--preset--color--base) 8%, transparent);
}

.scanex-product-card-image,
.scanex-product-card-image img {
	display: block;
	width: 100%;
	height: auto;
}

.scanex-product-card-image {
	margin: 0;
}

.scanex-product-card-image img[src=""] {
	display: none;
}

.scanex-product-card:has(img[src=""]) {
	min-height: 28rem;
}

.scanex-product-card-label {
	position: absolute;
	right: 2rem;
	bottom: 2rem;
	left: 2rem;
	margin: 0;
	color: var(--wp--preset--color--base);
}

@media (max-width: 782px) {
	.scanex-product-presentation-grid {
		grid-template-columns: 1fr;
	}

	.scanex-product-card-label {
		right: 1.5rem;
		bottom: 1.5rem;
		left: 1.5rem;
	}
}

.scanex-persona {
	margin-bottom: var(--wp--preset--spacing--70);
}

.scanex-persona-title {
	margin-top: 0;
	margin-bottom: var(--wp--preset--spacing--60);
}

.scanex-persona-grid {
	align-items: stretch;
	gap: var(--wp--preset--spacing--30);
}

.scanex-persona-card {
	min-height: 100%;
	padding: clamp(2rem, 4vw, 3.5rem);
	border-radius: 1.5rem;
	background: color-mix(in srgb, var(--wp--preset--color--contrast) 4%, var(--wp--preset--color--base));
}

.scanex-persona-card-primary {
	flex: 1 1 52rem;
}

.scanex-persona-card-secondary {
	flex: 1 1 18rem;
}

.scanex-persona-icon {
	margin: 0;
	width: 4rem;
}

.scanex-persona-icon img {
	display: block;
	width: 100%;
	height: auto;
}

.scanex-persona-icon img[src=""] {
	display: none;
}

.scanex-persona-icon:has(img[src=""]) {
	min-height: 4rem;
}

.scanex-persona-card-title {
	margin-top: var(--wp--preset--spacing--40);
	margin-bottom: 0;
}

.scanex-persona-card-summary {
	margin-top: var(--wp--preset--spacing--30);
	margin-bottom: 0;
}

.scanex-persona-list {
	margin-top: var(--wp--preset--spacing--50);
	margin-bottom: 0;
	padding-left: 1.4em;
}

.scanex-persona-list li + li {
	margin-top: 0.75rem;
}

.scanex-cta {
	margin-bottom: 0;
}

.scanex-cta-panel {
	position: relative;
	overflow: hidden;
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}

.scanex-cta-panel::after {
	position: absolute;
	inset: 0;
	background: color-mix(in srgb, var(--wp--preset--color--contrast) 45%, transparent);
	content: "";
	pointer-events: none;
}

.scanex-cta-background,
.scanex-cta-background img {
	display: block;
	width: 100%;
	height: auto;
}

.scanex-cta-background {
	margin: 0;
}

.scanex-cta-background img[src=""] {
	display: none;
}

.scanex-cta-panel:has(.scanex-cta-background img[src=""]) {
	min-height: 36rem;
}

.scanex-cta-overlay {
	position: relative;
	z-index: 1;
	gap: var(--wp--preset--spacing--60);
	align-items: flex-end;
	padding: clamp(2rem, 5vw, 4.5rem);
}

.scanex-cta-heading-wrap {
	flex: 1 1 42rem;
}

.scanex-cta-title {
	max-width: 11ch;
	margin: 0;
}

.scanex-cta-content {
	flex: 1 1 28rem;
	max-width: 34rem;
}

.scanex-cta-summary {
	margin-top: 0;
	margin-bottom: 0;
}

.scanex-cta-actions {
	margin-top: var(--wp--preset--spacing--50);
}

.scanex-cta-button .wp-element-button {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	border-radius: 999px;
}

.scanex-cta-button-icon .wp-element-button {
	min-width: 4rem;
	padding-right: 1.25rem;
	padding-left: 1.25rem;
	text-align: center;
}

.scanex-cta-note {
	margin-top: var(--wp--preset--spacing--30);
	margin-bottom: 0;
}

@media (max-width: 782px) {
	.scanex-cta-overlay {
		align-items: flex-start;
	}

	.scanex-cta-content {
		max-width: none;
	}
}

.scanex-footer {
	position: relative;
	overflow: hidden;
	margin-top: 0;
	padding-top: clamp(3rem, 7vw, 6rem);
	padding-bottom: clamp(2.5rem, 6vw, 5rem);
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}

.scanex-footer-background,
.scanex-footer-background img {
	display: block;
	width: 100%;
	height: auto;
}

.scanex-footer-background {
	position: absolute;
	inset: 0;
	z-index: 0;
	margin: 0;
	opacity: 0.2;
	pointer-events: none;
}

.scanex-footer-background img[src=""] {
	display: none;
}

.scanex-footer:has(.scanex-footer-background img[src=""]) .scanex-footer-background {
	display: none;
}

.scanex-footer-inner {
	position: relative;
	z-index: 1;
	gap: var(--wp--preset--spacing--60);
}

.scanex-footer-top {
	gap: var(--wp--preset--spacing--60);
	align-items: center;
}

.scanex-footer-content {
	flex: 1 1 32rem;
	max-width: 38rem;
}

.scanex-footer-summary {
	margin: 0;
}

.scanex-footer-actions {
	margin-top: var(--wp--preset--spacing--50);
}

.scanex-footer-button .wp-element-button {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	border-radius: 999px;
}

.scanex-footer-button-icon .wp-element-button {
	min-width: 4rem;
	padding-right: 1.25rem;
	padding-left: 1.25rem;
	text-align: center;
}

.scanex-footer-brand {
	flex: 1 1 28rem;
	text-align: right;
}

.scanex-footer-logo {
	margin: 0 0 0 auto;
	max-width: min(44rem, 100%);
}

.scanex-footer-logo img {
	display: block;
	width: 100%;
	height: auto;
}

.scanex-footer-logo img[src=""] {
	display: none;
}

.scanex-footer-logo:has(img[src=""]) {
	min-height: clamp(5rem, 10vw, 9rem);
}

.scanex-footer-divider {
	margin-top: 0;
	margin-bottom: 0;
	border-color: color-mix(in srgb, var(--wp--preset--color--base) 35%, transparent);
}

.scanex-footer-bottom {
	gap: var(--wp--preset--spacing--40);
}

.scanex-footer-copyright {
	margin: 0;
	color: color-mix(in srgb, var(--wp--preset--color--base) 75%, transparent);
}

.scanex-footer-social {
	margin: 0;
}

.scanex-footer-social .wp-social-link {
	background-color: var(--wp--preset--color--primary);
}

@media (max-width: 782px) {
	.scanex-footer-brand {
		text-align: left;
	}

	.scanex-footer-logo {
		margin-left: 0;
	}
}
/* 



.scanex-hero-button .wp-element-button::after {
    content: '';
    width: 1.5rem;
    height: 1.5rem;
    background-size: contain;
    background-image: url(/wp-content/themes/scanex/assets/icons/arrow.svg);
	display: block;
	margin-left: 0.75rem;
} */