﻿body {
			background-color: var(--body-bg-color) !important;
		}
.cubewp-theme-container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 1.25rem;
}

.cubewp-theme-header {
	background: #fff;
	position: sticky;
	top: 0;
	z-index: 100;
}

.cubewp-theme-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 72px;
}

.cubewp-theme-brand img {
	max-height: 48px;
	width: auto;
	display: block;
}

.cubewp-theme-site-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text-primary, #333);
}

.cubewp-theme-menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	padding: 0.5rem;
	cursor: pointer;
}

.cubewp-theme-menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--text-primary, #333);
}

.cubewp-theme-menu,
.cubewp-theme-footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
}

.cubewp-theme-menu a,
.cubewp-theme-footer-menu a {
	color: var(--text-primary, #333);
	font-weight: 500;
}

.cubewp-theme-footer {
	background: var(--secondary-color, #363F48);
	color: #fff;
	padding: 2rem 0;
	margin-top: 3rem;
}

.cubewp-theme-footer a {
	color: #fff;
}

.cubewp-theme-footer-nav {
	margin-bottom: 1rem;
}

.cubewp-theme-copyright {
	margin: 0;
	opacity: 0.9;
}

.cubewp-theme-main {
	padding: 2rem 0 3rem;
}

.cubewp-theme-post-list article {
	margin-bottom: 2.5rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid var(--border-color, #e5e5e5);
}

.cubewp-theme-post-list article:last-child {
	border-bottom: 0;
}

.cubewp-theme-entry-title {
	margin: 0 0 0.5rem;
}

.cubewp-theme-entry-meta {
	color: var(--text-secondary, #666);
	font-size: 0.875rem;
	margin-bottom: 1rem;
}

.cubewp-theme-entry-content img {
	height: auto;
}

@media (max-width: 767px) {
	.cubewp-theme-menu-toggle {
		display: flex;
	}

	.cubewp-theme-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 1px solid var(--border-color, #e5e5e5);
		padding: 1rem 1.25rem;
	}

	.cubewp-theme-nav.is-open {
		display: block;
	}

	.cubewp-theme-header-inner {
		flex-wrap: wrap;
		position: relative;
	}

	.cubewp-theme-menu {
		flex-direction: column;
		gap: 0.75rem;
	}
}
