/*
 * Compatibiliteit Widgetkit 2 (UIkit 2) → Widgetkit 3 (UIkit 3) voor nancystore.be.
 * template.css (gecompileerde LESS van e2etpl) blijft ongewijzigd; dit blad zet de regels van template.css die op
 * UIkit 2-klassen steunden over naar de Widgetkit 3-markup, plus de waarden van het UIkit 2-thema dat Widgetkit 2
 * meebracht (media/widgetkit/wk-styles-*.css). Waarden gemeten op live met scripts/browser/styles.mjs (F5, 02-12-2026).
 *
 * Klassen WK2 → WK3: uk-overlay → uk-inline-clip, uk-panel-teaser → .uk-panel > .uk-margin, uk-panel-title → .uk-panel > h3.uk-h3,
 * uk-panel-space → uk-padding, uk-width-medium-1-2 → uk-width-1-2@m, uk-grid-width-* → uk-child-width-*, uk-slideset → uk-slider-items.
 */

/* ---------- Kaders rond de foto's (template: #top/#top-left/#top-right .uk-overlay) ---------- */
#top-left .uk-inline-clip,
#top-right .uk-inline-clip,
#top .uk-inline-clip {
	position: relative;
	background: white;
	box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15);
	line-height: 0;
}
#top-left .uk-inline-clip:after,
#top-right .uk-inline-clip:after,
#top .uk-inline-clip:after {
	content: "";
	display: block;
	width: calc(100% - 20px);
	height: calc(100% - 10px);
	position: absolute;
	bottom: 10px;
	left: 10px;
	right: 0;
	background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 74%, rgba(0, 0, 0, 0.45) 100%);
}
.uk-inline-clip > :first-child {
	margin-bottom: 0;
	width: 100%;
}
#innerbottom .uk-inline-clip img {
	max-height: 55px;
	width: 100%;
	margin: 0 auto;
}
/* UIkit 3 zet img op box-sizing: border-box, UIkit 2 niet: de witte rand van 10 px (template: #top img …) ging
   anders van de foto af (foto's 20 px smaller). */
#top img,
#top-left img,
#top-right img {
	box-sizing: content-box;
}
/* Masonry-grids: WK2 had .uk-panel > div.uk-panel-teaser (blok) > figure.uk-overlay (inline-block op de basislijn,
   dus 7 px ruimte eronder); WK3 zet de uk-inline-clip (inline-block, vertical-align: middle) rechtstreeks in het paneel.
   Basislijn geeft dezelfde hoogte; met de templateregel #innerbottom .uk-panel-teaser { text-align: center } staan de logo's gecentreerd. */
.uk-scope [uk-grid*="masonry"] .uk-panel > .uk-inline-clip {
	vertical-align: baseline;
}
#innerbottom .uk-scope [uk-grid*="masonry"] .uk-panel {
	text-align: center;
}

/* ---------- Titels in de panelen (UIkit 2-thema .uk-panel-title) ---------- */
.uk-scope .uk-panel > h3.uk-h3 {
	margin: 0 0 20px;
	font-family: hwt-artz, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 18px;
	line-height: 24px;
	font-weight: 300;
	color: #444;
	text-transform: none;
}
.uk-scope .uk-panel > .uk-margin.uk-margin-remove-top {
	margin-bottom: 20px;
}
/* live: uk-margin-bottom-remove op de titels van de collectiefoto's (home, top-left/top-right) */
#top-left .uk-panel > h3.uk-h3,
#top-right .uk-panel > h3.uk-h3 {
	margin-bottom: 0;
}
/* grote titel over de foto (template: #top .inner .uk-panel h3.uk-panel-title) */
#top .inner .uk-panel {
	position: relative;
}
#top .inner .uk-panel > h3.uk-h3 {
	position: absolute;
	font-family: 'Dosis', sans-serif;
	bottom: 70px;
	left: 35px;
	margin: 0 0 20px;
	font-size: 60px;
	font-weight: 400;
	color: #ffffff;
	text-shadow: 0px 2px 1.9px rgba(73, 84, 90, 0.4);
	line-height: 120%;
}
#top .inner li:nth-child(2) .uk-panel > h3.uk-h3 {
	left: inherit;
	right: 35px;
}

/* ---------- "In de kijker" (template: .indekijker …) ---------- */
.indekijker .uk-width-1-2\@m img {
	max-height: initial !important;
	width: 100%;
	margin: 0 auto;
	max-width: 350px !important;
	vertical-align: baseline; /* zoals live: 5 px onder de afbeelding (UIkit 3: middle) */
}
.indekijker .uk-panel.uk-padding {
	padding: 0 30px 30px;
}
.indekijker .uk-flex-middle {
	-ms-flex-align: start;
	-webkit-align-items: start;
	align-items: start;
}
.indekijker .uk-padding .uk-h2 {
	margin: 12px 0;
	font-size: 40px;
	line-height: 44px;
	font-family: 'Dosis', sans-serif;
	font-weight: 400;
	color: #49545a;
}
.indekijker .uk-padding .uk-margin {
	font-size: 20px;
	line-height: 160%;
}
/* UIkit 2-tussenruimte van het raster: 25 px, vanaf 1220 px 35 px (UIkit 3: 30 / 40 px); rij-afstand gestapeld 25 px */
.indekijker .uk-grid { margin-left: -25px; }
.indekijker .uk-grid > * { padding-left: 25px; }
.indekijker .uk-grid > .uk-grid-margin { margin-top: 25px; }
@media (min-width: 1220px) {
	.indekijker .uk-grid { margin-left: -35px; }
	.indekijker .uk-grid > * { padding-left: 35px; }
}

/* ---------- Slidesets (home: uk-slideset → uk-slider-items) ---------- */
/* UIkit 2-tussenruimte: standaard 25 px (≥ 1220 px: 35 px); uk-grid-large 25 / 35 (≥ 768 px) / 50 (≥ 1220 px). Geen rij-afstand. */
.uk-scope .uk-slider-items.uk-grid { margin-left: -25px; }
.uk-scope .uk-slider-items.uk-grid > * { padding-left: 25px; }
.uk-scope .uk-slider-items.uk-grid > .uk-grid-margin { margin-top: 0; }
@media (min-width: 768px) {
	.uk-scope .uk-slider-items.uk-grid-large { margin-left: -35px; }
	.uk-scope .uk-slider-items.uk-grid-large > * { padding-left: 35px; }
}
@media (min-width: 1220px) {
	.uk-scope .uk-slider-items.uk-grid { margin-left: -35px; }
	.uk-scope .uk-slider-items.uk-grid > * { padding-left: 35px; }
	.uk-scope .uk-slider-items.uk-grid-large { margin-left: -50px; }
	.uk-scope .uk-slider-items.uk-grid-large > * { padding-left: 50px; }
}
/* template: @media (max-width: 860px) .homepagina .uk-grid-width-1-2 > * { width: 100% } — de twee grote foto's onder elkaar */
@media (max-width: 860px) {
	.homepagina .uk-slider-items.uk-child-width-1-2 {
		flex-wrap: wrap;
		transform: none !important;
	}
	.homepagina .uk-child-width-1-2 > * {
		width: 100%;
	}
}

/* ---------- Masonry-grids (collectiepagina's, logo's: data-uk-grid → uk-grid="masonry") ---------- */
/* Tussenruimte Widgetkit 2: gutter 20 (horizontaal en verticaal); WK3 uk-grid-small = 15 px. */
.uk-scope [uk-grid*="masonry"].uk-grid-small { margin-left: -20px; }
.uk-scope [uk-grid*="masonry"].uk-grid-small > * { padding-left: 20px; }
.uk-scope [uk-grid*="masonry"].uk-grid-small > .uk-grid-margin { margin-top: 20px; }
/* Breekpunten: UIkit 2 small/medium/large/xlarge = 480/768/960/1220 px; UIkit 3 @s/@m/@l/@xl = 640/960/1200/1600 px.
   Zelfde kolomaantallen als WK2 door elke @-klasse op het UIkit 2-breekpunt te laten gelden (hogere specificiteit, oplopende volgorde). */
@media (min-width: 480px) {
	.uk-scope [uk-grid*="masonry"].uk-child-width-1-2\@s > * { width: 50%; }
	.uk-scope [uk-grid*="masonry"].uk-child-width-1-3\@s > * { width: 33.333%; }
	.uk-scope [uk-grid*="masonry"].uk-child-width-1-4\@s > * { width: 25%; }
	.uk-scope [uk-grid*="masonry"].uk-child-width-1-5\@s > * { width: 20%; }
	.uk-scope [uk-grid*="masonry"].uk-child-width-1-6\@s > * { width: 16.666%; }
}
@media (min-width: 768px) {
	.uk-scope [uk-grid*="masonry"].uk-child-width-1-2\@m > * { width: 50%; }
	.uk-scope [uk-grid*="masonry"].uk-child-width-1-3\@m > * { width: 33.333%; }
	.uk-scope [uk-grid*="masonry"].uk-child-width-1-4\@m > * { width: 25%; }
	.uk-scope [uk-grid*="masonry"].uk-child-width-1-5\@m > * { width: 20%; }
	.uk-scope [uk-grid*="masonry"].uk-child-width-1-6\@m > * { width: 16.666%; }
}
@media (min-width: 960px) {
	.uk-scope [uk-grid*="masonry"].uk-child-width-1-2\@l > * { width: 50%; }
	.uk-scope [uk-grid*="masonry"].uk-child-width-1-3\@l > * { width: 33.333%; }
	.uk-scope [uk-grid*="masonry"].uk-child-width-1-4\@l > * { width: 25%; }
	.uk-scope [uk-grid*="masonry"].uk-child-width-1-5\@l > * { width: 20%; }
	.uk-scope [uk-grid*="masonry"].uk-child-width-1-6\@l > * { width: 16.666%; }
}
@media (min-width: 1220px) {
	.uk-scope [uk-grid*="masonry"].uk-child-width-1-2\@xl > * { width: 50%; }
	.uk-scope [uk-grid*="masonry"].uk-child-width-1-3\@xl > * { width: 33.333%; }
	.uk-scope [uk-grid*="masonry"].uk-child-width-1-4\@xl > * { width: 25%; }
	.uk-scope [uk-grid*="masonry"].uk-child-width-1-5\@xl > * { width: 20%; }
	.uk-scope [uk-grid*="masonry"].uk-child-width-1-6\@xl > * { width: 16.666%; }
}
