/* =========================
   BLOG FOOTER
   ========================= */
.blog-footer {
  position: relative;
  margin-top: 8rem;
  border-top: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 40%, transparent);
}

.blog-footer__gradient-line {
  position: absolute;
  inset-inline: 0;
  top: -1px;
  height: 1px;
  background: linear-gradient(to right, transparent, color-mix(in oklab, var(--primary) 60%, transparent), transparent);
}

.blog-footer__container {
  margin: 0 auto;
  max-width: var(--container-7xl);
  padding: 4rem 1rem;
}

.blog-footer__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .blog-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .blog-footer__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.blog-footer__brand {
  grid-column: span 2 / span 2;
}

.blog-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.blog-footer__logo-img {
  height: 2.5rem;
  width: auto;
  user-select: none;
  filter: drop-shadow(0 0 18px oklch(0.62 0.22 25 / 0.45));
  mix-blend-mode: screen;
}

.blog-footer__desc {
  margin-top: 1rem;
  max-width: var(--container-xs);
  font-size: var(--text-sm);
  color: var(--muted-foreground);
}

.blog-footer__socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.blog-footer__social {
  display: grid;
  place-items: center;
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  transition: color 300ms var(--ease-in-out), border-color 300ms var(--ease-in-out);
}

.blog-footer__social:hover {
  color: var(--primary);
  border-color: color-mix(in oklab, var(--primary) 50%, transparent);
}

.blog-footer__social-icon {
  height: 1rem;
  width: 1rem;
}

.blog-footer__heading {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--foreground);
}

.blog-footer__list {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.blog-footer__link {
  font-size: var(--text-sm);
  color: var(--muted-foreground);
  text-decoration: none;
  cursor: pointer;
  transition: color 300ms var(--ease-in-out);
}

.blog-footer__link:hover {
  color: var(--foreground);
}

.blog-footer__contact-list {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--muted-foreground);
}

.blog-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.blog-footer__contact-item--top {
  align-items: flex-start;
}

.blog-footer__contact-icon {
  height: 1rem;
  width: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.blog-footer__contact-icon--top {
  margin-top: 0.125rem;
}

.blog-footer__bottom {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

@media (min-width: 640px) {
  .blog-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.blog-footer__copyright {
  font-size: var(--text-xs);
  color: var(--muted-foreground);
}

.blog-footer__legal {
  display: flex;
  gap: 1.25rem;
  font-size: var(--text-xs);
  color: var(--muted-foreground);
}

.blog-footer__legal-link {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 300ms var(--ease-in-out);
}

.blog-footer__legal-link:hover {
  color: var(--foreground);
}