/* =========================================================
   VARIABLES / RESET OLD TWENTY FIFTEEN LAYOUT
========================================================= */

body.km-single-prototype {
	--km-dark: #11100e;
	--km-paper: #eee9df;
	--km-gold: #b6a078;
	--km-muted: #756f65;
	--km-header-height: 84px;
	background: var(--km-paper) !important;
	color: var(--km-dark);
}

body.km-single-prototype:before {
	display: none !important;
}

body.km-single-prototype #sidebar,
body.km-single-prototype .sidebar,
body.km-single-prototype #colophon,
body.km-single-prototype .site-footer,
body.km-single-prototype .entry-header,
body.km-single-prototype .entry-footer,
body.km-single-prototype .post-thumbnail,
body.km-single-prototype .post-navigation,
body.km-single-prototype .navigation,
body.km-single-prototype .comments-area {
	display: none !important;
}

body.km-single-prototype #page,
body.km-single-prototype .site,
body.km-single-prototype #content,
body.km-single-prototype .site-content,
body.km-single-prototype .content-area,
body.km-single-prototype .site-main,
body.km-single-prototype article,
body.km-single-prototype .hentry,
body.km-single-prototype .entry-content {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.km-single-prototype .entry-content:before,
body.km-single-prototype .entry-content:after {
	display: none !important;
}

body.km-single-prototype .site-main {
	padding-top: var(--km-header-height) !important;
}


/* =========================================================
   HEADER
========================================================= */

.km-site-header {
	position: fixed;
	z-index: 99991;
	top: 0;
	left: 0;
	right: 0;
	height: var(--km-header-height);
	padding: 0 clamp(24px, 4vw, 70px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	color: #eee9df;
	background: rgba(14,13,11,.96);
	border-bottom: 1px solid rgba(238,233,223,.10);
	box-shadow: 0 10px 35px rgba(0,0,0,.08);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

body.admin-bar.km-single-prototype .km-site-header {
	top: 32px;
}

.km-site-brand {
	min-width: 0;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: inherit !important;
	text-decoration: none !important;
}

.km-site-brand-mark {
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	display: grid;
	place-items: center;
}

.km-site-brand-mark img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.km-site-brand-name {
	font-family: Arial, sans-serif;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: .17em;
	white-space: nowrap;
}

.km-menu-toggle {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	margin: 0;
	padding: 12px 0 12px 14px;
	display: inline-flex;
	align-items: center;
	gap: 13px;
	background: transparent !important;
	color: #eee9df !important;
	font-family: Arial, sans-serif;
	font-size: 9px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .20em;
	box-shadow: none !important;
	text-shadow: none !important;
	cursor: pointer;
}

.km-menu-toggle:focus {
	outline: none;
}

.km-menu-toggle:focus-visible {
	outline: 1px solid var(--km-gold);
	outline-offset: 5px;
}

.km-menu-toggle-icon {
	position: relative;
	width: 25px;
	height: 14px;
	display: block;
}

.km-menu-toggle-icon span {
	position: absolute;
	left: 0;
	width: 25px;
	height: 1px;
	background: currentColor;
	transform-origin: center;
	transition: top .28s ease, transform .28s ease;
}

.km-menu-toggle-icon span:first-child { top: 3px; }
.km-menu-toggle-icon span:last-child { top: 10px; }

.km-menu-toggle.is-open .km-menu-toggle-icon span:first-child {
	top: 7px;
	transform: rotate(45deg);
}

.km-menu-toggle.is-open .km-menu-toggle-icon span:last-child {
	top: 7px;
	transform: rotate(-45deg);
}


/* =========================================================
   FULL SCREEN MENU
========================================================= */

html.km-menu-open,
body.km-menu-open {
	overflow: hidden !important;
}

.km-menu-overlay {
	position: fixed;
	z-index: 99990;
	inset: 0;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	background: radial-gradient(circle at 82% 18%, #302b23 0%, #171511 34%, #0b0a09 78%);
	color: #eee9df;
	transition: opacity .42s ease, visibility .42s step-end;
}

body.admin-bar.km-single-prototype .km-menu-overlay {
	top: 32px;
}

.km-menu-overlay:before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
	background-size: 8vw 100%;
	pointer-events: none;
}

.km-menu-overlay.is-open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	transition: opacity .42s ease, visibility 0s;
}

.km-menu-overlay-inner {
	position: relative;
	z-index: 2;
	height: 100%;
	padding: calc(var(--km-header-height) + 46px) clamp(28px, 6vw, 110px) 42px;
	display: grid;
	grid-template-rows: auto 1fr auto;
	gap: 34px;
	overflow-y: auto;
}

.km-menu-overlay-head,
.km-menu-overlay-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	font-family: Arial, sans-serif;
	font-size: 9px;
	font-weight: 600;
	letter-spacing: .20em;
	color: rgba(238,233,223,.48);
}

.km-menu-overlay-head {
	padding-bottom: 22px;
	border-bottom: 1px solid rgba(238,233,223,.12);
}

.km-menu-overlay-foot {
	padding-top: 22px;
	border-top: 1px solid rgba(238,233,223,.12);
}

.km-menu-navigation {
	align-self: center;
	width: 100%;
}

.km-primary-menu,
.km-primary-menu ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.km-primary-menu {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(55px, 8vw, 150px);
	row-gap: 0;
}

.km-primary-menu > li {
	position: relative;
	min-width: 0;
	padding: 13px 0 15px;
	border-bottom: 1px solid rgba(238,233,223,.10);
	break-inside: avoid;
}

.km-primary-menu a {
	color: #eee9df !important;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: color .24s ease, opacity .24s ease, transform .24s ease;
}

.km-primary-menu > li > a {
	display: inline-block;
	font-family: "STIX Two Text", Georgia, serif;
	font-size: 34px;
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -.018em;
}

.km-primary-menu > li:hover > a,
.km-primary-menu > li.current-menu-item > a,
.km-primary-menu > li.current-menu-ancestor > a {
	color: #c7ae7a !important;
}

.km-primary-menu .sub-menu {
	margin-top: 12px !important;
	padding-left: 18px !important;
	border-left: 1px solid rgba(182,160,120,.35);
}

.km-primary-menu .sub-menu li + li {
	margin-top: 7px;
}

.km-primary-menu .sub-menu a {
	display: inline-block;
	font-family: Arial, sans-serif;
	font-size: 10px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: .08em;
	color: rgba(238,233,223,.58) !important;
}

.km-primary-menu .sub-menu a:hover,
.km-primary-menu .sub-menu a:focus-visible {
	color: #d2bb8d !important;
	transform: translateX(4px);
}

.km-menu-missing {
	font-size: 20px;
	color: #eee9df;
}

.km-menu-overlay .km-primary-menu > li {
	opacity: 0;
	transform: translateY(12px);
}

.km-menu-overlay.is-open .km-primary-menu > li {
	opacity: 1;
	transform: translateY(0);
	transition: opacity .42s ease, transform .42s ease;
}

.km-menu-overlay.is-open .km-primary-menu > li:nth-child(2n) {
	transition-delay: .04s;
}


/* =========================================================
   ARTICLE HERO
========================================================= */

.km-news-article {
	width: 100%;
	margin: 0;
	padding: 0;
}

.km-news-hero {
	position: relative;
	padding: 58px 0 42px;
	background: var(--km-paper);
}

.km-news-hero-shell {
	width: min(1380px, calc(100% - 100px));
	margin: 0 auto;
}

.km-news-kicker {
	margin-bottom: 20px;
	font-family: Arial, sans-serif;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: #8b744b;
}

.km-news-title {
	max-width: 1180px;
	margin: 0;
	font-family: "STIX Two Text", Georgia, serif;
	font-size: 68px;
	font-weight: 400;
	line-height: .98;
	letter-spacing: -.035em;
	color: var(--km-dark);
	text-transform: none;
}

.km-news-meta {
	margin-top: 27px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	font-family: Arial, sans-serif;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: .17em;
	color: #777064;
}

.km-news-meta a {
	color: #6d5937 !important;
	text-decoration: none !important;
}

.km-news-meta a:hover,
.km-news-meta a:focus-visible {
	color: var(--km-dark) !important;
}

.km-news-rule {
	width: 100%;
	height: 1px;
	margin-top: 26px;
	background: rgba(17,16,14,.18);
}


/* =========================================================
   FEATURED IMAGE
========================================================= */

.km-news-featured-shell {
	width: min(1180px, calc(100% - 100px));
	margin: 52px auto 0;
}

.km-news-featured-image {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}


/* =========================================================
   ARTICLE CONTENT
========================================================= */

.km-news-content-shell {
	width: min(820px, calc(100% - 100px));
	margin: 0 auto;
	padding: 92px 0 120px;
	font-family: "STIX Two Text", Georgia, serif;
	font-size: 20px;
	line-height: 1.76;
	color: #403c36;
}

.km-news-featured-shell + .km-news-content-shell {
	padding-top: 82px;
}

.km-news-content-shell > :first-child {
	margin-top: 0 !important;
}

.km-news-content-shell > :last-child {
	margin-bottom: 0 !important;
}

.km-news-content-shell p {
	margin: 0 0 1.55em;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

.km-news-content-shell h2,
.km-news-content-shell h3,
.km-news-content-shell h4,
.km-news-content-shell h5,
.km-news-content-shell h6 {
	font-family: "STIX Two Text", Georgia, serif;
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: -.018em;
	color: var(--km-dark);
	text-transform: none;
}

.km-news-content-shell h2 {
	margin: 2.05em 0 .72em;
	font-size: 45px;
}

.km-news-content-shell h3 {
	margin: 1.9em 0 .65em;
	font-size: 34px;
}

.km-news-content-shell h4 {
	margin: 1.7em 0 .6em;
	font-size: 27px;
}

.km-news-content-shell a {
	color: #80683f;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.km-news-content-shell a:hover,
.km-news-content-shell a:focus-visible {
	color: #11100e;
}

.km-news-content-shell ul,
.km-news-content-shell ol {
	margin: 0 0 1.7em 1.25em;
	padding: 0;
}

.km-news-content-shell li + li {
	margin-top: .35em;
}

.km-news-content-shell blockquote {
	margin: 2.4em 0;
	padding: 0 0 0 30px;
	border-left: 1px solid var(--km-gold);
	font-size: 28px;
	line-height: 1.45;
	color: #4d473e;
}

.km-news-content-shell img {
	max-width: 100%;
	height: auto;
}

.km-news-content-shell figure,
.km-news-content-shell .wp-block-image,
.km-news-content-shell .wp-block-gallery,
.km-news-content-shell .gallery {
	margin-top: 55px;
	margin-bottom: 55px;
}

.km-news-content-shell figcaption,
.km-news-content-shell .wp-caption-text,
.km-news-content-shell .gallery-caption {
	margin-top: 12px;
	font-family: Arial, sans-serif;
	font-size: 11px;
	line-height: 1.5;
	letter-spacing: .04em;
	color: #817a6c;
}

.km-news-content-shell hr,
.km-news-content-shell .wp-block-separator {
	width: 100%;
	max-width: none;
	height: 1px;
	margin: 60px 0;
	padding: 0;
	border: 0 !important;
	background: #770500;
	box-shadow: none !important;
	opacity: 1;
}

.km-news-content-shell table {
	width: 100%;
	border-collapse: collapse;
	margin: 45px 0;
	font-family: Arial, sans-serif;
	font-size: 14px;
	line-height: 1.55;
}

.km-news-content-shell th,
.km-news-content-shell td {
	padding: 14px 16px;
	border: 1px solid rgba(17,16,14,.16);
	text-align: left;
	vertical-align: top;
}

.km-news-content-shell th {
	font-weight: 600;
	background: rgba(17,16,14,.035);
}


/* Wider Gutenberg media where supported. */
.km-news-content-shell .alignwide {
	width: min(1080px, calc(100vw - 100px));
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.km-news-content-shell .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}


/* =========================================================
   BOTTOM ARTICLE NAVIGATION
========================================================= */

.km-news-bottom-nav {
	border-top: 1px solid rgba(17,16,14,.14);
	background: #e7e1d6;
}

.km-news-bottom-nav-shell {
	width: min(1180px, calc(100% - 100px));
	margin: 0 auto;
	padding: 54px 0 70px;
}

.km-news-bottom-nav-back {
	margin-bottom: 42px;
}

.km-news-bottom-nav-back a {
	font-family: Arial, sans-serif;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .18em;
	color: #6d5937 !important;
	text-decoration: none !important;
}

.km-news-prev-next {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: rgba(17,16,14,.14);
	border-top: 1px solid rgba(17,16,14,.14);
	border-bottom: 1px solid rgba(17,16,14,.14);
}

.km-news-nav-item {
	min-width: 0;
	padding: 28px 30px 30px;
	background: #e7e1d6;
	color: var(--km-dark) !important;
	text-decoration: none !important;
	transition: background .25s ease;
}

.km-news-nav-item:hover,
.km-news-nav-item:focus-visible {
	background: #ded6c9;
}

.km-news-nav-next {
	text-align: right;
}

.km-news-nav-label {
	display: block;
	margin-bottom: 12px;
	font-family: Arial, sans-serif;
	font-size: 9px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .19em;
	color: #8b744b;
}

.km-news-nav-title {
	display: block;
	font-family: "STIX Two Text", Georgia, serif;
	font-size: 24px;
	line-height: 1.2;
	letter-spacing: -.015em;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

	.km-primary-menu > li > a {
		font-size: 30px;
	}

	.km-news-title {
		font-size: 58px;
	}
}

@media (max-width: 782px) {

	body.admin-bar.km-single-prototype .km-site-header,
	body.admin-bar.km-single-prototype .km-menu-overlay {
		top: 46px;
	}
}

@media (max-width: 760px) {

	body.km-single-prototype {
		--km-header-height: 72px;
	}

	.km-site-header {
		padding: 0 22px;
	}

	.km-site-brand {
		gap: 10px;
	}

	.km-site-brand-mark {
		width: 36px;
		height: 36px;
		flex-basis: 36px;
	}

	.km-site-brand-name {
		max-width: 170px;
		white-space: normal;
		font-size: 8px;
		letter-spacing: .13em;
	}

	.km-menu-toggle-label {
		display: none;
	}

	.km-menu-toggle {
		padding-left: 10px;
	}

	.km-menu-overlay-inner {
		padding: calc(var(--km-header-height) + 30px) 22px 28px;
		gap: 25px;
	}

	.km-menu-overlay-head,
	.km-menu-overlay-foot {
		font-size: 8px;
		letter-spacing: .13em;
	}

	.km-menu-overlay-head span:last-child {
		display: none;
	}

	.km-primary-menu {
		grid-template-columns: 1fr;
	}

	.km-primary-menu > li {
		padding: 10px 0 12px;
	}

	.km-primary-menu > li > a {
		font-size: 26px;
	}

	.km-primary-menu .sub-menu {
		margin-top: 10px !important;
	}

	.km-primary-menu .sub-menu a {
		font-size: 9px;
	}

	.km-menu-overlay-foot {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.km-news-hero-shell,
	.km-news-featured-shell,
	.km-news-content-shell,
	.km-news-bottom-nav-shell {
		width: calc(100% - 44px);
	}

	.km-news-hero {
		padding: 42px 0 34px;
	}

	.km-news-kicker {
		margin-bottom: 16px;
		font-size: 9px;
	}

	.km-news-title {
		font-size: 40px;
		line-height: 1.02;
	}

	.km-news-meta {
		margin-top: 22px;
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
		font-size: 9px;
	}

	.km-news-rule {
		margin-top: 22px;
	}

	.km-news-featured-shell {
		margin-top: 34px;
	}

	.km-news-content-shell,
	.km-news-featured-shell + .km-news-content-shell {
		padding: 64px 0 86px;
		font-size: 18px;
		line-height: 1.68;
	}

	.km-news-content-shell h2 {
		font-size: 36px;
	}

	.km-news-content-shell h3 {
		font-size: 29px;
	}

	.km-news-content-shell blockquote {
		padding-left: 20px;
		font-size: 23px;
	}

	.km-news-content-shell hr,
	.km-news-content-shell .wp-block-separator {
		margin: 42px 0;
	}

	.km-news-content-shell .alignwide {
		width: calc(100vw - 44px);
	}

	.km-news-bottom-nav-shell {
		padding: 42px 0 54px;
	}

	.km-news-bottom-nav-back {
		margin-bottom: 30px;
	}

	.km-news-prev-next {
		grid-template-columns: 1fr;
	}

	.km-news-nav-next {
		text-align: left;
	}

	.km-news-nav-title {
		font-size: 21px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.km-menu-overlay,
	.km-primary-menu > li,
	.km-menu-toggle-icon span,
	.km-news-nav-item {
		transition: none !important;
	}
}

/* V1.0.6 — Classic WordPress gallery compatibility for news/posts. */
.km-news-content-shell .gallery {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px !important;
	align-items: start;
	width: 100% !important;
	max-width: 100% !important;
	clear: both;
}
.km-news-content-shell .gallery.gallery-columns-1 { grid-template-columns: minmax(0, 1fr); }
.km-news-content-shell .gallery.gallery-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.km-news-content-shell .gallery.gallery-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.km-news-content-shell .gallery.gallery-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.km-news-content-shell .gallery.gallery-columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.km-news-content-shell .gallery.gallery-columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.km-news-content-shell .gallery.gallery-columns-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.km-news-content-shell .gallery.gallery-columns-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.km-news-content-shell .gallery.gallery-columns-9 { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.km-news-content-shell .gallery > .gallery-item {
	display: block !important;
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: center;
}
.km-news-content-shell .gallery .gallery-icon,
.km-news-content-shell .gallery .gallery-icon a { display:block; margin:0 !important; padding:0 !important; }
.km-news-content-shell .gallery .gallery-icon img {
	display:block !important;
	width:100% !important;
	max-width:100% !important;
	height:auto !important;
	margin:0 !important;
}
.km-news-content-shell .gallery .gallery-caption { margin:10px 0 0 !important; }
@media (max-width:900px) {
	.km-news-content-shell .gallery,
	.km-news-content-shell .gallery[class*="gallery-columns-"] { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px !important; }
}
@media (max-width:520px) {
	.km-news-content-shell .gallery,
	.km-news-content-shell .gallery[class*="gallery-columns-"] { grid-template-columns:minmax(0,1fr); }
}

/* =========================================================
   V1.0.14 — EDITORIAL TYPE SCALE REBALANCE
========================================================= */
.km-news-title {
	font-size: clamp(46px, 4vw, 56px);
	line-height: 1.02;
}

.km-news-content-shell h2 { font-size: 40px; }
.km-news-content-shell h3 { font-size: 31px; }

@media (max-width: 1100px) {
	.km-news-title { font-size: 50px; }
}

@media (max-width: 760px) {
	.km-news-title { font-size: 36px; }
	.km-news-content-shell h2 { font-size: 32px; }
	.km-news-content-shell h3 { font-size: 27px; }
}
