/* =========================================================
 * U17 Theme — Industrial Automation B2B Distributor
 * Design system v2.0 — mobile-first, BEM, pixel-aligned tokens
 * =======================================================*/

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Brand */
  --u17-blue:        #165cff;   /* primary / theme-color */
  --u17-blue-dark:   #0e46c9;
  --u17-blue-soft:   #eef3ff;
  --u17-amber:       #FFD447;   /* CTA + hover accent */
  --u17-amber-dark:  #f0bf1f;
  --u17-ink:         #222;
  --u17-muted:       #6b7280;
  --u17-line:        #e6e9ef;

  /* Surfaces */
  --u17-bg:          #ffffff;
  --u17-sell-bg:     #FAF9FE;
  --u17-band-bg:     #165cff;
  --u17-brand-bg:    rgba(206, 211, 220, .5);
  --u17-brand-bg-alt:rgba(206, 211, 220, .8);
  --u17-gray-50:     #f7f8fa;
  --u17-gray-100:    #f0f2f5;

  /* Text */
  --u17-body-c:      #222;
  --u17-link:        #222;
  --u17-link-hover:  #F7B500;

  /* CTA */
  --u17-cta-bg:      #FFD447;
  --u17-cta-c:       #222;
  --u17-cta-p:       16px 57px;
  --u17-cta-radius:  5px;
  --u17-cta-border:  2px solid #FFD447;

  /* Type */
  --u17-ff-sans:     "Roboto Slab", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  --u17-ff-body:     "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  --u17-h1:          40px;
  --u17-h2:          30px;
  --u17-h3:          24px;
  --u17-sell-t:      20px;
  --u17-body:        14px;
  --u17-lh:          1.6;

  /* Layout — unified container system */
  --u17-container:   1280px;   /* desktop content width; tablet/mobile override via media queries */
  --u17-gutter:      28px;     /* horizontal padding on container — scales with viewport */
  --u17-gutter-sm:   16px;     /* mobile */
  --u17-header-h:    80px;
  --u17-sec-y:       90px;

  /* Radius / shadow / motion */
  --u17-radius:      10px;
  --u17-shadow:      0 10px 30px rgba(17, 24, 39, .08);
  --u17-shadow-lg:   0 18px 50px rgba(17, 24, 39, .14);
  --u17-ease:        cubic-bezier(.2, .7, .2, 1);

  /* Breakpoints */
  --u17-md:  768px;
  --u17-lg:  1024px;
  --u17-xl:  1280px;
}

/* ---------- 2. RESET + BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--u17-bg);
  color: var(--u17-body-c);
  font-family: var(--u17-ff-body);
  font-size: var(--u17-body);
  line-height: var(--u17-lh);
  min-height: 100vh;
  /* `clip` contains overflow without creating a scroll container, which would
     break position:sticky on the header. */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--u17-link); text-decoration: none; transition: color .2s var(--u17-ease); }
a:hover { color: var(--u17-link-hover); }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--u17-amber); outline-offset: 2px; }
.hidden { display: none !important; }
.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;
}

/* ---------- 3. TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 { font-family: var(--u17-ff-sans); font-weight: 700; line-height: 1.2; color: var(--u17-ink); }
.u17-title {
  font-size: var(--u17-h2); text-align: center; margin-bottom: 14px;
  position: relative; padding-bottom: 18px;
}
.u17-title::after {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 60px; height: 3px; background: var(--u17-amber); border-radius: 2px;
}
.u17-lead { text-align: center; color: var(--u17-muted); max-width: 720px; margin: 0 auto 46px; font-size: 15px; }

/* ---------- 4. LAYOUT ---------- */
/* Master container — single source of truth for horizontal alignment.
   This site has TWO scenarios running at once:
   (A) Templates use `.u17-container` (correct, with padding + max-width).
   (B) A host/plugin wrapper injects an OUTER `.u17-container` wrapping the
       whole <main>, while each template additionally injects a NESTED
       `<div class="container">` (lowercase, no padding, no max-width!).
   We fix both in one pass: BOTH classes behave identically, and nested
   containers are neutralised so padding/max-width don't compound. */
.u17-container, .container,
main > .u17-container, main > .container,
section > .u17-container, section > .container,
.u17-cats > .container, .u17-sells > .container,
.u17-brand-grid > .container, .u17-faq > .container,
.u17-band > .container, .u17-about > .container,
.u17-industries > .container, .u17-cta > .container {
  max-width: var(--u17-container, 1380px);
  margin: 0 auto;
  padding: 0 var(--u17-gutter, 24px);
  width: 100%;
  box-sizing: border-box;
}
/* Nested container guard — when the outer layer already provides padding/
   max-width, the inner one should not compound it. */
.u17-container > .u17-container,
.u17-container > .container,
.container > .container,
.container > .u17-container,
.u17-main > .u17-container > section > .container {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}
/* Also fix the edge case where .container appears as a DIRECT child of
   <main> without an outer .u17-container to protect it. */
main > .container:not(.u17-container) {
  max-width: var(--u17-container, 1380px);
  margin: 0 auto;
  padding: 0 var(--u17-gutter, 24px);
}
/* Narrow variant for content that should not span full container width
   (e.g. FAQ, lead body copy on some sections). */
.u17-container--narrow {
  max-width: 900px;
}
.u17-section { padding: var(--u17-sec-y) 0; }
.u17-section--tint { background: var(--u17-gray-50); }
.u17-section__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.u17-section__head .u17-title { margin-bottom: 0; }
.u17-link { color: var(--u17-blue); font-weight: 700; font-size: 14px; white-space: nowrap; padding-left: 16px; }
.u17-link:hover { color: var(--u17-blue-dark); }
/* Vertical breathing room so archive / single / static pages never sit flush
   against the dark footer (the page body itself carries no bottom padding). */
.u17-main > .u17-container { padding-bottom: 56px; }

/* Responsive container breakpoints */
@media (max-width: 1280px) {
  :root {
    --u17-container: 1000px;
    --u17-gutter: 24px;
  }
}
@media (max-width: 1024px) {
  :root {
    --u17-container: 100%;
    --u17-gutter: 20px;
  }
}
@media (max-width: 768px) {
  :root {
    --u17-gutter: var(--u17-gutter-sm);
  }
}

/* Blueprint grid background used by hero & placeholders */
.u17-blueprint {
  background-color: #eef2f8;
  background-image:
    linear-gradient(rgba(22,92,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,92,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ---------- 5. BUTTONS ---------- */
.u17-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: var(--u17-cta-p); background: var(--u17-cta-bg); color: var(--u17-cta-c);
  border: var(--u17-cta-border); border-radius: var(--u17-cta-radius);
  font-family: var(--u17-ff-sans); font-weight: 700; font-size: 15px;
  transition: transform .2s var(--u17-ease), box-shadow .2s var(--u17-ease), background .2s;
  line-height: 1;
}
.u17-btn:hover { color: var(--u17-cta-c); background: var(--u17-amber-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.u17-btn--sm { padding: 12px 24px; font-size: 13px; }
.u17-btn--outline { background: transparent; color: #fff; border-color: #fff; }
.u17-btn--outline:hover { background: #fff; color: var(--u17-blue); }
.u17-btn--block { display: flex; width: 100%; }

/* =========================================================
 * 6. HEADER
 * =======================================================*/
.u17-header {
  position: sticky; top: 0; z-index: 900;
  height: var(--u17-header-h);
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  transition: box-shadow .25s var(--u17-ease);
}
.u17-header.is-scrolled { box-shadow: 0 6px 24px rgba(17,24,39,.10); }
.u17-header__inner {
  /* Shares the same container as every section for perfect horizontal alignment. */
  height: 100%;
  max-width: var(--u17-container);
  margin: 0 auto;
  padding: 0 var(--u17-gutter);
  display: flex; align-items: center; gap: clamp(14px, 2vw, 30px);
}
.u17-header__brand { font-size: 0; line-height: 0; flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
.u17-header__brand img { height: 38px; width: auto; max-width: 160px; object-fit: contain; }
.u17-header__brand-text { font-size: 20px; font-weight: 800; color: var(--u17-ink); line-height: 1.1; letter-spacing: -.5px; }
.u17-header__brand-text small { display: block; font-size: 10px; font-weight: 600; color: var(--u17-blue); letter-spacing: 1.5px; text-transform: uppercase; }

.u17-nav { margin-left: auto; min-width: 0; }
.u17-nav__list { display: flex; align-items: center; gap: 2px; }
.u17-nav__item { position: relative; }
.u17-nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 30px 11px; font-size: 13px; font-weight: 600; color: var(--u17-ink);
  text-transform: uppercase; letter-spacing: .3px; white-space: nowrap;
}
.u17-nav__link:hover, .u17-nav__item.current-menu-item > .u17-nav__link,
.u17-nav__item.current-menu-parent > .u17-nav__link { color: var(--u17-blue); }
.u17-nav__link::after {
  content: ''; position: absolute; left: 11px; right: 11px; bottom: 21px;
  height: 2px; background: var(--u17-blue); transform: scaleX(0); transition: transform .25s var(--u17-ease);
}
.u17-nav__item.current-menu-item > .u17-nav__link::after,
.u17-nav__item.current-menu-parent > .u17-nav__link::after,
.u17-nav__link:hover::after, .u17-nav__link:focus-visible::after { transform: scaleX(1); }
.u17-nav__caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; transition: transform .2s; }
.u17-nav__item:hover .u17-nav__caret, .u17-nav__item--open > .u17-nav__link .u17-nav__caret { transform: rotate(180deg); }

/* Dropdown — two-column panel, never affects header height. */
.u17-submenu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 20;
  width: max-content; min-width: 300px; max-width: min(92vw, 470px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px;
  background: #fff; box-shadow: var(--u17-shadow-lg);
  border: 1px solid var(--u17-line); border-top: 3px solid var(--u17-blue);
  border-radius: 0 0 10px 10px; padding: 12px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--u17-ease), transform .2s var(--u17-ease), visibility .2s;
}
.u17-submenu::before {
  content: ''; position: absolute; top: -9px; left: 0; right: 0; height: 9px;
}
.u17-nav__item:hover > .u17-submenu, .u17-nav__item:focus-within > .u17-submenu,
.u17-nav__item--open > .u17-submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
/* Right-edge items open leftwards so the panel never overflows the viewport. */
.u17-nav__item:nth-last-child(-n+2) > .u17-submenu { left: auto; right: 0; }
.u17-submenu__item { min-width: 0; }
.u17-submenu__link {
  display: block; min-height: 44px; padding: 11px 12px;
  font-size: 12.5px; font-weight: 600; line-height: 1.35; color: var(--u17-ink);
  border-radius: 6px; overflow-wrap: anywhere;
  transition: background .18s var(--u17-ease), color .18s var(--u17-ease);
}
.u17-submenu__link:hover, .u17-submenu__link:focus-visible {
  background: var(--u17-blue-soft); color: var(--u17-blue); outline: none;
}
.u17-drawer__close { background: none; border: 0; color: var(--u17-ink); }
.u17-drawer__close svg { width: 26px; height: 26px; }

.u17-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: 0 0 auto; }
.u17-iconbtn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: transparent; border-radius: 50%; color: var(--u17-ink); transition: background .2s;
  cursor: pointer;
}
.u17-iconbtn:hover { background: var(--u17-gray-100); }
.u17-iconbtn:focus-visible { outline: 2px solid var(--u17-blue); outline-offset: 2px; }
.u17-iconbtn svg { width: 20px; height: 20px; }
.u17-header__cta { padding: 13px 22px; font-size: 13px; white-space: nowrap; }

.u17-burger { display: none; }

/* Mobile drawer — fixed head / scrollable body / fixed foot. */
.u17-drawer {
  position: fixed; inset: 0; z-index: 1000; visibility: hidden; opacity: 0; transition: opacity .3s;
}
.u17-drawer.is-open { visibility: visible; opacity: 1; }
.u17-drawer__backdrop { position: absolute; inset: 0; background: rgba(17,24,39,.52); }
.u17-drawer__panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: min(88%, 380px);
  background: #fff; transform: translateX(-100%); transition: transform .32s var(--u17-ease);
  display: flex; flex-direction: column;
  padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom);
}
.u17-drawer.is-open .u17-drawer__panel { transform: translateX(0); }
.u17-drawer__head {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--u17-line);
}
.u17-drawer__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px 20px 16px; }
.u17-drawer__list > li { border-bottom: 1px solid var(--u17-line); }
.u17-drawer__row { display: flex; align-items: center; gap: 4px; }
.u17-drawer__row > a { flex: 1; min-width: 0; }
.u17-drawer__list a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 48px; padding: 12px 4px; font-size: 15px; font-weight: 600;
  color: var(--u17-ink); overflow-wrap: anywhere;
}
.u17-drawer__item.is-current > .u17-drawer__row > a { color: var(--u17-blue); }
.u17-drawer__toggle {
  flex: 0 0 auto; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: var(--u17-gray-50); border: 1px solid var(--u17-line); border-radius: 8px;
  color: var(--u17-blue); cursor: pointer;
}
.u17-drawer__toggle:hover { background: var(--u17-blue-soft); }
.u17-drawer__toggle:focus-visible { outline: 2px solid var(--u17-blue); outline-offset: 2px; }
.u17-drawer__toggle-icon { font-size: 20px; line-height: 1; transition: transform .2s var(--u17-ease); }
.u17-drawer__toggle[aria-expanded="true"] .u17-drawer__toggle-icon { transform: rotate(45deg); }
.u17-drawer__sub { display: none; padding: 0 0 10px 14px; border-left: 2px solid var(--u17-blue-soft); margin: 0 4px 8px; }
.u17-drawer__sub.is-open { display: block; }
.u17-drawer__sub a { min-height: 44px; padding: 10px 8px; font-weight: 500; font-size: 14px; color: var(--u17-muted); }
.u17-drawer__sub a:hover { color: var(--u17-blue); }
.u17-drawer__foot {
  flex: 0 0 auto; padding: 16px 20px 20px; border-top: 1px solid var(--u17-line);
  background: #fff; box-shadow: 0 -6px 20px rgba(17,24,39,.05);
}
.u17-drawer__cta { min-height: 48px; display: flex; align-items: center; justify-content: center; }
.u17-drawer__contacts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; }
.u17-drawer__contact {
  display: inline-flex; align-items: center; gap: 7px; min-height: 32px;
  font-size: 12.5px; font-weight: 600; color: var(--u17-muted); overflow-wrap: anywhere;
}
.u17-drawer__contact:hover { color: var(--u17-blue); }
.u17-drawer__contact svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--u17-blue); }

/* Search overlay */
.u17-search {
  position: fixed; inset: 0; z-index: 1010; background: rgba(17,24,39,.96);
  display: none; align-items: flex-start; justify-content: center; padding: 14vh 20px 20px;
}
.u17-search.is-open { display: flex; }
.u17-search__box { width: min(720px, 100%); }
.u17-search__label { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; }
.u17-search__form { display: flex; gap: 10px; }
.u17-search__input {
  flex: 1; min-width: 0; padding: 18px 22px; border: 0; border-radius: 6px; font-size: 18px;
  background: #fff; color: var(--u17-ink);
}
.u17-search__input:focus { outline: 2px solid var(--u17-amber); outline-offset: 2px; }
.u17-search__submit { padding: 18px 30px; }
.u17-search__close {
  position: absolute; top: 24px; right: 28px; width: 44px; height: 44px;
  color: #fff; font-size: 34px; background: none; border: 0; line-height: 1; cursor: pointer;
}
.u17-search__close:focus-visible { outline: 2px solid var(--u17-amber); outline-offset: 2px; }
/* Inline search field used on the 404 page */
.u17-inline-search { display: flex; gap: 10px; max-width: 480px; margin: 0 auto 26px; }
.u17-inline-search input {
  flex: 1; min-width: 0; padding: 15px 18px; border: 1px solid var(--u17-line);
  border-radius: 6px; background: #fff;
}
.u17-inline-search input:focus { border-color: var(--u17-blue); outline: none; }

/* =========================================================
 * 7. HERO
 * =======================================================*/
.u17-hero {
  position: relative; overflow: hidden;
  min-height: 640px; display: flex; align-items: center;
  background-size: cover; background-position: center right;
  background-color: var(--u17-blue-dark);
  /* NOTE: --u17-blueprint is a class, not a custom property. Referencing it
     inside a second background layer invalidated the whole declaration
     (hero image never rendered). Use a real gradient fallback instead. */
  background-image: var(--u17-hero-bg, linear-gradient(120deg, #0b1b45 0%, #123a9e 55%, #0b1b45 100%));
  /* Horizontal padding mirrors every other section so hero content aligns
     with grid cards, footer links, and header nav — no more "edge text". */
  padding: 0 var(--u17-gutter, 24px);
  box-sizing: border-box;
}
/* Left-to-right scrim: dark where the headline sits, nearly transparent on
   the right so the photograph actually reads as a photo. */
.u17-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4,16,44,.94) 0%, rgba(6,24,62,.86) 30%, rgba(10,44,110,.55) 62%, rgba(10,46,116,.22) 100%);
}
.u17-hero::after {
  content: ''; position: absolute; right: -80px; bottom: -120px; width: 480px; height: 480px;
  border: 2px solid rgba(255,255,255,.08); border-radius: 50%; pointer-events: none;
}
.u17-hero__inner {
  position: relative; z-index: 2;
  padding: 90px 0;   /* vertical only — horizontal now lives on .u17-hero itself */
  /* Neutralise hard-coded width/offset so inner fills the hero padding-box.
     Previously max-width: 780px + margin-right: 101px made the content block
     a floating island; now it stretches to the same width as cats/footer. */
  max-width: none;
  width: 100%;
  margin: 0;
  color: #fff;
}
.u17-hero__eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--u17-amber); font-weight: 700; margin-bottom: 18px;
}
/* Title is capped so it wraps inside the dark left-hand scrim instead of
   running over the bright machinery on the right of the photo. */
.u17-hero__title { font-size: var(--u17-h1); color: #fff; font-weight: 800; margin-bottom: 20px; line-height: 1.18; max-width: 780px; text-wrap: balance; }
.u17-hero__sub { font-size: 16px; color: rgba(255,255,255,.9); max-width: 680px; margin-bottom: 32px; }
.u17-hero__cta { box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.u17-hero__trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 46px; }
.u17-hero__trust li { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); font-size: 13px; }
.u17-hero__trust svg { width: 20px; height: 20px; color: var(--u17-amber); flex: 0 0 auto; }

/* =========================================================
 * 8. CATEGORY GRID (Brand Products We Supply)
 * =======================================================*/
.u17-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.u17-cat {
  background: #fff; border: 1px solid var(--u17-line); border-radius: var(--u17-radius);
  padding: 34px 20px 24px; text-align: center; display: flex; flex-direction: column; align-items: center;
  transition: transform .25s var(--u17-ease), box-shadow .25s var(--u17-ease), border-color .25s;
}
.u17-cat:hover { transform: translateY(-6px); box-shadow: var(--u17-shadow); border-color: transparent; }
.u17-cat__media {
  width: 100%; aspect-ratio: 4 / 3; border-radius: 8px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.u17-cat__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s var(--u17-ease); }
.u17-cat:hover .u17-cat__media img { transform: scale(1.05); }
.u17-cat__media svg { width: 54%; height: 54%; color: var(--u17-blue); opacity: .55; transition: transform .3s var(--u17-ease), opacity .3s; }
.u17-cat:hover .u17-cat__media svg { transform: scale(1.08); opacity: .85; }
.u17-cat__title { font-size: var(--u17-h3); margin-bottom: 10px; }
.u17-cat__desc { color: var(--u17-muted); font-size: 13px; line-height: 1.55; }
.u17-cat__link { margin-top: auto; padding-top: 16px; color: var(--u17-blue); font-weight: 700; font-size: 13px; }
.u17-cat:hover .u17-cat__link { color: var(--u17-amber-dark); }

/* =========================================================
 * 9. SELLING POINTS BAND
 * =======================================================*/
.u17-band { background: var(--u17-band-bg); color: #fff; padding: 54px 0; text-align: center; }
.u17-band__title { font-size: 26px; color: #fff; margin-bottom: 10px; }
.u17-band__sub { color: rgba(255,255,255,.85); margin-bottom: 24px; }
.u17-band .u17-btn { box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* ---------- 10. SELLING POINTS (Unbeatable Advantages) ---------- */
.u17-sells { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.u17-sells__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.u17-sell {
  background: var(--u17-sell-bg); border: 1px solid var(--u17-line);
  border-radius: var(--u17-sell-radius); padding: var(--u17-sell-p);
  display: flex; gap: 16px; align-items: flex-start;
  transition: transform .2s var(--u17-ease), box-shadow .2s var(--u17-ease);
}
.u17-sell:hover { transform: translateY(-4px); box-shadow: var(--u17-shadow); }
.u17-sell__icon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: var(--u17-blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.u17-sell__icon svg { width: 24px; height: 24px; }
.u17-sell__title { font-size: var(--u17-sell-t); margin-bottom: 6px; }
.u17-sell__text { color: var(--u17-muted); font-size: 14px; }
.u17-sells__media { border-radius: var(--u17-radius); min-height: 380px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.u17-sells__media svg { width: 46%; color: var(--u17-blue); opacity: .45; }
.u17-sells__img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; display: block; }

/* ---------- 11. MANUFACTURER WALL ---------- */
.u17-brands { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.u17-brand {
  background: #fff; border: 1px solid var(--u17-line); border-radius: 10px; min-height: 92px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--u17-ink); padding: 14px 16px;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--u17-ease);
}
.u17-brand img { height: 36px; width: auto; max-width: 88%; object-fit: contain; display: block; }
.u17-brand__name {
  font-family: var(--u17-ff-sans); font-weight: 700; font-size: 14px;
  letter-spacing: .04em; line-height: 1.25; color: #4b5563;
  transition: color .2s;
}
.u17-brand:hover { border-color: var(--u17-blue); box-shadow: var(--u17-shadow); transform: translateY(-3px); }
.u17-brand:hover .u17-brand__name { color: var(--u17-ink); }
.u17-brand:focus-visible { outline: 2px solid var(--u17-blue); outline-offset: 2px; }

/* Brand archive header logo */
.u17-brand-hero { margin: 0 0 20px; }
.u17-brand-hero img { height: 52px; width: auto; max-width: 220px; object-fit: contain; display: block; }

/* Brand archive intro */
.u17-brand-intro { max-width: 900px; margin: 0 0 34px; font-size: 15.5px; line-height: 1.78; color: #374151; }
.u17-brand-intro p { margin: 0 0 15px; }
.u17-brand-intro p:last-child { margin-bottom: 0; }
.u17-brand-intro a { color: var(--u17-blue); text-decoration: underline; text-underline-offset: 2px; }
.u17-brand-intro a:hover { text-decoration: none; }
@media (max-width: 640px) {
  .u17-brand-intro { font-size: 15px; line-height: 1.72; margin-bottom: 26px; }
}

/* ---------- 12. ABOUT / INDUSTRY INTRO ---------- */
.u17-about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.u17-about__title { font-size: var(--u17-h2); margin-bottom: 20px; }
.u17-about__body p { color: var(--u17-muted); margin-bottom: 16px; }
.u17-about__media { border-radius: var(--u17-radius); min-height: 360px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.u17-about__media svg { width: 40%; color: var(--u17-blue); opacity: .4; }
.u17-about__img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; display: block; }
.u17-about__play {
  position: absolute; width: 68px; height: 68px; border-radius: 50%; background: var(--u17-amber);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.u17-about__play svg { width: 26px; height: 26px; color: var(--u17-ink); opacity: 1; }

/* ---------- 13. FAQ ACCORDION ---------- */
.u17-faq { max-width: 900px; margin: 0 auto; }
.u17-faq__item { border: 1px solid var(--u17-line); border-radius: 8px; margin-bottom: 12px; overflow: hidden; background: #fff; }
.u17-faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; text-align: left; background: #fff; border: 0;
  font-family: var(--u17-ff-sans); font-weight: 700; font-size: 16px; color: var(--u17-ink);
}
.u17-faq__q:hover { color: var(--u17-blue); }
.u17-faq__icon { flex: 0 0 auto; width: 24px; height: 24px; position: relative; }
.u17-faq__icon::before, .u17-faq__icon::after { content: ''; position: absolute; background: var(--u17-blue); border-radius: 2px; transition: transform .25s var(--u17-ease); }
.u17-faq__icon::before { top: 11px; left: 2px; right: 2px; height: 2px; }
.u17-faq__icon::after { left: 11px; top: 2px; bottom: 2px; width: 2px; }
.u17-faq__item.is-open .u17-faq__icon::after { transform: rotate(90deg); }
.u17-faq__a { display: none; padding: 0 24px 22px; color: var(--u17-muted); }
.u17-faq__item.is-open .u17-faq__a { display: block; animation: u17-fade .3s ease; }
@keyframes u17-fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- 14. PRODUCT & POST CARDS ---------- */
.u17-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.u17-grid--3 { grid-template-columns: repeat(3, 1fr); }
.u17-grid--5 { grid-template-columns: repeat(5, 1fr); }
.u17-card {
  background: #fff; border: 1px solid var(--u17-line); border-radius: var(--u17-radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s var(--u17-ease), box-shadow .25s var(--u17-ease);
}
.u17-card:hover { transform: translateY(-5px); box-shadow: var(--u17-shadow-lg); }
.u17-card__media { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.u17-card__media img { width: 100%; height: 100%; object-fit: cover; }
.u17-card__media svg { width: 52%; color: var(--u17-blue); opacity: .5; }
.u17-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.u17-card__badge { align-self: flex-start; background: var(--u17-blue-soft); color: var(--u17-blue); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; margin-bottom: 10px; }
.u17-card__title { font-size: 17px; margin-bottom: 10px; }
.u17-card__title a:hover { color: var(--u17-blue); }
.u17-card__sku { font-size: 12px; font-weight: 600; letter-spacing: .2px; color: var(--u17-ink); margin-bottom: 10px; }
.u17-card__excerpt { color: var(--u17-muted); font-size: 13px; flex: 1; }
.u17-card__meta { color: var(--u17-muted); font-size: 12px; margin-top: 14px; display: flex; gap: 14px; flex-wrap: wrap; }
.u17-card__more { margin-top: 14px; color: var(--u17-blue); font-weight: 700; font-size: 13px; }
.u17-card__more a:hover { color: var(--u17-blue-dark); }

/* ---------- 15. SINGLE / PRODUCT DETAIL ---------- */
.u17-single { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.u17-single__gallery { border-radius: var(--u17-radius); min-height: 440px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.u17-single__gallery svg { width: 50%; color: var(--u17-blue); opacity: .45; }
.u17-single__gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.u17-single__title { font-size: 34px; margin-bottom: 16px; }
.u17-single__sku { color: var(--u17-muted); font-size: 13px; margin-bottom: 20px; }
.u17-single__bullets { margin: 22px 0; }
.u17-single__bullets li { position: relative; padding-left: 24px; margin-bottom: 10px; color: var(--u17-muted); }
.u17-single__bullets li::before { content: '✓'; position: absolute; left: 0; color: var(--u17-blue); font-weight: 700; }
.u17-single__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
/* Price is never shown as a number: every unit is quoted against live stock,
   so the block always routes to the RFQ form instead of inventing a figure. */
.u17-single__price { margin: 0 0 18px; font-size: 15px; line-height: 1.55; color: var(--u17-muted); }
.u17-single__price strong { color: var(--u17-ink); }
/* Stock imagery is generic (no brand logos), so state that plainly. */
.u17-single__imgnote { margin: 24px 0 0; font-size: 13px; line-height: 1.55; color: var(--u17-muted); }
.u17-single__section-title { font-size: 22px; margin: 44px 0 18px; }
.u17-single__description { margin: 0 0 50px; }
.u17-spec { width: 100%; border-collapse: collapse; margin: 0 0 36px; }
.u17-spec th, .u17-spec td { border: 1px solid var(--u17-line); padding: 12px 16px; text-align: left; font-size: 14px; }
.u17-spec th { background: var(--u17-gray-50); font-weight: 700; width: 32%; }
.u17-prose { max-width: 800px; }
/* Page templates print a left-aligned H1 but the shared underline is centred,
   which left the amber rule floating mid-page. Keep the rule under the text. */
.u17-title--left { text-align: left; padding-left: 0; }
.u17-title--left::after { left: 0; right: auto; transform: none; }
/* Empty taxonomies (e.g. a brand with no published SKUs yet) get a real
   panel with a next step instead of a single stranded sentence. */
.u17-empty {
  border: 1px dashed var(--u17-line); border-radius: var(--u17-radius);
  background: var(--u17-gray-50); padding: 40px 28px; margin: 10px 0 50px; max-width: 720px;
}
.u17-empty__text { color: var(--u17-muted); font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.u17-prose h2 { font-size: var(--u17-h2); margin: 34px 0 16px; }
.u17-prose p { margin-bottom: 16px; color: var(--u17-body-c); }
.u17-prose ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }

/* ---------- 16. BREADCRUMB / PAGINATION ---------- */
.u17-crumb { font-size: 13px; color: var(--u17-muted); margin: 24px 0 34px; }
.u17-crumb a:hover { color: var(--u17-blue); }
.u17-crumb span { margin: 0 8px; opacity: .5; }
.u17-pagination { display: flex; gap: 8px; justify-content: center; margin: 50px 0 10px; flex-wrap: wrap; }
.u17-pagination a, .u17-pagination span {
  min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--u17-line); border-radius: 6px; color: var(--u17-ink); font-weight: 600;
}
.u17-pagination .current { background: var(--u17-blue); color: #fff; border-color: var(--u17-blue); }
.u17-pagination a:hover { border-color: var(--u17-blue); color: var(--u17-blue); }
.u17-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; }

/* ---------- 17. CONTACT ---------- */
.u17-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.u17-contact__info { display: grid; gap: 18px; }
.u17-contact__block { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: var(--u17-gray-50); border-radius: var(--u17-radius); }
.u17-contact__block svg { width: 26px; height: 26px; color: var(--u17-blue); flex: 0 0 auto; }
.u17-contact__block h4 { font-size: 16px; margin-bottom: 4px; }
.u17-contact__block p { color: var(--u17-muted); }
.u17-form { display: grid; gap: 16px; }
.u17-form input, .u17-form textarea, .u17-form select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--u17-line); border-radius: 6px; background: #fff;
}
.u17-form input:focus, .u17-form textarea:focus { border-color: var(--u17-blue); outline: none; }
.u17-form label { font-weight: 600; font-size: 14px; }
.u17-form label span { color: #e11d48; }
.u17-notice { padding: 14px 18px; border-radius: 6px; font-size: 14px; font-weight: 600; }
.u17-notice--ok  { background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; }
.u17-notice--err { background: #fff1f2; border: 1px solid #fecdd3; color: #be123c; }

/* ---------- 17b. PAGE CONTENT COMPONENTS ----------
   Blocks authored inside page bodies (Solutions / Applications / Support).
   They live in post_content as plain markup, so their styling has to ship
   with the theme or they render as unstyled inline text. */
.u17-prose--wide { max-width: 1120px; }

.u17-solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 28px 0 40px; }
.u17-sol-card { background: #fff; border: 1px solid var(--u17-line); border-radius: var(--u17-radius); padding: 26px 24px; }
.u17-sol-card h3 { font-size: 18px; margin-bottom: 10px; }
.u17-sol-card p { color: var(--u17-muted); font-size: 14px; margin: 0; }
.u17-sol-card__icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 24px; line-height: 1;
}
.u17-sol-card__icon--blue   { background: #eef3ff; }
.u17-sol-card__icon--green  { background: #ecfdf5; }
.u17-sol-card__icon--amber  { background: #fffbeb; }
.u17-sol-card__icon--rose   { background: #fff1f2; }
.u17-sol-card__icon--violet { background: #f5f3ff; }
.u17-sol-card__icon--cyan   { background: #ecfeff; }

/* Photo-led solution cards + two-column intro. Card photos use pre-sized
   640w webp variants (12–44KB each) so a 350px slot never pulls the 1200px
   original; hero uses a 960w variant with explicit width/height for CLS. */
.u17-sol-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
  gap: 34px; align-items: center; margin: 6px 0 40px;
}
.u17-sol-hero__text p:last-child { margin-bottom: 0; }
.u17-sol-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.u17-sol-hero__chips span {
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--u17-blue-dark); background: var(--u17-blue-soft);
  border: 1px solid #dbe3f5; border-radius: 999px; padding: 7px 12px;
}
.u17-sol-hero__figure {
  margin: 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px;
  background: var(--u17-gray-50); box-shadow: var(--u17-shadow);
}
.u17-sol-hero__figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.u17-sol-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.u17-sol-card__media { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--u17-gray-50); }
.u17-sol-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--u17-ease); }
.u17-sol-card:hover .u17-sol-card__media img { transform: scale(1.04); }
.u17-sol-card__body { padding: 20px 24px 24px; }
.u17-sol-card h3 { margin: 0 0 8px; }

.u17-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 26px 0 40px; }
.u17-step { background: var(--u17-gray-50); border-radius: var(--u17-radius); padding: 22px; }
.u17-step__num {
  width: 34px; height: 34px; border-radius: 50%; margin-bottom: 12px;
  background: var(--u17-blue); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.u17-step h4 { font-size: 16px; margin-bottom: 6px; }
.u17-step p { color: var(--u17-muted); font-size: 13px; margin: 0; }

.u17-apps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 28px 0 34px; }
.u17-apps-grid > br { display: none; }
.u17-app-card {
  position: relative; display: flex; align-items: flex-end; overflow: hidden; border-radius: var(--u17-radius);
  min-height: 300px; padding: 26px; color: #fff;
}
.u17-app-card__bg {
  position: absolute; inset: 0; display: block; overflow: hidden; transition: transform .4s var(--u17-ease);
}
/* Photos replace the old flat gradients; the overlay does the legibility work.
   A mild shared grade keeps four differently-lit source photos in one palette. */
.u17-app-card__img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) contrast(1.03) brightness(.97); }
.u17-app-card__overlay {
  position: absolute; inset: 0; display: block;
  background: linear-gradient(180deg, rgba(3,10,28,.18) 0%, rgba(3,10,28,.30) 42%, rgba(3,10,28,.84) 100%),
              linear-gradient(90deg, rgba(3,10,28,.45) 0%, rgba(3,10,28,0) 58%);
}
.u17-app-card__body { position: relative; display: flex; flex-direction: column; gap: 6px; }
.u17-app-card__tag { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--u17-amber); }
.u17-app-card__title { font-size: 19px; font-weight: 700; line-height: 1.25; color: #fff; }
.u17-app-card__desc { font-size: 13px; color: rgba(255,255,255,.86); }
.u17-app-card:hover .u17-app-card__bg { transform: scale(1.05); }
.u17-app-card:hover .u17-app-card__title { color: #fff; }

.u17-support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 28px 0 40px; }
.u17-support-option {
  background: var(--u17-gray-50); border-left: 4px solid var(--u17-blue);
  border-radius: var(--u17-radius); padding: 26px 24px;
}
.u17-support-option h3 { font-size: 18px; margin-bottom: 10px; }
.u17-support-option p { color: var(--u17-muted); font-size: 14px; margin-bottom: 14px; }
.u17-support-option__cta {
  display: inline-flex; align-items: center; padding: 11px 22px;
  background: var(--u17-blue); color: #fff; border-radius: 5px;
  font-weight: 700; font-size: 13px;
}
.u17-support-option__cta:hover { background: var(--u17-blue-dark); color: #fff; }

.u17-resources { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0 40px; }
.u17-resource {
  display: flex; align-items: center; gap: 10px; padding: 14px 18px;
  background: #fff; border: 1px solid var(--u17-line); border-radius: 8px;
  font-size: 14px; font-weight: 600;
}
.u17-resource:hover { border-color: var(--u17-blue); color: var(--u17-blue); }
.u17-resource__icon { font-size: 18px; line-height: 1; flex: 0 0 auto; }

.u17-quote-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--u17-gray-50); border-left: 4px solid var(--u17-amber);
  border-radius: var(--u17-radius); padding: 26px 28px; margin: 34px 0;
}
.u17-quote-strip h3 { font-size: 18px; margin-bottom: 6px; }
.u17-quote-strip p { color: var(--u17-muted); font-size: 14px; margin: 0; }
.u17-quote-strip__btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 14px 26px;
  background: var(--u17-cta-bg); color: var(--u17-cta-c); border-radius: 5px;
  font-weight: 700; font-size: 14px; white-space: nowrap;
}
.u17-quote-strip__btn:hover { background: var(--u17-amber-dark); color: var(--u17-cta-c); }

/* ---------- 18. FOOTER ---------- */
.u17-footer { background: #141922; color: #cbd5e1; padding: 70px 0 0; }
.u17-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 50px; }
.u17-footer__brand-text { font-size: 22px; color: #fff; font-weight: 800; margin-bottom: 16px; }
.u17-footer__about { font-size: 14px; color: #94a3b8; margin-bottom: 18px; }
.u17-footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.u17-footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--u17-amber); }
.u17-footer__col a { display: block; color: #94a3b8; font-size: 14px; padding: 6px 0; }
.u17-footer__col a:hover { color: var(--u17-amber); }
/* The footer column link rule (display:block, padding, grey) was swallowing the
   CTA button styling, leaving light grey text on amber — unreadable. */
.u17-footer__col a.u17-btn { display: inline-flex; color: var(--u17-cta-c); padding: 12px 24px; }
.u17-footer__col a.u17-btn:hover { color: var(--u17-cta-c); }
.u17-footer__contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 14px; color: #94a3b8; }
.u17-footer__contact svg { width: 18px; height: 18px; color: var(--u17-amber); flex: 0 0 auto; }
.u17-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; text-align: center; font-size: 13px; color: #64748b; }

/* ---------- 19. BACK TO TOP ---------- */
.u17-totop {
  position: fixed; right: 24px; bottom: 24px; z-index: 500;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--u17-blue); color: #fff; box-shadow: var(--u17-shadow);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s var(--u17-ease);
}
.u17-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.u17-totop:hover { background: var(--u17-blue-dark); }
.u17-totop svg { width: 22px; height: 22px; }

/* ---------- 20. RESPONSIVE ---------- */
@media (max-width: 1280px) {
  .u17-cats { grid-template-columns: repeat(4, 1fr); }
  .u17-brands { grid-template-columns: repeat(5, 1fr); }
  .u17-nav__link { padding: 30px 8px; font-size: 12px; }
  .u17-nav__link::after { left: 8px; right: 8px; }
  .u17-header__inner { gap: 14px; }
  .u17-header__brand-text { font-size: 18px; }
  .u17-header__cta { padding: 12px 16px; }
}
@media (max-width: 1024px) {
  :root { --u17-sec-y: 70px; --u17-h1: 34px; --u17-h2: 26px; }
  .u17-nav, .u17-header__cta { display: none; }
  .u17-burger { display: inline-flex; }
  .u17-header__actions { margin-left: auto; }
  .u17-brands { grid-template-columns: repeat(4, 1fr); }
  .u17-sells, .u17-about, .u17-single, .u17-contact { grid-template-columns: 1fr; gap: 32px; }
  .u17-sells__media, .u17-about__media { min-height: 300px; }
  .u17-footer__top { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .u17-solutions-grid, .u17-steps { grid-template-columns: repeat(2, 1fr); }
  .u17-sol-hero { grid-template-columns: 1fr; gap: 24px; }
  .u17-prose--wide { max-width: 100%; }
}
@media (max-width: 768px) {
  :root { --u17-h1: 28px; --u17-h2: 23px; --u17-h3: 20px; --u17-sec-y: 56px; --u17-cta-p: 14px 30px; }
  /* minmax(0,1fr) stops long category names from pushing column 2 past the
     viewport (the 8px horizontal overflow was masked by body overflow-x). */
  .u17-cats, .u17-grid, .u17-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .u17-cat { padding: 24px 14px 18px; }
  .u17-brands { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .u17-brand { min-height: 82px; padding: 12px 10px; }
  .u17-brand img { height: 30px; max-width: 86%; }
  .u17-brand__name { font-size: 13px; }
  .u17-brand-hero img { height: 44px; }
  .u17-sells__grid { grid-template-columns: 1fr; }
  .u17-hero { min-height: 480px; background-position: 65% center; }
  /* Narrow screens stack text over the photo — switch to a vertical scrim. */
  .u17-hero::before {
    background: linear-gradient(180deg, rgba(4,16,44,.92) 0%, rgba(6,24,62,.86) 55%, rgba(8,32,80,.74) 100%);
  }
  .u17-hero__trust { gap: 14px; }
  .u17-sol-hero__figure { aspect-ratio: 16 / 9; }
  .u17-single__title { font-size: 27px; }
  .u17-footer__top { grid-template-columns: 1fr; }
  .u17-main > .u17-container { padding-bottom: 36px; }
  .u17-solutions-grid, .u17-steps, .u17-apps-grid, .u17-support-grid, .u17-resources { grid-template-columns: 1fr; }
  .u17-app-card { min-height: 220px; }
  .u17-quote-strip { padding: 22px; }
}
@media (max-width: 480px) {
  .u17-cats, .u17-brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .u17-brand { min-height: 76px; }
  .u17-brand img { height: 28px; }
  /* Product / post cards get the full width on phones — two columns leave
     ~157px per card and force 4-line titles. */
  .u17-grid, .u17-grid--3 { grid-template-columns: 1fr; }
  .u17-btn { width: 100%; }
  .u17-hero__trust { display: none; }
  .u17-search__form { flex-direction: column; }
  .u17-search__submit { min-height: 48px; }
  .u17-search__close { top: 14px; right: 14px; }
}

/* ---------- 21. ACCESSIBILITY ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Stock imagery (curated Pexels photos) ---------- */
.u17-stockimg { display: block; width: 100%; height: 100%; object-fit: cover; }
.u17-cat__media .u17-stockimg,
.u17-card__media .u17-stockimg { transition: transform .3s var(--u17-ease); }
.u17-cat:hover .u17-cat__media .u17-stockimg,
.u17-card:hover .u17-card__media .u17-stockimg { transform: scale(1.05); }
/* Article hero placeholder: inherit the 21/9 box set inline in the template. */
.u17-prose > .u17-blueprint > .u17-stockimg { aspect-ratio: 21 / 9; }

/* ---------- 22. POST NAVIGATION + RELATED CONTENT ---------- */
.u17-postnav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
  margin: 54px 0 0;
}
.u17-postnav__link {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 86px;
  padding: 18px 22px;
  border: 1px solid var(--u17-line);
  border-radius: var(--u17-radius);
  background: #fff;
  color: var(--u17-ink);
  transition: border-color .2s, box-shadow .2s, transform .2s var(--u17-ease);
}
.u17-postnav__link:hover {
  border-color: var(--u17-blue);
  box-shadow: var(--u17-shadow);
  transform: translateY(-2px);
}
.u17-postnav__link--next { text-align: right; align-items: flex-end; }
.u17-postnav > :only-child { max-width: 48%; }
.u17-postnav__link--next:only-child { justify-self: end; }
.u17-postnav__link.is-empty {
  background: var(--u17-gray-50);
  border-style: dashed;
  box-shadow: none;
  transform: none;
}
.u17-postnav__dir {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--u17-blue);
}
.u17-postnav__title {
  font-family: var(--u17-ff-sans);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  color: var(--u17-ink);
}
.u17-related { margin: 56px 0 0; }
.u17-related__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.u17-related__head .u17-single__section-title { margin: 0; }
.u17-related__head .u17-link { color: var(--u17-blue); font-weight: 700; white-space: nowrap; }
.u17-related--narrow { max-width: 1120px; margin-left: auto; margin-right: auto; }
.u17-related .u17-grid { align-items: stretch; }
.u17-related .u17-card { height: 100%; }

@media (max-width: 768px) {
  .u17-postnav { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
  .u17-postnav > :only-child { max-width: none; }
  .u17-postnav__link { min-height: 0; padding: 16px 18px; }
  .u17-postnav__link--next { text-align: left; align-items: flex-start; }
  .u17-postnav__link.is-empty { display: none; }
  .u17-related { margin-top: 42px; }
  .u17-related__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .u17-related__head .u17-link { white-space: normal; }
}
