:root {
	--headings: #5C8EFF;        /* keep — strong and bright */
	--links: #A5C0FF;           /* slightly lighter, stands apart from headings */
	--highlight: #41C7C7;       /* good as-is */
	--bg: #1A1E26;              /* good */
	--bg-secondary: #242933;    /* just a bit darker than before */
	--text: #E0E5E9;            /* slightly lighter for readability */
	--text-secondary: #90949C;  /* more subtle secondary tone */
	--code-text: #B4C4FF;       /* bit softer than links */
	--share-text: #6A727C;         /* dimmed for footer or less important */
	--color-accent: var(--links);
	--color-accent-active: #4872D1;
	--max-width: 760px;
}

body {
	font-family: sans-serif;
	margin: 0;
	padding: 0;
	line-height: 1.6;
	background: var(--bg);
	color: var(--text);
	max-width: var(--max-width);
	position: relative;
}

html, body {
}

body {
	max-width: var(--max-width);
	min-height: 100%;
	margin: 2rem auto;
	position: relative;
	line-height: 1.2;
	overflow-wrap: break-word;
}

.content {
	text-align: justify;
}

.container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 1.5em;
	padding-bottom: 4rem;
}

header {
	margin-bottom: 2em;
}

h1, h2 {
	color: var(--headings);
}

.subtitle {
	margin-top: 0.2em;
	color: var(--text-secondary);
}

nav {
	margin-top: 0.5em;
	margin-bottom: 1.5em;

	display: flex;
	justify-content: space-between;
	align-items: center;
}

nav a {
	margin-right: 1em;
	text-decoration: none;
	color: var(--links);
}

section {
	margin-bottom: 2em;
}

.card-list {
	list-style: none;
	padding: 0;
	display: grid;
	gap: 1em;
}

.card {
	padding: 1em;
	border: 1px solid var(--bg-secondary);
	border-radius: 5px;
	background: var(--bg-secondary);
	transition: background 0.2s;
}

.card:hover {
	background: #3b4251;
}

.card a {
	text-decoration: none;
	color: inherit;
}

.card strong {
	color: var(--highlight);
}

.post-list {
	list-style: none;
	padding: 0;
}

.post-list li {
	margin-bottom: 0.5em;
}

.post-list a {
	color: var(--links);
	text-decoration: none;
}

.post-list a:hover {
	text-decoration: underline;
}

.date {
	display: inline-block;
	margin-left: 0.5em;
	color: var(--text-secondary);
	font-size: 0.9em;
}

footer {
	margin-top: 4em;
	text-align: center;
	font-size: 0.9em;
	color: var(--text-secondary);
}

footer a {
	color: var(--links);
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

.small {
	font-size: 0.8em;
	color: var(--share-text);
	margin-top: 0.5em;
}

.dashed {
	border-top: 1px var(--text) dashed;
	margin: 1.5em 0;
}



a {
	color: var(--color-accent);
	text-decoration: none;
}
a:hover, a:active {
	color: var(--color-accent-active);
}

figcaption {
	text-align: center;
	font-size: 0.9rem;
	color: var(--color-muted-text);
	padding-top: 0.5rem;
	font-style: italic;
}

img {
	max-width: 100%;
	display: block;
	margin: auto;
	border-radius: var(--border-radius);
}


