/* Styles for the service detail pages (data-governance, data-quality, ai-governance).
   Loaded after styles.css; uses its variables. */
.breadcrumb { font-size: 0.875rem; color: var(--text-subtle); margin-bottom: 1.75rem; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumb span { color: var(--text); }

.lede { font-size: 1.2rem; line-height: 1.55; color: var(--text-muted); max-width: 46rem; margin-bottom: 1.5rem; }
main.wide p, main.wide li { max-width: 46rem; }
main.wide h1 { max-width: 44rem; }

ol.steps { list-style: none; counter-reset: step; padding: 0; margin: 1.25rem 0 2rem; }
ol.steps li { counter-increment: step; position: relative; padding: 0 0 1rem 3rem; margin: 0; }
ol.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0.1rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; justify-content: center;
}

main.wide table td:first-child { white-space: normal; }
main.wide table { display: block; overflow-x: auto; }

.faq details { border-bottom: 1px solid var(--border); padding: 0.9rem 0; max-width: 46rem; }
.faq details:first-of-type { border-top: 1px solid var(--border); }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; padding-right: 2rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: -0.1rem; font-size: 1.3rem; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.faq details p { margin: 0.6rem 0 0.2rem; color: var(--text-muted); }

.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.related-card { display: block; border: 1px solid var(--border); border-radius: 10px; padding: 1.1rem 1.25rem; text-decoration: none; transition: border-color 0.15s ease; }
.related-card:hover { border-color: var(--accent); }
.related-card strong { display: block; color: var(--accent); margin-bottom: 0.25rem; }
.related-card span { color: var(--text-muted); font-size: 0.95rem; }

.callout { background: var(--accent-soft); border-radius: 10px; padding: 1.75rem 2rem; }
.callout h2 { margin-top: 0; }

@media (max-width: 640px) {
  .lede { font-size: 1.05rem; }
  .callout { padding: 1.25rem; }
}
