@charset "UTF-8";

/* 基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #F4F8FE;
  padding: 0;
  margin: 0;
  padding-top: 62px;
  font-size: 15px;
}

.container {
  width: 100%;
  max-width: 1220px;
  padding: 0 15px;
  margin: 0 auto;
}

img {
  max-width: 100px;
  height: auto;
}

.header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  width: 100%;
  border: 0;
  background: #fff;
  box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.1);
  height: 62px;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header .navbar-header {
  height: 100%;
  display: flex;
  align-items: center;
}

.header .navbar-left {
  list-style: none;
  margin-left: 50px;
}

.header .navbar-left .navbar-nav {
  display: flex;
}

.header .navbar-left li {
  list-style: none;
  margin-left: 20px;
}

.header .navbar-left a {
  color: #333;
  text-decoration: none;
}

.header .navbar-left a:hover {
  color: #015ce5;
}

.header .logo {
  display: flex;
  align-items: center;
}

.header .logo a {
  display: flex;
  align-items: center;
}

.header .sitename {
  font-size: 14px;
}

.footer {
  padding: 35px 0;
  color: rgba(255, 255, 255, 0.5);
  background: #111111;
  transition: all 0.3s ease-out 0s;
  font-size: 14px;
  height: 160px;
}

.footnav {
  display: flex;
  justify-content: end;
  margin-bottom: 0;
}

.footnav li {
  padding-left: 5px;
  list-style: none;
  text-decoration: none;
}

.footer a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.footer .footnav li a {
  color: #333;
}

.footer .con {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin: 10px 0;
}

.footer .p {
  color: black;
  display: none !important;
}

.home-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
  margin-top: 14px;
}

.home-list li {
  width: 48.7%;
  padding-left: 39px;
  background: url(./icon.png) no-repeat 0 50%;
  margin-bottom: 14px;
  list-style: none;
}

.home-list li a {
  display: flex;
  position: relative;
  font-size: 14px;
  line-height: 25px;
  transition: all 0.3s ease-out 0s;
  text-decoration: none;
  color: #222222;
}

.home-list li a:hover {
  color: #015ce5;
}

.home-list li a .zi {
  width: calc(100% - 100px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-list li a .timeline {
  position: absolute;
  top: 0;
  right: 0;
  color: #888888;
}

.home-list:after {
  content: "";
  display: block;
  height: 100%;
  width: 1px;
  border-right: 1px dashed #e8e8e8;
  position: absolute;
  top: 0;
  left: 50%;
}

.home-list-container {
  padding: 40px 0;
}

.pagination {
  margin-top: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.pagination a {
  color: #333;
  text-decoration: none;
}

.main-content {
  min-height: calc(100vh - 222px);
}

/* 文章页特有样式 */
.article-container {
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 50px;
}

.article-title {
  color: #333;
  border-bottom: 2px solid #3498db;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.article-meta {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.article-content {
  line-height: 1.8;
  font-size: 1.1em;
  color: #333;
}

.article-content h2 {
  color: #2c3e50;
  margin-top: 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 4px;
}

.article-content ul,
.article-content ol {
  padding-left: 20px;
}

.back-to-list {
  display: inline-block;
  margin-bottom: 20px;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.1s linear;
}

.back-to-list:hover {
  color: #e00;
}

.xypg-detail-pn {
  /* margin-top: 30px; */
  color: #666666;
  margin-top: 30px;
}

.xypg-detail-pn div+div {
  margin-top: 15px;
}

.xypg-detail-pn div {
  line-height: 22px;
  padding: 10px;
  position: relative;
  border: 1px solid #eeeeee;
  font-size: 14px;
}

.xypg-detail-pn div b {
  font-size: 14px;
  color: #666666;
  float: left;
  font-weight: normal;
}

.xypg-detail-pn div a {
  font-size: 14px;
  color: #666666;
  text-decoration: none;
}

.xypg-detail-pn div a:hover {
  color: #156ccd;
}

.navbar-toggle {
  display: none;
}

@media (max-width: 768px) {

  .navbar-left,
  .navbar-collapse {
    display: none;
  }

  .navbar-toggle {
    position: relative;
    padding: 9px 10px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    display: block;
    transition: all 0.3s ease-out 0s;
  }

  .navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    transition: all 0.3s ease-out 0.3s;
    background: #999;
  }

  .navbar-toggle .icon-bar+.icon-bar {
    margin-top: 4px;
  }

  .header .navbar-header {
    width: 100%;
    flex-direction: row-reverse;
    justify-content: space-between;
  }

  .header .navbar-left {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    margin: 0;
    padding: 0;
    width: 80%;
    transform: translateX(-100%);
    transition: all 0.2s linear;
    height: 100vh;
    background: #3CA5F6;
    color: #fff;
    z-index: 100001;
  }

  .header .navbar-left.on {
    transform: translateX(0);
  }

  #menu-justnews-footer-menu {
    margin-top: 30px;
    width: 100%;
    display: block;
  }

  #menu-justnews-footer-menu li {
    margin: 0;
  }

  #menu-justnews-footer-menu a {
    padding: 10px 15px;
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  #menu-justnews-footer-menu a:hover {
    background: #3498db;
  }

  .navbar-on-shadow {
    position: fixed;
    z-index: 100000;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.3);
    display: none;
  }

  .home-list-container {
    padding: 30px 0;
  }

  .home-list li {
    width: 100%;
  }
}