/* Blog — RedDent "Blog Section": 4 columns alternating short (207px image) and tall
   (454px image) cards; category above the 24px-cornered image, 20px title below. */
.blog { background: var(--bg); }
.blog__grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}
.post {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--navy);
  text-decoration: none;
}
.post__cat {
  font-size: 16px;
  font-weight: 600;
  line-height: 27.2px;
  letter-spacing: -0.3px;
  color: rgba(11, 41, 93, .75);
}
.post__img {
  display: block;
  height: 207px;
  border-radius: 24px;
  overflow: hidden;
}
.post--tall .post__img { height: 454px; }
.post__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.16, 1, .3, 1);
}
.post:hover .post__img img { transform: scale(1.05); }
.post__title {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: -0.3px;
}
.post:hover .post__title { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

@media (max-width: 1199.98px) {
  .blog__grid { grid-template-columns: 1fr 1fr; }
  .post--tall .post__img { height: 320px; }
}
@media (max-width: 809.98px) {
  .blog__grid { grid-template-columns: 1fr; margin-top: 48px; gap: 32px; }
  .post__img, .post--tall .post__img { height: 220px; }
}
