/* News */

.news-section {
  background:
    repeating-linear-gradient(90deg, rgba(var(--color-accent-rgb), 0.022) 0 1px, transparent 1px 46px),
    linear-gradient(180deg, rgba(252, 248, 242, 0.96), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at 90% 18%, rgba(var(--color-accent-soft-rgb), 0.14), transparent 22%);
}

.news-section__header::before {
  content: "NEWS";
  left: -0.42em;
  top: -0.3em;
  color: rgba(245, 237, 223, 0.74);
  font-size: clamp(5.4rem, 12vw, 8.6rem);
}

.news-section .section-heading__lead {
  margin-top: 12px;
  max-width: none;
}

.news-section__more {
  flex: 0 0 auto;
}

.news-section__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.news-list {
  border-top: 1px solid rgba(230, 224, 216, 0.82);
}

.news-list__item {
  border-bottom: 1px solid rgba(230, 224, 216, 0.82);
}

.news-list__link {
  display: grid;
  grid-template-columns: 118px 108px minmax(0, 1fr) 24px;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
}

.news-list__date {
  color: rgba(55, 43, 29, 0.8);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.news-list__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f4ead6;
  color: #8f6d2f;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.news-list__badge--news,
.news-list__badge--oshirase {
  background: #f3d8d8;
  color: #9a5b62;
}

.news-list__badge--blog,
.news-list__badge--column,
.news-list__badge--article {
  background: #d8eaef;
  color: #4c7b84;
}

.news-list__badge--works {
  background: #f4e2a6;
  color: #8a6a1d;
}

.news-list__badge--design,
.news-list__badge--design-work {
  background: #e9dff1;
  color: #725781;
}

.news-list__badge--default {
  background: #f4ead6;
  color: #8f6d2f;
}

.news-list__item h3 {
  margin: 0;
  min-width: 0;
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(17, 17, 17, 0.86);
}

.news-list__arrow {
  width: 22px;
  height: 22px;
  color: rgba(var(--color-accent-rgb), 0.76);
}

.news-list__arrow svg {
  width: 100%;
  height: 100%;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-list__link:hover .news-list__arrow svg,
.news-list__link:focus-visible .news-list__arrow svg {
  transform: translateX(3px);
}
