/* 采购公示静态页（首页+详情） */

:root {
  --bg: #f2f2f2;
  --white: #fff;
  --text: #333;
  --muted: #aeaeae;
  --line: #dfdfdf;
  --brand: #006bf5;
  --footer: #13181b;
  --banner-mask: linear-gradient(-90deg, rgba(3, 8, 40, 0.5) 0%, rgba(16, 15, 84, 0.19) 27%, rgba(3, 8, 40, 0.55) 84%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: PingFangSC-Regular, PingFang SC;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-width: 1200px;
}

a { text-decoration: none; color: #006bf5; }

ul { list-style: none; }

.header {
  background: var(--brand);
  height: 60px;
}

.header-content {
  width: 1200px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
}

.logo {
  display: inline-flex;
  width: 125px;
  height: 47px;
  margin-left: 30px;
  margin-right: 125px;
}

.logo img {
  width: 125px;
  height: 47px;
  object-fit: contain;
}

.banner {
  height: 400px;
  position: relative;
  overflow: hidden;
}

.banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute; inset: 0; background: var(--banner-mask);
}

.banner-content {
  position: absolute;
  width: 1164px;
  top: 164px;
  height: 74px;
  transform: none;
  text-align: left;
  color: #fff;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}


.banner-title {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 4px;
  font: 700 50px / 60px AlimamaShuHeiTi-Bold, AlimamaShuHeiTi;
}

.banner-subtitle {
  font-size: 18px;
  opacity: 0.9;
  letter-spacing: 6px;
}

.page-wrap {
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 40px;
  background: var(--white);
}

.procurement-list {
  width: 1120px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 4px;
  padding: 8px 0 0;
  border-radius: 4px;
  background: #FFF;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.10);
}

.procurement-item {
  display: flex;
  align-items: flex-start;
  position: relative;
  padding: 32px 40px 0 40px;
}

.procurement-item:last-child .item-content {
  border-bottom: none;
}

.item-type-indicator {
  width: 4px;
  height: 20px;
  background: var(--brand);
  margin-top: 3px;
  flex-shrink: 0;
}

.item-content {
  margin-left: 14px;
  position: relative;
  width: calc(100% - 18px);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.item-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  margin-top: 0;
  color: var(--text);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 760px;
}
.item-title a {
    color: var(--text);
}

.item-title a:hover {
  color: var(--brand);
}

.item-summary {
  font-size: 14px;
  line-height: 24px;
  margin-top: 12px;
  color: #666;
  max-width: 860px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;  /* 控制显示的行数 */
  overflow: hidden;
  text-overflow: ellipsis;
  
  /* 可选样式 */
 /*  word-break: break-all;   强制换行，避免溢出 
  max-width: 300px;         限制宽度 
  line-height: 1.5;      行高 */
}

.item-date {
  position: absolute;
  right: 0;
  top: 1px;
  font-size: 12px;
  line-height: 24px;
  color: var(--muted);
  white-space: nowrap;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  height: 74px;
}

.page-btn,
.page-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  font-size: 14px;
  color: #666;
  border-radius: 2px;
}

.page-btn:hover,
.page-number:hover {
  color: #222;
}

.page-number.active {
  color: var(--brand);
  font-weight: 600;
}

.page-ellipsis { color: #999; }
.page-goto { margin-left: 8px; font-size: 12px; color: #666; display: flex; align-items: center; gap: 6px; }
.page-input {
  width: 30px;
  height: 20px;
  border: 1px solid #ddd;
  text-align: center;
  font-size: 12px;
}

.detail-only {
  width: 1200px;
  margin: 24px auto;
}

.detail-panel {
  width: 820px;
  margin: 0 auto;
  background: #fff;
  padding: 40px 70px;
  min-height: calc(100vh - 60px);
  color: #15191a;
}

.detail-title {
  font-size: 24px;
  line-height: 34px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
}

.detail-meta {
  text-align: center;
  color: #999;
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 18px;
}

.detail-body {
  font-size: 16px;
  line-height: 24px;
}

.detail-body img {
    width: 100%;
}
.detail-wrap .detail-panel .swiper-button {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.40);
    overflow: hidden;
    display: flex;
    align-items: center;
}
.detail-wrap .detail-panel .swiper-button:hover {
     background: rgba(0, 0, 0, 0.6);
}
.detail-wrap .detail-panel .swiper-button-next {
    padding-left: 15px;
}
.detail-wrap .detail-panel .swiper-button-prev {
    padding-left: 12px;
}
.detail-wrap .detail-panel .swiper-button img {
    width: 12px;
    height: 20px;
}
.slide_img {
    display: flex;
    justify-content: center;
    align-items: center;
    img {
         width: 100%;
         object-fit: contain;
         height: 100%;
    }
}

.detail-body p {
  margin-bottom: 6px;
}

.attach-box {
  margin-top: 14px;
  padding-top: 0;
}

.attach-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #666;
  padding: 8px 10px;
  background: #f8fafd;
  border: 1px solid #edf2f7;
  margin-bottom: 4px;
}

.detail-line {
  width: 680px;
  margin: 0 auto;
  height: 1px;
  background: #dfdfdf;
}

.detail-line.top {
  margin-bottom: 20px;
}

.detail-line.bottom {
  margin-top: 20px;
  margin-bottom: 16px;
}

.attach-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-top-only {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.attach-box {
  max-width: 680px;
  margin: 14px auto 0;
}

.attach-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 12px;
  background: var(--attach-bg);
  border-radius: 4px;
}

.attach-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.attach-left .word-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.attach-left .attach-name {
  font-size: 12px;
  line-height: 20px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attach-download {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 14px;
  color: var(--text);
}

.attach-download .dl-icon {
  width: 16px;
  height: 16px;
}

