.recent-posts-row {
  padding: clamp(32px, 6vw, 56px) clamp(20px, 6vw, 120px);
}

.recent-posts-row__inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.recent-posts-row__heading {
  margin: 0;
  color: #232e26;
  font-family: Inter, sans-serif;
  font-size: clamp(22px, 4vw, 26px);
  font-weight: 700;
  line-height: 120%;
  text-align: left;
}

.recent-posts-row__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.recent-posts-row__card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  position: relative;
  opacity: 0;
  transform: translateY(10px);
  animation: blog-fade-up 0.5s ease 0.2s forwards;
}

.recent-posts-row__card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      to right,
      #395935 0,
      #395935 16px,
      transparent 16px,
      transparent 28px
    ) top / 100% 1px repeat-x,
    repeating-linear-gradient(
      to right,
      #395935 0,
      #395935 16px,
      transparent 16px,
      transparent 28px
    ) bottom / 100% 1px repeat-x,
    repeating-linear-gradient(
      to bottom,
      #395935 0,
      #395935 16px,
      transparent 16px,
      transparent 28px
    ) left / 1px 100% repeat-y,
    repeating-linear-gradient(
      to bottom,
      #395935 0,
      #395935 16px,
      transparent 16px,
      transparent 28px
    ) right / 1px 100% repeat-y;
}

.recent-posts-row__image-link,
.recent-posts-row__image {
  display: block;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.recent-posts-row__image-link {
  height: 245px;
}

.recent-posts-row__image {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.25, 1.25, 0.35, 1);
}

.recent-posts-row__image-link:hover .recent-posts-row__image,
.recent-posts-row__image-link:focus-visible .recent-posts-row__image {
  transform: scale(1.05);
}

.recent-posts-row__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 14px;
  flex-wrap: wrap;
}

.recent-posts-row__cat {
  font-weight: 700;
  color: #395935;
}

.recent-posts-row__title {
  margin: 4px 0 6px;
  font-size: clamp(18px, 3vw, 20px);
  color: #232e26;
}

.recent-posts-row__title a {
  color: inherit;
  text-decoration: none;
}

.recent-posts-row__title a:hover {
  text-decoration: underline;
}

.recent-posts-row__excerpt {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.5;
}

.recent-posts-row__empty {
  margin: 0;
  color: #6b7280;
}
