/* Compact brand-column links, shared by the marketing and blog footers. */
.footer-ai {
  margin-top: 22px;
  color: #a0a0a0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.footer-ai .footer-ai-label {
  margin: 0 0 10px;
  color: #a0a0a0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
}

.footer-ai-providers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-ai .footer-ai-providers a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  border-radius: 9px;
  text-decoration: none;
}

.footer-ai-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  background: #e6e6e9;
  transition: background-color 160ms ease;
}

.footer-ai-icon img {
  display: block;
  width: 20px;
  height: 20px;
}

.footer-ai-providers a:hover .footer-ai-icon {
  background: #fff;
}

.footer-ai-provider-name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.footer-ai a:focus-visible {
  outline: 2px solid #7eb8ff;
  outline-offset: 4px;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .blog-site-footer-inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .blog-site-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .footer-ai .footer-ai-providers a,
  .footer-ai-icon {
    min-width: 40px;
    min-height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-ai-icon {
    transition: none;
  }
}
