/**
 * n8n Automation Blog — standalone front-end theme.
 */

.n8n-blog-body {
	--n8n-ink: #101828;
	--n8n-muted: #667085;
	--n8n-line: #e4e7ec;
	--n8n-blue: #2271b1;
	--n8n-blue-dark: #135e96;
	--n8n-cyan: #53a6ff;
	--n8n-soft: #f7f8fa;
	--n8n-radius: 18px;
	margin: 0;
	background: var(--n8n-soft);
	color: var(--n8n-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.n8n-blog-body *,
.n8n-blog-body *::before,
.n8n-blog-body *::after {
	box-sizing: border-box;
}

.n8n-blog-body a {
	color: var(--n8n-blue-dark);
}

.n8n-blog-body img {
	max-width: 100%;
	height: auto;
}

.n8n-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid rgba(16, 24, 40, 0.08);
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(14px);
}

.admin-bar .n8n-header {
	top: 32px;
}

.n8n-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 13px 24px;
}

.n8n-brand {
	display: flex;
	align-items: center;
	gap: 11px;
	color: var(--n8n-ink) !important;
	text-decoration: none;
}

.n8n-brand-mark {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: linear-gradient(135deg, #101828, #123b5d 65%, #2271b1);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.03em;
	box-shadow: 0 6px 18px rgba(34, 113, 177, 0.22);
}

.n8n-brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.n8n-brand-text strong {
	font-size: 14px;
	letter-spacing: -0.01em;
}

.n8n-brand-text small {
	color: var(--n8n-muted);
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.n8n-nav {
	display: flex;
	align-items: center;
	gap: 4px;
}

.n8n-nav a {
	padding: 8px 11px;
	border-radius: 8px;
	color: #344054 !important;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.n8n-nav a:hover,
.n8n-nav a.is-active {
	background: #eff6ff;
	color: var(--n8n-blue-dark) !important;
}

.n8n-header-cta {
	padding: 9px 14px;
	border: 1px solid #b9d9f5;
	border-radius: 8px;
	background: #f3f9ff;
	color: var(--n8n-blue-dark) !important;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.n8n-header-cta:hover {
	background: #e8f2ff;
}

.n8n-main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 28px 24px 64px;
}

.n8n-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.75fr);
	gap: 28px;
	align-items: center;
	overflow: hidden;
	padding: 54px;
	border-radius: 26px;
	background:
		radial-gradient(circle at 88% 14%, rgba(83, 166, 255, 0.32), transparent 34%),
		radial-gradient(circle at 12% 88%, rgba(139, 92, 246, 0.18), transparent 38%),
		linear-gradient(135deg, #0b1220 0%, #101828 52%, #123b5d 100%);
	color: #fff;
	box-shadow: 0 24px 60px rgba(16, 24, 40, 0.18);
}

.n8n-hero::after {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 42px 42px;
	content: "";
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 80%);
	pointer-events: none;
}

.n8n-hero-copy,
.n8n-hero-stats {
	position: relative;
	z-index: 1;
}

.n8n-kicker {
	display: inline-block;
	margin-bottom: 14px;
	padding: 5px 10px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: #d6e8ff;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.n8n-kicker-dark {
	border-color: #d6e6f7;
	background: #f3f9ff;
	color: var(--n8n-blue-dark);
}

.n8n-hero h1 {
	max-width: 780px;
	margin: 0 0 14px;
	color: #fff;
	font-size: clamp(30px, 4.5vw, 52px);
	line-height: 1.05;
	letter-spacing: -0.04em;
}

.n8n-hero p {
	max-width: 700px;
	margin: 0;
	color: #cbd5e1;
	font-size: 16px;
	line-height: 1.65;
}

.n8n-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 24px;
}

.n8n-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 11px 17px;
	border: 1px solid transparent;
	border-radius: 9px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.n8n-button:hover {
	transform: translateY(-1px);
}

.n8n-button-primary {
	background: #2271b1;
	color: #fff !important;
	box-shadow: 0 6px 16px rgba(34, 113, 177, 0.28);
}

.n8n-button-primary:hover {
	background: #135e96;
}

.n8n-button-ghost {
	border-color: rgba(255, 255, 255, 0.28);
	background: rgba(255, 255, 255, 0.07);
	color: #fff !important;
}

.n8n-button-ghost:hover {
	background: rgba(255, 255, 255, 0.15);
}

.n8n-button-light {
	background: #fff;
	color: #101828 !important;
}

.n8n-button-light:hover {
	background: #e8f2ff;
}

.n8n-button-full {
	width: 100%;
}

.n8n-hero-stats {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(8px);
}

.n8n-hero-stat {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.n8n-hero-stat:last-child {
	border-bottom: 0;
}

.n8n-hero-stat strong {
	color: #fff;
	font-size: 26px;
	letter-spacing: -0.03em;
}

.n8n-hero-stat span {
	color: #cbd5e1;
	font-size: 11px;
	text-align: right;
}

.n8n-catalog {
	padding: 52px 0 12px;
}

.n8n-catalog-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 22px;
}

.n8n-catalog-head h2 {
	margin: 0;
	font-size: clamp(24px, 2.4vw, 34px);
	letter-spacing: -0.03em;
}

.n8n-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 6px;
}

.n8n-filter {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 10px;
	border: 1px solid var(--n8n-line);
	border-radius: 999px;
	background: #fff;
	color: #475467 !important;
	font-size: 11px;
	font-weight: 600;
	text-decoration: none;
}

.n8n-filter span {
	color: var(--n8n-muted);
	font-size: 10px;
}

.n8n-filter:hover,
.n8n-filter.is-active {
	border-color: #b9d9f5;
	background: #f3f9ff;
	color: var(--n8n-blue-dark) !important;
}

.n8n-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.n8n-grid-three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.n8n-card {
	overflow: hidden;
	border: 1px solid var(--n8n-line);
	border-radius: var(--n8n-radius);
	background: #fff;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.n8n-card:hover {
	border-color: #b9d9f5;
	box-shadow: 0 16px 34px rgba(16, 24, 40, 0.1);
	transform: translateY(-3px);
}

.n8n-card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit !important;
	text-decoration: none;
}

.n8n-card-visual {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	min-height: 128px;
	padding: 18px;
	overflow: hidden;
	background: linear-gradient(135deg, #0b1220, #123b5d 60%, #1b4d78);
	color: #fff;
}

.n8n-card-glow {
	position: absolute;
	top: -42px;
	right: -32px;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(83, 166, 255, 0.65), transparent 68%);
	filter: blur(2px);
}

.n8n-card-number {
	position: relative;
	z-index: 1;
	font-size: 42px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.06em;
	opacity: 0.9;
}

.n8n-card-nodes {
	position: relative;
	z-index: 1;
	padding: 4px 8px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	font-size: 10px;
	font-weight: 700;
}

.n8n-card-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 18px;
}

.n8n-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
	color: var(--n8n-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.n8n-card-meta span + span::before {
	margin-right: 6px;
	color: #d0d5dd;
	content: "·";
}

.n8n-card-meta-light {
	color: #667085;
}

.n8n-card h3 {
	margin: 0 0 7px;
	color: var(--n8n-ink);
	font-size: 18px;
	line-height: 1.28;
	letter-spacing: -0.02em;
}

.n8n-card p {
	display: -webkit-box;
	margin: 0 0 14px;
	overflow: hidden;
	color: var(--n8n-muted);
	font-size: 13px;
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.n8n-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid #f0f0f1;
}

.n8n-trigger {
	overflow: hidden;
	max-width: 60%;
	color: var(--n8n-muted);
	font-size: 10px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.n8n-read {
	color: var(--n8n-blue-dark);
	font-size: 11px;
	font-weight: 800;
	white-space: nowrap;
}

.n8n-card-compact .n8n-card-body {
	padding: 20px;
}

.n8n-card-compact h3 {
	font-size: 16px;
}

.n8n-empty {
	padding: 60px 24px;
	border: 1px dashed var(--n8n-line);
	border-radius: var(--n8n-radius);
	background: #fff;
	text-align: center;
}

.n8n-empty h2 {
	margin: 0 0 6px;
}

.n8n-empty p {
	margin: 0;
	color: var(--n8n-muted);
}

.n8n-pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 28px;
}

.n8n-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 36px;
	height: 36px;
	padding: 0 8px;
	border: 1px solid var(--n8n-line);
	border-radius: 8px;
	background: #fff;
	color: #344054;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.n8n-pagination .page-numbers.current,
.n8n-pagination .page-numbers:hover {
	border-color: var(--n8n-blue);
	background: var(--n8n-blue);
	color: #fff;
}

.n8n-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 44px;
	padding: 32px;
	border-radius: 20px;
	background: linear-gradient(135deg, #101828, #1d2939 55%, #123b5d);
	color: #fff;
}

.n8n-cta h2 {
	margin: 0 0 6px;
	color: #fff;
	font-size: clamp(22px, 2.4vw, 30px);
	letter-spacing: -0.03em;
}

.n8n-cta p {
	max-width: 680px;
	margin: 0;
	color: #cbd5e1;
	font-size: 14px;
}

.n8n-cta .n8n-kicker {
	margin-bottom: 8px;
}

.n8n-article-hero {
	padding: 22px 0 0;
}

.n8n-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
	color: var(--n8n-muted);
	font-size: 11px;
}

.n8n-breadcrumbs a {
	color: var(--n8n-muted) !important;
	text-decoration: none;
}

.n8n-breadcrumbs a:hover {
	color: var(--n8n-blue-dark) !important;
}

.n8n-article-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 28px;
	align-items: end;
	padding: 38px;
	border: 1px solid #dbeafe;
	border-radius: 24px;
	background:
		radial-gradient(circle at 92% 8%, rgba(83, 166, 255, 0.18), transparent 32%),
		linear-gradient(135deg, #f8fbff 0%, #eef6ff 60%, #eef2ff 100%);
}

.n8n-article-hero-copy h1 {
	max-width: 820px;
	margin: 0 0 14px;
	font-size: clamp(30px, 4.2vw, 50px);
	line-height: 1.06;
	letter-spacing: -0.04em;
}

.n8n-article-lead {
	max-width: 760px;
	margin: 0;
	color: #475467;
	font-size: 17px;
	line-height: 1.6;
}

.n8n-article-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 22px;
}

.n8n-article-actions .n8n-button-ghost {
	border-color: #b9d9f5;
	background: #fff;
	color: var(--n8n-blue-dark) !important;
}

.n8n-fact-card {
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.78);
	box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
	backdrop-filter: blur(10px);
}

.n8n-fact-card-head {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 10px;
	color: #344054;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.n8n-live-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #12b76a;
	box-shadow: 0 0 0 4px #d1fadf;
}

.n8n-fact-card dl,
.n8n-facts-list {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
}

.n8n-fact-card dl div,
.n8n-facts-list div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	padding: 7px 0;
	border-bottom: 1px solid #eef2f6;
}

.n8n-fact-card dl div:last-child,
.n8n-facts-list div:last-child {
	border-bottom: 0;
}

.n8n-fact-card dt,
.n8n-facts-list dt {
	color: var(--n8n-muted);
	font-size: 11px;
}

.n8n-fact-card dd,
.n8n-facts-list dd {
	margin: 0;
	color: var(--n8n-ink);
	font-size: 12px;
	font-weight: 700;
	text-align: right;
	word-break: break-word;
}

.n8n-fact-card code {
	font-size: 10px;
}

.n8n-single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 28px;
	align-items: start;
	margin-top: 34px;
}

.n8n-prose {
	max-width: 760px;
	color: #344054;
	font-size: 16px;
	line-height: 1.75;
}

.n8n-prose > *:first-child {
	margin-top: 0;
}

.n8n-prose h2 {
	margin: 38px 0 12px;
	color: var(--n8n-ink);
	font-size: 28px;
	line-height: 1.25;
	letter-spacing: -0.03em;
}

.n8n-prose h3 {
	margin: 28px 0 8px;
	color: var(--n8n-ink);
	font-size: 20px;
	letter-spacing: -0.02em;
}

.n8n-prose p {
	margin: 0 0 16px;
}

.n8n-prose ul,
.n8n-prose ol {
	margin: 0 0 18px;
	padding-left: 22px;
}

.n8n-prose li {
	margin-bottom: 7px;
}

.n8n-prose blockquote {
	margin: 24px 0;
	padding: 16px 18px;
	border-left: 3px solid var(--n8n-blue);
	border-radius: 0 10px 10px 0;
	background: #f3f9ff;
	color: #1d2939;
}

.n8n-prose blockquote p:last-child {
	margin-bottom: 0;
}

.n8n-prose code {
	padding: 2px 5px;
	border-radius: 4px;
	background: #f2f4f7;
	color: #b42318;
	font-size: 0.88em;
}

.n8n-prose pre {
	overflow-x: auto;
	margin: 20px 0;
	padding: 16px;
	border-radius: 10px;
	background: #101828;
	color: #f2f4f7;
	font-size: 12px;
	line-height: 1.6;
}

.n8n-prose pre code {
	padding: 0;
	background: transparent;
	color: inherit;
}

.n8n-prose table {
	width: 100%;
	margin: 20px 0;
	border-collapse: collapse;
	font-size: 13px;
}

.n8n-prose th,
.n8n-prose td {
	padding: 9px 10px;
	border: 1px solid var(--n8n-line);
	text-align: left;
}

.n8n-prose th {
	background: #f8fafc;
}

.n8n-sidebar {
	position: sticky;
	top: 92px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.admin-bar .n8n-sidebar {
	top: 124px;
}

.n8n-side-card {
	padding: 20px;
	border: 1px solid var(--n8n-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.n8n-side-card h2 {
	margin: 0 0 7px;
	font-size: 20px;
	letter-spacing: -0.02em;
}

.n8n-side-card p {
	margin: 0 0 13px;
	color: #475467;
	font-size: 12px;
	line-height: 1.55;
}

.n8n-side-card small {
	display: block;
	margin-top: 8px;
	color: var(--n8n-muted);
	font-size: 10px;
	text-align: center;
}

.n8n-side-kicker {
	display: block;
	margin-bottom: 7px;
	color: var(--n8n-blue-dark);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.n8n-tz-card {
	border-color: #b9d9f5;
	background: linear-gradient(160deg, #f5faff 0%, #eef6ff 100%);
}

.n8n-request-card {
	border-color: #d6e6f7;
}

.n8n-check-list {
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

.n8n-check-list li {
	position: relative;
	margin-bottom: 5px;
	padding-left: 18px;
	color: #344054;
	font-size: 11px;
}

.n8n-check-list li::before {
	position: absolute;
	left: 0;
	color: #12b76a;
	font-weight: 800;
	content: "✓";
}

.n8n-chip {
	display: inline-block;
	margin: 2px 0 2px 3px;
	padding: 2px 7px;
	border: 1px solid #d6e6f7;
	border-radius: 999px;
	background: #f3f9ff;
	color: var(--n8n-blue-dark);
	font-size: 9px;
	font-weight: 700;
}

.n8n-request-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.n8n-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 9px;
}

.n8n-sidebar .n8n-form-grid {
	grid-template-columns: 1fr;
}

.n8n-span-2 {
	grid-column: 1 / -1;
}

.n8n-request-form label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: #344054;
	font-size: 12px;
	font-weight: 600;
}

.n8n-request-form input[type="text"],
.n8n-request-form input[type="email"],
.n8n-request-form textarea {
	width: 100%;
	padding: 9px 10px;
	border: 1px solid #d0d5dd;
	border-radius: 7px;
	background: #fff;
	color: var(--n8n-ink);
	font: inherit;
	font-size: 12px;
}

.n8n-request-form input:focus,
.n8n-request-form textarea:focus {
	border-color: var(--n8n-blue);
	outline: 2px solid rgba(34, 113, 177, 0.15);
}

.n8n-request-form textarea {
	resize: vertical;
}

.n8n-req {
	color: #d92d20;
}

.n8n-consent {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start;
	gap: 7px !important;
	color: var(--n8n-muted) !important;
	font-size: 11px !important;
	font-weight: 400 !important;
	line-height: 1.45;
}

.n8n-consent input {
	margin-top: 2px;
}

.n8n-form-note {
	margin: 0;
	color: var(--n8n-muted);
	font-size: 10.5px;
	line-height: 1.45;
}

.n8n-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.n8n-notice {
	padding: 11px 12px;
	border-radius: 8px;
	font-size: 12px;
	line-height: 1.5;
}

.n8n-notice-success {
	border: 1px solid #abefc6;
	background: #ecfdf3;
	color: #067647;
}

.n8n-notice-error {
	border: 1px solid #fecdca;
	background: #fef3f2;
	color: #b42318;
}

.n8n-muted {
	color: var(--n8n-muted) !important;
}

.n8n-related {
	padding-top: 48px;
}

.n8n-text-link {
	color: var(--n8n-blue-dark) !important;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.n8n-footer {
	margin-top: 40px;
	padding: 34px 24px 18px;
	background: #0b1220;
	color: #cbd5e1;
}

.n8n-footer-inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	max-width: 1200px;
	margin: 0 auto;
}

.n8n-footer strong {
	color: #fff;
	font-size: 14px;
}

.n8n-footer p {
	margin: 4px 0 0;
	color: #98a2b3;
	font-size: 12px;
}

.n8n-footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.n8n-footer-links a {
	color: #d6e8ff !important;
	font-size: 12px;
	text-decoration: none;
}

.n8n-footer-links a:hover {
	color: #fff !important;
}

.n8n-footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	max-width: 1200px;
	margin: 24px auto 0;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: #667085;
	font-size: 10px;
}

@media (max-width: 1024px) {
	.n8n-hero,
	.n8n-article-hero-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.n8n-hero-stats {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
	}

	.n8n-hero-stat {
		flex-direction: column;
		align-items: flex-start;
		border-right: 1px solid rgba(255, 255, 255, 0.1);
		border-bottom: 0;
	}

	.n8n-hero-stat:last-child {
		border-right: 0;
	}

	.n8n-grid,
	.n8n-grid-three {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.n8n-single-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.n8n-sidebar {
		position: static;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
	}

	.n8n-request-card {
		grid-column: 1 / -1;
	}

	.n8n-prose {
		max-width: none;
	}
}

@media (max-width: 782px) {
	.admin-bar .n8n-header {
		top: 46px;
	}

	.n8n-header-inner {
		flex-wrap: wrap;
		gap: 10px;
		padding: 10px 16px;
	}

	.n8n-nav {
		order: 3;
		width: 100%;
		overflow-x: auto;
	}

	.n8n-header-cta {
		margin-left: auto;
	}

	.n8n-main {
		padding: 18px 16px 48px;
	}

	.n8n-hero {
		padding: 30px 22px;
		border-radius: 18px;
	}

	.n8n-hero h1 {
		font-size: 34px;
	}

	.n8n-hero-stats {
		grid-template-columns: 1fr;
	}

	.n8n-hero-stat {
		flex-direction: row;
		align-items: baseline;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.n8n-catalog-head,
	.n8n-cta {
		display: block;
	}

	.n8n-filters {
		justify-content: flex-start;
		margin-top: 12px;
	}

	.n8n-grid,
	.n8n-grid-three,
	.n8n-sidebar,
	.n8n-form-grid {
		grid-template-columns: 1fr;
	}

	.n8n-request-card {
		grid-column: auto;
	}

	.n8n-article-hero-grid {
		padding: 24px 20px;
		border-radius: 18px;
	}

	.n8n-article-hero-copy h1 {
		font-size: 34px;
	}

	.n8n-single-layout {
		margin-top: 24px;
	}

	.n8n-prose h2 {
		font-size: 24px;
	}

	.n8n-cta .n8n-button {
		margin-top: 16px;
	}

	.n8n-footer-inner,
	.n8n-footer-bottom {
		display: block;
	}

	.n8n-footer-links {
		margin-top: 14px;
	}
}
