.home-news {
  display: grid;
  gap: 14px;
  padding: 24px 8%;
  background: #dce5ce;
}
.news-heading, .news-heading > div, .news-arrows {
  display: flex;
  align-items: center;
  gap: 14px;
}
.news-heading { justify-content: space-between; }
.news-heading > div { flex-wrap: wrap; gap: 4px 14px; }
.news-heading h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); font-weight: 700; }
.news-heading span { font-size: 12px; }
.news-arrows[hidden] { display: none; }
.news-arrows button {
  width: 42px;
  height: 42px;
  border: 1px solid #869984;
  border-radius: 50%;
  background: #f7f7f0;
  color: #143d2a;
  font-size: 21px;
}
.news-arrows button:disabled { opacity: .45; cursor: default; }
.news-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.news-card {
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  min-height: 220px;
  border-radius: 8px;
  background: #143d2a;
  color: #fff;
  scroll-snap-align: start;
}
.news-card::after, .news-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.news-photo { z-index: -2; }
.news-card::after {
  content: "";
  z-index: -1;
  background: linear-gradient(180deg, transparent 18%, #082819b0 68%, #082819 100%);
}
.news-copy { padding: 20px 16px 14px; }
.news-copy h3 { margin: 0 0 8px; font-size: clamp(17px, 1.55vw, 23px); line-height: 1.2; }
.news-more, .news-all {
  display: inline-block;
  padding: 7px 15px;
  border-radius: 5px;
  background: #14652d;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.news-all { justify-self: center; align-self: end; border-radius: 40px; background: #143d2a; }
@media (min-width: 1024px) {
  .home-news {
    min-height: var(--work-section-height, 390px);
    grid-template-rows: auto minmax(220px, 1fr) auto;
  }
  .news-track { grid-auto-columns: calc((100% - 32px) / 3); }
}
@media (max-width: 600px) {
  .home-news { padding: 22px 7%; }
  .news-heading > div { display: block; }
  .news-arrows { gap: 5px; }
  .news-arrows button { width: 34px; height: 34px; }
  .news-card { min-height: clamp(190px, 56vw, 250px); }
}
img.news-photo { object-fit: cover; }
