html {
	scroll-padding-top: var(--hd-cover, var(--hd-h, 0));
}

:where(.art-c, .editor-styles-wrapper) h2 {
	margin-top: var(--h2-mt, .83em);
	scroll-margin-top: var(--h2-mt, .83em);
}

:where(.art-c, .editor-styles-wrapper) {
	overflow-wrap: anywhere;
}

:where(.art-c, .editor-styles-wrapper) :where(:not(table, .ad-slot *, .google-auto-placed, .google-auto-placed *, .adsbygoogle, .adsbygoogle *)) {
	max-width: 100%;
}

:where(.art-c, .editor-styles-wrapper) :where(video, canvas) {
	height: auto;
}

:where(.art-c, .editor-styles-wrapper) :where(.tbl, .wp-block-table, pre) {
	max-width: 100%;
	overflow-x: auto;
}

:where(.art-c, .editor-styles-wrapper) :where(table) {
	overflow-wrap: break-word;
}

:where(.art-c, .editor-styles-wrapper) :where(table:not(.tbl > table, .wp-block-table > table, table table)) {
	display: block;
	max-width: 100%;
	overflow-x: auto;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

:root {
	--tb-sz: calc(var(--tb-h, 3.5rem) + env(safe-area-inset-bottom, 0px));
}

html:not(.hm-user-auth) .hm-user-account-in,
html.hm-user-auth .hm-user-account-out {
	display: none !important;
}

.sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

[tabindex="-1"]:focus {
	outline: 0;
}

html.lb-open {
	overflow: hidden;
}

.lb {
	width: 100vw;
	max-width: none;
	height: 100vh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: var(--lb-bg);
	color: var(--lb-fg);
}

.lb-f {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	margin: 0;
	padding: 3rem 3.5rem;
	box-sizing: border-box;
}

.lb-i {
	max-width: 100%;
	max-height: 100%;
	min-height: 0;
	object-fit: contain;
}

.lb-c,
.lb-n {
	margin: .5rem 0 0;
	font-size: .875rem;
	text-align: center;
}

.lb-n {
	position: absolute;
	top: .75rem;
	left: 1rem;
}

.lb-x,
.lb-p,
.lb-nx {
	position: absolute;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
}

.lb-x {
	top: .25rem;
	right: .25rem;
}

.lb-x::before {
	content: "×";
}

.lb-p,
.lb-nx {
	top: 50%;
	transform: translateY(-50%);
}

.lb-p {
	left: .25rem;
}

.lb-p::before {
	content: "‹";
}

.lb-nx {
	right: .25rem;
}

.lb-nx::before {
	content: "›";
}

.lb [hidden] {
	display: none;
}

@media (max-width: 47.99em), (max-height: 35em) {
	.lb-f {
		padding: 2.5vmin;
	}

	.lb-x,
	.lb-p,
	.lb-nx {
		z-index: 1;
		width: 2.75rem;
		height: 2.75rem;
		border-radius: 50%;
		background: var(--lb-ctl-bg);
		font-size: 1.75rem;
	}

	.lb-x {
		top: .5rem;
		right: .5rem;
	}

	.lb-p {
		left: .5rem;
	}

	.lb-nx {
		right: .5rem;
	}

	.lb-n {
		z-index: 1;
		top: .75rem;
		left: .75rem;
		padding: .15rem .6rem;
		border-radius: 1rem;
		background: var(--lb-ctl-bg);
	}
}

.skip:focus {
	position: fixed !important;
	top: .5rem;
	left: .5rem;
	z-index: 1000;
	width: auto;
	height: auto;
	margin: 0;
	padding: .5rem 1rem;
	overflow: visible;
	clip-path: none;
	background: Canvas;
	color: CanvasText;
}

.tb {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100;
	height: var(--tb-sz);
	padding-bottom: env(safe-area-inset-bottom, 0px);
	box-sizing: border-box;
	transition: transform .2s ease;
}

.tb ul {
	display: flex;
	height: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tb li {
	flex: 1 1 0;
	min-width: 0;
}

.tb a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tb svg {
	width: 1.5rem;
	height: 1.5rem;
}

.tb.is-hidden {
	transform: translateY(100%);
}

.tb-s {
	position: fixed;
	right: 0;
	bottom: var(--tb-sz);
	left: 0;
	z-index: 100;
	padding: .75rem 1rem;
}

.tb-s[hidden] {
	display: none;
}

.tb-s .sf {
	max-width: none;
}

body:has(> .tb) {
	padding-bottom: var(--tb-sz);
}

html:has(dialog.drawer[open]) {
	overflow: hidden;
}

.drawer {
	position: fixed;
	inset: 0 0 0 auto;
	width: min(320px, 86vw);
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	overflow-y: auto;
	box-sizing: border-box;
}

.drawer-b {
	min-height: 100%;
	box-sizing: border-box;
}

.drawer[open] {
	animation: hm-base-drawer-in .25s ease-out;
}

.drawer[open]::backdrop {
	animation: hm-base-fade-in .25s ease-out;
}

.drawer-h {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.drawer-t {
	margin: 0;
}

.drawer-x {
	flex: none;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	background: none;
	line-height: 1;
	cursor: pointer;
}

.drawer-x::before {
	content: "\00d7";
}

.drawer-l {
	margin: 0;
	padding: 0;
	list-style: none;
}

.drawer-l a {
	display: block;
}

@keyframes hm-base-drawer-in {
	from {
		transform: translateX(100%);
	}
}

@keyframes hm-base-fade-in {
	from {
		opacity: 0;
	}
}

html:not(.hm-user-auth) .auth-menu > .sub-menu {
	display: none !important;
}

.is-loading {
	pointer-events: none;
	cursor: progress;
	opacity: .6;
}

.is-loading::after {
	content: "";
	display: inline-block;
	width: .9em;
	height: .9em;
	margin-left: .5em;
	vertical-align: -.1em;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: hm-base-spin .7s linear infinite;
}

.is-reloading {
	position: relative;
	cursor: progress;
}

.is-reloading::before {
	content: "";
	position: absolute;
	z-index: 2;
	top: 1.5rem;
	left: 50%;
	width: 2rem;
	height: 2rem;
	margin-left: -1rem;
	border: 3px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: hm-base-spin .7s linear infinite;
}

@keyframes hm-base-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.tb {
		transition: none;
	}

	.drawer[open],
	.drawer[open]::backdrop {
		animation: none;
	}

	.is-loading::after,
	.is-reloading::before {
		animation-duration: 2s;
	}
}

@media (min-width: 60em) {
	.tb,
	.tb-s {
		display: none;
	}

	body:has(> .tb) {
		padding-bottom: 0;
	}
}

.shr [hidden] {
	display: none !important;
}

.prt-h,
.prt-f {
	display: none;
}

.acc {
	position: fixed;
	max-width: min(25rem, calc(100vw - 2rem));
	padding: 1rem 3rem 1rem 1rem;
}

.acc-x {
	position: absolute;
	top: .5rem;
	right: .5rem;
	width: 2rem;
	height: 2rem;
	border: 0;
	background: none;
	cursor: pointer;
}

.acc-x::before {
	content: "\00d7";
	font-size: 1.75rem;
	line-height: 1;
}

@media print {

	.skip,
	.hd,
	.tb,
	.ft,
	.shr,
	.ia,
	.tags,
	.rel,
	.subs,
	.art-edit,
	.toc,
	.au,
	#comments,
	.cm,
	.pg-l,
	iframe,
	embed,
	object,
	video,
	.wp-block-embed,
	.no-print {
		display: none !important;
	}

	.prt-h,
	.prt-f {
		display: block;
	}

	a[href]::after {
		content: none !important;
	}

	figure,
	.wp-block-image {
		break-inside: avoid;
	}

	img {
		width: auto;
		max-width: 100%;
		max-height: 33vh;
		object-fit: contain;
		break-inside: avoid;
	}

	h1,
	h2,
	h3,
	h4 {
		break-after: avoid;
		break-inside: avoid;
	}

	html.is-print-part .art :not([data-print-part], [data-print-part] *, :has([data-print-part]), .prt-h, .prt-h *, .prt-f, .prt-f *) {
		display: none !important;
	}
}
