/* Shared blog styles for keyboard-overlay-app/blog */

/* Breadcrumb */
.breadcrumb {
  font-size: 0.9rem;
  color: hsl(240deg 10% 50%);
  margin-bottom: 1rem;
}
.breadcrumb a {
  color: #667eea;
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

/* Blog listing page */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}
.blog-card {
  display: flex;
  gap: 1.5rem;
  background: hsl(240deg 15% 15%);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.blog-card-image {
  width: 280px;
  height: 180px;
  object-fit: cover;
  flex-shrink: 0;
}
.blog-card-content {
  padding: 1.25rem 1.5rem 1.25rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.5rem 0;
}
.blog-card-title a {
  color: inherit;
  text-decoration: none;
}
.blog-card-title a:hover {
  color: #667eea;
}
.blog-card-excerpt {
  color: hsl(240deg 10% 60%);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}
.blog-card-meta {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: hsl(240deg 10% 50%);
}

@media (max-width: 700px) {
  .blog-card {
    flex-direction: column;
  }
  .blog-card-image {
    width: 100%;
    height: 200px;
  }
  .blog-card-content {
    padding: 1rem;
  }
}

/* Post page styles */
.post-meta {
  color: hsl(240deg 10% 50%);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.post-content h2 {
  margin-top: 2.5rem;
  color: #667eea;
}
.post-content h3 {
  color: hsl(240deg 16% 34%);
  margin: 2rem 0 0.75rem;
  font-size: 1.1rem;
}
.post-content p {
  line-height: 1.7;
  color: hsl(240deg 10% 53%);
}
.post-content ul,
.post-content ol {
  color: hsl(240deg 16% 34%);
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}
.post-content li {
  color: hsl(240deg 16% 34%);
  margin: 0.25rem 0;
  line-height: 1.6;
}
.post-content strong {
  color: hsl(240deg 16% 28%);
}
.post-content a {
  color: #667eea;
  text-decoration: none;
}
.post-content a:hover {
  text-decoration: underline;
}
.post-content .cta-button {
  color: #fff;
}
.post-content .cta-button:hover {
  text-decoration: none;
}
.step-image {
  width: 100%;
  max-width: 800px;
  border-radius: 8px;
  margin: 1rem 0 2rem 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #667eea;
  color: #fff;
  border-radius: 50%;
  font-weight: 600;
  margin-right: 0.75rem;
}
.cta-box {
  background: linear-gradient(135deg, hsl(240deg 15% 18%), hsl(240deg 15% 22%));
  border: 1px solid hsl(240deg 15% 28%);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  text-align: center;
}
.cta-box h3 {
  margin: 0 0 0.75rem 0;
  color: #fff;
}
.cta-box p {
  margin: 0 0 1rem 0;
  color: hsl(240deg 10% 60%);
}
.cta-button {
  display: inline-block;
  background: #667eea;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease;
}
.cta-button:hover {
  background: #5a6fd6;
}
.tip-box {
  background: hsl(200deg 80% 20% / 30%);
  border-left: 4px solid #039be5;
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
  color: hsl(200deg 40% 70%);
}
.tip-box strong {
  color: #039be5;
}
