/* =====================================================================
   resume.css
   The two-column résumé "sheet": skills and tools on the left,
   experience and education timelines on the right. Every value in it
   comes from Résumé Entries posts, grouped by their Entry type.
   ===================================================================== */

.resume-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: end;
	gap: var(--space-4);
	margin-bottom: var(--space-6);
}
.resume-head h2 {
	font-size: var(--text-2xl);
	margin: 0;
}
.resume-head p {
	color: var(--muted);
	margin-top: var(--space-2);
	max-width: 36em;
}

.resume-sheet {
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	overflow: hidden;
	background: var(--surface);
	display: grid;
}
@media (min-width: 860px) {
	.resume-sheet {
		grid-template-columns: 0.9fr 1.3fr;
	}
}

.resume-side, .resume-main {
	padding: var(--space-6);
}
.resume-side {
	border-bottom: 1px solid var(--line);
}
@media (min-width: 860px) {
	.resume-side {
		border-bottom: 0;
		border-right: 1px solid var(--line);
	}
}

.resume-block {
	margin-top: var(--space-6);
}
.resume-block:first-child {
	margin-top: 0;
}
.resume-block h3 {
	font-size: var(--text-sm);
	border-bottom: 2px solid var(--ink);
	padding-bottom: var(--space-2);
	margin-bottom: var(--space-4);
}

.resume-skill {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-3);
	padding: 5px 0;
	font-family: var(--font-ui);
	font-weight: 500;
	font-size: var(--text-sm);
}
.resume-dots {
	display: flex;
	gap: 4px;
	flex: 0 0 auto;
}
.resume-dots i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--line);
	display: block;
}
.resume-dots i.is-on {
	background: var(--brand);
}

.resume-tools {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: var(--space-2);
}
.resume-tool {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 6px 8px;
	font-family: var(--font-ui);
	font-weight: 600;
	font-size: 0.82rem;
}
.resume-tool-icon {
	width: 26px;
	height: 26px;
	border-radius: 6px;
	background: var(--ink);
	color: var(--paper);
	display: grid;
	place-items: center;
	font-family: var(--font-ui);
	font-weight: 800;
	font-size: 0.68rem;
	flex: 0 0 auto;
}

.resume-timeline {
	list-style: none;
	margin: 0;
	padding-left: var(--space-5);
	border-left: 2px solid var(--line);
}
.resume-timeline li {
	position: relative;
	padding-bottom: var(--space-5);
}
.resume-timeline li:last-child {
	padding-bottom: 0;
}
.resume-timeline li::before {
	content: "";
	position: absolute;
	left: calc(-1 * var(--space-5) - 5px);
	top: 4px;
	width: 10px;
	height: 10px;
	background: var(--brand);
	border: 2px solid var(--ink);
}
.resume-timeline.is-round li::before {
	border-radius: 50%;
}
.resume-period {
	font-family: var(--font-ui);
	font-weight: 600;
	font-size: var(--text-xs);
	color: var(--muted);
}
.resume-timeline h4 {
	font-size: var(--text-lg);
	margin: 2px 0;
}
.resume-org {
	font-family: var(--font-ui);
	font-weight: 500;
	font-size: var(--text-sm);
	color: var(--muted);
	display: block;
}
.resume-timeline ul {
	list-style: disc;
	margin: var(--space-2) 0 0;
	padding-left: 18px;
	color: var(--muted);
}
.resume-timeline ul li {
	padding-bottom: 0;
	margin-top: 4px;
}
.resume-timeline ul li::before {
	content: none;
}
