/* Blog listing */
.blog-section {
  background: #0d0d0d;
  min-height: 100vh;
  padding: 120px 0 60px;
}

.blog-header {
  text-align: center;
  margin-bottom: 60px;
}

.blog-header h1 {
  font-size: 42px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.blog-header p {
  color: #888;
  font-size: 16px;
  max-width: 600px;
  margin: 15px auto 0;
}

.blog-card {
  background: #151515;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 30px;
  border: 1px solid rgba(255,255,255,0.05);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.blog-card a {
  text-decoration: none;
  color: inherit;
}

.blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card-body {
  padding: 25px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-card-category {
  background: #0069ff;
  color: #fff;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 11px;
}

.blog-card-body h2 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-body p {
  color: #999;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.blog-read-more {
  color: #0069ff;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.blog-read-more:hover {
  color: #561fd6;
}

/* Blog article */
.blog-article {
  background: #0d0d0d;
  min-height: 100vh;
  padding: 100px 0 60px;
}

.blog-article-header {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.blog-article-header h1 {
  font-size: 36px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  max-width: 800px;
  margin: 0 auto 20px;
}

.blog-article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  color: #666;
  font-size: 13px;
}

.blog-article-meta .blog-card-category {
  font-size: 12px;
}

.blog-article-content {
  max-width: 760px;
  margin: 0 auto;
  color: #ccc;
  font-size: 16px;
  line-height: 1.8;
}

.blog-article-content h2 {
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  margin: 40px 0 20px;
}

.blog-article-content h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin: 30px 0 15px;
}

.blog-article-content p {
  margin-bottom: 20px;
}

.blog-article-content ul,
.blog-article-content ol {
  padding-left: 25px;
  margin-bottom: 20px;
}

.blog-article-content li {
  margin-bottom: 8px;
}

.blog-article-content strong {
  color: #fff;
}

.blog-article-content a {
  color: #0069ff;
  transition: color 0.3s;
}

.blog-article-content a:hover {
  color: #561fd6;
}

.blog-article-content blockquote {
  border-left: 3px solid #0069ff;
  padding: 15px 25px;
  margin: 30px 0;
  background: rgba(0,105,255,0.05);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #aaa;
}

.blog-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
}

.blog-article-content th,
.blog-article-content td {
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.1);
  text-align: left;
}

.blog-article-content th {
  background: #1a1a1a;
  color: #fff;
  font-weight: 600;
}

.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #888;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.3s;
}

.blog-back:hover {
  color: #fff;
  text-decoration: none;
}

.blog-cta {
  max-width: 760px;
  margin: 50px auto 0;
  padding: 35px;
  background: #151515;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}

.blog-cta h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 10px;
}

.blog-cta p {
  color: #888;
  margin-bottom: 20px;
}

.blog-cta .btn {
  background: #0069ff;
  color: #fff;
  padding: 10px 30px;
  border-radius: 50px;
  font-size: 14px;
  transition: background 0.3s;
}

.blog-cta .btn:hover {
  background: #561fd6;
}

/* Back to top for blog pages */
.blog-top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10,10,10,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 15px 0;
  z-index: 999;
}

.blog-top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-top-bar .blog-logo {
  width: 120px;
}

.blog-top-bar nav a {
  color: #888;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 25px;
  transition: color 0.3s;
  text-decoration: none;
}

.blog-top-bar nav a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .blog-header h1 {
    font-size: 28px;
  }
  .blog-article-header h1 {
    font-size: 26px;
  }
  .blog-article-content {
    font-size: 15px;
  }
  .blog-top-bar nav a {
    font-size: 11px;
    margin-left: 15px;
  }
}
