/*---------------------------------------
	VARIABLES
-----------------------------------------*/
:root {
	--color-bg: #080b12;
	--color-panel: rgba(10, 16, 28, 0.88);
	--color-text: #ffffff;
	--color-muted: rgba(255, 255, 255, 0.68);
	--color-primary: #d8b86a;
	--color-primary-light: #ffe3a0;
	--color-border: rgba(255, 255, 255, 0.12);

  --font-main: "Noto Sans SC", "Poppins", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --font-title: "Noto Serif SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", serif;
  --font-en: "Poppins", Arial, sans-serif;
  --font-number: "Poppins", Arial, sans-serif;

	--header-height: 80px;
	--container-width: 1200px;
	--container-wide: 1660px;

	--btn-radius: 999px;
	--btn-height: 48px;
	--btn-primary-color: #1b1200;
	--btn-primary-bg: linear-gradient(180deg, #ffe7a8, #c79a3a);
	--btn-primary-bg-image: none;
	--btn-primary-shadow: 0 0 22px rgba(216, 184, 106, 0.35);

	--card-bg: rgba(255, 255, 255, 0.04);
	--card-border: var(--color-border);
}

/*---------------------------------------
	RESET BASE
-----------------------------------------*/
* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
img,
ul,
li,
header,
nav,
main,
section,
footer,
button {
	margin: 0;
	padding: 0;
}

body {
	min-height: 100vh;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-main);
	line-height: 1;
	overflow-x: hidden;
}

body.menu_open,
body.lightbox_open {
	overflow: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

ul,
li {
	list-style: none;
}

img {
	max-width: 100%;
	display: block;
}

button {
	font: inherit;
	border: 0;
	background: none;
	cursor: pointer;
	color: inherit;
}

:focus-visible{
	all: unset;
}

/*---------------------------------------
	TYPOGRAPHY
-----------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6,
.page_banner_title,
.section_title_heading {
	font-family: var(--font-title);
}

p {
	line-height: 1.8;
}

.en_txt {
	font-family: var(--font-en);
}

.number_txt {
	font-family: var(--font-number);
}

/*---------------------------------------
	LAYOUT
-----------------------------------------*/
main {
	padding-top: var(--header-height);
}

.container {
	width: min(100% - 40px, var(--container-width));
	margin: 0 auto;
}

.container_wide {
	width: min(100% - 40px, var(--container-wide));
	margin: 0 auto;
}

.site_section,
.page_section {
	padding: 80px 0;
}

@media (max-width: 768px) {
	.site_section,
	.page_section {
		padding: 56px 0;
	}
}

/*---------------------------------------
	HEADER
-----------------------------------------*/
.site_header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	width: 100%;
	height: var(--header-height);
	background: rgba(4, 8, 16, 0.78);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--color-border);
}

.header_inner {
	width: min(100% - 40px, var(--container-wide));
	height: 100%;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.site_logo {
	flex: 0 0 auto;
	width: 150px;
}

.site_menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 34px;
	flex: 1;
}

.site_menu a {
	position: relative;
	font-size: 16px;
	color: var(--color-muted);
	transition: color 0.25s ease;
}

.site_menu a:hover,
.site_menu a.active {
	color: var(--color-primary-light);
}

.site_menu a::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -10px;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
	transform: translateX(-50%);
	transition: width 0.25s ease;
}

.site_menu a:hover::after,
.site_menu a.active::after {
	width: 100%;
	max-width: 750px;
}

.header_action {
	display: flex;
	align-items: center;
	gap: 16px;
}

.menu_toggle {
	display: none;
	width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 6px;
	/* border: 1px solid var(--color-border); */
	border-radius: 8px;
}

.menu_toggle span {
	width: 20px;
	height: 2px;
	background: #ffffff;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 1200px) {
	:root {
		--header-height: 68px;
	}

	.header_inner {
		width: calc(100% - 32px);
	}

	.site_logo {
		width: 128px;
	}

	.site_menu {
		position: fixed;
		top: var(--header-height);
		right: 0;
		width: min(82vw, 320px);
		height: calc(100vh - var(--header-height));
		padding: 32px 24px;
		background: rgba(4, 8, 16, 0.96);
		border-left: 1px solid var(--color-border);
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 24px;
		transform: translateX(100%);
		transition: transform 0.3s ease;
	}

	body.menu_open .site_menu {
		transform: translateX(0);
	}

	.site_menu a {
		font-size: 18px;
	}

	.menu_toggle {
		display: flex;
	}

	body.menu_open .menu_toggle span:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}

	body.menu_open .menu_toggle span:nth-child(2) {
		opacity: 0;
	}

	body.menu_open .menu_toggle span:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

	.download_btn {
		display: none;
	}
}

/*---------------------------------------
	PAGE BANNER
-----------------------------------------*/
.page_banner {
	position: relative;
	min-height: 360px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: calc(var(--header-height) + 80px) 20px 80px;
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.page_banner_overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(5, 8, 16, 0.45), rgba(5, 8, 16, 0.95)),
		radial-gradient(circle at center, rgba(216, 184, 106, 0.22), transparent 55%);
}

.page_banner_inner {
	position: relative;
	z-index: 1;
	width: min(100%, var(--container-width));
	margin: 0 auto;
	text-align: center;
}

.page_banner_subtitle {
	margin-bottom: 12px;
	color: var(--color-primary-light);
	font-size: 18px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.page_banner_title {
	font-size: clamp(36px, 6vw, 72px);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-shadow: 0 8px 30px rgba(0, 0, 0, 0.65);
}

.page_banner_description {
	max-width: 680px;
	margin: 22px auto 0;
	color: var(--color-muted);
	font-size: 17px;
	line-height: 1.8;
	text-wrap-style: pretty;
}

@media (max-width: 768px) {
	.page_banner {
		min-height: 300px;
		padding: calc(var(--header-height) + 56px) 20px 56px;
	}

	.page_banner_subtitle {
		font-size: 14px;
	}

	.page_banner_description {
		font-size: 15px;
	}
}

/*---------------------------------------
	BREADCRUMB
-----------------------------------------*/
.breadcrumb {
	padding: 18px 0;
	background: rgba(255, 255, 255, 0.03);
	border-bottom: 1px solid var(--color-border);
}

.breadcrumb .container {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 14px;
	color: var(--color-muted);
}

.breadcrumb a {
	transition: color 0.25s ease;
}

.breadcrumb a:hover {
	color: var(--color-primary-light);
}

.breadcrumb_separator {
	color: rgba(255, 255, 255, 0.35);
}

/*---------------------------------------
	BUTTONS
-----------------------------------------*/
.primary_btn,
.secondary_btn,
.download_btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	border-radius: var(--btn-radius);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.primary_btn,
.secondary_btn {
	min-width: 150px;
	height: var(--btn-height);
	padding: 0 28px;
	font-size: 16px;
}

.primary_btn,
.download_btn {
	color: var(--btn-primary-color);
	background:
		var(--btn-primary-bg-image),
		var(--btn-primary-bg);
	background-size: 100% 100%, cover;
	background-repeat: no-repeat;
	background-position: center;
	box-shadow: var(--btn-primary-shadow);
}

.secondary_btn {
	color: var(--color-text);
	border: 1px solid var(--color-border);
	background: rgba(255, 255, 255, 0.06);
}

.download_btn {
	min-width: 120px;
	height: 42px;
	padding: 0 22px;
	font-size: 15px;
}

.primary_btn:hover,
.secondary_btn:hover,
.download_btn:hover {
	transform: translateY(-2px);
}

/*---------------------------------------
	NEWS CARD
-----------------------------------------*/
.news_grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.news_card {
	overflow: hidden;
	border: 1px solid var(--color-border);
	background: rgba(255, 255, 255, 0.04);
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.news_card:hover {
	transform: translateY(-6px);
	border-color: rgba(216, 184, 106, 0.45);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.news_card_img {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.04);
}

.news_card_img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.news_card:hover .news_card_img img {
	transform: scale(1.06);
}

.news_card_body {
	padding: 20px;
}

.news_card_meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
	color: var(--color-muted);
	font-size: 13px;
}

.news_card_meta span {
	color: var(--color-primary-light);
}

.news_card h3 {
	font-size: 18px;
	line-height: 1.55;
	font-weight: 700;
}

@media (max-width: 1024px) {
	.news_grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.news_grid {
		grid-template-columns: 1fr;
	}

	.news_card_body {
		padding: 18px;
	}

	.news_card h3 {
		font-size: 16px;
	}
}

/*---------------------------------------
	SECTION TITLE
-----------------------------------------*/
.section_title {
	margin-bottom: 36px;
}

.section_title_center {
	text-align: center;
}

.section_title_left {
	text-align: left;
}

.section_title_subtitle {
	margin-bottom: 10px;
	color: var(--color-primary-light);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.section_title_heading {
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.04em;
}

.section_title_description {
	max-width: 680px;
	margin-top: 16px;
	color: var(--color-muted);
	font-size: 16px;
	line-height: 1.8;
}

.section_title_center .section_title_description {
	margin-left: auto;
	margin-right: auto;
}

.section_more {
	margin-top: 36px;
	text-align: center;
}

.section_more .secondary_btn {
	margin: 0 auto;
}

@media (max-width: 768px) {
	.section_title {
		margin-bottom: 28px;
	}

	.section_title_description {
		font-size: 15px;
	}
}

/*---------------------------------------
	SHARED CONTENT TABS
-----------------------------------------*/
.site_section:has(.content_tabs_horizontal) {
	overflow-x: hidden;
}

.content_tabs {
	display: flex;
	align-items: stretch;
	flex-wrap: nowrap;
	gap: 0;
	scrollbar-width: none;
	-ms-overflow-style: none;
	user-select: none;
}

.content_tabs::-webkit-scrollbar {
	display: none;
}

.content_tabs_horizontal {
	width: 100%;
	justify-content: center;
	overflow-x: auto;
	overflow-y: hidden;
	cursor: grab;
	touch-action: pan-x;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
}

.content_tabs_horizontal.is_dragging,
.content_tabs_horizontal.is_momentum {
	cursor: grabbing;
}

.content_tab {
	position: relative;
	flex: 0 0 auto;
	min-width: 150px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0 24px;
	color: rgba(255, 255, 255, 0.72);
	border: 0;
	border-radius: 0;
	background: transparent;
	font-family: var(--font-title);
	font-size: 17px;
	line-height: 1;
	letter-spacing: 0.08em;
	white-space: nowrap;
	transform: translateZ(0);
	transition:
		color 0.25s ease,
		background 0.25s ease;
}

.content_tab::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -2px;
	width: 0;
	height: 3px;
	background: linear-gradient(
		90deg,
		transparent,
		var(--highlight),
		transparent
	);
	transform: translateX(-50%);
	transition: width 0.25s ease;
}

.content_tab:hover,
.content_tab.active {
	color: var(--highlight);
}

.content_tab:hover::after,
.content_tab.active::after {
	width: 78%;
}

.content_tab_number {
	color: rgba(255, 255, 255, 0.38);
	font-family: var(--font-number);
	font-size: 12px;
	line-height: 1;
	letter-spacing: 0.08em;
}

.content_tab.active .content_tab_number {
	color: var(--highlight);
}

@media (max-width: 900px) {
	.content_tabs_horizontal {
		justify-content: flex-start;
	}

	.content_tab {
		min-width: 126px;
		height: 54px;
		padding: 0 18px;
		font-size: 15px;
	}
}

/*---------------------------------------
	FILTER / PAGINATION
-----------------------------------------*/
.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 48px;
}

.pagination_btn {
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--color-muted);
	border: 1px solid var(--color-border);
	background: rgba(255, 255, 255, 0.04);
	transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.pagination_btn:hover,
.pagination_btn.active {
	color: var(--btn-primary-color);
	border-color: var(--color-primary);
	background: var(--btn-primary-bg);
}

/*---------------------------------------
	STATE
-----------------------------------------*/
.loading_text,
.empty_text {
	grid-column: 1 / -1;
	padding: 40px 20px;
	text-align: center;
	color: var(--color-muted);
	/* border: 1px solid var(--color-border);
	background: rgba(255, 255, 255, 0.04); */
}

/*---------------------------------------
	UTILITIES
-----------------------------------------*/
.no_mp {
	margin: 0 !important;
	padding: 0 !important;
}

.txt_ctr {
	text-align: center;
}

.txt_left {
	text-align: left;
}

.txt_right {
	text-align: right;
}

.flex {
	display: flex;
}

.a_ctr {
	align-items: center;
}

.j_ctr {
	justify-content: center;
}

.j_between {
	justify-content: space-between;
}

.f_wrap {
	flex-wrap: wrap;
}

.w_full {
	width: 100%;
}

.overflow_hidden {
	overflow: hidden;
}

.img_cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.img_contain img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}