/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.1
*/

/* ---------------------------------------------------------------------------
   Nieuwenhuijs & Peetoom rebrand
--------------------------------------------------------------------------- */

/* Zaanse huisjes-strook helemaal onderaan de pagina (zie reclamebord) */
.np-huisjes-strip {
	background: transparent;
	padding: 40px 20px 0;
	line-height: 0;
	overflow: hidden;
}

.np-huisjes-strip img {
	display: block;
	width: 100%;
	max-width: 1400px;
	height: auto;
	margin: 0 auto;
}

@media only screen and (max-width: 690px) {
	.np-huisjes-strip {
		padding-top: 24px;
	}
}

/* Onze specialismen: lijst als twee-koloms checklist i.p.v. "saaie" opsomming */
.np-specialismen ul {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 40px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.np-specialismen ul li {
	position: relative;
	padding-left: 34px;
	margin: 0 !important;
	line-height: 1.55;
	list-style: none !important;
}

.np-specialismen ul li::marker {
	content: "";
}

.np-specialismen ul li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #466976;
	color: #ffffff;
	font-size: 12px;
	line-height: 22px;
	text-align: center;
}

@media only screen and (max-width: 690px) {
	.np-specialismen ul {
		grid-template-columns: 1fr;
	}
}

/* Ons verhaal: extra blokken onder de intro */
.np-verhaal-blok h4 {
	margin-bottom: 18px;
}

.np-verhaal-blok p {
	padding-bottom: 14px;
}

/* Fotoreportage (#story): per kop de foto naar voren, meer foto's erachter.
   Klikken bladert door de stapel (js/np-fotoreportage.js). */
.np-fotoreportage {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 46px 36px;
	padding: 12px 10px;
}

.np-fr-cat {
	margin: 0;
	text-align: center;
}

.np-fr-stack {
	position: relative;
	aspect-ratio: 4 / 3;
	cursor: pointer;
}

.np-fr-stack img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	border-radius: 4px;
	box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
	transition: transform 0.35s ease;
	backface-visibility: hidden;
}

/* fallback zonder JS: eerste foto voor, rest er schuin achter */
.np-fr-stack img:nth-child(1) { z-index: 3; }
.np-fr-stack img:nth-child(2) { z-index: 2; transform: rotate(-4deg) translate(-4%, 2%); }
.np-fr-stack img:nth-child(3) { z-index: 1; transform: rotate(3deg) translate(4%, 3%); }

/* met JS krijgen de foto's positieklassen; deze winnen van de fallback hierboven */
.np-fr-stack img.np-pos-0 { z-index: 3; transform: none; }
.np-fr-stack img.np-pos-1 { z-index: 2; transform: rotate(-4deg) translate(-4%, 2%); }
.np-fr-stack img.np-pos-2 { z-index: 1; transform: rotate(3deg) translate(4%, 3%); }

.np-fr-cat figcaption {
	margin-top: 20px;
	font-weight: 600;
	font-size: 18px;
	line-height: 1.3;
}

@media only screen and (max-width: 690px) {
	.np-fotoreportage {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}






