body {
	/*font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
	font-family: "futura-pt", sans-serif;
	font-weight: 500;
	font-style: normal;
	background-color: #cbccce;
	color: #000;
	font-size: 1.1rem;
	line-height: 1.4em;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
}

/* ── Header ── */


.site-header-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.site-title {
	font-weight: 300;
	text-decoration: none;
	color: inherit;
}

p.subtitle {
	font-weight: 300;
	font-size: 1.95rem;
	line-height: 2.1rem;
	padding-left: 25px;
	margin-block-start: 0;
	/*margin: 0;
	max-width: 440px;
	display: none;*/
	/* STYLING LIKE LANGUAGE SWITCHER
	text-transform: uppercase;
    font-weight: 900 !important;
    color: transparent;
    -webkit-text-stroke: 0.75px #000;
    font-size: 2.5rem !important;
    letter-spacing: 0.04em;*/
}

header h1.title {
	font-family: "futura-pt", sans-serif;
	font-weight: 800;
	font-style: normal;
	text-align: left;
	text-transform: uppercase;
	/*font-weight: 900;*/
	color: transparent;
	-webkit-text-stroke: 1px #000;
	font-size: 5rem;
	padding-left: 15px;
}

/* ── Language switcher ── */

nav.language-switcher li {
	display: inline-block;
}

nav.language-switcher a,
nav.language-switcher a:active,
nav.language-switcher a:focus,
nav.language-switcher a:visited {
	/*text-decoration: none;
	color: #000;
	font-size: 1.9rem;
	font-weight: 300;
	line-height: 2.1rem;
	display: inline-block;*/
	margin: 0.5rem 0.6rem;
	text-decoration:none;
	text-transform: uppercase;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 0.75px #000;
    font-size: 2.5rem;
    letter-spacing: 0.04em;
}

.back-link {
	display: block;
	padding: 1.5em 0 0 25px;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 900;
	color: transparent;
	-webkit-text-stroke: 0.75px #000;
	font-size: 2.5rem;
	letter-spacing: 0.04em;
}

nav.language-switcher a.active {
	/*text-decoration: underline;*/
	/*border-bottom: 4px solid #000;*/
	color: rgba(0,0,123,0.2);
}

/* ── Main layout ── */

main {
	flex: 1;
	max-width: 640px;
	margin: 0;
	padding: 0 25px;
}

main.grid-page {
	max-width: 100%;
	padding: 0;
}


/* ── Footer ── */

footer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 2rem 25px;
}

.footer-logos {
	display: flex;
	justify-content: flex-start;
	align-items: flex-end;
	gap: 2rem;
	margin-top: 1rem;
}

.footer-logos img {
	display: block;
}

/* ── Typography ── */

h1 {
	font-weight: 300;
	font-size: 1.9rem;
}

h2 {
	/*font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-weight: 300;*/
	line-height: 2rem;
	font-size: 1.8rem;
	margin-block-start: 0;
	margin-block-end: 0;
}

h2.h2-collapse-trigger {
	cursor: pointer;
	color: #55668d;
	font-weight: 400;
}

h2.h2-collapse-trigger:hover {
	color: #000;
}

h2.h2-icon-heading {
	display: flex;
	align-items: flex-start;
	padding-left: 0;
}

.h2-icon {
	min-width: 25px;
	flex-shrink: 0;
}

.h2-body {
	flex: 1;
}

h3 {
	font-weight: 300;
	font-size: 1.5rem;
	line-height: 1.7rem;
	margin-block-start: 0.4em;
	margin-block-end: 0;
}

h5 {
	font-weight: 300;
	font-size: 1.2rem;
	letter-spacing: 0.01rem;
	margin-block-start: 0;
	margin-block-end: 0;
}

img {
	max-width: 100%;
}

/* ── Single page: artwork info ── */


.artwork-info p {
	margin: 0;
	font-size: 1.5rem;
	line-height: 1.2;
	font-weight: 300;
}

.artist-info {
	padding-bottom: 2rem;
}

.artist-info p {
	margin: 0;
	font-size: 1.5rem;
	line-height: 1.2;
	font-weight: 300;
}

.meta-artist {
	font-style: italic;
}

.meta-section {
	margin-top: 1.5em;
	max-width: 450px;
	padding-left: 50px;
}

.meta-title {
	font-style: italic;
}

.meta-commission {
	padding-top: 0.5em;
}

.meta-description {
	margin-top: 1.5em;
}

.meta-description p {
	padding-bottom: 1.5rem;
}

.meta-description a {
	color: #000;
	text-decoration: underline;
}

.meta-description a:hover {
	text-decoration: none;
}

/* ── Content rows (row shortcode) ── */

.content-row + .content-row::before {
	content: "⦚";
	white-space: pre;
	display: inline-block;
	transform: rotate(90deg);
	transform-origin: center center;
	line-height: 0.75;
	letter-spacing: 0;
	margin: -0.8em 0 1em;
	margin-left: 30px;
	font-size: 1.5rem;
}

.content-row .row-image,
.content-row .row-imageset {
	margin-bottom: 1rem;
}

.content-row .row-image img {
	width: auto;
	max-width: 100%;
	max-height: 150px;
	height: auto;
	display: block;
}

.row-text {
	max-width: 640px;
}

/* ── Image sets ── */

.row-imageset {
	display: flex;
	flex-wrap: nowrap;
	gap: 2px;
	align-items: flex-start;
	overflow: hidden;
}

.row-imageset img {
	height: calc((100vw - 50px - (var(--img-count) - 1) * 2px) / var(--img-count) / 0.415);
	max-height: 180px;
	width: auto;
	flex-shrink: 0;
	display: block;
}

@media (min-width: 600px) {
	.row-imageset img {
		max-height: 225px;
	}
}

.row-figure {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
}

.image-credit {
	font-size: 0.65rem;
	color: #666;
	margin: 0.2rem 0 0;
	line-height: 1.2;
}

/* ── Front-page imageset grid ── */

.cover-imageset-grid {
	display: grid;
	grid-template-columns: repeat(36, 1fr);
	gap: 2px;
}

@media (max-width: 900px) {
	.cover-imageset-grid {
		grid-template-columns: repeat(18, 1fr);
	}
}

@media (max-width: 500px) {
	.cover-imageset-grid {
		grid-template-columns: repeat(9, 1fr);
	}
}

.cover-imageset-grid a {
	display: block;
}

.artwork-cell {
	height: calc((100vw - 70px) / 36 / 0.4);
	display: flex;
	align-items: flex-start;
}

@media (max-width: 900px) {
	.artwork-cell {
		height: calc((100vw - 34px) / 18 / 0.4);
	}
}

@media (max-width: 500px) {
	.artwork-cell {
		height: calc((100vw - 16px) / 9 / 0.4);
	}
}

.artwork-cell img {
	display: block;
	height: auto;
	max-height: 100%;
	width: auto;
	max-width: none;
}

.cover-imageset-grid img {
	display: block;
	/*width: 100%;*/
	height: auto;
}

.group-separator {
	grid-column: span 2;
}

/* ── Collection nav ── */

nav.collection-nav {
	display: flex;
	gap: 1rem;
	padding: 2rem 25px 0;
	flex-wrap: wrap;
	width: 100%;
	box-sizing: border-box;
}

.collection-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.3rem;
	text-decoration: none;
	color: inherit;
	font-size: 1.5rem;
	font-weight: 300;
	line-height: 1.2;
}

.collection-item img {
	display: block;
	height: 180px;
	width: auto;
	filter: grayscale(100%);
	transition: filter 0.3s ease;
}

.collection-item:hover img {
	filter: grayscale(0%);
}

.collection-group-images {
	display: flex;
	gap: 2px;
}

.collection-group-images img {
	height: 180px;
	width: auto;
	filter: grayscale(100%);
}

/* ── Next / Prev nav ── */

nav.nextprev {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding-top: 2rem;
	gap: 1rem;
	border-top: 1px solid #000;
	margin-top: 2rem;
}

nav.nextprev a {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	text-decoration: none;
	color: inherit;
	font-size: 1.1rem;
}

nav.nextprev img {
	display: block;
	height: 120px;
	width: auto;
}

.nextprev-next {
	text-align: right;
	align-items: flex-end;
}

/* ── Taglist ── */

.taglist {
	text-align: left;
	clear: both;
}

/* ── Collapse shortcode ── */

details.collapse > summary {
	list-style: none;
	cursor: pointer;
	display: block;
	height: 1.2em;
	margin: 0.4em 0 0.8em;
	font-size: 1.5rem;
	font-weight: 300;
	line-height: 1.2;
}

details.collapse > summary .label-show::after {
	content: " ›";
}

details.collapse > summary::-webkit-details-marker { display: none; }
