﻿@charset "utf-8";
/* 全局 */
* {
    transition: background-color ease .3s;
    -moz-transition: background-color ease .3s;
    -webkit-transition: background-color ease .3s;
    -o-transition: background-color ease .3s;
}
html {
    -webkit-text-size-adjust: none;
    text-align: justify;
    text-justify: inter-ideograph;
    word-break: break-all;
}
body, div, dl, dt, dd, ul, ol, li, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, h1, h2, h3 {
    margin: 0;
    padding: 0;
    font-size: 12px;
    _background-image: url(about:blank);
    _background-attachment: fixed;
}
input, button, textarea, select, optgroup, option {
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
}
ul, li, dl, dt, dd, ol {
    display: block;
    list-style: none;
}
img {
    border: 0;
    display: block;
}
.clear {
    clear: both;
}
a {
    text-decoration: none;
    outline: 0;
}
center {
    padding: 20px 0;
}
/* fixed */
.fixed {
    position: fixed;
    width: 55px;
    height: 212px;
    right: 25px;
    bottom: 50px;
    _position: absolute;
    _bottom: auto;
    _top: expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop, 10)||0)-(parseInt(this.currentStyle.marginBottom, 10)||0)));
    z-index: 999;
}
.fixed a {
    display: block;
    width: 55px;
    height: 53px;
}
.book {
    background: url(../images/fixed.jpg) 0 0 no-repeat;
}
.book:hover {
    background-position: -54px 0;
}
.fixed a.codepic {
    background: url(../images/fixed.jpg) 0 -53px no-repeat;
    height: 52px;
}
.fixed a.codepic:hover {
    background-position: -54px -53px;
}
.fixed div {
    position: relative;
}
.fixed a.backup {
    background: url(../images/fixed.jpg) 0 -158px no-repeat;
    height: 52px;
}
.fixed a.backup:hover {
    background-position: -54px -158px;
    height: 53px;
}
.fixed div img {
    position: absolute;
    left: -196px;
    width: 196px;
    height: 196px;
    top: -106px;
    display: none;
}
/* banner */
.banner {
    width: 100%;
    height: 480px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.banner ul{
    position: relative;
    width: 1600px;
    height: 480px;
    margin: 0 auto;
}
.sub_banner {
    height: 368px;
}
.banner img {
    display: block;
    margin: 0 auto;
}
.btns {
    width: 1000px;
    position: absolute;
    height: 81px;
    left: 50%;
    top: 50%;
    margin-left: -500px;
    margin-top: -40.5px;
}
.btns .prev, .btns .next {
    width: 36px;
    height: 81px;
    float: left;
    background: url(../images/leftbtn.png) 0 0 no-repeat;
    cursor: pointer;
}
.btns .next {
    background: url(../images/rightbtn.png) 0 0 no-repeat;
    float: right;
}



@charset "utf-8";

/* =============================================
   主页红色主题 · 全新样式重制
   兼容原织梦模板类名 | 无背景图依赖
============================================= */
:root {
  /* 红色主色调体系 */
  --color-primary: #D0021B;
  --color-primary-light: #E62828;
  --color-primary-dark: #A00115;
  --color-primary-glass: rgba(208, 2, 27, 0.85);
  
  /* 中性色 */
  --color-text: #333;
  --color-text-light: #666;
  --color-border: #E5E5E5;
  --color-bg: #F7F7F7;
  --color-white: #FFFFFF;
  
  /* 通用规范 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
}

ul, ol, li, dl, dd {
  list-style: none;
}

img {
  border: 0;
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* ========== 顶部头部 ========== */
.topbg {
  background-color: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 10;
}

.top {
  width: 1200px;
  height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.logo {
  display: block;
}

.logo img {
  height: 55px;
  width: auto;
}

.top_tel {
  display: flex;
  align-items: center;
}

.top_tel p {
  font-size: 15px;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.top_tel p font {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  font-family: "Impact", sans-serif;
  letter-spacing: 1px;
  font-style: normal;
}

/* ========== 轮播横幅 · 彻底重写 ========== */
.banner {
  width: 100%;
  height: 480px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FFF 0%, #F0F0F0 100%);
}

.banner_pic {
  width: 100%;
  height: 100%;
  position: relative;
}

.banner_pic li {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.banner_pic li:first-child {
  opacity: 1;
}

.banner_pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 轮播按钮 · 纯CSS绘制 无需背景图 */
.btns {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.btns > div {
  pointer-events: auto;
}

.btns .prev,
.btns .next {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.btns .prev:hover,
.btns .next:hover {
  background-color: var(--color-primary);
  transform: scale(1.1);
}

.btns .prev::before,
.btns .next::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--color-primary);
  border-left: 2px solid var(--color-primary);
  transform: translate(-30%, -50%) rotate(-45deg);
  transition: var(--transition);
}

.btns .next::before {
  transform: translate(-70%, -50%) rotate(135deg);
}

.btns .prev:hover::before,
.btns .next:hover::before {
  border-color: var(--color-white);
}

/* ========== 主导航栏 ========== */
.navbg {
  width: 100%;
  background: linear-gradient(90deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-dark) 100%);
  box-shadow: 0 4px 12px rgba(208, 2, 27, 0.2);
  position: relative;
  z-index: 100;
}

.nav {
  width: 1200px;
  height: 56px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.nav > li {
  position: relative;
  height: 56px;
  line-height: 56px;
  padding: 0 28px;
  float: left;
}

.nav > li > a {
  display: block;
  color: var(--color-white);
  font-size: 16px;
  font-weight: 500;
  position: relative;
}

.nav > li > a::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-white);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav > li:hover > a::after {
  width: 80%;
}

/* 下拉菜单 */
.nav li dl {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 120px;
  background-color: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  padding: 6px 0;
}

.nav li.hover dl {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav li dl dd {
  line-height: 40px;
  text-align: center;
}

.nav li dl a {
  display: block;
  color: var(--color-text);
  font-size: 14px;
  padding: 0 16px;
}

.nav li dl a:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* 右侧登录注册 */
.top-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 56px;
}

.top-right li {
  float: left;
  line-height: 56px;
}

.top-right a {
  color: var(--color-white);
  font-size: 14px;
  opacity: 0.9;
}

.top-right a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ========== 主体内容 ========== */
.index_bg {
  width: 100%;
  padding: 30px 0;
  background-color: var(--color-bg);
}

.content {
  width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 模块标题 · 全新斜角设计 */
.about_title {
  height: 48px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--color-primary);
  position: relative;
}

.about_title span {
  height: 48px;
  line-height: 48px;
  padding: 0 24px;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  font-size: 18px;
  font-weight: 700;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  position: relative;
}

.about_title span::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 0;
  width: 12px;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary-dark) 50%, transparent 50%);
}

.about_title a {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 500;
}

.about_title a:hover {
  text-decoration: underline;
}

/* 作品列表 · 卡片化设计 */
.right {
  width: 100%;
}

.right_pro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.right_pro li {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.right_pro li:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(208, 2, 27, 0.15);
}

.right_pro li > a {
  display: block;
  position: relative;
}

.right_pro img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: var(--transition);
}

.right_pro li:hover img {
  transform: scale(1.05);
}

/* 作品信息排版优化 */
.right_pro li p {
  padding: 12px 16px 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.right_pro li p:nth-of-type(2) {
  font-size: 13px;
  color: var(--color-text-light);
  padding: 0 16px 12px;
  font-weight: normal;
}

.right_pro li > a > span {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
}

/* 更新时间条 · 改为红色渐变遮罩 */
.right_pro li p[style*="background: #00000080"] {
  position: absolute !important;
  bottom: 60px;
  left: 0;
  right: 0;
  top: auto !important;
  width: 100% !important;
  background: linear-gradient(transparent, var(--color-primary-glass)) !important;
  color: var(--color-white) !important;
  text-align: center;
  padding: 30px 16px 10px !important;
  font-size: 13px !important;
  font-weight: normal !important;
}

/* 关于我们模块 */
.about_con {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px 30px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-primary);
  line-height: 2;
  color: var(--color-text-light);
  font-size: 15px;
  margin-bottom: 20px;
}

.about_con p {
  text-indent: 2em;
  margin-bottom: 12px;
  font-size: 16px;
}

.about_con p:last-child {
  margin-bottom: 0;
}

/* ========== 友情链接 ========== */
.links_bg {
  width: 100%;
  background-color: #2D2D2D;
  padding: 16px 0;
  margin-top: 20px;
}

.links {
  width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: #CCC;
  font-size: 14px;
}

.links img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
}

.links span {
  font-weight: 500;
  color: var(--color-white);
  margin-right: 10px;
}

.links a {
  color: #CCC;
  font-size: 14px;
  margin-right: 16px;
}

.links a:hover {
  color: var(--color-primary-light);
}

/* ========== 页脚 ========== */
.foot_bg {
  width: 100%;
  background-color: #F0F0F0;
  padding: 24px 0;
  border-top: 1px solid var(--color-border);
}

.foot {
  width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  color: var(--color-text-light);
  font-size: 13px;
  line-height: 2;
}

.foot p {
  margin-bottom: 6px;
}

.foot p span {
  margin: 0 12px;
}

.foot a {
  color: var(--color-primary);
}

.foot a:hover {
  text-decoration: underline;
}

.foot_nav {
  width: 100%;
  background-color: #222;
  color: #999;
  text-align: center;
  line-height: 50px;
  font-size: 13px;
}

/* ========== 响应式适配 ========== */
@media screen and (max-width: 1240px) {
  .top, .nav, .content, .links, .foot {
    width: 100%;
  }
}

@media screen and (max-width: 960px) {
  .banner { height: 360px; }
  .right_pro { grid-template-columns: repeat(2, 1fr); }
  .nav > li { padding: 0 16px; }
}

@media screen and (max-width: 640px) {
  .banner { height: 220px; }
  .right_pro { grid-template-columns: 1fr; }
  .top_tel { display: none; }
}



