/* Ensure the figure / widget container is a positioning context for the badge */
.wp-block-image,
.elementor-widget-image .elementor-widget-container {
	position: relative;
}

.img-copyright {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	display: flex;
	align-items: center;
	height: 2rem;
	max-width: 2rem;
	overflow: hidden;
	background: var(--e-global-color-f297d98);
	color: var( --e-global-color-text );
	border-radius: 2rem;
	cursor: default;
	transition: max-width 0.35s ease;
	font-size: 1rem;
	line-height: 1;
}

.img-copyright-icon {
	flex: 0 0 auto;
	width: 2rem;
	height: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 400;
	transform: translateY(.13em) scale(1.3);
}

.img-copyright-text {
	flex: 0 0 auto;
	white-space: nowrap;
	padding-right: 1rem;
	opacity: 0;
	transition: opacity 0.2s ease 0.05s;
	transform: translateY(.1em);
}

.img-copyright:hover,
.img-copyright:focus-within,
.img-copyright:focus {
	max-width: 320px;
}

.img-copyright:hover .img-copyright-text,
.img-copyright:focus-within .img-copyright-text,
.img-copyright:focus .img-copyright-text {
	opacity: 1;
}