body {
  background: var(--white);
}

.main-nav a.is-active {
  color: var(--light-gold);
}

.topbar-contact i,
.topbar-cta i {
  margin-right: 6px;
}

.blog-page {
  background: var(--white);
}

.blog-hero {
  position: relative;
  min-height: 112px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(112, 52, 0, 0.58), rgba(227, 148, 21, 0.45), rgba(117, 44, 0, 0.58)),
    radial-gradient(circle at 58% 80%, rgba(255, 239, 157, 0.95), rgba(213, 126, 14, 0.68) 36%, rgba(132, 51, 0, 0.5) 70%),
    #c7861a;
}

.blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 44% 98%, rgba(255, 255, 255, 0.28), transparent 22%),
    radial-gradient(circle at 70% 55%, rgba(255, 219, 105, 0.38), transparent 24%);
  opacity: 0.9;
}

.blog-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--white);
  text-align: center;
  font-size: clamp(21px, 1.95vw, 29px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.34);
}

.blog-listing {
  padding: 48px 0 86px;
  background: var(--white);
}

.blog-grid-page {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 74px 32px;
  align-items: start;
}

.blog-card-page {
  min-width: 0;
  display: block;
  color: #4a4d52;
  transition: transform 0.26s ease, color 0.22s ease;
}

.blog-card-page:hover,
.blog-card-page:focus-visible {
  color: #7a0b0b;
  transform: translateY(-6px);
}

.blog-card-page img {
  width: 100%;
  height: 330px;
  display: block;
  object-fit: cover;
  object-position: center;
  margin: 0 0 20px;
  background: #f2f2f2;
  transition: filter 0.26s ease, transform 0.26s ease, box-shadow 0.26s ease;
}

.blog-card-page:hover img,
.blog-card-page:focus-visible img {
  filter: saturate(1.06) contrast(1.03);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.16);
}

.blog-card-page h2 {
  margin: 0 0 20px;
  color: currentColor;
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.4;
  font-weight: 700;
}

.blog-card-page p {
  margin: 0;
  color: #60646b;
  font-size: 15px;
  line-height: 1.52;
  text-align: justify;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.68s ease, transform 0.68s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .blog-listing {
    padding: 46px 0 78px;
  }

  .blog-grid-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 54px 28px;
  }

  .blog-card-page img {
    height: 310px;
  }
}

@media (max-width: 760px) {
  .blog-hero {
    min-height: 150px;
  }

  .blog-listing {
    padding: 36px 0 60px;
  }

  .blog-grid-page {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .blog-card-page img {
    height: auto;
    aspect-ratio: 4 / 3;
    margin-bottom: 18px;
  }

  .blog-card-page h2 {
    margin-bottom: 12px;
    font-size: clamp(18px, 5.2vw, 23px);
  }

  .blog-card-page p {
    text-align: left;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .blog-card-page,
  .blog-card-page img {
    transition: none;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}
