.lps-latest-posts {
  --lps-card-gap: 1.75rem;
  --lps-text: #3f3f3f;
  --lps-text-hover: #202020;
  --lps-muted: #6d6d6d;
  --lps-border: #4a4a4a;
  --lps-icon-hover: #202020;
  border-radius: 0;
  padding: 0;
}

.lps-latest-posts__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--lps-card-gap) clamp(1.5rem, 3vw, 2.5rem);
}

.lps-latest-posts__item {
  min-width: 0;
}

.lps-latest-posts__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  color: inherit;
  text-decoration: none;
}

.lps-latest-posts--no-image .lps-latest-posts__link {
  grid-template-columns: minmax(0, 1fr) auto;
}

.lps-latest-posts__thumb-wrap {
  flex: 0 0 auto;
}

.lps-latest-posts__thumb {
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.55rem;
  object-fit: cover;
  background: #c8c8c8;
}

.lps-latest-posts__thumb--placeholder {
  background: #c6c6c6;
}

.lps-latest-posts__content {
  min-width: 0;
}

.lps-latest-posts__post-title {
  margin: 0 0 0.25rem;
  color: var(--lps-text);
  font-size: 1.125rem;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.lps-latest-posts__meta {
  margin: 0;
  color: var(--lps-muted);
  font-size: 0.875rem;
  line-height: 1.2;
}

.lps-latest-posts__meta-separator {
  display: inline-block;
  margin-right: 0.35rem;
  color: currentColor;
}

.lps-latest-posts__icon {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  color: var(--lps-border);
}

.lps-latest-posts__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.lps-latest-posts__empty {
  grid-column: 1 / -1;
  color: var(--lps-muted);
}

.lps-latest-posts__item:hover .lps-latest-posts__post-title,
.lps-latest-posts__link:hover .lps-latest-posts__post-title,
.lps-latest-posts__link:focus .lps-latest-posts__post-title,
.lps-latest-posts__link:focus-visible .lps-latest-posts__post-title {
  color: var(--lps-text-hover);
}

.lps-latest-posts__item:hover .lps-latest-posts__icon,
.lps-latest-posts__link:hover .lps-latest-posts__icon,
.lps-latest-posts__link:focus .lps-latest-posts__icon,
.lps-latest-posts__link:focus-visible .lps-latest-posts__icon {
  color: var(--lps-icon-hover);
}

.lps-latest-posts__icon,
.lps-latest-posts__post-title {
  transition: color 180ms ease;
}

@media (max-width: 980px) {
  .lps-latest-posts__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .lps-latest-posts {
    padding: 2rem 1.5rem;
  }

  .lps-latest-posts__link {
    gap: 0.75rem;
  }

  .lps-latest-posts__post-title {
    font-size: 1rem;
  }
}
