/**
 * Global typography + prose utilities for CMS / article HTML.
 * Pair with class "article-body" on wrappers; optional "prose-rd" for shared rhythm.
 */
@keyframes ui-icon-spin {
  to {
    transform: rotate(360deg);
  }
}

.ui-icon {
  display: inline-block;
  vertical-align: -0.125em;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
}

.ui-icon--spin {
  animation: ui-icon-spin 0.75s linear infinite;
  transform-origin: center;
}

.article-body.prose-rd,
.prose-rd {
  font-size: 1rem;
  line-height: 1.75;
  color: #374151;
}

.article-body.prose-rd > *:first-child,
.prose-rd > *:first-child {
  margin-top: 0;
}

.article-body.prose-rd p,
.prose-rd p {
  margin-top: 1.15em;
  margin-bottom: 1.15em;
}

.article-body.prose-rd h2,
.article-body.prose-rd h3,
.article-body.prose-rd h4,
.prose-rd h2,
.prose-rd h3,
.prose-rd h4 {
  margin-top: 1.75em;
  margin-bottom: 0.65em;
  line-height: 1.3;
  font-weight: 700;
  color: #111827;
}

.article-body.prose-rd ul,
.article-body.prose-rd ol,
.prose-rd ul,
.prose-rd ol {
  margin: 1.1em 0;
  padding-left: 1.35em;
}

.article-body.prose-rd li,
.prose-rd li {
  margin: 0.4em 0;
}

.article-body.prose-rd img,
.prose-rd img {
  height: auto;
  max-width: 100%;
}

/* ── Reusable content blocks (semantic sections, troubleshooting) ── */
.content-section__heading {
  margin-top: 0;
}

.content-ts {
  margin: 1.75rem 0 0;
  padding: 1.125rem 1.25rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e8ecf0;
  border-radius: 12px;
}

.content-ts__heading {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.875rem;
  letter-spacing: -0.015em;
}

.content-ts__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.content-ts__item {
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.content-ts__item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.content-ts__code {
  margin: 0 0 0.375rem;
  font-size: 0.8125rem;
  color: #475569;
}

.content-ts__label {
  display: inline-block;
  margin-right: 0.35rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.6875rem;
}

.content-ts__code-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0f172a;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.125rem 0.5rem;
}

.content-ts__title {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
}

.content-ts__block {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #475569;
}

.content-ts__block:first-of-type {
  margin-top: 0;
}

.content-ts__kw {
  font-weight: 700;
  color: #334155;
}

.seo-faq-body.prose-rd.article-body,
.seo-faq-body.article-body {
  font-size: 0.875rem;
}

.seo-faq-body.article-body > *:first-child {
  margin-top: 0;
}

.seo-faq-body.article-body p {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

.seo-faq-body.article-body ul,
.seo-faq-body.article-body ol {
  margin: 0.65em 0;
  padding-left: 1.25em;
}
