/* ---- CV sheet: the white "document" on the paper background ---- */
.cv-sheet {
	background: var(--wp--preset--color--surface);
	box-shadow: 0 10px 40px rgba(46, 58, 72, 0.14);
	border-radius: 2px;
	overflow: hidden;
	padding: 0;
}

/* Columns touch each other (sidebar flush against main) */
.cv-columns {
	gap: 0 !important;
	margin-bottom: 0;
}

/* ---- Sidebar ---- */
.cv-sidebar {
	padding: clamp(28px, 4vw, 48px) clamp(22px, 3vw, 40px);
}
.cv-sidebar,
.cv-sidebar h2, .cv-sidebar h3, .cv-sidebar h4,
.cv-sidebar a {
	color: #fff;
}
.cv-sidebar a { text-decoration-color: rgba(255, 255, 255, 0.5); }
.cv-sidebar a:hover { color: var(--wp--preset--color--hairline); }

.cv-side-heading {
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 1.05rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
	padding-bottom: 0.5em;
	margin-top: 2.2em;
}
.cv-sidebar ul { padding-left: 1.1em; }
.cv-sidebar li { margin-bottom: 0.35em; }

.cv-photo img {
	border-radius: 50%;
	border: 4px solid rgba(255, 255, 255, 0.85);
}

/* ---- Main column ---- */
.cv-main {
	padding: clamp(28px, 4vw, 56px) clamp(22px, 4vw, 56px);
	background: var(--wp--preset--color--surface);
}
.cv-main-heading {
	letter-spacing: 0.02em;
}
.cv-tagline {
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}
/* Keep the tagline on one line whenever the sidebar sits beside the main
   column; scale it down instead of wrapping on narrower desktops. */
@media (min-width: 782px) {
	.cv-tagline {
		white-space: nowrap;
		font-size: clamp(0.62rem, 0.35rem + 0.85vw, 0.9rem) !important;
	}
}
.cv-section-heading {
	border-bottom: 2px solid var(--wp--preset--color--slate);
	padding-bottom: 0.35em;
	margin-top: 2.4em;
}

/* ---- Experience timeline ---- */
.cv-timeline {
	position: relative;
	padding-left: 26px;
	border-left: 2px solid var(--wp--preset--color--hairline);
	margin-left: 5px;
}
.cv-job { position: relative; margin-bottom: 2.2em; }
.cv-job::before {
	content: "";
	position: absolute;
	left: -33px;
	top: 0.35em;
	width: 10px;
	height: 10px;
	border: 2px solid var(--wp--preset--color--slate);
	border-radius: 50%;
	background: var(--wp--preset--color--surface);
}
.cv-job-date {
	color: var(--wp--preset--color--muted);
	font-weight: 700;
	letter-spacing: 0.06em;
	margin-bottom: 0.2em;
}
.cv-job-company {
	color: var(--wp--preset--color--muted);
	margin-bottom: 0.2em;
}
.cv-job ul { margin-top: 0.5em; }
.cv-job li { margin-bottom: 0.3em; }

/* ---- Mobile: stack sidebar on top, remove sheet inset ---- */
@media (max-width: 781px) {
	.cv-sheet { border-radius: 0; box-shadow: none; }
	.cv-sidebar, .cv-main { padding-left: 22px; padding-right: 22px; }
	.cv-timeline { margin-left: 2px; padding-left: 20px; }
	.cv-job::before { left: -27px; }
}

/* ---- Print: mimic the PDF ---- */
@media print {
	body { background: #fff; }
	.cv-sheet { box-shadow: none; }
	footer, .wp-block-template-part { display: none; }
}
