﻿/* Medewerkerspagina's: /overons/medewerkers/ (overzicht) en de EEAT-profielen.
   Bouwt op de tokens uit basics.css. */

section.employee {
	background: var(--color-white);
}

/* ==== Profiel-hero: band in licht blauw met foto, naam, quote en contact ==== */

.profile-hero {
	background: var(--very-light-blue);
	border-bottom: 1px solid var(--light-blue);
	padding: 1.2rem 0 2rem;
}

.profile-hero-inner {
	display: flex;
	gap: 2.5rem;
	align-items: center;
	margin-top: 1rem;
}

.profile-picture {
	flex: 0 0 auto;
	width: 190px;
	height: 190px;
	border: 6px solid var(--color-white);
	box-shadow: var(--shadow);
	border-radius: 50%;
	overflow: hidden;
	background: var(--color-white);
}

	.profile-picture img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

.profile-intro {
	flex: 1 1 auto;
	min-width: 0;
}

	.profile-intro h1 {
		margin: 0 0 0.2rem;
		font-size: 1.9rem;
	}

.profile-functie {
	color: var(--primary-blue);
	font-family: var(--font-bold);
	font-size: 1.15rem;
	margin: 0 0 0.9rem;
}

.profile-payoff {
	margin: 0 0 1.1rem;
	padding-left: 1rem;
	border-left: 3px solid var(--accent-blue);
	font-style: italic;
	color: #333;
	max-width: 720px;
	line-height: 1.5;
}

.profile-chips {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0;
	margin: 0 0 1.2rem;
}

	.profile-chips li {
		background: var(--color-white);
		border: 1px solid var(--light-blue);
		color: var(--primary-blue);
		border-radius: 999px;
		padding: 0.25rem 0.85rem;
		font-size: 0.9rem;
		white-space: nowrap;
	}

.profile-contact {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

	.profile-contact a {
		display: inline-flex;
		align-items: center;
		gap: 0.45rem;
		background: var(--color-link);
		color: var(--text-light);
		font-weight: 600;
		border-radius: var(--border-radius);
		padding: 0.55rem 1.15rem;
		text-decoration: none;
	}

		.profile-contact a:hover {
			background: var(--primary-blue);
		}

		.profile-contact a.sec {
			background: var(--color-white);
			color: var(--color-link);
			border: 1px solid var(--color-link);
		}

			.profile-contact a.sec:hover {
				background: var(--light-blue);
			}

/* ==== Onder de hero: bio links, feitenkaart rechts ==== */

.profile-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5rem;
	padding: 2rem 0 2.5rem;
}

.profile-main {
	flex: 1 1 58%;
	min-width: 300px;
}

	.profile-main h2 {
		margin: 0 0 0.8rem;
	}

	.profile-main p {
		font-size: 1.05rem;
		line-height: 1.65;
		margin-bottom: 1rem;
	}

.profile-aside {
	flex: 1 1 30%;
	min-width: 260px;
	align-self: flex-start;
	background: var(--gray-light);
	border: 1px solid var(--gray-dark);
	border-radius: var(--border-radius);
	padding: 1.3rem;
}

	.profile-aside h3 {
		font-size: 1.05rem;
		margin: 0 0 0.6rem;
		padding-bottom: 0.4rem;
		border-bottom: 1px solid var(--gray-dark);
	}

		.profile-aside h3:not(:first-child) {
			margin-top: 1.5rem;
		}

	.profile-aside ul.vinkjes {
		list-style: none;
		margin: 0;
		padding: 0;
	}

		.profile-aside ul.vinkjes li {
			position: relative;
			padding-left: 1.4rem;
			margin-bottom: 0.45rem;
			line-height: 1.45;
		}

			.profile-aside ul.vinkjes li::before {
				content: "✓";
				position: absolute;
				left: 0;
				color: var(--highlight-green);
				font-weight: bold;
			}

	.profile-aside ul.onderwerpen {
		list-style: none;
		margin: 0;
		padding: 0;
	}

		.profile-aside ul.onderwerpen li {
			margin-bottom: 0.45rem;
			line-height: 1.45;
		}

		.profile-aside ul.onderwerpen a {
			color: var(--color-link);
			font-weight: 600;
			text-decoration: none;
		}

			.profile-aside ul.onderwerpen a:hover {
				text-decoration: underline;
			}

		.profile-aside ul.onderwerpen span {
			color: #888;
			font-size: 0.9rem;
		}

	.profile-aside dl {
		display: grid;
		grid-template-columns: auto 1fr;
		column-gap: 1rem;
		row-gap: 0.4rem;
		margin: 0;
		font-size: 0.95rem;
	}

	.profile-aside dt {
		font-weight: 600;
	}

	.profile-aside dd {
		margin: 0;
	}

/* Uit dienst (publiek 301't dit profiel, maar de view kan het tonen) */
section.employee.former .profile-hero {
	background: var(--gray-light);
	border-bottom-color: var(--gray-dark);
}

section.employee.former .profile-intro h1::after {
	content: " (niet meer in dienst)";
	font-size: 0.9rem;
	font-weight: normal;
	color: #666;
	margin-left: 0.5rem;
}

/* ==== Overzicht /overons/medewerkers/ - kaarten per medewerker ==== */

.medewerker-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1.5rem;
	margin-top: 1.5rem;
	list-style: none;
	padding: 0;
}

	.medewerker-grid .medewerker-kaart {
		display: block;
		background: var(--color-white);
		border: 1px solid var(--gray-dark);
		border-radius: var(--border-radius);
		padding: var(--padding-default);
		text-align: center;
		text-decoration: none;
		color: var(--text-dark);
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	}

		.medewerker-grid .medewerker-kaart:hover {
			box-shadow: var(--shadow);
			border-color: var(--light-blue);
		}

		.medewerker-grid .medewerker-kaart .profile-picture {
			width: 140px;
			height: 140px;
			border: 4px solid var(--gray-medium);
			box-shadow: none;
			margin: 0 auto 1rem auto;
		}

		.medewerker-grid .medewerker-kaart:hover .profile-picture {
			border-color: var(--accent-blue);
		}

		.medewerker-grid .medewerker-kaart h2 {
			font-size: var(--font-size-h3);
			margin: 0 0 0.3rem;
		}

		.medewerker-grid .medewerker-kaart p {
			font-size: 0.95rem;
			color: #555;
			margin: 0;
		}

/* ==== Responsive ==== */

@media screen and (max-width: 768px) {
	.profile-hero-inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 1.2rem;
	}

	.profile-picture {
		width: 150px;
		height: 150px;
	}

	.profile-payoff {
		text-align: left;
	}

	.profile-chips,
	.profile-contact {
		justify-content: center;
	}

	.profile-wrapper {
		flex-direction: column;
		gap: 1.5rem;
	}

	.profile-main,
	.profile-aside {
		flex: 1 1 100%;
	}
}
