/* =============================================
   JouwStem – Main Stylesheet
   ============================================= */

/* Fredoka – rounded display font, via Bunny Fonts (no Google) */
@import url('https://fonts.bunny.net/css?family=fredoka:400,500,600,700&display=swap');

/* Merriweather – via Bunny Fonts (no Google) */
@import url('https://fonts.bunny.net/css?family=merriweather:400,700&display=swap');

/* Open Sans – via Bunny Fonts (no Google) */
@import url('https://fonts.bunny.net/css?family=open-sans:400,600,700&display=swap');

:root {
  --teal: #0a938a;
  --teal-dark: #066e68;
  --teal-deep: #033b36;
  --mint: #e4f1f0;
  --mint-2: #d5e9e7;
  --circle: #93cbc6;
  --text: #12403c;
  --white: #fff;
  --muted: #567;

  /* Theme circle palette (matches attachment) */
  --c1: #0d7b74;   /* dark teal   */
  --c2: #34a878;   /* green       */
  --c3: #67c1c4;   /* light teal  */
  --c4: #2b8ec4;   /* blue        */
  --c5: #79c144;   /* leaf green  */

  --rounded: 'Fredoka', 'Open Sans', sans-serif;
  --serif: 'Merriweather', Georgia, serif;
  --body: 'Open Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--body);
  background: var(--mint);
  color: var(--text);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: inherit; }

/* ============ NAVBAR ============ */
.js-navbar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: .9rem 2rem;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.js-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.js-brand-name {
  font-family: var(--rounded);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: .01em;
  color: var(--teal);
  line-height: 1;
}
.js-brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.js-nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-left: auto;
  flex-wrap: wrap;
}
.js-nav-links a {
  font-family: var(--rounded);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  transition: color .15s;
  white-space: nowrap;
}
.js-nav-links a:hover { color: var(--teal-dark); }

.js-nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  color: var(--teal);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ============ MAIN / SECTIONS ============ */
.js-main { display: block; flex: 1 0 auto; }

.js-section {
  padding: 3rem 2rem;
}
.js-section-white { background: var(--white); }
.js-section-mint  { background: var(--mint); }

.js-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.js-heading {
  font-family: var(--rounded);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}

.js-more {
  font-family: var(--rounded);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
  white-space: nowrap;
}
.js-more:hover { color: var(--teal-dark); text-decoration: underline; }

.js-section-intro { color: var(--muted); margin: -1rem 0 1.5rem; max-width: 760px; }
.js-muted { color: var(--muted); }
.js-muted a { color: var(--teal); }

/* ============ HERO ============ */
.js-hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 1rem;
  padding: 3rem 2rem 4rem;
  background: var(--teal-dark);
}
.js-hero-text {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.js-hero-text p {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 1.4rem;
  line-height: 1.6;
}
.js-hero-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--white);
  margin: 0.8rem 0 2rem;
}
.js-hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.js-hero-link {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
}
.js-hero-link:hover { color: var(--mint-2); }

.js-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.js-hero-visual img {
  width: min(560px, 100%);
  height: auto;
  object-fit: contain;
}

/* ============ BUTTONS ============ */
.js-btn {
  display: inline-block;
  font-family: var(--rounded);
  font-weight: 500;
  font-size: 1.15rem;
  text-decoration: none;
  padding: .55rem 1.1rem;
  border-radius: 3px;
  transition: background .15s, color .15s, opacity .15s;
  cursor: pointer;
}
.js-btn-solid {
  background: var(--teal);
  color: #fff;
}
.js-btn-solid:hover { background: var(--teal-dark); }
.js-btn-ghost {
  background: transparent;
  color: var(--white);
  padding-left: .2rem;
}
.js-btn-ghost:hover { color: var(--teal-dark); }
.js-btn-block {
  display: block;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  padding: .7rem 1rem;
}

/* ============ ONZE THEMA'S ============ */
.js-themes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.js-theme {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
  text-decoration: none;
  color: var(--teal);
}
.js-theme-circle {
  width: 130px;
  height: 130px;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3.5rem;
  transition: transform .18s;
}
.js-theme-logo {
  width: 130px;
  height: 130px;
  max-width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  transition: transform .18s;
}
.js-theme:hover .js-theme-logo { transform: translateY(-4px); }
.js-theme:hover .js-theme-circle { transform: translateY(-4px); }
.js-theme-c1 { background: var(--c1); }
.js-theme-c2 { background: var(--c2); }
.js-theme-c3 { background: var(--c3); }
.js-theme-c4 { background: var(--c4); }
.js-theme-c5 { background: var(--c5); }
/* wrap-around for >5 categories */
.js-theme-c6 { background: var(--c1); }
.js-theme-c7 { background: var(--c2); }
.js-theme-c8 { background: var(--c3); }
.js-theme-c9 { background: var(--c4); }
.js-theme-c10 { background: var(--c5); }
.js-theme-label {
  font-family: var(--rounded);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--teal);
  text-align: center;
}

/* ============ NEWS GRID / CARDS ============ */
.js-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.js-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: #fff;
  aspect-ratio: 3/2.2;
  background: var(--circle);
}
.js-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.js-card:hover img { transform: scale(1.05); }
.js-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 40%, rgba(0,0,0,.05) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
}
.js-card-badge {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: .15rem .45rem;
  border-radius: 3px;
  margin-bottom: .4rem;
  width: fit-content;
}
.js-card-badge.video { background: #e63946; }
.js-card-title {
  font-family: var(--rounded);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  margin-bottom: .3rem;
}
.js-card-meta {
  font-size: .72rem;
  color: rgba(255,255,255,.75);
  display: flex;
  gap: .5rem;
}

.js-sentinel {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.js-spinner {
  display: none;
  color: var(--muted);
  font-size: .85rem;
}

/* ============ DOE MEE ============ */
.js-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.js-cta {
  background: var(--mint);
  border-radius: 4px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.js-cta-body {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.js-cta-body > i {
  font-size: 2.4rem;
  color: var(--teal);
  flex-shrink: 0;
}
.js-cta-body h3 {
  font-family: var(--rounded);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--teal);
  line-height: 1;
}
.js-cta-body p {
  font-size: .9rem;
  color: var(--muted);
  margin-top: .25rem;
}

/* ============ ARTICLE DETAIL ============ */
.js-article-body-col { max-width: 820px; margin: 0 auto; }
.js-article-cat {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: 3px;
  margin-bottom: .75rem;
  text-decoration: none;
}
.js-article-title {
  font-family: var(--rounded);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: .6rem;
  color: var(--text);
}
.js-article-lead {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--muted);
  border-left: 4px solid var(--teal);
  padding-left: .9rem;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}
.js-article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .82rem;
  color: var(--muted);
  padding: .6rem 0;
  border-top: 1px solid #e6efee;
  border-bottom: 1px solid #e6efee;
  margin-bottom: 1.2rem;
}
.js-article-img { width: 100%; border-radius: 4px; margin-bottom: 1.2rem; }
.js-article-content {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}
.js-article-content h2,
.js-article-content h3 {
  font-family: var(--rounded);
  margin: 1.5rem 0 .5rem;
}
.js-article-content img { max-width: 100%; border-radius: 4px; }
.js-article-content blockquote {
  border-left: 4px solid var(--teal);
  padding: .5rem 1rem;
  color: var(--muted);
  font-style: italic;
  margin: 1rem 0;
}

/* ---- SHARE BUTTONS ---- */
.js-share { display: flex; gap: .5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.js-share a {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .35rem .8rem;
  border: 2px solid var(--teal);
  border-radius: 4px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.js-share a:hover { background: var(--teal); color: #fff; }

/* ---- VIDEO ---- */
.js-video-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1.2rem;
  background: #000;
}
.js-video-wrap iframe,
.js-video-wrap video { width: 100%; height: 100%; border: none; }

/* ---- PAGINATION ---- */
.js-pagination {
  display: flex;
  gap: .3rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.js-pagination a,
.js-pagination span {
  display: inline-block;
  padding: .35rem .75rem;
  border: 2px solid var(--teal);
  border-radius: 4px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.js-pagination a:hover,
.js-pagination span.current { background: var(--teal); color: #fff; }

/* ============ FOOTER ============ */
.js-footer {
  background: var(--teal-deep);
  color: #fff;
  margin-top: 0;
  flex-shrink: 0;
}
.js-footer-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: .7rem 2rem;
  flex-wrap: wrap;
}
.js-footer-brand {
  font-family: var(--rounded);
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
}
.js-footer-social {
  margin-left: auto;
  text-align: right;
}
.js-footer-social p {
  font-size: .8rem;
  color: rgba(255,255,255,.9);
  margin-bottom: .35rem;
  line-height: 1.35;
}
.js-social-icons {
  display: flex;
  gap: .8rem;
  justify-content: flex-end;
}
.js-social-icons a {
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  transition: opacity .15s;
}
.js-social-icons a:hover { opacity: .75; }
.js-social-icons a {
  display: inline-flex;
  align-items: center;
}
.js-social-svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: currentColor;
  display: block;
}
.js-footer-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.js-footer-legal {
  text-align: center;
  padding: .4rem 1rem .7rem;
  font-size: .75rem;
  color: rgba(255,255,255,.7);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .js-hero { grid-template-columns: 1fr; }
  .js-hero-visual { order: -1; }
  .js-hero-visual img { width: 220px; }
  .js-themes { grid-template-columns: repeat(3, 1fr); }
  .js-grid { grid-template-columns: repeat(2, 1fr); }
  .js-cta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .js-navbar { flex-wrap: wrap; gap: .75rem; padding: .8rem 1rem; }
  .js-nav-toggle { display: block; }
  .js-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: .6rem;
    margin-left: 0;
    background: var(--white);
    padding: 1rem 1rem 1.2rem;
    box-shadow: 0 8px 12px rgba(0, 0, 0, .08);
    border-bottom: 1px solid var(--mint-2);
  }
  .js-nav-links.open { display: flex; }
  .js-nav-links a { font-size: 1.4rem; }
  .js-section, .js-hero { padding: 2rem 1rem; }
  .js-heading { font-size: 1.9rem; }
  .js-themes { grid-template-columns: repeat(2, 1fr); }
  .js-theme-circle { width: 96px; font-size: 2.6rem; }
  .js-theme-logo { width: 96px; }
  .js-footer-inner { flex-direction: column; text-align: center; gap: 1.2rem; }
  .js-footer-social { margin-left: 0; text-align: center; }
  .js-social-icons { justify-content: center; }
}
@media (max-width: 460px) {
  .js-grid { grid-template-columns: 1fr; }
  .js-themes { grid-template-columns: repeat(2, 1fr); }
  .js-hero-title { font-size: 1.9rem; }
  .js-article-title { font-size: 1.6rem; }
}

/* ============ MANIFEST ============ */
.js-manifest-hero {
  background: var(--teal-dark);
  color: #fff;
  text-align: center;
  padding: 1.5rem 2rem;
}
.js-manifest-title {
  font-family: var(--rounded);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: #fff;
}
.js-manifest-subtitle {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: rgba(255, 255, 255, .9);
  margin-top: .8rem;
}

.js-manifest-nav {
  position: sticky;
  top: calc(var(--nav-h, 71px) - 1px);
  z-index: 50;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: var(--white);
  padding: 1.2rem 2rem;
  border-bottom: 1px solid var(--mint-2);
}
.js-manifest-navitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  text-decoration: none;
  color: var(--teal);
  width: 96px;
}
.js-manifest-navitem img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  transition: transform .18s;
}
.js-manifest-navitem:hover img { transform: translateY(-3px); }
.js-manifest-navitem span {
  font-family: var(--rounded);
  font-weight: 600;
  font-size: .85rem;
  text-align: center;
  line-height: 1.2;
}

.js-manifest-body { scroll-margin-top: calc(var(--stack-h, 200px)); }
.js-manifest-body .js-heading { margin-bottom: 1.2rem; }

.js-manifest-theme-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.js-manifest-theme-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}
.js-manifest-theme-head .js-heading { margin-bottom: 0; }
.js-manifest-theme-tagline {
  margin: .2rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--teal);
}

.js-manifest-text {
  max-width: 780px;
}
.js-manifest-text p {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.2rem;
}
.js-manifest-theme-subject {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .82rem !important;
  font-family: inherit !important;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: .6rem !important;
}
.js-manifest-points {
  margin: 0;
  padding-left: 1.3rem;
  list-style: none;
}
.js-manifest-points li {
  position: relative;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1rem;
  padding-left: .4rem;
}
.js-manifest-points li::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: .62em;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--teal);
}

.js-manifest-download {
  text-align: center;
}
.js-manifest-download p {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--text);
}
.js-manifest-download a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
}
.js-manifest-download a:hover { color: var(--teal-dark); }

@media (max-width: 760px) {
  .js-manifest-nav { top: calc(var(--nav-h, 68px) - 1px); gap: 1rem; padding: 1rem; }
  .js-manifest-navitem { width: 74px; }
  .js-manifest-navitem img { width: 44px; height: 44px; }
  .js-manifest-navitem span { font-size: .72rem; }
  .js-manifest-title { font-size: 2.2rem; }
}

/* ============ INFO PAGES (word lid / doneer / contact) ============ */
.js-page-hero {
  background: var(--teal-dark);
  color: #fff;
  text-align: center;
  padding: 3.5rem 2rem;
}
.js-page-title {
  font-family: var(--rounded);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: #fff;
}
.js-page-subtitle {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: rgba(255, 255, 255, .9);
  margin-top: .8rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.js-info-intro {
  max-width: 820px;
  margin: 0 auto 2.5rem;
}
.js-info-intro p {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text);
}

.js-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 820px;
  margin: 0 auto;
}
.js-info-block {
  background: var(--mint);
  border-radius: 6px;
  padding: 1.5rem 1.6rem;
}
.js-info-label {
  font-family: var(--rounded);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--teal);
  margin-bottom: .8rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.js-info-address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
}
.js-info-address strong { font-weight: 700; }
.js-info-link {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}
.js-info-link:hover { color: var(--teal-dark); }

.js-info-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .35rem 1rem;
  font-size: 1rem;
}
.js-info-list dt {
  font-weight: 600;
  color: var(--muted);
}
.js-info-list dd {
  color: var(--text);
  word-break: break-word;
}

.js-info-legal {
  margin: 2.5rem auto 0;
  max-width: 820px;
}
.js-info-legal p {
  font-family: var(--serif);
  font-size: .98rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1rem;
}

@media (max-width: 760px) {
  .js-page-title { font-size: 2.2rem; }
}