/* Page */
main { padding: 40px 0 80px; }
.c-chapter .c-note a, .c-credit a { color: inherit; text-decoration: underline; }
.c-credit { margin: 0 0 40px; font-size: 0.85rem; color: var(--text-muted); }

/* Breadcrumbs */
.c-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; font-size: 0.85rem; color: var(--text-muted); }
.c-crumbs a { color: var(--text-light); }
.c-crumbs a:hover { color: var(--header-link-hover); }

/* OS title with logo */
.c-ostitle { display: flex; align-items: center; gap: 16px; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.c-ostitle .logo { width: clamp(32px, 4vw, 44px); height: clamp(32px, 4vw, 44px); object-fit: contain; flex-shrink: 0; }

/* Status badge */
.c-statusbadge { display: inline-block; padding: 0.15em 0.6em; border-radius: var(--radius-full); font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; white-space: nowrap; }
.c-statusbadge.active { background: var(--state-ok-bg); color: var(--state-ok-text); }
.c-statusbadge.maintenance { background: var(--state-warn-bg); color: var(--state-warn-text); }
.c-statusbadge.end_of_life { background: var(--state-risk-bg); color: var(--state-risk-text); }

/* Status legend */
.c-statuslegend { display: grid; gap: 10px; margin: 0; }
.c-statuslegend > div { display: flex; align-items: baseline; gap: 14px; }
.c-statuslegend dt { flex-shrink: 0; width: 8.5em; }
.c-statuslegend dd { margin: 0; color: var(--text-light); }

/* OS grid (index) */
.c-osgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0 0 56px; }
.c-osgrid .card { display: block; padding: 22px 24px; border: 1px solid var(--border); border-radius: var(--radius-large); background: var(--surface); transition: transform 0.2s ease, border-color 0.2s ease; }
.c-osgrid .card:hover { transform: translateY(-2px); border-color: var(--accent); }
.c-osgrid .card h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 1.15rem; }
.c-osgrid .card .logo { width: 24px; height: 24px; object-fit: contain; }
.c-osgrid .card ul { margin: 0; padding: 0; list-style: none; }
.c-osgrid .card li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; border-top: 1px solid var(--border); font-size: 0.9rem; color: var(--text-light); }
@media screen and (max-width: 991px) {
	.c-osgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 575px) {
	.c-osgrid { grid-template-columns: 1fr; }
}

/* Release summary */
.c-releasesummary { max-width: 72ch; margin: 8px 0 48px; }
.c-releasesummary .answer { margin: 0 0 24px; font-size: 1.1rem; line-height: 1.6; color: var(--text-light); }
.c-releasesummary .answer strong { color: var(--text-dark); font-weight: 600; }
.c-releasesummary .facts { display: flex; flex-wrap: wrap; gap: 1px; margin: 0 0 24px; border: 1px solid var(--border); border-radius: var(--radius-large); background: var(--border); overflow: hidden; }
.c-releasesummary .facts > div { flex: 1 1 150px; padding: 14px 16px; background: var(--surface); }
.c-releasesummary .facts dt { margin-bottom: 4px; font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.c-releasesummary .facts dd { margin: 0; color: var(--text-dark); font-size: 0.95rem; }
.c-releasesummary .success { color: var(--state-ok-text); }
.c-releasesummary .muted { color: var(--text-muted); }

/* Lifecycle bar (release -> end of active support -> end of life) */
.c-lifecycle .bar { position: relative; display: flex; height: 10px; border-radius: var(--radius-full); background: var(--surface-muted); }
.c-lifecycle .bar .active { background: var(--state-ok-text); border-radius: var(--radius-full) 0 0 var(--radius-full); opacity: 0.75; }
.c-lifecycle .bar .maintenance { background: var(--state-warn-text); border-radius: 0 var(--radius-full) var(--radius-full) 0; opacity: 0.75; }
.c-lifecycle .bar .today { position: absolute; top: -5px; width: 2px; height: 20px; margin-left: -1px; background: var(--text-dark); }
.c-lifecycle .labels { position: relative; display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); }
.c-lifecycle .labels .today { position: absolute; transform: translateX(-50%); color: var(--text-dark); }

/* Not-tracked notice */
.c-unsupported { padding: 14px 18px; border-left: 3px solid var(--state-warn-text); border-radius: var(--radius-medium); background: var(--state-warn-bg); }
.c-chapter .c-unsupported strong { color: var(--text-dark); }

/* Call to action */
.c-oscta { max-width: 72ch; margin-top: 16px; padding: 28px 32px; border: 1px solid var(--border); border-radius: var(--radius-large); background: var(--surface); }
.c-oscta h2 { margin: 0 0 8px; font-size: 1.3rem; }
.c-oscta p { margin: 0 0 20px; color: var(--text-light); line-height: 1.6; }
