@charset "UTF-8";
/* ==========================================================================
   topics fv-bg
   ========================================================================== */
.p-sub-hero__title-area {
  background-image: url('https://picsum.photos/id/366/1600/900');
}

/* ==========================================================================
   Topics List
   ========================================================================== */
.p-topics-list {
  padding: 5rem 1rem;
}

@media screen and (min-width: 768px) {
  .p-topics-list {
    padding: 8rem 1rem;
  }
}

.p-topics-list__inner {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid #ddd;
}

.p-topics-item {
  border-bottom: 1px solid #ddd;
  transition: background-color 0.3s ease;
}

.p-topics-item:hover {
  background-color: #f9f9f9;
}

.p-topics-item__link {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1rem;
  color: inherit;
}

@media screen and (min-width: 768px) {
  .p-topics-item__link {
    flex-direction: row;
    align-items: center;
    padding: 2rem 1.5rem;
  }
}

.p-topics-item__meta {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}

@media screen and (min-width: 768px) {
  .p-topics-item__meta {
    width: 16rem;
    /* 256px */
    margin-bottom: 0;
  }
}

.p-topics-item__date {
  font-size: 0.875rem;
  font-weight: 700;
  color: #888;
  margin-right: 1rem;
}

.p-topics-item__cat {
  display: inline-block;
  background-color: #000;
  color: #fff;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  text-transform: uppercase;
  font-weight: 500;
  min-width: 4rem;
  text-align: center;
}

.p-topics-item__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
}

@media screen and (min-width: 768px) {
  .p-topics-item__title {
    font-size: 1.125rem;
  }
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.p-topics-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

@media screen and (min-width: 768px) {
  .p-topics-pagination {
    margin-top: 5rem;
  }
}

.p-topics-pagination__link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #ddd;
  font-weight: 700;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.p-topics-pagination__link:hover {
  background-color: #f2f2f2;
}

.p-topics-pagination__link.is-current {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.p-topics-pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.p-topics-pagination__link a,
.p-topics-pagination__link span {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.p-topics-pagination__link a:hover {
  background: #000;
  color: #fff;
}

.p-topics-pagination__link.is-current span {
  background: #000;
  color: #fff;
  border-color: #000;
}