/* ========================== News page ========================== */
.news-page__title {
  margin: var(--px-40) 0;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: var(--px-32);
}

.news-item {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: var(--px-24);
  width: 100%;
  min-height: 25rem; /* ~400px */
  padding: var(--px-20) 0;
  position: relative;
}

.news-item__image {
  display: block;
  flex: 0 0 40%;
  max-width: 40%;
  overflow: hidden;

  .news-item__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.news-item__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--px-12);
  padding-right: var(--px-140); /* space for right-side button */
}

.news-item__title {
  a {
    font-family: var(--wp--preset--font-family--tanovis-bold);
    font-weight: 700;
  }
}

.news-item__excerpt {
  line-height: 1.6;
}

.news-item__actions {
  margin-top: auto;
}

.news-item__read-more {
  padding-left: 0;
}

@media (max-width: 63.998rem) {
  .news-item {
    flex-direction: column;
    min-height: auto;
  }

  .news-item__image {
    flex: 0 0 auto;
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }

  .news-item__body {
    padding-right: 0;
  }

  .news-item__actions {
    position: static;
    transform: none;
    margin-top: var(--px-16);
    align-self: flex-start;
  }
}
