/* Suntyp Block - main.bundle.css (generated) */
/* Suntyp Block — base tokens & reset */

:root {
	--st-font: var(--wp--preset--font-family--sans, system-ui, sans-serif);
	--st-content: var(--wp--style--global--content-size, var(--wp--custom--layout--content, min(46rem, 100%)));
	--st-wide: var(--wp--style--global--wide-size, var(--wp--custom--layout--wide, min(72rem, 100%)));
	--st-full: var(--wp--custom--layout--full, 100%);
	--st-gap: var(--wp--custom--grid--gap, clamp(1rem, 0.5vw + 0.75rem, 1.5rem));
	--st-gap-lg: var(--wp--custom--grid--gap-lg, clamp(1.25rem, 0.75vw + 0.9rem, 2rem));
	--st-radius: var(--wp--preset--border-radius--md, 0.375rem);
	--st-focus: var(--wp--custom--focus--width, 2px) solid var(--wp--preset--color--primary, #2563eb);
	--st-focus-offset: var(--wp--custom--focus--offset, 2px);
	--st-lh: var(--wp--custom--line-height--body, 1.6);
	--st-lh-tight: var(--wp--custom--line-height--tight, 1.25);
	--st-bp-md: 48rem;
}

:where(.wp-site-blocks) {
	box-sizing: border-box;
}

:where(.wp-site-blocks) *,
:where(.wp-site-blocks) *::before,
:where(.wp-site-blocks) *::after {
	box-sizing: inherit;
}

:where(.wp-site-blocks img, video, svg) {
	max-width: 100%;
	height: auto;
}

:where(.wp-site-blocks) :focus-visible {
	outline: var(--st-focus);
	outline-offset: var(--st-focus-offset);
}

@media (prefers-reduced-motion: reduce) {
	:where(.wp-site-blocks) *,
	:where(.wp-site-blocks) *::before,
	:where(.wp-site-blocks) *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Suntyp Block — typography */

:where(.wp-site-blocks) {
	font-family: var(--st-font);
	line-height: var(--st-lh);
}

:where(.wp-site-blocks p, li) {
	max-inline-size: 65ch;
}

:where(.wp-site-blocks h1, .wp-site-blocks h2, .wp-site-blocks h3, .wp-site-blocks h4, .wp-site-blocks h5, .wp-site-blocks h6) {
	line-height: var(--st-lh-tight);
	text-wrap: balance;
}

:where(.wp-site-blocks .alignwide h1, .wp-site-blocks .alignwide h2) {
	max-inline-size: none;
}

:where(.wp-site-blocks .has-secondary-color) {
	color: var(--wp--preset--color--secondary, #475569);
}

:where(.wp-site-blocks .is-style-checkmark) {
	list-style-type: "\2713";
	padding-inline-start: 1.25rem;
}

:where(.wp-site-blocks .is-style-checkmark li) {
	padding-inline-start: 0.5ch;
}

/* Suntyp Block — layout & GenerateBlocks
 *
 * Constrained / wide / full widths are handled by WordPress global styles
 * (--wp--style--global--content-size, --wp--style--global--wide-size).
 * This file only adds GenerateBlocks mapping and block style presets.
 */

:where(.has-generateblocks .gb-element-outer, .has-generateblocks .gb-container) {
	max-inline-size: var(--gb-container-width, var(--wp--style--global--content-size));
}

:where(.has-generateblocks .alignwide, .has-generateblocks .gb-is-wide) {
	max-inline-size: var(--gb-wide-width, var(--wp--style--global--wide-size));
}

:where(.has-generateblocks .alignfull, .has-generateblocks .gb-is-full) {
	max-inline-size: var(--gb-full-width, 100%);
}

:where(.has-generateblocks .gb-grid-wrapper, .has-generateblocks .gb-grid-column) {
	gap: var(--st-gap);
}

:where(.wp-site-blocks .is-style-card) {
	background: var(--wp--preset--color--surface, #f8fafc);
	border: var(--wp--custom--border--thin, 1px) solid var(--wp--preset--color--border, #e2e8f0);
	border-radius: var(--wp--preset--border-radius--lg, 0.5rem);
	padding: var(--wp--preset--spacing--60, 2rem);
	box-shadow: var(--wp--preset--shadow--subtle, 0 1px 2px rgba(15, 23, 42, 0.05));
}

/* Border width presets (Styles panel — no raw px needed). */
:where(.is-style-border-none) {
	border-width: 0 !important;
}

:where(.is-style-border-thin) {
	border-style: solid;
	border-width: var(--wp--custom--border--thin, 1px);
}

:where(.is-style-border-normal) {
	border-style: solid;
	border-width: var(--wp--custom--border--normal, 2px);
}

:where(.is-style-border-thick) {
	border-style: solid;
	border-width: var(--wp--custom--border--thick, 3px);
}

/* Width presets for groups and columns. */
:where(.is-style-width-narrow) {
	max-inline-size: var(--wp--custom--width--narrow);
	margin-inline: auto;
}

:where(.is-style-width-default) {
	max-inline-size: var(--wp--custom--width--default);
	margin-inline: auto;
}

:where(.is-style-width-wide) {
	max-inline-size: var(--wp--custom--width--wide);
	margin-inline: auto;
}

:where(.is-style-width-full) {
	max-inline-size: var(--wp--custom--width--full, 100%);
}

/* Suntyp Block — header system */

:root {
	--st-header-h: clamp(3.5rem, 2vw + 3rem, 4.5rem);
	--st-header-z: 1000;
}

/* Shell */
.suntyp-header {
	position: relative;
	z-index: var(--st-header-z);
	inline-size: 100%;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.suntyp-header--sticky {
	position: sticky;
	inset-block-start: 0;
}

.suntyp-header.is-scrolled {
	background-color: var(--wp--preset--color--base, #fff);
	border-block-end: 1px solid var(--wp--preset--color--border, #e2e8f0);
	box-shadow: var(--wp--preset--shadow--subtle, 0 1px 2px rgba(15, 23, 42, 0.05));
}

.suntyp-header--no-scroll-shadow.is-scrolled {
	border-block-end: none;
	box-shadow: none;
}

/* Transparent header: fixed overlay on the homepage, solid once scrolled. */
.suntyp-header--transparent {
	position: fixed;
	inset-inline: 0;
	inset-block-start: 0;
}

.suntyp-header--transparent:not(.is-scrolled) {
	background-color: transparent;
	border-block-end-color: transparent;
	box-shadow: none;
}

/* Clear the fixed transparent header so hero content is never hidden. */
body.has-suntyp-transparent-header .suntyp-home-hero {
	padding-block-start: calc(var(--wp--preset--spacing--80, 4rem) + var(--st-header-h, 4.5rem)) !important;
}

.suntyp-header__bar {
	min-block-size: var(--st-header-h);
	align-items: center;
	gap: var(--wp--preset--spacing--40, 1rem);
}

.suntyp-header__brand {
	flex: 0 1 auto;
	min-inline-size: 0;
}

.suntyp-header__logo img {
	display: block;
}

.suntyp-header__title a {
	text-decoration: none;
}

/* Utilities: search, social, CTA */
.suntyp-header__utilities {
	flex: 0 0 auto;
	align-items: center;
}

:where(.suntyp-header__search .wp-block-search__button) {
	min-inline-size: 2.75rem;
	min-block-size: 2.75rem;
	padding: 0;
	border: 1px solid var(--wp--preset--color--border, #e2e8f0);
	border-radius: var(--st-radius, 0.375rem);
	background: var(--wp--preset--color--base, #fff);
}

:where(.suntyp-header__search.wp-block-search__searchfield-hidden .wp-block-search__inside-wrapper) {
	border: 0;
	background: transparent;
}

:where(.suntyp-header__search .wp-block-search__input) {
	border: 1px solid var(--wp--preset--color--border, #e2e8f0);
	border-radius: var(--st-radius, 0.375rem);
}

:where(.suntyp-header__social .wp-block-social-link-anchor) {
	padding: 0.375rem;
}

:where(.suntyp-header__cta .wp-block-button__link) {
	white-space: nowrap;
}

/* Layout: left logo (default) */
@media (min-width: 48rem) {
	.suntyp-header--layout-left .suntyp-header__bar {
		display: grid;
		grid-template-columns: auto 1fr auto;
	}

	.suntyp-header--layout-left .suntyp-header__nav {
		justify-self: center;
	}

	.suntyp-header--layout-left .suntyp-header__utilities {
		justify-self: end;
	}
}

/* Layout: center logo */
@media (min-width: 48rem) {
	.suntyp-header--layout-center .suntyp-header__bar {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		grid-template-rows: auto auto;
		row-gap: var(--wp--preset--spacing--30, 0.75rem);
	}

	.suntyp-header--layout-center .suntyp-header__brand {
		grid-column: 2;
		grid-row: 1;
		justify-self: center;
	}

	.suntyp-header--layout-center .suntyp-header__nav {
		grid-column: 1 / -1;
		grid-row: 2;
		justify-self: center;
	}

	.suntyp-header--layout-center .suntyp-header__utilities {
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
		align-self: center;
	}
}

/* Layout: right nav */
@media (min-width: 48rem) {
	.suntyp-header--layout-right .suntyp-header__end {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		gap: var(--wp--preset--spacing--50, 1.5rem);
		margin-inline-start: auto;
	}
}

/* Layout: split nav */
@media (min-width: 48rem) {
	.suntyp-header--layout-split .suntyp-header__bar {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
	}

	.suntyp-header--layout-split .suntyp-header__nav-start {
		justify-self: start;
	}

	.suntyp-header--layout-split .suntyp-header__brand {
		justify-self: center;
	}

	.suntyp-header--layout-split .suntyp-header__end {
		justify-self: end;
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		gap: var(--wp--preset--spacing--40, 1rem);
	}
}

/* Mobile */
@media (max-width: 47.99rem) {
	.suntyp-header__bar {
		display: flex;
		flex-wrap: nowrap;
		justify-content: space-between;
	}

	.suntyp-header--layout-split .suntyp-header__nav-start {
		display: none;
	}

	.suntyp-header--layout-center .suntyp-header__utilities,
	.suntyp-header--layout-left .suntyp-header__utilities {
		display: none;
	}

	.suntyp-header--layout-right .suntyp-header__utilities .suntyp-header__cta,
	.suntyp-header--layout-split .suntyp-header__utilities .suntyp-header__cta {
		display: none;
	}

	.suntyp-header__utilities .suntyp-header__social {
		display: none;
	}

	.suntyp-header--layout-right .suntyp-header__end,
	.suntyp-header--layout-split .suntyp-header__end {
		display: flex;
		align-items: center;
		gap: var(--wp--preset--spacing--30, 0.75rem);
		margin-inline-start: auto;
	}

	.suntyp-header--layout-center .suntyp-header__nav,
	.suntyp-header--layout-left .suntyp-header__nav {
		margin-inline-start: auto;
	}
}

/* GenerateBlocks inside header */
:where(.suntyp-header .gb-element, .suntyp-header .gb-container) {
	max-inline-size: none;
}

@media (prefers-reduced-motion: reduce) {
	.suntyp-header {
		transition: none;
	}
}

/* Suntyp Block — navigation (menus & off-canvas) */

:root {
	--st-nav-z: 1000;
	--st-nav-panel-w: min(20rem, 88vw);
	--st-nav-ease: 0.2s ease;
}

/* Desktop menus */
@media (min-width: 48rem) {
	:where(.suntyp-header__nav .wp-block-navigation__responsive-container-open, .suntyp-header__nav .wp-block-navigation__responsive-container-close) {
		display: none;
	}

	:where(.suntyp-header__nav .wp-block-navigation__responsive-container) {
		position: static;
		visibility: visible;
		overflow: visible;
		transform: none;
		background: transparent;
		padding: 0;
	}

	:where(.suntyp-header__nav .wp-block-navigation__container) {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: var(--st-gap);
	}

	:where(.suntyp-header__nav .wp-block-navigation-item) {
		position: relative;
	}

	:where(.suntyp-header__nav .wp-block-navigation__submenu-container) {
		position: absolute;
		inset-block-start: 100%;
		inset-inline-start: 0;
		min-inline-size: 12rem;
		margin-block-start: var(--wp--preset--spacing--20, 0.25rem);
		padding: var(--wp--preset--spacing--30, 0.75rem);
		background: var(--wp--preset--color--base, #fff);
		border: 1px solid var(--wp--preset--color--border, #e2e8f0);
		border-radius: var(--st-radius, 0.375rem);
		box-shadow: var(--wp--preset--shadow--medium, 0 4px 12px rgba(15, 23, 42, 0.08));
		opacity: 0;
		visibility: hidden;
		transform: translateY(0.25rem);
		transition: opacity var(--st-nav-ease), transform var(--st-nav-ease), visibility var(--st-nav-ease);
		z-index: calc(var(--st-nav-z) + 1);
	}

	:where(.suntyp-header__nav .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container) {
		inset-block-start: 0;
		inset-inline-start: 100%;
		margin-block-start: 0;
		margin-inline-start: var(--wp--preset--spacing--20, 0.25rem);
	}

	:where(.suntyp-header__nav .wp-block-navigation-item:hover > .wp-block-navigation__submenu-container, .suntyp-header__nav .wp-block-navigation-item:focus-within > .wp-block-navigation__submenu-container) {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	:where(.suntyp-header__nav .wp-block-navigation-submenu__toggle[aria-expanded="true"] + .wp-block-navigation__submenu-container) {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}
}

:where(.suntyp-header__nav .wp-block-navigation-item__content) {
	text-decoration: none;
	padding: 0.375rem 0.125rem;
	border-radius: var(--wp--preset--border-radius--sm, 0.25rem);
}

:where(.suntyp-header__nav .wp-block-navigation-item__content:hover) {
	color: var(--wp--preset--color--primary, #2563eb);
}

/* Mobile off-canvas + toggle */
@media (max-width: 47.99rem) {
	:where(.suntyp-header__nav--primary .wp-block-navigation__responsive-container-open) {
		display: flex;
		align-items: center;
		justify-content: center;
		min-inline-size: 2.75rem;
		min-block-size: 2.75rem;
		padding: var(--wp--preset--spacing--30, 0.75rem);
		border: 1px solid var(--wp--preset--color--border, #e2e8f0);
		border-radius: var(--st-radius, 0.375rem);
		background: var(--wp--preset--color--base, #fff);
		cursor: pointer;
	}

	:where(.suntyp-header__nav--primary .wp-block-navigation__responsive-container) {
		position: fixed;
		inset-block: 0;
		inset-inline-end: 0;
		inline-size: var(--st-nav-panel-w);
		max-inline-size: 100%;
		background: var(--wp--preset--color--base, #fff);
		transform: translateX(100%);
		transition: transform var(--st-nav-ease), visibility var(--st-nav-ease);
		visibility: hidden;
		z-index: calc(var(--st-nav-z) + 2);
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	:where(.suntyp-header__nav--primary .wp-block-navigation__responsive-container.is-menu-open) {
		visibility: visible;
		transform: translateX(0);
	}

	:where(.suntyp-header__nav--primary .wp-block-navigation__responsive-container-content) {
		display: flex;
		flex-direction: column;
		min-block-size: 100%;
		padding: var(--wp--preset--spacing--70, 3rem) var(--wp--preset--spacing--50, 1.5rem) var(--wp--preset--spacing--60, 2rem);
	}

	:where(.suntyp-header__nav--primary .wp-block-navigation__responsive-container-content)::after {
		content: "";
		flex: 1;
	}

	:where(.suntyp-header__nav--primary .wp-block-navigation__container) {
		flex-direction: column;
		align-items: stretch;
		gap: var(--wp--preset--spacing--20, 0.25rem);
	}

	:where(.suntyp-header__nav--primary .wp-block-navigation-item__content) {
		display: block;
		padding: var(--wp--preset--spacing--40, 1rem) var(--wp--preset--spacing--30, 0.75rem);
		font-size: var(--wp--preset--font-size--md, 1rem);
	}

	:where(.suntyp-header__nav--primary .wp-block-navigation__submenu-container) {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		padding-inline-start: var(--wp--preset--spacing--40, 1rem);
		background: transparent;
	}

	:where(.suntyp-header__nav--primary .wp-block-navigation__submenu-container:not(.is-menu-open)) {
		display: none;
	}

	:where(.suntyp-header__nav--primary .wp-block-navigation__responsive-container-close) {
		position: absolute;
		inset-block-start: var(--wp--preset--spacing--40, 1rem);
		inset-inline-end: var(--wp--preset--spacing--40, 1rem);
		min-inline-size: 2.75rem;
		min-block-size: 2.75rem;
		border-radius: var(--st-radius, 0.375rem);
	}
}

.suntyp-nav-overlay {
	position: fixed;
	inset: 0;
	background: rgb(0 0 0 / 0.5);
	z-index: calc(var(--st-nav-z) + 1);
	cursor: pointer;
}

body.suntyp-nav-open {
	overflow: hidden;
}

:where(.suntyp-nav-mobile-utilities) {
	margin-block-start: var(--wp--preset--spacing--50, 1.5rem);
	padding-block-start: var(--wp--preset--spacing--50, 1.5rem);
	border-block-start: 1px solid var(--wp--preset--color--border, #e2e8f0);
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--40, 1rem);
}

:where(.suntyp-nav-mobile-utilities .suntyp-header__social) {
	display: flex !important;
}

:where(.suntyp-nav-mobile-utilities .wp-block-button__link) {
	inline-size: 100%;
	text-align: center;
}

@media (prefers-reduced-motion: reduce) {
	:where(.suntyp-header__nav .wp-block-navigation__submenu-container, .suntyp-header__nav .wp-block-navigation__responsive-container) {
		transition: none;
	}
}

/* Suntyp Block — forms */

:where(.wp-site-blocks input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]), .wp-site-blocks textarea, .wp-site-blocks select) {
	inline-size: 100%;
	max-inline-size: 100%;
	padding: 0.625rem 0.875rem;
	border: 1px solid var(--wp--preset--color--border, #e2e8f0);
	border-radius: var(--st-radius);
	background: var(--wp--preset--color--base, #fff);
	color: var(--wp--preset--color--contrast, #0f172a);
	font: inherit;
	line-height: var(--st-lh);
}

:where(.wp-site-blocks input:focus-visible, .wp-site-blocks textarea:focus-visible, .wp-site-blocks select:focus-visible) {
	border-color: var(--wp--preset--color--primary, #2563eb);
	outline: var(--st-focus);
	outline-offset: var(--st-focus-offset, 2px);
}

:where(.suntyp-footer__newsletter) {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--30, 0.75rem);
	align-items: flex-end;
}

:where(.wp-block-search__inside-wrapper) {
	display: flex;
	gap: var(--wp--preset--spacing--30, 0.75rem);
	border: 1px solid var(--wp--preset--color--border, #e2e8f0);
	border-radius: var(--st-radius);
	overflow: hidden;
}

:where(.wp-block-search__inside-wrapper input) {
	border: 0;
}

:where(.wp-block-search__button) {
	border-radius: 0;
}

/* Suntyp Block — buttons (unified sizing across all styles) */

:where(.wp-block-button__link, .wp-element-button) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--wp--preset--spacing--30, 0.5rem);
	box-sizing: border-box;
	border: 2px solid transparent;
	border-radius: var(--st-radius);
	font-weight: 600;
	line-height: var(--wp--custom--line-height--tight, 1.2);
	text-decoration: none;
}

:where(.wp-block-button__link, .wp-element-button) :where(svg, img) {
	display: inline-block;
	vertical-align: middle;
}

:where(.is-style-outline .wp-block-button__link) {
	background: transparent;
	color: var(--wp--preset--color--primary, #2563eb);
	border-color: currentColor;
}

:where(.is-style-outline .wp-block-button__link:hover) {
	background: var(--wp--preset--color--surface, #f8fafc);
}

/* Force outline to use the same padding + border as filled (overrides core em padding) */
.wp-block-button[class*="is-style-outline"] > .wp-block-button__link {
	padding-top: var(--wp--preset--spacing--40, 0.75rem);
	padding-bottom: var(--wp--preset--spacing--40, 0.75rem);
	padding-left: var(--wp--preset--spacing--50, 1rem);
	padding-right: var(--wp--preset--spacing--50, 1rem);
	border-width: 2px;
}

:where(.is-style-ghost .wp-block-button__link) {
	background: transparent;
	border-color: transparent;
	color: var(--wp--preset--color--primary, #2563eb);
	box-shadow: none;
}

:where(.is-style-ghost .wp-block-button__link:hover) {
	background: color-mix(in srgb, var(--wp--preset--color--primary, #2563eb) 8%, transparent);
}

/* GenerateBlocks button — include border in sizing, center content */
:where(.gb-button, .wp-block-generateblocks-button) {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Suntyp Block — utility system
 * Add classes via block "Additional CSS class" (Group, Columns, HTML, etc.).
 * Breakpoint: 48rem (md). Mobile-first. */

/* --- Containers --- */
.st-container {
	inline-size: 100%;
	max-inline-size: var(--wp--style--global--content-size, var(--st-content));
	margin-inline: auto;
}

.st-container--wide {
	max-inline-size: var(--wp--style--global--wide-size, var(--st-wide));
}

.st-container--full {
	max-inline-size: var(--st-full);
}

.st-w-full {
	inline-size: 100%;
}

.st-mx-auto {
	margin-inline: auto;
}

/* --- Section spacing (responsive) --- */
.st-section {
	padding-block: clamp(2rem, 4vw + 1rem, var(--wp--preset--spacing--80, 4rem));
}

.st-section--sm {
	padding-block: var(--wp--preset--spacing--60, 2rem);
}

.st-section--lg {
	padding-block: clamp(3rem, 5vw + 1.5rem, var(--wp--preset--spacing--80, 4rem));
}

/* --- Grid --- */
.st-grid {
	display: grid;
	gap: var(--st-gap);
}

.st-grid--lg {
	gap: var(--st-gap-lg);
}

.st-grid--auto {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}

.st-grid--2,
.st-grid--3 {
	grid-template-columns: minmax(0, 1fr);
}

/* --- Flex --- */
.st-flex {
	display: flex;
	gap: var(--st-gap);
	align-items: center;
}

.st-flex--wrap {
	flex-wrap: wrap;
}

.st-flex--center {
	justify-content: center;
	align-items: center;
}

.st-flex--between {
	justify-content: space-between;
	align-items: center;
}

.st-stack {
	display: flex;
	flex-direction: column;
	gap: var(--st-gap);
}

/* --- Gap --- */
.st-gap-0 {
	gap: 0;
}

.st-gap-xs {
	gap: var(--wp--preset--spacing--30, 0.75rem);
}

.st-gap-sm {
	gap: var(--wp--preset--spacing--40, 1rem);
}

.st-gap-md,
.st-gap {
	gap: var(--st-gap);
}

.st-gap-lg {
	gap: var(--st-gap-lg);
}

.st-gap-xl {
	gap: var(--wp--preset--spacing--70, 3rem);
}

/* --- Alignment --- */
.st-center,
.st-text-center {
	text-align: center;
}

.st-items-start {
	align-items: flex-start;
}

.st-items-center {
	align-items: center;
}

.st-items-end {
	align-items: flex-end;
}

.st-justify-start {
	justify-content: flex-start;
}

.st-justify-center {
	justify-content: center;
}

.st-justify-between {
	justify-content: space-between;
}

/* --- Spacing (theme presets: None, XS–XXL) --- */
.st-pad-none {
	padding: 0;
}

.st-pad-xs {
	padding: var(--wp--preset--spacing--30, 0.75rem);
}

.st-pad-sm {
	padding: var(--wp--preset--spacing--40, 1rem);
}

.st-pad-md {
	padding: var(--wp--preset--spacing--50, 1.5rem);
}

.st-pad-lg {
	padding: var(--wp--preset--spacing--60, 2rem);
}

.st-pad-xl {
	padding: var(--wp--preset--spacing--70, 3rem);
}

.st-py-sm {
	padding-block: var(--wp--preset--spacing--40, 1rem);
}

.st-py-md {
	padding-block: var(--wp--preset--spacing--50, 1.5rem);
}

.st-py-lg {
	padding-block: var(--wp--preset--spacing--60, 2rem);
}

.st-px-sm {
	padding-inline: var(--wp--preset--spacing--40, 1rem);
}

.st-px-md {
	padding-inline: var(--wp--preset--spacing--50, 1.5rem);
}

.st-px-lg {
	padding-inline: var(--wp--preset--spacing--60, 2rem);
}

.st-mb-0 {
	margin-block-end: 0;
}

/* --- Visibility & a11y --- */
.st-sr-only {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.st-hidden {
	display: none !important;
}

/* --- Responsive (md: 48rem+) --- */
@media (min-width: 48rem) {
	.st-grid--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.st-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.st-md-row {
		flex-direction: row;
	}

	.st-md-flex {
		display: flex;
	}

	.st-md-grid--2 {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--st-gap);
	}

	.st-md-grid--3 {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--st-gap);
	}

	.st-md-gap-lg {
		gap: var(--st-gap-lg);
	}

	.st-md-section {
		padding-block: var(--wp--preset--spacing--80, 4rem);
	}

	.st-md-py-lg {
		padding-block: var(--wp--preset--spacing--70, 3rem);
	}

	.st-hide-md-up {
		display: none !important;
	}

	.st-show-md {
		display: revert;
	}
}

@media (max-width: 47.99rem) {
	.st-hide-sm {
		display: none !important;
	}

	.st-stack-sm {
		flex-direction: column;
		align-items: stretch;
	}

	.st-show-md {
		display: none !important;
	}
}

/* Suntyp Block — color scheme tokens (style variation driven) */

:root {
	--st-bg: var(--wp--preset--color--base, #ffffff);
	--st-text: var(--wp--preset--color--contrast, #0f172a);
	--st-surface: var(--wp--preset--color--surface, #f8fafc);
	--st-border: var(--wp--preset--color--border, #e2e8f0);
	--st-primary: var(--wp--preset--color--primary, #2563eb);
	--st-accent: var(--wp--preset--color--accent, #0284c7);
	--st-muted: var(--wp--preset--color--secondary, #475569);
	--st-focus: var(--wp--custom--color--focus, var(--st-primary));
	--st-scheme: var(--wp--custom--color--scheme, light);
}

html {
	color-scheme: var(--st-scheme);
}

/* Surfaces use tokens (GB + Woo + theme components) */
:where(.is-style-card, .suntyp-post-card, .suntyp-footer__cta-inner) {
	background: var(--st-surface);
	border-color: var(--st-border);
}

:where(.suntyp-header.is-scrolled) {
	background-color: var(--st-bg);
	border-block-end-color: var(--st-border);
}

:where(.suntyp-header--transparent:not(.is-scrolled)) {
	background-color: transparent;
}

:where(.suntyp-cart-toggle, .suntyp-mini-cart__panel) {
	background: var(--st-bg);
	border-color: var(--st-border);
	color: var(--st-text);
}

:where(.woocommerce ul.products li.product) {
	background: var(--st-bg);
	border-color: var(--st-border);
}

:where(.woocommerce .cart_totals, .woocommerce-checkout #order_review) {
	background: var(--st-surface);
	border-color: var(--st-border);
}

:where(.has-secondary-color) {
	color: var(--st-muted);
}

:where(.wp-site-blocks) :focus-visible {
	outline-color: var(--st-focus);
}

/* Suntyp Block — accessibility (WCAG-oriented) */

/* Skip links */
.suntyp-skip-links {
	position: absolute;
	inset-block-start: 0;
	inset-inline-start: 0;
	z-index: 100001;
}

.suntyp-skip-link {
	position: absolute;
	inset-inline-start: -9999px;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
	white-space: nowrap;
}

.suntyp-skip-link:focus,
.suntyp-skip-link:focus-visible {
	position: fixed;
	inset-block-start: var(--wp--preset--spacing--40, 1rem);
	inset-inline-start: var(--wp--preset--spacing--40, 1rem);
	inline-size: auto;
	block-size: auto;
	padding: var(--wp--preset--spacing--30, 0.75rem) var(--wp--preset--spacing--50, 1.5rem);
	background: var(--wp--preset--color--contrast, #0f172a);
	color: var(--wp--preset--color--base, #fff);
	border-radius: var(--st-radius, 0.375rem);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--sm, 0.875rem);
	text-decoration: none;
	z-index: 100002;
	outline: var(--st-focus);
	outline-offset: var(--st-focus-offset, 2px);
}

/* Screen reader text (WP-compatible) */
.screen-reader-text,
.st-sr-only {
	position: absolute !important;
	inline-size: 1px !important;
	block-size: 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;
}

/* Focus visibility */
:where(.wp-site-blocks a, .wp-site-blocks button, .wp-site-blocks input, .wp-site-blocks select, .wp-site-blocks textarea, .wp-site-blocks summary, .wp-site-blocks [tabindex]:not([tabindex="-1"])) {
	scroll-margin-block: 2rem;
}

:where(.wp-site-blocks a:focus-visible, .wp-site-blocks button:focus-visible, .wp-site-blocks input:focus-visible, .wp-site-blocks select:focus-visible, .wp-site-blocks textarea:focus-visible, .wp-site-blocks summary:focus-visible) {
	outline: var(--st-focus);
	outline-offset: var(--st-focus-offset, 2px);
}

:where(.wp-site-blocks a:focus:not(:focus-visible), .wp-site-blocks button:focus:not(:focus-visible)) {
	outline: none;
}

/* Links: not color-only */
:where(.wp-site-blocks a:not(.wp-element-button)) {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}

:where(.wp-site-blocks a:not(.wp-element-button):hover) {
	text-decoration-thickness: 2px;
}

/* Touch targets (header/footer controls) */
:where(.suntyp-header .wp-block-navigation__responsive-container-open, .suntyp-header .wp-block-navigation__responsive-container-close, .suntyp-cart-toggle, .suntyp-mini-cart__close, .suntyp-footer__top) {
	min-inline-size: 2.75rem;
	min-block-size: 2.75rem;
}

/* Forms */
:where(.suntyp-contact-form label, .suntyp-footer__newsletter label) {
	display: block;
	font-weight: 600;
	margin-block-end: 0.35rem;
}

.suntyp-required {
	color: var(--wp--preset--color--primary, #2563eb);
	font-weight: 700;
}

:where(.wp-site-blocks input:invalid:not(:placeholder-shown), .wp-site-blocks textarea:invalid:not(:placeholder-shown)) {
	border-color: #b91c1c;
}

:where(.wp-site-blocks input[aria-invalid="true"], .wp-site-blocks textarea[aria-invalid="true"]) {
	border-color: #b91c1c;
}

/* Navigation overlay */
.suntyp-nav-overlay {
	cursor: pointer;
}

.wp-block-navigation__responsive-container[aria-hidden="true"] {
	visibility: hidden;
}

/* High contrast preference */
@media (prefers-contrast: more) {
	:where(.wp-site-blocks) {
		--st-focus-width: 3px;
	}

	:where(.wp-site-blocks a:focus-visible, .wp-site-blocks button:focus-visible, .wp-site-blocks input:focus-visible) {
		outline-width: 3px;
	}

	:where(.wp-site-blocks .is-style-card) {
		border-width: 2px;
	}
}

/* Forced colors */
@media (forced-colors: active) {
	:where(.wp-site-blocks a:focus-visible, .wp-site-blocks button:focus-visible) {
		outline: 2px solid CanvasText;
	}
}

/* Suntyp Block — footer system */

.suntyp-footer {
	border-block-start: 1px solid var(--wp--preset--color--border, #e2e8f0);
}

.suntyp-footer__grid {
	display: grid;
	gap: var(--st-gap-lg, clamp(1.25rem, 0.75vw + 0.9rem, 2rem));
}

.suntyp-footer--cols-2 .suntyp-footer__grid {
	grid-template-columns: 1fr;
}

.suntyp-footer--cols-3 .suntyp-footer__grid,
.suntyp-footer--cols-4 .suntyp-footer__grid {
	grid-template-columns: 1fr;
}

@media (min-width: 36rem) {
	.suntyp-footer--cols-2 .suntyp-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.suntyp-footer--cols-3 .suntyp-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 48rem) {
	.suntyp-footer--cols-3 .suntyp-footer__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.suntyp-footer--cols-4 .suntyp-footer__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (min-width: 36rem) and (max-width: 47.99rem) {
	.suntyp-footer--cols-4 .suntyp-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.suntyp-footer__col {
	min-inline-size: 0;
}

.suntyp-footer__col :where(h2, h3, h4) {
	margin-block-end: var(--wp--preset--spacing--30, 0.75rem);
}

:where(.suntyp-footer .wp-block-navigation) {
	gap: var(--wp--preset--spacing--20, 0.25rem);
}

:where(.suntyp-footer .wp-block-navigation a) {
	text-decoration: none;
}

:where(.suntyp-footer .wp-block-navigation a:hover) {
	color: var(--wp--preset--color--primary, #2563eb);
}

.suntyp-footer__cta-inner {
	inline-size: 100%;
}

.suntyp-footer__newsletter {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--30, 0.75rem);
	margin-block-start: var(--wp--preset--spacing--40, 1rem);
}

.suntyp-footer__newsletter input[type="email"] {
	flex: 1 1 12rem;
	min-inline-size: 0;
	padding: 0.625rem 0.875rem;
	border: 1px solid var(--wp--preset--color--border, #e2e8f0);
	border-radius: var(--st-radius, 0.375rem);
	font: inherit;
	background: var(--wp--preset--color--base, #fff);
	color: var(--wp--preset--color--contrast, #0f172a);
}

.suntyp-footer__newsletter-btn {
	padding: 0.625rem 1.125rem;
	border: 0;
	border-radius: var(--st-radius, 0.375rem);
	background: var(--wp--preset--color--primary, #2563eb);
	color: var(--wp--preset--color--base, #fff);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.suntyp-footer__newsletter-btn:hover {
	background: var(--wp--preset--color--accent, #0284c7);
}

.suntyp-footer__bar {
	gap: var(--wp--preset--spacing--40, 1rem);
	padding-block-start: var(--wp--preset--spacing--50, 1.5rem);
	border-block-start: 1px solid var(--wp--preset--color--border, #e2e8f0);
}

.suntyp-footer__bar p {
	margin: 0;
}

.suntyp-footer__top {
	position: fixed;
	inset-inline-end: var(--wp--preset--spacing--50, 1.5rem);
	inset-block-end: var(--wp--preset--spacing--50, 1.5rem);
	z-index: 999;
	display: grid;
	place-items: center;
	inline-size: 2.75rem;
	block-size: 2.75rem;
	padding: 0;
	border: 1px solid var(--wp--preset--color--border, #e2e8f0);
	border-radius: var(--st-radius, 0.375rem);
	background: var(--wp--preset--color--base, #fff);
	color: var(--wp--preset--color--contrast, #0f172a);
	box-shadow: var(--wp--preset--shadow--medium, 0 4px 12px rgba(15, 23, 42, 0.08));
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.suntyp-footer__top[hidden] {
	display: none;
}

.suntyp-footer__top.is-visible {
	display: grid;
}

.suntyp-footer__top:hover {
	color: var(--wp--preset--color--primary, #2563eb);
}

.suntyp-footer__top:focus-visible {
	outline: var(--st-focus, 2px solid #2563eb);
	outline-offset: 2px;
}

:where(.suntyp-footer .gb-element, .suntyp-footer .gb-container) {
	max-inline-size: none;
}

@media (prefers-reduced-motion: reduce) {
	.suntyp-footer__top {
		transition: none;
	}
}
