html, body {
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: 'Microsoft YaHei', Arial, sans-serif;
  background: #f6f8fa;
  color: #222;
}

.main-content {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px;
  margin-top: 80px; /* 为固定定位的顶部导航留出空间 */
}

.carousel-news-row {
  display: flex;
  gap: 22px;
  margin-top: 12px;
  align-items: stretch;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.news-item a {
  color: #222;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  transition: color 0.2s;
  cursor: pointer;
  width: 100%;
}
.news-item a:hover {
  color: #02542A;
}
.news-thumb {
  width: 160px;
  height: 84px;
  object-fit: cover;
  background: #eee;
}
.news-date {
  color: #999;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 10px;
  text-align: left;
  width: 100%;
}
.news-content-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}
.news-content-area span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  white-space: normal;
}
.news-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 9px 0 0 0;
}
.news-title {
  font-size: 20px;
  font-weight: bold;
  color: #006633;
}
.news-more-btn {
  color: #888;
  background: none;
  border: none;
  font-size: 15px;
  cursor: pointer;
}
.news-list {
  flex: 1.2;
  min-width: 320px;
  max-width: 40%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 0 12px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}
.news-list ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.news-list li {
  margin-top: 20px;
  color: #333;
  cursor: pointer;
  font-size: 15px;
  transition: color 0.2s;
}
.news-list li:hover {
  color: #02542A;
}

.stats-bar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  margin: 32px 0 24px 0;
  padding: 24px 0;
  gap: 0;
}
.stats-bar > div {
  flex: 1;
  text-align: left;
  border-right: 1px solid #f0f0f0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 0;
}
.stats-bar > div:last-child {
  border-right: none;
}
.stats-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
  margin: 0;
}
.stats-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.stats-num {
  font-size: 32px;
  font-weight: bold;
  color: #006633;
  margin: 0 0 2px 0;
}
.stats-label {
  font-size: 15px;
  color: #888;
  margin: 0;
}

.tables-section {
  margin-top: 12px;
}
.tables-row {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  align-items: stretch;
  flex-wrap: wrap;
}
.table-block, .qr-block, .cars-qr-block, .goods-qr-block {
  padding-top: 10px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.table-block, .cars-block, .goods-block {
  flex: 2 1 0;
  min-width: 0;
  width: 100%; /* 确保表格区块占满可用宽度 */
}
.qr-block, .goods-qr-block, .cars-qr-block {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 360px;
}
.table-block {
  background: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  padding: 18px 24px 24px 24px;
}
.qr-block {
  background: none;
  box-shadow: none;
  padding: 0;
  gap: 28px;
  align-items: center;
}
/* 新增：让最新货源/最新运力的右侧容器成为白底卡片并拉伸铺满，高度将由脚本同步 */
.goods-qr-block, .cars-qr-block {
  background: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  padding: 18px 24px 24px 24px;
  align-items: stretch;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden; /* 防止横向溢出 */
}
/* 保证右侧卡片垂直方向撑满父容器 */
.goods-qr-block > *, .cars-qr-block > * {
  flex: none;
}
/* 移除额外填充，防止与动态最小高度叠加造成溢出 */
/* .goods-qr-block::after, .cars-qr-block::after {
  content: '';
  flex: 1 1 auto;
} */
/* 右侧容器内的条目铺满宽度，避免居中窄列导致底部露出背景色 */
.goods-qr-block .goods-guarantee-card,
.goods-qr-block .goods-qr-card,
.cars-qr-block .cars-guarantee-card,
.cars-qr-block .cars-qr-card {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin-left: 0;
}
/* 新增：去除内层卡片的白底与阴影，避免“卡片叠卡片”的层叠视觉 */
.goods-qr-block .goods-guarantee-card,
.goods-qr-block .goods-qr-card,
.cars-qr-block .cars-guarantee-card,
.cars-qr-block .cars-qr-card {
  background: transparent;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}
/* 新增：分区分隔线与间距（上下两个分区的一致样式） */
.goods-qr-block > .goods-guarantee-card,
.goods-qr-block > .goods-qr-card,
.cars-qr-block > .cars-guarantee-card,
.cars-qr-block > .cars-qr-card {
  padding-top: 10px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e9ecef;
}
.goods-qr-block > .goods-qr-card:last-child,
.cars-qr-block > .cars-qr-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.qr-block-title {
  font-size: 18px;
  font-weight: bold;
  color: #006633;
  margin-bottom: 20px;
}
.qr-block-row {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 8px;
}
.qr-block .qr-item {
  text-align: center;
}
.qr-block .qr-item img {
  width: 100px;
  height: 100px;
  border: 1px solid #eee;
  padding: 5px;
  margin-bottom: 10px;
}
.qr-block .qr-btn {
  padding: 8px 10px;
  background: #006633;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.2s;
}
.qr-block .qr-btn:hover {
  background: #004d26;
}
.table-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 17px;
  font-weight: bold;
  color: #006633;
  margin-bottom: 8px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  table-layout: fixed; /* 固定表格布局 */
}

/* 确保表格行有足够高度 */
.table-block table tr {
  min-height: 44px;
}
th, td {
  padding: 10px 8px;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
  font-size: 15px;
  overflow: visible;
  word-wrap: break-word;
  word-break: break-all;
  white-space: normal;
  vertical-align: middle;
}
th {
  background: #f6f8fa;
  color: #006633;
  font-weight: bold;
}
.table-action {
  color: #006633;
  text-decoration: none;
}
.table-action:hover {
  text-decoration: underline;
}

/* 货源信息表格列宽设置 */
.goods-block table th:nth-child(1),
.goods-block table td:nth-child(1) {
  width: 20%; /* 出发地->到达地 - 增加宽度 */
}
.goods-block table th:nth-child(2),
.goods-block table td:nth-child(2) {
  width: 16%; /* 入驻企业 - 增加宽度 */
}
.goods-block table th:nth-child(3),
.goods-block table td:nth-child(3) {
  width: 10%; /* 货物分类 - 增加宽度 */
}
.goods-block table th:nth-child(4),
.goods-block table td:nth-child(4) {
  width: 10%; /* 包装方式 */
}
.goods-block table th:nth-child(5),
.goods-block table td:nth-child(5) {
  width: 10%; /* 运输类型 */
}
.goods-block table th:nth-child(6),
.goods-block table td:nth-child(6) {
  width: 14%; /* 货物名称 */
}
 /* 发布人 */
/* .goods-block table th:nth-child(7),
.goods-block table td:nth-child(7) {
  width: 8%;
} */
.goods-block table th:nth-child(7),
.goods-block table td:nth-child(7) {
  width: 12%; /* 发布时间 - 减少宽度 */
}
.goods-block table th:nth-child(8),
.goods-block table td:nth-child(8) {
  width: 8%; /* 操作 - 减少宽度 */
}

/* 运力信息表格列宽设置 */
.cars-block table th:nth-child(1),
.cars-block table td:nth-child(1) {
  width: 22%; /* 出发地->到达地 - 增加宽度 */
}
.cars-block table th:nth-child(2),
.cars-block table td:nth-child(2) {
  width: 10%; /* 车牌 */
}
.cars-block table th:nth-child(3),
.cars-block table td:nth-child(3) {
  width: 12%; /* 车辆类型 - 增加宽度 */
}
.cars-block table th:nth-child(4),
.cars-block table td:nth-child(4) {
  width: 6%; /* 车长 */
}
.cars-block table th:nth-child(5),
.cars-block table td:nth-child(5) {
  width: 6%; /* 载重 */
}
.cars-block table th:nth-child(6),
.cars-block table td:nth-child(6) {
  width: 10%; /* 司机 */
}
.cars-block table th:nth-child(7),
.cars-block table td:nth-child(7) {
  width: 14%; /* 电话 */
}
.cars-block table th:nth-child(8),
.cars-block table td:nth-child(8) {
  width: 12%; /* 发布时间 - 减少宽度 */
}
.cars-block table th:nth-child(9),
.cars-block table td:nth-child(9) {
  width: 10%; /* 操作 - 减少宽度 */
}

/* 表格内容优化 */
.table-block table th,
.table-block table td {
  box-sizing: border-box;
  word-break: keep-all; /* 防止单词被截断 */
}

/* 表格内容完整显示优化 */
.table-block table td {
  min-height: 44px; /* 确保单元格有足够高度容纳换行内容 */
  line-height: 1.4; /* 设置合适的行高 */
  padding: 12px 8px; /* 增加上下内边距，为换行内容提供更多空间 */
}

/* 确保表格行高度自适应 */
.table-block table tr {
  height: auto;
  min-height: 44px;
}

/* 优化长文本的换行显示 */
.table-block table td {
  hyphens: auto; /* 自动连字符 */
  overflow-wrap: break-word; /* 确保长单词也能换行 */
}
.table-more {
  color: #888;
  font-size: 15px;
  text-decoration: none;
  font-weight: normal;
}
.table-more:hover {
  text-decoration: underline;
}

.solution-banner {
  max-width: 1320px;
  min-width: 0;
  margin: 32px auto 32px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background: none;
  padding: 0;
}
.solution-banner img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.bottom-info-section {
  display: flex;
  gap: 20px;
  margin: 32px auto 0 auto;
  flex-wrap: wrap;
}
.bottom-info-block {
  flex: 1;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  padding: 18px 24px 18px 24px;
  min-height: 180px;
  min-width: 0;
  box-sizing: border-box;
}
.bottom-info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.bottom-info-header .card-title {
  margin-bottom: 0;
}

.policy-news-block ul {
  padding: 0;
  margin: 20px 0 0 0;
  list-style-type: disc;
}
.policy-news-block li {
  font-size: 15px;
  color: #333;
  margin-bottom: 18px;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
}
.policy-news-block li a {
  color: #333;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
.policy-news-block li a:hover {
  color: #006633;
}
.policy-news-thumb {
  width: 100px;
  height: 70px;
  object-fit: cover;
  flex-shrink: 0;
  background: #eee;
}

.policy-news-content-wrapper {
  display: flex;
  align-items: start;
  gap: 10px;
  width: 100%;
}

.company-list-wrapper {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 15px;
  color: #333;
  overflow: hidden;
  margin-top: 4px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  min-height: 266px; /* 固定高度：表头(46px) + 5条数据行(每行44px) = 266px */
  height: 266px;
  border: 1px solid #e8f0ec;
  transition: all 0.3s ease;
}

.company-scroll-container {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 220px; /* 5行 × 44px/行 = 220px */
}

.company-scroll-content {
  position: relative;
  transform: translateY(0);
  transition: transform 0.5s ease-in-out;
}

.company-list-header {
  display: flex;
  padding: 12px 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  font-weight: 500;
  color: #495057;
  position: relative;
  z-index: 1;
  height: 46px;
  box-sizing: border-box;
  flex-shrink: 0;
  font-size: 14px;
  border-radius: 8px 8px 0 0;
}

.company-list-header span:first-child {
  flex: 1;
  text-align: left;
  min-width: 0;
  padding-right: 12px;
}

.company-list-header span:last-child {
  flex-shrink: 0;
  text-align: right;
  width: 90px;
}

.company-list-wrapper > div:not(.company-list-header) {
  /* display: flex; */
  /* justify-content: space-between; */
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s;
  cursor: pointer;
}

.company-list-wrapper > div:not(.company-list-header):hover {
  background-color: #f5f9f7;
}

.company-list-wrapper > div:not(.company-list-header):active {
  background-color: #e8f0ec;
}

/* 新增：滚动容器不应用行样式 */
.company-list-wrapper > .company-scroll-container {
  padding: 0 !important;
  border: none !important;
}

/* 新增：行样式应用到滚动内容中的每一项 */
.company-scroll-content .company-item,
.company-scroll-content .company-placeholder {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid #f0f5f3;
  height: 44px;
  box-sizing: border-box;
}
.company-scroll-content .company-item {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.company-scroll-content .company-item:hover { 
  background: #f0f8f5;
  transform: none;
  box-shadow: none;
  border-left: 3px solid #006633;
}
.company-scroll-content .company-item:active { 
  background-color: #e8f0ec; 
  transform: none;
}
.company-scroll-content .company-item:last-child,
.company-scroll-content .company-placeholder:last-child { border-bottom: none; }

/* 新增：左右布局（名称-右侧信息）*/
.company-item span:first-child { 
  font-weight: 500; 
  color: #333; 
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis; 
  font-size: 14px;
  transition: color 0.3s ease;
  line-height: 1.4;
  flex: 1;
  text-align: left;
  min-width: 0;
  padding-right: 12px;
}
.company-item span:last-child { 
  color: #666; 
  font-size: 13px;
  font-weight: 400;
  transition: color 0.3s ease;
  line-height: 1.4;
  flex-shrink: 0;
  text-align: right;
  width: 90px;
}
.company-item:hover span:first-child {
  color: #006633;
}
.company-item:hover span:last-child {
  color: #006633;
}

.company-list-wrapper > div:not(.company-list-header):last-child {
  border-bottom: none;
  border-radius: 0 0 4px 4px;
}

/* 占位元素样式 */
.company-placeholder {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid #f0f5f3;
  height: 44px;
  box-sizing: border-box;
  cursor: default !important;
  pointer-events: none;
  opacity: 0;
}

.company-placeholder span:first-child {
  flex: 1;
  text-align: left;
  min-width: 0;
  padding-right: 12px;
}

.company-placeholder span:last-child {
  flex-shrink: 0;
  text-align: right;
  width: 90px;
}

.company-list-wrapper > div:not(.company-list-header):not(.company-scroll-container) span:first-child {
  font-weight: 500;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70%;
  display: inline-block;
  max-width: 180px;
}

.company-list-wrapper > div:not(.company-list-header):not(.company-scroll-container) span:last-child {
  color: #666;
}

.joined-companies-block .company-list-header span:last-child,
.logistics-companies-block .company-list-header span:last-child {
  color: #006633;
}

.joined-companies-block,
.logistics-companies-block {
  transition: none;
}

.joined-companies-block:hover,
.logistics-companies-block:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  transform: none;
}

.location-input {
  width: 320px;
  height: 36px;
  border: 1px solid #e0e7ef;
  padding: 0 14px;
  font-size: 15px;
  background: #fff;
  outline: none;
  cursor: pointer;
  transition: border 0.2s;
}
.location-input:focus {
  border-color: #006633;
}

#location-modal {
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  min-width: 340px;
  padding: 32px 36px 24px 36px;
  z-index: 10000;
}
#location-modal select {
  border: 1px solid #e0e7ef;
  padding: 6px 12px;
  font-size: 15px;
  background: #fff;
  outline: none;
  transition: border 0.2s;
}
#location-modal select:focus {
  border-color: #006633;
}
#location-modal button {
  font-size: 15px;
}
#location-modal-mask {
  z-index: 9999;
}

.fast-order-label {
  font-size: 13px;
  color: #888;
  margin-top: 6px;
}

.fast-order-btn {
  width: 90%;
  max-width: 220px;
  margin: 12px auto 0 auto;
  display: block;
  font-size: 16px;
  font-weight: bold;
}

.qr-block-row {
  margin-bottom: 8px;
}

.card-title {
  font-size: 19px;
  font-weight: bold;
  color: #222;
  margin-bottom: 6px;
  position: relative;
  line-height: 1.2;
  display: block;
  text-align: left;
}
.card-title-underline {
  display: flex;
  align-items: center;
  margin-top: 6px;
  height: 3px;
  width: 100%;
}
.card-title-underline .gold {
  background: #C7B47E;
  height: 3px;
  display: inline-block;
}
.card-title-underline .gray {
  background: #E5E5E5;
  height: 3px;
  flex: 1;
  display: inline-block;
}

.goods-search-bar {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 18px 24px 12px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.goods-search-bar select,
.goods-search-bar input[type="text"] {
  border: 1px solid #e0e7ef;
  font-size: 15px;
  outline: none;
  min-width: 90px;
  background: #fff;
  transition: border 0.2s;
}
.goods-search-bar select:focus,
.goods-search-bar input[type="text"]:focus {
  border-color: #006633;
}
.goods-search-bar button {
  padding: 6px 22px;
  background: #006633;
  color: #fff;
  border: none;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
}
.goods-search-bar button:hover {
  background: #004d26;
}

.goods-guarantee-card, .goods-qr-card, .cars-guarantee-card, .cars-qr-card {
  background: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  padding: 18px 24px 18px 24px;
  min-width: 220px;
  max-width: 360px;
  margin-left: auto;
}
.goods-guarantee-card, .cars-guarantee-card {
  margin-bottom: 20px;
}
.goods-qr-card, .cars-qr-card {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 300px;
  gap: 10px;
  padding-top: 22px;
  padding-bottom: 22px;
  gap: 8px;
}
.goods-qr-card .qr-block-title, .cars-qr-card .qr-block-title {
  margin-bottom: 12px;
}
.goods-qr-card .qr-block-row,
.cars-qr-card .qr-block-row {
  margin-bottom: 20px;
}
.goods-qr-card .qr-item img, .cars-qr-card .qr-item img {
  width: 90px;
  height: 90px;
}
.goods-qr-card .qr-btn, .cars-qr-card .qr-btn {
  margin-top: 0;
  width: 90%;
  max-width: 220px;
}

.goods-block {
  display: flex;
  flex-direction: column;
}

.top-iframe {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  border: none;
  z-index: 1000;
}

.footer-iframe {
  width: 100%;
  border: none;
}

@media (max-width: 1100px) {
  .bottom-info-section {
    flex-direction: column;
    gap: 12px;
  }
  .bottom-info-block {
    max-width: 100%;
    width: 100%;
    min-width: 0;
  }
  
  /* 在小屏幕上调整表格布局 */
  .tables-row {
    flex-direction: column;
  }
  
  .table-block, .cars-block, .goods-block {
    flex: none;
    width: 100%;
    margin-bottom: 20px;
  }
  
  .qr-block, .goods-qr-block, .cars-qr-block {
    flex: none;
    width: 100%;
    max-width: none;
  }
  
  /* 在小屏幕上调整表格列宽 */
  .goods-block table th,
  .goods-block table td,
  .cars-block table th,
  .cars-block table td {
    width: auto !important;
    min-width: 80px;
    white-space: normal;
    word-wrap: break-word;
  }
}

@media (max-width: 768px) {
  /* 在手机等小屏设备上进一步优化表格显示 */
  .main-content {
    padding: 10px;
  }
  
  .table-block {
    padding: 12px 16px 16px 16px;
  }
  
  .goods-search-bar {
    padding: 12px 16px 8px 16px;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .goods-search-bar input[type="text"] {
    min-width: 120px;
    flex: 1;
  }
  
  .goods-search-bar button {
    padding: 6px 16px;
    font-size: 14px;
  }
  
  /* 在小屏设备上隐藏部分表格列 */
  .goods-block table th:nth-child(4),
  .goods-block table td:nth-child(4),
  .goods-block table th:nth-child(5),
  .goods-block table td:nth-child(5),
  .cars-block table th:nth-child(4),
  .cars-block table td:nth-child(4),
  .cars-block table th:nth-child(5),
  .cars-block table td:nth-child(5) {
    display: none;
  }
  
  /* 调整剩余列的宽度 */
  .goods-block table th,
  .goods-block table td,
  .cars-block table th,
  .cars-block table td {
    width: auto !important;
    min-width: 60px;
    padding: 8px 4px;
    font-size: 14px;
    white-space: normal;
    word-wrap: break-word;
  }
}

.custom-carousel {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 360px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}
.carousel-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
}
.carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.carousel-dots span {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
.carousel-dots span.active {
  background: #006633;
}

#location-modal-mask {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.18);
  z-index: 9999;
}
#location-modal {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.13);
  padding: 32px 36px 24px 36px;
  z-index: 10000;
  min-width: 340px;
}

.card-title-underline .gold {
  width: 40px;
}

/* 返回顶部按钮 */
#backToTop {
  display: none;
  position: fixed;
  right: 48px;
  bottom: 120px;
  z-index: 999;
  padding: 0 22px;
  height: 44px;
  background: #02542A;
  color: #fff;
  border: none;
  font-size: 16px;
  font-family: 'Microsoft YaHei', Arial, sans-serif;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  outline: none;
}
#backToTop:hover {
  background: #014321;
  box-shadow: 0 4px 16px rgba(2,84,42,0.18);
  transform: translateY(-2px) scale(1.04);
}

/* 公司列表样式 */
.company-list-header {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  color: #006633;
  border-bottom: 1px solid #e0e7ef;
  padding: 12px 16px;
  background: #f8fafc;
  text-align: left;
  border-radius: 4px 4px 0 0;
}

/* 路由箭头样式 */
.route-arrow {
  font-size: 18px;
  color: #888;
  flex-shrink: 0;
}

/* 政策动态项内容 */
.policy-news-item-content {
  width: 100%;
}

/* 页面内嵌框架高度自适应 */
.iframe-auto-height {
  width: 100%;
  border: none;
  overflow: hidden;
}

.company-item {
  position: relative;
}

.company-item::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #006633;
  font-size: 16px;
  font-weight: bold;
  opacity: 0;
  transition: all 0.3s ease;
}

.company-item:hover::after {
  opacity: 1;
  transform: translateY(-50%);
}

/* 悬停时暂停滚动的视觉提示 */
.company-list-wrapper:hover {
  box-shadow: 0 6px 24px rgba(0,102,51,0.15);
  transform: translateY(-1px);
}

.company-list-wrapper.paused .company-scroll-content {
  animation-play-state: paused !important;
}

/* 企业信息弹窗样式 */
.modal-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-info-modal {
  background: #fff;
  width: 420px;
  max-width: 90%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: none;
  z-index: 10000;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes modalFadeIn {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  background: #006633;
  color: #fff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: transform 0.2s;
}

.modal-close:hover {
  transform: scale(1.2);
}

.modal-content {
  padding: 20px;
}

.info-item {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item label {
  color: #666;
  width: 80px;
  flex-shrink: 0;
}

.info-item span {
  color: #222;
  font-weight: 500;
  flex: 1;
}

.modal-footer {
  padding: 12px 20px;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #eee;
}

.modal-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.2s;
}

.modal-confirm {
  background: #006633;
  color: #fff;
}

.modal-confirm:hover {
  background: #005229;
} 

/* 表格单元：两行省略，避免超长路线影响布局 */
.cell-2line {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  white-space: normal;
  line-height: 1.4;
} 