.banneretor,
.banneretor * {
	box-sizing: border-box;
}

.banneretor {
	position: relative;
	z-index: 1;
	width: 100%;
	margin-block: 0;
	background: var(--banneretor-bg, #0b0b0b);
	color: var(--banneretor-color, #fff);
	font: inherit;
}

.banneretor--full {
	width: 100vw;
	max-width: none;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.banneretor--contained {
	max-width: var(--banneretor-max-width, 1400px);
	margin-left: auto;
	margin-right: auto;
}

.banneretor--pending {
	visibility: hidden;
}

.banneretor__inner {
	width: 100%;
	max-width: var(--banneretor-max-width, 1400px);
	min-height: var(--banneretor-min-height, 0);
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, var(--banneretor-media-width, 50%)) minmax(0, var(--banneretor-text-width, 50%));
	gap: var(--banneretor-gap, 40px);
	align-items: var(--banneretor-align, center);
	padding: var(--banneretor-padding-y, 48px) var(--banneretor-padding-x, 32px);
}

.banneretor--contained .banneretor__inner {
	max-width: none;
}

.banneretor--media-right .banneretor__inner {
	grid-template-columns: minmax(0, var(--banneretor-text-width, 50%)) minmax(0, var(--banneretor-media-width, 50%));
}

.banneretor--media-right .banneretor__media {
	order: 2;
}

.banneretor--media-right .banneretor__content {
	order: 1;
}

.banneretor__media {
	width: 100%;
	min-width: 0;
	overflow: hidden;
}

.banneretor__media--empty {
	min-height: 240px;
	background: color-mix(in srgb, currentColor 8%, transparent);
}

.banneretor__media--grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
}

.banneretor__image {
	width: 100%;
	height: 100%;
	min-height: 180px;
	overflow: hidden;
}

.banneretor__media--grid .banneretor__image {
	min-height: 0;
	aspect-ratio: 1 / 1;
}

.banneretor__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.banneretor__content {
	min-width: 0;
}

.banneretor__heading {
	margin: 0 0 1.25em;
	padding: 0;
	color: inherit;
	font: inherit;
	font-size: clamp(1.25rem, 2.2vw, 2rem);
	font-weight: 700;
	line-height: 1.2;
	text-transform: none;
}

.banneretor__text,
.banneretor__text p,
.banneretor__text li,
.banneretor__text h1,
.banneretor__text h2,
.banneretor__text h3,
.banneretor__text h4,
.banneretor__text h5,
.banneretor__text h6,
.banneretor__text a {
	color: inherit;
}

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

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

.banneretor--image_only .banneretor__inner {
	display: block;
	padding: 0;
	max-width: var(--banneretor-max-width, 1400px);
}

.banneretor--full.banneretor--image_only .banneretor__inner {
	max-width: none;
}

.banneretor--image_only .banneretor__image {
	min-height: var(--banneretor-min-height, 0);
}

@media (max-width: 767px) {
	.banneretor__inner,
	.banneretor--media-right .banneretor__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: calc(var(--banneretor-gap, 40px) * 0.75);
		padding: calc(var(--banneretor-padding-y, 48px) * 0.75) calc(var(--banneretor-padding-x, 32px) * 0.65);
	}

	.banneretor--mobile-image_first .banneretor__media,
	.banneretor--mobile-text_first .banneretor__content {
		order: 1;
	}

	.banneretor--mobile-image_first .banneretor__content,
	.banneretor--mobile-text_first .banneretor__media {
		order: 2;
	}

	.banneretor__image {
		min-height: 220px;
	}
}
