:root {
	--thn-animal-list-gap: 64px;
}

.thn-our-animals-list {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	gap: var(--thn-animal-list-gap);
}

.thn-our-animals-list article {
	box-sizing: border-box;
	flex: 0 0 calc(25% - (var(--thn-animal-list-gap) * .75));
	width: calc(25% - (var(--thn-animal-list-gap) * .75));
	position: relative;
	font-size: 18px;
}

.thn-our-animals-list h2 {
	color: var(--thn-color-pink);
	font-weight: bold;
}

.thn-our-animals-list h3 {
	color: var(--thn-color-blue);
	font-weight: bold;
}

.thn-our-animals-list a {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
}

.thn-our-animals-list img {
	box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
	border-radius: 10px;
	margin-bottom: 32px;
}

.thn-our-animals-list .thn-link-dummy {
	display: block;
	margin-top: 20px;
	text-decoration: underline;
	white-space: nowrap;
}

.thn-our-animals-list .memento {
	margin-top: 32px;
	background: var(--thn-color-blue);
	border-radius: 10px;
	padding: 10px;
	color: #fff;
	font-style: italic;
	font-size: 16px;
}

@media (max-width: 1024px) {
	.thn-our-animals-list article {
		flex: 0 0 calc(33.3333% - (var(--thn-gallery-gap) * .6666));
		width: calc(33.3333% - (var(--thn-gallery-gap) * .6666));
	}
}

@media (max-width: 768px) {
	.thn-our-animals-list article {
		flex: 0 0 calc(50% - (var(--thn-gallery-gap) * .5));
		width: calc(50% - (var(--thn-gallery-gap) * .5));
	}
}

@media (max-width: 500px) {
	:root {
		--thn-transition-width: 30px;
	}
	.thn-our-animals-list article {
		flex: 0 0 100%;
		width: 100%;
	}
}
