body.single-post .swesite-theme-main,
body.single-post .site-content,
body.single-post .content-area,
body.single-post .entry-content,
body.single-post .wp-site-blocks,
body.single-post .ast-container,
body.single-post .elementor-container,
body.single-post .container,
body.single-post .site-main {
	margin-left: 0;
	margin-right: 0;
	max-width: none;
	padding-left: 0;
	padding-right: 0;
	width: 100%;
}

body.single-post .swesite-theme-main {
	padding: 0;
}

body.single-post {
	overflow-x: hidden;
}

.swesite-single-post {
	margin: 0;
	max-width: none;
	overflow-x: hidden;
	padding: 0;
	width: 100%;
}

.swesite-single-section-inner,
.swesite-single-hero-inner,
.swesite-single-layout {
	margin: 0 auto;
	width: min(100% - 48px, 1480px);
}

.swesite-single-hero,
.swesite-single-content-section,
.swesite-single-related,
.swesite-single-cta {
	max-width: none;
	position: relative;
	width: 100%;
}

.swesite-single-hero {
	background:
		radial-gradient(circle at 10% 18%, rgba(37, 99, 235, .18), transparent 29rem),
		radial-gradient(circle at 88% 18%, rgba(20, 184, 166, .20), transparent 28rem),
		linear-gradient(135deg, #f8fbff 0%, #edf7ff 54%, #f6fffd 100%);
	border-bottom: 1px solid rgba(203, 213, 225, .68);
	overflow: hidden;
	padding: clamp(54px, 6vw, 96px) 0 clamp(42px, 5vw, 78px);
}

.swesite-single-hero::before,
.swesite-single-hero::after {
	border-radius: 999px;
	content: "";
	position: absolute;
	z-index: 0;
}

.swesite-single-hero::before {
	background: rgba(37, 99, 235, .10);
	height: 340px;
	left: -120px;
	top: -120px;
	width: 340px;
}

.swesite-single-hero::after {
	background: rgba(20, 184, 166, .14);
	bottom: -130px;
	height: 300px;
	right: -90px;
	width: 300px;
}

.swesite-single-hero-inner {
	align-items: center;
	display: grid;
	gap: clamp(26px, 4vw, 58px);
	grid-template-columns: minmax(360px, .92fr) minmax(0, 1fr);
	position: relative;
	z-index: 1;
}

.swesite-single-hero.no-media .swesite-single-hero-inner {
	grid-template-columns: minmax(0, 980px);
	justify-content: center;
}

.swesite-single-hero-image {
	aspect-ratio: 1.16 / .82;
	background: linear-gradient(135deg, #dbeafe, #ccfbf1);
	border: 1px solid rgba(255, 255, 255, .82);
	border-radius: 32px;
	box-shadow: 0 34px 96px rgba(37, 99, 235, .20);
	min-height: 420px;
	overflow: hidden;
	position: relative;
}

.swesite-single-hero-image img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.swesite-single-image-fallback {
	align-items: center;
	background:
		radial-gradient(circle at 24% 24%, rgba(255, 255, 255, .75), transparent 36%),
		linear-gradient(135deg, #2563eb, #08b9b1);
	display: flex;
	height: 100%;
	justify-content: center;
	width: 100%;
}

.swesite-single-image-fallback span {
	color: #fff;
	font-size: clamp(84px, 12vw, 170px);
	font-weight: 950;
	line-height: 1;
	text-shadow: 0 18px 38px rgba(15, 23, 42, .22);
}

.swesite-single-hero-content {
	background: rgba(255, 255, 255, .72);
	border: 1px solid rgba(255, 255, 255, .88);
	border-radius: 32px;
	box-shadow: 0 26px 80px rgba(15, 23, 42, .10);
	padding: clamp(26px, 4vw, 50px);
}

.swesite-single-meta {
	align-items: center;
	color: #64748b;
	display: flex;
	flex-wrap: wrap;
	font-size: 13px;
	font-weight: 900;
	gap: 10px;
	margin-bottom: 18px;
}

.swesite-single-meta > span,
.swesite-single-category {
	background: rgba(255, 255, 255, .86);
	border: 1px solid rgba(148, 163, 184, .24);
	border-radius: 999px;
	padding: 8px 12px;
	text-decoration: none;
}

.swesite-single-category {
	color: #1d4ed8;
}

.swesite-single-hero h1 {
	color: #0f172a;
	font-size: clamp(38px, 5.2vw, 72px);
	letter-spacing: 0;
	line-height: 1.02;
	margin: 0;
}

.swesite-single-excerpt {
	color: #475569;
	font-size: clamp(17px, 1.35vw, 21px);
	line-height: 1.7;
	margin: 22px 0 0;
	max-width: 760px;
}

.swesite-single-hero-footer {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	justify-content: space-between;
	margin-top: 28px;
}

.swesite-single-author {
	align-items: center;
	display: flex;
	gap: 12px;
}

.swesite-single-author img {
	border-radius: 999px;
	box-shadow: 0 12px 30px rgba(15, 23, 42, .12);
	height: 46px;
	width: 46px;
}

.swesite-single-author span {
	display: grid;
	line-height: 1.25;
}

.swesite-single-author small,
.swesite-single-share > span {
	color: #64748b;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.swesite-single-author strong {
	color: #0f172a;
}

.swesite-single-share {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.swesite-single-share a,
.swesite-single-share button {
	background: #fff;
	border: 1px solid rgba(148, 163, 184, .28);
	border-radius: 999px;
	box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
	color: #0f172a;
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 900;
	min-height: 36px;
	padding: 0 12px;
	text-decoration: none;
}

.swesite-single-share button.is-copied {
	background: #dcfce7;
	border-color: #86efac;
	color: #166534;
}

.swesite-single-content-section {
	background:
		linear-gradient(180deg, rgba(248, 251, 255, .92), rgba(241, 247, 255, .78)),
		#f6f9ff;
	padding: clamp(36px, 5vw, 76px) 0;
}

.swesite-single-layout {
	align-items: start;
	display: grid;
	gap: clamp(18px, 2.5vw, 34px);
	grid-template-columns: 260px minmax(0, 820px) 320px;
	justify-content: center;
}

.swesite-single-layout.no-toc.has-sidebar {
	grid-template-columns: minmax(0, 900px) 320px;
}

.swesite-single-layout.has-toc.no-sidebar {
	grid-template-columns: 260px minmax(0, 920px);
}

.swesite-single-layout.no-toc.no-sidebar {
	grid-template-columns: minmax(0, 920px);
}

.swesite-single-toc,
.swesite-single-content,
.swesite-single-side-card,
.swesite-single-visual-card {
	background: rgba(255, 255, 255, .95);
	border: 1px solid rgba(203, 213, 225, .74);
	border-radius: 28px;
	box-shadow: 0 20px 70px rgba(15, 23, 42, .08);
}

.swesite-single-toc,
.swesite-single-sidebar {
	position: sticky;
	top: 112px;
}

.swesite-single-toc {
	padding: 20px;
}

.swesite-single-toc h2,
.swesite-single-side-card h2 {
	color: #0f172a;
	font-size: 18px;
	line-height: 1.2;
	margin: 0 0 14px;
}

.swesite-single-toc nav {
	display: grid;
	gap: 7px;
}

.swesite-single-toc a {
	border-radius: 12px;
	color: #475569;
	font-size: 14px;
	font-weight: 850;
	line-height: 1.35;
	padding: 8px 10px;
	text-decoration: none;
}

.swesite-single-toc a:hover,
.swesite-single-toc a:focus {
	background: #eff6ff;
	color: #1d4ed8;
}

.swesite-single-toc a.is-level-3 {
	font-size: 13px;
	padding-left: 22px;
}

.swesite-single-content {
	color: #1e293b;
	font-size: clamp(16px, 1.1vw, 18px);
	line-height: 1.82;
	min-width: 0;
	padding: clamp(26px, 4vw, 58px);
}

.swesite-single-content > *:first-child {
	margin-top: 0;
}

.swesite-single-content > *:last-child {
	margin-bottom: 0;
}

.swesite-single-content h2,
.swesite-single-content h3,
.swesite-single-content h4 {
	color: #0f172a;
	letter-spacing: 0;
	line-height: 1.16;
	margin: 1.8em 0 .65em;
	scroll-margin-top: 120px;
}

.swesite-single-content h2 {
	font-size: clamp(28px, 3vw, 42px);
}

.swesite-single-content h3 {
	font-size: clamp(22px, 2.2vw, 30px);
}

.swesite-single-content p {
	margin: 0 0 1.25em;
}

.swesite-single-content a {
	color: #2563eb;
	font-weight: 800;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.swesite-single-content ul,
.swesite-single-content ol {
	margin: 0 0 1.4em;
	padding-left: 1.35em;
}

.swesite-single-content li {
	margin: .42em 0;
}

.swesite-single-content blockquote {
	background: linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(20, 184, 166, .08));
	border-left: 5px solid #2563eb;
	border-radius: 18px;
	color: #0f172a;
	font-size: 1.06em;
	font-weight: 800;
	margin: 2em 0;
	padding: 20px 24px;
}

.swesite-single-content img {
	border-radius: 22px;
	box-shadow: 0 18px 54px rgba(15, 23, 42, .12);
	height: auto;
	max-width: 100%;
}

.swesite-single-content figure {
	margin: 2em 0;
	max-width: 100%;
}

.swesite-single-tags {
	border-top: 1px solid rgba(203, 213, 225, .8);
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 36px;
	padding-top: 22px;
}

.swesite-single-tags a,
.swesite-single-category-list a {
	background: #f8fafc;
	border: 1px solid rgba(148, 163, 184, .28);
	border-radius: 999px;
	color: #1d4ed8;
	font-size: 13px;
	font-weight: 900;
	padding: 8px 11px;
	text-decoration: none;
}

.swesite-single-sidebar {
	display: grid;
	gap: 18px;
}

.swesite-single-visual-card {
	aspect-ratio: 1 / .78;
	overflow: hidden;
}

.swesite-single-visual-card img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.swesite-single-side-card {
	padding: 22px;
}

.swesite-single-latest-list {
	display: grid;
	gap: 11px;
}

.swesite-single-latest-list a {
	align-items: center;
	background: #f8fafc;
	border: 1px solid rgba(148, 163, 184, .24);
	border-radius: 16px;
	display: grid;
	gap: 4px 11px;
	grid-template-columns: 48px minmax(0, 1fr);
	padding: 9px;
	text-decoration: none;
}

.swesite-single-latest-list img,
.swesite-single-latest-list > a > span {
	align-items: center;
	background: linear-gradient(135deg, #2563eb, #08b9b1);
	border-radius: 12px;
	color: #fff;
	display: flex;
	font-weight: 950;
	grid-row: span 2;
	height: 48px;
	justify-content: center;
	object-fit: cover;
	width: 48px;
}

.swesite-single-latest-list strong {
	color: #0f172a;
	font-size: 14px;
	line-height: 1.25;
}

.swesite-single-latest-list small {
	color: #64748b;
	font-size: 12px;
	font-weight: 800;
}

.swesite-single-category-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.swesite-single-related,
.swesite-single-cta {
	background: #f6f9ff;
	padding: clamp(10px, 3vw, 34px) 0 clamp(46px, 6vw, 86px);
}

.swesite-single-section-head {
	margin-bottom: 22px;
}

.swesite-single-section-head h2,
.swesite-single-cta-card h2 {
	color: #0f172a;
	font-size: clamp(30px, 3.8vw, 48px);
	letter-spacing: 0;
	line-height: 1.05;
	margin: 0;
}

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

.swesite-single-related-card {
	background: rgba(255, 255, 255, .95);
	border: 1px solid rgba(203, 213, 225, .72);
	border-radius: 28px;
	box-shadow: 0 18px 60px rgba(15, 23, 42, .09);
	overflow: hidden;
}

.swesite-single-related-image {
	align-items: center;
	aspect-ratio: 1.55 / 1;
	background: linear-gradient(135deg, #eff6ff, #ecfeff);
	display: flex;
	justify-content: center;
	overflow: hidden;
	text-decoration: none;
}

.swesite-single-related-image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.swesite-single-related-image span {
	align-items: center;
	background: linear-gradient(135deg, #2563eb, #08b9b1);
	border-radius: 20px;
	color: #fff;
	display: flex;
	font-size: 38px;
	font-weight: 950;
	height: 82px;
	justify-content: center;
	width: 82px;
}

.swesite-single-related-card > div {
	display: grid;
	gap: 11px;
	padding: 20px;
}

.swesite-single-related-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.swesite-single-related-meta span {
	background: rgba(37, 99, 235, .09);
	border-radius: 999px;
	color: #1d4ed8;
	font-size: 12px;
	font-weight: 900;
	padding: 7px 10px;
}

.swesite-single-related-card h3 {
	font-size: 21px;
	line-height: 1.18;
	margin: 0;
}

.swesite-single-related-card h3 a {
	color: #0f172a;
	text-decoration: none;
}

.swesite-single-related-card p {
	color: #64748b;
	line-height: 1.62;
	margin: 0;
}

.swesite-single-related-link {
	color: #2563eb;
	font-weight: 950;
	text-decoration: none;
}

.swesite-single-cta-card {
	align-items: center;
	background:
		radial-gradient(circle at 18% 20%, rgba(255, 255, 255, .26), transparent 28%),
		linear-gradient(135deg, #2563eb, #08b9b1);
	border-radius: 32px;
	box-shadow: 0 28px 86px rgba(37, 99, 235, .22);
	color: #fff;
	display: flex;
	gap: 22px;
	justify-content: space-between;
	padding: clamp(26px, 4vw, 48px);
	width: 100%;
}

.swesite-single-cta-card h2,
.swesite-single-cta-card p,
.swesite-single-cta-card .swesite-kicker {
	color: #fff;
}

.swesite-single-cta-card p:not(.swesite-kicker) {
	font-size: 17px;
	line-height: 1.65;
	margin: 12px 0 0;
	max-width: 720px;
}

.swesite-single-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: flex-end;
	min-width: max-content;
}

.swesite-single-cta-actions a {
	align-items: center;
	border-radius: 16px;
	display: inline-flex;
	font-weight: 950;
	justify-content: center;
	min-height: 54px;
	padding: 0 22px;
	text-decoration: none;
}

.swesite-single-cta-actions .is-primary {
	background: #fff;
	color: #0f172a;
}

.swesite-single-cta-actions .is-secondary {
	border: 1px solid rgba(255, 255, 255, .62);
	color: #fff;
}

@media (max-width: 1240px) {
	.swesite-single-hero-inner,
	.swesite-single-layout,
	.swesite-single-layout.no-toc.has-sidebar,
	.swesite-single-layout.has-toc.no-sidebar {
		grid-template-columns: 1fr;
	}

	.swesite-single-hero-image {
		min-height: 340px;
	}

	.swesite-single-toc,
	.swesite-single-sidebar {
		position: static;
	}

	.swesite-single-sidebar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.swesite-single-section-inner,
	.swesite-single-hero-inner,
	.swesite-single-layout {
		width: min(100% - 28px, 1480px);
	}

	.swesite-single-hero {
		padding: 28px 0 34px;
	}

	.swesite-single-hero-image {
		aspect-ratio: 1.25 / .85;
		border-radius: 24px;
		min-height: 0;
		order: 1;
	}

	.swesite-single-hero-content {
		border-radius: 24px;
		order: 2;
		padding: 22px;
	}

	.swesite-single-hero-footer,
	.swesite-single-share,
	.swesite-single-cta-card {
		align-items: stretch;
		flex-direction: column;
	}

	.swesite-single-share a,
	.swesite-single-share button,
	.swesite-single-cta-actions,
	.swesite-single-cta-actions a {
		width: 100%;
	}

	.swesite-single-sidebar {
		grid-template-columns: 1fr;
	}

	.swesite-single-content,
	.swesite-single-toc,
	.swesite-single-side-card {
		border-radius: 22px;
	}

	.swesite-single-related-grid {
		display: flex;
		overflow-x: auto;
		padding: 2px 2px 14px;
		scroll-snap-type: inline mandatory;
	}

	.swesite-single-related-card {
		flex: 0 0 88%;
		scroll-snap-align: start;
	}
}
