.articles-archive {
  min-height: 100vh;
  padding: 132px 20px 96px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.articles-archive__inner {
  width: min(1220px, 100%);
  margin: 0 auto;
}

.articles-archive__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 72px;
}

.articles-archive__eyebrow {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 300;
  line-height: 1;
  color: #5f7593;
}

.articles-archive__title {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.05;
  color: #111827;
  letter-spacing: 0.02em;
}

.articles-archive__breadcrumb {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  white-space: nowrap;
}

.articles-archive__breadcrumb a {
  color: #b6c2d1;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.articles-archive__breadcrumb span {
  color: #111827;
  font-weight: 700;
}

.articles-filter {
  margin-bottom: 60px;
}

.articles-filter__head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.articles-filter__title {
  margin: 0;
  font-size: 1.1rem;
  color: #111827;
  flex-shrink: 0;
}

.articles-filter__line {
  width: 100%;
  height: 1px;
  background: #d8dee6;
}

.articles-filter__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
}

.articles-filter__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #d5dce5;
  background: #fff;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  transition: color 0.25s, background-color 0.25s, border-color 0.25s, transform 0.25s;
}

.articles-filter__chip:hover {
  transform: translateY(-1px);
  border-color: #111827;
}

.articles-filter__chip.is-active {
  background: #111827;
  border-color: #111827;
  color: #fff;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px 18px;
}

.articles-card {
  min-width: 0;
}

.articles-card__thumb {
  display: block;
  overflow: hidden;
  border-radius: 2px;
  background: #eef3f8;
  aspect-ratio: 16 / 9;
}

.articles-card__thumb img,
.articles-card__thumb-placeholder {
  width: 100%;
  height: 100%;
}

.articles-card__thumb img {
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.articles-card:hover .articles-card__thumb img {
  transform: scale(1.04);
}

.articles-card__thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.articles-card__body {
  padding-top: 18px;
}

.articles-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.articles-card__category {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #edf1f5;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 700;
}

.articles-card__date {
  color: #4b5563;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.articles-card__title {
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #d7dde6;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.4;
  color: #163252;
}

.articles-card__title a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: inherit;
}

.articles-card__title a:hover {
  color: #335c85;
}

.articles-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 14px;
}

.articles-card__tag {
  color: #4b5563;
  font-size: 0.82rem;
  line-height: 1.8;
}

.articles-card__tag:hover {
  color: #163252;
}

.articles-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 72px;
}

.articles-pagination__item .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #d5dce5;
  background: #fff;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 600;
}

.articles-pagination__item .page-numbers.current,
.articles-pagination__item .page-numbers:hover {
  border-color: #111827;
  background: #111827;
  color: #fff;
}

.articles-empty {
  padding: 56px 32px;
  border-radius: 24px;
  text-align: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #475569;
}

@media screen and (max-width: 1180px) {
  .articles-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 920px) {
  .articles-archive {
    padding: 116px 16px 72px;
  }

  .articles-archive__header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 52px;
  }

  .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 16px;
  }

  .articles-card__title {
    font-size: 1.08rem;
  }
}

@media screen and (max-width: 640px) {
  .articles-archive__eyebrow {
    margin-bottom: 14px;
    font-size: 2rem;
  }

  .articles-archive__title {
    font-size: 2.5rem;
  }

  .articles-filter__head {
    gap: 14px;
    margin-bottom: 18px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .articles-card__body {
    padding-top: 16px;
  }

  .articles-card__title {
    font-size: 1.02rem;
    padding-bottom: 14px;
  }

  .articles-card__tags {
    gap: 6px 10px;
  }

  .articles-pagination {
    margin-top: 52px;
  }
}
