#grid {
	display: grid;
	grid-gap: 0.25rem;
	grid-template-columns: repeat(5, 1fr);
	grid-template-rows: repeat(4, 1fr);
}

.navigation { grid-area: 1 / 1 / 4 / 2; }
.status     { grid-area: 4 / 1 / 5 / 2; }
.updates    { grid-area: 1 / 5 / 3 / 6; }
.featured   { grid-area: 3 / 5 / 4 / 6; }
.elsewhere  { grid-area: 4 / 5 / 5 / 6; }
.content    { grid-area: 1 / 2 / 4 / 5; }
.badges     { grid-area: 4 / 2 / 5 / 5; }

.view-more {
	display: inline-block;
	margin-top: 1rem;
}

.updates.ridge-panel {
	display: flex;
	flex-direction: column;
	min-height: 0;
	max-height: 22rem;
}

.updates .panel-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
}

.updates .update-list {
	flex: 1 1 auto;
	overflow-y: auto;
	min-height: 0;
}

.updates .view-more {
	flex: 0 0 auto;
	margin-top: 0.5rem;
}

.update-list--compact .update-entry > p:not(.update-projects),
.update-list--compact .update-body {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	overflow: hidden;
	max-height: 4.5em;
}

.badge-line {
	font-size: 0.85rem;
	opacity: 0.85;
}

.retro-badge {
	display: inline-block;
	padding: 0.15rem 0.5rem;
	font-size: 0.8rem;
	border: 1px solid var(--highlight-color);
	color: inherit;
	text-decoration: none;
}

a.retro-badge:hover {
	border-color: var(--trim-color);
}

.badge-strip .panel-body {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

@media only screen and (max-width: 810px) {
	#grid {
		grid-template-columns: 1fr;
		grid-template-rows: none;
	}

	.navigation,
	.status,
	.featured,
	.updates,
	.elsewhere,
	.content,
	.badges {
		grid-area: auto;
	}

	.updates.ridge-panel {
		max-height: none;
	}
}
