/* Fixed fields of the template pages (owner 2026-10-21): the foot of the Om card and the tile carousel
   when it holds few tiles. Loaded after in-r2sida.css. Only transform and opacity animate; colour is never transitioned. */
.p3-sheets .p3-about .p3-k__foot {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* "Visa fler frågor": the questions after the sixth sit behind one real button (tools/in_avslut.py, assets/in-avslut.js). */
.p3-sheets .p3-in-k20__morebtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin: 16px 0 4px;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	box-shadow: inset 0 0 0 1.5px currentColor;
	color: inherit;
	font: 500 15px/1 inherit;
	font-family: inherit;
	cursor: pointer;
	transition: transform .3s var(--p3-spring);
}

.p3-sheets .p3-in-k20__morebtn:hover {
	transform: translateY(-2px);
}

.p3-sheets .p3-in-k20__morebtn:active {
	transform: scale(.97);
}

.p3-sheets .p3-in-k20__morebtn:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

/* Phones: a shorter page without removing anything. Tighter cards, lower tile pictures (no tall empty frames),
   less air between the dark middle cards and in the step cards. */
@media (max-width: 900px) {
	/* the closing photo card kept ~120 px of empty dark space under its button */
	.p3-sheets.p3-sheets .p3-sheet > .p3-in-k21.p3-in-k21--photo {
		min-height: 620px;
	}

	.p3-sheets .p3-areas {
		padding-block: 18px;
	}

	.p3-sheets .p3-in-k11 {
		padding-block: 18px;
	}

	.p3-in-k11__tile {
		gap: 8px;
		padding: 14px;
	}

	.p3-sheets .p3-in-k11__tile h3 {
		font-size: 20px;
	}

	.p3-in-k11__pic {
		height: 124px;
		background: linear-gradient(160deg, var(--r4-bonea), color-mix(in srgb, var(--r4-glow) 55%, var(--r4-bonea)));
	}

	.p3-in-k16__q,
	.p3-in-k16__fact {
		padding: 18px 16px;
	}

	.p3-sheets .p3-in-k16 h2 {
		margin-bottom: 10px;
	}

	.p3-sheets .p3-in-glass__card {
		padding: 18px 16px 16px;
	}

	.p3-sheets .p3-in-steps {
		padding: 20px 16px;
	}

	.p3-sheets .p3-process {
		padding: 18px 16px;
	}

	.p3-sheets .p3-faq.p3-in-k20 {
		padding: 20px 20px 22px;
	}

	.p3-sheets .p3-in-k20__row button {
		min-height: 52px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.p3-sheets .p3-in-k20__morebtn {
		transition: none;
	}

	.p3-sheets .p3-in-k20__morebtn:hover {
		transform: none;
	}
}
