/*
 * Artefact main image and tabs. Minimal and neutral: the theme may override.
 * Without JS the panels are stacked sections with headings.
 */
.iels-ol-main-image {
	margin: 0;
	max-width: 380px;
}
.iels-ol-main-image img {
	display: block;
	max-width: 100%;
	height: auto;
}
.iels-ol-main-image__alt-caption {
	margin: 0.25em 0 0;
	font-size: 0.875em;
}
.iels-ol-main-image.is-enhanced .iels-ol-main-image__alt-caption {
	display: none;
}
.iels-ol-main-image [hidden] {
	display: none !important;
}
.iels-ol-main-image__toggle {
	margin-top: 0.5em;
	/* WCAG 2.5.8 target size: at least 24×24px. */
	min-height: 2rem;
	min-width: 2rem;
	padding: 0.25em 0.75em;
}

.iels-ol-tabs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25em;
	border-bottom: 2px solid currentColor;
}
.iels-ol-tabs__tab {
	padding: 0.5em 1em;
	border: 2px solid currentColor;
	border-bottom: 0;
	border-radius: 4px 4px 0 0;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
}
.iels-ol-tabs__tab[aria-selected="true"] {
	background: #1e1e1e;
	border-color: #1e1e1e;
	color: #fff;
}
.iels-ol-tabs__tab:focus-visible,
.iels-ol-tabs__panel:focus-visible {
	outline: 3px solid #1e1e1e;
	outline-offset: 2px;
}
.iels-ol-tabs.is-enhanced .iels-ol-tabs__heading {
	/* The tab names the panel; keep the heading for the no-JS view only. */
	display: none;
}
.iels-ol-tabs__panel {
	padding: 1em 0;
}
.iels-ol-tabs__panel[hidden] {
	display: none;
}
.iels-ol-tabs__cols {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5em;
}
.iels-ol-tabs__text {
	flex: 1 1 20em;
	min-width: 0;
}
.iels-ol-tabs__media {
	flex: 0 1 380px;
	min-width: 0;
}
.iels-ol-tabs__media img {
	max-width: 100%;
	height: auto;
}
.iels-ol-larger-image {
	max-width: 100%;
	height: auto;
}
