/*
Theme Name: Cyberdesignz
Theme URI: https://www.cyberdesignz.com/
Author: Cyberdesignz
Description: Minimal, clean theme for Cyberdesignz content rebuild.
Version: 1.0.0
Text Domain: cyberdesignz
*/

:root {
	--maxw: 960px;
	--pad: 24px;
	--text: #111;
	--muted: #555;
	--border: #e6e6e6;
	--bg: #fff;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
}

a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }

.container {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 var(--pad);
}

.site-header {
	border-bottom: 1px solid var(--border);
}

.header-inner {
	display: flex;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	padding: 18px 0;
}

.site-title {
	font-size: 18px;
	font-weight: 650;
	letter-spacing: 0.2px;
	margin: 0;
}

.site-title a { text-decoration: none; }

.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }

.nav ul {
	list-style: none;
	display: flex;
	gap: 14px;
	padding: 0;
	margin: 0;
	flex-wrap: wrap;
	justify-content: flex-end;
}

main { padding: 32px 0 56px; }

h1, h2, h3 {
	line-height: 1.25;
	margin: 0 0 12px;
}

h1 { font-size: 32px; }
h2 { font-size: 22px; margin-top: 28px; }
h3 { font-size: 18px; margin-top: 18px; }

p { margin: 0 0 14px; }

.meta {
	color: var(--muted);
	font-size: 14px;
	margin-bottom: 22px;
}

hr { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }

.figure, figure { margin: 18px 0; }
figure img { max-width: 100%; height: auto; display: block; }
figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; }

.post-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

.post-card {
	border: 1px solid var(--border);
	padding: 14px 16px;
	border-radius: 10px;
}

.post-card a { text-decoration: none; }
.post-card a:hover { text-decoration: underline; }

.category-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 14px;
}

.category-card {
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 14px 16px;
}

.category-card a { text-decoration: none; }
.category-card a:hover { text-decoration: underline; }

.site-footer {
	border-top: 1px solid var(--border);
	padding: 22px 0;
	color: var(--muted);
	font-size: 14px;
}

@media (max-width: 720px) {
	.header-inner { flex-direction: column; align-items: flex-start; }
	.nav ul { justify-content: flex-start; }
	.category-grid { grid-template-columns: 1fr; }
}
