:root {
  --home-primary: #023894;
  --home-dark: #0a1f44;
  --home-muted-bg: #f5f7fb;
  --home-text-dark: #10294c;
}

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--home-text-dark);
  font-size: 0.9rem;
  background-color: #ffffff;
}

/* 导航栏 */

.home-topbar {
  background: var(--home-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
}

.home-topbar-content {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.home-topbar-brand {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 1px;
}

.home-topbar-title {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.home-topbar-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.home-topbar-icon {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.home-topbar-item {
  color: #ffffff;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.home-topbar-number {
  font-weight: 700;
  letter-spacing: 0;
  color: #ffe200;
  font-size: 1rem;
}

.home-navbar {
  background-color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 30, 60, 0.06);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.home-navbar--scrolled {
  box-shadow: 0 10px 26px rgba(15, 30, 60, 0.12);
}

.home-logo {
  height: 60px;
}

.home-brand-divider {
  width: 1px;
  height: 44px;
  background: rgba(31, 47, 74, 0.25);
  margin: 0 14px;
}

.home-brand-slogan {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #5a6b85;
  font-size: 0.9rem;
  line-height: 1.2;
  letter-spacing: 1px;
  white-space: nowrap;
}

.home-brand-slogan span:first-child {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2a3b58;
}

.home-nav .nav-link {
  color: #1f2f4a;
  margin: 0 10px;
  padding: 0.5rem 1rem;
  font-weight: 500;
}

.home-nav .nav-link:hover,
.home-nav .nav-link:focus {
  color: var(--home-primary);
}

.home-contact {
  text-align: left;
  color: #1f2f4a;
  font-size: 0.88rem;
  line-height: 1.2;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  max-height: 80px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.home-contact-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  padding-left: 54px;
  position: relative;
}

.home-contact-brand {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f4ea7;
  letter-spacing: 3px;
  white-space: nowrap;
}

.home-contact-title {
  font-weight: 600;
  color: #3f3f3f;
  white-space: nowrap;
  padding-left: 10px;
  border-left: 2px solid rgba(13, 110, 253, 0.35);
}

.home-contact-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(13, 110, 253, 0.35);
  transform: translateY(-50%);
}

.home-contact-header::after {
  content: "\260E";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-52%);
  color: #2b5fb8;
  font-size: 1.1rem;
}

.home-contact-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #294db5;
}

.home-contact-item {
  white-space: nowrap;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.6px;
}


.home-dropdown-menu {
  border: none;
  border-radius: 0;
  box-shadow: 0 8px 28px rgba(2, 56, 148, 0.22), 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  display: block !important;
}

.home-nav .dropdown:hover > .home-dropdown-menu,
.home-dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.home-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: #ffffff;
  transform: translateX(-50%) rotate(45deg);
  box-shadow: -2px -2px 6px rgba(2, 56, 148, 0.12);
  z-index: 1;
}

.home-dropdown-menu .dropdown-item {
  font-weight: 500;
  font-size: 0.9rem;
  color: #1f2f4a;
  padding: 0.55rem 1.25rem;
  line-height: 1.6;
  background: transparent;
}

.home-dropdown-menu .dropdown-item:hover,
.home-dropdown-menu .dropdown-item:focus {
  color: var(--home-primary);
  background-color: transparent;
}

@media (min-width: 992px) {
  .home-nav .dropdown-menu {
    margin-top: 0;
    padding-top: 8px;
    top: calc(100% + 10px);
  }

  .home-nav .dropdown > .nav-link::after {
    display: inline-block;
  }

  /* 桥接 nav-link 与 dropdown-menu 间隙 */
  .home-nav .dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
  }
}

/* Banner */
.home-hero {
  margin-top: 0;
}

.home-banner-img {
  height: 600px;
  object-fit: cover;
  filter: none;
}

.home-hero-caption {
  max-width: 560px;
}

.home-carousel-indicators {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  margin: 0;
  gap: 14px;
  padding: 0;
  z-index: 3;
}

.home-carousel-indicators [data-bs-target] {
  width: 86px;
  height: 52px;
  border: 2px solid transparent;
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.home-carousel-indicators [data-bs-target].active {
  opacity: 1;
  border-color: rgba(13, 110, 253, 0.8);
}

.home-carousel-indicators img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-carousel-control {
  width: 52px;
  height: 52px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  border: none;
  margin: 0 28px;
}

.home-carousel-control .carousel-control-prev-icon,
.home-carousel-control .carousel-control-next-icon {
  width: 20px;
  height: 20px;
  background-size: 20px 20px;
  background-repeat: no-repeat;
  background-position: center;
}

.home-carousel-control .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpolyline points='10.5,2.5 5.5,8 10.5,13.5' fill='none' stroke='%23023894' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.home-carousel-control .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpolyline points='5.5,2.5 10.5,8 5.5,13.5' fill='none' stroke='%23023894' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.home-hero .carousel-inner {
  position: relative;
}

.home-hero .carousel-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 24, 64, 0.65) 0%,
    rgba(13, 110, 253, 0.2) 20%,
    rgba(13, 110, 253, 0) 50%,
    rgba(13, 110, 253, 0.2) 80%,
    rgba(10, 24, 64, 0.65) 100%
  );
  pointer-events: none;
}

@media (max-width: 991px) {
  .home-hero {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .home-banner-img {
    height: 360px;
  }

  .home-hero-caption h1 {
    font-size: 1.8rem;
  }
}

/* 通用区块 */
.home-section {
  padding: 80px 0;
}

.home-section-muted {
  background-color: var(--home-muted-bg);
}

.home-section-title {
  font-weight: 700;
  color: var(--home-text-dark);
}

/* 主营产品板块 */
.home-products-section {
  padding: 80px 0;
  overflow: hidden;
  background: url("/static/default/web/images/product_bg.jpg") center / cover no-repeat;
  position: relative;
}

.home-products-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 10%, rgba(255, 255, 255, 0.5) 100%);
  z-index: 0;
}

.home-products-section > .container {
  position: relative;
  z-index: 1;
}

.home-products-header {
  text-align: center;
  margin-bottom: 48px;
}

.home-products-title {
  font-weight: 700;
  font-size: 2rem;
  color: var(--home-text-dark);
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.home-products-subtitle {
  color: #7a8a9e;
  font-size: 1rem;
  margin: 0;
  letter-spacing: 1px;
}

.home-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-bottom: 40px;
}

.home-products-item {
  position: relative;
  height: 280px;
  overflow: visible;
  cursor: pointer;
  text-decoration: none;
  display: block;
  border-radius: 0;
  width: 100%;
  min-width: 0;
}

.home-products-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.home-products-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.home-products-bg--01 {
  background-image: url("/static/default/web/images/product_bg_01.svg");
}

.home-products-bg--02 {
  background-image: url("/static/default/web/images/product_bg_02.svg");
}

.home-products-bg--03 {
  background-image: url("/static/default/web/images/product_bg_03.svg");
}

.home-products-bg--04 {
  background-image: url("/static/default/web/images/product_bg_04.svg");
}

.home-products-item:hover .home-products-bg {
  transform: scale(1.08);
}

.home-products-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(2, 56, 148, 0.8) 0%,
    rgba(2, 56, 148, 0.55) 50%,
    rgba(2, 56, 148, 0.85) 100%
  );
  transition: background 0.4s ease;
}

.home-products-item:hover .home-products-overlay {
  background: linear-gradient(
    160deg,
    rgba(2, 56, 148, 0.88) 0%,
    rgba(2, 56, 148, 0.62) 50%,
    rgba(2, 56, 148, 0.9) 100%
  );
}

.home-products-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 20px 0;
  gap: 20px;
}

.home-products-name-group {
  text-align: center;
}

.home-products-name-cn {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1.4;
  margin: 0 0 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.home-products-name-en {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.home-products-img {
  width: auto;
  height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.4));
  transition: transform 0.5s ease, filter 0.5s ease;
  flex-shrink: 0;
  margin-top: auto;
  margin-bottom: -40px;
}

.home-products-item:nth-child(2) .home-products-img {
  height: 140px;
}

.home-products-item:hover .home-products-img {
  transform: translateY(-14px) scale(1.08);
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.5));
}

/* 产品板块响应式 */
@media (max-width: 991px) {
  .home-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding-bottom: 40px;
  }

  .home-products-item {
    height: 380px;
  }
}

@media (max-width: 575px) {
  .home-products-section {
    padding: 60px 0;
  }

  .home-products-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-bottom: 40px;
  }

  .home-products-item {
    height: 320px;
  }

  .home-products-name-cn {
    font-size: 1.15rem;
  }

  .home-products-img {
    height: 160px;
    margin-bottom: -35px;
  }
}

/* 关于我们 */
.home-about-section {
  position: relative;
  padding: 100px 0;
  background: url("/static/default/web/images/about_bg.jpg") center / cover no-repeat;
  background-attachment: fixed;
}

.home-about-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 56, 148, 0.82);
  z-index: 1;
}

.home-about-container {
  position: relative;
  z-index: 2;
}

.home-about-title {
  font-weight: 700;
  font-size: 1.6rem;
  color: #ffffff;
  letter-spacing: 3px;
  margin-bottom: 6px;
}

.home-about-title-en {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.home-about-divider {
  width: 50px;
  height: 3px;
  background: #ffe200;
  margin-bottom: 28px;
}

.home-about-text {
  font-size: 0.9rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

.home-about-text strong {
  color: #ffffff;
  font-weight: 700;
}

.home-about-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  background: transparent;
}

.home-about-btn:hover {
  background: #ffffff;
  color: var(--home-primary);
  border-color: #ffffff;
}

.home-about-media {
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.home-about-video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

@media (max-width: 991px) {
  .home-about-section {
    padding: 70px 0;
    background-attachment: scroll;
  }
}

@media (max-width: 575px) {
  .home-about-section {
    padding: 50px 0;
  }

  .home-about-title {
    font-size: 1.6rem;
  }

  .home-about-text {
    font-size: 0.9rem;
  }
}

/* 公司展示 */
.home-showcase-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(10, 35, 80, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(10, 35, 80, 0.18);
}

.home-showcase-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* 新闻 */
.home-news-section {
  position: relative;
  background: url("/static/default/web/images/news_bg.jpg") center / cover no-repeat;
  background-attachment: fixed;
}

.home-news-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(235, 242, 255, 0.90) 0%,
      rgba(220, 232, 252, 0.85) 50%,
      rgba(200, 218, 248, 0.90) 100%
    );
  z-index: 1;
}

a.home-news-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.home-news-card {
  background: #ffffff;
  border: none;
  border-radius: 0;
  padding: 28px 28px 24px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.home-news-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--home-primary);
  transition: width 0.4s ease, left 0.4s ease;
}

.home-news-card:hover {
  box-shadow: 0 8px 28px rgba(2, 56, 148, 0.12);
  transform: translateY(-3px);
}

.home-news-card:hover::after {
  width: 100%;
  left: 0;
}

.home-news-title {
  margin: 0 0 14px;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
}

.home-news-title {
  color: var(--home-primary);
}

.home-news-desc {
  color: #5a6a80;
  font-size: 0.92rem;
  line-height: 1.8;
  margin: 0 0 20px;
  flex: 1;
}

.home-news-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #eef1f5;
}

.home-news-date {
  color: #9aa5b4;
  font-size: 0.85rem;
  font-weight: 400;
}

.home-news-more {
  color: #1a2a44;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.2s ease;
}

.home-news-more i {
  color: var(--home-primary);
  margin-left: 4px;
  font-size: 0.8rem;
}

.home-news-more:hover {
  color: var(--home-primary);
}

/* 页脚 */
.home-footer {
  color: #ffffff;
}

.home-footer-upper {
  background: var(--home-primary);
  padding: 42px 0 32px;
}

.home-footer-lower {
  background: #013489;
  padding: 18px 0;
}

/* footer 第一行：logo + 联系信息 */
.home-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 0;
}

.home-footer-brand {
  display: flex;
  align-items: center;
  gap: 0;
}

.home-footer-logo {
  height: 50px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.home-footer-brand-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 16px;
}

.home-footer-brand-slogan {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.home-footer-brand-slogan span:first-child {
  font-size: 1.00rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 1px;
}

.home-footer-brand-slogan span:last-child {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.5px;
}

.home-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.home-footer-contact-header {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.home-footer-contact-item {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
}

.home-footer-contact-item strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.home-footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
}

.home-footer-list li {
  margin-bottom: 8px;
}

.home-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  margin-right: 10px;
  transition: background 0.3s ease;
}

.home-footer-social a:hover {
  background: rgba(255, 255, 255, 0.25);
}

.home-footer-line {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 0;
}

@media (max-width: 991px) {
  .home-footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-footer-contact {
    text-align: left;
  }
}

/* 浮动工具栏 */
.home-float-toolbar {
  position: fixed;
  right: 24px;
  bottom: 120px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-float-item {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--home-primary);
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border: 1px solid #e8ecf2;
  transition: all 0.3s ease;
  position: relative;
  border-radius: 50%;
}

.home-float-item:hover {
  background: var(--home-primary);
  color: #ffffff;
  border-color: var(--home-primary);
  
}

/* 微信二维码弹出 */
.home-float-wechat {
  position: relative;
}

.home-float-qrcode {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%) scale(0.8);
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.home-float-qrcode::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #ffffff;
}

.home-float-wechat:hover .home-float-qrcode {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}

.home-float-qrcode img {
  width: 140px;
  height: 140px;
  object-fit: contain;
}

.home-float-qrcode span {
  font-size: 0.8rem;
  color: #666;
}

/* 返回顶部 */
.home-float-top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.home-float-top.home-float-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 767px) {
  .home-float-toolbar {
    right: 12px;
    bottom: 80px;
  }

  .home-float-item {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .home-float-qrcode {
    right: 52px;
  }

  .home-float-qrcode img {
    width: 120px;
    height: 120px;
  }
}

/* ======================== */
/* 内页模板样式               */
/* ======================== */

/* 页面 Banner */
.home-page-banner {
  position: relative;
  height: 280px;
  display: flex;
  align-items: center;
  background: url("/static/default/web/images/page_bg.jpg") top center / cover no-repeat;
  overflow: hidden;
}

.home-page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2, 56, 148, 0.88) 0%, rgba(1, 40, 100, 0.35) 60%);
  z-index: 1;
}

.home-page-banner-title {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.home-page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 0.88rem;
}

.home-page-breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.home-page-breadcrumb a:hover {
  color: #ffffff;
}

.home-page-breadcrumb-sep {
  color: rgba(255, 255, 255, 0.35);
  margin: 0 10px;
}

.home-page-breadcrumb-current {
  color: rgba(255, 255, 255, 0.9);
}

/* 子栏目导航 */
.home-page-subnav {
  background: #ffffff;
  border-bottom: 1px solid #e8ecf2;
  position: sticky;
  top: 68px;
  z-index: 90;
}

.home-page-subnav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
}

.home-page-subnav-link {
  display: block;
  padding: 16px 28px;
  color: #5a6a80;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s ease;
}

.home-page-subnav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--home-primary);
  transition: width 0.3s ease, left 0.3s ease;
}

.home-page-subnav-link:hover,
.home-page-subnav-link.active {
  color: var(--home-primary);
  font-weight: 600;
}

.home-page-subnav-link.active::after,
.home-page-subnav-link:hover::after {
  width: 100%;
  left: 0;
}

/* 页面内容区域 */
.home-page-content {
  padding: 60px 0 80px;
  background: #ffffff;
}

.home-page-body {
  font-size: 0.95rem;
  line-height: 2;
  color: #3a4a5c;
}

.home-page-body img {
  max-width: 100%;
  height: auto;
}

.home-page-body h2,
.home-page-body h3,
.home-page-body h4 {
  color: var(--home-text-dark);
  font-weight: 700;
  margin: 30px 0 16px;
}

.home-page-body p {
  margin-bottom: 16px;
}

/* .home-page-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.home-page-body table th,
.home-page-body table td {
  border: 1px solid #e0e5ec;
  padding: 10px 14px;
  text-align: left;
}

.home-page-body table th {
  background: #f5f7fb;
  font-weight: 600;
  color: var(--home-text-dark);
} */

@media (max-width: 991px) {
  .home-page-banner {
    height: 200px;
  }

  .home-page-banner-title {
    font-size: 1.5rem;
  }

  .home-page-subnav {
    top: 60px;
  }

  .home-page-subnav-link {
    padding: 12px 20px;
    font-size: 0.85rem;
  }

  .home-page-content {
    padding: 40px 0 60px;
  }
}

@media (max-width: 575px) {
  .home-page-banner {
    height: 160px;
  }

  .home-page-banner-title {
    font-size: 1.3rem;
    letter-spacing: 2px;
  }

  .home-page-content {
    padding: 30px 0 50px;
  }
}

/* ======================== */
/* 产品列表页样式              */
/* ======================== */

/* 左侧分类侧边栏 */
.home-sidebar {
  position: sticky;
  top: 88px;
}

.home-sidebar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
  background: var(--home-primary);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.home-sidebar-title i {
  font-size: 1.15rem;
}

.home-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #e8ecf2;
  border-top: none;
}

.home-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  color: #3a4a5c;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid #f0f3f8;
  transition: all 0.2s ease;
}

.home-sidebar-link i {
  font-size: 0.7rem;
  color: #bcc5d2;
  transition: color 0.2s ease, transform 0.2s ease;
}

.home-sidebar-link:hover {
  color: var(--home-primary);
  background: #f5f8fd;
  padding-left: 28px;
}

.home-sidebar-link:hover i {
  color: var(--home-primary);
  transform: translateX(2px);
}

.home-sidebar-link.active {
  color: var(--home-primary);
  font-weight: 600;
  background: #edf2fc;
  border-left: 3px solid var(--home-primary);
  padding-left: 19px;
}

.home-sidebar-link.active i {
  color: var(--home-primary);
}

.home-sidebar-list li:last-child .home-sidebar-link {
  border-bottom: none;
}

/* 侧边栏联系信息 */
.home-sidebar-contact {
  margin-top: 20px;
  padding: 20px 22px;
  background: #f5f8fd;
  border: 1px solid #e8ecf2;
}

.home-sidebar-contact-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--home-primary);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #d6dde8;
}

.home-sidebar-contact-title i {
  font-size: 1rem;
}

.home-sidebar-contact-item {
  font-size: 0.82rem;
  color: #5a6a80;
  line-height: 1.6;
  margin-bottom: 6px;
}

.home-sidebar-contact-item strong {
  color: var(--home-primary);
  font-size: 0.88rem;
}

/* 产品卡片 */
.home-product-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
  border: 1px solid #e8ecf2;
}

.home-product-card:hover {
  box-shadow: 0 12px 32px rgba(2, 56, 148, 0.12);
  transform: translateY(-4px);
  color: inherit;
}

.home-product-card-img {
  position: relative;
  width: 100%;
  padding-top: 75%;
  overflow: hidden;
  background: #f5f7fb;
}

.home-product-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.home-product-card:hover .home-product-card-img img {
  transform: scale(1.06);
}

.home-product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}

.home-product-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--home-text-dark);
  margin: 0 0 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-product-card:hover .home-product-card-title {
  color: var(--home-primary);
}

.home-product-card-desc {
  font-size: 0.85rem;
  color: #7a8a9e;
  line-height: 1.7;
  margin: 0 0 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-product-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--home-primary);
  margin-top: auto;
  transition: gap 0.3s ease;
}

.home-product-card:hover .home-product-card-more {
  gap: 10px;
}

/* 分页 */
.home-pagination {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.home-pagination .pagination {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px;
}

.home-pagination .pagination li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #dce3ed;
  background: #ffffff;
  color: #5a6a80;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.home-pagination .pagination li a:hover {
  background: var(--home-primary);
  border-color: var(--home-primary);
  color: #ffffff;
}

/* 当前激活页 */
.home-pagination .pagination li.active a {
  background: var(--home-primary);
  border-color: var(--home-primary);
  color: #ffffff;
  font-weight: 700;
  pointer-events: none;
}

/* 总条数（第一项）：弱化样式 */
.home-pagination .pagination li:first-child a {
  border-color: transparent;
  background: transparent;
  color: #8e9bb2;
  font-size: 0.82rem;
  pointer-events: none;
  min-width: auto;
  padding: 0 8px;
}

/* 上一页 / 下一页 */
.home-pagination .pagination li:last-child a {
  padding: 0 18px;
  font-weight: 500;
}

/* ======================== */
/* 产品详情页样式              */
/* ======================== */

/* 产品图片画廊 */
.home-product-gallery-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f5f7fb;
  border: 1px solid #e8ecf2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.home-product-gallery-main:hover img {
  transform: scale(1.05);
}

.home-product-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.home-product-gallery-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border: 2px solid #e8ecf2;
  cursor: pointer;
  transition: border-color 0.2s ease;
  background: #f5f7fb;
}

.home-product-gallery-thumb:hover,
.home-product-gallery-thumb.active {
  border-color: var(--home-primary);
}

.home-product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 产品信息 */
.home-product-info {
  padding: 10px 0;
}

.home-product-info-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--home-text-dark);
  line-height: 1.4;
  margin: 0 0 18px;
}

.home-product-info-divider {
  width: 48px;
  height: 3px;
  background: var(--home-primary);
  margin-bottom: 24px;
}

.home-product-info-desc {
  font-size: 0.92rem;
  color: #5a6a80;
  line-height: 1.9;
  margin-bottom: 28px;
}

.home-product-info-meta {
  margin-bottom: 32px;
}

.home-product-info-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #7a8a9e;
  margin-bottom: 10px;
}

.home-product-info-meta-item i {
  color: var(--home-primary);
  font-size: 0.92rem;
}

.home-product-info-meta-item a {
  color: var(--home-primary);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.home-product-info-meta-item a:hover {
  opacity: 0.8;
}

.home-product-info-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: var(--home-primary);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  letter-spacing: 1px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.home-product-info-btn:hover {
  background: #01286a;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(2, 56, 148, 0.25);
}

/* 产品详细内容 */
.home-product-content-section {
  margin-top: 60px;
  border-top: 1px solid #e8ecf2;
  padding-top: 0;
}

.home-product-content-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e8ecf2;
  margin-bottom: 36px;
}

.home-product-content-tab {
  display: inline-block;
  padding: 16px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #5a6a80;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.home-product-content-tab.active,
.home-product-content-tab:hover {
  color: var(--home-primary);
  border-bottom-color: var(--home-primary);
}

.home-product-content-body {
  padding-bottom: 20px;
}

/* 相关产品推荐 */
.home-product-related {
  margin-top: 60px;
  padding-top: 48px;
  border-top: 1px solid #e8ecf2;
}

.home-product-related-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--home-text-dark);
  margin-bottom: 28px;
  padding-left: 14px;
  border-left: 3px solid var(--home-primary);
}

.home-product-related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border: 1px solid #e8ecf2;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.home-product-related-card:hover {
  box-shadow: 0 8px 24px rgba(2, 56, 148, 0.1);
  transform: translateY(-3px);
  color: inherit;
}

.home-product-related-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f5f7fb;
}

.home-product-related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.home-product-related-card:hover .home-product-related-img img {
  transform: scale(1.06);
}

.home-product-related-name {
  display: block;
  padding: 14px 16px;
  font-size: 0.85rem;
  color: var(--home-text-dark);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-product-related-card:hover .home-product-related-name {
  color: var(--home-primary);
}

/* 产品列表和详情 - 响应式 */
@media (max-width: 991px) {
  .home-sidebar {
    position: static;
    margin-bottom: 12px;
  }

  .home-sidebar-title {
    padding: 14px 18px;
    font-size: 0.95rem;
  }

  .home-sidebar-link {
    padding: 12px 18px;
    font-size: 0.85rem;
  }

  .home-sidebar-contact {
    display: none;
  }

  .home-product-info-title {
    font-size: 1.3rem;
  }

  .home-product-content-tab {
    padding: 12px 20px;
    font-size: 0.88rem;
  }

  .home-product-related {
    margin-top: 40px;
    padding-top: 32px;
  }
}

@media (max-width: 575px) {
  .home-product-card-body {
    padding: 16px 18px 18px;
  }

  .home-product-card-title {
    font-size: 0.95rem;
  }

  .home-product-info-title {
    font-size: 1.15rem;
  }

  .home-product-info-btn {
    width: 100%;
    justify-content: center;
  }

  .home-product-gallery-thumb {
    width: 56px;
    height: 56px;
  }

  .home-product-content-section {
    margin-top: 40px;
  }

  .home-product-content-tab {
    padding: 12px 16px;
    font-size: 0.85rem;
  }
}

/* ======================== */
/* 新闻列表页样式              */
/* ======================== */

/* 侧边栏-热门资讯 */
.home-sidebar-hot {
  margin-top: 20px;
  border: 1px solid #e8ecf2;
}

.home-sidebar-hot-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--home-text-dark);
  border-bottom: 1px solid #e8ecf2;
  background: #f9fafb;
}

.home-sidebar-hot-title i {
  color: #e85d2a;
  font-size: 1.05rem;
}

.home-sidebar-hot-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-sidebar-hot-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 22px;
  text-decoration: none;
  color: #3a4a5c;
  font-size: 0.85rem;
  line-height: 1.5;
  border-bottom: 1px solid #f0f3f8;
  transition: color 0.2s ease, background 0.2s ease;
}

.home-sidebar-hot-item:hover {
  color: var(--home-primary);
  background: #f5f8fd;
}

.home-sidebar-hot-list li:last-child .home-sidebar-hot-item {
  border-bottom: none;
}

.home-sidebar-hot-index {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #e8ecf2;
  color: #7a8a9e;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

/* 前三名特殊颜色 */
.home-sidebar-hot-list li:nth-child(1) .home-sidebar-hot-index {
  background: var(--home-primary);
  color: #ffffff;
}

.home-sidebar-hot-list li:nth-child(2) .home-sidebar-hot-index {
  background: #2c5baf;
  color: #ffffff;
}

.home-sidebar-hot-list li:nth-child(3) .home-sidebar-hot-index {
  background: #5a7ec2;
  color: #ffffff;
}

.home-sidebar-hot-text {
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 新闻列表条目 */
.home-news-list-item {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 28px 0;
  border-bottom: 1px solid #e8ecf2;
  transition: background 0.2s ease;
}

.home-news-list-item:first-child {
  padding-top: 0;
}

.home-news-list-item:hover {
  color: inherit;
}

.home-news-list-item .home-news-list-body {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* 带图的新闻条目 */
.home-news-list-img {
  flex-shrink: 0;
  width: 220px;
  height: 148px;
  overflow: hidden;
  background: #f5f7fb;
  margin-bottom: 16px;
}

.home-news-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.home-news-list-item:hover .home-news-list-img img {
  transform: scale(1.06);
}

/* 日期块 */
.home-news-list-date {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 72px;
  padding: 10px 0;
  border-right: 2px solid #e8ecf2;
  transition: border-color 0.3s ease;
}

.home-news-list-item:hover .home-news-list-date {
  border-right-color: var(--home-primary);
}

.home-news-list-day {
  font-size: 2rem;
  font-weight: 800;
  color: var(--home-text-dark);
  line-height: 1;
  transition: color 0.3s ease;
}

.home-news-list-item:hover .home-news-list-day {
  color: var(--home-primary);
}

.home-news-list-ym {
  font-size: 0.78rem;
  color: #8e9bb2;
  margin-top: 4px;
}

/* 内容区 */
.home-news-list-content {
  flex: 1;
  min-width: 0;
}

.home-news-list-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--home-text-dark);
  margin: 0 0 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.home-news-list-item:hover .home-news-list-title {
  color: var(--home-primary);
}

.home-news-list-desc {
  font-size: 0.85rem;
  color: #7a8a9e;
  line-height: 1.8;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 箭头 */
.home-news-list-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e8ecf2;
  color: #bcc5d2;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.home-news-list-item:hover .home-news-list-arrow {
  background: var(--home-primary);
  border-color: var(--home-primary);
  color: #ffffff;
}

/* ======================== */
/* 新闻详情页样式              */
/* ======================== */

/* 文章主体 */
.home-article {
  background: #ffffff;
}

.home-article-header {
  padding-bottom: 28px;
  border-bottom: 1px solid #e8ecf2;
  margin-bottom: 36px;
  text-align: center;
}

.home-article-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--home-text-dark);
  line-height: 1.5;
  margin: 0 0 18px;
}

.home-article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.home-article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #8e9bb2;
}

.home-article-meta-item i {
  font-size: 0.88rem;
  color: #aab4c4;
}

/* 文章正文 */
.home-article-body {
  margin-bottom: 36px;
}

/* 关键词标签 */
.home-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0;
  border-top: 1px solid #e8ecf2;
  margin-bottom: 0;
}

.home-article-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: #f0f4fb;
  color: var(--home-primary);
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.home-article-tag:hover {
  background: var(--home-primary);
  color: #ffffff;
}

/* 上一篇/下一篇 */
.home-article-nav {
  display: flex;
  gap: 0;
  border-top: 1px solid #e8ecf2;
  border-bottom: 1px solid #e8ecf2;
  margin: 24px 0 0;
}

.home-article-nav-item {
  flex: 1;
  padding: 22px 0;
  min-width: 0;
}

.home-article-nav-prev {
  padding-right: 20px;
  border-right: 1px solid #e8ecf2;
}

.home-article-nav-next {
  padding-left: 20px;
  text-align: right;
}

.home-article-nav-label {
  display: block;
  font-size: 0.78rem;
  color: #8e9bb2;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.home-article-nav-link {
  font-size: 0.9rem;
  color: var(--home-text-dark);
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

a.home-article-nav-link:hover {
  color: var(--home-primary);
}

.home-article-nav-none {
  color: #bcc5d2;
}

/* 相关内容 */
.home-article-related {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid #e8ecf2;
}

.home-article-related-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--home-text-dark);
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 3px solid var(--home-primary);
}

.home-article-related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border: 1px solid #e8ecf2;
  height: 100%;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.home-article-related-card:hover {
  box-shadow: 0 8px 24px rgba(2, 56, 148, 0.1);
  transform: translateY(-3px);
  color: inherit;
}

.home-article-related-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f5f7fb;
}

.home-article-related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.home-article-related-card:hover .home-article-related-img img {
  transform: scale(1.06);
}

.home-article-related-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.home-article-related-name {
  font-size: 0.85rem;
  color: var(--home-text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.home-article-related-card:hover .home-article-related-name {
  color: var(--home-primary);
}

.home-article-related-date {
  font-size: 0.75rem;
  color: #8e9bb2;
}

/* 新闻列表和详情 - 响应式 */
@media (max-width: 991px) {
  .home-news-list-img {
    width: 160px;
    height: 110px;
  }

  .home-news-list-date {
    width: 56px;
  }

  .home-news-list-day {
    font-size: 1.6rem;
  }

  .home-news-list-arrow {
    display: none;
  }

  .home-article-title {
    font-size: 1.3rem;
  }

  .home-article-related {
    margin-top: 32px;
    padding-top: 24px;
  }
}

@media (max-width: 575px) {
  .home-news-list-img {
    width: 100%;
    height: 180px;
    margin-bottom: 12px;
  }

  .home-news-list-item .home-news-list-body {
    gap: 16px;
  }

  .home-news-list-date {
    width: 48px;
    border-right-width: 1px;
    padding: 6px 0;
  }

  .home-news-list-day {
    font-size: 1.3rem;
  }

  .home-news-list-ym {
    font-size: 0.7rem;
  }

  .home-news-list-title {
    font-size: 0.92rem;
  }

  .home-news-list-desc {
    -webkit-line-clamp: 1;
  }

  .home-article-title {
    font-size: 1.15rem;
  }

  .home-article-meta {
    gap: 12px;
  }

  .home-article-nav {
    flex-direction: column;
    gap: 0;
  }

  .home-article-nav-prev {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid #e8ecf2;
    padding-bottom: 16px;
  }

  .home-article-nav-next {
    padding-left: 0;
    text-align: left;
    padding-top: 16px;
  }
}

/* ======================== */
/* 相册列表页样式              */
/* ======================== */

/* 相册卡片 */
.home-photo-card {
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border: 1px solid #e8ecf2;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.home-photo-card:hover {
  box-shadow: 0 12px 32px rgba(2, 56, 148, 0.12);
  transform: translateY(-4px);
  color: inherit;
}

.home-photo-card-img {
  position: relative;
  width: 100%;
  padding-top: 75%;
  overflow: hidden;
  background: #f5f7fb;
}

.home-photo-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.home-photo-card:hover .home-photo-card-img img {
  transform: scale(1.06);
}

.home-photo-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 56, 148, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.home-photo-card-overlay i {
  font-size: 2rem;
  color: #ffffff;
}

.home-photo-card:hover .home-photo-card-overlay {
  opacity: 1;
}

.home-photo-card-body {
  padding: 16px 18px;
}

.home-photo-card-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--home-text-dark);
  margin: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.home-photo-card:hover .home-photo-card-title {
  color: var(--home-primary);
}

/* ======================== */
/* 相册详情页样式              */
/* ======================== */

.home-photo-detail-header {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid #e8ecf2;
  margin-bottom: 32px;
}

.home-photo-detail-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--home-text-dark);
  margin: 0 0 12px;
}

.home-photo-detail-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 0.82rem;
  color: #8e9bb2;
}

.home-photo-detail-meta i {
  margin-right: 4px;
  color: #aab4c4;
}

.home-photo-detail-desc {
  text-align: center;
  font-size: 0.9rem;
  color: #5a6a80;
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto 36px;
}

/* 图片网格 */
.home-photo-grid {
  margin-bottom: 40px;
}

.home-photo-grid-item {
  position: relative;
  width: 100%;
  padding-top: 75%;
  overflow: hidden;
  background: #f5f7fb;
  cursor: pointer;
  border: 1px solid #e8ecf2;
}

.home-photo-grid-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.home-photo-grid-item:hover img {
  transform: scale(1.05);
}

.home-photo-grid-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 56, 148, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.home-photo-grid-overlay i {
  font-size: 1.8rem;
  color: #ffffff;
}

.home-photo-grid-item:hover .home-photo-grid-overlay {
  opacity: 1;
}

.home-photo-detail-content {
  padding-top: 32px;
}

/* 图片查看器（灯箱） */
.home-photo-viewer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.home-photo-viewer.active {
  opacity: 1;
  visibility: visible;
}

.home-photo-viewer img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  transform: scale(0.92);
  transition: transform 0.35s ease;
}

.home-photo-viewer.active img {
  transform: scale(1);
}

.home-photo-viewer-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.home-photo-viewer-close:hover {
  opacity: 1;
}

/* 相册 - 响应式 */
@media (max-width: 991px) {
  .home-photo-detail-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 575px) {
  .home-photo-card-body {
    padding: 12px 14px;
  }

  .home-photo-card-title {
    font-size: 0.85rem;
  }

  .home-photo-detail-title {
    font-size: 1.15rem;
  }

  .home-photo-viewer img {
    max-width: 96vw;
    max-height: 80vh;
  }

  .home-photo-viewer-close {
    top: 16px;
    right: 16px;
  }
}

/* ======================== */
/* 公司期刊列表样式            */
/* ======================== */

.home-magazine-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s ease;
}

.home-magazine-card:hover {
  transform: translateY(-4px);
  color: inherit;
}

/* A4比例封面 (1:1.414) */
.home-magazine-cover {
  position: relative;
  width: 100%;
  padding-top: 141.4%;
  overflow: hidden;
  background: #f5f7fb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.35s ease;
}

.home-magazine-card:hover .home-magazine-cover {
  box-shadow: 0 8px 28px rgba(2, 56, 148, 0.18);
}

.home-magazine-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.home-magazine-card:hover .home-magazine-cover img {
  transform: scale(1.04);
}

.home-magazine-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 56, 148, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.home-magazine-overlay i {
  font-size: 1.8rem;
  color: #ffffff;
}

.home-magazine-overlay span {
  font-size: 0.78rem;
  color: #ffffff;
  letter-spacing: 1px;
}

.home-magazine-card:hover .home-magazine-overlay {
  opacity: 1;
}

.home-magazine-body {
  padding: 14px 4px 0;
  text-align: center;
}

.home-magazine-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--home-text-dark);
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.home-magazine-card:hover .home-magazine-title {
  color: var(--home-primary);
}

.home-magazine-date {
  font-size: 0.75rem;
  color: #8e9bb2;
}

/* 期刊 - 响应式 */
@media (max-width: 575px) {
  .home-magazine-title {
    font-size: 0.82rem;
  }

  .home-magazine-body {
    padding: 10px 2px 0;
  }
}

/* AOS 动画由 aos.css 控制 */
