:root {
  --primary-color: #226456;
  --secondary-color: #39a685;
  --dark-color: #2c3e50;
  --light-color: #f8f9fa;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f7ff;
  color: var(--dark-color);
  line-height: 1.7;
}

.top-bar-header {
  background-color: #f5f7ff !important;
}
.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-hero {
  background: linear-gradient(
    135deg,
    rgba(78, 84, 200, 0.1) 0%,
    rgba(143, 148, 251, 0.1) 100%
  );
  padding: 8rem 0 4rem 0;
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 2rem 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.category-badge {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 15px;
  border-radius: 50px;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  display: inline-block;
  margin-bottom: 1rem;
}

.content-block {
  background: white;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 3rem;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2rem;
}

.tag {
  background: #f1f3ff;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.tag:hover {
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  text-decoration: none;
}

.related-post {
  transition: all 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.related-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.related-post img {
  height: 150px;
  object-fit: cover;
  width: 100%;
}

.related-post .card-body {
  padding: 1.5rem;
}

.related-post h5 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.social-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f3ff;
  color: var(--dark-color);
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-share a:hover {
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
}

@media (max-width: 768px) {
  .blog-title {
    font-size: 1.8rem;
  }

  .content-block {
    padding: 2rem;
  }

  .blog-hero {
    padding: 3rem 0;
  }
}
