/* Utively — Blog article shared styles */

.article-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 24px 80px;
}

.breadcrumb {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb a { color: #6b7280; text-decoration: none; }
.breadcrumb a:hover { color: #111827; }
.breadcrumb-sep { color: #d1d5db; }

.article-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.article-tag {
  display: inline-block;
  background: #e5f2ff;
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: #111827;
  margin-bottom: 10px;
}

.article-info {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.article-info span { display: flex; align-items: center; gap: 4px; }

.article-body {
  line-height: 1.8;
  color: #374151;
  font-size: 0.975rem;
}
.article-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  margin: 36px 0 12px;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
  letter-spacing: -0.01em;
}
.article-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin: 20px 0 8px;
}
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; }
.article-body li { margin-bottom: 7px; }
.article-body strong { color: #111827; font-weight: 600; }
.article-body a { color: #1d4ed8; }
.article-body a:hover { text-decoration: underline; }
.article-body code {
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.875em;
  font-family: 'Courier New', monospace;
  color: #374151;
}
.article-body blockquote {
  border-left: 3px solid #1d4ed8;
  padding: 12px 16px;
  color: #4b5563;
  background: #f8faff;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
}
.article-body blockquote p { margin-bottom: 0; }

.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 18px; font-size: 0.9rem; }
.article-body th { background: #f9fafb; padding: 8px 12px; text-align: left; font-weight: 600; color: #374151; border-bottom: 2px solid #e5e7eb; }
.article-body td { padding: 8px 12px; border-bottom: 1px solid #f3f4f6; color: #374151; }

/* CTA box */
.tool-cta-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 22px 24px;
  margin: 32px 0;
}
.tool-cta-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1d4ed8;
  margin-bottom: 6px;
}
.tool-cta-box p {
  font-size: 0.9rem;
  color: #374151;
  margin-bottom: 14px;
}
.tool-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1d4ed8;
  color: #fff;
  padding: 9px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.15s;
}
.tool-cta-link:hover { background: #1e40af; color: #fff; }

/* Related articles */
.related-articles { margin-top: 40px; }
.related-articles h2 { font-size: 1rem; font-weight: 600; margin-bottom: 14px; color: #111827; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.related-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 16px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.15s;
}
.related-card:hover { border-color: #1d4ed8; }
.related-card-title { font-size: 0.875rem; font-weight: 600; color: #111827; line-height: 1.3; }
.related-card-meta { font-size: 0.75rem; color: #9ca3af; }

.article-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  font-size: 0.78rem;
  color: #9ca3af;
}
.article-footer a { color: #6b7280; text-decoration: none; }
.article-footer a:hover { color: #111827; }

@media (max-width: 640px) {
  .article-page { padding: 20px 16px 60px; }
}
