/* Shared base styles — typography rules + portrait placeholder + stars */

body { font-family: 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; color: #0F172A; }

/* Headings stay font-medium (500), never bold, per spec */
h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  letter-spacing: -0.012em;
}

::selection { background: #E6F1FB; color: #0C447C; }

/* Star color matches brand-orange */
.stars { color: #BA7517; letter-spacing: 1px; }

/* Lucide icon defaults */
.lucide-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
  stroke-width: 1.75;
}

/* Portrait placeholder — clean abstract silhouette */
.portrait-placeholder {
  background: linear-gradient(155deg, #E6F1FB 0%, #F8FAFC 100%);
  position: relative;
  overflow: hidden;
}
.portrait-placeholder::before {
  content: '';
  position: absolute;
  top: 22%;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: linear-gradient(180deg, #C7D2DE 0%, #94A3B8 100%);
}
.portrait-placeholder::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12%;
  right: 12%;
  height: 48%;
  background: linear-gradient(180deg, #94A3B8 0%, #64748B 100%);
  border-top-left-radius: 50% 30%;
  border-top-right-radius: 50% 30%;
}
.portrait-caption {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  color: #64748B;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
}

/* Chrome image sharpness fix — prevents sub-pixel blur on scaled images */
.blog-img {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  image-rendering: -webkit-optimize-contrast;
}

/* ── Mobiel: ruimte onder content voor sticky CTA-balk ─────────────────────── */
@media (max-width: 767px) {
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }
}

/* ── iOS auto-zoom fix — voorkomt inzoomen bij focus op inputs ──────────────── */
/* iOS zoomt automatisch in als input font-size < 16px is */
@media (max-width: 767px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  input[type="search"],
  input[type="number"],
  input[type="password"],
  textarea,
  select {
    font-size: 16px !important;
  }
}

/* Article body styles for blog posts */
.prose-article p { font-size: 17px; line-height: 1.75; color: #334155; margin-bottom: 1.4em; max-width: 68ch; }
.prose-article h2 { font-size: 26px; margin-top: 2.2em; margin-bottom: 0.6em; color: #0F172A; }
.prose-article h3 { font-size: 21px; margin-top: 1.8em; margin-bottom: 0.4em; color: #0F172A; }
.prose-article ul { margin-bottom: 1.4em; padding-left: 1.2em; }
.prose-article ul li { font-size: 17px; line-height: 1.75; color: #334155; margin-bottom: 0.4em; position: relative; padding-left: 0.4em; }
.prose-article ul li::marker { color: #185FA5; }
.prose-article blockquote {
  border-left: 3px solid #185FA5;
  padding: 0.2em 0 0.2em 1.2em;
  margin: 1.6em 0;
  color: #0C447C;
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
}
.prose-article a { color: #185FA5; text-decoration: underline; text-underline-offset: 3px; }
.prose-article a:hover { color: #0C447C; }
.prose-article code { background: #F1F5F9; padding: 0.15em 0.4em; border-radius: 4px; font-size: 0.92em; }
.prose-article strong { color: #0F172A; font-weight: 600; }
