/* ==========================================================================
   De Slimme Gids — GDPR Cookie Consent Banner
   ========================================================================== */

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #0d1117;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.4);
}

#cookie-banner.visible {
  transform: translateY(0);
}

.cookie-text {
  flex: 1;
  min-width: 260px;
  font-size: 0.82rem;
  color: #9ca3af;
  line-height: 1.6;
}

.cookie-text strong { color: #f3f4f6; }
.cookie-text a { color: #818cf8; text-decoration: none; }
.cookie-text a:hover { text-decoration: underline; }

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.5rem 1.1rem;
  border-radius: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  border: none;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.cookie-btn--accept {
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  color: white;
}

.cookie-btn--accept:hover { opacity: 0.88; }

.cookie-btn--decline {
  background: rgba(255,255,255,0.05);
  color: #9ca3af;
  border: 1px solid rgba(255,255,255,0.08);
}

.cookie-btn--decline:hover {
  background: rgba(255,255,255,0.09);
  color: #f3f4f6;
}

@media (max-width: 600px) {
  #cookie-banner { padding: 1rem; gap: 0.85rem; }
  .cookie-actions { width: 100%; justify-content: flex-end; }
}

/* ─── SOCIAL SHARE BAR ───────────────────────────────────────────── */
.social-share-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin: 2rem 0;
}

.share-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 0.25rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-secondary);
  background: rgba(255,255,255,0.03);
  transition: all 0.18s ease;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.share-btn:hover {
  background: rgba(255,255,255,0.07);
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.15);
}

.share-btn--copy.copied {
  color: #10b981;
  border-color: rgba(16,185,129,0.3);
}

/* ─── RELATED ARTICLES ───────────────────────────────────────────── */
.related-section {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.related-section h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.related-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1rem;
  padding: 1.1rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.related-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.13);
}

.related-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-indigo);
}

.related-card-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.related-card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.related-card-read {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-indigo);
  margin-top: auto;
  padding-top: 0.35rem;
}
