/* CV page — screen layout. No homepage snap / full-screen sections. */

body.template-cv {
	margin: 0;
	background: var(--wp--preset--color--surface, #F6F7F3);
	color: var(--wp--preset--color--ink, #1A201B);
	font-family: var(--wp--preset--font-family--sans, "Geologica", system-ui, sans-serif);
	font-size: var(--wp--preset--font-size--body, 17px);
	line-height: 1.55;
}

body.template-cv .cv-doc {
	max-width: 720px;
	margin: 0 auto;
	padding: 48px 24px 96px;
	box-sizing: border-box;
}

body.template-cv .cv-header {
	margin-bottom: 40px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--wp--preset--color--hairline, #DCE0D8);
}

body.template-cv .cv-name {
	margin: 0 0 4px;
	font-size: var(--wp--preset--font-size--h1, 40px);
	font-weight: 600;
	line-height: 1.15;
}

body.template-cv .cv-role {
	margin: 0 0 16px;
	color: var(--wp--preset--color--ink-muted, #58625A);
	font-size: var(--wp--preset--font-size--lead, 20px);
}

body.template-cv .cv-contacts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	font-size: var(--wp--preset--font-size--meta, 13px);
}

body.template-cv .cv-contacts a {
	color: var(--wp--preset--color--accent, #2E6A4E);
	text-decoration: none;
}

body.template-cv .cv-contact-label {
	color: var(--wp--preset--color--ink-muted, #58625A);
	margin-right: 6px;
}

body.template-cv .cv-contact-label::after {
	content: ":";
}

body.template-cv .cv-section {
	margin-bottom: 36px;
}

body.template-cv .cv-section h2 {
	margin: 0 0 12px;
	font-size: var(--wp--preset--font-size--h2, 28px);
	font-weight: 600;
	line-height: 1.2;
}

body.template-cv .cv-values-text {
	margin: 0;
	line-height: 1.7;
}

body.template-cv .cv-values-row1 {
	font-size: var(--wp--preset--font-size--lead, 20px);
}

body.template-cv .cv-values-row2 {
	color: var(--wp--preset--color--ink-muted, #58625A);
}

body.template-cv .cv-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.template-cv .cv-experience-item,
body.template-cv .cv-skill-item,
body.template-cv .cv-project-item {
	padding: 16px 0;
	border-top: 1px solid var(--wp--preset--color--hairline, #DCE0D8);
}

body.template-cv .cv-experience-item:last-child,
body.template-cv .cv-skill-item:last-child,
body.template-cv .cv-project-item:last-child {
	border-bottom: 1px solid var(--wp--preset--color--hairline, #DCE0D8);
}

body.template-cv .cv-item-head {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	align-items: baseline;
	margin-bottom: 8px;
}

body.template-cv .cv-co,
body.template-cv .cv-skill-title,
body.template-cv .cv-pt {
	font-weight: 600;
}

body.template-cv .cv-skill-process {
	display: block;
	margin: 2px 0 6px;
	color: var(--wp--preset--color--ink-muted, #58625A);
	font-family: var(--wp--preset--font-family--mono, "JetBrains Mono", ui-monospace, monospace);
	font-size: var(--wp--preset--font-size--meta, 13px);
	font-weight: 400;
}

body.template-cv .cv-item-role,
body.template-cv .cv-item-type,
body.template-cv .cv-item-when,
body.template-cv .cv-item-loc {
	color: var(--wp--preset--color--ink-muted, #58625A);
	font-size: var(--wp--preset--font-size--meta, 13px);
}

/* Selected projects: title → features blurb → live URL (skip empties). */
body.template-cv .cv-pf {
	margin: 4px 0 0;
	color: var(--wp--preset--color--ink-muted, #58625A);
	font-size: var(--wp--preset--font-size--meta, 13px);
	font-weight: 400;
	line-height: 1.5;
}

body.template-cv .cv-plive {
	display: inline-block;
	margin-top: 4px;
	color: var(--wp--preset--color--accent, #2E6A4E);
	font-size: var(--wp--preset--font-size--meta, 13px);
	text-decoration: none;
}

body.template-cv .cv-plive:hover {
	text-decoration: underline;
}

body.template-cv .cv-item-about,
body.template-cv .cv-empty {
	margin: 0 0 8px;
}

body.template-cv .cv-subhead {
	margin: 8px 0 4px;
	font-size: var(--wp--preset--font-size--meta, 13px);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--wp--preset--color--ink-muted, #58625A);
}

/* Responsibilities / technical solutions / skill bullets: quieter than titles. */
body.template-cv .cv-experience-item ul,
body.template-cv .cv-skill-item ul {
	margin: 0 0 8px;
	padding-left: 1.2em;
	font-size: var(--wp--preset--font-size--meta, 13px);
	font-weight: 400;
	line-height: 1.5;
	color: var(--wp--preset--color--ink-muted, #58625A);
}

body.template-cv .cv-experience-item ul li,
body.template-cv .cv-skill-item ul li {
	font-size: inherit;
	font-weight: 400;
}

body.template-cv .cv-stack {
	margin: 0;
	font-size: var(--wp--preset--font-size--meta, 13px);
	color: var(--wp--preset--color--ink-muted, #58625A);
}

body.template-cv .cv-stack span {
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-right: 6px;
}

body.template-cv .cv-project-item {
	display: block;
}

body.template-cv .cv-project-item .cv-pt {
	display: block;
}

/* Closing P.S. — quiet, after Skills when present. */
body.template-cv .cv-ps p {
	margin: 0;
	color: var(--wp--preset--color--ink-muted, #58625A);
	font-size: var(--wp--preset--font-size--body, 17px);
	line-height: 1.55;
}
