/* zipBoard Design v2: site layer for pages that still use the Saasland theme. */

/* The v2 header is fixed, so it takes no space. Keep page content clear of it. */
.zb-spacer { height: 96px; }
@media (max-width: 639px) { .zb-spacer { height: 84px; } }

/* -----------------------------------------------------------------
 * Skin: bring existing page content in line with the v2 look.
 * Only on pages where the plugin swapped the chrome (body.zb-v2-skin),
 * never inside the v2 parts themselves (.zb).
 * ----------------------------------------------------------------- */
body.zb-v2-skin {
	--zbs-fg: #0f1216;
	--zbs-muted: #5f636a;
	--zbs-brand: #2fbc56;
	--zbs-brand-strong: #008d3c;
	--zbs-border: #e0e3e7;
	--zbs-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--zbs-display: "Inter Tight", "Geist", ui-sans-serif, system-ui, sans-serif;
	font-family: var(--zbs-sans);
	-webkit-font-smoothing: antialiased;
}

/* Typography */
body.zb-v2-skin :is(p, li, td, th, label, input, textarea, select, blockquote, .elementor-widget-text-editor, .elementor-icon-list-text):not(.zb *) {
	font-family: var(--zbs-sans) !important;
}
body.zb-v2-skin :is(h1, h2, h3, h4, h5, h6, .elementor-heading-title):not(.zb *) {
	font-family: var(--zbs-display) !important;
	letter-spacing: -0.02em;
}
body.zb-v2-skin :is(h1, h2):not(.zb *) { letter-spacing: -0.03em; }

/* Colours: deliberately not overridden. Elementor sets text colours per section
   (white on dark bands etc.), so forcing them would break contrast. */

/* Buttons: green Elementor / theme buttons become v2 pill buttons */
body.zb-v2-skin :is(.elementor-button, .btn_get, .payment_price_btn, .btn.pri, .er_btn, .saas_btn):not(.zb *) {
	font-family: var(--zbs-sans) !important;
	font-weight: 500 !important;
	border-radius: 9999px !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	transition: background-color .25s ease, box-shadow .25s ease, transform .15s ease;
}
body.zb-v2-skin :is(.elementor-button, .btn_get, .payment_price_btn, .btn.pri):not(.zb *):not([style*="background-color: rgb(255"]) {
	box-shadow: 0 8px 24px -8px rgba(47, 188, 86, .55);
}
body.zb-v2-skin :is(.elementor-button, .btn_get, .payment_price_btn, .btn.pri):not(.zb *):hover { transform: translateY(-1px); }
body.zb-v2-skin :is(.elementor-button, .btn_get, .payment_price_btn, .btn.pri):not(.zb *):active { transform: scale(.97); }
body.zb-v2-skin .learn_btn_two:not(.zb *) { font-family: var(--zbs-sans) !important; font-weight: 500; color: var(--zbs-brand-strong); }

/* Links inside article/body copy */
body.zb-v2-skin :is(.elementor-widget-text-editor, .blog_content, .entry-content) a:not(.zb *):not(.elementor-button) {
	color: var(--zbs-brand-strong);
	text-underline-offset: 3px;
}

/* Cards and pricing boxes: v2 radius and hairline borders */
body.zb-v2-skin :is(.price_item, .pricing_item, .blog_list_item, .blog_grid_item, .elementor-widget-call-to-action .elementor-cta):not(.zb *) {
	border-radius: 16px;
}

/* Logged-in editors: keep the fixed v2 header below the WordPress admin bar. */
body.admin-bar [data-zb-part="header"] header.fixed { top: 32px; }
@media (max-width: 782px) { body.admin-bar [data-zb-part="header"] header.fixed { top: 46px; } }
