.brg-credit {
	display: block;
	box-sizing: border-box;
	margin-top: 0.35em;
	color: var(--brg-text-color, #555);
	font-size: var(--brg-font-size, 12px);
	font-style: normal;
	font-weight: 400;
	line-height: 1.4;
	text-align: left;
}

.brg-credit a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: from-font;
	text-underline-offset: 0.12em;
}

.brg-credit__label {
	margin-right: 0.25em;
}

.brg-credit__entry + .brg-credit__entry {
	display: block;
	margin-top: 0.25em;
}

figure > .brg-credit {
	width: 100%;
}

.brg-credit-position-context {
	position: relative;
}

.brg-credit--background {
	position: absolute;
	z-index: 20;
	width: auto;
	max-width: calc(100% - 16px);
	margin: 0;
	padding: 0.35em 0.55em;
	border-radius: 2px;
	background: var(--brg-background-badge, rgba(0, 0, 0, 0.72));
	color: var(--brg-background-text-color, #fff);
	pointer-events: auto;
}

.brg-credit--measuring {
	visibility: hidden !important;
	pointer-events: none !important;
}

.brg-position-top-left > .brg-credit--background {
	top: 8px;
	left: 8px;
}

.brg-position-top-right > .brg-credit--background {
	top: 8px;
	right: 8px;
}

.brg-position-bottom-left > .brg-credit--background {
	bottom: 8px;
	left: 8px;
}

.brg-position-bottom-right > .brg-credit--background {
	right: 8px;
	bottom: 8px;
}

.brg-credit-flow-row {
	position: relative;
	z-index: 20;
	display: flex;
	flex: 0 0 100%;
	align-items: flex-start;
	justify-content: flex-end;
	order: 2147483647;
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
}

.brg-credit-flow-row > .brg-credit--background.brg-credit--flow {
	position: relative !important;
	inset: auto !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	flex: 0 1 auto;
	width: fit-content;
	max-width: calc(100% - 16px);
	margin: 8px;
}

.brg-no-credit .brg-credit,
.brg-no-credit[data-brg-credit] + .brg-credit,
img.brg-no-credit + .brg-credit {
	display: none !important;
}
