/* -------- BASIS -------- */
body {
  margin: 0;
  font-family: "Amiri", serif;
  color: #1f2230;
  background: linear-gradient(180deg, #f8f9fc 0%, #e9ebf7 100%);
}

.wrap {
  width: min(900px, 92vw);
  margin: 0 auto;
}

/* -------- HEADER -------- */
.blog-header {
  text-align: center;
  padding: 3rem 1rem 2rem;
  background: radial-gradient(circle at 50% 20%, #dee1fa 0%, transparent 70%);
}

.blog-header h1 {
  font-size: 2.4rem;
  color: #273166;
  margin: 0.5rem 0 0.25rem;
}

.blog-header .subtitle {
  color: rgba(0, 0, 0, 0.6);
  font-style: italic;
  margin: 0;
  font-size: 1.25rem;
}

.blog-header .back {
  display: inline-block;
  text-decoration: none;
  color: #273166;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.95rem;
  background: #fff;
  transition: 0.2s ease;
}
.blog-header .back:hover {
  background: #f2f4ff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* -------- BLOG CARD -------- */
.blog-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  padding: 1.25rem 2.5rem 2.5rem 2.5rem;
  margin-bottom: 3rem;
  animation: fadeIn 0.4s ease;
}

.blog-card h3 {
  font-size: 1.4rem;
  color: #273166;
  margin-bottom: auto;
}

.blog-card p,
.blog-card ul {
  margin-top: 0.5rem;
  font-size: 1.05rem;
}

.blog-card em {
  color: #3b3f60;
}

.list {
  margin-left: 1.25rem;
}

.list li {
  margin: 0.25rem 0;
}

/* -------- HIGHLIGHT -------- */
.highlight {
  background: #f4f6ff;
  border-left: 4px solid #273166;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  font-style: italic;
}

/* -------- FOTO'S -------- */
.photos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
}

.photos figure {
  flex: 1 1 40%;
  text-align: center;
  margin: 0;
  padding: 0;
}

.photos img {
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
}

.photos figcaption {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.6);
}

.team-photo img {
  width: 50%;
}

/* -------- FOOTER -------- */
.footer {
  width: min(1100px, 92vw);
  margin: 3rem auto 1.5rem;
  text-align: center;
  font-size: var(--font-size-small);
  color: rgba(0,0,0,.65);
}

/* -------- ANIMATIE -------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* -------- RESPONSIVE -------- */
@media (max-width: 768px) {
  .blog-card {
      padding: 0.25rem 1rem 2rem 1rem;
  }
  
  .blog-header h1 {
    font-size: 2rem;
  }

  .photos {
    flex-direction: column;
  }

  .team-photo img {
  width: 100%;
}
}

@media (max-width: 520px){
  .blog-header h1 {
    font-size: 1.75rem;
  }

  .blog-header .subtitle {
  font-size: 1.15rem;
 }
}
