/*
Theme Name: Lianetics
Theme URI: https://lianetics.com/
Author: Lianetics LLC
Description: Dark industrial block theme for Lianetics LLC — slip rings, turntables and liquid-cooling hardware. Brand colors come from the logo (blue → teal → green on a teal-black ink).
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.0.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lianetics
*/

/* ---------- Tokens not expressible in theme.json ---------- */
:root {
	--lx-ink: var(--wp--preset--color--ink, #0D2227);
	--lx-ink-2: var(--wp--preset--color--ink-2, #13303A);
	--lx-blue: var(--wp--preset--color--brand-blue, #0070C2);
	--lx-green: var(--wp--preset--color--brand-green, #30B83B);
	--lx-steel: var(--wp--preset--color--steel, #F3F5F8);
	--lx-line: var(--wp--preset--color--line, #DDE2EA);
	--lx-muted: var(--wp--preset--color--muted, #4A5568);
	--lx-mist: var(--wp--preset--color--mist, #C9D2E0);
	--lx-dim: #A9B4C6;
	--lx-rule-dark: rgba(255, 255, 255, 0.16);
	--lx-gradient: linear-gradient(90deg, #0070C2, #30B83B);
	--lx-mono: var(--wp--preset--font-family--plex-mono);
	--lx-display: var(--wp--preset--font-family--archivo);
}

body { -webkit-font-smoothing: antialiased; }

/* ---------- Section shells ---------- */
.lx-section { padding-top: 112px; padding-bottom: 112px; }
.lx-section.lx-tight { padding-top: 32px; padding-bottom: 32px; }
.lx-dark { background: var(--lx-ink); color: #fff; }
.lx-steel { background: var(--lx-steel); }
.lx-blue { background: var(--lx-blue); color: #fff; }
.lx-dark a:not(.wp-block-button__link),
.lx-blue a:not(.wp-block-button__link) { color: #fff; }
.lx-dark .lx-lead, .lx-dark .lx-muted { color: var(--lx-mist); }
.lx-blue .lx-lead { color: #fff; }

.lx-lead { font-size: var(--wp--preset--font-size--large); line-height: 1.6; color: var(--lx-muted); }
.lx-muted { color: var(--lx-muted); }
.lx-head { margin-bottom: 56px !important; align-items: flex-end !important; }
.lx-head .wp-block-heading { margin-top: 20px; }
.lx-head p:last-child { margin-bottom: 0; }

/* ---------- Labels ---------- */
.is-style-lx-eyebrow {
	display: flex; align-items: center; gap: 14px;
	font-family: var(--lx-mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--lx-blue); margin: 0;
}
.is-style-lx-eyebrow::before { content: ""; flex: none; width: 40px; height: 3px; background: var(--lx-gradient); }
.lx-dark .is-style-lx-eyebrow, .lx-hero .is-style-lx-eyebrow { color: var(--lx-green); }
.is-style-lx-mono {
	font-family: var(--lx-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--lx-muted); margin: 0;
}
.lx-dark .is-style-lx-mono, .lx-hero .is-style-lx-mono, .lx-photo-card .is-style-lx-mono { color: var(--lx-dim); }

/* ---------- Buttons ---------- */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; color: inherit; border: 1.5px solid currentColor;
	padding: 14px 25px;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: rgba(255, 255, 255, 0.08); }
.lx-steel .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-group:not(.lx-dark):not(.lx-blue) > .wp-block-buttons .is-style-outline > .wp-block-button__link:hover { background: rgba(13, 34, 39, 0.05); }
.wp-block-button__link:focus-visible { outline: 2px solid var(--lx-blue); outline-offset: 2px; }

/* ---------- Header ---------- */
.lx-header { background: var(--lx-ink); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.lx-header__bar { min-height: 76px; gap: 12px 40px; }
.lx-brand { margin: 0; font-family: var(--lx-display); font-weight: 800; font-size: 23px; letter-spacing: 0.03em; line-height: 1; }
.lx-brand a { display: inline-flex; align-items: center; gap: 10px; color: #fff !important; text-decoration: none !important; }
.lx-brand a::before {
	content: ""; width: 40px; height: 31px; flex: none;
	background: url(assets/images/lianetics-mark.png) center / contain no-repeat;
}
.lx-header .wp-block-navigation { color: #fff; }
.lx-header .wp-block-navigation a:hover { text-decoration: none; opacity: 0.85; }
.lx-header .wp-block-navigation .wp-block-navigation-item { padding: 12px 0; }
.lx-header .wp-block-navigation__container { gap: 4px 40px; }
.lx-header .wp-block-navigation .wp-block-navigation__submenu-container {
	background: var(--lx-ink-2) !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: 6px; padding: 8px 0; min-width: 240px !important;
}
.lx-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item { padding: 0; }
.lx-header .wp-block-navigation .wp-block-navigation__submenu-container a { padding: 10px 20px; }
.lx-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--lx-ink) !important; color: #fff !important; }
.lx-header .wp-block-button__link { padding: 12px 20px; font-size: 15px; }

/* ---------- Hero (cover) ---------- */
.lx-hero { min-height: 760px; align-items: stretch; padding-top: 0; padding-bottom: 0; }
.lx-hero .wp-block-cover__background {
	opacity: 1 !important;
	background: linear-gradient(90deg, rgba(13,34,39,0.96) 0%, rgba(13,34,39,0.84) 40%, rgba(13,34,39,0.28) 76%, rgba(13,34,39,0.12) 100%) !important;
}
.lx-hero .wp-block-cover__image-background { object-position: 70% 50%; }
.lx-hero > .wp-block-cover__inner-container { display: flex; flex-direction: column; justify-content: center; padding-top: 120px; padding-bottom: 104px; }
.lx-hero__copy { max-width: 760px; }
.lx-hero h1 { margin-top: 28px; color: #fff; }
.lx-hero .lx-lead { color: var(--lx-mist); max-width: 580px; }
.lx-hero .wp-block-buttons { margin-top: 40px; }
.lx-hero .is-style-outline > .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, 0.5); }

/* ---------- Stat band ---------- */
.lx-stats { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.lx-stats .wp-block-columns { gap: 0; margin: 0; }
.lx-stats .wp-block-column { padding: 28px 28px 28px 0; border-right: 1px solid rgba(255, 255, 255, 0.12); }
.lx-stats .wp-block-column + .wp-block-column { padding-left: 28px; }
.lx-stats .wp-block-column:last-child { border-right: 0; }
.lx-stat-value { font-family: var(--lx-display); font-weight: 700; font-size: 36px; line-height: 1.1; margin: 0 0 6px; }
.lx-stat-value + .is-style-lx-mono { font-size: 12px; letter-spacing: 0.06em; }

/* ---------- Industry strip ---------- */
.lx-strip { gap: 12px 44px !important; }
.lx-strip p { margin: 0; font-family: var(--lx-display); font-weight: 600; font-size: 18px; }
.lx-strip .is-style-lx-mono { font-weight: 400; font-size: 12px; margin-right: 8px; }

/* ---------- Cards ---------- */
.is-style-lx-card {
	background: #fff; color: var(--lx-ink); border: 1px solid var(--lx-line); border-radius: 6px; overflow: hidden;
	display: flex; flex-direction: column; height: 100%;
}
.is-style-lx-card > .wp-block-image { margin: 0; background: var(--lx-steel); }
.is-style-lx-card > .wp-block-image img { width: 100%; height: 340px; object-fit: cover; display: block; }
.is-style-lx-card.lx-contain > .wp-block-image img { object-fit: contain; background: #fff; }
.lx-card__body { padding: 32px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.lx-card__body > * { margin: 0 !important; }
.lx-card__body h3 { font-size: 30px; }
.lx-card__body .lx-more { margin-top: auto !important; font-weight: 600; }
.lx-dark .is-style-lx-card { background: var(--lx-ink-2); color: #fff; border-color: transparent; }

.lx-tile { border: 1px solid var(--lx-rule-dark); border-radius: 6px; padding: 24px 28px; height: 100%; }
.lx-tile > * { margin: 0; }
.lx-tile p { margin-top: 8px; color: var(--lx-dim); font-size: 15px; }
.lx-tile h4 { color: #fff; }

/* ---------- Chips / ruled lists ---------- */
.is-style-lx-chips { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.is-style-lx-chips li { font-size: 13px; padding: 6px 12px; border-radius: 3px; background: var(--lx-steel); color: var(--lx-ink); }
.is-style-lx-rules { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--lx-line); }
.is-style-lx-rules li { padding: 16px 0; border-bottom: 1px solid var(--lx-line); }
.lx-dark .is-style-lx-rules, .lx-dark .is-style-lx-rules li,
.lx-photo-bg .is-style-lx-rules, .lx-photo-bg .is-style-lx-rules li { border-color: rgba(255, 255, 255, 0.2); }
.lx-photo-bg .is-style-lx-rules strong { display: block; font-family: var(--lx-display); font-size: 21px; color: #fff; }
.lx-photo-bg .is-style-lx-rules li { color: var(--lx-dim); font-size: 15px; }

/* ---------- Tables ---------- */
.wp-block-table.is-style-lx-datasheet, .wp-block-table.is-style-lx-specs { overflow-x: auto; margin: 0; }
.is-style-lx-datasheet table { width: 100%; min-width: 900px; border-collapse: collapse; border-top: 1px solid var(--lx-rule-dark); }
.is-style-lx-datasheet th, .is-style-lx-datasheet td { border: 0; border-bottom: 1px solid var(--lx-rule-dark); padding: 24px 24px 24px 0; text-align: left; vertical-align: middle; }
.is-style-lx-datasheet thead { border: 0; }
.is-style-lx-datasheet th { font-family: var(--lx-mono); font-size: 12px; letter-spacing: 0.1em; font-weight: 400; color: var(--lx-dim); padding-top: 16px; padding-bottom: 16px; }
.is-style-lx-datasheet td { font-size: 16px; color: #E4E9F0; }
.is-style-lx-datasheet td:first-child { font-family: var(--lx-mono); font-size: 14px; color: var(--lx-green); }
.is-style-lx-datasheet td:first-child a { color: var(--lx-green) !important; }
.is-style-lx-datasheet td:nth-child(2) { font-family: var(--lx-display); font-weight: 700; font-size: 22px; color: #fff; }
.is-style-lx-datasheet td:last-child { color: var(--lx-dim); font-size: 15px; }

.is-style-lx-specs table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--lx-line); }
.is-style-lx-specs td { border: 0; border-bottom: 1px solid var(--lx-line); padding: 14px 16px 14px 0; vertical-align: top; }
.is-style-lx-specs td:first-child { font-family: var(--lx-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lx-muted); width: 42%; padding-top: 18px; }
.is-style-lx-specs td:last-child { font-family: var(--lx-display); font-weight: 600; font-size: 19px; }
.is-style-lx-specs td a { color: inherit; }
.lx-dark .is-style-lx-specs table, .lx-dark .is-style-lx-specs td { border-color: rgba(255, 255, 255, 0.2); }
.lx-dark .is-style-lx-specs td:first-child { color: var(--lx-dim); }

/* ---------- Image panels ---------- */
.lx-panel { background: var(--lx-steel); border-radius: 6px; padding: 32px; display: flex; align-items: center; justify-content: center; }
.lx-panel .wp-block-image { margin: 0; }
.lx-panel img { max-height: 560px; width: auto; object-fit: contain; }
.lx-rounded img, .lx-rounded { border-radius: 6px; overflow: hidden; }
.lx-rounded img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lx-img-row { gap: 20px !important; margin-top: 20px; }

/* ---------- Photo cards (cover) ---------- */
.lx-photo-card { min-height: 460px; border-radius: 6px; overflow: hidden; align-items: flex-end; padding: 0; }
.lx-photo-card .wp-block-cover__background {
	opacity: 1 !important;
	background: linear-gradient(0deg, rgba(13,34,39,0.95) 0%, rgba(13,34,39,0.6) 45%, rgba(13,34,39,0) 75%) !important;
}
.lx-photo-card > .wp-block-cover__inner-container { padding: 28px; }
.lx-photo-card h3 { margin: 0 0 8px; color: #fff; }
.lx-photo-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--lx-mist); }

/* ---------- Full-bleed photo section ---------- */
.lx-photo-bg { padding-top: 120px; padding-bottom: 120px; }
.lx-photo-bg .wp-block-cover__background { opacity: 1 !important; background: rgba(13, 34, 39, 0.86) !important; }
.lx-photo-bg h2 { color: #fff; }

/* ---------- Process steps ---------- */
.lx-step { border-top: 3px solid var(--lx-ink); padding-top: 24px; }
.lx-step > * { margin: 0; }
.lx-step-num { font-family: var(--lx-display); font-weight: 800; font-size: 48px; line-height: 1; color: var(--lx-line); }
.lx-step h4 { margin-top: 18px; font-size: 22px; }
.lx-step p:last-child { margin-top: 10px; color: var(--lx-muted); }

/* ---------- Mini stat cards ---------- */
.lx-mini { background: #fff; border-radius: 6px; padding: 22px 24px; height: 100%; }
.lx-mini > * { margin: 0; }
.lx-mini .lx-stat-value { font-size: 28px; }

/* ---------- Footer ---------- */
.lx-footer { background: var(--lx-ink); color: var(--lx-mist); padding-top: 80px; padding-bottom: 40px; font-size: 15px; }
.lx-footer a { color: #fff; }
.lx-footer .lx-brand { margin-bottom: 20px; }
.lx-footer .is-style-lx-mono { color: var(--lx-dim); margin-bottom: 12px; }
.lx-footer .wp-block-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lx-footer__legal { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 13px; color: var(--lx-dim); }
.lx-footer__legal p { margin: 0; }

/* ---------- Homepage helpers ---------- */
.lx-strip-wrap { border-bottom: 1px solid var(--lx-line); }
.is-style-lx-datasheet th { text-transform: uppercase; }
.lx-narrow { max-width: 760px; }
/* WordPress centres narrower children of constrained layouts; keep narrow headings flush with the content's left edge. */
.is-layout-constrained > .lx-narrow {
	margin-left: max(0px, calc((100% - var(--wp--style--global--content-size, 1216px)) / 2)) !important;
	margin-right: auto !important;
}
.lx-steps { margin-top: 56px !important; gap: 24px; }
.lx-photo-bg .wp-block-columns { gap: 48px 72px; }
.lx-photo-bg .wp-block-buttons { margin-top: 36px; }
.lx-dark .lx-head .wp-block-buttons { margin-top: 0; }

/* ---------- Inner pages ---------- */
.lx-page-hero { padding-top: 72px; padding-bottom: 88px; }
.lx-crumbs { font-family: var(--lx-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lx-dim); margin: 0; }
.lx-crumbs a { color: var(--lx-dim) !important; }
.lx-page-hero h1 { margin-top: 28px; font-size: clamp(46px, 5.6vw, 80px); color: #fff; }
.lx-page-hero .lx-lead { max-width: 580px; }
.lx-dark .is-style-lx-chips { margin-top: 36px; }
.lx-dark .is-style-lx-chips li { background: transparent; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; padding: 10px 16px; font-size: 14px; color: #fff; }
.lx-dark .is-style-lx-chips li a { color: #fff; text-decoration: none; }
.lx-big-num { font-family: var(--lx-display); font-weight: 800; font-size: 64px; line-height: 1; color: var(--lx-line); margin: 0; }
.lx-statement { font-family: var(--lx-display); font-weight: 700; font-size: clamp(26px, 3vw, 40px); line-height: 1.2; letter-spacing: -0.015em; }
.lx-steel .lx-panel, .lx-panel.lx-white { background: #fff; }

/* Product cards: contained product shots on white */
.is-style-lx-card.lx-contain > .wp-block-image { background: #fff; }
.is-style-lx-card.lx-contain > .wp-block-image img { height: 280px; padding: 20px; box-sizing: border-box; }
.lx-dark .is-style-lx-card .lx-muted, .lx-dark .is-style-lx-card p { color: var(--lx-mist); }
.lx-dark .is-style-lx-card .is-style-lx-mono { color: var(--lx-green); }
.lx-dark .is-style-lx-card h3 { color: #fff; }

/* Comparison tables */
.wp-block-table.is-style-lx-compare { overflow-x: auto; margin: 0; }
.is-style-lx-compare table { width: 100%; min-width: 860px; border-collapse: collapse; border-top: 2px solid var(--lx-ink); }
.is-style-lx-compare thead { border: 0; }
.is-style-lx-compare th, .is-style-lx-compare td { border: 0; border-bottom: 1px solid var(--lx-line); padding: 18px 16px 18px 0; text-align: left; vertical-align: top; }
.is-style-lx-compare th { font-family: var(--lx-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 400; color: var(--lx-muted); }
.is-style-lx-compare td { font-weight: 600; }
.is-style-lx-compare td:first-child { font-family: var(--lx-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 400; color: var(--lx-muted); width: 22%; }
.lx-matrix td:first-child { font-family: var(--lx-display); font-size: 18px; letter-spacing: 0; text-transform: none; font-weight: 700; color: var(--lx-ink); }
.lx-matrix td { font-weight: 400; }

.lx-tall img { height: 460px; width: 100%; object-fit: cover; }
.lx-panel-pad { padding: 36px !important; margin-top: 0 !important; height: 100%; box-sizing: border-box; }
.lx-panel-pad h3 { margin: 10px 0 20px; }
.lx-refcard.lx-panel-pad h3 { color: #fff; }
.lx-hybrid { margin-top: 0; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 14px; padding: 32px; }
.lx-hybrid h3 { color: #fff; font-size: 30px; }
.lx-hybrid .lx-more { margin-top: auto !important; }
.lx-hybrid .is-style-lx-mono { color: var(--lx-green); }

/* Custom manufacturing: capability cards, material chips, stacked step rows */
.lx-cap { padding: 32px; }
.lx-cap h4 { margin: 14px 0 16px; font-size: 22px; }
.lx-cap .is-style-lx-rules li { padding: 12px 0; font-size: 15px; }
.lx-chips-lg li { font-size: 15px; padding: 10px 16px; }
.lx-steel .is-style-lx-chips li { background: #fff; }
.lx-steps + .lx-steps { margin-top: 40px !important; }

/* Product detail pages */
.lx-page-hero .lx-kicker { margin-top: 24px; color: var(--lx-green); }
.lx-page-hero .lx-kicker + h1 { margin-top: 12px; }
.lx-page-hero .wp-block-buttons { margin-top: 36px; }
.lx-page-hero .is-style-outline > .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.lx-spec-card > .wp-block-table { margin-top: 14px; }
.lx-spec-note { margin-top: 24px !important; font-size: 14px; }
.lx-shot { display: flex; flex-direction: column; height: 100%; }
.lx-shot > * { margin: 0 !important; }
.lx-shot .lx-panel { height: 300px; padding: 24px; box-sizing: border-box; }
.lx-shot .lx-panel img { max-height: 252px; max-width: 100%; width: auto; }
.lx-shot.lx-wide .lx-panel { height: auto; background: #fff; border: 1px solid var(--lx-line); }
.lx-shot.lx-wide .lx-panel img { max-height: 420px; }
.lx-caption { margin-top: 12px !important; font-size: 14px; color: var(--lx-muted); }
.lx-dark .lx-tile .is-style-lx-mono { color: var(--lx-green); margin-bottom: 8px; }
.lx-related .is-style-lx-rules a span { font-family: var(--lx-mono); font-size: 13px; color: var(--lx-muted); margin-right: 12px; }

/* Contact page */
.lx-contact-stack { display: flex; flex-direction: column; gap: 20px; }
.lx-contact-stack > * { margin: 0 !important; height: auto; }
.lx-contact-line { font-family: var(--lx-display); font-weight: 700; font-size: 22px; line-height: 1.3; margin: 8px 0 0 !important; }
.lx-contact-line a { color: inherit; }
.lx-dark .lx-contact-line, .lx-dark .lx-contact-line a { color: #fff; }
.lx-form .is-style-lx-eyebrow { margin-bottom: 24px; }
.lx-cap .lx-more { margin-top: 18px !important; font-weight: 600; }
.lx-cap .is-style-lx-mono { color: var(--lx-blue); }

/* Reference cards and link lists */
.lx-refcard { border-radius: 6px; padding: 26px 28px; margin-top: 32px; }
.lx-refcard > * { margin: 0; }
.lx-refcard h4 { margin: 8px 0 14px; color: #fff; }
.is-style-lx-rules a { display: flex; justify-content: space-between; gap: 16px; color: var(--lx-ink); font-weight: 500; text-decoration: none; }
.is-style-lx-rules a::after { content: "→"; color: var(--lx-blue); }
.lx-dark .is-style-lx-rules a { color: #fff; }

/* About: operating flow, badge, numbers */
.lx-flow { gap: 12px 36px !important; }
.lx-flow > .wp-block-column { position: relative; }
.lx-flow > .wp-block-column:not(:last-child)::after { content: "→"; position: absolute; right: -27px; top: 50%; transform: translateY(-50%); color: var(--lx-blue); font-size: 20px; }
.lx-flow-box { border: 1px solid var(--lx-line); background: #fff; border-radius: 6px; padding: 24px; height: 100%; box-sizing: border-box; }
.lx-flow-box.lx-dark { border-color: transparent; background: var(--lx-ink); }
.lx-flow-box > * { margin: 0; }
.lx-flow-box h4 { margin: 8px 0; }
.lx-flow-box p:last-child { font-size: 14px; color: var(--lx-muted); }
.lx-flow-box.lx-dark p:last-child { color: var(--lx-mist); }
.lx-flow-box.lx-dark .is-style-lx-mono { color: #7FD48A; }
.lx-badge { width: 240px; height: 240px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.25); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; margin: 0 auto; gap: 6px; }
.lx-badge > * { margin: 0; }
.lx-badge .lx-stat-value { font-size: 46px; font-weight: 800; }
.lx-numbers .lx-stat-value { font-size: 56px; font-weight: 800; letter-spacing: -0.02em; }
.lx-numbers .wp-block-column > p:last-child { margin-top: 10px; color: var(--lx-muted); font-size: 15px; }

/* Contact Form 7 */
.lx-form { background: var(--lx-steel); border-radius: 6px; padding: 36px; }
.wpcf7 form { display: grid; gap: 16px; }
.wpcf7 form > p { margin: 0; }
.wpcf7 label { display: block; font-weight: 600; font-size: 14px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"], .wpcf7 select, .wpcf7 textarea {
	width: 100%; box-sizing: border-box; margin-top: 6px; min-height: 46px; padding: 10px 12px;
	border: 1px solid #C5CDD6; border-radius: 4px; font: inherit; background: #fff; color: var(--lx-ink);
}
.wpcf7 textarea { min-height: 140px; }
.wpcf7 input[type="submit"] { background: var(--lx-green); color: var(--lx-ink); border: 0; border-radius: 4px; padding: 15px 26px; font: inherit; font-weight: 600; cursor: pointer; }
.wpcf7 input[type="submit"]:hover { background: #2AA034; }
.wpcf7 input:focus-visible, .wpcf7 textarea:focus-visible, .wpcf7 select:focus-visible { outline: 2px solid var(--lx-blue); outline-offset: 1px; }
/* The existing quotation form was built with Kubio's grid (h-row / h-col) and stray <br>s. */
.wpcf7 .h-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
.wpcf7 .h-row > .h-col { width: auto !important; max-width: none !important; flex: none !important; padding: 0 !important; margin: 0 !important; }
.wpcf7 .h-col > p, .wpcf7 form > p { margin: 0; }
.wpcf7 p > br:first-child { display: none; }
@media (max-width: 600px) { .wpcf7 .h-row { grid-template-columns: 1fr; } }

/* ---------- Kubio plugin compatibility ---------- */
/* Kubio Pro's block stylesheet clamps every `.entry-content > *` to 840px, which breaks
   full-width sections. Restore WordPress's own layout widths inside the theme's full-width
   page canvas (page.html renders post-content with alignfull). */
.wp-block-post-content.alignfull.entry-content:not(.wc-tab) > * { max-width: var(--wp--style--global--content-size, 1216px); margin-left: auto; margin-right: auto; }
.wp-block-post-content.alignfull.entry-content:not(.wc-tab) > .alignwide { max-width: var(--wp--style--global--wide-size, 1440px); }
.wp-block-post-content.alignfull.entry-content:not(.wc-tab) > .alignfull {
	max-width: none; margin-top: 0; margin-bottom: 0;
	margin-left: calc(var(--wp--style--root--padding-left) * -1);
	margin-right: calc(var(--wp--style--root--padding-right) * -1);
}
.wp-block-post-content.lx-prose.entry-content:not(.wc-tab) > * { max-width: 820px; margin-left: auto; margin-right: auto; }
/* Cards: the image and body sit flush; WordPress's default block gap would add 24px between them. */
.is-style-lx-card > * { margin-block: 0; }

/* ---------- Template plumbing ---------- */
/* Sections sit flush against each other and against the header/footer. */
.wp-site-blocks > * + * { margin-block-start: 0; }
.lx-main .wp-block-post-content > .alignfull { margin-block-start: 0; margin-block-end: 0; }
.lx-post-row { padding: 28px 0; border-bottom: 1px solid var(--lx-line); }
.lx-post-row > * { margin: 0 0 8px; }

/* ---------- Text pages (page-with-title, posts) ---------- */
.lx-page-title { padding-top: 88px; padding-bottom: 24px; }
.lx-prose { padding-bottom: 112px; }

/* ---------- Phone ---------- */
@media (max-width: 781px) {
	.lx-section { padding-top: 64px; padding-bottom: 64px; }
	.lx-hero { min-height: 0; }
	.lx-hero > .wp-block-cover__inner-container { padding-top: 64px; padding-bottom: 56px; }
	.lx-head { margin-bottom: 36px !important; }
	.lx-stats .wp-block-columns { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lx-stats .wp-block-column, .lx-stats .wp-block-column + .wp-block-column { padding: 18px 12px 18px 0; border-right: 0; }
	.lx-stat-value { font-size: 26px; }
	.is-style-lx-card > .wp-block-image img { height: 240px; }
	.lx-card__body { padding: 24px; }
	.lx-photo-card { min-height: 340px; }
	.lx-photo-bg { padding-top: 64px; padding-bottom: 64px; }
	.lx-footer { padding-top: 56px; }
	.lx-page-hero { padding-top: 48px; padding-bottom: 56px; }
	.lx-flow > .wp-block-column:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -30px; transform: translateX(-50%); }
	.lx-flow { gap: 36px !important; }
	.lx-form { padding: 24px; }
	.lx-numbers .lx-stat-value { font-size: 44px; }
}
