:root {
	--wd-bg: #ffffff;
	--wd-surface: #f6f7f8;
	--wd-text: #16191d;
	--wd-muted: #646b73;
	--wd-border: #e5e7ea;
	--wd-accent: #ff6a00;
	--wd-max: 1240px;
	--wd-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body {
	background: var(--wd-bg);
	color: var(--wd-text);
	font-family: var(--wd-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--wd-font);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--wd-text);
}

a {
	color: var(--wd-accent);
}

.wd-wrap {
	max-width: var(--wd-max);
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

/* Header */
.wd-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--wd-border);
}

.admin-bar .wd-header {
	top: 32px;
}

.wd-header .wd-wrap {
	min-height: 64px;
}

.wd-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--wd-text);
	text-decoration: none;
	font-weight: 700;
	font-size: 17px;
	letter-spacing: -0.01em;
}

.wd-brand:hover {
	color: var(--wd-text);
}

.wd-brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.wd-brand-tagline {
	margin-top: 2px;
	color: var(--wd-muted);
	font-size: 13px;
	font-weight: 400;
	font-style: italic;
	letter-spacing: 0;
}

.wd-brand-mark {
	flex: none;
	align-self: flex-start;
	margin-top: 1px;
	width: 22px;
	height: 22px;
	border-radius: 6px;
	background: var(--wd-accent);
}

.wd-menu {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wd-menu a {
	display: block;
	padding: 8px 14px;
	border-radius: 8px;
	color: var(--wd-muted);
	font-weight: 500;
	font-size: 15px;
	text-decoration: none;
}

.wd-menu a:hover,
.wd-menu .current-menu-item > a {
	color: var(--wd-text);
	background: var(--wd-surface);
}

.wd-menu .sub-menu {
	display: none;
}

.wd-menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 12px 10px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	color: var(--wd-text);
	cursor: pointer;
}

.wd-menu-toggle:hover,
.wd-menu-toggle:focus {
	background: var(--wd-surface);
}

.wd-menu-toggle span:not(.screen-reader-text) {
	display: block;
	width: 24px;
	height: 2px;
	border-radius: 2px;
	background: var(--wd-text);
}

/* Content */
.site-main:not(.elementor-page) {
	max-width: var(--wd-max);
	margin: 0 auto;
	padding: 48px 24px;
}

/* Footer */
.wd-footer {
	border-top: 1px solid var(--wd-border);
	background: var(--wd-surface);
	color: var(--wd-muted);
	font-size: 14px;
}

.wd-footer .wd-wrap {
	min-height: 64px;
	flex-wrap: wrap;
}

@media (max-width: 782px) {
	.admin-bar .wd-header {
		top: 46px;
	}
}

@media (max-width: 767px) {
	.wd-wrap {
		padding: 0 16px;
	}

	.wd-menu-toggle {
		display: flex;
		flex: none;
	}

	.wd-brand-tagline {
		font-size: 12px;
	}

	.wd-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--wd-bg);
		border-bottom: 1px solid var(--wd-border);
		padding: 8px 16px 16px;
	}

	.wd-header.is-open .wd-nav {
		display: block;
	}

	.wd-menu {
		flex-direction: column;
	}

	.wd-menu a {
		padding: 12px 14px;
	}

	.wd-footer .wd-wrap {
		padding-top: 16px;
		padding-bottom: 16px;
		gap: 4px;
	}
}
