/* Blog Card */
.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}
.blog-card_img {
  position: relative;
  overflow: hidden;
}
.blog-card_img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: 0.4s;
}
.blog-card:hover .blog-card_img img {
  transform: scale(1.05);
}
.blog-card_tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #E74649;
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.blog-card_content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card_meta {
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #666;
}
.blog-card_meta i {
  color: #E74649;
  margin-right: 4px;
}
.blog-card_title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}
.blog-card_title a {
  color: #46494A;
  transition: 0.3s;
}
.blog-card_title a:hover {
  color: #E74649;
}
.blog-card_text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
  flex: 1;
}

/* Blog Content (detail page) */
.blog-content_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 15px 0;
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #666;
}
.blog-content_meta i {
  color: #E74649;
  margin-right: 6px;
}
.blog-content_meta a {
  color: #E74649;
}
.blog-content_body {
  font-size: 16px;
  line-height: 1.8;
  color: #46494A;
}
.blog-content_body h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 35px 0 15px;
  color: #46494A;
}
.blog-content_body h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 25px 0 12px;
  color: #46494A;
}
.blog-content_body p {
  margin-bottom: 16px;
}
.blog-content_body ul,
.blog-content_body ol {
  margin-bottom: 16px;
  padding-left: 20px;
}
.blog-content_body li {
  margin-bottom: 8px;
}
.blog-content_body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.blog-content_body th {
  background: #E74649;
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}
.blog-content_body td {
  padding: 10px 16px;
  border-bottom: 1px solid #eee;
}
.blog-content_body tr:nth-child(even) {
  background: #f8f8f8;
}

/* Tags */
.blog-content_tags {
  margin-top: 30px;
  padding: 20px 0;
  border-top: 1px solid #eee;
}
.blog-content_tags-title {
  font-size: 16px;
  margin-bottom: 10px;
}
.blog-content_tags-title i {
  color: #E74649;
  margin-right: 6px;
}
.blog-content_tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.blog-content_tag {
  background: #f5f5f5;
  color: #46494A;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  transition: 0.3s;
}
.blog-content_tag:hover {
  background: #E74649;
  color: #fff;
}

/* Author Box */
.blog-content_author-box {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 30px;
  padding: 25px;
  background: #f8f8f8;
  border-radius: 8px;
  border-left: 4px solid #E74649;
}
.blog-content_author-img {
  flex-shrink: 0;
  width: 80px;
}
.blog-content_author-img img {
  width: 80px;
  height: auto;
}
.blog-content_author-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}
.blog-content_author-desc {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* Related Services */
.blog-content_related-services {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}
.blog-content_related-title {
  font-size: 20px;
  margin-bottom: 20px;
}
.blog-content_related-title i {
  color: #E74649;
  margin-right: 8px;
}
.blog-content_service-card {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 15px;
  background: #f8f8f8;
  border-radius: 8px;
  transition: 0.3s;
}
.blog-content_service-card:hover {
  background: #eee;
}
.blog-content_service-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: #E74649;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
}
.blog-content_service-info h5 {
  font-size: 15px;
  margin-bottom: 3px;
}
.blog-content_service-info h5 a {
  color: #46494A;
}
.blog-content_service-info h5 a:hover {
  color: #E74649;
}

/* Blog Sidebar */
.sidebar-area {
  padding-left: 20px;
}
.sidebar-area .widget {
  background: #fff;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}
.sidebar-area .widget_title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #E74649;
}

/* Recent articles */
.blog-sidebar_recent-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.blog-sidebar_recent-item {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.blog-sidebar_recent-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.blog-sidebar_recent-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #46494A;
  line-height: 1.4;
  transition: 0.3s;
}
.blog-sidebar_recent-title:hover {
  color: #E74649;
}
.blog-sidebar_recent-date {
  display: block;
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}
.blog-sidebar_recent-date i {
  color: #E74649;
  margin-right: 4px;
}

/* Categories */
.blog-sidebar_category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.blog-sidebar_category-item {
  margin-bottom: 0;
}
.blog-sidebar_category-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  color: #46494A;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  transition: 0.3s;
}
.blog-sidebar_category-item a:hover,
.blog-sidebar_category-item.active a {
  background: #E74649;
  color: #fff;
}
.blog-sidebar_category-count {
  background: rgba(0, 0, 0, 0.06);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.blog-sidebar_category-item a:hover .blog-sidebar_category-count,
.blog-sidebar_category-item.active a .blog-sidebar_category-count {
  background: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 991px) {
  .sidebar-area {
    padding-left: 0;
    margin-top: 40px;
  }
}
@media (max-width: 767px) {
  .blog-content_author-box {
    flex-direction: column;
    text-align: center;
  }
  .blog-content_meta {
    gap: 10px;
  }
}
