/*
 * The CV sheet: shared by the /cv/ page and the PDF Dompdf renders.
 *
 * Dompdf speaks CSS 2.1 plus a little more: no flexbox, no grid, no
 * gradients. Columns are tables and the gradient rule is an image, so the
 * page and the PDF come out the same. Sizes are in pt, the PDF's own unit.
 */

@page {
	size: A4;
	margin: 10mm 14mm 8mm;
}

.cv {
	color: #1d1a26;
	font-family: "Sora", sans-serif;
	font-size: 8.6pt;
	line-height: 1.3;
}

/* Dompdf adds Sora's tall line gap on top of line-height; this lands
   closer to what browsers draw at 1.3. */
.cv-pdf .cv {
	line-height: 1.2;
}

.cv * {
	margin: 0;
	padding: 0;
}

.cv a {
	color: inherit;
	text-decoration: none;
}

.cv table {
	width: 100%;
	border-collapse: collapse;
}

.cv td {
	vertical-align: top;
}

/* Header */

.cv-head td {
	vertical-align: bottom;
}

.cv-name {
	font-size: 23pt;
	font-weight: 700;
	letter-spacing: -.4pt;
	line-height: 1.1;
}

.cv-role {
	margin-top: 3pt;
	color: #6d28d9;
	font-size: 11pt;
	font-weight: 600;
}

.cv-contact {
	text-align: right;
	font-size: 8.4pt;
	line-height: 1.45;
}

.cv-bar {
	display: block;
	width: 100%;
	height: 2.5pt;
	margin: 8pt 0 1pt;
}

/* Sections */

/* Padding, not margin: Dompdf drops a heading's top margin after a table. */
.cv-h {
	margin: 0 0 3pt;
	padding-top: 7.5pt;
	color: #6d28d9;
	font-size: 8.6pt;
	font-weight: 700;
	letter-spacing: 1.2pt;
	text-transform: uppercase;
}

.cv-note {
	float: right;
	color: #6b6680;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}

.cv-p {
	margin-bottom: 2pt;
}

.cv-grid td {
	width: 50%;
	padding: 0 9pt 3pt 0;
}

.cv-grid td + td {
	padding: 0 0 3pt 9pt;
}

.cv-link {
	margin-left: 4pt;
	color: #0e7490;
	font-size: 8.4pt;
}

.cv-muted {
	color: #3c3750;
}

.cv-tag {
	color: #6b6680;
	font-size: 8.2pt;
}

.cv-list {
	margin-left: 17pt;
	padding-left: 0;
}

.cv-list li {
	margin-bottom: 1pt;
}

.cv-rows td {
	padding: 1pt 0;
}

.cv-rows .cv-years {
	width: 19%;
	color: #6b6680;
}

.cv-chips span {
	display: inline-block;
	margin: 0 2.5pt 2.5pt 0;
	padding: 1pt 6pt;
	border: .8pt solid #d6cff0;
	border-radius: 9pt;
	font-size: 8.2pt;
}

b,
.cv b {
	font-weight: 600;
}
