/* =====================================================
   ketang.css — 胸壁守护课堂 / 脆骨攻坚（listketang + showketang）
   依据：胸壁守护课堂.psd (1920x3200) / 胸壁守护课堂--详情页.psd (1920x3500)
   有效区域：≥1200 视口两侧各留 100px（1920 下 = 1720px）
   依赖：css2/css3/style/index/about.css，本文件最后加载
   ===================================================== */

/* ---- 1720px 有效区（≥1200） ---- */
@media (min-width: 1200px) {
  .ketang-page-sec .container { width: auto; max-width: none; padding-left: 100px; padding-right: 100px; }
}

/* ---- 版权条回归文档流（index.css 的 absolute 是首页 pagepiling 专用） ---- */
.ketang-page-sec .copy-strip { position: static; }

/* ==================== 顶部照片带 ==================== */
.ketang-hero {
  position: relative;
  height: 44.36rem;
  background: url(../image/ketang-band.jpg) top center / cover no-repeat;
}
.ketang-team {
  position: absolute;
  top: 13.86rem;
  right: 6.67%;
  width: 33.23%;
  max-width: 638px;
  pointer-events: none;
  z-index: 1;
}
.ketang-team img { display: block; width: 100%; height: auto; }

/* ==================== 栏目标题（两页共用） ==================== */
.ketang-head { padding-top: 4.36rem; }
.ketang-title {
  margin: 0;
  color: #0c236c;
  font-size: 3.43rem;
  line-height: 1.2;
  font-weight: 700;
}
.ketang-en {
  margin: 0.6rem 0 0;
  color: #9aa3b2;
  font-size: 0.86rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

/* ==================== 列表页 ==================== */
/* featured：左图右文 */
.ketang-feat {
  display: flex;
  align-items: flex-start;
  margin-top: 4.5rem;
  padding-bottom: 4.36rem;
  border-bottom: 1px solid #e8ebf0;
}
.ketang-feat-pic {
  flex: 0 0 32.64rem;
  max-width: 32.64rem;
  padding: 0.71rem;
  background: #fff;
  border: 1px solid #eceff4;
  box-shadow: 0 0.71rem 1.79rem rgba(12, 35, 108, 0.08);
}
.ketang-feat-pic img { display: block; width: 100%; height: auto; }
.ketang-feat-body { flex: 1 1 auto; min-width: 0; margin-left: 4.57rem; }
.ketang-feat-title {
  margin: 1.3rem 0 0;
  font-size: 2.57rem;
  line-height: 1.35;
  font-weight: 700;
  color: #16233f;
}
.ketang-feat-title a { color: inherit; text-decoration: none; }
.ketang-feat-title a:hover { color: #0c236c; }
.ketang-feat-note {
  margin: 1.57rem 0 0;
  color: #6b7484;
  font-size: 1.07rem;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.ketang-date { margin-top: 1.5rem; color: #9aa3b2; font-size: 0.93rem; }
.ketang-feat .ketang-date { margin-top: 4.29rem; }

/* 双列卡片 */
.ketang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 8.57rem;
}
.ketang-card {
  padding: 3.2rem 0.93rem 1.6rem;
  border-bottom: 1px solid #e8ebf0;
  transition: background .3s ease, border-color .3s ease;
}
.ketang-card:hover { background: #f5f6f8; border-bottom-color: #16233f; }
.ketang-card-title {
  margin: 0;
  font-size: 2.21rem;
  line-height: 1.4;
  font-weight: 700;
  color: #16233f;
}
.ketang-card-title a { color: inherit; text-decoration: none; }
.ketang-card-title a:hover { color: #0c236c; }
.ketang-card-note {
  margin: 1.36rem 0 0;
  color: #6b7484;
  font-size: 1rem;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.ketang-card .ketang-date { margin-top: 1.29rem; }

/* 分页：圆形箭头 + 数字圆 */
.ketang-page {
  display: flex;
  justify-content: center;
  padding: 8.93rem 0 8.5rem;
}
.ketang-page ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; }
.ketang-page ul li { margin: 0 0.36rem; }
.ketang-page ul li:first-child,
.ketang-page ul li:last-child { display: none; }        /* 隐藏「首页/末页」 */
.ketang-page ul li:nth-child(2),
.ketang-page ul li:nth-last-child(2) { margin: 0 0.64rem; } /* 上一页/下一页 = 大圆箭头 */
.ketang-page a, .ketang-page span {
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
}
/* 上一页/下一页：3.71rem 大圆（直接子元素），内层图标 span 透明 */
.ketang-page ul li:nth-child(2) > a,
.ketang-page ul li:nth-last-child(2) > a,
.ketang-page ul li:nth-child(2) > span,
.ketang-page ul li:nth-last-child(2) > span {
  width: 3.71rem; height: 3.71rem; border-radius: 50%;
  background: #f1f2f4; color: #b6bdca; font-size: 1.1rem;
}
.ketang-page ul li:nth-child(2) a span,
.ketang-page ul li:nth-child(2) span span,
.ketang-page ul li:nth-last-child(2) a span,
.ketang-page ul li:nth-last-child(2) span span {
  width: auto; height: auto; background: transparent; color: inherit;
}
/* 数字页码：2.43rem 浅灰圆，当前页深蓝圆 */
.ketang-page ul li:not(:nth-child(2)):not(:nth-last-child(2)) a,
.ketang-page ul li:not(:nth-child(2)):not(:nth-last-child(2)) > span {
  width: 2.43rem; height: 2.43rem; border-radius: 50%;
  background: #f1f2f4; color: #6b7484; font-size: 1rem;
}
.ketang-page ul li.active:not(:nth-child(2)):not(:nth-last-child(2)) > span { background: #0c236c; color: #fff; }
/* hover 反馈：深蓝（特异度需盖过上面的底色规则） */
.ketang-page ul li:nth-child(2) > a:hover,
.ketang-page ul li:nth-last-child(2) > a:hover,
.ketang-page ul li:not(:nth-child(2)):not(:nth-last-child(2)) a:hover {
  background: #0c236c; color: #fff;
}

/* 空态 */
.ketang-empty { padding: 6rem 0 8rem; color: #6b7484; font-size: 1.29rem; text-align: center; }

/* ==================== 详情页 ==================== */
.ketang-detail {
  display: flex;
  align-items: flex-start;
  margin-top: 8.7rem;
}
.ketang-article { flex: 1 1 auto; min-width: 0; border-bottom: 1px solid #e8ebf0; padding-bottom: 3.86rem; }
.ketang-post-title {
  margin: 0;
  font-size: 3.43rem;
  line-height: 1.35;
  font-weight: 700;
  color: #16233f;
  text-align: center;
}
.ketang-meta {
  margin: 3.5rem 0 0;
  color: #9aa3b2;
  font-size: 1rem;
  text-align: center;
}
.ketang-meta span + span { margin-left: 2.14rem; }
.ketang-post-body {
  margin-top: 3.86rem;
  border-top: 1px solid #e8ebf0;
  padding-top: 3.86rem;
  color: #43506a;
  font-size: 1.07rem;
  line-height: 2;
}
.ketang-post-body p { margin: 0 0 1.5em; }
.ketang-post-body img { max-width: 100%; height: auto; display: block; margin: 2.5rem auto; }

/* 上一篇/下一篇 + 返回列表 */
.ketang-pn { display: flex; align-items: center; margin-top: 2.57rem; }
.ketang-pn-links { flex: 1 1 auto; min-width: 0; }
.ketang-pn-links p { margin: 0; font-size: 1rem; line-height: 2; color: #6b7484; }
.ketang-pn-links a { color: #16233f; text-decoration: none; }
.ketang-pn-links a:hover { color: #0c236c; }
.ketang-pn .detail-back {
  position: static; transform: none; margin-left: 2rem; flex: 0 0 auto;
  display: flex; align-items: center; white-space: nowrap;
}
.ketang-pn .detail-pill {
  display: inline-block; background: #34b7af; color: #fff; text-decoration: none;
  border-radius: 2em; font-size: 1.21rem; line-height: 3.14rem;
  height: 3.14rem; padding: 0 2.9rem;
}
.ketang-pn .detail-pill:hover { background: #2ba49c; color: #fff; text-decoration: none; }
.ketang-pn .detail-pill-circle {
  flex: 0 0 auto; width: 3.14rem; height: 3.14rem; line-height: 3.1rem;
  background: #34b7af; color: #fff; border-radius: 50%; text-align: center;
  font-size: 1.5rem; text-decoration: none;
}
.ketang-pn .detail-back .detail-pill-circle { margin-left: 1rem; }
.ketang-pn .detail-pill-circle:hover { background: #2ba49c; color: #fff; text-decoration: none; }

/* 右栏其他文章 */
.ketang-aside {
  flex: 0 0 26.05%;
  max-width: 26.05%;
  margin-left: 6.1%;
  padding-top: 2.86rem;
}
.ketang-aside-item { padding-bottom: 1.79rem; margin-bottom: 1.79rem; border-bottom: 1px solid #e8ebf0; }
.ketang-aside-item:last-child { border-bottom: none; }
.ketang-aside-title {
  margin: 0;
  font-size: 1.43rem;
  line-height: 1.5;
  font-weight: 700;
  color: #16233f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ketang-aside-title a { color: inherit; text-decoration: none; }
.ketang-aside-title a:hover { color: #0c236c; }
.ketang-aside-note {
  margin: 0.79rem 0 0;
  color: #6b7484;
  font-size: 0.93rem;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.ketang-aside-item .ketang-date { margin-top: 1rem; }

/* ==================== 响应式 ==================== */
@media (max-width: 1599px) {
  .ketang-feat-pic { flex-basis: 28rem; max-width: 28rem; }
  .ketang-feat-body { margin-left: 3rem; }
  .ketang-feat-title { font-size: 2.14rem; }
  .ketang-card { min-height: 0; padding-bottom: 1.6rem; }
  .ketang-card-title { font-size: 1.79rem; }
  .ketang-post-title { font-size: 2.57rem; }
}
@media (max-width: 1399px) {
  .ketang-feat-pic { flex-basis: 24rem; max-width: 24rem; }
  .ketang-title { font-size: 2.86rem; }
  .ketang-grid { column-gap: 5rem; }
  .ketang-detail { margin-top: 6rem; }
}
@media (max-width: 1199px) {
  .ketang-hero { height: 36rem; }
  .ketang-team { top: 9rem; right: 3%; width: 40%; }
}
@media (max-width: 991px) {
  .ketang-hero { height: 30rem; }
  .ketang-team { top: 7rem; width: 44%; }
  .ketang-feat { flex-direction: column; }
  .ketang-feat-pic { max-width: none; flex-basis: auto; width: 100%; }
  .ketang-feat-body { margin-left: 0; margin-top: 2.5rem; }
  .ketang-feat .ketang-date { margin-top: 1.5rem; }
  .ketang-grid { grid-template-columns: 1fr; column-gap: 0; }
  .ketang-card { padding: 2.86rem 1.2rem 1.8rem; margin: 0 -1.2rem; min-height: 0; }
  .ketang-page { padding: 4rem 0 5rem; }
  .ketang-detail { flex-direction: column; margin-top: 4rem; }
  .ketang-aside { max-width: none; flex-basis: auto; margin-left: 0; padding-top: 4rem; width: 100%; }
  .ketang-post-title { font-size: 2rem; text-align: left; }
  .ketang-meta { text-align: left; margin-top: 1.5rem; }
}
@media (max-width: 767px) {
  .ketang-page-sec .container { padding-left: 1.7rem; padding-right: 1.7rem; }
  .ketang-hero { height: 24rem; }
  .ketang-team { top: 5.5rem; width: 52%; right: 2%; }
  .ketang-head { padding-top: 3rem; }
  .ketang-title { font-size: 2.29rem; }
  .ketang-post-title { font-size: 1.71rem; }
  .ketang-pn { flex-direction: column; align-items: flex-start; }
  .ketang-pn .detail-back { margin: 2rem 0 0; }
}
