
.blog-container {
  max-width: 1600px;
  margin: 30px auto;
  display: flex;
  gap: 40px;
  padding: 0 15px;
}

.content-area {
  flex: 3;
}

.sidebar {
  flex: 1;
  background-color: var(--background-color);
  border-radius: 15px;
  padding: 20px 25px;
  font-family: var(--text-font-family);
  font-size: 14px;
  color: var(--primary-color);
  height: 800px;
}

.blog-banner {
  height: 400px;
  width: 100%;
  border-radius: 15px;
  margin-bottom: 15px;
  object-fit: cover;
}


.bd-date {
font-size: 20px;
color: var(--text-color);
font-family: var(--heading-font-family);
margin-bottom: 15px;
font-weight: 500;
}


.bd-title {
  font-family: var(--heading-font-family);
  font-weight: 600;
  font-size: 30px;
  color: var(--primary-color);
  margin-bottom: 20px;
}


.bd-txt {
  font-family: var(--text-font-family);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.6px;
  margin-bottom: 30px;
  color: var(--text-color);
}


.bd-quote {
  background-color: var(--card-background-color);
  border-radius: 10px;
  padding: 30px 20px;
  font-size: 18px;
  font-weight: 600;
  font-family: var(--text-font-family);
  color: var(--primary-color);
  margin-bottom: 20px;
}


.bd-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  align-items: center;
}

.bd-tags .tag {
  background-color: var(--card-background-color);
  color: var(--primary-color);
  padding: 7px 15px;
  border-radius: 20px;
   font-size: 20px;
  font-weight: 400;
  cursor: pointer;
  transition: background-color 0.3s;
}

.bd-tags .tag.active,
.bd-tags .tag:hover {
  background-color: var(--primary-color);
  color: white;
  font-size: 20px;
  font-weight: 400;
}


.comments h2 {
  font-family: var(--heading-font-family);
  font-size: 30px;
  font-weight: 500;
  color: var(--heading-color);
  margin-bottom: 20px;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  width: 50%;
  border-radius: 15px;
  border: none;
  background-color: var(--background-color);
  padding: 15px 20px;
  font-family: var(--text-font-family);
  color: var(--primary-color);
  font-size: 14px;
  margin-bottom: 20px;
  resize: vertical;
}
.comment-form textarea
 {
  width: 50%;
  border-radius: 15px;
  border: none;
  background-color: var(--background-color);
  padding: 30px 30px;
  font-family: var(--text-font-family);
  color: var(--primary-color);
  font-size: 14px;
  margin-bottom: 20px;
  resize: vertical;
}

.comment-form button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 14px 40px;
  border-radius: 40px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
  display: block;
 
  font-family: var(--heading-font-family);
}

.comment-form button:hover {
  background-color: #3d215d;
}

/* Sidebar search */
.search-box input[type="search"] {
  width: 100%;
  border-radius: 30px;
  border: none;
  padding: 12px 20px;
  margin-bottom: 25px;
  background-color: white;
  font-size: 14px;
  color: var(--primary-color);
  font-family: var(--text-font-family);
}

/* Sidebar categories */
.categories h3,
.recent-posts h3 {
  font-family: var(--heading-font-family);
  color: var(--secondary-color);
  font-weight: 500;
  margin-bottom: 15px;
  font-size: 30px;
}

.categories ul {
  list-style: none;
  padding-left: 10px;
  margin: 0;
}

.categories ul li {
  margin-bottom: 8px;
  font-size: 18px;
  color: var(--text-color);
  font-family: var(--text-font-family);
  line-height: 1.3;

  position: relative;
  padding-right: 12px;
}


/* Sidebar recent posts */
.recent-posts .recent-post {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.recent-posts .recent-post img {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.recent-posts .recent-post .post-date {
  font-size: 18px;
  color: var(--text-color);
  margin-bottom: 15px;
}

.recent-posts .recent-post h4 {
  font-size: 16px;
  color: var(--primary-color);
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
  cursor: pointer;
  transition: color 0.3s;
}

.recent-posts .recent-post h4:hover {
  color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 1024px) {
  .blog-container{
    flex-direction: column;
  }

  .sidebar {
    margin-top: 40px;
  }
  .bd-date{
    font-size: 15px;
  }
  .bd-title{
    font-size: 20px;
  }
  .bd-tags .tag{
    font-size: 15px;
  }
  .categories ul li{
    font-size: 13px;
  }
  .recent-posts .recent-post h4{
    font-size: 13px;
  }
}
