/**
 * Vormgeving van de klantgalerij — zelfde taal als danielsylla.nl:
 * merkgroen #1D9E75, ronding 11px (knoppen) en 18px (kaarten).
 */

.ds-galerij-pagina {
	--ds-groen: #1D9E75;
	--ds-groen-donker: #16785a;
	--ds-groen-tint: #e6f5ef;
	--ds-inkt: #0d1f18;
	--ds-grijs: #6b7a74;
	margin: 0;
	background: #fff;
	color: var(--ds-inkt);
	font-family: "Helvetica Neue", Helvetica, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.ds-galerij-pagina * {
	box-sizing: border-box;
}

/* ---------- Cover ---------- */

/*
 * Omslag: de foto vult het scherm. Merk linksboven, datum + titel
 * linksonder, knop rechtsonder. Verlopen boven en onder houden de tekst leesbaar.
 */
.ds-cover {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: var(--ds-inkt) center/cover no-repeat;
	color: #fff;
	padding: clamp( 22px, 3.4vw, 56px );
}

.ds-cover::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient( to top, rgba(8,18,14,.78) 0%, rgba(8,18,14,.25) 42%, rgba(8,18,14,0) 62% ),
		linear-gradient( to bottom, rgba(8,18,14,.35), rgba(8,18,14,0) 22% );
	pointer-events: none;
}

.ds-cover > * {
	position: relative;
}

.ds-cover-onder {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
	flex-wrap: wrap;
}

.ds-cover-inhoud {
	max-width: 900px;
}

.ds-galerij-pagina .ds-cover-merk,
.ds-galerij-pagina .ds-cover-datum {
	color: #fff;
	margin: 0;
	font-size: 12px;
	letter-spacing: .22em;
	text-transform: uppercase;
	opacity: .92;
}

.ds-galerij-pagina .ds-cover-titel {
	color: #fff;
	margin: 14px 0 0;
	max-width: 14ch;
	font-size: clamp( 34px, 5.4vw, 84px );
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;
	line-height: 1.02;
	text-shadow: 0 2px 24px rgba(0,0,0,.25);
}

.ds-cover-inhoud .ds-melding,
.ds-cover-inhoud .ds-wachtwoord {
	margin-top: 26px;
}

.ds-cover .ds-knop-cover {
	background: #fff;
	color: var(--ds-inkt);
	box-shadow: none;
}

.ds-cover .ds-knop-cover:hover,
.ds-cover .ds-knop-cover:focus-visible {
	background: var(--ds-groen);
	color: #fff;
}

@media (max-width: 600px) {
	.ds-galerij-pagina .ds-cover-titel {
		max-width: none;
	}

	.ds-cover-actie,
	.ds-cover-actie .ds-knop {
		width: 100%;
		text-align: center;
	}
}

.ds-knop {
	display: inline-block;
	padding: 14px 30px;
	border: 0;
	border-radius: 11px;
	background: var(--ds-groen);
	color: #fff;
	font-size: 12px;
	letter-spacing: .18em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(29,158,117,.35);
	transition: background .18s ease, transform .18s ease;
}

.ds-knop:hover,
.ds-knop:focus-visible {
	background: var(--ds-groen-donker);
	transform: translateY(-1px);
	color: #fff;
}

.ds-knop-klein {
	padding: 10px 20px;
	font-size: 11px;
	box-shadow: none;
}

.ds-melding {
	margin: 0;
	max-width: 480px;
	padding: 20px 24px;
	border-radius: 18px;
	background: rgba(255,255,255,.14);
	backdrop-filter: blur(6px);
	font-size: 15px;
	line-height: 1.6;
}

/* ---------- Wachtwoord ---------- */

.ds-galerij-pagina .ds-wachtwoord label {
	color: #fff;
	display: block;
	margin-bottom: 14px;
	font-size: 12px;
	letter-spacing: .18em;
	text-transform: uppercase;
	opacity: .85;
}

.ds-wachtwoord-rij {
	display: flex;
	gap: 8px;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.ds-galerij-pagina .ds-wachtwoord input {
	width: 260px;
	max-width: 100%;
	flex: none;
	padding: 13px 18px;
	border: 1px solid rgba(255,255,255,.4);
	border-radius: 11px;
	background: rgba(255,255,255,.14);
	color: #fff;
	font-size: 15px;
}

.ds-wachtwoord input::placeholder {
	color: rgba(255,255,255,.65);
}

.ds-galerij-pagina .ds-wachtwoord button {
	width: auto;
	padding: 13px 26px;
	border: 0;
	border-radius: 11px;
	background: var(--ds-groen);
	color: #fff;
	font-size: 12px;
	letter-spacing: .18em;
	text-transform: uppercase;
	cursor: pointer;
}

.ds-wachtwoord button:hover {
	background: var(--ds-groen-donker);
}

/* ---------- Balk ---------- */

.ds-balk {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 24px;
	background: rgba(255,255,255,.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid #edf1ef;
}

.ds-balk-links {
	display: flex;
	align-items: baseline;
	gap: 14px;
	min-width: 0;
}

.ds-balk-titel {
	font-size: 12px;
	letter-spacing: .2em;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ds-balk-aantal {
	font-size: 12px;
	color: var(--ds-grijs);
	white-space: nowrap;
}

/* ---------- Downloadmenu ---------- */

.ds-menu {
	position: relative;
	flex: none;
}

.ds-menu-lijst {
	position: absolute;
	right: 0;
	top: calc(100% + 10px);
	min-width: 260px;
	padding: 8px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 14px 40px rgba(13,31,24,.16);
	border: 1px solid #edf1ef;
}

.ds-menu-lijst a {
	display: block;
	padding: 12px 14px;
	border-radius: 11px;
	color: var(--ds-inkt);
	text-decoration: none;
	font-size: 14px;
}

.ds-menu-lijst a:hover {
	background: var(--ds-groen-tint);
}

.ds-menu-lijst span {
	display: block;
	margin-top: 3px;
	font-size: 12px;
	color: var(--ds-grijs);
}

/* ---------- Raster ---------- */

.ds-raster {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 24px;
	align-content: flex-start;
}

.ds-tegel {
	display: block;
	overflow: hidden;
	border-radius: 4px;
	background: #f2f5f4;
	flex: none;
}

.ds-tegel img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .35s ease, opacity .2s ease;
}

.ds-tegel:hover img {
	transform: scale(1.03);
	opacity: .94;
}

/* ---------- Voet ---------- */

.ds-voet {
	padding: 50px 24px 70px;
	text-align: center;
	border-top: 1px solid #edf1ef;
	color: var(--ds-grijs);
	font-size: 12px;
	letter-spacing: .1em;
}

.ds-voet p {
	margin: 6px 0;
}

.ds-voet a {
	color: var(--ds-groen-donker);
	text-decoration: none;
	letter-spacing: .2em;
	text-transform: uppercase;
}

.ds-voet-let-op {
	margin-top: 18px !important;
	color: #a4726b;
}

/* ---------- Downloadknoppen in de lightbox ---------- */

.ds-pswp-downloads {
	position: absolute;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 10;
}

.ds-pswp-knop {
	padding: 10px 20px;
	border-radius: 11px;
	background: var(--ds-groen);
	color: #fff;
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}

.ds-pswp-knop:hover {
	background: var(--ds-groen-donker);
}

.ds-pswp-knop-tweede {
	background: rgba(255,255,255,.16);
	backdrop-filter: blur(4px);
}

.ds-pswp-knop-tweede:hover {
	background: rgba(255,255,255,.26);
}

@media (max-width: 600px) {
	.ds-raster {
		padding: 12px;
		gap: 12px;
	}

	.ds-balk {
		padding: 12px 16px;
	}

	.ds-balk-aantal {
		display: none;
	}

	.ds-menu-lijst {
		min-width: 220px;
	}
}
