@page {
	size: auto;
	margin: 0;
}

*, *::before, *::after {
	box-sizing: border-box;
}

body {
	display: grid;
	grid-template-columns: 1fr min(800px, 90%) 1fr;
	margin: 0;
	font-size: 1.1rem;
}

body > * {
	grid-column: 2;
}

#links {
	display: flex;
	justify-content: space-between;
	list-style: none;

	li {
		display: flex;
		align-items: center;

		svg {
			height: 2ch;
		}

		a {
			margin-inline-start: 8px;
			text-decoration: none;
		}
	}
}

@media (max-width: 600px) {
	#links {
		display: list-item;
	}
}

article {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

article > header {
	font-weight: bold;
	.loc {
		font-weight: normal;
		font-style: italic;
		font-size: .9rem;
	}
}

article > :is(span.job-title, span.time-range, span.summary) {
	text-align: right;
}

article > p {
	grid-column: span 2;
}

section > article:not(:last-child) {
	margin-bottom: 1rem;
}

dl {
	dt {
		font-weight: bold;
	}

	dt:not(:first-of-type) {
		margin-top: 1rem;
	}
}

a:visited {
	color: blue;
}
