/* Long-read presentation; shared site header, nav, and type remain unchanged. */
.idea-article-main { min-width: 0; }
.article-layout.idea-layout {
  display: block;
  max-width: 824px;
  padding: 48px clamp(16px, 4vw, 32px) 72px;
}
.idea-layout .article-body { overflow-wrap: anywhere; }
.idea-layout .article-body h1 { text-wrap: balance; margin: 0 0 18px; }
.idea-layout .article-body :is(h2,h3,[id^="figure-"]) { scroll-margin-top: calc(var(--header) + 48px); }
.idea-layout .article-body h3 { font-size: clamp(18px, 2.2vw, 21px); }
.idea-layout .article-body .idea-kicker,
.idea-layout .article-body .idea-section-kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 660;
  letter-spacing: .06em;
}
.idea-layout .article-body .idea-section-kicker { margin-top: 3.4rem; }
.idea-layout .article-body .idea-section-kicker + h2 { margin-top: 0; }
.idea-layout .article-body .idea-dek {
  color: var(--muted);
  font-size: clamp(1.0625rem, 2.4vw, 1.25rem);
  line-height: 1.55;
  margin: 0 0 1.65rem;
}
.idea-layout .article-body .idea-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 8px;
  font-size: .875rem;
  text-underline-offset: .18em;
}
.idea-layout .article-body .idea-abstract {
  border-inline-start: 2px solid var(--line);
  padding-inline-start: clamp(12px, 3vw, 22px);
  margin: 0 0 2.2rem;
}
.idea-layout .article-body .idea-abstract h2 { font-size: 1.2rem; margin: 0 0 7px; }
.idea-layout .article-body .idea-abstract p { margin: 0; }
.idea-layout .article-body .idea-contents {
  border-block: 1px solid var(--line);
  margin: 0 0 1.7rem;
  font-size: .9375rem;
}
.idea-layout .article-body .idea-contents summary {
  min-height: 44px;
  padding: 8px 0;
  cursor: pointer;
  font-weight: 550;
}
.idea-layout .article-body .idea-contents ul { margin: 0 0 12px; }
.idea-layout .article-body .idea-contents a { display: inline-block; padding: 3px 0; }
.idea-layout .article-body .idea-figure {
  margin: clamp(24px, 4vw, 38px) 0;
  font-size: .9rem;
  color: var(--muted);
}
.idea-layout .article-body .idea-image-link {
  display: grid;
  place-items: center;
  padding: clamp(5px, 1.2vw, 10px);
  background: #f2f6f5;
}
.idea-layout .article-body .idea-image-link img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 66rem;
  object-fit: contain;
  margin: 0;
}
.idea-layout .article-body .idea-figure figcaption { margin-top: 10px; line-height: 1.6; }
.idea-layout .article-body .idea-figure-full { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: .2em; }
.idea-layout .article-body .idea-references {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  font-size: .92rem;
  line-height: 1.65;
}
.idea-layout .article-body .idea-references li {
  margin: 0;
  padding: 10px 0 10px 2.6em;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.idea-layout .article-body .idea-reference-number {
  position: absolute;
  inset-inline-start: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--muted);
}
.idea-listing {
  width: min(100%, 760px);
  margin: 0 0 34px;
  padding: 0;
}
.idea-listing-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(105px, 22%);
  gap: clamp(16px, 4vw, 32px);
  align-items: start;
  border-top: 1px solid var(--line);
  padding-block: 22px 16px;
}
.idea-listing-entry p { margin: 10px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.idea-listing-entry .idea-kicker { margin: 0 0 8px; font-size: .875rem; font-weight: 550; }
.idea-listing-entry h2 { margin: 0; color: var(--ink); font-size: clamp(1.25rem, 3.6vw, 1.75rem); line-height: 1.25; font-weight: 620; letter-spacing: -.02em; }
.idea-listing-entry h2 a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .14em; }
.idea-listing-entry img { display: block; width: 100%; height: auto; max-height: 160px; object-fit: contain; }
@media (max-width: 600px) {
  .article-layout.idea-layout { padding-block: 25px 48px; }
  .idea-layout .article-body :is(h2,h3,[id^="figure-"]) { scroll-margin-top: 125px; }
  .idea-listing-entry { grid-template-columns: minmax(0,1fr) 92px; gap: 12px; }
}
@media (max-width: 365px) {
  .idea-listing-entry { grid-template-columns: minmax(0,1fr); }
  .idea-listing-entry img { width: 124px; }
}
.idea-layout .article-body .idea-bibliography { border-top: 1px solid var(--line); }
.idea-layout .article-body .idea-bibliography summary { padding-block: 10px; min-height: 44px; cursor: pointer; font-weight: 560; }
.idea-layout .article-body .idea-references li { scroll-margin-top: 125px; }
.idea-layout .article-body .idea-references li:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
