/*
 * 112 Nieuws Pro – de website in de stijl van de 112 Nieuws-app (v3), bovenop Jannah.
 * Alles hangt aan body.n112-pro, zodat niets buiten dit thema geraakt wordt.
 * Advertentievakken (.stream-item en alles daarbinnen) worden bewust nergens gestyled.
 * Kleuren en keuzes komen uit de Customizer (zie inc/customizer.php) als CSS-variabelen.
 */

@font-face {
	font-family: "Archivo 112";
	src: url("fonts/archivo-latin.woff2") format("woff2");
	font-weight: 400 900;
	font-stretch: 62% 125%;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Kleuren uit de app (Theme.swift): merkblauw #31579C, donkerblauw #00256A, iOS-grijs als achtergrond. */
body.n112-pro {
	--p-blue: var(--p-accent, #31579c);
	--p-deep: #00256a;
	--p-pill: linear-gradient(135deg, var(--p-blue), var(--p-deep));
	--p-red: #cc1721;
	--p-page: #f2f2f7;
	--p-card: #ffffff;
	--p-fill: rgba(118, 118, 128, .12);
	--p-ink: #000000;
	--p-ink-2: #3c3c43;
	--p-muted: #6e6e73;
	--p-sep: rgba(60, 60, 67, .16);
	--p-radius: var(--p-radius-set, 20px);
	--p-radius-s: 12px;
	--p-shadow: 0 4px 14px rgba(0, 0, 0, .06);
	--p-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--p-head: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	/* Hoogte van de header; het script direct na de header zet de echte waarde. Dit is alvast een goede gok,
	   zodat er ook vóór het script geen grijze streep onder de header staat. */
	--p-hdr: 220px;
	/* Hulpdiensten */
	--p-politie: #2b6be6;
	--p-brandweer: #e0262f;
	--p-ambulance: #f2b600;
	--p-heli: #ff7a00;
	color: var(--p-ink);
	font-family: var(--p-text);
	-webkit-font-smoothing: antialiased;
	/* Blauw onder de header dat overloopt in grijs, zoals bovenaan in de app. --p-hdr wordt gezet in functions.php. */
	background: linear-gradient(180deg, var(--p-blue) 0, var(--p-blue) var(--p-hdr), var(--p-page) calc(var(--p-hdr) + 240px)) no-repeat, var(--p-page);
}
@media (max-width: 991px) { body.n112-pro { --p-hdr: 86px; } }
body.n112-pro.p-font-archivo { --p-head: "Archivo 112", "Helvetica Neue", Arial, sans-serif; }

body.n112-pro .background-overlay,
body.n112-pro #tie-container,
body.n112-pro #tie-wrapper { background: transparent; }

body.n112-pro,
body.n112-pro input,
body.n112-pro textarea,
body.n112-pro select,
body.n112-pro button { font-family: var(--p-text); }

body.n112-pro .post-title,
body.n112-pro .thumb-title,
body.n112-pro .page-title,
body.n112-pro .mag-box-title h3,
body.n112-pro .widget-title .the-subtitle,
body.n112-pro .entry-content h2,
body.n112-pro .entry-content h3,
body.n112-pro .entry-content h4 {
	font-family: var(--p-head);
	letter-spacing: -0.012em;
}
body.n112-pro.p-font-archivo :is(.post-title, .thumb-title, .page-title) { font-stretch: 97%; }
/* Zoals de huidige site (Jannah): dezelfde letter, koppen op 600 en zonder krappere letterafstand. Rustiger en
   zakelijker dan de zware app-koppen. !important omdat de losse kopregels hieronder specifieker zijn. */
body.n112-pro.p-font-jannah {
	--p-text: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", "Open Sans", Arial, sans-serif;
	--p-head: var(--p-text);
}
body.n112-pro.p-font-jannah :is(.post-title, .thumb-title, .page-title, .mag-box-title h3, .widget-title .the-subtitle, .entry-content h2, .entry-content h3, .entry-content h4) {
	font-weight: 600 !important;
	letter-spacing: normal !important;
}
/* Titel van een artikel zoals op de huidige site: groot en vet (41 px, 700). Op mobiel blijft de maat van hieronder. */
body.n112-pro.p-font-jannah.single .entry-header .post-title { font-weight: 700 !important; }
@media (min-width: 768px) {
	body.n112-pro.p-font-jannah.single .entry-header .post-title { font-size: 41px; line-height: 1.2; }
}
/* Artikeltekst zoals op de huidige site: ruime regelafstand, antraciet en 25 px tussen de alinea's (grootte via --p-body-size). */
body.n112-pro.p-font-jannah.single .entry-content { line-height: 1.7; }
html:not(.dark-skin) body.n112-pro.p-font-jannah.single .entry-content { color: #2c2f34; }
body.n112-pro.p-font-jannah.single .entry-content p { margin-bottom: 1.67em; }

/* ---------------------------------------------------------------- header */

body.n112-pro #theme-header {
	background: linear-gradient(180deg, var(--p-deep) 0%, var(--p-blue) 100%);
	border: 0;
	box-shadow: none;
}
body.n112-pro #theme-header .logo-row,
body.n112-pro #theme-header .logo-container,
body.n112-pro #theme-header .header-container { background: transparent; }

/* Wit logo, zoals in de app. */
body.n112-pro #logo .tie-logo-default { display: none; }
body.n112-pro #logo .tie-logo-inverted { display: block; }

/* Bovenste balk: datum, laatste nieuws, weer. */
body.n112-pro #top-nav,
body.n112-pro #top-nav .topbar-wrapper {
	background: transparent;
	border: 0;
	color: rgba(255, 255, 255, .78);
}
body.n112-pro #top-nav .topbar-today-date { color: rgba(255, 255, 255, .78); font-weight: 500; }
body.n112-pro #top-nav .topbar-today-date:before { display: none; }
body.n112-pro #top-nav a,
body.n112-pro #top-nav .components > li > a,
body.n112-pro #top-nav .breaking-news a,
body.n112-pro #top-nav .tie-weather-widget,
body.n112-pro #top-nav .weather-current-temp { color: #fff; }
body.n112-pro #top-nav .breaking-title {
	background: #fff;
	color: var(--p-deep);
	border-radius: 999px;
	padding: 0 12px;
	font-weight: 700;
	overflow: hidden;
}
body.n112-pro #top-nav .breaking-title:before { background: #fff; border-radius: 999px; }
body.n112-pro #top-nav .breaking-title .breaking-title-text { color: var(--p-deep); }
body.n112-pro #top-nav .ticker-content,
body.n112-pro #top-nav .ticker-swipe,
body.n112-pro #top-nav .ticker-wrapper,
body.n112-pro #top-nav .breaking-news { background: transparent; color: #fff; }
/* Geen Laatste nieuws-ticker bovenin: rustiger, zoals de app. */
body.n112-pro #top-nav .breaking { display: none !important; }
/* Geen typ-effect met wit balkje: de kop staat er gewoon. */
body.n112-pro #top-nav .ticker-swipe { display: none !important; }
/* Social-icoontjes en weer: wit op het blauw (Jannah zet ze donkergrijs). */
body.n112-pro #top-nav .components > li.social-icons-item .social-link span,
body.n112-pro #top-nav .tie-weather-widget [class^="icon-"] { color: #fff !important; }
body.n112-pro #top-nav .components > li.social-icons-item .social-link:hover span { color: rgba(255, 255, 255, .7) !important; }

/* Hoofdmenu: glas-pillen op het blauw, actieve pagina als witte pil (zoals "Alles" in de app). */
body.n112-pro #main-nav,
body.n112-pro #main-nav .main-menu-wrapper,
body.n112-pro .main-nav-wrapper {
	background: transparent;
	border: 0;
	box-shadow: none;
}
body.n112-pro #main-nav .main-menu > ul > li > a {
	position: relative;
	isolation: isolate;
	color: #fff;
	background: transparent;
	font-weight: 600;
	font-size: 15px;
	padding: 0 15px;
}
body.n112-pro #main-nav .main-menu > ul > li > a:before {
	content: "";
	display: block;
	position: absolute;
	left: 3px;
	right: 3px;
	top: 50%;
	bottom: auto;
	width: auto;
	height: 36px;
	margin: -18px 0 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	transform: none;
	z-index: -1;
	transition: background-color .15s ease;
}
body.n112-pro #main-nav .main-menu > ul > li:hover > a:before,
body.n112-pro #main-nav .main-menu > ul > li > a:focus-visible:before { background: rgba(255, 255, 255, .16); }
body.n112-pro #main-nav .main-menu > ul > li.tie-current-menu > a { color: var(--p-deep); }
body.n112-pro #main-nav .main-menu > ul > li.tie-current-menu > a:before { background: #fff; }
body.n112-pro #main-nav .main-menu > ul > li > a:after { display: none; }
/* Pijltje bij een uitklapmenu (Landelijk e.d.); Jannahs eigen streepjes hierboven blijven uit. */
body.n112-pro #main-nav .main-menu > ul > li:is(.menu-item-has-children, .mega-menu) > a { padding-right: 30px; }
body.n112-pro #main-nav .main-menu > ul > li:is(.menu-item-has-children, .mega-menu) > a:after {
	content: "";
	display: block;
	position: absolute;
	right: 14px;
	top: 50%;
	left: auto;
	bottom: auto;
	width: 6px;
	height: 6px;
	margin-top: -5px;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	background: none;
	transform: rotate(45deg);
	opacity: .85;
	transition: transform .15s ease;
}
body.n112-pro #main-nav .main-menu > ul > li:is(.menu-item-has-children, .mega-menu):hover > a:after { transform: translateY(2px) rotate(45deg); }
@media (prefers-reduced-motion: reduce) { body.n112-pro #main-nav .main-menu > ul > li > a:after { transition: none; } }
body.n112-pro #main-nav .main-menu > ul > li > a .tie-menu-icon { margin-right: 4px; }

/* Rechts in het menu: ronde glasknoppen en de zoekbalk als glascapsule. */
body.n112-pro #main-nav .components > li > a { color: #fff; }
body.n112-pro #main-nav .components > li.custom-menu-button .button {
	background: rgba(255, 255, 255, .16);
	color: #fff;
	border-radius: 999px;
	font-weight: 600;
	box-shadow: none;
}
body.n112-pro #main-nav .components > li.custom-menu-button .button:hover { background: #fff; color: var(--p-deep); }
body.n112-pro #main-nav .components #search {
	background: rgba(255, 255, 255, .16);
	border-radius: 999px;
	border: 0;
}
body.n112-pro #main-nav .components #search-input { color: #fff; background: transparent; }
body.n112-pro #main-nav .components #search-input::placeholder { color: rgba(255, 255, 255, .75); }
body.n112-pro #main-nav .components #search-submit { color: #fff; background: transparent; }

/* Uitklapmenu's: afgerond paneel, als een kaart uit de app. */
body.n112-pro #main-nav .menu-sub-content,
body.n112-pro #main-nav .mega-menu-block {
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 18px 40px rgba(0, 20, 60, .22);
}
/* Mega-menu (bijv. Landelijk): wit zoals de kaarten, lichte provincielabels, de gekozen blauw. Donkere modus blijft donker. */
html:not(.dark-skin) body.n112-pro #main-nav .mega-menu-block { background: var(--p-card); }
html:not(.dark-skin) body.n112-pro #main-nav .mega-menu-block .mega-cat-sub-categories a { background: var(--p-fill); color: var(--p-ink-2); }
html:not(.dark-skin) body.n112-pro #main-nav .mega-menu-block .mega-cat-sub-categories a:hover { background: rgba(49, 87, 156, .12); color: var(--p-blue); }
body.n112-pro #main-nav .mega-menu-block .mega-cat-sub-categories a.is-active { background: var(--p-blue); color: #fff; }
html:not(.dark-skin) body.n112-pro #main-nav .mega-menu-block .mega-menu-link { color: var(--p-ink); }
html:not(.dark-skin) body.n112-pro #main-nav .mega-menu-block .mega-menu-link:hover { color: var(--p-blue); }
body.n112-pro #main-nav .mega-menu-block .post-box-title { text-wrap: pretty; }
body.n112-pro #main-nav .mega-menu-block :is(.post-meta, .date) { font-weight: 400; }
html:not(.dark-skin) body.n112-pro #main-nav .mega-menu-block :is(.post-meta, .date) { color: var(--p-muted); }
html.dark-skin body.n112-pro #main-nav .mega-menu-block :is(.post-meta, .date) { color: rgba(255, 255, 255, .6); }
body.n112-pro #main-nav .mega-menu-block .post-thumb img { border-radius: 12px; }

/* Zoeksuggesties onder de zoekbalk: zelfde paneel als het mega-menu (wit, afgerond); donkere modus blijft donker. */
body.n112-pro #autocomplete-suggestions {
	border: 0;
	border-radius: 16px;
	overflow: hidden;
	margin-top: 10px;
	padding: 16px;
	box-shadow: 0 18px 40px rgba(0, 20, 60, .22);
}
body.n112-pro #autocomplete-suggestions .post-title { font-family: var(--p-head); text-wrap: pretty; }
body.n112-pro #autocomplete-suggestions .post-thumb img { border-radius: 12px; }
body.n112-pro #autocomplete-suggestions .button { border-radius: 999px; background: var(--p-blue); color: #fff; }
body.n112-pro #autocomplete-suggestions .button:hover { background: var(--p-deep); }
html:not(.dark-skin) body.n112-pro #autocomplete-suggestions { background: var(--p-card); color: var(--p-ink); }
html:not(.dark-skin) body.n112-pro #autocomplete-suggestions .post-title a { color: var(--p-ink); }
html:not(.dark-skin) body.n112-pro #autocomplete-suggestions .post-title a:hover,
html:not(.dark-skin) body.n112-pro #autocomplete-suggestions .autocomplete-selected .post-title a { color: var(--p-blue); }
html:not(.dark-skin) body.n112-pro #autocomplete-suggestions :is(.post-meta, .date) { color: var(--p-muted); }
html:not(.dark-skin) body.n112-pro #autocomplete-suggestions .autocomplete-no-suggestion { color: var(--p-ink-2); }
html.dark-skin body.n112-pro #autocomplete-suggestions { background: var(--p-card); }

/* Mobiel: menu- en icoonknoppen wit op het blauw. Vaste header (bij scrollen) krijgt glas. */
body.n112-pro .mobile-header-components .components > li > a,
body.n112-pro #mobile-menu-icon,
body.n112-pro .mobile-header-components .tie-icon-moon,
body.n112-pro .mobile-header-components .tie-icon-author { color: #fff; }
body.n112-pro #mobile-menu-icon .nav-icon,
body.n112-pro #mobile-menu-icon .nav-icon:before,
body.n112-pro #mobile-menu-icon .nav-icon:after { background-color: #fff; }

/* ---------------------------------------------------------------- kaarten */

body.n112-pro .container-wrapper,
body.n112-pro.wrapper-has-shadow .container-wrapper {
	background: var(--p-card);
	border: 0;
	border-radius: var(--p-radius);
	box-shadow: var(--p-shadow);
}

/* Widgets in de zijbalk: minder witte rand, zoals de kaarten in de app. Advertentiewidgets blijven zoals ze zijn. */
body.n112-pro .sidebar .container-wrapper.widget:not(.stream-item-widget) { padding: 18px; }
body.n112-pro .sidebar .container-wrapper.widget.widget_media_image { padding: 14px; }
body.n112-pro .sidebar .widget_media_image .widget-title { margin: 2px 4px 10px; }
/* App-widget: geen titel, de foto vult de hele kaart (de alt-tekst zegt al wat het is). */
body.n112-pro .sidebar .container-wrapper.widget.widget_media_image:has(a[href*="/app"]) { padding: 0; overflow: hidden; }
body.n112-pro .sidebar .widget_media_image:has(a[href*="/app"]) .widget-title { display: none; }
body.n112-pro .sidebar .widget_media_image:has(a[href*="/app"]) a { display: block; }
body.n112-pro .sidebar .widget_media_image:has(a[href*="/app"]) img { width: 100%; border-radius: 0; }
/* Niet groter dan het bestand zelf, anders wordt de foto wazig. */
body.n112-pro .sidebar .widget_media_image img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	border-radius: var(--p-radius-s);
}

/* Lijst met berichten: elk bericht een eigen kaart, zoals in de app. */
body.n112-pro .wide-post-box > .container-wrapper {
	background: transparent;
	box-shadow: none;
	padding: 0;
}
body.n112-pro .wide-post-box .posts-items > li.post-item {
	background: var(--p-card);
	border: 0;
	border-radius: var(--p-radius);
	box-shadow: var(--p-shadow);
	padding: 14px;
	margin: 0 0 14px;
}
body.n112-pro .wide-post-box .posts-items > li.post-item .post-details { padding-top: 2px; }
body.n112-pro .show-more-button,
body.n112-pro .pages-nav .show-more-button {
	display: block;
	width: max-content;
	min-width: 200px;
	margin: 6px auto 0;
	padding: 0 22px;
	line-height: 44px;
	height: 44px;
	border: 0;
	border-radius: 999px;
	background: var(--p-card);
	color: var(--p-blue);
	font-weight: 600;
	font-size: 15px;
	text-align: center;
	box-shadow: var(--p-shadow);
}
body.n112-pro .show-more-button:hover { background: var(--p-blue); color: #fff; }
body.n112-pro .container-wrapper:has(> .show-more-button) { border-top: 0; }

body.n112-pro .post-thumb,
body.n112-pro .post-thumb img {
	border-radius: var(--p-radius-s);
	overflow: hidden;
}

body.n112-pro .post-item .post-title,
body.n112-pro .posts-items .post-title {
	font-weight: 600;
	line-height: 1.25;
	text-wrap: pretty;
}
body.n112-pro .post-item .post-title a { color: var(--p-ink); }
body.n112-pro .post-item .post-title a:hover { color: var(--p-blue); }
body.n112-pro .post-excerpt,
body.n112-pro .post-item .post-excerpt { color: var(--p-muted); font-size: 14.5px; line-height: 1.5; }

body.n112-pro .post-meta,
body.n112-pro .post-meta a { color: var(--p-muted); }
body.n112-pro .post-meta .date { font-variant-numeric: tabular-nums; font-weight: 500; }
body.n112-pro .post-meta .date:before,
body.n112-pro .thumb-meta .date:before { display: none; }

/* Regio als blauwe pil, net als in de app. */
body.n112-pro .post-cat {
	background: var(--p-pill);
	color: #fff;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	line-height: 22px;
	padding: 0 10px;
	letter-spacing: .07em;
	text-transform: uppercase;
	box-shadow: none;
}
body.n112-pro .post-cat:hover { color: #fff; filter: brightness(1.12); }
body.n112-pro .post-thumb .post-cat-wrap { left: 10px; right: auto; bottom: 10px; top: auto; }

/* Hulpdienst: een gekleurd stipje voor het tijdstip, alleen bij berichten met een hulpdienst-tag. */
body.n112-pro.p-diensten .post-item:is(.tag-politie, .tag-ambulance, .tag-traumahelikopter, .tag-brandweer, .tag-brand) .post-meta .date:after {
	content: "";
	display: inline-block;
	order: -1;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	margin: 0 0 1px 7px;
	vertical-align: middle;
}
body.n112-pro.p-diensten .post-item.tag-politie .post-meta .date:after { background: var(--p-politie); }
body.n112-pro.p-diensten .post-item.tag-ambulance .post-meta .date:after { background: var(--p-ambulance); }
body.n112-pro.p-diensten .post-item.tag-traumahelikopter .post-meta .date:after { background: var(--p-heli); }
body.n112-pro.p-diensten .post-item.tag-brandweer .post-meta .date:after,
body.n112-pro.p-diensten .post-item.tag-brand .post-meta .date:after { background: var(--p-brandweer); }

/* ---------------------------------------------------------------- koppen van blokken */

body.n112-pro .mag-box-title,
body.n112-pro .widget-title {
	border: 0;
	margin-bottom: 14px;
	padding: 0;
	background: transparent;
}
body.n112-pro .mag-box-title:before,
body.n112-pro .mag-box-title:after,
body.n112-pro .widget-title:before,
body.n112-pro .widget-title:after { display: none; }
body.n112-pro .mag-box-title h3,
body.n112-pro .widget-title .the-subtitle {
	color: var(--p-ink);
	background: transparent;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.15;
	padding: 0;
	border: 0;
}
body.n112-pro .widget-title .the-subtitle { font-size: 19px; font-weight: 700; }
body.n112-pro .widget-title .widget-title-icon { display: none; }
/* Geen losse kop boven de grote foto's (zoals in de app); de kop zou ook half op blauw, half op grijs staan. */
body.n112-pro .slider-area > .mag-box-title { display: none; }

/* ---------------------------------------------------------------- grote foto's bovenaan */

body.n112-pro .slider-area .grid-item,
body.n112-pro .slider-area .slide {
	border-radius: var(--p-radius);
	overflow: hidden;
}
body.n112-pro .slider-area .main-slider,
body.n112-pro .slider-area .main-slider-inner,
body.n112-pro .slider-area .slider-area-inner { background: transparent; }
body.n112-pro .slider-area .thumb-overlay {
	background: linear-gradient(to top, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .35) 42%, rgba(0, 0, 0, 0) 70%);
}
body.n112-pro .slider-area .thumb-title {
	font-weight: 700;
	line-height: 1.15;
	text-wrap: balance;
}
body.n112-pro .slider-area .tie-slide-1 .thumb-title { font-size: 32px; font-weight: 800; }
body.n112-pro .slider-area .thumb-meta .date {
	color: rgba(255, 255, 255, .85);
	font-weight: 600;
	font-size: 13px;
}
body.n112-pro .slider-area .thumb-desc { opacity: .9; }

/* Categoriepagina: raster van foto-kaarten. */
body.n112-pro .miscellaneous-box > .container-wrapper {
	background: transparent;
	box-shadow: none;
	padding: 0;
}
body.n112-pro .miscellaneous-box .posts-items > li.post-item .post-thumb,
body.n112-pro .miscellaneous-box .posts-items > li.post-item .post-thumb img { border-radius: var(--p-radius); }
body.n112-pro .miscellaneous-box.first-post-gradient li:first-child .post-overlay { border-radius: 0 0 var(--p-radius) var(--p-radius); }
body.n112-pro .miscellaneous-box.first-post-gradient li:first-child .post-title { font-weight: 800; }

/* Kop van de categoriepagina. */
body.n112-pro .archive-title-wrapper { padding: 24px 26px; }
body.n112-pro .archive-title-wrapper .page-title {
	font-size: 30px;
	font-weight: 800;
	line-height: 1.12;
	color: var(--p-ink);
}
/* Alleen een titel (Vermist, Landelijk, Gelderland, …): smalle, halfdoorzichtige balk met een kleinere kop. */
body.n112-pro .archive-title-wrapper:has(> .page-title:only-child) {
	background: rgba(255, 255, 255, .72);
	-webkit-backdrop-filter: blur(14px) saturate(1.4);
	backdrop-filter: blur(14px) saturate(1.4);
	box-shadow: none;
	border: 1px solid rgba(255, 255, 255, .6);
	padding: 12px 20px;
}
body.n112-pro .archive-title-wrapper:has(> .page-title:only-child) .page-title {
	font-size: 21px;
	font-weight: 700;
	line-height: 1.25;
}
html.dark-skin body.n112-pro .archive-title-wrapper:has(> .page-title:only-child) { background: rgba(28, 28, 30, .72); border-color: rgba(255, 255, 255, .08); }
body.n112-pro .n112-place__lead { color: var(--p-ink-2); font-size: 16px; line-height: 1.5; }
body.n112-pro .n112-place__facts { color: var(--p-muted); font-size: 14px; }
body.n112-pro .n112-place__near a {
	display: inline-block;
	background: var(--p-fill);
	color: var(--p-ink);
	border: 0;
	border-radius: 999px;
	padding: 4px 12px;
	margin: 0 4px 6px 0;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}
body.n112-pro .n112-place__near a:hover { background: var(--p-blue); color: #fff; }

/* ---------------------------------------------------------------- artikel */

body.n112-pro.single #the-post { padding: 0 0 8px; overflow: hidden; }
body.n112-pro.single .featured-area { margin: 0 0 6px; }
body.n112-pro.single .single-featured-image,
body.n112-pro.single .single-featured-image img { border-radius: 0; width: 100%; }
body.n112-pro.single .entry-header-outer { padding: 22px 30px 0; }
/* Als blok, niet inline: anders telt de grote regelhoogte van de kop mee als extra wit boven het label. */
body.n112-pro.single .entry-header .post-cat-wrap { margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px; line-height: 1; }
body.n112-pro.single .entry-header .post-title {
	font-size: 36px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
	text-wrap: pretty; /* niet balance: die brak 'kop-staartbotsing' af terwijl het paste */
	margin: 6px 0 16px;
	color: var(--p-ink);
}
body.n112-pro.single .entry-header .post-meta {
	color: var(--p-muted);
	font-size: 14px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--p-sep);
}
body.n112-pro.single .entry-header .post-meta .author-name { color: var(--p-ink); font-weight: 600; }
/* Het icoontje van Jannah wordt het ronde 112-logo; functions.php zet het plaatje (site-icoon) en toont het
   (inline-block, zodat de naam op dezelfde lijn blijft als de datum). Zonder site-icoon blijft het verborgen. */
body.n112-pro.single .entry-header .post-meta .author-name:before {
	display: none;
	content: "";
	width: 20px;
	height: 20px;
	margin: 0 7px 0 0;
	vertical-align: -5px;
	border-radius: 50%;
	background: center / cover no-repeat;
	box-shadow: 0 0 0 1px var(--p-sep);
	font-size: 0;
}
body.n112-pro.single .entry-header .post-meta .date:before { display: none; }
body.n112-pro.single .entry-content { padding: 22px 30px 8px; }
body.n112-pro.single .entry-content {
	font-size: var(--p-body-size, 18.5px);
	line-height: 1.6;
	color: var(--p-ink);
}
body.n112-pro.single .entry-content p { font-size: inherit; line-height: inherit; margin-bottom: 1.05em; }
body.n112-pro.single .entry-content h2 {
	font-size: 23px;
	font-weight: 700;
	line-height: 1.2;
	margin: 1.5em 0 .45em;
}
body.n112-pro.single .entry-content h3 { font-size: 20px; font-weight: 700; margin: 1.3em 0 .4em; }
body.n112-pro.single .entry-content a { color: var(--p-blue); text-decoration: none; font-weight: 500; }
body.n112-pro.single .entry-content a:hover { text-decoration: underline; text-underline-offset: 3px; }
body.n112-pro.single .entry-content blockquote {
	background: var(--p-fill);
	border: 0;
	border-radius: 16px;
	padding: 16px 20px;
	font-size: 1em;
	font-style: normal;
	color: var(--p-ink);
}
body.n112-pro.single .entry-content blockquote:before { display: none; }
body.n112-pro .entry-content figure img,
body.n112-pro .entry-content .wp-block-image img { border-radius: 14px; }
@media (min-width: 992px) {
	body.n112-pro.single .entry-content > *:not(figure):not(.wp-block-image):not(.stream-item):not(iframe):not(.wp-block-embed) {
		max-width: 680px;
	}
}
body.n112-pro .wp-caption-text,
body.n112-pro figcaption { color: var(--p-muted); font-size: 13px; }

/* Tags onder het artikel als grijze pillen. */
body.n112-pro .post-bottom-meta .tagcloud a,
body.n112-pro .tagcloud a {
	background: var(--p-fill);
	color: var(--p-ink);
	border: 0;
	border-radius: 999px;
	padding: 5px 12px;
	font-size: 13px;
	font-weight: 500;
}
body.n112-pro .tagcloud a:hover { background: var(--p-blue); color: #fff; }

/* Knoppen: capsules in het merkblauw. */
body.n112-pro .button,
body.n112-pro [type="submit"],
body.n112-pro .pages-numbers a,
body.n112-pro .pages-nav .pages-numbers li.current span,
body.n112-pro .share-links a {
	border-radius: 999px;
}
body.n112-pro .container-wrapper .button,
body.n112-pro .container-wrapper [type="submit"] {
	background: var(--p-blue);
	color: #fff;
	border: 0;
	font-weight: 600;
}

/* ---------------------------------------------------------------- footer */

body.n112-pro #footer { background: linear-gradient(180deg, var(--p-blue) 0%, var(--p-deep) 100%); margin-top: 30px; }
body.n112-pro #footer .container-wrapper { background: transparent; box-shadow: none; }
body.n112-pro #site-info { background: #001a4d; }

/* ---------------------------------------------------------------- mobiel */

@media (max-width: 991px) {
	body.n112-pro #theme-header .logo-container.fixed-nav,
	body.n112-pro #theme-header .fixed-nav {
		background: rgba(0, 37, 106, .86);
		-webkit-backdrop-filter: saturate(180%) blur(20px);
		backdrop-filter: saturate(180%) blur(20px);
	}
}

@media (max-width: 767px) {
	body.n112-pro { --p-radius-s: 10px; }
	body.n112-pro .slider-area .thumb-title,
	body.n112-pro .slider-area .tie-slide-1 .thumb-title { font-size: 22px; }
	body.n112-pro .mag-box-title h3 { font-size: 22px; }
	body.n112-pro .post-item .post-title { font-size: 17px; }
	/* Lijst zoals in de app: kleine foto links, kop rechts. */
	body.n112-pro .wide-post-box .posts-items > li.post-item {
		display: flex;
		flex-direction: row;
		align-items: flex-start;
		gap: 12px;
		padding: 12px;
		margin-bottom: 12px;
	}
	body.n112-pro .wide-post-box .posts-items > li.post-item .post-thumb {
		flex: 0 0 40%;
		width: 40%;
		max-width: 160px;
		margin: 0;
		float: none;
		aspect-ratio: 4 / 3;
	}
	body.n112-pro .wide-post-box .posts-items > li.post-item .post-thumb img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	body.n112-pro .wide-post-box .posts-items > li.post-item .post-details {
		flex: 1 1 auto;
		min-width: 0;
		padding: 0;
		margin: 0;
	}
	body.n112-pro .wide-post-box .posts-items > li.post-item .post-excerpt { display: none; }
	body.n112-pro .wide-post-box .post-thumb .post-cat-wrap { left: 6px; bottom: 6px; }
	body.n112-pro .wide-post-box .post-thumb .post-cat { font-size: 9px; line-height: 18px; padding: 0 7px; letter-spacing: .05em; }
	body.n112-pro .wide-post-box .post-item .post-title { font-size: 16px; line-height: 1.28; }
	body.n112-pro .archive-title-wrapper { padding: 20px; }
	body.n112-pro .archive-title-wrapper .page-title { font-size: 26px; }
	body.n112-pro .archive-title-wrapper:has(> .page-title:only-child) { padding: 10px 16px; }
	body.n112-pro .archive-title-wrapper:has(> .page-title:only-child) .page-title { font-size: 19px; }
	body.n112-pro.single .entry-header-outer { padding: 18px 18px 0; }
	body.n112-pro.single .entry-content { padding: 18px 18px 6px; font-size: var(--p-body-size-mobile, 18px); }
	body.n112-pro.single .entry-header .post-title { font-size: 29px; }
}

/* ---------------------------------------------------------------- donker (zoals de app) */

html.dark-skin body.n112-pro,
body.n112-pro.dark-skin {
	--p-blue: #4a8cf7;
	--p-pill: linear-gradient(135deg, #2f6fe0, #00256a);
	--p-page: #000000;
	--p-card: #1c1c1e;
	--p-fill: rgba(118, 118, 128, .24);
	--p-ink: #ffffff;
	--p-ink-2: #d1d1d6;
	--p-muted: #98989f;
	--p-sep: rgba(84, 84, 88, .6);
	--p-shadow: none;
}
html.dark-skin body.n112-pro #theme-header,
body.n112-pro.dark-skin #theme-header { background: linear-gradient(180deg, #00256a 0%, #0a2a63 100%); }
html.dark-skin body.n112-pro,
body.n112-pro.dark-skin {
	background: linear-gradient(180deg, #0a2a63 0, #0a2a63 var(--p-hdr), #000 calc(var(--p-hdr) + 240px)) no-repeat, #000;
}
html.dark-skin body.n112-pro #main-nav .main-menu > ul > li.tie-current-menu > a { color: #00256a; }
html.dark-skin body.n112-pro #footer { background: linear-gradient(180deg, #0a2a63 0%, #000 100%); }
html.dark-skin body.n112-pro #site-info { background: #000; }

/* ---------------------------------------------------------------- leesvoortgang (artikel) */

body.n112-pro .p-progress {
	position: fixed;
	left: 0;
	top: 0;
	height: 3px;
	width: 100%;
	transform-origin: 0 50%;
	transform: scaleX(0);
	background: #4a8cf7;
	z-index: 100000;
	pointer-events: none;
}
body.admin-bar.n112-pro .p-progress { top: 32px; }
@media (max-width: 782px) { body.admin-bar.n112-pro .p-progress { top: 46px; } }

@media (prefers-reduced-motion: reduce) {
	body.n112-pro #main-nav .main-menu > ul > li > a:before { transition: none; }
}

/* ---------------------------------------------------------------- mobiel menu (zijpaneel) */

/* Zelfde blauw als de header, in plaats van Jannah-grijs. Advertenties in het paneel blijven zoals ze zijn. */
body.n112-pro .side-aside.dark-skin,
body.n112-pro .side-aside {
	background: linear-gradient(180deg, var(--p-deep) 0%, var(--p-blue) 100%);
}
body.n112-pro .side-aside #mobile-menu li,
body.n112-pro .side-aside #mobile-menu li a { border-color: rgba(255, 255, 255, .14); color: #fff; }
body.n112-pro .side-aside #mobile-search .search-field {
	background: rgba(255, 255, 255, .16) !important;
	border: 0;
	border-radius: 999px;
	color: #fff;
}
body.n112-pro .side-aside #mobile-search .search-field::placeholder { color: rgba(255, 255, 255, .75); }

/* ---------------------------------------------------------------- LIVE-label en fotocredit */

/* Het label zelf komt uit inc/onderdelen.php (alleen op berichten met de tag "live"); hier de puls. */
@keyframes p-live {
	0%   { box-shadow: 0 0 0 0 rgba(74, 140, 247, .55); }
	70%  { box-shadow: 0 0 0 7px rgba(74, 140, 247, 0); }
	100% { box-shadow: 0 0 0 0 rgba(74, 140, 247, 0); }
}

/* Fotocredit: één glazen pil rechtsonder op de hoofdfoto. Het bijschrift van de foto (Jannah) of, zonder bijschrift,
   de "Foto: …"-alinea uit de tekst (onderdelen.php zet die hierheen). */
body.n112-pro.single #the-post .single-featured-image { position: relative; }
body.n112-pro.single #the-post .single-featured-image :is(.single-caption-text, .p-credit) {
	position: absolute;
	inset: auto 12px 12px auto;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: calc(100% - 24px);
	margin: 0;
	padding: 5px 11px 5px 9px;
	border-radius: 999px;
	background: rgba(10, 18, 32, .46);
	-webkit-backdrop-filter: blur(10px) saturate(1.4);
	backdrop-filter: blur(10px) saturate(1.4);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .01em;
	text-align: left;
	text-shadow: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	pointer-events: none;
}
body.n112-pro.single #the-post .single-featured-image .single-caption-text:before { content: none; }
body.n112-pro.single #the-post .single-featured-image :is(.single-caption-text, .p-credit) .tie-icon-camera { flex: none; font-size: 12px; opacity: .85; }
@media (max-width: 767px) {
	body.n112-pro.single #the-post .single-featured-image :is(.single-caption-text, .p-credit) {
		inset: auto 10px 10px auto;
		max-width: calc(100% - 20px);
		padding: 4px 10px 4px 8px;
		font-size: 11px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.n112-pro .thumb-title::before,
	body.n112-pro .post-title::before { animation: none !important; }
}

/* LIVE-label op kaarten die het script herkent aan hun link (zelfde opmaak als in inc/onderdelen.php). */
body.n112-pro .p-is-live::before {
	content: "LIVE";
	display: inline-block;
	vertical-align: .2em;
	margin-right: 8px;
	padding: 3px 8px 3px 19px;
	border-radius: 999px;
	background: var(--p-blue) radial-gradient(circle at 10px 50%, #fff 0 3px, transparent 3.5px) no-repeat;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .06em;
	line-height: 1.25;
	text-shadow: none;
	animation: p-live 1.8s ease-out infinite;
}
@media (prefers-reduced-motion: reduce) {
	body.n112-pro .p-is-live::before { animation: none; }
}

/* ---------------------------------------------------------------- fotoviewer (eigen, assets/lightbox.js) */
/* Donkerblauw zoals de app, foto met ronde hoeken en ruimte eromheen, ronde glazen knoppen. Geen hash in de URL. */

html.p-lb-open, html.p-lb-open body { overflow: hidden; }
body.n112-pro .p-lb-thumb { cursor: zoom-in; }
body.n112-pro .p-lb-thumb:focus-visible { outline: 3px solid #4a8cf7; outline-offset: 3px; }

.p-lb {
	position: fixed;
	inset: 0;
	z-index: 2147483000; /* boven de chatknop en andere zwevende knoppen van de site */
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	background: radial-gradient(120% 85% at 50% 0%, #0f2a5c 0%, #070c18 58%, #03060c 100%);
	color: #fff;
	opacity: 0;
	transition: opacity .2s ease;
	-webkit-tap-highlight-color: transparent;
}
.p-lb[hidden] { display: none; }
.p-lb.is-open { opacity: 1; }
.p-lb__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 0 24px; min-height: 62px; }
.p-lb__count { font: 600 13px/1 -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: .02em; color: rgba(255, 255, 255, .8); }
.p-lb__stage { display: flex; align-items: center; justify-content: center; min-height: 0; padding: 12px 96px; }
.p-lb__img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 14px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06);
	opacity: 0;
	transition: opacity .2s ease;
	user-select: none;
	-webkit-user-drag: none;
}
.p-lb__img.is-in { opacity: 1; }

.p-lb__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset;
	color: #fff;
	cursor: pointer;
	transition: background .15s;
}
.p-lb__btn:hover { background: rgba(255, 255, 255, .2); }
.p-lb__btn:focus-visible { outline: 3px solid #4a8cf7; outline-offset: 2px; }
.p-lb__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.p-lb__nav { position: absolute; top: 50%; margin-top: -23px; }
.p-lb__prev { left: 24px; }
.p-lb__next { right: 24px; }
.p-lb--single .p-lb__nav { display: none; }

.p-lb__bottom { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 24px 22px; min-height: 46px; }
.p-lb__cap { max-width: 720px; margin: 0; font-size: 13px; line-height: 1.4; text-align: center; color: rgba(255, 255, 255, .75); }
.p-lb__cap[hidden] { display: none; }
.p-lb__dots { display: flex; gap: 6px; }
.p-lb__dots i { width: 7px; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, .4); transition: width .2s, background .2s; }
.p-lb__dots i.is-on { width: 20px; background: #4a8cf7; }

@media (max-width: 760px) {
	.p-lb__top { padding: 10px 10px 0 18px; min-height: 56px; }
	.p-lb__stage { padding: 8px 0; }
	.p-lb__img { border-radius: 0; box-shadow: none; }
	/* Telefoon: vegen in plaats van pijlen. */
	.p-lb__nav { display: none; }
	.p-lb__btn { width: 44px; height: 44px; }
	.p-lb__bottom { padding-bottom: max(18px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
	.p-lb, .p-lb__img, .p-lb__btn, .p-lb__dots i { transition: none; }
}

/* ---------------------------------------------------------------- laptop (992–1199 px): menu op één regel */
/* Menu + Advertentievrij + iconen + zoekbalk pasten net niet; de zoekbalk viel naar een tweede regel. */
@media (min-width: 992px) and (max-width: 1199px) {
	body.n112-pro #main-nav .main-menu > ul > li > a { padding-left: 10px; padding-right: 10px; }
	body.n112-pro #main-nav .components #search { width: 170px; }
}

/* ---------------------------------------------------------------- kleine tegels bovenaan */
/* Lange koppen liepen in de kleine tegels boven de foto uit of rechts uit beeld: kleiner, afbreken en max. 3–4 regels. */
body.n112-pro .slider-area .grid-item:not(.tie-slide-1) .thumb-title {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	-webkit-hyphens: auto;
	hyphens: auto;
}
@media (max-width: 1199px) {
	body.n112-pro .slider-area .grid-item:not(.tie-slide-1) .thumb-title { font-size: 17px; -webkit-line-clamp: 3; }
	body.n112-pro .slider-area .tie-slide-1 .thumb-title { font-size: 26px; }
}
@media (min-width: 768px) and (max-width: 991px) {
	body.n112-pro .slider-area .grid-item:not(.tie-slide-1) .thumb-title { font-size: 15px; }
	body.n112-pro .slider-area .grid-item:not(.tie-slide-1) .thumb-meta { display: none; }
	body.n112-pro .slider-area .tie-slide-1 .thumb-title { font-size: 22px; }
}

/* ---------------------------------------------------------------- 404 */
body.n112-pro .container-404 {
	max-width: 560px;
	margin: 24px auto 56px;
	padding: 40px 32px 34px;
	border-radius: var(--p-radius, 20px);
	background: var(--p-card, #fff);
	box-shadow: var(--p-shadow);
	text-align: center;
}
body.n112-pro .container-404 h2 { margin: 0 0 6px; font-family: var(--p-head); font-size: 72px; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--p-blue, #31579c); }
body.n112-pro .container-404 h3 { margin: 0 0 8px; font-size: 22px; font-weight: 700; color: var(--p-ink); }
body.n112-pro .container-404 h4 { margin: 0 0 22px; font-size: 15px; font-weight: 400; color: var(--p-muted); }
body.n112-pro .container-404 .search-form { display: flex; gap: 8px; max-width: 420px; margin: 0 auto; }
body.n112-pro .container-404 .search-form label { flex: 1; margin: 0; }
body.n112-pro .container-404 .search-field { width: 100%; height: 44px; padding: 0 16px; border: 1px solid var(--p-sep); border-radius: 999px; background: var(--p-fill, #f2f2f7); }
body.n112-pro .container-404 .search-submit { height: 44px; padding: 0 20px; border-radius: 999px; }
@media (max-width: 767px) {
	body.n112-pro .container-404 { margin: 12px 0 32px; padding: 32px 20px 26px; }
	body.n112-pro .container-404 h2 { font-size: 56px; }
	body.n112-pro .container-404 h3 { font-size: 19px; }
}
