.overlay {
	font-family: var(--title-font-family, sans-serif);
	font-size: var(--title-font-size, clamp(1rem, 5cqw, 3.5rem));
	font-optical-sizing: auto;
	font-weight: var(--title-font-weight, 900);
	font-style: var(--title-font-style, italic);
	-webkit-text-stroke: var(--title-text-stroke, clamp(1px, 0.15cqw, 3px));
	color: var(--title-color, crimson);
	line-height: var(--title-line-height, 1.25);
	margin: 0;
	overflow-wrap: anywhere;
	text-wrap: pretty;
}

div.title-container {
	position: relative;
	width: 100%;
	container-type: inline-size;
	margin-bottom: 1em;
	overflow: clip;
}

div.title-container img {
	display: block;
	width: 100%;
	height: auto;
}

div.title {
	position: absolute;
	top: var(--title-top, clamp(8px, 4cqw, 48px));
	left: var(--title-left, clamp(8px, 5cqw, 64px));
	width: var(--title-width, 90%);
	max-width: var(--title-max-width, 100%);
	box-sizing: border-box;
	z-index: 10;
}
