/* ==========================================================================
   成交公告模块样式（还原新首页 deal-card 设计）
   设计色值取自新首页 CSS 变量（--color-primary 等）落地
   同文件内附带公告详情页（announcearticle.html，弹窗内 iframe）样式
   ========================================================================== */

[v-cloak] {
  display: none;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background-color: #f5f6f8;
  color: #1f2329;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

#announcement {
  height: 100%;
}

h2 {
  margin: 0;
  font-weight: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ═══════════════════════════════════════ deal-card ═══════════════════════════════════════ */
.deal-card {
  /* 设计稿色值（原首页 CSS 变量落地） */
  --color-primary: #c40403;
  --color-text: #1f2329;
  --color-text-secondary: #667085;
  --color-text-muted: #8a9099;
  --color-border-light: #f0f0f0;

  /* 设计稿固定卡片高度：56px 标题栏 + 6 条列表项（59px/条）+ 13px 底部留白 */
  box-sizing: border-box;
  width: 100%;
  /* height: 422px; */
  /* padding-bottom: 13px; */
  border-radius: 8px;
  background-color: #fff;
  overflow: hidden;
}

/* ---------- 标题栏 ---------- */
.deal-header {
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 24px;
  border: 1px solid var(--color-border-light);
}

.deal-header__bar {
  flex-shrink: 0;
  width: 4px;
  height: 20px;
  margin-right: 10px;
  border-radius: 2px;
  background-color: var(--color-primary);
}

.deal-header__title {
  color: var(--color-text);
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  white-space: nowrap;
}

.deal-header__more {
  margin-left: auto;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 17px;
  white-space: nowrap;
  cursor: pointer;
}

.deal-header__more:hover {
  color: var(--color-primary);
}

/* ---------- 公告列表 ---------- */
.deal-list {
  width: 100%;
}

.deal-item {
  display: flex;
  align-items: center;
  height: 59px;
  margin: 0 24px;
  border-bottom: 1px solid var(--color-border-light);
  cursor: pointer;
}

.deal-item:last-child {
  border-bottom: 0;
}

.deal-item:hover .deal-item__title {
  color: var(--color-primary);
}

.deal-item__dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.deal-item__title {
  flex: 1;
  min-width: 0;
  margin-left: 10px;
  color: var(--color-text);
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deal-item__date {
  flex-shrink: 0;
  width: 62px;
  margin-left: 10px;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 17px;
  white-space: nowrap;
}

/* ---------- 空数据 ---------- */
.deal-empty {
  height: 130px;
  min-height: 100px;
  background: url("../image/nodata.png") no-repeat center;
  background-size: 140px;
}

/* ---------- 公告详情弹窗（iframe） ---------- */
#announcement .el-dialog {
  width: 70% !important;
}

#announcement .el-dialog__body {
  height: 500px !important;
  padding: 1px;
}

.deal-dialog__iframe {
  display: block;
  width: 100%;
  min-height: 100%;
  border: none;
}

/* ═══════════════════════════════════════ 公告详情页（announcearticle.html） ═══════════════════════════════════════ */
.headTitle {
  color: #c40403;
  text-align: center;
  font-size: 24px;
  height: 50px;
  line-height: 50px;
}

#announcearticle .form {
  width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 25px 40px;
}

#announcearticle .el-form-item__content {
  font-size: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

td {
  border: 1px solid #e2e4e8;
  padding: 0 8px;
  color: #303133;
  height: 35px;
  font-size: 13px;
}

.projectInfo_tr {
  height: 50px;
}

.label {
  background: #f8f8f8;
  width: 135px;
  text-align: right;
  padding: 5px 8px;
  color: #000;
  font-size: 13px;
}

.value {
  padding: 0 10px;
  font-size: 16px;
}
