* {
	box-sizing: border-box;
}

html {
	background: #e9edf1;
	color: #202832;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	line-height: 1.5;
}

h1, h2, p, ul {
	margin: 0;
}

a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: #a0aab5;
	text-underline-offset: 3px;
}

a:hover {
	color: #254d70;
	text-decoration-color: currentColor;
}

a:focus-visible {
	outline: 2px solid #254d70;
	outline-offset: 4px;
}

#cv {
	width: calc(100% - 48px);
	max-width: 900px;
	margin: 32px auto;
	padding: 36px 44px;
	background: #fff;
	box-shadow: 0 4px 24px rgb(25 40 55 / 8%);
}

.resumeActions {
	display: flex;
	align-items: center;
	gap: 16px;
	width: calc(100% - 48px);
	max-width: 900px;
	margin: 20px auto;
}

#exportNote {
	flex: 1;
	min-width: 0;
	font-size: 13px;
	color: #414b56;
}

.exportButton {
	flex-shrink: 0;
	padding: 10px 18px;
	border: 1px solid #263d51;
	border-radius: 4px;
	background: #263d51;
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.exportButton:hover {
	background: #254d70;
}

.exportButton:focus-visible {
	outline: 2px solid #254d70;
	outline-offset: 4px;
}

@media print {
	.resumeActions {
		display: none;
	}
}

.mainDetails {
	padding-bottom: 18px;
	border-bottom: 2px solid #263d51;
}

#name h1 {
	font-size: 32px;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.5px;
}

#contactDetails ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 24px;
	margin-top: 10px;
	padding: 0;
	list-style: none;
	font-size: 13px;
}

#contactDetails a {
	overflow-wrap: anywhere;
}

/* Keep decorative artwork out of both the reading flow and printed copies. */
#contactDetails img, .sectionImage, .clear {
	display: none;
}

section {
	margin-top: 20px;
}

.sectionTitle h1 {
	margin-bottom: 10px;
	padding-bottom: 4px;
	border-bottom: 1px solid #b9c2cb;
	color: #263d51;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

article + article {
	margin-top: 14px;
}

.sectionContent h2 {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	column-gap: 16px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
}

.sectionContent h2 a {
	text-decoration: none;
}

.sectionContent h2 .subDetails {
	flex-shrink: 0;
	font-size: 12px;
	font-weight: 400;
	color: #414b56;
}

p.subDetails {
	margin: 2px 0 5px;
	font-size: 13px;
	font-weight: 600;
	color: #414b56;
}

.description {
	font-size: 13px;
	line-height: 1.55;
}

.keySkills {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 6px 20px;
	padding: 0;
	list-style: none;
	font-size: 13px;
}

.sectionContent article > p:not([class]) {
	margin-top: 10px;
	font-size: 12px;
}

.sectionContent article > br {
	display: none;
}

@media screen and (max-width: 600px) {
	#cv {
		width: 100%;
		margin: 0;
		padding: 26px 20px;
		box-shadow: none;
	}

	#name h1 {
		font-size: 29px;
	}

	#contactDetails ul {
		flex-direction: column;
		gap: 5px;
	}

	.sectionContent h2 {
		display: block;
	}

	.sectionContent h2 .subDetails {
		display: block;
		margin-top: 2px;
	}
}

@page {
	size: letter;
	margin: 0.5in;
}

@media print {
	html, body {
		background: #fff;
		color: #000;
	}

	#cv {
		width: 100%;
		max-width: none;
		margin: 0;
		padding: 0;
		box-shadow: none;
	}

	.mainDetails {
		padding-bottom: 8pt;
		border-color: #000;
	}

	#name h1 {
		font-size: 23pt;
	}

	#contactDetails ul {
		margin-top: 5pt;
		font-size: 9pt;
	}

	section {
		margin-top: 10pt;
	}

	.sectionTitle h1 {
		margin-bottom: 5pt;
		padding-bottom: 2pt;
		font-size: 10.5pt;
		color: #000;
		border-color: #777;
		break-after: avoid;
	}

	article {
		break-inside: avoid;
	}

	article + article {
		margin-top: 7pt;
	}

	.sectionContent h2 {
		font-size: 10pt;
		break-after: avoid;
	}

	.sectionContent h2 .subDetails {
		font-size: 9pt;
		color: #000;
	}

	p.subDetails {
		margin: 1pt 0 3pt;
		font-size: 9pt;
		color: #000;
		break-after: avoid;
	}

	.description, .keySkills {
		font-size: 9.5pt;
		line-height: 1.3;
	}

	.sectionContent article > p:not([class]) {
		margin-top: 5pt;
		font-size: 9pt;
	}

	a {
		color: #000;
		text-decoration: none;
	}

	p {
		orphans: 3;
		widows: 3;
	}
}
