
/* Editorial posts use the same 1070 px maximum frame as ControlPageShell. */
:root #prototype-main > .insight-article-page { padding-top: 40px; }
.insight-article-page {
  --insight-frame-width: 1070px;
  padding-bottom: 112px;
}
.insight-article-page > * { max-width: var(--insight-frame-width); }
.insight-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  cursor: pointer;
  transition: color var(--site-hover-transition);
}
.insight-all-link:is(:hover, :focus-visible) { color: var(--text-secondary); }
.insight-all-link svg { width: 18px; height: 18px; }
.insight-article-page > .insight-article { margin-top: 48px; }
.insight-article { min-width: 0; }
.insight-article-header {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}
.insight-article-meta {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  color: var(--text-secondary);
  font-size: var(--regel-label-sm-size);
  line-height: var(--regel-label-sm-line);
  letter-spacing: var(--regel-label-sm-tracking);
  font-weight: var(--regel-type-label-weight);
}
:root #prototype-main .insight-article .insight-article-header h1 {
  margin: 24px 0 0;
  font-size: var(--prototype-hero-size);
  line-height: var(--prototype-hero-line);
  letter-spacing: var(--prototype-hero-tracking);
  font-weight: var(--prototype-hero-weight);
  text-wrap: balance;
}
.insight-article-summary {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--text-secondary);
  font-size: var(--regel-subtitle-size);
  line-height: var(--regel-subtitle-line);
  letter-spacing: var(--regel-subtitle-tracking);
  font-weight: var(--regel-type-subtitle-weight);
  text-wrap: pretty;
}
.insight-article-cover {
  margin-top: 56px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: var(--site-media-surface);
}
.insight-article-cover > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.insight-article-cover > .svea-partnership-cover { aspect-ratio: 16 / 9; }
.insight-article-reading { max-width: 680px; margin: 64px auto 0; }
.insight-article-byline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  color: var(--text-tertiary);
  font-size: var(--regel-label-sm-size);
  line-height: var(--regel-label-sm-line);
  letter-spacing: var(--regel-label-sm-tracking);
  font-weight: var(--regel-type-label-weight);
}
.insight-article-byline span { color: var(--text-primary); }
.insight-article-body {
  margin-top: 32px;
  color: var(--text-primary);
  font-size: var(--regel-body-lg-size);
  line-height: var(--regel-body-lg-line);
  letter-spacing: var(--regel-body-lg-tracking);
  font-weight: var(--regel-type-body-weight);
}
.insight-article-body > p { color: var(--text-primary); }
.insight-article-body > * + * { margin-top: 24px; }
.insight-article-body > h2 { margin-top: 40px; font-size: var(--regel-heading-md-size); line-height: var(--regel-heading-md-line); font-weight: var(--regel-type-heading-weight); letter-spacing: var(--regel-heading-md-tracking); }
.insight-article-body blockquote { padding-left: 24px; border-left: 1px solid var(--border-default); color: var(--text-secondary); }
.insight-article-body blockquote > p + p { margin-top: 16px; }
.insight-article-body a { color: var(--text-link); text-decoration: underline; text-underline-offset: 3px; }
.insight-article-action { margin-top: 40px; }
.insight-article-page > .insight-related { margin-top: 112px; padding-top: 40px; border-top: 1px solid var(--border-default); }
.insight-related-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.insight-related-heading > h2 {
  font-size: var(--regel-heading-md-size);
  line-height: var(--regel-heading-md-line);
  letter-spacing: var(--regel-heading-md-tracking);
  font-weight: var(--regel-type-heading-weight);
}
.insight-all-link { flex: none; font-size: var(--regel-label-md-size); line-height: var(--regel-label-md-line); font-weight: var(--regel-type-label-weight); letter-spacing: var(--regel-label-md-tracking); }
.insight-related-grid { display: grid; grid-template-columns: var(--landing-grid-columns); gap: 40px var(--landing-column-gap); margin-top: 32px; }
.insight-related-grid > article { grid-column: span 6; min-width: 0; }
.insight-related-grid .figma-news-media > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.insight-related-grid .figma-news-media > .svea-partnership-cover { aspect-ratio: 4 / 3; }
.insight-related-grid .figma-news-card > small { display: block; }
.insight-all-link:focus-visible { outline: 2px solid var(--text-primary); outline-offset: 4px; border-radius: 4px; }
/* Scale the article summary with the shared hero breakpoint. */
@media (max-width: 1279px) {
  .insight-article-summary {
    font-size: var(--regel-body-lg-size);
    line-height: var(--regel-body-lg-line);
    letter-spacing: var(--regel-body-lg-tracking);
    font-weight: var(--regel-type-body-weight);
  }
}
@media (max-width: 1000px) {
  .insight-article-page > .insight-article { margin-top: 40px; }
  .insight-article-cover { margin-top: 40px; }
  .insight-article-reading { margin-top: 48px; }
  .insight-article-page > .insight-related { margin-top: 80px; }
}
@media (max-width: 600px) {
  :root #prototype-main > .insight-article-page { padding-top: 24px; }
  .insight-article-page { padding-bottom: 64px; }
  .insight-article-header { text-align: left; }
  .insight-article-meta { justify-content: flex-start; }
  :root #prototype-main .insight-article .insight-article-header h1 { margin-top: 16px; text-wrap: wrap; }
  .insight-article-summary { margin-top: 16px; }
  .insight-article-cover { margin-top: 32px; }
  .insight-article-reading { margin-top: 32px; }
  .insight-article-body { margin-top: 24px; }
  .insight-article-action { margin-top: 32px; }
  .insight-article-page > .insight-related { margin-top: 64px; padding-top: 32px; }
  .insight-related-heading { flex-wrap: wrap; gap: 16px; }
  .insight-related-heading > h2 { font-size: var(--regel-heading-sm-size); line-height: var(--regel-heading-sm-line); letter-spacing: var(--regel-heading-sm-tracking); font-weight: var(--regel-type-heading-weight); }
  .insight-related-grid { margin-top: 24px; }
  .insight-related-grid > article { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .insight-all-link { transition: none; }
}
