* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.border-card {
  border: 1px solid #d8e7e1;
  box-shadow: 2px 3px 4px rgba(125, 153, 137, 0.192),-2px 3px 4px rgba(125, 153, 137, 0.192);
  background-color: #FFFFFF;
  margin: 10px 0 20px 0;
  border-radius: 5px 5px 5px 5px;
}
.header {
  background-color: #388D5D;
  width: 100%;
  color: #FFFFFF;
  padding: 10px 20px;
    /* 文本居中对齐，使布局更整齐 */
    text-align: center;
    /* 边框圆角，使卡片头部看起来更柔和 */
    border-radius: 5px 5px 0 0;



  h4 {
    margin: 0;
    /* 使用更专业的字体，如 Arial 或 sans-serif */
    font-family: 'sans-serif';
    /* 文字粗细为加粗 */
    font-weight: bold;
    /* 字体大小为 18px */
    font-size: 18px;
    /* 字母全部大写，增强专业性 */
    text-transform: uppercase;
    /* 字母间距为 1px，使文字更清晰易读 */
    letter-spacing: 1px;
  }
}

/* --- 图片定位按钮 --- */
.image-container {
  position: relative;  /* 关键：创建定位上下文 */
  display: inline-block;
}

.hotspot-btn {
  position: absolute; /* 保持绝对定位 */
  transform: translate(-50%, -50%);
  padding: 8px 10px;
  border: none;
  background: rgba(117, 159, 236, 0.678);
  border-radius: 4px;
  color: black;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  /* 发光效果 */
  box-shadow: 0 0 12px rgba(117, 159, 236, 0.4);
  transition: all 0.3s ease;
}
@keyframes spread {
  0% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(0.8);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
  }
  100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(0.8);
  }
}

.hotspot-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160%;  /* 扩大光晕范围 */
  height: 125%;
  background: radial-gradient(
    circle at center,
    rgba(117, 159, 236, 0.486) 0%,  /*中心颜色*/
    rgba(117, 159, 236, 0) 70% /* 边缘颜色和渐变终点 */
  );
  transform: translate(-50%, -50%);
  filter: blur(12px); /* 添加模糊效果 */
  z-index: -1;
  animation: spread 2s infinite;
}
.hotspot-btn:hover {
  background: rgba(236, 41, 41, 0.459);
  box-shadow: 0 0 20px rgba(236, 41, 41, 0.6);
  transform: translate(-50%, -50%) scale(1.1);
  
  /* 悬停时改变光晕颜色 */
  &::after {
    background: radial-gradient(
      circle at center,
      rgba(236, 41, 41, 0.3) 0%,
      rgba(236, 41, 41, 0) 70%
    );
  }
}

/* --- 模块按钮悬浮卡片 --- */
#cardPreview {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  min-width: 320px;
  max-width: 400px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(28, 82, 51, 0.25);
  opacity: 0;
  transition: opacity 0.2s ease;
  /* 移除transform避免定位干扰 */
}

.card-preview-active {
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* 继承原始卡片关键样式 */
#cardPreview .mol-card {
  width: 100% !important;
  margin: 0 !important;
  box-shadow: none !important; /* 使用外层阴影 */
  transform: none !important;
  pointer-events: auto; /* 允许卡片内容交互 */
}

/* 响应式调整 */
@media (max-width: 768px) {
  #cardPreview {
    max-width: 90vw; /* 小屏幕最大宽度 */
    min-width: 280px;
    left: 5% !important; /* 强制左侧对齐 */
    right: auto !important;
  }
}
/* ------------------------ */

.content {
  padding: 40px 60px 30px 60px;

  h1 {
    color: #388D5D;
    margin-bottom: 15px;
    text-align: center;
    font-family: 'Arial';
    font-weight: 600;
  }

  p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
  }
}

.mol-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 1.2em 0.2em; /* 2px / 16px = 0.125em */
}

.mol-card {
  display: flex;
  flex-direction: column;
  align-items: center; /* 垂直居中 */
  justify-content: space-between; /* 图标和文本之间留出空间 */
  padding: 1.5em; /* 增加内边距 */
  width: 23.5%;
  /* height: 40%; */
  /* overflow: hidden; */
  border-radius: 0.3125em; /* 5px / 16px = 0.3125em */
  text-decoration: none;
  background: white;
  margin: 0.3125em 0.3125em; /* 5px / 16px = 0.3125em, 6px / 16px = 0.375em */
  padding: 1.8em 1.6em;
  padding-bottom: 2.1875em; /* 35px / 16px = 2.1875em */
  box-shadow: rgba(28, 82, 51, 0.5) 0px 0.125em 0.75em 0px; /* 2px / 16px = 0.125em, 12px / 16px = 0.75em */
  transition: transform .2s ease, background .2s ease;
  flex-wrap: wrap; 
  box-sizing: border-box;
}


.mol-card h3 {
  color: #1b4332;
  font-size: 1.5em;
  font-weight: 600;
  display: flex; 
  justify-content: center; 
  line-height: 1;
  margin: 0.4em 0.25em; /* 8px / 16px = 0.5em, 10px / 16px = 0.625em */
  /* border-bottom: 0.125em solid #388D5D; 修改为绿色, 2px / 16px = 0.125em */
  transition: color .45s ease, border .45s ease;
}

.mol-card h4 {
  color: #627084;
  text-transform: uppercase;
  font-size: 1.125em;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  margin: 0 0 1.777777778em;
  transition: color .45s ease;
}

.mol-card p {
  opacity: 0.8; 
  font-size: 0.875em; /* 14px / 16px = 0.875em */
  color: #1b4332;
  font-weight: 500;
  display: flex; 
  justify-content: center; 
  line-height: 1.6;
  /* margin: 1.25em 0em; 20px / 16px = 1.25em */
  text-align: center;
  margin-top: 1.1em;
  margin-bottom: 1.1em;
  /* transform: translateY(-1em);
  transition: opacity .45s ease, transform .5s ease; */
}

.mol-card .link-text {
  display: block;
  color: #388D5D; /* 修改为绿色 */
  font-size: 0.975em;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0.3125em; /* 5px / 16px = 0.3125em */
  transition: color .2s ease;
  position: absolute;
  right: 0;
}

.mol-card .link-text svg {
  margin-left: 0.5em;
  transition: transform .6s ease;
}

.mol-card .link-text svg path {
  transition: fill .45s ease;
}

.mol-card .mol-fa {
  color:#388D5D;
  font-size: 2.7em; /* 48px / 16px = 3em */
  display: flex; 
  justify-content: center; 
  align-items: center;
  margin-right: 0.25em; /* 10px / 16px = 0.625em */
}


.mol-card:hover {
  background: #388D5D; /* 修改为绿色 */
  transform: scale(1.02);
  box-shadow: rgba(28, 82, 51, 0.5) 0px 0.5em 1.5625em 0px; /* 8px / 16px = 0.5em, 25px / 16px = 1.5625em */
}

.mol-card:hover h3 {
  color: #fff5a5;
  /* border-bottom-color: #b7e4c7; 修改为绿色 */
}

.mol-card:hover p {
  color: #FFFFFF;
}

.mol-card:hover .link-text {
  color: #fff5a5;
}

.mol-card:hover .link-text svg {
  animation: point 1.25s infinite alternate;
}

.mol-card:hover .link-text svg path {
  fill: #FFFFFF;
}

.mol-card:hover .mol-fa {
  color:#fff5a5;
}

.mol-card:active {
  background: #388D5D; /* 修改为绿色 */
  transform: scale(1.02);
  box-shadow: rgba(28, 82, 51, 0.5) 0px 0px 0px 0px;
  transform: translateY(0.625em); /* 10px / 16px = 0.625em */
  transition: 100ms;  
}

.mol-card:active h3 {
  color: #fff5a5;
  border-bottom-color: #b7e4c7; /* 修改为绿色 */
}

.mol-card:active p {
  color: #FFFFFF;
}

.mol-card:active .link-text {
  color: #fff5a5;
}

.mol-card:active .link-text svg {
  animation: point 1.25s infinite alternate;
}

.mol-card:active .link-text svg path {
  fill: #FFFFFF;
}

.mol-card:active .mol-fa {
  color:#fff5a5;
}

@keyframes point {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(0.3125em); /* 5px / 16px = 0.3125em */
  }
}  

@media (max-width: 941px) {
  .row {
      flex-direction: column;
  }
  .col-md-7,
  .col-md-5 {
      width: 100%;
      max-width: 100%; /* 避免因其他样式限制最大宽度 */
      flex-basis: 100%; /* 确保弹性布局下基础宽度为 100% */
  }

}

.pic-container {
  /* border-radius: 5px; */
  padding: 0;
  margin: 0 0;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pic-header {
  margin-bottom: 10px;
  align-self: flex-start;
}

.pic-header h4 {
  font-size: 22px;
  color: #388D5D; /* 使用蓝色 */
  margin: 0;
  display: inline-block;
  border-radius: 5px;
  font-weight: bold;
}



.pic-fa {
  color: #388D5D;
  font-size: 22px;
  font-weight: bold;
  margin: 2px 5px 2px 5px; 
}
.img-link {
  display: flex;
  justify-content: center; /* 水平居中图片 */
  align-self: center; /* 垂直居中图片 */
}
.img-link img:hover {
  transform: scale(1.05);
  
}
#cu-sm {
  width: 80%;
  height: auto;
  object-fit: contain;
}
.modal-image {
  width: auto; /* 允许图片显示原始宽度 */
  height: auto; /* 允许图片显示原始高度 */
  max-width: 100%; /* 确保图片不会超出模态框宽度 */
  max-height: 100vh; /* 确保图片不会超出视口高度 */
  margin: auto; /* 居中显示 */
}


  