.provider-grid {
  padding-block: 0;
}
.provider-card .blog-card-copy h3 {
  margin: 14px 0 10px;
  font-size: clamp(1.25rem, 2.45vw, 1.55rem);
  line-height: 1.2;
}
.provider-card .blog-card-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.provider-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-block: 8px;
}
.provider-badge {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
}
.provider-readiness {
  color: var(--primary-dark);
  background: #eeeafa;
  border-color: #d1cbe6;
}
.provider-features {
  margin: 0 0 22px;
}
.provider-toc {
  position: sticky;
  top: calc(var(--provider-header-height, 77px) + 12px);
  z-index: 10;
  padding: 8px;
  margin-bottom: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(51, 45, 85, 0.06);
}
.provider-toc-links {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}
.provider-toc a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 0 auto;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 600;
  transition:
    background 180ms ease,
    border-color 180ms ease;
}
.provider-toc a:hover {
  background: var(--bg);
  color: var(--primary-dark);
}
.provider-toc a[aria-current="location"] {
  border-color: #d1cbe6;
  background: #eeeafa;
  color: var(--primary-dark);
}
.provider-toc a:focus-visible {
  outline: 2px solid var(--primary-dark);
  outline-offset: -3px;
}
.provider-detail section {
  scroll-margin-top: calc(var(--provider-toc-height, 86px) + 32px);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .provider-toc a {
    transition: none;
  }
}
.provider-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.provider-facts > div {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.provider-facts dt {
  font-size: 0.875rem;
  color: var(--muted);
}
.provider-facts dd {
  margin: 4px 0 0;
  font-weight: 600;
}
.provider-note {
  color: var(--muted);
  margin-top: 16px !important;
}
.provider-models {
  display: grid;
  gap: 16px;
}
.provider-model {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #eeebf7;
}
.provider-model-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.provider-model-icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  border: 1px solid var(--primary);
  border-radius: 12px;
  color: var(--muted);
}
.provider-model-icon svg {
  width: 26px;
  height: 26px;
}
.provider-model-copy {
  flex: 1;
  min-width: 0;
}
.provider-model-copy h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
}
.provider-model-copy p {
  margin: 2px 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.blog-prose .provider-model-download {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  border: 1px solid var(--primary-dark);
  border-radius: 50%;
  color: var(--primary-dark);
  text-decoration: none;
}
.provider-model-download svg {
  width: 22px;
  height: 22px;
}
.provider-model-download:hover {
  background: var(--surface);
}
.provider-model-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 4px 56px 0;
  font-size: 0.875rem;
}
.provider-model-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
@media (max-width: 640px) {
  .provider-facts {
    grid-template-columns: 1fr;
  }
}
