:root {
  /* Brand palette */
  --green-dark: #1b4332;
  --green: #2d6a4f;
  --green-light: #95d5b2;
  --accent: #E88173;

  /* Neutral + surface */
  --bg: #F5F1E9;
  --text: #1d1d1d;
  --surface: #ffffff;
  --muted: #555;

  /* Layout scales */
  --container-max: 900px;
  --container-news: 850px;
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 6px rgba(0,0,0,.04);
  --shadow: 0 4px 8px rgba(0,0,0,.05);
  --shadow-lg: 0 4px 12px rgba(0,0,0,.10);

  /* Focus */
  --focus: #0b57d0;
}


/* Reset */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

/* Base */
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
}

header {
  background: linear-gradient(90deg, rgba(45,106,79,0.95) 0%, rgba(27,67,50,0.95) 100%);
  background-repeat: repeat;
  background-size: auto;
  background-blend-mode: multiply;
  padding-top: 2rem;
  padding-bottom: 2rem;
  color: white;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

main {
  max-width: var(--container-news);
  margin: auto;
  padding: 3rem 2rem;
  text-align: center;
}
main.newspage { max-width: var(--container-news); text-align: left; }
main.home { padding-bottom: 0; }

p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 1.8rem;
  margin-block-start: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
  margin-bottom: 1.5rem;
}

/* Logos */
.logos {
  display: flex;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.logos img {
  max-height: 105px;
  transition: transform 0.3s ease;
}

footer {
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin: auto;
}

.intro-heading {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
  color: var(--green);
}

/* Logo hover */
.logo-hover-container { position: relative; display: inline-block; }
.logo-hover-container img.hover {
  position: absolute; top: 0; left: 0; opacity: 0; transition: opacity 0.3s ease;
}
.logo-hover-container:hover img.hover { opacity: 1; }
.logo-hover-container:hover img.base { opacity: 0; }

/* Responsive base */
@media (max-width: 600px) {
  header { padding: 1rem 1rem; }
  header h1 { font-size: 2rem; }
  .intro-heading { margin-bottom: 1.5rem; }
  main { padding: 1rem 1rem 0 1rem; }
  footer { padding: 1rem 0; }
  .logos { padding: 1rem; margin-top: 2rem; gap: 0; }
  .logos img { max-height: 85px; margin-bottom: .5rem; }
}

/* Dividers */
.section-divider {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid #ddd;
  width: 100%;
}

/* ————————————— NEWS + INVESTMENTS ————————————— */
.news,
.investments {
  max-width: var(--container-max);
  margin: 3rem auto;
  text-align: left;
  padding: 0 2rem;
}
.news-heading {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 1.5rem;
}

/* Card base */
.news .news-item,
.investments .news-item {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 1.5rem;
  margin-bottom: 2rem;
  transition: box-shadow .2s ease, transform .2s ease;
}
.news .news-item:hover,
.investments .news-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-item h3 {
  margin: 0 0 .25rem 0;
  color: var(--green-dark);
}
.news-date {
  font-size: .9rem;
  color: var(--muted);
  margin: 0 0 .5rem 0;
}
.news-item p:last-child { margin-bottom: 0; }

/* Thumbs */
.news .thumb-holder,
.investments .thumb-holder {
  width: 220px;
  height: 150px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  border-radius: var(--radius);
}
/* Support both background-image and <img> patterns */
.news .thumb-holder img,
.investments .thumb-holder img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .3s ease;
}
.news .news-item:hover .thumb-holder img,
.investments .news-item:hover .thumb-holder img {
  transform: scale(1.05);
}

/* Content side */
.news .news-content,
.investments .news-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Article headings inside press pages */
article h2 {
  font-size: 1.8rem;
  margin: .25rem 0 .5rem;
  color: var(--green-dark);
}
article h3 {
  font-size: 1.5rem;
  margin: 0 0 .25rem;
  color: var(--green-dark);
}

/* Press meta + quotes */
.press-meta { color: var(--muted); font-size: .85rem; margin: 0 0 1.25rem 0; }
.press-meta time { white-space: nowrap; }
.press-quote {
  border-left: 4px solid var(--green-light);
  padding: .75rem 1rem;
  margin: 1rem 0 2rem 0;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.press-quote p { margin: .3rem 0; }
.quote-author { font-weight: 600; color: var(--green-dark); }

/* Section helper */
.section-title {
  font-weight: 700;
  color: var(--green);
  margin-top: 2rem;
  margin-bottom: .5rem;
  font-size: 1.1rem;
  text-transform: uppercase;
}

/* Legacy image-holder (kept for newspage hero) */
.image-holder {
  background: url("../images/news/sebastiaan_dekkers_x_new_dawn_bio.webp") center / cover no-repeat;
  aspect-ratio: 16 / 9;
  max-width: 960px;
  margin: 1.5rem auto;
  border-radius: var(--radius-lg);
}

/* Accessibility: keyboard focus */
.news .news-item:focus-within,
.investments .news-item:focus-within {
  box-shadow: 0 0 0 3px var(--focus), var(--shadow-lg);
  transform: translateY(-2px);
}
.news .news-item a:focus-visible,
.investments .news-item a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus);
  border-radius: var(--radius-sm);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .news .news-item,
  .investments .news-item,
  .news .thumb-holder img,
  .investments .thumb-holder img {
    transition: none !important;
    transform: none !important;
  }
}

/* Mobile stacking */
@media (max-width: 640px) {
  .news .news-item,
  .investments .news-item { flex-direction: column; }
  .news .thumb-holder,
  .investments .thumb-holder { width: 100%; height: 180px; }
}

a.button {
  display: inline-block;
  background-color: #E88173; /* zachter roze */
  color: #fff;
  padding: 0.5em 1.4em;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  font-family: "Open Sans", sans-serif;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

a.button:hover {
  background-color: #d96b5d; /* iets donkerder roze bij hover */
}

p > a.button {
  margin-bottom: 2.5rem;
}