/* RAVON Medewerkers – huisstijl ravon.nl (Elementor-kit) */
.rm {
	--rm-petrol: #00547D;
	--rm-navy: #303880;
	--rm-oranje: #EA792E;
	--rm-tekst: #4F4F4F;
	--rm-kop: #2E2E2E;
	--rm-vlak: #F4F9F5;
	--rm-rij: #EEF9F0;
	--rm-rand: #E6E8EC;
	--rm-wit: #fff;
	--rm-font-kop: "Trebuchet MS", var(--e-global-typography-primary-font-family, sans-serif);
	--rm-font: Roboto, var(--e-global-typography-text-font-family, sans-serif);
	color: var(--rm-tekst);
	font-family: var(--rm-font);
	font-size: 15.2px;
	line-height: 1.5;
}
.rm *, .rm *::before, .rm *::after { box-sizing: border-box; }
.rm a { text-decoration: none; }
ul.rm-kaarten, ul.rm-labels, ul.rm-projecten, ul.rm-pubs, ul.rm-contact, .rm-kruimel ol {
	list-style: none; margin: 0; padding: 0;
}
.rm-icon { display: inline-block; flex: none; vertical-align: middle; }

/* gedeeld */
.rm-label {
	margin: 0 0 6px; color: var(--rm-oranje); font-family: var(--rm-font-kop);
	font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3;
}
.rm-kop {
	margin: 0 0 6px; color: var(--rm-petrol); font-family: var(--rm-font);
	font-size: clamp(24px, 3vw, 32px); font-weight: 500; letter-spacing: -1px; line-height: 1.15;
}
.rm-pijllink {
	display: inline-flex; align-items: center; gap: 6px; margin-top: auto;
	color: var(--rm-oranje); font-family: var(--rm-font-kop); font-weight: 700; font-size: 14px;
}
.rm-pijllink .rm-icon { width: 16px; height: 16px; transition: transform .2s ease; }
a:hover .rm-pijllink .rm-icon, a:focus-visible .rm-pijllink .rm-icon { transform: translateX(3px); }
.rm-knop {
	display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px;
	background: var(--rm-navy); color: #fff !important; border-radius: 200px;
	font-family: var(--rm-font-kop); font-weight: 700; font-size: 15px; letter-spacing: -.4px;
}
.rm-knop:hover, .rm-knop:focus-visible { background: var(--rm-petrol); }
.rm-knop .rm-icon { width: 18px; height: 18px; }
.rm a:focus-visible { outline: 3px solid var(--rm-oranje); outline-offset: 3px; border-radius: 6px; }
.rm-img--leeg { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #DCE9E2, #F4F9F5); }

/* ---------- overzicht ---------- */
.rm-ov-kop {
	display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; overflow: hidden;
	background: var(--rm-vlak); border-radius: 14px; margin-bottom: 24px; min-height: 180px;
}
.rm-ov-kop__tekst { padding: 32px 36px; align-self: center; }
.rm-ov-kop__titel {
	margin: 0 0 8px; color: var(--rm-kop); font-family: var(--rm-font-kop);
	font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -1px; line-height: 1.1;
}
.rm-ov-kop__intro { margin: 0; font-size: 17px; }
.rm-ov-kop__beeld { position: relative; min-height: 180px; }
.rm .rm-ov-kop__beeld img.rm-ov-kop__img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; clip-path: ellipse(100% 120% at 100% 50%); }
.rm-ov-kop:not(:has(.rm-ov-kop__beeld)) { grid-template-columns: 1fr; }

.rm-afd { border: 1px solid var(--rm-rand); border-radius: 12px; background: #fff; margin-bottom: 10px; overflow: hidden; }
.rm-afd[open] { border-left: 4px solid var(--rm-oranje); }
.rm-afd__kop {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 12px 18px; cursor: pointer; list-style: none; background: var(--rm-rij);
	color: var(--rm-petrol); font-family: var(--rm-font-kop); font-size: 18px; font-weight: 700;
}
.rm-afd__kop::-webkit-details-marker { display: none; }
.rm-afd__kop .rm-icon { color: var(--rm-oranje); transition: transform .2s ease; }
.rm-afd[open] > .rm-afd__kop .rm-icon { transform: rotate(180deg); }
.rm-afd__kop:focus-visible { outline: 3px solid var(--rm-oranje); outline-offset: -3px; }
.rm-afd__inhoud { padding: 8px 18px 22px; }
.rm-team { display: flex; align-items: center; gap: 10px; margin: 18px 0 12px; color: var(--rm-petrol); font-family: var(--rm-font-kop); font-size: 17px; font-weight: 700; }
.rm-team::after { content: ""; flex: 1; height: 1px; background: var(--rm-rand); }
.rm-team__streep { width: 22px; height: 6px; border-radius: 6px; background: var(--rm-oranje); }

.rm-kaarten { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.rm-kaart__link {
	display: flex; flex-direction: column; height: 100%; background: #fff; color: inherit;
	border: 1px solid var(--rm-rand); border-radius: 14px; overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}
.rm-kaart__link:hover { box-shadow: 0 8px 22px rgba(0, 84, 125, .12); transform: translateY(-2px); }
.rm-kaart__foto { display: block; aspect-ratio: 4 / 3; overflow: hidden; clip-path: ellipse(115% 100% at 50% 0%); background: var(--rm-vlak); }
.rm .rm-kaart__foto img.rm-kaart__img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; display: block; }
.rm-kaart__tekst { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px 14px; flex: 1; }
.rm-kaart__naam { color: var(--rm-petrol); font-family: var(--rm-font-kop); font-weight: 700; font-size: 16px; line-height: 1.25; }
.rm-kaart__functie { font-size: 13.5px; line-height: 1.35; margin-bottom: 8px; }

/* zoeken */
.rm-zoek { margin: 0 0 18px; }
.rm-zoek[hidden], .rm-teamblok[hidden], .rm-kaart[hidden], .rm-afd[hidden], .rm-zoek__leeg[hidden] { display: none !important; }
.rm-zoek__label { display: block; margin: 0 0 6px; color: var(--rm-petrol); font-family: var(--rm-font-kop); font-weight: 700; font-size: 15px; }
.rm-zoek__veld { position: relative; max-width: 460px; }
.rm-zoek__veld .rm-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--rm-petrol); pointer-events: none; }
.rm .rm-zoek__invoer {
	width: 100%; height: 46px; padding: 0 16px 0 44px; border: 1.5px solid var(--rm-rand); border-radius: 10px;
	background: #fff; color: var(--rm-kop); font: inherit; font-size: 15px;
}
.rm .rm-zoek__invoer:focus { outline: none; border-color: var(--rm-petrol); box-shadow: 0 0 0 3px rgba(0, 84, 125, .18); }
.rm-zoek__status { min-height: 1.3em; margin: 6px 0 0; font-size: 13px; }
.rm-zoek__leeg { padding: 14px 18px; background: var(--rm-vlak); border-radius: 10px; }

/* ---------- medewerkerspagina ---------- */
.rm-kruimel { margin: 0 0 14px; font-size: 13px; }
.rm-kruimel ol { display: flex; flex-wrap: wrap; gap: 4px; }
.rm-kruimel li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--rm-oranje); }
.rm-kruimel a { color: var(--rm-tekst); }
.rm-kruimel a:hover { color: var(--rm-petrol); text-decoration: underline; }
.rm-kruimel [aria-current] { color: var(--rm-petrol); }

.rm-held {
	position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 34%); gap: 24px;
	background: var(--rm-vlak); border-radius: 14px; margin-bottom: 96px;
}
.rm-held--breed { grid-template-columns: minmax(0, 1fr) minmax(300px, 46%); }
.rm-held__tekst { padding: 36px 0 40px 36px; }
.rm-held__naam {
	margin: 0 0 4px; color: var(--rm-kop); font-family: var(--rm-font-kop);
	font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; letter-spacing: -1px; line-height: 1.05;
}
.rm-held__functie { margin: 0 0 22px; color: var(--rm-petrol); font-family: var(--rm-font-kop); font-size: 20px; font-weight: 700; letter-spacing: -.4px; }
.rm-label--over { margin-top: 0; }
.rm-held__bio p { margin: 0 0 12px; }
.rm-held__bio a { color: var(--rm-petrol); text-decoration: underline; }

/* foto rechts: los vlak met gebogen linkerbovenkant; contactkaart hangt eronder, deels buiten het vlak */
.rm-held__beeld { position: relative; padding: 18px 18px 0 0; margin-bottom: -72px; display: flex; flex-direction: column; }
.rm-held__foto {
	position: relative; overflow: hidden; aspect-ratio: 3 / 4; max-height: 520px;
	border-radius: 72% 16px 16px 16px / 34% 16px 16px 16px; background: var(--rm-rij);
}
.rm-held--breed .rm-held__foto { aspect-ratio: 4 / 3; border-radius: 60% 16px 16px 16px / 40% 16px 16px 16px; }
.rm .rm-held__foto img.rm-held__img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; display: block; }

.rm-contact {
	position: relative; z-index: 2; display: grid; gap: 10px; align-self: flex-start;
	width: calc(100% - 4px); padding: 16px 20px !important;
	background: var(--rm-navy); color: #fff; border-radius: 10px; font-size: 14px; line-height: 1.35;
	box-shadow: 0 12px 26px rgba(16, 24, 64, .25);
}
.rm ul.rm-contact { margin: -36px 0 0 -26px; }
.rm-contact li { display: flex; align-items: flex-start; gap: 10px; }
.rm-contact a { color: #fff; font-weight: 600; word-break: break-word; }
.rm-contact a:hover { text-decoration: underline; }
.rm-contact__icoon {
	display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
	background: #fff; color: var(--rm-petrol); flex: none;
}
.rm-contact__icoon .rm-icon { width: 15px; height: 15px; }
.rm-contact__sub { display: block; font-size: 12.5px; opacity: .9; font-weight: 400; margin-top: 2px; }

.rm-sectie { margin: 0 0 28px; }
.rm-sectie--expertise, .rm-sectie--publicaties { background: var(--rm-vlak); border-radius: 14px; }
.rm-sectie__binnen { padding: 28px 32px; }
.rm-sectie--projecten .rm-sectie__binnen { padding-left: 0; padding-right: 0; }
.rm-sectie__intro { margin: 0 0 16px; }
.rm-labels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px !important; }
.rm-pil {
	padding: 8px 18px; background: #fff; border: 1.5px solid var(--rm-petrol); border-radius: 10px;
	color: var(--rm-petrol); font-family: var(--rm-font-kop); font-weight: 700; font-size: 14px;
}

.rm-projecten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rm-project__link {
	display: flex; flex-direction: column; height: 100%; background: #fff; color: inherit;
	border: 1px solid var(--rm-rand); border-radius: 14px; overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}
.rm-project__link:hover { box-shadow: 0 8px 22px rgba(0, 84, 125, .12); transform: translateY(-2px); }
.rm-project__foto { display: block; aspect-ratio: 16 / 9; overflow: hidden; clip-path: ellipse(115% 100% at 50% 0%); background: var(--rm-vlak); }
.rm .rm-project__foto img.rm-project__img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; display: block; }
.rm-project__tekst { display: flex; flex-direction: column; gap: 6px; padding: 12px 16px 16px; flex: 1; }
.rm-project__titel { color: var(--rm-petrol); font-family: var(--rm-font-kop); font-size: 17px; font-weight: 700; line-height: 1.25; }
.rm-project__intro { color: var(--rm-petrol); font-size: 14px; line-height: 1.45; margin-bottom: 6px; }

.rm-pubs { display: grid; gap: 10px; margin: 14px 0 20px !important; }
.rm-pub {
	display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #fff; color: inherit;
	border: 1px solid var(--rm-rand); border-radius: 12px; transition: border-color .2s ease;
}
.rm-pub:hover { border-color: var(--rm-petrol); }
.rm-pub__icoon { color: var(--rm-petrol); }
.rm-pub__icoon .rm-icon { width: 24px; height: 24px; }
.rm-pub__tekst { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.rm-pub__titel { color: var(--rm-petrol); font-weight: 600; line-height: 1.3; }
.rm-pub__meta { font-size: 12.5px; color: var(--rm-tekst); white-space: pre; }
.rm-pub__pijl { color: var(--rm-oranje); }
.rm-knoprij { margin: 0; }
.rm-oud {
	margin: 0 0 20px; padding: 12px 16px; background: #fff; border: 1px solid var(--rm-rand);
	border-left: 4px solid var(--rm-oranje); border-radius: 10px; font-size: 14.5px;
}
.rm-oud strong { color: var(--rm-kop); }
.rm-oud a { color: var(--rm-petrol); text-decoration: underline; }
.rm-melding { padding: 12px 16px; background: #fff4ec; border-left: 4px solid var(--rm-oranje); }

/* ---------- smal ---------- */
@media (max-width: 900px) {
	.rm-projecten { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
	.rm-ov-kop { grid-template-columns: 1fr; }
	.rm-ov-kop__beeld { min-height: 160px; order: -1; }
	.rm-ov-kop__img { clip-path: ellipse(120% 100% at 50% 0%); }
	.rm-ov-kop__tekst { padding: 22px 20px; }
	.rm-held, .rm-held--breed { grid-template-columns: 1fr; gap: 0; margin-bottom: 28px; }
	.rm-held__beeld { order: -1; padding: 16px 16px 0; margin-bottom: 0; }
	.rm-held__foto, .rm-held--breed .rm-held__foto { aspect-ratio: 4 / 3; border-radius: 40% 14px 14px 14px / 30% 14px 14px 14px; }
	.rm ul.rm-contact { width: auto; margin: -28px 12px 0; }
	.rm-held__tekst { padding: 22px 20px 26px; }
	.rm-sectie__binnen { padding: 22px 18px; }
	.rm-projecten { grid-template-columns: 1fr; }
	.rm-kaarten { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.rm * { transition: none !important; }
}
