/* ===== 顶部 Logo + 导航 ===== */
#Layer1 {
  position: relative;        /* 改为正常文档流，消除绝对定位造成的大片空白 */
  text-align: center;
  width: 100%;
  background-color: #ffffff; /* 顶部背景保持白色 */
  margin: 0 auto;
  z-index: 10;
  border-bottom: 1px solid #e0e0e0;
}

nav {
  margin: 0px auto;
  line-height: 50px;
  font-size: 15px;           /* 自行修改样式：字号 14px -> 15px */
}

#Layer1 ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#Layer1 ul li {
  float: left;
  position: relative;
  background-color: #1565C0; /* 修改前 #ffffff —— 导航项背景颜色 */
  color: #ffffff;
  cursor: pointer;
  border-radius: 4px;        /* 自行修改样式：新增圆角，更美观 */
  margin: 8px 4px;           /* 导航项之间留间距 */
}

#Layer1 ul li:hover {
  background-color: #0D47A1; /* 修改前 #0000FF —— 鼠标覆盖颜色 */
}

#Layer1 ul a {
  text-decoration: none;
  display: block;
  color: #ffffff;            /* 修改前 #2F2F2F —— 导航文字颜色 */
  padding: 8px 18px;         /* 修改前 5px 15px */
  width: auto;               /* 修改前 70px */
  text-align: center;
  font-family: 'Open Sans', sans-serif;
}

#Layer1 ul li a:hover {
  background-color: #0D47A1; /* 悬停背景与 li:hover 一致 */
  color: #ffffff;
}

/* 下拉子菜单 */
#Layer1 ul ul {
  opacity: 0;
  position: absolute;
  top: 100%;                 /* 紧贴父项下方 */
  visibility: hidden;
  transition: all .3s ease;
  -webkit-transition: all .3s ease;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  min-width: 160px;
  border-radius: 4px;
  padding: 4px 0;
}

#Layer1 ul li:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

#Layer1 ul ul li {
  float: none;
  background-color: #ffffff; /* 覆盖顶层蓝色，子菜单白底 */
  border-radius: 0;
  margin: 0;
}

#Layer1 ul ul li:hover {
  background-color: #1565C0;
}

#Layer1 ul ul li a {
  color: #333333;            /* 子菜单文字深色 */
  text-align: left;
  width: auto;
  padding: 8px 18px;
  font-size: 14px;
}

#Layer1 ul ul li a:hover {
  color: #ffffff;
}

#Layer1 ul ul li:hover > ul {  /* 第三、四级子菜单向右展开 */
  top: 0%;
  left: 100%;
  opacity: 1;
  visibility: visible;
}

#Layer1 ul ul ul {
  top: 0%;
  left: 100%;
}

/* ===== 中间内容 Layer2：图片 / 新闻列表 ===== */
#Layer2 {
  position: relative;     /* 取消绝对定位，内容自然下排 */
  width: 100%;
  background-color: #f5f7fa;
  margin: 0 auto;
  z-index: 9;
  padding: 24px 0;
  box-sizing: border-box;
}

#Layer2 .wrap {
  width: 1080px;
  margin: 0 auto;
}

#Layer2 .sec-title {
  font-size: 18px;
  color: #0D47A1;
  border-left: 4px solid #1565C0;
  padding-left: 10px;
  margin: 0 0 16px;
}

#Layer2 .layer2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* 通栏头条 */
#Layer2 .news-feature {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  transition: box-shadow .3s ease, transform .3s ease;
}
#Layer2 .news-feature img {
  width: 280px;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
#Layer2 .news-feature:hover {
  box-shadow: 0 6px 18px rgba(21,101,192,.25);
  transform: translateY(-2px);
}
#Layer2 .news-feature .news-name {
  font-size: 20px;
  font-weight: 600;
  color: #1565C0;
}
#Layer2 .news-feature .news-desc {
  font-size: 13px;
  color: #777;
  margin-top: 8px;
  line-height: 1.6;
}

/* 下方两列新闻 */
#Layer2 .news-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
#Layer2 .news-item img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
#Layer2 .news-item:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  transform: translateY(-2px);
  border-color: #1565C0;
}
#Layer2 .news-item .news-name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}
#Layer2 .news-item .news-desc {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
  line-height: 1.5;
}

/* ===== 底部版权 Layer4 ===== */
#Layer4 {
  position: relative;          /* 取消 top:520px 绝对定位，紧跟内容上方 */
  text-align: center;
  width: 100%;
  background-color: #ffffff;
  margin: 0 auto;
  font-size: 12px;
  color: #666666;
  line-height: 20px;
  padding: 16px 0;
  border-top: 1px solid #e0e0e0;
}
