/* ── MONDZORGGROEI BLOG CSS ── */

:root {
  --primary:      #1a3a4a;
  --accent:       #2a9d8f;
  --accent-light: #38b2a3;
  --accent-warm:  #e9c46a;
  --bg:           #f8f6f2;
  --bg-white:     #ffffff;
  --text:         #1a1a1a;
  --text-muted:   #5a6a72;
  --border:       #e0dbd3;
  --max-width:    1100px;
  --radius:       10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
}

/* ── HEADER ── */
header {
  background: var(--primary);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  font-size: 1.4rem;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: white;
}

.logo-text span { color: var(--accent-warm); }

nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  margin-left: 28px;
  transition: color 0.2s;
}

nav a:hover,
nav a.active { color: white; }

.cta-nav {
  background: var(--accent);
  color: white !important;
  padding: 8px 18px;
  border-radius: 6px;
}

.cta-nav:hover { background: var(--accent-light) !important; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0f2535 100%);
  padding: 72px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: var(--accent);
  opacity: 0.08;
  border-radius: 50%;
}

.hero-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  background: rgba(42,157,143,0.2);
  color: var(--accent-light);
  border: 1px solid rgba(42,157,143,0.3);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: white;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero h1 em {
  color: var(--accent-warm);
  font-style: normal;
}

.hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
}

/* ── BLOG INDEX ── */
.blog-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.article-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.article-card.featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--primary) 0%, #0f2535 100%);
  border: none;
}

.article-card.featured .card-title { color: white; }
.article-card.featured .card-excerpt { color: rgba(255,255,255,0.75); }
.article-card.featured .card-date,
.article-card.featured .card-time { color: rgba(255,255,255,0.5); }
.article-card.featured .card-cta { color: var(--accent-warm); }

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.card-body {
  padding: 28px;
}

.card-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}

.card-date,
.card-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 10px;
}

.card-excerpt {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.card-cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
}

.no-articles {
  text-align: center;
  color: var(--text-muted);
  padding: 48px;
}

/* ── ARTIKEL PAGINA ── */
.artikel-header {
  background: linear-gradient(135deg, var(--primary) 0%, #0f2535 100%);
  padding: 72px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.artikel-header::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: var(--accent);
  opacity: 0.08;
  border-radius: 50%;
}

.artikel-header-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.breadcrumb a:hover { color: white; }

.artikel-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: white;
  line-height: 1.2;
  margin-bottom: 20px;
}

.artikel-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

.artikel-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px;
}

.artikel-body {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}

.artikel-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  color: var(--primary);
  margin: 2em 0 0.6em;
  line-height: 1.3;
}

.artikel-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--primary);
  margin: 1.5em 0 0.5em;
}

.artikel-body p {
  color: var(--text);
  margin-bottom: 1.2em;
  font-size: 1.02rem;
  line-height: 1.8;
}

.artikel-body p:first-child {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin-bottom: 1.6em;
}

.artikel-body ul,
.artikel-body ol {
  padding-left: 1.5em;
  margin-bottom: 1.2em;
}

.artikel-body li {
  margin-bottom: 0.5em;
  color: var(--text);
}

.artikel-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.artikel-body a:hover { color: var(--primary); }

.artikel-body blockquote {
  border-left: 4px solid var(--accent);
  padding: 16px 24px;
  margin: 28px 0;
  background: rgba(42,157,143,0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-muted);
}

.artikel-body strong { color: var(--primary); }

/* ── CTA ONDERAAN ARTIKEL ── */
.artikel-cta {
  background: linear-gradient(135deg, var(--accent) 0%, #1a7a6e 100%);
  border-radius: var(--radius);
  padding: 44px 40px;
  text-align: center;
  margin-top: 40px;
}

.artikel-cta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: white;
  margin-bottom: 10px;
}

.artikel-cta p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.artikel-cta a {
  display: inline-block;
  background: white;
  color: var(--accent);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.artikel-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.artikel-cta-sub {
  margin-top: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

/* ── TERUG KNOP ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 32px;
  transition: color 0.2s;
}

.back-link:hover { color: var(--accent); }

/* ── CTA BANNER (blogindex) ── */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #1a7a6e 100%);
  padding: 64px 24px;
  text-align: center;
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: white;
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
}

.cta-btn {
  display: inline-block;
  background: white;
  color: var(--accent);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

/* ── FOOTER ── */
footer {
  background: var(--primary);
  color: rgba(255,255,255,0.6);
  padding: 40px 24px;
  text-align: center;
  font-size: 0.85rem;
}

.footer-inner { max-width: var(--max-width); margin: 0 auto; }

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: white;
  margin-bottom: 8px;
}

.footer-logo span { color: var(--accent-warm); }

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 12px 0;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.footer-links a:hover { color: white; }

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 20px 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  nav { display: none; }
  .artikel-body { padding: 24px 18px; }
  .artikel-cta { padding: 32px 20px; }
  .article-grid { grid-template-columns: 1fr; }
}
