/* Раздел /lab_angio/ — о компании «Лаборатория Ангиофарм». Классы с префиксом ng-, точки перелома 448, 768, 1280. */

/* Шрифт макета. В шаблоне объявлен только внутри компонентов. */
@font-face {
	font-family: "Cera Pro";
	src: url("/local/templates/aspro-premier/css/fonts/CeraPro/CeraPro-Regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Cera Pro";
	src: url("/local/templates/aspro-premier/css/fonts/CeraPro/CeraPro-Medium.woff") format("woff");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

.ng-page {
	--ng-ink: #3c3c50;
	--ng-paper: #fff;
	--ng-card: #fff;
	--ng-band: #eff2f9;
	--ng-panel: #f7f5f2;
	--ng-accent: #c0ad96;
	--ng-tile: #f4f2ef;
	--ng-radius: 10px;
	--ng-gutter: 32px;
	--ng-gap: 16px;
	--ng-shadow: 0 0 34px rgba(93, 89, 81, 0.1);

	margin-bottom: 64px;
	color: var(--ng-ink);
	background: var(--ng-paper);
	font-family: "Cera Pro", "Golos Text", Arial, sans-serif;
}

:where(.ng-page) :where(h1, h2, p, ul, ol) {
	margin: 0;
}

/* Шаблон делает абзацы в списках строчными: .main ul li p. */
.ng-page .ng-card__title,
.ng-page .ng-card__text,
.ng-page .ng-value__title,
.ng-page .ng-value__text,
.ng-page .ng-step__title,
.ng-page .ng-step__text,
.ng-page .ng-timeline__year,
.ng-page .ng-timeline__text {
	display: block;
}

.ng-page .ng-card__title {
	display: grid;
}

/* Точка перед пунктом списка — псевдоэлемент шаблона. */
.ng-card::before,
.ng-value::before,
.ng-step::before,
.ng-figure::before,
.ng-values__photo::before {
	content: none;
}

:where(.ng-page) img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* Во всю ширину окна, поверх полей шаблона. */
.ng-page__bleed {
	width: 100vw;
	margin-inline: calc(50% - 50vw);
}

.ng-container {
	max-width: 1600px;
	margin-inline: auto;
	padding-inline: var(--ng-gutter);
}

.ng-section {
	width: 100vw;
	margin-inline: calc(50% - 50vw);
	padding-block: 48px;
}

.ng-section__head {
	display: grid;
	gap: 16px;
	margin-bottom: 40px;
}

.ng-section__title {
	font-weight: 500;
	color: var(--ng-ink);
	font-size: 20px;
	line-height: 1.156;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}

.ng-section__title--small {
	line-height: 1.133;
}

.ng-section__lead {
	color: var(--ng-ink);
	font-size: 16px;
	line-height: 1.1875;
	letter-spacing: -0.05em;
}

/* Первый экран */

.ng-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	height: 515px;
	padding: 0 15px 36px;
	overflow: hidden;
	background: #eaeaec;
}

/* На телефоне фотография — фон, текст поверх. */
.ng-hero__media {
	position: absolute;
	inset: 0;
}

.ng-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
}

/* Затемнение под белый текст. */
.ng-hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, #fff 25%, #4c4738 100%);
	mix-blend-mode: multiply;
	opacity: 0.9;
	pointer-events: none;
}

.ng-hero__text {
	position: relative;
	max-width: 325px;
}

.ng-hero__title {
	font-size: 24px;
	font-weight: 500;
	line-height: 1.042;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	color: #fff;
}

.ng-hero__lead {
	margin-top: 20px;
	font-size: 16px;
	line-height: 1.125;
	letter-spacing: -0.05em;
	color: #fff;
}

/* Лаборатория сегодня */

.ng-lab__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: var(--ng-gap);
}

.ng-card {
	list-style: none;
	padding: 24px;
	border-radius: var(--ng-radius);
	background: var(--ng-card);
	box-shadow: var(--ng-shadow);
}

.ng-card__media {
	display: block;
	margin-bottom: 20px;
	border-radius: var(--ng-radius);
	overflow: hidden;
	background: #f7f5f2;
}

.ng-card__media img {
	width: 100%;
	aspect-ratio: 280 / 165;
	object-fit: cover;
}

.ng-card__title {
	font-weight: 500;
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	align-items: center;
	color: var(--ng-ink);
	font-size: 16px;
	line-height: 1.1875;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}

.ng-card__number {
	grid-column: 1;
}

.ng-card__text {
	color: var(--ng-ink);
	margin-top: 11px;
	font-size: 16px;
	line-height: 1.3125;
	letter-spacing: -0.05em;
}

/* Масштаб компании */

/* Не до краёв окна, иначе срезает скруглённые углы. */
.ng-scale {
	position: relative;
	border-radius: var(--ng-radius);
	overflow: hidden;
	padding-block: 40px;
	color: #fff;
	background: var(--ng-ink);
}

.ng-scale__media {
	position: absolute;
	inset: 0;
}

.ng-scale__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.35;
}

.ng-scale__inner {
	position: relative;
	display: grid;
	gap: 32px;
}

.ng-scale__title {
	font-weight: 500;
	font-size: 20px;
	line-height: 1.0625;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}

.ng-scale__body {
	display: grid;
	gap: 20px;
}

.ng-scale__paragraph {
	margin-top: 0;
	font-size: 16px;
	line-height: 1.3125;
	letter-spacing: -0.05em;
}

.ng-scale__figures {
	display: grid;
	gap: var(--ng-gap);
}

.ng-figures {
	display: grid;
	align-content: end;
	gap: 12px;
	padding: 24px;
	border-radius: var(--ng-radius);
	background: var(--ng-card);
	box-shadow: var(--ng-shadow);
}

.ng-figure {
	list-style: none;
	display: grid;
	align-content: start;
	gap: 11px;
	padding: 18px;
	border-radius: var(--ng-radius);
	background: var(--ng-tile);
	color: var(--ng-ink);
}

.ng-figure__value {
	font-size: 32px;
	line-height: 1;
	letter-spacing: -0.03em;
}

.ng-figure__label {
	font-size: 16px;
	line-height: 1.3125;
	letter-spacing: -0.03em;
}

/* Чем мы гордимся */

.ng-values__grid {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: var(--ng-gap);
}

.ng-value {
	list-style: none;
	display: grid;
	align-content: start;
	gap: 12px;
	padding: 24px;
	border-radius: var(--ng-radius);
	background: var(--ng-card);
	box-shadow: var(--ng-shadow);
}

.ng-value__icon {
	width: 26px;
	height: 26px;
	fill: none;
	stroke: var(--ng-accent);
	stroke-width: 1.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ng-value__title {
	font-weight: 500;
	color: var(--ng-ink);
	font-size: 18px;
	line-height: 1.222;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}

.ng-value__text {
	color: var(--ng-ink);
	font-size: 16px;
	line-height: 1.3125;
	letter-spacing: -0.05em;
}

/* На телефоне фотография идёт третьей, между «Фокусом» и «Нацеленностью». */
.ng-value--science  { order: 1; }
.ng-value--quality  { order: 2; }
.ng-value--result   { order: 4; }
.ng-value--approach { order: 5; }
.ng-value--honesty  { order: 6; }

.ng-values__photo {
	list-style: none;
	order: 3;
	aspect-ratio: 326 / 207;
	border-radius: var(--ng-radius);
	overflow: hidden;
	background: #c2baab;
}

.ng-values__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Ангиогенин */

.ng-angiogenin {
	position: relative;
	border-radius: var(--ng-radius);
	overflow: hidden;
	padding-block: 40px;
	background: var(--ng-band);
}

.ng-angiogenin__media {
	display: none;
	position: absolute;
	inset: 0;
}

.ng-angiogenin__media img {
	position: absolute;
	height: auto;
	max-width: none;
}

.ng-angiogenin > .ng-container,
.ng-angiogenin .ng-mechanism {
	position: relative;
}

/* Заголовок полосы собран плотнее прочих: в макете 34 при кегле 32. */
.ng-angiogenin .ng-section__title {
	line-height: 1.0625;
}

.ng-angiogenin__intro {
	display: grid;
	gap: 16px;
}

.ng-angiogenin__claim {
	font-weight: 500;
	color: var(--ng-ink);
	font-size: 16px;
	line-height: 1.222;
	letter-spacing: -0.05em;
	text-transform: uppercase;
}

.ng-angiogenin__text {
	color: var(--ng-ink);
	margin-top: 24px;
	font-size: 16px;
	line-height: 1.3125;
	letter-spacing: -0.05em;
}

.ng-mechanism {
	margin-top: 40px;
}

.ng-mechanism__title {
	font-weight: 500;
	color: var(--ng-ink);
	font-size: 20px;
	line-height: 1.133;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}

.ng-mechanism__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: var(--ng-gap);
	margin-top: 24px;
}

.ng-step {
	list-style: none;
	display: grid;
	align-content: start;
	gap: 12px;
	padding: 24px;
	border-radius: var(--ng-radius);
	background: var(--ng-card);
	box-shadow: var(--ng-shadow);
}

.ng-step__number {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--ng-accent);
	color: #fff;
	font-size: 19px;
	letter-spacing: -0.04em;
}

.ng-step__title {
	font-weight: 500;
	color: var(--ng-ink);
	font-size: 16px;
	line-height: 1.222;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}

.ng-step__text {
	color: var(--ng-ink);
	font-size: 16px;
	line-height: 1.3125;
	letter-spacing: -0.05em;
}

/* Этапы развития */

.ng-history__panel {
	padding: 32px 16px;
	border-radius: var(--ng-radius);
	background: var(--ng-panel);
}

.ng-history__title {
	color: var(--ng-ink);
	margin-bottom: 32px;
}

.ng-timeline {
	position: relative;
	margin: 0;
	list-style: none;
	display: grid;
	gap: 32px;
	padding-left: 32px;
}

.ng-timeline::before {
	content: "";
	position: absolute;
	top: 16px;
	bottom: 6px;
	left: 5px;
	width: 1px;
	background: var(--ng-accent);
	opacity: 0.5;
}

/* На телефоне сначала год и текст, фотография под ними. */
.ng-timeline__item {
	position: relative;
	list-style: none;
	display: grid;
}

.ng-timeline__year {
	order: 1;
}

.ng-timeline__text {
	order: 2;
}

.ng-timeline__media {
	order: 3;
}

/* У последнего пункта фотография стоит над годом — так в макете. */
.ng-timeline__item:last-child .ng-timeline__media {
	order: 0;
	margin-top: 0;
	margin-bottom: 16px;
}

/* Точка встаёт напротив года, а не напротив фотографии над ним. */
.ng-timeline__item:last-child::before {
	top: 124px;
}

/* Ниже последней точки ось закрашиваем фоном панели. */
.ng-timeline__item:last-child::after {
	content: "";
	position: absolute;
	top: 135px;
	bottom: -40px;
	left: -27px;
	width: 1px;
	background: var(--ng-panel);
}

.ng-timeline__item::before {
	content: "";
	position: absolute;
	top: 6px;
	left: -32px;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--ng-accent);
}

.ng-timeline__media {
	display: block;
	max-width: 102px;
	margin-top: 16px;
	border-radius: var(--ng-radius);
	overflow: hidden;
}

.ng-timeline__media img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

.ng-timeline__year {
	font-weight: 500;
	color: var(--ng-ink);
	font-size: 18px;
	line-height: 1.222;
	letter-spacing: -0.03em;
}

.ng-timeline__text {
	color: var(--ng-ink);
	margin-top: 11px;
	font-size: 12px;
	line-height: 1.333;
	letter-spacing: -0.05em;
}

/* Большой телефон */

@media (min-width: 448px) {
	/* Ширина блока 380: заголовок ложится в три строки. */
	.ng-hero {
		height: 515px;
		padding: 0 17px 36px 33px;
	}

	.ng-hero__title {
		font-size: 30px;
		line-height: 1.033;
	}

	.ng-hero__scrim {
		background: linear-gradient(to bottom, #fff 23%, #4c4738 100%);
	}

	.ng-hero__text {
		max-width: 380px;
	}
}

/* Планшет */

@media (min-width: 768px) {
	.ng-page {
		--ng-gutter: 24px;
		--ng-gap: 24px;
	}

	.ng-section {
		padding-block: 88px;
	}

	.ng-section__head {
		grid-template-columns: minmax(0, 1fr) 463px;
		gap: 0;
		margin-bottom: 40px;
	}

	.ng-section__head--column {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.ng-section__title {
		font-size: 32px;
	}

	.ng-section__title--small {
		font-size: 30px;
	}

	/* Полоса 700: серая подложка, слева фотография, справа текст. */
	.ng-hero {
		display: grid;
		grid-template-columns: minmax(0, 652fr) minmax(0, 372fr);
		align-items: center;
		height: 700px;
		min-height: 0;
		padding: 0;
	}

	.ng-hero__scrim {
		display: none;
	}

	.ng-hero__media {
		position: relative;
		display: block;
		height: 100%;
		overflow: hidden;
	}

	.ng-hero__media img {
		position: absolute;
		top: 87px;
		right: 0;
		width: auto;
		height: 642px;
		max-width: none;
		object-fit: fill;
	}

	/* Текст заходит на светлую часть фотографии, как в макете. */
	.ng-hero__text {
		position: relative;
		top: 111px;
		margin-left: -42px;
		max-width: 373px;
		padding: 0 10px 0 18px;
	}

	.ng-hero__title {
		font-size: 36px;
		line-height: 1.05;
		color: var(--ng-ink);
	}

	.ng-hero__lead {
		margin-top: 28px;
		font-size: 15px;
		line-height: 1.111;
		color: var(--ng-ink);
	}

	.ng-lab__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ng-card__media img {
		aspect-ratio: 436 / 165;
	}

	/* В макете ячейка 315x271, оба ряда одной высоты. */
	.ng-values__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		grid-auto-rows: 271px;
	}

	.ng-value,
	.ng-values__photo {
		order: 0;
	}

	.ng-values__photo {
		aspect-ratio: auto;
	}

	/* На 1024 фотография в середине нижнего ряда. */
	.ng-value--honesty {
		grid-column: 3;
		grid-row: 1;
	}

	.ng-value--approach {
		grid-column: 1;
		grid-row: 2;
	}

	.ng-values__photo {
		grid-column: 2;
		grid-row: 2;
	}

	.ng-value--result {
		grid-column: 3;
		grid-row: 2;
	}

	.ng-scale {
		padding-block: 56px;
	}

	.ng-scale__title {
		font-size: 32px;
	}

	.ng-scale__paragraph {
		font-size: 18px;
		line-height: 1.111;
	}

	.ng-scale__figures {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		align-items: end;
	}

	.ng-figure__value {
		font-size: 40px;
	}

	.ng-angiogenin__media {
		display: block;
	}

	.ng-angiogenin {
		padding-block: 56px 88px;
	}

	.ng-angiogenin .ng-container {
		padding-inline: 60px;
	}

	.ng-angiogenin__media img {
		top: 24%;
		left: 32%;
		width: 86%;
	}

	.ng-angiogenin__intro {
		gap: 19px;
	}

	.ng-angiogenin__claim {
		font-size: 18px;
	}

	.ng-angiogenin__text {
		margin-top: 15px;
	}

	.ng-mechanism {
		margin-top: 85px;
	}

	/* Заголовок по ширине карточки под ним. */
	.ng-mechanism__title {
		max-width: 708px;
		font-size: 30px;
	}

	.ng-mechanism__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-top: 46px;
	}

	.ng-step {
		padding: 32px;
	}

	.ng-step__title {
		font-size: 18px;
	}

	.ng-history__panel {
		padding: 56px 42px;
	}

	.ng-history__title {
		margin-bottom: 40px;
	}

	/* Столбцы текут независимо: пункт слева может встать вровень с пунктом справа. */
	.ng-timeline {
		display: block;
		padding-left: 0;
	}

	.ng-timeline::after {
		content: "";
		display: block;
		clear: both;
	}

	.ng-timeline__item {
		width: calc(50% - 94px);
	}


	/* Расстояния между пунктами сняты с макета: в каждом столбце свои. */
	.ng-timeline__item:nth-child(1) { margin-top: 0px; }
	.ng-timeline__item:nth-child(2) { margin-top: 292px; }
	.ng-timeline__item:nth-child(3) { margin-top: 130px; }
	.ng-timeline__item:nth-child(4) { margin-top: 51px; }
	.ng-timeline__item:nth-child(5) { margin-top: 226px; }
	.ng-timeline__item:nth-child(6) { margin-top: 100px; }
	.ng-timeline__item:nth-child(7) { margin-top: 38px; }
	.ng-timeline__item:nth-child(8) { margin-top: 306px; }
	.ng-timeline__item:nth-child(9) { margin-top: 111px; }
	.ng-timeline__item:nth-child(10) { margin-top: 51px; }
	.ng-timeline__item:nth-child(11) { margin-top: 122px; }
	.ng-timeline__item:nth-child(12) { margin-top: 86px; }
	.ng-timeline__item:nth-child(13) { margin-top: 46px; }

	.ng-timeline__item--left {
		float: left;
		clear: left;
		text-align: right;
	}

	.ng-timeline__item--right {
		float: right;
		clear: right;
	}

	.ng-timeline {
		position: relative;
	}

	/* Ось обрывается на последнем кружке. */
	.ng-timeline::before {
		content: "";
		position: absolute;
		top: 0;
		bottom: var(--ng-axis-end, 124px);
		left: 50%;
		width: 1px;
		background: var(--ng-accent);
		opacity: 0.5;
	}



	.ng-timeline__item {
		padding-block: 16px;
	}

	/* Точка 13 внутри пунктирного кольца 40 — так нарисовано в макете. */
	.ng-timeline__item::before {
		top: var(--ng-dot, 7px);
		left: auto;
		width: 40px;
		height: 40px;
		padding: 12.5px;
		box-sizing: border-box;
		border: 1px dashed var(--ng-accent);
		background-clip: content-box;
	}

	/* У пунктов с фотографией точка стоит напротив года, а не фотографии. */
	/* Положение кружка у каждого пункта. */
	.ng-timeline__item:nth-child(1) { --ng-dot: 202px; }
	.ng-timeline__item:nth-child(2) { --ng-dot: 10px; }
	.ng-timeline__item:nth-child(3) { --ng-dot: 8px; }
	.ng-timeline__item:nth-child(4) { --ng-dot: 202px; }
	.ng-timeline__item:nth-child(5) { --ng-dot: 8px; }
	.ng-timeline__item:nth-child(6) { --ng-dot: 10px; }
	.ng-timeline__item:nth-child(7) { --ng-dot: 199px; }
	.ng-timeline__item:nth-child(8) { --ng-dot: 10px; }
	.ng-timeline__item:nth-child(9) { --ng-dot: 7px; }
	.ng-timeline__item:nth-child(10) { --ng-dot: 10px; }
	.ng-timeline__item:nth-child(11) { --ng-dot: 7px; }
	.ng-timeline__item:nth-child(12) { --ng-dot: 10px; }
	.ng-timeline__item:nth-child(13) { --ng-dot: 200px; }

	.ng-timeline__item--left::before {
		right: -114px;
	}

	.ng-timeline__item--right::before {
		left: -114px;
	}

	/* Поводок: линия из центра кольца и точка на конце у текста. */
	.ng-timeline__item::after {
		content: "";
		position: absolute;
		top: calc(var(--ng-dot, 7px) + 16px);
		width: 84px;
		height: 8px;
		background-image: linear-gradient(to right, var(--ng-accent), var(--ng-accent));
		background-size: 100% 1px;
		background-position: 0 50%;
		background-repeat: no-repeat;
		opacity: 0.6;
	}

	.ng-timeline__item--right::after {
		background-image:
			radial-gradient(circle at calc(100% - 4px) 50%, var(--ng-accent) 3.5px, transparent 4px),
			linear-gradient(to right, var(--ng-accent), var(--ng-accent));
		background-size: 100% 100%, 100% 1px;
		background-position: 0 0, 0 50%;
		background-repeat: no-repeat, no-repeat;
	}

	.ng-timeline__item--left::after {
		background-image:
			radial-gradient(circle at 4px 50%, var(--ng-accent) 3.5px, transparent 4px),
			linear-gradient(to right, var(--ng-accent), var(--ng-accent));
		background-size: 100% 100%, 100% 1px;
		background-position: 0 0, 0 50%;
		background-repeat: no-repeat, no-repeat;
	}

	.ng-timeline__item:last-child::before {
		top: var(--ng-dot, 7px);
	}

	.ng-timeline__item:last-child::after {
		top: calc(var(--ng-dot, 7px) + 16px);
		right: auto;
		bottom: auto;
		left: -94px;
		width: 84px;
		height: 8px;
		background-color: transparent;
		background-image:
			radial-gradient(circle at calc(100% - 4px) 50%, var(--ng-accent) 3.5px, transparent 4px),
			linear-gradient(to right, var(--ng-accent), var(--ng-accent));
		background-size: 100% 100%, 100% 1px;
		background-position: 0 0, 0 50%;
		background-repeat: no-repeat, no-repeat;
	}

	.ng-timeline__item--left::after {
		right: -94px;
	}

	.ng-timeline__item--right::after {
		left: -94px;
	}

	.ng-timeline__media {
		order: 0;
		max-width: 256px;
		margin-top: 0;
		margin-bottom: 16px;
	}

	.ng-timeline__media img {
		aspect-ratio: 256 / 176;
	}

	.ng-timeline__item--left .ng-timeline__media {
		margin-left: auto;
	}

	/* На больших макетах текст этапов крупнее, чем на телефоне. */
	.ng-timeline__text {
		font-size: 16px;
		line-height: 1.3125;
	}
}

/* Компьютер */

@media (min-width: 1280px) {
	.ng-page {
		--ng-gutter: 80px;
	}

	.ng-angiogenin .ng-container {
		padding-inline: var(--ng-gutter);
	}

	.ng-hero__media img {
		top: 92px;
		right: 100px;
		height: 695px;
	}

	.ng-hero {
		grid-template-columns: minmax(0, 599fr) minmax(0, 401fr);
	}

	.ng-hero__text {
		top: 62px;
		margin-left: 0;
		max-width: none;
		padding: 0 80px 0 12px;
	}

	.ng-hero__title {
		font-size: 40px;
	}

	.ng-hero__lead {
		font-size: 18px;
	}

	.ng-lab__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ng-card__media img {
		aspect-ratio: 416 / 165;
	}

	/* Четыре колонки, фотография справа на два ряда. */
	.ng-values__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.ng-value--honesty {
		grid-column: 3;
		grid-row: 2;
	}

	.ng-value--approach {
		grid-column: 2;
		grid-row: 2;
	}

	.ng-value--result {
		grid-column: 1;
		grid-row: 2;
	}

	.ng-values__photo {
		grid-column: 4;
		grid-row: 1 / span 2;
	}

	.ng-scale__inner {
		grid-template-columns: minmax(0, 536fr) minmax(0, 846fr);
		gap: 58px;
		align-items: stretch;
	}

	.ng-scale__text {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		gap: 40px;
	}

	.ng-angiogenin__media img {
		top: 0;
		left: 6%;
		width: 86%;
	}

	.ng-angiogenin__intro {
		grid-template-columns: minmax(0, 897fr) minmax(0, 543fr);
		gap: 0;
	}

	.ng-angiogenin .ng-section__title {
		max-width: 640px;
	}

	.ng-angiogenin__text {
		margin-top: 312px;
		max-width: 620px;
	}

	/* Положение кружка у каждого пункта. */
	.ng-timeline__item:nth-child(1) { --ng-dot: 201px; }
	.ng-timeline__item:nth-child(2) { --ng-dot: 8px; }
	.ng-timeline__item:nth-child(3) { --ng-dot: 7px; }
	.ng-timeline__item:nth-child(4) { --ng-dot: 201px; }
	.ng-timeline__item:nth-child(5) { --ng-dot: 7px; }
	.ng-timeline__item:nth-child(6) { --ng-dot: 10px; }
	.ng-timeline__item:nth-child(7) { --ng-dot: 199px; }
	.ng-timeline__item:nth-child(8) { --ng-dot: 10px; }
	.ng-timeline__item:nth-child(9) { --ng-dot: 8px; }
	.ng-timeline__item:nth-child(10) { --ng-dot: 10px; }
	.ng-timeline__item:nth-child(11) { --ng-dot: 8px; }
	.ng-timeline__item:nth-child(12) { --ng-dot: 8px; }
	.ng-timeline__item:nth-child(13) { --ng-dot: 201px; }

	.ng-timeline {
		column-gap: 188px;
	}

	/* Ось обрывается на последнем кружке. */
	.ng-timeline::before {
		bottom: 123px;
	}

	.ng-timeline__item--left::before {
		right: -114px;
	}

	.ng-timeline__item--right::before {
		left: -114px;
	}

	.ng-timeline__item::after {
		width: 84px;
	}

	.ng-timeline__item:last-child::after {
		left: -94px;
		width: 84px;
	}

	.ng-timeline__item--left::after {
		right: -94px;
	}

	.ng-timeline__item--right::after {
		left: -94px;
	}
}
