/**
 * C4D Theme System v2 - single bundle (layout + RiPro compat)
 * Parent app.css disabled. Primary #e80000.
 */

/**
 * RiPro-V2 å‰�å�°å®Œæ•´è‡ªå»ºæ ·å¼�ï¼ˆä¸�ä¾�èµ–çˆ¶ä¸»é¢˜ app.css / dark.cssï¼‰ã€‚
 * åŸºäºŽ Bootstrap 5 å·¥å…·ç±» + RiPro åŽŸæœ‰ HTML ç»“æž„ç±»å��ã€‚
 * ä¸»è‰²ï¼š#e80000
 */

:root,
[data-bs-theme="light"] {
	--bs-primary: #e80000;
	--bs-primary-rgb: 232, 0, 0;
	--bs-link-color: #c40000;
	--bs-link-hover-color: #8f0000;
	--bs-body-font-family: "Noto Sans SC", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--bs-border-radius: 0.5rem;
	--bs-border-radius-lg: 0.75rem;
	--bs-border-radius-xl: 1rem;
	--c4d-accent: #e80000;
	--c4d-accent-soft: rgba(232, 0, 0, 0.12);
	--c4d-surface: #ffffff;
	--c4d-surface-2: #f4f6fb;
	--c4d-canvas: #e4e9f2;
	--c4d-ink: #0a0c10;
	--c4d-muted: #5c6578;
	--c4d-line: rgba(10, 12, 16, 0.08);
	--c4d-shadow: 0 4px 24px rgba(10, 12, 16, 0.08);
	--c4d-shadow-lg: 0 20px 50px rgba(10, 12, 16, 0.12);
	--c4d-ring: 0 0 0 0.2rem rgba(232, 0, 0, 0.2);
	--c4d-header-h: 80px;
	--c4d-header-h-sm: 60px;
}

html {
	scroll-behavior: smooth;
}

body.ripro-c4d-model-child {
	color: var(--c4d-ink);
	background: var(--c4d-canvas);
	background-image:
		radial-gradient(ellipse 100% 80% at 50% -30%, rgba(232, 0, 0, 0.07), transparent 55%),
		linear-gradient(180deg, #eef1f8 0%, #e4e9f2 100%);
	background-attachment: fixed;
}

body.ripro-c4d-model-child .site {
	background: transparent;
}

.u-plain-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ---------- é¡¶æ � ---------- */
.site-header {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	z-index: 80;
	background: rgba(255, 255, 255, 0.82);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 1px 0 rgba(10, 12, 16, 0.06);
}

.navbar-sticky .site-header,
.stick-now .site-header,
.navbar-sticky_transparent .site-header {
	position: fixed !important;
}

.navbar-transition .site-header {
	background: transparent !important;
	box-shadow: none;
}

.header-gap {
	height: 80px;
}

.navbar-transition .header-gap {
	height: 0 !important;
}

.navbar {
	display: flex;
	align-items: center;
	height: 80px;
	position: relative;
	flex-wrap: nowrap;
}

.navbar .logo {
	margin-right: 12px;
	max-height: 35px;
	width: auto;
}

.navbar .sep {
	display: flex;
	height: 100%;
	margin: 0 20px;
	width: 1px;
	background: linear-gradient(180deg, transparent, rgba(10, 12, 16, 0.12), transparent);
}

.navbar .main-menu {
	flex: 1;
	min-width: 0;
}

.navbar .nav-list > .menu-item {
	display: inline-block;
	position: relative;
	vertical-align: middle;
}

.navbar .nav-list > .menu-item > a {
	display: block;
	font-weight: 600;
	font-size: 0.875rem;
	line-height: 80px;
	margin: 0 10px;
	color: var(--c4d-ink);
	text-decoration: none;
	transition: color 0.2s ease;
}

.navbar-transition .navbar .nav-list > .menu-item > a {
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.navbar .nav-list > .menu-item > a:hover {
	color: var(--bs-primary);
}

.navbar-transition .navbar .nav-list > .menu-item > a:hover {
	color: #fff;
	opacity: 0.9;
}

.navbar .menu-item.current-menu-item > a {
	color: var(--bs-primary);
}

.navbar .menu-item.menu-item-has-children > a::after {
	content: "\f107";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 0.75rem;
	margin-left: 5px;
	color: var(--c4d-muted);
}

.navbar-transition .navbar .menu-item.menu-item-has-children > a::after {
	color: rgba(255, 255, 255, 0.75);
}

.navbar .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translate(-50%, -8px);
	min-width: 200px;
	margin: 0;
	padding: 10px;
	list-style: none;
	background: var(--c4d-surface);
	border-radius: var(--bs-border-radius-lg);
	box-shadow: var(--c4d-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	z-index: 90;
}

.navbar .menu-item:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.navbar .sub-menu .menu-item {
	display: block;
}

.navbar .sub-menu .menu-item > a {
	line-height: 1.5;
	padding: 8px 12px;
	margin: 4px 0;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--c4d-ink);
	border-radius: var(--bs-border-radius);
}

.navbar .sub-menu .menu-item > a:hover {
	background: rgba(232, 0, 0, 0.06);
	color: var(--bs-primary);
}

.navbar .menu-item-mega {
	position: static;
}

.navbar .menu-item-mega > .sub-menu {
	left: 0;
	right: 0;
	width: 100%;
	transform: translate(0, -8px);
	padding: 2rem 0;
	border-radius: 0 0 var(--bs-border-radius-lg) var(--bs-border-radius-lg);
}

.navbar .menu-item-mega:hover > .sub-menu {
	transform: translate(0, 0);
}

.navbar .menu-item-mega > .sub-menu > .menu-item > a {
	color: var(--c4d-muted);
	font-size: 0.9rem;
	pointer-events: none;
}

.navbar .menu-item-mega .sub-menu .sub-menu {
	position: static;
	opacity: 1;
	visibility: visible;
	transform: none;
	box-shadow: none;
	padding: 0;
	min-width: 0;
}

.navbar .actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex: 1;
	gap: 6px;
}

.navbar .navbar-button,
.off-canvas .canvas-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 0;
	background: rgba(232, 0, 0, 0.08);
	color: var(--bs-primary);
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.navbar .navbar-button:hover {
	background: rgba(232, 0, 0, 0.16);
}

.navbar-transition .navbar .navbar-button {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.navbar .login-btn.navbar-button {
	width: auto;
	min-width: 72px;
	padding: 0 14px;
	border-radius: 999px;
	background: linear-gradient(135deg, #e80000, #ff3535);
	color: #fff !important;
	font-weight: 600;
	font-size: 0.8125rem;
	box-shadow: 0 4px 14px rgba(232, 0, 0, 0.35);
}

.navbar .login-btn.navbar-button:hover {
	filter: brightness(1.05);
}

.burger {
	width: 34px;
	height: 34px;
	margin-left: 0.35rem;
	border-radius: 50%;
	cursor: pointer;
	position: relative;
	background: rgba(10, 12, 16, 0.06);
	transition: background 0.2s ease;
}

.burger:hover {
	background: rgba(10, 12, 16, 0.1);
}

.burger::before,
.burger::after {
	content: "";
	position: absolute;
	left: 10px;
	right: 10px;
	height: 2px;
	background: #1a1a1a;
	border-radius: 1px;
}

.navbar-transition .burger::before,
.navbar-transition .burger::after {
	background: #fff;
}

.burger::before {
	top: 12px;
}
.burger::after {
	bottom: 12px;
}

@media (min-width: 992px) {
	.no-off-canvas:not(.navbar-hidden) .burger {
		display: none;
	}
}

@media (max-width: 991px) {
	.navbar .sep {
		display: none;
	}
	.navbar,
	.header-gap {
		height: 60px;
	}
	.navbar .nav-list > .menu-item > a {
		line-height: 60px;
	}
}

/* ---------- ç”¨æˆ·ä¸‹æ‹‰ï¼ˆå¯¹é½�çˆ¶ä¸»é¢˜ï¼š.dropdown ä¸º staticï¼Œè�œå�•ç›¸å¯¹æ•´æ�¡ .navbar å®šä½�ï¼‰ ---------- */
.navbar .dropdown {
	position: static;
	min-width: 25px;
	list-style: none;
}

.navbar .dropdown > a {
	text-decoration: none;
	color: inherit;
}

.navbar .dropdown-menu {
	position: absolute;
	top: 10px;
	right: 0;
	left: auto;
	margin: 1.125rem 0;
	padding: 1rem 0;
	min-width: 12rem;
	max-width: min(100vw - 1.5rem, 380px);
	border: none;
	border-radius: var(--bs-border-radius-lg);
	box-shadow: 0 10px 30px 0 rgba(31, 45, 61, 0.26);
	background: var(--c4d-surface);
	font-size: 0.875rem;
	line-height: 1.2rem;
	color: #18113c;
	display: none;
}

.navbar .dropdown:hover > .dropdown-menu {
	display: block;
	visibility: visible;
	opacity: 1;
	transform: translateY(0) scaleY(1);
}

@media (min-width: 992px) {
	.navbar .dropdown-menu {
		display: block;
		visibility: hidden;
		opacity: 0;
		transform: translateY(20px);
		transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
	}

	.navbar .dropdown:hover > .dropdown-menu,
	.navbar .dropdown-submenu:hover > .dropdown-menu {
		visibility: visible;
		opacity: 1;
		transform: scaleY(1) translateY(0);
	}

	.navbar .dropdown-menu {
		animation: none;
	}
}

.navbar .dropdown .user-logout,
.navbar .dropdown .user-admin {
	position: absolute;
	right: 1rem;
	top: 0.75rem;
	font-size: 0.75rem;
	color: var(--c4d-muted);
	text-decoration: none;
}

.navbar .dropdown .user-admin {
	top: 2.25rem;
}

.navbar .dropdown-item {
	min-width: 320px;
	padding: 0.5rem 1.25rem;
	font-size: 0.8125rem;
	font-weight: 500;
	white-space: normal;
}

.navbar .dropdown-item:hover {
	background: transparent;
}

.navbar .dropdown-item-nicon {
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	margin-top: 0.75rem;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.navbar .dropdown-item-nicon > a {
	text-align: center;
	font-size: 0.75rem;
	color: var(--c4d-muted);
	text-decoration: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.navbar .dropdown-item-nicon > a:hover {
	color: var(--bs-primary);
}

.navbar .dropdown-item-nicon > a > i {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #f0f2f7;
	color: var(--c4d-muted);
}

.menu-card-box-1,
.menu-card-box-2,
.menu-card-box-3 {
	color: #fff;
	font-size: 0.75rem;
	position: relative;
	overflow: hidden;
	border-radius: var(--bs-border-radius);
	padding: 10px;
}

.navbar .dropdown-item .menu-card-box-1 {
	background: linear-gradient(135deg, #0066ff, #4d9fff);
	margin-right: 8px;
	text-align: center;
}
.navbar .dropdown-item .menu-card-box-2 {
	background: linear-gradient(135deg, #0d9c5f, #34d399);
	margin-bottom: 8px;
}
.navbar .dropdown-item .menu-card-box-3 {
	background: linear-gradient(135deg, #e8a200, #ffd54f);
	color: #3a2b00;
}

.mx-display-name {
	font-size: 0.8125rem;
	font-weight: 600;
	max-width: 72px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.navbar-transition .navbar .mx-display-name {
	color: #fff;
}

.menu-avatar-img {
	border: 2px solid rgba(232, 0, 0, 0.25);
}

/* ---------- Off-canvas ---------- */
.off-canvas {
	background: var(--c4d-surface);
	height: 100vh;
	overflow-y: auto;
	padding: 60px 0 16px;
	position: fixed;
	right: 0;
	top: 0;
	width: min(320px, 92vw);
	z-index: 90;
	transform: translateX(100%);
	transition: transform 0.25s ease, visibility 0.25s;
	visibility: hidden;
	box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
}

.canvas-opened .off-canvas {
	transform: translateX(0);
	visibility: visible;
}

@media (min-width: 993px) {
	.canvas-opened .off-canvas {
		display: none;
	}
}

.off-canvas .canvas-close {
	position: absolute;
	right: 12px;
	top: 12px;
}

.off-canvas .logo {
	display: flex;
	justify-content: center;
	margin-bottom: 1.5rem;
}

.dimmer {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 85;
	display: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s;
}

.canvas-opened .dimmer,
.dimmer.show {
	display: block;
	opacity: 1;
	visibility: visible;
}

@media (max-width: 992px) {
	.dimmer {
		background: rgba(0, 0, 0, 0.65);
	}
}

/* ---------- Hero / é¡¶åŒº ---------- */
.hero {
	position: relative;
	display: flex;
	background-color: #eceff4;
	background-size: cover;
	background-position: center;
	min-height: 200px;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.hero-wide .hero::before {
	background: linear-gradient(120deg, rgba(8, 10, 16, 0.92) 0%, rgba(40, 0, 0, 0.88) 100%);
	opacity: 0.95;
}

.hero .container {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	flex-grow: 1;
}

.hero .entry-header {
	margin-bottom: 2rem;
	color: #fff;
}

.hero .entry-header .entry-title {
	color: #fff;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.hero-wide .hero .entry-header {
	margin-bottom: 0;
	padding: 1.5rem 0;
}

.term-bar {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 3rem 1rem;
	background: #07080c;
	overflow: hidden;
}

.term-bar .term-bg:before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(155deg, rgba(232, 0, 0, 0.35) 0%, rgba(7, 8, 12, 0.92) 50%, #07080c 100%),
		repeating-linear-gradient(-11deg, transparent, transparent 14px, rgba(255, 255, 255, 0.025) 14px, rgba(255, 255, 255, 0.025) 15px);
}

.term-bar .term-title,
.term-bar .term-description {
	position: relative;
	z-index: 1;
}

.term-bar .term-title {
	color: #fff;
	font-size: clamp(1.35rem, 3vw, 2rem);
	font-weight: 800;
}

.term-bar .term-description {
	color: rgba(255, 255, 255, 0.75);
	margin-top: 0.5rem;
	max-width: 40rem;
}

.page-top-hero {
	margin-top: -30px;
	margin-bottom: 0;
	padding-top: 3rem !important;
	padding-bottom: 3rem !important;
	position: relative;
}

.page-top-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.94;
	background: linear-gradient(120deg, #0c0e14 0%, #1a0508 55%, #5c0000 100%);
}

.page-top-hero .container,
.page-top-hero .entry-header {
	position: relative;
	z-index: 1;
	color: #fff;
}

/* ---------- ä¸»å†…å®¹åŒº ---------- */
.site-content {
	padding: 2rem 0 3rem;
}

[class*="home"] .site-content,
[class*="page-template-page-modular"] .site-content {
	padding-top: 0;
	padding-bottom: 0;
}

@media (max-width: 992px) {
	.site-content {
		padding: 1rem 0 2rem;
	}
	[class*="home"] .site-content,
	[class*="page-template-page-modular"] .site-content {
		padding-top: 0;
		padding-bottom: 0;
	}
}

.content-column {
	flex: 1 1 0;
	min-width: 0;
}

@media (min-width: 992px) {
	.content-column {
		flex: 0 0 72%;
		max-width: 72%;
	}
	.sidebar-column {
		flex: 0 0 28%;
		max-width: 28%;
	}
	.sidebar-left .sidebar-column {
		order: -1;
	}
}

/* ---------- ç­›é€‰ ---------- */
.archive-filter {
	margin-top: -2rem;
	margin-bottom: 1.75rem;
	background: var(--c4d-surface);
	border-radius: var(--bs-border-radius-lg);
	box-shadow: var(--c4d-shadow);
	border: 1px solid rgba(10, 12, 16, 0.06);
}

.archive-filter .filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	padding: 1rem 1.25rem;
}

.archive-filter .filters .dropdown-toggle {
	font-size: 0.875rem;
	box-shadow: none;
}

.filters .dropdown-item.active,
.filters .dropdown-item:active,
.filters .dropdown-item:hover {
	color: var(--bs-primary);
}

/* ---------- æ–‡ç« åˆ—è¡¨ ---------- */
.posts-wrapper .post-list,
.posts-wrapper .post-grid,
.carousel .post-grid {
	position: relative;
	background: var(--c4d-surface);
	border-radius: var(--bs-border-radius-lg);
	border: 1px solid rgba(10, 12, 16, 0.06);
	box-shadow: var(--c4d-shadow);
	padding: 12px;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s ease;
	overflow: hidden;
}

.posts-wrapper .post-list:hover,
.posts-wrapper .post-grid:hover,
.carousel .post-grid:hover {
	transform: translateY(-5px);
	box-shadow: var(--c4d-shadow-lg);
	border-color: rgba(232, 0, 0, 0.2);
}

.entry-media {
	position: relative;
	border-radius: var(--bs-border-radius);
	overflow: hidden;
}

.entry-media img {
	width: 100%;
	height: auto;
	display: block;
	vertical-align: middle;
}

.post-grid .entry-header .entry-title,
.post-list .entry-header .entry-title {
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.45;
	margin: 0.35rem 0;
}

.post-grid .entry-header .entry-title a,
.post-list .entry-header .entry-title a {
	color: inherit;
	text-decoration: none;
}

.post-grid .entry-header .entry-title a:hover,
.post-list .entry-header .entry-title a:hover {
	color: var(--bs-primary);
}

.entry-meta {
	font-size: 0.75rem;
	color: var(--c4d-muted) !important;
}

.post-grid.bg-image {
	background-size: cover;
	background-position: center;
	color: #fff;
}

.post-grid.bg-image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.75) 100%);
	z-index: 0;
	pointer-events: none;
}

.post-grid.bg-image .entry-media {
	opacity: 0;
}

.post-grid.bg-image .entry-wrapper {
	position: relative;
	z-index: 1;
}

.post-grid.bg-image .entry-wrapper a,
.post-grid.bg-image .entry-excerpt,
.post-grid.bg-image .entry-meta {
	color: #fff !important;
}

/* ---------- æ­£æ–‡ ---------- */
.article-crumb {
	margin-bottom: 1rem;
	padding: 0.65rem 1rem;
	background: var(--c4d-surface);
	border-radius: var(--bs-border-radius);
	border: 1px solid rgba(10, 12, 16, 0.06);
}

.content-area .article-content {
	background: var(--c4d-surface);
	border-radius: var(--bs-border-radius-lg);
	border: 1px solid rgba(10, 12, 16, 0.06);
	box-shadow: var(--c4d-shadow);
	padding: 2rem;
}

.article-content .entry-header .entry-title {
	font-size: clamp(1.35rem, 3vw, 1.85rem);
	font-weight: 800;
	letter-spacing: -0.02em;
}

.article-content .entry-content > p > a:not(.btn) {
	color: var(--bs-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.article-content h2 {
	border-bottom: 2px solid rgba(232, 0, 0, 0.2);
	padding-bottom: 0.5rem;
	margin-top: 1.75rem;
}

.article-content h3 {
	border-left: 4px solid var(--bs-primary);
	padding-left: 0.65rem;
	margin-top: 1.5rem;
	font-size: 1.1rem;
}

/* ---------- åˆ†é¡µ ---------- */
.pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35rem;
	margin: 2rem 0;
}

.pagination a,
.pagination span {
	display: inline-block;
	padding: 0.45rem 0.75rem;
	border-radius: var(--bs-border-radius);
	border: 1px solid rgba(10, 12, 16, 0.08);
	background: var(--c4d-surface);
	color: var(--c4d-muted);
	text-decoration: none;
	transition: all 0.2s ease;
}

.pagination a:hover {
	border-color: var(--bs-primary);
	color: var(--bs-primary);
}

.pagination .current {
	color: #fff;
	background: linear-gradient(135deg, #c40000, #e80000);
	border-color: transparent;
}

/* ---------- ä¾§æ � ---------- */
.sidebar-column .widget {
	background: var(--c4d-surface);
	border-radius: var(--bs-border-radius-lg);
	border: 1px solid rgba(10, 12, 16, 0.06);
	box-shadow: var(--c4d-shadow);
	padding: 1.1rem 1.2rem;
	margin-bottom: 1.25rem;
}

.sidebar-column .widget-title {
	font-size: 0.9rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid rgba(232, 0, 0, 0.15);
}

.widget .tagcloud a {
	display: inline-block;
	margin: 2px;
	padding: 2px 8px;
	border-radius: 4px;
	background: #f0f2f7;
	font-size: 0.75rem !important;
	color: var(--c4d-muted);
	text-decoration: none;
}

.widget .tagcloud a:hover {
	background: var(--bs-primary);
	color: #fff !important;
}

/* ---------- æ¨¡å�—åŒ–é¦–é¡µ ---------- */
.section {
	padding-top: 2rem;
	padding-bottom: 0.5rem;
}

.section-title {
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	margin-bottom: 1.25rem;
	position: relative;
}

.section-title > span {
	display: inline-block;
}

.section-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -10px;
	width: 48px;
	height: 4px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--bs-primary), rgba(232, 0, 0, 0.2));
}

/* ---------- é¡µè„š ---------- */
.site-footer {
	margin-top: 0;
	background: linear-gradient(180deg, #0a0c12 0%, #05060a 100%);
	color: rgba(255, 255, 255, 0.7);
	border-top: 2px solid rgba(232, 0, 0, 0.35);
}

.site-footer a {
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
}

.site-footer a:hover {
	color: #fff;
}

.site-footer .footer-copyright {
	padding: 1.25rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.45);
}

/* ---------- å…¨ç«™æ�œç´¢ ---------- */
.omnisearch {
	position: fixed;
	inset: 0;
	z-index: 1050;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
	background: transparent;
}

.omnisearch.show {
	opacity: 1;
	pointer-events: auto;
}

.omnisearch .omnisearch-form {
	max-width: 680px;
	margin: 10vh auto 0;
	background: var(--c4d-surface);
	border-radius: var(--bs-border-radius-lg);
	box-shadow: var(--c4d-shadow-lg);
	padding: 0.25rem 0.5rem;
}

.omnisearch .omnisearch-suggestions {
	max-width: 680px;
	margin: 0.75rem auto 0;
	background: var(--c4d-surface);
	border-radius: var(--bs-border-radius-lg);
	box-shadow: var(--c4d-shadow-lg);
	min-height: 120px;
	padding: 1rem;
}

/* ---------- bootstrap-select å¾®è°ƒ ---------- */
.bootstrap-select > .dropdown-toggle {
	border-radius: var(--bs-border-radius);
}

/* ---------- Jarallax ---------- */
.jarallax {
	position: relative;
	z-index: 0;
}
.jarallax > .jarallax-img,
.jarallax-img {
	position: absolute;
	object-fit: cover;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

/* ---------- åº•éƒ¨æµ®åŠ¨æ � ---------- */
.m-menubar {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1040;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(10px);
	border-top: 1px solid rgba(10, 12, 16, 0.08);
	padding: 6px 0;
}

.m-menubar ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

.m-menubar li {
	flex: 1;
	font-size: 0.7rem;
}

.m-menubar li a {
	display: block;
	color: var(--c4d-muted);
	text-decoration: none;
	padding: 4px 2px;
}

.m-menubar li a > i {
	display: block;
	font-size: 1.25rem;
	margin-bottom: 2px;
	color: var(--c4d-ink);
}

.m-menubar li.active a,
.m-menubar li.active a > i {
	color: var(--bs-primary);
}

@media (max-width: 1024px) {
	body.ripro-c4d-model-child {
		padding-top: 0 !important;
		padding-bottom: 58px;
	}
	.m-menubar {
		display: block;
	}
}

.rollbar {
	display: none;
	position: fixed;
	top: 40%;
	right: 0;
	z-index: 999;
	width: 42px;
	background: var(--c4d-surface);
	border: 1px solid rgba(10, 12, 16, 0.08);
	border-right: 0;
	border-radius: 8px 0 0 8px;
	box-shadow: var(--c4d-shadow);
	text-align: center;
}

.rollbar .actions {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rollbar .actions li > a {
	display: block;
	line-height: 40px;
	color: var(--c4d-ink);
	text-decoration: none;
}

.rollbar .rollbar-item {
	cursor: pointer;
	line-height: 40px;
	margin: 6px;
	padding-top: 6px;
	border-top: 1px solid rgba(10, 12, 16, 0.08);
	color: var(--bs-primary);
}

@media (min-width: 768px) {
	.rollbar:has(.actions li) {
		display: block;
	}
}

@media (max-width: 767px) {
	.rollbar {
		display: none !important;
	}
}

/* ---------- RiPro è½»é‡�å¾½ç« ï¼ˆå¸¸ç”¨ï¼‰ ---------- */
.badge-primary-lighten {
	color: var(--bs-primary);
	background: rgba(232, 0, 0, 0.12);
}
.badge-light-lighten {
	color: var(--c4d-muted);
	background: #eef0f5;
}

/* ---------- æ–‡ç« å†… Tabï¼ˆRiPro å•†å“�è¯¦æƒ…ç­‰ï¼‰ ---------- */
.nav-pills .nav-link {
	border-radius: var(--bs-border-radius);
	color: var(--c4d-muted);
	font-weight: 600;
}
.nav-pills .nav-link.active {
	background: var(--bs-primary);
	color: #fff;
}

/* ---------- æ·±è‰²æ¨¡å¼� ---------- */
body.dark-open.ripro-c4d-model-child {
	background: #0b0d14;
	background-image: radial-gradient(ellipse 100% 60% at 50% 0%, rgba(232, 0, 0, 0.14), transparent 55%);
	color: #e4e7ef;
}

body.dark-open.ripro-c4d-model-child .site-header {
	background: rgba(12, 14, 22, 0.88) !important;
	border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.dark-open.ripro-c4d-model-child .navbar .nav-list > .menu-item > a {
	color: #eef0f7;
}

body.dark-open.ripro-c4d-model-child .posts-wrapper .post-list,
body.dark-open.ripro-c4d-model-child .posts-wrapper .post-grid,
body.dark-open.ripro-c4d-model-child .carousel .post-grid,
body.dark-open.ripro-c4d-model-child .archive-filter,
body.dark-open.ripro-c4d-model-child .content-area .article-content,
body.dark-open.ripro-c4d-model-child .sidebar-column .widget,
body.dark-open.ripro-c4d-model-child .article-crumb {
	background: #141821;
	border-color: rgba(255, 255, 255, 0.08);
	color: #d8dde8;
}

body.dark-open.ripro-c4d-model-child .post-grid .entry-header .entry-title a,
body.dark-open.ripro-c4d-model-child .post-list .entry-header .entry-title a {
	color: #f1f3f9;
}

body.dark-open.ripro-c4d-model-child .m-menubar {
	background: rgba(20, 24, 33, 0.96);
	border-top-color: rgba(255, 255, 255, 0.08);
}

body.dark-open.ripro-c4d-model-child .m-menubar li a {
	color: rgba(255, 255, 255, 0.65);
}

body.dark-open.ripro-c4d-model-child .m-menubar li a > i {
	color: #fff;
}


/* ========== RiPro component compat ========== */


.page-template-page-user .site-content {
	padding-top: 0;
}

.user-top-header {
	position: relative;
	background-repeat: no-repeat;
	background-position: 50%;
	background-size: cover;
}

.user-top-container {
	position: relative;
	padding-top: 2rem;
}

@media (max-width: 992px) {
	.user-top-container {
		padding-top: 0.5rem;
	}
}

.pt-16,
.py-16 {
	padding-top: 7.5rem !important;
}

@media (max-width: 992px) {
	.pt-16,
	.py-16 {
		padding-top: 4.5rem !important;
	}
}

.avatar-xl {
	width: 3.5rem;
	height: 3.5rem;
	font-size: 1.66667rem;
}

.border-width-4 {
	border: 4px solid;
}

.lh-1 {
	line-height: 1;
}

.text-cap {
	display: block;
	text-transform: uppercase;
	font-weight: 600;
}

/* ä¸ªäººä¸­å¿ƒä¾§æ �å¤–æ¡†ï¼šé�¿å…�è¢« BS5 .navbar-expand-* å½“æˆ�æ¨ªå�‘ Navbar */
.navbar-expand-lg.navbar-expand-lg-collapse-block.navbar-light {
	display: block;
	width: 100%;
}

.navbar-toggler {
	background-color: #f8fafd;
	border: 1px solid rgba(0, 0, 0, 0.08);
}

.navbar-toggler .navbar-toggler-default {
	display: flex;
	justify-content: center;
	align-items: center;
}

.navbar-toggler .navbar-toggler-toggled {
	display: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-default {
	display: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-toggled {
	display: flex;
	justify-content: center;
	align-items: center;
}

.navbar-vertical.show .card {
	box-shadow: none;
}

.navbar-vertical .nav {
	flex-direction: column;
	flex-wrap: wrap;
}

.navbar-vertical .nav-sub .nav-link {
	display: flex;
	align-items: center;
}

.navbar-vertical .nav-sub .nav-link .nav-link-badge {
	margin-left: auto;
}

.navbar-vertical .nav-tabs {
	border-bottom-width: 0;
}

.navbar-vertical .nav-tabs .nav-link {
	border-width: 0;
	margin-bottom: 0;
}

.navbar-vertical .nav-tabs .active .nav-link,
.navbar-vertical .nav-tabs .active.nav-link {
	background-color: rgb(240 244 245);
	border-radius: 0.5rem;
	color: var(--bs-primary);
}

@media (max-width: 992px) {
	.navbar-vertical .nav {
		flex-direction: revert;
	}
}

.nav .nav-link {
	color: #555;
	font-size: 0.875rem;
}

.nav .nav-link:not(.active):hover {
	color: var(--bs-primary);
}

.nav:not(.nav-pills) .nav-item.active .nav-link,
.nav:not(.nav-pills) .nav-link.active {
	color: var(--bs-primary);
}

.nav-icon {
	margin-right: 0.5rem;
}

.nav-shadow {
	box-shadow: 0 3px 6px 0 rgba(140, 152, 164, 0.25);
}

.stat {
	background: #e0eafc;
	border-radius: 50%;
	padding: 0.75rem;
	width: 48px;
	height: 48px;
}

/* RiPro å�¡ç‰‡ï¼ˆç•¥å¼ºäºŽ BS5 é»˜è®¤ï¼Œè´´è¿‘åŽŸä¸»é¢˜ï¼‰ */
.card {
	width: 100%;
	border: 0.0625rem solid rgba(231, 234, 243, 0.7);
	border-radius: 0.5rem;
}

.card-header {
	padding: 1rem 1.5rem;
	margin-bottom: 0;
	background-color: #fff;
	border-bottom: 0.0625rem solid rgba(231, 234, 243, 0.7);
}

.card-header:first-child {
	border-radius: 0.75rem 0.75rem 0 0;
}

.card-title {
	display: block;
	margin-bottom: 0;
	font-size: 0.95rem;
}

.card-footer {
	padding: 1.5rem 1.5rem;
	background-color: #fff;
	border-top: 0.0625rem solid rgba(231, 234, 243, 0.7);
}

.card-footer:last-child {
	border-radius: 0 0 0.75rem 0.75rem;
}

.card-hover {
	transition: box-shadow 0.25s ease;
}

.card-hover:focus,
.card-hover:hover {
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-body hr {
	margin-top: 1rem;
	margin-bottom: 1rem;
	border: 0;
	border-top: 2px dashed #e2e2e2;
	background-color: transparent;
	box-sizing: content-box;
	height: 0;
	overflow: visible;
	width: 100%;
}

/* lighten å¾½ç« ï¼ˆç”¨æˆ·ä¸­å¿ƒé’±åŒ…ç­‰ï¼‰ */
.badge-warning-lighten {
	color: #9c3a00;
	background-color: rgba(249, 200, 81, 0.18);
}

.badge-success-lighten {
	color: #0f8a4a;
	background-color: rgba(16, 196, 105, 0.18);
}

.badge-info-lighten {
	color: #0a7ea0;
	background-color: rgba(53, 184, 224, 0.18);
}

.badge-danger-lighten {
	color: #c42b2b;
	background-color: rgba(255, 91, 91, 0.18);
}

.badge-secondary-lighten {
	color: #6c757d;
	background-color: rgba(108, 117, 125, 0.18);
}

.badge-light-lighten {
	color: #5a6270;
	background-color: rgba(238, 242, 247, 0.9);
}

/* ç”¨æˆ·ä¸­å¿ƒè¡¨å�•è§‚æ„Ÿï¼ˆä»…ä½œç”¨åœ¨ç”¨æˆ·æ¨¡æ�¿é¡µï¼Œå‡�å°‘ä¸Žå…¨ç«™ BS5 å†²çª�ï¼‰ */
.page-template-page-user .form-control {
	border: 0.0625rem solid #e7eaf3;
	background-color: #f6fdff;
}

.page-template-page-user .form-control:focus {
	color: #1e2022;
	background-color: #fff;
	border-color: rgba(232, 0, 0, 0.35);
	outline: 0;
	box-shadow: none;
}

.page-template-page-user .form-control::placeholder {
	color: #97a4af;
	opacity: 1;
}

.btn svg {
	margin-bottom: 0;
}

.btn-icon.btn-sm {
	font-size: 0.8125rem;
	width: 2.6875rem;
	height: 2.6875rem;
}

/* ---------- Mega è�œå�• / å¤´åƒ�åŒºï¼ˆåŽŸ app.cssï¼Œé�¿å…�ä¸»è�œå�• Mega é”™ä½�ï¼‰ ---------- */
:root {
	--c4d-mega-orange: #fd7e14;
	--c4d-mega-dark: #212529;
}

.navbar .menu-item-mega:hover .mega-menu,
.navbar .menu-item-mega:hover .sub-menu {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
}

.navbar .menu-avatar-img {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 2px solid #eee;
	transition: transform 0.3s ease;
}

.navbar .menu-avatar-img:hover {
	transform: scale(1.05) rotate(360deg);
}

.header-menu-dropdown {
	position: relative;
}

.header-menu-dropdown .dropdown-menu-hover {
	position: absolute;
	right: 0;
	top: 80%;
	visibility: hidden;
	opacity: 1;
	transition: all 0.3s;
	z-index: 99;
	background: #fff;
	border-radius: 0 0 4px 4px;
	padding-top: 25px;
	min-width: 12rem;
}

.header-menu-dropdown:hover .dropdown-menu-hover {
	top: 100%;
	visibility: visible;
	opacity: 1;
}

.mega-menu {
	background-color: #fff;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.07);
	left: 0;
	opacity: 0;
	position: absolute;
	right: 0;
	top: 100%;
	transform: translateY(5px);
	transition: all 0.1s cubic-bezier(0.77, 0, 0.175, 1);
	visibility: hidden;
	z-index: 80;
	border-radius: 8px;
}

.mega-menu .menu-posts {
	padding: 30px;
}

.mega-menu .menu-posts .menu-post {
	overflow: hidden;
	position: relative;
}

.mega-menu .menu-posts .entry-media {
	max-width: 100%;
}

.mega-menu .menu-posts .entry-title {
	font-size: 12px;
	font-weight: 800;
	margin-bottom: 0;
	height: auto;
	margin-top: 10px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mega-menu .owl .owl-dot {
	background-color: var(--c4d-mega-orange);
	opacity: 1;
}

.mega-menu .owl .owl-dot.active {
	background-color: var(--c4d-mega-dark);
	opacity: 1;
}

.navbar .menu-item-mega {
	position: static;
}

.navbar .menu-item-mega > .sub-menu {
	left: 0;
	margin: 0;
	padding: 40px 0;
	right: 0;
}

.navbar .menu-item-mega > .sub-menu > .menu-item > a {
	color: #aaa;
	font-size: 15px;
	letter-spacing: 0;
	line-height: 1.2;
	margin-bottom: 5px;
	pointer-events: none;
	text-transform: none;
}

.navbar .menu-item-mega > .sub-menu .menu-item-has-children > a::after {
	display: none;
}

.navbar .menu-item-mega > .sub-menu .sub-menu {
	box-shadow: none;
	margin: 0;
	min-width: auto;
	opacity: 1;
	padding: 0;
	position: static;
	transform: translateY(0);
	visibility: visible;
}

.navbar .menu-item-mega > .sub-menu .sub-menu .sub-menu {
	display: none;
}

.navbar *:focus,
.navbar *:hover,
.navbar *:active {
	outline: none;
}

.rounde-circle {
	border-radius: 50% !important;
}
