@charset "utf-8";

/* 征集调查详情页 — 参考 gd.gov.cn hdjlpt/yjzj answer #article-container */

.zjdc-detail {
  width: 100%;
  max-width: 1200px;
  margin: 20px auto 30px;
  padding: 0 15px;
  box-sizing: border-box;
  border: none;
}

.zjdc-detail .listlmtt {
  width: 100%;
  padding: 0;
}

/* ---------- 文章主容器 ---------- */
#article-container.zjdc-article {
  background: #fff;
  /* border: 1px solid #e8e8e8; */
  /* border-radius: 4px; */
  overflow: hidden;
  padding: 0;
  width: 100%;
}

/* 标题区 */
.zjdc-article__header {
  padding: 32px 40px 20px;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.zjdc-article__title,
.zjdc-article__title.detailltitle {
  margin: 0 0 16px;
  padding: 0;
  font-size: 26px;
  font-weight: bold;
  line-height: 1.5;
  color: #222;
  text-align: center;
}

/* 元信息 */
.zjdc-article__meta,
.zjdc-article__meta.detailinfo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 24px;
  padding: 0;
  margin: 0;
  border: none;
  overflow: visible;
  font-size: 14px;
  color: #888;
  line-height: 1.8;
}

.zjdc-article__meta-left,
.zjdc-article__meta-left.detailinfo-left {
  float: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  color: #888;
  font-size: 14px;
}

.zjdc-article__meta-item {
  white-space: nowrap;
}

.zjdc-article__meta-item em {
  font-style: normal;
  color: #555;
}

.zjdc-article__font,
.zjdc-article__font.detailinfo-font {
  float: none;
  color: #888;
  font-size: 14px;
}

.zjdc-article__font a {
  color: #ba101d;
  text-decoration: none;
  cursor: pointer;
}

.zjdc-article__font a:hover {
  text-decoration: underline;
}

/* 正文 */
.zjdc-article__body {
  padding: 28px 40px;
  font-size: 16px;
  line-height: 2;
  color: #333;
  word-break: break-word;
}

.zjdc-article__body.article-content img {
  max-width: 100%;
  height: auto;
}

.zjdc-article__body.article-content table {
  max-width: 100% !important;
}

/* 滚动条（正文过长时） */
.zjdc-article__body--scroll {
  max-height: 480px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #e5e5e5 transparent;
}

.zjdc-article__body--scroll::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: transparent;
}

.zjdc-article__body--scroll::-webkit-scrollbar-track {
  background-color: transparent;
}

.zjdc-article__body--scroll::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background-color: #e5e5e5;
}

/* ---------- 相关附件 ---------- */
.zjdc-attach {
  margin: 0 40px;
  padding: 20px 0 28px;
  border-top: 1px dashed #ddd;
}

.zjdc-attach__title,
.zjdc-attach .file-download-box > .zjdc-attach__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding-left: 0;
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.zjdc-attach__title::before {
  content: "";
  flex-shrink: 0;
  width: 4px;
  height: 18px;
  background: #0066cc;
  border-radius: 1px;
}

.zjdc-attach__title img {
  display: none;
}

.zjdc-attach__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.zjdc-attach__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  margin-bottom: 8px;
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 4px;
}

.zjdc-attach__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  color: #333;
}

.zjdc-attach__download {
  color: #000 !important;
  font-size: 14px;
}

.zjdc-attach__download:hover {
  /* background: #9a0d18; */
}

.zjdc-attach__empty {
  color: #999;
  font-size: 14px;
}

/* ---------- 区块标题（意见/反馈/问卷） ---------- */
.zjdc-section {
  margin: 0 40px 32px;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.zjdc-section__head,
.zjdc-section__head.survey-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 18px;
  height: auto;
  background: transparent;
  color: #333;
  font-size: 18px;
  font-weight: bold;
  border: none;
  margin: 0;
}

.zjdc-section__head::before {
  content: "";
  flex-shrink: 0;
  width: 4px;
  height: 18px;
  background: #0066cc;
  border-radius: 1px;
}

.zjdc-section__title,
.zjdc-section__head h1,
.zjdc-section__head.survey-header h1 {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  line-height: 1.4;
}

.zjdc-section__line {
  flex: 1;
  height: 1px;
  background: #e0e0e0;
  margin-left: 4px;
}

.zjdc-section__head img {
  display: none;
}

.zjdc-section__body {
  padding: 8px 0 24px;
  background: transparent;
  min-height: 80px;
}

/* ---------- 表单区 ---------- */
.zjdc-form-wrap,
.zjdc-form-wrap.apply-content,
.zjdc-form-wrap.survey-container {
  margin: 0;
  padding: 0;
  background: transparent;
}

.zjdc-form-wrap .survey-form,
.zjdc-form-wrap form {
  margin: 0;
}

#survey_form {
  width: 100%;
}

.zjdc-form-actions,
.zjdc-form-actions.btnsave,
.zjdc-form-actions.save {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 8px;
  width: 100%;
}

.zjdc-btn,
.zjdc-btn.exam-save-btn,
.zjdc-btn.submit {
  display: inline-block;
  min-width: 120px;
  height: 40px;
  padding: 0 28px;
  border: 1px solid #ba101d;
  border-radius: 4px;
  background: #ba101d;
  color: #fff !important;
  font-size: 15px;
  line-height: 38px;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}

.zjdc-btn:hover {
  background: #9a0d18;
  border-color: #9a0d18;
}

.zjdc-btn--secondary {
  background: #666;
  border-color: #666;
}

.zjdc-btn--secondary:hover {
  background: #555;
  border-color: #555;
}

/* ---------- 结果反馈 ---------- */
.zjdc-feedback-body,
.zjdc-feedback-body.recover_content {
  padding: 0;
  line-height: 2;
  font-size: 16px;
  color: #333;
}

.zjdc-feedback-body .recover-text-box {
  text-indent: 2em;
  text-align: justify;
}

.zjdc-feedback-empty {
  text-align: center;
  padding: 40px 0;
  color: #999;
}

.zjdc-feedback-empty img {
  width: 48px;
  opacity: 0.3;
  display: block;
  margin: 0 auto 15px;
}

.zjdc-feedback-empty .null_mess {
  margin: 0;
  font-size: 15px;
}

/* ---------- 网上调查专用 ---------- */
.wsdc-content {
  padding: 0;
}

.wsdc-content .zjdc-article__header {
  border-bottom: 1px solid #eee;
}

.wsdc-content .survey-container {
  margin: 0 40px 32px;
}

.wsdc-content .survey-container .zjdc-section {
  margin: 0;
}

/* 保留旧容器 id 兼容脚本 */
#zoomcon.con_con {
  width: 100%;
  border-right: none;
}

/* ---------- 手机端 ---------- */
@media screen and (max-width: 768px) {
  .zjdc-detail {
    margin: 12px auto 20px;
    padding: 0 10px;
  }

  .zjdc-article__header {
    padding: 20px 16px 16px;
  }

  .zjdc-article__title,
  .zjdc-article__title.detailltitle {
    font-size: 20px;
  }

  .zjdc-article__meta,
  .zjdc-article__meta-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .zjdc-article__body {
    padding: 20px 16px;
    font-size: 15px;
    line-height: 1.8;
  }

  .zjdc-article__body--scroll {
    max-height: none;
    overflow-y: visible;
  }

  .zjdc-attach,
  .zjdc-section {
    margin-left: 16px;
    margin-right: 16px;
  }

  .zjdc-section__body {
    padding: 16px;
  }

  .zjdc-attach__item {
    flex-direction: column;
    align-items: flex-start;
  }

  .zjdc-attach__download {
    align-self: flex-end;
  }

  .wsdc-content .survey-container {
    margin: 0 16px 20px;
  }
}
