.cluster-container {
  background: #f5f7fa;
  min-height: 100vh;
  padding-bottom: 40px;
}

.banner-container {
  position: relative;
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: top 0.3s ease;
}

body.nav-scrolled .banner-container {
  top: 70px;
}

.breadcrumb {
  width: 80%;
}

.cluster-container {
  /* padding-top: 240px; */
  padding-top: 150px;
  transition: padding-top 0.3s ease;
}

body.nav-scrolled .cluster-container {
  padding-top: 70px;
}

.cluster-content-with-sidebar {
  display: flex;
  align-items: flex-start;
  width: 80%;
  margin: 0 auto;
  gap: 30px;
}

.cluster-main-content {
  flex: 1;
  min-width: 0;
  max-width: 1400px;
}

/* 复用相同的侧边栏样式 */
.sidebar {
  width: 220px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding-bottom: 20px;
  flex-shrink: 0;
}

.sidebar-title {
  font-size: 20px;
  font-weight: bold;
  color: #222;
  padding: 24px 0 16px 0;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li {
  padding: 16px 0;
  text-align: center;
  color: #666;
  font-size: 16px;
  cursor: pointer;
  border-left: 4px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.sidebar-list li.active,
.sidebar-list li:hover {
  background: #f5f7fa;
  color: #1a3c8b;
  border-left: 4px solid #1a3c8b;
}

.category-bar {
  width: 80%;
  margin: 0 auto 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 20px 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.category-title {
  font-weight: bold;
  font-size: 16px;
  color: #333;
  white-space: nowrap;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-tab {
  font-size: 14px;
  color: #666;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 20px;
  background: #f5f7fa;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.category-tab.active {
  background: #1a3c8b;
  color: #fff;
  box-shadow: 0 2px 6px rgba(26, 60, 139, 0.3);
}

.company-list {
  width: 80%;
  margin: 0 auto 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.company-card {
  display: flex;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 24px;
  gap: 20px;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
}

.company-card:hover {
  transform: translateY(-4px);
  border-left-color: #1a3c8b;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.company-img {
  width: 100px;
  height: 100px;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
  position: relative;
}

/* 文字头像的特殊样式 */
.company-img.text-avatar {
  width: 100%;
  height: 100%;
  background: #1a3c8b;
  color: white;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.company-img.text-avatar span {
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
}

.company-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.company-info {
  flex: 1;
}

.company-name {
  font-size: 18px;
  font-weight: bold;
  color: #1a3c8b;
  margin-bottom: 6px;
}

.company-category {
  display: inline-block;
  background: #e6f7ff;
  color: #1890ff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.company-tags {
  margin-bottom: 10px;
}

.company-tags .tag {
  display: inline-block;
  background: #f5f5f5;
  color: #666;
  border-radius: 4px;
  font-size: 12px;
  padding: 4px 10px;
  margin-right: 8px;
  margin-bottom: 6px;
}

.company-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pagination-container {
  width: 80%;
  margin: 20px auto;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination-button {
  padding: 8px 16px;
  border: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-button.active {
  background: #1a3c8b;
  color: #fff;
  border-color: #1a3c8b;
}

@media (max-width: 960px) {

  .breadcrumb,
  .category-bar,
  .company-list,
  .pagination-container {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }

  .category-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .company-card {
    flex-direction: column;
  }

  .company-img {
    width: 80px;
    height: 80px;
  }
}

.cluster-container {
  background: #f5f7fa;
  min-height: 100vh;
  padding-bottom: 40px;
}

.banner-container {
  position: relative;
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: top 0.3s ease;
}

body.nav-scrolled .banner-container {
  top: 70px;
}

.breadcrumb {
  width: 80%;
}

.cluster-container {
  padding-top: 150px;
  transition: padding-top 0.3s ease;
}

body.nav-scrolled .cluster-container {
  padding-top: 70px;
}

.cluster-content-with-sidebar {
  display: flex;
  align-items: flex-start;
  width: 80%;
  margin: 0 auto;
  gap: 30px;
}

.cluster-main-content {
  flex: 1;
  min-width: 0;
}

/* 侧边栏样式 */
.sidebar {
  width: 220px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding-bottom: 20px;
  flex-shrink: 0;
}

.sidebar-title {
  font-size: 20px;
  font-weight: bold;
  color: #222;
  padding: 24px 0 16px 0;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li {
  padding: 16px 0;
  text-align: center;
  color: #666;
  font-size: 16px;
  cursor: pointer;
  border-left: 4px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.sidebar-list li.active,
.sidebar-list li:hover {
  background: #f5f7fa;
  color: #1a3c8b;
  border-left: 4px solid #1a3c8b;
}

.category-bar {
  width: 80%;
  margin: 0 auto 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 20px 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.category-title {
  font-weight: bold;
  font-size: 16px;
  color: #333;
  white-space: nowrap;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-tab {
  font-size: 14px;
  color: #666;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 20px;
  background: #f5f7fa;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.category-tab.active {
  background: #1a3c8b;
  color: #fff;
  box-shadow: 0 2px 6px rgba(26, 60, 139, 0.3);
}

.company-list {
  width: 80%;
  margin: 0 auto 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.company-card {
  display: flex;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 24px;
  gap: 20px;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
}

.company-card:hover {
  transform: translateY(-4px);
  border-left-color: #1a3c8b;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.company-img {
  width: 100px;
  height: 100px;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
  position: relative;
}

/* 文字头像的特殊样式 */
.company-img.text-avatar {
  width: 100%;
  height: 100%;
  background: #1a3c8b;
  color: white;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.company-img.text-avatar span {
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
}

.company-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.company-info {
  flex: 1;
}

.company-name {
  font-size: 18px;
  font-weight: bold;
  color: #1a3c8b;
  margin-bottom: 6px;
}

.company-category {
  display: inline-block;
  background: #e6f7ff;
  color: #1890ff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.company-tags {
  margin-bottom: 10px;
}

.company-tags .tag {
  display: inline-block;
  background: #f5f5f5;
  color: #666;
  border-radius: 4px;
  font-size: 12px;
  padding: 4px 10px;
  margin-right: 8px;
  margin-bottom: 6px;
}

.company-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pagination-container {
  width: 80%;
  margin: 20px auto;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination-button {
  padding: 8px 16px;
  border: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-button.active {
  background: #1a3c8b;
  color: #fff;
  border-color: #1a3c8b;
}

/* 先进院转化企业样式 */
.transfer-enterprises {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin-bottom: 30px;
  animation: fadeInUp 0.6s ease-out;
}

.transfer-tabs {
  display: flex;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 30px;
  gap: 5px;
  position: relative;
}

.transfer-tab {
  padding: 14px 28px;
  cursor: pointer;
  font-size: 16px;
  color: #666;
  border-radius: 8px 8px 0 0;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 500;
  background: #f8f9fa;
  margin-right: 5px;
}

.transfer-tab:hover {
  background: #e9ecef;
  color: #333;
}

.transfer-tab.active {
  background: #1a3c8b;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(26, 60, 139, 0.2);
}

.transfer-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #1a3c8b;
}

.company-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.company-content.active {
  display: block;
}

.company-content h2 {
  font-size: 28px;
  color: #1a3c8b;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
  font-weight: 700;
}

.company-info {
  display: flex;
  gap: 30px;
  margin-top: 20px;
  align-items: flex-start;
}

.image-gallery {
  flex: 0 0 350px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.image-gallery img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.image-gallery img:hover {
  transform: translateY(-5px);
}

.company-details {
  flex: 1;
}

.company-details p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
}

.company-details ul {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
}

.company-details li {
  position: relative;
  padding: 10px 0 10px 30px;
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  border-bottom: 1px dashed #f0f0f0;
}

.company-details li:last-child {
  border-bottom: none;
}

.company-details li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 10px;
  color: #1a3c8b;
  font-weight: bold;
  font-size: 16px;
}

.partner-logos {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e8e8e8;
}

.partner-logos h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 20px;
  font-weight: 600;
}

.partner-logos .logos {
  padding-left: 50px;
  padding-right: 50px;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.partner-logos .logos img {
  height: 100px;
  width: auto;
  filter: grayscale(30%);
  transition: all 0.3s ease;
  opacity: 0.8;
}

.partner-logos .logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式设计 */
@media (max-width: 960px) {

  .breadcrumb,
  .category-bar,
  .company-list,
  .pagination-container {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }

  .cluster-content-with-sidebar {
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  .cluster-main-content {
    width: 100%;
    max-width: 100%;
  }

  .sidebar {
    width: 100%;
    margin-bottom: 20px;
  }

  .category-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .company-list {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
  }

  .company-card {
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
  }

  .company-img {
    width: 80px;
    height: 80px;
  }

  /* 先进院转化企业响应式 */
  .transfer-enterprises {
    padding: 20px;
  }

  .transfer-tabs {
    flex-wrap: wrap;
  }

  .transfer-tab {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 12px 10px;
    font-size: 14px;
  }

  .company-info {
    flex-direction: column;
    gap: 20px;
  }

  .image-gallery {
    flex: 0 0 auto;
    width: 100%;
  }

  .partner-logos .logos {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .cluster-container {
    padding-top: 60px;
  }

  .breadcrumb,
  .category-bar,
  .company-list {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
  }

  .cluster-content-with-sidebar {
    width: 100%;
    max-width: 100%;
    gap: 20px;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
  }

  .cluster-main-content {
    width: 100%;
    max-width: 100%;
  }

  .category-bar {
    padding: 15px 20px;
    flex-direction: column;
    gap: 15px;
  }

  .category-title {
    font-size: 15px;
  }

  .category-tabs {
    gap: 8px;
  }

  .category-tab {
    padding: 6px 12px;
    font-size: 13px;
  }

  .company-card {
    flex-direction: column;
    padding: 18px;
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
  }

  .company-img {
    width: 80px;
    height: 80px;
  }

  .company-info h3 {
    font-size: 16px;
  }

  .company-info p {
    font-size: 13px;
  }

  .transfer-tabs {
    flex-direction: column;
  }

  .transfer-tab {
    border-radius: 8px;
    margin-bottom: 5px;
    padding: 10px;
  }

  .transfer-tab.active::after {
    display: none;
  }

  .partner-logos {
    padding: 20px 15px;
  }

  .partner-logos h3 {
    font-size: 18px;
  }

  .partner-logos .logos {
    padding: 0;
    gap: 15px;
  }

  .partner-logos .logos img {
    height: 60px;
  }

  .breadcrumb {
    padding: 15px 0;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .category-bar {
    padding: 12px 15px;
  }

  .category-tabs {
    gap: 6px;
  }

  .category-tab {
    padding: 6px 10px;
    font-size: 12px;
  }

  .company-card {
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
  }

  .company-img {
    width: 70px;
    height: 70px;
  }

  .company-info h3 {
    font-size: 15px;
  }

  .company-info p {
    font-size: 12px;
  }

  .transfer-enterprises {
    padding: 15px;
  }

  .transfer-tab {
    font-size: 13px;
    padding: 8px;
  }

  .partner-logos h3 {
    font-size: 16px;
  }

  .partner-logos .logos img {
    height: 50px;
  }
}