/* The changelog (templates/changelog/), after changelog.qgis.org; tokens from site.css */
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 system-ui, sans-serif; }
a { color: inherit; }
.changelog { max-width: 820px; margin: 0 auto; padding: 24px var(--gutter) 48px; }
.changelog h1 { font-size: clamp(28px, 5vw, 38px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 8px; }
.changelog .lead { color: var(--fg-secondary); font-size: 18px; margin: 0 0 28px; }
.breadcrumb { color: var(--fg-tertiary); font-size: 14px; margin-bottom: 16px; }
.breadcrumb a { color: inherit; }

/* The list: a card per release */
.releases { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.release-card { display: grid; grid-template-columns: 220px 1fr; gap: 18px; padding: 14px; border-radius: 14px;
  background: var(--bg-elevated); border: 1px solid var(--border); text-decoration: none; transition: border-color .15s; }
.release-card:hover { border-color: var(--accent); }
.release-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 10px;
  background: var(--bg-surface); }
.release-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.release-title { font-size: 20px; font-weight: 700; }
.release-card time, .release-date { color: var(--fg-tertiary); font-size: 14px; }
.release-summary { color: var(--fg-secondary); }
.release-areas { color: var(--fg-tertiary); font-size: 13px; margin-top: auto; }
@media (max-width: 36em) { .release-card { grid-template-columns: 1fr; } }

/* A release */
.release-date { margin: 0 0 16px; }
.release-cover { display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: top;
  border-radius: 12px; border: 1px solid var(--border); margin: 0 0 20px; } /* a banner: the top of the screenshot */
.release-contents { margin: 0 0 32px; padding: 12px 16px; border-radius: 12px; background: var(--bg-surface); }
.release-contents ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.release-contents .count { color: var(--fg-tertiary); font-size: 13px; }
.release-notes h2 { font-size: 24px; margin: 40px 0 8px; padding-top: 16px; border-top: 1px solid var(--border);
  scroll-margin-top: 80px; }
.release-notes h3 { font-size: 18px; margin: 24px 0 6px; scroll-margin-top: 80px; }
.release-notes p, .release-notes li { color: var(--fg-secondary); }
.release-notes a { color: var(--fg); }
/* Screenshots at most a screen's height (taken on narrow screens, many are tall) */
.release-notes img { display: block; width: auto; max-width: 100%; max-height: min(560px, 80vh); height: auto;
  margin: 12px 0 4px; border-radius: 10px; border: 1px solid var(--border); }
.release-notes code { font-size: .9em; background: var(--bg-surface); padding: 1px 5px; border-radius: 4px; }
.release-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 16px;
  border-top: 1px solid var(--border); }
