:root {
  --primary-color: #ff1961;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  width: 100%;
  height: 100%;
}
html {
  background: #fff;
  font-size: 62.5%;
}
h1, h2, h3, h4, h5, h6 {
  color: #333;
  line-height: 1.2;
}
p {
  margin: 0 0 1rem;
}
a {
  color: #1a0dab;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
ul, ol {
  margin: 0 0 1rem 4rem;
}
li {
  margin: 0.5rem 0;
}
blockquote {
  margin: 0 0 1rem;
  padding: 0.5em 1rem;
  border-left: 5px solid #ccc;
  background-color: #f1f1f1;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
th, td {
  padding: 0.75rem;
  border: 1px solid #ddd;
  text-align: left;
}
th {
  background-color: #f2f2f2;
}
pre, code {
  font-family: monospace, monospace;
  background-color: #f4f4f4;
  padding: 0.5rem;
  border-radius: 4px;
}

pre {
  overflow-x: auto;
}
#container {
  min-height: 100%;
  position: relative;
}
.header {
  padding: 1rem 1.5rem;
  border-bottom: 0.1rem solid #e4e4e4;
  /* box-shadow: 0 1px 4px #e4e4e4; */
  position: relative;
}
.header-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
}
.logo .logo-img {
  display: block;
  height: 4rem;
  margin: 0 auto;
}
.search-section {
  max-width: 97rem;
  margin: 0 auto;
}
#search-form {
  position: relative;
}
#search-form .search-ipt {
  width: 100%;
  height: 4rem;
  border: .1rem solid #ECEFF1;
  padding: 1rem 6rem 1rem 2rem;
  outline: none;
  font-size: 2rem;
  /* font-weight: 300; */
  color: #999;
  border-radius: .4rem 0 0 .4rem
}
#search-form .btn-custom {
  height: auto;
  width: 5rem;
  background-color: var(--primary-color, #ff1961);
  color: #fff;
  font-weight: 400;
  outline: 0;
  border: none;
  border-radius: 0 .4rem .4rem 0;
  font-size: 14px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
}
/* content */
.content {
  max-width: 1000px;
  padding: 1rem 1rem 13rem;
  margin: 0 auto;
}
#afs-rs-container-1, #afs-rs-container-2 {
  min-height: 450px;
}
.post-image img {
  min-height: 150px;
}
.post-content .post-title {
  margin-bottom: 10px;
}
.post-content .post-title .title {
  font-size: 36px;
  line-height: 44px;
  font-weight: 600;
  margin: 0;
}
.post-content .post-summary {
  margin-bottom: 10px;
}
.post-content .post-summary h2 {
  font-weight: 400;
  line-height: 24px;
}
.post-text {
  overflow-wrap: break-word;
  overflow: auto;
}
.post-text h1, .post-text h2, .post-text h3, .post-text h4, .post-text h5, .post-text h6{
  margin: 2rem 0 1rem 0;
}
.post-text div {
  overflow: auto;
}
.post-text a {
  color: inherit;
}
/* footer */
.footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 3rem 0;
  font-size: 1.4rem;
  color: #666;
}
.footer ul {
  list-style: none;
  margin: 0;
}
.footer li {
  margin: 0;
}
.footer a {
  text-decoration: none;
  color: #333;
}
.copyright {
  line-height: 3rem;
}
.nav-footer::after {
  content: '';
  display: block;
  clear: both;
}
.nav-footer li {
  list-style: none;
  display: inline;
  padding: 0 .2rem;
}
@media (min-width: 960px) {
  #ipt-box {
    width: 60rem;
  }
  .post-content .post-summary h2 {
    font-size: 20px;
    /* line-height: 33px; */
  }
  .post-text {
    font-size: 20px;
    line-height: 33px;
  }
  .post-image img {
    min-height: 300px;
  }
  .nav-footer li {
    padding: 0 .5rem;
  }
}
@media (max-width: 959px) {
  .header {
    padding-top: .5rem;
    padding-bottom: .5rem;
    box-shadow: 0 1px 4px #e4e4e4;
    /* margin-bottom: 6rem; */
  }
  .header-content {
    display: block;
  }
  .logo .logo-img {
    height: 3rem;
  }
  .search-box {
    /* position: absolute;
    width: 100%;
    top: 4rem;
    left: 0;
    padding: 1.5rem; */
    display: none;
  }
  .slogan {
    display: none;
  }
  .post-content .post-title .title {
    font-size: 20px;
    line-height: 24px;
  }
  .post-content .post-summary h2 {
    font-size: 16px;
    /* line-height: 26px; */
  }
  .post-text {
    font-size: 16px;
    line-height: 26px;
  }
  .post-content .post-text p img {
    margin: 0 !important;
    float: none !important;
    width: 100%;
  }
  .footer {
    font-size: 1.2rem;
    padding-bottom: 2rem;
  }
}