/* The article page of Apriori.Life (/<lang>/read/<ID>/): pages/read.php + article_render() of
   framework/library/function.articletext.php + js/article.js. One look for site posts and for the articles
   of the printed magazines. Built on the Pillar theme (css/deepred.css): Lora for reading text, Open Sans for
   labels, ink #232323, deep red #bb4242 as the only accent. Loaded only by this page (pages/.read.php).

   The measures come from a survey of magazine sites (2026-12-02): reading text 18 px / 1.65 in a 680 px column
   (about 70 characters), the same size on a phone; a serif title at regular weight; a lead 1.3 times the text;
   pictures without rounded corners, never larger than their pixels, a landscape one wider than the column,
   portraits side by side; small sans captions at the left edge of the picture; the gallery on a panel of warm
   paper a little wider than the text (the owner's brief of 2026-12-02), edge to edge on a phone.

   The theme styles bare tags (p, h2, h3, ul, ol, blockquote, img, iframe, button, a), so every rule here
   starts with a class of the page. Sizes are in rem/em: the theme sets the root to 87.5% up to 768 px, the
   variables below bring the reading text back to 18 px there. */

.art,
.art-next {
	--art-ink: #232323;
	--art-text: #3a3a3a;
	--art-muted: #666;                   /* 5.5:1 on #f8f8f8, 4.9:1 on the band */
	--art-line: #e3dfd8;
	--art-accent: #bb4242;
	--art-dark: #141513;
	--art-band: #efece6;                 /* warm paper: the gallery panel and "read next" (the packshots of About, css/pages.css) */
	--art-sans: 'Open Sans', 'Helvetica', 'Arial', sans-serif;
	--art-serif: 'Lora', 'Times New Roman', 'Times', serif;
	--art-gutter: 24px;
	--art-measure: 680px;                /* the text column */
	--art-out: 160px;                    /* how far a wide picture leaves the column on each side */
	--art-fs: 1.125rem;                  /* 18 px */
}
@media (max-width: 768px) {
	.art,
	.art-next {
		--art-gutter: 20px;
		--art-fs: 1.2858rem;               /* 18 px at the theme's 87.5% root */
	}
}
@media (max-width: 359px) {
	.art,
	.art-next {
		--art-gutter: 16px;
		--art-fs: 1.2143rem;               /* 17 px */
	}
}

.art {
	display: block;
	view-timeline: --art-read block;     /* the reading-progress bar */
}
.art a:focus-visible,
.art button:focus-visible,
.art-next a:focus-visible,
.art-gal__track:focus-visible {
	outline: 2px solid currentColor !important;
	outline-offset: 3px;
}
.art-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* -------------------------------------------------- reading progress: a thin line at the top of the window */

.art-progress {
	display: none;
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: var(--art-accent);
	transform: scaleX(0);
	transform-origin: 0 50%;
	pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
	.art-js .art-progress { display: block; }
	@supports (animation-timeline: view()) {
		@keyframes art-progress {
			from { transform: scaleX(0); }
			to { transform: scaleX(1); }
		}
		.art-progress {
			animation: art-progress auto linear both;
			animation-timeline: --art-read;
			animation-range: contain 0% contain 100%;
		}
	}
}

/* -------------------------------------------------- header: cover, rubric, title, lead, meta */

.art-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--art-dark);
	color: #fff;
}
.art-hero__bg {
	position: absolute;
	z-index: -2;
	top: 0; right: 0; bottom: 0; left: 0;
}
.art-hero__bg img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
}
.art-hero__in {
	position: relative;
	width: min(1170px, 100% - 2 * var(--art-gutter));
	margin: 0 auto;
}
.art-hero__text {
	max-width: 54rem;
}

/* a wide cover lies under the whole header; the text stands low on a gradient, so the picture stays a picture */
.art-hero--full {
	display: flex;
	align-items: flex-end;
	min-height: min(92svh, 860px);
}
.art-hero--full::after {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0; right: 0; bottom: 0; left: 0;
	/* dark at the top for the white navigation, light in the middle, deep under the text; a second, round shade
	   sits where the title stands (lower left) */
	background:
		linear-gradient(180deg,
			rgba(12, 12, 12, .74) 0,
			rgba(12, 12, 12, .3) 18%,
			rgba(12, 12, 12, .32) 36%,
			rgba(12, 12, 12, .8) 64%,
			rgba(12, 12, 12, .94) 100%),
		radial-gradient(75% 65% at 18% 80%, rgba(12, 12, 12, .5), transparent 72%);
	pointer-events: none;
}
.art-hero--full .art-hero__in {
	padding: 12em 0 4.4em;
}
/* the text block carries a shade of its own, so a long title that climbs into the light middle of a bright cover
   still reads (white .86 text needs .62 of black over white for 4.5:1); it runs the whole width of the header */
.art-hero--full .art-hero__text {
	position: relative;
}
.art-hero--full .art-hero__text::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: -5em;
	bottom: -4.4em;
	left: -100vw;
	right: -100vw;
	background: linear-gradient(180deg, rgba(12, 12, 12, 0), rgba(12, 12, 12, .64) 5em, rgba(12, 12, 12, .82));
	pointer-events: none;
}
/* a light cover (measured by pages/read.php): deeper still */
.art-hero--bright::after {
	background:
		linear-gradient(180deg,
			rgba(12, 12, 12, .78) 0,
			rgba(12, 12, 12, .34) 18%,
			rgba(12, 12, 12, .4) 36%,
			rgba(12, 12, 12, .86) 56%,
			rgba(12, 12, 12, .96) 100%),
		radial-gradient(75% 65% at 18% 80%, rgba(12, 12, 12, .55), transparent 72%);
}
.art-hero--bright .art-hero__text::before {
	background: linear-gradient(180deg, rgba(12, 12, 12, 0), rgba(12, 12, 12, .72) 5em, rgba(12, 12, 12, .88));
}
.art-hero--full .art-kicker,
.art-hero--full .art-lead {
	text-shadow: 0 1px 14px rgba(0, 0, 0, .35);
}
.art-hero--full .art-title {
	text-shadow: 0 1px 28px rgba(0, 0, 0, .35);
}

/* a portrait or a small cover is not blown up: it stands beside the text at its own size, on a blurred copy of itself */
.art-hero--split .art-hero__bg img {
	transform: scale(1.3);
	filter: blur(56px) saturate(1.15);
	opacity: .5;
}
.art-hero--split::after {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0; right: 0; bottom: 0; left: 0;
	background: linear-gradient(180deg, rgba(20, 21, 19, .72), rgba(20, 21, 19, .5) 34%, rgba(20, 21, 19, .68));
	pointer-events: none;
}
.art-hero--split .art-hero__in {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
	gap: clamp(2rem, 5vw, 5.5rem);
	align-items: center;
	min-height: min(88svh, 800px);
	padding: 9.5em 0 5em;
}
.art-hero__pic {
	position: relative;
	justify-self: center;
	max-width: 100%;
}
.art-hero__pic img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: min(66svh, 640px);
	margin: 0;
	box-shadow: 0 34px 60px -34px rgba(0, 0, 0, .8);
}

.art-hero--low .art-hero__in {
	min-height: 0;
	padding-top: 11em;
}

/* no cover: a plain dark header */
.art-hero--plain::after {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0; right: 0; bottom: 0; left: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .35), transparent 40%);
	border-bottom: 1px solid rgba(255, 255, 255, .06);
	pointer-events: none;
}
.art-hero--plain .art-hero__in {
	padding: 12em 0 5em;
}

.art-kicker {
	display: flex;
	align-items: center;
	gap: 1em;
	margin: 0 0 1.7em;
	font: 700 .72rem/1.4 var(--art-sans);
	letter-spacing: .28em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .86);
}
.art-kicker::before {
	content: "";
	flex: none;
	width: 2.6em;
	height: 2px;
	background: var(--art-accent);
}
.art .art-kicker a {
	color: inherit;
	text-decoration: none;
}
.art .art-kicker a:hover {
	color: #fff;
}
.art .art-title {
	margin: 0 0 .5em;
	font-family: var(--art-serif);
	font-weight: 400;
	font-size: clamp(2.3rem, 1.25rem + 3.5vw, 4.25rem);
	line-height: 1.07;
	letter-spacing: -.012em;
	color: #fff;
	text-wrap: balance;
	overflow-wrap: break-word;
}
.art .art-title--long {
	font-size: clamp(1.9rem, 1.15rem + 2.3vw, 3.1rem);
	line-height: 1.12;
}
.art-hero--split .art-title {
	font-size: clamp(2.2rem, 1.2rem + 2.7vw, 3.6rem);
}
.art-hero--split .art-title--long {
	font-size: clamp(1.8rem, 1.1rem + 1.7vw, 2.6rem);
}
.art .art-lead {
	max-width: 40em;
	margin: 0 0 1.7em;
	font-family: var(--art-serif);
	font-size: clamp(1.22rem, 1.08rem + .45vw, 1.45rem);
	line-height: 1.5;
	color: rgba(255, 255, 255, .9);
	text-wrap: pretty;
}
.art .art-lead--long {
	font-size: clamp(1.1rem, 1.02rem + .25vw, 1.2rem);
	line-height: 1.6;
}
/* a lead typed in bold is not a second, heavier title */
.art .art-lead b,
.art .art-lead strong {
	font-weight: inherit;
	color: inherit;
}
/* the items are divided by thin rules; a rule never hangs at the start or at the end of a line:
   every item carries its rule on the left, and the row is shifted so that the first rule of each line is cut off */
.art-meta {
	overflow: hidden;
	font: 700 .72rem/1.7 var(--art-sans);
	letter-spacing: .16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .88);
}
.art-meta__row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .45em 0;
	margin-left: calc(-1.3em - 1px);
}
.art-meta__i {
	position: relative;
	padding-left: calc(1.3em + 1px);
	padding-right: 1.3em;
}
.art-meta__i::before {
	content: "";
	position: absolute;
	top: .38em;
	left: 0;
	width: 1px;
	height: .95em;
	background: rgba(255, 255, 255, .34);
}
.art-meta__k {
	margin-right: .3em;
	font: italic 400 1.3em/1 var(--art-serif);
	letter-spacing: 0;
	text-transform: none;
	color: rgba(255, 255, 255, .72);
}
.art .art-preview {
	display: inline-block;
	margin: 2.2em 0 0;
	padding: 7px 16px;
	border: 1px solid #c9a96a;
	border-radius: 3px;
	background: rgba(27, 26, 30, .88);
	color: #f4f1ea;
	font: 700 11px/1.5 var(--art-sans);
	letter-spacing: .06em;
}

@media (max-width: 990px) {
	/* the navigation is a light bar above the header here, not over it */
	.art-hero--full { min-height: min(78svh, 640px); }
	.art-hero--full .art-hero__in { padding: 8em 0 3em; }
	.art-hero--plain .art-hero__in { padding: 4.5em 0 3.4em; }
	.art-hero--split .art-hero__in { padding: 4.5em 0 4em; min-height: 0; }
}
@media (max-width: 900px) {
	.art-hero--split .art-hero__in {
		grid-template-columns: minmax(0, 1fr);
		gap: 2.4em;
		padding: 2.6em 0 3em;
	}
	.art-hero__pic { order: -1; }
	.art-hero__pic img { max-height: min(56svh, 480px); }
}
/* a phone and a tablet: the wide cover stands whole above the text, the text on the dark ground under it
   (over the picture it always sat on its busiest part) */
@media (max-width: 768px) {
	.art-hero--full { display: block; min-height: 0; }
	.art-hero--full .art-hero__bg { position: relative; z-index: 0; }
	.art-hero--full .art-hero__bg img { height: auto; max-height: 62svh; }
	.art-hero--full::after,
	.art-hero--full .art-hero__text::before { display: none; }
	.art-hero--full .art-hero__in { padding: 1.7em 0 2.6em; }
	.art-hero--full .art-kicker,
	.art-hero--full .art-lead,
	.art-hero--full .art-title { text-shadow: none; }
}
@media (max-width: 768px) {
	.art-kicker { margin-bottom: 1.4em; font-size: .78rem; letter-spacing: .24em; }
	.art .art-lead { font-size: 1.3rem; }
	.art .art-lead--long { font-size: 1.16rem; }
	.art-meta { font-size: .78rem; letter-spacing: .13em; }
	.art-meta__row { margin-left: calc(-1em - 1px); }
	.art-meta__i { padding-left: calc(1em + 1px); padding-right: 1em; }
}

/* -------------------------------------------------- body: a grid with three widths (text, wide, the whole page) */

.art-body {
	display: grid;
	grid-template-columns:
		[full-start] minmax(var(--art-gutter), 1fr)
		[wide-start] minmax(0, var(--art-out))
		[text-start] min(var(--art-measure), 100% - 2 * var(--art-gutter)) [text-end]
		minmax(0, var(--art-out)) [wide-end]
		minmax(var(--art-gutter), 1fr) [full-end];
	padding: 4.4em 0 0;
	font-family: var(--art-serif);
	font-size: var(--art-fs);
	line-height: 1.65;
	color: var(--art-text);
}
.art-body > * {
	grid-column: text;
	min-width: 0;
}
.art-body > p {
	margin: 0 0 1.3em;
	text-wrap: pretty;
	overflow-wrap: break-word;
}
.art-body b,
.art-body strong {
	font-weight: 700;
	color: var(--art-ink);
}
.art-body a {
	color: var(--art-ink);
	text-decoration: underline;
	text-decoration-color: var(--art-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: .2em;
}
.art-body a:hover {
	color: var(--art-accent);
}

/* the first paragraph of a story opens with a drop cap over three lines */
.art-body > .art-p--drop::first-letter {
	float: left;
	margin: .055em .09em 0 -.02em;
	font-family: var(--art-serif);
	font-weight: 400;
	font-size: 5.55em;
	line-height: .8;
	color: var(--art-ink);
}

/* a capital with a tail (Д, Ц, Щ, Q): the fourth line steps aside too */
.art-body > .art-p--dropd::first-letter {
	padding-bottom: .1em;
}

/* the end mark after the last words */
.art-end {
	display: inline-block;
	width: .42em;
	height: .42em;
	margin-left: .5em;
	background: var(--art-accent);
	vertical-align: .08em;
}

/* subheads; the space above is twice the space below, so a heading belongs to what follows */
.art-body > .art-h {
	margin: 1.45em 0 .6em;
	font-family: var(--art-serif);
	font-weight: 400;
	font-size: 1.62em;
	line-height: 1.22;
	letter-spacing: -.006em;
	text-transform: none;
	color: var(--art-ink);
	text-wrap: balance;
}
.art-body > .art-h--lg {
	font-size: 1.9em;
}
.art-body > .art-h + .art-h {
	margin-top: -.25em;
}
/* an entry of a numbered list: the number in red over the name, one red mark per entry */
.art-body > .art-h--num {
	margin-top: 1.9em;
}
.art-body > .art-h + .art-h--num {
	margin-top: 1.1em;
}
.art-h__n {
	display: block;
	margin-bottom: .15em;
	font: 400 1.45em/1 var(--art-serif);
	font-variant-numeric: lining-nums;
	color: var(--art-accent);
}
/* the names a magazine page set over its pictures: one line in the voice of the kicker */
.art-body > .art-brands {
	margin: 1.9em 0 .7em;
	font: 700 .7em/1.7 var(--art-sans);
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--art-ink);
}
.art-brands__dot {
	color: var(--art-accent);
}
/* a legend of a picture page: small keyed credits in columns */
.art-body > .art-credits,
.art-gal__notes .art-credits {
	margin: -.8em 0 2.2em;
	font: 500 .7em/1.65 var(--art-sans);
	color: var(--art-muted);
	columns: 3 11em;
	column-gap: 2em;
	text-align: left;
}
.art-gal__notes .art-credits {
	margin: .9em 0 0;
	font-size: 1em;
}
.art-credits__i {
	display: block;
	break-inside: avoid;
}
.art-credits b {
	display: inline-block;
	min-width: 1.6em;
	font-weight: 700;
	color: var(--art-ink);
}
/* a directory (a guide of hotels, restaurants): each entry reads as one listing */
.art-body--dir > .art-h {
	margin: 1.6em 0 .25em;
	font-size: 1.22em;
}
.art-body--dir > .art-h--lg {
	margin-top: 2.2em;
	font-size: 1.62em;
}
.art-body--dir > p {
	margin-bottom: .35em;
	font-size: .86em;
}
/* an interview question (and the small subheads of site posts): the weight alone separates the voices */
.art-body > .art-q {
	margin: 1.75em 0 .5em;
	font-family: var(--art-sans);
	font-weight: 700;
	font-size: .96em;
	line-height: 1.5;
	letter-spacing: 0;
	text-transform: none;
	color: var(--art-ink);
	text-wrap: pretty;
}
.art-body > .art-h + .art-q,
.art-body > .art-q + .art-q {
	margin-top: .6em;
}
.art-body > :first-child {
	margin-top: 0;
}

/* a caption without a picture, a credit line */
.art-body > .art-note,
.art-cap {
	font-family: var(--art-sans);
	font-weight: 500;
	font-size: .74em;
	font-style: normal;
	line-height: 1.55;
	letter-spacing: .005em;
	color: var(--art-muted);
	text-wrap: pretty;
}
.art-body > .art-note {
	margin: 0 0 1.9em;
}
.art-cap b,
.art-note b {
	color: inherit;
}
/* the credit of a photo ("© Van Cleef & Arpels", "Фото: …") on a line of its own, in the voice of a label */
.art-cap__credit {
	display: block;
	margin-top: .3em;
	font-size: .86em;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--art-muted);
}
.art-body > .art-covercap {
	margin: -1.6em 0 3em;
}
.art-covercap__k {
	margin-right: .7em;
	font-weight: 700;
	font-size: .86em;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--art-ink);
}

/* lists */
.art-body > .art-list {
	margin: 0 0 1.3em;
	padding: 0 0 0 1.25em;
	line-height: 1.65;
	list-style: disc outside;
}
.art-body > ol.art-list {
	list-style: decimal outside;
}
.art-body > .art-list li {
	margin: 0 0 .4em;
	padding-left: .2em;
}
.art-body > .art-list li::marker {
	color: var(--art-accent);
}

/* a pull quote: centred italic under a short red rule */
.art-body > .art-quote {
	margin: 1.5em 0 2.2em;
	padding: 0;
	border: 0;
	font-size: 1em;
	line-height: 1.65;
	font-style: normal;
	text-align: center;
	color: var(--art-ink);
}
.art-quote::before {
	content: "";
	display: block;
	width: 2.6em;
	height: 2px;
	margin: 0 auto 1.25em;
	background: var(--art-accent);
}
.art-quote p {
	margin: 0;
	font-family: var(--art-serif);
	font-style: italic;
	font-size: 1.62em;
	line-height: 1.34;
	text-wrap: balance;
}
.art-quote i,
.art-quote em {
	font-style: normal;
}
.art-quote--long p {
	font-size: 1.24em;
	line-height: 1.52;
}
/* the opening mark hangs, so the centred lines stay optically centred */
.art-quote--q p {
	text-indent: -.45em;
}
.art-quote__by {
	display: block;
	margin-top: 1.5em;
	font: 700 .64em/1.6 var(--art-sans);
	font-style: normal;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--art-muted);
}

/* a sidebar of a magazine page: a calm white box with a red rule */
.art-body > .art-aside {
	margin: .7em 0 2.1em;
	padding: 1.55em 1.75em 1.45em;
	border: 1px solid #ececec;
	border-left: 2px solid var(--art-accent);
	background: #fff;
	font-size: .89em;
	line-height: 1.7;
}
.art-aside p {
	margin: 0 0 .7em;
	text-wrap: pretty;
}
.art-aside p:last-child {
	margin-bottom: 0;
}
.art-aside .art-aside__title {
	margin-bottom: .55em;
	font: 700 1.04em/1.45 var(--art-sans);
	color: var(--art-ink);
}
.art-aside--upright i {
	font-style: normal;
}
.art-aside__pic img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: .3em 0;
}

/* a video keeps its proportions */
.art-body > .art-embed {
	margin: .6em 0 2em;
	aspect-ratio: 16 / 9;
	background: #111;
}
.art-embed iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	border: 0;
}
/* a YouTube video before it is played: its poster and a round play button */
.art-body > .art-embed--yt {
	background: var(--art-dark);
}
.art .art-embed__poster {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	color: #fff;
	text-decoration: none;
}
.art-embed__poster img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	transition: transform .6s cubic-bezier(.2, .6, .2, 1);
}
.art-embed__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 64px;
	height: 64px;
	margin: -32px 0 0 -32px;
	border: 1px solid rgba(255, 255, 255, .6);
	border-radius: 50%;
	background: rgba(20, 21, 19, .55);
	transition: background-color .2s ease, border-color .2s ease;
}
.art-embed__play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -9px 0 0 -6px;
	border-style: solid;
	border-width: 9px 0 9px 15px;
	border-color: transparent transparent transparent #fff;
}
@media (hover: hover) {
	.art-embed__poster:hover .art-embed__play { border-color: #fff; background: var(--art-accent); }
	.art-embed__poster:hover img { transform: scale(1.02); }
}
.art .art-embed__poster:focus-visible {
	outline-offset: -4px;
	color: #fff;
}
@media (min-width: 1000px) {
	.art-body > .art-embed { grid-column: wide; }
}

/* -------------------------------------------------- pictures
   --w, --h: the pixels of the file (a picture is never shown larger), --r: width / height */

.art-fig {
	width: 100%;
	max-width: calc(var(--w, 4000) * 1px);
	margin: .6em 0 2em;
	justify-self: center;
}
.art-fig img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	border-radius: 0;
	background: #eceae6;
}
/* a packshot on white takes the colour of the paper under it instead of standing as a white box (as on About);
   a photograph darkens by a few per cent at most. Not on the cover: on the dark header white stays white */
.art-fig img,
.art-gal__pic img,
.art-aside__pic img {
	mix-blend-mode: multiply;
}
.art-fig .art-cap {
	margin-top: .8em;
	text-align: left;
}
/* a landscape picture of 900 px and more leaves the column on both sides */
.art-body > .art-fig--wide {
	grid-column: wide;
}
/* a portrait (and a square) is as tall as the window lets it, not taller */
.art-fig--port,
.art-fig--sq {
	max-width: min(calc(var(--w, 4000) * 1px), calc(min(82svh, 720px) * var(--r, 1)));
}
/* a thumbnail: its caption gets room and stands under its middle */
.art-fig--small {
	max-width: 360px;
}
.art-fig--small img {
	width: auto;
	max-width: 100%;
	margin: 0 auto;
}
.art-fig--small .art-cap {
	text-align: center;
}

/* two pictures side by side at one height (their widths follow their proportions) */
.art-pair {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 14px;
	margin: .6em 0 2em;
}
.art-body > .art-pair--wide {
	grid-column: wide;
}
.art-pair > .art-fig {
	flex: var(--r, 1) 1 0;
	min-width: 0;
	margin: 0;
}
.art-pair > .art-fig--small {
	max-width: calc(var(--w, 360) * 1px);
}
@media (max-width: 599px) {
	/* a phone: wide pictures run edge to edge, captions keep the margins of the text */
	.art-body > .art-fig--wide,
	.art-body > .art-pair--wide { grid-column: full; }
	.art-body > .art-fig--wide .art-cap,
	.art-pair--wide .art-cap { padding-inline: var(--art-gutter); }
	.art-pair { gap: 10px; }
	/* landscape pictures and pictures with captions go one under the other */
	.art-pair:not(.art-pair--tall),
	.art-pair--cap {
		flex-direction: column;
		align-items: center;
		gap: 1.6em;
	}
	.art-pair:not(.art-pair--tall) > .art-fig,
	.art-pair--cap > .art-fig {
		flex: none;
	}
}

/* -------------------------------------------------- gallery: a panel of warm paper, a little wider than the text
   (the edges of the wide pictures: 1000 px against the 680 px column), edge to edge on a phone.
   Without js/article.js (no .art-js on <html>) it is a plain stack of pictures. With it: a scroll-snap track,
   one picture per view (two for a set of portraits on a wide screen) on a stage of one height for the whole
   set (--gal-r), a counter and two buttons. */

.art-body > .art-gal {
	grid-column: wide;
	margin: 1.2em 0 2.9em;
	padding: clamp(1.4rem, 3vw, 2.4rem) clamp(1rem, 3vw, 2.4rem) clamp(1.1rem, 2vw, 1.6rem);
	border: 0;
	background: var(--art-band);
}
.art-gal__in {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin: 0 auto;
	container-type: inline-size;
}
@media (max-width: 599px) {
	.art-body > .art-gal {
		grid-column: full;
		padding-inline: var(--art-gutter);
	}
}
.art-gal__track { order: 1; }
.art-gal__bar { order: 2; }
.art-gal__notes { order: 3; }
.art-gal__slide {
	margin: 0 0 1.5em;
}
.art-gal__pic img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	margin: 0 auto;
	border-radius: 0;
}
.art-gal__slide .art-cap {
	max-width: 46em;
	margin: .95em auto 0;
	text-align: center;
}
.art-gal__notes {
	max-width: var(--art-measure);
	margin: 1.3em auto 0;
	text-align: center;
}
.art-gal__notes p {
	margin: 0;
}

.art-js .art-gal__track {
	display: flex;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	touch-action: pan-x pan-y;
}
.art-js .art-gal__track::-webkit-scrollbar {
	display: none;
}
.art-js .art-gal__slide {
	display: flex;
	flex: 0 0 100%;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	scroll-snap-align: center;
	scroll-snap-stop: always;
}
.art-js .art-gal__pic {
	display: flex;
	align-items: center;
	justify-content: center;
	height: min(100cqw / var(--gal-r, 1.5), 74svh, 700px, var(--gal-h, 700) * 1px);
}
.art-js .art-gal__pic img {
	max-height: 100%;
	object-fit: contain;
}
/* a set of portraits: two at a time where the panel is wide enough */
@container (min-width: 760px) {
	.art-js .art-gal--duo .art-gal__track { gap: 16px; }
	.art-js .art-gal--duo .art-gal__slide {
		flex-basis: calc(50% - 8px);
		scroll-snap-align: start;
	}
	.art-js .art-gal--duo .art-gal__pic {
		height: min((50cqw - 8px) / var(--gal-r, .8), 74svh, 700px, var(--gal-h, 700) * 1px);
	}
}

.art-gal__bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .9em;
	margin-top: 1.25em;
}
.art-gal__bar[hidden] {
	display: none;
}
.art .art-gal__btn {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(35, 35, 35, .3);
	border-radius: 50%;
	background: transparent;
	color: var(--art-ink) !important;
	font-size: 1rem !important;
	letter-spacing: 0;
	line-height: 1;
	cursor: pointer;
	touch-action: manipulation;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.art .art-gal__btn:hover,
.art .art-gal__btn:active {
	border-color: var(--art-ink);
	background: var(--art-ink);
	color: #fff !important;
}
.art-gal__btn--prev svg {
	transform: scaleX(-1);
}
.art-gal__count {
	min-width: 4.6em;
	font-family: var(--art-serif);
	font-size: 1.02em;
	line-height: 1;
	font-variant-numeric: tabular-nums lining-nums;
	text-align: center;
	color: var(--art-muted);
}
.art-gal__count b {
	font-weight: 400;
	color: var(--art-ink);
}

/* -------------------------------------------------- after the text: tags, share */

.art-foot {
	width: min(var(--art-measure), 100% - 2 * var(--art-gutter));
	margin: 1.6em auto 0;
	padding: 1.9em 0 5em;
	border-top: 1px solid var(--art-line);
	font-size: var(--art-fs);
}
/* tags: one quiet line of words in the voice of the share row ("COACH · DUBAI MALL · СУМКИ"); they link nowhere */
.art .art-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin: 0 0 1.5em;
	padding: 0;
	list-style: none;
}
.art-tags li {
	padding: 0;
	border: 0;
	border-radius: 0;
	font: 600 .64em/1.8 var(--art-sans);
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--art-muted);
	overflow-wrap: anywhere;
}
/* the dot follows a word, so a wrapped line never starts with one */
.art-tags li:not(:last-child)::after {
	content: "·";
	margin: 0 .9em;
	color: var(--art-accent);
}
.art-share {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .7em 1.7em;
	font: 700 .64em/1.6 var(--art-sans);
	letter-spacing: .17em;
	text-transform: uppercase;
}
.art-share__k {
	color: var(--art-muted);
}
.art .art-share a,
.art .art-share__copy {
	padding: 0 0 .25em;
	border: 0;
	border-bottom: 1px solid var(--art-line);
	background: none;
	color: var(--art-ink) !important;
	text-decoration: none;
	transition: border-color .2s ease, color .2s ease;
}
.art .art-share__copy {
	height: auto;
	font: inherit;
	font-size: 1em !important;
	letter-spacing: inherit;
	text-transform: inherit;
	cursor: pointer;
}
.art .art-share a:hover,
.art .art-share__copy:hover {
	border-bottom-color: var(--art-accent);
	color: var(--art-accent) !important;
}
/* a finger needs more than a line of small capitals */
@media (pointer: coarse) {
	.art .art-share a,
	.art .art-share__copy {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		padding-bottom: 0;
	}
	.art .art-kicker a {
		display: inline-block;
		margin: -.9em 0;
		padding: .9em 0;
	}
}

/* -------------------------------------------------- read next: three cards */

.art-next {
	display: block;
	padding: 4.2em 0 5em;
	border-top: 0;
	background: var(--art-band);   /* the paper of the gallery once more: the white footer stays apart */
}
.art-next__in {
	width: min(1170px, 100% - 2 * var(--art-gutter));
	margin: 0 auto;
}
.art-next .art-next__h {
	display: flex;
	align-items: center;
	gap: 1em;
	margin: 0 0 2.6em;
	font: 700 .72rem/1.4 var(--art-sans);
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--art-ink);
}
.art-next__h::before {
	content: "";
	flex: none;
	width: 2.6em;
	height: 2px;
	background: var(--art-accent);
}
.art-next__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.6em 2.2em;
}
.art-next .art-card {
	display: block;
	color: var(--art-ink);
	text-decoration: none;
}
.art-card__pic {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #eceae6;
}
.art-card__pic img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	transition: transform .6s cubic-bezier(.2, .6, .2, 1);
}
.art-card__text {
	display: block;
	padding-top: 1.15em;
}
.art-card__k {
	display: block;
	margin-bottom: .75em;
	font: 700 .64rem/1.4 var(--art-sans);
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--art-accent);
}
.art-card__t {
	display: block;
	font: 400 1.4rem/1.25 var(--art-serif);
	letter-spacing: -.004em;
	text-wrap: balance;
	transition: color .2s ease;
}
@media (hover: hover) {
	.art-card:hover .art-card__pic img { transform: scale(1.035); }
	.art-card:hover .art-card__t { color: var(--art-accent); }
}
@media (max-width: 768px) {
	.art-next { padding: 3.4em 0 3.6em; }
	.art-next .art-next__h { margin-bottom: 2em; font-size: .78rem; }
	/* a phone: a small picture on the left, the title beside it */
	.art-next__grid { grid-template-columns: minmax(0, 1fr); gap: 1.5em; }
	.art-next .art-card { display: grid; grid-template-columns: 34% minmax(0, 1fr); gap: 1.2em; align-items: center; }
	.art-card__text { padding-top: 0; }
	.art-card__k { margin-bottom: .55em; font-size: .7rem; }
	.art-card__t { font-size: 1.3rem; }
}

@media (max-width: 768px) {
	.art-body { padding-top: 2.9em; }
	.art-body > .art-covercap { margin-top: -1em; margin-bottom: 2.2em; }
	.art-body > .art-h { font-size: 1.45em; }
	.art-body > .art-h--lg { font-size: 1.6em; }
	.art-quote p { font-size: 1.36em; }
	.art-quote--long p { font-size: 1.14em; }
	.art-body > .art-aside { padding: 1.25em 1.2em 1.15em 1.3em; }
	.art-body > .art-note, .art-cap { font-size: .72em; }
	.art-foot { padding-bottom: 3.6em; }
	.art-tags li { font-size: .68em; }
	.art-share { font-size: .68em; letter-spacing: .14em; }
	.art-js .art-gal__pic { height: min(100cqw / var(--gal-r, 1.5), 70svh, var(--gal-h, 700) * 1px); }
	.art-body > .art-credits { columns: 2 9em; }
}

@media (prefers-reduced-motion: reduce) {
	.art-card__pic img,
	.art-card__t,
	.art-embed__poster img,
	.art-embed__play,
	.art .art-gal__btn,
	.art .art-share a,
	.art .art-share__copy { transition: none; }
	.art-card:hover .art-card__pic img { transform: none; }
}

@media print {
	.art-progress,
	.art-gal__bar,
	.art-share,
	.art-next { display: none !important; }
	.art-hero { background: none; color: #000; }
	.art-hero__bg,
	.art-hero::after { display: none; }
	.art .art-title, .art .art-lead, .art-kicker, .art-meta, .art-meta__k { color: #000; }
}
