:root {
	--p: #7c3aed;
	--pl: #8b5cf6;
	--pd: #5b21b6;
	--pxl: #ede9fe;
	--pm: #ddd6fe;
	--g9: #111827;
	--g8: #1f2937;
	--g7: #374151;
	--g6: #4b5563;
	--g5: #6b7280;
	--g4: #9ca3af;
	--g3: #d1d5db;
	--g2: #e5e7eb;
	--g1: #f3f4f6;
	--g0: #f9fafb;
	--w: #fff;
	--dark: #0d0720;
	--ok: #059669;
	--okl: #d1fae5;
	--r: 12px;
	--rl: 18px;
	--rxl: 24px;
	--rf: 9999px;
	--sp: 0 8px 32px rgba(124, 58, 237, 0.22);
}


.sm-container {
	width: min(1120px, calc(100% - 32px));
	/* width: min(1200px, calc(100% - 32px)); */
	margin: 0 auto;
}
.blog_tittle{
	color: var(--primary);
}
.sm-btn,
.sm-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 20px;
	border-radius: var(--rf);
	text-decoration: none;
	font-weight: 800;
	font-size: 14px;
	border: 0;
	transition: 0.25s ease;
}

.sm-btn {
	background: linear-gradient(135deg, var(--p), var(--pl));
	color: var(--w);
	box-shadow: var(--sp);
}

.sm-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 40px rgba(124, 58, 237, 0.32);
}

.sm-btn-outline {
	background: rgba(255, 255, 255, 0.9);
	border: 1.5px solid var(--g2);
	color: var(--g7);
}

.sm-btn-outline:hover {
	border-color: var(--p);
	color: var(--p);
}

.sm-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 14px;
	border-radius: var(--rf);
	background: var(--pxl);
	color: var(--pd);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.7px;
}

.sm-section-title {
	font-size: clamp(30px, 4vw, 54px);
	line-height: 1.05;
	letter-spacing: -1.6px;
	margin: 14px 0;
	font-weight: 900;
	color: var(--g9);
}

.sm-highlight {
	background: linear-gradient(135deg, var(--pl), var(--p));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.sm-subtitle {
	color: var(--g6);
	line-height: 1.8;
	font-size: 16px;
	max-width: 680px;
}

/* Reveal animation */
.sm-rv {
	opacity: 0;
	transform: translateY(34px);
	transition:
		opacity 0.7s ease,
		transform 0.7s ease;
}

.sm-rv.on {
	opacity: 1;
	transform: translateY(0);
}

.sm-d1 {
	transition-delay: 0.08s;
}
.sm-d2 {
	transition-delay: 0.16s;
}
.sm-d3 {
	transition-delay: 0.24s;
}

/* Blog Hero */
.sm-blog-hero {
	position: relative;
	padding: 150px 0 96px;
	overflow: hidden;
	background:
		radial-gradient(
			circle at 70% 5%,
			rgba(124, 58, 237, 0.12),
			transparent 28%
		),
		linear-gradient(180deg, #f8f5ff 0%, #ffffff 100%);
	border-bottom: 1px solid rgba(124, 58, 237, 0.08);
}

.sm-blog-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(124, 58, 237, 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(124, 58, 237, 0.055) 1px, transparent 1px);
	background-size: 48px 48px;
	animation: smGridMove 28s linear infinite;
	pointer-events: none;
}

.sm-blog-hero::after {
	content: "";
	position: absolute;
	right: -90px;
	top: -130px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 68%);
	filter: blur(6px);
	pointer-events: none;
}

@keyframes smGridMove {
	to {
		background-position: 48px 48px;
	}
}

.sm-blog-hero-in {
	position: relative;
	z-index: 2;
	text-align: center;
}

.sm-breadcrumb {
	font-size: 13px;
	color: var(--g5);
	margin-bottom: 18px;
}

.sm-breadcrumb a {
	color: var(--g5);
	text-decoration: none;
}

.sm-breadcrumb a:hover {
	color: var(--p);
}

.sm-blog-hero .sm-subtitle {
	margin: 0 auto;
}

.sm-blog-search-card {
	margin: 34px auto 0;
	max-width: 860px;
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: blur(18px);
	border: 1.5px solid rgba(124, 58, 237, 0.12);
	border-radius: var(--rxl);
	padding: 12px;
	box-shadow: 0 24px 70px rgba(124, 58, 237, 0.12);
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 10px;
}

.sm-blog-search-card input {
	height: 54px;
	border: 0;
	outline: 0;
	border-radius: var(--rl);
	padding: 0 18px;
	font-size: 15px;
	color: var(--g8);
	background: var(--g0);
}

/* Blog Listing */
.sm-blog-wrap {
	padding: 86px 0 96px;
	background: var(--w);
}

.sm-blog-topbar {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 36px;
}

.sm-category-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.sm-category-tabs a {
	text-decoration: none;
	color: var(--g6);
	background: var(--w);
	border: 1.5px solid var(--g2);
	padding: 10px 16px;
	border-radius: var(--rf);
	font-size: 13px;
	font-weight: 800;
	transition: 0.25s ease;
}

.sm-category-tabs a.active,
.sm-category-tabs a:hover {
	background: var(--pxl);
	color: var(--pd);
	border-color: var(--pm);
}

.sm-featured-blog {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 28px;
	align-items: stretch;
	margin-bottom: 34px;
	padding: 18px;
	border-radius: 32px;
	background: linear-gradient(135deg, #fff, #fbf9ff);
	border: 1.5px solid var(--g2);
	box-shadow: 0 26px 80px rgba(124, 58, 237, 0.1);
	overflow: hidden;
}

.sm-featured-img {
	min-height: 390px;
	border-radius: 24px;
	overflow: hidden;
	position: relative;
	background: linear-gradient(135deg, var(--pxl), #dbeafe);
}

.sm-featured-img img,
.sm-blog-card-img img
 {
	width: 100%;
	height: 400px;
	object-fit: cover;
	display: block;
	transition: transform 0.65s ease;
}

.sm-detail-cover img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.65s ease;
}
.sm-featured-blog:hover .sm-featured-img img,
.sm-blog-card:hover .sm-blog-card-img img {
	transform: scale(1.06);
}

.sm-featured-badge {
	position: absolute;
	left: 18px;
	top: 18px;
	background: var(--w);
	color: var(--pd);
	border: 1px solid var(--pm);
	border-radius: var(--rf);
	padding: 8px 14px;
	font-size: 12px;
	font-weight: 900;
	box-shadow: 0 12px 30px rgba(17, 24, 39, 0.1);
}

.sm-featured-content {
	padding: 28px 22px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.sm-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	color: var(--g5);
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 14px;
}

.sm-meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.sm-featured-content h2 {
	margin: 0 0 14px;
	font-size: clamp(20px, 3vw, 26px);
	line-height: 1.1;
	letter-spacing: -1px;
	color: var(--g9);
}

.sm-featured-content p,
.sm-blog-card p {
	color: var(--g6);
	line-height: 1.75;
	margin: 0 0 22px;
}

.sm-author {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
}

.sm-author-avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--p), var(--pl));
	color: var(--w);
	display: grid;
	place-items: center;
	font-weight: 900;
	box-shadow: 0 8px 26px rgba(124, 58, 237, 0.28);
}

.sm-author strong {
	display: block;
	font-size: 14px;
	color: var(--g9);
}

.sm-author small {
	color: var(--g5);
	font-weight: 600;
}

.sm-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.sm-blog-card {
	background: var(--w);
	border: 1.5px solid var(--g2);
	border-radius: var(--rxl);
	overflow: hidden;
	box-shadow: 0 16px 50px rgba(17, 24, 39, 0.055);
	transition: 0.3s ease;
}

.sm-blog-card:hover {
	transform: translateY(-7px);
	border-color: var(--pm);
	box-shadow: 0 24px 60px rgba(124, 58, 237, 0.12);
}

.sm-blog-card-img {
	height: 230px;
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--pxl), #eef2ff);
}

.sm-blog-card-content {
	padding: 22px;
}

.sm-blog-card h3 {
	margin: 0 0 12px;
	font-size: 21px;
	line-height: 1.28;
	letter-spacing: -0.4px;
	color: var(--g9);
}

.sm-blog-card h3 a,
.sm-featured-content h2 a {
	text-decoration: none;
}

.sm-blog-card h3 a:hover,
.sm-featured-content h2 a:hover {
	color: var(--p);
}

.sm-read-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--p);
	text-decoration: none;
	font-size: 14px;
	font-weight: 900;
	transition: 0.25s ease;
}

.sm-read-more:hover {
	gap: 12px;
	color: var(--pd);
}

.sm-pagination {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 50px;
}

.sm-pagination a {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	text-decoration: none;
	font-weight: 800;
	color: var(--g7);
	border: 1.5px solid var(--g2);
	background: var(--w);
	transition: 0.25s ease;
}

.sm-pagination a.active,
.sm-pagination a:hover {
	background: var(--p);
	border-color: var(--p);
	color: var(--w);
	box-shadow: var(--sp);
}

/* Newsletter */
.sm-newsletter {
	padding: 82px 0;
	background: linear-gradient(135deg, #4c1d95, var(--p), var(--pl));
	position: relative;
	overflow: hidden;
}

.sm-newsletter::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(
		rgba(255, 255, 255, 0.16) 1px,
		transparent 1px
	);
	background-size: 34px 34px;
	opacity: 0.55;
}

.sm-newsletter-in {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 780px;
	margin: 0 auto;
}

.sm-newsletter h2 {
	color: var(--w);
	font-size: clamp(30px, 4vw, 48px);
	margin: 0 0 14px;
	letter-spacing: -1px;
}

.sm-newsletter p {
	color: rgba(255, 255, 255, 0.74);
	line-height: 1.75;
	margin: 0 0 28px;
}

.sm-newsletter-form {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 10px;
	max-width: 620px;
	margin: 0 auto;
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 10px;
	border-radius: var(--rxl);
	backdrop-filter: blur(12px);
}

.sm-newsletter-form input {
	height: 54px;
	border: 0;
	outline: 0;
	border-radius: var(--rl);
	padding: 0 16px;
	font-size: 15px;
}

.sm-newsletter-form button {
	border: 0;
	background: var(--w);
	color: var(--p);
	padding: 0 24px;
	border-radius: var(--rl);
	font-weight: 900;
	cursor: pointer;
}

/* Blog Detail */
.sm-detail-hero {
	padding: 138px 0 58px;
	background:
		radial-gradient(
			circle at 80% 8%,
			rgba(124, 58, 237, 0.13),
			transparent 26%
		),
		linear-gradient(180deg, #f8f5ff, #fff);
	position: relative;
	overflow: hidden;
}

.sm-detail-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(124, 58, 237, 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(124, 58, 237, 0.055) 1px, transparent 1px);
	background-size: 48px 48px;
}

.sm-detail-hero-in {
	position: relative;
	z-index: 2;
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
}

.sm-detail-title {
	font-size: clamp(34px, 5vw, 64px);
	line-height: 1.06;
	letter-spacing: -1.8px;
	color: var(--g9);
	margin: 16px 0;
	font-weight: 900;
}

.sm-detail-cover {
	width: min(1120px, calc(100% - 32px));
	height: 520px;
	margin: -10px auto 0;
	border-radius: 32px;
	overflow: hidden;
	background: linear-gradient(135deg, var(--pxl), #dbeafe);
	box-shadow: 0 28px 80px rgba(124, 58, 237, 0.14);
	border: 1.5px solid var(--g2);
	position: relative;
	z-index: 3;
}

.sm-detail-layout {
	padding: 74px 0 96px;
	display: grid;
	grid-template-columns: 1fr;
	/* grid-template-columns: 260px minmax(0, 1fr); */
	gap: 34px;
	align-items: start;
}

.sm-sticky {
	position: sticky;
	top: 100px;
}

.sm-toc,
.sm-share-box,
.sm-author-box,
.sm-related-box {
	background: var(--w);
	border: 1.5px solid var(--g2);
	border-radius: var(--rxl);
	padding: 22px;
	box-shadow: 0 12px 42px rgba(17, 24, 39, 0.045);
}

.sm-toc h4,
.sm-share-box h4,
.sm-author-box h4,
.sm-related-box h4 {
	margin: 0 0 14px;
	color: var(--g9);
	font-size: 15px;
}

.sm-toc a {
	display: block;
	text-decoration: none;
	color: var(--g6);
	font-size: 13px;
	font-weight: 700;
	padding: 9px 0;
	border-bottom: 1px solid var(--g1);
	transition: 0.2s ease;
}

.sm-toc a:hover {
	color: var(--p);
	transform: translateX(4px);
}

.sm-article {
	background: var(--w);
	border: 1.5px solid var(--g2);
	border-radius: 32px;
	padding: 46px;
	box-shadow: 0 18px 60px rgba(17, 24, 39, 0.05);
}

.sm-article p {
	color: var(--g6);
	font-size: 17px;
	line-height: 1.9;
	margin: 0 0 24px;
}

.sm-article h2 {
	font-size: clamp(20px, 3vw, 22px);
	line-height: 1.18;
	letter-spacing: -0.8px;
	color: var(--g9);
	margin: 44px 0 16px;
}

.sm-article h3 {
	font-size: 24px;
	color: var(--g9);
	margin: 34px 0 12px;
}

.sm-article ul,
.sm-article ol {
	padding-left: 22px;
	color: var(--g6);
	line-height: 1.9;
	font-size: 16px;
}

.sm-article blockquote {
	margin: 34px 0;
	padding: 28px;
	border-radius: var(--rxl);
	border-left: 5px solid var(--p);
	background: linear-gradient(135deg, var(--pxl), #fff);
	color: var(--g8);
	font-size: 21px;
	line-height: 1.6;
	font-weight: 800;
}

.sm-callout {
	padding: 24px;
	border-radius: var(--rxl);
	background: #fbf9ff;
	border: 1.5px solid var(--pm);
	margin: 32px 0;
}

.sm-callout strong {
	display: block;
	color: var(--pd);
	margin-bottom: 8px;
}

.sm-share-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sm-share-links a {
	width: 38px;
	height: 38px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: var(--g0);
	border: 1px solid var(--g2);
	text-decoration: none;
	font-weight: 900;
	color: var(--g6);
	transition: 0.25s ease;
}

.sm-share-links a:hover {
	background: var(--pxl);
	color: var(--p);
	border-color: var(--pm);
	transform: translateY(-2px);
}

.sm-side-stack {
	display: grid;
	gap: 18px;
}

.sm-author-box .sm-author {
	margin-top: 0;
}

.sm-related-post {
	display: block;
	padding: 14px 0;
	border-bottom: 1px solid var(--g1);
	text-decoration: none;
}

.sm-related-post:last-child {
	border-bottom: 0;
}

.sm-related-post strong {
	display: block;
	color: var(--g9);
	font-size: 14px;
	line-height: 1.45;
	margin-bottom: 5px;
}

.sm-related-post span {
	color: var(--g5);
	font-size: 12px;
	font-weight: 700;
}

.sm-related-post:hover strong {
	color: var(--p);
}

.sm-post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-top: 34px;
}

.sm-post-nav a {
	padding: 20px;
	border-radius: var(--rxl);
	border: 1.5px solid var(--g2);
	background: var(--w);
	text-decoration: none;
	transition: 0.25s ease;
}

.sm-post-nav a:hover {
	border-color: var(--pm);
	transform: translateY(-3px);
	box-shadow: 0 12px 40px rgba(124, 58, 237, 0.1);
}

.sm-post-nav small {
	display: block;
	color: var(--g5);
	font-weight: 800;
	margin-bottom: 6px;
}

.sm-post-nav strong {
	color: var(--g9);
	line-height: 1.4;
}

@media (max-width: 1100px) {
	.sm-featured-blog,
	.sm-detail-layout {
		grid-template-columns: 1fr;
	}

	.sm-detail-layout {
		padding-top: 54px;
	}

	.sm-sticky {
		position: static;
	}

	.sm-blog-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 760px) {
	.sm-blog-hero,
	.sm-detail-hero {
		padding: 110px 0 62px;
	}

	.sm-blog-search-card,
	.sm-newsletter-form,
	.sm-post-nav {
		grid-template-columns: 1fr;
	}

	.sm-blog-topbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.sm-featured-img,
	.sm-detail-cover {
		height: 300px;
		min-height: 300px;
	}

	.sm-blog-grid {
		grid-template-columns: 1fr;
	}

	.sm-article {
		padding: 26px;
		border-radius: var(--rxl);
	}

	.sm-article p {
		font-size: 16px;
	}
}
