@import url("./xwzx-common.css");

.news-list {
  display: grid;
  gap: calc(26 * var(--design-unit));
}

.news-card {
  overflow: hidden;
  background: #fff;
  box-shadow: 0 calc(8 * var(--design-unit)) calc(20 * var(--design-unit)) rgba(0, 0, 0, .09);
}

.news-card__link {
  display: block;
}

.news-card__image {
  width: 100%;
  aspect-ratio: 670 / 350;
  object-fit: cover;
}

.news-card__body {
  padding: calc(22 * var(--design-unit)) calc(30 * var(--design-unit)) calc(24 * var(--design-unit));
}

.news-card__title {
  margin: 0;
  color: #3c3c3c;
  font-size: calc(24 * var(--design-unit));
  line-height: 1.45;
  font-weight: 700;
}

.news-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(16 * var(--design-unit));
  margin-top: calc(30 * var(--design-unit));
  color: #8a8a8a;
  font-size: calc(17 * var(--design-unit));
}

.news-card__date {
  position: relative;
  padding-left: calc(24 * var(--design-unit));
  white-space: nowrap;
}

.news-card__date::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: calc(15 * var(--design-unit));
  height: calc(15 * var(--design-unit));
  border: 1px solid currentColor;
  border-radius: 50%;
  transform: translateY(-50%);
}

.news-card__date::after {
  content: "";
  position: absolute;
  left: calc(7 * var(--design-unit));
  top: calc(50% - calc(5 * var(--design-unit)));
  width: calc(5 * var(--design-unit));
  height: calc(6 * var(--design-unit));
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.news-card__more {
  position: relative;
  padding-right: calc(34 * var(--design-unit));
  white-space: nowrap;
}

.news-card__more::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: calc(26 * var(--design-unit));
  height: 1px;
  background: currentColor;
}

.news-card__more::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: calc(9 * var(--design-unit));
  height: calc(9 * var(--design-unit));
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
