/* 全局样式 */
#primary {
    margin: 0 auto;
    max-width: 800px;
    padding: 20px;
}

.content-area {
    float: none;
}

.progress {
  position: fixed;
  bottom: 0;
  height: 5px;
  background: #9B3749;
  z-index: 999;
}

.toc {
    position: fixed;
    top: 100px;
    width: 16%;
/*top: 100px;
  right: 20px;
  width: 20%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 999;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  padding: 10px;*/
}

.toc-title{
    font-size: 16px;
    padding: 0 5px 10px;
    color: #9B3749;
    letter-spacing: 1px;
    text-shadow: 2px 1px 2px #e6e6e6;
    text-transform: uppercase;
}

.toc_ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc_ul li{
    padding: 5px;
    border-top-width: 1px;
    align-items: center;
    border-top: 1px solid #d7d9dd;
}

.toc_ul li a{
    font-size: 14px;
    line-height: 24px;
    display: inline-block;
    transition: all 0ms;
    color: #0f0f0f;
}
  /* blog nav list strat */
  .articre_toc{
    border: 1px #000 solid;
    border-radius: 10px;
  }
  .articre_toc_list p{
    font-size: 24px!important;
    margin-bottom: 0!important;
    font-weight: 600;
    text-align: center;
    line-height: 45px!important;
    padding: 7px 0 3px;
    background-color: #9c3749;
    color: #fff;
    border-radius: 10px 10px 0 0;
    border-bottom: 1px #000 solid;
  }
  .articre_toc_ul{
    list-style-type: none !important;
    margin: 0 !important;
    padding: 20px !important;
  }
  .articre_toc_ul li{
    padding: 5px 0;
  }
  .toc_inc{
    padding-right: 10px;
  }
  .articre_toc_ul li a{
    border-bottom: 0 !important;
    font-size: 16px;
    line-height: 26px;
  }
  .author_image img{
    border-radius:25px;
    width:30px;
    margin-right:10px;
  }
  .articre_toc_ul li a:hover{
    border-bottom: 1px solid #C4C4C4;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
  }

/* 移动端样式 */
@media screen and (max-width: 1024px) {
    #spier-block,
    #secondary,
    .toc {
        display: none !important;
    }
    
    #primary {
        width: 100%;
        padding: 1px;
        margin: 0 auto;
    }
    .single-post .entry-header h1 {
        font-size: larger;
    }
}
    @media screen and (min-width: 1025px) and (max-width: 1400px) {
    #spier-block{
      margin-left: 0 !important;
      width: 14% !important;
    }
    .widget_post_list{
        width: 25% !important;
      }
  }
  @media screen and (max-width: 1024px){
    #spier-block,.type_instagram{
      display:none !important;
    }
    .articre_toc{
      margin-bottom:10px;
      margin-top:10px;
    }
  }
/* 电脑端样式 */
@media screen and (min-width: 1025px) {
    #primary {
        margin-left: 20%;
        margin-right: 20%;
    }
    
    #secondary {
      position: absolute;
      right: 0;
    }
}
.entry-meta .author{
    display:none;
}

.author-block {
    background: #d4bec133;
    max-width: 800px;
    width: 100%;
    margin: 5em auto;
    display: grid;
    padding: 42px 35px 62px;
    grid-template-rows: 100px auto;
    grid-template-columns: 100px auto;
    border-radius: 6px;
}

.author-block a {
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    color: #3d3d3d;
    letter-spacing: 0px !important;
}

.author-block .img-container {
    width: 100px;
    height: 100px;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.author-block .img-container img {
    display: inline;
    margin: 0 auto;
    height: 100%;
    width: 100%;
}

.author-block .block-header {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    margin-left: 35px;
    padding-top: 15px;
}

.author-block .block-header .written-by {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 3px;
}

.author-block .block-header .author-name {
    font-size: 24px;
    line-height: 30px;
    font-weight: 500;
}

.author-block .block-body {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    margin-left: 35px;
    padding-top: 5px;
}

.author-block .block-body .author-bio {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 0;
}

.author-block .block-body .author-bio a {
    margin: 0;
    padding: 0;
    font-weight: 600;
}

.author-block .block-body a {
    padding: 3px;
    margin-top: 13px;
}

@media (max-width: 768px) {
    .author-block {
        grid-template-columns: 60px auto;
        grid-template-rows: 80px;
        padding: 30px 25px 35px;
    }

    .author-block .img-container {
        width: 70px;
        height: 70px;
        margin-right: 0;
    }

    .author-block .block-header {
        padding-top: 10px;
        margin-left: 30px;
    }

    .author-block .block-header .author-name {
        font-size: 22px;
    }

    .author-block .block-body {
        grid-column: 1 / 3;
        margin-left: 0;
        padding-top: 10px;
    }

    .author-block .block-body .author-bio {
        font-size: 14px;
        line-height: 24px;
    }
}