/* NZ Photo Card — Figma "Multichannel (with image)". */
.nz-photo-card {
	--nz-scrim: 1;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 100%;
	min-height: 560px;
	padding: 40px;
	overflow: hidden;
	border-radius: 28px;
	background-color: var(--nz-color-teal-950);
	color: var(--nz-color-text-primary);
	text-decoration: none;
	isolation: isolate;
}

.nz-photo-card img.nz-photo-card__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

/* Figma: linear, top → bottom: #061C1D 0 → .30 @30 % → .88 @60 % → .97 @100 %. */
.nz-photo-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(6, 28, 29, 0) 0%, rgba(6, 28, 29, 0.3) 30%, rgba(6, 28, 29, 0.88) 60%, rgba(6, 28, 29, 0.97) 100%);
	opacity: var(--nz-scrim);
}

.nz-photo-card .nz-photo-card__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nz-photo-card .nz-photo-card__eyebrow,
.nz-photo-card .nz-photo-card__title,
.nz-photo-card .nz-photo-card__text {
	margin: 0;
}

.nz-photo-card .nz-photo-card__eyebrow {
	font-family: var(--nz-font-family);
	font-size: var(--nz-font-size-caption);
	font-weight: 600;
	line-height: var(--nz-line-height-caption);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nz-color-text-brand);
}

.nz-photo-card .nz-photo-card__title {
	font-family: var(--nz-font-display);
	font-size: var(--nz-font-size-h4);
	font-weight: 600;
	line-height: var(--nz-line-height-h4);
	color: var(--nz-color-text-primary);
}

.nz-photo-card .nz-photo-card__text {
	font-family: var(--nz-font-family);
	font-size: var(--nz-font-size-small);
	line-height: var(--nz-line-height-small);
	color: var(--nz-color-text-secondary);
}

a.nz-photo-card:hover .nz-photo-card__title,
a.nz-photo-card:focus-visible .nz-photo-card__title {
	text-decoration: underline;
	text-underline-offset: 3px;
}
