/* Homepage news: a small, shared text link before the existing CTA and FAQ. */
.credomo-home-news {
  margin-block: 0;
  padding-block: 0;
  color: var(--c-ink, #1d2723);
  background: #f8f6f1;
}

.credomo-home-news .credomo-home-news__inner {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: baseline;
  gap: 40px;
  padding-block: 28px;
  border-top: 1px solid rgba(24, 31, 28, .18);
}

.credomo-home-news .credomo-home-news__title {
  margin: 0;
  font-family: var(--font-sans, sans-serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

.credomo-home-news .credomo-home-news__article {
  min-width: 0;
  margin: 0;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
}

.credomo-home-news a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: .25em;
  text-decoration-thickness: 1px;
}

.credomo-home-news .credomo-home-news__article a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.credomo-home-news .credomo-home-news__article a > span:first-child {
  min-width: 0;
  overflow-wrap: break-word;
}

.credomo-home-news .credomo-home-news__arrow {
  flex-shrink: 0;
}

.credomo-home-news a:hover,
.credomo-home-news a:focus-visible {
  text-decoration: underline;
}

.credomo-home-news a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

@media (max-width: 600px) {
  .credomo-home-news .credomo-home-news__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-block: 24px;
  }

  .credomo-home-news .credomo-home-news__article {
    font-size: 18px;
  }
}
