/* Breadcrumbs */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: #5a6e85;
  border-bottom: 1px solid #eef2f6;
  padding-bottom: 0.75rem;
}

.breadcrumb a {
  color: #2c6e9e;
  text-decoration: none;
  cursor: pointer;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #8ba0bc;
}

/* Cabeçalho do artigo */
.article-header {
  margin-bottom: 2rem;
}

.article-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  background: linear-gradient(135deg, #1a2a3f, #0f2b3d);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: #5f7d9c;
  margin-top: 0.5rem;
  border-bottom: 1px solid #ecf3f9;
  padding-bottom: 0.75rem;
}

.article-meta span {
  background: #f5f7fb;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}

/* Conteúdo técnico do artigo */
.article-content {
  font-size: 1rem;
  color: #1f2a3e;
}

.article-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem 0;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid #eef2f8;
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.2rem 0 0.6rem 0;
  color: #1e3a5f;
}

.article-content p {
  margin: 1rem 0;
  line-height: 1.6;
}

.article-content code {
  background: #f1f5f9;
  padding: 0.2rem 0.4rem;
  border-radius: 8px;
  font-size: 0.85em;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.article-content pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 1rem;
  border-radius: 14px;
  overflow-x: auto;
  font-size: 0.85rem;
  margin: 1.2rem 0;
  font-family: 'SF Mono', monospace;
}

.article-content pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

.article-content ul, .article-content ol {
  margin: 0.75rem 0 0.75rem 1.5rem;
}

.article-content li {
  margin: 0.4rem 0;
}

.article-content blockquote {
  border-left: 4px solid #3b82f6;
  background: #f8fafc;
  padding: 0.75rem 1.2rem;
  margin: 1rem 0;
  border-radius: 12px;
  color: #2c3e66;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0;
}

.article-content th, .article-content td {
  border: 1px solid #e2e8f0;
  padding: 0.6rem;
  text-align: left;
}

.article-content th {
  background: #f1f5f9;
  font-weight: 600;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2rem;
  padding: 0.5rem 1rem;
  background: #f8fafd;
  border-radius: 40px;
  color: #2c6e9e;
  text-decoration: none;
  font-size: 0.85rem;
  border: 1px solid #e2edf7;
  transition: all 0.2s;
  cursor: pointer;
}

.back-link:hover {
  background: #eef4ff;
  border-color: #bdd9f0;
}

@media (max-width: 720px) {
  .article-header h1 {
    font-size: 1.6rem;
  }
}
