/* ================= 别睡硬床 专题页 ================= */
#hardbed-page {
  background: #fff;
  color: #333;
}

/* 导语 */
.hb-intro {
  padding-top: 70px;
}

.hb-intro h1 {
  font-size: 46px;
  line-height: 1.2;
  font-weight: bold;
  color: #004194;
}

.hb-intro .hb-en {
  margin-top: 10px;
  font-size: 20px;
  line-height: 1.2;
  font-family: 'Graphie';
  letter-spacing: 0.02em;
  color: #004194;
}

.hb-intro .hb-lead {
  margin-top: 26px;
  font-size: 16px;
  line-height: 32px;
  color: #555;
}

/* 主体：仅问答列表（已移除左侧目录与搜索框） */
.hb-main {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 54px 0 100px;
}

.hb-list {
  /* 与 .section .hb-intro 同宽，左右边界对齐 */
  flex: 1;
  min-width: 0;
  width: 100%;
}

/* 问答项：卡片式折叠面板，与站点圆角/蓝色主色样式保持一致 */
.hb-item {
  margin-bottom: 16px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hb-item:last-child {
  margin-bottom: 0;
}

.hb-item.active {
  border-color: #004194;
  box-shadow: 0 8px 24px rgba(0, 65, 148, 0.08);
}

.hb-q {
  display: flex;
  align-items: flex-start;
  width: 100%;
  padding: 20px 24px;
  border: 0;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.hb-item.active .hb-q,
.hb-q:hover {
  background: #f7fafe;
}

.hb-num {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin-right: 14px;
  border-radius: 50%;
  background: #004194;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  line-height: 34px;
  text-align: center;
}

.hb-qtext {
  flex: 1;
  font-size: 18px;
  line-height: 34px;
  font-weight: bold;
  color: #004194;
}

/* 加号 / 减号 */
.hb-icon {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 9px 0 0 16px;
}

.hb-icon::before,
.hb-icon::after {
  content: "";
  position: absolute;
  background: #004194;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hb-icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

.hb-icon::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

.hb-item.active .hb-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

/* 答案 */
.hb-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.hb-item.active .hb-a {
  grid-template-rows: 1fr;
}

.hb-a-inner {
  overflow: hidden;
}

.hb-a-content {
  /* 左侧 72px = 24px 内边距 + 34px 序号圆 + 14px 间距，正文与问题文字左对齐 */
  padding: 2px 24px 26px 72px;
  font-size: 15px;
  line-height: 30px;
  color: #555;
}

.hb-a-content p {
  margin-bottom: 12px;
}

.hb-a-content p:last-child {
  margin-bottom: 0;
}

.hb-a-content ul,
.hb-a-content ol {
  margin: 0 0 12px;
  padding-left: 20px;
}

.hb-a-content ol {
  list-style: decimal;
}

.hb-a-content ul {
  list-style: disc;
}

.hb-a-content li {
  margin-bottom: 6px;
}

.hb-a-content strong {
  color: #004194;
}

.hb-a-content a {
  color: #004194;
  text-decoration: underline;
  word-break: break-all;
}

/* 正文参考文献标记：上标小号灰色，避免与正文混排或被折到行首 */
.hb-ref {
  display: inline-block;
  margin-left: 2px;
  color: #999;
  font-size: 10px;
  font-weight: normal;
  font-style: normal;
  line-height: 0;
  vertical-align: super;
  text-decoration: none;
  white-space: nowrap;
}

/* 信息来源：作为脚注处理，去掉色块与强调线 */
.hb-src {
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid #eee;
  background: transparent;
  font-size: 10px;
  line-height: 16px;
  color: #8c8c8c;
}

.hb-src-tit {
  margin-bottom: 4px;
  color: #6f6f6f;
  font-size: 10px;
  font-weight: normal;
}

.hb-src p {
  margin: 0 0 4px;
}

.hb-src p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 1260px) {
  .hb-main,
  .hb-intro {
    width: auto;
    max-width: 1200px;
    padding-left: 24px;
    padding-right: 24px;
  }
}
