/*
Theme Name: Visual Vortixel Child
Theme URI: https://visualvortixel.com/
Description: Child theme khusus Visual Vortixel berbasis Hello Elementor.
Author: Visual Vortixel
Template: hello-elementor
Version: 1.0.0
Text Domain: visual-vortixel-child
*/

:root {
	--vv-bg: #020204;
	--vv-surface: #08080d;
	--vv-surface-soft: #101018;
	--vv-text: #ffffff;
	--vv-body: #d0d0dc;
	--vv-muted: #8d8d9c;
	--vv-primary: #843cff;
	--vv-secondary: #e327a8;
	--vv-accent: #00cfff;
	--vv-border: rgba(255, 255, 255, 0.11);
	--vv-radius: 28px;
	--vv-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

/* =====================================================
   GLOBAL
===================================================== */

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--vv-bg);
	color: var(--vv-text);
}

body.single-post {
	overflow-x: hidden;
	background:
		radial-gradient(
			circle at 12% 8%,
			rgba(132, 60, 255, 0.12),
			transparent 30%
		),
		radial-gradient(
			circle at 88% 14%,
			rgba(227, 39, 168, 0.09),
			transparent 28%
		),
		#020204;
}

/* =====================================================
   READING PROGRESS
===================================================== */

.vv-reading-progress {
	position: fixed;
	z-index: 999999;
	top: 0;
	left: 0;
	width: 0;
	height: 4px;
	background: linear-gradient(
		90deg,
		var(--vv-primary),
		var(--vv-secondary),
		var(--vv-accent)
	);
	box-shadow: 0 0 18px rgba(132, 60, 255, 0.7);
}

/* =====================================================
   MAIN LAYOUT
===================================================== */

.vv-single {
	display: block;
	width: 100%;
	margin: 0;
	padding: 18px 18px 80px;
}

.vv-container {
	width: min(1180px, 100%);
	margin: 0 auto;
}

.vv-article {
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
	border: 1px solid var(--vv-border);
	border-radius: var(--vv-radius);
	background: var(--vv-surface);
	box-shadow: var(--vv-shadow);
}

/* =====================================================
   HERO
===================================================== */

.vv-hero {
	position: relative;
	margin: 0;
	padding: clamp(44px, 7vw, 92px);
	overflow: hidden;
	color: var(--vv-text);
	background:
		linear-gradient(
			135deg,
			rgba(132, 60, 255, 0.17),
			transparent 42%
		),
		radial-gradient(
			circle at 88% 14%,
			rgba(227, 39, 168, 0.17),
			transparent 26%
		),
		linear-gradient(
			180deg,
			#0d0c14 0%,
			#060609 100%
		);
}

.vv-hero::before {
	content: "";
	position: absolute;
	top: -140px;
	right: -90px;
	width: 390px;
	height: 390px;
	border: 1px solid rgba(0, 207, 255, 0.13);
	border-radius: 50%;
	box-shadow:
		0 0 90px rgba(132, 60, 255, 0.12),
		inset 0 0 100px rgba(227, 39, 168, 0.06);
	pointer-events: none;
}

.vv-hero::after {
	content: "";
	position: absolute;
	right: clamp(25px, 7vw, 90px);
	bottom: -55px;
	width: 155px;
	height: 155px;
	border-radius: 42px;
	background: linear-gradient(
		135deg,
		var(--vv-primary),
		var(--vv-secondary),
		var(--vv-accent)
	);
	transform: rotate(18deg);
	opacity: 0.15;
	filter: blur(1px);
	pointer-events: none;
}

/* =====================================================
   BREADCRUMB
===================================================== */

.vv-breadcrumb {
	position: relative;
	z-index: 4;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 0 0 22px;
	padding: 0;
	color: var(--vv-muted);
	font-size: 14px;
	line-height: 1.5;
}

.vv-breadcrumb a {
	color: var(--vv-accent);
	text-decoration: none;
}

.vv-breadcrumb a:hover {
	color: #75e7ff;
}

/* =====================================================
   CATEGORIES
===================================================== */

.vv-category-list {
	position: relative;
	z-index: 4;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
}

.vv-category-list a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	border: 1px solid rgba(132, 60, 255, 0.36);
	border-radius: 999px;
	background: rgba(132, 60, 255, 0.10);
	color: #c6a8ff !important;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.055em;
	text-decoration: none;
	text-transform: uppercase;
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.vv-category-list a:hover {
	border-color: var(--vv-secondary);
	background: linear-gradient(
		135deg,
		var(--vv-primary),
		var(--vv-secondary)
	);
	color: #ffffff !important;
	transform: translateY(-2px);
}

/* =====================================================
   TITLE
===================================================== */

.vv-title,
.vv-article .vv-hero .vv-title,
.vv-article .vv-hero h1.vv-title {
	position: relative;
	z-index: 3;
	max-width: 1040px;
	margin: 0;
	padding: 0;
	color: #ffffff !important;
	background: none !important;
	background-image: none !important;
	font-size: clamp(46px, 6.8vw, 88px);
	font-weight: 800;
	line-height: 0.98;
	letter-spacing: -0.052em;
	text-shadow: none !important;
	text-wrap: balance;
	-webkit-text-fill-color: #ffffff !important;
}

/* =====================================================
   EXCERPT
===================================================== */

.vv-excerpt {
	position: relative;
	z-index: 3;
	max-width: 860px;
	margin: 27px 0 0;
	padding: 0;
	color: var(--vv-body) !important;
	font-size: clamp(17px, 1.9vw, 21px);
	line-height: 1.72;
}

/* =====================================================
   META
===================================================== */

.vv-meta {
	position: relative;
	z-index: 3;
	display: flex;
	flex-wrap: wrap;
	gap: 14px 24px;
	align-items: center;
	margin: 31px 0 0;
	padding: 0;
	color: var(--vv-muted);
	font-size: 14px;
	line-height: 1.5;
}

.vv-meta,
.vv-meta span,
.vv-meta time,
.vv-meta a {
	color: var(--vv-muted) !important;
}

.vv-author {
	display: inline-flex;
	gap: 10px;
	align-items: center;
}

.vv-author img {
	display: block;
	width: 42px;
	height: 42px;
	margin: 0;
	border: 2px solid rgba(132, 60, 255, 0.72);
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 18px rgba(132, 60, 255, 0.25);
}

/* =====================================================
   FEATURED IMAGE
===================================================== */

.vv-featured-image {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: #050509;
}

.vv-featured-image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 700px;
	margin: 0;
	object-fit: cover;
}

/* =====================================================
   CONTENT GRID
===================================================== */

.vv-content-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 58px;
	padding: clamp(38px, 6vw, 80px);
}

.vv-content {
	min-width: 0;
	color: var(--vv-body);
	font-size: 18px;
	line-height: 1.86;
}

.vv-content > *:first-child {
	margin-top: 0;
}

.vv-content > *:last-child {
	margin-bottom: 0;
}

.vv-content p {
	margin: 0 0 1.45em;
}

.vv-content strong {
	color: #ffffff;
	font-weight: 700;
}

.vv-content ul,
.vv-content ol {
	margin: 0 0 1.5em;
	padding-left: 1.5em;
}

.vv-content li {
	margin-bottom: 0.55em;
}

/* =====================================================
   ARTICLE HEADINGS
===================================================== */

.vv-content h2,
.vv-content h3,
.vv-content h4,
.vv-content h5,
.vv-content h6 {
	color: #ffffff !important;
	background: none !important;
	background-image: none !important;
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.042em;
	text-shadow: none !important;
	scroll-margin-top: 115px;
	-webkit-text-fill-color: #ffffff !important;
}

.vv-content h2 {
	margin: 1.35em 0 0.55em;
	font-size: clamp(36px, 4.5vw, 60px);
}

.vv-content h3 {
	margin: 1.35em 0 0.55em;
	font-size: clamp(28px, 3.1vw, 40px);
}

.vv-content h4 {
	margin: 1.3em 0 0.55em;
	font-size: clamp(22px, 2.3vw, 30px);
}

/* =====================================================
   LINKS
===================================================== */

.vv-content a {
	color: #ff4ab5;
	font-weight: 700;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.vv-content a:hover {
	color: var(--vv-accent);
}

/* =====================================================
   IMAGES
===================================================== */

.vv-content figure {
	margin: 2em 0;
}

.vv-content img {
	max-width: 100%;
	height: auto;
	border-radius: 20px;
}

.vv-content figcaption {
	margin-top: 10px;
	color: var(--vv-muted);
	font-size: 14px;
	line-height: 1.6;
	text-align: center;
}

/* =====================================================
   BLOCKQUOTE
===================================================== */

.vv-content blockquote {
	margin: 2em 0;
	padding: 28px 30px;
	border-left: 5px solid var(--vv-secondary);
	border-radius: 0 18px 18px 0;
	background:
		linear-gradient(
			135deg,
			rgba(132, 60, 255, 0.13),
			rgba(227, 39, 168, 0.06)
		);
	color: #eeeeff;
	font-size: 1.08em;
}

.vv-content blockquote p:last-child {
	margin-bottom: 0;
}

/* =====================================================
   CODE
===================================================== */

.vv-content code {
	padding: 2px 6px;
	border-radius: 5px;
	background: #1b1525;
	color: #d9bcff;
	font-size: 0.9em;
}

.vv-content pre {
	max-width: 100%;
	margin: 2em 0;
	padding: 24px;
	overflow-x: auto;
	border: 1px solid var(--vv-border);
	border-radius: 16px;
	background: #010103;
	color: #f5efff;
}

.vv-content pre code {
	padding: 0;
	background: transparent;
	color: inherit;
}

/* =====================================================
   TABLE
===================================================== */

.vv-content table {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 2em 0;
	overflow-x: auto;
	border-collapse: collapse;
}

.vv-content th,
.vv-content td {
	padding: 12px 14px;
	border: 1px solid var(--vv-border);
	text-align: left;
	vertical-align: top;
}

.vv-content th {
	background: #18131f;
	color: #ffffff;
	font-weight: 800;
}

/* =====================================================
   SIDEBAR
===================================================== */

.vv-sidebar {
	position: sticky;
	top: 115px;
	align-self: start;
}

.vv-card {
	padding: 22px;
	border: 1px solid var(--vv-border);
	border-radius: 20px;
	background:
		linear-gradient(
			145deg,
			rgba(132, 60, 255, 0.08),
			rgba(227, 39, 168, 0.03)
		),
		var(--vv-surface-soft);
}

.vv-card + .vv-card {
	margin-top: 18px;
}

.vv-card-title {
	margin: 0 0 14px;
	color: #ffffff !important;
	background: none !important;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	-webkit-text-fill-color: #ffffff !important;
}

/* =====================================================
   SHARE BUTTONS
===================================================== */

.vv-share-links {
	display: grid;
	gap: 10px;
}

.vv-share-links a {
	display: flex;
	justify-content: center;
	padding: 12px 14px;
	border: 1px solid rgba(132, 60, 255, 0.24);
	border-radius: 12px;
	background: #08070c;
	color: #ffffff !important;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	transition:
		transform 0.2s ease,
		border-color 0.2s ease,
		background 0.2s ease;
}

.vv-share-links a:hover {
	border-color: var(--vv-secondary);
	background: linear-gradient(
		135deg,
		var(--vv-primary),
		var(--vv-secondary)
	);
	transform: translateY(-2px);
}

/* =====================================================
   TABLE OF CONTENTS
===================================================== */

.vv-toc ol {
	margin: 0;
	padding-left: 19px;
}

.vv-toc li {
	margin: 0;
	padding: 0;
}

.vv-toc a {
	display: block;
	margin-bottom: 10px;
	color: #c5b0ef;
	font-size: 14px;
	line-height: 1.45;
	text-decoration: none;
}

.vv-toc a:hover {
	color: var(--vv-accent);
}

/* =====================================================
   TAGS
===================================================== */

.vv-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 44px;
	padding-top: 28px;
	border-top: 1px solid var(--vv-border);
}

.vv-tags a {
	padding: 8px 12px;
	border: 1px solid rgba(132, 60, 255, 0.22);
	border-radius: 999px;
	background: rgba(132, 60, 255, 0.09);
	color: #d1baff !important;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
	transition:
		background 0.2s ease,
		transform 0.2s ease;
}

.vv-tags a:hover {
	background: rgba(227, 39, 168, 0.18);
	transform: translateY(-2px);
}

/* =====================================================
   POST NAVIGATION
===================================================== */

.vv-post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	padding:
		0
		clamp(38px, 6vw, 80px)
		clamp(38px, 6vw, 80px);
}

.vv-post-nav > div {
	min-width: 0;
}

.vv-post-nav a {
	display: block;
	height: 100%;
	padding: 22px;
	border: 1px solid var(--vv-border);
	border-radius: 18px;
	background: #09090e;
	color: #ffffff !important;
	text-decoration: none;
	transition:
		transform 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.vv-post-nav a:hover {
	border-color: rgba(227, 39, 168, 0.55);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.36);
	transform: translateY(-3px);
}

.vv-post-nav small {
	display: block;
	margin-bottom: 8px;
	color: var(--vv-accent);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.vv-post-nav strong {
	display: block;
	color: #ffffff;
	font-size: 16px;
	line-height: 1.45;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1024px) {
	.vv-content-grid {
		gap: 36px;
	}

	.vv-sidebar {
		top: 105px;
	}
}

/* =====================================================
   SMALL TABLET
===================================================== */

@media (max-width: 920px) {
	.vv-content-grid {
		grid-template-columns: 1fr;
	}

	.vv-sidebar {
		position: static;
	}

	.vv-toc-card {
		display: none;
	}
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {
	.vv-single {
		padding: 10px 10px 48px;
	}

	.vv-article {
		border-radius: 18px;
	}

	.vv-hero {
		padding: 30px 30px 44px;
	}

	.vv-hero::after {
		right: 5px;
		bottom: -22px;
		width: 112px;
		height: 112px;
	}

	.vv-breadcrumb {
		margin-bottom: 18px;
		font-size: 13px;
	}

	.vv-category-list {
		gap: 9px;
		margin-bottom: 22px;
	}

	.vv-category-list a {
		padding: 8px 12px;
		font-size: 11px;
	}

	.vv-title,
	.vv-article .vv-hero .vv-title,
	.vv-article .vv-hero h1.vv-title {
		font-size: clamp(35px, 10.5vw, 50px);
		line-height: 1.02;
		letter-spacing: -0.037em;
	}

	.vv-excerpt {
		margin-top: 20px;
		font-size: 16px;
		line-height: 1.65;
	}

	.vv-meta {
		gap: 14px 20px;
		margin-top: 28px;
	}

	.vv-content-grid {
		padding: 34px 28px 42px;
	}

	.vv-content {
		font-size: 17px;
		line-height: 1.78;
	}

	.vv-content h2 {
		font-size: clamp(30px, 9vw, 43px);
	}

	.vv-content h3 {
		font-size: clamp(25px, 7vw, 34px);
	}

	.vv-post-nav {
		grid-template-columns: 1fr;
		padding: 0 28px 42px;
	}
}

/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {
	.vv-single {
		padding: 0 0 48px;
	}

	.vv-article {
		border-right: 0;
		border-left: 0;
		border-radius: 0;
	}

	.vv-hero {
		padding: 26px 26px 40px;
	}

	.vv-content-grid {
		padding: 32px 24px 40px;
	}

	.vv-post-nav {
		padding: 0 24px 40px;
	}
}