/* Nieuwint & Van Beek – static site stylesheet. No external fonts. */
:root{
  --navy:#002582; --canal:#1f6fc5; --mist:#eef4fb; --paper:#ffffff;
  --ink:#1f2933; --muted:#52606d; --rule:#d6dee6;
  /* Adjust colours and fonts here to fine-tune the match with the house style */
  --serif:Merriweather,"Iowan Old Style","Sitka Text",Cambria,Georgia,serif;  /* close to the typeface in the logo */
  --sky:#4ea2f5;   /* light blue taken from the icons */
  --sans:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --wrap:68rem;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--sans);font-size:1.0625rem;line-height:1.6;color:var(--ink);background:var(--paper)}
img{max-width:100%;height:auto}
a{color:var(--canal);text-underline-offset:.15em}
a:hover{color:var(--navy)}
:focus-visible{outline:3px solid var(--canal);outline-offset:2px}
h1,h2,h3{font-family:var(--serif);color:var(--navy);line-height:1.2;font-weight:700}
h1{font-size:clamp(2rem,4vw,2.75rem);margin:0 0 1rem}
h2{font-size:1.6rem;margin:2rem 0 .75rem}
h3{font-size:1.2rem;margin:1.25rem 0 .4rem}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 1.25rem}
.skip{position:absolute;left:-999px}.skip:focus{left:1rem;top:1rem;background:#fff;padding:.5rem 1rem;z-index:10}

/* Header */
.topbar{background:var(--navy);color:#dbe6f0;font-size:.875rem}
.topbar a{color:#fff}
.topbar-inner{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.25rem 1.5rem;padding:.45rem 1.25rem}
.topbar-links{display:flex;flex-wrap:wrap;gap:.25rem 1.25rem}
.logins a{margin-left:.5rem}
.header-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.25rem}
.logo img{display:block;height:auto;max-height:60px;width:auto}
.site-header nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.25rem 1.25rem}
.site-header nav a{color:var(--navy);text-decoration:none;font-weight:600;padding:.25rem 0;border-bottom:2px solid transparent}
.site-header nav a:hover,.site-header nav a[aria-current="page"]{border-bottom-color:var(--canal)}
.site-header{border-bottom:1px solid var(--rule)}

/* Hero */
.hero{background:var(--mist);border-bottom:1px solid var(--rule)}
.hero-inner{padding:4rem 1.25rem 3.5rem;max-width:52rem;margin-left:max(0px,calc((100% - var(--wrap))/2))}
.since{font-family:var(--serif);font-size:1.1rem;color:var(--canal);margin:0 0 .5rem}
.hero h1{font-size:clamp(2.4rem,6vw,4rem);margin-bottom:1.5rem}
.hero blockquote{font-family:var(--serif);font-size:clamp(1.25rem,2.4vw,1.6rem);font-style:italic;line-height:1.45;color:var(--ink);margin:0 0 2rem;padding-left:1.25rem;border-left:4px solid var(--canal);max-width:40rem}

.button{display:inline-block;background:var(--navy);color:#fff;text-decoration:none;font-weight:600;padding:.7rem 1.3rem;border-radius:4px}
.button:hover{background:var(--canal);color:#fff}

/* Sections */
main>section{margin-bottom:3rem}
.page-head{padding-top:2.5rem}
.lead{font-size:1.15rem;max-width:44rem;color:var(--muted)}
.note{font-size:.95rem;background:var(--mist);border-left:4px solid var(--canal);padding:.75rem 1rem;max-width:44rem}
.band{background:var(--mist);padding:1rem 0 2.5rem;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.two-col{display:grid;grid-template-columns:repeat(auto-fit,minmax(18rem,1fr));gap:2rem 3rem;align-items:start}

.services-strip ul{list-style:none;margin:2.5rem 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.services-strip li+li{border-left:1px solid var(--rule)}
.services-strip a{display:block;padding:1.25rem 1rem;font-family:var(--serif);font-size:1.35rem;font-weight:700;color:var(--navy);text-decoration:none;text-align:center}
.services-strip a:hover{background:var(--mist)}

.checks{list-style:none;padding:0;margin:1rem 0}
.checks li{padding:.55rem 0 .55rem 2rem;border-bottom:1px solid var(--rule);position:relative}
.checks li::before{content:"";position:absolute;left:.25rem;top:1.05rem;width:.8rem;height:.45rem;border-left:3px solid var(--canal);border-bottom:3px solid var(--canal);transform:rotate(-45deg)}

.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));gap:1.5rem 2rem}
.features h3{margin-top:.5rem}.features p{margin:0;color:var(--muted)}

.services{display:grid;grid-template-columns:repeat(auto-fit,minmax(20rem,1fr));gap:0 3rem}
.services article{border-top:3px solid var(--navy);margin-top:1rem}
.services h2{margin-top:1rem}
.newsletter{display:flex;flex-wrap:wrap;gap:2rem;align-items:center}
.newsletter img{flex:0 0 auto;max-width:250px}
.newsletter div{flex:1 1 20rem}

/* Posts */
.posts,.recent{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(19rem,1fr));gap:2rem}
.post,.recent li{border-top:1px solid var(--rule);padding-top:1rem}
.post h2{font-size:1.25rem;margin:.25rem 0 .5rem}
.post p,.recent p{margin:0 0 .5rem;color:var(--muted);font-size:.975rem}
.meta{font-size:.875rem!important}
.cat{color:var(--canal);font-weight:600;margin-right:.5rem}

/* Team */
.team{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));gap:2rem}
.person img{width:140px;height:140px;object-fit:cover;border-radius:50%;background:var(--mist);display:block}
.person h3{margin:.75rem 0 .1rem}
.role{margin:0 0 .5rem;color:var(--muted);font-weight:600;font-size:.95rem}
.person p:last-child{margin:0;font-size:.95rem}

/* Contact */
.contact-quote{margin:0}
.contact-quote img{display:block;margin-bottom:1rem}
.contact-quote blockquote{margin:0;font-family:var(--serif);font-style:italic;font-size:1.2rem;line-height:1.5;border-left:4px solid var(--canal);padding-left:1rem}
.contact-info h2{margin-top:0}
address{font-style:normal}

/* Prose (legal pages) */
.prose{max-width:46rem;padding-top:2.5rem}
.prose ol ol{margin-top:.5rem}
.prose li{margin-bottom:.5rem}
.downloads .button{margin:0 .5rem .5rem 0}

/* Footer */
.site-footer{background:var(--navy);color:#dbe6f0;padding:3rem 0 2.5rem;font-size:.95rem}
.site-footer a{color:#fff}
.site-footer h2{color:#fff;font-size:1.1rem;margin:0 0 .75rem}
.footer-claim{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 2rem;padding-bottom:2rem;margin-bottom:2rem;border-bottom:1px solid rgba(255,255,255,.2)}
.footer-claim img{background:#fff;padding:.5rem;border-radius:4px}
.claim{font-family:var(--serif);font-size:1.4rem;color:#fff;margin:0}
.footer-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));gap:2rem}
.footer-cols ul{list-style:none;margin:0;padding:0}
.footer-cols li{margin-bottom:.35rem}
.members{display:flex;flex-wrap:wrap;gap:.75rem}
.members img{height:48px;width:auto;background:#fff;padding:.3rem;border-radius:4px;display:block}

@media (max-width:40rem){
  .services-strip li+li{border-left:0;border-top:1px solid var(--rule)}
  .hero-inner{padding-top:2.5rem}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
@media print{.topbar,.site-header nav,.site-footer{display:none}}

/* Hero with photo */
.hero{background-color:#f4f6f8;background-repeat:no-repeat;background-size:cover;border-bottom:0}
.hero-home{background-image:url("../img/hero-home.jpg");background-position:right center}
.hero-inner{min-height:30rem;display:flex;flex-direction:column;justify-content:center}
.hero-home .hero-inner{max-width:var(--wrap);margin:0 auto}
.hero-home .hero-inner>*{max-width:30rem}
.hero .lead{color:var(--ink)}
.since{font-family:var(--sans);font-size:.95rem;font-weight:600;letter-spacing:.01em}
@media (max-width:52rem){
  .hero{background-image:none!important;background:var(--mist)}
  .hero-inner{min-height:0}
  }

/* Login menu without JavaScript */
.login{position:relative}
.login summary{cursor:pointer;list-style:none;font-weight:600;color:#fff;background:var(--canal);padding:.35rem .8rem;border-radius:4px;display:flex;align-items:center;gap:.4rem}
.login summary::-webkit-details-marker{display:none}
.login summary img{display:block}
.login details[open] summary{background:var(--navy)}
.login details ul{position:absolute;right:0;top:calc(100% + .4rem);background:#fff;border:1px solid var(--rule);border-radius:4px;box-shadow:0 6px 18px rgba(20,50,90,.12);padding:.5rem 0;min-width:15rem;display:block;z-index:20}
.login details li{display:block}
.login details a{display:block;padding:.45rem 1rem;border:0}
.login details a:hover{background:var(--mist)}
.login .small a{font-size:.85rem;font-weight:400;color:var(--canal)}
.site-header nav>ul{align-items:center}

/* Team: don't crop the illustrations */
.person img{border-radius:0;object-fit:contain;background:transparent;width:160px;height:160px}

.doc-link a{display:inline-block;padding:.5rem .9rem;border:1px solid var(--canal);border-radius:4px;text-decoration:none;font-weight:600}
.doc-link a::before{content:"PDF";font-size:.7rem;font-weight:700;color:#fff;background:#c0392b;border-radius:2px;padding:.05rem .3rem;margin-right:.5rem;vertical-align:.1em}
.doc-link a:hover{background:var(--mist)}

/* ---- House-style tuning based on the real images ---- */
.logo img{max-height:84px;width:auto}
.header-inner{padding:.75rem 1.25rem}
.login summary{background:var(--navy)}
.login details[open] summary,.login summary:hover{background:var(--canal)}
.hero blockquote,.contact-quote blockquote{border-left-color:var(--sky)}
.checks li::before{border-color:var(--sky)}
.services article{border-top-color:var(--sky)}
.since{color:var(--canal)}
.features .icon{height:36px;width:auto;display:block}
.newsletter img{max-width:250px}
.page-head>div{max-width:46rem}

/* Light footer: the grey membership logos show up better */
.site-footer{background:#f1f4f8;color:var(--ink);border-top:4px solid var(--navy)}
.site-footer a{color:var(--navy)}
.site-footer h2{color:var(--navy)}
.footer-claim{border-bottom-color:var(--rule)}
.footer-claim img{background:none;padding:0;border-radius:0}
.claim{color:var(--navy)}
.members{align-items:center;gap:1.25rem}
.members img{background:none;padding:0;height:auto;max-height:56px}
.members li:last-child img{max-height:70px}
main>section.band:last-child{margin-bottom:0}

/* SRA Nieuwsbank */
.news-message{color:var(--muted);font-style:italic}
.post-img{display:block;margin-bottom:.75rem}
.post-img img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:4px;background:var(--mist)}
.news-more{margin-top:2rem;border:0;cursor:pointer;font:inherit;font-weight:600}
.news-more[disabled]{opacity:.6;cursor:wait}
.recent-news .posts{grid-template-columns:repeat(auto-fill,minmax(16rem,1fr))}
.source{font-size:.875rem;color:var(--muted);margin-top:2rem}
.back{font-size:.95rem}
.article-img{display:block;width:100%;height:auto;border-radius:4px;margin:1.5rem 0}
.article-body table{border-collapse:collapse;display:block;overflow-x:auto;margin:1rem 0}
.article-body th,.article-body td{border:1px solid var(--rule);padding:.4rem .6rem;text-align:left}
.article-body img{max-width:100%;height:auto}
.news-detail{font-size:.8rem;color:var(--muted);font-family:ui-monospace,Consolas,monospace}

/* Cookie notice: pinned to the top of the window, pushes the page down instead of covering it */
.cookie-bar{position:sticky;top:0;z-index:50;background:var(--mist);color:var(--ink);border-bottom:1px solid var(--rule);
  padding:calc(.9rem + env(safe-area-inset-top,0px)) 1.25rem .9rem;box-shadow:0 4px 16px rgba(0,0,0,.15);
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.75rem 1.5rem}
.cookie-bar p{margin:0;max-width:44rem;font-size:.95rem}
.cookie-actions{display:flex;flex-wrap:wrap;gap:.5rem}
/* Both buttons identical (same as the site's other buttons), whether <button> or <a> */
.cookie-bar .button{display:inline-block;box-sizing:border-box;min-width:14rem;text-align:center;
  background:var(--navy);color:#fff;border:0;border-radius:4px;padding:.6rem 1.1rem;
  font-family:var(--sans);font-size:.95rem;font-weight:600;line-height:1.4;text-decoration:none;cursor:pointer;margin:0}
.cookie-bar .button:hover{background:var(--canal);color:#fff}
.cookie-bar :focus-visible{outline:3px solid var(--canal);outline-offset:2px}
@media print{.cookie-bar{display:none}}
