.loop-section {
	padding: 24px 0 60px;
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.loop-wrap {
	width: min(1598px, 92%);
	margin: 0 auto;
	position: relative;
	z-index: 2;
	padding-top: 80px;
}

.moving-clouds {
    position: fixed;
	background: url(../img/clouds.png) repeat-x center center;
    z-index: -1;
    bottom: 0;
    left: 0;
    width: 3506px;
    height: 100%;
    -webkit-animation: cloudLoop 80s linear infinite;
    animation: cloudLoop 80s linear infinite;
}

@-webkit-keyframes cloudLoop {
	0% {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
	100% {
		-webkit-transform: translate3d(-50%, 0, 0);
		transform: translate3d(-50%, 0, 0);
	}
}

@keyframes cloudLoop {
	0% {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
	100% {
		-webkit-transform: translate3d(-50%, 0, 0);
		transform: translate3d(-50%, 0, 0);
	}
}

.hero-section-new {
	margin-bottom: 40px;
}

.hero-container {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 24px;
	padding: 24px;
	align-items: center;
}

.hero-content-left {
	display: flex;
	flex-direction: column;
	gap: 14px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 20px;
   backdrop-filter: blur(12px);
	padding: 16px;
	max-width: 448px;
}
.hero-image-box{
	max-width: 544px;
	height: fit-content;
}
.hero-tags {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.hero-chip {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(37, 99, 235, 0.24);
	color: #dbeafe;
	font-size: 12px;
	font-weight: 600;
}

.hero-title-gradient a {
	font-size: 38px;
	line-height: 1.12;
	color: #fff;
	text-decoration: none;
}

.hero-description p {
	margin: 0;
	color: rgba(255, 255, 255, 0.68);
	line-height: 1.6;
}

.hero-authors-section {
	display: flex;
	align-items: center;
	gap: 12px;
}

.hero-author-names {
	color: #fff;
	font-weight: 600;
}

.hero-publish-info {
	color: rgba(255, 255, 255, 0.65);
	font-size: 14px;
}

.hero-image-container {
	display: block;
	border-radius: 16px;
	overflow: hidden;
	height: 100%;
}

.hero-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	min-height: 320px;
}

.explore-section-new {
	margin-bottom: 100px;
	padding: 0 24px;
}

.explore-title-gradient{
	font-size: 38px;
}

.popular-tags-listing {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.popular-tags-listing .js-blog-category {
	display: inline-flex;
	align-items: center;
	padding: 10px 14px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.05);
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
	border: 1px solid rgba(255, 255, 255, 0.25);
}

.popular-tags-listing .js-blog-category:hover {
	transform: translateY(-4px);
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	border-color: #fff;
}

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

.item {
	position: relative;
}

.global-link {
	position: absolute;
	inset: 0;
	z-index: 3;
}

.item-container {
	height: 100%;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	background: linear-gradient(140deg, rgba(26, 29, 36, 0.86), rgba(19, 21, 26, 0.9));
	overflow: hidden;
	transition: transform 0.25s ease, border-color 0.25s ease;
}

.item:hover .item-container {
	transform: translateY(-4px);
	border-color: rgba(255, 255, 255, 0.24);
}

.item-image {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.item:hover .item-image img {
	transform: scale(1.04);
}

.item-content {
	padding: 18px;
}

.item-tags {
	margin-bottom: 12px;
}

.item-tags span {
	display: inline-flex;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(37, 99, 235, 0.2);
	color: #dbeafe;
	font-size: 12px;
}

.item-title {
	margin: 0 0 12px;
	font-size: 21px;
	line-height: 1.3;
}

.item-title a {
	color: #fff;
	text-decoration: none;
}

.item-meta {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: rgba(255, 255, 255, 0.64);
	font-size: 13px;
}

.vg-archive-results.is-loading {
	opacity: 0.6;
	pointer-events: none;
}

.vg-card-fallback-image {
	width: 100%;
	height: 100%;
	min-height: 220px;
	background: linear-gradient(135deg, #1f2937, #111827);
}

.vg-empty-state {
	padding: 40px 24px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.02);
	text-align: center;
}

.vg-empty-state h2 {
	margin: 0 0 8px;
	color: #fff;
}

.vg-empty-state p {
	margin: 0;
	color: rgba(255, 255, 255, 0.65);
}

.vg-load-more-wrap {
	display: flex;
	justify-content: center;
	margin-top: 26px;
}

.vg-load-more-btn {
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: linear-gradient(90deg, #2563eb, #14b8a6);
	color: #fff;
	padding: 12px 22px;
	border-radius: 10px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.vg-load-more-btn:hover {
	transform: translateY(-2px);
}

.vg-load-more-btn:disabled {
	opacity: 0.65;
	cursor: default;
	transform: none;
}

.archive-section {
	padding: 26px 0 8px;
}

.archive-wrap {
	width: min(1598px, 92%);
	margin: 0 auto;
}

.archive-header-centered {
	display: flex;
	justify-content: center;
	text-align: center;
}

.archive-header-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.archive-title-gradient {
	margin: 0;
	font-size: 42px;
	line-height: 1.1;
	background: linear-gradient(90deg, #60a5fa, #22d3ee);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.archive-separator {
	width: 84px;
	height: 2px;
	background: linear-gradient(90deg, #2563eb, #14b8a6);
	border-radius: 999px;
}

.archive-counter-new {
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
}

.archive-post-count {
	color: rgba(255, 255, 255, 0.78);
	font-size: 14px;
	font-weight: 600;
}

.single-blog-main {
	padding: 26px 0 70px;
}

.single-blog-wrap {
	width: min(1598px, 92%);
	margin: 0 auto;
}

.single-blog-hero-card {
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 22px;
	padding: 28px;
	background:
		radial-gradient(110% 120% at 100% 0%, rgba(220, 38, 38, 0.28) 0, rgba(17, 24, 39, 0.2) 32%, rgba(2, 6, 23, 0.92) 64%),
		linear-gradient(140deg, rgba(10, 14, 30, 0.98), rgba(3, 7, 18, 0.98));
}

.single-blog-hero-grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 28px;
	align-items: center;
}

.single-blog-hero-content {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 680px;
}

.single-blog-tag {
	width: max-content;
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #e2e8f0;
	font-size: 12px;
}

.single-blog-title {
	margin: 0;
	color: #f8fafc;
	font-size: 52px;
	line-height: 1.04;
	letter-spacing: -0.02em;
}

.single-blog-excerpt {
	margin: 0;
	color: rgba(226, 232, 240, 0.8);
	font-size: 18px;
	line-height: 1.65;
}

.single-blog-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 4px;
}

.single-blog-author-avatar img {
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: 2px solid rgba(255, 255, 255, 0.32);
}

.single-blog-author-name {
	font-weight: 600;
	color: #f8fafc;
}

.single-blog-date-read {
	display: flex;
	gap: 8px;
	color: rgba(226, 232, 240, 0.65);
	font-size: 14px;
}

.single-blog-meta-divider {
	opacity: 0.55;
}

.single-blog-hero-image-wrap {
	height: 100%;
	min-height: 340px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 16px;
	overflow: hidden;
	background: rgba(15, 23, 42, 0.8);
}

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

.single-blog-no-image {
	background: linear-gradient(130deg, #0f172a, #1e293b);
}

.single-blog-content-section {
	padding-top: 34px;
}

.single-blog-content-wrap {
	width: min(920px, 92%);
	margin: 0 auto;
}

.single-blog-content {
	color: rgba(226, 232, 240, 0.9);
	font-size: 19px;
	line-height: 1.82;
}

.single-blog-content p {
	margin: 0 0 1.2em;
}

.single-blog-content h2,
.single-blog-content h3,
.single-blog-content h4 {
	color: #fff;
	line-height: 1.25;
	margin: 1.4em 0 0.5em;
}

.single-blog-content ul,
.single-blog-content ol {
	padding-left: 1.2em;
	margin: 0 0 1.2em;
}

.single-blog-content li {
	margin: 0.45em 0;
}

.single-blog-content a {
	color: #60a5fa;
	text-decoration: underline;
}

.single-blog-content img {
	max-width: 100%;
	height: auto;
	border-radius: 14px;
}

.single-blog-content blockquote {
	margin: 1.2em 0;
	padding: 12px 16px;
	border-left: 3px solid #38bdf8;
	background: rgba(56, 189, 248, 0.08);
	border-radius: 8px;
}

@media (max-width: 1200px) {
	.single-blog-title {
		font-size: 44px;
	}
}

@media (max-width: 1024px) {
	.hero-container {
		grid-template-columns: 1fr;
	}

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

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

	.single-blog-title {
		font-size: 38px;
	}

	.single-blog-hero-image-wrap {
		min-height: 300px;
	}
}

@media (max-width: 640px) {
	.posts-grid {
		grid-template-columns: 1fr;
	}

	.hero-title-gradient a {
		font-size: 30px;
	}

	.archive-title-gradient {
		font-size: 34px;
	}

	.single-blog-hero-card {
		padding: 20px;
	}

	.single-blog-title {
		font-size: 32px;
	}

	.single-blog-content {
		font-size: 17px;
		line-height: 1.72;
	}

	.single-blog-date-read {
		font-size: 13px;
	}
}
