/* Group "topp" (owner choices 2026-10-18/20): k01 campaign row, k02 header, k24 chips, m03 phone margin, k22 footer.
   The menu (k03) is styled in chrome.css. Every class here is scoped p3-in-*; only transform and opacity animate
   (the header colour change is instant). */

/* ---- k01 Campaign row: warm sand, 44 px, button with an arrow. The bottom padding stays the header's overlap (system.css D40). ---- */
/* The row's base layout from system.css (lines 29, 36, 37) and the body's font smoothing. Pages on site.css (Alla behandlingar) do not load
   system.css and would show the row as stacked lines. Same values; the colours, sizes and phone changes below stay as they are. */
:where(.pvt-site) .announce {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	text-align: center;
	-webkit-font-smoothing: antialiased;
}

:where(.pvt-site) .announce p {
	max-width: none;
}

:where(.pvt-site) .announce__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0 16px;
	border-radius: var(--control-radius);
	text-decoration: none;
}

/* The header tucks 14 px under the row and has rounded top corners. system.css has these two declarations (line 31); pages on site.css
   (Alla behandlingar) do not load it, so they are repeated here with the same values. :where() keeps the specificity equal to system.css. */
:where(.pvt-site) .announce + .pvt-header {
	margin-top: calc(-1 * var(--outer-radius));
	border-radius: var(--outer-radius) var(--outer-radius) 0 0;
}

.pvt-site .announce.p3-in-k01 {
	--k01-bg: #f7cd92;
	--k01-ink: #2a1c13;
	flex-wrap: nowrap;
	gap: 12px;
	min-height: calc(44px + var(--outer-radius));
	padding: 0 16px var(--outer-radius);
	background: var(--k01-bg);
	color: var(--k01-ink);
	font-size: 15px;
	letter-spacing: .01em;
}

.pvt-site .p3-in-k01 p {
	flex-basis: auto;
	margin: 0;
	white-space: nowrap;
}

.pvt-site .p3-in-k01__cta {
	gap: 6px;
	min-height: 32px;
	padding: 0 12px;
	background: rgba(42, 28, 19, .12);
	color: var(--k01-ink);
	font-size: inherit;
	font-weight: 600;
	white-space: nowrap;
	transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), opacity .2s;
}

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

.pvt-site .p3-in-k01__cta:hover {
	filter: none;
	transform: translateX(2px);
}

.pvt-site .p3-in-k01__cta:active {
	transform: scale(.96);
	opacity: .85;
}

.pvt-site .p3-in-k01__cta:focus-visible {
	outline: 2px solid var(--k01-ink);
	outline-offset: 3px;
}

@media (max-width: 650px) {
	.pvt-site .announce.p3-in-k01 {
		gap: 8px;
		padding: 0 12px var(--outer-radius);
		font-size: 14px;
		letter-spacing: 0;
	}

	.pvt-site .p3-in-k01__long {
		display: none;
	}
}

/* Phones: the campaign row stays at the top (like Hims). The header keeps its own sticky scroll and glass and sticks right under
   the row (top 44 px = the row without its overlap padding); the shrink-slide is off here so the two never overlap. The row's
   bottom padding is only there for the header's rounded corners, so once the header is stuck it is clipped away. */
@media (max-width: 650px) {
	.pvt-site .announce.p3-in-k01 {
		position: sticky;
		top: 0;
		z-index: 59;
	}

	/* The row's visible height above the stuck header. Every in-page jump counts it in its scroll margin (system.css, facts.css), so a
	   target lands under the header edge with the usual air instead of 20 px behind it (issue #68, Kajal 2026-10-28). */
	.pvt-site:has(> .announce.p3-in-k01) {
		--announce-stick: 44px;
	}

	.pvt-site .announce.p3-in-k01 + .pvt-header.p3-in-k02 {
		--k02-shrink: 0px;
		top: var(--announce-stick, 44px);
	}

	.pvt-site .announce.p3-in-k01:has(+ .pvt-header.is-scrolled) {
		clip-path: inset(0 0 var(--outer-radius) 0);
	}
}

/* ---- k02 Header: logo, login pill, menu button. The colour modes are the system's own (white on the
   page, glass on scroll, the scene's dark tone over a dark sheet: blue on the dark-blue pages, wine on the wine ones).
   On scroll it gets lower, 72 px to 58 px, by sliding up: the layout box stays the same, so nothing jumps. ---- */
.pvt-site .pvt-header.p3-in-k02 {
	--header-h: 72px;
	--k02-shrink: 14px;
	transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
	/* The same header on every page: pages on site.css (Alla behandlingar, Behandlingsformer) otherwise get 76 px and a translucent fill. */
	z-index: 60;
	height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
	background: #fff;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.pvt-site .pvt-header.p3-in-k02.is-scrolled {
	transform: translateY(calc(-1 * var(--k02-shrink)));
}

.pvt-site .p3-in-k02 .pvt-logo,
.pvt-site .p3-in-k02 nav {
	transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.pvt-site .p3-in-k02.is-scrolled .pvt-logo,
.pvt-site .p3-in-k02.is-scrolled nav {
	transform: translateY(calc(var(--k02-shrink) / 2));
}

.pvt-site .pvt-header.p3-in-k02 nav {
	gap: 8px;
}

.pvt-site .p3-in-k02__login {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 20px;
	border-radius: 999px;
	background: #fff;
	color: #1f2736;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: inset 0 0 0 1px rgba(31, 39, 54, .18);
	transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), opacity .2s;
}

.pvt-site .p3-in-k02.on-dark .p3-in-k02__login {
	box-shadow: 0 2px 16px rgba(31, 39, 54, .12);
}

.pvt-site .p3-in-k02__login:hover {
	opacity: .92;
	transform: translateY(-1px);
}

.pvt-site .p3-in-k02__login:active {
	transform: scale(.96);
}

.pvt-site .p3-in-k02__login:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

/* The pill is white with dark text, so currentColor is a dark ring: invisible on the dark header (1.03 to 1.27:1). White there. */
.pvt-site .p3-in-k02.is-scrolled.on-dark .p3-in-k02__login:focus-visible {
	outline-color: #fff;
}

.pvt-site .p3-in-k02 .pvt-menu-toggle {
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 999px;
	transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}

.pvt-site .p3-in-k02 .pvt-menu-toggle svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
}

.pvt-site .p3-in-k02 .pvt-menu-toggle:hover {
	transform: scale(1.08);
}

.pvt-site .p3-in-k02 .pvt-menu-toggle:active {
	transform: scale(.92);
}

.pvt-site .p3-in-k02 .pvt-menu-toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

/* Stuck header: fully opaque, so the logo and the buttons read over any content in every scene. system.css is generated,
   so the opaque scene tones live here (same colours as --header-dark there, alpha 1). No colour transitions: instant switch. */
.scene-grafit, .scene-espresso, .scene-oxblood { --header-solid: rgb(48, 48, 46); }
.scene-rose { --header-solid: rgb(58, 52, 51); }
.scene-natt { --header-solid: rgb(26, 33, 48); }
.scene-vin { --header-solid: rgb(46, 33, 37); }
.scene-salvia { --header-solid: rgb(47, 58, 52); }
.scene-skymning { --header-solid: rgb(44, 43, 58); }

.pvt-site .pvt-header.p3-in-k02.is-scrolled {
	background: #fff;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.pvt-site .pvt-header.p3-in-k02.is-scrolled.on-dark {
	background: var(--header-solid, var(--header-dark));
}

.pvt-site .pvt-header.p3-in-k02::before,
.pvt-site .pvt-header.p3-in-k02::after {
	transition: none;
}

/* The word "Meny" is for screen readers; the button shows the icon. */
.pvt-site .p3-in-k02__name {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

@media (max-width: 650px) {
	.pvt-site .pvt-header.p3-in-k02 {
		--header-h: 64px;
	}

	.pvt-site .p3-in-k02__login {
		padding: 0 16px;
	}
}

/* Very narrow phones, 300 px and narrower (e.g. the folded cover screen of some foldables; Kajal 2026-10-23): the
   header row needs 285 px and the campaign row 287 px, so both ran past the screen edge. Here the login pill is
   hidden (the menu holds the same "Logga in" link), and the campaign row stays one 44 px line, because the header
   sticks exactly 44 px under it: slightly smaller text, tighter spacing, no arrow. */
@media (max-width: 300px) {
	.pvt-site .p3-in-k02__login {
		display: none;
	}

	.pvt-site .announce.p3-in-k01 {
		gap: 6px;
		padding-inline: 8px;
		font-size: 13px;
	}

	.pvt-site .p3-in-k01__cta {
		padding: 0 10px;
	}

	.pvt-site .p3-in-k01__cta svg {
		display: none;
	}
}

/* ---- k24 Chips: one pill shape, seven kinds. Put them in .p3-in-chips (add --dark on a dark card).
   "Ny" only on something that really is new. No sales labels (bestseller, popular). ---- */
.p3-in-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.p3-in-chip {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	padding: 4px 10px;
	border-radius: 100px;
	font: 500 11px/1 var(--font, sans-serif);
	letter-spacing: .02em;
	white-space: nowrap;
}

.p3-in-chip--varumarke,
.p3-in-chip--dos,
.p3-in-chip--ny {
	background: #f7cd92;
	color: #2a1c13;
}

.p3-in-chip--recept {
	background: #fff;
	color: #1f2736;
	box-shadow: inset 0 0 0 1px rgba(31, 39, 54, .1);
}

.p3-in-chip--tas {
	background: #a9c0e6;
	color: #0f1726;
}

.p3-in-chip--form {
	background: rgba(31, 39, 54, .1);
	color: #1f2736;
}

.p3-in-chip--sak {
	background: rgba(31, 39, 54, .12);
	color: #1f2736;
}

.p3-in-chips--dark .p3-in-chip--form {
	background: rgba(255, 255, 255, .17);
	color: #fff;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.p3-in-chips--dark .p3-in-chip--sak {
	background: rgba(255, 255, 255, .14);
	color: #fff;
}

/* ---- m03 Narrow side margin on phones (like Hims at 390): the cards sit 5 px from the edge and 5 px apart,
   radius 16 on cards (already the sheet's phone radius), 24 on the row-shaped cards. ---- */
@media (max-width: 650px) {
	.p3-sheets {
		--p3-gap: 5px;
	}

	.p3-sheets .p3-sheet > .p3-phone,
	.p3-sheets .p3-sheet > .p3-prepare,
	.p3-sheets .p3-sheet > .p3-faq,
	.p3-sheets .p3-sheet > .p3-closing {
		border-radius: 24px;
	}
}

/* ---- k22 Footer: the Mitt Provitalia panel (p3-pn, KANON B346 and B347), three link columns, contact.
   "Om systemet" is a plain link last in the footer (chrome.css). ---- */
.pvt-site .p3-in-k22__top {
	display: grid;
	grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
	gap: 56px;
	padding: 40px 0 8px;
}

/* The section is only the container the panel measures itself against (container query below). */
.pvt-site .p3-in-k22__card {
	container-type: inline-size;
	min-width: 0;
}

/* From 1000 px the panel is a wide band over the link columns (text and steps left, phone right). */
@media (min-width: 1000px) {
	.pvt-site .p3-in-k22__top {
		display: block;
	}

	.pvt-site .p3-in-k22__card {
		margin-bottom: 56px;
	}
}

/* ---- The panel: three steps (doctor on demand, prescription, home delivery) on a phone with three screens. The steps are in the HTML
   from the server; assets/footer-panel.js only adds the turning (class is-live). Light scale: white to pale grey, dark ink. Only
   transform and opacity animate. ---- */
.pvt-site .p3-pn {
	position: relative;
	display: grid;
	gap: 26px;
	justify-items: center;
	padding: 36px 20px 32px;
	overflow: hidden;
	border: 1px solid rgba(31, 36, 40, .1);
	border-radius: 28px;
	background:
		radial-gradient(90% 55% at 70% 105%, #dde4ea, transparent 70%),
		linear-gradient(155deg, #fff, #eef1f4);
	box-shadow: 0 1px 0 #fff inset, 0 30px 60px -34px rgba(31, 36, 40, .4);
	color: #1f2428;
	text-align: center;
}

.pvt-site .p3-pn__head {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.pvt-site .p3-pn__kick {
	margin: 0;
	font-size: 14px;
	color: #56616a;
}

.pvt-site .p3-pn h2 {
	margin: 8px 0 0;
	font-size: 34px;
	line-height: 1.05;
	font-weight: 500;
	letter-spacing: -.03em;
	text-align: inherit;
	text-wrap: balance;
	color: #1f2428;
}

.pvt-site .p3-pn__lead {
	margin: 12px 0 0;
	max-width: 34ch;
	font-size: 17px;
	line-height: 1.5;
	color: #56616a;
}

/* Stage: the phone, the story bars above it and the note that sticks out over the edge. */
.pvt-site .p3-pn__stage {
	position: relative;
	width: 228px;
	padding-top: 18px;
	/* The screen picture (780 px wide in the file) is drawn 228 px wide and starts 57 px down: 18 padding, 9 frame, 30 inset.
	   The bubble and the ring are placed in the picture's own pixels. --pn-out is how far the bubble hangs out over the phone's side. */
	--pn-k: calc(228px / 780);
	--pn-y: 57px;
	--pn-out: 36px;
}

.pvt-site .p3-pn__bars {
	position: absolute;
	top: 0;
	left: 10px;
	right: 10px;
	display: none;
	grid-template-columns: repeat(3, 1fr);
	gap: 5px;
}

.pvt-site .p3-pn.is-live .p3-pn__bars {
	display: grid;
}

.pvt-site .p3-pn__bars i {
	display: block;
	height: 3px;
	border-radius: 9px;
	background: rgba(31, 36, 40, .16);
	overflow: hidden;
}

.pvt-site .p3-pn__bars b {
	display: block;
	height: 100%;
	background: #1f2428;
	transform: scaleX(0);
	transform-origin: left;
}

.pvt-site .p3-pn__bars .is-done b {
	transform: scaleX(1);
}

.pvt-site .p3-pn__bars .is-on b {
	animation: p3-pn-fill 4.2s linear forwards;
}

.pvt-site .p3-pn.is-paused .p3-pn__bars .is-on b {
	animation-play-state: paused;
}

@keyframes p3-pn-fill {
	to {
		transform: scaleX(1);
	}
}

.pvt-site .p3-pn__phone {
	position: relative;
	display: block;
	box-sizing: content-box;
	width: 228px;
	aspect-ratio: 390 / 804;
	margin: 0 -9px;
	border: 9px solid #0b0b0b;
	border-radius: 42px;
	background: #8f9192;
	box-shadow: 0 30px 50px -18px rgba(31, 36, 40, .45);
	overflow: hidden;
	color: inherit;
	transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.pvt-site .p3-pn__phone:hover {
	transform: translateY(-4px);
}

.pvt-site .p3-pn__phone:active {
	transform: scale(.985);
}

.pvt-site .p3-pn__phone:focus-visible {
	outline: 3px solid #1f2428;
	outline-offset: 4px;
}

.pvt-site .p3-pn__island {
	position: absolute;
	top: 8px;
	left: 50%;
	z-index: 3;
	width: 64px;
	height: 19px;
	margin-left: -32px;
	border-radius: 99px;
	background: #0b0b0b;
}

.pvt-site .p3-pn__phone img {
	position: absolute;
	inset: 30px 0 0;
	width: 100%;
	height: calc(100% - 30px);
	object-fit: cover;
	object-position: top;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .55s, transform .55s cubic-bezier(.2, .8, .2, 1);
}

.pvt-site .p3-pn__phone img.is-on {
	opacity: 1;
	transform: none;
}

/* The note (Kajal 2026-11-20): a bubble that grows out of the place on the screen that shows the same status, with a small pointer
   to it; a ring marks the place. It changes place with every step. Each step gives the status's box in the picture's pixels. */
.pvt-site .p3-pn__note[data-step="1"],
.pvt-site .p3-pn__note[data-step="1"] + .p3-pn__ring {
	--x0: 69;
	--x1: 340;
	--y0: 771;
	--y1: 813;
}

.pvt-site .p3-pn__note[data-step="2"],
.pvt-site .p3-pn__note[data-step="2"] + .p3-pn__ring {
	--x0: 541;
	--x1: 709;
	--y0: 541;
	--y1: 580;
}

.pvt-site .p3-pn__note[data-step="3"],
.pvt-site .p3-pn__note[data-step="3"] + .p3-pn__ring {
	--x0: 66;
	--x1: 361;
	--y0: 514;
	--y1: 547;
}

.pvt-site .p3-pn__note {
	--mid: calc((var(--x0) + var(--x1)) / 2 * var(--pn-k));
	position: absolute;
	top: calc(var(--pn-y) + var(--y1) * var(--pn-k) + 12px);
	left: calc(-1 * var(--pn-out));
	z-index: 4;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 2px 9px;
	align-items: center;
	width: max-content;
	max-width: 210px;
	padding: 10px 16px 11px 13px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 0 0 1px rgba(31, 36, 40, .07), 0 2px 4px rgba(31, 36, 40, .08), 0 18px 30px -12px rgba(31, 36, 40, .38);
	color: #1f2428;
	font-size: 14.5px;
	line-height: 1.25;
	text-align: left;
	/* The bubble is a picture of a status, not a control: a tap on it goes to the phone link under it, and the pointer over it
	   keeps the phone's hover (otherwise the lifted bubble would take the hover away and drop again). */
	pointer-events: none;
	opacity: 0;
	transform: scale(.6);
	transform-origin: calc(var(--mid) + var(--pn-out)) -8px;
	/* Going out is quick and at once: the script takes .is-on away 180 ms before it writes the next step's words and place
	   (assets/footer-panel.js), so the bubble must be gone by then. Coming in (below) waits for the new screen and grows. */
	transition: opacity .12s, transform .12s;
}

.pvt-site .p3-pn__note.is-on {
	opacity: 1;
	transform: none;
	transition: opacity .3s .25s, transform .5s .25s cubic-bezier(.34, 1.56, .64, 1);
}

/* Step 2's status is on the right of the screen: the bubble hangs out over the right side. */
.pvt-site .p3-pn__note[data-step="2"] {
	right: calc(-1 * var(--pn-out));
	left: auto;
	transform-origin: calc(100% - (228px + var(--pn-out) - var(--mid))) -8px;
}

/* The status dot: waiting (amber, as in the app), approved (green). */
.pvt-site .p3-pn__note::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #c98a4b;
}

.pvt-site .p3-pn__note[data-step="2"]::before {
	background: #3f8f6b;
}

/* The pointer, under the middle of the status. */
.pvt-site .p3-pn__note::after {
	content: "";
	position: absolute;
	top: -6px;
	left: calc(var(--mid) + var(--pn-out) - 6.5px);
	width: 13px;
	height: 13px;
	border-radius: 3px 0 0;
	background: #fff;
	box-shadow: -1px -1px 0 rgba(31, 36, 40, .07);
	transform: rotate(45deg);
}

.pvt-site .p3-pn__note[data-step="2"]::after {
	right: calc(228px + var(--pn-out) - var(--mid) - 6.5px);
	left: auto;
}

.pvt-site .p3-pn__note b {
	font-weight: 600;
}

.pvt-site .p3-pn__note span {
	grid-column: 2;
	font-size: 12.5px;
	color: #5b6770;
}

/* The ring around the status on the screen, in the status colour. */
.pvt-site .p3-pn__ring {
	position: absolute;
	top: calc(var(--pn-y) + var(--y0) * var(--pn-k) - 4px);
	left: calc(var(--x0) * var(--pn-k) - 5px);
	z-index: 3;
	width: calc((var(--x1) - var(--x0)) * var(--pn-k) + 10px);
	height: calc((var(--y1) - var(--y0)) * var(--pn-k) + 8px);
	border: 1.5px solid #c98a4b;
	border-radius: 999px;
	box-shadow: 0 0 0 4px rgba(201, 138, 75, .2);
	opacity: 0;
	pointer-events: none;
	transition: opacity .12s;
}

.pvt-site .p3-pn__note.is-on + .p3-pn__ring {
	opacity: 1;
	transition: opacity .3s .2s;
}

.pvt-site .p3-pn__note[data-step="2"] + .p3-pn__ring {
	border-color: #3f8f6b;
	box-shadow: 0 0 0 4px rgba(63, 143, 107, .2);
}

/* Step 3's status is a plain line of text, not a chip: a softer corner. */
.pvt-site .p3-pn__note[data-step="3"] + .p3-pn__ring {
	border-radius: 8px;
}

/* The bubble and the ring belong to the screen: when the phone lifts under the pointer they lift with it. */
.pvt-site .p3-pn__phone:hover ~ .p3-pn__note.is-on,
.pvt-site .p3-pn__phone:hover ~ .p3-pn__ring {
	transform: translateY(-4px);
	transition: opacity .3s, transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

/* The three steps. Without script all three texts show; with script only the current one opens. */
.pvt-site .p3-pn__beats {
	display: grid;
	gap: 4px;
	width: 100%;
	max-width: 400px;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

/* Without script a step is plain text (a div in a list item). The script swaps the div for a button of the same class. */
.pvt-site .p3-pn__row {
	display: grid;
	grid-template-columns: 30px 1fr;
	gap: 4px 12px;
	align-items: baseline;
	padding: 12px 14px;
	border: 0;
	border-radius: 16px;
	background: none;
	color: #56616a;
	font: inherit;
	text-align: left;
}

.pvt-site button.p3-pn__row {
	width: 100%;
	cursor: pointer;
	transition: opacity .2s;
}

.pvt-site button.p3-pn__row:hover {
	color: #1f2428;
}

.pvt-site button.p3-pn__row:active {
	opacity: .7;
}

.pvt-site button.p3-pn__row:focus-visible {
	outline: 3px solid #1f2428;
	outline-offset: 4px;
}

.pvt-site button.p3-pn__row[aria-current="true"] {
	background: rgba(31, 36, 40, .06);
	color: #1f2428;
}

.pvt-site .p3-pn__d {
	font-size: 15px;
	font-weight: 600;
}

.pvt-site .p3-pn__t {
	font-size: 17px;
	line-height: 1.3;
}

.pvt-site .p3-pn__x {
	grid-column: 2;
	font-size: 14.5px;
	line-height: 1.4;
	color: #56616a;
}

/* With script only the current step is open; a step with keyboard focus stays open. */
.pvt-site .p3-pn.is-live .p3-pn__row:not([aria-current="true"]):not(:focus-visible) .p3-pn__x {
	display: none;
}

.pvt-site .p3-pn__cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.pvt-site .p3-pn__cta small {
	font-size: 13px;
	color: #56616a;
}

.pvt-site .p3-in-k22__login {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 8px 8px 8px 26px;
	border-radius: 99px;
	background: #1f2428;
	color: #fff !important;
	font-size: 17px;
	font-weight: 500;
	text-decoration: none;
	transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}

.pvt-site .p3-in-k22__login i {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	color: #1f2428;
}

.pvt-site .p3-in-k22__login svg {
	width: 15px;
	height: 15px;
}

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

.pvt-site .p3-in-k22__login:active {
	transform: scale(.97);
}

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

/* "Börja här" (KANON B365, o14): the way in for a visitor who is not a patient yet, next to the login. It leads where the menu's start card
   leads (p3_chrome_header_cta): the page's own form, else the list of treatments. Quiet: an outlined pill of the same height as the
   login button, so BankID stays the main button. On a phone the two stand in a column and are as wide as the wider one. */
.pvt-site .p3-pn__btns {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	width: max-content;
	max-width: 100%;
}

.pvt-site .p3-pn__start {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 0 28px;
	border: 1.5px solid #1f2428;
	border-radius: 99px;
	background: transparent;
	color: #1f2428 !important;
	font-size: 17px;
	font-weight: 500;
	text-decoration: none;
	transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}

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

.pvt-site .p3-pn__start:active {
	transform: scale(.97);
}

.pvt-site .p3-pn__start:focus-visible {
	outline: 3px solid #1f2428;
	outline-offset: 4px;
}

/* A narrow card (320 px phones): the note moves in so the whole of it shows inside the panel. */
@container (max-width: 320px) {
	.pvt-site .p3-pn__stage {
		--pn-out: 14px;
	}
}

/* Wide card (from 1000 px the card is the whole footer width): text and steps left, the phone right. */
@container (min-width: 820px) {
	.pvt-site .p3-pn {
		grid-template-columns: minmax(0, 1fr) 340px;
		grid-template-areas: "head stage" "beats stage" "cta stage";
		justify-items: start;
		align-items: start;
		column-gap: 40px;
		row-gap: 22px;
		padding: 56px 56px 56px 60px;
		text-align: left;
	}

	.pvt-site .p3-pn__head {
		grid-area: head;
		align-items: flex-start;
	}

	.pvt-site .p3-pn__stage {
		grid-area: stage;
		align-self: center;
		justify-self: center;
	}

	.pvt-site .p3-pn__beats {
		grid-area: beats;
		max-width: 460px;
		margin-left: -14px;
	}

	.pvt-site .p3-pn__cta {
		grid-area: cta;
		align-items: flex-start;
	}

	.pvt-site .p3-pn__btns {
		flex-direction: row;
		align-items: center;
		flex-wrap: wrap;
		width: auto;
	}

	.pvt-site .p3-pn h2 {
		font-size: 46px;
	}

	.pvt-site .p3-pn__lead {
		font-size: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pvt-site .p3-pn__phone,
	.pvt-site .p3-pn__phone img,
	.pvt-site .p3-pn__note,
	.pvt-site .p3-pn__ring,
	.pvt-site button.p3-pn__row,
	.pvt-site .p3-in-k22__login,
	.pvt-site .p3-pn__start {
		transition: none;
	}

	.pvt-site .p3-pn__phone:hover,
	.pvt-site .p3-pn__phone:hover ~ .p3-pn__note.is-on,
	.pvt-site .p3-pn__phone:hover ~ .p3-pn__ring,
	.pvt-site .p3-in-k22__login:hover,
	.pvt-site .p3-pn__start:hover {
		transform: none;
	}

	.pvt-site .p3-pn__bars .is-on b {
		animation: none;
		transform: scaleX(1);
	}
}

.pvt-site .p3-in-k22__cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.pvt-site .p3-in-k22__cols summary {
	margin-bottom: 20px;
	font-size: 17px;
	color: var(--accent-warm);
	list-style: none;
	cursor: default;
}

.pvt-site .p3-in-k22__cols summary::-webkit-details-marker {
	display: none;
}

.pvt-site .p3-in-k22__cols ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pvt-site .p3-in-k22__cols li {
	margin: 0 0 13px;
}

.pvt-site .p3-in-k22__cols a {
	font-size: 15px;
	text-decoration: none;
}

.pvt-site .p3-in-k22__cols a:hover {
	text-decoration: underline;
}

.pvt-site .p3-in-k22__cols a:active {
	opacity: .7;
}

.pvt-site .p3-in-k22__cols a:focus-visible,
.pvt-site .p3-in-k22__contact a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.pvt-site .p3-in-k22__contact {
	margin-top: 40px;
}

.pvt-site .p3-in-k22__contact h3 {
	margin: 0 0 16px;
	font-size: 17px;
	letter-spacing: 0;
	color: var(--accent-warm);
}

.pvt-site .p3-in-k22__contact address {
	margin: 16px 0 0;
	font-size: 15px;
	font-style: normal;
	line-height: 1.8;
	color: #56616a;
}

/* The e-mail opens the mail app and the street address opens Google Maps (Kajal 2026-10-27). Both are underlined like the IVO
   link, so they read as links. The two-line address is one inline block, so its tap area and focus ring stay whole (issue #94). */
.pvt-site .p3-in-k22__contact :is(a.pvx-footer-contact, a.p3-in-k22__map) {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.pvt-site .p3-in-k22__contact :is(a.pvx-footer-contact, a.p3-in-k22__map):hover {
	text-decoration-thickness: 2px;
}

.pvt-site .p3-in-k22__map {
	display: inline-block;
}

/* Social profiles (Kajal 2026-11-17, look B of three): round 44 px icon buttons under the address (three since Facebook was added). The icon takes the
   footer's text colour; the ring is the same colour at 45 %, full on hover. The focus ring is the contact block's own rule above. */
.pvt-site .p3-in-k22__social {
	display: flex;
	gap: 12px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.pvt-site .p3-in-k22__social a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid currentColor;
	border-color: color-mix(in srgb, currentColor 45%, transparent);
	border-radius: var(--control-radius, 999px);
	color: inherit;
}

.pvt-site .p3-in-k22__social a:hover {
	border-color: currentColor;
}

.pvt-site .p3-in-k22__social a:active {
	opacity: .7;
}

/* Footer (Kajal 2026-10-23): "Tillsyn och regelverk" sits beside "Vi finns här." under the link columns instead of
   in a full-width row of its own below the card, so the footer is tidier and shorter. On computers the contact keeps
   the first link column and Tillsyn takes the other two; from 900 px down they stack. Heading, text and link keep
   the look they had in that row (site.css, .pvx-footer-system). */
.pvt-site .p3-in-k22__info {
	display: grid;
	/* Same three columns as the links above; the contact column may grow if the e-mail address needs the room. */
	grid-template-columns: minmax(max-content, 1fr) repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-top: 40px;
}

.pvt-site .p3-in-k22__info .p3-in-k22__contact {
	margin-top: 0;
}

.pvt-site .p3-in-k22__rules {
	grid-column: 2 / -1;
	color: #3d4750;
}

.pvt-site .p3-in-k22__rules h3 {
	margin: 0 0 16px;
	font-size: 17px;
	letter-spacing: 0;
	color: var(--accent-warm);
}

.pvt-site .p3-in-k22__rules p {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	max-width: 52ch;
}

/* 901 to 1023 px (tablets, small laptops): the row keeps two columns, the contact as wide as its e-mail address and Tillsyn
   taking the rest, so the footer stays as short as on computers (Kajal 2026-10-27, her 950 px window). */
@media (min-width: 901px) and (max-width: 1023px) {
	.pvt-site .p3-in-k22__info {
		grid-template-columns: minmax(max-content, 1fr) minmax(0, 1.5fr);
	}

	.pvt-site .p3-in-k22__rules {
		grid-column: auto;
	}
}

/* From 1024 px (Kajal 2026-11-20): one row of four columns, the three link lists and the contact; under it one row of two
   equal halves, Tillsyn left and the card to Apovital right. The lists and the contact are placed straight into the
   grid of the right-hand block, so the two wrappers step aside. Below 1024 px nothing changes. */
@media (min-width: 1024px) {
	.pvt-site .p3-in-k22__right {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 0 24px;
	}

	.pvt-site .p3-in-k22__cols,
	.pvt-site .p3-in-k22__info {
		display: contents;
	}

	.pvt-site .p3-in-k22__info .p3-in-k22__contact {
		grid-column: 4;
		grid-row: 1;
	}

	/* The heading and the e-mail line stand level with the list headings and their first links. */
	.pvt-site .p3-in-k22__info .p3-in-k22__contact h3 {
		padding-top: 3px;
		margin-bottom: 24px;
	}

	.pvt-site .p3-in-k22__rules {
		grid-column: 1 / 3;
		grid-row: 2;
		margin-top: 28px;
	}

	.pvt-site .p3-in-k22__rules p {
		max-width: none;
	}

	/* The IVO link is never split over two lines in the wider half. */
	.pvt-site .p3-in-k22__rules .p3-in-k22__keep {
		white-space: nowrap;
	}

	.pvt-site .p3-in-k22__right > .p3-in-k22__apo {
		grid-column: 3 / 5;
		grid-row: 2;
		align-self: start;
		width: 100%;
		margin-top: 28px;
	}
}

/* The legal line (Kajal 2026-11-20): terms, privacy, cookies, accessibility and the cookie settings button as one small
   row in the bottom box of the footer. In the markup it stands before the copyright text; on the page it comes after it. */
.pvt-site .pvt-footer .p3-in-legal {
	order: 2;
}

.pvt-site .pvt-footer .p3-in-legal ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: baseline;
	gap: 8px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pvt-site .pvt-footer .p3-in-legal :is(a, .p3-cookie-settings) {
	font-size: 13px;
	line-height: 1.6;
	color: #3d4750;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.pvt-site .pvt-footer .p3-in-legal :is(a, .p3-cookie-settings):hover {
	opacity: .8;
}

.pvt-site .pvt-footer .p3-in-legal :is(a, .p3-cookie-settings):active {
	opacity: .6;
}

.pvt-site .pvt-footer .p3-in-legal a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* Phones: a tap area of 44 px or more behind each item of the legal line, the look stays. The rows stand 26 px apart and Om systemet
   28 px under the last row, so no tap area reaches into its neighbour (measured: with 14 px and 10 px the areas were 29 to 42 px). */
@media (max-width: 700px) {
	.pvt-site .pvt-footer .p3-in-legal ul {
		gap: 26px 20px;
		margin-top: 6px;
	}

	.pvt-site .pvt-footer .pvx-footer-about {
		margin-top: 28px;
	}

	.pvt-site .pvt-footer .p3-in-legal a {
		position: relative;
	}

	.pvt-site .pvt-footer .p3-in-legal :is(a, .p3-cookie-settings)::after {
		content: "";
		position: absolute;
		inset: -13px -8px;
	}
}

/* From 1024 px the footer closes with two tidy rows that run from the left edge to the right edge: the payment marks left
   with Powered by Dintero and the LegitScript seal right, then the copyright left with the legal line and Om systemet right.
   The link lists stand a little closer. */
@media (min-width: 1024px) {
	.pvt-site .p3-in-k22__cols li {
		margin-bottom: 9px;
	}

	.pvt-site .pvt-footer .pvx-footer-trust {
		flex-direction: row;
		align-items: center;
		gap: 24px;
		padding-top: 28px;
	}

	.pvt-site .pvt-footer .pvx-payments {
		width: auto;
		justify-content: flex-start;
	}

	.pvt-site .pvt-footer .pvx-payments-powered {
		width: auto;
		margin: 0 0 0 auto;
	}

	.pvt-site .pvt-footer .pvx-legit {
		margin: 0;
	}

	/* Om systemet stays the last element of the footer in the markup; the grid puts it at the end of the copyright row. */
	.pvt-site .pvt-footer > div.pvt-footer-content {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		column-gap: 18px;
		align-items: baseline;
	}

	.pvt-site .pvt-footer > div.pvt-footer-content > * {
		grid-column: 1 / -1;
	}

	.pvt-site .pvt-footer > div.pvt-footer-content > .pvx-footer-bottom {
		grid-column: 1;
		flex-direction: row;
		justify-content: space-between;
		align-items: baseline;
		gap: 24px;
		padding-top: 18px;
		text-align: left;
	}

	.pvt-site .pvt-footer .p3-in-legal ul {
		justify-content: flex-end;
	}

	.pvt-site .pvt-footer > div.pvt-footer-content > .pvx-footer-about {
		grid-column: 2;
		margin: 0;
		font-size: 13px;
		color: #3d4750;
		text-underline-offset: 3px;
	}
}

/* Up to 900 px the whole footer is one column, and Tillsyn goes under the contact. */
@media (max-width: 900px) {
	.pvt-site .p3-in-k22__info {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
		margin-top: 28px;
	}

	.pvt-site .p3-in-k22__rules {
		grid-column: auto;
	}
}

/* Phones keep the 13 px text the row had (site.css), so the IVO link wraps as before; the heading stays 17 px like
   "Vi finns här." right above it. */
@media (max-width: 650px) {
	.pvt-site .p3-in-k22__rules p {
		font-size: 13px;
	}
}

@media (max-width: 900px) {
	.pvt-site .p3-in-k22__top {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
		padding-top: 32px;
	}

	.pvt-site .p3-in-k22__cols {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.pvt-site .p3-in-k22__cols details {
		border-bottom: 1px solid rgba(31, 36, 40, .14);
	}

	.pvt-site .p3-in-k22__cols summary {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 56px;
		margin: 0;
		font-size: 16px;
		font-weight: 600;
		cursor: pointer;
	}

	.pvt-site .p3-in-k22__cols summary::after {
		content: "";
		width: 9px;
		height: 9px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg);
		transition: transform .28s cubic-bezier(.34, 1.56, .64, 1);
	}

	.pvt-site .p3-in-k22__cols details[open] summary::after {
		transform: rotate(-135deg);
	}

	.pvt-site .p3-in-k22__cols summary:hover {
		opacity: .8;
	}

	.pvt-site .p3-in-k22__cols summary:active {
		opacity: .6;
	}

	.pvt-site .p3-in-k22__cols summary:focus-visible {
		outline: 2px solid currentColor;
		outline-offset: 2px;
	}

	.pvt-site .p3-in-k22__cols ul {
		padding-bottom: 16px;
	}

	.pvt-site .p3-in-k22__contact {
		margin-top: 28px;
	}
}

/* Knowledge pages on phones: long Swedish words (Pigmentförändringar, Integritetsskyddsmyndigheten) no longer push the page wider than the screen or get clipped. */
@media (max-width: 650px) {
	.pvt-site .pv-knowledge__title {
		font-size: clamp(28px, 8.4vw, 40px);
		overflow-wrap: anywhere;
	}

	.pvt-site .pv-knowledge__section h2 {
		font-size: 26px; /* B27: same as the Råd articles (.pv-fact__body h2) */
		overflow-wrap: anywhere;
	}

	.pvt-site .pv-knowledge h3 {
		font-size: clamp(22px, 6.6vw, 29px);
		overflow-wrap: anywhere;
	}
}

/* Behandlingsformer: without the close-up picture the detail card sits in the flow, not on top of it. */
.pvt-site .pvx-form-panel .pvx-material-stage {
	height: auto;
	align-self: center;
	padding: 24px;
}

.pvt-site .pvx-form-panel .pvx-material-detail {
	position: static;
}

.pvt-site .pvx-form-panel {
	min-height: 0;
}

@media (prefers-reduced-motion: reduce) {
	.pvt-site .p3-in-k01__cta,
	.pvt-site .pvt-header.p3-in-k02,
	.pvt-site .p3-in-k02 .pvt-logo,
	.pvt-site .p3-in-k02 nav,
	.pvt-site .p3-in-k02__login,
	.pvt-site .p3-in-k02 .pvt-menu-toggle,
	.pvt-site .p3-in-k22__login,
	.pvt-site .p3-in-k22__cols summary::after {
		transition: none;
	}
}

/* The hero person is cut out of a photo that ends mid-body: fade the last stretch into the scene instead of a hard straight edge. */
.hero__portrait > img {
	-webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 84%, transparent 100%);
}

/* Phones: the treatment directory cards keep the same side margin as the heading (22px) instead of running to the screen edge. */
@media (max-width: 650px) {
	.pvt-site .pvt-directory-grid {
		padding-inline: 24px;
	}
}

/* Hub FAQ: the link list under the last question is its own group, not part of that question. */
.faq__list > details + p {
	margin-top: 32px;
}

/* Hub FAQ link list on phones and touch screens: every link is a 48 px row, so a thumb hits one link and not its neighbour.
   The text keeps its size; the row gets air and an invisible ::after grows the hit area. Computers keep the tight rows. */
@media (pointer: coarse), (max-width: 900px) {
	.faq:not(.p3-faq) .faq__list > details ~ p {
		padding-block: 12px;
	}

	.faq:not(.p3-faq) .faq__list > details ~ p > a {
		position: relative;
	}

	.faq:not(.p3-faq) .faq__list > details ~ p > a::after {
		content: "";
		position: absolute;
		inset: -14px 0;
	}
}

/* Photo hero (routes.json "hero_photo"): from 901 px a whole photo fills the hero on the colour of its sky and the text is dark.
   The rules match the attributes, so an area hub with "hero_photo" gets the same look (Kajal 2026-10-31; hub extras in css/in-r5-kort.css).
   Computer, every width from 901 px: the photo covers the hero, a soft veil in the sky colour carries the text on the left
   (Kajal 2026-10-27: the same look at every size except phones; before that 901 to 1200 px showed the photo above the text).
   Phone and tablet (to 900 px): the text first, then the photo as a framed picture by the offer card, like the other treatment
   pages (Kajal 2026-10-26; before that the photo came first), and the band wears the page's own scene colour and white text like
   every other treatment page (phones Kajal 2026-10-28: the ED page looked unlike the rest of Sexuell hälsa; tablets 2026-10-30).
   The sky colour and the dark ink apply from 901 px, in the block further down. Pages without the setting are untouched. */
.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] .hero__portrait {
	padding: 0;
	overflow: hidden;
}

.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] .hero__portrait picture {
	display: block;
	width: 100%;
	height: 100%;
}

.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] .hero__portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: none;
	-webkit-mask-image: none;
	mask-image: none;
}

/* From 901 px: the colour of the photo's sky and the dark ink. Phones and tablets keep the scene (see above; tablets Kajal 2026-10-30). */
@media (min-width: 901px) {
	.pvt-site.pvt-site .layer--scene[data-p3-scene="photo"] {
		--p3-sky: #d9dad9;
		--p3-photo-ink: #23201d;
		background: var(--p3-sky);
	}

	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] {
		--hero-text: var(--p3-photo-ink);
		--hero-muted: var(--p3-photo-ink);
		--hero-btn2-fg: var(--p3-photo-ink);
		--hero-btn2-border: color-mix(in srgb, var(--p3-photo-ink) 35%, transparent);
		color: var(--p3-photo-ink);
	}

	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] .button--secondary {
		background: transparent;
		box-shadow: inset 0 0 0 1px var(--hero-btn2-border);
		color: var(--p3-photo-ink);
	}

	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] .button--secondary:hover {
		background-color: color-mix(in srgb, var(--p3-photo-ink) 8%, transparent);
	}
}

@media (min-width: 901px) {
	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] .hero__portrait {
		position: absolute;
		inset: 0;
		align-self: stretch;
		height: auto;
		border-radius: var(--p3-r) var(--p3-r) 0 0;
		-webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 72px), transparent);
		mask-image: linear-gradient(to bottom, #000 calc(100% - 72px), transparent);
	}

	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] .hero__portrait img {
		object-position: 100% 0;
	}

	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] .hero__portrait::after {
		content: "";
		position: absolute;
		inset: 0;
		z-index: 2;
		--p3-veil-x: min(48%, 691px);
		background: var(--p3-sky);
		/* The veil's strength, left to right (Kajal 2026-11-19: the fade showed as an edge on a dark sky). The text column is 48 % of
		   the hero at every width from 901 px, so the fade is tied to that line (--p3-veil-x), not to fixed pixels: 90 % at the left
		   edge, 84 % at 140 px before the line, then an S-shaped fall (smoothstep, 20 short steps of 21 px) to nothing 280 px after it.
		   No step changes the slope by more than a hair, so no edge shows; about 62 % is left at the line. 140/280 and not 120/300
		   (review 2026-11-19): the later fall lay 13 points heavier on the faces at 1440 px.
		   The line stops at 691 px (the column's end in a 1440 px window): in wider windows a veil that followed the column would
		   lie over the faces (tried: 57 % on the boy on Vikt och hälsa at 1920 px). KNOWN LIMIT, as before this change: from about
		   1700 px some headlines and paragraphs run past the veil onto the photo (the column grows, the type does not).
		   Without mask support the veil would cover the whole photo; every browser the theme supports has it (Safari 15.4, Chrome 120).
		   Before: 80 % at 620 px falling in one straight line to 0 at 860 px (two corners); 901 to 1200 px: 75 % to 0 over 160 px. */
		-webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .9) 0, rgba(0, 0, 0, .84) calc(var(--p3-veil-x) - 140px), rgba(0, 0, 0, .834) calc(var(--p3-veil-x) - 119px), rgba(0, 0, 0, .816) calc(var(--p3-veil-x) - 98px), rgba(0, 0, 0, .789) calc(var(--p3-veil-x) - 77px), rgba(0, 0, 0, .753) calc(var(--p3-veil-x) - 56px), rgba(0, 0, 0, .709) calc(var(--p3-veil-x) - 35px), rgba(0, 0, 0, .659) calc(var(--p3-veil-x) - 14px), rgba(0, 0, 0, .603) calc(var(--p3-veil-x) + 7px), rgba(0, 0, 0, .544) calc(var(--p3-veil-x) + 28px), rgba(0, 0, 0, .483) calc(var(--p3-veil-x) + 49px), rgba(0, 0, 0, .42) calc(var(--p3-veil-x) + 70px), rgba(0, 0, 0, .357) calc(var(--p3-veil-x) + 91px), rgba(0, 0, 0, .296) calc(var(--p3-veil-x) + 112px), rgba(0, 0, 0, .237) calc(var(--p3-veil-x) + 133px), rgba(0, 0, 0, .181) calc(var(--p3-veil-x) + 154px), rgba(0, 0, 0, .131) calc(var(--p3-veil-x) + 175px), rgba(0, 0, 0, .087) calc(var(--p3-veil-x) + 196px), rgba(0, 0, 0, .051) calc(var(--p3-veil-x) + 217px), rgba(0, 0, 0, .024) calc(var(--p3-veil-x) + 238px), rgba(0, 0, 0, .006) calc(var(--p3-veil-x) + 259px), rgba(0, 0, 0, 0) calc(var(--p3-veil-x) + 280px));
		mask-image: linear-gradient(90deg, rgba(0, 0, 0, .9) 0, rgba(0, 0, 0, .84) calc(var(--p3-veil-x) - 140px), rgba(0, 0, 0, .834) calc(var(--p3-veil-x) - 119px), rgba(0, 0, 0, .816) calc(var(--p3-veil-x) - 98px), rgba(0, 0, 0, .789) calc(var(--p3-veil-x) - 77px), rgba(0, 0, 0, .753) calc(var(--p3-veil-x) - 56px), rgba(0, 0, 0, .709) calc(var(--p3-veil-x) - 35px), rgba(0, 0, 0, .659) calc(var(--p3-veil-x) - 14px), rgba(0, 0, 0, .603) calc(var(--p3-veil-x) + 7px), rgba(0, 0, 0, .544) calc(var(--p3-veil-x) + 28px), rgba(0, 0, 0, .483) calc(var(--p3-veil-x) + 49px), rgba(0, 0, 0, .42) calc(var(--p3-veil-x) + 70px), rgba(0, 0, 0, .357) calc(var(--p3-veil-x) + 91px), rgba(0, 0, 0, .296) calc(var(--p3-veil-x) + 112px), rgba(0, 0, 0, .237) calc(var(--p3-veil-x) + 133px), rgba(0, 0, 0, .181) calc(var(--p3-veil-x) + 154px), rgba(0, 0, 0, .131) calc(var(--p3-veil-x) + 175px), rgba(0, 0, 0, .087) calc(var(--p3-veil-x) + 196px), rgba(0, 0, 0, .051) calc(var(--p3-veil-x) + 217px), rgba(0, 0, 0, .024) calc(var(--p3-veil-x) + 238px), rgba(0, 0, 0, .006) calc(var(--p3-veil-x) + 259px), rgba(0, 0, 0, 0) calc(var(--p3-veil-x) + 280px));
		pointer-events: none;
	}
}

@media (max-width: 900px) {
	.pvt-site .layer--scene > .hero[data-p3-hero="photo"] .hero__portrait {
		height: auto;
		margin: 16px 0 0;
		aspect-ratio: 740 / 960;
		border-radius: var(--p3-r);
	}
}

/* Tablets, 651 to 900 px (Kajal 2026-11-19, her pick A of three rendered looks; B = the computer look, C = A with a fading photo).
   Before: the photo sat at the bottom of the right column, pressed against the window edge, and the top right of a treatment
   page was empty. Now the photo stands at the top right beside the headline, with the same margin as the text, as tall as the text
   block beside it, and the three-row offer card lies under both as one wide card with its rows side by side.
   How: the text block (.hero__copy) hands its children to the hero's grid (display: contents), so the pill, headline, intro,
   buttons and the small line fill column one, the photo spans those rows in column two, and the offer card spans both columns
   in the next row. The area pages have no offer card and no small line: the photo then spans the rows that exist.
   The price tab rides higher on the card's edge here, so it does not cover the third heading. */
@media (min-width: 651px) and (max-width: 900px) {
	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-auto-rows: auto;
		align-items: start;
		column-gap: 28px;
		padding: 40px 25px 44px;
	}

	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] > .hero__copy {
		display: contents;
	}

	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] > .hero__copy > * {
		grid-column: 1;
	}

	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] > .hero__copy > .brand-pill {
		justify-self: start;
	}

	/* The soft shade behind the white text on an area page (assets/in-r4-hubbar.css) keeps the box it had around the text
	   column: 56 px left of the hero's edge to 40 px right of the column, 28 px above and below the hero. It is placed by
	   the hero's grid now, so both column lines are named (with only the start line it ran on to the hero's right edge,
	   under the photo, and the text lost up to a quarter of its contrast; review 2026-11-19). */
	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] > .hero__copy::before {
		grid-column: 1 / 2;
		inset: -28px -40px -28px -81px;
	}

	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] > .hero__portrait {
		grid-column: 2;
		grid-row: 1 / span 5;
		align-self: stretch;
		position: relative;
		height: 100%;
		min-height: 420px;
		margin: 0;
		aspect-ratio: auto;
		border-radius: 24px;
	}

	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] > .hero__portrait picture,
	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] > .hero__portrait img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
	}

	/* A short text block makes the photo box lower than the upright picture: the cut then comes off the bottom first, so heads
	   stay in (the top of the man's hair was cut on the ED page at 900 px; review 2026-11-19). */
	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] > .hero__portrait img {
		object-position: 50% 12%;
	}

	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] > .hero__copy > .p3-offer {
		grid-column: 1 / -1;
		max-width: none;
		margin-top: 52px;
	}

	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] .p3-offer__rows {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: 22px;
	}

	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] .p3-offer__rows li {
		align-items: start;
		border-bottom: 0;
	}

	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] .p3-offer__rows li + li {
		padding-left: 20px;
		border-left: 1px solid var(--line);
	}

	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] .p3-offer__tab {
		top: -40px;
	}
}

/* Narrow tablets, 651 to 782 px: the text column is 287 to 352 px wide and the longest headline word ("hudförändringar." on
   Borrelia, 346 px at 52 px type) ran over the photo, as it did before this layout (measured on all 39 pages). The headline
   shrinks with the column, 42 px at 651 px up to the usual 52 px at 782 px, so nothing jumps. The long gold label of
   Hud och hår may break into two lines for the same reason. */
@media (min-width: 651px) and (max-width: 782px) {
	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] h1 {
		font-size: calc(7.4vw - 5.8px);
	}

	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] > .hero__copy > .brand-pill {
		max-width: 100%;
	}

	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] > .hero__copy > .brand-pill .brand-pill__name {
		white-space: normal;
	}
}

/* 901 to 1200 px: the hero is narrower than the photo, so the couple would stand behind the text column. The picture keeps the
   photo's own proportions (3:2) at the hero's height, and its left edge is placed so that the man's left side starts 32 px right of
   the text column: he begins 51 % into the photo, hence the -51 % shift. That holds whatever the hero height or a scrollbar does
   (review 2026-10-27). The veil follows the column at every width since 2026-11-19 (one rule, above). From 1201 px the photo fits
   beside the text as it is. If the hero were ever lower than two thirds of its width (today it has 80 px to spare), min-width 110%
   keeps the photo covering the hero and object-fit crops its bottom instead. The hair of the woman sits 36 px inside the right edge
   at 901 px; an intro about 78 px taller there would start to cut it. */
@media (min-width: 901px) and (max-width: 1200px) {
	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] .hero__portrait img {
		position: absolute;
		top: 0;
		left: calc(48% + 32px);
		width: auto;
		min-width: 110%;
		max-width: none;
		height: 100%;
		aspect-ratio: 3 / 2;
		transform: translateX(-51%);
	}
}

/* Torr hud (Kajal 2026-11-09): her face starts 62 % into the picture, so with the shared -51 % shift about a third of it ran past
   the right window edge at 901 px. -60 % keeps her whole face inside the window from 901 to 1200 px, about 60 px or more from the
   text, with no jump between 1200 and 1201 px (-62 % would leave a gap at 1200 px). min-width 125 % makes the photo reach the
   right edge whatever the hero height: with the shared 110 % and a -60 % shift it ended up to 0.4 px short at 1199 and 1200 px
   (a light line down the edge), and a lower hero would have left a strip. The picture files are not changed. */
@media (min-width: 901px) and (max-width: 1200px) {
	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] .hero__portrait img[src*="/foto/torr-hud-kvinna-"] {
		min-width: 125%;
		transform: translateX(-60%);
	}
}

/* Utslag and Svettproblem (Kajal 2026-11-10, "both", after trial pictures of each): with the shared -51 % shift her face ran past
   the right window edge from 901 to 1144 px (104 px at 901 px, one eye half out), and the right side of his head was cut at the
   smallest windows. Each photo gets its own shift, like Torr hud above. Utslag -58 %: her face with both hands stays inside the
   window at every width (about 2 px to spare at 901 px) and the paragraph stays about 12 px or more from her; -59 % put the text
   on her at 1001 px. Svettproblem -60 %: his whole head is inside with room to spare. The larger min-width makes each photo
   reach the right edge whatever the hero height. The step at 1200/1201 px shrinks from about 132 to 28 px and from 187 to 43 px.
   The picture files and the text are not changed.
   LIMIT (review 2026-11-10): the photo is as tall as the hero, so a taller hero makes it larger and pushes her face right again.
   Utslag's 2 px at 901 px hold while the hero there is at most about 1018 px high (1013 px today): one more line in the intro text
   would put her hand past the edge again, and the shift would need re-measuring. With a classic 17 px scrollbar her hand is up
   to 7 px past the edge from 901 to 915 px (113 px before this rule). */
@media (min-width: 901px) and (max-width: 1200px) {
	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] .hero__portrait img[src*="/foto/utslag-kvinna-"] {
		min-width: 125%;
		transform: translateX(-58%);
	}
}

@media (min-width: 901px) and (max-width: 1200px) {
	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] .hero__portrait img[src*="/foto/svettproblem-man-"] {
		min-width: 130%;
		transform: translateX(-60%);
	}
}

/* Healthspan (Kajal 2026-11-10, her pick B of three trial looks; issue #259): from 1201 to 1439 px the hero is taller than the
   photo's 3:2 shape, so the photo is scaled up to cover it from the right edge and the man slid left under the paragraph: at
   1280 px "börjar med" lay on his beard. The picture box grows to the right by 45 % of what the window lacks to 1440 px. The
   photo stays anchored to the box's right edge and still covers the hero, so he moves right by 108 px at 1201, 72 px at 1280 and
   33 px at 1366, and by under half a pixel at 1439 (no jump at 1440 px, where this ends). The part of the photo pushed out on
   the right is cut by the picture frame (.hero__portrait, overflow hidden). Not a translate: that showed the photo's left edge as a strip under the haze.
   The picture files and the text are not changed. */
@media (min-width: 1201px) and (max-width: 1439px) {
	.pvt-site .layer--scene[data-p3-scene="photo"] > .hero[data-p3-hero="photo"] .hero__portrait img[src*="/foto/healthspan-man-"] {
		width: calc(100% + (1440px - 100vw) * .45);
		max-width: none;
	}
}

/* The same photo closes the page; the wide picture shows the faces from the top right. */
/* The photo set's closing is wrapped in a <picture> (AVIF first); the picture has no box, so the img stays the card's direct layout child. */
.p3-sheets .p3-in-k21--photo > picture {
	display: contents;
}

/* On a computer the card is a grid: a picture with display: contents would add a second grid row and lift the text, so it covers the card like the img did. */
@media (min-width: 901px) {
	.p3-sheets .p3-in-k21--photo > picture {
		display: block;
		position: absolute;
		inset: 0;
	}
}

/* The card shows only a part of the photo: from 901 px a strip as wide as the photo (the wider the window, the thinner the strip),
   on a phone an upright box as high as the photo. Where that part sits comes from the page (routes.json "closing_focus" and
   "closing_focus_phone", written on the img by tools/photo_set.py), measured so that the face stays inside the card. Without a
   value the strip starts at the top of the photo and the phone box sits 88 % to the right, as before. */
.p3-sheets .p3-in-k21--photo > img[data-p3-photo="whole"],
.p3-sheets .p3-in-k21--photo > picture > img[data-p3-photo="whole"] {
	object-position: 100% var(--p3-closing-y, 0%);
}

@media (max-width: 900px) {
	.p3-sheets .p3-in-k21--photo > img[data-p3-photo="whole"],
	.p3-sheets .p3-in-k21--photo > picture > img[data-p3-photo="whole"] {
		object-position: var(--p3-closing-x, 88%) 0;
	}
}

/* 901 to 1230 px: the text column is 566 px wide at most, and the person starts about half way across the photo, so the ends of
   the tick rows lay over the face (14 pages at 901 px, 6 at 1024 px, measured 2026-11-09). The column keeps to 46 % of the card
   there (46 % of 1230 px is the 566 px it has above), so the lines end before the person; the card stays 560 px high. */
@media (min-width: 901px) and (max-width: 1230px) {
	.p3-sheets .p3-in-k21--photo.p3-in-k21--whole .closing__copy {
		max-width: 46%;
	}
}

/* The whole photo closing on a phone: the photo sits above the text so the faces are never behind the heading. */
@media (max-width: 900px) {
	.p3-sheets.p3-sheets .p3-sheet > .p3-in-k21.p3-in-k21--photo.p3-in-k21--whole {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		min-height: 0;
	}

	.p3-sheets.p3-sheets .p3-in-k21--photo.p3-in-k21--whole > img,
	.p3-sheets.p3-sheets .p3-in-k21--photo.p3-in-k21--whole > picture > img {
		position: relative;
		inset: auto;
		order: -1;
		width: 100%;
		height: auto;
		aspect-ratio: 4 / 5;
		margin-bottom: 24px;
		border-radius: var(--p3-r);
	}

	.p3-sheets.p3-sheets .p3-in-k21--photo.p3-in-k21--whole::before {
		display: none;
	}
}

/* Area pages (Kajal 2026-11-09): the page's own photo closes it, in place of the drawn cut-out, the way a photo treatment page
   closes (tools/in_r4_hubbar.py sets data-p3-closing="photo" and writes the set's wide files). From 901 px the photo fills the
   closing card and the text sits on the dark veil on the left. To 900 px the photo is a rounded box under the text, where the
   drawn figure stood (the text keeps the dark top of the scene, so its contrast is what it was): the whole photo (3:2) on
   tablets, an upright 4:5 part of it on phones (to 650 px, where system.css stacks the closing anyway). The <picture> has no
   box of its own there. */
.pvt-site .layer.closing[data-p3-closing="photo"] > picture {
	display: contents;
}

.pvt-site .layer.closing[data-p3-closing="photo"] > picture > img {
	display: block;
	width: 100%;
	object-fit: cover;
	filter: none;
}

@media (min-width: 901px) {
	.pvt-site .layer.closing[data-p3-closing="photo"] > picture {
		display: block;
		position: absolute;
		inset: 0;
		z-index: -2;
	}

	.pvt-site .layer.closing[data-p3-closing="photo"] > picture > img {
		height: 100%;
		object-position: 100% var(--p3-closing-y, 0%);
	}

	/* The veil runs through the same points as before (80 % at the left edge, 40 % at 55 %, nothing at 82 %), as one smooth curve in
	   short steps instead of two straight lines whose corners showed as edges (Kajal 2026-11-19). It lands flat at 82 %. The point
	   56 % at 33 % lies on the old line: it keeps this veil within 1 % of the narrow-window veil below where they meet (1333 px). */
	.pvt-site .layer.closing[data-p3-closing="photo"]::before {
		background: linear-gradient(90deg, rgba(21, 27, 39, .8) 0%, rgba(21, 27, 39, .77) 4.125%, rgba(21, 27, 39, .74) 8.25%, rgba(21, 27, 39, .71) 12.375%, rgba(21, 27, 39, .68) 16.5%, rgba(21, 27, 39, .65) 20.625%, rgba(21, 27, 39, .62) 24.75%, rgba(21, 27, 39, .59) 28.875%, rgba(21, 27, 39, .56) 33%, rgba(21, 27, 39, .541) 35.75%, rgba(21, 27, 39, .523) 38.5%, rgba(21, 27, 39, .505) 41.25%, rgba(21, 27, 39, .487) 44%, rgba(21, 27, 39, .468) 46.75%, rgba(21, 27, 39, .448) 49.5%, rgba(21, 27, 39, .425) 52.25%, rgba(21, 27, 39, .4) 55%, rgba(21, 27, 39, .358) 58.375%, rgba(21, 27, 39, .3) 61.75%, rgba(21, 27, 39, .235) 65.125%, rgba(21, 27, 39, .167) 68.5%, rgba(21, 27, 39, .103) 71.875%, rgba(21, 27, 39, .05) 75.25%, rgba(21, 27, 39, .014) 78.625%, rgba(21, 27, 39, 0) 82%);
	}
}

/* 901 to 1333 px: the text ends 405 px from the left (488 px on Vikt och hälsa), which in a narrow window is far into the veil
   above, where it is thin: against the lightest twentieth of the pixels behind it the small paragraph had 4.0:1 on Kvinnohälsa at
   901 px and 4.3:1 on Hud och hår (every pixel behind the text measured, 2026-11-09; the limit is 4.5:1). Here the veil keeps .56 until
   440 px and then falls a little later (never before 620 px and 840 px; 800 px until 2026-11-19). At 1333 px this is the same veil as above (.56 at
   440 px), so nothing jumps, and wider windows keep the veil as it is. After: 4.7:1 or more against every pixel. */
@media (min-width: 901px) and (max-width: 1333px) {
	.pvt-site .layer.closing[data-p3-closing="photo"]::before {
		/* 2026-11-19: the same points (.8 at 0, .56 at 440px, .4 at max(55%, 620px)) joined by one smooth curve, 8 steps per part. The veil now
		   ends at max(82%, 840px), 40 px later than before in windows under 1024 px: with 180 px the last part was too short to fall gently.
		   The steps were worked out for a 1100 px card; at other widths in this range the curve is a little less even (review 2026-11-19:
		   it still only falls, and the largest change of slope at a step is 0.0008 per px, a third of the old corner). */
		background: linear-gradient(90deg, rgba(21, 27, 39, .8) 0, rgba(21, 27, 39, .771) 55px, rgba(21, 27, 39, .743) 110px, rgba(21, 27, 39, .715) 165px, rgba(21, 27, 39, .687) 220px, rgba(21, 27, 39, .658) 275px, rgba(21, 27, 39, .628) 330px, rgba(21, 27, 39, .595) 385px, rgba(21, 27, 39, .56) 440px, rgba(21, 27, 39, .544) calc(440px * .875 + max(55%, 620px) * .125), rgba(21, 27, 39, .527) calc(440px * .75 + max(55%, 620px) * .25), rgba(21, 27, 39, .509) calc(440px * .625 + max(55%, 620px) * .375), rgba(21, 27, 39, .489) calc(440px * .5 + max(55%, 620px) * .5), rgba(21, 27, 39, .469) calc(440px * .375 + max(55%, 620px) * .625), rgba(21, 27, 39, .447) calc(440px * .25 + max(55%, 620px) * .75), rgba(21, 27, 39, .424) calc(440px * .125 + max(55%, 620px) * .875), rgba(21, 27, 39, .4) max(55%, 620px), rgba(21, 27, 39, .353) calc(max(55%, 620px) * .875 + max(82%, 840px) * .125), rgba(21, 27, 39, .294) calc(max(55%, 620px) * .75 + max(82%, 840px) * .25), rgba(21, 27, 39, .228) calc(max(55%, 620px) * .625 + max(82%, 840px) * .375), rgba(21, 27, 39, .161) calc(max(55%, 620px) * .5 + max(82%, 840px) * .5), rgba(21, 27, 39, .099) calc(max(55%, 620px) * .375 + max(82%, 840px) * .625), rgba(21, 27, 39, .048) calc(max(55%, 620px) * .25 + max(82%, 840px) * .75), rgba(21, 27, 39, .013) calc(max(55%, 620px) * .125 + max(82%, 840px) * .875), rgba(21, 27, 39, 0) max(82%, 840px));
	}
}

@media (max-width: 900px) {
	.pvt-site .layer.closing[data-p3-closing="photo"] {
		display: flex;
		flex-direction: column;
		min-height: 0;
	}

	.pvt-site .layer.closing[data-p3-closing="photo"] > picture > img {
		align-self: center;
		width: calc(100% - 48px);
		height: auto;
		aspect-ratio: 3 / 2;
		margin: 28px 0 24px;
		border-radius: 24px;
	}

	.pvt-site .layer.closing[data-p3-closing="photo"] .closing__copy {
		align-self: stretch;
		padding: 38px 24px 0;
	}
}

@media (max-width: 650px) {
	.pvt-site .layer.closing[data-p3-closing="photo"] > picture > img {
		aspect-ratio: 4 / 5;
		border-radius: 16px;
		object-position: var(--p3-closing-x, 88%) 0;
	}
}

/* Very wide screens (Kajal 2026-11-09: "make the closing part taller on very wide screens"). The closing photo is as wide as the
   card, so a card of a fixed height shows an ever thinner strip of it: a third of the photo at 2560 px, where 14 of the 39 pages
   lost part of the face, and 27 pages at 3440 px. From 1921 px the card grows with the window, 560 px per 1920 px of width on a
   treatment page and 620 px on an area page, so it shows the same part of the photo as at 1920 px (1921 px gives 560.3 px, so
   nothing jumps). It stops growing at 3840 px, at 1120 and 1240 px high. Windows up to 1920 px are untouched. */
@media (min-width: 1921px) {
	.p3-sheets .p3-sheet > .p3-in-k21.p3-in-k21--photo.p3-in-k21--whole {
		min-height: min(calc(100vw * 560 / 1920), 1120px);
	}

	.pvt-site .layer.closing[data-p3-closing="photo"] {
		min-height: min(calc(100vw * 620 / 1920), 1240px);
	}
}
