/*
Theme Name: YXYSteel Crimson
Theme URI: https://yxysteel.com/
Author: YXYSteel
Author URI: https://yxysteel.com/
Description: Custom industrial steel supplier theme for YXYSteel. Homepage, Processing and product category archive framework.
Version: 0.6.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: yxsteel-crimson
*/

:root {
  --yx-crimson: #a9283d;
  --yx-crimson-strong: #7e1d2e;
  --yx-tint: #f6eded;
  --yx-ink: #333333;
  --yx-ink-strong: #1a1a1a;
  --yx-ink-muted: #5a5a5a;
  --yx-ink-subtle: #6e6e6e;
  --yx-surface: #ffffff;
  --yx-band: #f8f8f8;
  --yx-band-2: #f6f6f6;
  --yx-border: #dddddd;
  --yx-container: 1200px;
  --yx-gutter: 20px;
  --yx-radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--yx-ink);
  background: var(--yx-surface);
  font-family: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--yx-crimson); }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid var(--yx-crimson); 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; }
.container { width: min(calc(100% - 40px), var(--yx-container)); margin: 0 auto; }
.section { padding: 72px 0; }
.section--band { background: var(--yx-band); }
.section-heading { margin: 0 0 16px; color: var(--yx-crimson); font-size: clamp(26px, 3vw, 30px); line-height: 1.25; font-weight: 700; text-align: center; text-transform: uppercase; }
.section-intro { max-width: 660px; margin: 0 auto 40px; color: var(--yx-ink-muted); font-size: 14px; text-align: center; }
.eyebrow { margin: 0 0 12px; color: var(--yx-crimson); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 18px; border: 1px solid transparent; border-radius: var(--yx-radius); font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer; transition: .25s ease; }
.button--primary { color: #fff; background: var(--yx-crimson); }
.button--primary:hover { color: #fff; background: var(--yx-ink-strong); }
.button--outline { color: var(--yx-crimson); background: transparent; border-color: var(--yx-crimson); }
.button--outline:hover { color: #fff; background: var(--yx-crimson); }
.button--light { color: var(--yx-crimson); background: #fff; }
.button--light:hover { color: #fff; background: var(--yx-crimson); }

.site-header { position: relative; z-index: 10; color: #fff; background: linear-gradient(rgba(26,26,26,.86), rgba(26,26,26,.94)), url("assets/images/factory-wide.jpg") center/cover; }
.header-utility { border-bottom: 1px solid rgba(255,255,255,.2); }
.header-utility__inner { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 20px; font-size: 14px; }
.header-contact { display: flex; flex-wrap: wrap; gap: 22px; color: #fff; }
.header-contact span { opacity: .9; }
.header-language a { margin-left: 14px; color: #fff; opacity: .82; }
.header-language a:hover, .header-language a[aria-current="page"] { opacity: 1; color: #fff; }
.header-main { display: flex; min-height: 114px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.brand-logo { display: block; height: 46px; width: auto; max-width: 65px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.brand-mark { display: grid; width: 44px; height: 44px; place-items: center; color: #fff; background: var(--yx-crimson); font-size: 18px; font-weight: 700; }
.brand-text { font-size: 22px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.brand-subtitle { display: block; margin-top: -2px; color: rgba(255,255,255,.75); font-size: 10px; letter-spacing: .18em; font-weight: 600; }
.main-navigation ul { display: flex; align-items: center; gap: 24px; padding: 0; margin: 0; list-style: none; }
.main-navigation a { display: inline-flex; min-height: 44px; align-items: center; color: #fff; font-size: 14px; font-weight: 700; text-transform: uppercase; }
.main-navigation a:hover, .main-navigation .current-menu-item > a, .main-navigation .current_page_item > a { color: #fff; border-bottom: 2px solid var(--yx-crimson); }
.menu-toggle { display: none; min-width: 44px; min-height: 44px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.4); }

.hero { position: relative; min-height: 540px; display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center; background: linear-gradient(rgba(0,0,0,.42), rgba(0,0,0,.62)), url("assets/images/factory-wide.jpg") center/cover; }
.hero__content { max-width: 780px; padding: 100px 0; }
.hero h1 { margin: 0 0 22px; color: #fff; font-size: clamp(34px, 5vw, 56px); line-height: 1.12; letter-spacing: .01em; text-transform: uppercase; }
.hero p { max-width: 620px; margin: 0 auto 30px; color: rgba(255,255,255,.9); font-size: 18px; }
.hero__rule { width: 68px; height: 3px; margin: 0 auto 24px; background: var(--yx-crimson); }

.category-promo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.category-card { padding: 18px 20px 24px; text-align: center; }
.category-card__icon { display: grid; width: 88px; height: 88px; place-items: center; margin: 0 auto 24px; color: #fff; background: var(--yx-ink); border-radius: 50%; font-size: 28px; font-weight: 700; }
.category-card h2 { margin: 0 0 14px; color: var(--yx-ink); font-size: 26px; line-height: 1.2; }
.category-card p { min-height: 76px; margin: 0 auto 22px; color: var(--yx-ink-muted); font-size: 14px; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: center; }
.split__media img { width: 100%; aspect-ratio: 1.2; object-fit: cover; }
.split__copy h2 { margin: 0 0 16px; color: var(--yx-crimson); font-size: 30px; line-height: 1.2; }
.split__copy p { margin: 0 0 22px; color: var(--yx-ink-muted); font-size: 16px; }
.capability-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; padding: 0; margin: 28px 0; list-style: none; }
.capability-list li { padding-left: 20px; color: var(--yx-ink); font-size: 14px; border-left: 3px solid var(--yx-crimson); }

.product-grid, .archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.product-card { display: flex; flex-direction: column; background: #ffffff; border: 1px solid #deded9; border-radius: 2px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.03); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.08); border-color: var(--yx-crimson); }
.product-card__image { display: block; aspect-ratio: 4 / 3; width: 100%; overflow: hidden; background: #1c1c1c; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-card__image img { transform: scale(1.04); }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.product-card h3 { margin: 0 0 10px; color: var(--yx-ink-strong); font-size: 18px; line-height: 1.35; font-weight: 700; }
.product-card h3 a { color: inherit; }
.product-card h3 a:hover { color: var(--yx-crimson); }
.product-card p { margin: 0 0 16px; color: var(--yx-ink-muted); font-size: 13.5px; line-height: 1.55; flex: 1; }
.product-card__action { display: flex; gap: 10px; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px solid #f0f0ed; }
.product-card__action .button { flex: 1; padding: 8px 14px; font-size: 13px; text-align: center; justify-content: center; border-radius: var(--yx-radius); }
.product-card__quote { display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; color: #fff; background: var(--yx-crimson-strong); font-size: 12.5px; font-weight: 600; border-radius: var(--yx-radius); text-decoration: none; }
.product-card__quote:hover { background: var(--yx-ink-strong); color: #fff; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 52px; }
.pagination .page-numbers { display: grid; min-width: 44px; height: 44px; place-items: center; color: var(--yx-ink); background: #fff; border: 1px solid var(--yx-border); }
.pagination .current, .pagination a:hover { color: #fff; background: var(--yx-crimson); border-color: var(--yx-crimson); }
.empty-state { padding: 64px 20px; border: 1px dashed var(--yx-border); text-align: center; }

.site-footer { color: #fff; background: var(--yx-ink); }
.footer-main { display: grid; grid-template-columns: 1fr 1fr 1.2fr 1.4fr; gap: 40px; padding: 62px 0; }
.footer-column h2 { margin: 0 0 18px; color: #fff; font-size: 16px; text-transform: uppercase; }
.footer-column ul { padding: 0; margin: 0; list-style: none; }
.footer-column li { margin-bottom: 8px; color: rgba(255,255,255,.72); font-size: 14px; }
.footer-column li a:hover { color: #fff; }
.footer-column p { margin: 0 0 12px; color: rgba(255,255,255,.72); font-size: 14px; }
.footer-form { display: flex; margin-top: 18px; }
.footer-form input { flex: 1; min-width: 0; min-height: 48px; padding: 10px 12px; color: var(--yx-ink); border: 0; }
.footer-form button { width: 54px; min-height: 48px; color: #fff; background: var(--yx-crimson); border: 0; cursor: pointer; }
.footer-bottom { padding: 18px 0; color: #fff; background: var(--yx-crimson); font-size: 13px; }
.footer-bottom__inner { display: flex; justify-content: space-between; gap: 20px; }

.mobile-action-bar { display: none; }
@media (max-width: 991px) {
  .main-navigation { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-main { min-height: 82px; }
  .category-promo, .trust-grid { grid-template-columns: 1fr; }
  .category-card p { min-height: auto; max-width: 520px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { padding-bottom: 60px; }
  .container { width: min(calc(100% - 32px), var(--yx-container)); }
  .section { padding: 54px 0; }
  .header-utility { display: none; }
  .header-main { min-height: 62px; }
  .brand-logo { height: 38px; }
  .brand-text { font-size: 18px; }
  .brand-mark { width: 38px; height: 38px; }
  .hero { min-height: 470px; }
  .hero__content { padding: 72px 0; }
  .hero p { font-size: 16px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split__copy { order: 2; }
  .capability-list { grid-template-columns: 1fr; }
  .product-grid, .archive-grid { grid-template-columns: 1fr; }
  .archive-hero { padding: 54px 0 46px; }
  .archive-content { padding: 40px 0 54px; }
  .archive-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-filters a { padding-left: 8px; padding-right: 8px; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .footer-bottom__inner { display: block; text-align: center; }
  .footer-bottom__inner > * { margin: 4px 0; }
  .mobile-action-bar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 20; display: grid; grid-template-columns: repeat(2, 1fr); min-height: 60px; background: #fff; border-top: 1px solid var(--yx-border); box-shadow: 0 -4px 18px rgba(0,0,0,.08); }
  .mobile-action-bar a { display: grid; min-height: 60px; place-items: center; color: var(--yx-crimson); font-size: 13px; font-weight: 700; text-transform: uppercase; }
  .mobile-action-bar a + a { border-left: 1px solid var(--yx-border); }
  .mobile-action-bar a:hover { color: #fff; background: var(--yx-ink); }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Reusable enquiry form */
.yxsteel-inquiry-form { padding: 28px; color: var(--yx-ink); background: rgba(255,255,255,.98); border: 1px solid rgba(221,221,221,.9); }
.yxsteel-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.yxsteel-form-grid label, .yxsteel-form-consent { display: flex; flex-direction: column; gap: 6px; color: var(--yx-ink-strong); font-size: 13px; font-weight: 700; }
.yxsteel-form-grid__wide { grid-column: 1 / -1; }
.yxsteel-inquiry-form input, .yxsteel-inquiry-form select, .yxsteel-inquiry-form textarea { width: 100%; min-height: 44px; padding: 10px 12px; color: var(--yx-ink); background: #fff; border: 1px solid var(--yx-border); border-radius: 0; }
.yxsteel-inquiry-form textarea { min-height: 120px; resize: vertical; }
.yxsteel-form-consent { flex-direction: row; align-items: flex-start; margin: 18px 0; font-weight: 400; }
.yxsteel-form-consent input { width: 18px; min-height: 18px; margin-top: 2px; accent-color: var(--yx-crimson); }
.yxsteel-form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.yxsteel-form-notice { padding: 12px 14px; margin-bottom: 18px; font-size: 14px; }
.yxsteel-form-notice--success { color: #184c2e; background: #e9f5ed; border-left: 4px solid #2c8c52; }
.yxsteel-form-notice--error { color: #7e1d2e; background: #f6eded; border-left: 4px solid var(--yx-crimson); }
.section-red-cta__inner--form { grid-template-columns: .85fr 1.15fr; align-items: stretch; }
.processing-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.processing-card { display: flex; min-height: 300px; flex-direction: column; justify-content: space-between; padding: 30px; color: #fff; background: var(--yx-ink); border-top: 6px solid var(--yx-crimson); }
.processing-card:nth-child(2) { background: var(--yx-crimson-strong); border-top-color: #e9c4cb; }
.processing-card h2 { margin: 0 0 12px; color: #fff; font-size: 28px; }
.processing-card p { color: rgba(255,255,255,.82); }
.processing-card__meta { color: #f0c2c9; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.processing-card .button { align-self: flex-start; }
.landing-breadcrumb-wrap { padding-top: 18px; padding-bottom: 18px; background: #f8f8f8; }
.landing-page .landing-breadcrumb-wrap { width: 100%; max-width: none; padding-left: max(20px, calc((100vw - var(--yx-container)) / 2)); padding-right: max(20px, calc((100vw - var(--yx-container)) / 2)); }
@media (max-width: 640px) {
  .yxsteel-form-grid { grid-template-columns: 1fr; }
  .yxsteel-form-grid__wide { grid-column: auto; }
  .yxsteel-inquiry-form { padding: 20px 16px; }
  .section-red-cta__inner--form { grid-template-columns: 1fr; }
  .processing-card-grid { grid-template-columns: 1fr; }
}


/* Immersive industrial collision system */
.hero--photo { min-height: 650px; justify-items: start; text-align: left; background-position: center; }
.hero__content--left { width: 100%; max-width: 680px; margin-left: max(0px, calc((100vw - var(--yx-container)) / 2)); padding-left: 20px; }
.hero__content--left .hero__rule { margin-left: 0; }
.hero__content--left .hero p { margin-left: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__stamp { position: absolute; right: max(20px, calc((100vw - var(--yx-container)) / 2)); bottom: 42px; display: flex; align-items: center; gap: 14px; color: #fff; text-transform: uppercase; background: rgba(20,20,20,.65); padding: 10px 18px 10px 10px; border-radius: 3px; border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.hero__stamp-mark { display: grid; width: 62px; height: 62px; place-items: center; background: var(--yx-crimson-strong); border-radius: 2px; }
.hero__stamp-logo { display: block; max-width: 48px; max-height: 40px; width: auto; height: auto; object-fit: contain; }
.hero__stamp strong, .hero__stamp-name { display: block; color: #fff; font-size: 15px; font-weight: 800; letter-spacing: .08em; margin-bottom: 2px; }
.hero__stamp span { color: rgba(255,255,255,.88); font-size: 11px; line-height: 1.35; letter-spacing: .12em; }
.impact-band { color: #fff; }
.impact-band--red, .section--red-cta, .section--red-block { background: var(--yx-crimson-strong); }
.impact-band__inner, .section-red-cta__inner { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 44px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.impact-band h2, .section-red-cta__inner h2 { margin: 0; color: #fff; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; text-transform: uppercase; }
.impact-band h2 span { color: #e9c4cb; }
.impact-band p:not(.eyebrow), .section-red-cta__inner p:not(.eyebrow) { margin: 0; color: rgba(255,255,255,.86); font-size: 15px; }
.impact-eyebrow { color: #f0c2c9; }
.section--dark-photo { color: #fff; background-position: center; background-size: cover; }
.section-heading-wrap { margin-bottom: 38px; text-align: center; }
.section-heading--white { color: #fff; }
.section-intro--white { color: rgba(255,255,255,.78); }
.category-promo--collision { gap: 0; align-items: stretch; }
.category-card--dark, .category-card--red, .category-card--gray { padding: 40px 28px 34px; text-align: left; }
.category-card--dark { color: #fff; background: rgba(26,26,26,.92); }
.category-card--red { color: #fff; background: rgba(126,29,46,.94); }
.category-card--gray { color: var(--yx-ink); background: rgba(242,242,240,.96); }
.category-card--dark h2, .category-card--red h2 { color: #fff; }
.category-card--gray h2 { color: var(--yx-ink-strong); }
.category-card--dark p, .category-card--red p { color: rgba(255,255,255,.82); }
.category-card--gray p { color: var(--yx-ink-muted); }
.category-card--dark .category-card__icon { background: var(--yx-crimson); }
.category-card--red .category-card__icon { background: #fff; color: var(--yx-crimson-strong); }
.category-card--gray .category-card__icon { background: var(--yx-ink); }
.section--split-collision { padding: 0; background: var(--yx-ink); }
.split--collision { max-width: none; width: 100%; gap: 0; min-height: 310px; max-height: 320px; height: 310px; }
.split--collision .split__media { min-height: 310px; max-height: 320px; height: 100%; flex: 1.1; overflow: hidden; }
.split--collision .split__media img { width: 100%; height: 100%; min-height: 310px; max-height: 320px; aspect-ratio: auto; object-fit: cover; object-position: center 36%; display: block; }
.split__copy--red { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 22px max(24px, calc((100vw - var(--yx-container)) / 2)) 22px 40px; color: #fff; background: var(--yx-crimson-strong); flex: 1.2; overflow: hidden; }
.split__copy--red .eyebrow { margin: 0 0 4px; font-size: 11px; letter-spacing: .1em; }
.split__copy--red h2 { margin: 0 0 6px; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.15; color: #fff; text-transform: uppercase; }
.split__copy--red p { margin: 0 0 10px; font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,.92); }
.capability-list--light { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 14px; margin: 0 0 12px; }
.capability-list--light li { color: rgba(255,255,255,.92); border-left: 2px solid #f0c2c9; font-size: 11.5px; line-height: 1.35; padding-left: 8px; margin: 0; list-style: none; }
.split__copy--red .button { align-self: flex-start; padding: 6px 14px; font-size: 11.5px; }
.section--gray-block { background: #d7d8d6; }
.trust-grid--photo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trust-card--wide { min-height: 430px; }
.section--red-cta { color: #fff; }
.button--outline-light { color: #fff; border-color: rgba(255,255,255,.8); }
.button--outline-light:hover { color: var(--yx-crimson-strong); background: #fff; }

/* Wear-resistant steel landing page */
.landing-hero { min-height: 510px; display: grid; align-items: center; color: #fff; background-position: center; background-size: cover; }
.landing-hero__content { max-width: 800px; padding: 92px 0; }
.landing-hero h1 { max-width: 780px; margin: 0 0 20px; color: #fff; font-size: clamp(36px, 5vw, 60px); line-height: 1.08; text-transform: uppercase; }
.landing-hero p:not(.eyebrow) { max-width: 680px; margin: 0 0 28px; color: rgba(255,255,255,.88); font-size: 18px; }
.landing-kpis { color: #fff; background: var(--yx-ink-strong); }
.landing-kpis__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.landing-kpis__grid > div { min-height: 142px; display: flex; flex-direction: column; justify-content: center; padding: 22px; border-right: 1px solid rgba(255,255,255,.16); }
.landing-kpis strong { color: #fff; font-size: clamp(24px, 3vw, 36px); line-height: 1.1; }
.landing-kpis span { margin-top: 8px; color: rgba(255,255,255,.62); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.landing-copy-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.landing-heading { margin: 0; color: var(--yx-ink-strong); font-size: clamp(30px, 4vw, 46px); line-height: 1.12; text-transform: uppercase; }
.landing-copy-grid p { margin: 0 0 20px; color: var(--yx-ink-muted); }
.grade-table-wrap { overflow-x: auto; border: 1px solid rgba(255,255,255,.28); }
.grade-table { width: 100%; min-width: 760px; border-collapse: collapse; color: #fff; background: rgba(26,26,26,.78); font-size: 13px; }
.grade-table th { color: #f0c2c9; background: var(--yx-crimson-strong); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.grade-table th, .grade-table td { padding: 15px 12px; text-align: center; border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.grade-table td:first-child { color: #fff; font-weight: 700; }
.application-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--yx-ink); }
.application-grid article { min-height: 250px; padding: 26px 22px; background: #ececea; }
.application-grid span { color: var(--yx-crimson); font-size: 34px; font-weight: 700; }
.application-grid h3 { margin: 30px 0 10px; color: var(--yx-ink-strong); font-size: 20px; }
.application-grid p { margin: 0; color: var(--yx-ink-muted); font-size: 14px; }
.split--landing { gap: 48px; }
.split__copy--white h2, .split__copy--white p { color: #fff; }
.split__copy--white h2 { font-size: clamp(30px, 4vw, 46px); }
.split--landing .split__media img { aspect-ratio: 1.25; }
.landing-cta { text-align: center; background: #f0f0ee; }
.landing-cta h2 { margin: 0 0 12px; color: var(--yx-ink-strong); font-size: clamp(30px, 4vw, 46px); }
.landing-cta p:not(.eyebrow) { max-width: 680px; margin: 0 auto 24px; color: var(--yx-ink-muted); }

@media (max-width: 991px) {
  .hero__content--left { margin-left: 0; padding-left: 0; }
  .hero__stamp { right: 20px; }
  .impact-band__inner, .section-red-cta__inner { grid-template-columns: 1fr; gap: 20px; }
  .category-promo--collision, .trust-grid--photo { grid-template-columns: 1fr; }
  .split--collision { grid-template-columns: 1fr; }
  .split--collision .split__media, .split--collision .split__media img { min-height: 380px; }
  .split__copy--red { padding: 56px 20px; }
  .landing-kpis__grid { grid-template-columns: repeat(2, 1fr); }
  .landing-copy-grid { grid-template-columns: 1fr; gap: 24px; }
  .application-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .yxsteel-form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
  .yxsteel-form-grid > label { display: flex; width: 100%; }
  .yxsteel-form-grid__wide { grid-column: auto; }
  .hero--photo { min-height: 560px; }
  .hero__stamp { right: 16px; bottom: 22px; }
  .hero__stamp strong { width: 54px; height: 54px; font-size: 22px; }
  .hero__stamp span { font-size: 9px; }
  .category-card--dark, .category-card--red, .category-card--gray { padding: 30px 22px; }
  .landing-hero { min-height: 590px; }
  .landing-hero__content { padding: 74px 0; }
  .landing-hero h1 { font-size: 36px; }
  .landing-hero p:not(.eyebrow) { font-size: 16px; }
  .landing-kpis__grid { grid-template-columns: 1fr 1fr; }
  .landing-kpis__grid > div { min-height: 126px; padding: 18px 12px; }
  .landing-kpis strong { font-size: 22px; }
  .application-grid { grid-template-columns: 1fr; }
  .application-grid article { min-height: auto; }
  .home-products-grid { grid-template-columns: 1fr !important; }
  .bento-mosaic-row, .bento-mosaic-row--reverse { grid-template-columns: 1fr !important; }
  .bento-card { min-height: 280px !important; }
  .home-processing-banner__inner { grid-template-columns: 1fr !important; gap: 28px !important; }
  .home-processing-banner__grid { grid-template-columns: 1fr !important; }
}

/* Homepage 4-column Product Grid */
.section--home-products { background: #e9e9e7; padding: 70px 0 80px; }
.home-products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.home-product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(0,0,0,.08); box-shadow: 0 4px 14px rgba(0,0,0,.04); transition: transform .2s ease, box-shadow .2s ease; overflow: hidden; }
.home-product-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,.09); border-color: var(--yx-crimson); }
.home-product-card__image-wrap { position: relative; aspect-ratio: 4 / 3; width: 100%; overflow: hidden; background: #222; }
.home-product-card__image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.home-product-card:hover .home-product-card__image-wrap img { transform: scale(1.04); }
.home-product-card__tag { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 10px; background: var(--yx-crimson-strong); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.home-product-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 20px 24px; }
.home-product-card__body h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.25; color: var(--yx-ink-strong); }
.home-product-card__body h3 a { color: inherit; }
.home-product-card__body h3 a:hover { color: var(--yx-crimson); }
.home-product-card__spec { font-size: 12px; font-weight: 700; color: var(--yx-crimson-strong); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.home-product-card__body p { margin: 0 0 18px; font-size: 13.5px; line-height: 1.5; color: var(--yx-ink-muted); flex: 1; }
.home-product-card__body .button { align-self: flex-start; margin-top: auto; padding: 8px 16px; font-size: 12.5px; }

@media (max-width: 1080px) and (min-width: 641px) {
  .home-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Homepage Processing Full-width Banner */
.home-processing-banner { position: relative; padding: 80px 0; background-color: #1a1a1a; background-size: cover; background-position: center; color: #fff; overflow: hidden; }
.home-processing-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(126,29,46,.92) 0%, rgba(26,26,26,.88) 55%, rgba(26,26,26,.75) 100%); z-index: 1; }
.home-processing-banner .container { position: relative; z-index: 2; }
.home-processing-banner__inner { display: grid; grid-template-columns: 1fr 1.35fr; gap: 48px; align-items: center; }
.home-processing-banner__header h2 { margin: 12px 0 16px; color: #fff; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.15; text-transform: uppercase; }
.home-processing-banner__header p { color: rgba(255,255,255,.86); font-size: 16px; line-height: 1.55; margin: 0 0 24px; }
.home-processing-banner__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.home-processing-banner__item { background: rgba(0,0,0,.36); border: 1px solid rgba(255,255,255,.18); padding: 20px; backdrop-filter: blur(4px); }
.home-processing-banner__item-num { display: inline-block; color: #f0c2c9; font-size: 13px; font-weight: 800; letter-spacing: .1em; margin-bottom: 6px; }
.home-processing-banner__item h4 { margin: 0 0 6px; color: #fff; font-size: 16px; font-weight: 700; }
.home-processing-banner__item p { margin: 0; color: rgba(255,255,255,.76); font-size: 12.5px; line-height: 1.45; }

/* 2x2 Asymmetric Mosaic / Bento System (Matching Reference Image) */
.bento-mosaic-section { padding: 60px 0; }
.bento-mosaic-container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.bento-mosaic-grid { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.bento-mosaic-row { display: grid; grid-template-columns: 1.45fr 1fr; gap: 24px; }
.bento-mosaic-row--reverse { grid-template-columns: 1fr 1.45fr; }

.bento-card { position: relative; border-radius: 2px; overflow: hidden; min-height: 330px; display: flex; box-sizing: border-box; }
.bento-card--clickable { cursor: pointer; text-decoration: none; }
.bento-card--clickable:hover h3 { color: #f0c2c9; }
.bento-card--clickable:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.35); }

/* Video Hero Banner */
.hero--video { position: relative; overflow: hidden; min-height: 600px; display: flex; align-items: center; background: #111; }
.hero__video-bg { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; transform: translate(-50%, -50%); object-fit: cover; z-index: 0; pointer-events: none; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,16,16,0.88) 0%, rgba(20,20,20,0.65) 52%, rgba(126,29,46,0.38) 100%); z-index: 1; }
.hero--video .container, .hero--video .hero__stamp { position: relative; z-index: 2; }

/* Enhanced Clear Grid Tables with Visible Borders & Vertical Lines */
.product-detail__table-wrap { overflow-x: auto; margin: 18px 0 26px; border: 1px solid #b8b8b8; box-shadow: 0 2px 8px rgba(0,0,0,.03); }
.product-table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 13.5px; line-height: 1.45; }
.product-table th, .product-table td { padding: 11px 14px; border: 1px solid #c0c0c0; text-align: left; }
.product-table th { background: #262626; color: #ffffff; font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: .04em; border-color: #383838; }
.product-table tbody tr:nth-child(even) { background: #f5f5f3; }
.product-table tbody tr:hover { background: #ebebe8; }
.product-table td:first-child { font-weight: 700; color: var(--yx-ink-strong); }

/* Product Bento Mosaic Mini Cards inside Detail Page */
.product-bento-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 24px 0; }
.product-bento-card { display: flex; flex-direction: column; background: #f8f8f7; border: 1px solid #dcdcd8; padding: 20px; border-radius: 2px; }
.product-bento-card--photo { padding: 0; overflow: hidden; background: #fff; }
.product-bento-card__img { width: 100%; height: 200px; object-fit: cover; display: block; }
.product-bento-card__body { padding: 16px 18px 18px; }
.product-bento-card__body h4 { margin: 0 0 6px; font-size: 16px; color: var(--yx-ink-strong); font-weight: 700; }
.product-bento-card__body p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--yx-ink-muted); }

@media (max-width: 680px) {
  .product-bento-grid { grid-template-columns: 1fr; }
}


@media (max-width: 900px) {
  .product-detail-layout { grid-template-columns: 1fr; gap: 28px; }
  .product-detail__gallery { position: static; }
  .product-detail__cta-box { flex-direction: column; align-items: flex-start; }
}

.bento-card--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,12,12,0.92) 0%, rgba(12,12,12,0.45) 55%, rgba(12,12,12,0.15) 100%); z-index: 1; }
.bento-card--photo .bento-card__content { position: relative; z-index: 2; max-width: 600px; }
.bento-card--photo h3 { color: #fff; font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; line-height: 1.15; margin: 0 0 10px; text-transform: uppercase; letter-spacing: -0.01em; }
.bento-card--photo p { color: rgba(255, 255, 255, 0.9); font-size: 14.5px; line-height: 1.5; margin: 0; }

.bento-card--color { flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 40px 32px; color: #fff; }
.bento-card--crimson { background-color: var(--yx-crimson-strong, #7e1d2e); }
.bento-card--dark { background-color: var(--yx-ink-strong, #1a1a1a); }
.bento-card__icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; color: #fff; }
.bento-card--color h3 { color: #fff; font-size: clamp(20px, 2vw, 26px); font-weight: 800; line-height: 1.2; margin: 0 0 12px; text-transform: uppercase; }
.bento-card--color p { color: rgba(255, 255, 255, 0.88); font-size: 14px; line-height: 1.55; margin: 0; max-width: 420px; }

/* Editable Page Layout & Universal Responsiveness */
.editable-page__content { min-height: 420px; padding: 48px 0 72px; }
.editable-page__entry { max-width: 1140px; margin: 0 auto; width: 100%; }
.editable-page__entry > * { max-width: 100%; }
.editable-page__entry h2 { margin-top: 48px; margin-bottom: 18px; color: var(--yx-crimson-strong); font-size: clamp(24px, 2.5vw, 32px); line-height: 1.25; font-weight: 700; text-transform: uppercase; border-bottom: 2px solid var(--yx-tint); padding-bottom: 8px; }
.editable-page__entry h2:first-of-type { margin-top: 0; }
.editable-page__entry h3 { margin-top: 28px; margin-bottom: 12px; color: var(--yx-ink-strong); font-size: clamp(19px, 2vw, 24px); line-height: 1.3; font-weight: 700; }
.editable-page__entry h4 { margin-top: 20px; margin-bottom: 8px; color: var(--yx-ink-strong); font-size: 17px; font-weight: 700; }
.editable-page__entry p { margin: 0 0 16px; font-size: 15.5px; line-height: 1.65; color: var(--yx-ink); }
.editable-page__entry ul, .editable-page__entry ol { margin: 0 0 20px 24px; padding: 0; font-size: 15px; line-height: 1.65; color: var(--yx-ink); }
.editable-page__entry li { margin-bottom: 8px; }

/* Professional Industrial Feature Grid & Cards (Clean & Spacious Layout) */
.yx-clean-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 32px 0 44px; }
.yx-clean-grid--3col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.yx-clean-card { display: flex; flex-direction: column; background: #ffffff; border: 1px solid #d8d8d4; border-radius: 2px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; box-shadow: 0 2px 10px rgba(0,0,0,.03); text-decoration: none; color: inherit; }
.yx-clean-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.08); border-color: var(--yx-crimson); color: inherit; }
.yx-clean-card__img-wrap { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #1c1c1c; }
.yx-clean-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.yx-clean-card:hover .yx-clean-card__img-wrap img { transform: scale(1.04); }
.yx-clean-card__tag { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 10px; background: var(--yx-crimson-strong); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.yx-clean-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.yx-clean-card__body h3, .yx-clean-card__body h4 { margin: 0 0 10px; font-size: 19px; line-height: 1.3; color: var(--yx-ink-strong); font-weight: 700; }
.yx-clean-card__body p { margin: 0 0 16px; font-size: 14px; line-height: 1.55; color: var(--yx-ink-muted); flex: 1; }
.yx-clean-card__body .button { align-self: flex-start; margin-top: auto; padding: 8px 18px; font-size: 13px; }

/* Responsive Unified Tables */
.wp-block-table, .product-detail__table-wrap, .grade-table-wrap { width: 100%; overflow-x: auto; margin: 24px 0 36px; border: 1px solid #bfbfbb; background: #fff; }
.wp-block-table table, .product-table, .grade-table { width: 100%; min-width: 650px; border-collapse: collapse; font-size: 13.5px; line-height: 1.45; }
.wp-block-table th, .product-table th, .grade-table th, .wp-block-table td, .product-table td, .grade-table td { padding: 12px 14px; border: 1px solid #c8c8c4; text-align: left; }
.wp-block-table th, .product-table th, .grade-table th { background: #262626; color: #ffffff; font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; border-color: #383838; }
.wp-block-table tbody tr:nth-child(even), .product-table tbody tr:nth-child(even), .grade-table tbody tr:nth-child(even) { background: #f6f6f4; }
.wp-block-table tbody tr:hover, .product-table tbody tr:hover, .grade-table tbody tr:hover { background: #eaeae6; }

/* Unified Crimson Call-to-Action Bar */
.yx-cta-banner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 36px 40px; margin: 48px 0 20px; background: var(--yx-crimson-strong); color: #fff; border-radius: 2px; }
.yx-cta-banner__copy h3 { margin: 0 0 8px; color: #fff; font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.yx-cta-banner__copy p { margin: 0; color: rgba(255,255,255,.9); font-size: 14.5px; line-height: 1.5; }
.yx-cta-banner .button { white-space: nowrap; padding: 12px 26px; font-size: 14px; background: #ffffff; color: var(--yx-crimson-strong); border: 0; font-weight: 700; }
.yx-cta-banner .button:hover { background: var(--yx-ink-strong); color: #fff; }

/* Tablet & Mobile Media Queries */
@media (max-width: 991px) {
  .yx-clean-grid, .yx-clean-grid--3col { grid-template-columns: 1fr; gap: 20px; }
  .yx-cta-banner { flex-direction: column; align-items: flex-start; padding: 30px 24px; }
  .home-processing-banner__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .editable-page__content { padding: 32px 0 54px; }
  .yx-clean-card__body { padding: 18px 16px 20px; }
  .yx-cta-banner { padding: 24px 18px; }
  .yx-cta-banner .button { width: 100%; text-align: center; }
}

/* Dark equipment tables — high-contrast white text on dark surfaces */
.grade-table-wrap--dark { background: #1e1e1e; border-color: rgba(255,255,255,.24); }
.grade-table--dark,
.section--dark-photo .grade-table { background: #1e1e1e; color: #ffffff; }
.grade-table--dark th,
.grade-table--dark thead th,
.section--dark-photo .grade-table th { background: #1e1e1e; color: #ffffff; border-color: rgba(255,255,255,.22); }
.grade-table--dark td,
.section--dark-photo .grade-table td { color: #ffffff; border-color: rgba(255,255,255,.16); }
.grade-table--dark tbody tr,
.grade-table--dark tbody tr:nth-child(odd),
.section--dark-photo .grade-table tbody tr:nth-child(odd) { background: #1e1e1e; color: #ffffff; }
.grade-table--dark tbody tr:nth-child(even),
.section--dark-photo .grade-table tbody tr:nth-child(even) { background: rgba(255,255,255,.06); color: #ffffff; }
.grade-table--dark tbody tr:hover,
.section--dark-photo .grade-table tbody tr:hover { background: rgba(255,255,255,.12); }
.grade-table--dark td:first-child,
.grade-table--dark td strong,
.grade-table--dark th strong,
.section--dark-photo .grade-table td:first-child { color: #ffffff; }
.grade-table--dark td, .grade-table--dark th { opacity: 1; text-shadow: none; }
/* Safety net: every table inside a dark photo section stays readable */
.section--dark-photo .wp-block-table,
.section--dark-photo .product-table { background: #1e1e1e; color: #ffffff; }
.section--dark-photo .wp-block-table td,
.section--dark-photo .wp-block-table th,
.section--dark-photo .product-table td,
.section--dark-photo .product-table th { color: #ffffff; }
.section--dark-photo .wp-block-table th,
.section--dark-photo .product-table th { background: #1e1e1e; border-color: rgba(255,255,255,.22); }
.section--dark-photo .wp-block-table tbody tr:nth-child(even),
.section--dark-photo .product-table tbody tr:nth-child(even) { background: rgba(255,255,255,.06); }
