.thumb-wrap {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
}

.thumb {
	display: flex;
	flex-flow: column;
	justify-content: space-between;
	overflow: hidden;
	min-width: 220px;
	max-width: 310px;
	border-radius: var(--m);
	position: relative;
	margin: var(--padding-base);
	box-shadow: 0 6px 10px rgba(174, 174, 174, 0.3);
	background-color: var(--brandwhite);
	transition: transform 0.15s ease;
}

.thumb:hover,
.thumb:focus-within {
	transform: scale(1.05);
}

.thumb-img-wrap {
	position: relative;
}
.thumb-img-wrap img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.cat-label {
	position: absolute;
	border-radius: var(--m);
	background-color: var(--brand-dark);
	color: var(--brandwhite);
	display: flex;
	flex-flow: row;
	padding: 2px 10px;
	line-height: 1.8;
	font-size: 1rem;
}
.cat-label span {
	padding: 4px 6px;
	display: flex;
	align-items: center;
	background-color: rgb(0 0 0 / 0.25);
	margin-left: 6px;
	border-radius: var(--radius-base);
}

.thumb-content {
	padding: var(--padding-base);
	display: flex;
	flex-flow: column;
	height: 100%;
}
.thumb-content p {
	text-align: left;
}

.thumb.category {
	--tile-bg: var(--brand);
	--tile-fg: var(--secondary);
	--tile-bg-hover: var(--tercio);
	background-color: var(--tile-bg);
	color: var(--tile-fg);
	width: 220px;
}
.thumb.category:hover,
.thumb.category:focus-within {
	background-color: var(--tile-bg-hover);
}
.thumb.category .thumb-img-wrap img {
	height: 150px;
}
.thumb.category .cat-label {
	top: 23px;
	right: 0;
	left: unset;
	padding: 0 0 0 6px;
	border-radius: var(--m) 0 0 var(--m);
}
.thumb.category .thumb-content {
	text-align: center;
	justify-content: center;
}
.thumb.category .thumb-content p {
	margin: 0 0 1rem;
	font-size: 1.25rem;
	text-align: center;
}

.hoverlink {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.category-tiles {
	background-color: var(--gray-1, #f1f3f5);
}

.thumb.category .thumb-img-wrap {
	min-height: 150px;
}

.hoverlink:focus-visible {
	outline: 3px solid var(--color-focus);
	outline-offset: -3px;
}

.category-tiles__more {
	display: flex;
	justify-content: center;
	margin-top: var(--padding-base);
}

.btn.btn--outline {
	background: transparent;
	color: var(--brand-dark);
	border: 1px solid var(--brand-dark);
	border-radius: calc(var(--m) * 4);
}
.btn.btn--outline:hover {
	background: var(--brand-dark);
	color: var(--brandwhite);
}

@media (prefers-reduced-motion: reduce) {
	.thumb {
		transition: none;
	}
	.thumb:hover,
	.thumb:focus-within {
		transform: none;
	}
}
