.wlf-feed {
  --wlf-blue: #0a66c2;
  --wlf-ink: #172033;
  --wlf-muted: #687386;
  --wlf-border: #e6eaf0;
  --wlf-columns: 3;
  margin: 36px 0;
  color: var(--wlf-ink);
}

.wlf-feed *,
.wlf-feed *::before,
.wlf-feed *::after {
  box-sizing: border-box;
}

.wlf-feed__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.wlf-feed__eyebrow {
  margin: 0 0 5px;
  color: var(--wlf-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.wlf-feed__title {
  margin: 0;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.15;
}

.wlf-feed__page-link,
.wlf-card__cta {
  color: var(--wlf-blue);
  font-weight: 700;
  text-decoration: none;
}

.wlf-feed__page-link {
  flex: 0 0 auto;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
}

.wlf-feed__grid {
  display: grid;
  grid-template-columns: repeat(var(--wlf-columns), minmax(0, 1fr));
  gap: 22px;
}

.wlf-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--wlf-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(25, 42, 70, .07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.wlf-card:hover,
.wlf-card:focus-within {
  transform: translateY(-3px);
  border-color: #cbd7e6;
  box-shadow: 0 14px 38px rgba(25, 42, 70, .12);
}

.wlf-card__link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.wlf-card__media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #eef2f6;
}

.wlf-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.wlf-card:hover .wlf-card__media img {
  transform: scale(1.025);
}

.wlf-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.wlf-card__date {
  margin-bottom: 10px;
  color: var(--wlf-muted);
  font-size: 13px;
}

.wlf-card__article-title {
  margin: 0 0 9px;
  font-size: 19px;
  line-height: 1.35;
}

.wlf-card__text {
  margin: 0 0 18px;
  color: #3d485a;
  line-height: 1.65;
}

.wlf-card__cta {
  margin-top: auto;
}

.wlf-feed__empty {
  padding: 28px;
  border: 1px solid var(--wlf-border);
  border-radius: 14px;
  background: #f8fafc;
  text-align: center;
}

.wlf-feed__empty p {
  margin-top: 0;
}

@media (max-width: 990px) {
  .wlf-feed__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .wlf-feed__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .wlf-feed__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wlf-card,
  .wlf-card__media img {
    transition: none;
  }
}
