/* Insights: the articles brought across from the old site, and the index that lists them.
   Same type and colours as the inner pages; the article column is set for reading. */
.art-head, .art-body, .art-more { max-width: 760px; margin-inline: auto; }
.art-crumb { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); align-items: baseline; margin-bottom: var(--s4); }
.art-crumb .eyebrow { margin: 0; }
.art-crumb a.eyebrow { text-decoration: none; color: var(--accent); }
.art-crumb a.eyebrow:hover { color: var(--ink); }
.art-crumb .eyebrow + .eyebrow::before { content: "/"; margin-right: var(--s3); color: var(--line); }
.art-h1 { margin: 0; font: 300 clamp(32px, 3.4vw, 48px)/1.12 var(--font-display); letter-spacing: -.01em; text-wrap: balance; }
.art-meta { margin: var(--s4) 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.art-photo { max-width: 1040px; margin: var(--s7) auto 0; }
.art-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1024 / 538; object-fit: cover; border-radius: var(--radius-md); background: var(--surface); }

.art-body { margin-top: var(--s7); font-size: 17px; line-height: 1.7; }
.art-body > :first-child { margin-top: 0; }
.art-body p, .art-body ul, .art-body ol, .art-body blockquote { margin: 0 0 var(--s5); max-width: 68ch; text-wrap: pretty; }
.art-body p, .art-body li { color: var(--muted); }
.art-body strong { color: var(--ink); font-weight: 500; }
.art-body h2 { margin: var(--s8) 0 var(--s4); font: 300 clamp(24px, 2.2vw, 30px)/1.2 var(--font-display); letter-spacing: -.005em; color: var(--ink); text-wrap: balance; }
.art-body h3 { margin: var(--s6) 0 var(--s2); font: 400 19px/1.35 var(--font-display); color: var(--ink); }
.art-body h2 + h3 { margin-top: var(--s4); }
.art-body ul, .art-body ol { padding-left: 1.2em; }
.art-body li { margin-bottom: var(--s2); padding-left: var(--s1); }
.art-body li::marker { color: var(--accent); }
.art-body a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--accent); }
.art-body a:hover { color: var(--accent); }
.art-body img { display: block; width: 100%; height: auto; margin: var(--s6) 0; border-radius: var(--radius-md); }
.art-body table { width: 100%; margin: 0 0 var(--s5); border-collapse: collapse; font-size: 15px; }
.art-body th, .art-body td { padding: var(--s2) var(--s3) var(--s2) 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }

.art-end { margin-top: var(--s8); padding-top: var(--s6); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: var(--s4) var(--s6); justify-content: space-between; align-items: center; }
.art-end p { margin: 0; max-width: 44ch; color: var(--muted); }
.art-more { max-width: 1280px; }
.art-more .h2 { margin-bottom: var(--s6); }

/* Cards: photo, category, title, date. Used on the index and under each article. */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s7) var(--s5); }
.card a { display: block; color: var(--ink); text-decoration: none; }
.card img { display: block; width: 100%; height: auto; aspect-ratio: 1024 / 538; object-fit: cover; border-radius: var(--radius-md); background: var(--surface); transition: opacity .2s ease-out; }
.card small { display: block; margin-top: var(--s4); font: 400 13px/1.3 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.card b { display: block; margin-top: var(--s2); font: 400 20px/1.3 var(--font-display); text-wrap: balance; }
.card span { display: block; margin-top: var(--s2); font-size: 14px; line-height: 1.5; color: var(--muted); }
.card a:hover img { opacity: .86; }
.card a:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.card a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: var(--radius-sm); }
.ins-head { margin-bottom: var(--s8); }
.ins-head .lead { margin-top: var(--s2); }

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; gap: var(--s6); }
  .art-body { font-size: 16px; }
  .art-photo { margin-top: var(--s6); }
  .art-photo img { border-radius: var(--radius-sm); }
}
