/* ===== Algemene layout ===== */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
   font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 0.9em;
    background: #f5f6f7;
    margin: 0;
    padding: 0;
    color: #333;
}
header {
    background: var(--secondary);
    padding: 15px;
    font-size: 16px;
	max-height:30px;
}
footer {
    margin-top: auto;
    padding: 20px 0;
	background: var(--secondary);
}
a {
color: var(--link);
}
a:hover {
color: var(--secondary);
}
.footer-copy {
    color: rgba(255,255,255,0.5);
	font-family: "Inter", sans-serif;
  	font-weight: 100;
}
.title-block .site-title {
    color: var(--titleblock-text);
}
.title-block .site-payoff {
    color: var(--titleblock-text);
}
.uitleg {
background: #fff;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
/* ===== Project branding ===== */
.header-inner, .footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    width: auto;
}
.title-block {
display: none;
}
.title-block .site-title {
    font-size: 22px;
    font-weight: bold;
}

.title-block .site-payoff {
    font-size: 14px;
    opacity: 0.9;
}

.footer-menu a {
    margin-right: 15px;
    text-decoration: none;
	color: #fff;
	opacity:80%;
	font-family: "Inter", sans-serif;
  	font-weight: 300;
}
.footer-menu a:hover {
	color: #fff;
	opacity:90%;
}
.footer-menu a.active {
	color: #fff;
	opacity:100%;
}
.stats-bar {
  background: var(--primary);
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 10px 10px;
  text-align: center;
  margin-top: -20px;
}

.stat-item {
    flex: 1;
}

.stat-item i {
    font-size: 24px;
    margin-bottom: 5px;
    opacity: 0.7;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    margin-top: 5px;
  display: inline;
  margin-left: 5px;
transition: all 0.3s ease;
}

.stat-label {
font-size: 12px;
  opacity: 0.5;
  margin-top: 3px;
  text-transform: uppercase;
  font-weight: 800;
}

/* Responsive */
@media (max-width: 768px) {
    .stats-bar {
        flex-direction: column;
        gap: 20px;
    	margin-bottom: 20px;
    }
}
/* ===== Container en sections ===== */
.container {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 15px;
}
.container-columns { 
display:flex; 
flex-wrap:wrap; 
gap:20px; 
padding:20px; 
}
.section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }
.welcome {
  font-size: 24px;
  margin-bottom: 10px;
  line-height: 1.3;
  margin-top: 0px;
  color: var(--primary);
opacity: 0.8;
font-family: "Inter", sans-serif;
  font-weight: 700;
}
/* ===== hero slider===== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 12px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background: var(--bg);
    background-image: var(--img);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 40px;
    opacity: 0;
    transition: opacity .6s ease;
	pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
	pointer-events: auto;
}

.hero-content {
    max-width: 420px;
    background: rgba(255, 255, 255, 0.7);
    padding: 20px 25px;
    border-radius: 10px;
    color: var(--primary);
}

.hero-content h2 {
    margin: 0 0 10px;
    font-size: 26px;
}

.hero-content p {
    margin: 0 0 15px;
    font-size: 16px;
}

.hero-btn {
    display: inline-block;
    background: var(--link);
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
}

.hero-btn:hover {
    background: #f2f2f2;
}

/* Dots */
.hero-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider {
        height: 200px;
    }
    .hero-content h2 {
        font-size: 20px;
    }
    .hero-content p {
        font-size: 14px;
    }
}
/* ===== lijsten ===== */
.opsomming  ul {
    list-style: none;
    padding-left: 0;
  }
 .opsomming li {
    margin: 10px 0;
    padding-left: 30px;
    position: relative;
 	list-style-type: none;
  }
.opsomming  li i {
    position: absolute;
    left: 0;
    color: #27ae60;
  }
/* ===== Knoppen ===== */
.button {
    background: var(--link);
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: background 0.2s ease;
}

.button:hover {
    background: var(--secondary);
	color: #fff;
}
.button.reject {
    background: #d61313;
}

.button.toggle {
    background: #555;
}
/* ===== Zoeken ===== */
.search-box {
    margin-bottom: 20px;
}
.search-box input[type="text"] {
    padding: 8px;
    width: 250px;
}
.search-box button {
    padding: 8px 12px;
}

/* ===== Tabellen (admin) ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
}

th, td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

th {
    background: #eee;
    text-align: left;
}
hr {
    border: none;
    border-top: 1px solid #e2e6ee;
    margin: 30px 0;
}
/* ===== Homepage feed items ===== */
.item {
    background: #fff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    display: flex;
	flex-direction: unset;
}

.item img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 6px;
}

.item .title a {
    font-size: 17px;
    color: var(--primary);
    text-decoration: none;
	font-family: 'Patua One', sans-serif;
	letter-spacing: 0.3px;
}

.item .title a:hover {
    text-decoration: underline;
}

.item .meta {
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
}
.item .site-name {
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 800;
}
.score-block {
    background: #f9f9f9;
    padding: 15px;
    margin: 20px 0;
	width: 260px;
}
.score-stars {
    color: gold;
    font-size: 20px;
    margin-bottom: 5px;
}
/* ===== Paginering ===== */
/*
.pagination {
    text-align: center;
    margin: 20px 0;
}

.pagination a {
    padding: 6px 10px;
    margin: 0 3px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    color: #var(--primary);
}

.pagination a.active {
    background: var(--primary);
    color: #fff;
}
*/
.posts-pagination {
    margin-top: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.navigation.pagination {
    display: flex;
/*    justify-content: center;*/
    flex-wrap: wrap;
    gap: 0.5rem;
}

.nav-links .page-numbers {
    display: inline-block;
    padding: 0.5rem 0.9rem;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links .page-numbers:hover {
    background-color: var(--primary);
    color: #fff;
}

.nav-links .page-numbers.current {
    background-color: var(--primary);
    color: #fff;
    font-weight: bold;
    cursor: default;
}

.nav-links .page-numbers.dots {
    background: none;
    color: #999;
    cursor: default;
}

.nav-links .next,
.nav-links .prev {
    background-color: #8fabf7;
    color: #fff;
    font-weight: bold;
}

.nav-links .next:hover,
.nav-links .prev:hover {
    background-color: #134bd6;
}

/* ===== Item pagina ===== */

.container-item {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

h1 {
    font-size: 32px;
    margin-bottom: 10px;
    line-height: 1.3;
}
.kop {
	font-family: 'Patua One', sans-serif;
	font-weight: 200;
}

.meta {
    color: #777;
    font-size: 14px;
    margin-bottom: 20px;
}

.detail-image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.detail-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

/* Overlay alleen als class 'with-overlay' aanwezig is */
.detail-image-wrapper.with-overlay .image-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;

    /* Verloop van transparant linksboven → wit 50% rechtsonder */
    background: linear-gradient(
        to bottom right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.8) 50%,
        rgba(255,255,255,1) 100%
    );

    display: flex;
    justify-content: flex-end;   /* horizontaal naar rechts */
    align-items: flex-end;       /* verticaal naar beneden */
    padding: 12px 15px;
}

/* Tekst in de rechteronderhoek */
.detail-image-wrapper.with-overlay .overlay-text {
    color: #808080;
    font-size: 12px;
    background: #f5f5f5;
    padding: 6px 10px;
    border-radius: 6px;
}

.full-description {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
    color: #333;
}

/* Feedchecker */
.checker-container {
    max-width: 600px;
/*    margin: 0 auto; */
	margin-top: 20px;
    background: #fff;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.intro {
    margin-bottom: 20px;
    color: #555;
}

.checker-form {
    margin-bottom: 25px;
}

.checker-form label {
    font-weight: bold;
}
.result-box {
    background: #f9fbff;
    border: 1px solid #dce6ff;
    padding: 20px;
    border-radius: 8px;
}

.error-box {
    background: #ffe5e5;
    border: 1px solid #ffb3b3;
    padding: 12px;
    border-radius: 6px;
    color: #b30000;
    margin-bottom: 20px;
}

.feed-list {
    list-style: none;
    padding: 0;
}

.feed-list li {
    padding: 6px 0;
}

.feed-list a {
    color: #134bd6;
    text-decoration: none;
}

.feed-list a:hover {
    text-decoration: underline;
}

.no-feeds {
    color: #777;
    font-style: italic;
}

/* Request pagina */
.form-container {
    max-width: 650px;
    margin: 0 auto;
    background: #fff;
    padding: 30px 35px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

form p {
    margin-bottom: 18px;
}

form input[type="text"],
form input[type="email"],
form input[type="url"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    margin-top: 6px;
	box-sizing: border-box;
}

form button, .cta-button {
    background: var(--link);
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    margin-top: 10px;
	text-decoration: none;
}

form button:hover,
.cta-button:hover {
	background: var(--secondary);
	color:#fff;
}

.error-box {
    background: #ffe5e5;
    border: 1px solid #ffb3b3;
    padding: 12px;
    border-radius: 6px;
    color: #b30000;
    margin-bottom: 20px;
}

.success-box {
    background: #e6ffe6;
    border: 1px solid #b3ffb3;
    padding: 15px;
    border-radius: 6px;
    color: #0a7a0a;
    margin-bottom: 20px;
    text-align: center;
    font-size: 17px;
}

.upload-box {
    border: 2px dashed #ccc;
    padding: 18px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    background: #fafafa;
    transition: border-color 0.2s;
}

.upload-box:hover {
    border-color: #134bd6;
}

#preview {
    margin-top: 12px;
    display: none;
    text-align: center;
}

#preview img {
    max-width: 220px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.remove-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 7px 12px;
    background: #d9534f;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.remove-btn:hover {
    background: #b94743;
}
.submit-row {
    text-align: center;
    margin-top: 25px;
}
/* ===== Item pagina ===== */

/* Container */
.container-item {
    max-width: 850px;
    margin: 30px auto;
    background: #fff;
    padding: 30px 35px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Afbeelding + overlay */
.detail-image-wrapper {
    position: relative;
    margin-bottom: 25px;
}

.detail-image {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.with-overlay .image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 10px 15px;
    font-size: 14px;
    border-radius: 0 0 10px 10px;
}

/* Beschrijving */
.full-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Navigatie vorige/volgende */
.nav-links {
    display: flex;
    justify-content: space-between;
    margin: 25px 0;
}

.nav-links a {
    color: var(--link);
    text-decoration: none;
    font-weight: bold;
}
.more-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.more-list li {
    background: #f9fbff;
    border: 1px solid #dce6ff;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: background 0.2s;
}

.more-list li:hover {
    background: #eef4ff;
}

.more-list a {
    color: #134bd6;
    font-weight: bold;
    text-decoration: none;
}

.more-list a:hover {
    text-decoration: underline;
}

.more-list .date {
    color: #777;
    font-size: 13px;
    margin-left: 8px;
}

/* Terug link */
.back-link {
    display: inline-block;
	font-weight:bold;
    margin-top: 25px;
    color: var(--link);
    text-decoration: none;
}
/* ===== Archief pagina ===== */
.archive-list { 
	list-style: none; 
	padding: 0; 
}
.archive-list li { 
	padding: 5px 0; 
	border-bottom: 1px solid #ddd; 
	margin-bottom: 5px;
}
.archive-list a { 
font-size: 16px; 
color: #134bd6; 
text-decoration: none; 
font-family: 'Patua One', sans-serif;
font-weight: 200;
letter-spacing: 0.6px;
}
.archive-list a:hover { 
text-decoration: underline; 
}
.archive-list .meta { 
font-size:0.85em; 
color:#555; 
margin-bottom: 5px; 
}
.container-archive { 
display:flex; 
flex-wrap:wrap; 
gap:20px; 
padding:20px; 
}
.filters { 
flex:1 1 200px; 
min-width:200px; 
}
.results { 
flex:3 1 500px; 
min-height:200px; 
}
.filter-group { 
margin-bottom:15px; 
}
.filter-toggle {
    background-color: var(--secondary);
    color: #fff;
    border: none;
    padding: 6px 10px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    font-weight: bold;
    border-radius: 4px;
}
.filter-toggle:focus { 
outline:none; 
}
.filter-options { 
margin-top:5px; p
adding-left:10px; 
display:none; 
}
.filter-options label { 
display:block; 
margin:3px 0;  
}
.sort-links a { 
margin-right:15px; 
font-weight:bold; 
}
.sort-links .active { 
text-decoration: underline; 
}
/* ===== Nieuwsbrief request en validatie ===== */
.nieuwsbrief-form {
    max-width: 400px;
    padding: 20px;
    background: #f7f7f7;
    border-radius: 8px;
}
.nieuwsbrief-form input {
    width: 100%;
    padding: 10px;
    margin: 6px 0 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.melding {
    padding: 12px;
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    margin-bottom: 20px;
}
.confirm-message {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 16px;
}
.confirm-message.success {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
}
.confirm-message.error {
    background: #ffebee;
    border-left: 4px solid #f44336;
}

/* ===== Aanmelden page ===== */ 
.aanmeld-form {
   max-width: 600px; 
 /*  margin: 20px auto;
margin-top: 20px;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
*/
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Labels */
.aanmeld-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: -6px;
    display: block;
}

/* Inputs & textarea */
.aanmeld-form input[type="text"],
.aanmeld-form input[type="email"],
.aanmeld-form input[type="url"],
.aanmeld-form input[type="file"],
.aanmeld-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    background: #fafafa;
    transition: border-color .2s, background .2s;
}

/* Focus */
.aanmeld-form input:focus,
.aanmeld-form textarea:focus {
    border-color: var(--secondary);
    background: #fff;
    outline: none;
}

/* Textarea */
.aanmeld-form textarea {
    min-height: 120px;
    resize: vertical;
	width: auto;
}

/* Checkbox */
.aanmeld-form .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.aanmeld-form input[type="checkbox"] {
    transform: scale(1.2);
}

/* Submit button */
.aanmeld-form button[type="submit"] {
    background: var(--secondary);
    color: #fff;
    padding: 14px 18px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background .2s;
}

.aanmeld-form button[type="submit"]:hover {
    background: var(--link);
}

/* Responsive */
@media (max-width: 480px) {
    .aanmeld-form {
        padding: 18px;
    }
}

/* ===== Contact page ===== */   
.contact-info {
    margin-bottom: 25px;
  }
  .contact-info p {
    font-size: 1.1em;
    margin: 10px 0;
  }

  .contact-item {
    display: flex;
    align-items: center;
    margin: 10px 0;
    font-size: 1.05em;
  }

  .contact-item i {
    color: var(--secondary);
    margin-right: 12px;
    min-width: 20px;
    text-align: center;
  }
/* ===== Hoofdmenu ===== */
.site-header {
    background: var(--secondary);
    color: #fff;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    position: relative;
    padding: 8px;
	height: 20px
}
.branding {
    display: flex;
    align-items: center;
    gap: 15px;
}
.menu {
    display: flex;
    gap: 20px;
}
.menu a {
    text-decoration: none;
    font-weight: bold;
	color: #fff;
  	opacity: 60%;
	font-family: "Inter", sans-serif;
  	font-weight: 300;
}
.menu a:hover {
	color: #fff;
  	opacity: 80%;
}
.menu a.active {
	color: #fff;
	opacity: 100%;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
	color: var(--link);
}
/* ===== Adviseurpagina ===== */
.toggle-button  {
display: none;
}
.toggle-content .kader p {
    word-break: break-all;
    overflow-wrap: break-word;
}
.bestel-button {
display: none;
}
.wp-block-heading {
font-size: 21px;
  margin: 0;
}
/* Mobiel: ≤768px */
@media (max-width: 768px) {
header {
    padding: 5px;
	max-height: 60px;
}
.header-inner {
height: 50px;
}
    .menu-toggle {
        display: block;
        position: absolute;
        top: 15px;
        right: 10px;
        z-index: 1100;
    	color: var(--link);
    }

    .menu {
        display: none;
        flex-direction: column;
        background: var(--primary);
        position: absolute;
        top: 97%;
        right: 0;
        left: 0;
        padding: 15px 20px;
        z-index: 1050;
    	margin-left: -5px;
    	margin-right: -5px;
    	box-shadow: 0 9px 10px rgba(0, 0, 0, 0.45);
    }

    .menu a {
        padding: 5px;
    }
.menu a.active {
	color: #fff;
	opacity: 100%;
}

    body.menu-open .menu {
        display: flex;
    }
.title-block {
display: none;
}
.welcome {
font-size: 20px;
text-align: center;
margin-top: -20px;
}
.footer-inner { 
max-width: 1200px; 
margin: 0 auto; 
padding: 0 20px; 
display: flex; 
flex-direction: column; 
align-items: center; 
text-align: center; 
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.item > div {
    flex: 1;
	 padding-top: 10px;
}
.item .title {
    font-size: 18px;
    font-weight: bold;
    margin: 8px 0 5px;
}
.item .desc {
    font-size: 15px;
    color: #444;
}
.item {
    flex-direction: column;
}
.item img {
    width: 100%;
	height: 40px;
    max-height: 40px;
}
.item .title {
    font-size: 17px;
}
.item .desc {
    font-size: 14px;
}
.logo {
  height: auto;
  width: 300px;
  margin-top: -10px;
}
}
/* Extra mobiel: ≤480px */
@media (max-width: 480px) {
    .menu a {
        font-size: 16px;
    }
    .menu-toggle {
        font-size: 24px;
        top: 12px;
        right: 10px;
    	color: var(--link);
    }
.logo {
  height: auto;
  width: 300px;
  margin-top: -5px;
margin-left:-5px;
}
}
