.visuals-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1em;
	justify-items: center;
	margin: 0 auto;
	width: 100%;
}

.visuals-grid a {
	display: flex;
	width: 100%;
	min-width: 0;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
}

.visuals-grid a:after {
	content: '' !important;
	display: none !important;
}

.visuals-grid a img {
	border-radius: 0.25em 0.25em 0 0;
}

.visuals-grid a .label {
	border-radius: 0 0 0.25em 0.25em;
	font-size: 1.25em;
	text-align: center;
	padding: 0.25em 0.5em;
	background: var(--bs-dark-bg-subtle);
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

.text-color-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, 120px);
	gap: 0.5em;
	margin-top: 1rem;
}
.text-color-grid .color {
	display: flex;
	gap: 0.5em;
	align-items: center;
}
.text-color-grid .color .label {
	
}
.text-color-grid .color .swatch {
	width: 32px;
	height: 32px;
	border-radius: 0.25em;
	overflow: hidden;
}
.text-color-grid .color .swatch.reset {
	background: #222;
}
.text-color-grid .color .swatch.reset:after {
	--clr: 255, 64, 64;
	--clr-on: rgba(var(--clr), 1);
	--clr-off: rgba(var(--clr), 0);
	
	content: " ";
	display: block;
	box-sizing: border-box;
	border: 2px solid var(--clr-on);
	width: 100%;
	height: 100%;
	background: linear-gradient(to top left,
		var(--clr-off) 0%,
		var(--clr-off) calc(50% - 0.8px),
		var(--clr-on) 50%,
		var(--clr-off) calc(50% + 0.8px),
		var(--clr-off) 100%);
}
