/* Parent–Child Connection Learn cluster v1.
 * Extends the mature Family Lab article shell without mutating predecessor clusters.
 * Owns the PR143 title action, safety boundary, native lists, accessible tables,
 * static utilities, ten-guide directory, citations, and narrow-screen behavior.
 */

body[data-learn-cluster="parent-child-connection"] {
  --parent-child-connection-accent: #c98ad6;
  --parent-child-connection-accent-strong: #e0aae9;
  --parent-child-connection-accent-soft: rgba(201, 138, 214, 0.13);
  --parent-child-connection-ink: #0b0d12;
  --parent-child-connection-border: rgba(255, 255, 255, 0.16);
  --accent: var(--parent-child-connection-accent);
  --accent-bright: var(--parent-child-connection-accent-strong);
  --accent-soft: var(--parent-child-connection-accent-soft);
  --copy-bg: var(--parent-child-connection-accent);
  font-size: 1rem;
}

body[data-learn-cluster="parent-child-connection"] .article-title-row {
  display: block;
  width: 100%;
  margin: 0 0 1.5rem;
}

body[data-learn-cluster="parent-child-connection"] .article-title-row h1 {
  display: block;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  text-wrap: balance;
}

body[data-learn-cluster="parent-child-connection"] .article-title-action {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  margin: 0.5rem 0 0;
}

body[data-learn-cluster="parent-child-connection"] .article-title-cta {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--parent-child-connection-accent);
  border-radius: 0.75rem;
  background: var(--parent-child-connection-accent);
  color: var(--parent-child-connection-ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

body[data-learn-cluster="parent-child-connection"] .article-title-cta:hover {
  border-color: var(--parent-child-connection-accent-strong);
  background: var(--parent-child-connection-accent-strong);
  transform: translateY(-1px);
}

body[data-learn-cluster="parent-child-connection"] .article-title-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

body[data-learn-cluster="parent-child-connection"] .article-title-note {
  color: var(--text-secondary, #b7bcc8);
  font-size: 1rem;
  line-height: 1.5;
}

body[data-learn-cluster="parent-child-connection"] .article-body,
body[data-learn-cluster="parent-child-connection"] .answer-first,
body[data-learn-cluster="parent-child-connection"] .cluster-directory {
  font-size: 1.0625rem;
  line-height: 1.72;
}

body[data-learn-cluster="parent-child-connection"] .answer-first,
body[data-learn-cluster="parent-child-connection"] .owner-utility,
body[data-learn-cluster="parent-child-connection"] .interpretation-boundary,
body[data-learn-cluster="parent-child-connection"] .cluster-directory {
  border: 1px solid var(--parent-child-connection-border);
  border-radius: 1rem;
  background: var(--parent-child-connection-accent-soft);
}

body[data-learn-cluster="parent-child-connection"] .answer-first {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: var(--space-8) auto;
  padding: clamp(1.25rem, 3vw, 2rem);
}

body[data-learn-cluster="parent-child-connection"] .answer-first-label,
body[data-learn-cluster="parent-child-connection"] .article-contents-label,
body[data-learn-cluster="parent-child-connection"] .callout-label {
  margin-bottom: 0.75rem;
  color: var(--parent-child-connection-accent-strong);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body[data-learn-cluster="parent-child-connection"] .article-contents {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: var(--space-8) auto var(--space-12);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
  border: 1px solid var(--parent-child-connection-border);
  border-radius: 1rem;
  background: var(--bg-raised);
}

body[data-learn-cluster="parent-child-connection"] .article-contents-label {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

body[data-learn-cluster="parent-child-connection"] .article-contents a,
body[data-learn-cluster="parent-child-connection"] .source-list a {
  color: var(--parent-child-connection-accent-strong);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

body[data-learn-cluster="parent-child-connection"] .article-contents a:hover,
body[data-learn-cluster="parent-child-connection"] .source-list a:hover {
  text-decoration-thickness: 2px;
}

body[data-learn-cluster="parent-child-connection"] .evidence-callout {
  margin: var(--space-8) 0;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--parent-child-connection-border);
  border-left: 4px solid var(--parent-child-connection-accent);
  border-radius: 0.75rem;
  background: var(--parent-child-connection-accent-soft);
}

body[data-learn-cluster="parent-child-connection"] .evidence-callout p:last-child {
  margin-bottom: 0;
}

body[data-learn-cluster="parent-child-connection"] .cluster-grid {
  margin: var(--space-8) 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem;
  list-style: none;
}

body[data-learn-cluster="parent-child-connection"] .cluster-grid li {
  min-width: 0;
}

body[data-learn-cluster="parent-child-connection"] .cluster-grid a {
  min-height: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px solid var(--parent-child-connection-border);
  border-radius: 0.75rem;
  background: var(--bg-raised);
  text-decoration: none;
}

body[data-learn-cluster="parent-child-connection"] .cluster-grid a:hover,
body[data-learn-cluster="parent-child-connection"] .cluster-grid a[aria-current="page"] {
  border-color: var(--parent-child-connection-accent);
  background: var(--parent-child-connection-accent-soft);
}

body[data-learn-cluster="parent-child-connection"] .cluster-grid span {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.55;
}

body[data-learn-cluster="parent-child-connection"] .source-list {
  margin: var(--space-8) 0;
  padding-left: 1.5rem;
  display: grid;
  gap: 1rem;
  color: var(--text-secondary);
}

body[data-learn-cluster="parent-child-connection"] .source-list li {
  padding-left: 0.25rem;
}

body[data-learn-cluster="parent-child-connection"] .evidence-table {
  margin: 0;
  background: var(--bg-raised);
}

body[data-learn-cluster="parent-child-connection"] .evidence-table th {
  color: var(--text);
  background: var(--parent-child-connection-accent-soft);
  text-align: left;
}

body[data-learn-cluster="parent-child-connection"] .article-colophon {
  width: min(calc(100% - 2rem), var(--wide-content-width));
  margin: var(--space-16) auto;
  padding-top: var(--space-8);
  border-top: 1px solid var(--parent-child-connection-border);
}

body[data-learn-cluster="parent-child-connection"] .colophon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

body[data-learn-cluster="parent-child-connection"] .colophon-item {
  display: grid;
  gap: 0.375rem;
}

body[data-learn-cluster="parent-child-connection"] .colophon-label {
  color: var(--text-muted);
  font-size: 1rem;
}

body[data-learn-cluster="parent-child-connection"] .colophon-value {
  font-size: 1rem;
  line-height: 1.55;
}

body[data-learn-cluster="parent-child-connection"] .table-region,
body[data-learn-cluster="parent-child-connection"] .table-wrap,
body[data-learn-cluster="parent-child-connection"] .boundary-table-wrap,
body[data-learn-cluster="parent-child-connection"] .cmp-wrap {
  max-width: 100%;
  overflow-x: auto;
  border-radius: 0.75rem;
  -webkit-overflow-scrolling: touch;
}

body[data-learn-cluster="parent-child-connection"] .table-region:focus-visible,
body[data-learn-cluster="parent-child-connection"] .table-wrap:focus-visible,
body[data-learn-cluster="parent-child-connection"] .boundary-table-wrap:focus-visible,
body[data-learn-cluster="parent-child-connection"] .cmp-wrap:focus-visible {
  outline: 3px solid var(--parent-child-connection-accent);
  outline-offset: 3px;
}

body[data-learn-cluster="parent-child-connection"] table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
}

body[data-learn-cluster="parent-child-connection"] th,
body[data-learn-cluster="parent-child-connection"] td,
body[data-learn-cluster="parent-child-connection"] caption,
body[data-learn-cluster="parent-child-connection"] .source-note,
body[data-learn-cluster="parent-child-connection"] .article-meta,
body[data-learn-cluster="parent-child-connection"] .article-category {
  font-size: 1rem;
  line-height: 1.55;
}

body[data-learn-cluster="parent-child-connection"] th,
body[data-learn-cluster="parent-child-connection"] td {
  padding: 0.875rem;
  border: 1px solid var(--parent-child-connection-border);
  vertical-align: top;
}

body[data-learn-cluster="parent-child-connection"] .cluster-directory a,
body[data-learn-cluster="parent-child-connection"] .hero-btn,
body[data-learn-cluster="parent-child-connection"] a[class*="cta"] {
  min-height: 44px;
}

@media (max-width: 840px) {
  body[data-learn-cluster="parent-child-connection"] .article-title-action {
    margin-top: 0;
  }

  body[data-learn-cluster="parent-child-connection"] .article-title-cta {
    width: min(100%, 28rem);
  }

  body[data-learn-cluster="parent-child-connection"] .colophon-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  body[data-learn-cluster="parent-child-connection"] .article-title-cta {
    width: 100%;
  }

  body[data-learn-cluster="parent-child-connection"] th,
  body[data-learn-cluster="parent-child-connection"] td {
    padding: 0.75rem;
  }

  body[data-learn-cluster="parent-child-connection"] .article-contents,
  body[data-learn-cluster="parent-child-connection"] .cluster-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-learn-cluster="parent-child-connection"] .article-title-cta {
    transition: none;
  }

  body[data-learn-cluster="parent-child-connection"] .article-title-cta:hover {
    transform: none;
  }
}


/* Mature Learn shell: below-dek CTA, wider readable column, and side contents. */
body[data-learn-cluster="parent-child-connection"] .article-hero { max-width: var(--wide-content-width); }

body[data-learn-cluster="parent-child-connection"] .article-title-row {
  display: block;
  margin-bottom: var(--space-6);
}

body[data-learn-cluster="parent-child-connection"] .hero-cta-row.article-title-action {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  margin: 0 0 var(--space-8);
}

body[data-learn-cluster="parent-child-connection"] .hero-cta-row .article-title-cta {
  width: 100%;
  max-width: 100%;
  padding-inline: 1.25rem;
}

body[data-learn-cluster="parent-child-connection"] .hero-cta-row .article-title-note { max-width: none; }

body[data-learn-cluster="parent-child-connection"] .article-layout {
  width: min(calc(100% - 4rem), var(--wide-content-width));
  margin: var(--space-12) auto 0;
  display: grid;
  grid-template-columns: minmax(0, var(--content-width)) minmax(13.75rem, 15rem);
  align-items: start;
  justify-content: space-between;
  gap: clamp(2rem, 4vw, 3rem);
}

body[data-learn-cluster="parent-child-connection"] .article-layout > .article-body {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-top: 0;
  padding-inline: 0;
}

body[data-learn-cluster="parent-child-connection"] .article-sidebar {
  min-width: 0;
  align-self: stretch;
}

body[data-learn-cluster="parent-child-connection"] .article-sidebar .article-contents {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
  width: 100%;
  margin: 0;
  padding: 1.25rem;
  display: block;
}

body[data-learn-cluster="parent-child-connection"] .article-sidebar .article-contents ol {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  list-style: none;
}

body[data-learn-cluster="parent-child-connection"] .article-sidebar .article-contents a {
  display: block;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.45;
  text-decoration: none;
}

body[data-learn-cluster="parent-child-connection"] .article-sidebar .article-contents a:hover,
body[data-learn-cluster="parent-child-connection"] .article-sidebar .article-contents a:focus-visible {
  color: var(--parent-child-connection-accent-strong);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

body[data-learn-cluster="parent-child-connection"] main :where(h2[id], h3[id], section[id], div[id]) {
  scroll-margin-top: calc(var(--nav-height) + 1.5rem);
}

body[data-learn-cluster="parent-child-connection"] .share-footer { max-width: var(--content-width); }
body[data-learn-cluster="parent-child-connection"] .share-btn { min-width: 48px; min-height: 48px; }

@media (max-width: 1040px) {
  body[data-learn-cluster="parent-child-connection"] .article-layout {
    width: min(calc(100% - 2rem), var(--content-width));
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-learn-cluster="parent-child-connection"] .article-sidebar { order: 2; }

  body[data-learn-cluster="parent-child-connection"] .article-sidebar .article-contents {
    position: static;
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  body[data-learn-cluster="parent-child-connection"] .hero-cta-row.article-title-action {
    align-items: stretch;
    flex-direction: column;
  }

  body[data-learn-cluster="parent-child-connection"] .hero-cta-row .article-title-cta { width: 100%; }
}

/* Evidence and related-reading modules. */
body[data-learn-cluster="parent-child-connection"] .article-hero {
  width: min(calc(100% - 4rem), 82.5rem);
  max-width: none;
}

body[data-learn-cluster="parent-child-connection"] .article-hero h1 {
  display: block;
  width: 100%;
  max-width: none;
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  text-wrap: balance;
}

body[data-learn-cluster="parent-child-connection"] .article-dek {
  max-width: 62ch;
}

body[data-learn-cluster="parent-child-connection"] .citation-box,
body[data-learn-cluster="parent-child-connection"] .next-read.cluster-directory {
  width: min(calc(100% - 2rem), var(--content-width));
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
}

body[data-learn-cluster="parent-child-connection"] .article-body > .citation-box,
body[data-learn-cluster="parent-child-connection"] .article-body > .next-read.cluster-directory {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

body[data-learn-cluster="parent-child-connection"] .citation-box {
  padding: clamp(1.25rem, 3vw, 2rem);
}

body[data-learn-cluster="parent-child-connection"] .citation-box h2 {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: var(--weight-regular);
  line-height: 1.2;
}

body[data-learn-cluster="parent-child-connection"] .citation-text,
body[data-learn-cluster="parent-child-connection"] .sources-list li,
body[data-learn-cluster="parent-child-connection"] .sources-list a,
body[data-learn-cluster="parent-child-connection"] .source-list li,
body[data-learn-cluster="parent-child-connection"] .source-list a,
body[data-learn-cluster="parent-child-connection"] .instrument-note {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

body[data-learn-cluster="parent-child-connection"] .sources-list {
  display: grid;
  gap: 0;
}

body[data-learn-cluster="parent-child-connection"] .sources-list li {
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

body[data-learn-cluster="parent-child-connection"] .next-read.cluster-directory {
  padding: clamp(1.25rem, 3vw, 2rem);
}

@media (max-width: 1040px) {
  body[data-learn-cluster="parent-child-connection"] .article-hero {
    width: min(calc(100% - 2rem), var(--content-width));
  }
}

@media (max-width: 700px) {
  body[data-learn-cluster="parent-child-connection"] .breadcrumb {
    flex-wrap: wrap;
    row-gap: 0.375rem;
  }

  body[data-learn-cluster="parent-child-connection"] .breadcrumb > .sep:nth-last-child(2),
  body[data-learn-cluster="parent-child-connection"] .breadcrumb > [aria-current="page"] {
    display: none;
  }

}


/* Parent–Child Connection Learn cluster extensions.
 * This versioned layer owns Parent–Child Connection utilities, prose lists,
 * comparison tables, directories, and citation UI.
 */

/* Ordinary article lists retain native semantics while using the Family accent.
 * Classed sources, directories, navigation, and footer lists keep their own UI. */
body[data-learn-cluster="parent-child-connection"] .article-body .guide-section
  :where(ul, ol):not([class]) {
  display: grid;
  gap: 0.75rem;
  margin: var(--space-5, 1.25rem) 0 var(--space-8, 2rem);
  padding-inline-start: 1.75rem;
  color: var(--text-secondary, #b4bac8);
}

body[data-learn-cluster="parent-child-connection"] .article-body .guide-section
  ol:not([class]) {
  padding-inline-start: 2.15rem;
}

body[data-learn-cluster="parent-child-connection"] .article-body .guide-section
  :where(ul, ol):not([class]) > li {
  min-width: 0;
  padding-inline-start: 0.35rem;
  color: var(--text-secondary, #b4bac8);
  font-size: 1.0625rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

body[data-learn-cluster="parent-child-connection"] .article-body .guide-section
  ul:not([class]) > li::marker {
  color: var(--accent, #c98ad6);
  font-size: 1.08em;
}

body[data-learn-cluster="parent-child-connection"] .article-body .guide-section
  ol:not([class]) > li::marker {
  color: var(--parent-child-connection-accent-strong, #e0aae9);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.92em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

body[data-learn-cluster="parent-child-connection"] .article-body .guide-section
  :where(ul, ol):not([class]) > li > :where(ul, ol):not([class]) {
  margin-block: 0.75rem 0.25rem;
}

/* Comparison-table wrappers remain the only horizontal scroller on narrow viewports. */
body[data-learn-cluster="parent-child-connection"] .article-body .cmp-wrap {
  max-width: 100%;
  margin: var(--space-8, 2rem) 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid rgba(201, 138, 214, 0.34);
  border-radius: var(--radius-md, 12px);
  background:
    linear-gradient(145deg, rgba(201, 138, 214, 0.055), rgba(16, 19, 26, 0)),
    var(--bg-raised, #10131a);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  scrollbar-color: var(--accent, #c98ad6) var(--bg-raised, #10131a);
  -webkit-overflow-scrolling: touch;
}

body[data-learn-cluster="parent-child-connection"] .article-body .cmp-wrap:focus-visible {
  outline: 3px solid var(--accent, #c98ad6);
  outline-offset: 4px;
}

body[data-learn-cluster="parent-child-connection"] .article-body .cmp-wrap > .cmp-table {
  width: 100%;
  min-width: 42rem;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--text-secondary, #b4bac8);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.6;
}

body[data-learn-cluster="parent-child-connection"] .article-body .cmp-table :where(th, td) {
  padding: 1rem 1.125rem;
  border: 0;
  text-align: left;
  vertical-align: top;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}

body[data-learn-cluster="parent-child-connection"] .article-body .cmp-table tbody th {
  min-width: 11rem;
}

body[data-learn-cluster="parent-child-connection"] .article-body .cmp-table thead th {
  border-bottom: 1px solid rgba(201, 138, 214, 0.34);
  background: linear-gradient(
    180deg,
    rgba(201, 138, 214, 0.18),
    rgba(201, 138, 214, 0.10)
  );
  color: var(--parent-child-connection-accent-strong, #e0aae9);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.5;
  text-transform: uppercase;
}

body[data-learn-cluster="parent-child-connection"] .article-body .cmp-table tbody tr + tr > * {
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

body[data-learn-cluster="parent-child-connection"] .article-body .cmp-table tbody tr:nth-child(even) > * {
  background: rgba(255, 255, 255, 0.018);
}

body[data-learn-cluster="parent-child-connection"] .article-body .cmp-table tbody tr:hover > * {
  background: rgba(201, 138, 214, 0.055);
}

body[data-learn-cluster="parent-child-connection"] .article-body .cmp-table tbody td {
  color: var(--text-secondary, #b4bac8);
}

body[data-learn-cluster="parent-child-connection"] .article-body .cmp-table tbody td:first-child {
  min-width: 9rem;
  color: var(--text, #f4f2ed);
  font-weight: 650;
}

.parent-child-connection-static-utility {
  border-color: rgba(201, 138, 214, 0.42);
  background:
    radial-gradient(circle at 95% 4%, rgba(201, 138, 214, 0.12), transparent 34%),
    var(--bg-raised, #10131a);
}

.parent-child-connection-utility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.parent-child-connection-utility-grid > div {
  min-width: 0;
  padding: 1.15rem;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
  border-radius: var(--radius-sm, 8px);
  background: rgba(201, 138, 214, 0.06);
}

.parent-child-connection-utility-grid h3 {
  margin: 0 0 0.45rem;
  color: var(--accent-bright, #e0aae9);
  font-size: 1rem;
  line-height: 1.45;
}

.parent-child-connection-utility-grid p {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text-secondary, #b4bac8);
  font-size: 1rem;
  line-height: 1.7;
}

.parent-child-connection-cluster-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: parent-child-connection-guide;
}

.parent-child-connection-cluster-list li {
  min-width: 0;
  counter-increment: parent-child-connection-guide;
}

.parent-child-connection-cluster-list a {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.7rem;
  height: 100%;
  padding: 1rem;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
  border-radius: var(--radius-sm, 8px);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-secondary, #b4bac8);
  font-size: 1rem;
  line-height: 1.55;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.parent-child-connection-cluster-list a::before {
  content: counter(parent-child-connection-guide, decimal-leading-zero);
  color: var(--accent, #c98ad6);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.875rem;
  font-weight: 700;
}

.parent-child-connection-cluster-list a:hover,
.parent-child-connection-cluster-list a[aria-current="page"] {
  border-color: var(--accent, #c98ad6);
  background: rgba(201, 138, 214, 0.09);
  color: var(--text, #f4f2ed);
}

.parent-child-connection-cluster-list a:focus-visible,
.parent-child-connection-support-links a:focus-visible,
.how-to-cite a:focus-visible {
  outline: 3px solid var(--accent-bright, #e0aae9);
  outline-offset: 3px;
}

.parent-child-connection-support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1.35rem 0 0;
}

.parent-child-connection-support-links a {
  color: var(--accent-bright, #e0aae9);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
}

.how-to-cite {
  width: min(100% - 2rem, var(--content-width, 820px));
  max-width: var(--content-width, 820px);
  margin: clamp(2.5rem, 6vw, 4.5rem) auto 2rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid rgba(201, 138, 214, 0.36);
  border-radius: var(--radius-md, 14px);
  background:
    linear-gradient(145deg, rgba(201, 138, 214, 0.09), rgba(224, 170, 233, 0.04)),
    var(--bg-raised, #10131a);
  color: var(--text-secondary, #b4bac8);
  overflow: hidden;
}

.how-to-cite-eyebrow {
  margin-bottom: 0.55rem;
  color: var(--accent, #c98ad6);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.how-to-cite h2 {
  margin: 0 0 0.8rem;
  color: var(--text, #f4f2ed);
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  line-height: 1.2;
}

.how-to-cite-intro {
  max-width: 68ch;
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.75;
}

.how-to-cite-block {
  border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
  border-radius: var(--radius-sm, 8px);
  overflow: hidden;
}

.how-to-cite-row {
  display: grid;
  grid-template-columns: minmax(9rem, 10rem) minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  min-width: 0;
  padding: 1rem;
  background: rgba(8, 10, 14, 0.38);
}

.how-to-cite-row + .how-to-cite-row {
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.12));
}

.how-to-cite-label {
  color: var(--accent-bright, #e0aae9);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.55;
}

.how-to-cite-text {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--text-secondary, #b4bac8);
  font-size: 1rem;
  line-height: 1.75;
}

.how-to-cite-text a {
  color: var(--accent-bright, #e0aae9);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.how-to-cite-bibtex {
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  color: var(--text-secondary, #b4bac8);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 1rem;
  line-height: 1.65;
  white-space: pre;
}

.how-to-cite-bibtex code {
  font: inherit;
}

@media (max-width: 700px) {
  body[data-learn-cluster="parent-child-connection"] .breadcrumb {
    flex-wrap: wrap;
    row-gap: 0.375rem;
  }

  body[data-learn-cluster="parent-child-connection"] .breadcrumb > .sep:nth-last-child(2),
  body[data-learn-cluster="parent-child-connection"] .breadcrumb > [aria-current="page"] {
    display: none;
  }

  .parent-child-connection-utility-grid,
  .parent-child-connection-cluster-list {
    grid-template-columns: 1fr;
  }

  .how-to-cite {
    width: min(100% - 1.25rem, var(--content-width, 820px));
    margin-top: 2.25rem;
  }

  .how-to-cite-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }


  body[data-learn-cluster="parent-child-connection"] .article-body .guide-section
    :where(ul, ol):not([class]) {
    padding-inline-start: 1.45rem;
  }

  body[data-learn-cluster="parent-child-connection"] .article-body .guide-section
    ol:not([class]) {
    padding-inline-start: 1.85rem;
  }

  body[data-learn-cluster="parent-child-connection"] .article-body .cmp-table :where(th, td) {
    padding: 0.875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .parent-child-connection-cluster-list a {
    scroll-behavior: auto;
    transition: none !important;
  }
}

@media print {
  .how-to-cite {
    width: 100%;
    max-width: none;
    border-color: #888;
    background: transparent;
    color: #111;
    break-inside: avoid;
  }

  .how-to-cite h2,
  .how-to-cite-label,
  .how-to-cite-text,
  .how-to-cite-bibtex,
  .how-to-cite-text a {
    color: #111;
  }
}



/* PR142 presentation safeguards: no lost markers, clipped cells, or page overflow. */
body[data-learn-cluster="parent-child-connection"] :where(.article-body, .guide-section, .cluster-directory, .how-to-cite) {
  min-width: 0;
}
body[data-learn-cluster="parent-child-connection"] .cmp-table caption {
  padding: 0.9rem 1rem;
  color: var(--text, #f4f2ed);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
  text-align: left;
}
body[data-learn-cluster="parent-child-connection"] .cmp-table :where(th, td) {
  overflow-wrap: anywhere;
}
body[data-learn-cluster="parent-child-connection"] .article-body .guide-section :where(ul, ol):not([class]) {
  list-style-position: outside;
}
body[data-learn-cluster="parent-child-connection"] .article-body .guide-section ul:not([class]) {
  list-style-type: disc;
}
body[data-learn-cluster="parent-child-connection"] .article-body .guide-section ol:not([class]) {
  list-style-type: decimal;
}
@media (max-width: 700px) {
  body[data-learn-cluster="parent-child-connection"] .article-hero,
  body[data-learn-cluster="parent-child-connection"] .article-layout,
  body[data-learn-cluster="parent-child-connection"] .faq-section,
  body[data-learn-cluster="parent-child-connection"] .article-colophon {
    max-width: 100%;
  }
}
