body.path-frontpage .view-content.row {
  row-gap: 1.5rem;
}

body.path-frontpage .views-row .node--view-mode-teaser {
  height: 100%;
}

body.path-frontpage .node--view-mode-teaser.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 0;
  padding-bottom: 0;
  border: 1px solid rgba(42, 55, 50, 0.1);
  background: #fffdf9;
  box-shadow: 0 14px 36px rgba(32, 26, 19, 0.08);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body.path-frontpage .node--view-mode-teaser.news-card:hover,
body.path-frontpage .node--view-mode-teaser.news-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(32, 26, 19, 0.12);
  border-color: rgba(106, 157, 132, 0.32);
}

body.path-frontpage .news-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #d8d1c5 0%, #efe7db 100%);
}

body.path-frontpage .news-card__media img,
body.path-frontpage .news-card__media picture,
body.path-frontpage .news-card__media .media,
body.path-frontpage .news-card__media .field,
body.path-frontpage .news-card__media .field__item {
  width: 100%;
  height: 100%;
}

body.path-frontpage .news-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.path-frontpage .news-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.15rem 1.15rem 1.25rem;
}

body.path-frontpage .news-card__meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: #68736f;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.path-frontpage .news-card__meta::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: rgba(106, 157, 132, 0.5);
}

body.path-frontpage .news-card__title {
  margin: 0;
  font-size: 1.24rem;
  line-height: 1.2;
}

body.path-frontpage .news-card__title a {
  color: #1f2a27;
  text-decoration: none;
}

body.path-frontpage .news-card__title a:hover,
body.path-frontpage .news-card__title a:focus {
  color: #5d8f77;
}

body.path-frontpage .news-card__content {
  flex: 1 1 auto;
  color: #394542;
  font-size: 0.98rem;
  line-height: 1.65;
}

body.path-frontpage .news-card__content .field,
body.path-frontpage .news-card__content .field__item,
body.path-frontpage .news-card__content p:last-child {
  margin-bottom: 0;
}

body.path-frontpage .news-card__links {
  margin-top: auto;
  padding-top: 0.2rem;
}

body.path-frontpage .news-card__links .links-inline,
body.path-frontpage .news-card__links ul.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.path-frontpage .news-card__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(106, 157, 132, 0.24);
  color: #24312e;
  background: #f7f3eb;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

body.path-frontpage .news-card__links a:hover,
body.path-frontpage .news-card__links a:focus {
  border-color: rgba(106, 157, 132, 0.48);
  color: #18312a;
  background: #edf4ef;
}

@media (max-width: 991.98px) {
  body.path-frontpage .news-card__body {
    padding: 1rem 1rem 1.1rem;
  }

  body.path-frontpage .news-card__title {
    font-size: 1.12rem;
  }
}
