html {
	color-scheme: light;
}

html.dark {
	color-scheme: dark;
}

body {
	margin: 0;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.no-scrollbar::-webkit-scrollbar {
	display: none;
}

.no-scrollbar {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.pannda-logo-image {
	display: block;
	width: var(--pannda-desktop-logo-width, 32px);
	height: var(--pannda-desktop-logo-height, 32px);
	object-fit: contain;
	border-radius: 8px;
}

.pannda-logo-image-mobile {
	display: none;
}

.pannda-header-icons,
.pannda-header-menu,
.pannda-secondary-user-menu,
.pannda-sidebar-menu,
.pannda-sidebar-footer,
.pannda-secondary-footer,
.pannda-mobile-footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pannda-header-icons {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.pannda-header-icons .pannda-menu-item {
	line-height: 0;
}

.pannda-header-menu {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.pannda-secondary-user-menu {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.pannda-header-menu a {
	color: rgba(255, 255, 255, 0.88);
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
	text-decoration: none;
}

.pannda-header-menu a:hover {
	color: #ffffff;
}

.pannda-sidebar-menu {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	width: 100%;
}

.pannda-sidebar-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	color: #5d3f40;
}

.pannda-secondary-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	color: #5d3f40;
}

.pannda-sidebar-footer a,
.pannda-secondary-footer a {
	color: inherit;
	text-decoration: none;
}

.dark .pannda-sidebar-footer {
	color: rgba(240, 241, 241, 0.72);
}

.dark .pannda-secondary-footer {
	color: rgba(240, 241, 241, 0.72);
}

.pannda-mobile-footer-menu {
	display: flex;
	align-items: center;
	justify-content: space-around;
	width: 100%;
}

.pannda-mobile-footer-menu li {
	list-style: none;
}

nav.fixed.bottom-0.lg\:hidden {
	background-color: #121212 !important;
	color: #ffffff !important;
	border-top-color: rgba(255, 255, 255, 0.1) !important;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	-webkit-user-select: none;
	user-select: none;
}

.pannda-mobile-footer-menu a,
.pannda-mobile-footer-menu .material-symbols-outlined,
.pannda-mobile-footer-menu .text-label-caps,
nav.fixed.bottom-0.lg\:hidden > a,
nav.fixed.bottom-0.lg\:hidden > a .material-symbols-outlined,
nav.fixed.bottom-0.lg\:hidden > a .text-label-caps {
	color: #ffffff !important;
}

.pannda-mobile-footer-create {
	color: #ffffff !important;
	padding: 0;
}

.pannda-mobile-footer-create-image-wrap {
	display: block;
	background: #121212;
}

.pannda-mobile-footer-create-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pannda-search-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #5d3f40;
	cursor: pointer;
}

.dark .pannda-search-submit {
	color: rgba(240, 241, 241, 0.72);
}

.pannda-sidebar-auth-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 38px;
	border-radius: 8px;
	border: 0;
	background: #000000;
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
	text-decoration: none;
}

.dark .pannda-sidebar-auth-button {
	border: 1px solid #000000;
	background: #ffffff;
	color: #000000;
}

.material-symbols-outlined.filled {
	font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 24;
}

header a[href*="wp-login.php"],
header a[href*="register"],
header a[href*="registration"],
header a[href*="wp-signup.php"] {
	color: rgba(255, 255, 255, 0.92);
}

header a[href*="register"]:hover,
header a[href*="registration"]:hover,
header a[href*="wp-signup.php"]:hover {
	color: #ffffff;
}

.pannda-content {
	max-width: 100%;
}

.pannda-content .entry-content > * + * {
	margin-top: 1rem;
}

.pannda-content a,
.pannda-pagination a {
	color: #ba0035;
	text-decoration: none;
}

.pannda-content a:hover,
.pannda-pagination a:hover {
	text-decoration: underline;
}

.pannda-content img,
.wp-block-image img {
	max-width: 100%;
	height: auto;
	border-radius: 0.75rem;
}

.pannda-content input,
.pannda-content textarea,
.pannda-content select,
.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select {
	background: #ffffff;
	color: #1a1c1c;
	border: 1px solid rgba(145, 110, 111, 0.35);
	border-radius: 0.5rem;
	padding: 0.625rem 0.75rem;
}

.dark .pannda-content input,
.dark .pannda-content textarea,
.dark .pannda-content select,
.dark .woocommerce input.input-text,
.dark .woocommerce textarea,
.dark .woocommerce select {
	background: rgba(226, 226, 226, 0.08);
	color: #f0f1f1;
	border-color: rgba(255, 255, 255, 0.15);
}

.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	background: #ba0035;
	color: #ffffff;
	border-radius: 0.5rem;
	font-weight: 700;
}

.buddypress-wrap,
.woocommerce {
	width: 100%;
	color: inherit;
}

#pannda-site-header {
	background-color: #121212 !important;
	color: #ffffff;
}

#pannda-site-header .text-on-primary,
#pannda-site-header .material-symbols-outlined.text-on-primary {
	color: #ffffff !important;
}

#pannda-site-header .bg-header-bg,
#pannda-site-header.dark\:bg-header-bg {
	background-color: #121212 !important;
}

#sidebar-nav {
	background-color: #ffffff !important;
}

.dark #sidebar-nav {
	background-color: #121212 !important;
}

body.admin-bar #pannda-site-header {
	top: 32px;
}

body.admin-bar #sidebar-nav {
	top: 92px;
	height: calc(100vh - 92px);
}

body.admin-bar .pannda-layout {
	/* WordPress already offsets the document by 32px for the admin bar. */
	padding-top: 60px;
}

@media (max-width: 1023px) {
	#sidebar-nav.flex {
		display: flex;
		width: min(82vw, 280px);
		max-width: 320px;
		top: 60px;
		bottom: 56px;
		height: auto;
		max-height: calc(100vh - 116px);
		z-index: 60;
		background-color: #121212 !important;
		color: #ffffff;
		border-color: rgba(255, 255, 255, 0.1);
		box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
		isolation: isolate;
		contain: paint;
		overflow-y: auto;
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
		-ms-overflow-style: none;
		scrollbar-width: none;
	}

	#sidebar-nav.flex::-webkit-scrollbar {
		display: none;
	}

	#sidebar-nav.flex .text-on-surface,
	#sidebar-nav.flex .dark\:text-inverse-on-surface,
	#sidebar-nav.flex .pannda-sidebar-menu a,
	#sidebar-nav.flex .pannda-sidebar-footer,
	#sidebar-nav.flex .pannda-secondary-footer {
		color: #ffffff !important;
	}

	#sidebar-nav.flex .text-on-surface-variant,
	#sidebar-nav.flex .pannda-sidebar-footer a,
	#sidebar-nav.flex .pannda-secondary-footer a,
	#sidebar-nav.flex .text-on-surface-variant\/60 {
		color: rgba(255, 255, 255, 0.72) !important;
	}

	#sidebar-nav.flex .pannda-sidebar-auth-button {
		background: #ffffff;
		border: 1px solid #ffffff;
		color: #000000;
	}

	body.pannda-mobile-menu-open {
		overflow: hidden;
	}

	body.pannda-mobile-menu-open .pannda-layout main {
		opacity: 0;
		pointer-events: none;
		user-select: none;
	}

	body.pannda-mobile-menu-open .pannda-layout::after {
		content: "";
		position: fixed;
		top: 60px;
		right: 0;
		bottom: 56px;
		left: min(82vw, 280px);
		z-index: 55;
		background: rgba(0, 0, 0, 0.18);
		pointer-events: none;
	}

	.pannda-logo-image {
		width: var(--pannda-mobile-logo-width, 30px);
		height: var(--pannda-mobile-logo-height, 30px);
	}

	.pannda-logo-image-desktop {
		display: none;
	}

	.pannda-logo-image-mobile {
		display: block;
	}
}

@media (max-width: 640px) {
	.pannda-mobile-footer-menu a,
	nav.fixed.bottom-0 > a {
		min-width: 54px;
	}
}

@media (max-width: 782px) {
	body.admin-bar #pannda-site-header {
		top: 46px;
	}

	body.admin-bar #sidebar-nav {
		top: 106px;
		bottom: 56px;
		height: auto;
		max-height: calc(100vh - 162px);
	}

	body.admin-bar .pannda-layout {
		/* WordPress already offsets the document by 46px at this breakpoint. */
		padding-top: 60px;
	}
}
