* {
	font: inherit;
}
html {
	--base-fonts: system-ui, sans-serif;
	--heading-fonts: system-ui, sans-serif;
	--content-max-width: 1100px;
	color-scheme: light dark;
}
body {
	min-width: 320px;
	max-width: 1920px;
	margin: 0 auto;
}
img {
	vertical-align: middle;
	max-width: 100%;
	height: auto;
}
a img {
	border: none;
}
a {
	color: inherit;
	text-decoration: underline;
}
b,
strong,
th {
	font-weight: bold;
}
i,
em {
	font-style: italic;
}
fieldset {
	border: 1px dashed #ccc;
	padding: 1em;
}
iframe {
	border: none;
}
input,
textarea,
select,
option,
button {
	box-sizing: border-box;
	letter-spacing: inherit;
	word-spacing: inherit;
}
input[type="button"]:focus-visible,
button:focus-visible {
	text-decoration: underline;
	outline: none;
}
[hidden] {
	display: none !important;
}
sub,
sup {
	font-size: smaller;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--heading-fonts);
	line-height: normal;
}
:is(h1, h2, h3, h4, h5, h6) > a {
	text-decoration: none;
	color: inherit;
}
:is(h1, h2, h3, h4, h5, h6) > a:focus-visible {
	text-decoration: underline;
}
h1 {
	font-size: 1.1rem;
	font-style: italic;
	font-weight: bold;
}
h2 {
	font-size: 1.4rem;
	font-weight: bold;
	opacity: .9;
}
h3 {
	font-size: 1.25rem;
	font-weight: bold;
	opacity: .9;
}
.main-body {
	display: flex;
	max-width: var(--content-max-width);
	padding-left: 16px;
	padding-right: 16px;
	margin-left: auto;
	margin-right: auto;
	gap: 16px;
}
.content {
	flex-grow: 1;
}
.sidebar {
	flex-shrink: 0;
	flex-grow: 0;
}
.sidebar > section:not(:first-child) {
	margin-top: 1rem;
}
@media all and (min-width: 1100px) {
	.content {
		order: 1;
	}
	.sidebar-1 {
		width: 250px;
		order: 0;
	}
	.sidebar-2 {
		width: 250px;
		order: 2;
	}
}
@media not all and (min-width: 1100px) {
	.main-body {
		flex-direction: column;
	}
	.content {
		order: 0;
	}
	.sidebar-1 {
		width: 100%;
		order: 1;
	}
	.sidebar-2 {
		width: 100%;
		order: 2;
	}
}
.container {
	display: flow-root;
	max-width: var(--content-max-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}
.top {
	opacity: .6;
}
.form-item:not(:first-child) {
	margin-top: 1em;
}
.form-input {
	width: 100%;
}
textarea.form-input {
	margin-top: .2em;
	resize: vertical;
	min-height: 6em;
}
.comment-header {
	opacity: .9;
}
.comments > article + article {
	margin-top: 1em;
	padding-top: 1em;
	position: relative;
}
.comments > article + article::before {
	content: "";
	speak: never;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
	width: 100%;
	height: 1px;
	background-color: currentColor;
	opacity: .5;
}
dialog {
	border: none;
	box-sizing: border-box;
	padding: 0;
}
dialog::backdrop {
	background: rgba(0,0,0,.75);
}
.dialog-layout[open] {
	box-sizing: border-box;
	background: transparent;
	max-width: none;
	max-height: none;
	width: 100%;
	height: 100%;
	padding: 1em;
	display: grid;
	place-content: center;
}
.dialog-layout-inner {
	background: #fff;
	color: #000;
	padding: 1.5em;
	box-shadow: 0 0 3px 3px rgba(255,255,255,.15);
	border-radius: 4px;
	position: relative;
	overflow: auto;
}
@media all and (prefers-color-scheme: dark) {
	.dialog-layout-inner {
		background: #333;
		color: #fff;
	}
}
@media all and (prefers-color-scheme: dark) and (prefers-contrast: more) {
	.dialog-layout-inner {
		background: #000;
	}
}
.form-close-dialog {
	position: absolute;
	z-index: 1;
	inset-block-start: .5em;
	inset-inline-end: .5em;
}
.form-close-dialog-button {
	background: transparent;
	color: #b24539;
	border: none;
	cursor: pointer;
	width: 1.5em;
	height: 1.5em;
	line-height: 1.5em;
	text-align: center;
	padding: 0;
	transition: background-color 300ms ease-out, color 300ms ease-out;
}
.form-close-dialog-button:hover,
.form-close-dialog-button:focus {
	background-color: #b24539;
	color: #fff;
}
@media all and (prefers-color-scheme: dark) {
	.form-close-dialog-button {
		background-color: #eee;
		color: #333;
	}
}
.page-controls-button {
	box-sizing: border-box;
	padding: 0 .2em;
	background: transparent;
	color: inherit;
	border: none;
	line-height: normal;
	cursor: pointer;
	opacity: .8;
	transition: opacity 200ms ease-out;
}
.page-controls-button:hover,
.page-controls-button:focus {
	opacity: 1;
}
.page-controls-button > svg {
	vertical-align: -.15em;
}
.dialog-mobile-menu {
	box-sizing: border-box;
	background: transparent;
	max-width: none;
	max-height: none;
	width: 100%;
	height: 100%;
}
.mobile-menu {
	box-sizing: border-box;
	padding: 16px;
	max-width: 400px;
	background: #64625b;
	color: #fff;
	color-scheme: dark;
	box-shadow: 2px 0 2px 0 rgba(0,0,0,.2);
	height: 100%;
	overflow: auto;
	overscroll-behavior: contain;
}
.mobile-menu-itself {
	font-weight: normal;
	padding: 0;
}
.mobile-menu-itself li {
	list-style: none;
	position: relative;
}
.mobile-menu-itself li:hover > ul,
.mobile-menu-itself li:focus > ul {
	display: block;
}
.mobile-menu-itself li > :first-child:focus + ul {
	display: block;
}
.mobile-menu-itself > li ul {
	margin-left: 1.2em;
}
.mobile-menu-itself li > a {
	display: block;
	padding: 6px 12px 5px 12px;
	transition: background-color 300ms ease-out, color 300ms ease-out;
	outline: none;
	text-decoration: none;
}
.mobile-menu-itself li > :first-child:hover,
.mobile-menu-itself li > :first-child:focus {
	background-color: #fafafa;
	color: #000;
}
.mobile-menu-itself .separator::after {
	content: ":";
}
.button-mobile-menu-close {
	padding: 6px 12px 5px 12px;
	border: none;
	width: 100%;
	display: block;
	cursor: pointer;
	background: transparent;
	color: inherit;
	text-align: left;
}
.button-mobile-menu-close:hover,
.button-mobile-menu-close:focus {
	background-color: #fafafa;
	color: #000;
}
@media all and (prefers-contrast: more) {
	.page-controls-button {
		opacity: 1;
	}
}
footer {
	margin-top: 1em;
	font-size: .9em;
	opacity: .7;
	padding-bottom: 1em;
}
.gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
}
.ajax-form-result {
	display: none;
	background: #fbfbfb;
	color: #000;
	border: .1em solid #999;
	padding: .5em 1em;
}
.ajax-form-result[data-state="positive"] {
	display: block;
	background-color: #f4f9ee;
	border-color: #99bf7f;
}
.ajax-form-result[data-state="negative"] {
	display: block;
	background-color: #f9f3ee;
	border-color: #bf857f;
}
.ajax-form-result:not(:first-child) {
	margin-top: 1em;
}
.image-modal {
	cursor: zoom-in;
}
