/* ==========================================================
   CV-SEKTION – design fra "Forside v2" (Claude Design)
   Farverne kommer fra colors.css, skrifterne fra fonts.css
   Overskrift og "CV"-eyebrow styles i portfolio.css
   ========================================================== */

.cvsection {
	background-color: var(--surface);
	padding-top: 96px;
	padding-bottom: 96px;
}

.cvsection .section-title {
	margin-bottom: 36px;
}

/* ---------- To kolonner: Erhvervserfaring og Uddannelse ---------- */

.cv-columns {
	display: grid;
	grid-template-columns: 1fr;
	gap: 56px 80px;
}

@media (min-width: 992px) {
	.cv-columns {
		grid-template-columns: 1fr 1fr;
	}
}

/* Nulstil gammel afstand fra style.css */
.cv-column {
	margin-bottom: 0;
}

/* Kolonneoverskrifter */
.cv-heading {
	margin: 0 0 16px;
	font-family: var(--font-headline);
	font-weight: 600;
	font-size: 22px;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--ink);
}

.cv-heading-jobs { color: var(--accent); }
.cv-heading-edu  { color: var(--accent); }

@media (min-width: 768px) {
	.cv-heading {
		font-size: 22px;
	}
}

/* ---------- Et job / en uddannelse ---------- */

.cv-item {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 10px;
	padding: 24px 0;
	border-top: 1px solid var(--line);
}

.cv-years {
	padding-top: 3px;
	font-family: var(--font-ui);
	font-size: var(--text-sm);
	color: var(--muted);
}

.cv-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.cv-title {
	margin: 0;
	font-family: var(--font-ui);
	font-weight: 500;
	font-size: var(--text-lg);
	line-height: 1.35;
	letter-spacing: 0;
	color: var(--ink);
}

.cv-place {
	font-family: var(--font-ui);
	font-size: var(--text-base);
	color: var(--muted);
}

.cv-text {
	margin: 10px 0 0;
	font-family: var(--font-ui);
	font-size: var(--text-base);
	line-height: 1.6;
	color: var(--body);
	text-wrap: pretty;
}

/* Smalle skærme: årstal over teksten */
@media (max-width: 479px) {
	.cv-item {
		grid-template-columns: 1fr;
		gap: 6px;
	}
}

/* ---------- Kompetencer ---------- */

.cv-skills {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;                  /* citat øverst, tags under */
	margin-top: 64px;
}

.cv-quote {
	margin: 0 auto;              /* blokken centreres, teksten er venstrestillet */
	max-width: 775px;           /* korte linjer er lettere at læse */
	overflow: visible;
}

/* Citatet om kompetencer */
.cv-quote p {
	margin: 0;
	font-family: var(--font-headline);
	font-weight: 500;
	font-size: var(--text-lg);
	line-height: 1.5;          /* god plads, så bogstaverne ikke bliver skåret */
	letter-spacing: -0.015em;
	color: var(--ink);
	text-wrap: pretty;
}

@media (min-width: 768px) {
	.cv-quote p {
		font-size: var(--text-quote);
	}
}

@media (min-width: 1200px) {
	.cv-quote p {
		font-size: var(--text-quote);
	}
}

.cv-chips {
	list-style: none;
	margin: 0 auto;              /* blokken centreres, samme bredde som citatet */
	max-width: 775px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	gap: 8px;
}

.cv-chips li {
	padding: 8px 14px;
	border-radius: 999px;
	font-family: var(--font-ui);
	font-size: var(--text-sm);
	line-height: 1.4;
	background: var(--bg);
	color: var(--body);
}
