/*-------------------------------------------------------
Theme Name: Eye webdesign Divi child
Theme URI: https://www.eyewebdesign.be
Description: A child theme template for Divi
Author: Eye webdesign
Author URI: https://www.eyewebdesign.be
Template: Divi
Version: 1.0.0
----------------- ADDITIONAL CSS HERE ------------------*/

/* header & menu */
/* contrast and font module */
#contrast-module, #font-module {
	font-size: 18px;
	float: left;
	padding-left: 30px;
}

#contrast-module {
	padding-left: 26px;
}

#font-module .increasebtn {
	cursor: pointer;
	padding: 0px 2px;
}

#font-module .increasebtn:hover {
	color: #6a2d91!important;
}

/* body */
/* dark contrast */
/*body.dark-contrast #page-container .et_pb_section {
	background-color: black!important;
}*/

html.dark-contrast {
	filter: invert(100%);
}

html.dark-contrast img, html.dark-contrast .et_parallax_bg, html.dark-contrast .no-contrast {
    filter: invert(100%);
}

/* contrast switcher */
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 17px;
	top: 6px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #bcbdc0;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #af0061;
}

input:focus + .slider {
  box-shadow: 0 0 1px #af0061;
}

input:checked + .slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 17px;
}

.slider.round:before {
  border-radius: 50%;
}

.eye-locations .location a { margin: 0 0 40px 0; max-width: 220px; display: block}
.eye-locations .location a:hover { opacity:0.85 }
.eye-locations .location .location-item span:not(.xtra_info) { display: block; margin-top: 12px; background: #CCC; text-align: center; padding: 3px 8px; color: white; font-weight: bold; font-size:20px; }
.eye-locations .location .location-item.newvision-center span:not(.xtra_info) { background: #009BDB }
.eye-locations .location .location-item.newvision-clinic span:not(.xtra_info) { background: #AF0061 }
.eye-locations .location .location-item span.xtra_info { display: block; background: transparent; color:#003e6a;text-align: center;margin-top: 3px;font-weight: bold;}

@media screen and (max-width: 980px){
  .eye-locations .location a { margin: 0 auto; max-width: 90%; display: block}
}

@media screen and (max-width: 767px){
  #nv_header { background-position: center right; padding: 60px 0 10px; }
  #nv_header:before { background: rgba(10,9,9,0.29); content: ' '; position:absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; }
  /*#nv_header h1 br { display: none; }*/
  /*#nv_header h1 { max-width:60%; }*/
  /*#nv_header h1, #nv_header p { text-shadow: 2px 2px 2px rgba(0,0,0,0.6); }*/
}

.behandelingen_overview { border-top: 1px solid #CCC;}
.behandelingen_overview .et_pb_row { width: 100%; border-bottom: 1px solid #CCC; padding-bottom:10px; padding-top:20px; }
.behandeling_item { display: flex; }
.behandeling_item_links { align-content: end; justify-content: end; }
.behandelingen_overview .behandeling_item { padding-bottom: 0px !important; margin-bottom: 0px !important; text-align: center; }
.behandelingen_overview .btn-readmore { background: none; border: 2px solid #003E6A; color: #003E6A; font-weight: 600; border-radius: 10px; margin-bottom: 10px; min-width: 210px; padding: 8px 0; }
.behandelingen_overview .btn-afspraak { background: none; border: 2px solid #003E6A; background: #003E6A; color: #FFF; font-weight: 600; border-radius: 10px; margin-bottom: 10px; min-width: 210px;  padding: 8px 0; margin-left: 10px; }
.behandelingen_overview .btn-readmore i, .behandelingen_overview .btn-afspraak i { margin-left: 10px;
  font-size: 13px; }
.behandelingen_overview h3.behandeling_naam { padding-top: 15px;margin-bottom: 12px; }
.behandelingen_overview .et_pb_column_1:nth-child(3n+4) h3 { color: red !important; }

.behandelingen_overview .btn-readmore:hover { border-color: #6A2482 !important; color: #6A2482 !important; }
.behandelingen_overview .btn-afspraak:hover { border-color: #6A2482 !important; background: #6A2482 !important; }

/* Kleur 2 */
/*.behandelingen_overview > div:nth-child(1) > div:nth-child(2) h2,
.behandelingen_overview > div:nth-child(3n+4) > div:nth-child(2) h2 { color: #009BDB; }
.behandelingen_overview > div:nth-child(1) > div:nth-child(2) .btn-readmore,
.behandelingen_overview > div:nth-child(3n+4) > div:nth-child(2) .btn-readmore { border: 2px solid #009BDB; color: #009BDB; }
.behandelingen_overview > div:nth-child(1) > div:nth-child(2) .btn-afspraak,
.behandelingen_overview > div:nth-child(3n+4) > div:nth-child(2) .btn-afspraak { border: 2px solid #009BDB; background: #009BDB; }
.behandelingen_overview > div:nth-child(2) > div:nth-child(1) h2, 
.behandelingen_overview > div:nth-child(5) > div:nth-child(1) h2, 
.behandelingen_overview > div:nth-child(8) > div:nth-child(1) h2, 
.behandelingen_overview > div:nth-child(11) > div:nth-child(1) h2, 
.behandelingen_overview > div:nth-child(14) > div:nth-child(1) h2, 
.behandelingen_overview > div:nth-child(17) > div:nth-child(1) h2,
.behandelingen_overview > div:nth-child(3n+3) > div:nth-child(3) h2 { color: #009BDB; }
.behandelingen_overview > div:nth-child(2) > div:nth-child(1) .btn-readmore,
.behandelingen_overview > div:nth-child(5) > div:nth-child(1) .btn-readmore,
.behandelingen_overview > div:nth-child(8) > div:nth-child(1) .btn-readmore,
.behandelingen_overview > div:nth-child(11) > div:nth-child(1) .btn-readmore,
.behandelingen_overview > div:nth-child(14) > div:nth-child(1) .btn-readmore,
.behandelingen_overview > div:nth-child(17) > div:nth-child(1) .btn-readmore,
.behandelingen_overview > div:nth-child(3n+3) > div:nth-child(3) .btn-readmore { border: 2px solid #009BDB; color: #009BDB; }
.behandelingen_overview > div:nth-child(2) > div:nth-child(1) .btn-afspraak,
.behandelingen_overview > div:nth-child(5) > div:nth-child(1) .btn-afspraak,
.behandelingen_overview > div:nth-child(8) > div:nth-child(1) .btn-afspraak,
.behandelingen_overview > div:nth-child(11) > div:nth-child(1) .btn-afspraak,
.behandelingen_overview > div:nth-child(14) > div:nth-child(1) .btn-afspraak,
.behandelingen_overview > div:nth-child(17) > div:nth-child(1) .btn-afspraak,
.behandelingen_overview > div:nth-child(3n+3) > div:nth-child(3) .btn-afspraak { border: 2px solid #009BDB; background: #009BDB; }
*/

/* Kleur 3 */
/*.behandelingen_overview > div:nth-child(1) > div:nth-child(3) h2,
.behandelingen_overview > div:nth-child(3n+4) > div:nth-child(3) h2 { color: #AF0061; }
.behandelingen_overview > div:nth-child(1) > div:nth-child(3) .btn-readmore,
.behandelingen_overview > div:nth-child(3n+4) > div:nth-child(3) .btn-readmore { border: 2px solid #AF0061; color: #AF0061; }
.behandelingen_overview > div:nth-child(1) > div:nth-child(3) .btn-afspraak,
.behandelingen_overview > div:nth-child(3n+4) > div:nth-child(3) .btn-afspraak { border: 2px solid #AF0061; background: #AF0061; }

.behandelingen_overview > div:nth-child(2) > div:nth-child(2) h2, 
.behandelingen_overview > div:nth-child(5) > div:nth-child(2) h2, 
.behandelingen_overview > div:nth-child(8) > div:nth-child(2) h2, 
.behandelingen_overview > div:nth-child(11) > div:nth-child(2) h2, 
.behandelingen_overview > div:nth-child(14) > div:nth-child(2) h2, 
.behandelingen_overview > div:nth-child(17) > div:nth-child(2) h2,
.behandelingen_overview > div:nth-child(3n) > div:nth-child(1) h2 { color: #AF0061; }
.behandelingen_overview > div:nth-child(2) > div:nth-child(2) .btn-readmore,
.behandelingen_overview > div:nth-child(5) > div:nth-child(2) .btn-readmore,
.behandelingen_overview > div:nth-child(8) > div:nth-child(2) .btn-readmore,
.behandelingen_overview > div:nth-child(11) > div:nth-child(2) .btn-readmore,
.behandelingen_overview > div:nth-child(14) > div:nth-child(2) .btn-readmore,
.behandelingen_overview > div:nth-child(17) > div:nth-child(2) .btn-readmore,
.behandelingen_overview > div:nth-child(3n) > div:nth-child(1) .btn-readmore { border: 2px solid #AF0061; color: #AF0061; }
.behandelingen_overview > div:nth-child(2) > div:nth-child(2) .btn-afspraak,
.behandelingen_overview > div:nth-child(5) > div:nth-child(2) .btn-afspraak,
.behandelingen_overview > div:nth-child(8) > div:nth-child(2) .btn-afspraak,
.behandelingen_overview > div:nth-child(11) > div:nth-child(2) .btn-afspraak,
.behandelingen_overview > div:nth-child(14) > div:nth-child(2) .btn-afspraak,
.behandelingen_overview > div:nth-child(17) > div:nth-child(2) .btn-afspraak,
.behandelingen_overview > div:nth-child(3n) > div:nth-child(1) .btn-afspraak { border: 2px solid #AF0061; background: #AF0061; }

.behandelingen_overview > div:nth-child(1) > div:nth-child(1) h2 { color: #003E6A; }
.behandelingen_overview > div:nth-child(1) > div:nth-child(1) .btn-readmore { border: 2px solid #003E6A; color: #003E6A; }
.behandelingen_overview > div:nth-child(1) > div:nth-child(1) .btn-afspraak { border: 2px solid #003E6A; background: #003E6A; }
*/


/* =========================================================
   BLOG DETAIL - NEW VISION
   ========================================================= */

.nv-blog-single {
	background: #fff;
}

.nv-article-container {
	width: min(820px, calc(100% - 40px));
	margin: 0 auto;
}

.nv-article-wide-container {
	width: min(1120px, calc(100% - 40px));
	margin: 0 auto;
}

.nv-article-header {
	padding: 80px 0 50px;
}

.nv-article-eyebrow {
	margin-bottom: 18px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #009BDB;
}

.nv-article-eyebrow a {
	color: #009BDB;
	text-decoration: none;
}

.nv-article-title {
	margin: 0;
	font-size: clamp(38px, 5vw, 62px);
	line-height: 1.05;
	letter-spacing: -.035em;
	color: #003E6A;
}

.nv-article-intro {
	margin-top: 25px;
	font-size: 21px;
	line-height: 1.6;
	color: #334b5e;
}

.nv-article-intro p {
	margin-bottom: 0;
}

.nv-article-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 25px;
	font-size: 14px;
	color: #6d7d88;
}

.nv-article-featured {
	margin-bottom: 65px;
}

.nv-article-featured-image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 8;
	object-fit: cover;
	border-radius: 14px;
}

.nv-article-layout {
	display: grid;
	grid-template-columns: 220px minmax(0, 820px);
	gap: 60px;
	width: min(1100px, calc(100% - 40px));
	margin: 0 auto;
	align-items: start;
}

.nv-article {
	min-width: 0;
}

.nv-article-toc {
	position: sticky;
	top: 120px;
}

.nv-toc-inner {
	border-left: 2px solid #009BDB;
	padding-left: 22px;
}

.nv-toc-inner > strong {
	display: block;
	margin-bottom: 15px;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: #003E6A;
}

#nv-article-toc-list {
	display: flex;
	flex-direction: column;
	gap: 11px;
}

#nv-article-toc-list a {
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
	color: #486477;
	opacity: .8;
	transition: color .2s ease, opacity .2s ease;
}

#nv-article-toc-list a:hover {
	color: #AF0061;
	opacity: 1;
}

.nv-article-content {
	font-size: 18px;
	line-height: 1.75;
	color: #243744;
}

.nv-article-content > p:first-child {
	font-size: 20px;
	line-height: 1.7;
}

.nv-article-content p {
	margin: 0 0 24px;
}

.nv-article-content h2 {
	margin: 65px 0 22px;
	font-size: clamp(28px, 3vw, 36px);
	line-height: 1.2;
	letter-spacing: -.02em;
	color: #003E6A;
	scroll-margin-top: 120px;
}

.nv-article-content h3 {
	margin: 40px 0 16px;
	font-size: 23px;
	line-height: 1.3;
	color: #003E6A;
	scroll-margin-top: 120px;
}

.nv-article-content ul,
.nv-article-content ol {
	margin: 20px 0 30px;
	padding-left: 24px;
}

.nv-article-content li {
	margin-bottom: 9px;
}

.nv-article-content strong {
	font-weight: 700;
}

.nv-article-content a {
	color: #AF0061;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.nv-article-content a:hover {
	color: #6A2482;
}

.nv-article-content .wp-block-table {
	margin: 38px 0 50px;
	overflow-x: auto;
	border-radius: 12px;
	border: 1px solid #e5e8eb;
}

.nv-article-content table {
	width: 100%;
	min-width: 680px;
	margin: 38px 0 50px;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.5;
	border: 1px solid #e5e8eb;
}

.nv-article-content .wp-block-table table {
	margin: 0;
	border: 0;
}

.nv-article-content th {
	padding: 16px 18px;
	text-align: left;
	font-weight: 700;
	background: #003E6A;
	color: #fff;
	border: 0;
}

.nv-article-content td {
	padding: 17px 18px;
	vertical-align: top;
	border: 0;
	border-bottom: 1px solid #e9ecef;
}

.nv-article-content tr:nth-child(even) td {
	background: #f8fafb;
}

.nv-article-content tr:last-child td {
	border-bottom: 0;
}

.nv-article-cta {
	margin-top: 80px;
	padding: 48px;
	border-radius: 16px;
	background: #f1f8fb;
	border-top: 4px solid #009BDB;
}

.nv-cta-eyebrow {
	display: block;
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #009BDB;
}

.nv-article-cta h2 {
	margin: 0 0 15px;
	font-size: 32px;
	line-height: 1.2;
	color: #003E6A;
}

.nv-article-cta p {
	margin-bottom: 25px;
	font-size: 17px;
	line-height: 1.65;
}

.nv-article-cta-button {
	display: inline-flex;
	align-items: center;
	padding: 13px 24px;
	border-radius: 10px;
	background: #AF0061;
	border: 2px solid #AF0061;
	color: #fff !important;
	text-decoration: none;
	font-weight: 700;
	transition: all .2s ease;
}

.nv-article-cta-button:hover {
	background: #6A2482;
	border-color: #6A2482;
	color: #fff !important;
}

.nv-article-cta small {
	display: block;
	margin-top: 16px;
	font-size: 12px;
	line-height: 1.5;
	color: #6d7d88;
}

.nv-related-posts {
	margin: 90px 0 30px;
}

.nv-related-heading {
	margin-bottom: 30px;
}

.nv-related-heading > span {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #009BDB;
}

.nv-related-heading h2 {
	margin: 0;
	font-size: 32px;
	color: #003E6A;
}

.nv-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.nv-related-card {
	border: 1px solid #e7e9eb;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	transition: transform .2s ease, box-shadow .2s ease;
}

.nv-related-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(0, 62, 106, .10);
}

.nv-related-card-link {
	display: block;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.nv-related-image img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.nv-related-content {
	padding: 22px;
}

.nv-related-date {
	display: block;
	margin-bottom: 8px;
	font-size: 12px;
	color: #6d7d88;
}

.nv-related-content h3 {
	margin: 0 0 16px;
	font-size: 19px;
	line-height: 1.3;
	color: #003E6A;
}

.nv-related-more {
	font-size: 14px;
	font-weight: 700;
	color: #AF0061;
}

@media (max-width: 1100px) {
	.nv-article-layout {
		display: block;
		width: min(820px, calc(100% - 40px));
	}

	.nv-article-toc {
		position: static;
		margin-bottom: 45px;
	}

	.nv-toc-inner {
		padding: 25px;
		border: 0;
		border-radius: 12px;
		background: #f7f8f9;
	}
}

@media (max-width: 767px) {
	.nv-article-container,
	.nv-article-wide-container,
	.nv-article-layout {
		width: min(100% - 30px, 820px);
	}

	.nv-article-header {
		padding: 50px 0 35px;
	}

	.nv-article-title {
		font-size: 36px;
	}

	.nv-article-intro {
		font-size: 18px;
	}

	.nv-article-featured {
		margin-bottom: 45px;
	}

	.nv-article-featured-image {
		border-radius: 8px;
	}

	.nv-article-content {
		font-size: 17px;
	}

	.nv-article-content > p:first-child {
		font-size: 18px;
	}

	.nv-article-content h2 {
		margin-top: 48px;
		font-size: 28px;
	}

	.nv-article-content h3 {
		font-size: 21px;
	}

	.nv-article-content table {
		display: block;
		overflow-x: auto;
		white-space: normal;
	}

	.nv-article-cta {
		margin-top: 60px;
		padding: 30px 25px;
	}

	.nv-related-grid {
		grid-template-columns: 1fr;
	}
}


/* =========================================================
   BLOG DETAIL - FIXES / OPTIMALISATIES
   ========================================================= */

/* Divi voegt padding-bottom toe aan paragrafen en lijsten.
   Die resetten we zodat de tussenruimte volledig door onze margins wordt bepaald. */
.single-post .nv-article-content p {
	padding-bottom: 0 !important;
	margin: 0 0 14px !important;
}

.single-post .nv-article-content ul,
.single-post .nv-article-content ol {
	padding-top: 0 !important;
	padding-right: 0 !important;
	padding-bottom: 0 !important;
	padding-left: 24px !important;
	margin: 4px 0 14px !important;
}

.single-post .nv-article-content p + ul,
.single-post .nv-article-content p + ol {
	margin-top: -2px !important;
}

.single-post .nv-article-content ul + p,
.single-post .nv-article-content ol + p {
	margin-top: 0 !important;
}

.single-post .nv-article-content li {
	padding-bottom: 0 !important;
	margin-bottom: 5px !important;
}

.single-post .nv-article-content li:last-child {
	margin-bottom: 0 !important;
}

/* Sticky inhoudsopgave.
   Divi/ouders mogen geen overflow-clipping toepassen. */
.single-post #page-container,
.single-post #main-content,
.single-post .nv-blog-single,
.single-post .nv-article-layout,
.single-post .nv-article {
	overflow: visible !important;
}

.single-post .nv-article-layout {
	align-items: start !important;
}

.single-post .nv-article-toc {
	position: -webkit-sticky !important;
	position: sticky !important;
	top: 110px !important;
	align-self: start !important;
	height: auto !important;
	max-height: calc(100vh - 130px);
	overflow-y: auto;
	z-index: 5;
}

/* Op tablet/mobiel geen sticky sidebar maar een normaal blok. */
@media (max-width: 980px) {
	.single-post .nv-article-toc {
		position: static !important;
		top: auto !important;
		max-height: none;
		overflow: visible;
	}
}


/* =========================================================
   BLOG OVERZICHT - NEW VISION
   Rustige editorial stijl, geïnspireerd op HuGoCo
   ========================================================= */

.nv-blog-overview {
	background: #fff;
}

.nv-blog-overview-container {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}

/* Intro */
.nv-blog-overview-header {
	padding: 72px 0 44px;
	border-bottom: 1px solid #edf1f3;
}

.nv-blog-overview-header-inner {
	max-width: 760px;
}

.nv-blog-overview-eyebrow {
	display: block;
	margin-bottom: 10px;
	color: #009BDB;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.nv-blog-overview-title {
	margin: 0;
	color: #003E6A;
	font-size: clamp(42px, 5vw, 64px);
	line-height: 1.04;
	letter-spacing: -.035em;
}

.nv-blog-overview-intro {
	max-width: 700px;
	margin-top: 20px;
	color: #465e6d;
	font-size: 18px;
	line-height: 1.7;
}

.nv-blog-overview-intro p:last-child {
	margin-bottom: 0;
}

/* Filters */
.nv-blog-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 28px;
}

.nv-blog-category-link {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 7px 15px;
	border: 1px solid #dce4e9;
	border-radius: 7px;
	background: #fff;
	color: #003E6A;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: .2s ease;
}

.nv-blog-category-link:hover,
.nv-blog-category-link.is-active {
	border-color: #003E6A;
	background: #003E6A;
	color: #fff;
}

/* Artikels */
.nv-blog-list {
	padding: 58px 0 75px;
}

.nv-blog-list-heading {
	margin-bottom: 28px;
}

.nv-blog-list-heading h2 {
	margin: 0;
	color: #003E6A;
	font-size: 28px;
	line-height: 1.2;
}

/* 3 kolommen, sober en editorial */
.nv-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 42px 28px;
}

.nv-blog-card {
	min-width: 0;
	background: #fff;
}

.nv-blog-card-image {
	display: block;
	aspect-ratio: 16 / 10;
	margin-bottom: 20px;
	overflow: hidden;
	border-radius: 10px;
	background: #f0f4f6;
}

.nv-blog-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}

.nv-blog-card:hover .nv-blog-card-image img {
	transform: scale(1.025);
}

.nv-blog-card-category {
	display: inline-block;
	margin-bottom: 10px;
	color: #009BDB;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.nv-blog-card-title {
	margin: 0 0 12px;
	color: #003E6A;
	font-size: 23px;
	line-height: 1.25;
	letter-spacing: -.015em;
}

.nv-blog-card-title a {
	color: inherit;
	text-decoration: none;
}

.nv-blog-card-title a:hover {
	color: #AF0061;
}

.nv-blog-card-excerpt {
	margin-bottom: 16px;
	color: #506673;
	font-size: 15px;
	line-height: 1.65;
}

.nv-blog-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 14px;
	color: #87949c;
	font-size: 12px;
}

.nv-blog-readmore {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #AF0061;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.nv-blog-readmore:hover {
	color: #6A2482;
}

.nv-blog-readmore .nv-arrow {
	transition: transform .2s ease;
}

.nv-blog-readmore:hover .nv-arrow {
	transform: translateX(3px);
}

/* Pagination */
.nv-blog-pagination {
	margin-top: 60px;
}

.nv-blog-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.nv-blog-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 11px;
	border: 1px solid #dce4e9;
	border-radius: 6px;
	color: #003E6A;
	font-weight: 600;
	text-decoration: none;
}

.nv-blog-pagination .page-numbers.current,
.nv-blog-pagination a.page-numbers:hover {
	border-color: #003E6A;
	background: #003E6A;
	color: #fff;
}

.nv-blog-empty {
	padding: 45px;
	border-radius: 10px;
	background: #f6f9fa;
	color: #506673;
}

/* Geen afbeelding: subtiele placeholder zodat grid gelijk blijft */
.nv-blog-card-image--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #f4f8fa 0%, #e9f3f8 100%);
}

.nv-blog-card-image--empty:after {
	content: "NewVision";
	color: #9ab4c3;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .05em;
}

/* Responsive */
@media (max-width: 980px) {
	.nv-blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.nv-blog-overview-container {
		width: min(100% - 30px, 1180px);
	}

	.nv-blog-overview-header {
		padding: 48px 0 32px;
	}

	.nv-blog-overview-title {
		font-size: 40px;
	}

	.nv-blog-overview-intro {
		font-size: 17px;
	}

	.nv-blog-list {
		padding: 42px 0 55px;
	}

	.nv-blog-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.nv-blog-card-title {
		font-size: 22px;
	}
}


/* Blog overzicht - compactere kaarttypografie */
.nv-blog-card-title {
	margin-bottom: 5px;
}

.nv-blog-card .nv-blog-meta {
	margin-top: 0;
	margin-bottom: 10px;
}

/* Zonder uitgelichte afbeelding wordt geen beeldzone gerenderd. */
.nv-blog-card:not(:has(.nv-blog-card-image)) .nv-blog-card-body {
	padding-top: 0;
}


/* =========================================================
   BLOG OVERZICHT - KAARTEN & COMPACTERE SPACING
   ========================================================= */

/* Elk artikel visueel duidelijk als afzonderlijke kaart */
.nv-blog-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #dfe8ed;
	border-radius: 12px;
	background: #f7fafc;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.nv-blog-card:hover {
	transform: translateY(-3px);
	border-color: #c8d9e2;
	box-shadow: 0 12px 30px rgba(0, 62, 106, .08);
}

.nv-blog-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 24px 26px 26px;
}

/* Als er geen afbeelding is, blijft de kaart gewoon compact */
.nv-blog-card:not(:has(.nv-blog-card-image)) .nv-blog-card-body {
	padding-top: 24px;
}

/* Afbeelding sluit mooi aan op het kleurvlak */
.nv-blog-card-image {
	margin-bottom: 0;
	border-radius: 0;
}

/* Minder Divi-witruimte tussen titel en metadata */
.single-post .nv-blog-card-title,
.nv-blog-overview .nv-blog-card-title {
	margin: 0 0 3px !important;
	padding-bottom: 0 !important;
}

.nv-blog-overview .nv-blog-card .nv-blog-meta {
	margin: 0 0 11px !important;
	padding: 0 !important;
	line-height: 1.3;
}

.nv-blog-overview .nv-blog-card-excerpt {
	margin: 0 0 16px !important;
	padding: 0 !important;
}

/* Klein accent bovenaan kaarten zonder afbeelding */
.nv-blog-card:not(:has(.nv-blog-card-image)) {
	border-top: 3px solid #009BDB;
}

/* Lees verder onderaan uitlijnen bij kaarten met verschillende tekstlengtes */
.nv-blog-card .nv-blog-readmore {
	margin-top: auto;
}

/* Op mobiel iets compacter */
@media (max-width: 767px) {
	.nv-blog-card-body {
		padding: 21px 21px 23px;
	}

	.nv-blog-card:not(:has(.nv-blog-card-image)) .nv-blog-card-body {
		padding-top: 21px;
	}
}


/* =========================================================
   BLOG DETAIL - EXTRA OPTIMALISATIES
   ========================================================= */

/* Uitgelichte afbeelding compacter en visueel rustiger */
.single-post .nv-article-featured {
	margin: 0 auto 52px !important;
}

.single-post .nv-article-featured .nv-article-wide-container {
	width: min(920px, calc(100% - 40px)) !important;
	max-width: 920px !important;
}

.single-post .nv-article-featured-image {
	width: 100%;
	height: auto;
	max-height: 460px;
	aspect-ratio: 16 / 8.5;
	object-fit: cover;
	object-position: center;
	border-radius: 12px;
}

/* Desktop: inhoudsopgave blijft sticky */
.single-post .nv-article-toc {
	position: -webkit-sticky !important;
	position: sticky !important;
	top: 110px !important;
	align-self: start !important;
	z-index: 5;
}

.single-post .nv-toc-title {
	display: block;
}

.single-post .nv-toc-toggle {
	display: none;
}

/* Mobiel/tablet: TOC als compacte uitklapper boven het artikel */
@media (max-width: 980px) {

	.single-post .nv-article-featured {
		margin-bottom: 34px !important;
	}

	.single-post .nv-article-featured .nv-article-wide-container {
		width: min(100% - 30px, 760px) !important;
	}

	.single-post .nv-article-featured-image {
		max-height: none;
		aspect-ratio: 16 / 9;
		border-radius: 8px;
	}

	.single-post .nv-article-layout {
		display: block !important;
		width: min(100% - 30px, 760px) !important;
	}

	.single-post .nv-article-toc {
		position: static !important;
		top: auto !important;
		max-height: none !important;
		overflow: visible !important;
		margin: 0 0 28px !important;
	}

	.single-post .nv-toc-inner {
		padding: 0 !important;
		border: 1px solid #dce7ed !important;
		border-radius: 10px !important;
		background: #f7fafc !important;
		overflow: hidden;
	}

	.single-post .nv-toc-title {
		display: none;
	}

	.single-post .nv-toc-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		padding: 15px 17px;
		border: 0;
		background: transparent;
		color: #003E6A;
		font: inherit;
		font-size: 15px;
		font-weight: 700;
		text-align: left;
		cursor: pointer;
	}

	.single-post .nv-toc-toggle-icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 24px;
		height: 24px;
		font-size: 22px;
		font-weight: 400;
		line-height: 1;
		color: #AF0061;
	}

	.single-post #nv-article-toc-list {
		display: none;
		padding: 0 17px 15px;
		gap: 0;
	}

	.single-post .nv-article-toc.is-open #nv-article-toc-list {
		display: flex;
	}

	.single-post #nv-article-toc-list a {
		display: block;
		padding: 10px 0;
		border-top: 1px solid #e4ebef;
		font-size: 14px;
		line-height: 1.35;
		color: #405d6e;
		opacity: 1;
	}

	/* Contentbreedte en headings op mobiel */
	.single-post .nv-article {
		width: 100%;
	}

	.single-post .nv-article-content {
		font-size: 16px;
		line-height: 1.68;
	}

	.single-post .nv-article-content > p:first-child {
		font-size: 17px;
		line-height: 1.65;
	}

	.single-post .nv-article-content h2 {
		margin: 42px 0 15px !important;
		padding: 0 !important;
		font-size: 26px !important;
		line-height: 1.18;
	}

	.single-post .nv-article-content h3 {
		margin: 28px 0 11px !important;
		padding: 0 !important;
		font-size: 20px !important;
		line-height: 1.25;
	}

	.single-post .nv-article-content p {
		margin-bottom: 13px !important;
	}

	.single-post .nv-article-content ul,
	.single-post .nv-article-content ol {
		margin: 5px 0 14px !important;
		padding-left: 21px !important;
	}

	.single-post .nv-article-content li {
		margin-bottom: 4px !important;
	}

	/* Tabellen niet de mobiele layout laten breken */
	.single-post .nv-article-content .wp-block-table {
		width: 100%;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.single-post .nv-article-content table {
		display: table;
		min-width: 680px;
		width: 680px;
		margin: 0;
	}

}

/* Extra compact voor kleine smartphones */
@media (max-width: 520px) {

	.single-post .nv-article-header {
		padding: 38px 0 28px !important;
	}

	.single-post .nv-article-title {
		font-size: 32px !important;
		line-height: 1.08;
	}

	.single-post .nv-article-intro {
		margin-top: 16px;
		font-size: 17px;
		line-height: 1.55;
	}

	.single-post .nv-article-meta {
		margin-top: 16px;
	}

	.single-post .nv-article-featured-image {
		aspect-ratio: 16 / 10;
	}
}


/* =========================================================
   BLOG DETAIL - HERO & STICKY TOC V2
   ========================================================= */

/* Desktop: compactere hero met titel links en beeld rechts */
.single-post .nv-article-header {
	padding: 48px 0 38px !important;
}

.single-post .nv-article-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
	align-items: center;
}

.single-post .nv-article-hero.has-image {
	grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
	gap: clamp(40px, 5vw, 72px);
}

.single-post .nv-article-hero-content {
	min-width: 0;
}

.single-post .nv-article-title {
	margin: 0 !important;
	padding: 0 !important;
	font-size: clamp(44px, 4.1vw, 62px);
	line-height: 1.06;
}

.single-post .nv-article-intro {
	margin-top: 18px;
	max-width: 650px;
}

.single-post .nv-article-meta {
	margin-top: 18px;
}

.single-post .nv-article-hero-image {
	min-width: 0;
}

.single-post .nv-article-hero-image .nv-article-featured-image {
	display: block;
	width: 100%;
	height: clamp(280px, 27vw, 390px);
	max-height: none;
	aspect-ratio: auto;
	object-fit: cover;
	object-position: center;
	border-radius: 14px;
}

/* Artikel sneller laten beginnen */
.single-post .nv-article-layout {
	margin-top: 10px;
}

/* Desktop inhoudsopgave: net onder de volledige header */
@media (min-width: 981px) {
	.single-post .nv-article-toc {
		position: -webkit-sticky !important;
		position: sticky !important;
		top: 165px !important;
		align-self: start !important;
		max-height: calc(100vh - 185px);
		overflow-y: auto;
		z-index: 4;
	}
}

/* Compactere tussenstap voor smallere desktops */
@media (max-width: 1180px) and (min-width: 981px) {
	.single-post .nv-article-hero.has-image {
		grid-template-columns: minmax(0, 1fr) minmax(340px, .85fr);
		gap: 36px;
	}

	.single-post .nv-article-title {
		font-size: 46px;
	}

	.single-post .nv-article-hero-image .nv-article-featured-image {
		height: 320px;
	}
}

/* Mobiel/tablet: titel en beeld altijd netjes onder elkaar */
@media (max-width: 980px) {
	.single-post .nv-article-header {
		padding: 34px 0 28px !important;
	}

	.single-post .nv-article-hero,
	.single-post .nv-article-hero.has-image {
		display: flex;
		flex-direction: column;
		width: min(100% - 30px, 760px);
		gap: 0;
	}

	.single-post .nv-article-hero-content {
		width: 100%;
	}

	.single-post .nv-article-title {
		margin: 0 !important;
		padding: 0 !important;
		font-size: clamp(34px, 8.8vw, 46px) !important;
		line-height: 1.08;
		overflow-wrap: break-word;
		word-break: normal;
	}

	.single-post .nv-article-intro {
		margin-top: 15px;
		font-size: 17px;
		line-height: 1.55;
	}

	.single-post .nv-article-meta {
		margin-top: 14px;
	}

	.single-post .nv-article-hero-image {
		width: 100%;
		margin-top: 22px;
	}

	.single-post .nv-article-hero-image .nv-article-featured-image {
		display: block;
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
		object-fit: cover;
		border-radius: 10px;
	}

	.single-post .nv-article-layout {
		margin-top: 0;
	}
}

@media (max-width: 520px) {
	.single-post .nv-article-title {
		font-size: 34px !important;
		line-height: 1.08;
	}

	.single-post .nv-article-hero-image {
		margin-top: 18px;
	}

	.single-post .nv-article-hero-image .nv-article-featured-image {
		aspect-ratio: 16 / 10;
	}
}
