/* AshKetchum Blog — custom styles on top of Tailwind CDN */

/* Line clamp helper */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Prose content (rendered EditorJS output on post pages) */
.prose-content a {
  color: #34d399;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.prose-content a:hover {
  color: #6ee7b7;
}
.prose-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #cbd5e1;
}
.prose-content h2, .prose-content h3, .prose-content h4 {
  scroll-margin-top: 100px;
}
.prose-content code {
  background: rgba(52, 211, 153, 0.1);
  color: #6ee7b7;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}
.prose-content pre code {
  background: transparent;
  padding: 0;
}

/* Cyberpunk cursor blink in hero */
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
.cursor-blink::after {
  content: '_';
  animation: blink 1s infinite;
  color: #34d399;
}

/* Subtle hover lift */
.card-hover { transition: transform 0.3s, box-shadow 0.3s; }
.card-hover:hover { transform: translateY(-4px); }

/* Selection */
::selection {
  background: rgba(52, 211, 153, 0.3);
  color: white;
}
