@charset "UTF-8";

.home-news {
  display: grid;
  grid-template-columns: minmax(160px, .28fr) minmax(0, 1fr);
  align-items: start;
  gap: 24px 36px;
  margin: 36px 0 40px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
}

.home-news-heading {
  padding-top: 8px;
}

.home-news-heading h2 {
  margin: 0 0 5px;
  color: var(--teal-dark);
  font-size: 23px;
  line-height: 1.6;
}

.home-news-heading p,
.home-news-empty {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.home-news-empty {
  padding: 12px 0;
}

.home-news-list {
  min-width: 0;
  margin: 0;
  padding: 0 0 0 22px;
  border-left: 2px solid var(--teal-soft);
  list-style: none;
}

.home-news-item {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  position: relative;
  gap: 6px 18px;
  min-width: 0;
  padding: 12px 0 18px;
}

.home-news-item + .home-news-item {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.home-news-item:last-child {
  padding-bottom: 12px;
}

.home-news-item::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -28px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 1px var(--teal-soft);
}

.home-news-item + .home-news-item::before {
  top: 26px;
}

.home-news-item time {
  display: block;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.95;
  white-space: nowrap;
}

.home-news-content {
  min-width: 0;
  overflow-wrap: anywhere;
}

.home-news-item-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .015em;
  line-height: 1.8;
}

.home-news-item-title a {
  color: inherit;
  text-decoration-color: var(--line);
  text-underline-offset: .25em;
  text-decoration-thickness: 1px;
}

.home-news-item-title a:hover {
  color: var(--teal-dark);
  text-decoration-color: currentColor;
}

.home-news-content p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

@media (max-width: 900px) {
  .home-news {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
  }

  .home-news-heading {
    padding-top: 0;
  }
}

@media (max-width: 600px) {
  .home-news {
    gap: 16px;
    margin: 24px 0 30px;
    padding: 22px 18px;
    border-radius: 14px;
  }

  .home-news-heading h2 {
    font-size: 21px;
  }

  .home-news-list {
    padding-left: 18px;
  }

  .home-news-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  .home-news-item::before {
    left: -24px;
  }
}

@media print {
  .home-news {
    break-inside: avoid;
    border-color: #aaa;
    background: white;
  }
}
