.recent-posts {
  --recent-gutter: clamp(20px, 5vw, 72px);
  padding: clamp(64px, 9vw, 120px) var(--recent-gutter);
  background: var(--white);
  color: var(--black);
}

.recent-posts__inner {
  width: min(100%, 1320px);
  margin-inline: auto;
}

.recent-posts__header {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.recent-posts__header h2 {
  max-width: 850px;
  margin: 0;
  color: var(--brand2);
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.recent-posts__header a {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
  color: var(--brand2);
  font-size: .9rem;
  font-weight: 750;
  text-decoration-color: var(--brand1);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.recent-posts__header a:focus-visible {
  outline: 3px solid var(--brand1);
  outline-offset: 4px;
  border-radius: 4px;
}

@media (max-width: 580px) {
  .recent-posts__header {
    display: block;
  }

  .recent-posts__header a {
    margin-top: 18px;
  }
}
