/* ===== 复现：衢江农商银行微信服务号「财富公告」H5 ===== */
:root {
  --bar-cyan: #31a1b9;
  --bar-blue: #1f7bb6;
  --page-bg: #f8f9fa;
  --content-bg: #efefef;
  --text-main: rgba(51, 51, 51, 0.9);
  --text-sub: #767a82;
  --line: rgba(144, 147, 153, 0.46);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  color: var(--text-main);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

#app {
  min-height: 100vh;
}

/* ---------- 入口页（财富公告 / 代销产品信息查询平台） ---------- */
.home-page {
  font-family: Arial, sans-serif;
  max-width: 800px;
  margin: 0 auto;
  background-color: #f8f9fa;
  min-height: 100vh;
}

.header-image {
  width: 100%;
  overflow: hidden;
}

.header-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-top: 10px;
}

.menu-container {
  display: flex;
  justify-content: space-around;
  padding: 30px 20px;
  margin-top: 0;
}

.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 150px;
  padding: 20px 10px;
  border-radius: 15px;
  background-color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.menu-item img {
  width: 50px;
  height: 50px;
  border-radius: 100px;
  padding: 5px;
  margin-top: 10px;
}

.menu-text {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-top: 4px;
}

@media (max-width: 600px) {
  .menu-container {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .menu-item {
    width: 80%;
    margin-bottom: 20px;
  }

  .header-image {
    width: 90%;
    margin: 0 auto;
  }
}

/* ---------- 二级公告页（代销理财公告 / 代销保险公告） ---------- */
.notice-title {
  background: var(--bar-cyan);
  text-align: center;
  color: #fff;
  padding: 20px;
  font-size: 21px;
}

.notice-row {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--text-sub);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.notice-row:active {
  background: #f5f5f5;
}

.notice-row .arrow {
  color: #a8adb5;
}

/* ---------- 列表页（产品信息 / 公司信息 / 重大事项） ---------- */
.list-page {
  padding-bottom: 60px;
  background: #fff;
}

.list-logo {
  display: block;
  width: 40vw;
  max-width: 320px;
}

.list-bar {
  background: var(--bar-blue);
  text-align: center;
  color: #fff;
  padding: 5px;
  font-size: 13px;
}

.search-box {
  background-color: #fff;
}

.search-title {
  font-size: 15px;
  padding: 15px;
  font-weight: 500;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
}

.search-title .caret {
  color: #bbb;
  font-size: 12px;
  transition: transform 0.2s ease;
}

.search-title.collapsed .caret {
  transform: rotate(180deg);
}

.search-body {
  padding: 0 15px 10px;
}

.search-body[hidden] {
  display: none;
}

.form-item {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f2f2f2;
}

.form-item label {
  width: 70px;
  flex: none;
  font-size: 14px;
  color: var(--text-main);
}

.form-item input {
  flex: 1;
  height: 35px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 0 10px;
  font-size: 14px;
  color: #333;
  background: #fff;
  outline: none;
}

.form-item input:focus {
  border-color: #1f7bb6;
}

.search-actions {
  text-align: right;
  padding: 10px 0 4px;
}

.btn-primary {
  min-width: 90px;
  height: 30px;
  line-height: 30px;
  padding: 0 16px;
  font-size: 12px;
  color: #fff;
  background: #1f7bb6;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-primary:active {
  opacity: 0.85;
}

.content {
  background: #efefef;
  padding-top: 10px;
  min-height: 50vh;
}

.card-box {
  padding: 0 12px 93px;
}

.card {
  margin: 0 0 8px;
  width: 100%;
  border-radius: 7px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
  background: #fff;
  padding: 12px 17px;
  position: relative;
}

.card-content {
  margin-top: 7px;
  font-size: 14px;
  line-height: 23px;
  color: rgba(51, 51, 51, 0.8);
  padding-bottom: 8px;
}

.card-content .line {
  word-break: break-all;
}

.card-content a {
  color: #1f7bb6;
  text-decoration: none;
}

.card-content a:active {
  opacity: 0.7;
}

.empty {
  padding: 60px 0;
  text-align: center;
  color: #999;
  font-size: 14px;
}

.content-bottom {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #fff;
  padding: 10px 15px;
  border-top: 1px solid #eee;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #333;
}

.pagination .total {
  font-size: 12px;
  color: #999;
}

.pagination button {
  background: none;
  border: none;
  font-size: 13px;
  color: #333;
  padding: 2px 6px;
  cursor: pointer;
}

.pagination button[disabled] {
  color: #c8c8c8;
  cursor: default;
}

.pagination .numbers {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #1f7bb6;
}

.pagination .numbers .cur {
  color: #1f7bb6;
  font-weight: 600;
}

.pagination .numbers .dot {
  color: #999;
}

.pagination .numbers button {
  color: #666;
}
