/*
Theme Name: EverBrite
Theme URI: https://example.com/
Author: Moksh Technologies
Description: Company website theme for Hubei EverBrite Opto Electronics Co. Ltd. Includes a Products manager (categories, specifications, datasheet PDFs, image galleries), an enquiry form with a dashboard inbox, home page settings in the Customizer, and a one-click setup (Appearance → EverBrite setup).
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: everbrite
Tags: business, custom-logo, custom-menu, editor-style, featured-images, translation-ready
*/

/* ==========================================================================
   Font: Archivo (SIL Open Font License, see assets/fonts/OFL.txt)
   One variable file covers every weight and width used.
   ========================================================================== */
@font-face {
	font-family: "Archivo";
	src: url("assets/fonts/archivo-var.woff") format("woff");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}

@property --glow {
	syntax: "<color>";
	inherits: true;
	initial-value: #FFD3A6;
}

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--ink: #0E1838;
	--ink-2: #172352;
	--blue: #3448A2;
	--blue-700: #273985;
	--blue-50: #EEF1FA;
	--blue-100: #DDE3F4;
	--red: #E31B23;
	--text: #1A2033;
	--muted: #5A6378;
	--line: #DCE1EC;
	--line-strong: #C6CEE0;
	--mist: #F3F5FA;
	--paper: #FFFFFF;
	--on-ink: #C3CBE5;
	--on-ink-soft: #8F9AC2;

	--font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--wrap: 1200px;
	--gutter: 16px;
	--header-h: 76px;
	--radius-s: 6px;
	--radius: 10px;
	--section: clamp(56px, 7vw, 96px);
}

@media (min-width: 768px) {
	:root {
		--gutter: 32px;
	}
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 64px);
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.6;
	font-stretch: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--blue);
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}

a:hover {
	color: var(--blue-700);
}

h1,
h2,
h3,
h4 {
	color: var(--ink);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 0.5em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2rem, 1.35rem + 2.4vw, 3rem);
	font-stretch: 112%;
	letter-spacing: -0.012em;
}

h2 {
	font-size: clamp(1.55rem, 1.25rem + 1.1vw, 2.2rem);
	font-stretch: 108%;
	letter-spacing: -0.008em;
}

h3 {
	font-size: 1.22rem;
	font-stretch: 104%;
	font-weight: 650;
}

h4 {
	font-size: 1.05rem;
	font-weight: 650;
}

p {
	margin: 0 0 1.1em;
}

table {
	font-variant-numeric: tabular-nums;
}

:focus-visible {
	outline: 3px solid #7F95EE;
	outline-offset: 2px;
}

::selection {
	background: var(--blue-100);
}

.wrap {
	width: min(100% - 2 * var(--gutter), var(--wrap));
	margin-inline: auto;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	left: 12px;
	top: -100px;
	z-index: 100;
	background: var(--paper);
	color: var(--blue);
	padding: 10px 16px;
	border-radius: var(--radius-s);
	font-weight: 650;
}

.skip-link:focus {
	top: 12px;
}

.icon {
	width: 1.15em;
	height: 1.15em;
	flex: none;
	vertical-align: -0.2em;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn,
.entry-content .wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 22px;
	border: 1.5px solid transparent;
	border-radius: var(--radius-s);
	font-family: inherit;
	font-size: 0.98rem;
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary,
.entry-content .wp-block-button .wp-block-button__link {
	background: var(--blue);
	color: #fff;
}

.btn-primary:hover,
.entry-content .wp-block-button .wp-block-button__link:hover {
	background: var(--blue-700);
	color: #fff;
}

.btn-outline,
.entry-content .wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	border-color: var(--blue);
	color: var(--blue);
}

.btn-outline:hover,
.entry-content .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--blue-50);
	color: var(--blue-700);
}

.btn-light {
	background: #fff;
	color: var(--ink);
}

.btn-light:hover {
	background: #E4E9F7;
	color: var(--ink);
}

.btn-ghost {
	border-color: rgba(255, 255, 255, 0.42);
	color: #fff;
}

.btn-ghost:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}

.btn-small {
	padding: 9px 14px;
	font-size: 0.9rem;
}

.btn-meta {
	font-weight: 450;
	font-size: 0.85em;
	opacity: 0.75;
}

.text-link {
	font-weight: 650;
	text-decoration: underline;
	text-decoration-color: var(--blue-100);
	text-decoration-thickness: 2px;
}

.text-link:hover {
	text-decoration-color: currentColor;
}

/* ==========================================================================
   Top bar and header
   ========================================================================== */
.topbar {
	background: var(--ink);
	color: var(--on-ink);
	font-size: 0.85rem;
}

.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
}

.topbar-contacts {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 22px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
}

.topbar a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: inherit;
	text-decoration: none;
}

.topbar a:hover {
	color: #fff;
}

.topbar .icon {
	width: 15px;
	height: 15px;
	color: var(--on-ink-soft);
}

.topbar-name {
	margin: 0;
	color: var(--on-ink-soft);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--line);
	backdrop-filter: saturate(1.4) blur(6px);
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

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

.brand {
	display: block;
	flex: none;
	line-height: 0;
}

.brand img,
.brand .brand-logo {
	width: auto;
	height: 42px;
}

.site-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 20px;
	flex: 1;
}

.primary-nav .menu,
.primary-nav .sub-menu,
.primary-nav .children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-nav .menu {
	display: flex;
	align-items: center;
	gap: 2px;
}

.primary-nav li {
	position: relative;
}

.primary-nav a {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 12px;
	color: var(--text);
	font-size: 0.97rem;
	font-weight: 560;
	text-decoration: none;
	border-radius: var(--radius-s);
}

.primary-nav a:hover {
	color: var(--blue);
}

.primary-nav .menu > li > a {
	position: relative;
}

.primary-nav .menu > .current-menu-item > a,
.primary-nav .menu > .current-menu-ancestor > a,
.primary-nav .menu > .current_page_item > a,
.primary-nav .menu > .current-menu-parent > a {
	color: var(--blue);
}

.primary-nav .menu > .current-menu-item > a::after,
.primary-nav .menu > .current-menu-ancestor > a::after,
.primary-nav .menu > .current_page_item > a::after,
.primary-nav .menu > .current-menu-parent > a::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: -17px;
	height: 3px;
	background: var(--red);
	border-radius: 2px 2px 0 0;
}

.primary-nav .menu-item-has-children > a::before {
	content: "";
	order: 2;
	width: 6px;
	height: 6px;
	border-right: 1.6px solid currentColor;
	border-bottom: 1.6px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	opacity: 0.6;
}

.primary-nav .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 250px;
	padding: 8px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 16px 40px rgba(14, 24, 56, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}

.primary-nav .sub-menu::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -10px;
	height: 10px;
}

.primary-nav .sub-menu .sub-menu {
	top: -9px;
	left: calc(100% + 8px);
}

.primary-nav .sub-menu .sub-menu::before {
	top: 0;
	left: -10px;
	width: 10px;
	height: 100%;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.primary-nav .sub-menu a {
	justify-content: space-between;
	padding: 9px 12px;
	font-size: 0.94rem;
}

.primary-nav .sub-menu a:hover {
	background: var(--mist);
}

.primary-nav .sub-menu .menu-item-has-children > a::before {
	transform: rotate(-45deg);
}

.nav-toggle {
	display: none;
	margin-left: auto;
	padding: 10px;
	border: 1px solid var(--line);
	border-radius: var(--radius-s);
	background: var(--paper);
	color: var(--ink);
	cursor: pointer;
	line-height: 0;
}

.nav-toggle .icon {
	width: 22px;
	height: 22px;
}

.nav-toggle-close {
	display: none;
}

@media (max-width: 1080px) {
	.nav-toggle {
		display: inline-flex;
	}

	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		max-height: calc(100vh - var(--header-h));
		overflow-y: auto;
		padding: 12px var(--gutter) 24px;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 20px 40px rgba(14, 24, 56, 0.12);
	}

	.nav-open .site-nav {
		display: flex;
	}

	.nav-open .nav-toggle-open {
		display: none;
	}

	.nav-open .nav-toggle-close {
		display: inline;
	}

	.primary-nav .menu {
		flex-direction: column;
		align-items: stretch;
	}

	.primary-nav a {
		padding: 12px 4px;
		border-bottom: 1px solid var(--line);
		border-radius: 0;
	}

	.primary-nav .menu > li > a::after {
		display: none;
	}

	.primary-nav .menu-item-has-children > a::before {
		display: none;
	}

	.primary-nav .sub-menu,
	.primary-nav .sub-menu .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 0 0 16px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		background: none;
	}

	.primary-nav .sub-menu::before {
		display: none;
	}

	.header-cta {
		align-self: flex-start;
	}
}

@media (max-width: 640px) {
	.topbar-name {
		display: none;
	}

	.brand img,
	.brand .brand-logo {
		height: 34px;
	}

	:root {
		--header-h: 64px;
	}
}

/* ==========================================================================
   Light scale: the band of EverBrite's colour temperatures (2700 K → 6500 K)
   ========================================================================== */
.light-scale {
	height: 4px;
	width: 100%;
}

/* ==========================================================================
   Home: banner
   ========================================================================== */
.hero {
	position: relative;
	overflow: hidden;
	background-color: var(--ink);
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 48px 48px;
	background-position: center top;
	color: #fff;
	transition: --glow 0.6s ease;
}

.hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	align-items: center;
	gap: 40px;
	padding-block: clamp(56px, 8vw, 104px);
}

.hero-title {
	margin: 0 0 22px;
	color: #fff;
	font-size: clamp(2.3rem, 1.5rem + 3.3vw, 4rem);
	font-stretch: 118%;
	font-weight: 760;
	line-height: 1.03;
	letter-spacing: -0.018em;
	max-width: 14.5em;
}

.hero-lead {
	max-width: 34em;
	margin: 0;
	color: var(--on-ink);
	font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
}

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

.hero-visual {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.hero-stage {
	position: relative;
	width: min(100%, 470px);
	aspect-ratio: 400 / 360;
	display: grid;
	place-items: center;
}

.hero-led {
	width: 100%;
	height: 100%;
	overflow: visible;
}

.hero-glow {
	position: absolute;
	inset: -12%;
	background: radial-gradient(closest-side, var(--glow), color-mix(in srgb, var(--glow) 35%, transparent) 40%, transparent);
	opacity: 0.9;
}

.hero-photo {
	position: relative;
	max-width: 82%;
	max-height: 82%;
	width: auto;
	object-fit: contain;
	filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
}

.cct-picker {
	width: min(100%, 470px);
	margin-top: 18px;
}

.cct-label {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin: 0 0 10px;
	color: var(--on-ink-soft);
	font-size: 0.85rem;
}

.cct-value {
	color: #fff;
	font-weight: 650;
	font-variant-numeric: tabular-nums;
	font-size: 0.95rem;
}

.cct-options {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	align-items: end;
	gap: 4px;
}

.cct-option {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 7px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--on-ink-soft);
	font: inherit;
	font-size: 0.78rem;
	font-variant-numeric: tabular-nums;
	cursor: pointer;
}

.cct-swatch {
	display: block;
	height: 12px;
	margin-top: 10px;
	background: var(--swatch);
	border-radius: 2px;
	transition: height 0.2s ease, margin 0.2s ease, box-shadow 0.2s ease;
}

.cct-option:hover .cct-swatch {
	height: 16px;
	margin-top: 6px;
}

.cct-option[aria-pressed="true"] {
	color: #fff;
	font-weight: 650;
}

.cct-option[aria-pressed="true"] .cct-swatch {
	height: 22px;
	margin-top: 0;
	box-shadow: 0 0 0 2px var(--ink), 0 0 0 3.5px #fff, 0 0 24px var(--swatch);
}

.cct-option:focus-visible {
	outline-offset: 4px;
	border-radius: 2px;
}

@media (max-width: 900px) {
	.hero-inner {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.hero-visual {
		order: -1;
	}

	.hero-stage {
		width: min(78%, 340px);
	}
}

/* ==========================================================================
   Home: quality strip
   ========================================================================== */
.proof {
	background: var(--mist);
	border-bottom: 1px solid var(--line);
}

.proof-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 14px 32px;
	margin-block: 0;
	padding: 22px 0;
	list-style: none;
}

.proof-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.95rem;
	font-weight: 560;
	color: var(--ink);
	line-height: 1.35;
}

.proof-list .icon {
	width: 28px;
	height: 28px;
	padding: 6px;
	border-radius: 50%;
	background: var(--paper);
	border: 1px solid var(--line);
	color: var(--blue);
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
	padding-block: var(--section);
}

.section + .section {
	padding-top: 0;
}

.section-head {
	margin-bottom: 36px;
}

.section-head h2 {
	margin-bottom: 8px;
}

.section-head p {
	max-width: 40em;
	margin: 0;
	color: var(--muted);
}

.section-head--split {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px 32px;
}

/* Product range */
.range-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.range-item a {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--text);
	text-decoration: none;
	transition: border-color 0.15s;
}

.range-item a:hover {
	border-color: var(--blue);
}

.range-media {
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 3;
	margin-bottom: 14px;
	border-radius: var(--radius-s);
	background: radial-gradient(circle at 50% 55%, #fff 0, var(--mist) 72%);
}

.range-media img {
	max-height: 84%;
	width: auto;
	object-fit: contain;
}

@media (min-width: 1000px) {
	.range .range-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.products-main .range-grid {
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 14px;
}

.products-main .range-item a {
	padding: 14px;
}

.products-main .range-name {
	font-size: 1rem;
}

.family-block {
	margin-bottom: 44px;
}

@media (max-width: 640px) {
	.range-grid,
	.products-main .range-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.range-item a,
	.products-main .range-item a {
		padding: 10px;
	}

	.range-media {
		margin-bottom: 10px;
	}

	.range-name,
	.products-main .range-name {
		font-size: 0.95rem;
	}

	.range-count {
		font-size: 0.8rem;
	}
}

.block-title {
	margin: 0 0 16px;
	font-size: 1.15rem;
	font-stretch: 104%;
	font-weight: 650;
}

.range-name {
	color: var(--ink);
	font-size: 1.08rem;
	font-weight: 650;
	font-stretch: 104%;
}

.range-count {
	color: var(--muted);
	font-size: 0.88rem;
}

/* ==========================================================================
   Product cards
   ========================================================================== */
.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
}

@media (min-width: 900px) {
	.product-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

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

.product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color 0.15s;
}

.product-card:hover {
	border-color: var(--line-strong);
}

.product-card-media {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 3;
	padding: 22px;
	background: radial-gradient(circle at 50% 58%, #fff 0, var(--mist) 70%);
	border-bottom: 1px solid var(--line);
}

.product-card-media img {
	max-height: 100%;
	width: auto;
	object-fit: contain;
}

.badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 4px 9px;
	border-radius: 4px;
	background: var(--ink);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.product-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 18px 22px 22px;
}

.product-card-cat {
	margin: 0 0 4px;
	color: var(--blue);
	font-size: 0.82rem;
	font-weight: 600;
}

.product-card-title {
	margin: 0 0 4px;
	font-size: 1.2rem;
}

.product-card-title a {
	color: var(--ink);
	text-decoration: none;
}

.product-card-title a:hover {
	color: var(--blue);
}

.product-card-model {
	margin: 0;
	color: var(--muted);
	font-size: 0.88rem;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.01em;
}

.mini-specs {
	margin: 16px 0 18px;
}

.mini-specs div {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	padding: 8px 0;
	border-top: 1px solid var(--line);
	font-size: 0.88rem;
	line-height: 1.35;
}

.mini-specs dt {
	color: var(--muted);
	flex: none;
}

.mini-specs dd {
	margin: 0;
	font-weight: 600;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.product-card .text-link {
	margin-top: auto;
	align-self: flex-start;
}

/* A single featured product gets a wide layout. */
@media (min-width: 768px) {
	.product-grid--1 {
		grid-template-columns: 1fr;
	}

	.product-grid--1 .product-card {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.product-grid--1 .product-card-media {
		aspect-ratio: auto;
		min-height: 340px;
		border-bottom: 0;
		border-right: 1px solid var(--line);
	}

	.product-grid--1 .product-card-media img {
		max-height: 280px;
	}

	.product-grid--1 .product-card-body {
		padding: 32px 36px;
		justify-content: center;
	}

	.product-grid--1 .product-card-title {
		font-size: 1.6rem;
		font-stretch: 108%;
	}
}

/* ==========================================================================
   Home page content (edited in Pages → Home)
   ========================================================================== */
.home-content {
	padding-top: 0;
}

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

.eb-split {
	gap: clamp(32px, 5vw, 72px) !important;
	align-items: center !important;
	margin-block: 0 var(--section);
}

.eb-facts {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
	border-top: 1px solid var(--line);
}

.eb-facts li {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 16px;
	align-items: baseline;
	margin: 0 !important;
	padding: 13px 0;
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font-size: 1rem;
}

.eb-facts strong {
	min-width: 9.2em;
	color: var(--ink);
	font-size: 1.12rem;
	font-weight: 700;
	font-stretch: 106%;
	font-variant-numeric: tabular-nums;
}

.eb-band {
	position: relative;
	margin-block: 0 var(--section);
	padding-block: var(--section);
	background: var(--mist);
	box-shadow: 0 0 0 100vmax var(--mist);
	clip-path: inset(0 -100vmax);
}

.eb-band > h2 {
	margin-top: 0;
}

.eb-lead {
	max-width: 40em;
	color: var(--muted);
	font-size: 1.08rem;
}

.eb-apps {
	gap: 18px !important;
	margin-block: 18px !important;
}

.eb-apps:first-of-type {
	margin-top: 32px !important;
}

.eb-app {
	height: 100%;
	padding: 24px 22px 20px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.eb-app::before {
	content: "";
	display: block;
	width: 44px;
	height: 44px;
	margin-bottom: 18px;
	background-color: var(--blue);
	-webkit-mask: var(--app-icon) center / contain no-repeat;
	mask: var(--app-icon) center / contain no-repeat;
}

.eb-app h3 {
	margin: 0 0 6px;
}

.eb-app p {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
}

.eb-app,
.eb-app--street {
	--app-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 45V8a4 4 0 0 1 4-4h12'/%3E%3Cpath d='M26 4h14l-3 6H29z'/%3E%3Cpath d='M30 15l-2 4M36 15l2 4M33 16v5'/%3E%3Cpath d='M9 45h10'/%3E%3C/svg%3E");
}

.eb-app--stadium {
	--app-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='10' y='4' width='28' height='16' rx='1.5'/%3E%3Cpath d='M19 4v16M29 4v16M10 12h28'/%3E%3Cpath d='M24 20v25M17 45h14'/%3E%3C/svg%3E");
}

.eb-app--flood {
	--app-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='9' width='24' height='18' rx='2' transform='rotate(-12 18 18)'/%3E%3Cpath d='M16 27l4 10M10 44h16l-6-7'/%3E%3Cpath d='M34 10l8-3M35 17l9 0M34 24l8 3'/%3E%3C/svg%3E");
}

.eb-app--highbay {
	--app-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 3v9'/%3E%3Cpath d='M18 12h12l2 6H16z'/%3E%3Cpath d='M16 18c-6 3-9 8-10 13h36c-1-5-4-10-10-13'/%3E%3Cpath d='M18 37l-2 6M24 37v7M30 37l2 6'/%3E%3C/svg%3E");
}

.eb-app--indoor {
	--app-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h40'/%3E%3Crect x='8' y='12' width='32' height='7' rx='1.5'/%3E%3Cpath d='M14 25l-3 6M24 25v7M34 25l3 6'/%3E%3Cpath d='M17 38h14M20 44h8'/%3E%3C/svg%3E");
}

.eb-app--colour {
	--app-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 44V14l12-8v38M20 44V18h20v26M4 44h40'/%3E%3Cpath d='M26 24h2M32 24h2M26 30h2M32 30h2M26 36h2M32 36h2M12 18h2M12 24h2M12 30h2'/%3E%3C/svg%3E");
}

.eb-split--media .wp-block-image img {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px;
	background: #fff;
}

/* ==========================================================================
   Call to action band
   ========================================================================== */
.cta-band {
	position: relative;
	background: var(--ink);
	color: var(--on-ink);
}

.cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 24px 48px;
	padding-block: clamp(48px, 6vw, 72px);
}

.cta-inner h2 {
	color: #fff;
	margin-bottom: 10px;
}

.cta-inner p {
	max-width: 40em;
	margin: 0;
}

/* ==========================================================================
   Inner page header
   ========================================================================== */
.page-hero {
	padding: 28px 0 44px;
	background-color: var(--mist);
	background-image:
		linear-gradient(rgba(52, 72, 162, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(52, 72, 162, 0.05) 1px, transparent 1px);
	background-size: 40px 40px;
	border-bottom: 1px solid var(--line);
}

.page-title {
	margin: 18px 0 10px;
}

.page-intro {
	max-width: 42em;
	margin: 0;
	color: var(--muted);
	font-size: 1.1rem;
}

.page-intro p:last-child {
	margin-bottom: 0;
}

.page-hero-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px 40px;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.86rem;
	color: var(--muted);
}

.breadcrumbs li + li::before {
	content: "/";
	margin-right: 4px;
	color: var(--line-strong);
}

.breadcrumbs a {
	color: var(--muted);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--blue);
	text-decoration: underline;
}

.page-body {
	padding-block: 48px 88px;
}

/* ==========================================================================
   Block content (pages, products, home)
   ========================================================================== */
.entry-content > p,
.entry-content > ul,
.entry-content > ol,
.entry-content > h2,
.entry-content > h3,
.entry-content > h4,
.entry-content > blockquote,
.entry-content > .wp-block-image {
	max-width: 46rem;
}

.entry-content > h2 {
	margin-top: 1.8em;
}

.entry-content > h3 {
	margin-top: 1.5em;
}

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

.entry-content ul,
.entry-content ol {
	padding-left: 1.25em;
}

.entry-content li {
	margin: 0.35em 0;
}

.entry-content li::marker {
	color: var(--blue);
}

.entry-content .wp-block-columns {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	margin-block: 1.5em;
}

.entry-content .wp-block-column {
	flex: 1 1 0;
	min-width: 0;
}

.entry-content .wp-block-column > *:first-child {
	margin-top: 0;
}

.entry-content .wp-block-column > *:last-child {
	margin-bottom: 0;
}

@media (max-width: 781px) {
	.entry-content .wp-block-columns {
		flex-direction: column;
	}

	.entry-content .wp-block-column {
		flex-basis: 100%;
	}
}

.entry-content .wp-block-image {
	margin: 1.5em 0;
}

.entry-content .wp-block-image img {
	border-radius: var(--radius-s);
}

.product-content .wp-block-image img {
	border: 1px solid var(--line);
	background: #fff;
	padding: 12px;
}

.entry-content figcaption,
.entry-content .wp-element-caption {
	margin-top: 8px;
	color: var(--muted);
	font-size: 0.86rem;
	text-align: left;
}

.entry-content .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-block: 1.5em;
}

.entry-content .wp-block-table {
	margin: 1.5em 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.entry-content table,
.spec-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.94rem;
	line-height: 1.45;
}

.entry-content th,
.entry-content td {
	padding: 10px 14px;
	border: 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.entry-content thead th {
	background: var(--mist);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line-strong);
	color: var(--ink);
	font-size: 0.86rem;
	font-weight: 650;
	white-space: nowrap;
}

.entry-content td:first-child {
	font-weight: 600;
	color: var(--ink);
	white-space: nowrap;
}

.entry-content .wp-block-table thead,
.entry-content .wp-block-table tfoot {
	border: 0;
}

.entry-content tbody tr:hover td {
	background: #FAFBFE;
}

.entry-content .wp-block-table figcaption {
	margin-top: 8px;
}

.entry-content hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 2.5em 0;
}

.entry-content blockquote {
	margin: 1.5em 0;
	padding-left: 18px;
	border-left: 3px solid var(--blue);
	color: var(--muted);
}

/* ==========================================================================
   Products listing
   ========================================================================== */
.product-search {
	display: flex;
	width: min(100%, 400px);
}

.product-search input {
	flex: 1;
	min-width: 0;
	height: 48px;
	padding: 0 16px;
	border: 1px solid var(--line-strong);
	border-right: 0;
	border-radius: var(--radius-s) 0 0 var(--radius-s);
	background: var(--paper);
	font: inherit;
	font-size: 0.96rem;
	color: var(--text);
}

.product-search input:focus {
	outline: none;
	border-color: var(--blue);
	box-shadow: 0 0 0 3px rgba(52, 72, 162, 0.16);
}

.product-search button {
	display: grid;
	place-items: center;
	width: 52px;
	height: 48px;
	border: 0;
	border-radius: 0 var(--radius-s) var(--radius-s) 0;
	background: var(--blue);
	color: #fff;
	cursor: pointer;
}

.product-search button:hover {
	background: var(--blue-700);
}

.products-layout {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 44px;
	padding-block: 44px 88px;
	align-items: start;
}

.products-sidebar {
	position: sticky;
	top: calc(var(--header-h) + 24px);
}

.sidebar-title {
	margin: 0 0 12px;
	font-size: 1rem;
	font-stretch: 104%;
	font-weight: 650;
}

.cat-list,
.cat-list .children {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cat-list .children {
	margin: 2px 0 6px 12px;
	padding-left: 8px;
	border-left: 1px solid var(--line);
}

.cat-list a {
	display: block;
	padding: 8px 12px;
	border-radius: var(--radius-s);
	color: var(--text);
	font-size: 0.95rem;
	text-decoration: none;
}

.cat-list a:hover {
	background: var(--mist);
	color: var(--blue);
}

.cat-list .current-cat > a {
	background: var(--blue-50);
	color: var(--blue);
	font-weight: 650;
}

.sidebar-help {
	margin-top: 28px;
	padding: 22px;
	border-radius: var(--radius);
	background: var(--ink);
	color: var(--on-ink);
}

.sidebar-help .sidebar-title {
	color: #fff;
}

.sidebar-help p {
	font-size: 0.92rem;
	margin-bottom: 16px;
}

.result-count {
	margin: 0 0 18px;
	color: var(--muted);
	font-size: 0.92rem;
}

.navigation.pagination {
	margin-top: 40px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius-s);
	color: var(--text);
	text-decoration: none;
	font-weight: 600;
}

.page-numbers.current {
	background: var(--blue);
	border-color: var(--blue);
	color: #fff;
}

a.page-numbers:hover {
	border-color: var(--blue);
	color: var(--blue);
}

.empty-state {
	padding: 48px 24px;
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius);
	text-align: center;
}

.empty-state p {
	color: var(--muted);
}

.empty-state--enquiry {
	text-align: left;
	border-style: solid;
	background: var(--mist);
}

.empty-state--enquiry p {
	max-width: 36em;
}

.empty-state--left {
	text-align: left;
	border: 0;
	padding: 0;
}

.empty-state--left .btn {
	margin: 0 8px 8px 0;
}

@media (max-width: 960px) {
	.products-layout {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.products-sidebar {
		position: static;
	}

	.cat-list {
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
	}

	.cat-list .children {
		display: none;
	}

	.cat-list a {
		border: 1px solid var(--line);
	}

	.sidebar-help {
		display: none;
	}
}

/* ==========================================================================
   Single product
   ========================================================================== */
.product-head {
	padding: 14px 0;
	background: var(--mist);
	border-bottom: 1px solid var(--line);
}

.product-top {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 64px);
	padding-block: 44px 56px;
	align-items: start;
}

.gallery-main {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	padding: 36px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: radial-gradient(circle at 50% 55%, #fff 0, var(--mist) 72%);
}

.gallery-main img {
	max-height: 100%;
	max-width: 88%;
	width: auto;
	object-fit: contain;
}

.gallery-thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
	gap: 10px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.gallery-thumb {
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 1 / 1;
	padding: 6px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
}

.gallery-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.gallery-thumb:hover {
	border-color: var(--line-strong);
}

.gallery-thumb[aria-pressed="true"] {
	border-color: var(--blue);
	box-shadow: inset 0 0 0 1px var(--blue);
}

.product-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin: 0 0 10px;
	font-size: 0.88rem;
	font-weight: 600;
}

.product-cats a {
	text-decoration: none;
}

.product-title {
	margin: 0 0 12px;
	font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
	font-stretch: 114%;
	font-weight: 730;
}

.product-model {
	display: inline-flex;
	gap: 8px;
	margin: 0 0 18px;
	padding: 6px 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius-s);
	background: var(--mist);
	font-size: 0.95rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.01em;
	color: var(--ink);
}

.product-model span {
	color: var(--muted);
	font-weight: 450;
}

.product-excerpt {
	font-size: 1.1rem;
	color: var(--muted);
}

.spec-table th,
.spec-table td {
	padding: 11px 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.spec-table th {
	width: 44%;
	padding-right: 16px;
	color: var(--muted);
	font-weight: 450;
}

.spec-table td {
	color: var(--ink);
	font-weight: 600;
}

.spec-table tr:first-child th,
.spec-table tr:first-child td {
	border-top: 1px solid var(--line);
}

.spec-table--quick {
	margin: 22px 0 28px;
}

.product-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.product-subnav {
	position: sticky;
	top: var(--header-h);
	z-index: 40;
	background: rgba(255, 255, 255, 0.97);
	border-block: 1px solid var(--line);
}

.admin-bar .product-subnav {
	top: calc(var(--header-h) + 32px);
}

.product-subnav ul {
	display: flex;
	gap: 28px;
	margin-block: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}

.product-subnav a {
	display: block;
	padding: 15px 0 13px;
	border-bottom: 2px solid transparent;
	color: var(--muted);
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.product-subnav a:hover,
.product-subnav a[aria-current="true"] {
	color: var(--ink);
	border-bottom-color: var(--red);
}

.product-section {
	padding-block: 56px;
}

.product-section + .product-section {
	border-top: 1px solid var(--line);
}

.product-section--tint {
	background: var(--mist);
}

.product-section--tint + .product-section,
.product-section + .product-section--tint {
	border-top: 0;
}

.product-section-inner {
	display: grid;
	grid-template-columns: minmax(180px, 300px) minmax(0, 1fr);
	gap: 24px 48px;
}

.feature-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px 64px;
}

.check-list,
.app-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.check-list li {
	display: flex;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px solid var(--line);
}

.check-list .icon {
	margin-top: 3px;
	color: var(--blue);
}

.app-list li {
	padding: 12px 16px;
	margin-bottom: 8px;
	border: 1px solid var(--line);
	border-left: 3px solid var(--blue);
	border-radius: var(--radius-s);
	background: var(--paper);
	font-weight: 600;
	color: var(--ink);
}

.product-content > h2 {
	max-width: none;
	margin-top: 56px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

.product-content > h2:first-of-type {
	margin-top: 40px;
}

.product-content .eb-lead {
	font-size: 1.15rem;
	color: var(--text);
}

.product-content .wp-block-columns {
	gap: 24px;
}

.product-content .wp-block-column .wp-block-image {
	margin: 0;
}

.product-content .wp-block-column .wp-block-image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: contain;
}

.product-details-title {
	margin: 0 0 8px;
}

.product-section--enquiry {
	background: var(--mist);
	border-top: 0 !important;
}

.enquiry-wrap {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
	gap: 32px 56px;
	align-items: start;
}

.enquiry-wrap .enquiry-form {
	padding: 28px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 12px;
}

.related h2 {
	margin-bottom: 28px;
}

@media (max-width: 900px) {
	.product-top,
	.product-section-inner,
	.feature-columns,
	.enquiry-wrap {
		grid-template-columns: 1fr;
	}

	.gallery-main {
		padding: 24px;
	}
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 20px;
}

.form-field {
	margin: 0;
}

.form-field--message,
.form-field--product {
	grid-column: 1 / -1;
}

.form-field label {
	display: block;
	margin-bottom: 6px;
	color: var(--ink);
	font-size: 0.92rem;
	font-weight: 600;
}

.form-field .req {
	color: var(--red);
}

.form-field .optional {
	color: var(--muted);
	font-size: 0.82rem;
	font-weight: 400;
}

.form-field input,
.form-field textarea,
.search-form .search-field {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-s);
	background: var(--paper);
	color: var(--text);
	font: inherit;
	font-size: 0.98rem;
}

.form-field textarea {
	resize: vertical;
	min-height: 130px;
}

.form-field input:focus,
.form-field textarea:focus,
.search-form .search-field:focus {
	outline: none;
	border-color: var(--blue);
	box-shadow: 0 0 0 3px rgba(52, 72, 162, 0.16);
}

.form-submit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin-top: 22px;
}

.form-privacy {
	margin: 0;
	color: var(--muted);
	font-size: 0.85rem;
}

.form-notice {
	margin: 0 0 20px;
	padding: 12px 16px;
	border-radius: var(--radius-s);
	border: 1px solid;
	font-weight: 550;
}

.form-notice--success {
	background: #E9F6EE;
	border-color: #A6D8B8;
	color: #14532D;
}

.form-notice--error {
	background: #FDEDED;
	border-color: #F2B1B3;
	color: #7F1D1D;
}

.hp-field {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.search-form {
	display: flex;
	gap: 8px;
	max-width: 520px;
	margin-bottom: 32px;
}

.search-form label {
	flex: 1;
}

.search-form .search-submit {
	padding: 0 18px;
	border: 0;
	border-radius: var(--radius-s);
	background: var(--blue);
	color: #fff;
	font: inherit;
	font-weight: 650;
	cursor: pointer;
}

@media (max-width: 640px) {
	.form-grid {
		grid-template-columns: 1fr;
	}

	.enquiry-wrap .enquiry-form {
		padding: 20px;
	}
}

/* ==========================================================================
   Contact and downloads
   ========================================================================== */
.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
	gap: 32px clamp(32px, 5vw, 64px);
	padding-block: 48px 88px;
	align-items: start;
}

.contact-list {
	margin: 0;
	border-top: 1px solid var(--line);
}

.contact-list div {
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}

.contact-list dt {
	color: var(--muted);
	font-size: 0.85rem;
	font-weight: 600;
}

.contact-list dd {
	margin: 4px 0 0;
	color: var(--ink);
	font-weight: 500;
}

.contact-map {
	margin-top: 28px;
}

.contact-map iframe {
	display: block;
	width: 100%;
	height: 320px;
	border: 0;
	border-radius: var(--radius);
}

.contact-form {
	padding: 32px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--paper);
}

.contact-form h2 {
	font-size: 1.5rem;
	margin-bottom: 20px;
}

@media (max-width: 900px) {
	.contact-layout {
		grid-template-columns: 1fr;
	}

	.contact-form {
		padding: 22px;
	}
}

.download-group {
	margin-top: 40px;
}

.download-group h2 {
	font-size: 1.3rem;
}

.download-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.download-list li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 14px;
	align-items: center;
	margin-bottom: 10px;
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-s);
}

.download-list > li > .icon {
	width: 26px;
	height: 26px;
	color: var(--blue);
}

.download-name a {
	color: var(--ink);
	font-weight: 650;
	text-decoration: none;
}

.download-name a:hover {
	color: var(--blue);
}

.download-name span {
	display: block;
	color: var(--muted);
	font-size: 0.88rem;
	font-variant-numeric: tabular-nums;
}

@media (max-width: 560px) {
	.download-list li {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.download-list .btn {
		grid-column: 1 / -1;
	}
}

/* ==========================================================================
   News and search
   ========================================================================== */
.post-list {
	display: grid;
	gap: 28px;
}

.post-item {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 24px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--line);
}

.post-item:not(:has(.post-item-media)) {
	grid-template-columns: 1fr;
}

.post-item-media img {
	border-radius: var(--radius-s);
}

.post-item-title {
	font-size: 1.35rem;
	margin: 0 0 8px;
}

.post-item-title a {
	color: var(--ink);
	text-decoration: none;
}

.post-date {
	margin: 0 0 4px;
	color: var(--muted);
	font-size: 0.86rem;
}

.post-thumb {
	margin: 0 0 32px;
}

.search-results {
	margin: 0;
	padding: 0;
	list-style: none;
}

.search-results li {
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
}

.search-results h2 {
	font-size: 1.25rem;
	margin: 0 0 6px;
}

@media (max-width: 640px) {
	.post-item {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	background: var(--ink);
	color: var(--on-ink);
	font-size: 0.95rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.3fr);
	gap: 40px;
	padding-block: 56px 40px;
}

.brand--footer img {
	width: 190px;
	height: auto;
	margin-bottom: 18px;
}

.footer-about p {
	max-width: 30em;
	margin: 0;
}

.footer-title {
	margin: 0 0 14px;
	color: #fff;
	font-size: 1rem;
	font-stretch: 104%;
	font-weight: 650;
}

.site-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer li {
	margin: 8px 0;
}

.site-footer a {
	color: #DCE2F3;
	text-decoration: none;
}

.site-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.footer-contact li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.footer-contact .icon {
	margin-top: 3px;
	color: var(--on-ink-soft);
}

.social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin-top: 18px !important;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding: 20px 0 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--on-ink-soft);
	font-size: 0.85rem;
}

.footer-bottom p {
	margin: 0;
}

@media (max-width: 980px) {
	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

/* ==========================================================================
   WhatsApp button
   ========================================================================== */
.whatsapp-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 60;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 18px;
	border-radius: 999px;
	background: #0F7A3E;
	color: #fff;
	font-weight: 650;
	font-size: 0.95rem;
	text-decoration: none;
	box-shadow: 0 10px 28px rgba(14, 24, 56, 0.25);
}

.whatsapp-float:hover {
	background: #0B6633;
	color: #fff;
}

.whatsapp-float .icon {
	width: 22px;
	height: 22px;
}

@media (max-width: 600px) {
	.whatsapp-float {
		padding: 15px;
	}

	.whatsapp-float span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}
}

/* ==========================================================================
   WordPress classes
   ========================================================================== */
.alignleft {
	float: left;
	margin: 0 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.wp-caption-text,
.gallery-caption {
	color: var(--muted);
	font-size: 0.86rem;
}

.sticky,
.bypostauthor {
	display: block;
}

.eb-placeholder {
	opacity: 0.9;
}

/* ==========================================================================
   Motion and print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}

	html {
		scroll-behavior: auto;
	}
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

@media print {
	.topbar,
	.site-header,
	.product-subnav,
	.product-section--enquiry,
	.cta-band,
	.site-footer,
	.whatsapp-float,
	.related {
		display: none !important;
	}
}
