.post-content > .container {
  max-width: 900px;
}

@media (max-width: 940px) {
  .post-content > .container {
    max-width: 96%;
  }
}

@media (max-width: 767px) {
  .post-content > .container {
    max-width: 86.6%;
  }
}

.news-article {
  margin-top: 50px;
}

.article-date-category {
  display: flex;
  align-items: center;
  gap: 14px;
}

.article-date {
  font-size: 16px;
  color: #a1c4f4;
  font-weight: 700;
}

.article-category {
  font-size: 16px;
  background-color: #e5f2ff;
  padding: 2px 36px;
  border-radius: 21px;
  color: #004097;
  font-weight: 700;
}

.article-title {
  font-size: 39px;
  font-weight: 800;
  margin-top: 15px;
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 2px solid #dedede;
  color: #004097;
  line-height: 1.6;
}

.article-content h1 {
  font-size: 30px;
  font-weight: 700;
  color: #004097;
  margin-bottom: 35px;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.article-content p {
  font-size: 18px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.03em;
  color: #000;
  margin-bottom: 20px;
  display: flex;
  column-gap: 4%;
}

.article-content h2 {
  font-size: 22px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.03em;
  color: #000;
  margin-bottom: 20px;
}

.article-content img {
  max-width: 100%;
  height: auto;
  margin-top: 15px;
  margin-bottom: 10px;
}

.article-content img.aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.article-content img.alignright {
  margin-left: auto;
  margin-right: 0;
}

.article-content img.alignleft {
  margin-left: 0;
  margin-right: auto;
}

.article-content a {
  color: #004097;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 141px;
  margin-bottom: 180px;
}

.nav-btn.prev {
  color: #004097;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid transparent;
  padding-left: 0.2em;
}

.nav-btn.next {
  color: #004097;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid transparent;
  padding-right: 0.2em;
}

.nav-btn.prev .nav-btn-arrow {
  width: 14px;
  height: 14px;
  border-top: 2px solid #004097;
  border-right: 2px solid #004097;
  transform: rotate(-135deg);
}

.nav-btn.next .nav-btn-arrow {
  width: 14px;
  height: 14px;
  border-top: 2px solid #004097;
  border-right: 2px solid #004097;
  transform: rotate(45deg);
}

.nav-btn.list {
  color: #fff;
  background-color: #004097;
  padding: 16px 85px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
  transition: all 0.3s ease;
  border: 2px solid #004097;
}

.nav-btn.disabled {
  color: #ccc !important;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.5;
}

.nav-btn.disabled .nav-btn-arrow {
  border-top: 2px solid #ccc !important;
  border-right: 2px solid #ccc !important;
}

@media screen and (max-width: 767px) {
  .news-article {
    margin-top: 9.3vw;
  }

  .article-date-category {
    gap: 3vw;
  }

  .article-date {
    font-size: 4.2vw;
  }

  .article-category {
    font-size: 3.46vw;
    padding: 0.6vw 3.3vw;
    border-radius: 5.5vw;
  }

  .article-title {
    font-size: 6.4vw;
    margin-top: 1vw;
    margin-bottom: 6vw;
    padding-bottom: 6vw;
    border-bottom: 0.5vw solid #dedede;
  }

  .article-content h1 {
    font-size: 5.3vw;
    margin-bottom: 2.8vw;
    line-height: 1.45;
  }

  .article-content p {
    font-size: 4.2vw;
    margin-bottom: 5.2vw;
    flex-direction: column;
    gap: 1.2vw;
  }

  .article-content h2 {
    font-size: 4.6vw;
    margin-bottom: 5.2vw;
    line-height: 1.45;
  }

  .article-content img {
    margin-top: 0;
    margin-bottom: 2.6vw;
  }

  .article-content a {
    text-underline-offset: 0.8vw;
  }

  .post-navigation {
    margin-top: 8.5vw;
    margin-bottom: 13.6vw;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .nav-btn.prev {
    font-size: 3.4vw;
    gap: 1.2vw;
    order: 1;
    justify-content: flex-start;
  }

  .nav-btn.next {
    font-size: 3.4vw;
    gap: 1.2vw;
    order: 2;
    justify-content: flex-end;
  }

  .nav-btn.prev .nav-btn-arrow {
    width: 3vw;
    height: 3vw;
    border-top: 0.5vw solid #004097;
    border-right: 0.5vw solid #004097;
  }

  .nav-btn.next .nav-btn-arrow {
    width: 3vw;
    height: 3vw;
    border-top: 0.5vw solid #004097;
    border-right: 0.5vw solid #004097;
  }

  .nav-btn.list {
    padding: 4.1vw 17.3vw;
    border-radius: 2.6vw;
    font-size: 4.2vw;
    order: 3;
    margin-top: 6.5vw;
    margin-left: auto;
    margin-right: auto;
  }

  .nav-btn.disabled .nav-btn-arrow {
    border-top: 0.5vw solid #ccc !important;
    border-right: 0.5vw solid #ccc !important;
  }
}

@media (hover: hover) {
  .nav-btn.list:hover {
    background-color: #fff;
    color: #004097;
    border-color: #004097;
  }

  .nav-btn.prev:hover,
  .nav-btn.next:hover {
    border-bottom: 2px solid #004097;
  }
}
