@charset "utf-8";
/* ============================================================
   中华文化发展智库平台 / 文化发展智库支撑平台 —— 入口页样式
   适用范围：ifahs.chinesecul.cn、ifahs.culturecn.cn
   设计还原依据：主站 /static/hubeiqt/css/style.css 中入口页相关规则
   依赖：/assets/img/ 下的 enter_w.jpg、entryop.png、center_none.png、
        center_y.png、entrylogo.png、beian.png
   ============================================================ */

/* ---------- 基础 ---------- */
html {
  min-height: 100%;
  min-width: 1200px;
}

body.entry {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  min-height: 720px;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #221815;
  background: url(/assets/img/enter_w.jpg) no-repeat top center;
  background-size: 100% 100%;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  outline: none;
}

img {
  border: 0;
  vertical-align: middle;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.w1200 {
  width: 1200px;
  margin: 0 auto;
  position: relative;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

/* 键盘可达性：焦点框不破坏视觉 */
a:focus-visible {
  outline: 2px solid #ffd9a0;
  outline-offset: 2px;
}

/* ---------- 顶部：Logo + 导航 ---------- */
.site-head {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

/* 半透明纹理，与主站一致 */
.en_head {
  width: 100%;
  height: 130px;
  background: url(/assets/img/entryop.png) repeat;
}

.en_head .en_logo {
  display: block;
  width: 300px;
  padding-top: 33px;
}

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

/* 导航条 */
.nav {
  position: relative;
  background: url(/assets/img/entryop.png) repeat;
  border-top: 1px solid rgba(250, 250, 250, 0.5);
}

.nav .w1200 {
  text-align: center;
}

.first_ul {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.first_li {
  position: relative;
}

.first_a {
  display: block;
  text-align: center;
  color: #fff;
  font-size: 19px;
  margin: 10px 0;
  height: 25px;
  line-height: 25px;
  padding: 0 24px;
  border-left: 2px solid #fff;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s;
}

.first_a:hover,
.first_a:focus {
  opacity: 0.9;
  font-weight: 900;
}

/* 下拉菜单：纯 CSS，鼠标悬停与键盘聚焦均可展开 */
.second_ul {
  position: absolute;
  top: 45px;
  left: 0;
  z-index: 900;
  display: none;
  min-width: 200px;
}

.first_li:hover > .second_ul,
.first_li:focus-within > .second_ul {
  display: block;
}

.second_a {
  display: block;
  height: 40px;
  line-height: 40px;
  text-align: left;
  color: #fff;
  background-color: #f29b33;
  padding: 0 16px;
  white-space: nowrap;
  transition: background 0.3s;
}

.second_a:hover,
.second_a:focus {
  background: #f6bc69;
  font-weight: 900;
}

/* 两站互链项：视觉上与原有栏目区分，但不破坏信息架构 */
.first_li--cross .first_a {
  color: #ffe3b0;
  border-left: 2px solid rgba(255, 255, 255, 0.35);
}

.first_li--cross .first_a:hover {
  color: #fff;
}

/* ---------- 中心入口按钮 ---------- */
.center_png {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 250px;
  margin: -125px 0 0 -125px;
  background: url(/assets/img/center_none.png) no-repeat;
  background-size: 100% 100%;
  z-index: 50;
  transition: transform 0.3s;
}

.center_png.bling {
  background-image: url(/assets/img/center_y.png);
}

.center_png:hover,
.center_png:focus {
  transform: scale(1.04);
}

/* ---------- 页脚 ---------- */
.entry_footer {
  position: fixed;
  bottom: 20px;
  left: 0;
  width: 100%;
  z-index: 90;
}

.entry_footer > div {
  display: flex;
  align-items: flex-end;
  width: 677px;
  margin: 0 auto;
}

.entry_footer_left {
  flex: 0 0 274px;
  width: 274px;
  height: 46px;
}

.entry_footer_left img {
  float: right;
  width: 170px;
  height: 46px;
}

.entry_footer_right {
  flex: 1;
}

.entry_footer_right p {
  margin: 0;
  line-height: 23px;
  text-indent: 24px;
  color: #221815;
  /* 背景图下半部是浅色山体，深色文字对比偏低，加一层浅描边提升可读性 */
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.85), 0 0 6px rgba(255, 255, 255, 0.6);
}

.entry_footer_right a {
  color: #221815;
}

.entry_footer_right a:hover {
  text-decoration: underline;
}

.entry_footer_right .beian img {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 10px;
}

/* ---------- 窄屏兜底（本项目不做移动端适配，仅避免破版） ---------- */
@media screen and (max-height: 700px) {
  .en_head {
    height: 110px;
  }

  .en_head .en_logo {
    width: 260px;
    padding-top: 23px;
  }

  .center_png {
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
  }
}
