:root { font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
body { margin: 0; line-height: 1.55;}

/* Site container */
.wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.header { border-bottom: 1px solid #eee; }
.brand { font-weight: 700; text-decoration: none; color: inherit; margin-right: 18px; }
.nav a { text-decoration: none; color: inherit; margin-right: 12px; opacity: .8; }
.nav a:hover { opacity: 1; }
.footer { border-top: 1px solid #eee; margin-top: 48px; padding: 24px 0; opacity: .7; }

img {
  max-width: 100%;
  border-radius: 12px;
  margin: 24px 0;
}

/* ── Hero section ─────────────────────────── */
.hero{
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}
.hero img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  margin: 0; border-radius: 0;
}
.hero::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.3) 50%, rgba(15,23,42,0.05) 100%);
}
.hero .hero-content{
  position: relative; z-index: 1;
  padding: 2.5rem;
  width: 100%;
}

/* ── Image cards ──────────────────────────── */
.img-card{
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  display: flex;
  align-items: flex-end;
  min-height: 220px;
  text-decoration: none;
  color: #fff;
  transition: transform 0.25s, box-shadow 0.25s;
}
.img-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.img-card img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  margin: 0; border-radius: 0;
  transition: transform 0.4s;
}
.img-card:hover img{
  transform: scale(1.05);
}
.img-card::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,23,42,0.75) 0%, rgba(15,23,42,0.1) 60%);
}
.img-card .card-label{
  position: relative; z-index: 1;
  padding: 1.25rem;
  width: 100%;
}

/* ── Warm tip box ─────────────────────────── */
.tip-card{
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 1px solid #fbbf24;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
}

/* ── Markdown typography ──────────────────── */
.prose{
  font-size: 1.05rem;
  line-height: 1.75;
}

.prose h1{
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

/* H2's als kaarten met accent bar */
.prose h2{
  font-size: 1rem;
  margin-top: 2.25rem;
  padding: 0.95rem 1.1rem 0.95rem 1.7rem;
  border-radius: 0.9rem;
  background: linear-gradient(180deg, rgba(180,120,60,0.06), rgba(180,120,60,0.02));
  border: 1px solid rgba(180,120,60,0.12);
  box-shadow: 0 1px 0 rgba(15,23,42,0.03);
  position: relative;
  scroll-margin-top: 6rem;
}

.prose h2::before{
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 0.85rem;
  bottom: 0.85rem;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d97706, #059669);
  opacity: 0.9;
}

/* Laatste H2 iets rustiger */
.prose h2:last-of-type{
  background: rgba(180,120,60,0.03);
}

.prose h3{
  font-size: 1.1rem;
  margin-top: 1.25rem;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
  color: rgba(15,23,42,0.92);
}

/* Lijsten: nettere bullets + spacing */
.prose ul{
  margin-top: 0.6rem;
  padding-left: 1.25rem;
}
.prose ul > li{
  margin: 0.35rem 0;
}
.prose ul > li::marker{
  color: #d97706;
}

/* Links subtiel maar duidelijk */
.prose a{
  color: #b45309;
  text-decoration: none;
  border-bottom: 1px solid rgba(180,83,9,0.3);
}
.prose a:hover{
  border-bottom-color: rgba(180,83,9,0.8);
}

/* HR mooier */
.prose hr{
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(180,120,60,0.25), transparent);
  margin: 2rem 0;
}

/* ── Quote/Tip blok ───────────────────────── */
.prose blockquote{
  position: relative;
  margin: 2rem 0;
  padding: 1rem 1.6rem 1.4rem 1.6rem;
  background: #fef9ee;
  border: 1px solid #f5e6c8;
  border-radius: 0;
  font-style: normal;
  color: inherit;
}

/* Typography plugin: extra decoratie verwijderen */
.prose blockquote::before,
.prose blockquote::after{
  content: none !important;
}

.prose blockquote p{
  margin: 0;
}

/* Label (1e regel vet) als floating label */
.prose blockquote p:first-child > strong:first-child{
  position: absolute;
  top: -14px;
  left: 16px;
  padding: 4px 12px;
  background: #92400e;
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 0;
}

/* Spacing onder het label */
.prose blockquote p:first-child{
  margin-top: 0.55rem;
}

/* Voorkom dat de strong-containing p eigen box-styling krijgt */
.prose blockquote p:has(> strong:first-child){
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

/* Verwijder automatische quotes van Tailwind typography */
.prose blockquote p:first-of-type::before,
.prose blockquote p:last-of-type::after {
  content: none !important;
}
