:root {
  --stitch-bg: #f5f9fc;
  --stitch-surface: rgba(255, 255, 255, 0.82);
  --stitch-surface-strong: #ffffff;
  --stitch-line: rgba(7, 102, 153, 0.12);
  --stitch-line-strong: rgba(7, 102, 153, 0.20);
  --stitch-ink: #0e0e0e;           /* brand near-black */
  --stitch-muted: #4a5f70;
  --stitch-blue: #076699;          /* brand primary */
  --stitch-blue-dark: #054f7a;     /* brand primary dark */
  --stitch-accent: #7cb4d0;        /* brand accent light */
  --stitch-glow: rgba(7, 102, 153, 0.12);
  --stitch-shadow: 0 22px 48px rgba(7, 50, 80, 0.09);
}

body.c-stitch {
  color: var(--stitch-ink);
  background:
    radial-gradient(circle at 0% 0%, rgba(124, 180, 208, 0.16), transparent 28%),
    radial-gradient(circle at 100% 12%, rgba(7, 102, 153, 0.10), transparent 24%),
    linear-gradient(180deg, #f5f9fc 0%, #f9fbfd 42%, #f2f6fa 100%);
}

body.c-stitch .c-site-header {
  background: rgba(245, 249, 252, 0.88);
  border-bottom-color: var(--stitch-line);
}

body.c-stitch .c-main-nav a,
body.c-stitch .c-mobile-nav__inner a,
body.c-stitch .c-site-footer__meta,
body.c-stitch .c-site-footer__links a,
body.c-stitch .c-site-footer__copy,
body.c-stitch .c-breadcrumb,
body.c-stitch .c-overline,
body.c-stitch .c-section__copy,
body.c-stitch .c-card__subtitle,
body.c-stitch .c-docs__meta,
body.c-stitch .c-product-side__meta,
body.c-stitch .c-product-side__variant-note,
body.c-stitch .c-home-hero__copy {
  color: var(--stitch-muted);
}

body.c-stitch .c-btn--solid {
  background: linear-gradient(135deg, var(--stitch-blue-dark), var(--stitch-blue));
  box-shadow: 0 10px 20px rgba(7, 102, 153, 0.24);
}

body.c-stitch .c-btn--solid:hover {
  box-shadow: 0 14px 28px rgba(7, 102, 153, 0.32);
}

body.c-stitch .c-btn--ghost {
  border-color: rgba(7, 102, 153, 0.22);
  background: rgba(255, 255, 255, 0.80);
  color: var(--stitch-blue-dark);
}

body.c-stitch .c-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(7, 102, 153, 0.36);
}

.sx-page-hero {
  padding: 3.5rem 0 5.5rem;
}

.sx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 2.5rem;
  align-items: stretch;
}

.sx-panel,
.sx-card,
.sx-stat-card,
.sx-search-shell,
.sx-stage,
.sx-doc-actions,
.sx-spec-panel,
.sx-doc-panel,
.sx-rfq-panel,
.sx-journey-card,
.sx-resource-card,
.sx-surface {
  border: 1px solid var(--stitch-line);
  background: var(--stitch-surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--stitch-shadow);
}

.sx-panel,
.sx-stage,
.sx-search-shell,
.sx-stat-card,
.sx-doc-panel,
.sx-rfq-panel,
.sx-resource-card,
.sx-spec-panel,
.sx-journey-card {
  border-radius: 28px;
}

.sx-hero-copy {
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.sx-hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -70px -90px auto;
  width: 220px;
  height: 220px;
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(124, 180, 208, 0.20), rgba(7, 102, 153, 0.05));
  transform: rotate(20deg);
}

.sx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stitch-blue-dark);
  background: rgba(7, 102, 153, 0.08);
  border: 1px solid rgba(7, 102, 153, 0.14);
}

.sx-title {
  margin: 1rem 0 1rem;
  /* Brand spec: Title = Helvetica Now Bold — use body font stack */
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 42px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  max-width: 14ch;
  color: var(--stitch-ink);
}

.sx-lead {
  margin: 0;
  max-width: 58ch;
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--stitch-muted);
}

.sx-actions,
.sx-quick-row,
.sx-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sx-actions { margin-top: 1.5rem; }
.sx-quick-row { margin-top: 1rem; }

.sx-quick-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--stitch-line);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--stitch-ink);
  text-decoration: none;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.sx-quick-chip::after {
  content: "→";
  font-size: 0.78rem;
  opacity: 0.4;
  transition: opacity 200ms ease, transform 200ms ease;
}

.sx-quick-chip:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(7, 102, 153, 0.28);
  color: var(--stitch-blue-dark);
  transform: translateY(-1px);
}

.sx-quick-chip:hover::after {
  opacity: 0.8;
  transform: translateX(2px);
}

.sx-search-shell {
  margin-top: 1.75rem;
  padding: 1.25rem;
}

.sx-search-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.9rem;
}

.sx-search-kicker,
.sx-mini-kicker {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 700;
  color: var(--stitch-blue);
}

.sx-search-note,
.sx-muted { color: var(--stitch-muted); }

.sx-stat-card {
  padding: 1.75rem;
  display: grid;
  gap: 1rem;
}

.sx-stat-card__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.sx-stat-card__title,
.sx-section-title,
.sx-product-title {
  margin: 0;
  font-family: var(--font-display);
  color: var(--stitch-ink);
}

.sx-stat-card__title { font-size: 1.5rem; line-height: 1.1; max-width: 12ch; }
.sx-section-title { font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.05; }
.sx-product-title { font-size: clamp(2rem, 3vw, 3rem); line-height: 1.02; }

.sx-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  background: rgba(16, 32, 58, 0.06);
  color: var(--stitch-ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.sx-list,
.sx-stat-list,
.sx-doc-list,
.sx-check-list { list-style: none; margin: 0; padding: 0; }

.sx-stat-list {
  display: grid;
  gap: 0.75rem;
}

.sx-stat-list li,
.sx-check-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(16, 32, 58, 0.08);
}

.sx-stat-list span,
.sx-check-list span {
  color: var(--stitch-muted);
  font-size: 0.88rem;
}

/* Step numbers (01–04) use brand blue for visual accent */
.sx-stat-list li > strong:last-child {
  color: var(--stitch-blue);
  font-size: 1.15rem;
  font-family: var(--font-display);
  opacity: 0.75;
  flex-shrink: 0;
}

.sx-logo-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.sx-logo-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 0.8rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--stitch-line);
  background: rgba(255,255,255,0.7);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--stitch-muted);
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}

.sx-logo-pill:hover {
  background: rgba(255,255,255,0.96);
  border-color: rgba(7, 102, 153, 0.22);
  color: var(--stitch-ink);
}

.sx-section {
  padding: 3.5rem 0 4.5rem;
  border-top: 1px solid var(--stitch-line);
}

.sx-section-head {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 2rem;
}

.sx-grid-3,
.sx-grid-4,
.sx-grid-2 {
  display: grid;
  gap: 1.25rem;
}

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

.sx-card {
  padding: 1.4rem;
  border-radius: 24px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.sx-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 52px rgba(7, 50, 80, 0.14);
}

.sx-card h3,
.sx-card h4 {
  margin: 0.8rem 0 0.4rem;
  color: var(--stitch-ink);
}

.sx-card p { margin: 0; color: var(--stitch-muted); line-height: 1.6; }

.sx-icon-box {
  display: inline-flex;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(7, 102, 153, 0.14), rgba(7, 102, 153, 0.06));
  color: var(--stitch-blue-dark);
  font-weight: 800;
  flex-shrink: 0;
}

.sx-meta-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}

.sx-meta-pill {
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  border: 1px solid var(--stitch-line);
  background: rgba(255,255,255,0.72);
  color: var(--stitch-muted);
}

.sx-stage {
  padding: 2rem;
}

.sx-stage-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.sx-step {
  padding: 1.2rem 1rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--stitch-line);
  display: grid;
  gap: 0.5rem;
}

.sx-step strong {
  display: block;
  color: var(--stitch-ink);
  font-size: 0.95rem;
}

.sx-step span { color: var(--stitch-muted); font-size: 0.88rem; line-height: 1.55; }

.sx-product-card__media {
  aspect-ratio: 4 / 3;
  padding: 1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(240, 245, 255, 0.95), rgba(255,255,255,0.72));
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 32, 58, 0.08);
  overflow: hidden;
}

.sx-product-card__media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.sx-spec-row {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.sx-spec-item,
.sx-kpi {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  padding: 0.72rem 0.85rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(16,32,58,0.08);
}

.sx-spec-item span { color: var(--stitch-muted); }

.sx-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.sx-kpi {
  display: grid;
  align-content: start;
}

.sx-kpi strong { font-size: 1.85rem; color: var(--stitch-blue); font-family: var(--font-display); }
.sx-kpi span { color: var(--stitch-muted); font-size: 0.82rem; }

.sx-resource-card,
.sx-rfq-panel,
.sx-doc-panel,
.sx-spec-panel { padding: 1.75rem; }

.sx-page-nav {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1rem 0 1.5rem;
}

.sx-page-nav a {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.74);
  border: 1px solid var(--stitch-line);
  color: var(--stitch-ink);
  font-weight: 600;
}

.sx-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 1.4rem;
  align-items: start;
}

.sx-gallery-shell,
.sx-summary-shell {
  border-radius: 28px;
  border: 1px solid var(--stitch-line);
  background: var(--stitch-surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--stitch-shadow);
}

.sx-gallery-shell { padding: 1.5rem; }
.sx-summary-shell { padding: 1.5rem; position: sticky; top: calc(var(--header-height) + 20px); }

.sx-gallery-main {
  border-radius: 24px;
  padding: 1rem;
  border: 1px solid rgba(16, 32, 58, 0.08);
  background: linear-gradient(180deg, rgba(239,244,255,0.95), rgba(255,255,255,0.7));
}

.sx-gallery-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.sx-gallery-rail img {
  border-radius: 18px;
  border: 1px solid rgba(16, 32, 58, 0.08);
  background: rgba(255,255,255,0.75);
  padding: 0.45rem;
}

.sx-summary-top { display: grid; gap: 1rem; }

.sx-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.sx-summary-metric {
  padding: 0.9rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(16,32,58,0.08);
}

.sx-summary-metric span {
  display: block;
  font-size: 0.8rem;
  color: var(--stitch-muted);
  margin-bottom: 0.3rem;
}

.sx-summary-metric strong { color: var(--stitch-ink); }

.sx-split-stack {
  display: grid;
  gap: 1rem;
}

.sx-doc-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  margin-bottom: 1rem;
}

.sx-doc-summary {
  font-size: 0.92rem;
  color: var(--stitch-muted);
}

.sx-doc-status {
  margin-top: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(36, 87, 214, 0.08);
  color: var(--stitch-blue-dark);
}

.sx-doc-status.is-error {
  background: rgba(184, 53, 80, 0.08);
  color: #9f2040;
}

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

.sx-form-grid .c-form-row--full { grid-column: 1 / -1; }

.sx-form-grid label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--stitch-ink);
  font-weight: 600;
  font-size: 0.88rem;
}

.sx-form-grid .c-input,
.sx-form-grid .c-textarea,
.sx-search-shell .c-input {
  border-color: rgba(16, 32, 58, 0.08);
  background: rgba(255,255,255,0.92);
}

.sx-footer-space { padding-bottom: 3rem; }

/* CTA strip brand alignment for stitch pages */
body.c-stitch .c-cta-strip {
  background: linear-gradient(120deg, var(--stitch-blue-dark), var(--stitch-blue));
}

/* First section inherits the general sx-section border-top */

@media (max-width: 1100px) {
  .sx-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-stage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-logo-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .sx-hero-grid,
  .sx-product-layout,
  .sx-grid-3,
  .sx-grid-2,
  .sx-kpi-grid,
  .sx-summary-grid,
  .sx-form-grid,
  .sx-logo-strip { grid-template-columns: 1fr; }

  .sx-stage-grid { grid-template-columns: 1fr; }
  .sx-section-head,
  .sx-search-head,
  .sx-doc-actions { align-items: start; flex-direction: column; }
  .sx-summary-shell { position: static; }
}

@media (max-width: 640px) {
  .sx-grid-4 { grid-template-columns: 1fr; }
  .sx-title { font-size: 2.5rem; }
  .sx-hero-copy,
  .sx-stat-card,
  .sx-stage,
  .sx-resource-card,
  .sx-rfq-panel,
  .sx-spec-panel,
  .sx-doc-panel,
  .sx-gallery-shell,
  .sx-summary-shell,
  .sx-card { padding: 1.1rem; }
}

/* ===================================================
   EXTENDED COMPONENTS — UIUX Pass 2026-06-26
   Stitch design language for catalog inner pages
   =================================================== */

/* Applied filter chip with keyboard-accessible remove button */
.sx-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.5rem 0.42rem 0.82rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(7, 102, 153, 0.10);
  border: 1px solid rgba(7, 102, 153, 0.22);
  color: var(--stitch-blue-dark);
}

.sx-filter-chip__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 0;
  background: rgba(7, 102, 153, 0.14);
  border-radius: 50%;
  color: var(--stitch-blue-dark);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  transition: background 150ms ease;
}

.sx-filter-chip__remove:hover { background: rgba(7, 102, 153, 0.28); }
.sx-filter-chip__remove:focus-visible { outline: 2px solid var(--stitch-blue); outline-offset: 2px; }

/* Stitch overrides for shared filter panel */
body.c-stitch .c-filter-panel {
  border-radius: 24px;
  border-color: var(--stitch-line-strong);
  background: var(--stitch-surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--stitch-shadow);
}

body.c-stitch .c-filter-group__label {
  color: var(--stitch-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-display);
  font-weight: 700;
}

body.c-stitch .c-filter-group label { color: var(--stitch-ink); }

/* Product listing card (stitch style) */
.sx-listing-card {
  padding: 1.25rem;
  border-radius: 24px;
  background: var(--stitch-surface);
  border: 1px solid var(--stitch-line);
  backdrop-filter: blur(14px);
  box-shadow: var(--stitch-shadow);
  display: grid;
  gap: 0.9rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.sx-listing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 52px rgba(7, 50, 80, 0.14);
}

.sx-listing-card__media {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(240, 245, 255, 0.95), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(16, 32, 58, 0.07);
  display: grid;
  place-items: center;
  padding: 0.8rem;
}

.sx-listing-card__media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.sx-listing-card__spec-row { display: grid; gap: 0.4rem; }

.sx-listing-card__spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  padding: 0.52rem 0.78rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(16, 32, 58, 0.07);
}

.sx-listing-card__spec span { color: var(--stitch-muted); }
.sx-listing-card__spec strong { color: var(--stitch-ink); }

/* Search result card */
.sx-result-card {
  padding: 1.25rem 1.5rem;
  border-radius: 22px;
  background: var(--stitch-surface);
  border: 1px solid var(--stitch-line);
  backdrop-filter: blur(14px);
  box-shadow: var(--stitch-shadow);
  display: grid;
  gap: 0.75rem;
}

.sx-result-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sx-result-badge--product {
  background: rgba(7, 102, 153, 0.10);
  color: var(--stitch-blue-dark);
  border: 1px solid rgba(7, 102, 153, 0.20);
}

.sx-result-badge--variant {
  background: rgba(47, 158, 101, 0.10);
  color: #1c5e3a;
  border: 1px solid rgba(47, 158, 101, 0.22);
}

.sx-result-badge--document {
  background: rgba(14, 14, 14, 0.06);
  color: var(--stitch-muted);
  border: 1px solid rgba(14, 14, 14, 0.12);
}

/* Brand directory card */
.sx-brand-card {
  padding: 1.5rem;
  border-radius: 24px;
  background: var(--stitch-surface);
  border: 1px solid var(--stitch-line);
  backdrop-filter: blur(14px);
  box-shadow: var(--stitch-shadow);
  display: grid;
  gap: 0.9rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.sx-brand-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 52px rgba(7, 50, 80, 0.14);
}

.sx-brand-card__media {
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(240, 245, 255, 0.95), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(16, 32, 58, 0.07);
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.sx-brand-card__media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Blog featured article card */
.sx-blog-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: stretch;
  padding: 1.75rem;
  border-radius: 28px;
  background: var(--stitch-surface);
  border: 1px solid var(--stitch-line);
  backdrop-filter: blur(16px);
  box-shadow: var(--stitch-shadow);
}

.sx-blog-feature__media {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(240, 245, 250, 0.9);
  min-height: 220px;
}

.sx-blog-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sx-blog-feature__body {
  display: grid;
  gap: 1rem;
  align-content: start;
}

/* Blog listing card */
.sx-blog-card {
  padding: 1.4rem;
  border-radius: 24px;
  background: var(--stitch-surface);
  border: 1px solid var(--stitch-line);
  backdrop-filter: blur(14px);
  box-shadow: var(--stitch-shadow);
  display: grid;
  gap: 0.8rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.sx-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 52px rgba(7, 50, 80, 0.14);
}

.sx-blog-card__media {
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(240, 245, 250, 0.9);
}

.sx-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Article prose sections */
.sx-article { display: grid; gap: 1.75rem; }
.sx-article-section { display: grid; gap: 0.85rem; }

.sx-article-section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--stitch-ink);
}

.sx-article-section p {
  margin: 0;
  color: var(--stitch-muted);
  line-height: 1.78;
  font-size: 1.02rem;
}

.sx-article-section strong { color: var(--stitch-ink); }

/* Article inline CTA panel */
.sx-article-cta {
  padding: 1.75rem;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(7, 102, 153, 0.08), rgba(7, 102, 153, 0.04));
  border: 1px solid rgba(7, 102, 153, 0.18);
}

/* Stitch brand subnav override */
body.c-stitch .c-brand-subnav {
  background: rgba(245, 249, 252, 0.92);
  border-bottom-color: var(--stitch-line);
}

body.c-stitch .c-brand-subnav a { color: var(--stitch-muted); }
body.c-stitch .c-brand-subnav a:hover { color: var(--stitch-ink); border-bottom-color: var(--stitch-accent); }
body.c-stitch .c-brand-subnav a.is-active { color: var(--stitch-ink); border-bottom-color: var(--stitch-blue); }

@media (max-width: 920px) {
  .sx-blog-feature { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .sx-blog-feature { padding: 1.25rem; }
  .sx-listing-card,
  .sx-result-card,
  .sx-brand-card,
  .sx-blog-card { padding: 1.1rem; }
}
