/* Round 4, footer (owner choice "sidfot = JA"): card to Apovital under the contact block (the large wordmark was removed in round 5)
   closes the footer. Scoped p3-in-k22__*; only transform and opacity animate. */

.pvt-site .p3-in-k22__apo {
	display: flex;
	align-items: center;
	gap: 10px;
	box-sizing: border-box;
	width: fit-content;
	max-width: 100%;
	margin-top: 40px;
	padding: 9px 12px;
	border-radius: 12px;
	background: var(--surface-footer-card);
	box-shadow: var(--glass-dark-shadow);
	color: #1f2428;
	text-decoration: none;
	transition: transform .3s var(--p3-spring, cubic-bezier(.34, 1.56, .64, 1));
}

.pvt-site .p3-in-k22__apo i {
	display: grid;
	flex: none;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 7px;
	background: #eef1f4;
	color: #1f2736;
	font-style: normal;
}

.pvt-site .p3-in-k22__apo i img {
	display: block;
	width: 17px;
	height: auto;
}

.pvt-site .p3-in-k22__apo span {
	display: grid;
	flex: 1;
	gap: 1px;
}

.pvt-site .p3-in-k22__apo b {
	font-size: 13px;
	font-weight: 600;
}

.pvt-site .p3-in-k22__apo small {
	font-size: 11px;
	line-height: 1.35;
	color: #56616a;
}

.pvt-site .p3-in-k22__apo svg {
	flex: none;
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.pvt-site .p3-in-k22__apo:hover {
	transform: translateY(-2px);
}

.pvt-site .p3-in-k22__apo:active {
	transform: scale(.98);
}

.pvt-site .p3-in-k22__apo:focus-visible {
	outline: 2px solid #1f2428;
	outline-offset: 3px;
}

@media (max-width: 900px) {
	.pvt-site .p3-in-k22__apo {
		margin-top: 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pvt-site .p3-in-k22__apo {
		transition: none;
	}

	.pvt-site .p3-in-k22__apo:hover {
		transform: none;
	}
}

/* The terrace photo is a tall portrait: on the wide card the crop starts at her face. */
@media (min-width: 901px) {
	.p3-sheets .p3-in-k21--photo > img[src$="foto-kvinna-terrass.jpg"] {
		object-position: 50% 4%;
	}
}

/* Closing photo on a phone: the photo gets room above the text (the text sits on the lower, darker part). */
@media (max-width: 900px) {
	.p3-sheets .p3-sheet > .p3-in-k21.p3-in-k21--photo {
		min-height: 680px;
	}

	.p3-sheets .p3-in-k21--photo > img,
	.p3-sheets .p3-in-k21--photo > picture > img {
		object-position: 55% 0;
	}

	/* the face sits on the right of these photos: keep it beside the pill, not behind it */
	.p3-sheets .p3-in-k21--photo > img[src$="foto-kvinna-terrass.jpg"],
	.p3-sheets .p3-in-k21--photo > img[src$="foto-man-hemma.jpg"] {
		object-position: 0% 0;
	}

	.p3-sheets .p3-in-k21--photo::before {
		background: linear-gradient(0deg, rgba(21, 27, 39, .92) 0%, rgba(21, 27, 39, .82) 50%, rgba(21, 27, 39, .74) 62%, rgba(21, 27, 39, .62) 72%, rgba(21, 27, 39, .3) 82%, rgba(21, 27, 39, .08) 91%, rgba(21, 27, 39, 0) 100%);
	}
}

/* Illustrations on the glass cards and the Relaterat cards (white background, shown as a rounded tile). Only drawn when the file exists. */
.p3-sheets .p3-in-r4-pic {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	margin: 0 0 18px;
	border-radius: 16px;
	background: #fff;
	object-fit: contain;
}

.p3-sheets .p3-in-glass__card--go .p3-in-r4-pic {
	margin-bottom: 18px;
}

.p3-sheets .p3-in-k09__card .p3-in-r4-pic {
	margin-bottom: 16px;
}
