/* GoConsent theme - Changelog (template-goconsent-changelog.php). */

.changelog h4 {
	display: inline-block;
	margin: 2.2em 0 0.6em;
	padding: 4px 14px;
	border-radius: var(--site-radius-pill);
	background: var(--site-brand-soft);
	color: var(--site-brand-deep);
	font-size: var(--site-size-md);
}

.changelog h4:first-child {
	margin-top: 0;
}

.changelog ul {
	margin-top: 0;
	padding-bottom: 1.4em;
	border-bottom: 1px solid var(--site-border);
}

/* 1.0.11: one section per version, with its release date (from the signed Release Archive). */
.changelog-entry { padding-bottom: 1.4em; border-bottom: 1px solid var(--site-border); }
.changelog-entry + .changelog-entry { margin-top: 2.2em; }
.changelog-entry ul { margin: 0.8em 0 0; padding-bottom: 0; border-bottom: 0; }
.changelog .changelog-ver {
	display: inline-block;
	margin: 0;
	padding: 4px 14px;
	border-radius: var(--site-radius-pill);
	background: var(--site-brand-soft);
	color: var(--site-brand-deep);
	font-size: var(--site-size-md);
	line-height: 1.4;
}
.changelog .changelog-date { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 0.5em 0 0; color: var(--site-text-muted); font-size: 0.9em; }
.changelog-sha code { font-size: 0.92em; background: none; padding: 0; color: inherit; }
.changelog-pro {
	display: inline-block;
	margin-right: 4px;
	padding: 1px 8px;
	border-radius: var(--site-radius-pill);
	background: var(--site-text);
	color: var(--site-bg);
	font-size: 0.75em;
	font-weight: 700;
	letter-spacing: 0.02em;
	vertical-align: 0.1em;
}
.changelog-key { margin: 0 0 1.6em; color: var(--site-text-muted); }
