div.post-tile {
	display: grid;
	grid-template-areas: "image info";
	grid-template-columns: max-content auto;
	height: max-content;
	width: 80%;
	padding: 0.75rem;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	margin: auto;
	margin-bottom: 1.5rem;

	gap: 1rem;
}

div.post-tile:hover {
	background-color: #EEEEEE;
	transition: 300ms background-color;
}

div.post-tile:not(:hover) {
	background-color: none;
	transition: 600ms background-color;
}

div.post-tile div.image {
	grid-area: image;
	display: flex;
	flex-flow: column nowrap;
	gap: 0.5rem;
	width: 12rem;
	height: max-content;
}

div.post-tile div.image img {
	width: 100%;
	aspect-ratio: 1 / 1;
}

div.post-tile div.image div.buttons {
	display: flex;
	flex-flow: column nowrap;
	gap: 0.5rem;
	text-align: center;
}

div.post-tile div.post-info {
	grid-area: info;
}

nav#news-pages {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;

	width: 100%;
}

nav#news-pages a {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	gap: 1rem;

	font-size: 1.2rem;
	text-decoration: none;

	white-space: nowrap;
}

nav#news-pages a img.navigation-icon {
	filter: brightness(0) saturate(100%) invert(10%) sepia(82%) saturate(5727%) hue-rotate(106deg) brightness(96%) contrast(104%);

	height: 1.3rem;
	width: auto;
	aspect-ratio: 1 / 1;
}

@media screen and (width < 700px) {
	div.post-tile {
		display: flex;
		flex-flow: column nowrap;

		width: 100%;
		gap: 0.5rem;
	}

	div.post-tile div.image {
		flex-flow: row nowrap;
		width: 100%;
		height: 9rem;
	}

	div.post-tile div.image img {
		height: 100%;
		width: auto;
		aspect-ratio: 1 / 1;
	}

	div.post-tile div.image div.buttons {
		align-items: center;
		justify-content: center;
		width: 100%;
	}

	div.post-tile div.image div.buttons a.button {
		width: 100%;
	}

	nav#news-pages a img.navigation-icon {
		height: 2rem;
	}
}
