body,html{
  height: 100%;
  font-size: 16px;
}

* {
  margin:0;
  padding:0
}
li {
  list-style: none;
}
img {
  border: 0;
  vertical-align: middle;
  border: none;
}
h1,p {
  margin: 0;
  padding: 0;
}
button {
  cursor: pointer;
}
.blog-titles{
  font-weight: bold;
  font-size: 40px;
  color: #032950;
  line-height: 60px;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 11px;
}
header {
  width: 100%;
  height: 60px;
  position: fixed;
  background: #ffffff;
  /* box-shadow: 0 5px 14px 0 rgba(114, 131, 177, 0.03); */
  top: 0;
  left: 0;
}
header > div {
  max-width: 1200px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}
header > div > a {
  height: 100%;
  display: flex;
  align-items: center;
}
.page-navigat {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;

  margin-top: 10px;
}

.page-navigat>a {
  font-size: 12px;
  color: #101828;
  line-height: 20px;
  text-decoration: none;
}

.page-navigat>a.on {
  color: #4f46e5
}

.page-navigat>img {
  margin: 0 4px
}
.author_date{
  display: flex;
  align-items: center;
  justify-content: center;

}
.author_date p{
  font-size: 14px;
  color: #4F46E5;
  display: flex;
  align-items: center;
  gap: 8px;
}
.author_date i{
  display: inline-block;
  width: 1px;
  height: 20px;
  background:#DDDDDD;
  margin: 0 32px;
}
.blog_detail_container {
  padding-top: 60px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 60px;
}
.blog_detail_container > .back_btn {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  font-size: 20px;
  color: #000;
}
.blog_detail_container > .detaile_content {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 32px;
  width: 100%;
  flex-wrap: wrap;
}
.blog_detail_container > .detaile_content > .details {
  max-width: 837px;
  width: 100%;
  background: #fff;

  box-sizing: border-box;
  border-radius: 8px;
  #ez-toc-container{
    display: none;
  }
}

.blog-content-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 auto;
  width: 320px;
  position: sticky;
  top: 100px;
}
.advertist-space-banner{
  width: 100%;
  height: 160px;
  background: #EDEDED;
  margin-bottom: 12px;
}

#ez-toc-container{
  width: 320px;
}

.blog-footer{
  max-width: 2560px;
  width: 100%;
  height: 60px;
  background-color: #050332;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}

.blog-footer .ftips{
  font-size: 12px;
  color: #FFFFFF;
  line-height: 22px;
  text-align: center;
  margin-bottom: 2px;
}

@media screen and (max-width: 980px) {
  .blog_detail_container {
    padding: 20px;
    box-sizing: border-box;
    padding-top: 80px;
  }
  .blog_detail_container > .detaile_content > .details > h1 {
    line-height: 32px;
    font-size: 24px;
  }
}

#ez-toc-container{
  width: 320px;
  border-radius: 8px 8px 8px 8px;
  box-sizing: border-box;
}
#ez-toc-container h1{
  font-weight: bold;
  font-size: 24px;
  line-height: 34px;
}
#ez-toc-container>nav ul{
  border-right: none;
  border-bottom: none;
  border-top: none;
  padding:20px;
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  margin: 0;
  width: 100%;
  border-radius: 8px 8px 8px 8px;
  border: 1px solid #DDDDDD;
  box-sizing: border-box;

}
#ez-toc-container>nav ul li{
  margin-left: 20px;
  position: relative;
  font-size: 14px;
  color: #000000;
  line-height: 22px;
  list-style:disc;
  cursor: pointer;
}
#ez-toc-container>nav ul li.active a{
  color: #4F46E5;
}
#ez-toc-container>nav ul li.active{
  color: #4F46E5;
}
#ez-toc-container>nav ul li a{
  position: relative;
  font-size: 14px;
  color: #333333;
  text-decoration: none;
}


:target {
  scroll-margin-top: 100px;
}

/* 兼容旧浏览器 */
h1:target::before,
h2:target::before,
h3:target::before,
h4:target::before,
h5:target::before,
h6:target::before {
  display: block;
  content: " ";
  height: 100px;
  margin-top: -100px;
  visibility: hidden;
}

.details {
  font-size: 16px;
  line-height: 1.8;
  color: #1f2937;
}

.details p {
  margin: 1em 0;
}

.details h1 {
  font-size: 32px;
  line-height: 1.4;
  margin: 1.6em 0 0.8em;
}

.details h2 {
  font-size: 26px;
  line-height: 1.45;
  margin: 1.6em 0 0.8em;
}

.details h3 {
  font-size: 22px;
  line-height: 1.5;
  margin: 1.4em 0 0.6em;
}

.details h4 {
  font-size: 18px;
  line-height: 1.6;
  margin: 1.2em 0 0.6em;
}

.details ul,
.details ol {
  margin: 1em 0 1em 1.5em;
}

.details li {
  margin: 0.5em 0;
}

.details img {
  max-width: 100%;
  height: auto;
  margin: 1.2em 0;
}
