/* ===================================================
   FitnessKiezen — Artikel detail pagina's
   artikelen/*.html
   =================================================== */

/* ===== ARTIKEL DETAIL ===== */
.article-detail {
  padding: 32px 0 60px;
}
.article-hero-img {
  max-width: 760px;
  margin: 0 auto 28px;
  border-radius: 12px;
  overflow: hidden;
  max-height: 340px;
}
.article-hero-img img {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: cover;
  display: block;
}
.article-detail-header {
  max-width: 760px;
  margin: 0 auto 32px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 12px;
}
.article-meta .article-type {
  background: rgba(37,99,235,0.08);
  color: var(--primary);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
}
.article-detail-header h1 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.article-detail-header .article-summary {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== ARTIKEL BODY ===== */
.article-body {
  max-width: 760px;
  margin: 0 auto;
}
.article-body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 32px 0 12px;
}
.article-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 24px 0 8px;
}
.article-body p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.article-body ul {
  margin: 0 0 16px 20px;
  line-height: 1.8;
}
.article-body li {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

/* ===== GERELATEERDE PRODUCTEN ===== */
.article-related {
  max-width: 760px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.article-related h2 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

/* ===== ARTIKEL OVERZICHT ===== */
.articles-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-overview-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.article-overview-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}
.article-overview-card-img {
  height: 180px;
  background: var(--bg-light);
  overflow: hidden;
}
.article-overview-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.article-overview-card:hover .article-overview-card-img img {
  transform: scale(1.05);
}
.article-overview-card-body {
  padding: 18px;
}
.article-overview-card-body .article-type {
  background: rgba(37,99,235,0.08);
  color: var(--primary);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  display: inline-block;
  margin-bottom: 8px;
}
.article-overview-card-body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.article-overview-card-body p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 12px;
}
.article-overview-card-body .article-card-meta {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ===== RESPONSIVE (artikel) ===== */
@media (max-width: 1024px) {
  .articles-overview-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .article-detail-header h1 { font-size: 1.4rem; }
  .articles-overview-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .article-detail-header h1 { font-size: 1.2rem; }
  .article-body h2 { font-size: 1.1rem; }
  .article-meta { flex-wrap: wrap; gap: 8px; }
}
