.bis-ehr {
	--bis-ehr-paper: #f7f4ee;
	--bis-ehr-surface: #fff;
	--bis-ehr-text: #1e1e1b;
	--bis-ehr-muted: #625f59;
	--bis-ehr-border: #d9d2c7;
	--bis-ehr-accent: #a15c38;
	color: var(--bis-ehr-text);
	overflow-x: clip;
}

.bis-ehr *,
.bis-ehr *::before,
.bis-ehr *::after {
	box-sizing: border-box;
}

.bis-ehr__inner {
	width: min(1120px, calc(100% - 32px));
	margin-inline: auto;
}

.bis-ehr__intro h2,
.bis-ehr__section h3 {
	text-wrap: balance;
}

.bis-ehr__intro h2 {
	margin-block: 16px 20px;
	font-size: clamp(2rem, 4vw, 3.25rem);
	line-height: 1.08;
}

.bis-ehr__section {
	margin-block: 48px;
}

.bis-ehr__section h3 {
	margin-bottom: 16px;
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	line-height: 1.15;
}

.bis-ehr p,
.bis-ehr li,
.bis-ehr figcaption,
.bis-ehr dt,
.bis-ehr dd,
.bis-ehr__part h4 {
	font-size: max(16px, 1rem);
	line-height: 1.5;
}

.bis-ehr__disclosure,
.bis-ehr__concept-label {
	padding: 16px 18px;
	border-left: 4px solid var(--bis-ehr-accent);
	background: var(--bis-ehr-paper);
}

.bis-ehr__figure {
	margin: 24px 0 0;
}

.bis-ehr__concept img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--bis-ehr-border);
	background: var(--bis-ehr-paper);
}

.bis-ehr__concept figcaption {
	margin-top: 12px;
}

.bis-ehr__parts {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bis-ehr__part {
	padding: 16px;
	border: 1px solid var(--bis-ehr-border);
	background: var(--bis-ehr-surface);
}

.bis-ehr__shots {
	margin-top: 16px;
}

.bis-ehr__part h4,
.bis-ehr__part p {
	margin: 0;
	overflow-wrap: anywhere;
}

.bis-ehr__part h4 {
	margin-bottom: 6px;
}

.bis-ehr__zoom {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

.bis-ehr__zoom-open,
.bis-ehr__zoom-close {
	min-height: 44px;
	margin-top: 12px;
	padding: 10px 14px;
	border: 1px solid var(--bis-ehr-accent);
	background: var(--bis-ehr-surface);
	color: var(--bis-ehr-text);
	font: inherit;
	font-size: max(16px, 1rem);
	line-height: 1.3;
	cursor: pointer;
}

.bis-ehr__zoom-open:focus-visible,
.bis-ehr__zoom-close:focus-visible,
.bis-ehr a:focus-visible {
	outline: 3px solid var(--bis-ehr-accent);
	outline-offset: 3px;
}

.bis-ehr__dialog {
	width: min(96vw, 1240px);
	max-width: 96vw;
	max-height: 92vh;
	overflow: auto;
	border: 1px solid var(--bis-ehr-border);
	padding: 16px;
	color: var(--bis-ehr-text);
	background: var(--bis-ehr-paper);
}

.bis-ehr__dialog-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	position: sticky;
	top: 0;
	z-index: 1;
	margin-bottom: 12px;
	background: var(--bis-ehr-paper);
}

.bis-ehr__dialog-bar p,
.bis-ehr__dialog-note {
	margin: 0;
}

.bis-ehr__dialog img {
	display: block;
	width: 1600px;
	max-width: none;
	height: auto;
}

.bis-ehr__sources {
	margin: 0;
	padding: 8px 18px;
	border: 1px solid var(--bis-ehr-border);
	background: var(--bis-ehr-paper);
}

.bis-ehr__sources div {
	padding-block: 12px;
	border-bottom: 1px solid var(--bis-ehr-border);
}

.bis-ehr__sources div:last-child {
	border-bottom: 0;
}

.bis-ehr__sources dt {
	font-weight: 700;
}

.bis-ehr__sources dd {
	margin: 4px 0 0;
	overflow-wrap: anywhere;
}

.bis-ehr__video {
	display: block;
	width: min(100%, 640px);
	height: auto;
	margin-top: 16px;
	border: 1px solid var(--bis-ehr-border);
	background: #111;
	aspect-ratio: 16 / 9;
}

.bis-ehr__video::cue {
	font-size: 18px;
	line-height: 1.35;
	background-color: rgba(17, 17, 17, 0.88);
	color: #f7f4ee;
}

.bis-ehr__cta .wp-block-button__link {
	font-size: max(16px, 1rem);
}

@media (min-width: 821px) {
	.bis-ehr__parts {
		grid-template-columns: 1fr 1fr;
	}
}
