/* Shared reading styles for single articles, guides and Tool/Company profiles. */
.reading-article .article-header .entry-title { max-width: none; line-height: 1.2; letter-spacing: -.02em; text-wrap: wrap; }
.reading-article .article-header-body { padding-top: 18px; padding-bottom: 4px; }
.insights-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 16px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.insights-meta > span { display: inline-block; }
.insights-byline { color: var(--ink); font-weight: 700; }
.insights-reading-time { color: var(--accent-ink); }
.reading-article .article-body { padding-top: 24px; padding-bottom: 34px; }
.reading-article .article-image { margin-bottom: 28px; }
.reading-article .article-image img { border-radius: 5px; }
.reading-article .entry-content { font-size: 18px; line-height: 1.8; }
.reading-article .profile-introduction, .reading-article .workflow-introduction { font-weight: 450; }
.reading-article .entry-content > p, .reading-article .entry-content > ul, .reading-article .entry-content > ol { max-width: 72ch; }
.reading-article .entry-content p { margin-bottom: 1.15em; }
.reading-article .entry-content h2 { margin-top: 2em; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 29px; line-height: 1.3; text-wrap: pretty; }
.reading-article .entry-content h3 { margin-top: 1.6em; font-size: 23px; line-height: 1.4; }
.reading-article .entry-content h4 { margin-top: 1.4em; font-size: 20px; }
.reading-article .entry-content :is(h2, h3, h4)[id] { scroll-margin-top: var(--header-clearance, 30px); }
.reading-article .entry-content :is(h2, h3, h4):target { border-bottom-color: var(--accent); }
.reading-article .entry-content a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.reading-article .entry-content a:hover { color: var(--primary); text-decoration-thickness: 2px; }
.reading-article .entry-content li { padding-left: 3px; margin-bottom: .6em; }
.reading-article .entry-content li::marker { color: var(--accent-ink); font-weight: 700; }
.reading-article .entry-content li > :last-child { margin-bottom: 0; }
.reading-article .entry-content :is(ul, ol) :is(ul, ol) { margin-top: .6em; margin-bottom: .8em; }
.reading-article .entry-content blockquote { margin-block: 30px; padding: 20px 24px; border-left-width: 4px; border-radius: 0 6px 6px 0; font-size: 20px; line-height: 1.65; }
.reading-article .entry-content blockquote p { margin-bottom: 0; }
.reading-article .entry-content blockquote p + p { margin-top: .85em; }
.reading-article .entry-content blockquote cite { display: block; margin-top: 12px; color: var(--muted); font-size: 14px; font-style: normal; }
.reading-article .entry-content img { max-width: 100%; height: auto; border-radius: 5px; }
.reading-article .entry-content figure, .reading-article .entry-content .wp-caption { margin-block: 28px; max-width: 100%; }
.reading-article .entry-content figcaption, .reading-article .entry-content .wp-caption-text { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.reading-article .entry-content hr { height: 1px; margin: 34px 0; border: 0; background: var(--line); }
.reading-article .entry-content table { width: 100%; margin-block: 24px; font-size: 16px; line-height: 1.6; }
.reading-article .entry-content :is(th, td) { padding: 13px 16px; vertical-align: top; }
.reading-article .entry-content th { color: var(--inverse); background: var(--primary); font-weight: 700; }
.reading-article .entry-content tbody tr:nth-child(even) td { background: var(--wash); }
.reading-article .entry-content caption { padding: 0 0 10px; color: var(--muted); font-size: 13px; text-align: left; caption-side: top; }
.reading-table-scroll { max-width: 100%; overflow-x: auto; margin-block: 26px; border: 1px solid var(--line); border-radius: 6px; overscroll-behavior-x: contain; }
.reading-table-scroll:focus-visible { outline-offset: 3px; }
.reading-article .reading-table-scroll > table { display: table; min-width: 36rem; margin: 0; border-collapse: collapse; }
.reading-article .reading-table-scroll :is(th, td) { border-width: 0 1px 1px 0; }
.reading-article .reading-table-scroll tr > :last-child { border-right: 0; }
.insights-toc { margin: 0 0 28px; border: 1px solid var(--line); border-radius: 6px; background: var(--wash); }
.insights-toc summary { display: flex; align-items: center; gap: 14px; padding: 15px 18px; color: var(--primary); font-size: 15px; font-weight: 750; line-height: 1.5; cursor: pointer; list-style: none; }
.insights-toc summary::-webkit-details-marker { display: none; }
.insights-toc summary::after { content: '+'; margin-left: auto; font-size: 22px; font-weight: 500; line-height: 1; }
.insights-toc[open] summary::after { content: '−'; }
.insights-toc-count { color: var(--muted); font-size: 12px; font-weight: 400; }
.insights-toc[open] summary { border-bottom: 1px solid var(--line); }
.insights-toc nav { padding: 15px 20px 17px; }
.reading-article .insights-toc ol { margin: 0; padding-left: 22px; font-size: 14px; line-height: 1.6; }
.reading-article .insights-toc li { margin-bottom: 7px; padding-left: 4px; }
.reading-article .insights-toc li:last-child { margin-bottom: 0; }
.reading-article .insights-toc li::marker { color: var(--muted); font-weight: 400; }
.insights-toc, #workflow-contents { scroll-margin-top: var(--header-clearance, 30px); }
.reading-article p.reading-return { margin: 24px 0; font-size: 13px; line-height: 1.6; }
.reading-return a { display: inline-block; padding-block: 5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.reading-return a:hover { color: var(--accent-ink); }
@media (max-width: 560px) {
  .reading-article .article-header .entry-title { font-size: clamp(25px, 6.8vw, 34px); }
  .reading-article .article-body { padding-top: 20px; padding-bottom: 26px; }
  .reading-article .entry-content { font-size: 17px; line-height: 1.8; }
  .reading-article .entry-content h2 { font-size: 25px; }
  .reading-article .entry-content h3 { font-size: 21px; }
  .reading-article .entry-content blockquote { padding: 17px 18px; font-size: 18px; }
  .reading-article .entry-content :is(th, td) { padding: 11px 13px; }
  .insights-toc summary { padding: 13px 14px; }
  .insights-toc nav { padding: 14px 16px; }
}
@media print {
  .reading-return { display: none; }
  .insights-toc { display: none; }
  .reading-table-scroll { overflow: visible; }
  .reading-article .reading-table-scroll > table { min-width: 0; }
  .reading-article .entry-content th { color: var(--primary); background: var(--wash); }
}

/* Shared navigation and lighter section frames for structured profiles. */
:is(.workflow-shortcuts, .profile-shortcuts) { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
:is(.workflow-shortcuts, .profile-shortcuts) ul { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0; list-style: none; }
:is(.workflow-shortcuts, .profile-shortcuts) li { margin: 0; }
:is(.workflow-shortcuts, .profile-shortcuts) li a { display: inline-block; padding-block: 6px; font-size: 13px; font-weight: 650; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
:is(.workflow-shortcuts, .profile-shortcuts) li a:hover { text-decoration-color: currentColor; }
.structured-profile .loruai-content-section { overflow: visible; margin-top: 36px; border: 0; border-radius: 0; }
.structured-profile .loruai-content-section > .section-heading { --heading-inset: 0px; --heading-size: 23px; padding-block: 15px; }
.structured-profile .content-section-body { padding: 22px 0 0; }
.structured-profile .loruai-content-section > .section-heading > h2 { scroll-margin-top: var(--header-clearance, 24px); }
.structured-profile .loruai-content-section:has(h2:target) > .section-heading { border-bottom-color: var(--accent); }
@media (max-width: 560px) {
  :is(.workflow-shortcuts, .profile-shortcuts) { gap: 12px; }
  :is(.workflow-shortcuts, .profile-shortcuts) ul { gap: 4px 15px; }
  .structured-profile .loruai-content-section { margin-top: 28px; }
  .structured-profile .loruai-content-section > .section-heading { --heading-size: 21px; }
  .structured-profile .content-section-body { padding-top: 18px; }
}
@media print {
  .profile-shortcuts { display: none; }
}

/* Native author profile details, outside the article's reading and contents flow. */
.author-bio { margin-top: 34px; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--wash); }
.author-bio > .heading-widget { --heading-inset: 20px; --heading-size: 17px; background: var(--paper); }
.author-bio-body { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding: 20px; }
.author-bio-avatar { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; color: var(--inverse); background: var(--primary); font-size: 23px; font-weight: 750; line-height: 1; }
.author-bio-name { margin: 0; color: var(--primary); font-size: 20px; line-height: 1.4; font-weight: 750; overflow-wrap: anywhere; }
.author-bio-description { margin-top: 9px; color: var(--copy); font-size: var(--text-small); line-height: 1.8; overflow-wrap: anywhere; }
.author-bio-description p { margin: 0 0 10px; }
.author-bio-description > :last-child { margin-bottom: 0; }
.author-bio-description a { color: var(--accent-ink); text-decoration: underline; }
.author-bio-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; }
.author-bio-links a { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; font-size: 12px; font-weight: 700; }
.author-bio-links .icon { width: 14px; height: 14px; }
@media (max-width: 560px) {
  .author-bio-body { grid-template-columns: 46px minmax(0, 1fr); gap: 13px; padding: 16px; }
  .author-bio-avatar { width: 46px; height: 46px; font-size: 18px; }
  .author-bio > .heading-widget { --heading-inset: 16px; }
  .author-bio-name { font-size: 18px; }
}
