/* HylaWP frontend foundation — generated for Batch 7.2A. Source modules remain editable individually. */

/* === tokens.css === */
:root {
	/* Layout */
	--hylawp-container-wide: 1280px;
	--hylawp-container-content: 760px;
	--hylawp-container-narrow: 680px;
	--hylawp-gutter: clamp(1rem, 3vw, 2rem);

	/* Type */
	--hylawp-font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--hylawp-font-heading: var(--hylawp-font-sans);
	--hylawp-body-weight: 400;
	--hylawp-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
	--hylawp-text-xs: 0.75rem;
	--hylawp-text-sm: 0.875rem;
	--hylawp-text-base: 1rem;
	--hylawp-text-base-tablet: 1rem;
	--hylawp-text-base-mobile: 1rem;
	--hylawp-text-lg: 1.125rem;
	--hylawp-text-xl: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
	--hylawp-text-2xl: clamp(1.5rem, 1.25rem + 0.9vw, 2rem);
	--hylawp-text-3xl: clamp(2rem, 1.55rem + 1.7vw, 3rem);
	--hylawp-line-height-body: 1.6;
	--hylawp-body-letter-spacing: 0;
	--hylawp-line-height-heading: 1.15;
	--hylawp-heading-letter-spacing: 0;
	--hylawp-nav-weight: 600;
	--hylawp-button-weight: 700;

	/* Color */
	--hylawp-color-text: #18181b;
	--hylawp-color-heading: #111827;
	--hylawp-color-muted: #71717a;
	--hylawp-color-border: #e4e4e7;
	--hylawp-color-surface: #ffffff;
	--hylawp-color-surface-alt: #f8fafc;
	--hylawp-color-primary: #2563eb;
	--hylawp-color-primary-hover: #1d4ed8;
	--hylawp-color-secondary: #111827;
	--hylawp-color-accent: #0f766e;
	--hylawp-color-link: #2563eb;
	--hylawp-color-focus: #2563eb;
	--hylawp-color-success: #15803d;
	--hylawp-color-warning: #a16207;
	--hylawp-color-error: #b91c1c;
	--hylawp-button-text: #ffffff;
	--hylawp-button-hover-text: #ffffff;
	--hylawp-form-bg: #ffffff;
	--hylawp-form-text: #18181b;
	--hylawp-form-border: #d4d4d8;
	--hylawp-form-focus: #2563eb;

	/* Spacing */
	--hylawp-space-1: 0.25rem;
	--hylawp-space-2: 0.5rem;
	--hylawp-space-3: 0.75rem;
	--hylawp-space-4: 1rem;
	--hylawp-space-5: 1.25rem;
	--hylawp-space-6: 1.5rem;
	--hylawp-space-8: 2rem;
	--hylawp-space-10: 2.5rem;
	--hylawp-space-12: 3rem;
	--hylawp-space-16: 4rem;
	--hylawp-space-20: 5rem;
	--hylawp-content-gap: 24px;
	--hylawp-section-spacing: 96px;
	--hylawp-section-spacing-tablet: 72px;
	--hylawp-section-spacing-mobile: 56px;

	/* UI */
	--hylawp-radius-sm: 0.25rem;
	--hylawp-radius-md: 0.5rem;
	--hylawp-radius-lg: 0.75rem;
	--hylawp-button-radius: 0.5rem;
	--hylawp-button-px: 1.25rem;
	--hylawp-button-py: 0.75rem;
	--hylawp-form-radius: 0.5rem;
	--hylawp-control-height: 44px;
	--hylawp-h1: 48px;--hylawp-h2: 40px;--hylawp-h3: 32px;--hylawp-h4: 26px;--hylawp-h5: 21px;--hylawp-h6: 18px;
	--hylawp-h1-tablet: 43px;--hylawp-h2-tablet: 36px;--hylawp-h3-tablet: 29px;--hylawp-h4-tablet: 24px;--hylawp-h5-tablet: 20px;--hylawp-h6-tablet: 18px;
	--hylawp-h1-mobile: 38px;--hylawp-h2-mobile: 32px;--hylawp-h3-mobile: 27px;--hylawp-h4-mobile: 23px;--hylawp-h5-mobile: 20px;--hylawp-h6-mobile: 18px;
	--hylawp-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.06);
	--hylawp-shadow-md: 0 8px 30px rgb(0 0 0 / 0.08);
	--hylawp-shadow-lg: 0 18px 48px rgb(0 0 0 / 0.12);
	--hylawp-transition: 180ms ease;
	--hylawp-header-height: 72px;
}


/* === base.css === */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
}

/* Elementor/Theme Builder documents are intentionally presentation-neutral.
 * HylaWP only supplies these native-theme defaults outside Elementor pages. */
:where(body:not(.elementor-page):not(.hylawp-elementor-document):not(.hylawp-companion-has-template)) {
	color: var(--hylawp-color-text);
	background: var(--hylawp-color-surface);
	font-family: var(--hylawp-font-sans);
	font-size: var(--hylawp-text-base);
	font-weight: var(--hylawp-body-weight);
	line-height: var(--hylawp-line-height-body);
	letter-spacing: var(--hylawp-body-letter-spacing, 0);
}

img,
svg,
video,
canvas {
	max-width: 100%;
	height: auto;
}

iframe {
	max-width: 100%;
}

body:not(.elementor-page):not(.hylawp-elementor-document):not(.hylawp-companion-has-template) a {
	color: var(--hylawp-color-link);
}

body:not(.elementor-page):not(.hylawp-elementor-document):not(.hylawp-companion-has-template) :where(h1,h2,h3,h4,h5,h6) { color: var(--hylawp-color-heading); font-family: var(--hylawp-font-heading); font-weight: var(--hylawp-heading-weight); line-height: var(--hylawp-line-height-heading); letter-spacing: var(--hylawp-heading-letter-spacing, 0); }
body:not(.elementor-page):not(.hylawp-elementor-document):not(.hylawp-companion-has-template) h1{font-size:var(--hylawp-h1)} body:not(.elementor-page):not(.hylawp-elementor-document):not(.hylawp-companion-has-template) h2{font-size:var(--hylawp-h2)} body:not(.elementor-page):not(.hylawp-elementor-document):not(.hylawp-companion-has-template) h3{font-size:var(--hylawp-h3)} body:not(.elementor-page):not(.hylawp-elementor-document):not(.hylawp-companion-has-template) h4{font-size:var(--hylawp-h4)} body:not(.elementor-page):not(.hylawp-elementor-document):not(.hylawp-companion-has-template) h5{font-size:var(--hylawp-h5)} body:not(.elementor-page):not(.hylawp-elementor-document):not(.hylawp-companion-has-template) h6{font-size:var(--hylawp-h6)}

body:not(.elementor-page):not(.hylawp-elementor-document):not(.hylawp-companion-has-template) :where(button,input[type="button"],input[type="submit"],.button,.wp-element-button) {
	border-radius: var(--hylawp-button-radius);
	font-weight: var(--hylawp-button-weight, 700);
}
body:not(.elementor-page):not(.hylawp-elementor-document):not(.hylawp-companion-has-template) :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea) {
	min-height: var(--hylawp-control-height);
	border: 1px solid var(--hylawp-form-border, var(--hylawp-color-border));
	border-radius: var(--hylawp-form-radius);
	background: var(--hylawp-form-bg, var(--hylawp-color-surface));
	color: var(--hylawp-form-text, var(--hylawp-color-text));
}
body:not(.elementor-page):not(.hylawp-elementor-document):not(.hylawp-companion-has-template) :where(input:not([type="checkbox"]):not([type="radio"]):focus,select:focus,textarea:focus) {
	border-color: var(--hylawp-form-focus, var(--hylawp-color-primary));
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--hylawp-form-focus, var(--hylawp-color-primary)) 18%, transparent);
	outline: 0;
}

body:not(.elementor-page):not(.hylawp-elementor-document):not(.hylawp-companion-has-template) :where(button,input,select,textarea) {
	font: inherit;
}

/* When only part of the shell is built with Elementor, keep HylaWP defaults on
 * native theme wrappers instead of allowing body-level presentation to inherit
 * into Companion Theme Builder documents. */
body.hylawp-companion-has-template :where(.site-header:not(.hylawp-companion-location),.site-main:not(.hylawp-companion-main),.site-footer:not(.hylawp-companion-location)) {
	color: var(--hylawp-color-text);
	background: var(--hylawp-color-surface);
	font-family: var(--hylawp-font-sans);
	font-size: var(--hylawp-text-base);
	font-weight: var(--hylawp-body-weight);
	line-height: var(--hylawp-line-height-body);
	letter-spacing: var(--hylawp-body-letter-spacing, 0);
}
body.hylawp-companion-has-template :where(.site-header:not(.hylawp-companion-location),.site-main:not(.hylawp-companion-main),.site-footer:not(.hylawp-companion-location)) a { color: var(--hylawp-color-link); }
body.hylawp-companion-has-template :where(.site-header:not(.hylawp-companion-location),.site-main:not(.hylawp-companion-main),.site-footer:not(.hylawp-companion-location)) :where(h1,h2,h3,h4,h5,h6) { color: var(--hylawp-color-heading); font-family: var(--hylawp-font-heading); font-weight: var(--hylawp-heading-weight); line-height: var(--hylawp-line-height-heading); letter-spacing: var(--hylawp-heading-letter-spacing, 0); }
body.hylawp-companion-has-template :where(.site-header:not(.hylawp-companion-location),.site-main:not(.hylawp-companion-main),.site-footer:not(.hylawp-companion-location)) h1{font-size:var(--hylawp-h1)} body.hylawp-companion-has-template :where(.site-header:not(.hylawp-companion-location),.site-main:not(.hylawp-companion-main),.site-footer:not(.hylawp-companion-location)) h2{font-size:var(--hylawp-h2)} body.hylawp-companion-has-template :where(.site-header:not(.hylawp-companion-location),.site-main:not(.hylawp-companion-main),.site-footer:not(.hylawp-companion-location)) h3{font-size:var(--hylawp-h3)} body.hylawp-companion-has-template :where(.site-header:not(.hylawp-companion-location),.site-main:not(.hylawp-companion-main),.site-footer:not(.hylawp-companion-location)) h4{font-size:var(--hylawp-h4)} body.hylawp-companion-has-template :where(.site-header:not(.hylawp-companion-location),.site-main:not(.hylawp-companion-main),.site-footer:not(.hylawp-companion-location)) h5{font-size:var(--hylawp-h5)} body.hylawp-companion-has-template :where(.site-header:not(.hylawp-companion-location),.site-main:not(.hylawp-companion-main),.site-footer:not(.hylawp-companion-location)) h6{font-size:var(--hylawp-h6)}
body.hylawp-companion-has-template :where(.site-header:not(.hylawp-companion-location),.site-main:not(.hylawp-companion-main),.site-footer:not(.hylawp-companion-location)) :where(button,input[type="button"],input[type="submit"],.button,.wp-element-button) { border-radius: var(--hylawp-button-radius); font-weight: var(--hylawp-button-weight, 700); }
body.hylawp-companion-has-template :where(.site-header:not(.hylawp-companion-location),.site-main:not(.hylawp-companion-main),.site-footer:not(.hylawp-companion-location)) :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea) { min-height: var(--hylawp-control-height); border: 1px solid var(--hylawp-form-border, var(--hylawp-color-border)); border-radius: var(--hylawp-form-radius); background: var(--hylawp-form-bg, var(--hylawp-color-surface)); color: var(--hylawp-form-text, var(--hylawp-color-text)); }
body.hylawp-companion-has-template :where(.site-header:not(.hylawp-companion-location),.site-main:not(.hylawp-companion-main),.site-footer:not(.hylawp-companion-location)) :where(button,input,select,textarea) { font: inherit; }

:focus-visible {
	outline: 3px solid var(--hylawp-color-focus);
	outline-offset: 3px;
}

::selection {
	background: var(--hylawp-color-primary);
	color: #fff;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
	clip: auto !important;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.75rem 1rem;
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 100000;
	background: #fff;
	color: #111;
	border-radius: var(--hylawp-radius-md);
	box-shadow: var(--hylawp-shadow-md);
}


/* === layout.css === */
.site-container {
	width: min(calc(100% - (2 * var(--hylawp-gutter))), var(--hylawp-container-wide));
	margin-inline: auto;
}

.content-area {
	padding-block: var(--hylawp-section-spacing, clamp(2.5rem, 5vw, 5rem));
}

.content-area--narrow {
	max-width: var(--hylawp-container-content);
}

/* Header */
.site-header {
	position: relative;
	z-index: 1000;
	border-bottom: 1px solid var(--hylawp-color-border);
	background: var(--hylawp-color-surface);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: var(--hylawp-space-6);
	min-height: var(--hylawp-header-height);
}

.site-header .site-branding {
	min-width: 0;
	margin-right: auto;
}

.site-header .site-title {
	margin: 0;
	font-size: var(--hylawp-text-xl);
	line-height: var(--hylawp-line-height-heading);
}

.site-header .site-title a,
.site-header .custom-logo-link {
	text-decoration: none;
}

.site-header .custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.site-header .custom-logo {
	display: block;
	max-height: 56px;
	width: auto;
}

.site-header .site-navigation {
	margin-left: auto;
}

.site-header .primary-menu,
.site-header .primary-menu .sub-menu,
.site-footer .footer-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-header .primary-menu {
	display: flex;
	align-items: center;
	gap: var(--hylawp-space-1);
}

.site-header .primary-menu li {
	position: relative;
}

.site-header .primary-menu > li > a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0.65rem 0.8rem;
	border-radius: var(--hylawp-radius-md);
	font-size: var(--hylawp-text-sm);
	font-weight: var(--hylawp-nav-weight, 600);
	text-decoration: none;
	transition: color var(--hylawp-transition), background-color var(--hylawp-transition);
}

.site-header .primary-menu a:hover,
.site-header .primary-menu a:focus-visible,
.site-header .primary-menu .current-menu-item > a,
.site-header .primary-menu .current-menu-ancestor > a {
	color: var(--hylawp-color-primary);
	background: var(--hylawp-color-surface-alt);
}

.site-header .primary-menu .menu-item-has-children > a {
	padding-right: 2.15rem;
}

.site-header .submenu-toggle {
	position: absolute;
	top: 50%;
	right: 0.5rem;
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--hylawp-color-muted);
	cursor: pointer;
	transform: translateY(-50%);
}

.site-header .submenu-toggle:hover,
.site-header .submenu-toggle:focus-visible {
	color: var(--hylawp-color-primary);
	background: var(--hylawp-color-surface-alt);
}

.site-header .submenu-toggle__icon {
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform var(--hylawp-transition);
}

.site-header .submenu-toggle[aria-expanded="true"] .submenu-toggle__icon {
	transform: translateY(2px) rotate(225deg);
}

.site-header .primary-menu .sub-menu {
	position: absolute;
	top: calc(100% + 0.4rem);
	left: 0;
	z-index: 1001;
	min-width: 230px;
	padding: var(--hylawp-space-2);
	border: 1px solid var(--hylawp-color-border);
	border-radius: var(--hylawp-radius-lg);
	background: var(--hylawp-color-surface);
	box-shadow: var(--hylawp-shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity var(--hylawp-transition), transform var(--hylawp-transition), visibility var(--hylawp-transition);
}

.site-header .primary-menu .sub-menu .sub-menu {
	top: calc(-1 * var(--hylawp-space-2));
	left: calc(100% + var(--hylawp-space-2));
}

.site-header .primary-menu .sub-menu a {
	display: block;
	padding: 0.65rem 0.75rem;
	border-radius: var(--hylawp-radius-md);
	font-size: var(--hylawp-text-sm);
	line-height: 1.4;
	text-decoration: none;
}

.site-header .primary-menu li:hover > .sub-menu,
.site-header .primary-menu li:focus-within > .sub-menu,
.site-header .primary-menu li.is-submenu-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.site-header .menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--hylawp-color-border);
	border-radius: var(--hylawp-radius-md);
	background: var(--hylawp-color-surface);
	padding: var(--hylawp-space-2);
	color: inherit;
	cursor: pointer;
}

.site-header .menu-toggle__icon {
	display: grid;
	gap: 4px;
	width: 22px;
}

.site-header .menu-toggle__icon::before,
.site-header .menu-toggle__icon::after,
.site-header .menu-toggle__line {
	content: "";
	display: block;
	width: 100%;
	height: 2px;
	border-radius: 99px;
	background: currentColor;
	transition: transform var(--hylawp-transition), opacity var(--hylawp-transition);
}

.site-header .menu-toggle[aria-expanded="true"] .menu-toggle__line {
	opacity: 0;
}

.site-header .menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
	transform: translateY(6px) rotate(45deg);
}

.site-header .menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
	transform: translateY(-6px) rotate(-45deg);
}

/* Native posts and pages */
.archive-header {
	max-width: var(--hylawp-container-content);
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.archive-eyebrow {
	margin: 0 0 var(--hylawp-space-2);
	color: var(--hylawp-color-primary);
	font-size: var(--hylawp-text-sm);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.archive-title,
.entry-title {
	margin-top: 0;
	line-height: var(--hylawp-line-height-heading);
	text-wrap: balance;
}

.archive-title {
	margin-bottom: var(--hylawp-space-4);
	font-size: var(--hylawp-text-3xl);
}

.archive-description {
	color: var(--hylawp-color-muted);
	font-size: var(--hylawp-text-lg);
}

.archive-description > :last-child {
	margin-bottom: 0;
}

.post-list {
	display: grid;
	gap: var(--hylawp-space-8);
}

.entry--card {
	display: grid;
	grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1.5fr);
	gap: clamp(1.25rem, 3vw, 2.5rem);
	padding-bottom: var(--hylawp-space-8);
	border-bottom: 1px solid var(--hylawp-color-border);
}

.entry-card__thumbnail {
	display: block;
	align-self: start;
	border-radius: var(--hylawp-radius-lg);
	overflow: hidden;
	background: var(--hylawp-color-surface-alt);
}

.entry-card__thumbnail img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.entry-card__body {
	align-self: center;
}

.entry-meta {
	margin-bottom: var(--hylawp-space-2);
	color: var(--hylawp-color-muted);
	font-size: var(--hylawp-text-sm);
}

.entry-meta a {
	color: inherit;
	text-decoration: none;
}

.entry-meta a:hover,
.entry-meta a:focus-visible {
	color: var(--hylawp-color-primary);
}

.entry--card .entry-title {
	margin-bottom: var(--hylawp-space-3);
	font-size: var(--hylawp-text-2xl);
}

.entry-title a {
	text-decoration: none;
}

.entry-summary {
	color: var(--hylawp-color-muted);
}

.entry-summary > :last-child {
	margin-bottom: 0;
}

.entry-more {
	margin: var(--hylawp-space-4) 0 0;
	font-size: var(--hylawp-text-sm);
	font-weight: 700;
}

.entry-more a {
	color: var(--hylawp-color-primary);
	text-decoration: none;
}

.entry-header--single,
.entry-header--page {
	margin-bottom: var(--hylawp-space-8);
}

.entry-header--single .entry-title,
.entry-header--page .entry-title {
	margin-bottom: 0;
	font-size: var(--hylawp-text-3xl);
}

.entry-header--single .entry-meta + .entry-title {
	margin-top: var(--hylawp-space-2);
}

.entry-thumbnail {
	margin: 0 0 var(--hylawp-space-8);
}

.entry-thumbnail img {
	display: block;
	width: 100%;
	border-radius: var(--hylawp-radius-lg);
}

.entry-content {
	min-width: 0;
}

.entry--single .entry-content > :first-child,
.entry--page:not(.entry--builder) .entry-content > :first-child {
	margin-top: 0;
}

.entry--single .entry-content > :last-child,
.entry--page:not(.entry--builder) .entry-content > :last-child {
	margin-bottom: 0;
}

.entry--single .entry-content :where(h2, h3, h4, h5, h6),
.entry--page:not(.entry--builder) .entry-content :where(h2, h3, h4, h5, h6) {
	margin-top: 1.7em;
	line-height: var(--hylawp-line-height-heading);
}

.entry--single .entry-content :where(p, ul, ol, blockquote, table, pre, figure),
.entry--page:not(.entry--builder) .entry-content :where(p, ul, ol, blockquote, table, pre, figure) {
	margin-block: 1.15em;
}

.entry--single .entry-content > .alignwide,
.entry--page:not(.entry--builder) .entry-content > .alignwide {
	width: min(calc(100vw - (2 * var(--hylawp-gutter))), var(--hylawp-container-wide));
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry--single .entry-content > .alignfull,
.entry--page:not(.entry--builder) .entry-content > .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-footer {
	margin-top: var(--hylawp-space-10);
	padding-top: var(--hylawp-space-6);
	border-top: 1px solid var(--hylawp-color-border);
}

.entry-taxonomy {
	display: grid;
	gap: var(--hylawp-space-2);
	color: var(--hylawp-color-muted);
	font-size: var(--hylawp-text-sm);
}

.entry-taxonomy__label {
	margin-right: var(--hylawp-space-2);
	color: var(--hylawp-color-text);
	font-weight: 700;
}

.entry-taxonomy a {
	color: var(--hylawp-color-primary);
}

/* Pagination and post navigation */
.navigation.pagination,
.post-navigation {
	margin-top: var(--hylawp-space-10);
}

.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--hylawp-space-2);
}

.navigation.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	min-height: 42px;
	padding: 0.45rem 0.75rem;
	border: 1px solid var(--hylawp-color-border);
	border-radius: var(--hylawp-radius-md);
	text-decoration: none;
}

.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover,
.navigation.pagination .page-numbers:focus-visible {
	border-color: var(--hylawp-color-primary);
	color: var(--hylawp-color-primary);
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--hylawp-space-4);
}

.post-navigation a {
	display: block;
	padding: var(--hylawp-space-5);
	border: 1px solid var(--hylawp-color-border);
	border-radius: var(--hylawp-radius-lg);
	text-decoration: none;
}

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

.post-navigation .nav-subtitle {
	display: block;
	margin-bottom: var(--hylawp-space-1);
	color: var(--hylawp-color-muted);
	font-size: var(--hylawp-text-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.post-navigation .nav-title {
	font-weight: 700;
}

/* Search and system states */
.search-form {
	display: flex;
	gap: var(--hylawp-space-2);
	width: min(100%, 620px);
}

.search-form__label {
	flex: 1;
}

.search-form__field {
	width: 100%;
	min-height: 46px;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--hylawp-color-border);
	border-radius: var(--hylawp-radius-md);
	background: var(--hylawp-color-surface);
	color: var(--hylawp-color-text);
}

.search-form__field:focus {
	border-color: var(--hylawp-color-primary);
}

.search-form__submit,
.hylawp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0.7rem 1rem;
	border: 1px solid var(--hylawp-color-primary);
	border-radius: var(--hylawp-radius-md);
	background: var(--hylawp-color-primary);
	color: #fff;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--hylawp-transition), border-color var(--hylawp-transition);
}

.search-form__submit:hover,
.search-form__submit:focus-visible,
.hylawp-button:hover,
.hylawp-button:focus-visible {
	border-color: var(--hylawp-color-primary-hover);
	background: var(--hylawp-color-primary-hover);
	color: #fff;
}

.no-results {
	max-width: var(--hylawp-container-content);
	padding: var(--hylawp-space-8);
	border: 1px solid var(--hylawp-color-border);
	border-radius: var(--hylawp-radius-lg);
	background: var(--hylawp-color-surface-alt);
}

.no-results__title {
	margin-top: 0;
}

.error-404 {
	text-align: center;
}

.error-404__code {
	margin: 0;
	color: var(--hylawp-color-primary);
	font-size: clamp(4rem, 16vw, 8rem);
	font-weight: 800;
	line-height: 0.9;
	letter-spacing: -0.06em;
}

.error-404__title {
	margin: var(--hylawp-space-5) 0 var(--hylawp-space-3);
	font-size: var(--hylawp-text-3xl);
}

.error-404__description {
	max-width: 580px;
	margin: 0 auto var(--hylawp-space-6);
	color: var(--hylawp-color-muted);
}

.error-404 .search-form {
	margin-inline: auto;
}

.error-404__home {
	margin-top: var(--hylawp-space-5);
}

/* Comments */
.comments-area {
	margin-top: var(--hylawp-space-12);
	padding-top: var(--hylawp-space-8);
	border-top: 1px solid var(--hylawp-color-border);
}

.comments-title,
.comment-reply-title {
	font-size: var(--hylawp-text-2xl);
}

.comment-list {
	margin: var(--hylawp-space-6) 0;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	margin-left: var(--hylawp-space-6);
	list-style: none;
}

.comment-body {
	margin-bottom: var(--hylawp-space-4);
	padding: var(--hylawp-space-5);
	border: 1px solid var(--hylawp-color-border);
	border-radius: var(--hylawp-radius-lg);
}

.comment-meta {
	font-size: var(--hylawp-text-sm);
}

.comment-author img {
	border-radius: 999px;
	vertical-align: middle;
}

.comment-form :where(input[type="text"], input[type="email"], input[type="url"], textarea) {
	width: 100%;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--hylawp-color-border);
	border-radius: var(--hylawp-radius-md);
}

.comment-form input[type="submit"] {
	min-height: 46px;
	padding: 0.7rem 1rem;
	border: 1px solid var(--hylawp-color-primary);
	border-radius: var(--hylawp-radius-md);
	background: var(--hylawp-color-primary);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

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

.site-footer__widgets {
	padding-block: var(--hylawp-space-10);
	background: var(--hylawp-color-surface-alt);
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.5rem, 4vw, 3rem);
}

.footer-widget__title {
	margin-top: 0;
	font-size: var(--hylawp-text-lg);
}

.footer-widget :where(ul, ol) {
	padding-left: 1.15rem;
}

.site-footer__bottom {
	background: var(--hylawp-color-surface);
}

.site-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--hylawp-space-6);
	min-height: 76px;
}

.site-footer__copyright {
	margin: 0;
	color: var(--hylawp-color-muted);
	font-size: var(--hylawp-text-sm);
}

.site-footer .footer-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--hylawp-space-5);
}

.site-footer .footer-menu a {
	font-size: var(--hylawp-text-sm);
	text-decoration: none;
}

.site-footer .footer-menu a:hover,
.site-footer .footer-menu a:focus-visible,
.site-footer .footer-menu .current-menu-item > a {
	color: var(--hylawp-color-primary);
}

/* Elementor / builder pages keep ownership of page spacing. */
.hylawp-builder-page,
.entry--builder,
.entry--builder .entry-content,
.site-main--full-width,
.entry--full-width,
.entry--full-width .entry-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

@media (max-width: 900px) {
	body.hylawp-menu-open {
		overflow: hidden;
	}

	.hylawp-js .site-header .menu-toggle {
		display: inline-flex;
	}

	.site-header__inner {
		min-height: 68px;
	}

	.site-header .site-navigation {
		width: 100%;
		margin-left: 0;
	}

	html:not(.hylawp-js) .site-header__inner {
		flex-wrap: wrap;
		padding-block: var(--hylawp-space-3);
	}

	html:not(.hylawp-js) .site-header .site-navigation {
		flex-basis: 100%;
	}

	.hylawp-js .site-header .site-navigation {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		z-index: 999;
		max-height: calc(100vh - 68px);
		overflow-y: auto;
		background: var(--hylawp-color-surface);
		border-bottom: 1px solid var(--hylawp-color-border);
		padding: var(--hylawp-space-3) var(--hylawp-gutter) var(--hylawp-space-5);
		box-shadow: var(--hylawp-shadow-md);
	}

	.hylawp-js .site-header .site-navigation.is-open {
		display: block;
	}

	.site-header .primary-menu {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
	}

	.site-header .primary-menu > li > a,
	.site-header .primary-menu .sub-menu a {
		min-height: 46px;
		padding: 0.75rem 2.8rem 0.75rem 0.4rem;
		border-radius: 0;
		font-size: var(--hylawp-text-base);
	}

	.site-header .submenu-toggle {
		top: 23px;
		right: 0.25rem;
		width: 38px;
		height: 38px;
	}

	.site-header .primary-menu .sub-menu,
	.site-header .primary-menu .sub-menu .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 0 0 var(--hylawp-space-4);
		border: 0;
		border-left: 1px solid var(--hylawp-color-border);
		border-radius: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: none;
	}

	.hylawp-js .site-header .primary-menu .sub-menu {
		display: none;
	}

	.hylawp-js .site-header .primary-menu li.is-submenu-open > .sub-menu {
		display: block;
	}

	.entry--card {
		grid-template-columns: 1fr;
	}

	.entry-card__thumbnail {
		max-width: 620px;
	}

	.footer-widgets {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.content-area {
		padding-block: 2.5rem;
	}

	.entry--card {
		gap: var(--hylawp-space-5);
	}

	.post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

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

	.search-form {
		flex-direction: column;
	}

	.search-form__submit {
		width: 100%;
	}

	.site-footer__inner {
		align-items: flex-start;
		flex-direction: column;
		padding-block: var(--hylawp-space-6);
	}

	.site-footer .footer-menu {
		gap: var(--hylawp-space-3) var(--hylawp-space-5);
	}
}

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

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* Phase 5 native header/footer builders. */
.site-header__mobile,
.site-navigation--mobile {
	display: none;
}

.site-header__row {
	border-bottom: 1px solid var(--hylawp-color-border);
}

.site-header__row:last-child {
	border-bottom: 0;
}

.site-header__row--top,
.site-header__row--bottom {
	background: var(--hylawp-color-surface-alt);
}

.site-header__row-inner,
.site-header__mobile-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: var(--hylawp-space-4);
}

.site-header__row--main .site-header__row-inner {
	min-height: var(--hylawp-header-height);
}

.site-header__row--top .site-header__row-inner,
.site-header__row--bottom .site-header__row-inner {
	min-height: 42px;
}

.site-header__slot {
	display: flex;
	align-items: center;
	min-width: 0;
	gap: var(--hylawp-space-3);
}

.site-header__slot--center {
	justify-content: center;
}

.site-header__slot--right {
	justify-content: flex-end;
}

.site-header__slot .site-navigation {
	margin-left: 0;
}

.hylawp-header-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0.65rem 1rem;
	border-radius: var(--hylawp-radius-md);
	background: var(--hylawp-color-primary);
	color: #fff;
	font-size: var(--hylawp-text-sm);
	font-weight: 700;
	text-decoration: none;
	transition: background-color var(--hylawp-transition);
}

.hylawp-header-button:hover,
.hylawp-header-button:focus-visible {
	background: var(--hylawp-color-primary-hover);
	color: #fff;
}

.hylawp-header-search {
	display: flex;
	align-items: center;
	width: min(230px, 100%);
	border: 1px solid var(--hylawp-color-border);
	border-radius: var(--hylawp-radius-md);
	background: var(--hylawp-color-surface);
	overflow: hidden;
}

.hylawp-header-search label {
	min-width: 0;
	flex: 1;
}

.hylawp-header-search__field {
	width: 100%;
	min-height: 40px;
	padding: 0.5rem 0.7rem;
	border: 0;
	outline: 0;
	background: transparent;
	color: inherit;
}

.hylawp-header-search__submit {
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--hylawp-color-muted);
	font-size: 1.35rem;
	cursor: pointer;
}

.hylawp-header-cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	border: 1px solid var(--hylawp-color-border);
	border-radius: var(--hylawp-radius-md);
	text-decoration: none;
}

.hylawp-header-cart__count {
	position: absolute;
	top: -6px;
	right: -6px;
	display: grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding-inline: 5px;
	border-radius: 999px;
	background: var(--hylawp-color-primary);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}

.site-footer__builder-top {
	padding-block: var(--hylawp-space-10);
	background: var(--hylawp-color-surface-alt);
}

.site-footer__builder-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.5rem, 4vw, 3rem);
}

.site-footer__slot {
	min-width: 0;
}

.site-footer__slot--right {
	text-align: right;
}

.site-footer__slot--right .footer-menu {
	justify-content: flex-end;
}

.site-branding--footer .custom-logo {
	max-height: 56px;
	width: auto;
}

.site-footer__text,
.site-footer__html,
.hylawp-header-html {
	font-size: var(--hylawp-text-sm);
}

body:not(.elementor-page) :where(.entry-content, .archive-header, .entry-header) :where(h1,h2,h3,h4,h5,h6) {
	font-weight: var(--hylawp-heading-weight, 700);
}

@media (max-width: 900px) {
	.site-header__desktop {
		display: none;
	}

	.site-header__mobile {
		display: block;
	}

	.site-header__mobile-inner {
		min-height: var(--hylawp-mobile-header-height, 68px);
	}

	.site-header__mobile .site-header__slot--left {
		justify-content: flex-start;
	}

	.site-header__mobile .site-header__slot--right {
		justify-content: flex-end;
	}

	.site-header__mobile .menu-toggle {
		display: inline-flex;
	}

	.site-navigation--mobile {
		display: none;
	}

	.hylawp-js .site-header .site-navigation--mobile.is-open {
		display: block;
	}

	.site-footer__builder-grid {
		grid-template-columns: 1fr;
	}

	.site-footer__slot--right,
	.site-footer__slot--right .footer-menu {
		justify-content: flex-start;
		text-align: left;
	}
}


/* Batch 5 — native frontend regression hardening. */
.entry-content,
.entry-summary,
.comment-content {
	min-width: 0;
	overflow-wrap: anywhere;
}

.entry-content :where(iframe, embed, object) {
	max-width: 100%;
}

.entry-content :where(pre, code, kbd, samp) {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.entry-content pre {
	max-width: 100%;
	overflow-x: auto;
	padding: var(--hylawp-space-4);
	border: 1px solid var(--hylawp-color-border);
	border-radius: var(--hylawp-radius-md);
	background: var(--hylawp-color-surface-alt);
	-webkit-overflow-scrolling: touch;
}

.entry-content :where(table, .wp-block-table table) {
	width: 100%;
	border-collapse: collapse;
}

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

.entry-content :where(th, td) {
	padding: .7rem .8rem;
	border: 1px solid var(--hylawp-color-border);
	text-align: start;
	vertical-align: top;
}

.entry-content blockquote {
	margin-inline: 0;
	padding: var(--hylawp-space-4) var(--hylawp-space-5);
	border-inline-start: 4px solid var(--hylawp-color-primary);
	border-radius: 0 var(--hylawp-radius-md) var(--hylawp-radius-md) 0;
	background: var(--hylawp-color-surface-alt);
}

.entry-content :where(.wp-block-button__link, .wp-element-button) {
	padding: var(--hylawp-button-py) var(--hylawp-button-px);
	border-radius: var(--hylawp-button-radius);
	background: var(--hylawp-color-primary);
	color: var(--hylawp-button-text);
	text-decoration: none;
}

.entry-content :where(.wp-block-button__link, .wp-element-button):hover,
.entry-content :where(.wp-block-button__link, .wp-element-button):focus-visible {
	background: var(--hylawp-color-primary-hover);
	color: var(--hylawp-button-hover-text);
}

.entry-content :where(.wp-block-image, .wp-block-gallery, .wp-block-video, .wp-block-embed) {
	max-width: 100%;
}

.entry-content :where(figcaption, .wp-caption-text) {
	color: var(--hylawp-color-muted);
	font-size: var(--hylawp-text-sm);
}

.post-password-form {
	max-width: 620px;
	padding: var(--hylawp-space-6);
	border: 1px solid var(--hylawp-color-border);
	border-radius: var(--hylawp-radius-lg);
	background: var(--hylawp-color-surface-alt);
}

.post-password-form p:last-child {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	gap: var(--hylawp-space-2);
}

.post-password-form input[type="password"] {
	min-width: min(100%, 260px);
	padding-inline: .8rem;
}

.post-password-form input[type="submit"] {
	min-height: var(--hylawp-control-height);
	padding: var(--hylawp-button-py) var(--hylawp-button-px);
	border: 1px solid var(--hylawp-color-primary);
	border-radius: var(--hylawp-button-radius);
	background: var(--hylawp-color-primary);
	color: var(--hylawp-button-text);
	cursor: pointer;
}

@media (max-width: 600px) {
	.entry-content > :where(.alignwide, .alignfull) {
		max-width: 100vw;
	}

	.post-password-form p:last-child {
		display: grid;
		grid-template-columns: 1fr;
	}
}


/* === elementor.css === */
/*
 * Elementor compatibility layer.
 *
 * Keep selectors deliberately low-specificity. Elementor owns component and
 * section styling; HylaWP only removes theme-level layout interference.
 */

:where(body.hylawp-elementor-document:not(.hylawp-companion-has-template)) .site-main,
:where(body.elementor-page:not(.hylawp-companion-has-template)) .site-main {
	min-width: 0;
}

:where(body.hylawp-elementor-document:not(.hylawp-companion-has-template)) .entry-content,
:where(body.elementor-page:not(.hylawp-companion-has-template)) .entry-content {
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
}

body:not(.hylawp-companion-has-template) :where(.elementor) img,
body:not(.hylawp-companion-has-template) :where(.elementor) svg,
body:not(.hylawp-companion-has-template) :where(.elementor) video {
	height: auto;
}

/* Never impose theme typography on Elementor widgets beyond inherited body defaults. */
body:not(.hylawp-companion-has-template) :where(.elementor) h1,
body:not(.hylawp-companion-has-template) :where(.elementor) h2,
body:not(.hylawp-companion-has-template) :where(.elementor) h3,
body:not(.hylawp-companion-has-template) :where(.elementor) h4,
body:not(.hylawp-companion-has-template) :where(.elementor) h5,
body:not(.hylawp-companion-has-template) :where(.elementor) h6,
body:not(.hylawp-companion-has-template) :where(.elementor) p {
	font-family: inherit;
}


/* Batch 5 — Elementor regression boundary. HylaWP owns the document shell,
 * Elementor owns widget presentation. */
:where(body.elementor-page:not(.hylawp-companion-has-template), body.hylawp-elementor-document:not(.hylawp-companion-has-template)) :where(.elementor, .elementor-element, .e-con, .e-con-inner) {
	min-width: 0;
}

:where(body.elementor-page:not(.hylawp-companion-has-template), body.hylawp-elementor-document:not(.hylawp-companion-has-template)) .elementor :where(iframe, video, img, svg) {
	max-width: 100%;
}

:where(body.elementor-page:not(.hylawp-companion-has-template), body.hylawp-elementor-document:not(.hylawp-companion-has-template)) .elementor .elementor-widget-container {
	min-width: 0;
}

