/*
 * Gabiza Theme frontend styles.
 */

:root {
	--gbz-primary: #6d5dfb;
	--gbz-primary-hover: #5c4de6;
	--gbz-theme-bg: #f7f8fb;
	--gbz-theme-surface: #ffffff;
	--gbz-theme-text: #202332;
	--gbz-theme-muted: #74798c;
	--gbz-theme-border: #e7e9f0;
	--gbz-theme-soft: #f1f2f7;
	--gbz-theme-radius: 18px;
	--gbz-theme-radius-sm: 12px;
	--gbz-theme-button-radius: 12px;
	--gbz-theme-shadow: 0 18px 50px rgba(30, 34, 51, 0.08);
	--gbz-theme-container: 1240px;
	--gbz-theme-wide: 1360px;
	--gbz-theme-header-height: 78px;
	--gbz-theme-logo-height: 54px;
	--gbz-theme-font-size-base: 17px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--gbz-theme-bg);
	color: var(--gbz-theme-text);
	font-family:
		Inter,
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		Roboto,
		Helvetica,
		Arial,
		sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

body.gbz-theme-menu-open {
	overflow: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
}

button,
input,
textarea,
select {
	font: inherit;
}

.gbz-theme-container {
	width: min(
		var(--gbz-theme-container),
		calc(100% - 40px)
	);
	margin-inline: auto;
}

.gbz-theme-skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 10000;
	padding: 10px 14px;
	background: var(--gbz-theme-text);
	color: var(--gbz-theme-surface);
	border-radius: 8px;
	transform: translateY(-180%);
	transition: transform 0.2s ease;
}

.gbz-theme-skip-link:focus {
	transform: translateY(0);
}

/* Header */
.gbz-theme-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: var(--gbz-theme-surface);
	border-bottom: 1px solid var(--gbz-theme-border);
}

.gbz-theme-header-static .gbz-theme-header {
	position: relative;
	top: auto;
}

.gbz-theme-header-inner {
	min-height: var(--gbz-theme-header-height);
	display: flex;
	align-items: center;
	gap: 30px;
}

.gbz-theme-brand {
	flex: 0 0 auto;
}

.gbz-theme-brand-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	font-size: 22px;
	letter-spacing: -0.03em;
}

.gbz-theme-logo {
	display: block;
	max-height: var(--gbz-theme-logo-height);
	width: auto;
}

.gbz-theme-brand-mark {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: var(--gbz-primary);
	color: #fff;
	font-size: 20px;
	font-weight: 800;
}

.gbz-theme-primary-nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
}

.gbz-theme-menu,
.gbz-theme-footer-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.gbz-theme-menu {
	display: flex;
	align-items: center;
	gap: 7px;
}

.gbz-theme-menu > li {
	position: relative;
}

.gbz-theme-menu a {
	display: flex;
	align-items: center;
	min-height: 42px;
	padding: 9px 13px;
	border-radius: 10px;
	color: var(--gbz-theme-muted);
	font-size: 14px;
	font-weight: 650;
	transition:
		background 0.18s ease,
		color 0.18s ease;
}

.gbz-theme-menu a:hover,
.gbz-theme-menu a:focus-visible,
.gbz-theme-menu .current-menu-item > a,
.gbz-theme-menu .current_page_item > a {
	background: var(--gbz-theme-soft);
	color: var(--gbz-theme-text);
}

.gbz-theme-menu .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 210px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--gbz-theme-surface);
	border: 1px solid var(--gbz-theme-border);
	border-radius: 14px;
	box-shadow: var(--gbz-theme-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition:
		opacity 0.18s ease,
		transform 0.18s ease,
		visibility 0.18s ease;
}

.gbz-theme-menu li:hover > .sub-menu,
.gbz-theme-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.gbz-theme-header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
}

.gbz-theme-login-link {
	padding: 9px 4px;
	color: var(--gbz-theme-muted);
	font-size: 14px;
	font-weight: 650;
}

.gbz-theme-header-cta,
.gbz-theme-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 11px 20px;
	border: 1px solid var(--gbz-primary);
	border-radius: var(--gbz-theme-button-radius);
	background: var(--gbz-primary);
	color: #fff;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.2;
	box-shadow: 0 9px 25px rgba(48, 44, 90, 0.12);
	transition:
		transform 0.18s ease,
		background 0.18s ease,
		border-color 0.18s ease,
		box-shadow 0.18s ease;
}

.gbz-theme-header-cta:hover,
.gbz-theme-header-cta:focus-visible,
.gbz-theme-button:hover,
.gbz-theme-button:focus-visible {
	background: var(--gbz-primary-hover);
	border-color: var(--gbz-primary-hover);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 12px 28px rgba(48, 44, 90, 0.16);
}

.gbz-theme-button--secondary {
	background: var(--gbz-theme-surface);
	border-color: var(--gbz-theme-border);
	color: var(--gbz-theme-text);
	box-shadow: none;
}

.gbz-theme-button--secondary:hover,
.gbz-theme-button--secondary:focus-visible {
	background: var(--gbz-theme-soft);
	border-color: var(--gbz-theme-border);
	color: var(--gbz-theme-text);
	box-shadow: none;
}

.gbz-theme-menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	margin-left: auto;
	padding: 0;
	border: 1px solid var(--gbz-theme-border);
	border-radius: 11px;
	background: var(--gbz-theme-surface);
	cursor: pointer;
}

.gbz-theme-menu-toggle span {
	display: block;
	width: 19px;
	height: 2px;
	margin: 4px auto;
	border-radius: 2px;
	background: var(--gbz-theme-text);
	transition: transform 0.18s ease;
}

/* Main */
.gbz-theme-main {
	min-height: calc(
		100vh -
		var(--gbz-theme-header-height) -
		220px
	);
}

.gbz-theme-page {
	padding: 48px 0 72px;
}

.gbz-theme-page--plugin {
	padding: 0;
}

.gbz-theme-plugin-canvas {
	width: 100%;
}

.gbz-theme-page-container {
	padding-top: 8px;
}

.gbz-theme-page-header {
	margin-bottom: 28px;
}

.gbz-theme-page-header h1 {
	margin: 0;
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.08;
	letter-spacing: -0.04em;
}

.gbz-theme-entry-content {
	color: var(--gbz-theme-text);
}

.gbz-theme-entry-content > *:first-child {
	margin-top: 0;
}

.gbz-theme-entry-content > *:last-child {
	margin-bottom: 0;
}

/* Shared homepage */
.gbz-theme-section {
	padding: 92px 0;
}

.gbz-theme-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 38px;
}

.gbz-theme-section-heading > div {
	max-width: 720px;
}

.gbz-theme-section-heading--center {
	justify-content: center;
	text-align: center;
}

.gbz-theme-section-heading h2,
.gbz-theme-benefits-intro h2,
.gbz-theme-cta-card h2 {
	margin: 0;
	font-size: clamp(34px, 4.5vw, 52px);
	line-height: 1.05;
	letter-spacing: -0.045em;
}

.gbz-theme-section-heading p,
.gbz-theme-benefits-intro p,
.gbz-theme-cta-card p {
	max-width: 650px;
	margin: 16px 0 0;
	color: var(--gbz-theme-muted);
	font-size: 17px;
	line-height: 1.7;
}

.gbz-theme-eyebrow {
	display: inline-flex;
	margin-bottom: 16px;
	color: var(--gbz-primary);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.gbz-theme-text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--gbz-theme-text);
	font-size: 14px;
	font-weight: 750;
	white-space: nowrap;
}

.gbz-theme-text-link:hover,
.gbz-theme-text-link:focus-visible {
	color: var(--gbz-primary);
}


/* Mobile header actions */
.gbz-theme-mobile-actions {
	display: none;
}

.gbz-theme-mobile-account,
.gbz-theme-mobile-book {
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 16px;
	border-radius: var(--gbz-theme-button-radius);
	font-size: 14px;
	font-weight: 700;
	text-align: center;
}

.gbz-theme-mobile-account {
	border: 1px solid var(--gbz-theme-border);
	background: var(--gbz-theme-surface);
	color: var(--gbz-theme-text);
}

.gbz-theme-mobile-account:hover {
	border-color: var(--gbz-primary);
	color: var(--gbz-primary);
}

.gbz-theme-mobile-book {
	border: 1px solid var(--gbz-primary);
	background: var(--gbz-primary);
	color: #fff;
}

.gbz-theme-mobile-book:hover {
	border-color: var(--gbz-primary-hover);
	background: var(--gbz-primary-hover);
	color: #fff;
}

/* Hero */
.gbz-theme-hero {
	padding: clamp(72px, 9vw, 118px) 0;
	background:
		radial-gradient(
			circle at 84% 15%,
			color-mix(in srgb, var(--gbz-primary) 14%, transparent),
			transparent 33%
		),
		linear-gradient(
			180deg,
			var(--gbz-theme-surface) 0%,
			var(--gbz-theme-bg) 100%
		);
	border-bottom: 1px solid var(--gbz-theme-border);
}

.gbz-theme-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.85fr);
	align-items: center;
	gap: clamp(48px, 7vw, 94px);
}

.gbz-theme-hero h1 {
	max-width: 760px;
	margin: 0;
	font-size: clamp(48px, 7vw, 80px);
	line-height: 0.98;
	letter-spacing: -0.055em;
}

.gbz-theme-hero-lead {
	max-width: 690px;
	margin: 26px 0 0;
	color: var(--gbz-theme-muted);
	font-size: clamp(18px, 2vw, 21px);
	line-height: 1.65;
}

.gbz-theme-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.gbz-theme-hero-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 22px;
	margin-top: 24px;
	color: var(--gbz-theme-muted);
	font-size: 13px;
	font-weight: 650;
}

.gbz-theme-hero-trust > span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.gbz-theme-trust-check {
	display: grid;
	place-items: center;
	width: 19px;
	height: 19px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--gbz-primary) 10%, var(--gbz-theme-surface));
	color: var(--gbz-primary);
	font-size: 11px;
	font-weight: 900;
}

.gbz-theme-hero-panel {
	overflow: hidden;
	border: 1px solid var(--gbz-theme-border);
	border-radius: calc(var(--gbz-theme-radius) + 6px);
	background: var(--gbz-theme-surface);
	box-shadow: 0 30px 80px rgba(38, 43, 67, 0.12);
	transform: rotate(1deg);
}

.gbz-theme-hero-panel-top {
	display: flex;
	gap: 7px;
	padding: 15px 17px;
	border-bottom: 1px solid var(--gbz-theme-border);
	background: color-mix(in srgb, var(--gbz-theme-surface) 92%, var(--gbz-theme-bg));
}

.gbz-theme-hero-panel-top span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--gbz-theme-border) 85%, var(--gbz-theme-text));
}

.gbz-theme-hero-panel-body {
	padding: 28px;
}

.gbz-theme-demo-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.gbz-theme-demo-header > div:first-child {
	flex: 1;
}

.gbz-theme-demo-heading,
.gbz-theme-demo-row {
	height: 15px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--gbz-theme-border) 84%, var(--gbz-theme-surface));
}

.gbz-theme-demo-heading {
	width: 48%;
	height: 20px;
	background: color-mix(in srgb, var(--gbz-theme-border) 72%, var(--gbz-theme-text));
}

.gbz-theme-demo-row {
	width: 78%;
	margin-top: 13px;
}

.gbz-theme-demo-row--short {
	width: 55%;
}

.gbz-theme-demo-avatar {
	width: 48px;
	height: 48px;
	border-radius: 15px;
	background:
		linear-gradient(
			145deg,
			color-mix(in srgb, var(--gbz-primary) 15%, var(--gbz-theme-surface)),
			color-mix(in srgb, var(--gbz-primary) 6%, var(--gbz-theme-surface))
		);
	border: 1px solid
		color-mix(in srgb, var(--gbz-primary) 20%, var(--gbz-theme-surface));
}

.gbz-theme-demo-calendar {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 7px;
	margin-top: 30px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--gbz-theme-border);
}

.gbz-theme-demo-calendar span {
	height: 35px;
	border-radius: 9px;
	background: color-mix(in srgb, var(--gbz-theme-bg) 86%, var(--gbz-theme-surface));
}

.gbz-theme-demo-calendar .is-selected {
	background: color-mix(in srgb, var(--gbz-primary) 14%, var(--gbz-theme-surface));
	border: 1px solid
		color-mix(in srgb, var(--gbz-primary) 34%, var(--gbz-theme-surface));
}

.gbz-theme-demo-slots {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-top: 20px;
}

.gbz-theme-demo-slots span {
	height: 46px;
	border: 1px solid var(--gbz-theme-border);
	border-radius: 11px;
	background: color-mix(in srgb, var(--gbz-theme-bg) 88%, var(--gbz-theme-surface));
}

.gbz-theme-demo-slots .is-selected {
	border-color:
		color-mix(in srgb, var(--gbz-primary) 42%, var(--gbz-theme-surface));
	background:
		color-mix(in srgb, var(--gbz-primary) 9%, var(--gbz-theme-surface));
}

/* Services */
.gbz-theme-services-section {
	background: var(--gbz-theme-surface);
}

.gbz-theme-service-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.gbz-theme-service-card {
	min-width: 0;
	padding: 26px;
	border: 1px solid var(--gbz-theme-border);
	border-radius: var(--gbz-theme-radius);
	background: var(--gbz-theme-surface);
	transition:
		transform 0.18s ease,
		border-color 0.18s ease,
		box-shadow 0.18s ease;
}

.gbz-theme-service-card:hover,
.gbz-theme-service-card:focus-visible {
	transform: translateY(-3px);
	border-color:
		color-mix(in srgb, var(--gbz-primary) 28%, var(--gbz-theme-border));
	box-shadow: var(--gbz-theme-shadow);
}

.gbz-theme-service-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 26px;
}

.gbz-theme-service-icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background:
		color-mix(in srgb, var(--gbz-primary) 9%, var(--gbz-theme-surface));
	color: var(--gbz-primary);
	font-size: 17px;
	font-weight: 850;
	text-transform: uppercase;
}

.gbz-theme-card-arrow {
	color: var(--gbz-theme-muted);
	font-size: 18px;
}

.gbz-theme-service-category {
	display: inline-block;
	margin-bottom: 7px;
	color: var(--gbz-primary);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.gbz-theme-service-card h3 {
	margin: 0;
	font-size: 21px;
	line-height: 1.25;
	letter-spacing: -0.025em;
}

.gbz-theme-service-card p {
	min-height: 50px;
	margin: 12px 0 22px;
	color: var(--gbz-theme-muted);
	font-size: 14px;
	line-height: 1.65;
}

.gbz-theme-service-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 18px;
	border-top: 1px solid var(--gbz-theme-border);
	font-size: 13px;
}

.gbz-theme-service-meta span {
	color: var(--gbz-theme-muted);
}

.gbz-theme-service-meta strong {
	color: var(--gbz-theme-text);
	font-size: 14px;
}

/* Process */
.gbz-theme-process-section {
	background: var(--gbz-theme-bg);
}

.gbz-theme-process-grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.gbz-theme-process-grid::before {
	content: "";
	position: absolute;
	top: 31px;
	left: 16.5%;
	right: 16.5%;
	height: 1px;
	background:
		linear-gradient(
			90deg,
			transparent,
			color-mix(in srgb, var(--gbz-primary) 28%, var(--gbz-theme-border)),
			transparent
		);
}

.gbz-theme-process-card {
	position: relative;
	z-index: 1;
	padding: 18px 26px 28px;
	text-align: center;
}

.gbz-theme-process-number {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	margin: 0 auto 22px;
	border: 8px solid var(--gbz-theme-bg);
	border-radius: 50%;
	background: var(--gbz-primary);
	color: #fff;
	font-size: 16px;
	font-weight: 850;
	box-shadow:
		0 0 0 1px
		color-mix(in srgb, var(--gbz-primary) 25%, var(--gbz-theme-border));
}

.gbz-theme-process-card h3 {
	margin: 0;
	font-size: 20px;
	letter-spacing: -0.02em;
}

.gbz-theme-process-card p {
	max-width: 330px;
	margin: 10px auto 0;
	color: var(--gbz-theme-muted);
	font-size: 14px;
}

/* Professionals */
.gbz-theme-professionals-section {
	background: var(--gbz-theme-surface);
}

.gbz-theme-professional-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.gbz-theme-professional-card {
	overflow: hidden;
	border: 1px solid var(--gbz-theme-border);
	border-radius: var(--gbz-theme-radius);
	background: var(--gbz-theme-surface);
}

.gbz-theme-professional-photo {
	aspect-ratio: 4 / 3;
	display: grid;
	place-items: center;
	overflow: hidden;
	background:
		linear-gradient(
			145deg,
			color-mix(in srgb, var(--gbz-primary) 10%, var(--gbz-theme-surface)),
			var(--gbz-theme-bg)
		);
}

.gbz-theme-professional-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gbz-theme-professional-photo > span {
	display: grid;
	place-items: center;
	width: 82px;
	height: 82px;
	border-radius: 24px;
	background: var(--gbz-theme-surface);
	color: var(--gbz-primary);
	font-size: 26px;
	font-weight: 850;
	box-shadow: 0 12px 30px rgba(30, 34, 51, 0.08);
}

.gbz-theme-professional-content {
	padding: 19px 20px 21px;
}

.gbz-theme-professional-content h3 {
	margin: 0;
	font-size: 19px;
	line-height: 1.25;
}

.gbz-theme-professional-content p {
	margin: 5px 0 0;
	color: var(--gbz-theme-muted);
	font-size: 13px;
}

/* Benefits */
.gbz-theme-benefits-section {
	background:
		linear-gradient(
			180deg,
			color-mix(in srgb, var(--gbz-theme-bg) 70%, var(--gbz-theme-surface)),
			var(--gbz-theme-bg)
		);
}

.gbz-theme-benefits-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(48px, 8vw, 110px);
	align-items: start;
}

.gbz-theme-benefits-intro {
	position: sticky;
	top: calc(var(--gbz-theme-header-height) + 34px);
}

.gbz-theme-header-static .gbz-theme-benefits-intro {
	top: 34px;
}

.gbz-theme-benefits-intro .gbz-theme-text-link {
	margin-top: 24px;
}

.gbz-theme-benefit-list {
	display: grid;
	gap: 12px;
}

.gbz-theme-benefit-item {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 20px;
	padding: 24px;
	border: 1px solid var(--gbz-theme-border);
	border-radius: var(--gbz-theme-radius);
	background: var(--gbz-theme-surface);
}

.gbz-theme-benefit-icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 13px;
	background:
		color-mix(in srgb, var(--gbz-primary) 9%, var(--gbz-theme-surface));
	color: var(--gbz-primary);
	font-size: 12px;
	font-weight: 850;
}

.gbz-theme-benefit-item h3 {
	margin: 2px 0 0;
	font-size: 19px;
	line-height: 1.25;
}

.gbz-theme-benefit-item p {
	margin: 8px 0 0;
	color: var(--gbz-theme-muted);
	font-size: 14px;
	line-height: 1.65;
}

/* Optional page content */
.gbz-theme-home-content {
	padding: 80px 0;
	background: var(--gbz-theme-surface);
}

/* CTA */
.gbz-theme-cta-section {
	padding: 0 0 92px;
	background: var(--gbz-theme-bg);
}

.gbz-theme-cta-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
	padding: clamp(34px, 5vw, 58px);
	border-radius: calc(var(--gbz-theme-radius) + 8px);
	background:
		radial-gradient(
			circle at 90% 10%,
			rgba(255, 255, 255, 0.18),
			transparent 35%
		),
		#202332;
	color: #fff;
	overflow: hidden;
}

.gbz-theme-cta-card .gbz-theme-eyebrow {
	color: color-mix(in srgb, var(--gbz-primary) 68%, #fff);
}

.gbz-theme-cta-card p {
	color: #c8cad4;
}

.gbz-theme-cta-button {
	flex: 0 0 auto;
	min-width: 150px;
	background: var(--gbz-primary);
	border-color: var(--gbz-primary);
}

/* Posts */
.gbz-theme-content-shell {
	padding: 56px 0 80px;
}

.gbz-theme-post-card {
	padding: 30px;
	margin-bottom: 18px;
	border: 1px solid var(--gbz-theme-border);
	border-radius: var(--gbz-theme-radius);
	background: var(--gbz-theme-surface);
}

.gbz-theme-post-card h2 {
	margin: 0 0 14px;
	font-size: 28px;
	line-height: 1.2;
}

.gbz-theme-post-card h2 a:hover {
	color: var(--gbz-primary);
}

/* 404 */
.gbz-theme-empty-page {
	padding: 90px 0;
}

.gbz-theme-empty-card {
	max-width: 680px;
	margin: 0 auto;
	padding: 52px;
	text-align: center;
	border: 1px solid var(--gbz-theme-border);
	border-radius: calc(var(--gbz-theme-radius) + 6px);
	background: var(--gbz-theme-surface);
	box-shadow: var(--gbz-theme-shadow);
}

.gbz-theme-empty-card h1 {
	margin: 0;
	font-size: clamp(38px, 6vw, 58px);
	line-height: 1.05;
	letter-spacing: -0.045em;
}

.gbz-theme-empty-card p {
	margin: 18px auto 28px;
	color: var(--gbz-theme-muted);
}

/* Footer */
.gbz-theme-footer {
	border-top: 1px solid var(--gbz-theme-border);
	background: var(--gbz-theme-surface);
}

.gbz-theme-footer-inner {
	min-height: 190px;
	padding-top: 42px;
	padding-bottom: 34px;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 28px 50px;
	align-items: start;
}

.gbz-theme-footer-brand-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	max-width: 260px;
}

.gbz-theme-footer-logo {
	display: block;
	width: auto;
	max-height: min(
		var(--gbz-theme-logo-height),
		44px
	);
}

.gbz-theme-footer-brand-mark {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: var(--gbz-theme-button-radius);
	background: var(--gbz-primary);
	color: #fff;
	font-size: 17px;
	font-weight: 800;
}

.gbz-theme-footer-brand strong {
	font-size: 18px;
	letter-spacing: -0.02em;
}

.gbz-theme-footer-brand p {
	max-width: 460px;
	margin: 7px 0 0;
	color: var(--gbz-theme-muted);
	font-size: 14px;
}

.gbz-theme-footer-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 18px;
}

.gbz-theme-footer-menu a {
	color: var(--gbz-theme-muted);
	font-size: 14px;
	font-weight: 600;
}

.gbz-theme-footer-menu a:hover {
	color: var(--gbz-primary);
}

.gbz-theme-footer-copy {
	grid-column: 1 / -1;
	padding-top: 24px;
	border-top: 1px solid var(--gbz-theme-border);
	color: var(--gbz-theme-muted);
	font-size: 13px;
}

/* Plugin integration */
.gbz-theme-booking-page .gbz-theme-main,
.gbz-theme-account-page .gbz-theme-main {
	overflow: visible;
}

/* Responsive */
@media (max-width: 1020px) {
	.gbz-theme-service-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gbz-theme-professional-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 920px) {
	.gbz-theme-header-inner {
		min-height: var(--gbz-theme-header-height);
		gap: 14px;
	}

	.gbz-theme-menu-toggle {
		display: block;
	}

	.gbz-theme-header-actions {
		display: none;
	}

	.gbz-theme-primary-nav {
		position: fixed;
		inset: var(--gbz-theme-header-height) 0 auto 0;
		display: block;
		padding: 16px 20px 24px;
		background: var(--gbz-theme-surface);
		border-bottom: 1px solid var(--gbz-theme-border);
		box-shadow: 0 18px 40px rgba(30, 34, 51, 0.08);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition:
			opacity 0.18s ease,
			transform 0.18s ease,
			visibility 0.18s ease;
	}

	.gbz-theme-primary-nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.gbz-theme-menu {
		display: grid;
		gap: 4px;
	}

	.gbz-theme-mobile-actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		margin-top: 14px;
		padding-top: 14px;
		border-top: 1px solid var(--gbz-theme-border);
	}

	.gbz-theme-mobile-actions > :only-child {
		grid-column: 1 / -1;
	}

	.gbz-theme-menu a {
		min-height: 48px;
		padding: 11px 13px;
	}

	.gbz-theme-menu .sub-menu {
		position: static;
		display: block;
		min-width: 0;
		padding: 2px 0 2px 14px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.gbz-theme-hero-grid {
		grid-template-columns: 1fr;
	}

	.gbz-theme-hero-panel {
		max-width: 650px;
		transform: none;
	}

	.gbz-theme-benefits-layout {
		grid-template-columns: 1fr;
		gap: 38px;
	}

	.gbz-theme-benefits-intro {
		position: static;
	}

	.gbz-theme-cta-card {
		align-items: flex-start;
		flex-direction: column;
	}

	.gbz-theme-footer-inner {
		grid-template-columns: 1fr;
	}

	.gbz-theme-footer-menu {
		justify-content: flex-start;
	}

	.gbz-theme-footer-copy {
		grid-column: auto;
	}
}

@media (max-width: 720px) {
	.gbz-theme-section {
		padding: 68px 0;
	}

	.gbz-theme-section-heading {
		align-items: flex-start;
		flex-direction: column;
		margin-bottom: 28px;
	}

	.gbz-theme-service-grid,
	.gbz-theme-process-grid,
	.gbz-theme-professional-grid {
		grid-template-columns: 1fr;
	}

	.gbz-theme-process-grid::before {
		display: none;
	}

	.gbz-theme-process-card {
		padding: 12px 18px 24px;
	}

	.gbz-theme-process-number {
		border-width: 6px;
	}

	.gbz-theme-professional-card {
		display: grid;
		grid-template-columns: 130px 1fr;
		align-items: stretch;
	}

	.gbz-theme-professional-photo {
		aspect-ratio: auto;
		min-height: 140px;
	}

	.gbz-theme-professional-content {
		display: flex;
		flex-direction: column;
		justify-content: center;
	}

	.gbz-theme-cta-section {
		padding-bottom: 68px;
	}
}

@media (max-width: 640px) {
	.gbz-theme-mobile-actions {
		grid-template-columns: 1fr;
	}

	.gbz-theme-mobile-actions > :only-child {
		grid-column: auto;
	}

	.gbz-theme-container {
		width: min(
			var(--gbz-theme-container),
			calc(100% - 28px)
		);
	}

	.gbz-theme-brand-name {
		font-size: 19px;
	}

	.gbz-theme-logo {
		max-height: min(
			var(--gbz-theme-logo-height),
			46px
		);
	}

	.gbz-theme-hero {
		padding: 58px 0 64px;
	}

	.gbz-theme-hero h1 {
		font-size: clamp(44px, 14vw, 62px);
	}

	.gbz-theme-hero-actions {
		display: grid;
	}

	.gbz-theme-button {
		width: 100%;
	}

	.gbz-theme-hero-trust {
		display: grid;
	}

	.gbz-theme-hero-panel-body {
		padding: 20px;
	}

	.gbz-theme-demo-calendar {
		gap: 5px;
	}

	.gbz-theme-demo-calendar span {
		height: 29px;
	}

	.gbz-theme-demo-slots {
		grid-template-columns: repeat(2, 1fr);
	}

	.gbz-theme-page {
		padding: 34px 0 50px;
	}

	.gbz-theme-page--plugin {
		padding: 0;
	}

	.gbz-theme-empty-card {
		padding: 36px 24px;
	}

	.gbz-theme-professional-card {
		grid-template-columns: 102px 1fr;
	}

	.gbz-theme-benefit-item {
		grid-template-columns: 1fr;
	}

	.gbz-theme-cta-card {
		padding: 32px 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.001ms !important;
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* =========================================================
   WordPress Content / Blog
   ========================================================= */

.gbz-theme-listing-page {
	padding: 64px 0 88px;
}

.gbz-theme-listing-header {
	max-width: 760px;
	margin-bottom: 38px;
}

.gbz-theme-listing-header h1 {
	margin: 0;
	font-size: clamp(38px, 5vw, 58px);
	line-height: 1.04;
	letter-spacing: -0.045em;
}

.gbz-theme-listing-description {
	max-width: 680px;
	margin-top: 16px;
	color: var(--gbz-theme-muted);
	font-size: 16px;
	line-height: 1.7;
}

.gbz-theme-listing-description > *:first-child {
	margin-top: 0;
}

.gbz-theme-listing-description > *:last-child {
	margin-bottom: 0;
}

.gbz-theme-post-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.gbz-theme-post-card {
	overflow: hidden;
	padding: 0;
	margin: 0;
	border: 1px solid var(--gbz-theme-border);
	border-radius: var(--gbz-theme-radius);
	background: var(--gbz-theme-surface);
	box-shadow: none;
	transition:
		transform 0.18s ease,
		border-color 0.18s ease,
		box-shadow 0.18s ease;
}

.gbz-theme-post-card:hover {
	transform: translateY(-2px);
	border-color:
		color-mix(
			in srgb,
			var(--gbz-primary) 24%,
			var(--gbz-theme-border)
		);
	box-shadow: var(--gbz-theme-shadow);
}

.gbz-theme-post-card-image {
	display: block;
	aspect-ratio: 16 / 8.7;
	overflow: hidden;
	background: var(--gbz-theme-bg);
}

.gbz-theme-post-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.28s ease;
}

.gbz-theme-post-card:hover .gbz-theme-post-card-image img {
	transform: scale(1.018);
}

.gbz-theme-post-card-body {
	padding: 26px;
}

.gbz-theme-post-card-meta,
.gbz-theme-single-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px 12px;
	color: var(--gbz-theme-muted);
	font-size: 12px;
	font-weight: 600;
}

.gbz-theme-post-category {
	color: var(--gbz-primary);
	font-weight: 800;
}

.gbz-theme-post-category:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.gbz-theme-post-card-header h2 {
	margin: 13px 0 0;
	font-size: clamp(23px, 2.5vw, 30px);
	line-height: 1.16;
	letter-spacing: -0.035em;
}

.gbz-theme-post-card-header h2 a:hover {
	color: var(--gbz-primary);
}

.gbz-theme-post-card-excerpt {
	margin-top: 13px;
	color: var(--gbz-theme-muted);
	font-size: 14px;
	line-height: 1.7;
}

.gbz-theme-post-card-excerpt > * {
	margin: 0;
}

.gbz-theme-post-read-more {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 20px;
	color: var(--gbz-theme-text);
	font-size: 13px;
	font-weight: 800;
}

.gbz-theme-post-read-more:hover {
	color: var(--gbz-primary);
}

.gbz-theme-pagination {
	margin-top: 42px;
}

.gbz-theme-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.gbz-theme-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: 8px 13px;
	border: 1px solid var(--gbz-theme-border);
	border-radius: var(--gbz-theme-button-radius);
	background: var(--gbz-theme-surface);
	color: var(--gbz-theme-text);
	font-size: 13px;
	font-weight: 700;
}

.gbz-theme-pagination .page-numbers:hover {
	border-color: var(--gbz-primary);
	color: var(--gbz-primary);
}

.gbz-theme-pagination .page-numbers.current {
	border-color: var(--gbz-primary);
	background: var(--gbz-primary);
	color: #fff;
}

.gbz-theme-empty-state {
	max-width: 720px;
	padding: 42px;
	border: 1px solid var(--gbz-theme-border);
	border-radius: var(--gbz-theme-radius);
	background: var(--gbz-theme-surface);
}

.gbz-theme-empty-state h2 {
	margin: 0;
	font-size: 28px;
	letter-spacing: -0.03em;
}

.gbz-theme-empty-state p {
	margin: 10px 0 0;
	color: var(--gbz-theme-muted);
}

.gbz-theme-search-box,
.gbz-theme-empty-search {
	margin-top: 24px;
}

.gbz-theme-search-box form,
.gbz-theme-empty-search form {
	display: flex;
	gap: 10px;
	max-width: 620px;
}

.gbz-theme-search-box label,
.gbz-theme-empty-search label {
	flex: 1;
}

.gbz-theme-search-box input[type="search"],
.gbz-theme-empty-search input[type="search"] {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid var(--gbz-theme-border);
	border-radius: var(--gbz-theme-button-radius);
	background: var(--gbz-theme-surface);
	color: var(--gbz-theme-text);
	outline: 0;
}

.gbz-theme-search-box input[type="search"]:focus,
.gbz-theme-empty-search input[type="search"]:focus {
	border-color: var(--gbz-primary);
	box-shadow:
		0 0 0 3px
		color-mix(
			in srgb,
			var(--gbz-primary) 12%,
			transparent
		);
}

.gbz-theme-search-box input[type="submit"],
.gbz-theme-empty-search input[type="submit"] {
	min-height: 46px;
	padding: 10px 18px;
	border: 1px solid var(--gbz-primary);
	border-radius: var(--gbz-theme-button-radius);
	background: var(--gbz-primary);
	color: #fff;
	font-weight: 750;
	cursor: pointer;
}

.gbz-theme-search-box input[type="submit"]:hover,
.gbz-theme-empty-search input[type="submit"]:hover {
	border-color: var(--gbz-primary-hover);
	background: var(--gbz-primary-hover);
}

/* Single post */
.gbz-theme-single-post {
	padding: 68px 0 92px;
}

.gbz-theme-single-container {
	max-width: 980px;
}

.gbz-theme-single-header {
	max-width: 860px;
	margin: 0 auto 34px;
	text-align: center;
}

.gbz-theme-single-meta {
	justify-content: center;
}

.gbz-theme-single-header h1 {
	margin: 18px 0 0;
	font-size: clamp(42px, 6vw, 68px);
	line-height: 1;
	letter-spacing: -0.052em;
}

.gbz-theme-single-lead {
	max-width: 720px;
	margin: 20px auto 0;
	color: var(--gbz-theme-muted);
	font-size: clamp(17px, 2vw, 20px);
	line-height: 1.7;
}

.gbz-theme-single-featured {
	overflow: hidden;
	margin: 0 0 42px;
	border-radius: calc(var(--gbz-theme-radius) + 4px);
	background: var(--gbz-theme-bg);
}

.gbz-theme-single-featured img {
	display: block;
	width: 100%;
	height: auto;
}

.gbz-theme-single-content {
	max-width: 860px;
	margin: 0 auto;
	font-size: 17px;
	line-height: 1.78;
}

/* Gutenberg / generic entry content */
.gbz-theme-entry-content h2,
.gbz-theme-entry-content h3,
.gbz-theme-entry-content h4,
.gbz-theme-entry-content h5,
.gbz-theme-entry-content h6 {
	margin-top: 1.7em;
	margin-bottom: 0.6em;
	color: var(--gbz-theme-text);
	line-height: 1.18;
	letter-spacing: -0.03em;
}

.gbz-theme-entry-content h2 {
	font-size: clamp(29px, 3vw, 38px);
}

.gbz-theme-entry-content h3 {
	font-size: clamp(24px, 2.5vw, 31px);
}

.gbz-theme-entry-content p,
.gbz-theme-entry-content ul,
.gbz-theme-entry-content ol,
.gbz-theme-entry-content blockquote,
.gbz-theme-entry-content table,
.gbz-theme-entry-content figure {
	margin-top: 0;
	margin-bottom: 1.35em;
}

.gbz-theme-entry-content a {
	color: var(--gbz-primary);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.gbz-theme-entry-content a:hover {
	color: var(--gbz-primary-hover);
}

.gbz-theme-entry-content ul,
.gbz-theme-entry-content ol {
	padding-left: 1.45em;
}

.gbz-theme-entry-content li + li {
	margin-top: 0.35em;
}

.gbz-theme-entry-content blockquote {
	margin-left: 0;
	padding: 18px 22px;
	border-left: 3px solid var(--gbz-primary);
	border-radius: 0 var(--gbz-theme-radius) var(--gbz-theme-radius) 0;
	background:
		color-mix(
			in srgb,
			var(--gbz-primary) 5%,
			var(--gbz-theme-surface)
		);
}

.gbz-theme-entry-content blockquote > *:last-child {
	margin-bottom: 0;
}

.gbz-theme-entry-content img {
	border-radius: min(
		var(--gbz-theme-radius),
		18px
	);
}

.gbz-theme-entry-content pre {
	overflow-x: auto;
	padding: 18px;
	border-radius: var(--gbz-theme-radius);
	background: #181a23;
	color: #f5f6f8;
}

.gbz-theme-entry-content code {
	padding: 2px 5px;
	border-radius: 5px;
	background:
		color-mix(
			in srgb,
			var(--gbz-theme-text) 7%,
			var(--gbz-theme-surface)
		);
	font-size: 0.9em;
}

.gbz-theme-entry-content pre code {
	padding: 0;
	background: transparent;
	color: inherit;
}

.gbz-theme-entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.gbz-theme-entry-content th,
.gbz-theme-entry-content td {
	padding: 11px 13px;
	border: 1px solid var(--gbz-theme-border);
	text-align: left;
}

.gbz-theme-entry-content th {
	background: var(--gbz-theme-bg);
}

.gbz-theme-entry-content .alignwide {
	width: min(
		1240px,
		calc(100vw - 40px)
	);
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.gbz-theme-entry-content .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.gbz-theme-page-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 32px;
	font-weight: 700;
}

.gbz-theme-single-footer {
	max-width: 860px;
	margin: 36px auto 0;
}

.gbz-theme-tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.gbz-theme-tag-list a {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 6px 11px;
	border: 1px solid var(--gbz-theme-border);
	border-radius: 999px;
	background: var(--gbz-theme-surface);
	color: var(--gbz-theme-muted);
	font-size: 12px;
	font-weight: 700;
}

.gbz-theme-tag-list a:hover {
	border-color: var(--gbz-primary);
	color: var(--gbz-primary);
}

.gbz-theme-post-navigation {
	max-width: 860px;
	margin: 46px auto 0;
	padding-top: 28px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	border-top: 1px solid var(--gbz-theme-border);
}

.gbz-theme-post-nav-item {
	min-width: 0;
}

.gbz-theme-post-nav-item span {
	display: block;
	margin-bottom: 5px;
	color: var(--gbz-theme-muted);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.gbz-theme-post-nav-item a {
	font-size: 14px;
	font-weight: 750;
	line-height: 1.45;
}

.gbz-theme-post-nav-item a:hover {
	color: var(--gbz-primary);
}

.gbz-theme-post-nav-next {
	text-align: right;
}

@media (max-width: 760px) {
	.gbz-theme-post-grid {
		grid-template-columns: 1fr;
	}

	.gbz-theme-listing-page {
		padding: 48px 0 68px;
	}

	.gbz-theme-single-post {
		padding: 48px 0 70px;
	}

	.gbz-theme-single-header {
		text-align: left;
	}

	.gbz-theme-single-meta {
		justify-content: flex-start;
	}

	.gbz-theme-post-navigation {
		grid-template-columns: 1fr;
	}

	.gbz-theme-post-nav-next {
		text-align: left;
	}

	.gbz-theme-search-box form,
	.gbz-theme-empty-search form {
		flex-direction: column;
	}

	.gbz-theme-search-box input[type="submit"],
	.gbz-theme-empty-search input[type="submit"] {
		width: 100%;
	}
}

/* =========================================================
   Stage 6 — Mobile / Accessibility / QA
   ========================================================= */

/*
 * Accessible utility used by WordPress core output such as the search form.
 */
.screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.screen-reader-text:focus {
	top: 12px;
	left: 12px;
	z-index: 10001;
	width: auto !important;
	height: auto !important;
	padding: 10px 14px !important;
	margin: 0 !important;
	overflow: visible !important;
	clip: auto !important;
	white-space: normal !important;
	border-radius: var(--gbz-theme-button-radius);
	background: var(--gbz-theme-text);
	color: var(--gbz-theme-surface);
}

/*
 * Keyboard focus must remain obvious across navigation, buttons, forms,
 * pagination and Gabiza plugin content.
 */
:where(
	a,
	button,
	input,
	select,
	textarea,
	[tabindex]:not([tabindex="-1"])
):focus-visible {
	outline: 3px solid
		color-mix(
			in srgb,
			var(--gbz-primary) 60%,
			transparent
		);
	outline-offset: 3px;
}

.gbz-theme-keyboard-navigation
	.gbz-theme-menu-toggle:focus-visible {
	outline-offset: 4px;
}

/*
 * Sticky header must not cover theme or Gabiza plugin anchors.
 */
#gbz-theme-main,
#gabiza-booking,
#gabiza-account {
	scroll-margin-top:
		calc(
			var(--gbz-theme-header-height) +
			32px
		);
}

/*
 * WordPress admin bar compatibility.
 */
.admin-bar:not(.gbz-theme-header-static)
	.gbz-theme-header {
	top: 32px;
}

/*
 * Prevent long URLs, email addresses and user-entered content from causing
 * horizontal overflow on small screens.
 */
.gbz-theme-main,
.gbz-theme-entry-content,
.gbz-theme-single-content,
.gbz-theme-post-card,
.gbz-theme-service-card,
.gbz-theme-benefit-item {
	overflow-wrap: anywhere;
}

.gbz-theme-entry-content iframe,
.gbz-theme-entry-content video,
.gbz-theme-entry-content embed,
.gbz-theme-entry-content object {
	max-width: 100%;
}

/*
 * Wide Gutenberg content follows the configurable Gabiza content width
 * instead of a hard-coded desktop value.
 */
.gbz-theme-entry-content .alignwide {
	width: min(
		var(--gbz-theme-container),
		calc(100vw - 40px)
	);
}

/*
 * Better touch targets for interactive navigation.
 */
.gbz-theme-menu-toggle,
.gbz-theme-header-cta,
.gbz-theme-mobile-account,
.gbz-theme-mobile-book,
.gbz-theme-pagination .page-numbers {
	min-width: 44px;
	min-height: 44px;
}

/*
 * While the mobile navigation is open, keep the page behind it stationary.
 */
.gbz-theme-menu-open {
	overscroll-behavior: contain;
}

@media (max-width: 920px) {
	.gbz-theme-primary-nav {
		max-height:
			calc(
				100dvh -
				var(--gbz-theme-header-height)
			);
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.gbz-theme-menu a {
		min-height: 48px;
	}

	.gbz-theme-footer-inner {
		min-height: 0;
	}
}

@media (max-width: 782px) {
	.admin-bar:not(.gbz-theme-header-static)
		.gbz-theme-header {
		top: 46px;
	}

	.admin-bar
		.gbz-theme-primary-nav {
		max-height:
			calc(
				100dvh -
				var(--gbz-theme-header-height) -
				46px
			);
	}
}

@media (max-width: 640px) {
	.gbz-theme-container {
		width:
			min(
				var(--gbz-theme-container),
				calc(100% - 28px)
			);
	}

	.gbz-theme-entry-content .alignwide {
		width: calc(100vw - 28px);
	}

	.gbz-theme-entry-content table {
		display: block;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.gbz-theme-post-card-body,
	.gbz-theme-benefit-item,
	.gbz-theme-service-card {
		padding-left: 20px;
		padding-right: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.gbz-theme-post-card:hover,
	.gbz-theme-service-card:hover,
	.gbz-theme-header-cta:hover,
	.gbz-theme-button:hover {
		transform: none;
	}
}

@media (prefers-contrast: more) {
	:root {
		--gbz-theme-border:
			color-mix(
				in srgb,
				var(--gbz-theme-text) 35%,
				var(--gbz-theme-surface)
			);
	}

	.gbz-theme-menu a,
	.gbz-theme-login-link,
	.gbz-theme-footer-menu a {
		color: var(--gbz-theme-text);
	}
}

/* =========================================================
   Unified Gabiza Typography
   ========================================================= */

:root {
	--gbz-font-size-base: 17px;
	--gbz-font-size-small: 14px;
	--gbz-font-size-label: 13px;
	--gbz-line-height-base: 1.6;
}

body {
	font-size: var(--gbz-font-size-base);
	line-height: var(--gbz-line-height-base);
}

/* Header and footer stay slightly more compact, but remain readable. */
.gbz-theme-menu a,
.gbz-theme-login-link,
.gbz-theme-header-cta,
.gbz-theme-footer-menu a {
	font-size: 15px;
}

.gbz-theme-footer-brand p,
.gbz-theme-footer-copy {
	font-size: 14px;
	line-height: 1.6;
}

/* General WordPress content. */
.gbz-theme-entry-content,
.gbz-theme-single-content,
.gbz-theme-post-card-body {
	font-size: var(--gbz-font-size-base);
	line-height: 1.7;
}

.gbz-theme-post-card-meta,
.gbz-theme-entry-meta,
.gbz-theme-single-meta {
	font-size: var(--gbz-font-size-small);
}

@media (max-width: 640px) {
	:root {
		--gbz-font-size-base: 16px;
	}

	.gbz-theme-menu a,
	.gbz-theme-login-link,
	.gbz-theme-header-cta {
		font-size: 15px;
	}
}