
/* Theme source attribution and licence: see /credits.html. */

html, body, div, span, applet, object,
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite,
code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b,
u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

	blockquote:before, blockquote:after, q:before, q:after {
		content: '';
		content: none;
	}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
	-webkit-text-size-adjust: none;
}

mark {
	background-color: transparent;
	color: inherit;
}

input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input, select, textarea {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
}

/* Basic */

	@-ms-viewport {
		width: device-width;
	}

	body {
		-ms-overflow-style: scrollbar;
	}

	@media screen and (max-width: 480px) {

		html, body {
			min-width: 320px;
		}

	}

	html {
		box-sizing: border-box;
	}

	*, *:before, *:after {
		box-sizing: inherit;
	}

	body {
		background-color: #1e252d;
	}

		body.is-preload *, body.is-preload *:before, body.is-preload *:after {
			-moz-animation: none !important;
			-webkit-animation: none !important;
			-ms-animation: none !important;
			animation: none !important;
			-moz-transition: none !important;
			-webkit-transition: none !important;
			-ms-transition: none !important;
			transition: none !important;
		}

/* Type */

	html {
		font-size: 16pt;
	}

		@media screen and (max-width: 1680px) {

			html {
				font-size: 12pt;
			}

		}

		@media screen and (max-width: 1280px) {

			html {
				font-size: 11pt;
			}

		}

		@media screen and (max-width: 360px) {

			html {
				font-size: 10pt;
			}

		}

	body {
		color: #212931;
	}

	body, input, select, textarea {
		font-family: "Merriweather", Georgia, serif;
		font-weight: 300;
		font-size: 1rem;
		line-height: 2.375;
	}

	a {
		-moz-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
		-webkit-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
		-ms-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
		transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
		border-bottom: dotted 1px;
		text-decoration: none;
	}

		a:hover {
			border-bottom-color: transparent;
		}

	strong, b {
		font-weight: 600;
	}

	em, i {
		font-style: italic;
	}

	p {
		text-align: justify;
		margin: 0 0 2rem 0;
	}

	h1, h2, h3, h4, h5, h6 {
		font-family: "Source Sans Pro", Helvetica, sans-serif;
		font-weight: 900;
		line-height: 1.5;
		letter-spacing: 0.075em;
		text-transform: uppercase;
		margin: 0 0 1rem 0;
	}

		h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
			border-bottom: 0;
			color: inherit;
			text-decoration: none;
		}

	h1 {
		font-size: 4rem;
		line-height: 1.1;
		margin: 0 0 2rem 0;
	}

	h2 {
		font-size: 1.75rem;
		line-height: 1.3;
		margin: 0 0 1.5rem 0;
	}

	h3 {
		font-size: 1.25rem;
		margin: 0 0 1.5rem 0;
	}

	h4 {
		font-size: 1rem;
	}

	h5 {
		font-size: 0.9rem;
	}

	h6 {
		font-size: 0.8rem;
	}

	sub {
		font-size: 0.8rem;
		position: relative;
		top: 0.5rem;
	}

	sup {
		font-size: 0.8rem;
		position: relative;
		top: -0.5rem;
	}

	blockquote {
		border-left: solid 4px;
		font-style: italic;
		margin: 0 0 2rem 0;
		padding: 0.5rem 0 0.5rem 2rem;
	}

	code {
		border: solid 2px;
		font-family: "Courier New", monospace;
		font-size: 0.9rem;
		margin: 0 0.25rem;
		padding: 0.25rem 0.65rem;
	}

	pre {
		-webkit-overflow-scrolling: touch;
		font-family: "Courier New", monospace;
		font-size: 0.9rem;
		margin: 0 0 2rem 0;
	}

		pre code {
			display: block;
			line-height: 1.75;
			padding: 1rem 1.5rem;
			overflow-x: auto;
		}

	hr {
		border: 0;
		border-bottom: solid 2px;
		margin: 3rem 0;
	}

		hr.major {
			margin: 5rem 0;
		}

	.align-left {
		text-align: left;
	}

	.align-center {
		text-align: center;
	}

	.align-right {
		text-align: right;
	}

	input, select, textarea {
		color: #212931;
	}

	a {
		color: #212931;
		border-bottom-color: rgba(33, 41, 49, 0.5);
	}

		a:hover {
			border-bottom-color: transparent;
			color: #18bfef !important;
		}

	strong, b {
		color: #212931;
	}

	h1, h2, h3, h4, h5, h6 {
		color: #212931;
	}

	blockquote {
		border-left-color: #eeeeee;
	}

	code {
		background: rgba(220, 220, 220, 0.25);
		border-color: #eeeeee;
	}

	hr {
		border-bottom-color: #eeeeee;
	}

/* Row */

	.row {
		display: flex;
		flex-wrap: wrap;
		box-sizing: border-box;
		align-items: stretch;
	}

		.row > * {
			box-sizing: border-box;
		}

		.row.gtr-uniform > * > :last-child {
			margin-bottom: 0;
		}

		.row.aln-left {
			justify-content: flex-start;
		}

		.row.aln-center {
			justify-content: center;
		}

		.row.aln-right {
			justify-content: flex-end;
		}

		.row.aln-top {
			align-items: flex-start;
		}

		.row.aln-middle {
			align-items: center;
		}

		.row.aln-bottom {
			align-items: flex-end;
		}

		.row > .imp {
			order: -1;
		}

		.row > .col-1 {
			width: 8.33333%;
		}

		.row > .off-1 {
			margin-left: 8.33333%;
		}

		.row > .col-2 {
			width: 16.66667%;
		}

		.row > .off-2 {
			margin-left: 16.66667%;
		}

		.row > .col-3 {
			width: 25%;
		}

		.row > .off-3 {
			margin-left: 25%;
		}

		.row > .col-4 {
			width: 33.33333%;
		}

		.row > .off-4 {
			margin-left: 33.33333%;
		}

		.row > .col-5 {
			width: 41.66667%;
		}

		.row > .off-5 {
			margin-left: 41.66667%;
		}

		.row > .col-6 {
			width: 50%;
		}

		.row > .off-6 {
			margin-left: 50%;
		}

		.row > .col-7 {
			width: 58.33333%;
		}

		.row > .off-7 {
			margin-left: 58.33333%;
		}

		.row > .col-8 {
			width: 66.66667%;
		}

		.row > .off-8 {
			margin-left: 66.66667%;
		}

		.row > .col-9 {
			width: 75%;
		}

		.row > .off-9 {
			margin-left: 75%;
		}

		.row > .col-10 {
			width: 83.33333%;
		}

		.row > .off-10 {
			margin-left: 83.33333%;
		}

		.row > .col-11 {
			width: 91.66667%;
		}

		.row > .off-11 {
			margin-left: 91.66667%;
		}

		.row > .col-12 {
			width: 100%;
		}

		.row > .off-12 {
			margin-left: 100%;
		}

		.row.gtr-0 {
			margin-top: 0;
			margin-left: 0rem;
		}

			.row.gtr-0 > * {
				padding: 0 0 0 0rem;
			}

			.row.gtr-0.gtr-uniform {
				margin-top: 0rem;
			}

				.row.gtr-0.gtr-uniform > * {
					padding-top: 0rem;
				}

		.row.gtr-25 {
			margin-top: 0;
			margin-left: -0.375rem;
		}

			.row.gtr-25 > * {
				padding: 0 0 0 0.375rem;
			}

			.row.gtr-25.gtr-uniform {
				margin-top: -0.375rem;
			}

				.row.gtr-25.gtr-uniform > * {
					padding-top: 0.375rem;
				}

		.row.gtr-50 {
			margin-top: 0;
			margin-left: -0.75rem;
		}

			.row.gtr-50 > * {
				padding: 0 0 0 0.75rem;
			}

			.row.gtr-50.gtr-uniform {
				margin-top: -0.75rem;
			}

				.row.gtr-50.gtr-uniform > * {
					padding-top: 0.75rem;
				}

		.row {
			margin-top: 0;
			margin-left: -1.5rem;
		}

			.row > * {
				padding: 0 0 0 1.5rem;
			}

			.row.gtr-uniform {
				margin-top: -1.5rem;
			}

				.row.gtr-uniform > * {
					padding-top: 1.5rem;
				}

		.row.gtr-150 {
			margin-top: 0;
			margin-left: -2.25rem;
		}

			.row.gtr-150 > * {
				padding: 0 0 0 2.25rem;
			}

			.row.gtr-150.gtr-uniform {
				margin-top: -2.25rem;
			}

				.row.gtr-150.gtr-uniform > * {
					padding-top: 2.25rem;
				}

		.row.gtr-200 {
			margin-top: 0;
			margin-left: -3rem;
		}

			.row.gtr-200 > * {
				padding: 0 0 0 3rem;
			}

			.row.gtr-200.gtr-uniform {
				margin-top: -3rem;
			}

				.row.gtr-200.gtr-uniform > * {
					padding-top: 3rem;
				}

		@media screen and (max-width: 1680px) {

			.row {
				display: flex;
				flex-wrap: wrap;
				box-sizing: border-box;
				align-items: stretch;
			}

				.row > * {
					box-sizing: border-box;
				}

				.row.gtr-uniform > * > :last-child {
					margin-bottom: 0;
				}

				.row.aln-left {
					justify-content: flex-start;
				}

				.row.aln-center {
					justify-content: center;
				}

				.row.aln-right {
					justify-content: flex-end;
				}

				.row.aln-top {
					align-items: flex-start;
				}

				.row.aln-middle {
					align-items: center;
				}

				.row.aln-bottom {
					align-items: flex-end;
				}

				.row > .imp-xlarge {
					order: -1;
				}

				.row > .col-1-xlarge {
					width: 8.33333%;
				}

				.row > .off-1-xlarge {
					margin-left: 8.33333%;
				}

				.row > .col-2-xlarge {
					width: 16.66667%;
				}

				.row > .off-2-xlarge {
					margin-left: 16.66667%;
				}

				.row > .col-3-xlarge {
					width: 25%;
				}

				.row > .off-3-xlarge {
					margin-left: 25%;
				}

				.row > .col-4-xlarge {
					width: 33.33333%;
				}

				.row > .off-4-xlarge {
					margin-left: 33.33333%;
				}

				.row > .col-5-xlarge {
					width: 41.66667%;
				}

				.row > .off-5-xlarge {
					margin-left: 41.66667%;
				}

				.row > .col-6-xlarge {
					width: 50%;
				}

				.row > .off-6-xlarge {
					margin-left: 50%;
				}

				.row > .col-7-xlarge {
					width: 58.33333%;
				}

				.row > .off-7-xlarge {
					margin-left: 58.33333%;
				}

				.row > .col-8-xlarge {
					width: 66.66667%;
				}

				.row > .off-8-xlarge {
					margin-left: 66.66667%;
				}

				.row > .col-9-xlarge {
					width: 75%;
				}

				.row > .off-9-xlarge {
					margin-left: 75%;
				}

				.row > .col-10-xlarge {
					width: 83.33333%;
				}

				.row > .off-10-xlarge {
					margin-left: 83.33333%;
				}

				.row > .col-11-xlarge {
					width: 91.66667%;
				}

				.row > .off-11-xlarge {
					margin-left: 91.66667%;
				}

				.row > .col-12-xlarge {
					width: 100%;
				}

				.row > .off-12-xlarge {
					margin-left: 100%;
				}

				.row.gtr-0 {
					margin-top: 0;
					margin-left: 0rem;
				}

					.row.gtr-0 > * {
						padding: 0 0 0 0rem;
					}

					.row.gtr-0.gtr-uniform {
						margin-top: 0rem;
					}

						.row.gtr-0.gtr-uniform > * {
							padding-top: 0rem;
						}

				.row.gtr-25 {
					margin-top: 0;
					margin-left: -0.375rem;
				}

					.row.gtr-25 > * {
						padding: 0 0 0 0.375rem;
					}

					.row.gtr-25.gtr-uniform {
						margin-top: -0.375rem;
					}

						.row.gtr-25.gtr-uniform > * {
							padding-top: 0.375rem;
						}

				.row.gtr-50 {
					margin-top: 0;
					margin-left: -0.75rem;
				}

					.row.gtr-50 > * {
						padding: 0 0 0 0.75rem;
					}

					.row.gtr-50.gtr-uniform {
						margin-top: -0.75rem;
					}

						.row.gtr-50.gtr-uniform > * {
							padding-top: 0.75rem;
						}

				.row {
					margin-top: 0;
					margin-left: -1.5rem;
				}

					.row > * {
						padding: 0 0 0 1.5rem;
					}

					.row.gtr-uniform {
						margin-top: -1.5rem;
					}

						.row.gtr-uniform > * {
							padding-top: 1.5rem;
						}

				.row.gtr-150 {
					margin-top: 0;
					margin-left: -2.25rem;
				}

					.row.gtr-150 > * {
						padding: 0 0 0 2.25rem;
					}

					.row.gtr-150.gtr-uniform {
						margin-top: -2.25rem;
					}

						.row.gtr-150.gtr-uniform > * {
							padding-top: 2.25rem;
						}

				.row.gtr-200 {
					margin-top: 0;
					margin-left: -3rem;
				}

					.row.gtr-200 > * {
						padding: 0 0 0 3rem;
					}

					.row.gtr-200.gtr-uniform {
						margin-top: -3rem;
					}

						.row.gtr-200.gtr-uniform > * {
							padding-top: 3rem;
						}

		}

		@media screen and (max-width: 1280px) {

			.row {
				display: flex;
				flex-wrap: wrap;
				box-sizing: border-box;
				align-items: stretch;
			}

				.row > * {
					box-sizing: border-box;
				}

				.row.gtr-uniform > * > :last-child {
					margin-bottom: 0;
				}

				.row.aln-left {
					justify-content: flex-start;
				}

				.row.aln-center {
					justify-content: center;
				}

				.row.aln-right {
					justify-content: flex-end;
				}

				.row.aln-top {
					align-items: flex-start;
				}

				.row.aln-middle {
					align-items: center;
				}

				.row.aln-bottom {
					align-items: flex-end;
				}

				.row > .imp-large {
					order: -1;
				}

				.row > .col-1-large {
					width: 8.33333%;
				}

				.row > .off-1-large {
					margin-left: 8.33333%;
				}

				.row > .col-2-large {
					width: 16.66667%;
				}

				.row > .off-2-large {
					margin-left: 16.66667%;
				}

				.row > .col-3-large {
					width: 25%;
				}

				.row > .off-3-large {
					margin-left: 25%;
				}

				.row > .col-4-large {
					width: 33.33333%;
				}

				.row > .off-4-large {
					margin-left: 33.33333%;
				}

				.row > .col-5-large {
					width: 41.66667%;
				}

				.row > .off-5-large {
					margin-left: 41.66667%;
				}

				.row > .col-6-large {
					width: 50%;
				}

				.row > .off-6-large {
					margin-left: 50%;
				}

				.row > .col-7-large {
					width: 58.33333%;
				}

				.row > .off-7-large {
					margin-left: 58.33333%;
				}

				.row > .col-8-large {
					width: 66.66667%;
				}

				.row > .off-8-large {
					margin-left: 66.66667%;
				}

				.row > .col-9-large {
					width: 75%;
				}

				.row > .off-9-large {
					margin-left: 75%;
				}

				.row > .col-10-large {
					width: 83.33333%;
				}

				.row > .off-10-large {
					margin-left: 83.33333%;
				}

				.row > .col-11-large {
					width: 91.66667%;
				}

				.row > .off-11-large {
					margin-left: 91.66667%;
				}

				.row > .col-12-large {
					width: 100%;
				}

				.row > .off-12-large {
					margin-left: 100%;
				}

				.row.gtr-0 {
					margin-top: 0;
					margin-left: 0rem;
				}

					.row.gtr-0 > * {
						padding: 0 0 0 0rem;
					}

					.row.gtr-0.gtr-uniform {
						margin-top: 0rem;
					}

						.row.gtr-0.gtr-uniform > * {
							padding-top: 0rem;
						}

				.row.gtr-25 {
					margin-top: 0;
					margin-left: -0.375rem;
				}

					.row.gtr-25 > * {
						padding: 0 0 0 0.375rem;
					}

					.row.gtr-25.gtr-uniform {
						margin-top: -0.375rem;
					}

						.row.gtr-25.gtr-uniform > * {
							padding-top: 0.375rem;
						}

				.row.gtr-50 {
					margin-top: 0;
					margin-left: -0.75rem;
				}

					.row.gtr-50 > * {
						padding: 0 0 0 0.75rem;
					}

					.row.gtr-50.gtr-uniform {
						margin-top: -0.75rem;
					}

						.row.gtr-50.gtr-uniform > * {
							padding-top: 0.75rem;
						}

				.row {
					margin-top: 0;
					margin-left: -1.5rem;
				}

					.row > * {
						padding: 0 0 0 1.5rem;
					}

					.row.gtr-uniform {
						margin-top: -1.5rem;
					}

						.row.gtr-uniform > * {
							padding-top: 1.5rem;
						}

				.row.gtr-150 {
					margin-top: 0;
					margin-left: -2.25rem;
				}

					.row.gtr-150 > * {
						padding: 0 0 0 2.25rem;
					}

					.row.gtr-150.gtr-uniform {
						margin-top: -2.25rem;
					}

						.row.gtr-150.gtr-uniform > * {
							padding-top: 2.25rem;
						}

				.row.gtr-200 {
					margin-top: 0;
					margin-left: -3rem;
				}

					.row.gtr-200 > * {
						padding: 0 0 0 3rem;
					}

					.row.gtr-200.gtr-uniform {
						margin-top: -3rem;
					}

						.row.gtr-200.gtr-uniform > * {
							padding-top: 3rem;
						}

		}

		@media screen and (max-width: 980px) {

			.row {
				display: flex;
				flex-wrap: wrap;
				box-sizing: border-box;
				align-items: stretch;
			}

				.row > * {
					box-sizing: border-box;
				}

				.row.gtr-uniform > * > :last-child {
					margin-bottom: 0;
				}

				.row.aln-left {
					justify-content: flex-start;
				}

				.row.aln-center {
					justify-content: center;
				}

				.row.aln-right {
					justify-content: flex-end;
				}

				.row.aln-top {
					align-items: flex-start;
				}

				.row.aln-middle {
					align-items: center;
				}

				.row.aln-bottom {
					align-items: flex-end;
				}

				.row > .imp-medium {
					order: -1;
				}

				.row > .col-1-medium {
					width: 8.33333%;
				}

				.row > .off-1-medium {
					margin-left: 8.33333%;
				}

				.row > .col-2-medium {
					width: 16.66667%;
				}

				.row > .off-2-medium {
					margin-left: 16.66667%;
				}

				.row > .col-3-medium {
					width: 25%;
				}

				.row > .off-3-medium {
					margin-left: 25%;
				}

				.row > .col-4-medium {
					width: 33.33333%;
				}

				.row > .off-4-medium {
					margin-left: 33.33333%;
				}

				.row > .col-5-medium {
					width: 41.66667%;
				}

				.row > .off-5-medium {
					margin-left: 41.66667%;
				}

				.row > .col-6-medium {
					width: 50%;
				}

				.row > .off-6-medium {
					margin-left: 50%;
				}

				.row > .col-7-medium {
					width: 58.33333%;
				}

				.row > .off-7-medium {
					margin-left: 58.33333%;
				}

				.row > .col-8-medium {
					width: 66.66667%;
				}

				.row > .off-8-medium {
					margin-left: 66.66667%;
				}

				.row > .col-9-medium {
					width: 75%;
				}

				.row > .off-9-medium {
					margin-left: 75%;
				}

				.row > .col-10-medium {
					width: 83.33333%;
				}

				.row > .off-10-medium {
					margin-left: 83.33333%;
				}

				.row > .col-11-medium {
					width: 91.66667%;
				}

				.row > .off-11-medium {
					margin-left: 91.66667%;
				}

				.row > .col-12-medium {
					width: 100%;
				}

				.row > .off-12-medium {
					margin-left: 100%;
				}

				.row.gtr-0 {
					margin-top: 0;
					margin-left: 0rem;
				}

					.row.gtr-0 > * {
						padding: 0 0 0 0rem;
					}

					.row.gtr-0.gtr-uniform {
						margin-top: 0rem;
					}

						.row.gtr-0.gtr-uniform > * {
							padding-top: 0rem;
						}

				.row.gtr-25 {
					margin-top: 0;
					margin-left: -0.375rem;
				}

					.row.gtr-25 > * {
						padding: 0 0 0 0.375rem;
					}

					.row.gtr-25.gtr-uniform {
						margin-top: -0.375rem;
					}

						.row.gtr-25.gtr-uniform > * {
							padding-top: 0.375rem;
						}

				.row.gtr-50 {
					margin-top: 0;
					margin-left: -0.75rem;
				}

					.row.gtr-50 > * {
						padding: 0 0 0 0.75rem;
					}

					.row.gtr-50.gtr-uniform {
						margin-top: -0.75rem;
					}

						.row.gtr-50.gtr-uniform > * {
							padding-top: 0.75rem;
						}

				.row {
					margin-top: 0;
					margin-left: -1.5rem;
				}

					.row > * {
						padding: 0 0 0 1.5rem;
					}

					.row.gtr-uniform {
						margin-top: -1.5rem;
					}

						.row.gtr-uniform > * {
							padding-top: 1.5rem;
						}

				.row.gtr-150 {
					margin-top: 0;
					margin-left: -2.25rem;
				}

					.row.gtr-150 > * {
						padding: 0 0 0 2.25rem;
					}

					.row.gtr-150.gtr-uniform {
						margin-top: -2.25rem;
					}

						.row.gtr-150.gtr-uniform > * {
							padding-top: 2.25rem;
						}

				.row.gtr-200 {
					margin-top: 0;
					margin-left: -3rem;
				}

					.row.gtr-200 > * {
						padding: 0 0 0 3rem;
					}

					.row.gtr-200.gtr-uniform {
						margin-top: -3rem;
					}

						.row.gtr-200.gtr-uniform > * {
							padding-top: 3rem;
						}

		}

		@media screen and (max-width: 736px) {

			.row {
				display: flex;
				flex-wrap: wrap;
				box-sizing: border-box;
				align-items: stretch;
			}

				.row > * {
					box-sizing: border-box;
				}

				.row.gtr-uniform > * > :last-child {
					margin-bottom: 0;
				}

				.row.aln-left {
					justify-content: flex-start;
				}

				.row.aln-center {
					justify-content: center;
				}

				.row.aln-right {
					justify-content: flex-end;
				}

				.row.aln-top {
					align-items: flex-start;
				}

				.row.aln-middle {
					align-items: center;
				}

				.row.aln-bottom {
					align-items: flex-end;
				}

				.row > .imp-small {
					order: -1;
				}

				.row > .col-1-small {
					width: 8.33333%;
				}

				.row > .off-1-small {
					margin-left: 8.33333%;
				}

				.row > .col-2-small {
					width: 16.66667%;
				}

				.row > .off-2-small {
					margin-left: 16.66667%;
				}

				.row > .col-3-small {
					width: 25%;
				}

				.row > .off-3-small {
					margin-left: 25%;
				}

				.row > .col-4-small {
					width: 33.33333%;
				}

				.row > .off-4-small {
					margin-left: 33.33333%;
				}

				.row > .col-5-small {
					width: 41.66667%;
				}

				.row > .off-5-small {
					margin-left: 41.66667%;
				}

				.row > .col-6-small {
					width: 50%;
				}

				.row > .off-6-small {
					margin-left: 50%;
				}

				.row > .col-7-small {
					width: 58.33333%;
				}

				.row > .off-7-small {
					margin-left: 58.33333%;
				}

				.row > .col-8-small {
					width: 66.66667%;
				}

				.row > .off-8-small {
					margin-left: 66.66667%;
				}

				.row > .col-9-small {
					width: 75%;
				}

				.row > .off-9-small {
					margin-left: 75%;
				}

				.row > .col-10-small {
					width: 83.33333%;
				}

				.row > .off-10-small {
					margin-left: 83.33333%;
				}

				.row > .col-11-small {
					width: 91.66667%;
				}

				.row > .off-11-small {
					margin-left: 91.66667%;
				}

				.row > .col-12-small {
					width: 100%;
				}

				.row > .off-12-small {
					margin-left: 100%;
				}

				.row.gtr-0 {
					margin-top: 0;
					margin-left: 0rem;
				}

					.row.gtr-0 > * {
						padding: 0 0 0 0rem;
					}

					.row.gtr-0.gtr-uniform {
						margin-top: 0rem;
					}

						.row.gtr-0.gtr-uniform > * {
							padding-top: 0rem;
						}

				.row.gtr-25 {
					margin-top: 0;
					margin-left: -0.375rem;
				}

					.row.gtr-25 > * {
						padding: 0 0 0 0.375rem;
					}

					.row.gtr-25.gtr-uniform {
						margin-top: -0.375rem;
					}

						.row.gtr-25.gtr-uniform > * {
							padding-top: 0.375rem;
						}

				.row.gtr-50 {
					margin-top: 0;
					margin-left: -0.75rem;
				}

					.row.gtr-50 > * {
						padding: 0 0 0 0.75rem;
					}

					.row.gtr-50.gtr-uniform {
						margin-top: -0.75rem;
					}

						.row.gtr-50.gtr-uniform > * {
							padding-top: 0.75rem;
						}

				.row {
					margin-top: 0;
					margin-left: -1.5rem;
				}

					.row > * {
						padding: 0 0 0 1.5rem;
					}

					.row.gtr-uniform {
						margin-top: -1.5rem;
					}

						.row.gtr-uniform > * {
							padding-top: 1.5rem;
						}

				.row.gtr-150 {
					margin-top: 0;
					margin-left: -2.25rem;
				}

					.row.gtr-150 > * {
						padding: 0 0 0 2.25rem;
					}

					.row.gtr-150.gtr-uniform {
						margin-top: -2.25rem;
					}

						.row.gtr-150.gtr-uniform > * {
							padding-top: 2.25rem;
						}

				.row.gtr-200 {
					margin-top: 0;
					margin-left: -3rem;
				}

					.row.gtr-200 > * {
						padding: 0 0 0 3rem;
					}

					.row.gtr-200.gtr-uniform {
						margin-top: -3rem;
					}

						.row.gtr-200.gtr-uniform > * {
							padding-top: 3rem;
						}

		}

		@media screen and (max-width: 480px) {

			.row {
				display: flex;
				flex-wrap: wrap;
				box-sizing: border-box;
				align-items: stretch;
			}

				.row > * {
					box-sizing: border-box;
				}

				.row.gtr-uniform > * > :last-child {
					margin-bottom: 0;
				}

				.row.aln-left {
					justify-content: flex-start;
				}

				.row.aln-center {
					justify-content: center;
				}

				.row.aln-right {
					justify-content: flex-end;
				}

				.row.aln-top {
					align-items: flex-start;
				}

				.row.aln-middle {
					align-items: center;
				}

				.row.aln-bottom {
					align-items: flex-end;
				}

				.row > .imp-xsmall {
					order: -1;
				}

				.row > .col-1-xsmall {
					width: 8.33333%;
				}

				.row > .off-1-xsmall {
					margin-left: 8.33333%;
				}

				.row > .col-2-xsmall {
					width: 16.66667%;
				}

				.row > .off-2-xsmall {
					margin-left: 16.66667%;
				}

				.row > .col-3-xsmall {
					width: 25%;
				}

				.row > .off-3-xsmall {
					margin-left: 25%;
				}

				.row > .col-4-xsmall {
					width: 33.33333%;
				}

				.row > .off-4-xsmall {
					margin-left: 33.33333%;
				}

				.row > .col-5-xsmall {
					width: 41.66667%;
				}

				.row > .off-5-xsmall {
					margin-left: 41.66667%;
				}

				.row > .col-6-xsmall {
					width: 50%;
				}

				.row > .off-6-xsmall {
					margin-left: 50%;
				}

				.row > .col-7-xsmall {
					width: 58.33333%;
				}

				.row > .off-7-xsmall {
					margin-left: 58.33333%;
				}

				.row > .col-8-xsmall {
					width: 66.66667%;
				}

				.row > .off-8-xsmall {
					margin-left: 66.66667%;
				}

				.row > .col-9-xsmall {
					width: 75%;
				}

				.row > .off-9-xsmall {
					margin-left: 75%;
				}

				.row > .col-10-xsmall {
					width: 83.33333%;
				}

				.row > .off-10-xsmall {
					margin-left: 83.33333%;
				}

				.row > .col-11-xsmall {
					width: 91.66667%;
				}

				.row > .off-11-xsmall {
					margin-left: 91.66667%;
				}

				.row > .col-12-xsmall {
					width: 100%;
				}

				.row > .off-12-xsmall {
					margin-left: 100%;
				}

				.row.gtr-0 {
					margin-top: 0;
					margin-left: 0rem;
				}

					.row.gtr-0 > * {
						padding: 0 0 0 0rem;
					}

					.row.gtr-0.gtr-uniform {
						margin-top: 0rem;
					}

						.row.gtr-0.gtr-uniform > * {
							padding-top: 0rem;
						}

				.row.gtr-25 {
					margin-top: 0;
					margin-left: -0.375rem;
				}

					.row.gtr-25 > * {
						padding: 0 0 0 0.375rem;
					}

					.row.gtr-25.gtr-uniform {
						margin-top: -0.375rem;
					}

						.row.gtr-25.gtr-uniform > * {
							padding-top: 0.375rem;
						}

				.row.gtr-50 {
					margin-top: 0;
					margin-left: -0.75rem;
				}

					.row.gtr-50 > * {
						padding: 0 0 0 0.75rem;
					}

					.row.gtr-50.gtr-uniform {
						margin-top: -0.75rem;
					}

						.row.gtr-50.gtr-uniform > * {
							padding-top: 0.75rem;
						}

				.row {
					margin-top: 0;
					margin-left: -1.5rem;
				}

					.row > * {
						padding: 0 0 0 1.5rem;
					}

					.row.gtr-uniform {
						margin-top: -1.5rem;
					}

						.row.gtr-uniform > * {
							padding-top: 1.5rem;
						}

				.row.gtr-150 {
					margin-top: 0;
					margin-left: -2.25rem;
				}

					.row.gtr-150 > * {
						padding: 0 0 0 2.25rem;
					}

					.row.gtr-150.gtr-uniform {
						margin-top: -2.25rem;
					}

						.row.gtr-150.gtr-uniform > * {
							padding-top: 2.25rem;
						}

				.row.gtr-200 {
					margin-top: 0;
					margin-left: -3rem;
				}

					.row.gtr-200 > * {
						padding: 0 0 0 3rem;
					}

					.row.gtr-200.gtr-uniform {
						margin-top: -3rem;
					}

						.row.gtr-200.gtr-uniform > * {
							padding-top: 3rem;
						}

		}

		@media screen and (max-width: 360px) {

			.row {
				display: flex;
				flex-wrap: wrap;
				box-sizing: border-box;
				align-items: stretch;
			}

				.row > * {
					box-sizing: border-box;
				}

				.row.gtr-uniform > * > :last-child {
					margin-bottom: 0;
				}

				.row.aln-left {
					justify-content: flex-start;
				}

				.row.aln-center {
					justify-content: center;
				}

				.row.aln-right {
					justify-content: flex-end;
				}

				.row.aln-top {
					align-items: flex-start;
				}

				.row.aln-middle {
					align-items: center;
				}

				.row.aln-bottom {
					align-items: flex-end;
				}

				.row > .imp-xxsmall {
					order: -1;
				}

				.row > .col-1-xxsmall {
					width: 8.33333%;
				}

				.row > .off-1-xxsmall {
					margin-left: 8.33333%;
				}

				.row > .col-2-xxsmall {
					width: 16.66667%;
				}

				.row > .off-2-xxsmall {
					margin-left: 16.66667%;
				}

				.row > .col-3-xxsmall {
					width: 25%;
				}

				.row > .off-3-xxsmall {
					margin-left: 25%;
				}

				.row > .col-4-xxsmall {
					width: 33.33333%;
				}

				.row > .off-4-xxsmall {
					margin-left: 33.33333%;
				}

				.row > .col-5-xxsmall {
					width: 41.66667%;
				}

				.row > .off-5-xxsmall {
					margin-left: 41.66667%;
				}

				.row > .col-6-xxsmall {
					width: 50%;
				}

				.row > .off-6-xxsmall {
					margin-left: 50%;
				}

				.row > .col-7-xxsmall {
					width: 58.33333%;
				}

				.row > .off-7-xxsmall {
					margin-left: 58.33333%;
				}

				.row > .col-8-xxsmall {
					width: 66.66667%;
				}

				.row > .off-8-xxsmall {
					margin-left: 66.66667%;
				}

				.row > .col-9-xxsmall {
					width: 75%;
				}

				.row > .off-9-xxsmall {
					margin-left: 75%;
				}

				.row > .col-10-xxsmall {
					width: 83.33333%;
				}

				.row > .off-10-xxsmall {
					margin-left: 83.33333%;
				}

				.row > .col-11-xxsmall {
					width: 91.66667%;
				}

				.row > .off-11-xxsmall {
					margin-left: 91.66667%;
				}

				.row > .col-12-xxsmall {
					width: 100%;
				}

				.row > .off-12-xxsmall {
					margin-left: 100%;
				}

				.row.gtr-0 {
					margin-top: 0;
					margin-left: 0rem;
				}

					.row.gtr-0 > * {
						padding: 0 0 0 0rem;
					}

					.row.gtr-0.gtr-uniform {
						margin-top: 0rem;
					}

						.row.gtr-0.gtr-uniform > * {
							padding-top: 0rem;
						}

				.row.gtr-25 {
					margin-top: 0;
					margin-left: -0.375rem;
				}

					.row.gtr-25 > * {
						padding: 0 0 0 0.375rem;
					}

					.row.gtr-25.gtr-uniform {
						margin-top: -0.375rem;
					}

						.row.gtr-25.gtr-uniform > * {
							padding-top: 0.375rem;
						}

				.row.gtr-50 {
					margin-top: 0;
					margin-left: -0.75rem;
				}

					.row.gtr-50 > * {
						padding: 0 0 0 0.75rem;
					}

					.row.gtr-50.gtr-uniform {
						margin-top: -0.75rem;
					}

						.row.gtr-50.gtr-uniform > * {
							padding-top: 0.75rem;
						}

				.row {
					margin-top: 0;
					margin-left: -1.5rem;
				}

					.row > * {
						padding: 0 0 0 1.5rem;
					}

					.row.gtr-uniform {
						margin-top: -1.5rem;
					}

						.row.gtr-uniform > * {
							padding-top: 1.5rem;
						}

				.row.gtr-150 {
					margin-top: 0;
					margin-left: -2.25rem;
				}

					.row.gtr-150 > * {
						padding: 0 0 0 2.25rem;
					}

					.row.gtr-150.gtr-uniform {
						margin-top: -2.25rem;
					}

						.row.gtr-150.gtr-uniform > * {
							padding-top: 2.25rem;
						}

				.row.gtr-200 {
					margin-top: 0;
					margin-left: -3rem;
				}

					.row.gtr-200 > * {
						padding: 0 0 0 3rem;
					}

					.row.gtr-200.gtr-uniform {
						margin-top: -3rem;
					}

						.row.gtr-200.gtr-uniform > * {
							padding-top: 3rem;
						}

		}

/* Box */

	.box {
		border: solid 2px;
		margin-bottom: 2rem;
		padding: 1.5rem;
	}

		.box > :last-child,
		.box > :last-child > :last-child,
		.box > :last-child > :last-child > :last-child {
			margin-bottom: 0;
		}

		.box.alt {
			border: 0;
			border-radius: 0;
			padding: 0;
		}

	.box {
		border-color: #eeeeee;
	}

/* Button */

	input[type="submit"],
	input[type="reset"],
	input[type="button"],
	button,
	.button {
		-moz-appearance: none;
		-webkit-appearance: none;
		-ms-appearance: none;
		appearance: none;
		-moz-transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
		-webkit-transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
		-ms-transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
		transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
		border: 0;
		border-radius: 0;
		cursor: pointer;
		display: inline-block;
		font-family: "Source Sans Pro", Helvetica, sans-serif;
		font-size: 0.8rem;
		font-weight: 900;
		letter-spacing: 0.075em;
		height: 3rem;
		line-height: 3rem;
		padding: 0 2rem;
		text-align: center;
		text-decoration: none;
		text-transform: uppercase;
		white-space: nowrap;
	}

		input[type="submit"].icon:before,
		input[type="reset"].icon:before,
		input[type="button"].icon:before,
		button.icon:before,
		.button.icon:before {
			margin-right: 0.5rem;
		}

		input[type="submit"].icon.solo,
		input[type="reset"].icon.solo,
		input[type="button"].icon.solo,
		button.icon.solo,
		.button.icon.solo {
			position: relative;
			width: 4rem;
			height: 4rem;
			line-height: 4rem;
			border-radius: 4rem;
			text-indent: 4rem;
			overflow: hidden;
			padding: 0;
			white-space: nowrap;
		}

			input[type="submit"].icon.solo:before,
			input[type="reset"].icon.solo:before,
			input[type="button"].icon.solo:before,
			button.icon.solo:before,
			.button.icon.solo:before {
				position: absolute;
				display: block;
				top: 0;
				left: 0;
				width: inherit;
				height: inherit;
				line-height: inherit;
				font-size: 1.25rem;
				margin-right: 0;
				text-align: center;
				text-indent: 0;
			}

		input[type="submit"].fit,
		input[type="reset"].fit,
		input[type="button"].fit,
		button.fit,
		.button.fit {
			width: 100%;
		}

		input[type="submit"].small,
		input[type="reset"].small,
		input[type="button"].small,
		button.small,
		.button.small {
			font-size: 0.7rem;
			height: 2.5rem;
			line-height: 2.5rem;
			padding: 0 1.5rem;
		}

		input[type="submit"].large,
		input[type="reset"].large,
		input[type="button"].large,
		button.large,
		.button.large {
			font-size: 0.9rem;
			height: 3.5rem;
			line-height: 3.5rem;
			padding: 0 2.75rem;
		}

		@media screen and (max-width: 980px) {

			input[type="submit"],
			input[type="reset"],
			input[type="button"],
			button,
			.button {
				font-size: 0.9rem;
				height: 3.25rem;
				line-height: 3.25rem;
			}

				input[type="submit"].large,
				input[type="reset"].large,
				input[type="button"].large,
				button.large,
				.button.large {
					font-size: 1rem;
					height: 3.75rem;
					line-height: 3.75rem;
				}

		}

		input[type="submit"].disabled, input[type="submit"]:disabled,
		input[type="reset"].disabled,
		input[type="reset"]:disabled,
		input[type="button"].disabled,
		input[type="button"]:disabled,
		button.disabled,
		button:disabled,
		.button.disabled,
		.button:disabled {
			pointer-events: none;
			opacity: 0.25;
		}

	input[type="submit"],
	input[type="reset"],
	input[type="button"],
	button,
	.button {
		background-color: transparent;
		box-shadow: inset 0 0 0 2px #212931;
		color: #212931 !important;
	}

		input[type="submit"]:hover,
		input[type="reset"]:hover,
		input[type="button"]:hover,
		button:hover,
		.button:hover {
			box-shadow: inset 0 0 0 2px #18bfef;
			color: #18bfef !important;
		}

		input[type="submit"].primary,
		input[type="reset"].primary,
		input[type="button"].primary,
		button.primary,
		.button.primary {
			background-color: #212931;
			box-shadow: none;
			color: #ffffff !important;
		}

			input[type="submit"].primary:hover,
			input[type="reset"].primary:hover,
			input[type="button"].primary:hover,
			button.primary:hover,
			.button.primary:hover {
				background-color: #18bfef;
			}

/* Form */

	form {
		margin: 0 0 2rem 0;
	}

		form > :last-child {
			margin-bottom: 0;
		}

		form > .fields {
			display: -moz-flex;
			display: -webkit-flex;
			display: -ms-flex;
			display: flex;
			-moz-flex-wrap: wrap;
			-webkit-flex-wrap: wrap;
			-ms-flex-wrap: wrap;
			flex-wrap: wrap;
			width: calc(100% + 3rem);
			margin: -1.5rem 0 2rem -1.5rem;
		}

			form > .fields > .field {
				-moz-flex-grow: 0;
				-webkit-flex-grow: 0;
				-ms-flex-grow: 0;
				flex-grow: 0;
				-moz-flex-shrink: 0;
				-webkit-flex-shrink: 0;
				-ms-flex-shrink: 0;
				flex-shrink: 0;
				padding: 1.5rem 0 0 1.5rem;
				width: calc(100% - 1.5rem);
			}

				form > .fields > .field.half {
					width: calc(50% - 0.75rem);
				}

				form > .fields > .field.third {
					width: calc(100%/3 - 0.5rem);
				}

				form > .fields > .field.quarter {
					width: calc(25% - 0.375rem);
				}

		@media screen and (max-width: 480px) {

			form > .fields {
				width: calc(100% + 3rem);
				margin: -1.5rem 0 2rem -1.5rem;
			}

				form > .fields > .field {
					padding: 1.5rem 0 0 1.5rem;
					width: calc(100% - 1.5rem);
				}

					form > .fields > .field.half {
						width: calc(100% - 1.5rem);
					}

					form > .fields > .field.third {
						width: calc(100% - 1.5rem);
					}

					form > .fields > .field.quarter {
						width: calc(100% - 1.5rem);
					}

		}

	label {
		display: block;
		font-family: "Source Sans Pro", Helvetica, sans-serif;
		font-weight: 900;
		line-height: 1.5;
		letter-spacing: 0.075em;
		font-size: 0.8rem;
		text-transform: uppercase;
		margin: 0 0 0.75rem 0;
	}

		@media screen and (max-width: 980px) {

			label {
				font-size: 0.9rem;
			}

		}

	input[type="text"],
	input[type="password"],
	input[type="email"],
	select,
	textarea {
		-moz-appearance: none;
		-webkit-appearance: none;
		-ms-appearance: none;
		appearance: none;
		background: transparent;
		border-radius: 0;
		border: solid 2px;
		color: inherit;
		display: block;
		outline: 0;
		padding: 0 1rem;
		text-decoration: none;
		width: 100%;
	}

		input[type="text"]:invalid,
		input[type="password"]:invalid,
		input[type="email"]:invalid,
		select:invalid,
		textarea:invalid {
			box-shadow: none;
		}

	select {
		background-size: 1.25rem;
		background-repeat: no-repeat;
		background-position: calc(100% - 1rem) center;
		height: 3rem;
		padding-right: 3rem;
		text-overflow: ellipsis;
	}

		select:focus::-ms-value {
			background-color: transparent;
		}

		select::-ms-expand {
			display: none;
		}

	input[type="text"],
	input[type="password"],
	input[type="email"],
	select {
		height: 3rem;
	}

	textarea {
		padding: 0.75rem 1rem;
	}

	input[type="checkbox"],
	input[type="radio"] {
		-moz-appearance: none;
		-webkit-appearance: none;
		-ms-appearance: none;
		appearance: none;
		display: block;
		float: left;
		margin-right: -2rem;
		opacity: 0;
		width: 1rem;
		z-index: -1;
	}

		input[type="checkbox"] + label,
		input[type="radio"] + label {
			text-decoration: none;
			cursor: pointer;
			display: inline-block;
			font-size: 1rem;
			letter-spacing: 0;
			font-family: "Merriweather", Georgia, serif;
			text-transform: none;
			font-weight: 300;
			padding-left: 2.8rem;
			padding-right: 1rem;
			position: relative;
		}

			input[type="checkbox"] + label:before,
			input[type="radio"] + label:before {
				-moz-osx-font-smoothing: grayscale;
				-webkit-font-smoothing: antialiased;
				display: inline-block;
				font-style: normal;
				font-variant: normal;
				text-rendering: auto;
				line-height: 1;
				text-transform: none !important;
				font-family: 'Font Awesome 5 Free';
				font-weight: 900;
			}

			input[type="checkbox"] + label:before,
			input[type="radio"] + label:before {
				border-radius: 0;
				border: solid 2px;
				content: '';
				display: inline-block;
				font-size: 0.8rem;
				height: 1.8rem;
				left: 0;
				line-height: 1.65rem;
				position: absolute;
				text-align: center;
				top: -0.125rem;
				width: 1.8rem;
			}

		input[type="checkbox"]:checked + label:before,
		input[type="radio"]:checked + label:before {
			content: '\f00c';
		}

	input[type="checkbox"] + label:before {
		border-radius: 0;
	}

	input[type="radio"] + label:before {
		border-radius: 100%;
	}

	::-webkit-input-placeholder {
		opacity: 1.0;
	}

	:-moz-placeholder {
		opacity: 1.0;
	}

	::-moz-placeholder {
		opacity: 1.0;
	}

	:-ms-input-placeholder {
		opacity: 1.0;
	}

	label {
		color: #212931;
	}

	input[type="text"],
	input[type="password"],
	input[type="email"],
	select,
	textarea {
		border-color: #eeeeee;
	}

		input[type="text"]:focus,
		input[type="password"]:focus,
		input[type="email"]:focus,
		select:focus,
		textarea:focus {
			border-color: #18bfef;
		}

	select {
		background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'%3E%3Cpath d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='%23eeeeee' /%3E%3C/svg%3E");
	}

		select option {
			background-color: #ffffff;
			color: #212931;
		}

	.select-wrapper:before {
		color: #eeeeee;
	}

	input[type="checkbox"] + label,
	input[type="radio"] + label {
		color: #212931;
	}

		input[type="checkbox"] + label:before,
		input[type="radio"] + label:before {
			border-color: #eeeeee;
		}

	input[type="checkbox"]:checked + label:before,
	input[type="radio"]:checked + label:before {
		background-color: #212931;
		border-color: #212931;
		color: #ffffff;
	}

	input[type="checkbox"]:focus + label:before,
	input[type="radio"]:focus + label:before {
		border-color: #18bfef;
	}

	::-webkit-input-placeholder {
		color: #909498 !important;
	}

	:-moz-placeholder {
		color: #909498 !important;
	}

	::-moz-placeholder {
		color: #909498 !important;
	}

	:-ms-input-placeholder {
		color: #909498 !important;
	}

	.formerize-placeholder {
		color: #909498 !important;
	}

/* Icon */

	.icon {
		text-decoration: none;
		border-bottom: none;
		position: relative;
	}

		.icon:before {
			-moz-osx-font-smoothing: grayscale;
			-webkit-font-smoothing: antialiased;
			display: inline-block;
			font-style: normal;
			font-variant: normal;
			text-rendering: auto;
			line-height: 1;
			text-transform: none !important;
			font-family: 'Font Awesome 5 Free';
			font-weight: 400;
		}

		.icon > .label {
			display: none;
		}

		.icon:before {
			line-height: inherit;
		}

		.icon.solid:before {
			font-weight: 900;
		}

		.icon.brands:before {
			font-family: 'Font Awesome 5 Brands';
		}

/* Image */

	.image {
		border: 0;
		display: inline-block;
		position: relative;
	}

		.image img {
			display: block;
		}

		.image.left, .image.right {
			max-width: 40%;
		}

			.image.left img, .image.right img {
				width: 100%;
			}

		.image.left {
			float: left;
			margin: 0 2rem 2rem 0;
			top: 0.75rem;
		}

		.image.right {
			float: right;
			margin: 0 0 2rem 2rem;
			top: 0.75rem;
		}

		.image.fit {
			display: block;
			margin: 2.5rem 0;
			width: 100%;
		}

			.image.fit:first-child {
				margin-top: 0;
			}

			.image.fit img {
				width: 100%;
			}

		.image.main {
			display: block;
			margin: 4rem 0;
			width: 100%;
		}

			.image.main:first-child {
				margin-top: 0;
			}

			.image.main img {
				width: 100%;
			}

		@media screen and (max-width: 736px) {

			.image.fit {
				margin: 2rem 0;
			}

			.image.main {
				margin: 2rem 0;
			}

		}

	a.image {
		overflow: hidden;
	}

		a.image img {
			-moz-transition: -moz-transform 0.2s ease-out;
			-webkit-transition: -webkit-transform 0.2s ease-out;
			-ms-transition: -ms-transform 0.2s ease-out;
			transition: transform 0.2s ease-out;
		}

		a.image:hover img {
			-moz-transform: scale(1.05);
			-webkit-transform: scale(1.05);
			-ms-transform: scale(1.05);
			transform: scale(1.05);
		}

/* Actions */

	ul.actions {
		display: -moz-flex;
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		cursor: default;
		list-style: none;
		margin-left: -1rem;
		padding-left: 0;
	}

		ul.actions li {
			padding: 0 0 0 1rem;
			vertical-align: middle;
		}

		ul.actions.special {
			-moz-justify-content: center;
			-webkit-justify-content: center;
			-ms-justify-content: center;
			justify-content: center;
			width: 100%;
			margin-left: 0;
		}

			ul.actions.special li:first-child {
				padding-left: 0;
			}

		ul.actions.stacked {
			-moz-flex-direction: column;
			-webkit-flex-direction: column;
			-ms-flex-direction: column;
			flex-direction: column;
			margin-left: 0;
		}

			ul.actions.stacked li {
				padding: 1.3rem 0 0 0;
			}

				ul.actions.stacked li:first-child {
					padding-top: 0;
				}

		ul.actions.fit {
			width: calc(100% + 1rem);
		}

			ul.actions.fit li {
				-moz-flex-grow: 1;
				-webkit-flex-grow: 1;
				-ms-flex-grow: 1;
				flex-grow: 1;
				-moz-flex-shrink: 1;
				-webkit-flex-shrink: 1;
				-ms-flex-shrink: 1;
				flex-shrink: 1;
				width: 100%;
			}

				ul.actions.fit li > * {
					width: 100%;
				}

			ul.actions.fit.stacked {
				width: 100%;
			}

		@media screen and (max-width: 480px) {

			ul.actions:not(.fixed) {
				-moz-flex-direction: column;
				-webkit-flex-direction: column;
				-ms-flex-direction: column;
				flex-direction: column;
				margin-left: 0;
				width: 100% !important;
			}

				ul.actions:not(.fixed) li {
					-moz-flex-grow: 1;
					-webkit-flex-grow: 1;
					-ms-flex-grow: 1;
					flex-grow: 1;
					-moz-flex-shrink: 1;
					-webkit-flex-shrink: 1;
					-ms-flex-shrink: 1;
					flex-shrink: 1;
					padding: 1rem 0 0 0;
					text-align: center;
					width: 100%;
				}

					ul.actions:not(.fixed) li > * {
						width: 100%;
					}

					ul.actions:not(.fixed) li:first-child {
						padding-top: 0;
					}

					ul.actions:not(.fixed) li input[type="submit"],
					ul.actions:not(.fixed) li input[type="reset"],
					ul.actions:not(.fixed) li input[type="button"],
					ul.actions:not(.fixed) li button,
					ul.actions:not(.fixed) li .button {
						width: 100%;
					}

						ul.actions:not(.fixed) li input[type="submit"].icon:before,
						ul.actions:not(.fixed) li input[type="reset"].icon:before,
						ul.actions:not(.fixed) li input[type="button"].icon:before,
						ul.actions:not(.fixed) li button.icon:before,
						ul.actions:not(.fixed) li .button.icon:before {
							margin-left: -0.5rem;
						}

		}

/* Icons */

	ul.icons {
		cursor: default;
		list-style: none;
		padding-left: 0;
	}

		ul.icons li {
			display: inline-block;
			padding: 0 0.5rem 0 0;
			vertical-align: middle;
		}

			ul.icons li:last-child {
				padding-right: 0;
			}

			ul.icons li .icon:before {
				width: 2.25rem;
				height: 2.25rem;
				line-height: 2.25rem;
				display: inline-block;
				text-align: center;
				border-radius: 100%;
				font-size: 1.25rem;
			}

		ul.icons.alt li .icon:before {
			-moz-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
			-webkit-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
			-ms-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
			transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
			font-size: 1rem;
		}

/* List */

	ol {
		list-style: decimal;
		margin: 0 0 2rem 0;
		padding-left: 1.25rem;
	}

		ol li {
			padding-left: 0.25rem;
		}

	ul {
		list-style: disc;
		margin: 0 0 2rem 0;
		padding-left: 1rem;
	}

		ul li {
			padding-left: 0.5rem;
		}

		ul.divided {
			list-style: none;
			padding-left: 0;
		}

			ul.divided li {
				border-top: solid 1px;
				padding: 0.5rem 0;
			}

				ul.divided li:first-child {
					border-top: 0;
					padding-top: 0;
				}

	dl {
		margin: 0 0 2rem 0;
	}

		dl dt {
			display: block;
			font-weight: 600;
			margin: 0 0 1rem 0;
		}

		dl dd {
			margin-left: 2rem;
		}

	ul.divided li {
		border-top-color: #eeeeee;
	}

	ul.icons li a.icon:hover:before {
		color: #18bfef;
	}

	ul.icons.alt li .icon:before {
		box-shadow: inset 0 0 0 2px #eeeeee;
	}

	ul.icons.alt li a.icon:hover:before {
		box-shadow: inset 0 0 0 2px #18bfef;
	}

/* Section/Article */

	section.special, article.special {
		text-align: center;
	}

	header {
		cursor: default;
	}

		header > .date {
			display: block;
			font-size: 0.8rem;
			height: 1;
			margin: 0 0 1rem 0;
			position: relative;
		}

		header > p {
			font-style: italic;
		}

		header > h1 + p {
			font-size: 1.1rem;
			margin-top: -0.5rem;
			line-height: 2;
		}

		header > h2 + p {
			font-size: 1rem;
			margin-top: -0.75rem;
		}

		header > h3 + p {
			font-size: 0.9rem;
			margin-top: -0.75rem;
		}

		header > h4 + p {
			font-size: 0.8rem;
			margin-top: -0.75rem;
		}

		header.major {
			margin: 0 0 4rem 0;
			text-align: center;
		}

			header.major > :last-child {
				margin-bottom: 0;
			}

			header.major > p {
				margin-top: 0;
				text-align: center;
			}

			header.major > .date {
				font-size: 1rem;
				margin: 0 0 4rem 0;
			}

				header.major > .date:before, header.major > .date:after {
					content: '';
					display: block;
					position: absolute;
					top: 50%;
					width: calc(50% - 6rem);
					border-top: solid 2px;
				}

				header.major > .date:before {
					left: 0;
				}

				header.major > .date:after {
					right: 0;
				}

		@media screen and (max-width: 980px) {

			header br {
				display: none;
			}

		}

		@media screen and (max-width: 736px) {

			header.major {
				margin: 0 0 2rem 0;
			}

		}

	header.major .date:before, header.major .date:after {
		border-top-color: #eeeeee;
	}

/* Table */

	.table-wrapper {
		-webkit-overflow-scrolling: touch;
		overflow-x: auto;
	}

	table {
		margin: 0 0 2rem 0;
		width: 100%;
	}

		table tbody tr {
			border: solid 1px;
			border-left: 0;
			border-right: 0;
		}

		table td {
			padding: 0.75rem 0.75rem;
		}

		table th {
			font-family: "Source Sans Pro", Helvetica, sans-serif;
			font-size: 0.8rem;
			font-weight: 900;
			letter-spacing: 0.075em;
			line-height: 1.5;
			padding: 0 0.75rem 0.75rem 0.75rem;
			text-align: left;
			text-transform: uppercase;
		}

			@media screen and (max-width: 980px) {

				table th {
					font-size: 0.9rem;
				}

			}

		table thead {
			border-bottom: solid 2px;
		}

		table tfoot {
			border-top: solid 2px;
		}

		table.alt {
			border-collapse: separate;
		}

			table.alt tbody tr td {
				border: solid 1px;
				border-left-width: 0;
				border-top-width: 0;
			}

				table.alt tbody tr td:first-child {
					border-left-width: 1px;
				}

			table.alt tbody tr:first-child td {
				border-top-width: 1px;
			}

			table.alt thead {
				border-bottom: 0;
			}

			table.alt tfoot {
				border-top: 0;
			}

	table tbody tr {
		border-color: #eeeeee;
	}

		table tbody tr:nth-child(2n + 1) {
			background-color: rgba(220, 220, 220, 0.25);
		}

	table th {
		color: #212931;
	}

	table thead {
		border-bottom-color: #eeeeee;
	}

	table tfoot {
		border-top-color: #eeeeee;
	}

	table.alt tbody tr td {
		border-color: #eeeeee;
	}

/* Pagination */

	.pagination {
		display: -moz-inline-flex;
		display: -webkit-inline-flex;
		display: -ms-inline-flex;
		display: inline-flex;
		-moz-user-select: none;
		-webkit-user-select: none;
		-ms-user-select: none;
		user-select: none;
		cursor: default;
		list-style: none;
		margin: 0 0 2rem 2px;
		padding: 0;
	}

		.pagination a, .pagination span {
			-moz-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
			-webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
			-ms-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
			transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
			border: solid 2px;
			display: inline-block;
			font-family: "Source Sans Pro", Helvetica, sans-serif;
			font-size: 0.8rem;
			font-weight: 900;
			height: 3rem;
			letter-spacing: 0.075em;
			line-height: calc(3rem - 4px);
			margin-left: -2px;
			min-width: 3rem;
			position: relative;
			text-align: center;
			text-decoration: none;
			text-transform: uppercase;
		}

		.pagination .next, .pagination .previous {
			text-decoration: none;
			padding: 0 1.75rem;
		}

			.pagination .next:before, .pagination .previous:before {
				-moz-osx-font-smoothing: grayscale;
				-webkit-font-smoothing: antialiased;
				display: inline-block;
				font-style: normal;
				font-variant: normal;
				text-rendering: auto;
				line-height: 1;
				text-transform: none !important;
				font-family: 'Font Awesome 5 Free';
				font-weight: 900;
			}

			.pagination .next:before, .pagination .previous:before {
				display: inline-block;
				color: inherit !important;
				line-height: inherit;
			}

		.pagination .previous:before {
			content: '\f104';
			margin-right: 0.9375em;
		}

		.pagination .next:before {
			content: '\f105';
			float: right;
			margin-left: 0.9375em;
		}

		@media screen and (max-width: 980px) {

			.pagination a, .pagination span {
				font-size: 0.9rem;
			}

		}

		@media screen and (max-width: 480px) {

			.pagination .page, .pagination .extra {
				display: none;
			}

		}

	.pagination a, .pagination span {
		border-color: #eeeeee;
	}

	.pagination a {
		color: #212931 !important;
	}

		.pagination a:hover {
			color: #18bfef !important;
			border-color: #18bfef;
			z-index: 1;
		}

			.pagination a:hover + a,
			.pagination a:hover + span {
				border-left-color: #18bfef;
			}

		.pagination a.active {
			background-color: #eeeeee;
		}

	.pagination span {
		color: #eeeeee;
	}

/* Wrapper */

	#wrapper {
		-moz-transition: opacity 0.5s ease;
		-webkit-transition: opacity 0.5s ease;
		-ms-transition: opacity 0.5s ease;
		transition: opacity 0.5s ease;
		position: relative;
		z-index: 1;
		overflow: hidden;
	}

		#wrapper > .bg {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			background-color: #212931;
			background-image: url("/images/site-texture.e7e5bbf97ef6.png"), linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), var(--custom-site-bg, url("/images/site-bg.7a1a206fa5d5.jpg"));
			background-size: auto,								auto,														100% auto;
			background-position: center,								center,														top center;
			background-repeat: repeat,								no-repeat,													no-repeat;
			background-attachment: scroll,								scroll,														scroll;
			z-index: -1;
		}

			#wrapper > .bg.fixed {
				position: fixed;
				width: 100vw;
				height: 100vh;
			}

		#wrapper.fade-in:before {
			pointer-events: none;
			-moz-transition: opacity 1s ease-in-out;
			-webkit-transition: opacity 1s ease-in-out;
			-ms-transition: opacity 1s ease-in-out;
			transition: opacity 1s ease-in-out;
			-moz-transition-delay: 0.75s;
			-webkit-transition-delay: 0.75s;
			-ms-transition-delay: 0.75s;
			transition-delay: 0.75s;
			background: #1e252d;
			content: '';
			display: block;
			height: 100%;
			left: 0;
			opacity: 0;
			position: fixed;
			top: 0;
			width: 100%;
		}

		body.is-preload #wrapper.fade-in:before {
			opacity: 1;
		}

		@media screen and (orientation: portrait) {

			#wrapper > .bg {
				background-size: auto,								auto,														auto 175%;
			}

		}

/* Intro */

	#intro {
		color: #ffffff;
		padding: 8rem 4rem 6rem 4rem ;
		-moz-align-items: center;
		-webkit-align-items: center;
		-ms-align-items: center;
		align-items: center;
		display: -moz-flex;
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		-moz-flex-direction: column;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		-moz-justify-content: -moz-flex-end;
		-webkit-justify-content: -webkit-flex-end;
		-ms-justify-content: -ms-flex-end;
		justify-content: flex-end;
		-moz-transition: opacity 1s ease, -moz-transform 1s ease;
		-webkit-transition: opacity 1s ease, -webkit-transform 1s ease;
		-ms-transition: opacity 1s ease, -ms-transform 1s ease;
		transition: opacity 1s ease, transform 1s ease;
		position: relative;
		cursor: default;
		text-align: center;
		z-index: 1;
		min-height: 100vh;
	}

		#intro input, #intro select, #intro textarea {
			color: #ffffff;
		}

		#intro a {
			color: #ffffff;
			border-bottom-color: rgba(255, 255, 255, 0.5);
		}

			#intro a:hover {
				border-bottom-color: transparent;
				color: #18bfef !important;
			}

		#intro strong, #intro b {
			color: #ffffff;
		}

		#intro h1, #intro h2, #intro h3, #intro h4, #intro h5, #intro h6 {
			color: #ffffff;
		}

		#intro blockquote {
			border-left-color: #ffffff;
		}

		#intro code {
			background: rgba(255, 255, 255, 0.075);
			border-color: #ffffff;
		}

		#intro hr {
			border-bottom-color: #ffffff;
		}

		#intro input[type="submit"],
		#intro input[type="reset"],
		#intro input[type="button"],
		#intro button,
		#intro .button {
			background-color: transparent;
			box-shadow: inset 0 0 0 2px #ffffff;
			color: #ffffff !important;
		}

			#intro input[type="submit"]:hover,
			#intro input[type="reset"]:hover,
			#intro input[type="button"]:hover,
			#intro button:hover,
			#intro .button:hover {
				box-shadow: inset 0 0 0 2px #18bfef;
				color: #18bfef !important;
			}

			#intro input[type="submit"].primary,
			#intro input[type="reset"].primary,
			#intro input[type="button"].primary,
			#intro button.primary,
			#intro .button.primary {
				background-color: #ffffff;
				box-shadow: none;
				color: #1e252d !important;
			}

				#intro input[type="submit"].primary:hover,
				#intro input[type="reset"].primary:hover,
				#intro input[type="button"].primary:hover,
				#intro button.primary:hover,
				#intro .button.primary:hover {
					background-color: #18bfef;
				}

		#intro h1 {
			font-size: 5rem;
			line-height: 1;
		}

		#intro p {
			font-size: 1.25rem;
			font-style: italic;
			margin-top: -0.25rem;
			text-align: center;
		}

		#intro + #header {
			margin-top: -20rem;
		}

			#intro + #header .logo {
				-moz-transform: translateY(2rem);
				-webkit-transform: translateY(2rem);
				-ms-transform: translateY(2rem);
				transform: translateY(2rem);
				opacity: 0;
				visibility: hidden;
			}

		#intro.hidden {
			pointer-events: none;
			-moz-transform: translateY(2rem);
			-webkit-transform: translateY(2rem);
			-ms-transform: translateY(2rem);
			transform: translateY(2rem);
			-moz-transition: opacity 0.5s ease, -moz-transform 0.5s ease, visibility 0.5s;
			-webkit-transition: opacity 0.5s ease, -webkit-transform 0.5s ease, visibility 0.5s;
			-ms-transition: opacity 0.5s ease, -ms-transform 0.5s ease, visibility 0.5s;
			transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
			opacity: 0;
			visibility: hidden;
		}

			#intro.hidden + #header .logo {
				-moz-transform: translateY(0);
				-webkit-transform: translateY(0);
				-ms-transform: translateY(0);
				transform: translateY(0);
				opacity: 1;
				visibility: visible;
			}

		body.is-preload #intro {
			-moz-transform: translateY(2rem);
			-webkit-transform: translateY(2rem);
			-ms-transform: translateY(2rem);
			transform: translateY(2rem);
			opacity: 0;
		}

			body.is-preload #intro:not(.hidden) + #header + #nav {
				-moz-transform: translateY(4rem);
				-webkit-transform: translateY(4rem);
				-ms-transform: translateY(4rem);
				transform: translateY(4rem);
				opacity: 0;
			}

		@media screen and (max-width: 980px) {

			#intro {
				padding: 4rem 4rem 2rem 4rem ;
				min-height: 90vh;
			}

				#intro p br {
					display: none;
				}

				#intro + #header {
					margin-top: -14rem;
				}

		}

		@media screen and (max-width: 736px) {

			#intro {
				padding: 3rem 2rem 1rem 2rem ;
				min-height: 80vh;
			}

				#intro h1 {
					font-size: 3.25rem;
					line-height: 1.1;
					margin-bottom: 1rem;
				}

				#intro p {
					font-size: 1rem;
					margin-top: 0rem;
				}

				#intro .actions {
					display: none;
				}

		}

/* Header */

	#header {
		color: #ffffff;
		-moz-align-items: center;
		-webkit-align-items: center;
		-ms-align-items: center;
		align-items: center;
		display: -moz-flex;
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		-moz-flex-direction: column;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		-moz-justify-content: -moz-flex-end;
		-webkit-justify-content: -webkit-flex-end;
		-ms-justify-content: -ms-flex-end;
		justify-content: flex-end;
		pointer-events: none;
		-moz-user-select: none;
		-webkit-user-select: none;
		-ms-user-select: none;
		user-select: none;
		height: 20rem;
		padding-bottom: 8rem;
		position: relative;
		text-align: center;
		z-index: 2;
	}

		#header input, #header select, #header textarea {
			color: #ffffff;
		}

		#header a {
			color: #ffffff;
			border-bottom-color: rgba(255, 255, 255, 0.5);
		}

			#header a:hover {
				border-bottom-color: transparent;
				color: #18bfef !important;
			}

		#header strong, #header b {
			color: #ffffff;
		}

		#header h1, #header h2, #header h3, #header h4, #header h5, #header h6 {
			color: #ffffff;
		}

		#header blockquote {
			border-left-color: #ffffff;
		}

		#header code {
			background: rgba(255, 255, 255, 0.075);
			border-color: #ffffff;
		}

		#header hr {
			border-bottom-color: #ffffff;
		}

		#header .logo {
			-moz-transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.5s ease, -moz-transform 0.5s ease, visibility 0.5s;
			-webkit-transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.5s ease, -webkit-transform 0.5s ease, visibility 0.5s;
			-ms-transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.5s ease, -ms-transform 0.5s ease, visibility 0.5s;
			transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
			pointer-events: auto;
			border-style: solid;
			border-color: #ffffff;
			border-width: 5px !important;
			font-family: "Source Sans Pro", Helvetica, sans-serif;
			font-size: 2.25rem;
			font-weight: 900;
			letter-spacing: 0.075em;
			line-height: 1;
			padding: 1rem 1.75rem;
			text-transform: uppercase;
			visibility: visible;
		}

			#header .logo:hover {
				border-color: #18bfef !important;
				color: #18bfef !important;
			}

		@media screen and (max-width: 980px) {

			#header {
				height: 14rem;
				padding-bottom: 4rem;
			}

		}

		@media screen and (max-width: 736px) {

			#header {
				padding-bottom: 3rem;
			}

				#header .logo {
					font-size: 1.75rem;
					border-width: 3px !important;
				}

		}

/* Nav */

	#nav {
		color: #ffffff;
		display: -moz-flex;
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		-moz-transition: -moz-transform 1s ease, opacity 1s ease;
		-webkit-transition: -webkit-transform 1s ease, opacity 1s ease;
		-ms-transition: -ms-transform 1s ease, opacity 1s ease;
		transition: transform 1s ease, opacity 1s ease;
		background: rgba(255, 255, 255, 0.175);
		height: 4rem;
		line-height: 4rem;
		margin: -4rem auto 0 auto;
		overflow: hidden;
		padding: 0 2rem 0 0;
		position: relative;
		width: calc(100% - 4rem);
		max-width: 72rem;
		z-index: 2;
	}

		#nav ul.divided li {
			border-top-color: #ffffff;
		}

		#nav ul.icons li a.icon:hover:before {
			color: #18bfef;
		}

		#nav ul.icons.alt li .icon:before {
			box-shadow: inset 0 0 0 2px #ffffff;
		}

		#nav ul.icons.alt li a.icon:hover:before {
			box-shadow: inset 0 0 0 2px #18bfef;
		}

		#nav input, #nav select, #nav textarea {
			color: #ffffff;
		}

		#nav a {
			color: #ffffff;
			border-bottom-color: rgba(255, 255, 255, 0.5);
		}

			#nav a:hover {
				border-bottom-color: transparent;
				color: #18bfef !important;
			}

		#nav strong, #nav b {
			color: #ffffff;
		}

		#nav h1, #nav h2, #nav h3, #nav h4, #nav h5, #nav h6 {
			color: #ffffff;
		}

		#nav blockquote {
			border-left-color: #ffffff;
		}

		#nav code {
			background: rgba(255, 255, 255, 0.075);
			border-color: #ffffff;
		}

		#nav hr {
			border-bottom-color: #ffffff;
		}

		#nav ul.links {
			display: -moz-flex;
			display: -webkit-flex;
			display: -ms-flex;
			display: flex;
			-moz-flex-grow: 1;
			-webkit-flex-grow: 1;
			-ms-flex-grow: 1;
			flex-grow: 1;
			-moz-flex-shrink: 1;
			-webkit-flex-shrink: 1;
			-ms-flex-shrink: 1;
			flex-shrink: 1;
			font-family: "Source Sans Pro", Helvetica, sans-serif;
			font-weight: 900;
			letter-spacing: 0.075em;
			list-style: none;
			margin-bottom: 0;
			padding-left: 0;
			text-transform: uppercase;
		}

			#nav ul.links li {
				display: block;
				padding-left: 0;
			}

				#nav ul.links li a {
					-moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
					-webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
					-ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
					transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
					display: block;
					font-size: 0.8rem;
					outline: none;
					padding: 0 2rem;
				}

					#nav ul.links li a:hover {
						color: inherit !important;
						background-color: rgba(255, 255, 255, 0.1);
					}

				#nav ul.links li.active {
					background-color: #ffffff;
				}

					#nav ul.links li.active a {
						color: #1e252d;
					}

						#nav ul.links li.active a:hover {
							color: #18bfef !important;
						}

		#nav ul.icons {
			-moz-flex-grow: 0;
			-webkit-flex-grow: 0;
			-ms-flex-grow: 0;
			flex-grow: 0;
			-moz-flex-shrink: 0;
			-webkit-flex-shrink: 0;
			-ms-flex-shrink: 0;
			flex-shrink: 0;
			margin-bottom: 0;
		}

		@media screen and (max-width: 980px) {

			#nav {
				display: none;
			}

		}

/* Main */

	#main {
		background-color: #ffffff;
		position: relative;
		margin: 0 auto;
		width: calc(100% - 4rem);
		max-width: 72rem;
		z-index: 2;
	}

		#main > * {
			padding: 4rem 4rem 2rem 4rem ;
			border-top: solid 2px #eeeeee;
			margin: 0;
		}

			#main > *:first-child {
				border-top: 0;
			}

		#main > footer {
			text-align: center;
		}

		#main > .post {
			padding: 8rem 8rem 6rem 8rem ;
		}

			#main > .post header.major > .date {
				margin-top: -2rem;
			}

			#main > .post header.major > h1, #main > .post header.major h2 {
				font-size: 4rem;
				line-height: 1.1;
				margin: 0 0 2rem 0;
			}

			#main > .post.featured {
				text-align: center;
			}

			@media screen and (max-width: 1280px) {

				#main > .post {
					padding: 6rem 4rem 4rem 4rem ;
				}

			}

			@media screen and (max-width: 736px) {

				#main > .post {
					padding: 4rem 2rem 2rem 2rem ;
				}

					#main > .post header.major > .date {
						margin-top: -1rem;
						margin-bottom: 2rem;
					}

					#main > .post header.major > h1, #main > .post header.major h2 {
						font-size: 2.5rem;
						line-height: 1.2;
						margin: 0 0 1.5rem 0;
					}

			}

		#main > .posts {
			display: -moz-flex;
			display: -webkit-flex;
			display: -ms-flex;
			display: flex;
			-moz-flex-wrap: wrap;
			-webkit-flex-wrap: wrap;
			-ms-flex-wrap: wrap;
			flex-wrap: wrap;
			-moz-align-items: -moz-stretch;
			-webkit-align-items: -webkit-stretch;
			-ms-align-items: -ms-stretch;
			align-items: stretch;
			text-align: center;
			width: 100%;
			padding: 0;
		}

			#main > .posts > * {
				-moz-flex-shrink: 1;
				-webkit-flex-shrink: 1;
				-ms-flex-shrink: 1;
				flex-shrink: 1;
				-moz-flex-grow: 0;
				-webkit-flex-grow: 0;
				-ms-flex-grow: 0;
				flex-grow: 0;
			}

			#main > .posts > * {
				width: 50%;
			}

			#main > .posts > * {
				padding: 4rem;
				width: 50%;
			}

			#main > .posts > article {
				border-color: #eeeeee;
				border-left-width: 2px;
				border-style: solid;
				border-top-width: 2px;
				text-align: center;
			}

				#main > .posts > article > :last-child {
					margin-bottom: 0;
				}

				#main > .posts > article:nth-child(2n - 1) {
					border-left-width: 0;
				}

				#main > .posts > article:nth-child(-n + 2) {
					border-top-width: 0;
				}

			@media screen and (max-width: 980px) {

				#main > .posts > * {
					width: 50%;
				}

				#main > .posts > * {
					padding: 2.5rem;
					width: 50%;
				}

			}

			@media screen and (max-width: 736px) {

				#main > .posts > * {
					width: 100%;
				}

				#main > .posts > * {
					padding: 2rem;
					width: 100%;
				}

				#main > .posts > article:nth-child(2n - 1) {
					border-left-width: 2px;
				}

				#main > .posts > article:nth-child(-n + 2) {
					border-top-width: 2px;
				}

				#main > .posts > article:nth-child(n) {
					border-left-width: 0;
				}

				#main > .posts > article:nth-child(-n + 1) {
					border-top-width: 0;
				}

				#main > .posts > article .image {
					max-width: 25rem;
					margin-left: auto;
					margin-right: auto;
				}

			}

		@media screen and (max-width: 736px) {

			#main > * {
				padding: 2rem 2rem 0.1rem 2rem ;
			}

		}

		@media screen and (max-width: 480px) {

			#main {
				width: 100%;
			}

		}

/* Footer */

	#footer {
		color: #717981;
		display: -moz-flex;
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		background-color: #f5f5f5;
		color: #909498;
		cursor: default;
		position: relative;
		margin: 0 auto;
		width: calc(100% - 4rem);
		max-width: 72rem;
		z-index: 2;
	}

		#footer input, #footer select, #footer textarea {
			color: #717981;
		}

		#footer a {
			color: #717981;
			border-bottom-color: rgba(113, 121, 129, 0.5);
		}

			#footer a:hover {
				border-bottom-color: transparent;
				color: #18bfef !important;
			}

		#footer strong, #footer b {
			color: #717981;
		}

		#footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6 {
			color: #717981;
		}

		#footer blockquote {
			border-left-color: #e2e2e2;
		}

		#footer code {
			background: rgba(220, 220, 220, 0.5);
			border-color: #e2e2e2;
		}

		#footer hr {
			border-bottom-color: #e2e2e2;
		}

		#footer .box {
			border-color: #e2e2e2;
		}

		#footer input[type="submit"],
		#footer input[type="reset"],
		#footer input[type="button"],
		#footer button,
		#footer .button {
			background-color: transparent;
			box-shadow: inset 0 0 0 2px #717981;
			color: #717981 !important;
		}

			#footer input[type="submit"]:hover,
			#footer input[type="reset"]:hover,
			#footer input[type="button"]:hover,
			#footer button:hover,
			#footer .button:hover {
				box-shadow: inset 0 0 0 2px #18bfef;
				color: #18bfef !important;
			}

			#footer input[type="submit"].primary,
			#footer input[type="reset"].primary,
			#footer input[type="button"].primary,
			#footer button.primary,
			#footer .button.primary {
				background-color: #717981;
				box-shadow: none;
				color: #f5f5f5 !important;
			}

				#footer input[type="submit"].primary:hover,
				#footer input[type="reset"].primary:hover,
				#footer input[type="button"].primary:hover,
				#footer button.primary:hover,
				#footer .button.primary:hover {
					background-color: #18bfef;
				}

		#footer label {
			color: #717981;
		}

		#footer input[type="text"],
		#footer input[type="password"],
		#footer input[type="email"],
		#footer select,
		#footer textarea {
			border-color: #e2e2e2;
		}

			#footer input[type="text"]:focus,
			#footer input[type="password"]:focus,
			#footer input[type="email"]:focus,
			#footer select:focus,
			#footer textarea:focus {
				border-color: #18bfef;
			}

		#footer select {
			background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'%3E%3Cpath d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='%23e2e2e2' /%3E%3C/svg%3E");
		}

			#footer select option {
				background-color: #f5f5f5;
				color: #717981;
			}

		#footer .select-wrapper:before {
			color: #e2e2e2;
		}

		#footer input[type="checkbox"] + label,
		#footer input[type="radio"] + label {
			color: #717981;
		}

			#footer input[type="checkbox"] + label:before,
			#footer input[type="radio"] + label:before {
				border-color: #e2e2e2;
			}

		#footer input[type="checkbox"]:checked + label:before,
		#footer input[type="radio"]:checked + label:before {
			background-color: #717981;
			border-color: #717981;
			color: #f5f5f5;
		}

		#footer input[type="checkbox"]:focus + label:before,
		#footer input[type="radio"]:focus + label:before {
			border-color: #18bfef;
		}

		#footer ::-webkit-input-placeholder {
			color: #b3b7bb !important;
		}

		#footer :-moz-placeholder {
			color: #b3b7bb !important;
		}

		#footer ::-moz-placeholder {
			color: #b3b7bb !important;
		}

		#footer :-ms-input-placeholder {
			color: #b3b7bb !important;
		}

		#footer .formerize-placeholder {
			color: #b3b7bb !important;
		}

		#footer ul.divided li {
			border-top-color: #e2e2e2;
		}

		#footer ul.icons li a.icon:hover:before {
			color: #18bfef;
		}

		#footer ul.icons.alt li .icon:before {
			box-shadow: inset 0 0 0 2px #e2e2e2;
		}

		#footer ul.icons.alt li a.icon:hover:before {
			box-shadow: inset 0 0 0 2px #18bfef;
		}

		#footer header.major .date:before, #footer header.major .date:after {
			border-top-color: #e2e2e2;
		}

		#footer table tbody tr {
			border-color: #e2e2e2;
		}

			#footer table tbody tr:nth-child(2n + 1) {
				background-color: rgba(220, 220, 220, 0.5);
			}

		#footer table th {
			color: #717981;
		}

		#footer table thead {
			border-bottom-color: #e2e2e2;
		}

		#footer table tfoot {
			border-top-color: #e2e2e2;
		}

		#footer table.alt tbody tr td {
			border-color: #e2e2e2;
		}

		#footer .pagination a, #footer .pagination span {
			border-color: #e2e2e2;
		}

		#footer .pagination a {
			color: #717981 !important;
		}

			#footer .pagination a:hover {
				color: #18bfef !important;
				border-color: #18bfef;
				z-index: 1;
			}

				#footer .pagination a:hover + a,
				#footer .pagination a:hover + span {
					border-left-color: #18bfef;
				}

			#footer .pagination a.active {
				background-color: #e2e2e2;
			}

		#footer .pagination span {
			color: #e2e2e2;
		}

		#footer > section {
			-moz-flex-basis: 50%;
			-webkit-flex-basis: 50%;
			-ms-flex-basis: 50%;
			flex-basis: 50%;
			-moz-flex-grow: 1;
			-webkit-flex-grow: 1;
			-ms-flex-grow: 1;
			flex-grow: 1;
			-moz-flex-shrink: 1;
			-webkit-flex-shrink: 1;
			-ms-flex-shrink: 1;
			flex-shrink: 1;
			padding: 4rem 4rem 2rem 4rem ;
			border-left: solid 2px #e2e2e2;
		}

			#footer > section:first-child {
				border-left: 0;
			}

			#footer > section.split {
				display: -moz-flex;
				display: -webkit-flex;
				display: -ms-flex;
				display: flex;
				-moz-flex-direction: column;
				-webkit-flex-direction: column;
				-ms-flex-direction: column;
				flex-direction: column;
				padding: 0;
			}

				#footer > section.split > section {
					padding: 3rem 4rem 1rem 4rem ;
					border-top: solid 2px #e2e2e2;
				}

					#footer > section.split > section:first-child {
						padding: 5rem 4rem 1rem 4rem ;
						border-top: 0;
					}

					#footer > section.split > section:last-child {
						padding: 3rem 4rem 3rem 4rem ;
					}

				#footer > section.split.contact > section {
					display: -moz-flex;
					display: -webkit-flex;
					display: -ms-flex;
					display: flex;
					-moz-align-items: center;
					-webkit-align-items: center;
					-ms-align-items: center;
					align-items: center;
					padding: 3.15rem 4rem;
				}

					#footer > section.split.contact > section > * {
						margin-bottom: 0;
					}

					#footer > section.split.contact > section > :first-child {
						-moz-flex-shrink: 0;
						-webkit-flex-shrink: 0;
						-ms-flex-shrink: 0;
						flex-shrink: 0;
						-moz-flex-grow: 0;
						-webkit-flex-grow: 0;
						-ms-flex-grow: 0;
						flex-grow: 0;
						width: 6rem;
					}

					#footer > section.split.contact > section > :last-child {
						-moz-flex-shrink: 1;
						-webkit-flex-shrink: 1;
						-ms-flex-shrink: 1;
						flex-shrink: 1;
						-moz-flex-grow: 1;
						-webkit-flex-grow: 1;
						-ms-flex-grow: 1;
						flex-grow: 1;
					}

					#footer > section.split.contact > section:first-child {
						padding: 4rem 4rem 3rem 4rem;
					}

					#footer > section.split.contact > section:last-child {
						padding: 3rem 4rem 4rem 4rem;
					}

					#footer > section.split.contact > section.alt {
						-moz-align-items: -moz-flex-start;
						-webkit-align-items: -webkit-flex-start;
						-ms-align-items: -ms-flex-start;
						align-items: flex-start;
					}

						#footer > section.split.contact > section.alt > :last-child {
							margin-top: -0.325rem;
						}

		#footer form label,
		#footer h3,
		#footer p {
			font-size: 0.8rem;
		}

		@media screen and (max-width: 980px) {

			#footer {
				display: block;
			}

				#footer > section {
					border-top: solid 2px #e2e2e2;
				}

					#footer > section:first-child {
						border-top: 0;
					}

					#footer > section.split > section {
						padding: 4rem 4rem 2rem 4rem ;
					}

						#footer > section.split > section:first-child {
							padding: 4rem 4rem 2rem 4rem ;
						}

						#footer > section.split > section:last-child {
							padding: 4rem 4rem 2rem 4rem ;
						}

					#footer > section.split.contact > section {
						padding: 4rem;
					}

						#footer > section.split.contact > section:first-child {
							padding: 4rem;
						}

						#footer > section.split.contact > section:last-child {
							padding: 4rem;
						}

				#footer form label,
				#footer h3,
				#footer p {
					font-size: 0.9rem;
				}

		}

		@media screen and (max-width: 736px) {

			#footer > section {
				padding: 2rem 2rem 0.1rem 2rem ;
			}

				#footer > section.split > section {
					padding: 2rem 2rem 0.1rem 2rem ;
				}

					#footer > section.split > section:first-child {
						padding: 2rem 2rem 0.1rem 2rem ;
					}

					#footer > section.split > section:last-child {
						padding: 2rem 2rem 0.1rem 2rem ;
					}

				#footer > section.split.contact > section {
					padding: 2rem;
				}

					#footer > section.split.contact > section:first-child {
						padding: 2rem;
					}

					#footer > section.split.contact > section:last-child {
						padding: 2rem;
					}

		}

		@media screen and (max-width: 480px) {

			#footer {
				width: 100%;
			}

		}

	#copyright {
		color: #ffffff;
		position: relative;
		color: rgba(255, 255, 255, 0.25);
		cursor: default;
		font-family: "Source Sans Pro", Helvetica, sans-serif;
		font-size: 0.8rem;
		font-weight: 900;
		letter-spacing: 0.075em;
		line-height: 1.5;
		text-align: center;
		text-transform: uppercase;
		margin: 4rem auto 8rem auto;
		width: calc(100% - 4rem);
		max-width: 72rem;
		z-index: 2;
	}

		#copyright input, #copyright select, #copyright textarea {
			color: #ffffff;
		}

		#copyright a {
			color: #ffffff;
			border-bottom-color: rgba(255, 255, 255, 0.5);
		}

			#copyright a:hover {
				border-bottom-color: transparent;
				color: #18bfef !important;
			}

		#copyright strong, #copyright b {
			color: #ffffff;
		}

		#copyright h1, #copyright h2, #copyright h3, #copyright h4, #copyright h5, #copyright h6 {
			color: #ffffff;
		}

		#copyright blockquote {
			border-left-color: #ffffff;
		}

		#copyright code {
			background: rgba(255, 255, 255, 0.075);
			border-color: #ffffff;
		}

		#copyright hr {
			border-bottom-color: #ffffff;
		}

		#copyright a {
			color: inherit;
			border-bottom-color: inherit;
		}

		#copyright ul {
			list-style: none;
			margin: 0;
			padding-left: 0;
		}

			#copyright ul li {
				border-left: solid 2px;
				display: inline-block;
				line-height: 1;
				margin-left: 1rem;
				padding-left: 1rem;
			}

				#copyright ul li:first-child {
					border-left: 0;
					margin-left: 0;
					padding-left: 0;
				}

		@media screen and (max-width: 1280px) {

			#copyright {
				margin: 4rem auto;
			}

		}

		@media screen and (max-width: 480px) {

			#copyright ul li {
				border-left: 0;
				margin: 1rem 0 0 0;
				padding-left: 0;
				display: block;
			}

				#copyright ul li:first-child {
					margin-top: 0;
				}

		}

/* Nav Panel */

	#navPanelToggle {
		text-decoration: none;
		-moz-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
		-webkit-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
		-ms-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
		transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
		display: none;
		position: fixed;
		top: 0.75rem;
		right: 0.75rem;
		border: 0;
		color: #ffffff;
		font-family: "Source Sans Pro", Helvetica, sans-serif;
		font-size: 0.9rem;
		font-weight: 900;
		letter-spacing: 0.075em;
		padding: 0.375rem 1.25rem;
		text-transform: uppercase;
		z-index: 10001;
	}

		#navPanelToggle:before {
			-moz-osx-font-smoothing: grayscale;
			-webkit-font-smoothing: antialiased;
			display: inline-block;
			font-style: normal;
			font-variant: normal;
			text-rendering: auto;
			line-height: 1;
			text-transform: none !important;
			font-family: 'Font Awesome 5 Free';
			font-weight: 900;
		}

		#navPanelToggle:before {
			content: '\f0c9';
			margin-right: 0.5rem;
		}

		#navPanelToggle.alt {
			background-color: rgba(255, 255, 255, 0.875);
			box-shadow: 0 0.125rem 0.75rem 0 rgba(30, 37, 45, 0.25);
			color: #212931;
		}

			#navPanelToggle.alt:hover {
				background-color: #ffffff;
			}

		@media screen and (max-width: 980px) {

			#navPanelToggle {
				display: block;
			}

		}

		@media screen and (max-width: 736px) {

			#navPanelToggle {
				font-size: 0.8rem;
				padding: 0.25rem 1rem;
			}

		}

	#navPanel {
		-moz-transform: translateX(20rem);
		-webkit-transform: translateX(20rem);
		-ms-transform: translateX(20rem);
		transform: translateX(20rem);
		-moz-transition: -moz-transform 0.5s ease, box-shadow 0.5s ease, visibility 0.5s;
		-webkit-transition: -webkit-transform 0.5s ease, box-shadow 0.5s ease, visibility 0.5s;
		-ms-transition: -ms-transform 0.5s ease, box-shadow 0.5s ease, visibility 0.5s;
		transition: transform 0.5s ease, box-shadow 0.5s ease, visibility 0.5s;
		display: none;
		-webkit-overflow-scrolling: touch;
		background: #ffffff;
		box-shadow: none;
		color: #212931;
		height: 100%;
		max-width: 80%;
		overflow-y: auto;
		padding: 3rem 2rem;
		position: fixed;
		right: 0;
		top: 0;
		visibility: hidden;
		width: 20rem;
		z-index: 10002;
	}

		#navPanel .links {
			list-style: none;
			padding-left: 0;
		}

			#navPanel .links li {
				border-top: solid 2px #eeeeee;
			}

				#navPanel .links li a {
					border-bottom: 0;
					display: block;
					font-family: "Source Sans Pro", Helvetica, sans-serif;
					font-size: 0.9rem;
					font-size: 0.9rem;
					font-weight: 900;
					letter-spacing: 0.075em;
					padding: 0.75rem 0;
					text-transform: uppercase;
				}

				#navPanel .links li:first-child {
					border-top: 0;
				}

		#navPanel .close {
			text-decoration: none;
			-moz-transition: color 0.2s ease-in-out;
			-webkit-transition: color 0.2s ease-in-out;
			-ms-transition: color 0.2s ease-in-out;
			transition: color 0.2s ease-in-out;
			-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
			border: 0;
			color: #909498;
			cursor: pointer;
			display: block;
			height: 3.25rem;
			line-height: 3.25rem;
			padding-right: 1.25rem;
			position: absolute;
			right: 0;
			text-align: right;
			top: 0;
			vertical-align: middle;
			width: 7rem;
		}

			#navPanel .close:before {
				-moz-osx-font-smoothing: grayscale;
				-webkit-font-smoothing: antialiased;
				display: inline-block;
				font-style: normal;
				font-variant: normal;
				text-rendering: auto;
				line-height: 1;
				text-transform: none !important;
				font-family: 'Font Awesome 5 Free';
				font-weight: 900;
			}

			#navPanel .close:before {
				content: '\f00d';
				font-size: 1.25rem;
			}

			#navPanel .close:hover {
				color: #212931;
			}

			@media screen and (max-width: 736px) {

				#navPanel .close {
					height: 4rem;
					line-height: 4rem;
				}

			}

		@media screen and (max-width: 980px) {

			#navPanel {
				display: block;
			}

		}

		@media screen and (max-width: 736px) {

			#navPanel {
				padding: 2.5rem 1.75rem;
			}

		}

	@media screen and (max-width: 980px) {

		body.is-navPanel-visible #wrapper {
			opacity: 0.5;
		}

		body.is-navPanel-visible #navPanel {
			-moz-transform: translateX(0);
			-webkit-transform: translateX(0);
			-ms-transform: translateX(0);
			transform: translateX(0);
			box-shadow: 0 0 1.5rem 0 rgba(0, 0, 0, 0.2);
			visibility: visible;
		}

	}
/* ==========================================================================
   # BASE & VARIABLES
   ========================================================================== */
:root {
    color-scheme: light;
    --bg: #f4f3ee;
    --bg-image: none;
    --surface: #fffefa;
    --surface-soft: #eae9e1;
    --border: #d8d9d0;
    --text: #1d2a24;
    --text-soft: #66716a;
    --accent: #18372e;
    --accent-soft: #e3ead8;
    --radius: 8px;
    --site-width: min(calc(100% - 42px), 1160px);
    --content-width: min(calc(100% - 42px), 760px);
    --font-display: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    --space-xs: 8px;
    --space-sm: 14px;
    --space-md: 24px;
    --space-lg: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
    margin: 0;
    min-height: 100vh;
    background-color: var(--bg);
    background-image: linear-gradient(rgba(244, 243, 238, .96), rgba(244, 243, 238, .96)), var(--bg-image);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
::selection { color: var(--text); background: #c5ef68; }
:focus-visible { outline: 3px solid #507c34; outline-offset: 3px; }
.skip-link { position: fixed; z-index: 5000; top: 12px; left: 12px; padding: 10px 14px; transform: translateY(-160%); color: #fffefa; background: var(--accent); }
.skip-link:focus { transform: translateY(0); }

/* 排序切换器样式 */
.sort-tabs { display: flex; gap: var(--space-md); margin-bottom: var(--space-md); font-size: 0.9rem; }
.sort-tab { color: var(--text-soft); padding-bottom: 4px; border-bottom: 2px solid transparent; transition: 0.2s; }
.sort-tab.is-active { color: var(--text); border-color: var(--accent); font-weight: 600; }

.inline-actions { display: flex; gap: 8px; }

a { color: inherit; text-decoration: none; transition: opacity 0.2s ease; }
a:hover { opacity: 0.7; }

h1, h2, h3, h4 { 
    margin: 0; 
    font-family: var(--font-display); 
    font-weight: 600; 
    letter-spacing: -0.01em;
}

h1 { font-size: 2.2rem; line-height: 1.2; }
h2 { font-size: 1.5rem; line-height: 1.3; }
h3 { font-size: 1.2rem; line-height: 1.4; }

/* ==========================================================================
   # LAYOUT COMPONENTS
   ========================================================================== */
.site-shell {
    width: var(--content-width);
    margin: 0 auto;
    padding: var(--space-lg) 0;
}

.search-highlight { 
    background-color: #fef08a; 
    color: #854d0e; 
    padding: 0 2px; 
    border-radius: 2px; 
    font-style: normal; 
}

/* BBCode & Pro Styles */
.article-quote { 
    margin: 2em 0; padding: var(--space-sm) var(--space-md); 
    border-left: 4px solid var(--accent); background: var(--surface-soft); 
    font-style: italic; color: var(--text-soft); 
}
.article-link { color: #007aff; text-decoration: underline; text-underline-offset: 2px; }
.article-link:hover { opacity: 0.8; }

/* Word Style Support */
u { text-underline-offset: 4px; text-decoration-thickness: 1px; }
.article-content span[style*="font-size"] { line-height: 1.4; display: inline-block; }

.public-header {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border);
}

.public-header__inner {
    width: var(--content-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.public-header__nav { display: flex; gap: var(--space-md); font-size: 0.95rem; }
.public-header__nav a { color: var(--text-soft); }
.public-header__nav a.is-active { color: var(--text); font-weight: 500; }

.site-footer {
    width: var(--content-width);
    margin: var(--space-lg) auto 0;
    padding: var(--space-md) 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-soft);
    font-size: 0.85rem;
}

.record-links { display: flex; justify-content: center; gap: var(--space-md); margin-top: var(--space-sm); }

/* ==========================================================================
   # HOME PAGE
   ========================================================================== */
.home-intro { margin-bottom: var(--space-lg); }
.home-avatar { 
    width: 48px; height: 48px; 
    background: var(--accent); opacity: 0.8;
    border-radius: 50%; margin-bottom: var(--space-md);
}
.home-tagline { font-size: 1.2rem; color: var(--text-soft); margin-top: var(--space-xs); }

.home-nav-simple { display: flex; gap: var(--space-md); margin-bottom: var(--space-lg); }
.home-nav-link { 
    font-weight: 500; border-bottom: 1px solid var(--border); 
    padding-bottom: 2px;
}
.home-nav-link:hover { border-color: var(--accent); opacity: 1; }

.home-section { margin-top: var(--space-lg); }
.home-section__title { margin-bottom: var(--space-md); color: var(--text-soft); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.1em; }

.recent-list { list-style: none; padding: 0; margin: 0; }
.recent-item { margin-bottom: var(--space-sm); }
.recent-item a { display: flex; justify-content: space-between; align-items: baseline; }
.recent-item__date { font-size: 0.9rem; color: var(--text-soft); margin-left: var(--space-md); }

/* ==========================================================================
   # BLOG & ARTICLE
   ========================================================================== */
.blog-header { margin-bottom: var(--space-lg); }
.blog-header p { color: var(--text-soft); margin-top: var(--space-sm); }

.blog-toolbar { margin-bottom: var(--space-lg); display: grid; gap: var(--space-md); }
.search-form { display: flex; border-bottom: 1px solid var(--border); padding-bottom: var(--space-xs); }
.search-form input { 
    flex: 1; border: none; background: transparent; color: var(--text); 
    font-size: 1rem; outline: none; 
}
.search-form button { border: none; background: transparent; cursor: pointer; color: var(--text-soft); }

.category-chips { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.category-chip { 
    font-size: 0.9rem; color: var(--text-soft); 
    padding: 4px 12px; border-radius: 20px; border: 1px solid var(--border);
}
.category-chip.is-active { background: var(--accent); color: var(--bg); border-color: var(--accent); }

.blog-stream { display: grid; gap: 0; } /* 移除大间距，改用内边距和分割线 */
.blog-stream__item { 
    display: flex; gap: var(--space-md); align-items: flex-start; 
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border);
    transition: background-color 0.2s ease;
}
.blog-stream__item:hover {
    background-color: var(--surface-soft);
    margin-left: calc(var(--space-sm) * -1);
    margin-right: calc(var(--space-sm) * -1);
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
    border-radius: var(--radius);
}
.blog-stream__item:last-child { border-bottom: none; }
.blog-stream__content { flex: 1; display: grid; gap: var(--space-xs); }
.blog-stream__thumb { width: 140px; height: 100px; flex-shrink: 0; border-radius: 4px; overflow: hidden; border: 1px solid var(--border); }
.blog-stream__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.blog-stream__thumb:hover img { transform: scale(1.05); }

.blog-stream__meta { font-size: 0.85rem; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.05em; }
.blog-stream__excerpt { color: var(--text-soft); font-size: 0.95rem; }

.article-header { margin-bottom: var(--space-lg); }
.article-meta { font-size: 0.9rem; color: var(--text-soft); margin-bottom: var(--space-sm); }
.article-content { font-size: 1.1rem; line-height: 1.8; }
.article-paragraph { margin-bottom: 1.5em; }
.article-image { display: block; max-width: 100%; height: auto; margin: 2em auto; border-radius: 4px; border: 1px solid var(--border); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); }

.tag-list { display: flex; gap: var(--space-xs); margin-top: var(--space-md); }
.tag { font-size: 0.8rem; padding: 2px 8px; background: var(--surface-soft); color: var(--text-soft); border-radius: 4px; }
.tag--public { background: #e7f6ed; color: #155724; }
.tag--private { background: #f1f3f5; color: #666; }

/* Switch Toggle (极简版) */
.switch-field { display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.switch-input { width: 40px; height: 20px; appearance: none; background: #ddd; border-radius: 20px; position: relative; outline: none; cursor: pointer; transition: 0.3s; }
.switch-input:checked { background: #34c759; }
.switch-input:before { content: ""; width: 16px; height: 16px; background: #fff; border-radius: 50%; position: absolute; top: 2px; left: 2px; transition: 0.3s; }
.switch-input:checked:before { transform: translateX(20px); }

/* Code Blocks */
.inline-code { font-family: monospace; background: var(--surface-soft); padding: 0.2em 0.4em; border-radius: 4px; font-size: 0.9em; }
.code-block { margin: 2em 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #0d1117; color: #e6edf3; }
.code-block__toolbar { display: flex; justify-content: space-between; padding: 8px 16px; border-bottom: 1px solid #30363d; font-size: 0.8rem; color: #8b949e; }
.code-copy { background: transparent; border: 1px solid #30363d; color: inherit; cursor: pointer; border-radius: 4px; padding: 2px 8px; }
.code-block__pre { padding: 16px; margin: 0; overflow: auto; font-family: "JetBrains Mono", monospace; font-size: 0.9rem; }

/* Pagination & Navigation */
.pagination { display: flex; justify-content: center; gap: var(--space-md); margin-top: var(--space-lg); color: var(--text-soft); font-size: 0.9rem; }
.article-navigation { 
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); 
    margin-top: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid var(--border);
}
.article-navigation-label { display: block; font-size: 0.8rem; color: var(--text-soft); margin-bottom: 4px; }
.article-navigation-title { font-weight: 600; font-size: 0.95rem; }
.article-navigation-item--next { text-align: right; }

/* ==========================================================================
   # ADMIN & AUTH REFINED
   ========================================================================== */
.admin-shell { max-width: 1000px; margin: var(--space-lg) auto; padding: 0 var(--space-md); }
.auth-shell { max-width: 400px; margin: var(--space-lg) auto; }

.admin-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.admin-card__title { font-size: 1.2rem; margin-bottom: var(--space-sm); font-weight: 600; }

.admin-panel__header { 
    display: flex; justify-content: space-between; align-items: flex-end; 
    margin-bottom: var(--space-lg); 
}

.section-kicker { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-soft); margin-bottom: 4px; font-weight: 600; }
.helper-text { font-size: 0.85rem; color: var(--text-soft); margin-top: 6px; line-height: 1.5; }

/* Tables */
.table-shell { margin-top: var(--space-sm); border-radius: 4px; overflow: hidden; border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; background: var(--surface); }
th, td { padding: 16px; border-bottom: 1px solid var(--border); text-align: left; }
th { background: var(--surface-soft); font-size: 0.8rem; color: var(--text-soft); text-transform: uppercase; font-weight: 700; letter-spacing: 0.05em; }
td { font-size: 0.95rem; }
td strong { color: var(--text); display: block; margin-bottom: 4px; }
td span { font-size: 0.85rem; color: var(--text-soft); }

/* Forms */
.form-grid { display: grid; gap: var(--space-md); }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--text); }

.input, .textarea, .select { 
    width: 100%; padding: 12px; border: 1px solid var(--border); 
    border-radius: var(--radius); background: var(--surface); color: var(--text); 
    font-size: 0.95rem; outline: none; transition: all 0.2s;
}
.input:focus, .textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.textarea { min-height: 450px; line-height: 1.6; font-family: inherit; }

/* Buttons */
.button, .button-danger { 
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 20px; border-radius: var(--radius); border: 1px solid var(--accent); 
    background: var(--accent); color: var(--bg); cursor: pointer; 
    font-weight: 500; font-size: 0.9rem; transition: all 0.2s;
}
.button:hover { opacity: 0.8; transform: translateY(-1px); }
.button--secondary { background: var(--surface-soft); color: var(--text); border-color: var(--border); }
.button--danger { background: #ff3b30; border-color: #ff3b30; color: #ffffff; }

.editor-toolbar {
    display: flex; gap: 12px; align-items: center;
    background: var(--surface-soft);
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-bottom: none;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
}
.toolbar-group { display: flex; gap: 4px; border-right: 1px solid var(--border); padding-right: 12px; }
.toolbar-group:last-child { border-right: none; padding-right: 0; }
.toolbar-btn {
    width: 32px; height: 32px; display: grid; place-items: center;
    border: 1px solid transparent; background: transparent;
    border-radius: 4px; color: var(--text); cursor: pointer;
    font-weight: 600; font-size: 0.9rem;
}
.toolbar-btn:hover { background: var(--border); border-color: var(--border); }
.toolbar-item { height: 32px; padding: 0 8px; font-size: 0.85rem; border-radius: 4px; }

.pro-toolbar { position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.05); border-bottom: 1px solid var(--border); background: var(--surface); padding: 12px var(--space-md); }
.toolbar-select { border: 1px solid var(--border); background: var(--surface); color: var(--text); padding: 4px 8px; border-radius: 4px; font-size: 0.85rem; outline: none; }
.toolbar-color { width: 32px; height: 32px; border: 1px solid var(--border); padding: 2px; border-radius: 4px; cursor: pointer; background: var(--surface); }

.word-editor-container { 
    background: var(--surface-soft); padding: var(--space-lg) 0; min-height: 800px;
    display: flex; justify-content: center;
}
#visual-editor { 
    width: 100%; max-width: 800px; min-height: 700px;
    background: var(--surface); padding: var(--space-lg); 
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); border: 1px solid var(--border);
    outline: none; line-height: 1.8;
}
#visual-editor:empty:before { content: attr(placeholder); color: var(--text-soft); opacity: 0.5; }

/* WYSIWYG 编辑器专属交互样式 */
#visual-editor .editor-image-box { border: 1px dashed var(--border); transition: border 0.2s; cursor: default; }
#visual-editor .editor-image-box:hover { border-color: var(--accent); }
#visual-editor .editor-image-box.is-selected,
#visual-editor .video-wrapper.is-selected,
#visual-editor .attachment-card-wrap.is-selected {
    box-shadow: 0 0 0 2px var(--accent-soft);
    border-radius: 12px;
}
#visual-editor .editor-image-caption:empty:before { content: attr(data-placeholder); color: var(--text-soft); opacity: 0.5; }

/* 通用文章正文中的图片容器样式 (前台展示) */
.editor-image-box { margin: 2em 0; text-align: center; border: none; }
.editor-image-box img { max-width: 100%; border-radius: 4px; display: block; margin: 0 auto; border: 1px solid var(--border); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); }
.editor-image-caption { margin-top: 10px; font-size: 0.9rem; color: var(--text-soft); font-style: italic; border: none; outline: none; }


/* Professional Lightbox (Forum Style) - Optimized for Performance */
.image-lightbox {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); z-index: 2000;
    display: none; flex-direction: column; align-items: center; justify-content: center;
    overflow: hidden; touch-action: none;
}
.image-lightbox.is-visible { display: flex; }

/* ... 工具栏样式保持不变 ... */

.lightbox-content { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.image-lightbox img {
    max-width: 90vw; max-height: 85vh; object-fit: contain;
    transition: transform 0.1s ease-out;
    cursor: grab; user-select: none;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    will-change: transform; /* 核心优化：提前告知浏览器开启硬件加速 */
}
.image-lightbox img:active { cursor: grabbing; transition: none; }

/* 导航箭头 */
.lightbox-nav {
    position: fixed; top: 50%; transform: translateY(-50%);
    width: 60px; height: 60px; background: rgba(255,255,255,0.05);
    border-radius: 50%; border: none; color: #fff; font-size: 1.5rem;
    cursor: pointer; display: grid; place-items: center; transition: 0.2s;
    z-index: 2100;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.15); }
.lightbox-nav--prev { left: 32px; }
.lightbox-nav--next { right: 32px; }

/* Video & Multimedia */
.video-wrapper { 
    position: relative; padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0; overflow: hidden; margin: 2em 0; border-radius: var(--radius);
    background: #000; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.video-wrapper--file {
    height: auto;
    padding-bottom: 0;
    overflow: hidden;
}
.video-wrapper--file video {
    display: block;
    width: 100%;
    height: auto;
    background: #000;
}

/* Meta Info Refined */
.article-meta, .blog-stream__meta { display: flex; align-items: center; gap: var(--space-sm); flex-wrap: wrap; }
.meta-item { display: flex; align-items: center; gap: 4px; }
.meta-icon { opacity: 0.6; }

/* Lazy Video Placeholder */
.video-wrapper.is-lazy { cursor: pointer; background: #000; }
.video-wrapper.is-lazy iframe { display: none; } /* 初始隐藏 */

/* Attachment Card */
.attachment-card-wrap {
    display: block;
    margin: 1em 0;
}
.attachment-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    margin: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none !important;
}
.attachment-card:hover { border-color: var(--accent); opacity: 1; }
.attachment-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-soft);
    color: var(--text);
    font-size: 0;
    line-height: 1;
}
.attachment-icon::before {
    content: attr(data-file-ext);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}
.attachment-info { display: grid; gap: 2px; min-width: 0; }
.attachment-name {
    display: block;
    font-weight: 600;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.95rem;
    line-height: 1.35;
}
.attachment-meta { font-size: 0.75rem; color: var(--text-soft); }
.attachment-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: auto;
    padding: 0;
    border: none;
    border-radius: 0;
    font-size: 0.82rem;
    color: var(--text);
    white-space: nowrap;
}
.attachment-action::after {
    content: "→";
    font-size: 0.9rem;
}

/* Site Modal System */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); z-index: 3000;
    display: none; align-items: center; justify-content: center;
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    opacity: 0; transition: opacity 0.2s ease;
}
.modal-overlay.is-visible { display: flex; opacity: 1; }

.modal-card {
    width: min(92vw, 420px); background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    transform: scale(0.9); transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-card--media { width: min(92vw, 760px); }
.modal-overlay.is-visible .modal-card { transform: scale(1); }

.modal-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    margin-bottom: 12px;
}
.modal-close {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--text-soft);
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
}
.modal-close:hover { border-color: var(--border); color: var(--text); background: var(--surface-soft); }
.modal-title { font-size: 1.25rem; font-weight: 700; margin: 0; color: var(--text); }
.modal-body { font-size: 0.95rem; color: var(--text-soft); line-height: 1.6; margin-bottom: var(--space-lg); }
.modal-input { margin-bottom: var(--space-md); }
.modal-footer { display: flex; justify-content: flex-end; gap: var(--space-sm); }
.modal-upload-shell {
    display: grid;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}
.modal-upload-toolbar {
    display: flex;
    justify-content: space-between;
    gap: var(--space-sm);
}
.modal-upload-empty {
    padding: 18px 16px;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    background: var(--surface-soft);
    color: var(--text-soft);
    font-size: 0.9rem;
    text-align: center;
}
.modal-upload-selection {
    display: grid; gap: var(--space-sm); margin-bottom: var(--space-md);
    padding: var(--space-sm); border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--surface-soft);
}
.modal-upload-selection__head {
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm);
    font-size: 0.9rem; color: var(--text);
}
.modal-upload-table-head,
.modal-upload-list {
    display: grid;
    gap: 8px;
}
.modal-upload-table-head {
    grid-template-columns: minmax(0, 1fr) 96px 96px 72px;
    padding: 0 12px;
    color: var(--text-soft);
    font-size: 0.8rem;
}
.modal-upload-list {
    max-height: 260px;
    overflow: auto;
}
.modal-upload-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 96px 96px 72px;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) - 2px);
    background: var(--surface);
}
.modal-upload-item__name {
    color: var(--text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.modal-upload-item__size,
.modal-upload-item__status,
.modal-upload-item__action {
    color: var(--text-soft);
    font-size: 0.8rem;
    white-space: nowrap;
}
.modal-upload-item__action {
    text-align: right;
}
.modal-upload-remove {
    border: none;
    background: transparent;
    color: var(--text-soft);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0;
}
.modal-upload-remove:hover {
    color: var(--text);
    text-decoration: underline;
}
.modal-upload-item__meta {
    grid-column: 1 / 2;
    color: var(--text-soft);
    font-size: 0.75rem;
    margin-top: -6px;
}
.modal-upload-error {
    margin-bottom: var(--space-md); padding: 10px 12px; border: 1px solid #f4b4b4;
    border-radius: var(--radius); background: #fff4f4; color: #8f1f1f; font-size: 0.85rem;
}


@media (max-width: 640px) {
    .attachment-card {
        grid-template-columns: 40px minmax(0, 1fr);
    }
    .attachment-action {
        grid-column: 2;
        justify-self: start;
    }
    .modal-upload-toolbar {
        flex-direction: column;
    }
    .modal-upload-table-head {
        display: none;
    }
    .modal-upload-item {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 12px;
    }
    .modal-upload-item__size,
    .modal-upload-item__status,
    .modal-upload-item__meta {
        grid-column: 1 / 2;
    }
    .modal-upload-item__action {
        grid-column: 2;
        grid-row: 1 / span 3;
        align-self: start;
    }
}

.inline-actions { display: flex; gap: 8px; }
.form-actions { display: flex; gap: var(--space-sm); margin-top: var(--space-md); }

.feedback { 
    padding: 12px 16px; margin-bottom: var(--space-md); border-radius: var(--radius); 
    font-size: 0.9rem; font-weight: 500; display: flex; align-items: center; gap: 10px;
}
.feedback--success { background: #e7f6ed; color: #155724; border: 1px solid #d4edda; }
.feedback--error { background: #fdf2f2; color: #721c24; border: 1px solid #f8d7da; }

table { width: 100%; border-collapse: collapse; margin-top: var(--space-md); }
th, td { padding: 12px; border-bottom: 1px solid var(--border); text-align: left; }
th { font-size: 0.8rem; color: var(--text-soft); text-transform: uppercase; }

.back-to-top {
    position: fixed; right: 32px; bottom: 32px; width: 40px; height: 40px;
    border-radius: 50%; border: 1px solid var(--border); background: var(--surface);
    color: var(--text); cursor: pointer; opacity: 0; pointer-events: none;
    transition: all 0.2s ease; display: grid; place-items: center;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }

@media (max-width: 600px) {
    h1 { font-size: 1.8rem; }
    .article-navigation { grid-template-columns: 1fr; }
    .article-navigation-item--next { text-align: left; }
}

/* Shared visual language for public pages and admin screens */
a { transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
a:hover { color: #4e6c37; opacity: 1; }
button, input, select, textarea { font: inherit; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-shell { width: var(--content-width); margin: 0 auto; padding: 54px 0 72px; }
.public-header { padding: 0; border-bottom: 1px solid var(--border); }
.public-header__inner { width: var(--site-width); min-height: 88px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.public-header__home-link { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 650; }
.public-header__nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); font-size: 13px; font-weight: 600; }
.public-header__nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--text-soft); }
.public-header__nav a.is-active { color: var(--text); text-decoration: underline; text-decoration-color: #91a477; text-underline-offset: 7px; }
.site-footer { width: var(--site-width); min-height: 92px; margin: 0 auto; padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--border); color: var(--text-soft); font-size: 10px; text-align: left; }
.site-footer__year { white-space: nowrap; }
.record-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 17px; }
.record-links a { min-height: 40px; display: inline-flex; align-items: center; gap: 5px; }
.record-links img { width: 14px; height: 14px; object-fit: contain; }
.blog-header { margin-bottom: 28px; }
.blog-header__title { max-width: 18ch; font-size: clamp(36px, 5.2vw, 54px); font-weight: 650; letter-spacing: -.055em; line-height: 1.2; }
.blog-header p { margin: 12px 0 0; color: var(--text-soft); font-size: 14px; }
.blog-toolbar { display: grid; gap: 20px; margin-bottom: 30px; }
.search-form { width: 100%; display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; border: 0; }
.search-form input { flex: 1; min-width: 0; min-height: 48px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 5px; color: var(--text); background: var(--surface); font-size: 14px; }
.search-form input:focus-visible { outline: 3px solid rgba(80, 124, 52, .32); outline-offset: 1px; border-color: #507c34; }
.search-form button, .button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; border: 1px solid var(--accent); border-radius: 5px; color: #fffefa; background: var(--accent); font-size: 12px; font-weight: 650; cursor: pointer; }
.search-form button:hover, .button--primary:hover { color: #fffefa; background: #264e3e; }
.button--secondary { border-color: var(--border); color: var(--text); background: transparent; }
.button--secondary:hover { border-color: #a5b391; color: var(--text); background: rgba(255, 254, 250, .7); }
.button--danger { border-color: #8d352e; color: #fff; background: #8d352e; }
.button--danger:hover { color: #fff; background: #742921; }
.category-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.category-chip { min-height: 38px; display: inline-flex; align-items: center; padding: 0 13px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-soft); font-size: 12px; }
.category-chip.is-active { border-color: var(--accent); color: #fffefa; background: var(--accent); }
.sort-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin: 0; font-size: 12px; }
.sort-tab { min-height: 40px; display: inline-flex; align-items: center; color: var(--text-soft); }
.sort-tab.is-active { border-color: var(--accent); color: var(--text); }
.blog-stream { border-top: 1px solid var(--border); }
.blog-stream__item { padding: 24px 0; border-color: var(--border); }
.blog-stream__item:hover { background: rgba(234, 233, 225, .55); }
.blog-stream__meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--text-soft); font-size: 11px; text-transform: none; letter-spacing: 0; }
.blog-stream__title { font-size: clamp(19px, 2.3vw, 25px); font-weight: 650; letter-spacing: -.035em; }
.blog-stream__title-link:hover { color: #4e6c37; }
.blog-stream__excerpt { color: var(--text-soft); font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
.blog-stream__thumb { border-color: var(--border); border-radius: 6px; }
.empty-state { padding: 34px 0 39px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: left; color: var(--text); }
.empty-state h2 { margin: 0; font-size: clamp(21px, 3vw, 29px); letter-spacing: -.04em; }
.empty-state p { max-width: 58ch; margin: 8px 0 14px; color: var(--text-soft); font-size: 14px; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.article-header { margin-bottom: 32px; }
.article-title { max-width: 22ch; margin: 12px 0 0; font-size: clamp(34px, 5vw, 54px); font-weight: 650; letter-spacing: -.055em; line-height: 1.25; overflow-wrap: anywhere; }
.article-content { max-width: 68ch; color: #29372f; font-size: clamp(16px, 1.7vw, 18px); line-height: 1.95; overflow-wrap: anywhere; user-select: text; -webkit-user-select: text; }
.article-content img, .article-content video, .article-content iframe { max-width: 100%; }
.article-content a, .article-link { color: #426b36; text-decoration: underline; text-underline-offset: 3px; }
.article-list-link { display: inline-flex; min-height: 44px; align-items: center; margin-top: 22px; color: var(--text-soft); font-size: 12px; font-weight: 650; }
.article-navigation { margin-top: 12px; border-color: var(--border); }
.article-navigation-title { overflow-wrap: anywhere; }
.article-image, .editor-image-box img { max-width: 100%; height: auto; border-radius: 6px; }
.admin-shell { width: min(1000px, calc(100% - 42px)); margin: 52px auto 32px; padding: 0; }
.admin-panel__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 28px; }
.admin-panel__header h1 { margin: 0; font-size: clamp(29px, 4vw, 42px); font-weight: 650; letter-spacing: -.05em; line-height: 1.25; }
.admin-panel__header .helper-text { max-width: 58ch; margin: 8px 0 0; color: var(--text-soft); font-size: 13px; }
.admin-panel__header .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.admin-panel__header form { margin: 0; }
.admin-card { padding: clamp(18px, 3.5vw, 32px); border: 1px solid var(--border); border-radius: 8px; background: var(--surface); box-shadow: 0 12px 30px rgba(24, 55, 46, .06); }
.admin-card + .admin-card { margin-top: 18px; }
.admin-card__title { margin: 0 0 16px; font-size: 18px; font-weight: 650; letter-spacing: -.025em; }
.table-shell { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; border-color: var(--border); border-radius: 6px; }
table { min-width: 650px; border-collapse: collapse; background: var(--surface); }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--border); }
th { color: var(--text-soft); background: #f1f1e9; font-size: 10px; letter-spacing: .03em; }
td { font-size: 12px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { color: var(--text); font-size: 12px; font-weight: 650; }
.input, .textarea, .select { min-width: 0; min-height: 44px; border-color: var(--border); border-radius: 5px; background: var(--surface); }
.form-row--paired { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: end; }
.feedback { padding: 12px 14px; margin-bottom: 18px; border-radius: 5px; font-size: 13px; }
.feedback--success { border: 1px solid #b8c9a6; color: #2d4c25; background: #edf3e5; }
.feedback--error { border: 1px solid #d8b1ac; color: #712c26; background: #f8ecea; }
.auth-page { min-height: 100vh; display: flex; flex-direction: column; }
.auth-card { width: min(440px, calc(100% - 42px)); margin: auto; padding: clamp(24px, 5vw, 42px); border: 1px solid var(--border); border-radius: 8px; background: var(--surface); box-shadow: 0 12px 30px rgba(24, 55, 46, .06); }
.auth-title { margin: 0; font-size: clamp(27px, 4vw, 36px); font-weight: 650; letter-spacing: -.05em; }
.auth-desc { margin: 8px 0 0; color: var(--text-soft); font-size: 13px; }
.auth-form { display: grid; gap: 16px; margin-top: 24px; }
.auth-form .button { width: 100%; }
.auth-back-link { display: inline-flex; min-height: 44px; align-items: center; margin-top: 12px; color: var(--text-soft); font-size: 12px; }
.word-editor-container { min-height: 0; padding: 18px; background: var(--surface-soft); }
#visual-editor { width: 100%; min-height: 560px; padding: clamp(18px, 4vw, 38px); border-color: var(--border); background: var(--surface); }
#visual-editor:focus-visible { outline: 3px solid #507c34; outline-offset: 2px; }
.pro-toolbar { position: sticky; top: 0; display: flex; flex-wrap: wrap; gap: 8px; background: var(--surface); }
.toolbar-group { display: flex; flex-wrap: wrap; gap: 4px; }
.back-to-top { border-color: var(--border); color: var(--text); background: var(--surface); }
.search-highlight { background: #f1edc8; color: #33412f; }
@media (max-width: 720px) {
  .public-header__inner { min-height: 74px; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; }
  .record-links { justify-content: flex-start; }
  .admin-panel__header { align-items: flex-start; flex-direction: column; }
  .admin-panel__header .form-actions { width: 100%; }
  .pro-toolbar { top: 0; }
}
@media (max-width: 480px) {
  .site-shell { padding-top: 40px; }
  .public-header__inner { min-height: 72px; }
  .public-header__nav { gap: 14px; }
  .form-row--paired { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .word-editor-container { padding: 10px; }
  #visual-editor { min-height: 440px; }
  .table-shell { margin-inline: -2px; }
  .auth-card { margin-block: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* One shared, typography-led system for the live site and its PHP routes. */
@view-transition { navigation: auto; }
@keyframes site-page-enter { from { opacity: 0; transform: translateY(.35rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes site-page-exit { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-.15rem); } }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: 140ms cubic-bezier(.4, 0, 1, 1) both site-page-exit; }
  ::view-transition-new(root) { animation: 220ms cubic-bezier(.16, 1, .3, 1) both site-page-enter; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}
@font-face {
  font-family: "Merriweather"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("/fonts/merriweather.4fbe8dd9c23b.woff2") format("woff2");
  unicode-range: U+0000-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Merriweather"; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url("/fonts/merriweather-italic.caa1da88ecea.woff2") format("woff2");
  unicode-range: U+0000-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans Pro"; font-style: normal; font-weight: 900; font-display: swap;
  src: url("/fonts/source-sans-pro.01f626ea1f25.woff2") format("woff2");
  unicode-range: U+0000-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --canvas: #f1f3f7;
  --paper: #ffffff;
  --ink: #293241;
  --ink-soft: #566276;
  --muted: #5f6b7d;
  --line: #e1e6ee;
  --accent: #4169d5;
  --accent-dark: #3155b5;
  --accent-soft: #edf2fc;
  --action: #3f65cf;
  --action-text: #ffffff;
  --danger: #b33435;
  --success: #2f765b;
  --focus-ring: #284fae;
  --sidebar-width: 244px;
  --topbar-height: 62px;
  --content-width: 1160px;
  --page-gutter: clamp(1rem, 2.6vw, 2.25rem);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

html { color-scheme: light dark; scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
html.home-document { color-scheme: light dark; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--canvas) !important;
  font-family: var(--font-sans) !important;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: anywhere;
}
body, button, input, select, textarea { font-family: var(--font-sans) !important; }
#wrapper { width: 100%; min-height: 100vh; isolation: isolate; overflow: visible; background: transparent !important; }
#wrapper:after { display: none !important; content: none !important; }
#wrapper :where(h1, h2, h3, h4, h5, h6, .logo, #nav, #navPanel, .button, button, label, th) {
  font-family: var(--font-sans) !important;
}
#wrapper :where(h1, h2, h3, h4, h5, h6) { color: var(--ink); font-weight: 680; letter-spacing: -.035em; line-height: 1.22; text-wrap: balance; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .18em; transition: color .16s ease, background-color .16s ease, border-color .16s ease; }
a:hover { color: var(--accent-dark); opacity: 1; }
:focus-visible { outline: 3px solid #152b91; outline-offset: 3px; }
button, input, select, textarea { max-width: 100%; color: var(--ink); }
img, video, iframe { max-width: 100%; }

.skip-link {
  position: fixed; z-index: 10002; top: .75rem; left: .75rem;
  padding: .7rem 1rem; transform: translateY(-160%);
  color: #fff; background: var(--ink); font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }
.visually-hidden {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important;
}

/* A quiet, single-row navigation replaces the template's oversized logo frame. */
#header { display: none !important; }
#nav {
  display: flex; align-items: center; width: min(var(--content-width), calc(100% - 2 * var(--page-gutter)));
  height: 68px; min-height: 68px; margin: 0 auto; padding: 0;
  border: 0; border-bottom: 1px solid var(--line); background: transparent;
  line-height: 1.4;
}
#nav .links { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); height: 100%; margin: 0; padding: 0; }
#nav .links li { display: flex; align-items: center; height: 100%; padding: 0; border: 0; }
#nav .links a {
  min-height: 44px; display: inline-flex; align-items: center; padding: 0;
  border: 0; color: var(--ink-soft); font-size: .92rem; font-weight: 650;
  letter-spacing: 0; text-transform: none;
}
#nav .links a:hover, #nav .links a[aria-current="page"] { color: var(--accent); }
#nav .links a[aria-current="page"] { box-shadow: inset 0 -2px var(--accent); }
#navPanelToggle { display: none; border: 0; border-radius: 3px; padding: .65rem 1rem; color: #fff !important; background: var(--accent); font-size: .9rem; font-weight: 700; cursor: pointer; }
#navPanelToggle:before, #navPanel .close:before { display: none !important; content: none !important; }
#navPanel { z-index: 10001; visibility: hidden; color: var(--ink); background: var(--paper); transition: transform .35s ease, visibility 0s linear .35s; }
body.is-navPanel-visible #navPanel { visibility: visible; transition: transform .35s ease; }
#navPanel .links a { color: var(--ink); font-family: var(--font-sans) !important; font-weight: 650; }
#navPanel .links a[aria-current="page"] { color: var(--accent); }
#navPanel .close { width: auto; min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--line); color: var(--ink); background: transparent; font-family: var(--font-sans) !important; font-weight: 650; cursor: pointer; }
/* The mobile overlay is rendered inside #wrapper so the panel remains clickable. */
body.is-navPanel-visible #wrapper { opacity: 1; }

/* A measured, paper-like opening lets the writing stay in front. */
#intro {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(13rem, .55fr); align-items: center;
  gap: clamp(2rem, 6vw, 5rem); width: min(var(--content-width), calc(100% - 2 * var(--page-gutter)));
  height: auto !important; min-height: 0 !important; margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.25rem) 0 clamp(2.5rem, 5vw, 3.75rem) !important;
  border-bottom: 1px solid var(--line); color: var(--ink); background: transparent !important; text-align: left;
}
#intro .intro-copy { min-width: 0; }
#intro h1 {
  max-width: 13ch; margin: 0; color: var(--ink) !important;
  font-size: clamp(2.75rem, 5.2vw, 4rem); font-weight: 680; letter-spacing: -.055em; line-height: 1.12;
}
#intro p { max-width: 38rem; margin: 1rem 0 0; color: var(--ink-soft); font-size: clamp(1rem, 1.35vw, 1.1rem); font-style: normal; line-height: 1.8; }
#intro .actions { display: flex; margin: 1.5rem 0 0; padding: 0; }
#intro .actions li { padding: 0; }
#intro .button { min-height: 2.8rem; border: 1px solid var(--accent); border-radius: 3px; padding: .6rem 1rem; color: #fff !important; background: var(--accent); box-shadow: none; font-size: .9rem; font-weight: 650; letter-spacing: 0; text-transform: none; }
#intro .button:hover { color: #fff !important; background: var(--accent-dark); border-color: var(--accent-dark); box-shadow: none; }
.intro-topics { min-width: 0; margin: 0; padding: .35rem 1.15rem; list-style: none; border-top: 1px solid var(--line); background: var(--accent-soft); }
.intro-topics li { min-height: 3.25rem; display: flex; align-items: center; padding: .65rem 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: .98rem; font-weight: 600; letter-spacing: 0; }
#main {
  width: min(var(--content-width), calc(100% - 2 * var(--page-gutter))); min-width: 0;
  margin: clamp(1.25rem, 2.5vw, 2rem) auto; padding: 0; overflow: visible;
  color: var(--ink); background: transparent; box-shadow: none;
}
#main > .post { width: 100%; min-width: 0; margin: 0; padding: clamp(1.5rem, 3.5vw, 2.75rem) 0 !important; border: 0; color: var(--ink); background: transparent; box-shadow: none; }
#main > .post + .post, #main > .post + .posts { margin-top: 1rem; }
#main .major { width: 100%; margin: 0 0 1.75rem; padding: 0; text-align: left; }
#main > .post > header.major { text-align: left; }
#main > .post > header.major p { text-align: left; }
#main .major h1, #main .major h2 { max-width: 19ch; margin: 0; color: var(--ink); font-size: clamp(2.15rem, 4.5vw, 3.25rem); font-weight: 680; letter-spacing: -.045em; line-height: 1.18; }
#main .major p { max-width: 62ch; margin: 1rem 0 0; color: var(--muted); font-size: 1rem; font-style: normal; line-height: 1.8; }
#main > .post p { color: var(--ink-soft); }
#main .date, .entry-meta { display: inline-block; margin: 0 0 .5rem; color: var(--muted); font-family: var(--font-sans) !important; font-size: .84rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
#main .posts h2, #main .post h2, #main .post h3 { font-family: var(--font-sans) !important; color: var(--ink); font-weight: 730; letter-spacing: -.04em; }
#main .post h1 { overflow-wrap: anywhere; }
#main .post h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); line-height: 1.3; }
#main .post h3 { font-size: 1.3rem; }
#main .post a:not(.button) { color: var(--accent); }
#main .post a:not(.button):hover { color: var(--accent-dark); }
#main .actions { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
#main .actions li { padding: 0; }

/* Articles remain a readable editorial stream rather than a wall of same-size cards. */
#main > .posts { display: block; width: 100%; margin: 0; padding: 0; background: transparent; }
#main > .posts > article {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(16rem, 1.2fr); align-items: start;
  gap: .5rem clamp(1.5rem, 5vw, 4rem); width: 100%; margin: 0; padding: 2rem 0;
  border: 0; border-top: 1px solid var(--line); background: transparent; box-shadow: none;
}
#main > .posts > article > header { grid-column: 1; min-width: 0; margin: 0; padding: 0; border: 0; background: transparent; text-align: left; }
#main > .posts > article > header h2 { margin: .15rem 0 0; font-size: clamp(1.45rem, 2.7vw, 2rem); line-height: 1.3; }
#main > .posts > article > header h2 a { border: 0; color: var(--ink); }
#main > .posts > article > header h2 a:hover { color: var(--accent); }
#main > .posts > article > p:not(.post-meta) { grid-column: 2; grid-row: 1 / span 2; max-width: 65ch; margin: 0; color: var(--ink-soft); line-height: 1.85; }
#main > .posts > article > .post-meta { grid-column: 1; grid-row: 2; display: flex; flex-wrap: wrap; gap: .4rem .8rem; margin: .25rem 0 0; color: var(--muted); font-size: .88rem; }
#main > .posts > article > .actions { grid-column: 2; margin: .75rem 0 0; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .85rem; margin: .7rem 0; color: var(--muted); font-size: .88rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0 1.5rem; }
.tag, .tag-item { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--line); border-radius: 2px; padding: .2rem .55rem; color: var(--ink-soft); background: #fff; font-size: .8rem; }
.tag a { border: 0; }
.article-content { max-width: 70ch; overflow-wrap: anywhere; color: var(--ink); font-size: clamp(1rem, 1.4vw, 1.1rem); line-height: 1.95; text-align: start; user-select: text; -webkit-user-select: text; }
.article-content p { margin: 0 0 1.35rem; color: var(--ink-soft); line-height: inherit; text-align: start; text-wrap: pretty; }
.article-content h2, .article-content h3, .article-content h4 { margin: 2.5rem 0 .8rem; text-wrap: balance; }
.article-content a, .article-link { color: var(--accent); text-decoration: underline; text-underline-offset: .18em; }
.article-content > :first-child { margin-top: 0; }
.article-content img, .article-content video, .article-content iframe { height: auto; }
.article-content iframe { width: 100%; min-height: 18rem; border: 0; }
.article-content pre { max-width: 100%; overflow: auto; padding: 1rem; color: #f4f6ff; background: #17233d; }
.article-content table { display: block; max-width: 100%; overflow-x: auto; }
.video-wrapper.is-lazy { position: relative; }
.video-wrapper.is-lazy:before, .video-wrapper.is-lazy:after { content: ""; position: absolute; top: 50%; left: 50%; pointer-events: none; }
.video-wrapper.is-lazy:before { width: 4rem; height: 4rem; border-radius: 50%; background: rgba(10,19,39,.78); transform: translate(-50%,-50%); }
.video-wrapper.is-lazy:after { margin-left: .2rem; border-top: .75rem solid transparent; border-bottom: .75rem solid transparent; border-left: 1.1rem solid #fff; transform: translate(-35%,-50%); }
mark.search-match { padding: 0 .15em; color: var(--ink); background: #dce5ff; }

.search-toolbar { display: flex; align-items: end; flex-wrap: wrap; gap: .75rem 1.25rem; margin: 1.35rem 0 1.25rem; }
.search-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; flex: 1 1 26rem; gap: .65rem; margin: 0; padding: 0; border: 0; }
.search-form .field { min-width: 0; margin: 0; }
.search-form input[type="search"] { width: 100%; min-height: 3.1rem; border: 1px solid #c6cfde; border-radius: 3px; padding: .7rem .85rem; color: var(--ink); background: var(--paper); }
.search-form input[type="search"]:focus-visible { border-color: var(--accent); outline: 3px solid rgba(41,72,232,.2); outline-offset: 1px; }
.search-hint { flex-basis: 100%; margin: -.35rem 0 0; color: var(--muted); font-size: .8rem; }
.category-nav { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.5rem; }
.category-nav a { min-height: 2.75rem; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 2px; padding: .35rem .9rem; color: var(--ink-soft); background: transparent; font-size: .88rem; font-weight: 600; }
.category-nav a:hover, .category-nav a[aria-current="page"] { border-color: #c5cdd7; color: var(--ink) !important; background: var(--accent-soft); }
.empty-state { margin: 1rem 0; padding: 1.5rem 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
.empty-state h2 { margin: 0; color: var(--ink); font-size: clamp(1.5rem, 3vw, 2.15rem); letter-spacing: -.04em; }
.empty-state p { max-width: 58ch; margin: .7rem 0 1.2rem; color: var(--ink-soft); }
#main > .posts > article.empty-state { display: block; margin: 1rem 0 0; padding: 1.5rem 0; border-top: 0; border-bottom: 1px solid var(--line); background: transparent; }
#main > .posts > article.empty-state > header { margin: 0 0 .5rem; text-align: left; }
#main > .posts > article.empty-state > header h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.15rem); }
#main > .post.empty-state { margin-top: .5rem; padding: 1.5rem 0 !important; border-top: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
#main > .post.empty-state h2 { text-align: left; }
.pagination { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: .5rem; padding: 1.5rem 0; }
.pagination a, .pagination span { min-width: 2.75rem; min-height: 2.75rem; display: inline-grid; place-items: center; border: 1px solid var(--line); padding: .35rem .75rem; color: var(--ink); font-weight: 650; }
.pagination [aria-current="page"] { border-color: var(--accent); color: #fff; background: var(--accent); }
.post-navigation { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 1rem; margin: 2.5rem 0 0; }
.post-navigation > * { min-width: 0; padding: 1rem 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.post-navigation .next { text-align: right; }
.post-navigation-label { display: block; margin-bottom: .4rem; color: var(--muted); font-size: .8rem; }
.post-navigation a { border: 0; color: var(--ink); font-weight: 650; }

.button, .button--primary, button.button, .search-form button {
  min-height: 2.8rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 1px solid var(--action); border-radius: 3px; padding: .6rem 1rem;
  color: var(--action-text) !important; background: var(--action); font-size: .92rem; font-weight: 650;
  letter-spacing: 0; line-height: 1.3; text-align: center; text-transform: none; cursor: pointer;
}
.button:hover, .button--primary:hover, button.button:hover, .search-form button:hover { border-color: var(--accent-dark); color: var(--action-text) !important; background: var(--accent-dark); }
#main .post .button.primary, #main .post button.button.primary { border-color: var(--action); color: var(--action-text) !important; background: var(--action) !important; }
#main .post .button.primary:hover, #main .post button.button.primary:hover { border-color: var(--accent-dark); color: var(--action-text) !important; background: var(--accent-dark) !important; }
.button:not(.primary):not(.button--primary), .button--secondary { border-color: var(--line); color: var(--ink) !important; background: transparent; }
.button:not(.primary):not(.button--primary):hover, .button--secondary:hover { border-color: var(--accent); color: var(--accent) !important; background: #fff; }
.button--danger { border-color: var(--danger); color: #fff !important; background: var(--danger); }
.button--danger:hover { border-color: #76211d; background: #76211d; }
button:not(.button) { min-height: 2.75rem; cursor: pointer; }

/* Management views use the same surfaces, with denser task-focused spacing. */
.admin-page { padding: 0 !important; }
.admin-page h1 { margin: 0 0 1rem; }
.admin-page h2 { margin: 0 0 1rem; }
.admin-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1.5rem; }
.admin-heading h1 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.admin-heading p { width: 100%; margin: .45rem 0 0; color: var(--muted); font-size: .92rem; }
.admin-actions, .admin-row-actions, .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.admin-card { min-width: 0; margin: 1rem 0; padding: clamp(1.1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 3px; background: var(--paper); box-shadow: none; }
.admin-card h2 { font-size: 1.35rem; }
.admin-field, .field { display: grid; gap: .4rem; min-width: 0; margin: 0 0 1.1rem; }
.admin-field label, .field label { color: var(--ink); font-weight: 650; }
.admin-input, .admin-select, .admin-textarea, .input, .textarea, .select, .toolbar-select, .toolbar-color {
  width: 100%; min-width: 0; min-height: 2.9rem; border: 1px solid #c6cfde; border-radius: 3px;
  padding: .65rem .75rem; color: var(--ink); background: #fff;
}
.admin-input:focus-visible, .admin-select:focus-visible, .admin-textarea:focus-visible, .input:focus-visible, .textarea:focus-visible, .select:focus-visible { border-color: var(--accent); outline: 3px solid rgba(41,72,232,.2); outline-offset: 1px; }
.admin-textarea, textarea.admin-input, textarea.input { min-height: 18rem; resize: vertical; line-height: 1.75; }
.admin-help, .helper-text, .admin-help-text { color: var(--muted); font-size: .82rem; }
.admin-form-grid, .form-grid, .form-row--paired { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.admin-message, .feedback { margin: 1rem 0; padding: .8rem 1rem; border: 1px solid #9dcab1; border-radius: 3px; color: #124d35; background: #eef8f2; }
.admin-message--error, .feedback--error { border-color: #d8a9a4; color: #70241f; background: #fff1ef; }
.admin-empty { padding: 1.25rem 0; color: var(--ink-soft); }
.admin-table-wrap, .table-shell { width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; border: 1px solid var(--line); }
.admin-table, .table-shell table { width: 100%; min-width: 42rem; border-collapse: collapse; background: #fff; }
.admin-table th, .admin-table td, .table-shell th, .table-shell td { padding: .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th, .table-shell th { color: var(--ink-soft); background: #eef1f7; font-size: .78rem; font-weight: 700; }
.admin-table td, .table-shell td { overflow-wrap: anywhere; }
.admin-table tr:last-child td, .table-shell tr:last-child td { border-bottom: 0; }
.admin-table-wrap:focus-visible, .table-shell:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.admin-row-actions .button, .admin-actions .button, .form-actions .button { min-height: 2.75rem; }
.tag-input-row { display: flex; align-items: center; gap: .6rem; }
.tag-list--editable, .tag-list--editable .tag-item { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.tag-remove { min-width: 2rem; min-height: 2rem; border: 0; color: var(--ink); background: transparent; cursor: pointer; }
.tag-status { min-height: 1.5rem; color: var(--muted); font-size: .82rem; }
.auth-panel { width: min(100%, 30rem); margin: clamp(1rem, 4vw, 2rem) auto; padding: clamp(1.25rem, 4vw, 2.25rem); border: 1px solid var(--line); border-radius: 3px; background: var(--paper); box-shadow: none; }
.auth-panel h1 { margin: 0 0 .6rem; font-size: 2rem; }
.auth-panel > p { color: var(--muted); }
.auth-panel form { margin-top: 1.5rem; }
.auth-panel form .button { width: 100%; }
.word-editor-container { min-height: 0; display: block; padding: 1rem; background: #eef1f7; }
.article-editor { min-height: 24rem; padding: 1rem; border: 1px solid #c6cfde; background: #fff; line-height: 1.75; }
.article-editor:empty:before { content: attr(data-placeholder); color: var(--muted); }
.editor-toolbar, .pro-toolbar { position: sticky; top: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .75rem; border-bottom: 1px solid var(--line); background: #fff; }
.toolbar-group { display: flex; flex-wrap: wrap; gap: .35rem; }
.toolbar-btn { min-width: 2.75rem; min-height: 2.75rem; border: 1px solid var(--line); border-radius: 2px; color: var(--ink); background: #fff; cursor: pointer; }

#footer {
  display: block; min-height: 0; margin: 2.5rem 0 0; padding: 2rem max(var(--page-gutter), calc((100vw - var(--content-width)) / 2)) 1.5rem;
  border-top: 1px solid var(--line); color: var(--ink-soft); background: transparent;
}
#footer > section { display: block; min-width: 0; width: 100%; min-height: 0; margin: 0; padding: 0; border: 0; }
#footer > section:only-child { max-width: var(--content-width); margin-inline: auto; }
#footer h3 { margin: 0 0 .55rem; color: var(--ink); font-size: .88rem; font-weight: 650; letter-spacing: 0; text-transform: none; }
#footer p, #footer a { color: var(--ink-soft); }
#footer a:hover { color: var(--accent-dark); }
#footer .split.contact { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); max-width: 38rem; gap: 1.5rem; border: 0; }
#footer > section.split.contact > section { display: block; min-width: 0; width: auto; min-height: 0; margin: 0; padding: 0; border: 0; flex: initial; }
#footer > section.split.contact { flex-basis: auto; }
#footer > section.split.contact > section > :first-child,
#footer > section.split.contact > section > :last-child { width: auto; flex: initial; }
#footer > section.split.contact > section > p { width: auto; }
#footer > section.split.contact > section h3 { width: auto; }
#footer p { margin: 0 0 .75rem; font-size: .9rem; line-height: 1.75; }
#footer img { vertical-align: middle; margin-right: .3rem; }
#footer .credits { margin-top: .75rem; color: var(--muted); font-size: .75rem; }
#footer .credits a { color: inherit; }
#copyright { margin: 0; padding: .8rem max(var(--page-gutter), calc((100vw - var(--content-width)) / 2)); border-top: 1px solid var(--line); color: var(--muted); background: transparent; text-align: left; }
#copyright ul { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin: 0; padding: 0; list-style: none; }
#copyright a { color: var(--ink-soft); border-bottom-color: rgba(70,83,101,.35); }
#reading-progress { position: fixed; z-index: 10000; inset: 0 auto auto 0; width: 100%; height: 2px; transform: scaleX(0); transform-origin: left center; background: var(--accent); pointer-events: none; will-change: transform; }

[data-reveal] { opacity: 1; transform: none; }
html.has-reveal-motion [data-reveal] { opacity: 1; transform: none; transition: none; }
.back-to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: 3px; color: var(--ink); background: #fff; cursor: pointer; opacity: 0; pointer-events: none; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }

@media screen and (max-width: 980px) {
  #nav { height: 64px; min-height: 64px; }
  html.has-theme-js #nav { display: none !important; }
  html.has-theme-js #navPanelToggle { position: fixed; z-index: 10001; top: .8rem; right: var(--page-gutter); display: inline-flex; align-items: center; justify-content: center; min-height: 44px; box-shadow: 0 3px 12px rgba(12,24,52,.15); }
  #intro { gap: 2rem; }
  #reading-progress { height: 2px; }
}
@media screen and (max-width: 736px) {
  html { scroll-padding-top: .75rem; }
  #intro { grid-template-columns: minmax(0,1fr); gap: 1.5rem; padding-top: 2.75rem !important; padding-bottom: 2.25rem !important; }
  #intro h1 { max-width: 13ch; font-size: clamp(2.45rem, 8vw, 3.5rem); }
  .intro-topics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); padding: .25rem .5rem; border-top: 1px solid var(--line); }
  .intro-topics li { min-height: 2.75rem; justify-content: center; padding: .45rem .25rem; border-bottom: 1px solid var(--line); font-size: clamp(.78rem, 2.5vw, .9rem); text-align: center; }
  #main { margin-top: 2rem; margin-bottom: 2rem; }
  #main > .posts > article { grid-template-columns: minmax(0,1fr); gap: .7rem; }
  #main > .posts > article > header, #main > .posts > article > .post-meta, #main > .posts > article > p:not(.post-meta), #main > .posts > article > .actions { grid-column: 1; grid-row: auto; }
  #main > .posts > article > .actions { margin-top: .25rem; }
  #footer { grid-template-columns: minmax(0,1fr); gap: 2rem; }
  #footer .split.contact { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .post-navigation { grid-template-columns: minmax(0,1fr); }
  .post-navigation .next { text-align: left; }
  .admin-heading { align-items: flex-start; }
  .admin-form-grid, .form-grid, .form-row--paired { grid-template-columns: minmax(0,1fr); }
}
@media screen and (max-width: 480px) {
  body { min-width: 320px; }
  #nav { width: calc(100% - 2 * var(--page-gutter)); }
  #intro { gap: 1.25rem; padding-top: 2.25rem !important; }
  #intro .actions { justify-content: flex-start; margin-top: 1.25rem; }
  #main .major h1, #main .major h2 { font-size: clamp(2.2rem, 12vw, 3rem); }
  #main > .post { padding: 2rem 0 !important; }
  .search-form { flex-basis: 100%; }
  .search-hint { margin-top: 0; }
  .admin-page { padding: 0 !important; }
  .admin-card { padding: 1rem; }
  .admin-heading { align-items: flex-start; flex-direction: column; }
  .admin-actions { align-items: stretch; width: 100%; }
  .admin-actions .button, .admin-actions > form, .admin-actions > form .button { width: 100%; }
  .admin-row-actions { align-items: stretch; flex-direction: column; }
  .admin-row-actions .button { width: 100%; }
  .tag-input-row { align-items: stretch; flex-direction: column; }
  .tag-input-row .button { width: 100%; }
  #footer .split.contact { grid-template-columns: minmax(0,1fr); }
  #copyright { padding-top: .85rem; padding-bottom: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  #intro, #navPanel, #wrapper:after { transition: none !important; transform: none; }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --canvas: #1e2533;
    --paper: #282f3f;
    --ink: #edf1f8;
    --ink-soft: #c3ccda;
    --muted: #a2adbd;
    --line: #3c4659;
    --accent: #aec2ff;
    --accent-dark: #d0dcff;
    --accent-soft: #303a51;
    --action: #9fb6ff;
    --action-text: #1d2942;
    --danger: #f09090;
    --success: #84c3a0;
    --focus-ring: #f4d17a;
  }
  html.home-document :focus-visible { outline-color: var(--focus-ring); }
  html.home-document #wrapper #intro .actions .button,
  html.home-document #wrapper #main .actions .button,
  html.home-document .button--primary,
  html.home-document button.button,
  html.home-document .search-form button,
  html.home-document #navPanelToggle {
    border-color: var(--accent);
    color: #26312c !important;
    background: var(--accent);
    box-shadow: none;
  }
  html.home-document #wrapper #intro .actions .button:hover,
  html.home-document #wrapper #main .actions .button:hover,
  html.home-document .button--primary:hover,
  html.home-document button.button:hover,
  html.home-document .search-form button:hover,
  html.home-document #navPanelToggle:hover {
    border-color: var(--accent-dark);
    color: #26312c !important;
    background: var(--accent-dark);
  }
  html.home-document #main .post .category-nav a:hover,
  html.home-document #main .post .category-nav a[aria-current="page"] {
    border-color: var(--line);
    color: var(--ink) !important;
    background: var(--accent-soft);
  }
  html.home-document .tag,
  html.home-document .tag-item {
    border-color: var(--line);
    color: var(--ink-soft);
    background: var(--paper);
  }
}

html.home-document[data-color-fallback="dark"] { color-scheme: dark; }
html.home-document[data-color-fallback="dark"] :focus-visible { outline-color: #f0c986; }
html.home-document[data-color-fallback="dark"] #intro .intro-topics {
  border-color: var(--line);
  color: var(--ink);
  background: var(--accent-soft) !important;
}
html.home-document[data-color-fallback="dark"] #wrapper #intro .actions .button,
html.home-document[data-color-fallback="dark"] #wrapper #main .actions .button,
html.home-document[data-color-fallback="dark"] .button--primary,
html.home-document[data-color-fallback="dark"] button.button,
html.home-document[data-color-fallback="dark"] .search-form button,
html.home-document[data-color-fallback="dark"] #navPanelToggle {
  border-color: var(--accent);
  color: #26312c !important;
  background: var(--accent);
  box-shadow: none;
}
html.home-document[data-color-fallback="dark"] #wrapper #intro .actions .button:hover,
html.home-document[data-color-fallback="dark"] #wrapper #main .actions .button:hover,
html.home-document[data-color-fallback="dark"] .button--primary:hover,
html.home-document[data-color-fallback="dark"] button.button:hover,
html.home-document[data-color-fallback="dark"] .search-form button:hover,
html.home-document[data-color-fallback="dark"] #navPanelToggle:hover {
  border-color: var(--accent-dark);
  color: var(--action-text) !important;
  background: var(--accent-dark);
}

/* Sidebar, top search and centered content align the PHP pages with the home hub. */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --canvas: #1e2533;
    --paper: #282f3f;
    --ink: #edf1f8;
    --ink-soft: #c3ccda;
    --muted: #a2adbd;
    --line: #3c4659;
    --accent: #aec2ff;
    --accent-dark: #d0dcff;
    --accent-soft: #303a51;
    --action: #9fb6ff;
    --action-text: #1d2942;
    --danger: #f09090;
    --success: #84c3a0;
    --focus-ring: #f4d17a;
  }
  :focus-visible { outline-color: var(--focus-ring); }
}

#wrapper {
  display: grid !important;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  grid-template-rows: var(--topbar-height) minmax(0, 1fr) auto auto;
  align-content: start;
  min-height: 100vh;
  background: transparent !important;
}
#header {
  position: sticky;
  z-index: 1000;
  top: 0;
  display: flex !important;
  grid-column: 1 / -1;
  grid-row: 1;
  min-width: 0;
  height: var(--topbar-height);
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0;
  padding: 0 var(--page-gutter) 0 calc(var(--sidebar-width) + var(--page-gutter));
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 1px 5px rgb(35 48 72 / 4%);
}
#header .logo {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 0;
  color: var(--ink);
  font-family: var(--font-sans) !important;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
  text-transform: none;
}
.header-search {
  display: grid;
  width: min(24rem, 42vw);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .4rem;
  margin: 0;
  padding: .25rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--canvas);
}
.header-search input[type="search"] {
  width: 100%;
  min-width: 0;
  min-height: 2.25rem;
  border: 0;
  padding: .35rem .55rem;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: .87rem;
}
.header-search button {
  min-width: 3.4rem;
  min-height: 2.25rem;
  border: 0;
  border-radius: 4px;
  padding: .3rem .65rem;
  color: var(--action-text) !important;
  background: var(--action);
  font-size: .82rem;
  font-weight: 650;
  cursor: pointer;
}
.header-search button:hover { color: var(--action-text) !important; background: var(--accent-dark); }
#nav {
  position: sticky;
  z-index: 2;
  top: var(--topbar-height);
  display: flex;
  grid-column: 1;
  grid-row: 2 / 5;
  width: var(--sidebar-width);
  height: calc(100vh - var(--topbar-height));
  min-height: calc(100vh - var(--topbar-height));
  flex-direction: column;
  align-items: stretch;
  margin: 0;
  padding: 1.35rem 1rem 1.5rem;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--paper);
  line-height: 1.5;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sidebar-intro { padding: .55rem .65rem 1.25rem; border-bottom: 1px solid var(--line); }
.sidebar-eyebrow { margin: 0; color: var(--accent); font-size: .78rem; font-weight: 700; letter-spacing: .015em; }
.sidebar-description { margin: .45rem 0 0; color: var(--muted); font-size: .8rem; line-height: 1.65; }
.sidebar-heading { margin: 1.2rem .65rem .5rem; color: var(--muted); font-size: .74rem; font-weight: 700; letter-spacing: .04em; }
#nav .links { display: grid; height: auto; gap: .25rem; margin: 0; padding: 0; list-style: none; }
#nav .links li { display: block; height: auto; margin: 0; padding: 0; }
#nav .links a {
  display: flex;
  min-height: 2.65rem;
  align-items: center;
  border: 0;
  border-radius: 5px;
  padding: .55rem .7rem;
  color: var(--ink-soft);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
}
#nav .links a:hover { color: var(--accent); background: var(--accent-soft); }
#nav .links a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); box-shadow: inset 3px 0 var(--accent); }
.sidebar-topics { margin-top: 1rem; padding-top: .1rem; border-top: 1px solid var(--line); }
.sidebar-topics .sidebar-heading { margin-top: 1rem; }
.sidebar-topics ul { display: grid; gap: .15rem; margin: 0; padding: 0 .65rem; list-style: none; }
.sidebar-topics li { padding: .45rem .1rem; color: var(--ink-soft); font-size: .83rem; }
#header, #nav, #navPanel, #navPanel .links a, #navPanel .close { font-family: var(--font-sans) !important; }
#navPanel {
  position: fixed;
  z-index: 10003;
  inset: 0 0 0 auto;
  width: min(22rem, 88vw);
  padding: 4.25rem 1.25rem 1.5rem;
  transform: translateX(105%);
  visibility: hidden;
  overflow-y: auto;
  color: var(--ink);
  background: var(--paper);
  box-shadow: -12px 0 36px rgb(20 30 50 / 14%);
  transition: transform .26s ease, visibility 0s linear .26s;
}
body.is-navPanel-visible #navPanel { transform: translateX(0); visibility: visible; transition: transform .26s ease; }
#navPanel .links { margin: 0; padding: 0; list-style: none; }
#navPanel .links li { border-bottom: 1px solid var(--line); }
#navPanel .links a { display: block; padding: .85rem .2rem; color: var(--ink); font-weight: 650; text-decoration: none; }
#navPanel .links a[aria-current="page"] { color: var(--accent); }
#navPanel .close {
  position: absolute;
  top: .75rem;
  right: .85rem;
  min-height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: .45rem .8rem;
  color: var(--ink);
  background: var(--paper);
  font-weight: 600;
  cursor: pointer;
}
body.is-navPanel-visible #wrapper::before { position: fixed; z-index: 10002; inset: 0; background: rgb(20 28 42 / 44%); content: ""; }
body.is-navPanel-visible #wrapper { opacity: 1; }
body.is-navPanel-visible #navPanelToggle { visibility: hidden; pointer-events: none; }
#navPanelToggle { display: none; }
#main {
  grid-column: 2;
  grid-row: 2;
  width: min(940px, calc(100% - 2 * var(--page-gutter)));
  max-width: none;
  margin: 1.45rem auto 2rem;
  padding: 0;
  background: transparent;
}
#main > .post {
  margin: 0 0 .9rem;
  padding: clamp(1.35rem, 3vw, 2.25rem) !important;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 2px 10px rgb(35 48 72 / 4%);
}
#main > .post + .post, #main > .post + .posts { margin-top: .9rem; }
#main > .posts { width: 100%; margin: 0; padding: 0; background: transparent; }
#main > .posts > article {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .45rem;
  margin: 0 0 .75rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 2px 10px rgb(35 48 72 / 4%);
}
#main > .posts > article > header { margin: 0; padding: 0; border: 0; background: transparent; text-align: left; }
#main > .posts > article > p:not(.post-meta) { grid-column: 1; grid-row: auto; margin: 0; color: var(--ink-soft); }
#main > .posts > article > .post-meta { grid-column: 1; grid-row: auto; margin: 0; }
#main > .posts > article > .actions { grid-column: 1; margin: .15rem 0 0; }
#main .post .major { padding: 0; }
#main .post .major h1, #main .post .major h2 { color: var(--ink); }
#main .post .major p, #main .post p { color: var(--ink-soft); }
#main .post .tag, #main .post .tag-item { color: var(--ink-soft); background: var(--accent-soft); }
#main .post .category-nav a { color: var(--ink-soft); background: transparent; }
#main .post .category-nav a:hover, #main .post .category-nav a[aria-current="page"] { color: var(--accent) !important; background: var(--accent-soft); }
#main .post .search-form input[type="search"] { color: var(--ink); background: var(--paper); }
#main .post .button:not(.primary):not(.button--primary), #main .post .button--secondary { color: var(--ink) !important; background: transparent; }
#main .post .button:not(.primary):not(.button--primary):hover, #main .post .button--secondary:hover { color: var(--accent) !important; background: var(--accent-soft); }
#footer {
  grid-column: 2;
  grid-row: 3;
  display: block;
  width: min(940px, calc(100% - 2 * var(--page-gutter)));
  min-height: 0;
  margin: 0 auto;
  padding: 1.2rem 0 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  background: transparent;
}
#footer > section { min-height: 0; margin: 0; padding: 0; border: 0; }
#footer .split.contact { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; max-width: 100%; border: 0; }
#footer .split.contact > section { width: auto; min-width: 0; min-height: 0; margin: 0; padding: 0; border: 0; }
#footer .split.contact > section > :first-child, #footer .split.contact > section > :last-child { width: auto; }
#footer h3 { margin: 0 0 .35rem; color: var(--ink); font-size: .78rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
#footer p, #footer a { color: var(--ink-soft); }
#footer p { margin: 0; font-size: .78rem; line-height: 1.7; }
#footer a:hover { color: var(--accent); }
#footer img { margin-right: .25rem; vertical-align: middle; }
#copyright { grid-column: 2; grid-row: 4; width: min(940px, calc(100% - 2 * var(--page-gutter))); margin: 0 auto; padding: .55rem 0 1rem; border-top: 1px solid var(--line); color: var(--muted); background: transparent; text-align: left; font-size: .77rem; }
#copyright ul { margin: 0; padding: 0; }
#copyright li { border: 0; }
.admin-page { padding: 0 !important; }
.admin-card, .auth-panel { border-radius: 8px; background: var(--paper); box-shadow: 0 2px 10px rgb(35 48 72 / 4%); }
.admin-input, .admin-select, .admin-textarea, .input, .textarea, .select, .toolbar-select, .toolbar-color,
.search-form input[type="search"], .article-editor, .admin-table, .table-shell table { color: var(--ink); background: var(--paper); }
.admin-table th, .table-shell th, .word-editor-container { color: var(--ink-soft); background: var(--accent-soft); }
.tag, .tag-item, .toolbar-btn { color: var(--ink-soft); background: var(--paper); }
html.home-document[data-color-fallback="dark"] :focus-visible { outline-color: var(--focus-ring); }
html.home-document[data-color-fallback="dark"] .button,
html.home-document[data-color-fallback="dark"] .button--primary,
html.home-document[data-color-fallback="dark"] button.button,
html.home-document[data-color-fallback="dark"] .search-form button,
html.home-document[data-color-fallback="dark"] #navPanelToggle {
  border-color: var(--action);
  color: var(--action-text) !important;
  background: var(--action);
}
html.home-document[data-color-fallback="dark"] .button:hover,
html.home-document[data-color-fallback="dark"] .button--primary:hover,
html.home-document[data-color-fallback="dark"] button.button:hover,
html.home-document[data-color-fallback="dark"] .search-form button:hover,
html.home-document[data-color-fallback="dark"] #navPanelToggle:hover {
  border-color: var(--accent-dark);
  color: var(--action-text) !important;
  background: var(--accent-dark);
}
@media (max-width: 980px) {
  #wrapper { grid-template-columns: minmax(0, 1fr); grid-template-rows: var(--topbar-height) minmax(0, 1fr) auto auto; }
  #header { grid-column: 1; padding-inline: var(--page-gutter); }
  #header .header-search { margin-right: 5.25rem; }
  #nav { position: static; grid-column: 1; grid-row: 2; display: flex; width: 100%; height: auto; min-height: 0; padding: 1rem var(--page-gutter); border-right: 0; border-bottom: 1px solid var(--line); }
  html.has-theme-js #nav { display: none !important; }
  html.has-theme-js #navPanelToggle { position: fixed; z-index: 10004; top: .55rem; right: var(--page-gutter); display: inline-flex; min-height: 2.75rem; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 5px; padding: .4rem .75rem; color: var(--ink); background: var(--paper); font-family: var(--font-sans) !important; font-size: .84rem; font-weight: 650; cursor: pointer; }
  #main { grid-column: 1; grid-row: 2; width: min(940px, calc(100% - 2 * var(--page-gutter))); }
  #footer { grid-column: 1; grid-row: 3; }
  #copyright { grid-column: 1; grid-row: 4; }
  html:not(.has-theme-js) #main { grid-row: 3; }
  html:not(.has-theme-js) #footer { grid-row: 4; }
  html:not(.has-theme-js) #copyright { grid-row: 5; }
}
@media (max-width: 600px) {
  :root { --topbar-height: 56px; --page-gutter: 1rem; }
  #header { gap: .5rem; }
  #header .logo { font-size: .94rem; }
  #header .header-search { display: none; }
  html.has-theme-js #navPanelToggle { top: .45rem; right: .7rem; }
  #main { margin-top: 1rem; margin-bottom: 1.3rem; }
  #main > .post { padding: 1.1rem !important; }
  #main > .posts > article { padding: 1rem; }
  #footer .split.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: .8rem; }
  #footer, #copyright { width: calc(100% - 2 * var(--page-gutter)); }
}
@media (prefers-reduced-motion: reduce) {
  #navPanel, #wrapper:after { transition: none !important; transform: none; }
}

/* A direct top navigation replaces the hidden rail and duplicate footer links. */
#wrapper {
  display: grid !important;
  width: 100%;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto minmax(0, 1fr) auto auto !important;
  overflow: visible;
  background: transparent !important;
}
#wrapper > #header {
  position: sticky;
  z-index: 1000;
  top: 0;
  display: grid !important;
  width: min(var(--content-width), calc(100% - 2 * var(--page-gutter)));
  min-width: 0;
  min-height: 68px;
  grid-column: 1 !important;
  grid-row: 1 !important;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "logo nav";
  align-items: center;
  gap: .75rem clamp(1rem, 3vw, 2.25rem);
  margin: 0 auto;
  padding: .5rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  box-shadow: none;
}
#wrapper > #header.header-with-search {
  grid-template-columns: auto minmax(0, 1fr) minmax(14rem, 24rem);
  grid-template-areas: "logo nav search";
}
#wrapper > #header .logo {
  display: inline-flex;
  grid-area: logo;
  min-height: 44px;
  align-items: center;
  border: 0;
  color: var(--ink);
  font-family: var(--font-sans) !important;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
}
#wrapper > #header > #nav {
  position: static !important;
  display: block !important;
  width: auto;
  height: auto !important;
  min-height: 0 !important;
  grid-area: nav;
  justify-self: center;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}
#wrapper > #header > #nav .links {
  display: flex !important;
  width: auto;
  height: auto;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
#wrapper > #header > #nav .links li { display: block !important; width: auto; height: auto; margin: 0; padding: 0; border: 0; }
#wrapper > #header > #nav .links a {
  display: inline-flex !important;
  width: auto;
  min-width: 3.5rem;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 0;
  border-radius: 5px;
  padding: .55rem .8rem;
  color: var(--ink-soft);
  background: transparent;
  font-family: var(--font-sans) !important;
  font-size: .93rem;
  font-weight: 650;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
}
#wrapper > #header > #nav .links a:hover,
#wrapper > #header > #nav .links a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
#wrapper > #header > #nav .links a[aria-current="page"] { box-shadow: inset 0 -2px var(--accent); }
#wrapper > #header .header-search {
  display: grid !important;
  width: 100%;
  min-width: 0;
  grid-area: search;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .35rem;
  margin: 0;
  padding: .2rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--canvas);
}
#wrapper > #header .header-search:focus-within { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
#wrapper > #header .header-search input[type="search"] {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 0;
  padding: .35rem .6rem;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: .88rem;
}
#wrapper > #header .header-search button {
  min-width: 3.5rem;
  min-height: 44px;
  border: 0;
  border-radius: 4px;
  padding: .35rem .65rem;
  color: var(--action-text);
  background: var(--action);
  font: inherit;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
}
#wrapper > #header .header-search button:hover { background: var(--accent-dark); }
#wrapper > #main {
  width: min(940px, calc(100% - 2 * var(--page-gutter)));
  grid-column: 1 !important;
  grid-row: 2 !important;
  margin: clamp(1rem, 3vw, 2rem) auto 2rem;
}
#wrapper > #footer {
  display: block;
  width: min(940px, calc(100% - 2 * var(--page-gutter)));
  min-height: 0;
  grid-column: 1 !important;
  grid-row: 3 !important;
  margin: 0 auto;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  background: transparent;
}
#wrapper > #footer .split.contact {
  display: flex;
  max-width: none;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
#wrapper > #footer .split.contact > section {
  display: block;
  width: auto !important;
  min-width: 0;
  min-height: 0 !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
#wrapper > #footer h3 { margin: 0 0 .35rem; font-size: .82rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
#wrapper > #footer p { margin: 0; font-size: .82rem; line-height: 1.65; }
#wrapper > #copyright {
  width: min(940px, calc(100% - 2 * var(--page-gutter)));
  grid-column: 1 !important;
  grid-row: 4 !important;
  margin: 0 auto;
  padding: .6rem 0 .9rem;
  border-top: 1px solid var(--line);
  background: transparent;
  text-align: left;
}
@media (max-width: 680px) {
  #wrapper > #header, #wrapper > #header.header-with-search {
    min-height: 0;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "logo nav";
    gap: .25rem .65rem;
    padding: .35rem 0;
  }
  #wrapper > #header.header-with-search { grid-template-areas: "logo nav" "search search"; padding-bottom: .6rem; }
  #wrapper > #header > #nav { justify-self: end; }
  #wrapper > #header > #nav .links { justify-content: flex-end; gap: .1rem; }
  #wrapper > #header > #nav .links a { min-width: 3rem; padding-inline: .5rem; font-size: .88rem; }
  #wrapper > #header .header-search { width: 100%; }
  #wrapper > #main { margin: 1rem auto 1.4rem; }
  #wrapper > #footer, #wrapper > #copyright { width: calc(100% - 2 * var(--page-gutter)); }
}
