.list-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	width: 100%;
	padding: 6rem;
	font-size: 2rem;
	background-image: url("/img/bg_fallbacks/list-page-fallback.webp");
	/* This is changed by the JS, based on the image provided by _index.md as "background_image" */
	background-size: cover;
	background-position: center;
	color: #fafafa;
}

.list-content h1 {
	font-size: 4.6rem;
}

.list-header-subtitle a:link,
.list-header-subtitle a:visited {
	color: #96b298;
	text-decoration: none;
	transition: 200ms;
}

.list-header-subtitle a:hover,
.list-header-subtitle a:active {
	color: #fafafa;
	text-decoration: underline solid #fafafa;
}

/* ARTICLES LIST */
.list-containers {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 10rem 0;
}

.article-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	max-width: 120rem;
	padding: 0 3rem;
	justify-content: space-around;
}

.article-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: 50rem;
	font-size: 1.8rem;
	gap: 1rem;
	border: 0.1rem solid #96b298;
	padding: 1rem;
	transition: 200ms;
}

.article-card:hover {
	transform: scale(1.02);
}

.article-post-image {
	width: 100%;
	height: 25rem;
	background-image: url("/img/bg_fallbacks/homepage-article-fallback.webp");
	background-position: center;
	background-size: cover;
	justify-self: center;
	align-self: center;
}

.article-post-date {
	display: block;
	font-size: 1.4rem;
	color: #29322e;
	align-self: flex-start;
	justify-self: flex-start;
}

.article-post-title {
	font-size: 3.6rem;
	margin-bottom: 1.5rem;
}

.article-card a:link,
.article-card a:visited {
	color: #29322e;
	text-decoration: none;
	transition: all 200ms;
}
.article-card a:hover,
.article-card a:active {
	color: #5f7760;
	text-decoration: underline solid #5f7760;
}

/* GALLERY LIST */
.gallery-list {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 0.5rem;
	max-width: 120rem;
	justify-content: space-around;
}

.gallery-card {
	display: flex;
	position: relative;
	flex-direction: column;
	align-items: flex-start;
	min-height: 40rem;
	min-width: 40rem;
	width: auto;
	height: auto;
	font-size: 1.8rem;
	gap: 1rem;
	border: 0.1rem solid #96b298;
	padding: 0;
	transition: 200ms;
}

.gallery-card:hover {
	transform: scale(1.02);
}

.gallery-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gallery-card-content {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 1rem;
	gap: 2rem;
	text-wrap: wrap;
	opacity: 0;
	background-color: #0f0f0f;
	text-decoration: none;
	transition: all 200ms;
}

.gallery-card-content:hover {
	opacity: 0.75;
}

.gallery-post-date {
	display: block;
	font-size: 1.8rem;
	color: #fafafa;
}

.gallery-post-title {
	font-size: 1.8rem;
	color: #fafafa;
}
