:root {
	/* Modern CSS Custom Properties with improved naming */
	--nb-bg: #ffffff; /* neutral white base */
	--nb-fg: #0b0b0b; /* near-black text */
	--nb-accent: #111111; /* primary border/ink */
	--nb-accent-contrast: #ffffff;
	--nb-blue: #bcd6ff; /* neobrutal blue */
	--nb-green: #c7f7b6; /* neobrutal green */
	--nb-yellow: #ffe58f; /* neobrutal yellow */
	--nb-muted: #eef3ff; /* subtle blue-tinted muted */
	--nb-card: #ffffff;
	--nb-shadow: #111111;
	--nb-grid: rgba(0, 0, 0, 0.1);
	--nb-htb-bg: #ffebee; /* light red for htb tags */
	--nb-ism-bg: #e3f2fd; /* light blue for ism tags */
	--nb-red: #ff6b6b;
	--nb-red-light: rgba(255, 107, 107, 0.1);
	--nb-green: #51cf66;
	--nb-yellow: #ffd43b;
	--nb-blue: #339af0;
	--nb-blue-light: rgba(51, 154, 240, 0.1);
	--nb-orange: #ffa726; /* orange for personal tags */
	--nb-blue-alt: #64b5f6; /* different blue for blue tags */
	
	/* Modern spacing system */
	--nb-space-xs: 0.25rem;   /* 4px */
	--nb-space-sm: 0.5rem;    /* 8px */
	--nb-space-md: 1rem;      /* 16px */
	--nb-space-lg: 1.5rem;    /* 24px */
	--nb-space-xl: 2rem;      /* 32px */
	--nb-space-2xl: 3rem;     /* 48px */
	--nb-space-3xl: 4rem;     /* 64px */
	
	/* Modern border radius system */
	--nb-radius-sm: 0.25rem;  /* 4px */
	--nb-radius-md: 0.5rem;   /* 8px */
	--nb-radius-lg: 0.75rem;  /* 12px */
	--nb-radius-xl: 1rem;     /* 16px */
	
	/* Modern shadow system */
	--nb-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--nb-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--nb-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	--nb-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	
	/* Modern transition system */
	--nb-transition-fast: 150ms ease-in-out;
	--nb-transition-normal: 250ms ease-in-out;
	--nb-transition-slow: 350ms ease-in-out;
	
	/* Modern breakpoints for container queries */
	--nb-breakpoint-sm: 640px;
	--nb-breakpoint-md: 768px;
	--nb-breakpoint-lg: 1024px;
	--nb-breakpoint-xl: 1280px;
	--nb-breakpoint-2xl: 1536px;
}

.theme-dark {
	--nb-bg: #0d0d0d;
	--nb-fg: #ffffff;
	--nb-accent: #ffffff;
	--nb-accent-contrast: #0d0d0d;
	--nb-blue: #7aa7ff;
	--nb-green: #a8e6cf;
	--nb-yellow: #ffd93d;
	--nb-muted: #1a1a1a;
	--nb-card: #1a1a1a;
	--nb-shadow: #000000;
	--nb-grid: rgba(255, 255, 255, 0.1);
	--nb-htb-bg: #2d1b1b; /* dark red for htb tags */
	--nb-ism-bg: #1b2d3d; /* dark blue for ism tags */
	--nb-orange: #ffb74d; /* darker orange for dark theme */
	--nb-blue-alt: #42a5f5; /* darker blue-alt for dark theme */
	--nb-red: #ef5350; /* darker red for dark theme */
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
	margin: 0;
	background:
		linear-gradient(to right, var(--nb-grid) 2px, transparent 2px),
		linear-gradient(to bottom, var(--nb-grid) 2px, transparent 2px),
		var(--nb-bg);
	background-size: 20px 20px;
	color: var(--nb-fg);
	font-family: 'Red Hat Text', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.6;
}

/* Better typography */
p {
	margin: 0 0 24px 0;
	line-height: 1.6;
}

ul, ol {
	margin: 0 0 24px 0;
	padding-left: 20px;
}

li {
	margin-bottom: 4px;
}

/* Blog post content styling */
.nb-prose {
	max-width: 100%;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

.nb-prose img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 24px auto;
	border: 3px solid var(--nb-shadow);
	border-radius: 8px;
	box-shadow: 6px 6px 0 0 var(--nb-shadow);
	background: var(--nb-card);
}

.nb-prose img:hover {
	transform: translateY(-2px);
	box-shadow: 8px 8px 0 0 var(--nb-shadow);
	transition: all 0.2s ease;
}

/* Responsive image containers */
.nb-prose figure {
	margin: 24px 0;
	text-align: center;
}

.nb-prose figure img {
	margin: 0 auto;
}

.nb-prose figure figcaption {
	margin-top: 8px;
	font-size: 0.9rem;
	color: var(--nb-muted);
	font-style: italic;
}

/* Code block styling */
.nb-prose pre {
	max-width: 100%;
	overflow-x: auto;
	white-space: pre-wrap;
	word-wrap: break-word;
}

.nb-prose code {
	background: var(--nb-muted);
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 0.9em;
	color: var(--nb-fg);
}

.nb-prose pre code {
	background: none;
	padding: 0;
	color: #ffffff;
}

.nb-header-bar { position: sticky; top: 0; z-index: 50; background: var(--nb-bg); border-bottom: 3px solid var(--nb-shadow); }

/* ===== MODERN MOBILE-FIRST RESPONSIVE DESIGN ===== */

/* Base styles (mobile-first) */
.nb-container { 
	padding: var(--nb-space-md); 
}

.nb-prose img {
	margin: var(--nb-space-md) auto;
	border-width: 2px;
	box-shadow: 4px 4px 0 0 var(--nb-shadow);
}

.nb-prose img:hover {
	transform: none;
	box-shadow: 4px 4px 0 0 var(--nb-shadow);
}

/* Small screens and up (640px+) */
@media (min-width: 640px) {
	.nb-container { 
		padding: var(--nb-space-lg); 
	}
	
	.nb-prose img {
		margin: var(--nb-space-lg) auto;
		border-width: 3px;
		box-shadow: 6px 6px 0 0 var(--nb-shadow);
	}
	
	.nb-prose img:hover {
		transform: translateY(-2px);
		box-shadow: 8px 8px 0 0 var(--nb-shadow);
	}
}

/* Medium screens and up (768px+) */
@media (min-width: 768px) {
	.nb-container { 
		padding: var(--nb-space-xl); 
	}
	
	/* Desktop header layout */
	.nb-header-bar { 
		position: sticky; 
		top: 0; 
		z-index: 50; 
		background: var(--nb-bg); 
		border-bottom: 3px solid var(--nb-shadow); 
	}
	
	.nb-header { 
		height: 64px; 
		flex-direction: row; 
		gap: var(--nb-space-xl); 
		padding: 0; 
		min-height: 64px;
	}
	
	.nb-nav { 
		gap: var(--nb-space-xl); 
		justify-content: flex-start;
	}
	
	.nb-header-actions { 
		gap: var(--nb-space-md); 
		justify-content: flex-end;
		flex-wrap: nowrap;
	}
}

/* Large screens and up (1024px+) */
@media (min-width: 1024px) {
	.nb-container { 
		padding: var(--nb-space-xl); 
		max-width: 1100px;
	}
}

/* Extra large screens and up (1280px+) */
@media (min-width: 1280px) {
	.nb-container { 
		padding: var(--nb-space-2xl); 
	}
}
.nb-header { display: flex; justify-content: space-between; align-items: center; height: 64px; gap: 24px; }
.nb-brand { text-decoration: none; }
.nb-logo { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 3px solid var(--nb-shadow); background: var(--nb-blue); color: #111; font-weight: 900; font-size: 20px; box-shadow: 4px 4px 0 0 var(--nb-shadow); }
.nb-nav { display: flex; gap: 32px; align-items: center; }
.nb-link { color: var(--nb-fg); text-decoration: none; font-weight: 700; padding: 0; transition: all 0.2s ease; }
.nb-link:hover { transform: translateY(-2px); }
.nb-header-actions { display: flex; align-items: center; gap: 12px; }

/* Buttons */
.nb-button { background: var(--nb-blue); color: #111; border: 3px solid var(--nb-shadow); box-shadow: 4px 4px 0 0 var(--nb-shadow); padding: 10px 16px; font-weight: 800; cursor: pointer; text-decoration: none; transition: all 0.2s ease; }
.nb-button:active { box-shadow: 0 0 0 0 var(--nb-shadow); transform: translate(4px,4px); }
.nb-button--active { background: var(--nb-fg); color: var(--nb-bg); }

/* Search pill */
.nb-search { display: inline-flex; align-items: center; gap: 8px; }
.nb-search.nb-pill { background: var(--nb-card); border: 3px solid var(--nb-shadow); box-shadow: 4px 4px 0 0 var(--nb-shadow); padding: 8px 16px; height: 44px; border-radius: 8px; }
.nb-search-icon { font-size: 16px; line-height: 1; }
.nb-input { width: 100%; padding: 10px 12px; border: 3px solid var(--nb-shadow); background: var(--nb-card); color: var(--nb-fg); box-shadow: 4px 4px 0 0 var(--nb-shadow); }
.nb-input-bare { border: none; box-shadow: none; background: transparent; padding: 0; font-weight: 700; color: var(--nb-fg); width: 140px; font-size: 14px; }
.nb-input-bare::placeholder { color: var(--nb-fg); opacity: 0.7; }
.nb-input-bare:focus { outline: none; }
.nb-input:focus { outline: none; border-color: var(--nb-blue); }
.nb-button:focus { outline: none; transform: translateY(-2px); }
.nb-link:focus { outline: none; transform: translateY(-2px); }
.nb-kbd { border: 2px solid var(--nb-shadow); background: var(--nb-muted); padding: 4px 8px; box-shadow: 2px 2px 0 0 var(--nb-shadow); font-weight: 700; border-radius: 6px; font-size: 12px; }
.nb-kbd-blue { background: var(--nb-blue); }
.nb-icon-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 3px solid var(--nb-shadow); background: var(--nb-card); box-shadow: 4px 4px 0 0 var(--nb-shadow); font-weight: 900; cursor: pointer; }
.nb-icon-btn:active { box-shadow: 0 0 0 0 var(--nb-shadow); transform: translate(4px,4px); }

/* Grid background is now baked into body background */

.nb-card { background: var(--nb-card); border: 3px solid var(--nb-shadow); box-shadow: 8px 8px 0 0 var(--nb-shadow); padding: 24px; transition: all 0.2s ease; }
.nb-card:hover { box-shadow: 10px 10px 0 0 var(--nb-yellow); }

/* Command palette */
.nb-palette { position: fixed; inset: 0; background: rgba(0,0,0,0.2); backdrop-filter: blur(1px); z-index: 100; }
.nb-palette-card { border-radius: 12px; }
.nb-list { list-style: none; padding: 0; margin: 0; }
.nb-list li { padding: 10px; border-bottom: 2px dashed var(--nb-shadow); }

/* Tags */
.nb-tag { 
	display: inline-block; 
	padding: 6px 12px; 
	border: 3px solid var(--nb-shadow); 
	background: var(--nb-blue); 
	color: #111; 
	font-weight: 800; 
	border-radius: 8px; 
	box-shadow: none; 
	transition: all 0.2s ease; 
	font-size: 0.875rem;
	line-height: 1;
	white-space: nowrap;
	margin: 2px 0;
	text-decoration: none;
}
.nb-tag:hover { 
	transform: translateY(-1px); 
	box-shadow: none; 
}
.nb-tag--blue { background: var(--nb-blue); }
.nb-tag--green { background: var(--nb-green); }
.nb-tag--yellow { background: var(--nb-yellow); }
.nb-tag--blue-alt { background: var(--nb-blue-alt); }
.nb-tag--orange { background: var(--nb-orange); }
.nb-tag--red { background: var(--nb-red); }

/* Tag container for better wrapping */
.nb-tag-container {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: flex-start;
	margin: 8px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 { 
	margin: 0; 
	font-weight: 900; 
	color: var(--nb-fg); 
	font-family: 'Red Hat Text', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
h1 { font-size: 2rem !important; }
h2 { font-size: 1.5rem !important; }
h3 { font-size: 1.25rem !important; }
h4 { font-size: 1.125rem !important; }

/* Post card titles */
.nb-card h2 { 
	font-size: 1.5rem !important; 
	font-weight: 900 !important; 
	margin: 0 !important; 
}

.post-title {
	font-size: 1.5rem !important;
	font-weight: 900 !important;
	margin: 0 !important;
	color: var(--nb-fg) !important;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
	line-height: 1.2 !important;
}

/* Force post titles to be large */
.nb-card .post-title,
.nb-card h2.post-title,
article .post-title,
.nb-card h2,
article h2 {
	font-size: 1.5rem !important;
	font-weight: 900 !important;
	margin: 0 !important;
	color: var(--nb-fg) !important;
	font-family: 'Red Hat Text', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
	line-height: 1.2 !important;
}

/* Override any other styles */
.nb-card h2,
.nb-card .post-title,
article h2,
article .post-title {
	font-size: 1.5rem !important;
	font-weight: 900 !important;
	margin: 0 !important;
	color: var(--nb-fg) !important;
	font-family: 'Red Hat Text', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
	line-height: 1.2 !important;
}

/* Code blocks */
pre { position: relative; margin: 24px 0; border: 3px solid var(--nb-shadow); background: var(--nb-muted); box-shadow: 8px 8px 0 0 var(--nb-shadow); padding: 24px; overflow: auto; }
pre code { background: transparent; padding: 0; display: block; color: #ffffff; font-family: inherit; font-size: 0.95rem; }

/* HTB Machine Overview */
.machine-overview {
	margin: 24px 0;
	padding: 24px;
	background: var(--nb-card);
	border: 3px solid var(--nb-shadow);
	border-radius: 12px;
	box-shadow: 8px 8px 0 0 var(--nb-shadow);
}

.overview-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
}

.overview-item {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px;
	background: var(--nb-muted);
	border: 2px solid var(--nb-shadow);
	border-radius: 8px;
	box-shadow: 4px 4px 0 0 var(--nb-shadow);
}

.overview-label {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--nb-fg);
	opacity: 0.8;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.overview-value {
	font-size: 1.1rem;
	font-weight: 900;
	color: var(--nb-fg);
}

/* Difficulty colors */
.difficulty-easy {
	color: #51cf66;
}

.difficulty-medium {
	color: #ffd43b;
}

.difficulty-hard {
	color: #ff6b6b;
}

.difficulty-insane {
	color: #cc5de8;
}

/* Status colors */
.status-active {
	color: #51cf66;
}

.status-retired {
	color: #868e96;
}

@media (max-width: 768px) {
	.overview-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	
	.overview-item {
		padding: 12px;
	}
}
.nb-copy { position: absolute; top: 8px; right: 8px; background: var(--nb-blue); color: #111; border: 3px solid var(--nb-shadow); box-shadow: 3px 3px 0 0 var(--nb-shadow); padding: 4px 8px; font-weight: 800; cursor: pointer; }
.nb-copy:active { box-shadow: 0 0 0 0 var(--nb-shadow); transform: translate(3px,3px); }

/* Final override for post titles - highest specificity */
.nb-card h2.post-title,
.nb-card article h2,
.nb-card .post-title,
article.nb-card h2,
article.nb-card .post-title {
	font-size: 1.5rem !important;
	font-weight: 900 !important;
	margin: 0 !important;
	color: var(--nb-fg) !important;
	font-family: 'Red Hat Text', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
	line-height: 1.2 !important;
}

/* Ultimate override - target everything */
.nb-card h2,
.nb-card .post-title,
article h2,
article .post-title,
h2.post-title {
	font-size: 1.5rem !important;
	font-weight: 900 !important;
	margin: 0 !important;
	color: var(--nb-fg) !important;
	font-family: 'Red Hat Text', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
	line-height: 1.2 !important;
}

/* Force all post titles to be large */
.post-card h2,
.post-card .post-title,
.nb-card h2.post-title,
.nb-card article h2,
.nb-card .post-title,
article.nb-card h2,
article.nb-card .post-title,
h2.post-title,
.post-title {
	font-size: 1.5rem !important;
	font-weight: 900 !important;
	margin: 0 !important;
	color: var(--nb-fg) !important;
	font-family: 'Red Hat Text', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
	line-height: 1.2 !important;
}

/* Post card specific styles */
.post-card {
	margin-bottom: 0;
	margin-top: 0;
}

.post-card .post-title {
	font-size: 1.75rem !important;
	font-weight: 900 !important;
	margin: 0 0 8px 0 !important;
	padding: 0 !important;
	color: var(--nb-fg) !important;
	font-family: 'Red Hat Text', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
	line-height: 1.2 !important;
}

/* Ensure post titles in cards are always large */
.nb-card h2.post-title,
.nb-card .post-title,
.post-card h2,
.post-card .post-title {
	font-size: 1.75rem !important;
	font-weight: 900 !important;
	margin: 0 0 8px 0 !important;
	padding: 0 !important;
	color: var(--nb-fg) !important;
	font-family: 'Red Hat Text', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
	line-height: 1.2 !important;
}

/* Mobile post card adjustments */
@media (max-width: 768px) {
	.post-card {
		margin-bottom: 0;
	}
	
	.post-card .post-title {
		font-size: 1.25rem !important;
	}
}

/* ===== UTILITY CLASSES ===== */

/* Spacing Utilities */
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

/* Display Utilities */
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }

/* Flex Utilities */
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.gap-8 { gap: 8px; }
.gap-10 { gap: 10px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }

/* Grid Utilities */
.grid-cols-auto-fit { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-cols-auto-fit-small { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Typography Utilities */
.text-decoration-none { text-decoration: none; }
.color-inherit { color: inherit; }
.font-size-09 { font-size: 0.9rem; }
.font-size-11 { font-size: 1.1rem; }
.font-size-12 { font-size: 1.2rem; }
.font-weight-700 { font-weight: 700; }
.line-height-15 { line-height: 1.5; }
.line-height-16 { line-height: 1.6; }

/* Layout Utilities */
.max-width-640 { max-width: 640px; }
.margin-auto { margin: auto; }
.margin-12vh-auto { margin: 12vh auto; }
.min-width-40 { min-width: 40px; }
.text-align-center { text-align: center; }

/* ===== COMPONENT-SPECIFIC STYLES ===== */

/* Post Card Styles */
.post-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.post-card-content {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.post-card-header {
	margin: 0;
}

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

.post-card-description {
	margin: 6px 0 0 0;
}

.post-card-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.post-card-author {
	display: flex;
	align-items: center;
	gap: 10px;
}

.post-card-avatar {
	border-radius: 999px;
	border: 3px solid var(--nb-shadow);
}

.post-card-author-link {
	text-decoration: none;
	color: inherit;
}

/* Pagination Styles */
.pagination-container {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 24px;
}

.pagination-item {
	min-width: 40px;
	text-align: center;
}

.pagination-item.active {
	background: var(--nb-fg);
	color: var(--nb-bg);
}

/* Whoami Page Styles */
.whoami-header {
	margin: 0 0 16px 0;
}

.whoami-description {
	margin: 0 0 16px 0;
	font-size: 1.1rem;
	line-height: 1.6;
}

.whoami-certifications {
	margin: 0 0 16px 0;
	font-size: 1.2rem;
	color: var(--nb-accent);
}

.whoami-logo {
	width: 40px;
	height: 40px;
}

.whoami-bio {
	margin: 0;
	font-size: 1.1rem;
	line-height: 1.6;
}

.whoami-job-title {
	font-weight: 700;
	color: var(--nb-accent);
	margin-bottom: 4px;
	font-size: 1.1rem;
}

.whoami-job-meta {
	font-size: 0.9rem;
	color: var(--nb-fg);
	margin-bottom: 4px;
}

.whoami-job-description {
	margin: 8px 0 12px 0;
	line-height: 1.5;
}

.whoami-job-tags {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.whoami-job-tag {
	font-size: 0.8rem;
}

.whoami-skills-container {
	margin-top: 32px;
	padding: 16px;
	background: var(--nb-muted);
	border: 3px solid var(--nb-shadow);
	box-shadow: 4px 4px 0 0 var(--nb-shadow);
}

.whoami-skills-title {
	margin: 0 0 12px 0;
}

.whoami-skills-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
}

.whoami-skills-category {
	margin: 0 0 8px 0;
}

.whoami-skills-category.security {
	color: var(--nb-blue);
}

.whoami-skills-category.tools {
	color: var(--nb-green);
}

.whoami-skills-category.infrastructure {
	color: var(--nb-yellow);
}

.whoami-skills-list {
	margin: 0;
	padding-left: 20px;
	color: var(--nb-fg);
}

/* Resources Page Styles */
.resources-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
	margin-top: 16px;
}

.resource-card {
	background: var(--nb-blue);
}

.resource-card.green {
	background: var(--nb-green);
}

.resource-card.yellow {
	background: var(--nb-yellow);
}

.resource-title {
	margin: 0 0 8px 0;
}

.resource-description {
	margin: 0;
}

.resource-button {
	margin-top: 12px;
	display: inline-block;
}

/* Roadmap Page Styles */
.roadmap-header {
	margin: 0 0 16px 0;
}

.roadmap-description {
	margin: 0 0 32px 0;
	font-size: 1.1rem;
	line-height: 1.6;
}

/* Tag and Author Page Styles */
.page-header {
	margin-bottom: 24px;
}

.page-content {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* Blog Post Styles */
.blog-post-title {
	margin: 0;
}

.blog-post-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 8px 0;
}

.blog-post-author-link {
	text-decoration: none;
	color: inherit;
}

.blog-post-tag {
	text-decoration: none;
	color: inherit;
}

/* Search Palette Styles */
.search-palette-card {
	max-width: 640px;
	margin: 12vh auto;
}

.search-palette-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}

/* ISM Beta Page Styles */
.ism-controls-container {
	display: flex;
	gap: 8px;
}

/* Home Page Styles */
.home-header {
	margin: 0;
}

.home-filter-section {
	margin-top: 16px;
}

.home-filter-title {
	margin: 0 0 12px 0;
}

.home-posts-grid {
	margin-top: 16px;
	display: grid;
	gap: 16px;
}

/* Responsive Utilities */
@media (max-width: 768px) {
	.grid-cols-auto-fit {
		grid-template-columns: 1fr;
	}
	
	.whoami-skills-grid {
		grid-template-columns: 1fr;
	}
	
	.resources-grid {
		grid-template-columns: 1fr;
	}
}

/* New Components Grid */
.new-components-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	gap: 24px;
	margin-top: 24px;
}

@media (max-width: 768px) {
	.new-components-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

/* NordVPN Review Post Styles */
/* Quick Facts Dashboard */
.quick-facts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin: 30px 0;
}

.fact-card {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 25px;
	border-radius: 15px;
	text-align: center;
	box-shadow: 0 8px 25px rgba(0,0,0,0.15);
	transition: transform 0.3s ease;
}

.fact-card:hover {
	transform: translateY(-5px);
}

.fact-card h3 {
	margin: 0 0 15px 0;
	font-size: 1.1em;
	opacity: 0.9;
}

.fact-number {
	font-size: 2.5em;
	font-weight: bold;
	margin: 10px 0;
}

.fact-label {
	font-size: 0.9em;
	opacity: 0.8;
}

/* Product Grid */
.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	margin: 25px 0;
}

.product-item {
	background: #f8f9fa;
	border: 2px solid #e9ecef;
	border-radius: 12px;
	padding: 20px;
	transition: all 0.3s ease;
}

.product-item:hover {
	border-color: #667eea;
	box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.product-item h4 {
	margin: 0 0 10px 0;
	color: #495057;
}

.product-item p {
	margin: 0;
	color: #6c757d;
	line-height: 1.5;
}

/* Stats Container */
.stats-container {
	display: flex;
	justify-content: space-around;
	margin: 25px 0;
	flex-wrap: wrap;
	gap: 20px;
}

.stat-box {
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
	color: white;
	padding: 20px;
	border-radius: 12px;
	text-align: center;
	min-width: 120px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-number {
	font-size: 2em;
	font-weight: bold;
	margin-bottom: 5px;
}

.stat-label {
	font-size: 0.9em;
	opacity: 0.9;
}

/* Security Grid */
.security-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin: 25px 0;
}

.security-item {
	background: #fff;
	border: 2px solid #28a745;
	border-radius: 10px;
	padding: 20px;
	text-align: center;
}

.security-item h4 {
	margin: 0 0 10px 0;
	color: #28a745;
}

.security-item p {
	margin: 0;
	color: #6c757d;
}

/* Server Types Grid */
.server-types-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin: 25px 0;
}

.server-type {
	background: #fff;
	border: 2px solid #007bff;
	border-radius: 12px;
	padding: 20px;
	transition: transform 0.3s ease;
}

.server-type:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
}

.server-type h4 {
	margin: 0 0 15px 0;
	color: #007bff;
}

.server-type ul {
	margin: 0;
	padding-left: 20px;
}

.server-type li {
	margin-bottom: 8px;
	color: #495057;
}

/* Protection Grid */
.protection-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin: 25px 0;
}

.protection-item {
	background: #fff;
	border: 2px solid #ffc107;
	border-radius: 10px;
	padding: 20px;
	text-align: center;
}

.protection-item h4 {
	margin: 0 0 10px 0;
	color: #856404;
}

.protection-item p {
	margin: 0;
	color: #6c757d;
}

/* Coverage Box */
.coverage-box {
	background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
	color: white;
	padding: 25px;
	border-radius: 15px;
	margin: 25px 0;
	text-align: center;
}

.coverage-amounts {
	display: flex;
	justify-content: space-around;
	margin: 20px 0;
	flex-wrap: wrap;
	gap: 20px;
}

.coverage-item {
	text-align: center;
}

.coverage-number {
	font-size: 2.5em;
	font-weight: bold;
	margin-bottom: 5px;
}

.coverage-label {
	font-size: 0.9em;
	opacity: 0.9;
}

/* Performance Grid */
.performance-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin: 25px 0;
}

.performance-item {
	background: #fff;
	border: 2px solid #28a745;
	border-radius: 12px;
	padding: 20px;
	text-align: center;
	transition: transform 0.3s ease;
}

.performance-item:hover {
	transform: translateY(-3px);
}

.performance-item.positive {
	border-color: #28a745;
}

.performance-item h4 {
	margin: 0 0 15px 0;
	color: #28a745;
}

.performance-number {
	font-size: 2em;
	font-weight: bold;
	color: #28a745;
	margin: 10px 0;
}

.performance-label {
	font-size: 0.9em;
	color: #6c757d;
}

/* Security Results */
.security-results {
	margin: 25px 0;
}

.result-item {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
	padding: 15px;
	background: #f8f9fa;
	border-radius: 8px;
	border-left: 4px solid #28a745;
}

.result-icon {
	font-size: 1.2em;
	margin-right: 15px;
}

.result-text {
	color: #495057;
	font-weight: 500;
}

/* Platform Grid */
.platform-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin: 25px 0;
}

.platform-category {
	background: #fff;
	border: 2px solid #6f42c1;
	border-radius: 10px;
	padding: 20px;
	text-align: center;
}

.platform-category h4 {
	margin: 0 0 15px 0;
	color: #6f42c1;
}

.platform-list {
	color: #6c757d;
	font-weight: 500;
}

/* Support Grid */
.support-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin: 25px 0;
}

.support-item {
	background: #fff;
	border: 2px solid #17a2b8;
	border-radius: 10px;
	padding: 20px;
	text-align: center;
}

.support-item h4 {
	margin: 0 0 10px 0;
	color: #17a2b8;
}

.support-item p {
	margin: 0;
	color: #6c757d;
}

/* Value Grid */
.value-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin: 25px 0;
}

.value-item {
	background: #fff;
	border: 2px solid #fd7e14;
	border-radius: 10px;
	padding: 20px;
	text-align: center;
}

.value-item h4 {
	margin: 0 0 10px 0;
	color: #fd7e14;
}

.value-item p {
	margin: 0;
	color: #6c757d;
}

/* User Profiles */
.user-profiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin: 25px 0;
}

.profile-card {
	background: #fff;
	border: 2px solid #20c997;
	border-radius: 12px;
	padding: 20px;
	text-align: center;
	transition: transform 0.3s ease;
}

.profile-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(32, 201, 151, 0.15);
}

.profile-card h4 {
	margin: 0 0 15px 0;
	color: #20c997;
}

.profile-card p {
	margin: 0;
	color: #495057;
}

/* Conclusion Grid */
.conclusion-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin: 25px 0;
}

.conclusion-item {
	background: #fff;
	border: 2px solid #dc3545;
	border-radius: 12px;
	padding: 20px;
	text-align: center;
	transition: transform 0.3s ease;
}

.conclusion-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(220, 53, 69, 0.15);
}

.conclusion-item h4 {
	margin: 0 0 15px 0;
	color: #dc3545;
}

.conclusion-item p {
	margin: 0;
	color: #495057;
}

/* Responsive Design for NordVPN Review */
@media (max-width: 768px) {
	.quick-facts-grid,
	.product-grid,
	.security-grid,
	.server-types-grid,
	.protection-grid,
	.performance-grid,
	.platform-grid,
	.support-grid,
	.value-grid,
	.user-profiles,
	.conclusion-grid {
		grid-template-columns: 1fr;
	}
	
	.stats-container {
		flex-direction: column;
		align-items: center;
	}
	
	.coverage-amounts {
		flex-direction: column;
		align-items: center;
	}
}

/* ===== ISM CONTROLS STYLES ===== */

/* ISM Controls Container */
.ism-controls-container {
	background: var(--nb-fg);
	border: 4px solid var(--nb-fg);
	border-radius: 0;
	padding: 0;
	box-shadow: 8px 8px 0 var(--nb-red);
	margin: 32px 0;
}

.ism-controls-summary {
	font-weight: 900;
	font-size: 24px;
	color: var(--nb-bg);
	cursor: pointer;
	padding: 20px;
	background: var(--nb-fg);
	margin-bottom: 0;
	display: flex;
	align-items: center;
	gap: 16px;
	list-style: none;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.ism-controls-icon {
	width: 16px;
	height: 16px;
	background-color: var(--nb-red);
	border-radius: 0;
	border: 2px solid var(--nb-bg);
}

.ism-controls-title {
	flex: 1;
}

.ism-controls-arrow {
	width: 0;
	height: 0;
	border-left: 12px solid transparent;
	border-right: 12px solid transparent;
	border-top: 16px solid var(--nb-red);
	transition: transform 0.3s ease;
	transform: rotate(0deg);
}

.ism-controls-container[open] .ism-controls-arrow {
	transform: rotate(180deg);
}

/* ISM Controls List */
.ism-controls-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin: 32px 0;
}

/* ISM Control Card */
.ism-control-card {
	background: var(--nb-card);
	border: 4px solid var(--nb-fg);
	border-radius: 0;
	padding: 20px;
	box-shadow: 6px 6px 0 var(--nb-fg);
	margin-bottom: 24px;
}

.ism-control-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 3px solid var(--nb-fg);
}

.ism-control-id-section {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ism-control-icon-small {
	width: 16px;
	height: 16px;
	background-color: var(--nb-fg);
	border-radius: 0;
	border: 2px solid var(--nb-fg);
}

.ism-control-id {
	font-weight: 900;
	font-size: 20px;
	color: var(--nb-fg);
	font-family: 'JetBrains Mono', monospace;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.ism-control-revision {
	font-size: 12px;
	color: var(--nb-fg);
	font-weight: 900;
	background: var(--nb-yellow);
	padding: 6px 12px;
	border-radius: 0;
	border: 2px solid var(--nb-fg);
	text-transform: uppercase;
}

.ism-control-tags {
	display: flex;
	gap: 8px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.ism-tag {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	border: 2px solid;
	margin-right: 6px;
	margin-bottom: 6px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 2px 2px 0 0 rgba(0,0,0,0.1);
}

.ism-tag-s {
	background-color: #fa8072;
	color: var(--nb-fg);
}

.ism-tag-ts {
	background-color: #dc2626;
	color: var(--nb-bg);
}

.ism-tag-essential8 {
	background-color: #e5e7eb;
	color: var(--nb-fg);
}

.ism-control-description {
	color: var(--nb-fg);
	line-height: 1.6;
	font-size: 14px;
	font-weight: 700;
	background: #f0f0f0;
	padding: 16px;
	border-radius: 0;
	border-left: 4px solid var(--nb-fg);
	border: 2px solid var(--nb-fg);
}

/* Dark theme adjustments for ISM controls */
.theme-dark .ism-control-description {
	background: var(--nb-muted);
}

.theme-dark .ism-tag-essential8 {
	background-color: var(--nb-muted);
}

/* ISM Beta Page Tag Styles */
.ism-tag-nc {
	background: #f3f4f6;
	color: #374151;
	border-color: #6b7280;
}

.ism-tag-p {
	background: #dbeafe;
	color: #1e40af;
	border-color: #3b82f6;
}

.ism-tag-os {
	background: #fef3c7;
	color: #92400e;
	border-color: #f59e0b;
}

/* Dark theme adjustments for ISM Beta tags */
.theme-dark .ism-tag-nc {
	background: var(--nb-muted);
	color: var(--nb-fg);
	border-color: var(--nb-fg);
}

.theme-dark .ism-tag-p {
	background: var(--nb-blue);
	color: var(--nb-fg);
	border-color: var(--nb-fg);
}

.theme-dark .ism-tag-os {
	background: var(--nb-yellow);
	color: var(--nb-fg);
	border-color: var(--nb-fg);
}

/* ===== LAYOUT STYLES ===== */

/* Sticky Footer Layout */
body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

main {
	flex: 1 0 auto;
	width: 100%;
}

/* Ensure containers maintain proper width */
.nb-container {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 24px;
}

.nb-container-full {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.nb-container-full {
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
}

/* ===== DROPDOWN STYLES ===== */

.nb-dropdown {
	position: relative;
	display: inline-block;
}

.nb-dropdown-toggle {
	background: none;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 8px 12px;
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	text-decoration: none;
	border-radius: 6px;
	transition: all 0.2s ease;
}

.nb-dropdown-toggle:hover {
	background: var(--nb-muted);
	color: var(--nb-fg);
}

.nb-dropdown-arrow {
	font-size: 0.75rem;
	transition: transform 0.2s ease;
}

.nb-dropdown.open .nb-dropdown-arrow {
	transform: rotate(180deg);
}

.nb-dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--nb-card);
	border: 2px solid var(--nb-fg);
	border-radius: 8px;
	box-shadow: 4px 4px 0 var(--nb-fg);
	min-width: 160px;
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: all 0.2s ease;
	margin-top: 4px;
}

.nb-dropdown.open .nb-dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nb-dropdown-item {
	display: block;
	padding: 8px 12px;
	color: var(--nb-fg);
	text-decoration: none;
	font-size: 0.9rem;
	transition: background-color 0.2s ease;
	border-bottom: 1px solid var(--nb-muted);
}

.nb-dropdown-item:last-child {
	border-bottom: none;
}

.nb-dropdown-item:hover {
	background: var(--nb-muted);
	color: var(--nb-fg);
}

/* ===== MOBILE NAVIGATION STYLES ===== */

/* Burger Menu Button */
.nb-burger-btn {
	display: none;
	flex-direction: column;
	justify-content: space-around;
	width: 40px;
	height: 40px;
	background: var(--nb-card);
	border: 3px solid var(--nb-shadow);
	border-radius: 8px;
	cursor: pointer;
	padding: 8px;
	box-shadow: 4px 4px 0 0 var(--nb-shadow);
	transition: all 0.2s ease;
}

.nb-burger-btn:active {
	box-shadow: 0 0 0 0 var(--nb-shadow);
	transform: translate(4px, 4px);
}

.nb-burger-line {
	width: 100%;
	height: 3px;
	background: var(--nb-fg);
	border-radius: 2px;
	transition: all 0.3s ease;
}

/* Mobile Navigation Overlay */
.nb-mobile-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.nb-mobile-overlay.open {
	opacity: 1;
	visibility: visible;
}

.nb-mobile-menu {
	position: fixed;
	top: 0;
	right: -300px;
	width: 300px;
	height: 100%;
	background: var(--nb-card);
	border-left: 3px solid var(--nb-shadow);
	box-shadow: -4px 0 0 0 var(--nb-shadow);
	transition: right 0.3s ease;
	overflow-y: auto;
}

.nb-mobile-overlay.open .nb-mobile-menu {
	right: 0;
}

.nb-mobile-menu-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem;
	border-bottom: 3px solid var(--nb-shadow);
	background: var(--nb-muted);
}

.nb-mobile-menu-title {
	font-weight: 800;
	font-size: 1.2rem;
	color: var(--nb-fg);
}

.nb-mobile-close {
	width: 40px;
	height: 40px;
	background: var(--nb-card);
	border: 3px solid var(--nb-shadow);
	border-radius: 8px;
	cursor: pointer;
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--nb-fg);
	box-shadow: 4px 4px 0 0 var(--nb-shadow);
	transition: all 0.2s ease;
}

.nb-mobile-close:active {
	box-shadow: 0 0 0 0 var(--nb-shadow);
	transform: translate(4px, 4px);
}

.nb-nav-mobile {
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.nb-link-mobile {
	display: block;
	padding: 1rem;
	border-bottom: 2px solid var(--nb-muted);
	font-size: 1.1rem;
	font-weight: 700;
}

.nb-link-mobile:hover {
	background: var(--nb-muted);
	transform: none;
}

.nb-dropdown-mobile {
	width: 100%;
}

.nb-dropdown-toggle.nb-link-mobile {
	width: 100%;
	text-align: left;
	justify-content: space-between;
	background: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	text-decoration: none;
	border-radius: 0;
	transition: all 0.2s ease;
}

.nb-dropdown-menu-mobile {
	position: static;
	box-shadow: none;
	border: none;
	border-top: 1px solid var(--nb-muted);
	margin-top: 0;
	transform: none;
	background: var(--nb-muted);
	border-radius: 0;
}

.nb-dropdown-item-mobile {
	padding: 0.75rem 1rem 0.75rem 2rem;
	border-bottom: 1px solid var(--nb-shadow);
	font-size: 1rem;
}

.nb-dropdown-item-mobile:last-child {
	border-bottom: none;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Mobile responsive styles (max-width approach for specific overrides) */
@media (max-width: 767px) {
	.nb-nav-desktop {
		display: none;
	}

	.nb-burger-btn {
		display: flex;
	}

	.nb-header {
		height: auto;
		flex-direction: column;
		gap: var(--nb-space-md);
		padding: var(--nb-space-sm) 0;
		min-height: auto;
	}

	.nb-header-actions {
		gap: var(--nb-space-sm);
		justify-content: center;
		flex-wrap: wrap;
	}

	.nb-search.nb-pill {
		display: none;
	}
}

/* ===== PRODUCT PLACEMENT COMPONENT STYLES ===== */

.product-badge-success {
	background-color: var(--nb-green) !important;
}

.product-badge-warning {
	background-color: var(--nb-yellow) !important;
}

.product-badge-danger {
	background-color: var(--nb-red) !important;
}

/* ===== MODERN CSS UTILITIES ===== */

/* Modern Grid System */
.nb-grid {
	display: grid;
	gap: var(--nb-space-md);
}

.nb-grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.nb-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nb-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nb-grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.nb-grid-auto-fit {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.nb-grid-auto-fill {
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Modern Flexbox Utilities */
.nb-flex {
	display: flex;
}

.nb-flex-col {
	flex-direction: column;
}

.nb-flex-row {
	flex-direction: row;
}

.nb-flex-wrap {
	flex-wrap: wrap;
}

.nb-flex-nowrap {
	flex-wrap: nowrap;
}

.nb-justify-start { justify-content: flex-start; }
.nb-justify-center { justify-content: center; }
.nb-justify-end { justify-content: flex-end; }
.nb-justify-between { justify-content: space-between; }
.nb-justify-around { justify-content: space-around; }
.nb-justify-evenly { justify-content: space-evenly; }

.nb-items-start { align-items: flex-start; }
.nb-items-center { align-items: center; }
.nb-items-end { align-items: flex-end; }
.nb-items-stretch { align-items: stretch; }
.nb-items-baseline { align-items: baseline; }

.nb-gap-xs { gap: var(--nb-space-xs); }
.nb-gap-sm { gap: var(--nb-space-sm); }
.nb-gap-md { gap: var(--nb-space-md); }
.nb-gap-lg { gap: var(--nb-space-lg); }
.nb-gap-xl { gap: var(--nb-space-xl); }
.nb-gap-2xl { gap: var(--nb-space-2xl); }

/* Modern Spacing Utilities */
.nb-p-xs { padding: var(--nb-space-xs); }
.nb-p-sm { padding: var(--nb-space-sm); }
.nb-p-md { padding: var(--nb-space-md); }
.nb-p-lg { padding: var(--nb-space-lg); }
.nb-p-xl { padding: var(--nb-space-xl); }

.nb-m-xs { margin: var(--nb-space-xs); }
.nb-m-sm { margin: var(--nb-space-sm); }
.nb-m-md { margin: var(--nb-space-md); }
.nb-m-lg { margin: var(--nb-space-lg); }
.nb-m-xl { margin: var(--nb-space-xl); }

/* Modern Border Radius Utilities */
.nb-rounded-sm { border-radius: var(--nb-radius-sm); }
.nb-rounded-md { border-radius: var(--nb-radius-md); }
.nb-rounded-lg { border-radius: var(--nb-radius-lg); }
.nb-rounded-xl { border-radius: var(--nb-radius-xl); }

/* Modern Shadow Utilities */
.nb-shadow-sm { box-shadow: var(--nb-shadow-sm); }
.nb-shadow-md { box-shadow: var(--nb-shadow-md); }
.nb-shadow-lg { box-shadow: var(--nb-shadow-lg); }
.nb-shadow-xl { box-shadow: var(--nb-shadow-xl); }

/* Modern Transition Utilities */
.nb-transition-fast { transition: all var(--nb-transition-fast); }
.nb-transition-normal { transition: all var(--nb-transition-normal); }
.nb-transition-slow { transition: all var(--nb-transition-slow); }

/* Modern Responsive Utilities */
@media (min-width: 640px) {
	.sm\:nb-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sm\:nb-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sm\:nb-flex-row { flex-direction: row; }
	.sm\:nb-justify-between { justify-content: space-between; }
}

@media (min-width: 768px) {
	.md\:nb-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.md\:nb-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.md\:nb-grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.md\:nb-flex-row { flex-direction: row; }
	.md\:nb-justify-between { justify-content: space-between; }
}

@media (min-width: 1024px) {
	.lg\:nb-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.lg\:nb-grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.lg\:nb-grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Modern Container Queries Support */
@container (min-width: 320px) {
	.nb-container-grid {
		grid-template-columns: 1fr;
	}
}

@container (min-width: 640px) {
	.nb-container-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@container (min-width: 1024px) {
	.nb-container-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

