/*
Theme Name: Hongxing Steel
Theme URI: https://hongxing-steel.com/
Author: Hongxing Steel
Description: Lightweight, accessible presentation theme for the Hongxing Steel B2B product and inquiry website.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: hongxing-steel-theme
*/

:root {
	--hx-blue: #126aa5;
	--hx-blue-dark: #0c527f;
	--hx-blue-soft: #e9f3f8;
	--hx-ink: #17232c;
	--hx-muted: #5f6c75;
	--hx-line: #d8dfe3;
	--hx-surface: #f3f5f6;
	--hx-white: #fff;
	--hx-max: 1240px;
	--hx-content: 840px;
	--hx-shadow: 0 16px 40px rgba(23, 35, 44, 0.1);
	--hx-radius: 2px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--hx-white);
	color: var(--hx-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

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

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

button,
input,
select,
textarea {
	font: inherit;
}

button,
.hx-button,
.wp-block-button__link {
	border-radius: var(--hx-radius);
}

:focus-visible {
	outline: 3px solid #f4a340;
	outline-offset: 3px;
}

.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 {
	z-index: 100000;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	clip: auto;
	padding: 12px 18px;
	background: var(--hx-white);
	color: var(--hx-ink);
	font-weight: 700;
}

.skip-link {
	position: fixed;
	top: -100px;
	left: 12px;
	z-index: 100000;
}

.hx-container {
	width: min(calc(100% - 48px), var(--hx-max));
	margin-inline: auto;
}

.hx-narrow {
	width: min(calc(100% - 48px), var(--hx-content));
	margin-inline: auto;
}

.hx-section {
	padding-block: clamp(64px, 7vw, 108px);
}

.hx-section--soft {
	background: var(--hx-surface);
}

.hx-section-header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 42px;
}

.hx-section-header h2,
.hx-section-title {
	margin: 0;
	font-size: clamp(2.15rem, 4vw, 3.65rem);
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.hx-eyebrow {
	margin: 0 0 10px;
	color: var(--hx-blue);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.hx-lede {
	max-width: 720px;
	margin: 18px 0 0;
	color: var(--hx-muted);
	font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.hx-button,
.hx-inquiry-form button[type="submit"] {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 12px 22px;
	border: 2px solid var(--hx-blue);
	background: var(--hx-blue);
	color: var(--hx-white);
	font-size: 0.88rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.25;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
}

.hx-button:hover,
.hx-inquiry-form button[type="submit"]:hover {
	border-color: var(--hx-blue-dark);
	background: var(--hx-blue-dark);
	color: var(--hx-white);
}

.hx-button--light {
	border-color: var(--hx-white);
	background: var(--hx-white);
	color: var(--hx-blue-dark);
}

.hx-button--outline {
	background: transparent;
	color: var(--hx-blue);
}

.hx-text-link {
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

/* Header */
.site-header {
	position: relative;
	z-index: 100;
	background: var(--hx-white);
}

.hx-brand-bar {
	display: flex;
	min-height: 103px;
	align-items: center;
	justify-content: space-between;
	gap: 36px;
}

.hx-site-logo {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	text-decoration: none;
}

.hx-site-logo img,
.custom-logo {
	width: auto;
	max-width: min(330px, 42vw);
	height: 66px;
	object-fit: contain;
	object-position: left center;
}

.hx-brand-actions {
	display: flex;
	align-items: center;
	gap: 30px;
}

.hx-contact-quick {
	display: flex;
	align-items: center;
	gap: 30px;
}

.hx-contact-quick a {
	color: var(--hx-ink);
	font-size: 0.94rem;
	font-weight: 700;
	text-decoration: none;
}

.hx-contact-quick a::before {
	margin-right: 7px;
	color: var(--hx-blue);
}

.hx-phone-link::before {
	content: "Tel";
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hx-nav-bar {
	background: var(--hx-surface);
	border-block: 1px solid #e6eaec;
}

.hx-nav-row {
	display: flex;
	min-height: 48px;
	align-items: stretch;
	justify-content: space-between;
}

.hx-primary-nav {
	display: flex;
	align-items: stretch;
}

.hx-primary-nav ul {
	display: flex;
	align-items: stretch;
	gap: clamp(28px, 4vw, 58px);
	padding: 0;
	margin: 0;
	list-style: none;
}

.hx-primary-nav a {
	position: relative;
	display: flex;
	height: 100%;
	align-items: center;
	padding-block: 12px;
	color: var(--hx-ink);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.11em;
	text-decoration: none;
	text-transform: uppercase;
}

.hx-primary-nav a::after {
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 3px;
	background: var(--hx-blue);
	content: "";
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 180ms ease;
}

.hx-primary-nav a:hover::after,
.hx-primary-nav a[aria-current="page"]::after {
	transform: scaleX(1);
}

.hx-mobile-toggle {
	display: none;
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--hx-ink);
	cursor: pointer;
}

.hx-mobile-toggle-lines,
.hx-mobile-toggle-lines::before,
.hx-mobile-toggle-lines::after {
	display: block;
	width: 25px;
	height: 2px;
	background: currentcolor;
	content: "";
	transition: transform 180ms ease, opacity 180ms ease;
}

.hx-mobile-toggle-lines {
	position: relative;
}

.hx-mobile-toggle-lines::before {
	position: absolute;
	top: -8px;
}

.hx-mobile-toggle-lines::after {
	position: absolute;
	top: 8px;
}

.hx-mobile-toggle[aria-expanded="true"] .hx-mobile-toggle-lines {
	background: transparent;
}

.hx-mobile-toggle[aria-expanded="true"] .hx-mobile-toggle-lines::before {
	top: 0;
	transform: rotate(45deg);
}

.hx-mobile-toggle[aria-expanded="true"] .hx-mobile-toggle-lines::after {
	top: 0;
	transform: rotate(-45deg);
}

.hx-mobile-search {
	display: none;
}

/* Hero and page heading */
.hx-home-hero {
	display: grid;
	min-height: 445px;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	background: var(--hx-blue);
}

.hx-home-hero-media {
	min-height: 445px;
	background: #cbd2d6;
}

.hx-home-hero-media img,
.hx-image-placeholder {
	width: 100%;
	height: 100%;
	min-height: inherit;
	object-fit: cover;
}

.hx-image-placeholder {
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, #d9dfe2, #aeb9bf);
	color: #3e4b53;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hx-home-hero-copy {
	display: flex;
	align-items: center;
	padding: clamp(32px, 4vw, 58px) clamp(48px, 6.2vw, 90px);
	color: var(--hx-white);
}

.hx-home-hero-inner {
	max-width: 560px;
}

.hx-home-hero h1 {
	max-width: 12ch;
	margin: 0;
	font-size: clamp(3rem, 4.2vw, 4.2rem);
	font-weight: 620;
	letter-spacing: -0.055em;
	line-height: 0.98;
}

.hx-home-hero p {
	max-width: 48ch;
	margin: 22px 0 26px;
	font-size: clamp(1rem, 1.3vw, 1.18rem);
	line-height: 1.55;
}

.hx-page-header {
	padding: 30px 0 clamp(50px, 8vw, 95px);
	background: var(--hx-white);
}

.hx-page-header h1 {
	max-width: 14ch;
	margin: 28px 0 0;
	font-size: clamp(3.2rem, 7vw, 7rem);
	font-weight: 560;
	letter-spacing: -0.055em;
	line-height: 0.98;
}

.hx-page-header .hx-lede {
	max-width: 760px;
	margin-top: 28px;
}

.hx-breadcrumbs {
	font-size: 0.79rem;
	font-weight: 700;
	letter-spacing: 0.055em;
	text-transform: uppercase;
}

.hx-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.hx-breadcrumbs li:not(:last-child)::after {
	margin-left: 7px;
	color: #89949b;
	content: "/";
}

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

/* Cards and grids */
.hx-grid {
	display: grid;
	gap: 30px;
}

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

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

.hx-card {
	position: relative;
	display: flex;
	min-width: 0;
	flex-direction: column;
	background: var(--hx-white);
	border: 1px solid var(--hx-line);
	transition: box-shadow 180ms ease, transform 180ms ease;
}

.hx-card:hover,
.hx-card:focus-within {
	box-shadow: var(--hx-shadow);
	transform: translateY(-3px);
}

.hx-card-media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #dbe0e3;
}

.hx-card-media img,
.hx-card-media .hx-image-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 320ms ease;
}

.hx-card:hover .hx-card-media img {
	transform: scale(1.025);
}

.hx-card-body {
	display: flex;
	min-height: 150px;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 25px 26px 28px;
}

.hx-card h2,
.hx-card h3 {
	margin: 0;
	font-size: clamp(1.25rem, 2vw, 1.65rem);
	letter-spacing: -0.025em;
	line-height: 1.2;
}

.hx-card h2 a,
.hx-card h3 a {
	color: var(--hx-ink);
	text-decoration: none;
}

.hx-card h2 a::after,
.hx-card h3 a::after {
	position: absolute;
	inset: 0;
	content: "";
}

.hx-card p {
	margin: 14px 0 0;
	color: var(--hx-muted);
	font-size: 0.96rem;
	line-height: 1.6;
}

.hx-card .hx-card-action {
	margin-top: auto;
	padding-top: 22px;
	color: var(--hx-blue);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

/* Editorial and side navigation */
.hx-content-layout {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: clamp(50px, 7vw, 105px);
	align-items: start;
}

.hx-side-nav {
	position: sticky;
	top: 24px;
	border-top: 4px solid var(--hx-blue);
}

.hx-side-nav h2 {
	margin: 0;
	padding: 19px 18px 14px;
	font-size: 0.78rem;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.hx-side-nav ul {
	padding: 0;
	margin: 0;
	border-top: 1px solid var(--hx-line);
	list-style: none;
}

.hx-side-nav a {
	display: block;
	padding: 14px 18px;
	border-bottom: 1px solid var(--hx-line);
	color: var(--hx-ink);
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
}

.hx-side-nav a:hover,
.hx-side-nav a[aria-current="page"] {
	background: var(--hx-blue-soft);
	color: var(--hx-blue-dark);
}

.hx-entry-content {
	min-width: 0;
	font-size: 1.06rem;
}

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

.hx-entry-content h2 {
	margin: 2.4em 0 0.65em;
	font-size: clamp(1.9rem, 3vw, 2.8rem);
	letter-spacing: -0.035em;
	line-height: 1.14;
}

.hx-entry-content h3 {
	margin: 2em 0 0.5em;
	font-size: clamp(1.35rem, 2vw, 1.8rem);
	line-height: 1.25;
}

.hx-entry-content p,
.hx-entry-content ul,
.hx-entry-content ol {
	color: #3f4d56;
}

.hx-entry-content figure,
.hx-entry-content img {
	margin-block: 34px;
}

.hx-entry-content blockquote {
	padding: 4px 0 4px 25px;
	margin: 36px 0;
	border-left: 4px solid var(--hx-blue);
	font-size: 1.2rem;
}

.hx-table-scroll,
.wp-block-table {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

table {
	width: 100%;
	min-width: 620px;
	border-collapse: collapse;
	font-size: 0.94rem;
}

th,
td {
	padding: 15px 17px;
	border: 1px solid var(--hx-line);
	text-align: left;
	vertical-align: top;
}

th {
	background: var(--hx-surface);
	font-weight: 800;
}

/* Product detail */
.hx-product-intro,
.hx-application-intro,
.hx-contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
	gap: clamp(42px, 7vw, 96px);
	align-items: start;
}

.hx-product-intro > *,
.hx-application-intro > *,
.hx-contact-layout > *,
.hx-content-layout > * {
	min-width: 0;
}

.hx-product-image,
.hx-application-image {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--hx-surface);
}

.hx-product-image img,
.hx-application-image img,
.hx-product-image .hx-image-placeholder,
.hx-application-image .hx-image-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hx-product-summary h2,
.hx-contact-details h2 {
	margin: 0 0 18px;
	font-size: clamp(2rem, 3.5vw, 3.25rem);
	letter-spacing: -0.04em;
	line-height: 1.1;
}

.hx-product-summary .hx-button {
	margin-top: 24px;
}

.hx-specifications {
	margin-top: 54px;
}

.hx-specifications h2 {
	font-size: clamp(2rem, 3vw, 2.75rem);
	letter-spacing: -0.035em;
}

.hx-pagination {
	display: flex;
	justify-content: center;
	margin-top: 52px;
}

.hx-pagination .page-numbers {
	display: inline-flex;
	min-width: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	margin: 3px;
	border: 1px solid var(--hx-line);
	color: var(--hx-ink);
	font-weight: 700;
	text-decoration: none;
}

.hx-pagination .current,
.hx-pagination a:hover {
	border-color: var(--hx-blue);
	background: var(--hx-blue);
	color: var(--hx-white);
}

/* CTA */
.hx-cta {
	background: var(--hx-blue);
	color: var(--hx-white);
}

.hx-cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 44px;
	padding-block: clamp(55px, 7vw, 88px);
}

.hx-cta h2 {
	max-width: 700px;
	margin: 0;
	font-size: clamp(2.1rem, 4vw, 4rem);
	letter-spacing: -0.04em;
	line-height: 1.08;
}

.hx-cta p {
	max-width: 720px;
	margin: 16px 0 0;
	opacity: 0.9;
}

/* Forms and search */
.hx-inquiry-form,
.hx-search-form-large {
	margin-top: 30px;
}

.hx-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 24px;
}

.hx-form-field,
.hx-form-consent,
.hx-form-submit {
	margin: 0 0 22px;
}

.hx-form-field label,
.hx-inquiry-form label {
	display: block;
	margin-bottom: 7px;
	color: var(--hx-ink);
	font-size: 0.85rem;
	font-weight: 800;
}

.hx-inquiry-form input:not([type="checkbox"]),
.hx-inquiry-form textarea,
.hx-search-form-large input[type="search"],
.search-form input[type="search"] {
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	border: 1px solid #aeb8be;
	border-radius: 0;
	background: var(--hx-white);
	color: var(--hx-ink);
}

.hx-inquiry-form textarea {
	min-height: 170px;
	resize: vertical;
}

.hx-form-consent label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 500;
}

.hx-form-consent input {
	width: 20px;
	height: 20px;
	margin-top: 4px;
}

.hx-form-feedback {
	padding: 14px 16px;
	margin-bottom: 24px;
	border-left: 4px solid var(--hx-blue);
	background: var(--hx-blue-soft);
}

.hx-form-feedback-invalid,
.hx-form-feedback-security,
.hx-form-feedback-save_failed,
.hx-form-feedback-mail_failed,
.hx-form-feedback-slow_down {
	border-color: #b4433f;
	background: #fff2f1;
}

.hx-search-row {
	display: flex;
	gap: 12px;
}

.hx-search-row input {
	flex: 1;
}

.hx-search-row button {
	flex: 0 0 auto;
}

.hx-contact-panel {
	min-height: 520px;
	padding: clamp(38px, 5vw, 65px);
	background: var(--hx-surface);
}

.hx-contact-list {
	padding: 0;
	margin: 34px 0 0;
	list-style: none;
}

.hx-contact-list li {
	padding-block: 18px;
	border-top: 1px solid var(--hx-line);
}

.hx-contact-list strong {
	display: block;
	margin-bottom: 4px;
	font-size: 0.76rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Empty and error states */
.hx-empty-state {
	max-width: 780px;
	padding: clamp(32px, 5vw, 58px);
	border: 1px solid var(--hx-line);
	background: var(--hx-white);
}

.hx-empty-state h2 {
	margin: 0 0 14px;
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	line-height: 1.15;
}

.hx-error-code {
	display: block;
	color: var(--hx-blue);
	font-size: clamp(5rem, 18vw, 13rem);
	font-weight: 700;
	letter-spacing: -0.08em;
	line-height: 0.8;
}

.hx-quick-links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

/* Footer */
.site-footer {
	background: #e9edef;
	color: #334149;
}

.hx-footer-grid {
	display: grid;
	grid-template-columns: 1.45fr repeat(4, 1fr);
	gap: clamp(34px, 5vw, 72px);
	padding-block: clamp(60px, 7vw, 92px);
}

.hx-footer-brand img {
	width: auto;
	max-width: 260px;
	height: 56px;
	object-fit: contain;
	object-position: left center;
}

.hx-footer-brand p {
	max-width: 360px;
	margin: 24px 0 0;
	font-size: 0.94rem;
}

.hx-footer-column h2 {
	margin: 0 0 19px;
	font-size: 0.79rem;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

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

.hx-footer-column li + li {
	margin-top: 10px;
}

.hx-footer-column a {
	color: #334149;
	font-size: 0.92rem;
	text-decoration: none;
}

.hx-footer-column a:hover {
	color: var(--hx-blue-dark);
	text-decoration: underline;
}

.hx-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding-block: 22px;
	border-top: 1px solid #ccd4d8;
	font-size: 0.82rem;
}

.hx-footer-bottom p {
	margin: 0;
}

/* WordPress alignments */
.alignwide {
	width: min(1120px, 100%);
	max-width: none;
	margin-right: auto;
	margin-left: auto;
}

.alignfull {
	width: 100vw;
	max-width: none;
	margin-left: calc(50% - 50vw);
}

.wp-caption-text {
	color: var(--hx-muted);
	font-size: 0.84rem;
}

@media (max-width: 1050px) {
	.hx-brand-actions .hx-button,
	.hx-contact-quick .hx-search-link {
		display: none;
	}

	.hx-grid--4 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

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

@media (max-width: 820px) {
	body {
		font-size: 16px;
	}

	.hx-container,
	.hx-narrow {
		width: min(calc(100% - 36px), var(--hx-max));
	}

	.hx-brand-bar {
		min-height: 85px;
	}

	.hx-site-logo img,
	.custom-logo {
		max-width: min(240px, 62vw);
		height: 54px;
	}

	.hx-brand-actions,
	.hx-contact-quick {
		gap: 10px;
	}

	.hx-contact-quick,
	.hx-nav-bar .hx-button {
		display: none;
	}

	.hx-mobile-toggle {
		display: inline-flex;
	}

	.hx-nav-row {
		min-height: 0;
	}

	.hx-primary-nav {
		position: absolute;
		top: 85px;
		right: 0;
		left: 0;
		display: none;
		max-height: calc(100vh - 85px);
		overflow-y: auto;
		padding: 20px 18px 34px;
		background: var(--hx-white);
		border-top: 1px solid var(--hx-line);
		box-shadow: var(--hx-shadow);
	}

	.hx-primary-nav.is-open {
		display: block;
	}

	.hx-primary-nav ul {
		display: block;
	}

	.hx-primary-nav li {
		border-bottom: 1px solid var(--hx-line);
	}

	.hx-primary-nav a {
		padding: 18px 4px;
		font-size: 0.96rem;
	}

	.hx-primary-nav a::after {
		display: none;
	}

	.hx-mobile-search {
		display: block;
		padding-top: 24px;
	}

	.hx-mobile-search .hx-search-row {
		display: grid;
		grid-template-columns: 1fr auto;
	}

	.hx-mobile-search .hx-button {
		display: inline-flex;
	}

	.hx-home-hero {
		min-height: 0;
		grid-template-columns: 1fr;
	}

	.hx-home-hero-media {
		min-height: clamp(240px, 62vw, 440px);
	}

	.hx-home-hero-copy {
		padding: 30px 24px;
	}

	.hx-home-hero h1 {
		max-width: 12ch;
	}

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

	.hx-content-layout {
		grid-template-columns: 1fr;
	}

	.hx-side-nav {
		display: none;
	}

	.hx-product-intro,
	.hx-application-intro,
	.hx-contact-layout {
		grid-template-columns: 1fr;
	}

	.hx-cta-inner {
		align-items: flex-start;
		flex-direction: column;
	}

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

@media (max-width: 560px) {
	.hx-container,
	.hx-narrow {
		width: min(calc(100% - 30px), var(--hx-max));
	}

	.hx-home-hero-media {
		min-height: 241px;
	}

	.hx-home-hero-copy {
		min-height: 241px;
		padding: 24px;
	}

	.hx-home-hero h1 {
		font-size: 2.25rem;
		line-height: 1.02;
	}

	.hx-home-hero p {
		margin: 16px 0 18px;
		font-size: 0.9rem;
		line-height: 1.45;
	}

	.hx-home-hero .hx-button {
		min-height: 42px;
		padding: 9px 16px;
		font-size: 0.72rem;
	}

	.hx-page-header h1 {
		font-size: clamp(2.8rem, 15vw, 4.8rem);
	}

	.hx-section-header {
		align-items: flex-start;
		flex-direction: column;
	}

	.hx-grid--3 {
		grid-template-columns: 1fr;
	}

	.hx-grid--4 {
		grid-template-columns: 1fr;
	}

	.hx-product-category-grid,
	.hx-applications-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.hx-applications-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.hx-applications-grid .hx-card-body {
		min-height: 120px;
		padding: 17px;
	}

	.hx-applications-grid .hx-card h2,
	.hx-applications-grid .hx-card h3 {
		font-size: 1.06rem;
	}

	.hx-applications-grid .hx-card p {
		display: none;
	}

	.hx-form-grid {
		grid-template-columns: 1fr;
	}

	.hx-search-row {
		align-items: stretch;
		flex-direction: column;
	}

	.hx-search-row button {
		width: 100%;
	}

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

	.hx-footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.hx-quick-links {
		align-items: stretch;
		flex-direction: column;
	}
}

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

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