#blog { scroll-margin-top: 6rem; }
.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 28px);
}
.home-blog-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: clamp(340px, 29vw, 470px);
  padding: clamp(20px, 2.1vw, 36px);
  border-radius: 4px;
  background: #242a25;
  color: white;
  text-decoration: none;
}
.home-blog-card img, .home-blog-card::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.home-blog-card img {
  object-fit: cover;
  z-index: -2;
  transition: transform .4s ease;
}
.home-blog-card::after {
  content: "";
  z-index: -1;
  background: linear-gradient(0deg, #111711f5, #111711b8 30%, #11171136 68%, transparent);
}
.home-blog-card h3 {
  margin: 0;
  color: white;
  font-size: clamp(24px, 2.1vw, 36px);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
.home-blog-card:focus-visible { outline-offset: 4px; }
@media (hover: hover) {
  .home-blog-card:hover img { transform: scale(1.035); }
  .home-blog-card:hover h3 { text-decoration: underline; text-underline-offset: .13em; text-decoration-thickness: .055em; }
}
@media (max-width: 900px) {
  .home-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-blog-card { min-height: 265px; }
  .home-blog-card:first-child { grid-column: 1 / -1; }
}
@media (max-width: 580px) {
  .home-blog-grid { grid-template-columns: 1fr; }
  .home-blog-card { min-height: clamp(220px, 61vw, 310px); }
}
@media (prefers-reduced-motion: reduce) {
  .home-blog-card img { transition: none; }
  .home-blog-card:hover img { transform: none; }
}
