/* Blog List Section Styles */
.blog-list-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 69px 72px;
  gap: 32px;
  width: 100%;
  background-color: #f9f9f9;
}

.blog-list-section .container {
  max-width: 1368px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.blog-list-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
}

.title-container h2 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 40px;
  color: #111928;
  margin: 0;
}

/* Blog Categories */
.blog-categories {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0;
  gap: 10px;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.blog-categories::-webkit-scrollbar {
  display: none;
}

.category-tab {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 4px 10px;
  gap: 10px;
  height: 32px;
  background: #f3f4f6;
  border: 1px solid #dfe4ea;
  border-radius: 5px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 24px;
  text-align: center;
  color: #111928;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.category-tab.active {
  background: #ad2324;
  color: #ffffff;
  border-color: #ad2324;
}

.category-tab:hover:not(.active) {
  background: #e8e8e9;
}

/* Blog Grid */
.blog-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 0;
  gap: 14px 8px;
  width: 100%;
}

.blog-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 0 0 20px;
  gap: 12px;
  width: calc(33.333% - 8px);
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  height: 362px;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.blog-image-container {
  position: relative;
  width: 100%;
  height: 265px;
}

.blog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px 6px 0 0;
}

.blog-category-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 90%;
}

.blog-category-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 8px;
  background: #ffffff;
  border-radius: 4px;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
  color: #0b76b7;
}

.blog-category-badge.accounting {
  background: #ffffff;
  color: #0b76b7;
}

.blog-category-badge.firm {
  background: #e8e8e9;
  color: #ad2324;
}

.blog-category-badge.services {
  background: #e8e8e9;
  color: #d97706;
}

.blog-category-badge.advisory {
  background: #e8e8e9;
  color: #059669;
}

.blog-category-badge.consulting {
  background: #e8e8e9;
  color: #7c3aed;
}

.blog-category-badge.international {
  background: #e8e8e9;
  color: #2563eb;
}

.blog-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 10px;
  gap: 2px;
  width: calc(100% - 20px);
  flex-grow: 1;
  overflow: hidden;
}

.blog-date {
  width: 100%;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  color: #8899a8;
  margin: 0;
}

.blog-title-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 8px;
}

#blog-title {
  color: #ffffff;
}
#breadcrumb-title {
  color: #ffffffc0;
}
.separator {
  color: #ffffff;
}
.breadcrumbs a {
  color: #ffffff;
}
.blog-title {
  width: calc(100% - 30px);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #111928;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 48px;
}

.blog-arrow {
  width: 20px;
  height: 20px;
  position: relative;
}

.blog-arrow::after {
  content: "";
  position: absolute;
  left: 28.79%;
  right: 28.79%;
  top: 10.51%;
  bottom: 10.47%;
  border: 2px solid #f27430;
  transform: rotate(45deg);
  border-left: none;
  border-bottom: none;
  width: 8px;
  height: 8px;
}
.blog-title-list {
  color: #111928;
}
@media (max-width: 1200px) {
  .blog-list-section {
    padding: 50px 40px;
  }

  .blog-card {
    width: calc(50% - 8px);
    height: 470px;
  }
}

@media (max-width: 768px) {
  .blog-list-section {
    padding: 40px 30px;
  }

  .blog-categories {
    padding-bottom: 10px;
  }

  .title-container h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .blog-card {
    width: 100%;
    height: 480px;
  }
}

@media (max-width: 480px) {
  .blog-list-section {
    padding: 30px 20px;
  }

  .title-container h2 {
    font-size: 22px;
    line-height: 28px;
  }

  .category-tab {
    padding: 4px 8px;
    font-size: 11px;
  }

  .blog-card {
    height: 450px;
  }

  .blog-image-container {
    height: 220px;
  }
}

.category-count {
  margin-left: 4px;
  font-size: 11px;
  opacity: 0.8;
}

.category-tab.active .category-count {
  opacity: 1;
}
