/* Custom styles for the blog */
.blog-container {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  padding-bottom: 0;
  background-color: #f8f9fa;
}

/* Card styles */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: none;
  overflow: hidden;
}

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

.card-img-top {
  height: 200px;
  object-fit: cover;
}

/* Featured post styles */
.featured-card {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.featured-img {
  height: 300px;
}

.featured-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(13, 110, 253, 0.85);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: bold;
}

/* Section titles */
.section-title {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-weight: bold;
  color: #333;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #0d6efd;
}

/* Sidebar styles */
.sidebar {
  position: sticky;
  top: 80px;
}

.recent-post-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}

/* Tag cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-item {
  display: inline-block;
  padding: 4px 8px;
  background-color: #f1f1f1;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s;
  position: relative;
}

.tag-item:hover {
  background-color: #e1e1e1;
  color: #0d6efd;
}

.tag-item.active {
  background-color: #0d6efd;
  color: white;
}

.tag-count {
  display: inline-block;
  background-color: rgba(13, 110, 253, 0.2);
  color: #0d6efd;
  border-radius: 50%;
  font-size: 0.75em;
  padding: 2px 6px;
  margin-left: 4px;
  font-weight: bold;
}

.tag-item.active .tag-count {
  background-color: rgba(255, 255, 255, 0.3);
  color: white;
}

/* Hero section */
.hero-section {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Post categories */
.post-categories .badge {
  font-weight: normal;
}

/* Search and category/tag headers */
.search-header,
.category-header,
.tag-header,
.author-header {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Add these styles for author display */
.author-info {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.author-avatar {
  margin-right: 10px;
  color: #6c757d;
}

.author-name {
  display: flex;
  flex-direction: column;
}

.author-box {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  border-left: 3px solid #0d6efd;
}

/* Add a new section for author filtering */
.author-filter {
  margin-bottom: 20px;
}

.author-filter .btn {
  margin-right: 5px;
  margin-bottom: 5px;
}

/* Search box styling */
.input-group .btn {
  z-index: 0;
}

