.post-box {
  display: flex;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
  margin-top: 50px;
  margin-bottom: 80px;
  justify-content: center;
}

.post-thumbnail {
  width: 300px;
  height: 300px;
  position: relative;
}

.post-thumbnail img {
  width: 300px;
  height: 301px;
  object-fit: cover;
  object-position: top;
  position: absolute;
  left: -1px;
  top: -2px;
  background-color: #fff;
}

.post-box article {
  border: solid 1px #707070;
  display: flex;
  flex-wrap: wrap;
  max-width: 298px;
  margin-top: 30px;
  position: relative;
  margin-left: -1px;
}

.post-box article .entry-header {
  order: 3;
  flex-basis: 100%;
}

.post-box article .post-thumbnail {
  order: 1;
  position: relative;
}

.post-box article .entry-content {
  order: 4;
}

.post-box article .entry-footer {
  order: 2;
  display: none;
}

.post-time {
  position: absolute;
  left: -1px;
  bottom: 1px;
  background-color: #1BA1E6;
  color: #fff;
  padding: 10px;
}

.entry-title {
  text-align: center;
}

.entry-title a {
  text-decoration: none;
  color: #000;
  font-size: 18px;
  text-align: center;
  width: 80%;
  display: inline-block;
  margin-top: 30px;
  margin-bottom: 20px;
}

.post-box article .entry-content {
  width: 90%;
  margin: auto;
  margin-bottom: 40px;
}

.post-box article .entry-content p {
  font-size: 12px;
}

.page-header {
  color: #90C6E3;
  font-size: 30px;
  position: relative;
  text-align: center;
}

.page-header::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22px;
  width: 260px;
  height: 8px;
  background: #79C7E4;
}

.page-header::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: -22px;
  width: 260px;
  height: 8px;
  background: #D1E6F0;
}

.nav-links {
  margin-top: 50px;
}

.nav-links span {
  font-size: 24px;
  color: #333333;
  border-bottom: solid 1px #333333;
  padding-bottom: 1px;
  margin-right: 3px;
}

.nav-links a {
  font-size: 24px;
  text-decoration: none;
  color: #333333;
  margin-right: 3px;
}

.pagination {
  flex-basis: 100%;
  text-align: center;
}

@media screen and (max-width:1199px) {
  .post-box {
    width: 90%;
  }
}

@media screen and (max-width:780px) {
  .page-header{
    font-size: 24px;
  }
  .page-header::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    max-width: 260px;
    width: 50%;
    height: 4px;
    background: #79C7E4;
  }
  .page-header::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: -12px;
    max-width: 260px;
    width: 50%;
    height: 4px;
    background: #D1E6F0;
  }
  .post-box {
    width: 100%;
    display: block;
  }
  .post-box article {
    border: none;
    border-top: solid 1px #707070;
    border-bottom: solid 1px #707070;
    display: block;
    max-width: none;
    width: 100%;
    margin-top: 30px;
    min-height: 200px;
    position: relative;
  }
  .post-time {
    position: absolute;
    left: 30px;
    bottom: 15px;
    background-color: #1BA1E6;
    color: #fff;
    padding: 5px 10px;
    width: 130px;
    text-align: center;
    font-size: 12px;
  }
  .post-box article .entry-header {
    position: absolute;
    width: 50%;
    right: 0;
    height: 50%;
    top: 0px;
    display: flex;
  }
  .post-box article .entry-header h2 {
    width: 100%;
    margin: auto;
    padding: 0 10%;
  }
  .entry-title a {
    text-decoration: none;
    color: #000;
    font-size: 18px;
    text-align: center;
    width: 100%;
    display: block;
    margin: 0;
    text-align: left;
  }
  .entry-title a:after {
    content: '';
    display: block;
    width: 100%;
    height: 2.5em;
    background: linear-gradient(rgba(255,255,255,0) 0,rgba(255,255,255,1) 70%,rgba(255,255,255,1) 100%);
    position: absolute;
    bottom: 0;
}
  .post-box article .entry-content {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 50%;
    display: flex;
    height: 70%;
  }
  .post-box article .entry-content p {
    font-size: 16px;
    width: 100%;
    padding: 0 10%;
    margin: auto;
  }
  .post-box article .post-thumbnail {
    height: 100%;
    width: 50%;
    overflow: hidden;
  }
  .post-thumbnail a {
    position: relative;
    display: block;
    padding: 15px 30px;
    line-height: 1;
    height: 100vw;
    max-height: 200px;
  }
  .post-thumbnail img {
    width: 100%;
    height: 100%;
    position: static;
    object-fit: cover;
    object-position: center;
    background-color: #fff;
  }
}

@media screen and (max-width:500px) {
  .post-box article{
    min-height: 150px;
  }
  .post-box article .entry-header {
    position: absolute;
    width: 60%;
  }
  .post-box article .entry-header h2{
    margin: auto;
    margin-top: 25px;
  }
  .entry-title a {
    font-size: 15px;
  }
  .post-thumbnail a{
    margin: auto;
    width: 130px;
    margin-left: 10px;
    max-height: 130px;
    padding: 25px 0;
  }
  .post-box article .entry-content {
    width: 60%;
  }
  .post-box article .entry-content p {
    font-size: 12px;
  }
  .post-time {
    position: absolute;
    left: 0px;
    bottom: 25px;
    padding: 5px 5px;
    width: 90px;
    font-size: 10px;
  }
}

@media screen and (max-width:370px) {
  .post-thumbnail img {
    width: 100%;
    height: 100%;
    position: static;
    object-fit: cover;
    object-position: center;
    background-color: #fff;
  }
  .post-box article .entry-header h2{
    margin: auto;
  }
  .post-thumbnail a {
    margin-left: 10px;
    width: 100px;
    max-height: 100px;
  }
  .entry-title a {
    font-size: 13px;
  }
  .post-box article .entry-content p {
    font-size: 10px;
  }
}