/* Image - USPs + Text — Figma "Afb Tekst". Portrait image with the brand badge + a frosted USP
   card, beside a text column with one button. Buttons come from the shared buttons.css. Tokens
   only; mobile-first. */

.ppc-image-usps-text {
	background: var(--ppc-color-surface-light);
	padding-block: var(--ppc-section-pad-y);
	padding-inline: var(--ppc-section-inset-x);
}

.ppc-image-usps-text__container {
	max-width: var(--ppc-container-width);
	margin-inline: auto;
}

.ppc-image-usps-text__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(3rem, 8vw, 7.5rem);
}

@media (min-width: 62.5rem) {
	.ppc-image-usps-text__grid {
		grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
		align-items: center;
	}
}

/* Media + overlapping card */
.ppc-image-usps-text__media {
	position: relative;
}

.ppc-image-usps-text__image {
	display: block;
	width: 100%;
	aspect-ratio: 500 / 680;
	max-height: 45rem;
	object-fit: cover;
	border-radius: 40px;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.16);
}

/* Image frame: mirrors the Figma "Placeholder Image" node. Its ::before paints the glossy
   inset highlight (inset box-shadow cannot paint on top of an img); because the frame wraps
   only the image, the gloss tracks the photo exactly at every breakpoint. */
.ppc-image-usps-text__frame {
	position: relative;
	display: block;
}

.ppc-image-usps-text__frame::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 40px;
	pointer-events: none;
	box-shadow:
		inset -3px -3px 4px rgba(0, 0, 0, 0.48),
		inset 4px 4px 4px rgba(255, 255, 255, 0.7);
}

.ppc-image-usps-text__badge {
	position: absolute;
	top: 2.5rem;
	right: 2.5rem;
	width: 2rem;
	height: 2rem;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
	pointer-events: none;
}

.ppc-image-usps-text__overlay {
	position: absolute;
	left: -1.5rem;
	bottom: -2.5rem;
	width: min(22.5rem, 88%);
	padding: 2rem;
	transform: rotate(-2deg);
	/* Solid white per Figma (the design's backdrop-blur is invisible behind an opaque fill). */
	background: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 24px;
	box-shadow:
		0 0 3px rgba(0, 0, 0, 0.16),
		inset -2px -2px 3px rgba(0, 0, 0, 0.08),
		inset 4px 4px 3px rgba(255, 255, 255, 0.25);
}

.ppc-image-usps-text__overlay-title {
	margin: 0 0 1rem;
	font-family: var(--ppc-font-heading);
	font-weight: var(--ppc-font-weight-bold);
	font-size: 1.5rem;
	line-height: var(--ppc-line-height-h5);
	letter-spacing: var(--ppc-letter-spacing-heading);
	color: var(--ppc-color-scheme6-bg);
}

.ppc-image-usps-text__usps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.ppc-image-usps-text__usp {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--ppc-font-open-sans);
	font-size: var(--ppc-font-size-body);
	line-height: var(--ppc-line-height-body);
	color: var(--ppc-color-scheme6-bg);
}

.ppc-image-usps-text__check {
	flex-shrink: 0;
	color: var(--ppc-color-picton-blue-dark);
}

/* Content column */
.ppc-image-usps-text__eyebrow {
	margin: 0 0 1rem;
	font-family: var(--ppc-font-open-sans);
	font-weight: var(--ppc-font-weight-semibold);
	font-size: var(--ppc-font-size-tagline);
	line-height: var(--ppc-line-height-tagline);
	color: var(--ppc-color-picton-blue-dark);
}

.ppc-image-usps-text__title {
	margin: 0;
	font-family: var(--ppc-font-heading);
	font-weight: var(--ppc-font-weight-bold);
	font-size: var(--ppc-font-size-h2);
	line-height: var(--ppc-line-height-heading);
	letter-spacing: var(--ppc-letter-spacing-heading);
	color: var(--ppc-color-blue-zodiac);
}

.ppc-image-usps-text__text {
	margin: 1.5rem 0 0;
	font-family: var(--ppc-font-open-sans);
	font-size: var(--ppc-font-size-lead);
	line-height: var(--ppc-line-height-body);
	color: var(--ppc-color-neutral-darker);
}

.ppc-image-usps-text__text p {
	margin: 0 0 1rem;
}

.ppc-image-usps-text__text p:last-child {
	margin-bottom: 0;
}

.ppc-image-usps-text__actions {
	margin-top: 2.75rem;
}

/* Small screens: a shorter image with the card in-flow below it, separated by a real gap.
   All Figma effects (image gloss via the frame, card shadows) apply unchanged. */
@media (max-width: 40rem) {
	.ppc-image-usps-text__image {
		aspect-ratio: 4 / 3;
		max-height: 196px;
	}

	.ppc-image-usps-text__overlay {
		position: static;
		transform: none;
		width: auto;
		margin-top: 1.5rem;
	}

	.ppc-image-usps-text__badge {
		top: 1.25rem;
		right: 1.25rem;
	}
}
