/* zs-blog-content.css */

/* Temel yapı */
.blog-content {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: #2c2c2c;
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Başlıklar */
.blog-content h1, .blog-content h2, .blog-content h3 {
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
  border-left: 4px solid #00bcd4;
  padding-left: 0.75rem;
}

/* Paragraflar */
.blog-content p {
  margin-bottom: 1.25rem;
  text-align: justify;
}

/* Görseller */
.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin: 1rem 0;
}

/* Linkler */
.blog-content a {
  color: #0077cc;
  text-decoration: none;
  border-bottom: 1px dashed #0077cc;
  transition: all 0.3s ease;
}
.blog-content a:hover {
  color: #005fa3;
  border-bottom: 1px solid #005fa3;
}

/* Listeler */
.blog-content ul, .blog-content ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}
.blog-content li {
  margin-bottom: 0.5rem;
}

/* Alıntılar */
.blog-content blockquote {
  border-left: 4px solid #ff9800;
  background-color: #fff8e1;
  padding: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #555;
}

/* Kod blokları */
.blog-content pre {
  background-color: #1e1e1e;
  color: #00ff99;
  padding: 1rem;
  overflow-x: auto;
  font-family: 'Fira Code', monospace;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
}
.blog-content code {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  font-family: 'Fira Code', monospace;
  white-space: pre-wrap;
  display: block;
}

/* Blog başlığı */
.blog-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  border-bottom: 2px solid #00bcd4;
  padding-bottom: 0.5rem;
}

/* İçerik gövdesi */
.blog-body {
  padding: 1rem 0;
}

/* Linux quote özel stili */
.blog-linux-quote {
  background-color: #f5f5f5;
  border-left: 4px solid #4caf50;
  padding: 1rem;
  margin: 1.5rem 0;
  font-family: 'Fira Code', monospace;
  color: #333;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.blog-linux-quote code {
  background-color: #e0e0e0;
  padding: 0.5rem;
  border-radius: 6px;
  display: block;
  white-space: pre-wrap;
}

/* Badge açıklama */
.badge-info {
  font-size: 0.875rem;
  color: #666;
  margin-top: 0.5rem;
  padding-left: 1rem;
  border-left: 2px dashed #4caf50;
}

/* Code block + header + copy button */
.code-block {
  border: 1px solid #444;
  border-radius: 6px;
  margin: 16px 0;
  overflow: hidden;
}

.code-header {
  background: #2d2d2d;
  color: #fff;
  padding: 6px 10px;
  display: flex;
  justify-content: space-between; /* başlık solda, buton sağda */
  align-items: center;
  font-family: monospace;
  position: relative;
}

.copy-btn {
  background: #0078d4;
  color: #fff;
  border: none;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 4px;
  cursor: pointer;
  position: relative; /* header içinde sabit */
}

.copy-btn:hover {
  background: #005a9e;
}

.code-block pre {
  margin: 0;
  padding: 12px;
  background: #1e1e1e;
  color: #dcdcdc;
  font-family: monospace;
  overflow-x: auto;
}

/* KB Articles */
.kbarticles {
  padding: 0 0 25px 0;
  font-size: .8em;
}
.kbarticles a {
  font-size: 1.2em;
  font-weight: 700;
}

/* Main content */
.main-content p, .main-content {
  font-size: 16px;
  line-height: 1.45;
}

/* Genel linkler */
a {
  color: #00a63f;
  outline: 0;
  text-decoration: none;
}

/* Sidebar nav */
.sidebar-nav .sidebar-nav-header {
  background-color: #035495;
}