/*
Theme Name: Onderwijs & Wetenschap
Author: Frans
Version: 1.1
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:wght@400;600;700&display=swap');

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

:root{
  --color-brand:#c62828;
  --color-text:#1a1a1a;
  --color-text-secondary:#666;
  --color-border:#e0e0e0;
  --color-bg:#fff;
  --font-serif:'Playfair Display', Georgia, serif;
  --font-sans:'Source Sans 3', -apple-system, system-ui, sans-serif;
}

body{
  font-family:var(--font-sans);
  color:var(--color-text);
  background:var(--color-bg);
  line-height:1.6;
}

/* LAYOUT */
.main{
  max-width:1400px;
  margin:0 auto;
  padding:2rem;
}

/* HEADER (Atlantic-style sticky + shrink on scroll) */
.site-header{
  background:#fff;
  position:sticky;
  top:0;
  z-index:9999;
  transition:box-shadow .3s;
}
.site-header.scrolled{ box-shadow:0 1px 3px rgba(0,0,0,.1); }

.topbar{ background:#fff; }
.topbar-inner{
  max-width:1400px;
  margin:0 auto;
  padding:0 1.5rem;
  height:110px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  transition:height .3s ease;
}
.site-header.scrolled .topbar-inner{ height:56px; }

.topbar-left{
  display:flex;
  align-items:center;
  gap:.5rem;
  justify-self:start;
}
.topbar-right{
  display:flex;
  align-items:center;
  justify-self:end;
}

/* Center logo */
.topbar-logo{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-self:center;
}
.topbar-logo-symbol{
  font-family:var(--font-serif);
  font-size:3.5rem;
  font-weight:400;
  line-height:1;
  color:var(--color-brand);
  transition:all .3s ease;
  max-height:60px;
  overflow:hidden;
  opacity:1;
}
.site-header.scrolled .topbar-logo-symbol{
  max-height:0;
  opacity:0;
  margin:0;
}
.topbar-logo-text{
  font-family:var(--font-serif);
  font-size:1.35rem;
  font-style:italic;
  color:var(--color-text);
  margin-top:.25rem;
  transition:all .3s ease;
  white-space:nowrap;
}
.site-header.scrolled .topbar-logo-text{ margin-top:0; }
.topbar-logo:hover .topbar-logo-text{ color:var(--color-brand); }

/* Icon buttons */
.icon-btn{
  appearance:none;
  border:0;
  background:transparent;
  width:40px;
  height:40px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:4px;
  transition:background .2s;
  flex-shrink:0;
}
.icon-btn:hover{ background:#f5f5f5; }

/* Hamburger */
.hamburger-icon{
  display:block;
  width:18px;
  height:14px;
  position:relative;
}
.hamburger-icon::before,
.hamburger-icon::after,
.hamburger-icon span{
  content:'';
  position:absolute;
  left:0;
  width:100%;
  height:2px;
  background-color:#1a1a1a;
  transition:all .3s ease;
}
.hamburger-icon::before{ top:0; }
.hamburger-icon::after{ bottom:0; }
.hamburger-icon span{ top:50%; transform:translateY(-50%); }

.hamburger-btn.active .hamburger-icon::before{
  top:50%;
  transform:rotate(45deg);
  background-color:var(--color-brand);
}
.hamburger-btn.active .hamburger-icon::after{
  bottom:50%;
  transform:rotate(-45deg);
  background-color:var(--color-brand);
}
.hamburger-btn.active .hamburger-icon span{ opacity:0; }

/* Search icon */
.search-icon{ width:20px; height:20px; color:#1a1a1a; }
.search-btn.active .search-icon{ color:var(--color-brand); }

/* Topbar navigation */
.topbar-nav{
  display:flex;
  gap:1.25rem;
  margin-left:.75rem;
}
.topbar-nav a{
  font-size:.9rem;
  font-weight:500;
  color:var(--color-text);
  transition:color .2s;
  white-space:nowrap;
}
.topbar-nav a:hover{ color:var(--color-brand); }

/* Subscribe button */
.btn-subscribe{
  background:var(--color-brand);
  color:#fff;
  padding:.5rem 1rem;
  font-weight:600;
  font-size:.875rem;
  border-radius:4px;
  transition:background .2s;
  white-space:nowrap;
}
.btn-subscribe:hover{ background:#a12121; }

/* DROPDOWN MENU */
.dropdown-menu{
  position:absolute;
  top:100%;
  left:0;
  right:0;
  background:#fff;
  border-bottom:1px solid #e5e5e5;
  max-height:0;
  overflow:hidden;
  transition:max-height .3s ease;
}
.dropdown-menu.active{ max-height:400px; }

.dropdown-inner{
  max-width:1400px;
  margin:0 auto;
  padding:2rem 1.5rem;
  display:flex;
  gap:4rem;
}
.dropdown-section{ flex:1; }

.dropdown-heading{
  font-size:.75rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--color-brand);
  margin:0 0 1.25rem 0;
}
.dropdown-columns{
  display:flex;
  gap:3rem;
}
.dropdown-col{
  display:flex;
  flex-direction:column;
  gap:.75rem;
}
.dropdown-col a,
.dropdown-section--secondary a{
  font-size:1rem;
  color:var(--color-text);
  transition:color .2s;
}
.dropdown-col a:hover,
.dropdown-section--secondary a:hover{ color:var(--color-brand); }

.dropdown-section--secondary{
  display:flex;
  flex-direction:column;
  gap:.75rem;
  padding-left:3rem;
  border-left:1px solid #e5e5e5;
}

/* ZOEK OVERLAY */
.search-overlay{
  position:fixed;
  top:0;
  left:0;
  right:0;
  background:#fff;
  padding:2rem;
  transform:translateY(-100%);
  opacity:0;
  visibility:hidden;
  transition:transform .3s ease, opacity .3s ease, visibility .3s ease;
  z-index:100000;
  box-shadow:0 4px 20px rgba(0,0,0,.15);
}
.search-overlay.active{
  transform:translateY(0);
  opacity:1;
  visibility:visible;
}
.search-overlay-inner{
  max-width:600px;
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:1rem;
}
.search-overlay .search-form{
  flex:1;
  display:flex;
  gap:.5rem;
}
.search-overlay .search-input{
  flex:1;
  padding:.75rem 1rem;
  font-size:1.125rem;
  border:2px solid #ddd;
  border-radius:4px;
  font-family:var(--font-sans);
}
.search-overlay .search-input:focus{
  outline:none;
  border-color:var(--color-brand);
}
.search-overlay .search-submit{
  padding:.75rem 1.5rem;
  background:var(--color-brand);
  color:#fff;
  border:none;
  border-radius:4px;
  cursor:pointer;
  font-family:var(--font-sans);
  font-weight:600;
  transition:background .2s;
}
.search-overlay .search-submit:hover{ background:#a12121; }
.search-close{
  font-size:2rem;
  background:none;
  border:none;
  cursor:pointer;
  padding:.5rem;
  line-height:1;
  color:var(--color-text);
}
.search-close:hover{ color:var(--color-brand); }

/* MASTHEAD */
.masthead-home{ display:inline-block; color:inherit; text-decoration:none; }
.masthead-logo{
  font-family:var(--font-serif);
  color:var(--color-brand);
  font-weight:400;
  line-height:1;
  font-size:72px;
}
.masthead-title{
  font-family:var(--font-serif);
  font-style:italic;
  font-size:22px;
  line-height:1.2;
  margin-top:4px;
}
.masthead-home:hover .masthead-title{ color:var(--color-brand); }

/* SEARCH RESULTS */
.search-results-page{
  max-width:800px;
  margin:0 auto;
  padding:2rem 1rem;
}
.search-header{
  margin-bottom:2rem;
  padding-bottom:2rem;
  border-bottom:1px solid #eee;
}
.search-title{
  font-family:var(--font-serif);
  font-size:1.75rem;
  font-weight:400;
  margin-bottom:1.5rem;
}
.search-form--inline{ display:flex; gap:.5rem; max-width:400px; }
.search-form--inline .search-input{
  flex:1;
  padding:.75rem 1rem;
  font-size:1rem;
  border:2px solid #ddd;
  border-radius:4px;
  font-family:var(--font-sans);
}
.search-form--inline .search-submit{
  padding:.75rem 1.5rem;
  background:var(--color-brand);
  color:#fff;
  border:none;
  border-radius:4px;
  cursor:pointer;
  font-weight:600;
}
.search-count{ color:var(--color-text-secondary); margin-bottom:1.5rem; }

.search-results{ display:flex; flex-direction:column; gap:2rem; }
.search-result{
  display:flex;
  gap:1.5rem;
  padding-bottom:2rem;
  border-bottom:1px solid #eee;
}
.search-result-image{ flex-shrink:0; width:200px; }
.search-result-image img{ width:100%; height:130px; object-fit:cover; }
.search-result-content{ flex:1; }

.search-result-category{
  font-size:.75rem;
  text-transform:uppercase;
  letter-spacing:.05em;
  color:var(--color-text-secondary);
}
.search-result-category:hover{ color:var(--color-brand); }

.search-result-title{
  font-family:var(--font-serif);
  font-size:1.25rem;
  margin:.5rem 0;
  line-height:1.3;
}
.search-result-title a{ color:inherit; }
.search-result-title a:hover{ color:var(--color-brand); }

.search-result-excerpt{
  color:#444;
  line-height:1.6;
  margin:.5rem 0;
}
.search-result-date{ font-size:.875rem; color:#888; }

.search-no-results{
  padding:2rem;
  background:#f9f9f9;
  border-radius:4px;
}
.search-no-results ul{ margin-top:1rem; padding-left:1.5rem; }
.search-pagination{ margin-top:2rem; text-align:center; }

/* HERO */
.hero-section{
  display:grid;
  grid-template-columns:1fr 2fr 1fr;
  gap:2rem;
  max-width:1400px;
  margin:0 auto 3rem;
  padding:2rem 1rem;
  align-items:start;
}
.hero-sidebar-left{ display:flex; flex-direction:column; gap:2rem; }

.hero-small-article{ text-decoration:none; color:inherit; display:block; }
.hero-small-image-wrap{ overflow:hidden; margin-bottom:.75rem; }
.hero-small-image-wrap .sidebar-image{
  width:100%;
  height:auto;
  filter:grayscale(100%);
  transition:filter .4s ease;
}
.hero-small-article:hover .sidebar-image{ filter:grayscale(0%); }

.hero-small-title{
  font-family:var(--font-serif);
  font-size:1.2rem;
  font-weight:700;
  line-height:1.3;
  margin:.5rem 0 .25rem;
  color:var(--color-text);
}
.hero-small-article:hover .hero-small-title{ color:var(--color-brand); }

/* Center column */
.hero-main{ display:flex; flex-direction:column; }
.hero-featured-article{ text-decoration:none; color:inherit; display:block; text-align:center; }
.hero-featured-image-wrap{ overflow:hidden; margin-bottom:1rem; }
.hero-featured-image-wrap .hero-image{
  width:100%;
  height:auto;
  filter:grayscale(100%);
  transition:filter .4s ease;
}
.hero-featured-article:hover .hero-image{ filter:grayscale(0%); }

.hero-featured-title{
  font-family:var(--font-serif);
  font-size:2.25rem;
  font-weight:700;
  line-height:1.2;
  margin:.75rem 0;
  color:var(--color-text);
}
.hero-featured-article:hover .hero-featured-title{ color:var(--color-brand); }

.hero-featured-excerpt{
  font-size:1.1rem;
  line-height:1.5;
  color:#444;
  margin:.75rem auto;
  max-width:90%;
}

.article-credit{
  font-size:.75rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.05em;
  color:#888;
  margin:0;
}
.article-date{
  font-size:.8rem;
  color:#888;
  text-transform:uppercase;
  letter-spacing:.03em;
  margin-top:.5rem;
}

/* Right column popular */
.popular-sidebar{
  border-left:1px solid var(--color-border);
  padding-left:1.5rem;
}
.popular-sidebar > .popular-title{
  font-size:.85rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.1em;
  margin-bottom:1.5rem;
  color:var(--color-text);
}
.popular-item{
  display:flex;
  gap:1rem;
  text-decoration:none;
  color:inherit;
  margin-bottom:1.25rem;
  align-items:flex-start;
}
.popular-number{
  font-family:var(--font-serif);
  font-size:1.75rem;
  font-weight:300;
  color:#ccc;
  line-height:1;
}
.popular-item-title{
  font-size:.95rem;
  font-weight:600;
  line-height:1.3;
  margin:0 0 .25rem;
  color:var(--color-text);
}
.popular-item:hover .popular-item-title{ color:var(--color-brand); }

/* ARTICLE CARDS */
.article-card{ display:block; }
.article-card:hover .article-title{ color:var(--color-brand); }

.article-image{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  margin-bottom:.75rem;
  filter:grayscale(100%);
  transition:filter .3s;
}
.article-card:hover .article-image{ filter:grayscale(0%); }

.article-title{
  font-family:var(--font-serif);
  font-size:1.5rem;
  line-height:1.25;
  margin-bottom:.5rem;
  transition:color .2s;
}
.article-title.large{ font-size:2.2rem; }
.article-title.small{ font-size:1.05rem; margin-bottom:.35rem; }

.article-excerpt{
  font-size:.95rem;
  color:var(--color-text-secondary);
  line-height:1.5;
  margin-bottom:.75rem;
}
.article-author{
  font-size:.75rem;
  text-transform:uppercase;
  letter-spacing:.1em;
  font-weight:600;
}

/* SECTION HEADER & GRID */
.section-header{
  font-family:var(--font-sans);
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.15em;
  font-weight:700;
  margin:2.5rem 0 1.5rem;
  padding-bottom:.5rem;
  border-bottom:2px solid var(--color-text);
}
.article-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:2rem;
  padding:0 0 3rem;
}
.article-grid .article-title{ font-size:1.25rem; }

/* SINGLE ARTICLE */
.single .main{
  max-width:980px;
  margin:0 auto;
  padding-top:2.25rem;
}
.single-article{ max-width:640px; margin:0 auto; }

.article-header,
.article-dek,
.article-byline,
.article-tools{
  max-width:640px;
  margin-left:auto;
  margin-right:auto;
}

.article-kicker{
  font-size:.75rem;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--color-text-secondary);
  margin-bottom:.75rem;
  text-align:center;
}
.article-kicker a:hover{ color:var(--color-brand); }

.article-title-h1{
  font-family:var(--font-serif);
  font-weight:400;
  font-size:clamp(2.2rem, 3.5vw, 3.2rem);
  line-height:1.08;
  margin:.25rem 0 .75rem;
  text-align:center;
}
.article-dek{
  text-align:center;
  font-size:1.05rem;
  color:var(--color-text-secondary);
  line-height:1.6;
  margin:0 auto .75rem;
}
.article-byline{
  text-align:center;
  font-size:.95rem;
  margin-top:.25rem;
}

.article-tools{
  display:flex;
  justify-content:center;
  gap:16px;
  margin:1.25rem auto 1.5rem;
  padding-bottom:1.25rem;
  border-bottom:1px solid var(--color-border);
}
.article-tool-btn{
  border:1px solid var(--color-border);
  background:#fff;
  padding:8px 12px;
  border-radius:999px;
  font-size:.9rem;
  cursor:pointer;
}
.article-tool-btn:hover{ border-color:#bbb; }

.article-hero-image{ max-width:900px; margin:0 auto 1.5rem; }
.article-hero-image img{ width:100%; height:auto; display:block; }

.article-content{
  max-width:640px;
  margin:0 auto;
  font-size:1.05rem;
  line-height:1.8;
}
.article-content p{ margin:0 0 1.2rem; }
.article-content h2,
.article-content h3{
  font-family:var(--font-serif);
  font-weight:400;
  line-height:1.2;
  margin:2.25rem 0 .75rem;
}

/* Single-post header compact */
body.single-post .topbar-logo-symbol{ max-height:0; opacity:0; margin:0; }
body.single-post .topbar-inner{ height:56px; }
body.single-post .topbar-logo-text{ margin-top:0; }

/* BLOKKEN */
.mission-section{
  background:#f5f5f5;
  padding:2.5rem 1rem;
  margin:2rem 0;
  text-align:center;
}
.mission-block-centered{ max-width:900px; margin:0 auto; }
.mission-block-centered .mission-block-heading{
  font-family:var(--font-serif);
  font-size:1.75rem;
  font-weight:400;
  font-style:italic;
  color:var(--color-brand);
  margin:0 0 1rem 0;
}
.mission-block-centered p{
  font-family:var(--font-sans);
  font-size:1rem;
  line-height:1.7;
  color:var(--color-text);
  margin:0;
}

/* Bron block */
.bron-block{
  border-top:1px solid var(--color-border);
  padding:20px 0;
  margin:2.5rem 0 0 0;
}
.bron-block-heading{
  font-family:var(--font-sans);
  font-size:.75rem;
  font-weight:700;
  color:var(--color-text-secondary);
  letter-spacing:.1em;
  text-transform:uppercase;
  margin:0 0 8px 0;
}
.bron-block p{ font-size:.9rem; line-height:1.6; margin:0; }
.bron-block a{ color:var(--color-brand); word-break:break-all; }

/* Handelingsperspectief */
.handelingsperspectief{
  background-color:#f6efe9;
  border-left:6px solid var(--color-brand);
  padding:28px 32px;
  margin:2.5rem 0;
}
.handelingsperspectief-heading{
  font-family:var(--font-serif);
  font-size:1.6rem;
  font-weight:400;
  line-height:1.2;
  color:var(--color-brand);
  margin:0 0 .75rem 0;
}
.handelingsperspectief p{ font-size:1rem; line-height:1.75; margin:0; }
.handelingsperspectief p + p{ margin-top:14px; }

/* Lees meer block */
.lees-meer-block{
  border-top:1px solid var(--color-border);
  padding:24px 0;
  margin:2rem 0 0 0;
}
.lees-meer-heading{ font-size:.95rem; font-weight:700; margin:0 0 16px 0; }
.lees-meer-item{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:16px;
  text-decoration:none;
  color:inherit;
}
.lees-meer-item:hover .lees-meer-title{ color:var(--color-brand); }
.lees-meer-image{ width:120px; height:80px; object-fit:cover; }
.lees-meer-title{
  font-family:var(--font-serif);
  font-size:1.05rem;
  font-weight:600;
  line-height:1.3;
  margin:0;
  transition:color .2s;
}
.lees-meer-excerpt{
  font-size:.85rem;
  line-height:1.5;
  color:var(--color-text-secondary);
  margin:0;
}

/* FOOTER */
.footer{
  background:var(--color-text);
  color:#fff;
  padding:3rem 2rem;
  margin-top:3rem;
}
.footer-inner{
  max-width:1400px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:2rem;
}
.footer-col h4{
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.1em;
  margin-bottom:1rem;
}
.footer-col a{
  display:block;
  font-size:.9rem;
  color:#aaa;
  margin-bottom:.5rem;
}
.footer-col a:hover{ color:#fff; }

/* ARCHIVE */
.archive-section{ padding:2rem 0; }
.archive-title{
  font-family:var(--font-serif);
  font-size:2.5rem;
  font-weight:400;
  text-align:center;
  margin-bottom:2rem;
  padding-bottom:1rem;
  border-bottom:1px solid var(--color-border);
}

/* SHARE MODAL */
.share-modal-overlay{
  position:fixed;
  top:0; left:0; right:0; bottom:0;
  background:rgba(0,0,0,.5);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:99999;
  opacity:0;
  visibility:hidden;
  transition:opacity .3s, visibility .3s;
}
.share-modal-overlay.active{ opacity:1; visibility:visible; }

.share-modal{
  background:#fff;
  border-radius:8px;
  padding:1.5rem;
  max-width:520px;
  width:90%;
  position:relative;
}
.share-modal-close{
  position:absolute;
  top:1rem;
  right:1rem;
  background:none;
  border:none;
  font-size:1.5rem;
  cursor:pointer;
  color:#666;
  line-height:1;
}
.share-modal-close:hover{ color:#000; }

.share-modal-title{
  font-family:var(--font-sans);
  font-size:1.25rem;
  font-weight:700;
  color:var(--color-text);
  margin:0 0 1rem 0;
}
.share-modal-text{
  font-size:.95rem;
  line-height:1.5;
  color:var(--color-text-secondary);
  margin:0 0 1rem 0;
  padding:1rem;
  background:#f5f5f5;
  border-radius:6px;
}
.share-modal-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:.5rem;
}
.share-grid-btn{
  display:flex;
  align-items:center;
  gap:.5rem;
  padding:.75rem 1rem;
  background:#f5f5f5;
  border:none;
  border-radius:6px;
  font-size:.9rem;
  color:var(--color-text);
  text-decoration:none;
  cursor:pointer;
  transition:background .2s;
}
.share-grid-btn:hover{ background:#e5e5e5; }
.share-grid-btn svg{ flex-shrink:0; }

.copy-link-btn.copied{ background:#d4edda; }
.copy-link-btn.copied span{ color:#155724; }

/* LATEST PAGE */
.latest-page{
  max-width:900px;
  margin:0 auto;
  padding:2rem 1.5rem;
}
.latest-title{
  font-family:var(--font-serif);
  font-size:3rem;
  font-weight:400;
  color:var(--color-brand);
  text-transform:uppercase;
  letter-spacing:.05em;
  margin:0 0 1.5rem 0;
  padding-bottom:1rem;
  border-bottom:1px solid #1a1a1a;
}
.latest-list{ display:flex; flex-direction:column; }
.latest-item{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:2rem;
  padding:2rem 0;
  border-bottom:1px solid #e5e5e5;
}
.latest-item-image{ display:block; overflow:hidden; }
.latest-item-image img{
  width:100%;
  height:180px;
  object-fit:cover;
  transition:transform .3s ease;
}
.latest-item:hover .latest-item-image img{ transform:scale(1.03); }
.latest-item-content{ display:flex; flex-direction:column; justify-content:center; }

.latest-item-title{
  font-family:var(--font-serif);
  font-size:1.6rem;
  font-weight:700;
  line-height:1.25;
  margin:0 0 .75rem 0;
}
.latest-item-title a{ color:var(--color-text); transition:color .2s; }
.latest-item-title a:hover{ color:var(--color-brand); }

.latest-item-excerpt{
  font-size:1rem;
  line-height:1.6;
  color:var(--color-text-secondary);
  margin:0 0 .75rem 0;
}
.latest-item-meta{ font-size:.85rem; }
.latest-item-date{
  color:var(--color-brand);
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.03em;
}

.latest-pagination{ padding:2rem 0; text-align:center; }
.latest-pagination .page-numbers{
  display:inline-block;
  padding:.5rem 1rem;
  margin:0 .25rem;
  border:1px solid #e5e5e5;
  border-radius:4px;
  transition:all .2s;
}
.latest-pagination .page-numbers:hover,
.latest-pagination .page-numbers.current{
  background:var(--color-brand);
  color:#fff;
  border-color:var(--color-brand);
}

/* ARTICLE FOOTER SECTION */
.article-footer-section{
  background:#f9f9f9;
  padding:3rem 1.5rem;
  margin-top:3rem;
}
.article-footer-inner{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  grid-template-columns:280px 1fr;
  gap:3rem;
}

.section-title{
  font-family:var(--font-sans);
  font-size:.8rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.1em;
  margin:0 0 1.25rem 0;
  padding-bottom:.75rem;
  border-bottom:2px solid #1a1a1a;
}

/* Populair lijst */
.most-popular{
  border-right:1px solid #e0e0e0;
  padding-right:2rem;
}
.most-popular-list{ list-style:none; padding:0; margin:0; }
.most-popular-item{
  display:flex;
  gap:.75rem;
  padding:.875rem 0;
  border-bottom:1px solid #e5e5e5;
  align-items:baseline;
}
.most-popular-item:first-child{ padding-top:0; }
.most-popular-item:last-child{ border-bottom:none; }

.popular-content{ flex:1; }
.popular-title{
  font-family:var(--font-serif);
  font-size:1rem;
  font-weight:600;
  line-height:1.35;
  color:var(--color-text);
  transition:color .2s;
  text-transform:none;
}
.popular-title:hover{ color:var(--color-brand); }

/* Meer artikelen grid */
.more-articles-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:2rem;
}
.more-article-card{
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color:inherit;
}
.more-article-image{
  position:relative;
  overflow:hidden;
  margin-bottom:1rem;
  width:100%;
  height:0;
  padding-bottom:62.5%;
  background:#f0f0f0;
}
.more-article-image img{
  position:absolute !important;
  top:0 !important;
  left:0 !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  object-fit:cover !important;
  transition:transform .4s ease;
}
.more-article-card:hover .more-article-image img{ transform:scale(1.05); }

.more-article-title{
  font-family:var(--font-serif);
  font-size:1.1rem;
  font-weight:600;
  line-height:1.35;
  margin:0 0 .5rem 0;
  color:var(--color-text);
  transition:color .2s ease;
}
.more-article-card:hover .more-article-title{ color:var(--color-brand); }
.more-article-excerpt{
  font-family:var(--font-sans);
  font-size:.9rem;
  line-height:1.6;
  color:var(--color-text-secondary);
  margin:0;
}

/* CONTACT PAGE */
.contact-page{ padding:2.25rem 1rem 3rem; }
.contact-wrap{ max-width:640px; margin:0 auto; }

.contact-title{
  font-family:var(--font-serif);
  font-weight:400;
  font-size:clamp(2.2rem, 3.2vw, 3rem);
  line-height:1.1;
  text-align:center;
  margin:0 0 1rem 0;
}
.contact-photo{
  display:flex;
  justify-content:center;
  margin:1.25rem 0 1.75rem;
}
.contact-photo img{
  width:140px;
  height:auto;
  border-radius:6px;
  display:block;
}
.contact-intro{
  text-align:center;
  color:var(--color-text-secondary);
  font-size:1.05rem;
  line-height:1.7;
  margin:0 0 1.75rem 0;
}
.contact-alert{
  border:1px solid var(--color-border);
  border-radius:6px;
  padding:.9rem 1rem;
  margin:0 0 1.25rem 0;
  font-size:.95rem;
}
.contact-alert--success{ background:#f5f5f5; }
.contact-alert--error{ background:#fff5f5; }

.contact-form{
  border-top:1px solid var(--color-border);
  padding-top:1.5rem;
  margin-top:1.25rem;
}
.contact-field{ margin:0 0 1rem 0; }
.contact-field label{
  display:block;
  font-size:.85rem;
  font-weight:700;
  letter-spacing:.02em;
  margin:0 0 .35rem 0;
}
.contact-field input,
.contact-field textarea{
  width:100%;
  padding:.75rem .9rem;
  border:2px solid #ddd;
  border-radius:4px;
  font-family:var(--font-sans);
  font-size:1rem;
  line-height:1.4;
  background:#fff;
}
.contact-field input:focus,
.contact-field textarea:focus{
  outline:none;
  border-color:var(--color-brand);
}
.contact-submit{
  display:inline-block;
  padding:.75rem 1.25rem;
  background:var(--color-brand);
  color:#fff;
  border:none;
  border-radius:4px;
  cursor:pointer;
  font-family:var(--font-sans);
  font-weight:700;
  font-size:.95rem;
  transition:background .2s;
}
.contact-submit:hover{ background:#a12121; }
.contact-privacy{
  margin-top:.9rem;
  color:var(--color-text-secondary);
  font-size:.9rem;
  line-height:1.6;
}
.contact-subtitle{
  font-family:var(--font-sans);
  font-size:.8rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.1em;
  margin:2rem 0 .75rem 0;
  padding-bottom:.5rem;
  border-bottom:2px solid #1a1a1a;
}
.contact-link{ color:var(--color-text); text-decoration:none; }
.contact-link:hover{ color:var(--color-brand); }
.contact-sep{ color:#bbb; padding:0 .4rem; }

.contact-redactie{
  border-top:1px solid var(--color-border);
  margin-top:2.25rem;
  padding-top:1.25rem;
}
.contact-redactie-line{
  font-size:.9rem;
  color:var(--color-text-secondary);
  text-align:center;
  margin:0;
}
.contact-hp{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}

/* RESPONSIVE (geconsolideerd) */
@media (max-width:1024px){
  .hero-section{ grid-template-columns:1fr 1.5fr; }
  .popular-sidebar{
    grid-column:1 / -1;
    border-left:none;
    border-top:1px solid var(--color-border);
    padding-left:0;
    padding-top:2rem;
    display:flex;
    flex-wrap:wrap;
    gap:1rem;
  }
  .popular-title{ width:100%; }
  .popular-item{ flex:1 1 45%; }
  .article-grid{ grid-template-columns:repeat(2, 1fr); }
}

@media (max-width:1000px){
  .topbar-nav{ display:none; }
  .topbar-inner{ height:80px; }
  .topbar-logo-symbol{ font-size:2.5rem; max-height:45px; }
  .topbar-logo-text{ font-size:1.1rem; }

  .dropdown-columns{ flex-direction:column; gap:.5rem; }
  .dropdown-inner{ flex-direction:column; gap:2rem; }
  .dropdown-section--secondary{
    padding-left:0;
    border-left:none;
    border-top:1px solid #e5e5e5;
    padding-top:1.5rem;
    flex-direction:row;
    flex-wrap:wrap;
    gap:1rem 2rem;
  }
}

@media (max-width:900px){
  .masthead-logo{ font-size:56px; }
  .masthead-title{ font-size:18px; }

  .article-footer-inner{
    grid-template-columns:1fr;
    gap:2.5rem;
  }
  .most-popular{
    border-right:none;
    padding-right:0;
    border-bottom:1px solid #e0e0e0;
    padding-bottom:2rem;
  }
  .more-articles-grid{ grid-template-columns:repeat(2, 1fr); }
}

@media (max-width:768px){
  .main{ padding:1.25rem; }

  .hero-section{ grid-template-columns:1fr; }
  .hero-main{ order:1; }
  .hero-sidebar-left{ order:2; }
  .popular-sidebar{ order:3; }

  .hero-featured-title{ font-size:1.75rem; }
  .popular-item{ flex:1 1 100%; }

  .article-grid{ grid-template-columns:1fr; }
  .footer-inner{ grid-template-columns:repeat(2, 1fr); }

  .search-result{ flex-direction:column; gap:1rem; }
  .search-result-image{ width:100%; }

  .latest-item{ grid-template-columns:1fr; gap:1rem; }
  .latest-item-image img{ height:200px; }
  .latest-title{ font-size:2rem; }
  .latest-item-title{ font-size:1.3rem; }
}

@media (max-width:600px){
  .topbar-inner{ height:56px; padding:0 1rem; }
  .topbar-logo-symbol{ font-size:1.75rem; max-height:32px; }
  .topbar-logo-text{ font-size:.95rem; margin-top:.1rem; }
  .btn-subscribe{ display:none; }
  .icon-btn{ width:36px; height:36px; }

  .masthead-logo{ font-size:48px; }

  .more-articles-grid{ grid-template-columns:1fr; }
  .article-footer-section{ padding:2rem 1rem; }
}

@media (max-width:480px){
  .share-modal-grid{ grid-template-columns:1fr 1fr; }
}

@media (max-width:400px){
  .topbar-logo-text{ display:none; }
  .site-header.scrolled .topbar-logo-symbol{ max-height:32px; opacity:1; }
}
/* TAGS onderaan artikel: "Ontdek meer onderwerpen" als blokjes */
.explore-topics{
  max-width:640px;
  margin:2rem auto 0;
  padding-top:1.25rem;
  border-top:1px solid var(--color-border);
}

.explore-topics-heading{
  font-family:var(--font-sans);
  font-size:.8rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.1em;
  margin:0 0 .75rem 0;
  color:var(--color-text);
}

.explore-topics-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.explore-topics-list a{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  background:var(--color-brand);
  color:#fff;

  padding:8px 12px;
  border-radius:10px;   /* maak 999px als je liever pills wilt */
  font-size:.9rem;
  font-weight:700;
  line-height:1;
  text-transform:none;

  transition:filter .15s ease, transform .15s ease;
}

.explore-topics-list a:hover{
  filter:brightness(.92);
  transform:translateY(-1px);
}

.explore-topics-list a:focus-visible{
  outline:2px solid var(--color-brand);
  outline-offset:2px;
}