/* ============================================================
 * 第一板块：风范 - 传承老一辈科学家精神
 * 浅米白主背景 + 柔和浅黄渐变 + 抽象红色曲线纹理
 * 顶部红渐变分割线 + 金色装饰标题栏 + 极简庄重
 * ============================================================ */
.kxj_section_fengfan {
  background: #faf7f0;
  padding-top: 50px;
  position: relative;
  overflow: hidden;
}
html {
    scroll-behavior: smooth;
}
/* 顶部红色渐变分割线 */
.kxj_ff_top_divider {
  height: 5px;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(196,18,48,0.0) 15%,
    rgba(196,18,48,0.35) 30%,
    #C41230 50%,
    rgba(196,18,48,0.35) 70%,
    rgba(196,18,48,0.0) 85%,
    transparent 100%);
}

/* 金色装饰标题栏 */
.kxj_ff_title_bar {
  padding: 32px 0 18px 0;
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, #fdf8ed 0%, #faf7f0 100%);
}

.kxj_ff_title_bar::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(196,18,48,0.3), rgba(196,18,48,0.5), rgba(196,18,48,0.3), transparent);
}

.kxj_ff_title_bar_inner {
  display: inline-block;
  padding: 14px 48px;
  background: linear-gradient(180deg,
    rgba(212,167,69,0.18) 0%,
    rgba(196,18,48,0.06) 50%,
    rgba(212,167,69,0.12) 100%);
  border-radius: 2px;
}

.kxj_ff_title_text {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 6px;
  color: transparent;
  background: linear-gradient(180deg, #c9973a 0%, #ad7c24 40%, #8c5f2a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 1px 1px rgba(212,167,69,0.25));
}

/* 更多内容 */
.kxj_ff_more {
  text-align: center;
  margin-top: 6px;
  margin-bottom: 24px;
}

.kxj_ff_more a {
  font-size: 13px;
  color: #ab8a4c;
  letter-spacing: 2px;
}

.kxj_ff_more a:hover {
  color: #C41230;
}

/* 内容区：浅黄渐变背景 + 抽象红色曲线装饰 */
.kxj_ff_content {
  position: relative;
  background: url(sys_kxjjs_gzjzbj.jpg) top center no-repeat;
  background-size: cover;
  padding: 40px 0 60px 0;
  border-radius: 2px;
}

/* 抽象红色曲线装饰 */
.kxj_ff_decor_curve {
  position: absolute;
  left: 0;
  right: 0;
  height: 120px;
  pointer-events: none;
  opacity: 0.08;
  z-index: 0;
}

.kxj_ff_decor_top {
  top: 0;
  background:
    radial-gradient(ellipse 600px 80px at 20% 100%, #C41230 0%, transparent 70%),
    radial-gradient(ellipse 450px 60px at 65% 100%, #C41230 0%, transparent 70%),
    radial-gradient(ellipse 350px 50px at 85% 100%, #C41230 0%, transparent 70%);
}

.kxj_ff_decor_bottom {
  bottom: 0;
  background:
    radial-gradient(ellipse 500px 70px at 15% 0%, #C41230 0%, transparent 70%),
    radial-gradient(ellipse 400px 55px at 55% 0%, #C41230 0%, transparent 70%),
    radial-gradient(ellipse 300px 45px at 80% 0%, #C41230 0%, transparent 70%);
}

/* 内层容器置于装饰之上 */
.kxj_ff_inner {
  position: relative;
  z-index: 1;
}

/* 风范内 kxj_row 重置背景 */
.kxj_section_fengfan .kxj_row {
  background: none;
  padding-bottom: 0;
  padding-top: 0;
}

/* 子模块：白色半透明卡片 + 金边 */
.kxj_ff_sub_module {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(212,167,69,0.18);
  border-radius: 3px;
  padding: 24px 20px 8px 20px;
  height: 100%;
  transition: box-shadow 0.4s ease, transform 0.3s ease;
}

.kxj_ff_sub_module:hover {
  box-shadow: 0 4px 24px rgba(196,18,48,0.06);
  transform: translateY(-2px);
}

/* 风范文字列表覆盖 */
.kxj_ff_text_list {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 8px;
}

.kxj_ff_text_list .kxj_text_list_item {
  padding: 15px 0;
  border-bottom: 1px solid rgba(180,160,130,0.18);
}

.kxj_ff_text_list .kxj_text_list_item:last-child {
  border-bottom: none;
}

.kxj_ff_text_list .kxj_text_list_name {
  color: #C41230;
  font-size: 18px;
  min-width: 56px;
  font-weight: 800;
  letter-spacing: 1px;
}

.kxj_ff_text_list .kxj_text_list_title {
  font-size: 18px;
  color: #4a4a4a;
  letter-spacing: 0.5px;
}

.kxj_ff_text_list .kxj_text_list_title:hover {
  color: #C41230;
  transform: translateX(4px);
}

/* ============================================================
 * 第二板块：攻坚 - 弘扬新时代科学家精神
 * 标题同风范风格，白色背景，双列轮播 + 标题绝对定位
 * ============================================================ */
.kxj_section_gongjian {
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.kxj_gj_top_divider {
  height: 5px;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(196,18,48,0.0) 15%,
    rgba(196,18,48,0.35) 30%,
    #C41230 50%,
    rgba(196,18,48,0.35) 70%,
    rgba(196,18,48,0.0) 85%,
    transparent 100%);
}

.kxj_gj_title_bar {
  padding: 40px 0 18px 0;
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, #fdf8f7 0%, #FFFFFF 100%);
}

.kxj_gj_title_bar::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(196,18,48,0.3), rgba(196,18,48,0.5), rgba(196,18,48,0.3), transparent);
}

.kxj_gj_title_bar_inner {
  display: inline-block;
  padding: 14px 48px;
  background: linear-gradient(180deg,
    rgba(212,167,69,0.18) 0%,
    rgba(196,18,48,0.06) 50%,
    rgba(212,167,69,0.12) 100%);
  border-radius: 2px;
}

.kxj_gj_title_text {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 6px;
  color: transparent;
  background: linear-gradient(180deg, #c9973a 0%, #ad7c24 40%, #8c5f2a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 1px 1px rgba(212,167,69,0.25));
}

.kxj_gj_more {
  text-align: center;
  margin-top: 6px;
  margin-bottom: 24px;
}

.kxj_gj_more a {
  font-size: 13px;
  color: #ab8a4c;
  letter-spacing: 2px;
}

.kxj_gj_more a:hover {
  color: #C41230;
}

.kxj_gj_content {
  position: relative;
  background: #FFFFFF;
  padding: 40px 0 60px 0;
  border-radius: 2px;
}

.kxj_section_gongjian .kxj_row {
  background: none;
  padding-bottom: 0;
  padding-top: 0;
}

.kxj_gj_inner {
  position: relative;
  z-index: 1;
}

/* 攻坚轮播卡片 - 标题绝对定位在图片下方 + 渐变透明背景 */
.kxj_gj_card {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.kxj_gj_card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(196,18,48,0.15);
}

.kxj_gj_card_img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.kxj_gj_card_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.kxj_gj_card:hover .kxj_gj_card_img img {
  transform: scale(1.06);
}

.kxj_gj_card_title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 12px 10px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 50%, transparent 100%);
  text-align: center;
  transition: padding-bottom 0.35s ease, background 0.35s ease;
}

.kxj_gj_card_title span {
  font-size: 18px;
  text-align: left;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.kxj_gj_card:hover .kxj_gj_card_title {
  padding-bottom: 16px;
  background: linear-gradient(to top, rgba(196,18,48,0.75) 0%, rgba(196,18,48,0.4) 50%, transparent 100%);
}

/* ============================================================
 * 页面样式 - webstyle.css
 * 前缀: kxj_
 * 描述: 中科院弘扬科学家精神专题网站页面样式
 * ============================================================ */

/* ============================================================
 * 页面背景
 * ============================================================ */
body {
  background-color: #FFFFFF;
}

.kxj_main_content {
  padding: 50px 0;
  background: #fffcf7;
  background-attachment: fixed;
}

/* ============================================================
 * 顶部Banner + 返回所主页
 * ============================================================ */
.kxj_banner_wrapper {
  position: relative;
}

.kxj_banner {
  width: 100%;
  overflow: hidden;
}

.kxj_banner img {
  width: 100%;
  height: auto;
  display: block;
}

.kxj_banner_top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  max-width: 100%;
  height: 0;
  z-index: 10;
  pointer-events: none;
}

.kxj_banner_home_link {
  position: absolute;
  top: 15px;
  right: 15px;
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 0, 0, 0.35);
  color: #FFFFFF;
  font-size: 13px;
  border-radius: 3px;
  pointer-events: auto;
  transition: background 0.3s ease;
}

.kxj_banner_home_link:hover {
  background: rgba(0, 0, 0, 0.6);
  color: #FFFFFF;
}

/* ============================================================
 * 大区域标题 - 参考 cas.cn/zt/sszt/djxx/ 样式
 * 使用 sys_kxjjs_btbj.png 作为标题背景
 * ============================================================ */
.kxj_section_head {
  position: relative;
  text-align: center;
  margin-bottom: 35px;
}

.kxj_section_head_bg {
  height: 60px;
  background: url(sys_kxjjs_btbj.png) center/auto 100% repeat-x;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -20px;
  margin-right: -20px;
}

.kxj_section_head_text {
  font-size: 30px;
  font-weight: 700;
  color: #c90e00;
  letter-spacing: 3px;
  padding-bottom: 40px;
}

.kxj_section_more {
  text-align: right;
  margin-top: 8px;
}

.kxj_section_more a {
  font-size: 14px;
  color: #C41230;
  transition: color 0.3s ease;
}

.kxj_section_more a:hover {
  color: #A00E28;
}

/* ============================================================
 * 左右双栏布局
 * ============================================================ */
.kxj_row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -20px;
  align-items: stretch;
  background: url(sys_kxjjs_gzjzbj.jpg) top center no-repeat;
  background-size: cover;
  padding-bottom: 20px;
  padding-top: 20px;
}

.kxj_col_half {
  width: 50%;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

/* ============================================================
 * 子模块标题
 * ============================================================ */
.kxj_module_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #C41230;
  padding-bottom: 10px;
  margin-bottom: 18px;
}

.kxj_module_title {
  font-size: 22px;
  font-weight: 700;
  color: #C41230;
  display: flex;
  align-items: center;
}

.kxj_module_title_icon {
  width: 50px;
  margin-right: 8px;
  flex-shrink: 0;
  object-fit: contain;
}

.kxj_module_more {
  font-size: 14px;
  color: #999999;
  transition: color 0.3s ease;
}

.kxj_module_more:hover {
  color: #C41230;
  transform: translateX(3px);
}

/* ============================================================
 * 文字列表（带姓名） - 风范板块
 * ============================================================ */
.kxj_text_list {
  border-radius: 6px;
  flex: 1;
}

.kxj_text_list_item {
  display: flex;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(201, 168, 76, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}

.kxj_text_list_item:hover {
  transform: translateX(3px);
}

.kxj_text_list_item:last-child {
  border-bottom: none;
}

.kxj_text_list_name {
  font-size: 15px;
  font-weight: 700;
  color: #C41230;
  white-space: nowrap;
  margin-right: 10px;
  flex-shrink: 0;
  min-width: 55px;
}

.kxj_text_list_title {
  flex: 1;
  font-size: 16px;
  color: #333333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.3s ease, transform 0.25s ease;
  display: inline-block;
}

.kxj_text_list_title:hover {
  color: #C41230;
  transform: translateX(4px);
}

/* ============================================================
 * 轮播卡片（无箭头） - 攻坚板块
 * ============================================================ */
.kxj_carousel_wrap {
  position: relative;
  margin-top: 15px;
}

.kxj_carousel_wrap .swiper-container {
  overflow: hidden;
  padding-bottom: 5px;
}

.kxj_carousel_card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
}

.kxj_carousel_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(196, 18, 48, 0.12);
}

.kxj_carousel_card_img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #F5F5F5;
}

.kxj_carousel_card_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.kxj_carousel_card:hover .kxj_carousel_card_img img {
  transform: scale(1.06);
}

.kxj_carousel_card_title {
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  padding: 14px 16px;
  text-align: center;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.kxj_carousel_card:hover .kxj_carousel_card_title {
  color: #C41230;
}

.kxj_td_pagination,
.kxj_xj_pagination {
  position: relative;
  margin-top: 18px;
  text-align: center;
}

.kxj_td_pagination .swiper-pagination-bullet,
.kxj_xj_pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #CCCCCC;
  opacity: 1;
  margin: 0 5px;
}

.kxj_td_pagination .swiper-pagination-bullet-active,
.kxj_xj_pagination .swiper-pagination-bullet-active {
  background: #C41230;
}

/* ============================================================
 * 基地资源 - 三栏卡片
 * ============================================================ */
.kxj_base_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding-top: 40px;
}

.kxj_base_card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.kxj_base_card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 28px rgba(196, 18, 48, 0.15);
}

.kxj_base_card_img {
  width: 100%;
  aspect-ratio: 3.5 / 2;
  overflow: hidden;
  background: #F5F5F5;
}

.kxj_base_card_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.kxj_base_card:hover .kxj_base_card_img img {
  transform: scale(1.06);
}

.kxj_base_card_title {
  font-size: 18px;
  font-weight: 700;
  color: #C41230;
  text-align: center;
  padding: 18px 16px;
  transition: color 0.3s ease;
}

.kxj_base_card:hover .kxj_base_card_title {
  color: #A00E28;
}

/* ============================================================
 * 页脚 - 参考 syb.cas.cn 样式，背景用主题色
 * ============================================================ */
.kxj_footer {
  background-color: #C41230;
  padding: 30px;
  color: #FFFFFF;
  font-size: 14px;
  text-align: center;
  line-height: 2.2;
}

.kxj_footer p {
  margin-bottom: 0;
}

.kxj_footer_divider {
  display: inline-block;
  margin: 0 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
 * 子页面公共布局
 * ============================================================ */
.kxj_page_section {
  background: url(sys_kxjjs_gzjzbj.jpg) top center no-repeat;
  background-size: cover;
  padding: 50px 0;
}

.kxj_page_content {
  background: #fffcf7;
  border-radius: 4px;
  padding: 35px 40px;
}

/* ============================================================
 * 子页面标题（带logo图标 + 返回/关闭按钮）
 * ============================================================ */
.kxj_page_title {
  font-size: 26px;
  font-weight: 700;
  color: #C41230;
  display: flex;
  align-items: center;
  border-bottom: 2px solid #C41230;
  padding-bottom: 12px;
  margin-bottom: 28px;
}

.kxj_page_title_icon {
  width: 42px;
  margin-right: 10px;
  flex-shrink: 0;
  object-fit: contain;
}

.kxj_page_title_text {
  flex: 1;
}

.kxj_page_title_back {
  font-size: 14px;
  color: #999999;
  font-weight: normal;
  margin-left: auto;
  transition: color 0.3s ease, transform 0.25s ease;
}

.kxj_page_title_back:hover {
  color: #C41230;
  transform: translateX(3px);
}

/* ============================================================
 * 新闻列表
 * ============================================================ */
.kxj_news_list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: transparent;
}

.kxj_news_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px dashed #E0E0E0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.kxj_news_item:hover {
  transform: translateX(3px);
}

.kxj_news_item:last-child {
  border-bottom: none;
}

.kxj_news_title {
  flex: 1;
  font-size: 17px;
  color: #333333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 20px;
  padding-left: 12px;
  position: relative;
  transition: color 0.3s ease, transform 0.25s ease;
}

.kxj_news_title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: #C41230;
  border-radius: 1px;
}

.kxj_news_title:hover {
  color: #C41230;
  transform: translateX(4px);
}

.kxj_news_date {
  font-size: 14px;
  color: #999999;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================================
 * 分页
 * ============================================================ */
.kxj_pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.kxj_pagination a {
  display: inline-block;
  min-width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border: 1px solid #E0E0E0;
  border-radius: 3px;
  color: #555555;
  font-size: 14px;
  padding: 0 10px;
  background: #FFFFFF;
  transition: all 0.25s ease;
}

.kxj_pagination a:hover {
  border-color: #C41230;
  color: #C41230;
  transform: translateY(-1px);
}

.kxj_pagination a.active {
  background: #C41230;
  border-color: #C41230;
  color: #FFFFFF;
}

.kxj_pagination a.disabled {
  color: #CCCCCC;
  pointer-events: none;
}

/* ============================================================
 * 详情页
 * ============================================================ */
.kxj_detail_wrap {
  padding-bottom: 20px;
}

.kxj_detail_title {
  font-size: 28px;
  font-weight: 700;
  color: #333333;
  text-align: center;
  line-height: 1.4;
  margin-bottom: 8px;
}

.kxj_detail_subtitle {
  font-size: 16px;
  color: #999999;
  text-align: center;
  margin-bottom: 18px;
  letter-spacing: 2px;
}

.kxj_detail_meta {
  text-align: center;
  font-size: 14px;
  color: #999999;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px dashed #E0E0E0;
}

.kxj_detail_meta span {
  margin: 0 18px;
}

.kxj_detail_body {
  font-size: 16px;
  color: #333333;
  line-height: 2;
}

.kxj_detail_body p {
  margin-bottom: 16px;
  text-indent: 2em;
}

.kxj_detail_figure {
  margin: 20px 0;
  text-align: center;
}

.kxj_detail_figure img {
  max-width: 100%;
  border-radius: 4px;
}

.kxj_detail_figure_caption {
  font-size: 14px;
  color: #999999;
  margin-top: 8px;
  text-indent: 0;
}

.kxj_detail_nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #E0E0E0;
  padding-top: 18px;
  margin-top: 32px;
  font-size: 15px;
}

.kxj_detail_nav a {
  color: #555555;
  transition: color 0.3s ease, transform 0.25s ease;
}

.kxj_detail_nav a:hover {
  color: #C41230;
  transform: translateX(3px);
}

.kxj_detail_back {
  flex-shrink: 0;
}

/* ============================================================
 * 图片列表网格
 * ============================================================ */
.kxj_photo_grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.kxj_photo_item {
  list-style: none;
  min-width: 0;
}

.kxj_photo_item a {
  display: block;
  width: 100%;
  min-width: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid rgba(212,167,69,0.15);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.kxj_photo_item a:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 24px rgba(196,18,48,0.12);
}

.kxj_photo_img_box {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #F0F0F0;
}

.kxj_photo_img_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.kxj_photo_item a:hover .kxj_photo_img_box img {
  transform: scale(1.06);
}

.kxj_photo_overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease;
}

.kxj_photo_item a:hover .kxj_photo_overlay {
  opacity: 1;
}

.kxj_photo_overlay_icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  position: relative;
}

.kxj_photo_overlay_icon::before,
.kxj_photo_overlay_icon::after {
  content: '';
  position: absolute;
  background: #C41230;
}

.kxj_photo_overlay_icon::before {
  width: 18px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.kxj_photo_overlay_icon::after {
  width: 2px;
  height: 18px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.kxj_photo_caption {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  height: 54px;
  color: #333333;
  text-align: left;
  padding: 0 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 0.3s ease;
  margin-top:10px;
}

.kxj_photo_item a:hover .kxj_photo_caption {
  color: #C41230;
}

/* 右侧导航点击高亮 — 模拟 hover 态 */
.kxj_photo_item.is-highlighted a .kxj_photo_img_box img {
  transform: scale(1.06);
}
.kxj_photo_item.is-highlighted a .kxj_photo_overlay {
  opacity: 1;
}
.kxj_photo_item.is-highlighted a .kxj_photo_caption {
  color: #C41230;
}

/* ============================================================
   左侧科技攻关突击队导航
   ============================================================ */
.kxj_quick_nav {
  position: fixed;
  top: 50%;
  left: 0;
  z-index: 80;
  display: flex;
  width: 232px;
  max-height: calc(100vh - 40px);
  flex-direction: column;
  color: #FFFFFF;
  background: #8E2528;
  border-top: 3px solid #D9B46B;
  border-bottom: 3px solid #D9B46B;
  box-shadow: 0 14px 38px rgba(70, 12, 14, 0.28);
  transform: translate3d(0, -50%, 0);
  transition: transform 0.35s ease;
}

.kxj_quick_nav::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(239, 208, 142, 0.28);
  pointer-events: none;
}

.kxj_quick_nav.is-collapsed {
  transform: translate3d(-100%, -50%, 0);
}

.kxj_quick_nav_header {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  padding: 24px 22px 20px;
  text-align: center;
  background: #A92E30;
  border-bottom: 1px solid rgba(239, 208, 142, 0.6);
}

.kxj_quick_nav_title {
  margin: 0;
  color: #F4D798;
  font-family: "STKaiti", "KaiTi", "Microsoft YaHei", sans-serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 2px 5px rgba(73, 10, 12, 0.35);
}

.kxj_quick_nav_title span {
  display: block;
}

.kxj_quick_nav_menu {
  position: relative;
  z-index: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 20px 12px;
  scrollbar-color: rgba(244, 215, 152, 0.65) transparent;
  scrollbar-width: thin;
  max-height: 450px;
  overflow-x: hidden;
}

.kxj_quick_nav_menu::-webkit-scrollbar {
  width: 4px;
}

.kxj_quick_nav_menu::-webkit-scrollbar-thumb {
  background: rgba(244, 215, 152, 0.65);
}

.kxj_quick_nav_menu a {
  position: relative;
  display: flex;
  min-height: 46px;
  align-items: center;
  padding: 10px 2px 10px 18px;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  font-size: 15px;
  line-height: 1.55;
  transition: color 0.2s ease, padding-left 0.2s ease, background-color 0.2s ease;
}

.kxj_quick_nav_menu a span {
  display: -webkit-box;
  min-width: 0;
  max-height: 3.1em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  text-overflow: ellipsis;
}

.kxj_quick_nav_menu a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 3px;
  width: 6px;
  height: 6px;
  border: 1px solid #EBCB85;
  transform: translateY(-50%) rotate(45deg);
}

.kxj_quick_nav_menu a:last-child {
  border-bottom: 0;
}

.kxj_quick_nav_menu a:hover,
.kxj_quick_nav_menu a:focus-visible {
  padding-left: 22px;
  color: #FFE7B1;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.kxj_quick_nav_toggle {
  position: absolute;
  top: 50%;
  right: -40px;
  z-index: 2;
  display: flex;
  width: 40px;
  height: 72px;
  align-items: center;
  justify-content: center;
  color: #F4D798;
  background: #8E2528;
  border: 1px solid rgba(239, 208, 142, 0.58);
  border-left: 0;
  border-radius: 0 4px 4px 0;
  box-shadow: 5px 7px 18px rgba(70, 12, 14, 0.18);
  transform: translateY(-50%);
}

.kxj_quick_nav_toggle:hover,
.kxj_quick_nav_toggle:focus-visible {
  color: #FFFFFF;
  background: #A92E30;
  outline: 2px solid #F4D798;
  outline-offset: -4px;
}

.kxj_quick_nav_toggle_icon {
  display: block;
  width: 12px;
  height: 12px;
}

.kxj_quick_nav_toggle_icon::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(135deg);
  transition: transform 0.25s ease;
}

.kxj_quick_nav.is-collapsed .kxj_quick_nav_toggle_icon::before {
  transform: rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .kxj_quick_nav,
  .kxj_quick_nav_menu a,
  .kxj_quick_nav_toggle_icon::before {
    transition: none;
  }
}
