:root {
	--background: #051424;
	--surface: #122131;
	--surface-high: #1c2b3c;
	--line: rgba(0, 222, 233, 0.2);
	--text: #d4e4fa;
	--text-muted: #8ca4be;
	--brand: #7df4ff;
	--accent: #d0bcff;
	--max-width: 1280px;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
}

body.devarchitect-body {
	background: var(--background);
	color: var(--text);
	font-family: Inter, sans-serif;
	background-image:
		linear-gradient(rgba(0, 222, 233, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 222, 233, 0.03) 1px, transparent 1px);
	background-size: 32px 32px;
}

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

.container {
	width: min(100% - 2rem, var(--max-width));
	margin: 0 auto;
}

.top-nav {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 50;
	height: 64px;
	background: rgba(2, 10, 18, 0.82);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}

.nav-inner {
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.brand {
	font-size: 1.15rem;
	font-weight: 900;
	letter-spacing: 0.02em;
	color: var(--brand);
	text-transform: uppercase;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.nav-links a {
	color: #9fb0c2;
	font-size: 0.9rem;
	font-weight: 500;
	padding-bottom: 2px;
	border-bottom: 2px solid transparent;
}

.nav-links a.active,
.nav-links a:hover {
	color: var(--brand);
	border-bottom-color: var(--brand);
}

.nav-icons {
	display: flex;
	gap: 0.4rem;
	color: #8fa2b6;
}

.layout {
	width: min(100% - 2rem, var(--max-width));
	margin: 0 auto;
	padding-top: 112px;
	padding-bottom: 64px;
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 24px;
}

.profile-column {
	position: relative;
}

.profile-card {
	position: sticky;
	top: 84px;
	padding: 2rem;
	background: rgba(18, 33, 49, 0.4);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(0, 222, 233, 0.12);
	border-top: 2px solid rgba(125, 244, 255, 0.45);
}

.avatar-wrap {
	width: 96px;
	height: 96px;
	margin-bottom: 1rem;
	border: 1px solid rgba(125, 244, 255, 0.55);
}

.avatar-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(30%) contrast(120%);
}

.profile-card h2 {
	margin: 0;
	color: var(--brand);
	font-size: 1.4rem;
}

.profile-card .role {
	margin: 0.3rem 0 0.9rem;
	font-family: "Space Grotesk", monospace;
	font-size: 0.72rem;
	text-transform: uppercase;
	color: var(--text-muted);
	letter-spacing: 0.08em;
}

.profile-card .bio {
	color: #bdd0e4;
	line-height: 1.65;
	margin: 0;
}

.skill-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
}

.skill-list span {
	display: inline-block;
	font-size: 0.65rem;
	font-family: "Space Grotesk", monospace;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--accent);
	background: rgba(208, 188, 255, 0.13);
	border-left: 2px solid var(--accent);
	padding: 0.32rem 0.5rem;
}

.profile-actions {
	padding-top: 1rem;
	margin-top: 1rem;
	border-top: 1px solid rgba(0, 222, 233, 0.16);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}

.social-icons {
	display: flex;
	gap: 0.35rem;
	color: var(--brand);
}

.follow-btn {
	font-family: "Space Grotesk", monospace;
	font-size: 0.66rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	border: 1px solid rgba(125, 244, 255, 0.7);
	padding: 0.4rem 0.55rem;
	color: var(--brand);
}

.feed-header {
	margin-bottom: 2rem;
}

.feed-header h1 {
	margin: 0;
	font-size: clamp(2.1rem, 3.5vw, 3.1rem);
	line-height: 1.08;
}

.feed-header p {
	margin: 0.8rem 0 0;
	color: var(--text-muted);
	max-width: 740px;
	font-size: 1.06rem;
	line-height: 1.55;
}

.content-column {
	min-width: 0;
}

.post-card,
.single-post {
	display: grid;
	grid-template-columns: minmax(200px, 32%) 1fr;
	gap: 0;
	overflow: hidden;
	margin-bottom: 24px;
	background: rgba(18, 33, 49, 0.4);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(0, 222, 233, 0.12);
	border-top: 2px solid rgba(125, 244, 255, 0.3);
}

.post-card:hover {
	border-top-color: rgba(125, 244, 255, 0.72);
	box-shadow: 0 0 20px rgba(0, 222, 233, 0.2);
}

.post-empty {
	grid-template-columns: 1fr;
	padding: 1.4rem;
}

.post-cover {
	display: block;
	min-height: 212px;
	background: #0f1f2f;
}

.post-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cover-placeholder {
	height: 100%;
	min-height: 212px;
	background:
		radial-gradient(circle at 30% 25%, rgba(125, 244, 255, 0.35), transparent 55%),
		linear-gradient(160deg, #172a3b, #101f30 55%, #0c1824);
}

.post-body {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1rem;
}

.post-category {
	display: inline-block;
	margin-bottom: 0.8rem;
	font-family: "Space Grotesk", monospace;
	font-size: 0.62rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--accent);
	border-left: 2px solid var(--accent);
	background: rgba(208, 188, 255, 0.13);
	padding: 0.22rem 0.45rem;
}

.post-body h3 {
	margin: 0;
	font-size: 1.45rem;
	line-height: 1.3;
}

.post-body h3 a:hover {
	color: var(--brand);
}

.post-body p {
	margin: 0.65rem 0 0;
	color: #b8ccdf;
	line-height: 1.58;
}

.post-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 0.75rem;
}

.post-meta span {
	font-size: 0.68rem;
	font-family: "Space Grotesk", monospace;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-muted);
}

.detail-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.55rem 0.85rem;
	background: var(--brand);
	color: #052330;
	font-weight: 700;
	font-family: "Space Grotesk", monospace;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.07em;
}

.detail-btn .material-symbols-outlined {
	font-size: 1rem;
}

.single-post {
	grid-template-columns: 1fr;
	padding: 0;
}

.single-cover img {
	width: 100%;
	max-height: 430px;
	object-fit: cover;
	display: block;
}

.single-header {
	padding: 2rem 2rem 0.6rem;
}

.single-header h1 {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3rem);
}

.single-meta {
	margin-top: 0.8rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	color: var(--text-muted);
	font-size: 0.86rem;
}

.single-content {
	padding: 0 2rem 2rem;
	line-height: 1.7;
	color: #cae1f7;
}

.single-content img,
.single-content video {
	max-width: 100%;
	height: auto;
}

.single-tags {
	padding: 0 2rem 2rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.single-tags a {
	font-size: 0.72rem;
	padding: 0.35rem 0.55rem;
	border: 1px solid rgba(125, 244, 255, 0.4);
	color: var(--brand);
}

.pagination-wrap {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 1rem;
}

.pagination-wrap a {
	padding: 0.58rem 1rem;
	border: 1px solid rgba(125, 244, 255, 0.42);
	color: var(--brand);
	font-family: "Space Grotesk", monospace;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.site-footer {
	border-top: 1px solid rgba(0, 222, 233, 0.14);
	background: rgba(2, 10, 18, 0.8);
	margin-top: 1rem;
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 2rem 0;
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #8ba0b6;
}

.footer-links {
	display: flex;
	gap: 1rem;
}

.footer-links a:hover {
	color: var(--brand);
}

@media (max-width: 980px) {
	.nav-links {
		display: none;
	}

	.layout {
		grid-template-columns: 1fr;
	}

	.profile-card {
		position: static;
	}
}

@media (max-width: 720px) {
	.post-card {
		grid-template-columns: 1fr;
	}

	.footer-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}
