.h2mi-info-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	margin: 0 0 10px 7px;
	padding: 0;
	border: 1px solid currentColor;
	border-radius: 50%;
	background: transparent;
	color: #ccac4e !important;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	vertical-align: middle;
	cursor: pointer;
	transition: opacity .2s ease, transform .2s ease;
}

.h2mi-info-button:hover,
.h2mi-info-button:focus-visible {
	background: rgba(204, 172, 78, .10);
	opacity: 1;
	transform: translateY(-1px);
}

.h2mi-info-button:focus-visible,
.h2mi-nav-item:focus-visible,
.h2mi-modal__close:focus-visible,
.h2mi-mobile-back:focus-visible,
.h2mi-detail__link:focus-visible {
	outline: 2px solid #b69227;
	outline-offset: 2px;
}

body.h2mi-modal-open {
	overflow: hidden;
}

.h2mi-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.h2mi-modal.is-open {
	display: flex;
}

.h2mi-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .58);
	backdrop-filter: blur(2px);
}

.h2mi-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(1120px, 100%);
	height: min(760px, calc(100vh - 48px));
	max-height: calc(100vh - 48px);
	overflow: hidden;
	background: #fff;
	color: #222;
	border-radius: 10px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.h2mi-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0 0 3px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .96);
	color: #222;
	font-size: 30px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 3px 16px rgba(0, 0, 0, .14);
}

.h2mi-layout {
	display: grid;
	grid-template-columns: 330px minmax(0, 1fr);
	height: 100%;
	min-height: 0;
}

.h2mi-sidebar {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
	background: #f7f6f3;
	border-right: 1px solid #e4e1da;
}

.h2mi-sidebar__header {
	flex: 0 0 auto;
	padding: 34px 28px 20px;
}

.h2mi-sidebar__header h2 {
	margin: 0 52px 20px 0;
	font-size: 25px;
	font-weight: 500;
	line-height: 1.2;
}

.h2mi-material-nav {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	padding: 0 18px 28px;
}

.h2mi-nav-group + .h2mi-nav-group {
	margin-top: 24px;
}

.h2mi-nav-group__title {
	margin: 0 10px 8px;
	color: #8b6b13;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.3;
	text-transform: uppercase;
}

.h2mi-nav-group__items {
	display: grid;
	gap: 4px;
}

.h2mi-nav-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	width: 100%;
	margin: 0;
	padding: 11px 12px;
	border: 1px solid transparent;
	border-radius: 6px;
	background: transparent;
	color: #282828;
	font: inherit;
	font-size: 14px;
	line-height: 1.35;
	text-align: left;
	cursor: pointer;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.h2mi-nav-item:hover {
	background: #fff;
	border-color: #ddd8cf;
}

.h2mi-nav-item.is-active {
	background: #fff;
	border-color: #b69227;
	box-shadow: inset 3px 0 0 #b69227;
	color: #111;
}

.h2mi-nav-item__arrow {
	color: #9b9b9b;
	font-size: 22px;
	font-weight: 300;
	line-height: 1;
}

.h2mi-nav-item.is-active .h2mi-nav-item__arrow {
	color: #9c7712;
}

.h2mi-nav-empty {
	margin: 12px 10px;
	color: #666;
	font-size: 14px;
}

.h2mi-detail-pane {
	min-width: 0;
	min-height: 0;
	overflow-y: auto;
	padding: 54px 56px 56px;
	scrollbar-gutter: stable;
}

.h2mi-mobile-back {
	display: none;
	margin: 0 0 24px;
	padding: 0;
	border: 0;
	background: none;
	color: #9c7712;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.h2mi-welcome {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: calc(100% - 30px);
	max-width: 650px;
	padding: 30px 0;
}

.h2mi-welcome__eyebrow,
.h2mi-detail__eyebrow {
	display: block;
	margin: 0 0 12px;
	color: #9c7712;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.3;
	text-transform: uppercase;
}

.h2mi-welcome h2,
.h2mi-detail__body h2 {
	margin: 0;
	font-size: clamp(34px, 4vw, 48px);
	font-weight: 400;
	line-height: 1.1;
}

.h2mi-welcome p {
	max-width: 560px;
	margin: 22px 0 0;
	color: #555;
	font-size: 18px;
	line-height: 1.65;
}

.h2mi-detail {
	width: 100%;
}

.h2mi-detail.has-image {
	display: grid;
	grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}

.h2mi-detail__media {
	position: sticky;
	top: 0;
}

.h2mi-detail__image {
	display: block;
	width: 100%;
	height: auto;
	max-height: 520px;
	object-fit: cover;
	border-radius: 7px;
}

.h2mi-detail.no-image .h2mi-detail__body {
	width: 100%;
	max-width: 760px;
}

.h2mi-detail__lead {
	margin: 22px 0 0;
	color: #333;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.6;
}

.h2mi-detail__divider {
	width: 56px;
	height: 2px;
	margin: 28px 0;
	background: #c8a538;
}

.h2mi-detail__description {
	color: #333;
	font-size: 16px;
	line-height: 1.75;
}

.h2mi-detail__description > :first-child {
	margin-top: 0;
}

.h2mi-detail__description > :last-child {
	margin-bottom: 0;
}

.h2mi-detail__description h2,
.h2mi-detail__description h3,
.h2mi-detail__description h4 {
	margin: 30px 0 10px;
	font-weight: 600;
	line-height: 1.3;
}

.h2mi-detail__description h3 {
	font-size: 20px;
}

.h2mi-detail__description ul,
.h2mi-detail__description ol {
	padding-left: 22px;
}

.h2mi-detail__link {
	display: inline-flex;
	align-items: center;
	margin-top: 28px;
	padding: 12px 18px;
	border: 1px solid #b69227;
	border-radius: 5px;
	background: #c8a538;
	color: #111;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color .18s ease, transform .18s ease;
}

.h2mi-detail__link:hover {
	background: #d4b54d;
	color: #111;
	transform: translateY(-1px);
}

.h2mi-empty {
	margin: 0;
	color: #666;
	font-size: 16px;
	line-height: 1.7;
}

@media (max-width: 900px) {
	.h2mi-layout {
		grid-template-columns: 290px minmax(0, 1fr);
	}

	.h2mi-detail-pane {
		padding: 50px 38px 44px;
	}

	.h2mi-detail.has-image {
		grid-template-columns: 1fr;
	}

	.h2mi-detail__media {
		position: static;
	}

	.h2mi-detail__image {
		max-height: 320px;
	}
}

@media (max-width: 700px) {
	.h2mi-modal {
		align-items: center;
		padding: 12px;
	}

	.h2mi-modal__dialog {
		width: 100%;
		height: calc(100dvh - 24px);
		max-height: calc(100dvh - 24px);
		border: 1px solid rgba(255, 255, 255, .32);
		border-radius: 12px;
		box-shadow: 0 18px 55px rgba(0, 0, 0, .36);
	}

	.h2mi-modal__close {
		top: 12px;
		right: 12px;
	}

	.h2mi-layout {
		display: block;
		height: 100%;
	}

	.h2mi-sidebar,
	.h2mi-detail-pane {
		height: 100%;
	}

	.h2mi-sidebar {
		border-right: 0;
	}

	.h2mi-sidebar__header {
		padding: 28px 20px 18px;
	}

	.h2mi-sidebar__header h2 {
		margin-right: 54px;
		font-size: 24px;
	}

	.h2mi-material-nav {
		padding: 0 12px 24px;
	}

	.h2mi-nav-group + .h2mi-nav-group {
		margin-top: 20px;
	}

	.h2mi-nav-item {
		padding: 13px 12px;
		font-size: 15px;
	}

	.h2mi-detail-pane {
		display: none;
		padding: 25px 20px 36px;
	}

	.h2mi-modal.is-detail-view .h2mi-sidebar {
		display: none;
	}

	.h2mi-modal.is-detail-view .h2mi-detail-pane {
		display: block;
	}

	.h2mi-mobile-back {
		display: inline-flex;
		align-items: center;
		min-height: 34px;
		margin-right: 58px;
	}

	.h2mi-welcome {
		min-height: auto;
		padding: 42px 0;
	}

	.h2mi-welcome h2,
	.h2mi-detail__body h2 {
		font-size: 34px;
	}

	.h2mi-welcome p,
	.h2mi-detail__lead {
		font-size: 17px;
	}

	.h2mi-detail.has-image {
		display: block;
	}

	.h2mi-detail__media {
		margin-bottom: 26px;
	}

	.h2mi-detail__image {
		max-height: 280px;
	}

	.h2mi-detail__description {
		font-size: 15px;
		line-height: 1.7;
	}
}
