/* Shared layout for individual painting viewer pages. */
body {
	margin: 0;
	background: #d9c29a url("../_images/background.new.5.jpg") repeat;
	color: black;
	font-family: Georgia, Verdana, Arial, Times, serif;
	font-size: 12px;
}

a {
	color: #112011;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.main {
	flex: 1;
	display: flex;
	justify-content: center;
	padding: 0 24px 36px;
	box-sizing: border-box;
}

.content {
	width: min(100%, 1260px);
	padding-top: 42px;
	margin: 0 auto;
}

.viewer-frame {
	width: min(100%, 1120px);
	margin: 0 auto;
}

.title-strip {
	display: flex;
	align-items: flex-end;
	width: max-content;
	margin: 0 auto 18px;
}

.title-strip img {
	display: block;
}

.meta-note {
	margin: 0 0 12px;
	text-align: center;
	font-size: 18px;
	color: #112011;
}

.meta-note small {
	font-size: 1em;
}

h1 {
	margin: 0 0 20px;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	color: #112011;
}

.image-stage {
	width: min(100%, 1120px);
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

.art-image {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: calc(100vh - 250px);
}

@media (max-width: 820px) {
	.main {
		padding-right: 16px;
		padding-left: 16px;
	}

	.content {
		width: min(100%, 960px);
		padding-top: 34px;
	}
}

@media (max-width: 560px) {
	.content {
		padding-top: 34px;
	}

	.title-strip {
		max-width: min(100%, var(--title-strip-mobile-width, 248px));
	}

	.title-strip img {
		max-width: 100%;
		height: auto;
	}

	.meta-note {
		font-size: 18px;
		line-height: 1.35;
		margin-bottom: 10px;
	}

	h1 {
		font-size: 24px;
		margin-bottom: 18px;
	}

	.art-image {
		width: 100%;
		max-width: 100%;
		height: auto;
		max-height: none;
	}
}
