:root {
	--black: #000;
	--white: #fff;
	--orange: #ff6307;
	--orange2: #fe852e;
	--orangeBorder: #dd9b31;
	--darkgray: #303031;
	--blue: #1e78b7;
	--blue2: #16609d;
	--green: #70b61f;
	--green2: #3b9b13;
	--bg: #0e0e0f;
	--text: rgba(255,255,255,0.92);
	--muted: rgba(255,255,255,0.7);
	--border: rgba(255,255,255,0.12);
	--pad: 10px;
	--mg: 10px;
	--gap: 8px;
	--maxw: 1500px;
	--radius: 10px;
	--shadow: 0 10px 24px rgba(0,0,0,0.35);
	--ts: 0 0 2px var(--black);
	--fs: 15px;
	--fs-sm: 13px;
	--fs-lg: 18px;
	--qf-h: 64px;
	--ctl-h: 43px;
}

* {
	box-sizing: border-box;
}

html, body {
	height: 100%;
}

body {
	margin: 0;
	padding-bottom: calc(var(--qf-h) + 90px);
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	font-size: var(--fs);
	line-height: 1.5;
	background: var(--bg);
	color: var(--text);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--orange);
	text-decoration: none;
}

a:hover {
	color: var(--orange2);
	text-decoration: none;
}

hr {
	border: 0;
	height: 1px;
	background: var(--border);
	margin: var(--mg) 0;
}

.container {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0;
	border-left: 1px solid;
	border-right: 1px solid;
	border-image: linear-gradient(var(--orange), var(--orange2)) 1;
}

.top-header {
	background: var(--black);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: var(--pad) 16px;
}

.top-header .logo {
	height: 50px;
	width: auto;
}

.livechat-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(var(--orange), var(--orange2));
	color: var(--white);
	font-weight: bold;
	font-size: 14px;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 20px;
	text-shadow: var(--ts);
	animation: blink 1s infinite;
	cursor: pointer;
	transition: transform 120ms ease, filter 120ms ease;
}

.livechat-btn:hover {
	color: var(--white);
	text-decoration: none;
	transform: scale(1.06);
}

@keyframes blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.4; }
}

/* ===== Market logo CTA: reuse LIVECHAT button (global) ===== */
/* Pakai 1 class tombol (.livechat-btn) untuk header + overlay pasaran.
   Overlay pasaran: tanpa blink, teks 2 baris. */
.cat-marketlogo .livechat-btn {
	animation: none;
	display: inline-flex;
	flex-direction: column;
	line-height: 1.05;
	text-align: center;
}

.cat-marketlogo .livechat-btn span {
	display: block;
}
.headline-bar {
	display: flex;
	align-items: center;
	background-color: var(--darkgray);
	position: relative;
	height: 40px;
	overflow: hidden;
}

.headline-bar::before {
	content: "";
	position: absolute;
	top: 0;
	left: 35px;
	right: 0;
	height: 2px;
	background-color: var(--orange);
}

.headline-bar::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 25px;
	right: 0;
	height: 2px;
	background-color: var(--orange2);
}

.headline-icon {
	position: relative;
	width: 35px;
	height: 100%;
	background-image: linear-gradient(var(--orange), var(--orange2));
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 8px;
	transform: skewX(-25deg);
	z-index: 2;
	overflow: visible;
}

.headline-icon::before {
	content: "";
	position: absolute;
	top: 0;
	left: -10px;
	width: 35px;
	height: 100%;
	background-image: linear-gradient(var(--orange), var(--orange2));
	z-index: 1;
}

.headline-icon::after {
	content: "";
	position: absolute;
	right: -15px;
	top: 0;
	width: 10px;
	height: 100%;
	background-image: linear-gradient(var(--orange), var(--orange2));
	z-index: 1;
}

.headline-icon i {
	color: var(--white);
	font-size: 16px;
	transform: skewX(25deg);
	z-index: 3;
	position: relative;
}

.headline-marquee {
	flex: 1;
	overflow: hidden;
	position: relative;
	z-index: 0;
}

.marquee {
	display: inline-block;
	white-space: nowrap;
	padding-left: 100%;
	animation: marquee 12s linear infinite;
	color: var(--white);
	font-weight: bold;
	font-size: 14px;
	text-transform: uppercase;
}

.marquee a {
	color: transparent;
	background: linear-gradient(var(--orange), var(--orange2));
	-webkit-background-clip: text;
	background-clip: text;
	font-weight: bold;
}

@keyframes marquee {
	0% { transform: translateX(0); }
	100% { transform: translateX(-100%); }
}

.headline-right-skew {
	position: relative;
	width: 35px;
	height: 100%;
	background-image: linear-gradient(var(--orange), var(--orange2));
	margin-right: 8px;
	transform: skewX(-25deg);
	z-index: 2;
}

.headline-right-skew::after {
	content: "";
	position: absolute;
	top: 0;
	right: -8px;
	width: 20px;
	height: 100%;
	background-image: linear-gradient(var(--orange), var(--orange2));
	transform: skewX(25deg);
	z-index: -1;
}

.header-banner img {
	width: 100%;
	display: block;
}

.header-buttons {
	width: 100%;
	display: flex;
	text-transform: uppercase;
}

.header-buttons a {
	flex: 1;
	text-align: center;
	padding: 14px 0;
	color: var(--white);
	font-size: 16px;
	font-weight: bold;
}

.btn-login {
	background-image: linear-gradient(to right, var(--blue) 0%, var(--blue2) 100%);
}

.btn-daftar {
	background-image: linear-gradient(to right, var(--green) 0%, var(--green2) 100%);
}

.header-buttons i {
	margin-right: 8px;
}

#siteNav {
	background-color: var(--orange);
	text-align: center;
	border-top: 1px solid var(--black);
	border-bottom: 1px solid var(--black);
	font-size: var(--fs-lg);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	text-shadow: 0 0 2px var(--black);
}

#siteNav a {
	display: inline-block;
	color: var(--white);
	padding: 10px 14px;
	border-right: 1px solid var(--orangeBorder);
}

#siteNav a:first-child {
	border-left: 1px solid var(--orangeBorder);
}

#siteNav a:hover,
#siteNav a.active {
	filter: brightness(0.95);
}

.main-content {
	display: grid;
	grid-template-columns: 1fr minmax(auto, 340.95px);
	gap: 15px;
	padding: var(--pad);
	background: var(--darkgray);
}

.article-body {
	background: rgba(255, 255, 255, 0.95);
	padding: 10px;
	color: var(--black);
}

.article-body h1 {
	margin: 0;
	text-align: center;
	text-transform: uppercase;
}

.article-body .h1-des {
	margin: 5px 0 10px;
	font-size: 28px;
	text-align: center;
	text-transform: uppercase;
}

.article-body h2 {
	text-transform: uppercase;
}

.article-body p {
	text-align: justify;
}

.article-body ol {
	padding-left: 25px;
}

.article-body ul {
	padding: 5px 0 15px 30px;
}

.article-body a:not(.livechat-btn) {
	color: transparent;
	background: linear-gradient(var(--orange), var(--orange2));
	-webkit-background-clip: text;
	background-clip: text;
	font-weight: bold;
	text-decoration: none;
}

.article-body a:not(.livechat-btn):hover {
	color: var(--black);
	background: none;
	-webkit-text-fill-color: var(--black);
}



/* ===== Category Head / Toolbar (shared) ===== */

.cat-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--gap);
	margin: 0 0 var(--mg);
	padding: var(--gap) 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.cat-head-left {
	display: flex;
	align-items: center;
	gap: var(--gap);
	min-width: 0;
}

.cat-title {
	margin: 0;
	font-size: 20px;
	font-weight: bold;
	text-transform: uppercase;
	text-align: left;
	color: var(--black);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 520px;
}

.article-body .cat-title {
	text-align: left;
}

.cat-refresh {
	border: 0;
	background: transparent;
	color: var(--black);
	padding: 0;
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.cat-refresh:hover {
	color: var(--orange);
}

.cat-updated {
	font-size: 14px;
	font-weight: bold;
	color: rgba(0, 0, 0, 0.7);
	white-space: nowrap;
}

.cat-time::before {
	content: " - ";
}

.cat-toolbar {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--gap);
	margin: var(--mg) 0;
	align-items: center;
}

.cat-filters {
	display: flex;
	gap: var(--gap);
	width: 100%;
}

.cat-chip {
	flex: 1;
	height: var(--ctl-h);
	border: 1px solid rgba(0, 0, 0, 0.16);
	background: rgba(0, 0, 0, 0.03);
	padding: 0 var(--pad);
	border-radius: 0;
	font-weight: bold;
	cursor: pointer;
	text-align: center;
	text-shadow: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cat-chip:hover {
	filter: brightness(0.98);
}

.cat-chip.is-active {
	background: linear-gradient(var(--orange), var(--orange2));
	color: var(--white);
	border-color: var(--orange2);
	text-shadow: var(--ts);
}

.cat-dd {
	position: relative;
	width: 100%;
}

.cat-dd-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--gap);
	cursor: pointer;
	color: var(--black);
}

.cat-dd-panel {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	background: rgba(255, 255, 255, 0.98);
	border: 1px solid rgba(0, 0, 0, 0.16);
	border-radius: 0;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
	padding: 0;
	z-index: 50;
}

.cat-dd-search {
	display: flex;
	align-items: center;
	gap: var(--gap);
	padding: var(--pad);
	border: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.16);
	border-radius: 0;
	background: #fff;
}

.cat-dd-search i {
	color: rgba(0, 0, 0, 0.55);
}

.cat-dd-search input {
	border: 0;
	outline: 0;
	flex: 1;
	background: transparent;
	font-size: 14px;
	color: var(--black);
}

.cat-dd-clear {
	border: 0;
	background: transparent;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	color: rgba(0, 0, 0, 0.55);
	padding: 0 6px;
}

.cat-dd-clear:hover {
	color: var(--black);
}

.cat-dd-caretbtn {
	border: 0;
	background: transparent;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	color: rgba(0, 0, 0, 0.55);
	padding: 0 6px;
}

.cat-dd-caretbtn:hover {
	color: var(--black);
}

.cat-dd-item {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: var(--gap);
	padding: var(--pad);
	border-radius: 0;
	cursor: pointer;
	font-weight: bold;
	color: var(--black);
}

.cat-dd-item:hover {
	background: rgba(0, 0, 0, 0.06);
}

.cat-dd-empty {
	padding: var(--pad);
	color: rgba(0, 0, 0, 0.55);
	font-size: 13px;
}

#sidebar {
	min-width: 0;
}

.panel--sidebar {
	background: transparent;
	border: 0;
	box-shadow: none;
	position: sticky;
	top: 15px;
}

.widget {
	background: transparent;
	border: 0;
	box-shadow: none;
	margin-bottom: calc(var(--mg) + 14px);
}

.widget:last-child {
	margin-bottom: 0;
}

.widget__title {
	font-weight: bold;
	margin: 0 0 var(--mg);
	position: relative;
	color: var(--white);
}

.widget__title::after {
	content: "";
	display: block;
	width: 60px;
	height: 3px;
	margin-top: 6px;
	background: linear-gradient(90deg, var(--orange), var(--orange2));
}

.widget-search {
	display: flex;
	align-items: center;
	gap: var(--gap);
}

.widget-search input[type="search"] {
	flex: 1 1 auto;
	height: 40px;
	padding: 0 12px;
	border: 1px solid rgba(0,0,0,0.2);
	background: var(--white);
	color: var(--black);
	outline: none;
	border-radius: 0;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	user-select: none;
}

.btn--secondary {
	height: 39px;
	border: 0;
	background: var(--orange2);
	color: var(--black);
	font-weight: bold;
	padding: 10px 14px;
}

.btn--secondary:hover {
	filter: brightness(0.95);
}

.promo {
	position: relative;
	overflow: hidden;
	background: var(--black);
	touch-action: pan-y;
}

.promo__track {
	display: flex;
	width: 100%;
	will-change: transform;
}

.promo__slide {
	flex: 0 0 100%;
}

.promo__slide a {
	display: block;
	width: 100%;
}

.promo__slide img {
	width: 100%;
	height: auto;
	display: block;
	-webkit-user-drag: none;
	user-select: none;
}

.promo__ctrl {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 25px;
	height: 25px;
	font-size: 15px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(0,0,0,0.6);
	color: var(--white);
	border: 0;
	cursor: pointer;
	z-index: 3;
}

.promo__prev {
	left: 0;
}

.promo__next {
	right: 0;
}

.promo__ctrl:hover {
	background: var(--orange);
	color: var(--white);
}

.promo__dots {
	position: absolute;
	left: 50%;
	bottom: 10px;
	transform: translateX(-50%);
	display: flex;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
	z-index: 4;
}

.promo__dot {
	width: 12px;
	height: 12px;
	border-radius: 2px;
	background: rgba(255,255,255,0.55);
	border: 1px solid rgba(0,0,0,0.35);
	cursor: pointer;
}

.promo__dot.is-active {
	background: var(--orange2);
	border-color: var(--orange2);
}

.list {
	margin: 0;
	padding: var(--pad);
	background: var(--white);
	border: 1px solid rgba(0,0,0,0.15);
}

.sidebar-links {
	list-style: none;
	margin: 0;
	font-weight: bold;
}

.sidebar-links li {
	margin-bottom: var(--mg);
}

.sidebar-links li:last-child {
	margin-bottom: 0;
}

.sidebar-links a {
	display: inline-block;
	color: var(--orange);
	text-decoration: none;
}

.sidebar-links a:hover {
	background: linear-gradient(var(--orange), var(--orange2));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	color: transparent;
}

.list--cats {
	list-style: none;
	margin: 0;
}

.list--cats li {
	padding-bottom: 6px;
}

.list--cats li:not(:first-child) {
	padding-top: var(--gap);
}

.list--cats a {
	display: block;
	color: var(--black);
	font-weight: bold;
}

.list--latest {
	list-style: none;
	margin: 0;
}

.list--latest a {
	display: block;
	color: var(--black);
	padding: 6px 0;
}

.list--latest a:hover {
	color: var(--black);
	text-decoration: underline;
}

/* ===== Footer (match reference /category/) ===== */

.footernav{
	background: var(--black);
}

.footernav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 45px;
	list-style: none;
	padding: 16px;
	margin: 0;
	font-size: 18px;
	border-top: 1px solid;
	border-image: linear-gradient(var(--orange), var(--orange2)) 1;
}

.footernav__list a {
	color: var(--white);
	text-decoration: none;
}

.footernav__list a:hover,
.footernav__list a.active {
	color: var(--orange);
}

.copyright-info {
	text-align: center;
	font-size: 14px;
	color: var(--white);
	padding: 0 0 80px;
	text-transform: uppercase;
	background: var(--darkgray);
}

.copyright-info::before {
	content: "";
	display: block;
	height: 1px;
	background: linear-gradient(to right, var(--orange), var(--orange2));
	margin-bottom: 8px;
}

.copyright-info a {
	color: transparent;
	background: linear-gradient(var(--orange), var(--orange2));
	-webkit-background-clip: text;
	background-clip: text;
	font-weight: bold;
	text-decoration: none;
}

.floating-footer {
	position: fixed;
	bottom: 0;
	width: var(--maxw);
	max-width: 100%;
	background-image: linear-gradient(var(--orange), var(--orange2));
	z-index: 1000;
	box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.2);
}

.footer-container {
	margin: 0 auto;
	display: flex;
	justify-content: space-around;
	align-items: center;
	padding: 5px;
	text-shadow: 0 0 4px var(--black);
}

.footer-container a {
	flex: 1;
	text-align: center;
	color: var(--white);
	text-decoration: none;
	font-size: 13px;
	font-weight: bold;
	padding: 10px;
}

.footer-container a i {
	display: block;
	font-size: 18px;
}

.floating-footer a {
	text-transform: uppercase;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.floating-footer a:hover,
.floating-footer a.active {
	background-color: var(--black);
}

.back-to-top {
	position: fixed;
	bottom: calc(var(--qf-h) + 90px);
	right: 20px;
	background: var(--blue);
	color: var(--white);
	border: 0;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
	text-decoration: none;
	transition: opacity 0.3s, transform 0.3s;
	opacity: 0;
	visibility: hidden;
	z-index: 3000;
}

.back-to-top:hover {
	background: var(--blue2);
	transform: scale(1.05);
}

body:not(:target) .back-to-top {
	opacity: 1;
	visibility: visible;
}

.cat-searchbar {
	width: 100%;
	height: var(--ctl-h);
	display: flex;
	align-items: center;
	gap: var(--gap);
	background: rgba(255, 255, 255, 0.98);
	border: 1px solid rgba(0, 0, 0, 0.16);
	padding: 0 var(--pad);
	border-radius: 0;
}

.cat-searchbar input {
	border: 0;
	outline: none;
	width: 100%;
	height: 100%;
	font-size: 14px;
	line-height: 1.5;
	padding: 0;
	background: transparent;
	color: var(--black);
	min-width: 0;
}

.cat-searchbar-btn {
	border: 0;
	background: transparent;
	cursor: pointer;
	height: 100%;
	display: flex;
	align-items: center;
	padding: 0 var(--pad);
	font-size: 18px;
	line-height: 1;
	color: rgba(0, 0, 0, 0.55);
}

.cat-searchbar-btn:hover {
	color: var(--orange);
}

.cat-dd-toggle .cat-dd-caret {
	width: 32px;
	min-width: 32px;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	border-left: 0;
	background: transparent;
}

.cat-dd-toggle .cat-dd-caret i {
	font-size: 14px;
	line-height: 1;
	display: block;
	color: var(--black);
}

/* hover caret closed -> orange */
.cat-dd-toggle:hover .cat-dd-caret i,
.cat-dd-toggle .cat-dd-caret:hover i {
	color: var(--orange);
}

/* OPEN (expand) */
.cat-dd-panel .cat-searchbar-btn {
	width: 32px;
	min-width: 32px;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border-left: 0;              /* tidak ada border samping */
	background: transparent;
	box-sizing: border-box;
}

.cat-dd-panel .cat-searchbar-btn i {
	font-size: 14px;
	line-height: 1;
	display: block;
	color: var(--orange);        /* open default orange */
}

/* hover caret open -> hitam (sama seperti closed default) */
.cat-dd-panel .cat-searchbar-btn:hover i {
	color: var(--black);
}

/* Kunci posisi caret OPEN agar tidak geser (hapus extra padding kanan) */
.cat-dd-panel .cat-searchbar.cat-dd-searchbar {
	padding-right: 0;
}