@charset "UTF-8";
/* 基础样式 */
:root {
  --color-primary: #db5f46;
  --color-secondary: #ac361e;
  --color-text: #333;
  --color-text-light: #fff;
  --color-text-dark: #000;
  --color-text-secondary: #888;
  --color-border: #ddd;
  --color-box: #f9fafb;
  --color-mask: rgba(0, 0, 0, 0.4);
  --swiper-navigation-color: var(--color-primary);
  --swiper-pagination-color: var(--color-primary);
  --container-width: 1200px;
}

html, body {
  position: relative;
  color: var(--color-text);
  line-height: 1.6;
  font-family: "PingFang SC", "STSongtiSC", "Microsoft YaHei", sans-serif !important;
  margin: 0;
  padding: 0;
}

a {
  transition: color 0.3s;
  text-decoration: none;
  color: var(--color-text);
}
a:hover {
  color: var(--color-primary);
}

ul {
  list-style: none;
}

/* 头部样式 */
header {
  padding: 15px 0;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
header .inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
}
header .logo {
  font-family: "STSongtiSC", "Microsoft YaHei", sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: var(--color-primary);
}
header .mobile-menu-toggle {
  display: none;
  width: 60px;
  height: 60px;
}

button {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: var(--color-primary);
  color: var(--color-text-light);
}
button:hover {
  background-color: var(--color-secondary);
}
button i {
  color: var(--color-text-light);
}
button.bordered {
  color: var(--color-text);
  background-color: #f3f3f3;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  /* 九宫格切图实现 - 防止图片变形 */
  border-image: url("../images/button-deactive.png") 25 25 25 25 stretch;
  border-width: 10px;
  border-style: solid;
  background-clip: padding-box;
  padding: 0 16px;
  margin-right: 8px;
  cursor: pointer;
  font-size: 14px;
  font-family: "STSongtiSC";
  box-sizing: border-box;
}
button.bordered:hover, button.bordered.active {
  color: var(--color-text-light);
  background-color: #d74a2e;
  border-image: url("../images/button-active.png") 25 25 25 25 stretch;
}

.bordered-input {
  color: var(--color-text);
  border-style: solid;
  border-width: 10px;
  border-image: url("../images/button-deactive.png") 25 25 25 25 stretch;
}
.bordered-input input {
  background-color: #f3f3f3;
  border: none;
  font-size: 15px;
  font-family: "STSongtiSC";
  color: var(--color-text);
  width: 220px;
}
.bordered-input input:focus {
  outline: none;
}

/* 导航样式 */
nav.main-nav {
  position: relative;
}
nav.main-nav .nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
}
nav.main-nav .nav-item {
  position: relative;
}
nav.main-nav .nav-item.active a {
  font-weight: bold;
  color: var(--color-primary);
}
nav.main-nav a {
  display: block;
  color: var(--color-text);
  padding: 12px 20px;
  font-weight: 500;
  transition: background-color 0.3s;
}
nav.main-nav a:hover, nav.main-nav a:active {
  color: var(--color-primary);
}

.search-bar {
  position: relative;
}
.search-bar button {
  width: 60px;
  height: 60px;
}
.search-bar button i {
  color: var(--color-text-light);
}
.search-bar input {
  position: absolute;
  right: 0;
  padding: 8px 15px;
  border: 1px solid var(--color-border);
  outline: none;
  width: 200px;
  height: 60px;
  transition: all 0.3s;
  opacity: 0;
  z-index: 20;
}
.search-bar input.show {
  width: 250px;
  opacity: 1;
  border-color: var(--color-primary);
}

/* 主要内容区域 */
.main-content {
  position: relative;
  width: 100%;
  padding: 40px 0;
}

.main-box {
  background-color: var(--color-box);
  border-radius: 10px;
  padding: 26px;
}

.main-hr {
  border-color: var(--color-border);
  margin: 50px 0;
}

/* 标题样式 */
.section-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
}
.section-title.center {
  justify-content: center;
}
.section-title.large {
  border-bottom: none;
}
.section-title.large h2 {
  font-size: 30px;
}
.section-title.large h2.icon::before, .section-title.large h2.icon::after {
  width: 28px;
  height: 28px;
  background-size: 28px 28px;
}
.section-title h2 {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  font-family: "STSongtiSC";
  font-synthesis: none;
  font-size: 20px;
  color: var(--color-primary);
  margin-right: 15px;
}
.section-title h2 i {
  margin-right: 10px;
}
.section-title h2.button {
  cursor: pointer;
  color: var(--color-text);
}
.section-title h2.button.icon::before, .section-title h2.button.icon::after {
  display: none;
}
.section-title h2.button.active.icon::before, .section-title h2.button.active.icon::after {
  display: inline-block;
}
.section-title h2.button.active {
  color: var(--color-primary);
}
.section-title h2.icon::before, .section-title h2.icon::after {
  display: inline-block;
  content: "";
  margin: 0 10px;
  width: 20px;
  height: 20px;
  background-size: 20px 20px;
  background-image: url(/images/badge.png);
  background-position: center;
}
.section-title .sub-title {
  color: #666;
  padding-left: 15px;
  border-left: 1px solid #ddd;
}

.section-more {
  margin-left: auto;
  color: #666;
}
.section-more:hover {
  color: var(--color-primary);
}

/* 通知公告区域 */
.notices-section {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.notice-item {
  position: relative;
  padding: 15px 0;
  border-bottom: 1px dashed #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.notice-item > div {
  max-width: 86%;
  flex: 1;
  flex-direction: column;
  margin-right: 15px;
  overflow: hidden;
}
.notice-item p {
  opacity: 0;
  height: 0px;
  margin-bottom: 0;
  transition: all ease-in-out 0.25s;
}
.notice-item:last-child {
  border-bottom: none;
}
.notice-item:hover {
  /* .notice-title {
    font-size: 20px;
    opacity: 1;
  } */
  /* p {
    opacity: 1;
    height: 85px;
  } */
}

.notice-title {
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.3s;
}

.notice-date {
  color: #999;
  font-size: 14px;
}

.featured-image {
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.featured-image .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-mask);
  color: var(--color-text-light);
  padding: 8px 20px;
}
.featured-image .caption h3 {
  font-size: 18px;
  margin-bottom: 5px;
}
.featured-image .caption p {
  font-size: 14px;
  opacity: 0.9;
}
.featured-image:hover img {
  transform: scale(1.05);
}

.news-item {
  padding: 12px 0;
  border-bottom: 1px dashed #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.news-item:last-child {
  border-bottom: none;
}
.news-item.dark .title {
  color: var(--color-text-dark);
}
.news-item .title {
  flex: 1;
  margin-right: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s;
}
.news-item .title:hover {
  color: var(--color-primary);
}
.news-item .date {
  color: #999;
  font-size: 14px;
}

/* 精彩推荐区域 */
.featured-section {
  margin-bottom: 40px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.featured-card {
  position: relative;
  border: 1px solid #eee;
  border-radius: 5px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.featured-card p {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-mask);
  color: var(--color-text-light);
  padding: 15px;
  z-index: 1;
  margin-bottom: 0;
}
.featured-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.featured-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 公共服务区域 */
.services-section {
  margin-bottom: 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.services-section .title {
  width: 220px;
  height: 220px;
  z-index: 10;
}

.services-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
  background-color: #fff1ee;
  padding: 0px 30px 40px 230px;
  border-radius: 15px;
  margin-left: -180px;
  z-index: 0;
  z-index: 0;
}

.service-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px 20px;
  margin-top: -15px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card h3 {
  font-size: 15px;
}
.service-card .icon {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 底部区域 */
footer {
  color: #fff;
  background-color: #f5f5f5;
  background-image: url(/images/footer-bg.png);
  background-position: center;
  background-size: cover;
  padding: 40px 0 20px;
}
footer a {
  color: #ddd;
}
footer a:hover, footer a:active {
  color: #fff;
}

.footer-links {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-link {
  margin: 0 15px;
  color: #eee;
}
.footer-link:hover {
  color: #fcacb9;
}

.footer-info {
  text-align: center;
  color: #eee;
  font-size: 14px;
  line-height: 1.8;
}

.footer-select {
  text-align: center;
  margin-bottom: 20px;
  color: var(--color-text-light);
}
.footer-select select {
  color: #666;
  padding: 8px 45px 8px 15px;
  border: 1px solid rgba(221, 221, 221, 0.6);
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.sidebar .title {
  position: relative;
  padding: 20px;
  background-color: var(--color-primary);
  color: var(--color-text-light);
  text-align: center;
  border-radius: 4px 4px 0 0;
  background-image: url(/images/tab-active.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  height: 100px;
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
}
.sidebar .title h2 {
  position: relative;
  margin: 0;
  font-size: 30px;
  font-weight: bold;
  font-family: "STSongtiSC";
  line-height: 50px;
  z-index: 2;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-menu li {
  border-bottom: 1px solid var(--color-border);
}
.sidebar-menu li.active a {
  color: var(--color-primary);
}
.sidebar-menu li a {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.3s;
}
.sidebar-menu li a i {
  color: var(--color-primary);
}
.sidebar-menu li a:hover {
  color: var(--color-primary);
}
.sidebar-menu li:last-child {
  border-bottom: none;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}
.pagination li {
  margin: 0 5px;
}
.pagination li a {
  padding: 6px 10px;
  color: var(--color-text-secondary) !important;
}
.pagination li.active a {
  border-color: var(--color-primary) !important;
  background-color: var(--color-primary) !important;
  color: var(--color-text-light) !important;
}

.news-detail h1 {
  text-align: center;
  font-size: 30px;
}
.news-detail .times {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  color: var(--color-text-secondary);
  padding: 20px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}
.news-detail .times p {
  margin-bottom: 0;
  font-size: 15px;
}

/* 联系我们页面样式 */
.contact-info {
  padding-right: 30px;
}

.info-list {
  padding-left: 0;
}

.info-item {
  display: flex;
  flex-direction: row;
  padding: 10px 0;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.info-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.info-item i {
  color: var(--color-primary);
  font-size: 20px;
  margin-right: 15px;
  width: 30px;
  text-align: center;
}

.map-section {
  position: relative;
  height: 100%;
}

#map-container {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

.no-news {
  text-align: center;
  font-size: 18px;
  color: var(--color-text-secondary);
  margin: 30px 0;
}

@media (max-width: 992px) {
  .featured-image {
    width: 100%;
    height: 300px;
  }
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  header .inner {
    padding: 0 30px;
  }
  header .logo {
    font-size: 20px;
  }
  nav.main-nav .nav-item {
    padding: 0;
  }
  nav.main-nav .nav-item a {
    padding: 10px 5px;
  }
}
.swiper-slide img {
  object-fit: cover;
}

@media (max-width: 768px) {
  header .inner {
    padding: 0 30px;
  }
  header .logo {
    font-size: 20px;
  }
  header .mobile-menu-toggle {
    display: unset;
    width: 40px;
    height: 40px;
  }
  header .search-bar button {
    width: 40px;
    height: 40px;
  }
  nav.main-nav {
    position: absolute;
    top: 0;
    opacity: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background-color: var(--color-box);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    transform: translateY(-100%);
    z-index: 100;
  }
  nav.main-nav.show {
    display: block;
    opacity: 1;
    transform: translateY(0%);
  }
  nav.main-nav .nav-list {
    flex-direction: column;
  }
  nav.main-nav .nav-item {
    margin-bottom: 10px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 576px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .main-box {
    padding: 15px;
  }
  .services-section {
    align-items: flex-start;
  }
  .services-grid {
    padding: 210px 30px 40px 30px;
  }
  header .inner {
    padding: 0 20px;
  }
  header .logo {
    font-size: 18px;
  }
}

/*# sourceMappingURL=style.css.map */
