@charset "utf-8";

@font-face {
  font-family: 'SourceHanSansCN1';
  src: url("../fonts/sourcehansanscn-regular.woff") format("woff");
  font-display: swap;
  font-style: normal;
  font-weight: 400
}

@font-face {
  font-family: 'SourceHanSansCN';
  src: url("../fonts/SourceHanSerifCN-Bold-2.otf") format("opentype");
  font-display: swap;
  font-style: normal;
 
}

@font-face {
  font-family: 'Philosopher-Bold';
  src: url("../fonts/Philosopher-Bold-1.ttf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 700
}
@font-face {
  font-family: 'Philosopher-Bold2';
  src: url("../fonts/philosopher-bolditalic-2.ttf") format("opentype");
  font-display: swap;
  font-style: italic;
  font-weight: 700
}
@font-face {
  font-family: 'Philosopher3';
  src: url("../fonts/philosopher-italic-3.ttf") format("opentype");
  font-display: swap;
  font-style: italic;
}
@font-face {
  font-family: 'Philosopher4';
  src: url("../fonts/philosopher-regular-4.ttf") format("opentype");
  font-display: swap;
  font-style: italic;
}

.g-text-ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.g-line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.g-line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

html {
  font-size: 5.208333vw;
}

/* 移动端梯度根字号（规则75）：保持 rem 单位不变，只压缩根字号 */
@media (max-width: 1024px) {
  html { font-size: 85px !important; }
}
@media (max-width: 640px) {
  html { font-size: 80px !important; }
}
@media (max-width: 375px) {
  html { font-size: 75px !important; }
}
@media (max-width: 320px) {
  html { font-size: 65px !important; }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

body {
  font-family: 'Microsoft YaHei', 'MiSans', sans-serif;
  font-size: 0.16rem;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 1.46rem;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

.g-container {
  width: 16.0rem;
  max-width: 16.0rem;
  margin: 0 auto;
  padding: 0 0.2rem;
  box-sizing: border-box;
}

/* 移动端容器宽度让出（规则76，5类白名单 #2） */
@media (max-width: 1024px) {
  body {
    padding-top: 0.7rem;
  }

  .g-container {
    width: 100%;
    max-width: 100%;
    padding: 0 0.15rem;
  }
}


/* ===== Section 01: Header + Banner ===== */

/* Header 基础（规则129：独立放置，CSS阶段四提取至public.css） */
.sec-header {
 position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 1.46rem;
  transition: box-shadow 0.3s ease;
}

.sec-header--scrolled {
  box-shadow: 0 0.04rem 0.12rem rgba(0, 0, 0, 0.15);
}

.sec-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 顶栏 */
.sec-header__topbar {
  width: 100%;
  height: 1.02rem;
  background: #a01413;
  border-bottom: #d7846e 2px solid;
}

.sec-header__topbar .sec-header__container {
  height: 100%;
}

.sec-header__logo {
  display: block;
  height: 0.5rem;
  flex-shrink: 0;
}

.sec-header__topbar-right {
  display: flex;
  align-items: center;
}

/* 快捷链接 */
.sec-header__quick-links {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sec-header__quick-item {
  list-style: none;
}

.sec-header__quick-item a {
  display: inline-block;
  font-size: 0.16rem;
  line-height: 0.21rem;
  color: #ffffff;
  font-family: 'Microsoft YaHei', sans-serif;
  font-weight: 400;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.sec-header__quick-item + .sec-header__quick-item {
  margin-left: 0.16rem;
}

.sec-header__quick-item + .sec-header__quick-item::before {
  content: '|';
  margin-right: 0.16rem;
  color: #ffffff;
  font-size: 0.16rem;
}

/* 搜索表单 */
.sec-header__search {
  display: flex;
  align-items: center;
  width: 2.26rem;
  height: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  overflow: hidden;
  margin-left: 0.55rem;
}

.sec-header__search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0 0 0 0.14rem;
  font-size: 0.14rem;
  line-height: 0.20rem;
  color: #ffffff;
  font-family: 'Source Han Sans CN', sans-serif;
  font-weight: 400;
  outline: none;
}

.sec-header__search-input::-webkit-input-placeholder {
  color: #ffffff;
}

.sec-header__search-input::-moz-placeholder {
  color: #ffffff;
}

.sec-header__search-btn {
  border: none;
  background: transparent;
  padding: 0 0.11rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.sec-header__search-icon {
  width: 0.11rem;
  height: 0.12rem;
}

/* 导航栏 */
.sec-header__nav {
  width: 100%;
  height: 0.46rem;
  background: #ffffff;
  /* box-shadow: 0 0 13px #e3e3e3; */
}

.sec-header__nav .sec-header__container {
  height: 100%;
}

.sec-header__menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sec-header__item {
  position: relative;
  list-style: none;
}

.sec-header__link {
  display: block;
  position: relative;
  font-size: 0.20rem;
  line-height: 0.48rem;
  color: #333333;
  font-family: 'Source Han Sans CN', sans-serif;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.sec-header__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.04rem;
  height: 0.03rem;
  background: #a01413;
  transform: translateX(-50%);
  width: 0;
  transition: width 0.3s ease;
}

/* 二级菜单（规则110） */
.sec-header__submenu {
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  min-width: 2.30rem;
  padding: 0.15rem 0.20rem 0.22rem 0.20rem;
  background: #ffffff;
  border-top: 0.04rem solid #a01413;
  box-shadow: 0 0.10rem 0.10rem rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, top 0.3s ease;
  z-index: 9999;
}

.sec-header__submenu.is-show {
  opacity: 1;
  visibility: visible;
  top: 100%;
}

.sec-header__submenu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}

.sec-header__submenu ul li + li {
  border-top: 0.01rem solid #c6cee5;
}

.sec-header__submenu ul li a {
  display: block;
  text-align: center;
  font-size: 0.18rem;
  line-height: 0.60rem;
  white-space: nowrap;
  color: #333333;
  transition: color 0.3s ease;
}

/* ===== Banner 轮播 ===== */

/* ===== Section 06: Footer ===== */

.sec-footer {
  position: relative;
  width: 100%;
  height: 3.10rem;
  overflow: hidden;
  z-index: 2;
  background-image: url('../images/sec_div_37.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.sec-footer__inner {
  max-width: 16.02rem;
  margin: 0 auto;
  padding-top: 0.56rem;
  box-sizing: border-box;
}

.sec-footer__top {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 1.21rem;
}

.sec-footer__logo {
  width: 5.77rem;
  height: 0.78rem;
  flex-shrink: 0;
  margin-top: 0.19rem;
}

.sec-footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sec-footer__addr {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-right: 1.56rem;
}

.sec-footer__addr-icon {
  width: 0.58rem;
  height: 0.58rem;
  flex-shrink: 0;
}

.sec-footer__addr-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sec-footer__addr-text {
  margin-left: 0.11rem;
}

.sec-footer__addr-text p {
  font-size: 0.14rem;
  line-height: 0.25rem;
  color: #ffffff;
  font-weight: 400;
  font-family: 'Microsoft YaHei', sans-serif;
  margin: 0;
  /* display: inline-block; */
  /* width: 33.33%; */
  /* float: left; */
  /* text-align: left; */
}
.sec-footer__addr-text h3{
                         font-size: 18px;
                         }
.sec-footer__addr-text p a{color：#fff;color: #fff;}

.sec-footer__qrcodes {
  display: flex;
  flex-direction: row;
  margin-left: auto;
}

.sec-footer__qrcode {
  width: 1.12rem;
  text-align: center;
}

.sec-footer__qrcode + .sec-footer__qrcode {
  margin-left: 0.54rem;
}

.sec-footer__qrcode-img {
  width: 0.87rem;
  height: 0.87rem;
  display: block;
  margin: 0 auto;
}

.sec-footer__qrcode-label {
  font-size: 0.16rem;
  line-height: 0.24rem;
  color: #ffffff;
  font-weight: 400;
  font-family: 'Microsoft YaHei', sans-serif;
  margin: 0.10rem 0 0 0;
}

.sec-footer__line {
  width: 100%;
  height: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 0.30rem;
}

.sec-footer__copyright {
  text-align: center;
  margin-top: 0.17rem;
}

.sec-footer__copyright p {
  font-size: 0.14rem;
  line-height: 0.24rem;
  color: #ffffff;
  font-weight: 400;
  font-family: 'Microsoft YaHei', sans-serif;
  margin: 0;
}

/* ===== @media 移动端 ===== */
@media (max-width: 1024px) {
  .sec-footer {
    height: auto;
    padding: 0.40rem 0.16rem;
    box-sizing: border-box;
  }

  .sec-footer__inner {
    max-width: 100%;
    padding-top: 0;
  }

  .sec-footer__top {
    flex-direction: column;
    align-items: center;
    height: auto;
  }

  .sec-footer__logo {
    margin: 0 auto 0.30rem;
    max-width: 100%;
  }

  .sec-footer__addr {
    margin-left: 0;
    margin-bottom: 0.30rem;
  }

  .sec-footer__qrcodes {
    margin-left: 0;
    margin: 0 auto;
  }

  .sec-footer__line {
    margin-top: 0.30rem;
  }
}

/* === 移动端统一堆叠规则（规则76 自动注入） === */
@media (max-width: 1024px) {
  /* 多列容器统一改单列堆叠 */
  .sec-news__inner,
  .sec-news__content,
  .sec-party__inner,
  .sec-edu__inner,
  .sec-footer__top {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  /* 多列子项宽度让出为 100% */
  .sec-news__left,
  .sec-news__right,
  .sec-party__col,
  .sec-edu__left,
  .sec-edu__right {
    width: 100% !important;
    max-width: 100% !important;
  }
}