/* ============================================================
   页面样式 - webstyle.css
   前缀: iet_
   描述: 中科院工程热物理研究所70周年专题网站页面样式
   ============================================================ */

/* ============================================================
   Logo水印背景 - 全局（板块背景 + 内容盒子）
   ============================================================ */
.iet_main_content {
  padding: 40px 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* 板块背景左上角 logo */
.iet_main_content.iet_logo_tl::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: url(iet_70th_logo.png) center / contain no-repeat;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

/* 板块背景右下角 logo */
.iet_main_content.iet_logo_br::before {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: url(iet_70th_logo.png) center/contain no-repeat;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

/* 内容盒子右下角 logo 水印 */
.iet_speech_box,
.iet_notice_box,
.iet_blessing_box,
.iet_identity_box,
.iet_news_card {
  position: relative;
  overflow: hidden;
}

.iet_speech_box::after,
.iet_notice_box::after,
.iet_blessing_box::after,
.iet_identity_box::after,
.iet_news_card::after {
  content: "";
  position: absolute;
  bottom: -105px;
  right: -70px;
  width: 250px;
  height: 250px;
  background: url(iet_70th_logo.png) center / contain no-repeat;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.iet_main_content > .iet_container {
  position: relative;
  z-index: 1;
}

/* ============================================================
   内容主体区 - 布局
   ============================================================ */
.iet_row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
  align-items: stretch;
}

.iet_col_left {
  width: 66.666%;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
}

.iet_col_right {
  width: 33.333%;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
}

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

.iet_col_left .iet_speech_box,
.iet_col_right .iet_notice_box,
.iet_col_half .iet_blessing_box,
.iet_col_half .iet_identity_box {
  flex: 1;
}

/* ============================================================
   顶部Banner + 返回所主页 - 开始
   ============================================================ */
.iet_banner_wrapper {
  position: relative;
}

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

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

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

.iet_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;
}

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

/* ============================================================
   顶部Banner + 返回所主页 - 结束
   ============================================================ */

/* ============================================================
   所庆贺词 - 开始
   ============================================================ */
.iet_speech_box {
  background: #fef7e9;
  border: 1px solid #EEEEEE;
  padding: 25px 30px;
  min-height: 380px;
}

.iet_speech_img {
  float: left;
  width: 280px;
  margin-right: 25px;
  margin-bottom: 15px;
}

.iet_speech_img img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #E0E0E0;
}

.iet_speech_text {
  font-size: 17px;
  color: #333333;
  line-height: 1.7;
  text-align: justify;
}

.iet_speech_text p {
  margin-bottom: 12px;
  text-indent: 2em;
}

.iet_speech_author {
  text-align: right;
  font-size: 16px;
  color: #C41230;
  font-weight: 600;
  margin-top: 15px;
}

/* ============================================================
   所庆贺词 - 结束
   ============================================================ */

/* ============================================================
   通知公告 - 开始
   ============================================================ */
.iet_notice_box {
  background: #fef7e9;
  border: 1px solid #EEEEEE;
  padding: 0 25px;
}

/* ============================================================
   通知公告 - 结束
   ============================================================ */

/* ============================================================
   所庆动态 - 轮播图文卡片 - 开始
   ============================================================ */
.iet_news_carousel {
  position: relative;
}

.iet_news_card {
  background: #fef7e9;
  border: 1px solid #EEEEEE;
  display: flex;
  align-items: flex-start;
  padding: 0;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.iet_news_card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.iet_news_card:hover .iet_news_card_title,
.iet_news_card:hover .iet_news_card_title a {
  color: #C41230;
}

.iet_news_card:hover .iet_news_card_summary {
  color: #444444;
}

.iet_news_card:hover .iet_news_card_date {
  color: #C41230;
}

.iet_news_card_img {
  width: 305px;
  min-height: 140px;
  flex-shrink: 0;
  overflow: hidden;
  background: #F5F5F5;
}

.iet_news_card_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.iet_news_card_text {
  flex: 1;
  padding: 15px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.iet_news_card_title {
  font-size: 16px;
  font-weight: 700;
  color: #333333;
  line-height: 1.4;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.iet_news_card_title a {
  color: #333333;
}

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

.iet_news_card_summary {
  font-size: 14px;
  color: #666666;
  line-height: 1.5;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.iet_news_card_date {
  font-size: 13px;
  color: #999999;
  margin-top: 8px;
}

/* 所庆动态分页器 */
.iet_news_pagination {
  position: relative;
  margin-top: 20px;
  text-align: center;
}

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

.iet_news_pagination .swiper-pagination-bullet-active {
  background: #C41230;
}

/* ============================================================
   所庆动态 - 结束
   ============================================================ */

/* ============================================================
   祝福寄语 - 开始
   ============================================================ */
.iet_blessing_box {
  background: #fef7e9;
  border: 1px solid #EEEEEE;
  padding: 0 20px;
  position: relative;
}

.iet_blessing_scroll {
  height: 300px;
  overflow: hidden;
  position: relative;
  padding: 15px 0;
}

.iet_blessing_scroll_inner {
  animation: iet_scroll_up 30s linear infinite;
}

@keyframes iet_scroll_up {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.iet_blessing_item {
  padding: 15px 0;
  border-bottom: 1px dashed #E0E0E0;
}

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

.iet_blessing_content {
  font-size: 17px;
  color: #333333;
  line-height: 1.6;
  margin-bottom: 8px;
}

.iet_blessing_person {
  text-align: right;
  font-size: 14px;
  color: #C41230;
  font-weight: 600;
}

.iet_blessing_scroll:hover .iet_blessing_scroll_inner {
  animation-play-state: paused;
}

/* ============================================================
   祝福寄语 - 结束
   ============================================================ */

/* ============================================================
   标志标语 - Swiper轮播 - 开始
   ============================================================ */
.iet_identity_box {
  background: #fef7e9;
  border: 1px solid #EEEEEE;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.iet_identity_carousel {
  width: 100%;
}

.iet_identity_carousel .swiper-container {
  overflow: hidden;
}

.iet_identity_slide {
  padding: 10px;
}

.iet_identity_slide_inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.iet_identity_logo {
  margin-bottom: 20px;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iet_identity_logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.iet_identity_70th {
  margin-bottom: 15px;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iet_identity_70th img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.iet_identity_label {
  font-size: 16px;
  color: #C41230;
  font-weight: 700;
  letter-spacing: 1px;
}

.iet_identity_lines {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
}

.iet_identity_lines::before,
.iet_identity_lines::after {
  content: "";
  width: 25px;
  height: 1px;
  background-color: #C9A84C;
}

.iet_identity_lines span {
  margin: 0 12px;
  width: 7px;
  height: 7px;
  background-color: #C41230;
  border-radius: 50%;
}

.iet_identity_desc {
  font-size: 13px;
  color: #999;
  margin-top: 12px;
}

/* 标志标语分页器 */
.iet_identity_pagination {
  position: relative;
  margin-top: 12px;
  text-align: center;
}

.iet_identity_pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #CCCCCC;
  opacity: 1;
  margin: 0 4px;
}

.iet_identity_pagination .swiper-pagination-bullet-active {
  background: #C41230;
}

/* ============================================================
   标志标语 - 结束
   ============================================================ */

/* ============================================================
   所情所史 - 开始
   ============================================================ */
.iet_history_carousel {
  position: relative;
}

.iet_history_carousel .swiper-container {
  overflow: hidden;
}

.iet_history_slide {
  text-align: center;
  transition: transform 0.3s ease;
}

.iet_history_slide:hover {
  transform: translateY(-5px);
}

.iet_history_slide_img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid #E0E0E0;
  background-color: #F5F5F5;
}

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

.iet_history_slide:hover .iet_history_slide_img img {
  transform: scale(1.08);
}

.iet_history_slide_title {
  font-size: 17px;
  color: #333333;
  font-weight: 600;
  margin-top: 12px;
  padding: 0 5px;
  line-height: 1.4;
}

.iet_history_slide:hover .iet_history_slide_title {
  color: #C41230;
}

/* 所情所史 - 导航箭头覆盖层（仅覆盖图片区域） */
.iet_history_nav_wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  /* 图片区: 4:3宽高比 + 标题区约36px */
  bottom: 36px;
  pointer-events: none;
  z-index: 5;
}

.iet_history_nav_wrap .swiper-button-prev,
.iet_history_nav_wrap .swiper-button-next {
  color: #C41230;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  top: 50%;
  margin-top: -18px;
  pointer-events: auto;
}

.iet_history_nav_wrap .swiper-button-prev {
  left: 0;
}

.iet_history_nav_wrap .swiper-button-next {
  right: 0;
}

.iet_history_nav_wrap .swiper-button-prev::after,
.iet_history_nav_wrap .swiper-button-next::after {
  font-size: 16px;
  font-weight: 700;
}

.iet_history_nav_wrap .swiper-button-prev:hover,
.iet_history_nav_wrap .swiper-button-next:hover {
  background: #C41230;
  color: #FFFFFF;
}

/* 分页器在标题下方 */
.iet_history_pagination {
  position: relative;
  margin-top: 18px;
  text-align: center;
}

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

.iet_history_pagination .swiper-pagination-bullet-active {
  background: #C41230;
}

/* ============================================================
   所情所史 - 结束
   ============================================================ */

/* ============================================================
   板块背景色交替
   ============================================================ */
.iet_section_white {
  background-color: #fef7e9;
}

.iet_section_warm {
  background-color: #fef7e9;
}

/* ============================================================
   页脚 - 开始
   ============================================================ */
.iet_footer {
  background-color: #b81414;
  padding: 30px 30px;
  color: #FFFFFF;
  font-size: 14px;
  text-align: center;
  line-height: 2;
}

.iet_footer p {
  margin-bottom: 3px;
}

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

/* ============================================================
   页脚 - 结束
   ============================================================ */

/* ============================================================
   列表页 - 面包屑 + 列表 + 分页 - 开始
   ============================================================ */
.iet_breadcrumb {
  padding: 18px 0;
  background: rgba(196, 18, 48, 0.05);
  border-bottom: 2px solid rgba(196, 18, 48, 0.12);
}

.iet_breadcrumb_inner {
  font-size: 18px;
  color: #333333;
}

.iet_breadcrumb_inner a {
  color: #666666;
}

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

.iet_breadcrumb_inner span {
  margin: 0 8px;
  color: #AAAAAA;
}

.iet_breadcrumb_inner .current {
  color: #C41230;
  font-weight: 600;
}

.iet_list_page_title {
  font-size: 26px;
  font-weight: 700;
  color: #C41230;
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.iet_list_page_title .iet_module_title_img {
  width: 32px;
  height: 32px;
  margin-right: 10px;
  flex-shrink: 0;
  object-fit: contain;
}

.iet_title_back_link {
  margin-left: auto;
  font-size: 14px;
  font-weight: 400;
  color: #999999;
  padding: 4px 16px;
  border: 1px solid #DDDDDD;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.iet_title_back_link:hover {
  color: #FFFFFF;
  background: #C41230;
  border-color: #C41230;
}

.iet_news_list {
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 30px;
}

.iet_news_list_item {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.18);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 2px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.iet_news_list_item:last-child {
  margin-bottom: 0;
}

.iet_news_list_item:hover {
  background: rgba(255, 255, 255, 0.9);
  border-left-color: #C41230;
  transform: translateX(4px);
  box-shadow: 0 2px 12px rgba(196, 18, 48, 0.08);
}

.iet_news_list_date {
  background: linear-gradient(135deg, #C41230, #E02540);
  color: #FFFFFF;
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
  margin-right: 20px;
  flex-shrink: 0;
  min-width: 95px;
  text-align: center;
  font-family: "Arial", sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(196, 18, 48, 0.2);
}

.iet_news_list_title {
  flex: 1;
  font-size: 17px;
  color: #333333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.3s ease;
  position: relative;
}

.iet_news_list_title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #C9A84C;
  border-radius: 50%;
  margin-right: 12px;
  vertical-align: middle;
  flex-shrink: 0;
  transition: background 0.3s ease;
}

.iet_news_list_title:hover {
  color: #C41230;
}

.iet_news_list_title:hover::before {
  background: #C41230;
}

/* 列表页分页 */
.iet_pagination_box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 25px 0 10px;
}

.iet_pagination_box a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 15px;
  color: #666666;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.iet_pagination_box a:hover {
  color: #FFFFFF;
  background: #C41230;
  border-color: #C41230;
}

.iet_pagination_box a.active {
  background: #C41230;
  color: #FFFFFF;
  border-color: #C41230;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(196, 18, 48, 0.3);
}

.iet_pagination_box .iet_pg_info {
  font-size: 14px;
  color: #999999;
  padding: 6px 10px;
}

/* 移动端查看更多按钮（桌面端隐藏） */
.iet_load_more_wrap {
  display: none;
  text-align: center;
  padding: 20px 0 10px;
}

.iet_load_more_btn {
  display: inline-block;
  padding: 12px 48px;
  font-size: 16px;
  font-weight: 600;
  color: #C41230;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(196, 18, 48, 0.25);
  border-radius: 30px;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.iet_load_more_btn:hover {
  color: #FFFFFF;
  background: linear-gradient(135deg, #C41230, #E02540);
  border-color: #C41230;
  box-shadow: 0 4px 16px rgba(196, 18, 48, 0.25);
}

/* ============================================================
   列表页 - 面包屑 + 列表 + 分页 - 结束
   ============================================================ */

/* ============================================================
   详情页 - 开始
   ============================================================ */
.iet_detail_content {
  background: #FFFFFF;
  padding: 40px 50px;
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.03);
}

.iet_detail_title {
  font-size: 28px;
  font-weight: 700;
  color: #C41230;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 8px;
}

.iet_detail_subtitle {
  font-size: 18px;
  color: #666666;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 400;
}

.iet_detail_meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 18px 0;
  margin-bottom: 30px;
  border-bottom: 1px dashed rgba(201, 168, 76, 0.35);
  color: #888888;
  font-size: 14px;
}

.iet_detail_meta_item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.iet_detail_meta_item strong {
  color: #555555;
  margin-right: 2px;
}

.iet_detail_body {
  font-size: 17px;
  color: #333333;
  line-height: 2;
  text-align: justify;
}

.iet_detail_body p {
  margin-bottom: 20px;
  text-indent: 2em;
}

.iet_detail_body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 25px auto;
  border: 1px solid #EEEEEE;
}

.iet_detail_figure {
  text-align: center;
  margin: 25px 0;
}

.iet_detail_figure img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border: 1px solid #EEEEEE;
}

.iet_detail_figure_caption {
  font-size: 14px;
  color: #888888;
  margin-top: 10px;
}

.iet_detail_page_nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 0;
  margin-top: 30px;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  font-size: 16px;
}

.iet_detail_page_nav a {
  color: #555555;
  transition: color 0.3s ease;
  max-width: 45%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.iet_detail_page_nav .iet_detail_back {
  color: #C41230;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.iet_detail_page_nav .iet_detail_back:hover {
  color: #A00E28;
}

/* ============================================================
   详情页 - 结束
   ============================================================ */

/* ============================================================
   图片列表页 - 开始
   ============================================================ */
.iet_photo_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 30px;
}

.iet_photo_item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.35s ease;
}

.iet_photo_item:hover {
  box-shadow: 0 8px 30px rgba(196, 18, 48, 0.15);
  transform: translateY(-4px);
}

.iet_photo_img_box {
  position: relative;
  width: 100%;
  padding-top: 75%;
  overflow: hidden;
}

.iet_photo_img_box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.iet_photo_item:hover .iet_photo_img_box img {
  transform: scale(1.08);
}

.iet_photo_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(196, 18, 48, 0) 40%, rgba(196, 18, 48, 0.65) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  pointer-events: none;
}

.iet_photo_item:hover .iet_photo_overlay {
  opacity: 1;
}

.iet_photo_overlay_icon {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #FFFFFF;
}

.iet_photo_overlay_icon::after {
  content: "+";
  font-size: 26px;
  line-height: 1;
  font-weight: 300;
}

.iet_photo_caption {
  padding: 14px 16px;
  font-size: 18px;
  font-weight: 600;
  color: #444444;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.iet_photo_item:hover .iet_photo_caption {
  color: #C41230;
}

/* 适配2列 */
@media (max-width: 991px) {
  .iet_photo_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* 适配1列 */
@media (max-width: 575px) {
  .iet_photo_grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }

  .iet_photo_item:hover {
    transform: translateY(-2px);
  }
}

/* ============================================================
   图片列表页 - 结束
   ============================================================ */
