/*
Theme Name: Market Vortixel Child
Theme URI: https://marketvortixel.com/
Description: Child theme khusus Market Vortixel berbasis Hello Elementor.
Author: Market Vortixel
Template: hello-elementor
Version: 1.0.0
Text Domain: market-vortixel-child
*/

:root {
	--mv-bg: #050608;
	--mv-surface: #0b0d12;
	--mv-surface-soft: #11141c;
	--mv-text: #f8f9ff;
	--mv-body: #c7cada;
	--mv-muted: #8f94a8;
	--mv-primary: #4f7cff;
	--mv-secondary: #9848ff;
	--mv-accent: #20d5ff;
	--mv-border: rgba(255, 255, 255, 0.10);
	--mv-radius: 26px;
	--mv-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

/* =====================================================
   GLOBAL
===================================================== */

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--mv-bg);
	color: var(--mv-text);
}

body.single-post {
	overflow-x: hidden;
	background:
		radial-gradient(
			circle at top left,
			rgba(79, 124, 255, 0.09),
			transparent 32%
		),
		radial-gradient(
			circle at top right,
			rgba(152, 72, 255, 0.08),
			transparent 30%
		),
		var(--mv-bg);
}

/* =====================================================
   READING PROGRESS
===================================================== */

.mv-reading-progress {
	position: fixed;
	z-index: 999999;
	top: 0;
	left: 0;
	width: 0;
	height: 4px;
	background: linear-gradient(
		90deg,
		var(--mv-primary),
		var(--mv-secondary),
		var(--mv-accent)
	);
}

/* =====================================================
   MAIN LAYOUT
===================================================== */

.mv-single {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0 18px 80px !important;
}

.mv-container {
	width: min(1180px, 100%);
	margin: 0 auto;
}

.mv-article {
	width: 100%;
	margin: 0 auto 0 !important;
	overflow: hidden;
	border: 1px solid var(--mv-border);
	border-radius: var(--mv-radius);
	background: var(--mv-surface);
	box-shadow: var(--mv-shadow);
	transform: none !important;
}


/* =====================================================
   HERO
===================================================== */

.mv-hero {
	position: relative;
	margin: 0 !important;
	padding: clamp(42px, 7vw, 88px);
	overflow: hidden;
	color: var(--mv-text);
	background:
		linear-gradient(
			135deg,
			rgba(79, 124, 255, 0.13),
			transparent 38%
		),
		radial-gradient(
			circle at 84% 15%,
			rgba(152, 72, 255, 0.18),
			transparent 28%
		),
		#080a0f;
	transform: none !important;
}

.mv-hero::before {
	content: "";
	position: absolute;
	top: -120px;
	right: -90px;
	width: 350px;
	height: 350px;
	border: 1px solid rgba(79, 124, 255, 0.16);
	border-radius: 50%;
	box-shadow:
		0 0 80px rgba(79, 124, 255, 0.14),
		inset 0 0 80px rgba(152, 72, 255, 0.08);
	pointer-events: none;
}

.mv-hero::after {
	content: "";
	position: absolute;
	right: clamp(28px, 7vw, 90px);
	bottom: -55px;
	width: 150px;
	height: 150px;
	border-radius: 30px;
	background: linear-gradient(
		135deg,
		var(--mv-primary),
		var(--mv-secondary)
	);
	transform: rotate(18deg);
	opacity: 0.12;
	pointer-events: none;
}

/* =====================================================
   BREADCRUMB
===================================================== */

.mv-breadcrumb {
	position: relative;
	z-index: 4;
	display: flex !important;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 0 0 22px;
	padding: 0;
	color: var(--mv-muted);
	font-size: 14px;
	line-height: 1.5;
	visibility: visible !important;
	opacity: 1 !important;
}

.mv-breadcrumb a {
	color: var(--mv-accent);
	text-decoration: none;
}

.mv-breadcrumb a:hover {
	color: #80e8ff;
}

/* =====================================================
   CATEGORIES
===================================================== */

.mv-category-list {
	position: relative;
	z-index: 4;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none !important;
}

.mv-category-list ul,
.mv-category-list .post-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none !important;
}

.mv-category-list li {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none !important;
}

.mv-category-list li::before,
.mv-category-list li::marker {
	display: none !important;
	content: none !important;
}

.mv-category-list a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	border: 1px solid rgba(79, 124, 255, 0.34);
	border-radius: 999px;
	background: rgba(79, 124, 255, 0.08);
	color: #8eacff !important;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.mv-category-list a:hover {
	border-color: var(--mv-primary);
	background: var(--mv-primary);
	color: #ffffff !important;
	transform: translateY(-2px);
}

/* =====================================================
   TITLE
===================================================== */

.mv-title,
.mv-article .mv-hero .mv-title,
.mv-article .mv-hero h1.mv-title {
	position: relative;
	z-index: 3;
	max-width: 1020px;
	margin: 0;
	padding: 0;
	color: #ffffff !important;
	background: none !important;
	background-image: none !important;
	font-size: clamp(44px, 6.7vw, 86px);
	font-weight: 800;
	line-height: 0.98;
	letter-spacing: -0.05em;
	text-shadow: none !important;
	text-wrap: balance;
	-webkit-text-fill-color: #ffffff !important;
}

/* =====================================================
   EXCERPT
===================================================== */

.mv-excerpt {
	position: relative;
	z-index: 3;
	max-width: 830px;
	margin: 26px 0 0;
	padding: 0;
	color: var(--mv-body) !important;
	font-size: clamp(17px, 1.9vw, 21px);
	line-height: 1.72;
}

/* =====================================================
   META
===================================================== */

.mv-meta {
	position: relative;
	z-index: 3;
	display: flex;
	flex-wrap: wrap;
	gap: 14px 24px;
	align-items: center;
	margin: 30px 0 0;
	padding: 0;
	color: var(--mv-muted) !important;
	font-size: 14px;
	line-height: 1.5;
}

.mv-meta,
.mv-meta span,
.mv-meta time,
.mv-meta a {
	color: var(--mv-muted) !important;
}

.mv-author {
	display: inline-flex;
	gap: 10px;
	align-items: center;
}

.mv-author img {
	display: block;
	width: 40px;
	height: 40px;
	margin: 0;
	border: 2px solid rgba(79, 124, 255, 0.65);
	border-radius: 50%;
	object-fit: cover;
}

/* =====================================================
   FEATURED IMAGE
===================================================== */

.mv-featured-image {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: #090b10;
}

.mv-featured-image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 680px;
	margin: 0;
	object-fit: cover;
}

/* =====================================================
   CONTENT GRID
===================================================== */

.mv-content-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 58px;
	padding: clamp(38px, 6vw, 80px);
}

.mv-content {
	min-width: 0;
	color: var(--mv-body);
	font-size: 18px;
	line-height: 1.86;
}

.mv-content > *:first-child {
	margin-top: 0;
}

.mv-content > *:last-child {
	margin-bottom: 0;
}

.mv-content p {
	margin: 0 0 1.45em;
}

.mv-content strong {
	color: #ffffff;
	font-weight: 700;
}

.mv-content ul,
.mv-content ol {
	margin: 0 0 1.5em;
	padding-left: 1.5em;
}

.mv-content li {
	margin-bottom: 0.55em;
}

/* =====================================================
   HEADINGS
===================================================== */

.mv-content h2,
.mv-content h3,
.mv-content h4,
.mv-content h5,
.mv-content h6 {
	color: #ffffff !important;
	background: none !important;
	background-image: none !important;
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.04em;
	text-shadow: none !important;
	scroll-margin-top: 125px;
	-webkit-text-fill-color: #ffffff !important;
}

.mv-content h2 {
	margin: 1.35em 0 0.55em;
	font-size: clamp(35px, 4.4vw, 58px);
}

.mv-content h3 {
	margin: 1.35em 0 0.55em;
	font-size: clamp(27px, 3vw, 39px);
}

.mv-content h4 {
	margin: 1.3em 0 0.55em;
	font-size: clamp(22px, 2.3vw, 30px);
}

/* =====================================================
   LINKS
===================================================== */

.mv-content a {
	color: #83a5ff;
	font-weight: 700;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.mv-content a:hover {
	color: var(--mv-accent);
}

/* =====================================================
   IMAGES
===================================================== */

.mv-content figure {
	margin: 2em 0;
}

.mv-content img {
	max-width: 100%;
	height: auto;
	border-radius: 20px;
}

.mv-content figcaption {
	margin-top: 10px;
	color: var(--mv-muted);
	font-size: 14px;
	line-height: 1.6;
	text-align: center;
}

/* =====================================================
   BLOCKQUOTE
===================================================== */

.mv-content blockquote {
	margin: 2em 0;
	padding: 26px 30px;
	border-left: 5px solid var(--mv-primary);
	border-radius: 0 18px 18px 0;
	background:
		linear-gradient(
			135deg,
			rgba(79, 124, 255, 0.10),
			rgba(152, 72, 255, 0.05)
		);
	color: #dce2ff;
	font-size: 1.08em;
}

.mv-content blockquote p:last-child {
	margin-bottom: 0;
}

/* =====================================================
   CODE
===================================================== */

.mv-content code {
	padding: 2px 6px;
	border-radius: 5px;
	background: #171b25;
	color: #9ab7ff;
	font-size: 0.9em;
}

.mv-content pre {
	max-width: 100%;
	margin: 2em 0;
	padding: 24px;
	overflow-x: auto;
	border: 1px solid var(--mv-border);
	border-radius: 16px;
	background: #030406;
	color: #e9ecff;
}

.mv-content pre code {
	padding: 0;
	background: transparent;
	color: inherit;
}

/* =====================================================
   TABLE
===================================================== */

.mv-content table {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 2em 0;
	overflow-x: auto;
	border-collapse: collapse;
}

.mv-content th,
.mv-content td {
	padding: 12px 14px;
	border: 1px solid var(--mv-border);
	text-align: left;
	vertical-align: top;
}

.mv-content th {
	background: #141824;
	color: #ffffff;
	font-weight: 800;
}

/* =====================================================
   SIDEBAR
===================================================== */

.mv-sidebar {
	position: sticky;
	top: 125px;
	align-self: start;
}

.mv-card {
	padding: 22px;
	border: 1px solid var(--mv-border);
	border-radius: 20px;
	background:
		linear-gradient(
			145deg,
			rgba(79, 124, 255, 0.06),
			rgba(152, 72, 255, 0.03)
		),
		var(--mv-surface-soft);
}

.mv-card + .mv-card {
	margin-top: 18px;
}

.mv-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
===================================================== */

.mv-share-links {
	display: grid;
	gap: 10px;
}

.mv-share-links a {
	display: flex;
	justify-content: center;
	padding: 12px 14px;
	border: 1px solid rgba(79, 124, 255, 0.18);
	border-radius: 12px;
	background: #090b11;
	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;
}

.mv-share-links a:hover {
	border-color: var(--mv-primary);
	background: #11162a;
	transform: translateY(-2px);
}

/* =====================================================
   TABLE OF CONTENTS
===================================================== */

.mv-toc ol {
	margin: 0;
	padding-left: 19px;
}

.mv-toc li {
	margin: 0;
	padding: 0;
}

.mv-toc a {
	display: block;
	margin-bottom: 10px;
	color: #aebeff;
	font-size: 14px;
	line-height: 1.45;
	text-decoration: none;
}

.mv-toc a:hover {
	color: var(--mv-accent);
}

/* =====================================================
   TAGS
===================================================== */

.mv-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 44px;
	padding-top: 28px;
	border-top: 1px solid var(--mv-border);
}

.mv-tags a {
	padding: 8px 12px;
	border: 1px solid rgba(79, 124, 255, 0.18);
	border-radius: 999px;
	background: rgba(79, 124, 255, 0.08);
	color: #aebeff !important;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
	transition:
		background 0.2s ease,
		transform 0.2s ease;
}

.mv-tags a:hover {
	background: rgba(79, 124, 255, 0.18);
	transform: translateY(-2px);
}

/* =====================================================
   POST NAVIGATION
===================================================== */

.mv-post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	padding:
		0
		clamp(38px, 6vw, 80px)
		clamp(38px, 6vw, 80px);
}

.mv-post-nav > div {
	min-width: 0;
}

.mv-post-nav a {
	display: block;
	height: 100%;
	padding: 22px;
	border: 1px solid var(--mv-border);
	border-radius: 18px;
	background: #090b11;
	color: #ffffff !important;
	text-decoration: none;
	transition:
		transform 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.mv-post-nav a:hover {
	border-color: rgba(79, 124, 255, 0.55);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
	transform: translateY(-3px);
}

.mv-post-nav small {
	display: block;
	margin-bottom: 8px;
	color: var(--mv-accent);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.mv-post-nav strong {
	display: block;
	color: #ffffff;
	font-size: 16px;
	line-height: 1.45;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1024px) {
	.mv-single {
		padding-right: 12px !important;
		padding-left: 12px !important;
	}

	.mv-content-grid {
		gap: 36px;
	}

	.mv-sidebar {
		top: 110px;
	}
}

/* =====================================================
   SMALL TABLET
===================================================== */

@media (max-width: 920px) {
	.mv-content-grid {
		grid-template-columns: 1fr;
	}

	.mv-sidebar {
		position: static;
	}

	.mv-toc-card {
		display: none;
	}
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {
	.mv-single {
		padding: 0 10px 48px !important;
	}

	.mv-container {
		width: 100%;
	}

	.mv-hero {
		padding: 30px 30px 44px !important;
	}

	.mv-hero::after {
		right: 6px;
		bottom: -25px;
		width: 115px;
		height: 115px;
	}

	.mv-breadcrumb {
		margin-bottom: 18px;
		font-size: 13px;
	}

	.mv-category-list,
	.mv-category-list ul,
	.mv-category-list .post-categories {
		gap: 9px;
		margin-bottom: 22px;
	}

	.mv-category-list a {
		padding: 8px 12px;
		font-size: 11px;
	}

	.mv-title,
	.mv-article .mv-hero .mv-title,
	.mv-article .mv-hero h1.mv-title {
		font-size: clamp(34px, 10.5vw, 48px) !important;
		line-height: 1.02 !important;
		letter-spacing: -0.035em !important;
	}

	.mv-excerpt {
		margin-top: 20px;
		font-size: 16px;
		line-height: 1.65;
	}

	.mv-meta {
		gap: 14px 20px;
		margin-top: 28px;
	}

	.mv-content-grid {
		padding: 34px 28px 42px;
	}

	.mv-content {
		font-size: 17px;
		line-height: 1.78;
	}

	.mv-content h2 {
		font-size: clamp(30px, 9vw, 42px);
	}

	.mv-content h3 {
		font-size: clamp(25px, 7vw, 34px);
	}

	.mv-post-nav {
		grid-template-columns: 1fr;
		padding: 0 28px 42px;
	}
}

/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {
	.mv-single {
		padding-right: 0 !important;
		padding-left: 0 !important;
	}

	.mv-article {
		border-right: 0;
		border-left: 0;
		border-radius: 0;
	}

	.mv-hero {
		padding: 26px 28px 40px !important;
	}

	.mv-content-grid {
		padding: 32px 25px 40px;
	}

	.mv-post-nav {
		padding: 0 25px 40px;
	}
}