/*------------------------------
   archive layout
------------------------------*/
.fv {
  height: 70vh;
}

.flex-wrapper {
  justify-content: space-between;
}

.archive-content {
  width: 78%;
}

.archive-content__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.post-card {
  width: calc(33.33% - 10px);
  border-bottom: 1px solid #ccc;
  padding-bottom: 15px;
  margin-bottom: 5px;
}

.post-card__ttl {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 1.4rem;
  line-height: 1.4;
  min-height: 4rem;
  margin-bottom: 10px;
}

.post-card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 1.4rem;
  line-height: 1.6;
  min-height: 4.5rem;
  color: #3a3a3a;
}

.side-bar {
  width: 18%;
}

.side-bar__title {
  font-size: 1.6rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
}

.side-bar__archive-item {
  padding: 8px 0;
}

.side-bar__archive-item a {
  font-size: 1.4rem;
}

@media screen and (max-width: 768px) {
  .flex-wrapper {
    flex-direction: column;
  }

  .archive-content {
    width: 100%;
  }

  .post-card {
    width: calc(50% - 10px);
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
  }

  .post-card__desc {
    font-size: 1.2rem;
  }

  .side-bar {
    width: 100%;
  }
}

.pagination {
  margin-top: 50px;
  text-align: center;
}

.page-numbers {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 12px;
  background: #f0f0f0;
  color: #333;
  text-decoration: none;
}

.page-numbers.current {
  background: #333;
  color: #fff;
}

.page-numbers.disabled {
  background: #e0e0e0;
  color: #999;
  cursor: not-allowed;
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  .page-numbers {
    margin: 0 3px 5px;
    padding: 8px 7px;
  }
}

.pagination-jump {
  text-align: center;
  margin-top: 20px;
}

.pagination-jump form {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.pagination-jump label{
  font-size: 1.2rem;
}

.pagination-jump input[type="number"] {
  width: 30px;
  padding: 5px;
  font-size: 1.2rem;
  border-radius: 0;
  border: 1px solid #141414;
}

.pagination-jump button {
  padding: 5px 10px;
  background: #333;
  font-size: 1.2rem;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 0;
}

.pagination-jump button:hover {
  background: #555;
}