.titles {
  max-width: 1400px;
  margin: 20px auto;
  padding: 20px;
  font-size: 2em;
}

/* 页面标题 */
.page-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 40px;
}

/* 企业聚合列表容器 */
.enterprise-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

/* 企业卡片样式 */
.enterprise-container .enterprise-card {
  width: calc(50% - 20px);
  border: 1px solid #eeeeee;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 企业卡片悬停效果 */
.enterprise-container .enterprise-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 企业logo区域 */
.enterprise-container .enterprise-logo-section {
  background-color: #fafafa;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.enterprise-container .enterprise-logo {
  width: 75px;
  height: 75px;
  object-fit: contain;
  border-radius: 50%;
}

/* 企业名称区域 设置只能显示一行 */
.enterprise-name {
  font-size: 22px;
  font-weight: 600;
  color: #333333;
  height: 90px;
  line-height: 90px;
  margin-left: 15px;
  max-width: 490px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 图片新闻区域 */
.enterprise-container .image-news-section {
  cursor: pointer;
  padding: 20px;
}

.enterprise-container .image-news-content {
  display: flex;
}

/* 新闻图片 */
.enterprise-container .news-image1 {
  width: 40%;
  height: 0;
  padding-bottom: 22%;
  /* 5:3比例 */
  background-color: #f0f0f0;
  position: relative;
  overflow: hidden;
}

.enterprise-container .news-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* transition: transform 0.3s ease; */
  transition: ease 1s;
  opacity: 0;
}

.news-image.loaded {
  opacity: 1;
}

.image-news-section:hover .news-image {
  transform: scale(1.1, 1.1);
  /* transform: scale(1.05); */
}

/* 新闻信息 */
.enterprise-container .news-info {
  width: 60%;
  padding: 15px;
  display: flex;
  flex-direction: column;
}

/* 新闻标题 */
.enterprise-container .news-title {
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 56px;
  line-height: 28px;
}

.enterprise-container .news-title:hover {
  color: #b80000;
}

/* 新闻元信息 */
.enterprise-container .news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #9e9e9e;
  margin-top: auto;
}

/* 浏览量 */
.enterprise-container .view-count {
  display: flex;
  align-items: center;
}

.enterprise-container .view-count .icon-yueduliang2 {
  margin-right: 5px;
  font-size: 18px;
}

.enterlogoquan {
  width: 90px;
  height: 90px;
  background-color: #fff;
  border: 1px solid #f3f3f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 文字新闻列表 */
.enterprise-container .text-news-section {
  padding: 15px 20px 20px;
}

.enterprise-container .text-news-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* 文字新闻项 */
.enterprise-container .text-news-item {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s ease;
}

.enterprise-container .text-news-item:hover {
  color: #b80000;
}

/* 新闻圆点 */
.enterprise-container .news-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #333333;
  margin-right: 10px;
  flex-shrink: 0;
}

/* 新闻文本 */
.enterprise-container .news-text {
  font-size: 16px;
  color: #333333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.enterprise-container .news-text:hover {
  color: #b80000;
}

.drpd {
  padding: 0;
  height: 140px;
}

.drpda {
  height: 30px;
  width: 95%;
}

.logott {
  width: 220px;
  height: 68px;
  padding: 0;
}

/* 分页样式 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 100px;
}

.pagination button {
  padding: 8px 16px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s;
}

.pagination button:hover:not(:disabled) {
  background: #7a0000;
  color: white;
  border-color: #7a0000;
}

.pagination button.active {
  background: #7a0000;
  color: white;
  border-color: #7a0000;
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 576px) {
  .pagination {
    flex-wrap: wrap;
    margin-top: 50px;
  }
}


/* 响应式设计 */
@media (max-width: 1400px) {
  .enterprise-container {
    padding: 0 20px;
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .titles {
    font-size: 1.5rem;
    margin: 20px auto 0;
    padding: 20px 20px 10px;
  }

  .enterprise-container .enterprise-card {
    width: 100%;
  }

  .enterprise-container .image-news-content {
    flex-direction: column;
  }

  .enterprise-container .news-image {
    width: 100%;
    padding-bottom: 60%;
  }

  .enterprise-container .news-info {
    width: 100%;
  }
}