/*
Theme Name: QD Metalworking
Theme URI: https://www.qdmetalworking.com/
Author: QD Metalworking
Description: A lightweight native WordPress block theme for QD Metalworking. Built for Gutenberg / Site Editor with no page-builder dependency.
Version: 1.11.10
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: qd-metalworking
*/

:root {
  --qdm-blue: #174A7C;
  --qdm-blue-dark: #0E355B;
  --qdm-blue-soft: #EAF1F7;
  --qdm-red: #C6282F;
  --qdm-red-dark: #A82027;
  --qdm-ink: #132331;
  --qdm-muted: #52636F;
  --qdm-line: #DCE4EA;
  --qdm-bg: #F4F7F9;
  --qdm-warm: #EEF3F7;
  --qdm-dark: #0A141C;
  --qdm-dark-2: #10293C;
  --qdm-white: #FFFFFF;
  --qdm-shadow: 0 18px 50px rgba(13, 35, 52, .10);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
body, .editor-styles-wrapper {
  color: var(--qdm-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.68;
}

h1, h2, h3, h4, h5, h6,
.editor-styles-wrapper h1, .editor-styles-wrapper h2, .editor-styles-wrapper h3 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.qdm-topbar { border-bottom: 2px solid var(--qdm-red); }
.qdm-header-main { border-bottom: 1px solid var(--qdm-line); }
.qdm-site-logo img { display:block; }
.qdm-header .wp-block-navigation-item__content { text-decoration:none; }
.qdm-header .wp-block-navigation-item__content:hover { color: var(--qdm-blue); }
.qdm-header-quote .wp-block-button__link { box-shadow: 0 8px 20px rgba(198,40,47,.18); }

.qdm-hero { position: relative; overflow:hidden; }
.qdm-hero .wp-block-cover__background {
  background: linear-gradient(90deg,rgba(6,17,27,.96) 0%,rgba(14,53,91,.84) 46%,rgba(14,53,91,.40) 72%,rgba(10,20,28,.18) 100%) !important;
  opacity: 1 !important;
}
.qdm-hero-title { border-left: 4px solid var(--qdm-red); }
.qdm-rfq-card { backdrop-filter: blur(10px); box-shadow: 0 24px 70px rgba(0,0,0,.22); }
.qdm-trust { border-top: 3px solid var(--qdm-blue); border-bottom: 1px solid var(--qdm-line); }
.qdm-trust-item + .qdm-trust-item { border-left: 1px solid var(--qdm-line); }

.qdm-section-label { text-transform:uppercase; letter-spacing:.15em; }
.qdm-section-label::before { content:""; display:inline-block; width:30px; height:2px; background:var(--qdm-red); margin-right:10px; vertical-align:middle; }

.qdm-cap-card, .qdm-industry-card, .qdm-insight-card, .qdm-project-card, .qdm-step-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.qdm-cap-card:hover, .qdm-project-card:hover, .qdm-insight-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--qdm-shadow);
}
.qdm-cap-card { border-top:3px solid var(--qdm-blue); }
.qdm-cap-card.qdm-accent { border-top-color:var(--qdm-red); }
.qdm-project-card { overflow:hidden; }
.qdm-project-card img { width:100%; aspect-ratio: 4 / 3; object-fit:cover; }
.qdm-project-card figure { margin:0; }
.qdm-quality { position:relative; overflow:hidden; }
.qdm-quality::after { content:""; position:absolute; width:520px; height:520px; border-radius:50%; right:-300px; top:-280px; border:1px solid rgba(255,255,255,.08); pointer-events:none; }
.qdm-quality > * { position:relative; z-index:1; }
.qdm-tag { display:inline-block; }
.qdm-footer { border-top:3px solid var(--qdm-red); }
.qdm-footer a { text-decoration:none; }
.qdm-footer a:hover { color:#fff !important; }


/* V0.2 typography tuning — wider, more conventional North-American industrial B2B feel */
.qdm-header .wp-block-navigation { font-size: 15.5px; font-weight: 700; }
.qdm-topbar p { font-size: 12.5px !important; }

.qdm-hero-title {
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
}
.qdm-hero-lead {
  font-size: 19px !important;
  line-height: 1.68 !important;
}
.qdm-rfq-card p,
.qdm-rfq-card li { font-size: 14px !important; line-height: 1.7 !important; }
.qdm-rfq-card h2 { font-size: 26px !important; }

.qdm-section-heading {
  font-weight: 760 !important;
  letter-spacing: -0.025em !important;
}

.qdm-cap-card p:last-child,
.qdm-industry-card p,
.qdm-insight-card p,
.qdm-project-card p,
.qdm-step-card p {
  font-size: 14.5px !important;
  line-height: 1.65 !important;
}
.qdm-cap-card h3,
.qdm-project-card h3 { font-weight: 720 !important; }

.qdm-trust-item p { font-size: 13px !important; }
.qdm-trust-item h3 { font-size: 17px !important; }

.qdm-quality p { line-height: 1.68 !important; }
.qdm-quality .wp-block-column > .wp-block-group p:last-child {
  font-size: 14px !important;
}

.qdm-footer p,
.qdm-footer a { font-size: 12.5px !important; line-height: 1.65; }

.qdm-section-label { font-size: 12px !important; font-weight: 800 !important; }


/* V0.3 — header and Why-section refinements */
.qdm-site-logo {
  width: 162px;
  max-width: 162px;
}
.qdm-site-logo img {
  width: 162px !important;
  height: auto !important;
  display: block;
  /* Existing logo file is white; convert it to the QD blue used in the brand system. */
  filter: brightness(0) saturate(100%) invert(24%) sepia(34%) saturate(1558%) hue-rotate(168deg) brightness(90%) contrast(92%);
}

.qdm-why-visual {
  min-height: 540px !important;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(16,32,43,.15);
}
.qdm-why-visual .wp-block-cover__background {
  background: linear-gradient(180deg, rgba(10,22,30,.02), rgba(10,22,30,.26)) !important;
  opacity: 1 !important;
}
.qdm-why-visual .wp-block-cover__inner-container {
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.qdm-why-badge {
  width: 100%;
  background: rgba(255,255,255,.94) !important;
  border-radius: 9px;
  box-shadow: 0 10px 28px rgba(0,0,0,.14);
}

.qdm-benefits {
  border-top: 1px solid var(--qdm-line);
}
.qdm-benefit-row {
  border-bottom: 1px solid var(--qdm-line);
}
.qdm-benefit-number {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background: var(--qdm-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px !important;
  font-weight: 800;
  margin: 0 !important;
}


/* V0.4 — Representative Work case-study cards */
.qdm-project-columns {
  align-items: stretch;
}
.qdm-project-columns > .wp-block-column {
  display: flex;
}
.qdm-project-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.qdm-project-card > .wp-block-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.qdm-project-tags {
  margin-top: auto !important;
  padding-top: 14px;
  color: var(--qdm-blue);
  font-size: 11.5px !important;
  line-height: 1.55 !important;
  font-weight: 700;
}

/* Keep the CMM operator and machine readable inside the tall cover. */
.qdm-why-visual img {
  object-position: center center !important;
}



/* V0.6 — sticky header containment fix
   WordPress wraps template parts in its own <header class="wp-block-template-part"> box.
   A sticky child cannot remain sticky beyond the bottom of that short parent.
   Flatten both header wrapper boxes so the white primary bar can stick relative
   to the page, while keeping the black topbar in normal document flow. */
header.wp-block-template-part,
header.wp-block-template-part > .qdm-header {
  display: contents;
}

/* Do not let a site-level overflow rule create a false sticky scroll container. */
.wp-site-blocks {
  overflow: visible;
}

.qdm-header-main {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10000;
  width: 100%;
  background: rgba(255,255,255,.985) !important;
  border-bottom: 1px solid var(--qdm-line);
  box-shadow: 0 5px 18px rgba(13,35,52,.09);
}

/* WordPress toolbar offsets while logged in. */
body.admin-bar .qdm-header-main {
  top: 32px;
}
/* WordPress admin bar behavior differs by viewport:
   - 601–782px: admin bar remains fixed and is 46px tall.
   - <=600px: admin bar scrolls with the page, so sticky header can use top:0. */
@media (min-width: 601px) and (max-width: 782px) {
  body.admin-bar .qdm-header-main {
    top: 46px;
  }
}
@media (max-width: 600px) {
  body.admin-bar .qdm-header-main {
    top: 0;
  }
}

@media (max-width: 980px) {
  .qdm-hero-columns, .qdm-quality-columns, .qdm-why-columns, .qdm-cta-columns { flex-wrap: wrap !important; }
  .qdm-hero-copy, .qdm-hero-rfq, .qdm-quality-copy, .qdm-quality-grid, .qdm-why-image, .qdm-why-copy, .qdm-cta-copy, .qdm-cta-actions { flex-basis: 100% !important; }
  .qdm-process-columns { flex-wrap:wrap !important; }
  .qdm-process-columns > .wp-block-column { flex-basis: calc(50% - 8px) !important; }
}

@media (max-width: 781px) {
  .qdm-topbar-contact { display:none; }
  .qdm-header-main-inner { min-height:68px !important; }
  .qdm-hero { min-height: auto !important; }
  .qdm-why-visual { min-height: 380px !important; }
  .qdm-hero-inner { padding-top:62px !important; padding-bottom:62px !important; }
  .qdm-hero-title { font-size:44px !important; letter-spacing:-1px !important; }
  .qdm-hero-lead { font-size:16px !important; }
  .qdm-trust-columns { flex-wrap:wrap !important; }
  .qdm-trust-columns > .wp-block-column { flex-basis:100% !important; }
  .qdm-trust-item + .qdm-trust-item { border-left:0; border-top:1px solid var(--qdm-line); }
  .qdm-section { padding-top:68px !important; padding-bottom:68px !important; }
  .qdm-section-heading { font-size:38px !important; }
  .qdm-quality-cards, .qdm-project-columns, .qdm-industry-columns, .qdm-insight-columns { flex-wrap:wrap !important; }
  .qdm-quality-cards > .wp-block-column, .qdm-project-columns > .wp-block-column, .qdm-industry-columns > .wp-block-column, .qdm-insight-columns > .wp-block-column { flex-basis:100% !important; }
  .qdm-process-columns > .wp-block-column { flex-basis:100% !important; }
  .qdm-cta-actions .wp-block-buttons { justify-content:flex-start !important; }
  .qdm-footer-columns { flex-wrap:wrap !important; }
  .qdm-footer-columns > .wp-block-column { flex-basis:100% !important; }
}


/* V0.7 — mobile navigation + responsive polish */
@media (max-width: 781px) {
  /* Compact sticky header on phones while retaining Logo + Menu + RFQ. */
  .qdm-header-main {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .qdm-header-main-inner {
    min-height: 82px !important;
    gap: 12px !important;
  }
  .qdm-site-logo,
  .qdm-site-logo img {
    width: 122px !important;
    max-width: 122px !important;
  }
  .qdm-site-logo {
    margin: 0 !important;
  }
  .qdm-header-quote {
    margin: 0 !important;
  }
  .qdm-header-quote .wp-block-button__link {
    font-size: 13px !important;
    line-height: 1.35 !important;
    padding: 9px 12px !important;
  }

  /*
   * Gutenberg mobile navigation overlay.
   * Desktop navigation is right-aligned, so Core was inheriting that alignment
   * into the overlay. Force a normal full-viewport, left-aligned mobile menu.
   */
  .qdm-header .wp-block-navigation__responsive-container.is-menu-open {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    z-index: 100000 !important;
    padding: 76px 24px 32px !important;
    background: #ffffff !important;
    color: var(--qdm-ink) !important;
    overflow-y: auto !important;
  }

  .qdm-header .wp-block-navigation__responsive-container-content {
    width: 100% !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding-top: 12px !important;
  }

  .qdm-header .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
  }

  .qdm-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item {
    width: 100% !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
  }

  .qdm-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
    display: block !important;
    width: 100% !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid var(--qdm-line);
    color: var(--qdm-ink) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: left !important;
  }

  .qdm-header .wp-block-navigation__responsive-container-close {
    top: 22px !important;
    right: 22px !important;
    color: var(--qdm-ink) !important;
  }

  .qdm-header .wp-block-navigation__responsive-container-open,
  .qdm-header .wp-block-navigation__responsive-container-close {
    width: 28px;
    height: 28px;
  }

  /* Slightly more readable footer text on phones. */
  .qdm-footer p,
  .qdm-footer a {
    font-size: 13.5px !important;
    line-height: 1.75 !important;
  }
}



/* V0.8 — tablet navigation breakpoint
   WordPress Core keeps the desktop navigation visible above its own mobile
   breakpoint. With six links + RFQ button this is too wide for tablets, so
   QD Metalworking deliberately uses the hamburger menu through 1024px. */
@media (max-width: 1024px) {
  .qdm-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
  }

  .qdm-header .wp-block-navigation__responsive-container-open {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .qdm-header .wp-block-navigation__responsive-container.is-menu-open {
    display: flex !important;
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    z-index: 100000 !important;
    padding: 76px 28px 36px !important;
    background: #ffffff !important;
    color: var(--qdm-ink) !important;
    overflow-y: auto !important;
  }

  .qdm-header .wp-block-navigation__responsive-container-content {
    width: 100% !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding-top: 12px !important;
  }

  .qdm-header .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
  }

  .qdm-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item {
    width: 100% !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
  }

  .qdm-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
    display: block !important;
    width: 100% !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid var(--qdm-line);
    color: var(--qdm-ink) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: left !important;
  }

  .qdm-header .wp-block-navigation__responsive-container-close {
    top: 22px !important;
    right: 24px !important;
    color: var(--qdm-ink) !important;
  }
}



/* V1.0 — homepage navigation helpers */
#home,
#capabilities,
#why-us,
#quality,
#projects,
#process,
#industries,
#insights {
  scroll-margin-top: 104px;
}

/* Back to top */
.qdm-back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9000;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: rgba(23,74,124,.94);
  color: #fff;
  box-shadow: 0 10px 28px rgba(13,35,52,.22);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, background-color .2s ease, visibility .2s ease;
}
.qdm-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.qdm-back-to-top:hover,
.qdm-back-to-top:focus-visible {
  background: var(--qdm-red);
}
.qdm-back-to-top:focus-visible {
  outline: 3px solid rgba(198,40,47,.25);
  outline-offset: 3px;
}
.qdm-back-to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Desktop section position navigator */
.qdm-section-nav {
  position: fixed;
  left: 18px;
  top: 50%;
  z-index: 8800;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(-50%);
}
.qdm-section-nav__item {
  position: relative;
  width: 36px;
  height: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.qdm-section-nav__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 15px;
  height: 2px;
  border-radius: 2px;
  background: rgba(19,35,49,.30);
  transition: width .18s ease, background-color .18s ease, opacity .18s ease;
}
.qdm-section-nav__item:hover::before,
.qdm-section-nav__item:focus-visible::before {
  width: 24px;
  background: var(--qdm-blue);
}
.qdm-section-nav__item.is-active::before {
  width: 31px;
  background: var(--qdm-red);
}
.qdm-section-nav__item::after {
  content: attr(data-label);
  position: absolute;
  left: 43px;
  top: 50%;
  transform: translateY(-50%) translateX(-4px);
  white-space: nowrap;
  padding: 6px 9px;
  border-radius: 5px;
  background: rgba(10,20,28,.92);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.qdm-section-nav__item:hover::after,
.qdm-section-nav__item:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}
.qdm-section-nav__item:focus-visible {
  outline: none;
}
.qdm-section-nav__item:focus-visible::before {
  box-shadow: 0 0 0 3px rgba(23,74,124,.18);
}

@media (max-width: 1199px) {
  .qdm-section-nav {
    display: none;
  }
}
@media (max-width: 600px) {
  .qdm-back-to-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    border-radius: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .qdm-back-to-top,
  .qdm-section-nav__item::before,
  .qdm-section-nav__item::after {
    transition: none;
  }
}



/* V1.1 — continuous desktop scroll progress rail */
.qdm-section-nav::before,
.qdm-section-nav::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 1px;
  border-radius: 2px;
  pointer-events: none;
}
.qdm-section-nav::before {
  height: calc(100% - 14px);
  background: rgba(19,35,49,.12);
}
.qdm-section-nav::after {
  height: var(--qdm-scroll-progress, 0%);
  max-height: calc(100% - 14px);
  background: rgba(198,40,47,.65);
  transition: height .08s linear;
}



/* V1.2 — Capabilities page */
#cnc-machining,
#casting,
#fabrication,
#secondary-processes,
#tooling-coordination,
#materials-project-fit,
#capability-quality {
  scroll-margin-top: 104px;
}

.qdm-cap-page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 18%, rgba(255,255,255,.10), transparent 26%),
    linear-gradient(120deg, #0a141c 0%, #0e355b 58%, #174a7c 100%);
}
.qdm-cap-page-hero::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -260px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  pointer-events: none;
}
.qdm-cap-page-hero > * {
  position: relative;
  z-index: 1;
}
.qdm-cap-page-hero-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0,0,0,.24);
}
.qdm-cap-page-hero-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.qdm-cap-page-kicker {
  color: #ff7c80;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px !important;
  font-weight: 800;
}
.qdm-cap-page-hero h1 {
  color: #fff;
  font-size: 58px !important;
  line-height: 1.03 !important;
  letter-spacing: -.035em !important;
  margin-top: 12px !important;
}
.qdm-cap-page-hero .qdm-cap-page-lead {
  color: #d7e1e8;
  font-size: 18px !important;
  line-height: 1.72 !important;
}
.qdm-cap-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.qdm-cap-hero-tags span {
  display: inline-block;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px;
  color: #e7eef3;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255,255,255,.04);
}

/* Quick navigation */
.qdm-cap-quicknav {
  border-bottom: 1px solid var(--qdm-line);
  background: #fff;
}
.qdm-cap-quicknav-links {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
}
.qdm-cap-quicknav-links a {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 12px 15px;
  border-right: 1px solid var(--qdm-line);
  color: var(--qdm-ink);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}
.qdm-cap-quicknav-links a:first-child {
  border-left: 1px solid var(--qdm-line);
}
.qdm-cap-quicknav-links a:hover {
  color: var(--qdm-blue);
  background: var(--qdm-bg);
}

/* Core capability detail sections */
.qdm-cap-detail {
  position: relative;
}
.qdm-cap-detail-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--qdm-shadow);
}
.qdm-cap-detail-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.qdm-cap-detail-number {
  margin: 0 0 10px;
  color: var(--qdm-blue);
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.qdm-cap-detail h2 {
  font-size: 44px !important;
  line-height: 1.08 !important;
  margin-top: 0 !important;
  margin-bottom: 16px !important;
}
.qdm-cap-detail .qdm-cap-intro {
  color: var(--qdm-muted);
  font-size: 16px !important;
  line-height: 1.76 !important;
}
.qdm-cap-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-top: 24px;
}
.qdm-cap-feature {
  padding: 15px 16px;
  border: 1px solid var(--qdm-line);
  border-radius: 8px;
  background: #fff;
}
.qdm-cap-feature strong {
  display: block;
  margin-bottom: 3px;
  color: var(--qdm-ink);
  font-size: 14px;
}
.qdm-cap-feature span {
  display: block;
  color: var(--qdm-muted);
  font-size: 13px;
  line-height: 1.55;
}
.qdm-cap-note {
  margin-top: 20px !important;
  padding: 14px 16px;
  border-left: 3px solid var(--qdm-red);
  background: var(--qdm-blue-soft);
  color: #445965;
  font-size: 13.5px !important;
  line-height: 1.65 !important;
}

/* Secondary process cards */
.qdm-secondary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.qdm-secondary-card {
  min-height: 158px;
  padding: 22px;
  border: 1px solid var(--qdm-line);
  border-radius: 9px;
  background: #fff;
}
.qdm-secondary-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 17px;
}
.qdm-secondary-card p {
  margin-bottom: 0;
  color: var(--qdm-muted);
  font-size: 14px !important;
  line-height: 1.65 !important;
}
.qdm-secondary-card::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 18px;
  border-radius: 3px;
  background: var(--qdm-red);
}

/* Tooling / coordination */
.qdm-support-cards {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
}
.qdm-support-card {
  padding: 28px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--qdm-line);
}
.qdm-support-card h3 {
  font-size: 22px;
  margin-top: 0;
}
.qdm-support-card p {
  color: var(--qdm-muted);
  font-size: 14.5px !important;
  line-height: 1.7 !important;
}
.qdm-route-strip {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 8px;
  margin-top: 22px;
}
.qdm-route-step {
  position: relative;
  padding: 15px 12px;
  border-radius: 7px;
  background: #10293c;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
}
.qdm-route-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translate(50%,-50%);
  color: var(--qdm-red);
  font-size: 16px;
  z-index: 2;
}

/* Materials + fit */
.qdm-materials-grid,
.qdm-fit-grid {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 10px;
}
.qdm-material-chip,
.qdm-fit-chip {
  padding: 18px 14px;
  border: 1px solid var(--qdm-line);
  border-radius: 8px;
  background: #fff;
}
.qdm-material-chip strong,
.qdm-fit-chip strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}
.qdm-material-chip span,
.qdm-fit-chip span {
  display: block;
  color: var(--qdm-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

/* Quality on capability page */
.qdm-cap-quality {
  background: var(--qdm-dark);
  color: #d9e3e9;
}
.qdm-cap-quality h2,
.qdm-cap-quality h3 {
  color: #fff;
}
.qdm-cap-quality-image {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
}
.qdm-cap-quality-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.qdm-cap-quality-list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
  margin-top: 20px;
}
.qdm-cap-quality-item {
  padding: 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 7px;
  background: rgba(255,255,255,.04);
}
.qdm-cap-quality-item strong {
  display: block;
  color: #fff;
  font-size: 14px;
}
.qdm-cap-quality-item span {
  display: block;
  margin-top: 3px;
  color: #b8c6cf;
  font-size: 12.5px;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .qdm-cap-page-hero-columns,
  .qdm-cap-detail-columns,
  .qdm-cap-quality-columns {
    flex-wrap: wrap !important;
  }
  .qdm-cap-page-hero-copy,
  .qdm-cap-page-hero-visual,
  .qdm-cap-detail-copy,
  .qdm-cap-detail-visual,
  .qdm-cap-quality-copy,
  .qdm-cap-quality-visual {
    flex-basis: 100% !important;
  }
  .qdm-cap-quicknav-links {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .qdm-secondary-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .qdm-materials-grid,
  .qdm-fit-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}
@media (max-width: 781px) {
  .qdm-cap-page-hero {
    padding-top: 58px !important;
    padding-bottom: 58px !important;
  }
  .qdm-cap-page-hero h1 {
    font-size: 42px !important;
  }
  .qdm-cap-page-hero .qdm-cap-page-lead {
    font-size: 16px !important;
  }
  .qdm-cap-quicknav-links {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .qdm-cap-quicknav-links a {
    min-height: 60px;
    border-bottom: 1px solid var(--qdm-line);
  }
  .qdm-cap-detail h2 {
    font-size: 36px !important;
  }
  .qdm-cap-feature-grid,
  .qdm-support-cards,
  .qdm-secondary-grid,
  .qdm-cap-quality-list {
    grid-template-columns: 1fr;
  }
  .qdm-route-strip {
    grid-template-columns: 1fr;
  }
  .qdm-route-step:not(:last-child)::after {
    content: "↓";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -14px;
    transform: translateX(-50%);
  }
  .qdm-materials-grid,
  .qdm-fit-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .qdm-materials-grid,
  .qdm-fit-grid {
    grid-template-columns: 1fr;
  }
}



/* V1.3 — Capabilities image/structure refinement */
.qdm-cap-page-hero.qdm-cap-page-hero--text-only {
  padding-top: 86px !important;
  padding-bottom: 78px !important;
}
.qdm-cap-page-hero--text-only .qdm-cap-hero-inner {
  max-width: 940px;
  margin-left: 0;
}
.qdm-cap-page-hero--text-only h1 {
  max-width: 900px;
}
.qdm-cap-page-hero--text-only .qdm-cap-page-lead {
  max-width: 820px;
}

/* Section intro spans the full content width; visual and detail grid share the second row. */
.qdm-cap-split-intro {
  max-width: 900px;
  margin-bottom: 34px;
}
.qdm-cap-split-intro .qdm-cap-detail-number {
  margin-bottom: 9px;
}
.qdm-cap-split-intro h2 {
  max-width: 920px;
  margin-top: 0 !important;
  margin-bottom: 14px !important;
  font-size: 44px !important;
  line-height: 1.08 !important;
}
.qdm-cap-split-intro .qdm-cap-intro {
  max-width: 880px;
  margin-bottom: 0;
}

.qdm-cap-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 34px;
  align-items: stretch;
}
.qdm-cap-media-grid.is-reversed {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
}
.qdm-cap-media-grid.is-reversed .qdm-cap-media {
  order: 2;
}
.qdm-cap-media-grid.is-reversed .qdm-cap-detail-panel {
  order: 1;
}

.qdm-cap-media {
  min-height: 520px;
  overflow: hidden;
  border-radius: 12px;
  background: #e7edf1;
  box-shadow: var(--qdm-shadow);
}
.qdm-cap-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
}
.qdm-cap-media-caption {
  margin: 10px 2px 0;
  color: var(--qdm-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.qdm-cap-detail-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.qdm-cap-detail-panel .qdm-cap-feature-grid {
  margin-top: 0;
}
.qdm-cap-detail-panel .qdm-cap-feature {
  min-height: 122px;
  padding: 18px 17px;
}
.qdm-cap-detail-panel .qdm-cap-note {
  margin-top: 15px !important;
}

/* Fabrication/inspection single-image layouts stay visually equal to the text column. */
.qdm-cap-media--single {
  min-height: 560px;
}
.qdm-cap-media--single img {
  min-height: 560px;
}

/* Capabilities section navigator: same interaction language as homepage. */
body.page .qdm-section-nav.qdm-section-nav--capabilities {
  display: flex;
}
@media (max-width: 1199px) {
  body.page .qdm-section-nav.qdm-section-nav--capabilities {
    display: none;
  }
}

@media (max-width: 980px) {
  .qdm-cap-media-grid,
  .qdm-cap-media-grid.is-reversed {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .qdm-cap-media-grid.is-reversed .qdm-cap-media,
  .qdm-cap-media-grid.is-reversed .qdm-cap-detail-panel {
    order: initial;
  }
  .qdm-cap-media,
  .qdm-cap-media--single {
    min-height: 0;
  }
  .qdm-cap-media img,
  .qdm-cap-media--single img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}
@media (max-width: 781px) {
  .qdm-cap-page-hero.qdm-cap-page-hero--text-only {
    padding-top: 58px !important;
    padding-bottom: 54px !important;
  }
  .qdm-cap-split-intro h2 {
    font-size: 36px !important;
  }
  .qdm-cap-detail-panel .qdm-cap-feature {
    min-height: 0;
  }
}


/* V1.3.1 — Capabilities hero balance + vertical photo stacks */

/* Hero now uses the full 1200px canvas instead of leaving an empty right half. */
.qdm-cap-page-hero--balanced .qdm-cap-hero-layout {
  display: grid;
  grid-template-columns: minmax(0,1.45fr) minmax(330px,.72fr);
  gap: 64px;
  align-items: center;
}
.qdm-cap-page-hero--balanced .qdm-cap-hero-copy {
  max-width: none;
}
.qdm-cap-page-hero--balanced h1 {
  max-width: 820px;
}
.qdm-cap-page-hero--balanced .qdm-cap-page-lead {
  max-width: 780px;
}
.qdm-cap-hero-overview {
  padding: 28px 28px 24px;
  border-top: 3px solid var(--qdm-red);
  border-radius: 10px;
  background: rgba(7,24,37,.72);
  box-shadow: 0 22px 50px rgba(0,0,0,.16);
}
.qdm-cap-hero-overview__eyebrow {
  margin: 0 0 10px;
  color: #ff8a8f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.qdm-cap-hero-overview h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 25px !important;
  line-height: 1.2 !important;
}
.qdm-cap-hero-overview p {
  margin: 0 0 18px;
  color: #c8d5dd;
  font-size: 14px !important;
  line-height: 1.65 !important;
}
.qdm-cap-hero-overview__list {
  display: grid;
  gap: 0;
}
.qdm-cap-hero-overview__item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
  padding: 11px 0;
  border-top: 1px solid rgba(255,255,255,.10);
}
.qdm-cap-hero-overview__item b {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: rgba(255,255,255,.09);
  color: #fff;
  font-size: 11px;
}
.qdm-cap-hero-overview__item strong {
  display: block;
  color: #fff;
  font-size: 13.5px;
  line-height: 1.35;
}
.qdm-cap-hero-overview__item span {
  display: block;
  margin-top: 2px;
  color: #aebdc6;
  font-size: 12px;
  line-height: 1.45;
}

/* Two real process photos are stacked vertically, not squeezed side-by-side. */
.qdm-cap-photo-stack {
  display: grid;
  gap: 14px;
}
.qdm-cap-photo-stack figure {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #e7edf1;
  box-shadow: var(--qdm-shadow);
}
.qdm-cap-photo-stack img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.qdm-cap-photo-labels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 9px;
}
.qdm-cap-photo-labels span {
  color: var(--qdm-muted);
  font-size: 12.5px;
  line-height: 1.45;
}

/* CNC/Casting image column and text column start together rather than vertically centering. */
.qdm-cap-media-grid.qdm-cap-media-grid--stacked {
  grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr);
  align-items: start;
}
.qdm-cap-media-grid--stacked .qdm-cap-detail-panel {
  justify-content: flex-start;
}
.qdm-cap-media-grid--stacked .qdm-cap-feature-grid {
  align-content: start;
}
.qdm-cap-media-grid--stacked .qdm-cap-feature {
  min-height: 112px;
}

/* Casting keeps the photo stack on the left for easier reading at this aspect ratio. */
.qdm-cap-media-grid--stacked.is-reversed .qdm-cap-media-stack-wrap,
.qdm-cap-media-grid--stacked.is-reversed .qdm-cap-detail-panel {
  order: initial;
}

@media (max-width: 980px) {
  .qdm-cap-page-hero--balanced .qdm-cap-hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .qdm-cap-hero-overview {
    max-width: none;
  }
  .qdm-cap-media-grid.qdm-cap-media-grid--stacked {
    grid-template-columns: 1fr;
  }
  .qdm-cap-media-grid--stacked .qdm-cap-feature {
    min-height: 0;
  }
}


/* V1.3.2 — Inspection section redesign */
.qdm-cap-inspection-top {
  display: grid;
  grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
  gap: 54px;
  align-items: center;
}
.qdm-cap-inspection-copy {
  max-width: 520px;
}
.qdm-cap-inspection-copy h2 {
  margin: 10px 0 16px !important;
  color: #fff;
  font-size: 44px !important;
  line-height: 1.08 !important;
}
.qdm-cap-inspection-copy > p:last-of-type {
  margin-bottom: 0;
}
.qdm-cap-inspection-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 28px 65px rgba(0,0,0,.24);
}
.qdm-cap-inspection-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.qdm-cap-inspection-photo-caption {
  margin: 10px 2px 0;
  color: #9eb0bb;
  font-size: 12.5px;
  line-height: 1.5;
}

.qdm-cap-inspection-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
  margin-top: 34px;
}
.qdm-cap-inspection-card {
  min-height: 150px;
  padding: 20px 18px 18px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 8px;
  background: rgba(255,255,255,.045);
}
.qdm-cap-inspection-card::before {
  content: attr(data-step);
  display: block;
  margin-bottom: 15px;
  color: #ff737a;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .12em;
}
.qdm-cap-inspection-card strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
}
.qdm-cap-inspection-card span {
  display: block;
  color: #b8c6cf;
  font-size: 12.8px;
  line-height: 1.6;
}

.qdm-cap-inspection-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.qdm-cap-inspection-docs {
  margin: 0;
  color: #aebdc6;
  font-size: 12.5px !important;
  line-height: 1.65 !important;
}
.qdm-cap-inspection-docs strong {
  color: #fff;
}
.qdm-cap-inspection-footer .wp-block-buttons {
  flex: 0 0 auto;
  margin: 0 !important;
}

@media (max-width: 980px) {
  .qdm-cap-inspection-top {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .qdm-cap-inspection-copy {
    max-width: 760px;
  }
  .qdm-cap-inspection-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 600px) {
  .qdm-cap-inspection-copy h2 {
    font-size: 36px !important;
  }
  .qdm-cap-inspection-grid {
    grid-template-columns: 1fr;
  }
  .qdm-cap-inspection-card {
    min-height: 0;
  }
  .qdm-cap-inspection-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* V1.4 — Capabilities Data Sheet Edition
   Compact, engineering-first layout with native expandable details. */
.qdm-cap-page-hero--datasheet .qdm-cap-hero-layout {
  grid-template-columns: minmax(0,1.5fr) minmax(320px,.68fr);
  gap: 54px;
}
.qdm-cap-page-hero--datasheet h1 { font-size: 54px !important; }
.qdm-cap-hero-overview--compact { padding: 24px; }
.qdm-cap-hero-overview--compact h2 { margin-bottom: 18px; }
.qdm-cap-hero-metrics {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.11);
  border-radius:8px;
  background:rgba(255,255,255,.11);
}
.qdm-cap-hero-metrics > div {
  min-height:84px;
  padding:14px;
  background:rgba(7,24,37,.76);
}
.qdm-cap-hero-metrics strong,
.qdm-cap-hero-metrics span { display:block; }
.qdm-cap-hero-metrics strong { color:#fff; font-size:19px; line-height:1.25; }
.qdm-cap-hero-metrics span { margin-top:4px; color:#aebdc6; font-size:11.5px; line-height:1.4; }

.qdm-cap-quicknav-links--datasheet { grid-template-columns:repeat(6,minmax(0,1fr)); }
.qdm-cap-quicknav-links--datasheet a { min-height:62px; }

.qdm-cap-data-heading { max-width:860px; margin-bottom:26px; }
.qdm-cap-data-heading h2 {
  margin:0 0 10px !important;
  font-size:39px !important;
  line-height:1.1 !important;
}
.qdm-cap-data-heading > p:last-child,
.qdm-cap-data-heading--inline > p {
  margin:0;
  color:var(--qdm-muted);
  font-size:14.5px !important;
  line-height:1.65 !important;
}
.qdm-cap-data-heading--inline {
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);
  gap:40px;
  align-items:end;
  max-width:none;
}
.qdm-cap-data-heading--inline h2 { margin-bottom:0 !important; }
.qdm-cap-data-heading--dark h2 { color:#fff; }
.qdm-cap-data-heading--dark > p:last-child { color:#b8c6cf; }

.qdm-cap-data-layout {
  display:grid;
  grid-template-columns:minmax(320px,.78fr) minmax(0,1.22fr);
  gap:30px;
  align-items:start;
}
.qdm-cap-photo-stack--compact { gap:10px; }
.qdm-cap-photo-stack--compact img { aspect-ratio:16 / 8.9; }
.qdm-cap-data-photo {
  margin:0;
  overflow:hidden;
  border-radius:10px;
  box-shadow:var(--qdm-shadow);
  background:#e7edf1;
}
.qdm-cap-data-photo img {
  display:block;
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
}
.qdm-cap-data-layout--single-photo { grid-template-columns:minmax(320px,.78fr) minmax(0,1.22fr); }
.qdm-cap-data-layout--single-photo .qdm-cap-data-photo img { aspect-ratio:4 / 3.35; }

.qdm-spec-grid { display:grid; gap:10px; }
.qdm-spec-grid--2 { grid-template-columns:1fr 1fr; }
.qdm-spec-card {
  min-height:118px;
  padding:16px 17px;
  border:1px solid var(--qdm-line);
  border-radius:8px;
  background:#fff;
}
.qdm-spec-card > span,
.qdm-spec-card > strong,
.qdm-spec-card > small { display:block; }
.qdm-spec-card > span {
  margin-bottom:8px;
  color:var(--qdm-blue);
  font-size:10.5px;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.qdm-spec-card > strong { color:var(--qdm-ink); font-size:16px; line-height:1.35; }
.qdm-spec-card > small { margin-top:5px; color:var(--qdm-muted); font-size:11.5px; line-height:1.45; }

.qdm-cap-details {
  margin-top:12px;
  border:1px solid var(--qdm-line);
  border-radius:8px;
  background:#fff;
}
.qdm-cap-details summary {
  position:relative;
  padding:14px 44px 14px 16px;
  cursor:pointer;
  list-style:none;
  color:var(--qdm-ink);
  font-size:13px;
  font-weight:750;
}
.qdm-cap-details summary::-webkit-details-marker { display:none; }
.qdm-cap-details summary::after {
  content:"+";
  position:absolute;
  right:16px;
  top:50%;
  transform:translateY(-50%);
  color:var(--qdm-blue);
  font-size:20px;
  line-height:1;
}
.qdm-cap-details[open] summary::after { content:"−"; }
.qdm-cap-details[open] summary { border-bottom:1px solid var(--qdm-line); }
.qdm-cap-details__body { padding:15px 16px 16px; }
.qdm-cap-details__body p { margin:0; color:var(--qdm-muted); font-size:12.5px !important; line-height:1.65 !important; }
.qdm-cap-details__body p + p { margin-top:10px; }
.qdm-cap-details__columns { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.qdm-data-note { padding-left:12px; border-left:2px solid var(--qdm-red); }

.qdm-cap-data-layout--casting { grid-template-columns:minmax(300px,.7fr) minmax(0,1.3fr); }
.qdm-casting-panels { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.qdm-cap-details--full { grid-column:1 / -1; }
.qdm-data-panel {
  overflow:hidden;
  border:1px solid var(--qdm-line);
  border-radius:9px;
  background:#fff;
}
.qdm-data-panel__title { padding:16px 17px 14px; border-bottom:1px solid var(--qdm-line); background:#f8fafb; }
.qdm-data-panel__title span,
.qdm-data-panel__title strong { display:block; }
.qdm-data-panel__title span { color:var(--qdm-blue); font-size:10.5px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.qdm-data-panel__title strong { margin-top:5px; font-size:17px; }
.qdm-data-list { margin:0; padding:4px 16px 8px; }
.qdm-data-list > div { display:grid; grid-template-columns:116px 1fr; gap:10px; padding:10px 0; border-bottom:1px solid #edf1f4; }
.qdm-data-list > div:last-child { border-bottom:0; }
.qdm-data-list dt { color:var(--qdm-muted); font-size:11px; font-weight:700; }
.qdm-data-list dd { margin:0; color:var(--qdm-ink); font-size:12px; font-weight:650; line-height:1.45; }

.qdm-finish-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.qdm-finish-card {
  min-height:116px;
  padding:18px;
  border:1px solid var(--qdm-line);
  border-radius:8px;
  background:#fff;
}
.qdm-finish-card strong,
.qdm-finish-card span { display:block; }
.qdm-finish-card strong { font-size:16px; }
.qdm-finish-card span { margin-top:7px; color:var(--qdm-muted); font-size:12px; line-height:1.55; }
.qdm-finish-card--accent { border-top:3px solid var(--qdm-red); }
.qdm-cap-details--wide { margin-top:10px; }

.qdm-support-band__inner {
  display:grid;
  grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);
  gap:34px;
  align-items:center;
}
.qdm-support-band h2 { margin:0 !important; font-size:27px !important; line-height:1.2 !important; }
.qdm-support-band__items { display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end; }
.qdm-support-band__items span {
  padding:9px 12px;
  border:1px solid var(--qdm-line);
  border-radius:999px;
  background:#fff;
  color:var(--qdm-ink);
  font-size:12px;
  font-weight:700;
}

.qdm-material-family-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.qdm-material-family-grid > div { padding:14px 16px; border:1px solid var(--qdm-line); border-radius:8px; background:#fff; }
.qdm-material-family-grid strong,
.qdm-material-family-grid span { display:block; }
.qdm-material-family-grid strong { font-size:13.5px; }
.qdm-material-family-grid span { margin-top:3px; color:var(--qdm-muted); font-size:11.5px; line-height:1.45; }

.qdm-cap-quality--datasheet { background:var(--qdm-dark); color:#d9e3e9; }
.qdm-inspection-layout { display:grid; grid-template-columns:minmax(330px,.76fr) minmax(0,1.24fr); gap:30px; align-items:start; }
.qdm-cap-data-photo--inspection { box-shadow:none; border:1px solid rgba(255,255,255,.1); }
.qdm-cap-data-photo--inspection img { aspect-ratio:4 / 3.15; }
.qdm-inspection-specs { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.qdm-inspection-specs > div { min-height:82px; padding:13px 14px; border:1px solid rgba(255,255,255,.11); border-radius:7px; background:rgba(255,255,255,.04); }
.qdm-inspection-specs span,
.qdm-inspection-specs strong { display:block; }
.qdm-inspection-specs span { color:#9fb0ba; font-size:10.5px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; }
.qdm-inspection-specs strong { margin-top:5px; color:#fff; font-size:13px; line-height:1.45; }
.qdm-doc-strip { margin-top:9px; padding:13px 14px; border-radius:7px; background:#fff; color:var(--qdm-ink); }
.qdm-doc-strip strong { margin-right:6px; color:var(--qdm-blue); font-size:12px; }
.qdm-doc-strip span { font-size:11.5px; line-height:1.5; }
.qdm-cap-details--dark { border-color:rgba(255,255,255,.13); background:rgba(255,255,255,.04); }
.qdm-cap-details--dark summary { color:#fff; }
.qdm-cap-details--dark summary::after { color:#ff8a8f; }
.qdm-cap-details--dark[open] summary { border-bottom-color:rgba(255,255,255,.13); }
.qdm-cap-details--dark .qdm-cap-details__body p { color:#b8c6cf; }

@media (max-width: 1024px) {
  .qdm-cap-page-hero--datasheet .qdm-cap-hero-layout { grid-template-columns:1fr; gap:30px; }
  .qdm-cap-hero-overview--compact { max-width:760px; }
  .qdm-cap-data-layout,
  .qdm-cap-data-layout--casting,
  .qdm-cap-data-layout--single-photo,
  .qdm-inspection-layout { grid-template-columns:1fr; }
  .qdm-cap-photo-stack--compact { grid-template-columns:1fr 1fr; }
  .qdm-cap-photo-stack--compact img { aspect-ratio:16 / 10; }
  .qdm-cap-data-layout--single-photo .qdm-cap-data-photo { max-width:680px; }
  .qdm-support-band__inner { grid-template-columns:1fr; gap:18px; }
  .qdm-support-band__items { justify-content:flex-start; }
}

@media (max-width: 781px) {
  .qdm-cap-page-hero--datasheet { padding-top:52px !important; padding-bottom:50px !important; }
  .qdm-cap-page-hero--datasheet h1 { font-size:41px !important; }
  .qdm-cap-data-section { padding-top:50px !important; padding-bottom:50px !important; }
  .qdm-cap-data-heading h2 { font-size:32px !important; }
  .qdm-cap-data-heading--inline { grid-template-columns:1fr; gap:12px; }
  .qdm-spec-grid--2,
  .qdm-casting-panels,
  .qdm-finish-grid,
  .qdm-material-family-grid,
  .qdm-inspection-specs,
  .qdm-cap-details__columns { grid-template-columns:1fr 1fr; }
  .qdm-cap-photo-stack--compact { grid-template-columns:1fr; }
}

@media (max-width: 560px) {
  .qdm-casting-panels,
  .qdm-cap-details__columns { grid-template-columns:1fr; }
  .qdm-spec-card { min-height:0; padding:14px 13px; }
  .qdm-finish-card { min-height:0; padding:14px 13px; }
  .qdm-material-family-grid > div { padding:12px 13px; }
  .qdm-inspection-specs > div { min-height:0; padding:12px; }
  .qdm-data-list > div { grid-template-columns:1fr; gap:3px; }
  .qdm-support-band { padding-top:30px !important; padding-bottom:30px !important; }
}


/* V1.4.1 — compact capabilities intro + finishing consistency + X-ray inspection */
.qdm-cap-page-hero--compact {
  min-height:0;
}
.qdm-cap-page-hero--compact::after {
  opacity:.35;
}
.qdm-cap-compact-hero-inner {
  max-width:860px;
  position:relative;
  z-index:1;
}
.qdm-cap-page-hero--compact .qdm-cap-page-kicker {
  margin-bottom:8px;
}
.qdm-cap-page-hero--compact h1 {
  max-width:none;
  margin:0 !important;
  font-size:42px !important;
  line-height:1.05 !important;
}
.qdm-cap-page-hero--compact .qdm-cap-page-lead {
  max-width:790px;
  margin:10px 0 0;
  font-size:15px !important;
  line-height:1.55 !important;
}
.qdm-finish-card {
  border-top:3px solid var(--qdm-red);
}
.qdm-cap-photo-stack--inspection {
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.qdm-cap-photo-stack--inspection figure {
  margin:0;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  border-radius:9px;
  background:#101d26;
}
.qdm-cap-photo-stack--inspection img {
  display:block;
  width:100%;
  aspect-ratio:16 / 8.8;
  object-fit:cover;
}
@media (max-width: 781px) {
  .qdm-cap-page-hero--compact {
    padding-top:30px !important;
    padding-bottom:30px !important;
  }
  .qdm-cap-page-hero--compact h1 {
    font-size:34px !important;
  }
  .qdm-cap-page-hero--compact .qdm-cap-page-lead {
    font-size:14px !important;
  }
}


/* V1.4.4 — Capabilities mobile quick-nav: 3 columns x 2 rows below tablet width */
@media (max-width: 767px) {
  .qdm-cap-quicknav-links.qdm-cap-quicknav-links--datasheet {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .qdm-cap-quicknav-links.qdm-cap-quicknav-links--datasheet a {
    min-width: 0;
    min-height: 68px;
    padding: 10px 6px;
    font-size: 11.5px;
    line-height: 1.22;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
  }
}


/* V1.4.5 — close the mobile 3x2 Capabilities quick-nav frame cleanly */
@media (max-width: 767px) {
  .qdm-cap-quicknav-links.qdm-cap-quicknav-links--datasheet {
    border-top: 1px solid var(--qdm-line);
    border-left: 1px solid var(--qdm-line);
  }
  .qdm-cap-quicknav-links.qdm-cap-quicknav-links--datasheet a,
  .qdm-cap-quicknav-links.qdm-cap-quicknav-links--datasheet a:first-child {
    border-left: 0;
    border-right: 1px solid var(--qdm-line);
    border-bottom: 1px solid var(--qdm-line);
  }
}


/* V1.5 — Dedicated Quality page */
#quality-control,
#quality-inspection,
#quality-documentation,
#quality-release { scroll-margin-top:104px; }

.qdm-quality-page-hero {
  position:relative;
  overflow:hidden;
  color:#fff;
  background:linear-gradient(118deg,#0a141c 0%,#0e355b 62%,#174a7c 100%);
}
.qdm-quality-page-hero::after {
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  right:-170px;
  bottom:-280px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:50%;
  pointer-events:none;
}
.qdm-quality-page-hero__inner { position:relative; z-index:1; max-width:900px; }
.qdm-quality-page-kicker,
.qdm-quality-page-number {
  margin:0 0 9px;
  color:var(--qdm-blue);
  font-size:11px !important;
  line-height:1.4;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.qdm-quality-page-hero .qdm-quality-page-kicker { color:#ff7c80; }
.qdm-quality-page-hero h1 {
  margin:0 !important;
  max-width:900px;
  color:#fff;
  font-size:42px !important;
  line-height:1.06 !important;
  letter-spacing:-.035em !important;
}
.qdm-quality-page-hero p:last-child {
  max-width:820px;
  margin:10px 0 0;
  color:#d6e1e8;
  font-size:15px !important;
  line-height:1.58 !important;
}
.qdm-quality-page-heading { max-width:880px; margin-bottom:28px; }
.qdm-quality-page-heading--wide { max-width:950px; }
.qdm-quality-page-heading h2 {
  margin:0 0 11px !important;
  color:var(--qdm-ink);
  font-size:39px !important;
  line-height:1.1 !important;
}
.qdm-quality-page-heading > p:last-child,
.qdm-quality-page-heading--inline > p {
  margin:0;
  color:var(--qdm-muted);
  font-size:14.5px !important;
  line-height:1.68 !important;
}
.qdm-quality-flow {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:0;
  overflow:hidden;
  border:1px solid var(--qdm-line);
  border-radius:9px;
  background:#fff;
}
.qdm-quality-flow > div { min-height:168px; padding:22px 19px; border-right:1px solid var(--qdm-line); }
.qdm-quality-flow > div:last-child { border-right:0; }
.qdm-quality-flow span { display:block; margin-bottom:22px; color:var(--qdm-red); font-size:10.5px; font-weight:800; letter-spacing:.12em; }
.qdm-quality-flow strong { display:block; font-size:15px; line-height:1.35; }
.qdm-quality-flow small { display:block; margin-top:8px; color:var(--qdm-muted); font-size:11.7px; line-height:1.55; }

.qdm-quality-inspection-layout {
  display:grid;
  grid-template-columns:minmax(360px,.86fr) minmax(0,1.14fr);
  gap:32px;
  align-items:start;
}
.qdm-quality-photo-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.qdm-quality-photo { margin:0; overflow:hidden; border-radius:9px; background:#e7edf1; box-shadow:var(--qdm-shadow); }
.qdm-quality-photo--wide { grid-column:1 / -1; }
.qdm-quality-photo img { display:block; width:100%; height:100%; aspect-ratio:4 / 3; object-fit:cover; }
.qdm-quality-photo--wide img { aspect-ratio:16 / 9; }
.qdm-quality-equipment-grid { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.qdm-quality-equipment-grid > div {
  min-height:105px;
  padding:15px 16px;
  border:1px solid var(--qdm-line);
  border-radius:8px;
  background:#fff;
}
.qdm-quality-equipment-grid__wide { grid-column:1 / -1; }
.qdm-quality-equipment-grid span,
.qdm-quality-equipment-grid strong,
.qdm-quality-equipment-grid small { display:block; }
.qdm-quality-equipment-grid span { color:var(--qdm-blue); font-size:10.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.qdm-quality-equipment-grid strong { margin-top:6px; color:var(--qdm-ink); font-size:15px; line-height:1.35; }
.qdm-quality-equipment-grid small { margin-top:4px; color:var(--qdm-muted); font-size:11.5px; line-height:1.48; }
.qdm-quality-details { margin-top:10px; border:1px solid var(--qdm-line); border-radius:8px; background:#fff; }
.qdm-quality-details summary { position:relative; padding:13px 42px 13px 15px; cursor:pointer; list-style:none; color:var(--qdm-ink); font-size:12.5px; font-weight:750; }
.qdm-quality-details summary::-webkit-details-marker { display:none; }
.qdm-quality-details summary::after { content:"+"; position:absolute; right:15px; top:50%; transform:translateY(-50%); color:var(--qdm-blue); font-size:19px; }
.qdm-quality-details[open] summary::after { content:"−"; }
.qdm-quality-details[open] summary { border-bottom:1px solid var(--qdm-line); }
.qdm-quality-details > div { padding:14px 15px; }
.qdm-quality-details p { margin:0; color:var(--qdm-muted); font-size:12px !important; line-height:1.65 !important; }

.qdm-quality-documentation { position:relative; overflow:hidden; color:#d7e1e8; background:var(--qdm-dark); }
.qdm-quality-documentation::after { content:""; position:absolute; width:500px; height:500px; right:-300px; top:-300px; border:1px solid rgba(255,255,255,.07); border-radius:50%; pointer-events:none; }
.qdm-quality-documentation > * { position:relative; z-index:1; }
.qdm-quality-page-heading--dark h2 { color:#fff; }
.qdm-quality-page-heading--dark > p:last-child { color:#b8c6cf; }
.qdm-quality-page-heading--dark .qdm-quality-page-number { color:#ff777d; }
.qdm-quality-doc-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.qdm-quality-doc-grid > div { min-height:188px; padding:21px 19px; border:1px solid rgba(255,255,255,.11); border-radius:8px; background:rgba(255,255,255,.045); }
.qdm-quality-doc-grid span { display:block; color:#ff777d; font-size:10.5px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
.qdm-quality-doc-grid strong { display:block; margin-top:15px; color:#fff; font-size:16px; line-height:1.35; }
.qdm-quality-doc-grid p { margin:8px 0 0; color:#b8c6cf; font-size:12px !important; line-height:1.58 !important; }
.qdm-quality-doc-note { display:flex; gap:8px; align-items:flex-start; margin-top:12px; padding:14px 16px; border-radius:7px; background:#fff; color:var(--qdm-ink); }
.qdm-quality-doc-note strong { flex:0 0 auto; color:var(--qdm-blue); font-size:12px; }
.qdm-quality-doc-note span { font-size:11.7px; line-height:1.5; }
.qdm-quality-small-note { margin:10px 0 0 !important; color:#97aab5; font-size:11.5px !important; line-height:1.55 !important; }

.qdm-quality-page-heading--inline { display:grid; grid-template-columns:minmax(0,.95fr) minmax(360px,1.05fr); gap:44px; align-items:end; max-width:none; }
.qdm-quality-page-heading--inline h2 { margin-bottom:0 !important; }
.qdm-quality-release-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.qdm-quality-release-grid > div { min-height:150px; padding:19px; border-top:3px solid var(--qdm-red); border-right:1px solid var(--qdm-line); border-bottom:1px solid var(--qdm-line); border-left:1px solid var(--qdm-line); border-radius:8px; background:#fff; }
.qdm-quality-release-grid span,
.qdm-quality-release-grid strong,
.qdm-quality-release-grid small { display:block; }
.qdm-quality-release-grid span { color:var(--qdm-blue); font-size:10.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.qdm-quality-release-grid strong { margin-top:9px; font-size:16px; line-height:1.35; }
.qdm-quality-release-grid small { margin-top:7px; color:var(--qdm-muted); font-size:11.8px; line-height:1.55; }

body.page .qdm-section-nav.qdm-section-nav--quality { display:flex; }
@media (max-width:1199px) {
  body.page .qdm-section-nav.qdm-section-nav--quality { display:none; }
}
@media (max-width:1024px) {
  .qdm-quality-flow { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .qdm-quality-flow > div { border-bottom:1px solid var(--qdm-line); }
  .qdm-quality-flow > div:nth-child(3) { border-right:0; }
  .qdm-quality-flow > div:nth-child(4), .qdm-quality-flow > div:nth-child(5) { border-bottom:0; }
  .qdm-quality-inspection-layout { grid-template-columns:1fr; }
  .qdm-quality-photo-grid { max-width:780px; }
  .qdm-quality-doc-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:781px) {
  .qdm-quality-page-hero { padding-top:30px !important; padding-bottom:30px !important; }
  .qdm-quality-page-hero h1 { font-size:34px !important; }
  .qdm-quality-page-hero p:last-child { font-size:14px !important; }
  .qdm-quality-page-section,
  .qdm-quality-documentation { padding-top:50px !important; padding-bottom:50px !important; }
  .qdm-quality-page-heading h2 { font-size:32px !important; }
  .qdm-quality-flow { grid-template-columns:1fr 1fr; }
  .qdm-quality-flow > div { min-height:0; border-right:1px solid var(--qdm-line); border-bottom:1px solid var(--qdm-line) !important; }
  .qdm-quality-flow > div:nth-child(even) { border-right:0; }
  .qdm-quality-flow > div:last-child { border-bottom:0 !important; }
  .qdm-quality-equipment-grid,
  .qdm-quality-doc-grid { grid-template-columns:1fr 1fr; }
  .qdm-quality-page-heading--inline { grid-template-columns:1fr; gap:12px; }
  .qdm-quality-release-grid { grid-template-columns:1fr; }
  .qdm-quality-release-grid > div { min-height:0; }
}
@media (max-width:560px) {
  .qdm-quality-flow,
  .qdm-quality-equipment-grid,
  .qdm-quality-doc-grid { grid-template-columns:1fr; }
  .qdm-quality-flow > div { border-right:0; }
  .qdm-quality-flow > div:last-child { border-bottom:0 !important; }
  .qdm-quality-photo-grid { grid-template-columns:1fr; }
  .qdm-quality-photo--wide { grid-column:auto; }
  .qdm-quality-equipment-grid__wide { grid-column:auto; }
  .qdm-quality-doc-note { flex-direction:column; gap:4px; }
}

/* V1.5.1 — Quality page: 5M1E + corrective-action edition */
#quality-corrective-action { scroll-margin-top:104px; }

.qdm-quality-v2-hero {
  position:relative;
  overflow:hidden;
  color:#fff;
  background:linear-gradient(118deg,#09151f 0%,#0d3153 58%,#174a7c 100%);
}
.qdm-quality-v2-hero::after {
  content:"";
  position:absolute;
  width:560px;
  height:560px;
  right:-300px;
  top:-290px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:50%;
}
.qdm-quality-v2-hero__grid {
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(500px,1.08fr);
  gap:54px;
  align-items:center;
}
.qdm-quality-v2-hero__copy h1 {
  max-width:690px;
  margin:0 !important;
  color:#fff;
  font-size:45px !important;
  line-height:1.05 !important;
  letter-spacing:-.036em !important;
}
.qdm-quality-v2-hero__copy > p:not(.qdm-quality-page-kicker) {
  max-width:680px;
  margin:16px 0 0;
  color:#d2dee7;
  font-size:15px !important;
  line-height:1.68 !important;
}
.qdm-quality-tool-strip { display:flex; flex-wrap:wrap; gap:7px; margin-top:20px; }
.qdm-quality-tool-strip span { padding:6px 9px; border:1px solid rgba(255,255,255,.15); border-radius:999px; background:rgba(255,255,255,.05); color:#f1f6f9; font-size:10.5px; font-weight:750; letter-spacing:.02em; }

.qdm-quality-5m1e { overflow:hidden; border:1px solid rgba(255,255,255,.16); border-radius:11px; background:rgba(4,14,22,.28); box-shadow:0 18px 38px rgba(0,0,0,.13); }
.qdm-quality-5m1e__head { padding:18px 20px 15px; border-bottom:1px solid rgba(255,255,255,.12); }
.qdm-quality-5m1e__head small,.qdm-quality-5m1e__head strong,.qdm-quality-5m1e__head span { display:block; }
.qdm-quality-5m1e__head small { color:#ff7c80; font-size:9.5px; font-weight:800; letter-spacing:.14em; }
.qdm-quality-5m1e__head strong { margin-top:4px; color:#fff; font-size:24px; }
.qdm-quality-5m1e__head span { margin-top:4px; color:#bfcdd7; font-size:11px; line-height:1.5; }
.qdm-quality-5m1e__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
.qdm-quality-5m1e__grid > div { min-height:96px; padding:14px 14px 13px; border-right:1px solid rgba(255,255,255,.1); border-bottom:1px solid rgba(255,255,255,.1); }
.qdm-quality-5m1e__grid > div:nth-child(3n) { border-right:0; }
.qdm-quality-5m1e__grid > div:nth-child(n+4) { border-bottom:0; }
.qdm-quality-5m1e__grid b { display:block; color:#fff; font-size:13px; }
.qdm-quality-5m1e__grid span { display:block; margin-top:5px; color:#aebfcb; font-size:10.5px; line-height:1.45; }

.qdm-quality-v2-control-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.qdm-quality-v2-control-grid > div { min-height:162px; padding:19px; border-top:3px solid var(--qdm-red); border-right:1px solid var(--qdm-line); border-bottom:1px solid var(--qdm-line); border-left:1px solid var(--qdm-line); border-radius:8px; background:#fff; }
.qdm-quality-v2-control-grid span,.qdm-quality-v2-control-grid strong,.qdm-quality-v2-control-grid small { display:block; }
.qdm-quality-v2-control-grid span { color:var(--qdm-blue); font-size:10px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
.qdm-quality-v2-control-grid strong { margin-top:10px; color:var(--qdm-ink); font-size:15.5px; line-height:1.35; }
.qdm-quality-v2-control-grid small { margin-top:7px; color:var(--qdm-muted); font-size:11.7px; line-height:1.55; }

.qdm-quality-inspection-layout--v2 { grid-template-columns:minmax(320px,.72fr) minmax(0,1.28fr); }
.qdm-quality-photo-grid--v2 { grid-template-columns:1fr; }
.qdm-quality-photo-grid--v2 .qdm-quality-photo img { aspect-ratio:16 / 10; }
.qdm-quality-equipment-grid--v2 > div { min-height:112px; }

.qdm-quality-corrective { position:relative; overflow:hidden; color:#d7e1e8; background:#0a141c; }
.qdm-quality-corrective::after { content:""; position:absolute; width:620px; height:620px; left:-390px; bottom:-410px; border:1px solid rgba(255,255,255,.06); border-radius:50%; }
.qdm-quality-corrective > * { position:relative; z-index:1; }
.qdm-quality-corrective__grid { display:grid; grid-template-columns:minmax(430px,.96fr) minmax(0,1.04fr); gap:26px; align-items:stretch; }
.qdm-quality-fishbone-wrap { padding:20px; border:1px solid rgba(255,255,255,.12); border-radius:10px; background:rgba(255,255,255,.035); }
.qdm-quality-fishbone-title small,.qdm-quality-fishbone-title strong,.qdm-quality-fishbone-title span { display:block; }
.qdm-quality-fishbone-title small { color:#ff777d; font-size:9.5px; font-weight:800; letter-spacing:.12em; }
.qdm-quality-fishbone-title strong { margin-top:5px; color:#fff; font-size:18px; }
.qdm-quality-fishbone-title span { margin-top:4px; max-width:520px; color:#aebdc7; font-size:11px; line-height:1.5; }
.qdm-quality-fishbone { position:relative; height:245px; margin-top:12px; }
.qdm-quality-fishbone__spine { position:absolute; left:7%; right:20%; top:51%; height:2px; background:rgba(255,255,255,.72); }
.qdm-quality-fishbone__spine::before { content:""; position:absolute; left:-7px; top:-4px; width:8px; height:8px; border-left:2px solid rgba(255,255,255,.72); border-bottom:2px solid rgba(255,255,255,.72); transform:rotate(45deg); }
.qdm-quality-fishbone__head { position:absolute; right:1%; top:calc(51% - 26px); width:112px; min-height:54px; display:flex; align-items:center; justify-content:center; padding:8px; border:1px solid #ff777d; border-radius:8px; background:rgba(198,40,47,.18); color:#fff; text-align:center; font-size:11px; font-weight:800; line-height:1.35; }
.qdm-quality-fishbone__cause { position:absolute; width:110px; color:#dce7ed; font-size:10.5px; text-align:center; }
.qdm-quality-fishbone__cause::after { content:""; position:absolute; width:74px; height:1px; background:rgba(255,255,255,.52); }
.qdm-quality-fishbone__cause--1 { left:9%; top:26px; }
.qdm-quality-fishbone__cause--1::after { left:58%; top:42px; transform:rotate(45deg); transform-origin:left center; }
.qdm-quality-fishbone__cause--2 { left:38%; top:26px; }
.qdm-quality-fishbone__cause--2::after { left:58%; top:42px; transform:rotate(45deg); transform-origin:left center; }
.qdm-quality-fishbone__cause--3 { left:64%; top:26px; }
.qdm-quality-fishbone__cause--3::after { left:58%; top:42px; transform:rotate(45deg); transform-origin:left center; }
.qdm-quality-fishbone__cause--4 { left:9%; bottom:22px; }
.qdm-quality-fishbone__cause--4::after { left:58%; bottom:38px; transform:rotate(-45deg); transform-origin:left center; }
.qdm-quality-fishbone__cause--5 { left:38%; bottom:22px; }
.qdm-quality-fishbone__cause--5::after { left:58%; bottom:38px; transform:rotate(-45deg); transform-origin:left center; }
.qdm-quality-fishbone__cause--6 { left:64%; bottom:22px; }
.qdm-quality-fishbone__cause--6::after { left:58%; bottom:38px; transform:rotate(-45deg); transform-origin:left center; }

.qdm-quality-response { display:grid; gap:8px; }
.qdm-quality-response > div { display:grid; grid-template-columns:36px minmax(110px,.38fr) minmax(0,1fr); gap:10px; align-items:start; padding:14px 15px; border:1px solid rgba(255,255,255,.1); border-radius:8px; background:rgba(255,255,255,.035); }
.qdm-quality-response span { color:#ff777d; font-size:10px; font-weight:800; letter-spacing:.1em; }
.qdm-quality-response strong { color:#fff; font-size:13px; line-height:1.35; }
.qdm-quality-response small { color:#aebdc7; font-size:11px; line-height:1.5; }
.qdm-quality-8d-bar { display:grid; grid-template-columns:220px 1fr; gap:18px; margin-top:14px; padding:15px 17px; border-left:3px solid var(--qdm-red); border-radius:6px; background:#fff; color:var(--qdm-ink); }
.qdm-quality-8d-bar strong { color:var(--qdm-blue); font-size:13px; }
.qdm-quality-8d-bar span { font-size:11.7px; line-height:1.55; }
.qdm-quality-details--dark { border-color:rgba(255,255,255,.14); background:rgba(255,255,255,.04); }
.qdm-quality-details--dark summary { color:#fff; }
.qdm-quality-details--dark summary::after { color:#ff777d; }
.qdm-quality-details--dark[open] summary { border-bottom-color:rgba(255,255,255,.12); }
.qdm-quality-details--dark p { color:#aebdc7; }

.qdm-quality-v2-docs { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:9px; }
.qdm-quality-v2-docs > div { min-height:112px; padding:17px; border:1px solid var(--qdm-line); border-radius:8px; background:#fff; }
.qdm-quality-v2-docs span,.qdm-quality-v2-docs strong { display:block; }
.qdm-quality-v2-docs span { color:var(--qdm-blue); font-size:9.8px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.qdm-quality-v2-docs strong { margin-top:10px; color:var(--qdm-ink); font-size:14px; line-height:1.35; }
.qdm-quality-v2-doc-note { margin:12px 0 0 !important; color:var(--qdm-muted); font-size:11.8px !important; line-height:1.58 !important; }

@media (max-width:1100px) {
  .qdm-quality-v2-hero__grid { grid-template-columns:1fr; gap:28px; }
  .qdm-quality-v2-hero__copy h1 { max-width:820px; }
  .qdm-quality-5m1e { max-width:820px; }
  .qdm-quality-v2-control-grid { grid-template-columns:1fr 1fr; }
  .qdm-quality-corrective__grid { grid-template-columns:1fr; }
  .qdm-quality-v2-docs { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:781px) {
  .qdm-quality-v2-hero { padding-top:38px !important; padding-bottom:38px !important; }
  .qdm-quality-v2-hero__copy h1 { font-size:35px !important; }
  .qdm-quality-5m1e__grid { grid-template-columns:1fr 1fr; }
  .qdm-quality-5m1e__grid > div:nth-child(3n) { border-right:1px solid rgba(255,255,255,.1); }
  .qdm-quality-5m1e__grid > div:nth-child(even) { border-right:0; }
  .qdm-quality-5m1e__grid > div:nth-child(n+4) { border-bottom:1px solid rgba(255,255,255,.1); }
  .qdm-quality-5m1e__grid > div:nth-child(n+5) { border-bottom:0; }
  .qdm-quality-v2-control-grid { grid-template-columns:1fr 1fr; }
  .qdm-quality-v2-docs { grid-template-columns:1fr 1fr; }
  .qdm-quality-response > div { grid-template-columns:32px 120px 1fr; }
  .qdm-quality-8d-bar { grid-template-columns:1fr; gap:5px; }
}
@media (max-width:560px) {
  .qdm-quality-v2-hero__copy h1 { font-size:32px !important; }
  .qdm-quality-tool-strip { gap:5px; }
  .qdm-quality-5m1e__grid { grid-template-columns:1fr; }
  .qdm-quality-5m1e__grid > div { min-height:0; border-right:0 !important; border-bottom:1px solid rgba(255,255,255,.1) !important; }
  .qdm-quality-5m1e__grid > div:last-child { border-bottom:0 !important; }
  .qdm-quality-v2-control-grid { grid-template-columns:1fr; }
  .qdm-quality-response > div { grid-template-columns:30px 1fr; }
  .qdm-quality-response small { grid-column:2; }
  .qdm-quality-v2-docs { grid-template-columns:1fr; }
  .qdm-quality-fishbone { height:auto; display:grid; grid-template-columns:1fr 1fr; gap:7px; padding-top:8px; }
  .qdm-quality-fishbone__spine { display:none; }
  .qdm-quality-fishbone__cause { position:static; width:auto; padding:9px 6px; border:1px solid rgba(255,255,255,.1); border-radius:6px; background:rgba(255,255,255,.035); }
  .qdm-quality-fishbone__cause::after { display:none; }
  .qdm-quality-fishbone__head { position:static; grid-column:1 / -1; width:auto; min-height:45px; order:7; }
}


/* V1.5.2 — Quality 02 rebuilt as Control Plan execution */
.qdm-quality-controlplan-flow {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:0;
  overflow:hidden;
  border:1px solid var(--qdm-line);
  border-radius:10px;
  background:#fff;
}
.qdm-quality-controlplan-flow > div {
  min-height:210px;
  padding:20px 18px;
  border-right:1px solid var(--qdm-line);
  background:#fff;
}
.qdm-quality-controlplan-flow > div:last-child { border-right:0; }
.qdm-quality-controlplan-flow span,
.qdm-quality-controlplan-flow strong,
.qdm-quality-controlplan-flow small { display:block; }
.qdm-quality-controlplan-flow span {
  margin-bottom:18px;
  color:var(--qdm-blue);
  font-size:10px;
  line-height:1.35;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.qdm-quality-controlplan-flow strong {
  color:var(--qdm-ink);
  font-size:15px;
  line-height:1.38;
}
.qdm-quality-controlplan-flow small {
  margin-top:8px;
  color:var(--qdm-muted);
  font-size:11.6px;
  line-height:1.58;
}
.qdm-quality-controlplan-flow > div:nth-child(2) { box-shadow:inset 0 3px 0 var(--qdm-red); }
.qdm-quality-controlplan-flow > div:nth-child(3) { box-shadow:inset 0 3px 0 #174a7c; }
.qdm-quality-controlplan-flow > div:nth-child(4) { box-shadow:inset 0 3px 0 #174a7c; }

.qdm-quality-reaction-plan {
  display:grid;
  grid-template-columns:minmax(300px,.82fr) minmax(0,1.18fr);
  gap:22px 30px;
  margin-top:16px;
  padding:24px;
  border-radius:10px;
  color:#dce6ec;
  background:var(--qdm-dark);
}
.qdm-quality-reaction-plan__intro .qdm-quality-page-number { color:#ff777d; }
.qdm-quality-reaction-plan__intro h3 {
  margin:0 !important;
  color:#fff;
  font-size:22px !important;
  line-height:1.25 !important;
}
.qdm-quality-reaction-plan__intro > p:last-child {
  margin:9px 0 0;
  color:#aebdc7;
  font-size:11.8px !important;
  line-height:1.62 !important;
}
.qdm-quality-reaction-plan__steps {
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:7px;
  align-content:center;
}
.qdm-quality-reaction-plan__steps span {
  position:relative;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:9px 10px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:7px;
  background:rgba(255,255,255,.045);
  color:#fff;
  font-size:10.8px;
  font-weight:750;
  line-height:1.3;
  text-align:center;
}
.qdm-quality-reaction-plan__steps span:not(:last-child)::after {
  content:"→";
  position:absolute;
  right:-8px;
  z-index:2;
  color:#ff777d;
  font-weight:900;
}
.qdm-quality-reaction-plan__note {
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:220px 1fr;
  gap:14px;
  padding-top:15px;
  border-top:1px solid rgba(255,255,255,.11);
}
.qdm-quality-reaction-plan__note strong {
  color:#fff;
  font-size:11.8px;
}
.qdm-quality-reaction-plan__note span {
  color:#aebdc7;
  font-size:11.2px;
  line-height:1.55;
}
@media (max-width:1100px) {
  .qdm-quality-controlplan-flow { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .qdm-quality-controlplan-flow > div { border-bottom:1px solid var(--qdm-line); }
  .qdm-quality-controlplan-flow > div:nth-child(3) { border-right:0; }
  .qdm-quality-controlplan-flow > div:nth-child(4),
  .qdm-quality-controlplan-flow > div:nth-child(5) { border-bottom:0; }
  .qdm-quality-reaction-plan { grid-template-columns:1fr; }
  .qdm-quality-reaction-plan__note { grid-column:auto; }
}
@media (max-width:781px) {
  .qdm-quality-controlplan-flow { grid-template-columns:1fr 1fr; }
  .qdm-quality-controlplan-flow > div { min-height:0; border-right:1px solid var(--qdm-line); border-bottom:1px solid var(--qdm-line) !important; }
  .qdm-quality-controlplan-flow > div:nth-child(even) { border-right:0; }
  .qdm-quality-controlplan-flow > div:nth-child(3) { border-right:1px solid var(--qdm-line); }
  .qdm-quality-controlplan-flow > div:last-child { border-bottom:0 !important; }
  .qdm-quality-reaction-plan__steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .qdm-quality-reaction-plan__steps span::after { display:none; }
  .qdm-quality-reaction-plan__note { grid-template-columns:1fr; gap:5px; }
}
@media (max-width:560px) {
  .qdm-quality-controlplan-flow { grid-template-columns:1fr; }
  .qdm-quality-controlplan-flow > div { border-right:0 !important; }
  .qdm-quality-reaction-plan { padding:20px 17px; }
  .qdm-quality-reaction-plan__steps { grid-template-columns:1fr 1fr; }
}


/* V1.5.3 — Quality 02 process-strip layout */
.qdm-quality-controlplan-timeline {
  position:relative;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:0;
  padding:28px 18px 24px;
  border:1px solid var(--qdm-line);
  border-radius:10px;
  background:#fff;
  box-shadow:0 10px 30px rgba(16,39,58,.045);
}
.qdm-quality-controlplan-timeline__rail {
  position:absolute;
  left:10%;
  right:10%;
  top:46px;
  height:2px;
  background:#bfd0dd;
}
.qdm-quality-controlplan-timeline__rail::after {
  content:"";
  position:absolute;
  left:25%;
  right:25%;
  top:0;
  height:2px;
  background:var(--qdm-blue);
}
.qdm-quality-controlplan-step {
  position:relative;
  z-index:1;
  min-width:0;
  padding:0 17px;
  text-align:center;
}
.qdm-quality-controlplan-step:not(:last-child)::after {
  content:"→";
  position:absolute;
  top:8px;
  right:-7px;
  color:#7f9bb0;
  font-size:15px;
  font-weight:800;
}
.qdm-quality-controlplan-step__marker {
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 13px;
  border:3px solid #fff;
  border-radius:50%;
  background:var(--qdm-blue);
  box-shadow:0 0 0 1px #9bb4c6;
}
.qdm-quality-controlplan-step--focus .qdm-quality-controlplan-step__marker {
  background:var(--qdm-red);
  box-shadow:0 0 0 1px #d26469,0 5px 14px rgba(198,40,47,.16);
}
.qdm-quality-controlplan-step__marker span {
  color:#fff;
  font-size:10.5px;
  font-weight:850;
  letter-spacing:.04em;
}
.qdm-quality-controlplan-step > p {
  margin:0 0 8px !important;
  color:var(--qdm-blue);
  font-size:10.5px !important;
  line-height:1.3 !important;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.qdm-quality-controlplan-step > strong {
  display:block;
  color:var(--qdm-ink);
  font-size:14px;
  line-height:1.38;
}
.qdm-quality-controlplan-step > small {
  display:block;
  max-width:205px;
  margin:7px auto 0;
  color:var(--qdm-muted);
  font-size:11.3px;
  line-height:1.55;
}
@media (max-width:900px) {
  .qdm-quality-controlplan-timeline {
    grid-template-columns:1fr;
    gap:0;
    padding:20px 20px 20px 72px;
  }
  .qdm-quality-controlplan-timeline__rail {
    left:39px;
    right:auto;
    top:42px;
    bottom:42px;
    width:2px;
    height:auto;
  }
  .qdm-quality-controlplan-timeline__rail::after {
    left:0;
    right:0;
    top:20%;
    bottom:20%;
    width:2px;
    height:auto;
  }
  .qdm-quality-controlplan-step {
    min-height:110px;
    padding:13px 8px 17px 0;
    text-align:left;
  }
  .qdm-quality-controlplan-step:not(:last-child) {
    border-bottom:1px solid #edf1f4;
  }
  .qdm-quality-controlplan-step:not(:last-child)::after { display:none; }
  .qdm-quality-controlplan-step__marker {
    position:absolute;
    left:-52px;
    top:12px;
    margin:0;
  }
  .qdm-quality-controlplan-step > small {
    max-width:none;
    margin:6px 0 0;
  }
}
@media (max-width:560px) {
  .qdm-quality-controlplan-timeline {
    padding:16px 14px 16px 62px;
  }
  .qdm-quality-controlplan-timeline__rail { left:32px; }
  .qdm-quality-controlplan-step__marker { left:-48px; }
  .qdm-quality-controlplan-step > strong { font-size:13.5px; }
  .qdm-quality-controlplan-step > small { font-size:11.2px; }
}


/* V1.5.4 — compact Evidence & Documentation cards */
.qdm-quality-v2-docs > div {
  min-height: 82px;
  padding: 13px 16px;
}
.qdm-quality-v2-docs span {
  font-size: 9.5px;
}
.qdm-quality-v2-docs strong {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.3;
}
.qdm-quality-v2-doc-note {
  margin-top: 8px !important;
}
#quality-documentation.qdm-quality-page-section {
  padding-top: 52px !important;
  padding-bottom: 50px !important;
}
@media (max-width: 781px) {
  .qdm-quality-v2-docs > div {
    min-height: 76px;
    padding: 12px 14px;
  }
}


/* V1.5.5 — Quality responsive density refinement
   Reduce mobile/tablet vertical whitespace without changing desktop composition. */
@media (max-width: 900px) {
  .qdm-quality-page-section,
  .qdm-quality-corrective,
  #quality-documentation.qdm-quality-page-section {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }
  .qdm-quality-page-heading {
    margin-bottom: 20px;
  }
  .qdm-quality-controlplan-timeline {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .qdm-quality-controlplan-step {
    min-height: 0;
    padding-top: 11px;
    padding-bottom: 12px;
  }
  .qdm-quality-controlplan-timeline__rail {
    top: 36px;
    bottom: 36px;
  }
}

@media (max-width: 781px) {
  /* PREVENT: let each card follow its real content height. */
  .qdm-quality-v2-control-grid {
    gap: 8px;
  }
  .qdm-quality-v2-control-grid > div {
    min-height: 0;
    padding: 15px 16px;
  }
  .qdm-quality-v2-control-grid strong {
    margin-top: 7px;
  }
  .qdm-quality-v2-control-grid small {
    margin-top: 5px;
    line-height: 1.48;
  }

  /* HERO 5M1E: keep the framework compact on tablets. */
  .qdm-quality-5m1e__head {
    padding: 15px 16px 12px;
  }
  .qdm-quality-5m1e__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .qdm-quality-5m1e__grid > div,
  .qdm-quality-5m1e__grid > div:nth-child(3n),
  .qdm-quality-5m1e__grid > div:nth-child(even),
  .qdm-quality-5m1e__grid > div:nth-child(n+4),
  .qdm-quality-5m1e__grid > div:nth-child(n+5) {
    min-height: 76px;
    padding: 11px 12px;
    border-right: 1px solid rgba(255,255,255,.1);
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .qdm-quality-5m1e__grid > div:nth-child(3n) {
    border-right: 0;
  }
  .qdm-quality-5m1e__grid > div:nth-child(n+4) {
    border-bottom: 0;
  }

  /* Corrective action: preserve the visual hierarchy but remove dead air. */
  .qdm-quality-fishbone-wrap {
    padding: 16px;
  }
  .qdm-quality-response {
    gap: 6px;
  }
  .qdm-quality-response > div {
    padding: 11px 12px;
  }
  .qdm-quality-8d-bar {
    margin-top: 10px;
    padding: 12px 14px;
  }

  /* Documentation cards stay compact on tablet. */
  .qdm-quality-v2-docs > div {
    min-height: 68px;
    padding: 11px 13px;
  }
}

@media (max-width: 560px) {
  .qdm-quality-page-section,
  .qdm-quality-corrective,
  #quality-documentation.qdm-quality-page-section {
    padding-top: 34px !important;
    padding-bottom: 34px !important;
  }
  .qdm-quality-page-heading {
    margin-bottom: 16px;
  }
  .qdm-quality-page-heading h2 {
    font-size: 29px !important;
  }

  /* PREVENT cards remain one-column, but no artificial equal heights. */
  .qdm-quality-v2-control-grid {
    grid-template-columns: 1fr;
  }
  .qdm-quality-v2-control-grid > div {
    min-height: 0;
    padding: 14px 15px;
  }

  /* 5M1E: two columns rather than six tall rows. */
  .qdm-quality-5m1e__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .qdm-quality-5m1e__grid > div,
  .qdm-quality-5m1e__grid > div:nth-child(3n),
  .qdm-quality-5m1e__grid > div:nth-child(even),
  .qdm-quality-5m1e__grid > div:nth-child(n+4),
  .qdm-quality-5m1e__grid > div:nth-child(n+5) {
    min-height: 82px;
    padding: 10px 11px;
    border-right: 1px solid rgba(255,255,255,.1) !important;
    border-bottom: 1px solid rgba(255,255,255,.1) !important;
  }
  .qdm-quality-5m1e__grid > div:nth-child(even) {
    border-right: 0 !important;
  }
  .qdm-quality-5m1e__grid > div:nth-child(n+5) {
    border-bottom: 0 !important;
  }
  .qdm-quality-5m1e__grid span {
    margin-top: 3px;
    font-size: 10px;
    line-height: 1.35;
  }

  /* Control Plan vertical timeline: remove fixed step height. */
  .qdm-quality-controlplan-timeline {
    padding: 13px 12px 13px 58px;
  }
  .qdm-quality-controlplan-timeline__rail {
    left: 29px;
    top: 31px;
    bottom: 31px;
  }
  .qdm-quality-controlplan-step {
    min-height: 0;
    padding: 10px 5px 11px 0;
  }
  .qdm-quality-controlplan-step__marker {
    left: -43px;
    top: 8px;
    width: 34px;
    height: 34px;
  }
  .qdm-quality-controlplan-step > p {
    margin-bottom: 5px !important;
  }
  .qdm-quality-controlplan-step > small {
    margin-top: 4px;
    line-height: 1.45;
  }

  .qdm-quality-reaction-plan {
    margin-top: 12px;
    padding: 16px 15px;
    gap: 16px;
  }
  .qdm-quality-reaction-plan__steps {
    gap: 6px;
  }
  .qdm-quality-reaction-plan__steps span {
    min-height: 44px;
    padding: 7px 8px;
  }
  .qdm-quality-fishbone-wrap {
    padding: 14px;
  }
  .qdm-quality-fishbone {
    gap: 6px;
  }
  .qdm-quality-fishbone__cause {
    padding: 8px 5px;
  }
  .qdm-quality-response > div {
    padding: 10px 11px;
  }

  /* Documentation: two columns on phones; final 8D card spans the row. */
  .qdm-quality-v2-docs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .qdm-quality-v2-docs > div {
    min-height: 0;
    padding: 11px 12px;
  }
  .qdm-quality-v2-docs > div:last-child {
    grid-column: 1 / -1;
  }
  .qdm-quality-v2-docs strong {
    margin-top: 4px;
  }
}


/* V1.5.6 — phone-only Quality refinements
   1) compress Hero/5M1E vertical space at 375–440px;
   2) preserve a true Fishbone diagram instead of collapsing it into cards. */
@media (max-width: 560px) {
  /* HERO: reduce dead space while keeping the 5M1E framework visible. */
  .qdm-quality-v2-hero {
    padding-top: 22px !important;
    padding-bottom: 22px !important;
  }
  .qdm-quality-v2-hero__grid {
    gap: 16px;
  }
  .qdm-quality-v2-hero__copy h1 {
    font-size: 30px !important;
    line-height: 1.03 !important;
  }
  .qdm-quality-v2-hero__copy > p:not(.qdm-quality-page-kicker) {
    margin-top: 10px;
    font-size: 13.5px !important;
    line-height: 1.52 !important;
  }
  .qdm-quality-tool-strip {
    margin-top: 12px;
  }
  .qdm-quality-tool-strip span {
    padding: 5px 7px;
    font-size: 9.5px;
  }
  .qdm-quality-5m1e__head {
    padding: 11px 12px 9px;
  }
  .qdm-quality-5m1e__head strong {
    font-size: 20px;
  }
  .qdm-quality-5m1e__head span {
    margin-top: 2px;
    font-size: 10px;
    line-height: 1.35;
  }
  .qdm-quality-5m1e__grid > div,
  .qdm-quality-5m1e__grid > div:nth-child(3n),
  .qdm-quality-5m1e__grid > div:nth-child(even),
  .qdm-quality-5m1e__grid > div:nth-child(n+4),
  .qdm-quality-5m1e__grid > div:nth-child(n+5) {
    min-height: 60px;
    padding: 8px 9px;
  }
  .qdm-quality-5m1e__grid b {
    font-size: 11.5px;
  }
  .qdm-quality-5m1e__grid span {
    font-size: 9.2px;
    line-height: 1.28;
  }

  /* FISHBONE: restore the actual cause-and-effect shape on phones. */
  .qdm-quality-fishbone-wrap {
    padding: 13px 12px;
  }
  .qdm-quality-fishbone {
    position: relative;
    display: block;
    grid-template-columns: none;
    height: 208px;
    margin-top: 8px;
    padding: 0;
  }
  .qdm-quality-fishbone__spine {
    display: block;
    left: 7%;
    right: 27%;
    top: 50%;
    width: auto;
    height: 2px;
  }
  .qdm-quality-fishbone__head {
    position: absolute;
    right: 0;
    top: calc(50% - 24px);
    width: 82px;
    min-height: 48px;
    grid-column: auto;
    order: initial;
    padding: 6px;
    font-size: 9px;
  }
  .qdm-quality-fishbone__cause {
    position: absolute;
    width: 70px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #dce7ed;
    font-size: 8.8px;
    line-height: 1.2;
    text-align: center;
  }
  .qdm-quality-fishbone__cause::after {
    display: block;
    width: 48px;
    height: 1px;
    background: rgba(255,255,255,.50);
  }
  .qdm-quality-fishbone__cause--1 { left: 0%; top: 14px; }
  .qdm-quality-fishbone__cause--2 { left: 27%; top: 14px; }
  .qdm-quality-fishbone__cause--3 { left: 52%; top: 14px; }
  .qdm-quality-fishbone__cause--4 { left: 0%; bottom: 13px; }
  .qdm-quality-fishbone__cause--5 { left: 27%; bottom: 13px; }
  .qdm-quality-fishbone__cause--6 { left: 52%; bottom: 13px; }

  .qdm-quality-fishbone__cause--1::after,
  .qdm-quality-fishbone__cause--2::after,
  .qdm-quality-fishbone__cause--3::after {
    left: 54%;
    top: 30px;
    transform: rotate(43deg);
    transform-origin: left center;
  }
  .qdm-quality-fishbone__cause--4::after,
  .qdm-quality-fishbone__cause--5::after,
  .qdm-quality-fishbone__cause--6::after {
    left: 54%;
    bottom: 28px;
    transform: rotate(-43deg);
    transform-origin: left center;
  }
}


/* V1.5.7 — restore Reaction Plan flow direction on tablet and phones */
/* Tablet: keep the seven-step flow horizontal so the arrows remain visible. */
@media (min-width: 561px) and (max-width: 781px) {
  .qdm-quality-reaction-plan__steps {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
  }
  .qdm-quality-reaction-plan__steps span {
    min-width: 0;
    min-height: 52px;
    padding: 7px 4px;
    font-size: 9px;
    line-height: 1.2;
  }
  .qdm-quality-reaction-plan__steps span:not(:last-child)::after {
    display: block;
    content: "→";
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff777d;
    font-size: 11px;
    line-height: 1;
  }
}

/* Phones: use one compact vertical sequence with downward arrows. */
@media (max-width: 560px) {
  .qdm-quality-reaction-plan__steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    counter-reset: qdm-reaction-step;
  }
  .qdm-quality-reaction-plan__steps span {
    counter-increment: qdm-reaction-step;
    position: relative;
    min-height: 40px;
    padding: 8px 12px 8px 46px;
    justify-content: flex-start;
    text-align: left;
    font-size: 10.2px;
  }
  .qdm-quality-reaction-plan__steps span::before {
    content: counter(qdm-reaction-step, decimal-leading-zero);
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff777d;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
  }
  .qdm-quality-reaction-plan__steps span:not(:last-child)::after {
    display: block;
    content: "↓";
    position: absolute;
    right: auto;
    left: 50%;
    top: auto;
    bottom: -15px;
    transform: translateX(-50%);
    color: #ff777d;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
  }
}

/* V1.6.1 — Phone-first peek/reveal layout.
   IMPORTANT: all structural changes are scoped to <=560px so tablet/desktop
   keep the approved V1.5.7 layouts unchanged. */

.qdm-mobile-clone-grid,
.qdm-mobile-reveal-toggle,
.qdm-mobile-carousel-controls { display:none; }

@media (max-width:560px) {
  /* Overall density: shorten sections without shrinking the content into unreadability. */
  body.home .qdm-section { padding-top:38px !important; padding-bottom:38px !important; }
  body.page #quality-control,
  body.page #quality-inspection,
  body.page #quality-corrective-action,
  body.page #quality-documentation { padding-top:38px !important; padding-bottom:38px !important; }

  /* Compact typography on phone only. */
  .qdm-section-heading { font-size:30px !important; line-height:1.08 !important; }
  .qdm-quality-page-heading h2 { font-size:30px !important; line-height:1.08 !important; }
  .qdm-quality-page-heading > p:last-child,
  .qdm-quality-page-heading--inline > p { font-size:12px !important; line-height:1.52 !important; }

  /* Reusable peek/reveal behavior. Content remains in-place; the arrow reveals it. */
  .qdm-mobile-peek-target {
    position:relative;
    overflow:hidden;
    max-height:var(--qdm-mobile-peek-height, 220px);
    transition:max-height .34s ease;
  }
  .qdm-mobile-peek-target::after {
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:42px;
    pointer-events:none;
    background:linear-gradient(to bottom, rgba(244,247,249,0), rgba(244,247,249,.96) 78%);
    opacity:1;
    transition:opacity .2s ease;
  }
  .qdm-mobile-peek-target.qdm-mobile-peek-target--white::after {
    background:linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.98) 78%);
  }
  .qdm-mobile-peek-target.qdm-mobile-peek-target--dark::after {
    background:linear-gradient(to bottom, rgba(10,20,28,0), rgba(10,20,28,.98) 78%);
  }
  .qdm-mobile-peek-target.is-expanded::after { opacity:0; }

  .qdm-mobile-reveal-toggle {
    display:flex;
    position:relative;
    z-index:4;
    width:38px;
    height:30px;
    margin:-15px auto 10px;
    align-items:center;
    justify-content:center;
    border:1px solid #cbd7e0;
    border-radius:999px;
    background:#fff;
    box-shadow:0 5px 14px rgba(14,53,91,.14);
    cursor:pointer;
  }
  .qdm-mobile-reveal-toggle .qdm-mobile-chevron {
    width:8px;
    height:8px;
    border-right:2px solid var(--qdm-blue);
    border-bottom:2px solid var(--qdm-blue);
    transform:translateY(-2px) rotate(45deg);
    transition:transform .25s ease;
  }
  .qdm-mobile-reveal-toggle[aria-expanded="true"] .qdm-mobile-chevron {
    transform:translateY(2px) rotate(225deg);
  }
  .qdm-mobile-reveal-toggle--dark {
    border-color:#385064;
    background:#153149;
    box-shadow:0 5px 14px rgba(0,0,0,.18);
  }
  .qdm-mobile-reveal-toggle--dark .qdm-mobile-chevron { border-color:#fff; }

  /* HOME — trust and utility blocks. */
  body.home .qdm-trust-columns { display:grid !important; grid-template-columns:1fr 1fr; }
  body.home .qdm-trust-item { border-bottom:1px solid var(--qdm-line); }
  body.home .qdm-trust-item > .wp-block-group { padding:13px 11px !important; }
  body.home .qdm-trust-item h3 { font-size:13px !important; }
  body.home .qdm-trust-item p { font-size:10px !important; line-height:1.4 !important; }

  /* HOME — Capabilities: mobile clone is 2 columns; row 2 peeks until arrow is tapped. */
  body.home #capabilities .qdm-mobile-original-block { display:none !important; }
  .qdm-mobile-clone-grid { display:grid; gap:8px; }
  .qdm-home-capability-mobile-grid { grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:15px; }
  .qdm-home-capability-mobile-grid .qdm-cap-card {
    min-height:142px;
    padding:13px 11px !important;
  }
  .qdm-home-capability-mobile-grid .qdm-cap-card > p:first-child {
    margin-bottom:12px !important;
    font-size:9px !important;
  }
  .qdm-home-capability-mobile-grid .qdm-cap-card h3 { margin-bottom:6px !important; font-size:13px !important; line-height:1.3 !important; }
  .qdm-home-capability-mobile-grid .qdm-cap-card > p:last-child { font-size:9.8px !important; line-height:1.45 !important; }

  /* HOME — Why: keep original copy, but reveal the longer benefit list on demand. */
  body.home .qdm-why-visual { min-height:210px !important; }
  body.home .qdm-benefit-row { padding-top:10px !important; padding-bottom:10px !important; }
  body.home .qdm-benefit-row h3 { font-size:13px !important; }
  body.home .qdm-benefit-row p { font-size:10.4px !important; line-height:1.45 !important; }

  /* HOME — Quality proof cards: two-column mobile clone with a second-row peek. */
  body.home #quality .qdm-quality-grid.qdm-mobile-original-block { display:none !important; }
  .qdm-home-quality-mobile-grid { grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:14px; }
  .qdm-home-quality-mobile-grid > .wp-block-group {
    min-height:136px;
    padding:13px 11px !important;
    border:1px solid #2d4a61;
    border-radius:8px;
    background:#112b3e;
  }
  .qdm-home-quality-mobile-grid p:first-child { margin-bottom:7px !important; font-size:9px !important; }
  .qdm-home-quality-mobile-grid h3 { margin-bottom:5px !important; font-size:13px !important; line-height:1.3 !important; }
  .qdm-home-quality-mobile-grid p:last-child { font-size:9.7px !important; line-height:1.45 !important; }

  /* HOME — How We Work: show step 01 and a visible part of step 02. */
  body.home .qdm-process-columns { display:grid !important; grid-template-columns:1fr !important; gap:8px !important; }
  body.home .qdm-step-card { min-height:0; padding:12px 12px !important; }
  body.home .qdm-step-card p:first-child { margin-bottom:5px !important; }
  body.home .qdm-step-card h3 { margin:0 0 5px !important; font-size:13px !important; }
  body.home .qdm-step-card p:last-child { margin:0 !important; font-size:10px !important; line-height:1.42 !important; }

  /* HOME — Industries stay as a compact 2x2 matrix. */
  body.home .qdm-industry-columns { display:grid !important; grid-template-columns:1fr 1fr; gap:8px !important; }
  body.home .qdm-industry-card { min-height:103px; padding:12px 11px !important; }
  body.home .qdm-industry-card h3 { font-size:13px !important; }
  body.home .qdm-industry-card p { font-size:10px !important; line-height:1.42 !important; }

  /* HOME — Representative Work / Insights: swipe + explicit arrow controls. */
  body.home .qdm-project-columns,
  body.home .qdm-insight-columns {
    display:flex !important;
    flex-wrap:nowrap !important;
    gap:12px !important;
    overflow-x:auto;
    padding:0 1px 7px;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  body.home .qdm-project-columns::-webkit-scrollbar,
  body.home .qdm-insight-columns::-webkit-scrollbar { display:none; }
  body.home .qdm-project-columns > .wp-block-column,
  body.home .qdm-insight-columns > .wp-block-column { flex:0 0 84% !important; scroll-snap-align:start; }
  body.home .qdm-project-card { padding-bottom:14px !important; }
  body.home .qdm-project-card .wp-block-group { padding-left:14px !important; padding-right:14px !important; }
  body.home .qdm-project-card h3 { font-size:15px !important; }
  body.home .qdm-project-card p { font-size:10.2px !important; line-height:1.46 !important; }
  body.home .qdm-insight-card { min-height:145px; padding:15px 14px !important; }
  body.home .qdm-insight-card h3 { font-size:14px !important; }
  body.home .qdm-insight-card p { font-size:10px !important; line-height:1.45 !important; }

  .qdm-mobile-carousel-controls {
    display:flex;
    justify-content:center;
    gap:9px;
    margin:8px 0 0;
  }
  .qdm-mobile-carousel-controls button {
    display:flex;
    width:34px;
    height:34px;
    align-items:center;
    justify-content:center;
    border:1px solid #cbd7e0;
    border-radius:50%;
    background:#fff;
    color:var(--qdm-blue);
    box-shadow:0 4px 11px rgba(14,53,91,.1);
    cursor:pointer;
  }
  .qdm-mobile-carousel-controls button::before {
    content:"";
    width:7px;
    height:7px;
    border-top:2px solid currentColor;
    border-right:2px solid currentColor;
  }
  .qdm-mobile-carousel-controls .qdm-carousel-prev::before { transform:rotate(-135deg); margin-left:3px; }
  .qdm-mobile-carousel-controls .qdm-carousel-next::before { transform:rotate(45deg); margin-right:3px; }
  .qdm-mobile-carousel-controls button:disabled { opacity:.32; cursor:default; }

  /* QUALITY PAGE — keep approved desktop markup; only mobile gets alternate density. */
  .qdm-quality-v2-hero { padding-top:22px !important; padding-bottom:22px !important; }
  .qdm-quality-v2-hero__grid { gap:15px !important; }
  .qdm-quality-v2-hero__copy h1 { font-size:30px !important; line-height:1.04 !important; }
  .qdm-quality-v2-hero__copy > p:not(.qdm-quality-page-kicker) { margin-top:9px !important; font-size:12.5px !important; line-height:1.5 !important; }
  .qdm-quality-tool-strip { margin-top:10px !important; gap:5px !important; }
  .qdm-quality-tool-strip span { padding:4px 6px !important; font-size:9px !important; }
  .qdm-quality-5m1e__head { padding:10px 11px 8px !important; }
  .qdm-quality-5m1e__head strong { font-size:19px !important; }
  .qdm-quality-5m1e__grid { grid-template-columns:1fr 1fr !important; }
  .qdm-quality-5m1e__grid > div,
  .qdm-quality-5m1e__grid > div:nth-child(3n),
  .qdm-quality-5m1e__grid > div:nth-child(even),
  .qdm-quality-5m1e__grid > div:nth-child(n+4),
  .qdm-quality-5m1e__grid > div:nth-child(n+5) {
    min-height:58px !important;
    padding:8px 9px !important;
  }
  .qdm-quality-5m1e__grid b { font-size:11px !important; }
  .qdm-quality-5m1e__grid span { font-size:9px !important; line-height:1.28 !important; }

  body.page .qdm-quality-v2-control-grid.qdm-mobile-original-block { display:none !important; }
  .qdm-quality-prevent-mobile-grid { grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:13px; }
  .qdm-quality-prevent-mobile-grid > div {
    min-height:162px;
    padding:13px 11px;
    border-top:3px solid var(--qdm-red);
    border-right:1px solid var(--qdm-line);
    border-bottom:1px solid var(--qdm-line);
    border-left:1px solid var(--qdm-line);
    border-radius:8px;
    background:#fff;
  }
  .qdm-quality-prevent-mobile-grid span,.qdm-quality-prevent-mobile-grid strong,.qdm-quality-prevent-mobile-grid small { display:block; }
  .qdm-quality-prevent-mobile-grid span { color:var(--qdm-blue); font-size:9px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; }
  .qdm-quality-prevent-mobile-grid strong { margin-top:8px; font-size:12.5px; line-height:1.32; }
  .qdm-quality-prevent-mobile-grid small { margin-top:6px; color:var(--qdm-muted); font-size:9.6px; line-height:1.42; }

  .qdm-quality-controlplan-timeline { margin-top:12px !important; }
  .qdm-quality-controlplan-step { padding-top:10px !important; padding-bottom:10px !important; }
  .qdm-quality-controlplan-step > strong { font-size:12.5px !important; }
  .qdm-quality-controlplan-step > small { font-size:9.7px !important; line-height:1.42 !important; }

  /* Reaction plan keeps its directional arrows, but only the first part is exposed initially. */
  .qdm-quality-reaction-plan { padding:15px 13px !important; }
  .qdm-quality-reaction-plan__steps { gap:14px !important; }
  .qdm-quality-reaction-plan__steps span { min-height:39px !important; padding-top:7px !important; padding-bottom:7px !important; }

  /* Root-cause section remains visual; only the long corrective-action list is peeked. */
  .qdm-quality-fishbone-wrap { padding:13px 12px !important; }
  .qdm-quality-response > div { padding:10px 11px !important; }

  /* Documentation stays a compact two-column list. */
  .qdm-quality-v2-docs { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:7px !important; }
  .qdm-quality-v2-docs > div { min-height:0 !important; padding:11px 10px !important; }
  .qdm-quality-v2-docs > div:last-child { grid-column:1 / -1; }
  .qdm-quality-v2-docs strong { margin-top:4px !important; font-size:11.5px !important; }

  /* CAPABILITIES PAGE — keep desktop/tablet database view; shorten only the phone view. */
  .qdm-cap-data-section { padding-top:38px !important; padding-bottom:38px !important; }
  .qdm-cap-data-heading { margin-bottom:16px !important; }
  .qdm-cap-data-heading h2 { font-size:29px !important; line-height:1.08 !important; }
  .qdm-cap-data-heading > p:last-child,
  .qdm-cap-data-heading--inline > p { font-size:11.5px !important; line-height:1.5 !important; }

  .qdm-cap-photo-stack--compact,
  .qdm-cap-photo-stack--inspection {
    display:flex !important;
    gap:8px !important;
    overflow-x:auto;
    padding:0 0 5px;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    scrollbar-width:none;
  }
  .qdm-cap-photo-stack--compact::-webkit-scrollbar,
  .qdm-cap-photo-stack--inspection::-webkit-scrollbar { display:none; }
  .qdm-cap-photo-stack--compact figure,
  .qdm-cap-photo-stack--inspection figure { flex:0 0 86%; scroll-snap-align:start; }
  .qdm-cap-photo-stack--compact img,
  .qdm-cap-photo-stack--inspection img { aspect-ratio:16/9 !important; object-fit:cover; }

  .qdm-spec-grid--2,
  .qdm-finish-grid,
  .qdm-material-family-grid,
  .qdm-inspection-specs { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:7px !important; }
  .qdm-spec-card,
  .qdm-finish-card,
  .qdm-material-family-grid > div,
  .qdm-inspection-specs > div { min-height:0 !important; padding:10px !important; }
  .qdm-spec-card strong,
  .qdm-finish-card strong,
  .qdm-material-family-grid strong,
  .qdm-inspection-specs strong { font-size:11.5px !important; }
  .qdm-spec-card span,
  .qdm-finish-card span,
  .qdm-material-family-grid span,
  .qdm-inspection-specs span { font-size:9.4px !important; line-height:1.38 !important; }

  /* Existing native details use chevrons instead of plus signs on phones. */
  .qdm-cap-details summary::after,
  .qdm-quality-details summary::after {
    content:"" !important;
    width:7px;
    height:7px;
    border-right:2px solid currentColor;
    border-bottom:2px solid currentColor;
    transform:translateY(-65%) rotate(45deg) !important;
    transition:transform .2s ease;
  }
  .qdm-cap-details[open] summary::after,
  .qdm-quality-details[open] summary::after {
    transform:translateY(-35%) rotate(225deg) !important;
  }
}

/* V1.6.1 reaction-plan peek correction: prevent the full seven-step grid
   from vertically centering inside the clipped phone viewport. */
@media (max-width:560px) {
  .qdm-quality-reaction-plan__steps.qdm-mobile-peek-target {
    align-content:start !important;
  }
}


/* V1.6.2 — mobile casting dual-preview + first-row Quality peek */
@media (max-width:560px) {
  /* Casting: preview BOTH material families at roughly half height. The
     centered reveal chevron opens both cards and then exposes the native
     "More casting capability" details block. */
  #casting .qdm-casting-panels.qdm-mobile-casting-peek > .qdm-data-panel {
    overflow:hidden;
    transition:max-height .28s ease;
    position:relative;
  }
  #casting .qdm-casting-panels.qdm-mobile-casting-peek:not(.is-expanded) > .qdm-data-panel::after {
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:28px;
    pointer-events:none;
    background:linear-gradient(to bottom, rgba(255,255,255,0), #fff 88%);
  }
  #casting .qdm-casting-panels.qdm-mobile-casting-peek:not(.is-expanded) > .qdm-cap-details--full {
    display:none;
  }
  #casting .qdm-casting-panels.qdm-mobile-casting-peek.is-expanded > .qdm-cap-details--full {
    display:block;
  }
}

/* V1.7.0 — dedicated Projects / Representative Work page */
#project-aluminum,
#project-stainless,
#project-cast-iron { scroll-margin-top:104px; }

.qdm-projects-page-hero {
  position:relative;
  overflow:hidden;
  color:#fff;
  background:linear-gradient(116deg,#09151f 0%,#0d3153 61%,#174a7c 100%);
}
.qdm-projects-page-hero::after {
  content:"";
  position:absolute;
  width:520px;
  height:520px;
  right:-300px;
  top:-315px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:50%;
  pointer-events:none;
}
.qdm-projects-page-hero__inner { position:relative; z-index:1; max-width:980px; }
.qdm-projects-kicker,
.qdm-projects-number {
  margin:0 0 9px;
  color:var(--qdm-blue);
  font-size:10.5px !important;
  line-height:1.4;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.qdm-projects-page-hero .qdm-projects-kicker { color:#ff777d; }
.qdm-projects-page-hero h1 {
  margin:0 !important;
  max-width:900px;
  color:#fff;
  font-size:46px !important;
  line-height:1.05 !important;
  letter-spacing:-.038em !important;
}
.qdm-projects-page-hero__inner > p:not(.qdm-projects-kicker):not(.qdm-projects-confidentiality) {
  max-width:880px;
  margin:13px 0 0;
  color:#d5e0e7;
  font-size:15px !important;
  line-height:1.65 !important;
}
.qdm-projects-confidentiality {
  display:inline-block;
  margin:16px 0 0 !important;
  padding:6px 9px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  color:#b8c8d3;
  font-size:10.5px !important;
  line-height:1.3 !important;
}

.qdm-projects-index { border-bottom:1px solid var(--qdm-line); background:#fff; }
.qdm-projects-index__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
.qdm-projects-index__grid a {
  display:flex;
  min-height:82px;
  align-items:center;
  gap:12px;
  padding:15px 20px;
  border-right:1px solid var(--qdm-line);
  color:var(--qdm-ink);
  text-decoration:none;
}
.qdm-projects-index__grid a:first-child { border-left:1px solid var(--qdm-line); }
.qdm-projects-index__grid span { color:var(--qdm-red); font-size:10px; font-weight:800; letter-spacing:.1em; }
.qdm-projects-index__grid strong { font-size:13px; line-height:1.35; }

.qdm-project-story--light { background:#f4f7f9; }
.qdm-project-story--white { background:#fff; }
.qdm-project-story__heading { max-width:980px; margin-bottom:28px; }
.qdm-project-story__heading h2 {
  margin:0 0 12px !important;
  color:var(--qdm-ink);
  font-size:42px !important;
  line-height:1.08 !important;
  letter-spacing:-.03em !important;
}
.qdm-project-story__heading > p:last-child {
  max-width:930px;
  margin:0;
  color:var(--qdm-muted);
  font-size:14.5px !important;
  line-height:1.68 !important;
}
.qdm-project-story__hero-grid {
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);
  gap:26px;
  align-items:stretch;
}
.qdm-project-story__hero-grid--reverse { grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr); }
.qdm-project-story__hero-grid--reverse .qdm-project-story__image { order:2; }
.qdm-project-story__hero-grid--reverse .qdm-project-snapshot { order:1; }
.qdm-project-story__image {
  margin:0;
  overflow:hidden;
  min-height:360px;
  border-radius:10px;
  background:#dfe6eb;
  box-shadow:0 12px 28px rgba(15,42,65,.08);
}
.qdm-project-story__image img { display:block; width:100%; height:100%; min-height:360px; object-fit:cover; }
.qdm-project-snapshot {
  display:grid;
  grid-template-columns:1fr 1fr;
  overflow:hidden;
  border:1px solid var(--qdm-line);
  border-radius:10px;
  background:#fff;
}
.qdm-project-snapshot > div { min-height:178px; padding:19px; border-right:1px solid var(--qdm-line); border-bottom:1px solid var(--qdm-line); }
.qdm-project-snapshot > div:nth-child(even) { border-right:0; }
.qdm-project-snapshot > div:nth-child(n+3) { border-bottom:0; }
.qdm-project-snapshot span,.qdm-project-snapshot strong { display:block; }
.qdm-project-snapshot span { color:var(--qdm-blue); font-size:9.8px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
.qdm-project-snapshot strong { margin-top:10px; color:var(--qdm-ink); font-size:15.5px; line-height:1.38; }

.qdm-project-story-details { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:16px; }
.qdm-project-detail-card {
  min-height:238px;
  padding:20px;
  border-top:3px solid var(--qdm-red);
  border-right:1px solid var(--qdm-line);
  border-bottom:1px solid var(--qdm-line);
  border-left:1px solid var(--qdm-line);
  border-radius:9px;
  background:#fff;
}
.qdm-project-detail-card span { display:block; color:var(--qdm-blue); font-size:9.8px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
.qdm-project-detail-card h3 { margin:11px 0 8px !important; color:var(--qdm-ink); font-size:18px !important; line-height:1.32 !important; }
.qdm-project-detail-card p { margin:0; color:var(--qdm-muted); font-size:12.4px !important; line-height:1.62 !important; }
.qdm-project-outcome {
  display:grid;
  grid-template-columns:220px 1fr;
  gap:18px;
  align-items:start;
  margin-top:12px;
  padding:16px 18px;
  border-left:3px solid var(--qdm-red);
  border-radius:7px;
  background:#0b1b27;
  color:#fff;
}
.qdm-project-outcome strong { color:#ff777d; font-size:12px; line-height:1.4; text-transform:uppercase; letter-spacing:.06em; }
.qdm-project-outcome span { color:#c6d3dc; font-size:12px; line-height:1.58; }
.qdm-project-outcome--blue { background:#12395d; }

.qdm-projects-closing { color:#fff; background:#0b1b27; }
.qdm-projects-closing .qdm-projects-number { color:#ff777d; }
.qdm-projects-closing h2 { margin:0 !important; color:#fff; font-size:32px !important; }
.qdm-projects-closing__grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-top:18px; }
.qdm-projects-closing__grid span { padding:13px 14px; border:1px solid rgba(255,255,255,.11); border-radius:7px; background:rgba(255,255,255,.035); color:#d6e1e8; font-size:11.5px; text-align:center; }

body.page .qdm-section-nav.qdm-section-nav--projects { display:flex; }
@media (max-width:1199px) { body.page .qdm-section-nav.qdm-section-nav--projects { display:none; } }

@media (max-width:1024px) {
  .qdm-project-story__hero-grid,
  .qdm-project-story__hero-grid--reverse { grid-template-columns:1fr; }
  .qdm-project-story__hero-grid--reverse .qdm-project-story__image,
  .qdm-project-story__hero-grid--reverse .qdm-project-snapshot { order:initial; }
  .qdm-project-story__image,
  .qdm-project-story__image img { min-height:0; }
  .qdm-project-story__image img { aspect-ratio:16/9; }
  .qdm-project-snapshot > div { min-height:120px; }
  .qdm-project-detail-card { min-height:0; }
}
@media (max-width:781px) {
  .qdm-projects-page-hero { padding-top:34px !important; padding-bottom:34px !important; }
  .qdm-projects-page-hero h1 { font-size:36px !important; }
  .qdm-projects-index__grid a { padding:12px 11px; }
  .qdm-projects-index__grid strong { font-size:11.5px; }
  .qdm-project-story { padding-top:52px !important; padding-bottom:52px !important; }
  .qdm-project-story__heading h2 { font-size:34px !important; }
  .qdm-project-story-details { grid-template-columns:1fr; }
  .qdm-projects-closing__grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:560px) {
  .qdm-projects-page-hero { padding-top:26px !important; padding-bottom:26px !important; }
  .qdm-projects-page-hero h1 { font-size:30px !important; }
  .qdm-projects-page-hero__inner > p:not(.qdm-projects-kicker):not(.qdm-projects-confidentiality) { font-size:12px !important; line-height:1.5 !important; }
  .qdm-projects-confidentiality { margin-top:11px !important; font-size:9px !important; }
  .qdm-projects-index__grid { grid-template-columns:1fr; }
  .qdm-projects-index__grid a { min-height:46px; padding:9px 14px; border-right:1px solid var(--qdm-line); border-bottom:1px solid var(--qdm-line); }
  .qdm-projects-index__grid a:first-child { border-left:1px solid var(--qdm-line); }
  .qdm-projects-index__grid a:last-child { border-bottom:0; }
  .qdm-projects-index__grid strong { font-size:10.5px; }

  .qdm-project-story { padding-top:38px !important; padding-bottom:38px !important; }
  .qdm-project-story__heading { margin-bottom:16px; }
  .qdm-project-story__heading h2 { font-size:28px !important; line-height:1.08 !important; }
  .qdm-project-story__heading > p:last-child { font-size:11.5px !important; line-height:1.5 !important; }
  .qdm-project-story__hero-grid { gap:10px; }
  .qdm-project-story__image img { aspect-ratio:16/10; }
  .qdm-project-snapshot { grid-template-columns:1fr 1fr; }
  .qdm-project-snapshot > div { min-height:82px; padding:10px; }
  .qdm-project-snapshot span { font-size:8.6px; }
  .qdm-project-snapshot strong { margin-top:5px; font-size:10.5px; line-height:1.35; }

  .qdm-project-story-details { grid-template-columns:1fr; gap:7px; margin-top:11px; }
  .qdm-project-detail-card { min-height:0; padding:12px; }
  .qdm-project-detail-card span { font-size:8.6px; }
  .qdm-project-detail-card h3 { margin:7px 0 5px !important; font-size:13px !important; }
  .qdm-project-detail-card p { font-size:9.8px !important; line-height:1.46 !important; }
  .qdm-project-outcome { grid-template-columns:1fr; gap:5px; margin-top:8px; padding:12px 13px; }
  .qdm-project-outcome strong { font-size:9px; }
  .qdm-project-outcome span { font-size:10px; line-height:1.48; }
  .qdm-projects-closing { padding-top:30px !important; padding-bottom:30px !important; }
  .qdm-projects-closing h2 { font-size:26px !important; }
  .qdm-projects-closing__grid { grid-template-columns:1fr 1fr; gap:6px; margin-top:12px; }
  .qdm-projects-closing__grid span { padding:9px 7px; font-size:9.5px; }
}

/* V1.8.0 — Projects directory + simple independent case-study articles */
.qdm-project-title-link { color:inherit; text-decoration:none; }
.qdm-project-title-link:hover { color:var(--qdm-blue); }

.qdm-projects-page-hero--hub h1 { max-width:760px; }
.qdm-projects-page-hero--hub .qdm-projects-page-hero__inner > p:last-child { max-width:850px; }
.qdm-projects-hub__heading {
  width:100%;
  max-width:1200px;
  margin-right:auto !important;
  margin-bottom:28px;
  margin-left:auto !important;
}
.qdm-projects-hub__heading h2,
.qdm-projects-hub__heading > p { max-width:780px; }
.qdm-projects-hub__heading h2 { margin:0 0 10px !important; color:var(--qdm-ink); font-size:38px !important; line-height:1.1 !important; letter-spacing:-.028em !important; }
.qdm-projects-hub__heading > p:last-child { margin:0; color:var(--qdm-muted); font-size:14px !important; line-height:1.65 !important; }
.qdm-projects-hub__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.qdm-projects-hub-card { overflow:hidden; border:1px solid var(--qdm-line); border-radius:9px; background:#fff; box-shadow:0 8px 22px rgba(15,42,65,.045); }
.qdm-projects-hub-card__image { display:block; overflow:hidden; background:#e8edf0; }
.qdm-projects-hub-card__image img { display:block; width:100%; aspect-ratio:4/3; object-fit:cover; transition:transform .22s ease; }
.qdm-projects-hub-card:hover .qdm-projects-hub-card__image img { transform:scale(1.018); }
.qdm-projects-hub-card__body { padding:18px 19px 20px; }
.qdm-projects-hub-card__body > span { color:var(--qdm-blue); font-size:9.8px; font-weight:800; letter-spacing:.11em; text-transform:uppercase; }
.qdm-projects-hub-card h3 { margin:10px 0 8px !important; font-size:21px !important; line-height:1.28 !important; }
.qdm-projects-hub-card h3 a { color:var(--qdm-ink); text-decoration:none; }
.qdm-projects-hub-card h3 a:hover { color:var(--qdm-blue); }
.qdm-projects-hub-card p { min-height:70px; margin:0; color:var(--qdm-muted); font-size:12.4px !important; line-height:1.58 !important; }
.qdm-projects-hub-card__link { display:inline-block; margin-top:14px; color:var(--qdm-blue); font-size:11.5px; font-weight:800; text-decoration:none; }
.qdm-projects-hub-card__link:hover { text-decoration:underline; }

.qdm-case-article-wrap { background:#fff; }
.qdm-case-article { max-width:820px; margin:0 auto; color:var(--qdm-ink); }
.qdm-case-article__back { margin:0 0 24px !important; font-size:11.5px !important; }
.qdm-case-article__back a { color:var(--qdm-blue); font-weight:750; text-decoration:none; }
.qdm-case-article__back a:hover { text-decoration:underline; }
.qdm-case-article__kicker { margin:0 0 10px !important; color:var(--qdm-red); font-size:10.5px !important; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }
.qdm-case-article h1 { margin:0 !important; color:var(--qdm-ink); font-size:44px !important; line-height:1.08 !important; letter-spacing:-.034em !important; }
.qdm-case-article__meta { margin:15px 0 34px !important; color:var(--qdm-blue); font-size:11.5px !important; font-weight:750; line-height:1.55 !important; }
.qdm-case-article h2 { margin:30px 0 9px !important; color:var(--qdm-ink); font-size:22px !important; line-height:1.25 !important; }
.qdm-case-article p:not(.qdm-case-article__back):not(.qdm-case-article__kicker):not(.qdm-case-article__meta) { margin:0 0 16px; color:#465a69; font-size:15px !important; line-height:1.78 !important; }
.qdm-case-article__image { margin:28px 0 30px; overflow:hidden; border-radius:8px; background:#e7ecef; }
.qdm-case-article__image img { display:block; width:100%; height:auto; aspect-ratio:16/10; object-fit:cover; }
.qdm-case-article__back--bottom { margin-top:36px !important; padding-top:20px; border-top:1px solid var(--qdm-line); }

/* Keep the desktop Projects submenu compact and industrial rather than oversized. */
@media (min-width:782px) {
  .qdm-header .wp-block-navigation__submenu-container { min-width:255px !important; border:1px solid var(--qdm-line) !important; border-radius:7px !important; box-shadow:0 12px 28px rgba(15,42,65,.12) !important; }
  .qdm-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding:10px 14px !important; font-size:12px !important; line-height:1.35 !important; }
}

@media (max-width:900px) {
  .qdm-projects-hub__grid { grid-template-columns:1fr 1fr; }
  .qdm-projects-hub-card p { min-height:0; }
}
@media (max-width:560px) {
  .qdm-projects-page-hero--hub { padding-top:27px !important; padding-bottom:27px !important; }
  .qdm-projects-page-hero--hub h1 { font-size:30px !important; }
  .qdm-projects-page-hero--hub .qdm-projects-page-hero__inner > p:last-child { font-size:11.5px !important; line-height:1.52 !important; }
  .qdm-projects-hub { padding-top:38px !important; padding-bottom:42px !important; }
  .qdm-projects-hub__heading { margin-bottom:18px; }
  .qdm-projects-hub__heading h2 { font-size:28px !important; }
  .qdm-projects-hub__heading > p:last-child { font-size:11.5px !important; line-height:1.5 !important; }
  .qdm-projects-hub__grid { grid-template-columns:1fr; gap:12px; }
  .qdm-projects-hub-card { display:grid; grid-template-columns:118px minmax(0,1fr); align-items:stretch; }
  .qdm-projects-hub-card__image img { height:100%; min-height:148px; aspect-ratio:auto; }
  .qdm-projects-hub-card__body { padding:13px 13px 14px; }
  .qdm-projects-hub-card__body > span { font-size:8.2px; }
  .qdm-projects-hub-card h3 { margin:6px 0 5px !important; font-size:15px !important; }
  .qdm-projects-hub-card p { font-size:9.8px !important; line-height:1.42 !important; }
  .qdm-projects-hub-card__link { margin-top:7px; font-size:9.5px; }

  .qdm-case-article-wrap { padding-top:34px !important; padding-bottom:44px !important; }
  .qdm-case-article__back { margin-bottom:17px !important; }
  .qdm-case-article__kicker { font-size:9px !important; }
  .qdm-case-article h1 { font-size:30px !important; line-height:1.08 !important; }
  .qdm-case-article__meta { margin:11px 0 24px !important; font-size:9.7px !important; }
  .qdm-case-article h2 { margin-top:24px !important; font-size:18px !important; }
  .qdm-case-article p:not(.qdm-case-article__back):not(.qdm-case-article__kicker):not(.qdm-case-article__meta) { margin-bottom:13px; font-size:12px !important; line-height:1.68 !important; }
  .qdm-case-article__image { margin:20px 0 22px; border-radius:7px; }
}


/* V1.8.2 — desktop Projects dropdown: left-aligned under parent, menu-style panel. */
@media (min-width:1025px) {
  .qdm-header .wp-block-navigation-submenu {
    position:relative;
  }
  .qdm-header .wp-block-navigation-submenu > .wp-block-navigation__submenu-container {
    left:0 !important;
    right:auto !important;
    transform:none !important;
    margin-left:0 !important;
    margin-top:0 !important;
    min-width:272px !important;
    padding:8px 0 9px !important;
    border:0 !important;
    border-top:3px solid var(--qdm-red) !important;
    border-radius:0 0 4px 4px !important;
    background:#fff !important;
    box-shadow:0 14px 30px rgba(15,42,65,.14) !important;
  }
  .qdm-header .wp-block-navigation-submenu > .wp-block-navigation__submenu-container .wp-block-navigation-item {
    width:100%;
  }
  .qdm-header .wp-block-navigation-submenu > .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    display:block;
    width:100%;
    padding:11px 18px !important;
    color:var(--qdm-ink) !important;
    font-size:12.5px !important;
    line-height:1.35 !important;
    text-align:left;
    white-space:nowrap;
  }
  .qdm-header .wp-block-navigation-submenu > .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
  .qdm-header .wp-block-navigation-submenu > .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus {
    background:#f5f7f9 !important;
    color:var(--qdm-blue) !important;
  }
  .qdm-header .wp-block-navigation-submenu > .wp-block-navigation__submenu-container .wp-block-navigation-item:last-child {
    margin-top:5px;
    padding-top:5px;
    border-top:1px solid var(--qdm-line);
  }
  .qdm-header .wp-block-navigation-submenu > .wp-block-navigation__submenu-container .wp-block-navigation-item:last-child .wp-block-navigation-item__content {
    font-weight:800;
    color:var(--qdm-blue) !important;
  }
}


/* V1.8.3 — Projects dropdown: add breathing room below the navigation label. */
@media (min-width:1025px) {
  .qdm-header .wp-block-navigation-submenu > .wp-block-navigation__submenu-container {
    top: calc(100% + 18px) !important;
  }
  .qdm-header .wp-block-navigation-submenu > .wp-block-navigation__submenu-container::before {
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:-18px;
    height:18px;
    background:transparent;
  }
}

/* V1.9.0 — Editable Projects / Industries content library */
.qdm-dynamic-hub-card__placeholder {
  display:flex;
  width:100%;
  aspect-ratio:4/3;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#e8edf0 0%,#dce5eb 100%);
  color:var(--qdm-blue);
  font-size:13px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.qdm-content-hub-empty {
  padding:24px;
  border:1px dashed #cbd6dd;
  border-radius:9px;
  background:#fff;
  color:var(--qdm-muted);
  font-size:13px;
  line-height:1.6;
}
.qdm-case-article .wp-block-post-content { margin-top:0; }
.qdm-case-article .wp-block-post-content > :first-child { margin-top:0; }
.qdm-case-article .wp-block-post-content > .qdm-case-article__kicker:first-child { margin-top:0 !important; }
.qdm-industry-page-hero::after { opacity:.8; }

@media (max-width:560px) {
  .qdm-dynamic-hub-card__placeholder { min-height:148px; aspect-ratio:auto; font-size:10px; }
}

/* V1.9.2 — Project article process videos */
.qdm-case-video-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin:26px 0 30px;
}
.qdm-case-video-card {
  margin:0;
  min-width:0;
}
.qdm-case-video-card video {
  display:block;
  width:100%;
  aspect-ratio:9 / 16;
  object-fit:cover;
  border:1px solid var(--qdm-line);
  border-radius:8px;
  background:#0a141c;
  box-shadow:0 10px 24px rgba(16,42,64,.08);
}
.qdm-case-video-card figcaption {
  margin-top:8px;
  color:#60707d;
  font-size:11.5px;
  line-height:1.5;
}
@media (max-width:560px) {
  .qdm-case-video-grid {
    gap:9px;
    margin:20px 0 22px;
  }
  .qdm-case-video-card video {
    border-radius:7px;
  }
  .qdm-case-video-card figcaption {
    margin-top:6px;
    font-size:9.4px;
    line-height:1.4;
  }
}


/* V1.9.3 — Aluminum Housing sanitized drawing + inspection gallery */
.qdm-case-drawing {
  background:#fff;
  border:1px solid var(--qdm-line);
}
.qdm-case-drawing img {
  aspect-ratio:16 / 10 !important;
  object-fit:contain !important;
  background:#fff;
}
.qdm-case-inspection-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:26px 0 30px;
}
.qdm-case-inspection-grid figure {
  margin:0;
  min-width:0;
  overflow:hidden;
  border:1px solid var(--qdm-line);
  border-radius:8px;
  background:#eef2f4;
}
.qdm-case-inspection-grid img {
  display:block;
  width:100%;
  aspect-ratio:3 / 4;
  object-fit:cover;
}
@media (max-width:560px) {
  .qdm-case-inspection-grid {
    display:flex;
    gap:10px;
    margin:20px -2px 22px;
    overflow-x:auto;
    padding:0 2px 8px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .qdm-case-inspection-grid::-webkit-scrollbar { display:none; }
  .qdm-case-inspection-grid figure {
    flex:0 0 74%;
    scroll-snap-align:start;
    border-radius:7px;
  }
}

/* V1.9.4 — Aluminum Housing related-work carousel */
.qdm-related-products--aluminum,
.qdm-related-products--cast,
.qdm-related-products--3dp,
.qdm-related-products--a356 { display:none; }
body.qdm-page-slug-precision-aluminum-housing .qdm-related-products--aluminum,
body.qdm-page-slug-cost-optimized-cast-iron-components .qdm-related-products--cast,
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-related-products--3dp,
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-related-products--a356 {
  display:block;
  margin-top:34px;
  padding-top:28px;
  border-top:1px solid var(--qdm-line);
}
.qdm-related-products__heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:15px;
}
.qdm-related-products__kicker {
  display:block;
  margin-bottom:5px;
  color:var(--qdm-red);
  font-size:9.5px;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.qdm-related-products .qdm-related-products__heading h2 {
  margin:0 !important;
  font-size:21px !important;
  line-height:1.25 !important;
}
.qdm-related-products__controls {
  display:flex;
  flex:0 0 auto;
  gap:7px;
}
.qdm-related-products__controls button {
  display:grid;
  width:34px;
  height:34px;
  place-items:center;
  padding:0;
  border:1px solid #cbd6dd;
  border-radius:50%;
  background:#fff;
  color:var(--qdm-blue);
  font-size:17px;
  line-height:1;
  cursor:pointer;
  transition:border-color .18s ease, background .18s ease, color .18s ease;
}
.qdm-related-products__controls button:hover,
.qdm-related-products__controls button:focus-visible {
  border-color:var(--qdm-blue);
  background:var(--qdm-blue);
  color:#fff;
}
.qdm-related-products__track {
  display:flex;
  gap:12px;
  overflow-x:auto;
  padding:0 0 8px;
  scroll-behavior:smooth;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.qdm-related-products__track::-webkit-scrollbar { display:none; }
.qdm-related-products__card {
  flex:0 0 calc((100% - 24px) / 3);
  min-width:0;
  margin:0;
  overflow:hidden;
  border:1px solid var(--qdm-line);
  border-radius:8px;
  background:#eef2f4;
  scroll-snap-align:start;
}
.qdm-related-products__card img {
  display:block;
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
}

.qdm-related-products__card figcaption {
  padding:10px 12px 12px;
  color:#183247;
  font-size:13px;
  font-weight:600;
  line-height:1.35;
}
@media (max-width:700px) {
  body.qdm-page-slug-precision-aluminum-housing .qdm-related-products--aluminum,
  body.qdm-page-slug-cost-optimized-cast-iron-components .qdm-related-products--cast,
  body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-related-products--3dp,
  body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-related-products--a356 {
    margin-top:26px;
    padding-top:22px;
  }
  .qdm-related-products__heading { margin-bottom:12px; }
  .qdm-related-products .qdm-related-products__heading h2 { font-size:18px !important; }
  .qdm-related-products__kicker { font-size:8.5px; }
  .qdm-related-products__controls button { width:31px; height:31px; font-size:15px; }
  .qdm-related-products__track { gap:10px; }
  .qdm-related-products__card { flex-basis:72%; border-radius:7px; }
  .qdm-related-products__card figcaption { padding:9px 10px 11px; font-size:12px; }
}


/* V1.9.6 — Project article mobile media controls */
.qdm-case-inspection-controls {
  display:none;
}
.qdm-case-video-launch {
  display:none;
}
.qdm-video-modal {
  position:fixed;
  inset:0;
  z-index:100000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(4,12,18,.88);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
}
.qdm-video-modal.is-open { display:flex; }
.qdm-video-modal__dialog {
  position:relative;
  display:flex;
  max-width:min(90vw,430px);
  max-height:92dvh;
  align-items:center;
  justify-content:center;
}
.qdm-video-modal__video {
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  max-height:88dvh;
  border-radius:10px;
  background:#000;
  box-shadow:0 24px 70px rgba(0,0,0,.42);
}
.qdm-video-modal__close {
  position:absolute;
  z-index:2;
  top:-13px;
  right:-13px;
  display:grid;
  width:38px;
  height:38px;
  place-items:center;
  padding:0;
  border:1px solid rgba(255,255,255,.72);
  border-radius:50%;
  background:#fff;
  color:#10293c;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 8px 22px rgba(0,0,0,.24);
}
.qdm-video-modal__close:focus-visible {
  outline:2px solid #fff;
  outline-offset:3px;
}

/* Related-work controls now sit beneath the carousel instead of beside its title. */
.qdm-related-products__heading {
  align-items:flex-start;
}
.qdm-related-products__controls {
  justify-content:center;
  margin-top:11px;
}

@media (max-width:700px) {
  /* Three inspection photos: swipe remains available, with explicit tap controls. */
  .qdm-case-inspection-grid {
    margin-bottom:7px !important;
  }
  .qdm-case-inspection-controls {
    display:flex;
    justify-content:center;
    gap:8px;
    margin:0 0 22px;
  }
  .qdm-case-inspection-controls button {
    display:grid;
    width:31px;
    height:31px;
    place-items:center;
    padding:0;
    border:1px solid #cbd6dd;
    border-radius:50%;
    background:#fff;
    color:var(--qdm-blue);
    font-size:15px;
    line-height:1;
    cursor:pointer;
  }
  .qdm-case-inspection-controls button:active {
    background:var(--qdm-blue);
    color:#fff;
  }

  /* Keep the two process videos side-by-side as compact preview cards. */
  .qdm-case-video-grid {
    gap:9px;
    margin:19px 0 23px;
  }
  .qdm-case-video-card > video {
    display:none !important;
  }
  .qdm-case-video-launch {
    position:relative;
    display:block;
    width:100%;
    overflow:hidden;
    padding:0;
    border:1px solid var(--qdm-line);
    border-radius:8px;
    background:#0a141c;
    cursor:pointer;
    box-shadow:0 8px 20px rgba(16,42,64,.07);
  }
  .qdm-case-video-launch img {
    display:block;
    width:100%;
    aspect-ratio:4 / 3;
    object-fit:cover;
    object-position:center;
  }
  .qdm-case-video-launch::after {
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(to top,rgba(4,12,18,.26),rgba(4,12,18,0) 58%);
    pointer-events:none;
  }
  .qdm-case-video-launch__play {
    position:absolute;
    z-index:2;
    top:50%;
    left:50%;
    display:grid;
    width:42px;
    height:42px;
    place-items:center;
    border:1px solid rgba(255,255,255,.88);
    border-radius:50%;
    background:rgba(7,24,37,.78);
    color:#fff;
    font-size:17px;
    line-height:1;
    transform:translate(-50%,-50%);
    box-shadow:0 6px 18px rgba(0,0,0,.20);
  }
  .qdm-case-video-launch__label {
    position:absolute;
    z-index:2;
    right:8px;
    bottom:7px;
    color:#fff;
    font-size:8.5px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
  }
  .qdm-case-video-card figcaption {
    margin-top:6px;
    font-size:9.4px;
    line-height:1.4;
  }

  .qdm-related-products__heading {
    margin-bottom:11px;
  }
  .qdm-related-products__controls {
    gap:8px;
    margin-top:8px;
  }
}


/* V1.9.8 — Stainless Weldment leak-test media */
.qdm-case-video-grid--single {
  grid-template-columns:minmax(0,360px);
  justify-content:start;
}
.qdm-case-article .wp-block-post-content > h3.wp-block-heading {
  margin-top:28px;
  margin-bottom:10px;
  font-size:18px;
  line-height:1.35;
}
@media (max-width:560px) {
  .qdm-case-video-grid--single {
    grid-template-columns:minmax(0,1fr);
  }
  .qdm-case-article .wp-block-post-content > h3.wp-block-heading {
    margin-top:23px;
    font-size:17px;
  }
}


/* V1.9.9 — Cast Iron case: 3D -> 2D -> production sequence + loading plan */
.qdm-cast-rebuild-sequence figure {
  display:flex;
  flex-direction:column;
  background:#fff;
}
.qdm-cast-rebuild-sequence img {
  aspect-ratio:16 / 9;
  object-fit:cover;
  background:#f5f7f9;
}
.qdm-cast-rebuild-sequence figure:nth-child(2) img {
  object-fit:contain;
}
.qdm-cast-rebuild-sequence figcaption {
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:11px 12px 13px;
  border-top:1px solid var(--qdm-line);
  color:var(--qdm-muted);
  font-size:11px;
  line-height:1.45;
}
.qdm-cast-rebuild-sequence figcaption strong {
  color:var(--qdm-ink);
  font-size:11.5px;
}
.qdm-cast-packing-plan {
  margin:24px 0 30px;
  overflow:hidden;
  border:1px solid var(--qdm-line);
  border-radius:8px;
  background:#fff;
}
.qdm-cast-packing-plan img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16 / 10;
  object-fit:contain;
  background:#f5f7f9;
}
.qdm-cast-packing-plan figcaption {
  padding:12px 14px 14px;
  border-top:1px solid var(--qdm-line);
  color:var(--qdm-muted);
  font-size:11.5px;
  line-height:1.55;
}
.qdm-cast-packing-plan figcaption strong { color:var(--qdm-ink); }
@media (max-width:560px) {
  .qdm-cast-rebuild-sequence img { aspect-ratio:16 / 10; }
  .qdm-cast-rebuild-sequence figcaption { min-height:72px; }
  .qdm-cast-packing-plan { margin:20px 0 24px; border-radius:7px; }
  .qdm-cast-packing-plan figcaption { font-size:10.5px; }
}


/* V1.9.11 — Focused Industries hub */
.qdm-industries-v2-hero .qdm-projects-page-hero__inner { width:100%; max-width:1200px; }
.qdm-industries-v2-heading { max-width:900px; margin-bottom:30px; }
.qdm-industries-v2-heading h2,
.qdm-industries-v2-method__intro h2,
.qdm-industries-v2-cta h2 {
  margin:0 0 11px !important;
  color:var(--qdm-ink);
  font-size:38px !important;
  line-height:1.1 !important;
  letter-spacing:-.025em !important;
}
.qdm-industries-v2-heading > p:last-child,
.qdm-industries-v2-method__intro > p:last-child,
.qdm-industries-v2-cta p {
  max-width:860px;
  margin:0;
  color:var(--qdm-muted);
  font-size:14px !important;
  line-height:1.65 !important;
}
.qdm-industries-core-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.qdm-industry-focus-card {
  position:relative;
  min-height:390px;
  padding:24px 22px 22px;
  border:1px solid var(--qdm-line);
  border-top:3px solid var(--qdm-red);
  border-radius:9px;
  background:#fff;
  box-shadow:0 9px 24px rgba(15,42,65,.045);
}
.qdm-industry-focus-card__num { display:block; color:#bcc9d2; font-size:25px; font-weight:800; letter-spacing:-.03em; line-height:1; }
.qdm-industry-focus-card__label { margin:9px 0 9px !important; color:var(--qdm-red) !important; font-size:9px !important; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }
.qdm-industry-focus-card h3,
.qdm-industry-selected-oem h3 { margin:0 0 11px !important; color:var(--qdm-ink); font-size:21px !important; line-height:1.25 !important; }
.qdm-industry-focus-card > p:not(.qdm-industry-focus-card__label),
.qdm-industry-selected-oem__copy > p:not(.qdm-industry-focus-card__label) { margin:0; color:var(--qdm-muted); font-size:12.4px !important; line-height:1.62 !important; }
.qdm-industry-focus-card__products { display:flex; flex-wrap:wrap; gap:6px; margin-top:20px; padding-top:17px; border-top:1px solid var(--qdm-line); }
.qdm-industry-focus-card__products strong { flex-basis:100%; margin-bottom:2px; color:var(--qdm-blue); font-size:9.5px; letter-spacing:.09em; text-transform:uppercase; }
.qdm-industry-focus-card__products span,
.qdm-industry-selected-oem__products span { padding:6px 8px; border-radius:5px; background:#f1f5f7; color:#415766; font-size:10.5px; line-height:1.25; }
.qdm-industry-selected-oem {
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:30px;
  align-items:center;
  margin-top:14px;
  padding:22px 24px;
  border:1px solid #cfd9e0;
  border-radius:9px;
  background:#eaf0f4;
}
.qdm-industry-selected-oem__products { display:flex; flex-wrap:wrap; gap:7px; align-content:center; }
.qdm-industry-selected-oem__products span { background:#fff; border:1px solid #d6e0e6; }
.qdm-industries-v2-note { margin:17px 0 0 !important; color:#71818c !important; font-size:10.5px !important; line-height:1.55 !important; }
.qdm-industries-v2-note strong { color:var(--qdm-ink); }
.qdm-industries-v2-method { color:#d8e3ea; background:#0a141c; }
.qdm-industries-v2-method .qdm-projects-number { color:#ff777d; }
.qdm-industries-v2-method__intro { max-width:900px; margin-bottom:26px; }
.qdm-industries-v2-method__intro h2 { color:#fff; }
.qdm-industries-v2-method__intro > p:last-child { color:#b9c8d2; }
.qdm-industries-v2-method__grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; }
.qdm-industries-v2-method__grid > div { min-height:166px; padding:18px 17px; border:1px solid rgba(255,255,255,.11); border-radius:8px; background:rgba(255,255,255,.035); }
.qdm-industries-v2-method__grid span { display:block; color:#ff777d; font-size:9.5px; font-weight:800; letter-spacing:.1em; }
.qdm-industries-v2-method__grid strong { display:block; margin-top:12px; color:#fff; font-size:14px; line-height:1.35; }
.qdm-industries-v2-method__grid p { margin:8px 0 0; color:#b8c7d0; font-size:11px; line-height:1.55; }
.qdm-industries-v2-project-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.qdm-industries-v2-project-card { overflow:hidden; border:1px solid var(--qdm-line); border-radius:9px; background:#fff; box-shadow:0 8px 22px rgba(15,42,65,.045); }
.qdm-industries-v2-project-card__image { display:block; overflow:hidden; background:#e8edf0; }
.qdm-industries-v2-project-card__image img { display:block; width:100%; aspect-ratio:16/10; object-fit:cover; transition:transform .2s ease; }
.qdm-industries-v2-project-card:hover .qdm-industries-v2-project-card__image img { transform:scale(1.015); }
.qdm-industries-v2-project-card > div { padding:16px 17px 18px; }
.qdm-industries-v2-project-card span { color:var(--qdm-blue); font-size:8.9px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
.qdm-industries-v2-project-card h3 { margin:8px 0 10px !important; font-size:18px !important; line-height:1.3 !important; }
.qdm-industries-v2-project-card h3 a { color:var(--qdm-ink); text-decoration:none; }
.qdm-industries-v2-project-card__link { color:var(--qdm-blue); font-size:10.5px; font-weight:800; text-decoration:none; }
.qdm-industries-v2-project-card__link:hover { text-decoration:underline; }
.qdm-industries-v2-cta { color:#fff; background:linear-gradient(115deg,#0d3153,#174a7c); }
.qdm-industries-v2-cta .qdm-projects-number { color:#ff8a8f; }
.qdm-industries-v2-cta__inner { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:34px; align-items:center; }
.qdm-industries-v2-cta h2 { color:#fff; font-size:32px !important; }
.qdm-industries-v2-cta p { color:#d5e0e7; }
.qdm-industries-v2-cta__button { display:inline-flex; min-height:46px; align-items:center; justify-content:center; padding:0 20px; border-radius:6px; background:var(--qdm-red); color:#fff; font-size:12px; font-weight:800; text-decoration:none; box-shadow:0 10px 20px rgba(198,40,47,.2); }
.qdm-industries-v2-cta__button:hover { background:var(--qdm-red-dark); }

@media (max-width:1024px) {
  .qdm-industries-core-grid { grid-template-columns:1fr 1fr; }
  .qdm-industry-focus-card:last-child { grid-column:1 / -1; min-height:0; }
  .qdm-industries-v2-method__grid { grid-template-columns:1fr 1fr; }
  .qdm-industries-v2-project-grid { grid-template-columns:1fr 1fr; }
  .qdm-industries-v2-project-card:last-child { grid-column:1 / -1; }
}
@media (max-width:700px) {
  .qdm-industries-v2-focus,
  .qdm-industries-v2-method,
  .qdm-industries-v2-projects { padding-top:44px !important; padding-bottom:46px !important; }
  .qdm-industries-v2-heading { margin-bottom:20px; }
  .qdm-industries-v2-heading h2,
  .qdm-industries-v2-method__intro h2 { font-size:29px !important; }
  .qdm-industries-v2-heading > p:last-child,
  .qdm-industries-v2-method__intro > p:last-child { font-size:11.5px !important; line-height:1.52 !important; }
  .qdm-industries-core-grid { grid-template-columns:1fr; gap:10px; }
  .qdm-industry-focus-card,
  .qdm-industry-focus-card:last-child { grid-column:auto; min-height:0; padding:17px 16px; }
  .qdm-industry-focus-card__num { font-size:21px; }
  .qdm-industry-focus-card h3,
  .qdm-industry-selected-oem h3 { font-size:18px !important; }
  .qdm-industry-focus-card > p:not(.qdm-industry-focus-card__label),
  .qdm-industry-selected-oem__copy > p:not(.qdm-industry-focus-card__label) { font-size:11px !important; line-height:1.52 !important; }
  .qdm-industry-focus-card__products { margin-top:13px; padding-top:12px; gap:5px; }
  .qdm-industry-focus-card__products span,
  .qdm-industry-selected-oem__products span { padding:5px 7px; font-size:9.5px; }
  .qdm-industry-selected-oem { grid-template-columns:1fr; gap:14px; margin-top:10px; padding:17px 16px; }
  .qdm-industries-v2-note { font-size:9.3px !important; }
  .qdm-industries-v2-method__grid { grid-template-columns:1fr 1fr; gap:7px; }
  .qdm-industries-v2-method__grid > div { min-height:0; padding:13px 12px; }
  .qdm-industries-v2-method__grid strong { margin-top:8px; font-size:12px; }
  .qdm-industries-v2-method__grid p { margin-top:5px; font-size:9.5px; line-height:1.45; }
  .qdm-industries-v2-project-grid { grid-template-columns:1fr; gap:11px; }
  .qdm-industries-v2-project-card:last-child { grid-column:auto; }
  .qdm-industries-v2-project-card { display:grid; grid-template-columns:120px minmax(0,1fr); }
  .qdm-industries-v2-project-card__image img { height:100%; min-height:130px; aspect-ratio:auto; }
  .qdm-industries-v2-project-card > div { padding:12px; }
  .qdm-industries-v2-project-card span { font-size:7.7px; }
  .qdm-industries-v2-project-card h3 { margin:6px 0 7px !important; font-size:14px !important; }
  .qdm-industries-v2-project-card__link { font-size:9px; }
  .qdm-industries-v2-cta { padding-top:38px !important; padding-bottom:40px !important; }
  .qdm-industries-v2-cta__inner { grid-template-columns:1fr; gap:18px; }
  .qdm-industries-v2-cta h2 { font-size:27px !important; }
  .qdm-industries-v2-cta p { font-size:11.5px !important; }
  .qdm-industries-v2-cta__button { width:max-content; min-height:42px; padding:0 17px; font-size:11px; }
}
@media (max-width:430px) {
  .qdm-industries-v2-method__grid { grid-template-columns:1fr; }
  .qdm-industries-v2-project-card { grid-template-columns:108px minmax(0,1fr); }
}


/* V1.9.13 — Industries Related Projects carousel */
.qdm-industries-v2-project-carousel { margin-top:2px; }
.qdm-industries-v2-project-track {
  display:flex;
  gap:14px;
  overflow-x:auto;
  padding:0 0 8px;
  scroll-behavior:smooth;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.qdm-industries-v2-project-track::-webkit-scrollbar { display:none; }
.qdm-industries-v2-project-track .qdm-industries-v2-project-card {
  display:block;
  flex:0 0 calc((100% - 28px) / 3);
  min-width:0;
  scroll-snap-align:start;
}
.qdm-industries-v2-project-track .qdm-industries-v2-project-card__image img {
  height:auto;
  min-height:0;
  aspect-ratio:16/10;
}
.qdm-industries-v2-project-nav {
  position:relative;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  margin-top:12px;
}
.qdm-industries-v2-project-controls {
  grid-column:2;
  display:flex;
  gap:8px;
  justify-content:center;
}
.qdm-industries-v2-project-controls button {
  display:grid;
  width:34px;
  height:34px;
  place-items:center;
  padding:0;
  border:1px solid #cbd6dd;
  border-radius:50%;
  background:#fff;
  color:var(--qdm-blue);
  font-size:17px;
  line-height:1;
  cursor:pointer;
  transition:border-color .18s ease, background .18s ease, color .18s ease;
}
.qdm-industries-v2-project-controls button:hover,
.qdm-industries-v2-project-controls button:focus-visible {
  border-color:var(--qdm-blue);
  background:var(--qdm-blue);
  color:#fff;
}
.qdm-industries-v2-project-viewall {
  grid-column:3;
  justify-self:end;
  color:var(--qdm-blue);
  font-size:10.5px;
  font-weight:800;
  text-decoration:none;
}
.qdm-industries-v2-project-viewall:hover { text-decoration:underline; }

@media (max-width:1024px) {
  .qdm-industries-v2-project-track .qdm-industries-v2-project-card {
    flex-basis:calc((100% - 14px) / 2);
  }
}

@media (max-width:700px) {
  .qdm-industries-v2-project-track {
    gap:10px;
    margin-right:-24px;
    padding-right:24px;
  }
  .qdm-industries-v2-project-track .qdm-industries-v2-project-card,
  .qdm-industries-v2-project-track .qdm-industries-v2-project-card:last-child {
    display:block;
    flex:0 0 84%;
    grid-column:auto;
    grid-template-columns:none;
    border-radius:8px;
  }
  .qdm-industries-v2-project-track .qdm-industries-v2-project-card__image img {
    width:100%;
    height:auto;
    min-height:0;
    aspect-ratio:16/10;
  }
  .qdm-industries-v2-project-card > div { padding:14px 14px 16px; }
  .qdm-industries-v2-project-card span { font-size:8px; }
  .qdm-industries-v2-project-card h3 { margin:7px 0 8px !important; font-size:15px !important; }
  .qdm-industries-v2-project-card__link { font-size:9.5px; }
  .qdm-industries-v2-project-nav {
    grid-template-columns:1fr;
    gap:10px;
    margin-top:10px;
  }
  .qdm-industries-v2-project-controls { grid-column:1; }
  .qdm-industries-v2-project-controls button { width:32px; height:32px; font-size:15px; }
  .qdm-industries-v2-project-viewall { grid-column:1; justify-self:center; font-size:9.5px; }
}

/* V1.9.14 — Nickel-based superalloy turbocharger blade case study */
.qdm-process-evidence-grid figure,
.qdm-turbo-inspection-grid figure,
.qdm-turbo-final-grid figure {
  display:flex;
  flex-direction:column;
  background:#fff;
}
.qdm-process-evidence-grid img,
.qdm-turbo-inspection-grid img,
.qdm-turbo-final-grid img {
  aspect-ratio:4 / 3;
  object-fit:contain;
  background:#f5f7f9;
}
.qdm-process-evidence-grid figcaption,
.qdm-turbo-inspection-grid figcaption,
.qdm-turbo-final-grid figcaption,
.qdm-turbo-cmm figcaption {
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:11px 12px 13px;
  border-top:1px solid var(--qdm-line);
  color:var(--qdm-muted);
  font-size:11px;
  line-height:1.45;
}
.qdm-process-evidence-grid figcaption strong,
.qdm-turbo-inspection-grid figcaption strong,
.qdm-turbo-final-grid figcaption strong {
  color:var(--qdm-ink);
  font-size:11.5px;
}
.qdm-process-evidence-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.qdm-turbo-inspection-grid,
.qdm-turbo-final-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.qdm-turbo-cmm {
  overflow:hidden;
  border-radius:8px;
}
.qdm-turbo-cmm img {
  aspect-ratio:16 / 10 !important;
  object-fit:contain !important;
}
@media (max-width:560px) {
  .qdm-process-evidence-grid,
  .qdm-turbo-inspection-grid,
  .qdm-turbo-final-grid {
    display:flex;
  }
  .qdm-process-evidence-grid figure,
  .qdm-turbo-inspection-grid figure,
  .qdm-turbo-final-grid figure {
    flex:0 0 78%;
  }
  .qdm-process-evidence-grid figcaption,
  .qdm-turbo-inspection-grid figcaption,
  .qdm-turbo-final-grid figcaption,
  .qdm-turbo-cmm figcaption {
    font-size:10.2px;
  }
}


/* V1.9.15 — Turbocharger blade visual balance refinements */
body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-case-article__image:not(.qdm-turbo-cmm) {
  width:100%;
  max-width:560px;
  margin:24px auto 30px;
  background:#fff;
}
body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-case-article__image:not(.qdm-turbo-cmm) img {
  width:auto !important;
  max-width:100%;
  height:auto !important;
  max-height:500px;
  margin:0 auto;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  background:#fff;
}

@media (min-width:701px) {
  body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-process-evidence-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
  }
  body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-process-evidence-grid figure {
    min-height:0;
  }
  body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-process-evidence-grid img {
    width:100%;
    height:330px;
    aspect-ratio:auto;
    object-fit:contain;
    background:#f5f7f9;
  }
  body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-process-evidence-grid figure:nth-child(5) {
    grid-column:1 / -1;
  }
  body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-process-evidence-grid figure:nth-child(5) img {
    height:300px;
  }

  body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-case-video-grid--single {
    grid-template-columns:minmax(0,1fr);
    width:100%;
  }
  body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-case-video-grid--single .qdm-case-video-card {
    display:grid;
    grid-template-columns:minmax(230px,280px) minmax(0,1fr);
    gap:26px;
    align-items:center;
    padding:18px;
    border:1px solid var(--qdm-line);
    border-radius:9px;
    background:#f7f9fa;
  }
  body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-case-video-grid--single .qdm-case-video-card video {
    width:100%;
    aspect-ratio:9 / 16;
    border-radius:7px;
    box-shadow:none;
  }
  body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-case-video-grid--single .qdm-case-video-card figcaption {
    display:flex;
    flex-direction:column;
    gap:10px;
    margin:0;
    color:var(--qdm-muted);
    font-size:13px;
    line-height:1.65;
  }
  body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-case-video-grid--single .qdm-case-video-card figcaption strong {
    color:var(--qdm-ink);
    font-size:18px;
    line-height:1.3;
  }
}

@media (max-width:700px) {
  body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-case-article__image:not(.qdm-turbo-cmm) {
    max-width:100%;
    margin:20px auto 22px;
  }
  body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-case-article__image:not(.qdm-turbo-cmm) img {
    width:100% !important;
    max-height:none;
  }
  body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-case-video-grid--single .qdm-case-video-card figcaption strong {
    display:block;
    margin-bottom:3px;
    color:var(--qdm-ink);
    font-size:11px;
  }
}

/* V1.9.16 — Turbocharger blade editorial split layouts */
body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-background-split {
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr);
  gap:34px;
  align-items:stretch;
  margin:18px 0 34px;
}
body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-background-copy {
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:10px 0 10px 18px;
  border-left:3px solid var(--qdm-red);
}
body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-background-copy p {
  margin:0 0 14px;
}
body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-background-copy p:last-child {
  margin-bottom:0;
}
body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-background-media {
  min-height:290px;
  margin:0;
  overflow:hidden;
  border:1px solid var(--qdm-line);
  border-radius:9px;
  background:#f7f9fa;
}
body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-background-media img {
  display:block;
  width:100%;
  height:100%;
  min-height:290px;
  object-fit:contain;
  background:#fff;
}

body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-video-feature {
  display:grid;
  grid-template-columns:minmax(0,.82fr) minmax(360px,1.18fr);
  gap:34px;
  align-items:center;
  margin:30px 0 36px;
  padding:28px 0;
  border-top:1px solid var(--qdm-line);
  border-bottom:1px solid var(--qdm-line);
}
body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-video-copy {
  padding-right:6px;
}
body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-video-kicker {
  display:block;
  margin-bottom:7px;
  color:var(--qdm-red);
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-video-copy h3 {
  margin:0 0 12px !important;
  font-size:21px !important;
  line-height:1.25 !important;
}
body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-video-copy p {
  margin:0;
}
body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-video-note {
  margin-top:12px !important;
  color:var(--qdm-blue);
  font-size:12px;
  font-weight:700;
}
body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-video-card {
  margin:0;
}
body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-video-card > video {
  display:none !important;
}
body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-video-card .qdm-case-video-launch {
  position:relative;
  display:block;
  width:100%;
  overflow:hidden;
  padding:0;
  border:1px solid var(--qdm-line);
  border-radius:10px;
  background:#0a141c;
  cursor:pointer;
  box-shadow:0 14px 34px rgba(13,35,52,.11);
}
body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-video-card .qdm-case-video-launch img {
  display:block;
  width:100%;
  aspect-ratio:16 / 10;
  object-fit:cover;
  object-position:center;
}
body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-video-card .qdm-case-video-launch::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(4,12,18,.32),rgba(4,12,18,0) 56%);
  pointer-events:none;
}
body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-video-card .qdm-case-video-launch__play {
  width:54px;
  height:54px;
  font-size:19px;
}
body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-video-card .qdm-case-video-launch__label {
  right:12px;
  bottom:10px;
  font-size:10px;
}

@media (max-width:700px) {
  body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-background-split,
  body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-video-feature {
    grid-template-columns:1fr;
    gap:18px;
  }
  body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-background-copy {
    padding:0 0 0 14px;
  }
  body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-background-media,
  body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-background-media img {
    min-height:0;
  }
  body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-video-feature {
    margin:24px 0 28px;
    padding:22px 0;
  }
  body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-video-copy h3 {
    font-size:18px !important;
  }
  body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-video-card .qdm-case-video-launch img {
    aspect-ratio:4 / 3;
  }
}
body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-video-card .qdm-case-video-launch__play {
  position:absolute;
  z-index:2;
  top:50%;
  left:50%;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.9);
  border-radius:50%;
  background:rgba(7,24,37,.78);
  color:#fff;
  line-height:1;
  transform:translate(-50%,-50%);
  box-shadow:0 8px 22px rgba(0,0,0,.22);
}
body.qdm-page-slug-nickel-superalloy-turbocharger-blade .qdm-turbo-video-card .qdm-case-video-launch__label {
  position:absolute;
  z-index:2;
  right:12px;
  bottom:10px;
  color:#fff;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}


/* V1.9.24 — A356 low-pressure casting + mirror polishing case study */
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-background-split,
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-video-feature {
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(300px,.98fr);
  gap:26px;
  align-items:center;
  margin:24px 0 30px;
}
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-background-copy p:last-child,
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-video-copy p:last-child {
  margin-bottom:0;
}
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-background-media,
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-video-card,
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-final-grid figure {
  margin:0;
  overflow:hidden;
  border:1px solid var(--qdm-line);
  border-radius:9px;
  background:#fff;
  box-shadow:0 12px 28px rgba(15,42,65,.05);
}
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-background-media img {
  display:block;
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
  object-position:center;
}
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-process-grid figure,
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-inspection-grid figure,
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-final-grid figure {
  display:flex;
  flex-direction:column;
  background:#fff;
}
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-process-grid,
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-inspection-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
}
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-final-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
}
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-process-grid img,
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-inspection-grid img,
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-final-grid img {
  display:block;
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
  background:#f5f7f9;
}
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-process-grid figcaption,
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-inspection-grid figcaption,
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-final-grid figcaption {
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:11px 12px 13px;
  border-top:1px solid var(--qdm-line);
  color:var(--qdm-muted);
  font-size:11px;
  line-height:1.45;
}
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-process-grid figcaption strong,
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-inspection-grid figcaption strong,
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-final-grid figcaption strong {
  color:var(--qdm-ink);
  font-size:11.5px;
}
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-video-copy {
  min-width:0;
}
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-video-kicker {
  display:block;
  margin-bottom:6px;
  color:var(--qdm-red);
  font-size:10px;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-video-copy h3 {
  margin:0 0 10px !important;
  color:var(--qdm-ink);
  font-size:30px !important;
  line-height:1.12 !important;
}
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-video-card a {
  position:relative;
  display:block;
  overflow:hidden;
  color:inherit;
  text-decoration:none;
}
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-video-card img {
  display:block;
  width:100%;
  aspect-ratio:16 / 10;
  object-fit:cover;
}
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-video-card a::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(4,12,18,.34),rgba(4,12,18,.02) 58%);
}
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-video-play {
  position:absolute;
  z-index:2;
  top:50%;
  left:50%;
  display:grid;
  width:56px;
  height:56px;
  place-items:center;
  border:1px solid rgba(255,255,255,.92);
  border-radius:50%;
  background:rgba(7,24,37,.78);
  color:#fff;
  font-size:22px;
  line-height:1;
  transform:translate(-50%,-50%);
  box-shadow:0 8px 22px rgba(0,0,0,.22);
}
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-video-label {
  position:absolute;
  z-index:2;
  left:14px;
  bottom:12px;
  color:#fff;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
@media (max-width:700px) {
  body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-background-split,
  body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-video-feature {
    grid-template-columns:1fr;
    gap:14px;
    margin:20px 0 24px;
  }
  body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-process-grid,
  body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-inspection-grid,
  body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-final-grid {
    display:flex;
  }
  body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-process-grid figure,
  body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-inspection-grid figure,
  body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-final-grid figure {
    flex:0 0 78%;
  }
  body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-video-copy h3 {
    font-size:24px !important;
  }
  body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-video-play {
    width:46px;
    height:46px;
    font-size:18px;
  }
  body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-a356-video-label {
    font-size:9.4px;
    left:11px;
    bottom:10px;
  }
}


/* V1.9.27 — A356 case: title spacing + Toyota Australia video-reference poster */
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-case-article .wp-block-post-content > .qdm-case-article__kicker:first-child {
  margin-top:16px !important;
}
@media (max-width:560px) {
  body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-case-article .wp-block-post-content > .qdm-case-article__kicker:first-child {
    margin-top:12px !important;
  }
}

/* V1.9.28 — Repeat-production excavator pivot bushing case study */
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-background-split {
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);
  gap:26px;
  align-items:center;
  margin:24px 0 30px;
}
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-background-copy p:last-child {
  margin-bottom:0;
}
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-background-media {
  margin:0;
  overflow:hidden;
  border:1px solid var(--qdm-line);
  border-radius:9px;
  background:#fff;
  box-shadow:0 12px 28px rgba(15,42,65,.05);
}
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-background-media img {
  display:block;
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
  object-position:center 42%;
}
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-process-grid,
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-install-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-process-grid figure,
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-install-grid figure {
  display:flex;
  flex-direction:column;
  background:#fff;
}
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-process-grid img,
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-install-grid img {
  aspect-ratio:4 / 3;
  object-fit:cover;
}
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-process-grid figcaption,
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-install-grid figcaption {
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:11px 12px 13px;
  border-top:1px solid var(--qdm-line);
  color:var(--qdm-muted);
  font-size:11px;
  line-height:1.45;
}
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-process-grid figcaption strong,
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-install-grid figcaption strong {
  color:var(--qdm-ink);
  font-size:11.5px;
}
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-case-article .wp-block-post-content > .qdm-case-article__kicker:first-child {
  margin-top:16px !important;
}
@media (max-width:700px) {
  body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-background-split {
    grid-template-columns:1fr;
    gap:14px;
    margin:20px 0 24px;
  }
  body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-process-grid,
  body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-install-grid {
    display:flex;
    gap:10px;
  }
  body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-process-grid figure,
  body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-install-grid figure {
    flex:0 0 78%;
  }
}
@media (max-width:560px) {
  body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-case-article .wp-block-post-content > .qdm-case-article__kicker:first-child {
    margin-top:12px !important;
  }
}


/* V1.9.29 — public-safe two-route bushing assembly case study */
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-route-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin:18px 0 16px;
}
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-route-card {
  overflow:hidden;
  border:1px solid var(--qdm-line);
  border-radius:9px;
  background:#fff;
  box-shadow:0 10px 24px rgba(15,42,65,.045);
}
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-route-card > img {
  display:block;
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
  background:#f4f6f8;
}
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-route-card__eyebrow {
  display:block;
  color:var(--qdm-red);
  font-size:9.5px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-route-card > .qdm-bushing-route-card__eyebrow {
  padding:13px 14px 0;
}
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-route-card__body {
  padding:10px 14px 15px;
}
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-route-card__body h4,
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-converge__content h4 {
  margin:0 0 7px;
  color:var(--qdm-ink);
  font-size:18px;
  line-height:1.25;
}
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-route-card__body p,
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-converge__content p {
  margin:0;
  color:var(--qdm-muted);
  font-size:12.5px;
  line-height:1.62;
}
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-converge {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 260px;
  gap:20px;
  align-items:center;
  margin:28px 0 34px;
  padding:20px;
  border:1px solid var(--qdm-line);
  border-top:3px solid var(--qdm-red);
  border-radius:9px;
  background:#f8fafc;
}
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-converge__arrow {
  position:absolute;
  top:-31px;
  left:50%;
  display:grid;
  width:34px;
  height:34px;
  place-items:center;
  border:1px solid var(--qdm-line);
  border-radius:50%;
  background:#fff;
  color:var(--qdm-blue);
  font-size:18px;
  font-weight:800;
  transform:translateX(-50%);
}
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-converge figure {
  margin:0;
  overflow:hidden;
  border-radius:7px;
}
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-converge figure img {
  display:block;
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
}
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-process-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
}
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-install-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
}
@media (max-width:700px) {
  body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-route-grid {
    grid-template-columns:1fr;
    gap:14px;
  }
  body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-converge {
    grid-template-columns:1fr;
    gap:14px;
    margin-top:30px;
    padding:16px;
  }
  body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-converge figure {
    order:-1;
  }
  body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-process-grid,
  body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-install-grid {
    display:flex;
  }
  body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-process-grid figure,
  body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-install-grid figure {
    flex:0 0 78%;
  }
}


/* V1.9.30 — high-volume powder-coated aluminum cabinet hardware case study */
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-background-split {
  display:grid;
  grid-template-columns:minmax(0,1.04fr) minmax(300px,.96fr);
  gap:26px;
  align-items:center;
  margin:24px 0 30px;
}
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-background-copy p:last-child {
  margin-bottom:0;
}
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-background-media,
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-packout {
  margin:0;
  overflow:hidden;
  border:1px solid var(--qdm-line);
  border-radius:9px;
  background:#fff;
  box-shadow:0 12px 28px rgba(15,42,65,.05);
}
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-background-media img {
  display:block;
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
}
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-process-steps {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:17px 0 30px;
}
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-process-steps article {
  padding:16px 16px 17px;
  border:1px solid var(--qdm-line);
  border-top:3px solid var(--qdm-blue);
  border-radius:8px;
  background:#fff;
  box-shadow:0 8px 20px rgba(15,42,65,.035);
}
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-process-steps article span {
  display:block;
  margin-bottom:5px;
  color:var(--qdm-red);
  font-size:9.5px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-process-steps article h4 {
  margin:0 0 7px;
  color:var(--qdm-ink);
  font-size:16px;
  line-height:1.28;
}
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-process-steps article p {
  margin:0;
  color:var(--qdm-muted);
  font-size:12px;
  line-height:1.55;
}
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-quality-grid,
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-finish-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-quality-grid figure,
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-finish-grid figure {
  display:flex;
  flex-direction:column;
  background:#fff;
}
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-quality-grid img,
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-finish-grid img {
  display:block;
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
  background:#f5f7f9;
}
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-quality-grid figcaption,
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-finish-grid figcaption,
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-packout figcaption {
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:11px 12px 13px;
  border-top:1px solid var(--qdm-line);
  color:var(--qdm-muted);
  font-size:11px;
  line-height:1.45;
}
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-quality-grid figcaption strong,
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-finish-grid figcaption strong,
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-packout figcaption strong {
  color:var(--qdm-ink);
  font-size:11.5px;
}
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-quality-grid figure:first-child img {
  object-position:center 58%;
}
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-packout {
  max-width:520px;
  margin:22px auto 8px;
}
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-packout img {
  display:block;
  width:100%;
  height:auto;
}
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-case-article .wp-block-post-content > .qdm-case-article__kicker:first-child {
  margin-top:16px !important;
}
@media (max-width:700px) {
  body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-background-split {
    grid-template-columns:1fr;
    gap:14px;
    margin:20px 0 24px;
  }
  body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-process-steps {
    display:flex;
    gap:10px;
    overflow-x:auto;
    padding:2px 2px 8px;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }
  body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-process-steps::-webkit-scrollbar { display:none; }
  body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-process-steps article {
    flex:0 0 78%;
    scroll-snap-align:start;
  }
  body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-quality-grid,
  body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-finish-grid {
    display:flex;
    gap:10px;
  }
  body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-quality-grid figure,
  body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-finish-grid figure {
    flex:0 0 78%;
  }
}
@media (max-width:560px) {
  body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-case-article .wp-block-post-content > .qdm-case-article__kicker:first-child {
    margin-top:12px !important;
  }
}

/* V1.9.31 — UV durability verification callout for cabinet-hardware case */
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-uv-note {
  margin: 18px 0 34px;
  padding: 24px 26px;
  border: 1px solid var(--qdm-line);
  border-left: 4px solid var(--qdm-red);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff 0%, #f7fafc 100%);
}
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-uv-note__eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--qdm-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-uv-note h4 {
  margin: 0 0 9px;
  color: var(--qdm-ink);
  font-size: 20px;
  line-height: 1.3;
}
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-uv-note p {
  margin: 0 0 10px;
}
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-uv-note p:last-child {
  margin-bottom: 0;
}
@media (max-width: 600px) {
  body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-uv-note {
    margin: 14px 0 28px;
    padding: 19px 18px;
  }
  body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-uv-note h4 {
    font-size: 18px;
  }
}


/* V1.9.32 — cabinet-hardware Result copy + packout image split */
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-result-split {
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(280px,.88fr);
  gap:34px;
  align-items:start;
  margin:30px 0 10px;
  padding-top:2px;
}
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-result-copy h2 {
  margin:0 0 12px;
  color:var(--qdm-ink);
}
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-result-copy p {
  margin:0 0 16px;
}
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-result-copy p:last-child {
  margin-bottom:0;
}
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-result-split .qdm-cabinet-packout {
  width:100%;
  max-width:360px;
  margin:0 0 0 auto;
}
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-result-split .qdm-cabinet-packout img {
  width:100%;
  aspect-ratio:390 / 500;
  object-fit:cover;
}
@media (max-width:700px) {
  body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-result-split {
    grid-template-columns:1fr;
    gap:18px;
    margin:26px 0 8px;
  }
  body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-result-split .qdm-cabinet-packout {
    max-width:100%;
    margin:0;
  }
  body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-result-split .qdm-cabinet-packout img {
    aspect-ratio:auto;
  }
}


/* V1.9.33 — small-batch agricultural fan-drive pulley case study */
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-background-split {
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(280px,.92fr);
  gap:30px;
  align-items:center;
  margin:4px 0 8px;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-background-copy p:last-child {
  margin-bottom:0;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-background-media {
  margin:0;
  overflow:hidden;
  border:1px solid var(--qdm-line);
  border-radius:9px;
  background:#eef2f4;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-background-media img {
  display:block;
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-schematic {
  margin:22px 0 30px;
  padding:20px 22px 15px;
  border:1px solid var(--qdm-line);
  border-radius:10px;
  background:#f6f8fa;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-schematic__label {
  margin-bottom:6px;
  color:var(--qdm-blue);
  font-size:10px;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-schematic svg {
  display:block;
  width:100%;
  height:auto;
  max-height:320px;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-schematic__belt {
  fill:none;
  stroke:#8a9aa7;
  stroke-width:10;
  stroke-linecap:round;
  stroke-linejoin:round;
  opacity:.78;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-schematic__wheel {
  fill:#fff;
  stroke:#174a7c;
  stroke-width:6;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-schematic__wheel--large {
  stroke-width:8;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-schematic__hub {
  fill:#dfe7ed;
  stroke:#174a7c;
  stroke-width:4;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-schematic text {
  fill:#465a69;
  font:700 18px -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-schematic p {
  margin:3px 0 0 !important;
  text-align:center;
  color:#71808c !important;
  font-size:11px !important;
  line-height:1.5 !important;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-process-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin:24px 0 30px;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-process-grid article {
  min-width:0;
  overflow:hidden;
  border:1px solid var(--qdm-line);
  border-radius:9px;
  background:#fff;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-process-grid article img {
  display:block;
  width:100%;
  aspect-ratio:16 / 10;
  object-fit:cover;
  background:#eef2f4;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-process-grid article:first-child img {
  object-position:center 49%;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-process-grid article > div {
  padding:15px 16px 16px;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-process-grid article span,
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-video-copy > span,
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-result-copy__eyebrow {
  display:block;
  margin-bottom:5px;
  color:var(--qdm-red);
  font-size:9px;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-process-grid article h4 {
  margin:0 0 7px;
  color:var(--qdm-ink);
  font-size:16px;
  line-height:1.3;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-process-grid article p {
  margin:0 !important;
  font-size:12.5px !important;
  line-height:1.62 !important;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-video-feature {
  display:grid;
  grid-template-columns:minmax(220px,.78fr) minmax(0,1.22fr);
  gap:28px;
  align-items:center;
  margin:22px 0 31px;
  padding:18px;
  border:1px solid var(--qdm-line);
  border-radius:10px;
  background:#f6f8fa;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-video-card {
  margin:0;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-video-card video {
  display:block;
  width:min(100%,270px);
  margin:0 auto;
  aspect-ratio:9 / 16;
  object-fit:cover;
  border:1px solid #cfd9e0;
  border-radius:8px;
  background:#0a141c;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-video-card figcaption {
  max-width:270px;
  margin:7px auto 0;
  color:#60707d;
  font-size:10.5px;
  line-height:1.45;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-video-copy h4 {
  margin:0 0 10px;
  color:var(--qdm-ink);
  font-size:20px;
  line-height:1.34;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-video-copy p {
  margin-bottom:12px !important;
  font-size:13px !important;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-video-copy ul {
  margin:0;
  padding-left:19px;
  color:#465a69;
  font-size:12.5px;
  line-height:1.62;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-video-copy li + li {
  margin-top:5px;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-finished-grid img {
  aspect-ratio:1 / 1;
  object-fit:cover;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-finished-grid figcaption {
  padding:10px 11px 12px;
  color:#60707d;
  font-size:10px;
  line-height:1.45;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-finished-grid figcaption strong {
  display:block;
  margin-bottom:3px;
  color:var(--qdm-ink);
  font-size:11px;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-finished-grid figcaption span {
  display:block;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-result-split {
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(250px,.85fr);
  gap:28px;
  align-items:center;
  margin:35px 0 8px;
  padding-top:30px;
  border-top:1px solid var(--qdm-line);
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-result-copy h2 {
  margin:0 0 12px !important;
  font-size:24px !important;
  line-height:1.25 !important;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-result-copy p:last-child {
  margin-bottom:0 !important;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-result-media {
  margin:0;
  overflow:hidden;
  border:1px solid var(--qdm-line);
  border-radius:9px;
  background:#eef2f4;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-result-media img {
  display:block;
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-result-media figcaption {
  padding:9px 11px 11px;
  color:#60707d;
  font-size:10px;
  line-height:1.45;
}

@media (max-width:700px) {
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-background-split,
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-video-feature,
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-result-split {
    grid-template-columns:1fr;
    gap:16px;
  }
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-background-media img {
    aspect-ratio:4 / 3;
  }
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-schematic {
    margin:17px 0 23px;
    padding:14px 10px 11px;
    overflow:hidden;
  }
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-schematic svg {
    width:118%;
    max-width:none;
    margin-left:-9%;
  }
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-schematic text {
    font-size:16px;
  }
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-schematic p {
    font-size:9.2px !important;
  }
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-process-grid {
    display:flex;
    gap:10px;
    margin:18px -2px 7px;
    overflow-x:auto;
    padding:0 2px 8px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-process-grid::-webkit-scrollbar { display:none; }
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-process-grid article {
    flex:0 0 80%;
    scroll-snap-align:start;
    border-radius:7px;
  }
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-process-grid article > div {
    padding:12px 13px 13px;
  }
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-process-grid article h4 {
    font-size:14px;
  }
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-process-grid article p {
    font-size:11px !important;
  }
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-video-feature {
    margin:18px 0 24px;
    padding:13px;
  }
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-video-card .qdm-case-video-launch {
    width:min(100%,300px);
    margin:0 auto;
  }
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-video-card figcaption {
    max-width:300px;
    font-size:9.2px;
  }
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-video-copy h4 {
    font-size:17px;
  }
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-video-copy p,
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-video-copy ul {
    font-size:11px !important;
  }
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-result-split {
    margin-top:27px;
    padding-top:24px;
  }
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-result-copy h2 {
    font-size:19px !important;
  }
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-result-media img {
    aspect-ratio:4 / 3;
  }
}


/* V1.9.34 — fan-drive reference image and simplified Result block */
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-schematic--reference {
  padding:14px 14px 12px;
  background:#fff;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-schematic--reference img {
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-schematic--reference figcaption {
  margin-top:9px;
  text-align:center;
  color:#71808c;
  font-size:10.5px;
  line-height:1.5;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-result-solo {
  grid-template-columns:1fr;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-result-solo .qdm-fan-result-copy {
  max-width:780px;
}
@media (max-width:700px) {
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-schematic--reference {
    padding:8px 8px 10px;
  }
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-schematic--reference img {
    width:100%;
    max-width:100%;
    margin:0;
  }
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-schematic--reference figcaption {
    font-size:9.2px;
  }
}


/* V1.9.35 — fan-drive case copy refinement: one concise disclosure only */


/* V1.9.37 — fan-drive application context and engine reference caption */
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-background-media figcaption {
  padding:9px 11px 10px;
  border-top:1px solid var(--qdm-line);
  color:var(--qdm-muted);
  font-size:10.5px;
  line-height:1.45;
  background:#fff;
}
@media (max-width:700px) {
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-background-media figcaption {
    font-size:9.5px;
  }
}


/* V1.9.38 — fan-drive visual cleanup: larger engine reference, full Step 3 image, remove repeated finished gallery */
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-background-media img {
  aspect-ratio:1 / 1;
  object-fit:cover;
  object-position:center center;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-process-grid article:nth-child(3) img {
  object-fit:contain;
  padding:18px 28px;
  box-sizing:border-box;
  background:#eef2f4;
}
@media (max-width:700px) {
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-background-media img {
    aspect-ratio:4 / 3;
    object-fit:cover;
  }
  body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-process-grid article:nth-child(3) img {
    padding:12px 18px;
  }
}


/* V1.9.42 — hydraulic cylinder component-family case study */
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-background-split,
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-result {
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr);
  gap:24px;
  align-items:start;
  margin:10px 0 8px;
}
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-background-media,
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-result__media {
  margin:0;
  overflow:hidden;
  border:1px solid var(--qdm-line);
  border-radius:10px;
  background:#eef2f4;
  box-shadow:0 8px 24px rgba(15,42,65,.05);
}
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-background-media img,
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-result__media img {
  display:block;
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
}
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-background-media figcaption,
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-result__media figcaption {
  padding:9px 12px 11px;
  color:#60707d;
  font-size:11.1px;
  line-height:1.5;
}
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-process-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin:6px 0 4px;
}
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-process-grid article {
  overflow:hidden;
  border:1px solid var(--qdm-line);
  border-radius:9px;
  background:#f7f9fb;
  box-shadow:0 8px 22px rgba(15,42,65,.045);
}
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-process-grid article img {
  display:block;
  width:100%;
  aspect-ratio:16 / 10;
  object-fit:cover;
}
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-process-grid article > div {
  padding:14px 16px 16px;
}
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-process-grid article span,
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-result__eyebrow {
  display:inline-block;
  margin:0 0 7px;
  color:var(--qdm-red);
  font-size:10px;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-process-grid article h4,
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-component-grid h4,
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-result h2 {
  margin:0 0 9px !important;
  color:var(--qdm-ink);
}
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-process-grid article p,
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-component-grid p,
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-result p {
  margin:0;
  color:#516676;
  font-size:13.8px !important;
  line-height:1.68 !important;
}
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-evidence-grid {
  margin-top:8px;
}
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-component-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin:4px 0 8px;
}
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-component-grid article {
  padding:18px 18px 17px;
  border:1px solid var(--qdm-line);
  border-radius:9px;
  background:#fff;
  box-shadow:0 7px 20px rgba(15,42,65,.04);
}
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-result__copy {
  align-self:center;
}
@media (max-width:700px) {
  body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-background-split,
  body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-result,
  body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-process-grid,
  body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-component-grid {
    grid-template-columns:minmax(0,1fr);
  }
  body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-process-grid {
    overflow-x:auto;
    display:flex;
    gap:12px;
    scroll-snap-type:x proximity;
    padding-bottom:2px;
  }
  body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-process-grid::-webkit-scrollbar { display:none; }
  body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-process-grid article {
    min-width:260px;
    flex:0 0 260px;
    scroll-snap-align:start;
  }
  body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-component-grid article {
    padding:15px 15px 14px;
  }
  body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-background-media figcaption,
  body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-result__media figcaption {
    font-size:9.7px;
  }
}


/* V1.9.44 — hydraulic cylinder case: spacing, leaner layout, cleaner machining image */
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-case-article .wp-block-post-content > .qdm-case-article__kicker:first-child {
  margin-top:18px !important;
}
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-process-grid__machining img {
  object-position:50% 100% !important;
}
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-result--text {
  display:block;
  margin-top:26px;
  padding-top:24px;
  border-top:1px solid var(--qdm-line);
}
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-result--text .qdm-hydraulic-result__copy {
  max-width:760px;
}
@media (max-width:560px) {
  body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-case-article .wp-block-post-content > .qdm-case-article__kicker:first-child {
    margin-top:13px !important;
  }
}


/* V1.9.45 — hydraulic cylinder case: wrapped Background, corrected tooling orientation, centered machining crop */
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-background-split {
  display:flow-root;
  margin:10px 0 8px;
}
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-background-media {
  float:right;
  width:44%;
  margin:0 0 14px 24px;
}
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-background-copy > p:first-child {
  margin-top:0;
}
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-background-copy > p:last-child {
  margin-bottom:0;
}
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-process-grid__machining img {
  object-position:50% 50% !important;
}
@media (max-width:700px) {
  body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-background-media {
    float:none;
    width:100%;
    margin:0 0 18px;
  }
}

/* V1.9.47 — large-format 3D printer frame / cladding / CNC components case */
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-case-article .wp-block-post-content > .qdm-case-article__kicker:first-child {
  margin-top:18px !important;
}
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-background {
  display:flow-root;
  margin:10px 0 10px;
}
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-background__media {
  float:right;
  width:43%;
  margin:0 0 14px 24px;
  overflow:hidden;
  border:1px solid var(--qdm-line);
  border-radius:9px;
  background:#fff;
  box-shadow:0 12px 28px rgba(15,42,65,.05);
}
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-background__media img {
  display:block;
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
  object-position:50% 45%;
}
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-background__media figcaption,
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__media figcaption {
  padding:9px 11px 10px;
  color:var(--qdm-muted);
  font-size:10.5px;
  line-height:1.45;
  background:#f7f9fb;
}
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-background__copy > p:first-child { margin-top:0; }
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-background__copy > p:last-child { margin-bottom:0; }

body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-scope-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:20px 0 31px;
}
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-scope-grid article {
  padding:18px 18px 17px;
  border:1px solid var(--qdm-line);
  border-radius:9px;
  background:#fff;
  box-shadow:0 10px 24px rgba(15,42,65,.04);
}
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-scope-grid article > span,
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__copy > span,
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-result__eyebrow {
  display:block;
  margin-bottom:7px;
  color:var(--qdm-red);
  font-size:10px;
  font-weight:800;
  letter-spacing:.13em;
  line-height:1.35;
  text-transform:uppercase;
}
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-scope-grid h3 {
  margin:0 0 7px;
  font-size:17px;
  line-height:1.2;
}
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-scope-grid p {
  margin:0;
  color:#536674;
  font-size:13.2px;
  line-height:1.6;
}

body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence {
  display:grid;
  gap:22px;
  margin:20px 0 32px;
}
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__item {
  display:grid;
  grid-template-columns:minmax(0,.74fr) minmax(0,1.26fr);
  gap:20px;
  align-items:center;
  padding:20px;
  border:1px solid var(--qdm-line);
  border-radius:10px;
  background:#fff;
  box-shadow:0 12px 28px rgba(15,42,65,.045);
}
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__item--reverse {
  grid-template-columns:minmax(0,1.26fr) minmax(0,.74fr);
}
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__item--reverse .qdm-printer-evidence__copy { order:2; }
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__item--reverse .qdm-printer-evidence__media { order:1; }
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__copy h3 {
  margin:0 0 9px;
  font-size:19px;
  line-height:1.22;
}
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__copy p {
  margin:0;
  color:#485d6c;
  font-size:14px;
  line-height:1.66;
}
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__media {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  min-width:0;
}
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__media--three figure:first-child {
  grid-column:1 / -1;
}
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__media--single {
  grid-template-columns:minmax(0,1fr);
}
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__media figure {
  margin:0;
  overflow:hidden;
  border:1px solid var(--qdm-line);
  border-radius:8px;
  background:#f7f9fb;
}
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__media img {
  display:block;
  width:100%;
  height:168px;
  object-fit:cover;
}
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__media--three figure:first-child img {
  height:205px;
}
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__media--single img {
  height:310px;
  object-position:center;
}
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__item:nth-child(1) .qdm-printer-evidence__media figure:first-child img {
  object-position:50% 35%;
}
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__item:nth-child(2) .qdm-printer-evidence__media figure:first-child img {
  object-position:center;
}
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__item:nth-child(4) .qdm-printer-evidence__media figure:first-child img {
  object-position:50% 42%;
}

body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-result {
  margin:30px 0 4px;
  padding:25px 26px 23px;
  border-top:1px solid var(--qdm-line);
  border-bottom:1px solid var(--qdm-line);
  background:#f7f9fb;
}
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-result h2 {
  margin:0 0 10px;
  font-size:24px;
  line-height:1.2;
}
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-result p:last-child { margin-bottom:0; }

@media (max-width:700px) {
  body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-background__media {
    float:none;
    width:100%;
    margin:0 0 18px;
  }
  body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-scope-grid {
    grid-template-columns:minmax(0,1fr);
    gap:10px;
    margin-top:17px;
  }
  body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__item,
  body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__item--reverse {
    grid-template-columns:minmax(0,1fr);
    gap:15px;
    padding:14px;
  }
  body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__item--reverse .qdm-printer-evidence__copy,
  body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__item--reverse .qdm-printer-evidence__media {
    order:initial;
  }
  body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__media {
    gap:7px;
  }
  body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__media img,
  body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__media--three figure:first-child img {
    height:170px;
  }
  body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__media--single img {
    height:225px;
  }
  body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__media figcaption {
    padding:7px 8px 8px;
    font-size:9.5px;
  }
  body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-result {
    padding:21px 18px 19px;
  }
  body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-result h2 {
    font-size:21px;
  }
}

@media (max-width:560px) {
  body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-case-article .wp-block-post-content > .qdm-case-article__kicker:first-child {
    margin-top:13px !important;
  }
  body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__media,
  body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__media--three {
    grid-template-columns:minmax(0,1fr);
  }
  body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__media--three figure:first-child {
    grid-column:auto;
  }
  body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__media img,
  body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__media--three figure:first-child img {
    height:220px;
  }
}


/* V1.9.51 — A356 case related products */
body.qdm-page-slug-low-pressure-cast-a356-aluminum-exterior-component .qdm-related-products--a356 .qdm-related-products__card figcaption {
  text-transform: uppercase;
}


/* V1.9.54 — Swiss-type CNC machining product-family showcase */
body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-case-article .wp-block-post-content > .qdm-case-article__kicker:first-child {
  margin-top:18px !important;
}
body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-intro {
  display:grid;
  grid-template-columns:minmax(0,1.22fr) minmax(260px,.78fr);
  gap:26px;
  align-items:start;
  margin:12px 0 34px;
  padding:25px 26px;
  border:1px solid var(--qdm-line);
  border-radius:10px;
  background:#f7f9fb;
}
body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-eyebrow,
body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-summary > span {
  display:block;
  margin-bottom:8px;
  color:var(--qdm-red);
  font-size:10px;
  font-weight:800;
  letter-spacing:.13em;
  line-height:1.35;
  text-transform:uppercase;
}
body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-intro__copy h2,
body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-summary h2 {
  margin:0 0 12px;
  font-size:25px;
  line-height:1.2;
}
body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-intro__copy p:last-child {
  margin-bottom:0;
}
body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-intro__specs {
  display:grid;
  gap:9px;
}
body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-intro__specs > div {
  padding:14px 15px;
  border:1px solid var(--qdm-line);
  border-radius:8px;
  background:#fff;
}
body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-intro__specs span {
  display:block;
  margin-bottom:4px;
  color:var(--qdm-muted);
  font-size:9.5px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-intro__specs strong {
  display:block;
  color:var(--qdm-blue);
  font-size:13px;
  line-height:1.45;
}

body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-products {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin:20px 0 38px;
}
body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-products__card {
  margin:0;
  overflow:hidden;
  border:1px solid var(--qdm-line);
  border-radius:9px;
  background:#fff;
  box-shadow:0 10px 24px rgba(15,42,65,.04);
}
body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-products__image {
  overflow:hidden;
  background:#eceae4;
}
body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-products__image img {
  display:block;
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
  transition:transform .25s ease;
}
body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-products__card:hover img {
  transform:scale(1.025);
}
body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-products__card figcaption {
  padding:12px 13px 13px;
  color:var(--qdm-blue);
  font-size:12.5px;
  font-weight:800;
  letter-spacing:.035em;
  line-height:1.35;
  text-align:center;
}

body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-advantages {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:20px 0 36px;
}
body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-advantages article {
  padding:19px 20px 18px;
  border:1px solid var(--qdm-line);
  border-radius:9px;
  background:#fff;
}
body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-advantages article > span {
  display:block;
  margin-bottom:8px;
  color:var(--qdm-red);
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
}
body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-advantages h3 {
  margin:0 0 7px;
  font-size:17px;
  line-height:1.25;
}
body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-advantages p {
  margin:0;
  color:#526675;
  font-size:13.2px !important;
  line-height:1.62 !important;
}

body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-summary {
  margin:8px 0 4px;
  padding:25px 26px 23px;
  border-top:1px solid var(--qdm-line);
  border-bottom:1px solid var(--qdm-line);
  background:#f7f9fb;
}
body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-summary p:last-child {
  margin-bottom:0;
}

@media (max-width:700px) {
  body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-intro {
    grid-template-columns:minmax(0,1fr);
    gap:17px;
    margin-top:9px;
    padding:17px 16px;
  }
  body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-intro__copy h2,
  body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-summary h2 {
    font-size:20px;
  }
  body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-products {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
    margin:17px 0 30px;
  }
  body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-products__card figcaption {
    padding:9px 8px 10px;
    font-size:10.5px;
  }
  body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-advantages {
    grid-template-columns:minmax(0,1fr);
    gap:9px;
    margin:17px 0 29px;
  }
  body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-advantages article {
    padding:15px 16px 14px;
  }
  body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-summary {
    padding:19px 17px 18px;
  }
}
@media (max-width:420px) {
  body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-products {
    grid-template-columns:minmax(0,1fr);
  }
}


/* V1.9.56 — Industries hub completion and Industry detail pages */
.qdm-industry-focus-card,
.qdm-industry-selected-oem {
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.qdm-industry-focus-card__hit {
  position:absolute;
  inset:0;
  z-index:5;
  border-radius:inherit;
}
.qdm-industry-focus-card:hover,
.qdm-industry-focus-card:focus-within {
  transform:translateY(-4px);
  border-color:#c6d3dc;
  box-shadow:0 15px 34px rgba(15,42,65,.09);
}
.qdm-industry-selected-oem {
  position:relative;
}
.qdm-industry-selected-oem:hover,
.qdm-industry-selected-oem:focus-within {
  transform:translateY(-3px);
  border-color:#bdccd6;
  box-shadow:0 14px 30px rgba(15,42,65,.08);
}
.qdm-industry-focus-card:focus-within,
.qdm-industry-selected-oem:focus-within {
  outline:2px solid rgba(23,74,124,.32);
  outline-offset:3px;
}
.qdm-industry-focus-card__explore {
  display:inline-flex;
  align-items:center;
  margin-top:17px;
  color:var(--qdm-blue);
  font-size:10.5px;
  font-weight:800;
  letter-spacing:.01em;
  transition:transform .18s ease, color .18s ease;
}
.qdm-industry-focus-card:hover .qdm-industry-focus-card__explore,
.qdm-industry-selected-oem:hover .qdm-industry-focus-card__explore {
  transform:translateX(3px);
  color:var(--qdm-red);
}

/* Homepage industry cards now link to the finished Industry pages. */
body.home .qdm-industry-card h3 a {
  color:inherit;
  text-decoration:none;
}
body.home .qdm-industry-card h3 a:hover,
body.home .qdm-industry-card h3 a:focus-visible {
  color:var(--qdm-blue);
}
body.home .qdm-industry-card {
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
body.home .qdm-industry-card:hover {
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(15,42,65,.07);
}

/* Concise Industry detail pages */
.qdm-industry-article-wrap .qdm-case-article {
  max-width:900px;
}
.qdm-industry-detail-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin:26px 0 32px;
}
.qdm-industry-detail-grid > section {
  padding:20px 20px 19px;
  border:1px solid var(--qdm-line);
  border-radius:9px;
  background:#f7f9fb;
}
.qdm-industry-detail-grid__label {
  display:block;
  margin-bottom:12px;
  color:var(--qdm-red);
  font-size:9.5px;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.qdm-industry-detail-tags,
.qdm-industry-detail-links {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.qdm-industry-detail-tags span,
.qdm-industry-detail-links a {
  display:inline-flex;
  padding:6px 8px;
  border:1px solid #d6e0e6;
  border-radius:5px;
  background:#fff;
  color:#415766;
  font-size:10.5px;
  line-height:1.3;
  text-decoration:none;
}
.qdm-industry-detail-links a {
  color:var(--qdm-blue);
  font-weight:700;
}
.qdm-industry-detail-links a:hover {
  border-color:#b6c8d5;
  background:#f2f6f8;
}
.qdm-industry-evidence-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px;
  margin:19px 0 30px;
}
.qdm-industry-evidence-card {
  overflow:hidden;
  border:1px solid var(--qdm-line);
  border-radius:9px;
  background:#fff;
  box-shadow:0 8px 22px rgba(15,42,65,.045);
}
.qdm-industry-evidence-card__image {
  display:block;
  overflow:hidden;
  background:#e8edf0;
}
.qdm-industry-evidence-card__image img {
  display:block;
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  transition:transform .2s ease;
}
.qdm-industry-evidence-card:hover .qdm-industry-evidence-card__image img {
  transform:scale(1.018);
}
.qdm-industry-evidence-card > div {
  padding:14px 15px 16px;
}
.qdm-industry-evidence-card span {
  color:var(--qdm-blue);
  font-size:8.7px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.qdm-industry-evidence-card h3 {
  margin:7px 0 9px !important;
  font-size:16px !important;
  line-height:1.3 !important;
}
.qdm-industry-evidence-card h3 a {
  color:var(--qdm-ink);
  text-decoration:none;
}
.qdm-industry-evidence-card__link {
  color:var(--qdm-blue);
  font-size:9.8px;
  font-weight:800;
  text-decoration:none;
}
.qdm-industry-evidence-card__link:hover {
  text-decoration:underline;
}
.qdm-industry-detail-note {
  margin:8px 0 28px;
  border-top:1px solid var(--qdm-line);
  border-bottom:1px solid var(--qdm-line);
  background:transparent;
}
.qdm-industry-detail-note summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 2px;
  color:#61727e;
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  cursor:pointer;
  list-style:none;
}
.qdm-industry-detail-note summary::-webkit-details-marker {
  display:none;
}
.qdm-industry-detail-note summary::marker {
  content:"";
}
.qdm-industry-detail-note__icon {
  position:relative;
  flex:0 0 18px;
  width:18px;
  height:18px;
  border:1px solid #c8d4dc;
  border-radius:50%;
}
.qdm-industry-detail-note__icon::before,
.qdm-industry-detail-note__icon::after {
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:8px;
  height:1px;
  background:#61727e;
  transform:translate(-50%,-50%);
}
.qdm-industry-detail-note__icon::after {
  transform:translate(-50%,-50%) rotate(90deg);
  transition:opacity .18s ease;
}
.qdm-industry-detail-note[open] .qdm-industry-detail-note__icon::after {
  opacity:0;
}
.qdm-industry-detail-note__content {
  padding:0 2px 13px;
}
.qdm-case-article .qdm-industry-detail-note__content p {
  margin:0 !important;
  color:#61727e !important;
  font-size:11.5px !important;
  line-height:1.55 !important;
}
.qdm-industry-detail-cta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  margin:0 0 6px;
  padding:19px 20px;
  border-radius:9px;
  background:linear-gradient(115deg,#0d3153,#174a7c);
}
.qdm-industry-detail-cta div span {
  display:block;
  margin-bottom:4px;
  color:#ff8a8f;
  font-size:9px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.qdm-industry-detail-cta div strong {
  display:block;
  color:#fff;
  font-size:17px;
  line-height:1.3;
}
.qdm-industry-detail-cta > a {
  flex:0 0 auto;
  display:inline-flex;
  min-height:38px;
  align-items:center;
  justify-content:center;
  padding:0 14px;
  border-radius:5px;
  background:var(--qdm-red);
  color:#fff;
  font-size:10px;
  font-weight:800;
  text-decoration:none;
}
.qdm-industry-detail-cta > a:hover {
  background:var(--qdm-red-dark);
}

@media (max-width:700px) {
  .qdm-industry-focus-card__explore {
    margin-top:13px;
    font-size:9.5px;
  }
  .qdm-industry-detail-grid,
  .qdm-industry-evidence-grid {
    grid-template-columns:1fr;
    gap:10px;
  }
  .qdm-industry-detail-grid {
    margin:20px 0 26px;
  }
  .qdm-industry-detail-grid > section {
    padding:15px 15px 14px;
  }
  .qdm-industry-detail-tags span,
  .qdm-industry-detail-links a {
    font-size:9.4px;
  }
  .qdm-industry-evidence-card {
    display:grid;
    grid-template-columns:118px minmax(0,1fr);
  }
  .qdm-industry-evidence-card__image img {
    height:100%;
    min-height:122px;
    aspect-ratio:auto;
  }
  .qdm-industry-evidence-card > div {
    padding:11px 12px;
  }
  .qdm-industry-evidence-card h3 {
    font-size:13px !important;
  }
  .qdm-industry-detail-note summary {
    padding:11px 1px;
  }
  .qdm-industry-detail-note__content {
    padding:0 1px 12px;
  }
  .qdm-industry-detail-cta {
    align-items:flex-start;
    flex-direction:column;
    gap:13px;
    padding:16px;
  }
  .qdm-industry-detail-cta div strong {
    font-size:15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .qdm-industry-focus-card,
  .qdm-industry-selected-oem,
  body.home .qdm-industry-card,
  .qdm-industry-evidence-card__image img {
    transition:none;
  }
}


/* V1.9.57 — give Industry article titles clear space above the red kicker. */
.qdm-industry-article .wp-block-post-content > .qdm-case-article__kicker:first-child {
  margin-top:26px !important;
}
@media (max-width:700px) {
  .qdm-industry-article .wp-block-post-content > .qdm-case-article__kicker:first-child {
    margin-top:20px !important;
  }
}


/* V1.10.5 — About Us: simple four-paragraph editorial layout */
body.qdm-page-slug-about-us .qdm-about-v105 {
  padding:72px 24px 82px;
  background:#fff;
}
body.qdm-page-slug-about-us .qdm-about-v105__inner {
  max-width:880px;
}
body.qdm-page-slug-about-us .qdm-about-v105__kicker {
  margin:0 0 13px;
  color:var(--qdm-red);
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  line-height:1.35;
  text-transform:uppercase;
}
body.qdm-page-slug-about-us .qdm-about-v105 h1 {
  max-width:760px;
  margin:0 0 34px;
  color:var(--qdm-ink);
  font-size:46px;
  font-weight:760;
  letter-spacing:-1.15px;
  line-height:1.08;
}
body.qdm-page-slug-about-us .qdm-about-v105__copy {
  max-width:840px;
  padding-top:26px;
  border-top:1px solid var(--qdm-line);
}
body.qdm-page-slug-about-us .qdm-about-v105__copy p {
  margin:0 0 22px;
  color:#4c6170;
  font-size:16px;
  line-height:1.84;
}
body.qdm-page-slug-about-us .qdm-about-v105__copy p:first-child {
  color:#334b5a;
  font-size:17px;
}
body.qdm-page-slug-about-us .qdm-about-v105__copy p:last-child {
  margin-bottom:0;
}

@media (max-width:700px) {
  body.qdm-page-slug-about-us .qdm-about-v105 {
    padding:48px 20px 56px;
  }
  body.qdm-page-slug-about-us .qdm-about-v105 h1 {
    margin-bottom:28px;
    font-size:36px;
    letter-spacing:-.75px;
    line-height:1.1;
  }
  body.qdm-page-slug-about-us .qdm-about-v105__copy {
    padding-top:22px;
  }
  body.qdm-page-slug-about-us .qdm-about-v105__copy p,
  body.qdm-page-slug-about-us .qdm-about-v105__copy p:first-child {
    margin-bottom:19px;
    font-size:14.3px;
    line-height:1.76;
  }
}


/* V1.10.6 — Site-wide typography readability pass
   Keep micro-labels / kickers compact, but enlarge actual reading text. */
body,
.editor-styles-wrapper {
  font-size:18px;
  line-height:1.70;
}

/* Home / shared cards */
.qdm-cap-card p:last-child,
.qdm-industry-card p,
.qdm-insight-card p,
.qdm-project-card p,
.qdm-step-card p,
.qdm-secondary-card p,
.qdm-support-card p,
.qdm-quality .wp-block-column > .wp-block-group p:last-child {
  color:#4e606d !important;
  font-size:16px !important;
  line-height:1.68 !important;
}
.qdm-trust-item p {
  color:#536571 !important;
  font-size:15px !important;
  line-height:1.58 !important;
}
body.home .qdm-trust-item h3,
.qdm-home-capability-mobile-grid .qdm-cap-card h3,
body.home .qdm-benefit-row h3,
body.home .qdm-step-card h3,
body.home .qdm-industry-card h3,
body.home .qdm-project-card h3,
body.home .qdm-insight-card h3 {
  font-size:17px !important;
  line-height:1.30 !important;
}

/* Capabilities */
.qdm-cap-hero-overview p,
.qdm-cap-page-hero--compact .qdm-cap-page-lead,
.qdm-cap-data-heading > p:last-child,
.qdm-cap-data-heading--inline > p {
  color:#485c69 !important;
  font-size:17px !important;
  line-height:1.70 !important;
}
.qdm-cap-details__body p {
  color:#536571 !important;
  font-size:15.5px !important;
  line-height:1.68 !important;
}
.qdm-finish-card span {
  font-size:14px !important;
  line-height:1.48 !important;
}

/* Quality */
.qdm-quality-page-hero p:last-child,
.qdm-quality-v2-hero__copy > p:not(.qdm-quality-page-kicker),
.qdm-quality-page-heading > p:last-child,
.qdm-quality-page-heading--inline > p {
  color:#485c69 !important;
  font-size:17px !important;
  line-height:1.70 !important;
}
.qdm-quality-details p,
.qdm-quality-doc-grid p {
  color:#536571 !important;
  font-size:15.5px !important;
  line-height:1.66 !important;
}

/* Projects hub + project articles */
.qdm-projects-page-hero__inner > p:not(.qdm-projects-kicker):not(.qdm-projects-confidentiality),
.qdm-project-story__heading > p:last-child,
.qdm-projects-hub__heading > p:last-child {
  color:#485c69 !important;
  font-size:17px !important;
  line-height:1.70 !important;
}
.qdm-project-detail-card p,
.qdm-projects-hub-card p {
  color:#536571 !important;
  font-size:15.5px !important;
  line-height:1.66 !important;
}
.qdm-project-detail-card h3,
.qdm-projects-hub-card h3 {
  font-size:17px !important;
  line-height:1.30 !important;
}
.qdm-case-article p:not(.qdm-case-article__back):not(.qdm-case-article__kicker):not(.qdm-case-article__meta) {
  color:#455a68 !important;
  font-size:17px !important;
  line-height:1.76 !important;
}
.qdm-related-products__card figcaption {
  font-size:14px !important;
  line-height:1.42 !important;
}

/* Industries hub + Industry child pages */
.qdm-industries-v2-heading > p:last-child,
.qdm-industries-v2-method__intro > p:last-child,
.qdm-industries-v2-cta p {
  color:#485c69 !important;
  font-size:17px !important;
  line-height:1.70 !important;
}
.qdm-industry-focus-card > p:not(.qdm-industry-focus-card__label),
.qdm-industry-selected-oem__copy > p:not(.qdm-industry-focus-card__label) {
  color:#536571 !important;
  font-size:15.5px !important;
  line-height:1.66 !important;
}
.qdm-industries-v2-project-card h3,
.qdm-industry-evidence-card h3 {
  font-size:17px !important;
  line-height:1.30 !important;
}
.qdm-industry-detail-tags span,
.qdm-industry-detail-links a {
  font-size:12px !important;
  line-height:1.38 !important;
}
.qdm-case-article .qdm-industry-detail-note__content p {
  font-size:14px !important;
  line-height:1.62 !important;
}

/* Project-specific dense process cards: increase reading text without enlarging labels. */
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-route-card__body p,
body.qdm-page-slug-repeat-production-excavator-pivot-bushings .qdm-bushing-converge__body p,
body.qdm-page-slug-high-volume-powder-coated-aluminum-cabinet-hardware .qdm-cabinet-process-steps article p,
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-process-grid article p,
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-video-copy p,
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-video-copy ul,
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-process-grid article p,
body.qdm-page-slug-sand-cast-hydraulic-cylinder-component-family .qdm-hydraulic-process-grid article li,
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-scope-grid p,
body.qdm-page-slug-large-format-3d-printer-frame-cladding-cnc-components .qdm-printer-evidence__copy p,
body.qdm-page-slug-swiss-type-cnc-machining-precision-small-parts .qdm-swiss-advantages p {
  color:#536571 !important;
  font-size:15.5px !important;
  line-height:1.66 !important;
}
body.qdm-page-slug-small-batch-fan-drive-pulley-components .qdm-fan-process-grid article h4 {
  font-size:16.5px !important;
  line-height:1.30 !important;
}

/* About Us — all four paragraphs use exactly the same typography. */
body.qdm-page-slug-about-us .qdm-about-v105__copy p,
body.qdm-page-slug-about-us .qdm-about-v105__copy p:first-child {
  color:#455a68 !important;
  font-size:17px !important;
  line-height:1.78 !important;
}

/* Footer stays secondary, but should still be comfortable to read. */
.qdm-footer p,
.qdm-footer a {
  font-size:14px !important;
  line-height:1.58 !important;
}

@media (max-width:700px) {
  body,
  .editor-styles-wrapper {
    font-size:16px;
    line-height:1.68;
  }

  .qdm-cap-card p:last-child,
  .qdm-industry-card p,
  .qdm-insight-card p,
  .qdm-project-card p,
  .qdm-step-card p,
  .qdm-secondary-card p,
  .qdm-support-card p,
  .qdm-cap-hero-overview p,
  .qdm-cap-page-hero--compact .qdm-cap-page-lead,
  .qdm-quality-page-hero p:last-child,
  .qdm-quality-v2-hero__copy > p:not(.qdm-quality-page-kicker),
  .qdm-projects-page-hero__inner > p:not(.qdm-projects-kicker):not(.qdm-projects-confidentiality),
  .qdm-project-story__heading > p:last-child,
  .qdm-projects-hub__heading > p:last-child,
  .qdm-industries-v2-heading > p:last-child,
  .qdm-industries-v2-method__intro > p:last-child,
  .qdm-industries-v2-cta p,
  .qdm-case-article p:not(.qdm-case-article__back):not(.qdm-case-article__kicker):not(.qdm-case-article__meta),
  body.qdm-page-slug-about-us .qdm-about-v105__copy p,
  body.qdm-page-slug-about-us .qdm-about-v105__copy p:first-child {
    font-size:15.5px !important;
    line-height:1.72 !important;
  }

  .qdm-cap-details__body p,
  .qdm-quality-details p,
  .qdm-quality-doc-grid p,
  .qdm-project-detail-card p,
  .qdm-projects-hub-card p,
  .qdm-industry-focus-card > p:not(.qdm-industry-focus-card__label),
  .qdm-industry-selected-oem__copy > p:not(.qdm-industry-focus-card__label) {
    font-size:14.5px !important;
    line-height:1.64 !important;
  }

  .qdm-related-products__card figcaption {
    font-size:12.5px !important;
  }
}


/* V1.10.7 — Dark hero subtitle contrast correction
   Keep hero body copy bright enough against navy backgrounds. */
.qdm-hero .qdm-hero-lead,
.qdm-cap-page-hero .qdm-cap-page-lead,
.qdm-quality-page-hero p:last-child,
.qdm-quality-v2-hero__copy > p:not(.qdm-quality-page-kicker),
.qdm-projects-page-hero__inner > p:not(.qdm-projects-kicker):not(.qdm-projects-confidentiality) {
  color:#dfe8ee !important;
}

/* Slightly brighter on the compact Capabilities hero shown in the screenshot. */
.qdm-cap-page-hero--compact .qdm-cap-page-lead {
  color:#e4ebf0 !important;
}


/* V1.10.8 — Full dark-section contrast audit
   Restore clear body-copy contrast anywhere text sits on navy / charcoal backgrounds. */

/* Home hero / RFQ / dark Quality band */
.qdm-hero .qdm-hero-lead {
  color:#e3ebf0 !important;
}
.qdm-rfq-card p,
.qdm-rfq-card li {
  color:#d9e4ea !important;
}
.qdm-quality .qdm-quality-copy > p:last-child,
.qdm-quality .qdm-quality-grid .wp-block-group > p:last-child,
.qdm-home-quality-mobile-grid p:last-child {
  color:#d8e3ea !important;
}

/* Shared dark CTA */
.qdm-cta-copy p {
  color:#e0e8ed !important;
}

/* Capabilities — dark inspection / support areas */
.qdm-cap-data-heading--dark > p:last-child,
.qdm-cap-details--dark .qdm-cap-details__body p {
  color:#d5e0e7 !important;
}

/* Quality — dark hero subcopy and dark corrective/documentation sections */
.qdm-quality-v2-hero__copy > p:not(.qdm-quality-page-kicker),
.qdm-quality-page-hero p:last-child {
  color:#e0e8ee !important;
}
.qdm-quality-5m1e__head span,
.qdm-quality-5m1e__grid span {
  color:#d1dde5 !important;
}
.qdm-quality-page-heading--dark > p:last-child,
.qdm-quality-documentation .qdm-quality-doc-grid p,
.qdm-quality-details--dark p,
.qdm-quality-corrective .qdm-quality-fishbone-title span,
.qdm-quality-corrective .qdm-quality-response small {
  color:#d2dde4 !important;
}

/* Projects — dark callouts / closing band */
.qdm-project-outcome span,
.qdm-projects-closing__grid span {
  color:#d9e4ea !important;
}

/* Industries — dark methodology band and CTA */
.qdm-industries-v2-method__intro > p:last-child,
.qdm-industries-v2-method__grid p {
  color:#d4dfe6 !important;
}
.qdm-industries-v2-cta p {
  color:#e2e9ee !important;
}

/* Industry detail CTA */
.qdm-industry-detail-cta {
  color:#fff;
}
.qdm-industry-detail-cta div strong {
  color:#fff !important;
}

/* Footer and top utility bar remain secondary, but no longer look washed out. */
.qdm-topbar {
  color:#d6e0e6 !important;
}
.qdm-footer {
  color:#bac6ce !important;
}
.qdm-footer p,
.qdm-footer a {
  color:#bac6ce !important;
}
.qdm-footer > .wp-block-group p:last-child,
.qdm-footer .alignwide > p {
  color:#94a6b1 !important;
}


/* V1.10.10 — Home Capabilities cards link to matching Capability sections */
body.home .qdm-cap-card {
  position:relative;
}
body.home .qdm-cap-card__hit {
  position:absolute;
  inset:0;
  z-index:4;
  border-radius:inherit;
  cursor:pointer;
}
body.home .qdm-cap-card:has(.qdm-cap-card__hit):hover {
  border-color:#bdccd6 !important;
  box-shadow:0 14px 32px rgba(15,42,65,.09);
}
body.home .qdm-cap-card:has(.qdm-cap-card__hit):focus-within {
  outline:2px solid rgba(23,74,124,.38);
  outline-offset:3px;
}


/* V1.10.11 — Home capability cards hover photo reveal */
body.home .qdm-cap-card {
  position:relative;
  overflow:hidden;
  isolation:isolate;
  background-color:#ffffff !important;
}
body.home .qdm-cap-card::before,
body.home .qdm-cap-card::after {
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  transition:opacity .35s ease, transform .45s ease;
  pointer-events:none;
}
body.home .qdm-cap-card::before {
  z-index:0;
  background-image:var(--qdm-cap-hover-image);
  background-size:cover;
  background-position:center;
  filter:grayscale(1);
  opacity:0;
  transform:scale(1.06);
}
body.home .qdm-cap-card::after {
  z-index:1;
  background:linear-gradient(180deg, rgba(255,255,255,.90) 0%, rgba(255,255,255,.84) 100%);
  opacity:0;
}
body.home .qdm-cap-card > * {
  position:relative;
  z-index:2;
}
body.home .qdm-cap-card__hit {
  z-index:4;
}
body.home .qdm-cap-card:hover::before,
body.home .qdm-cap-card:focus-within::before {
  opacity:.65;
  transform:scale(1);
}
body.home .qdm-cap-card:hover::after,
body.home .qdm-cap-card:focus-within::after {
  opacity:1;
}
body.home .qdm-cap-card:hover .wp-block-heading,
body.home .qdm-cap-card:focus-within .wp-block-heading {
  color:#0f2a41 !important;
}
body.home .qdm-cap-card:hover p:last-child,
body.home .qdm-cap-card:focus-within p:last-child {
  color:#425564 !important;
}
body.home .qdm-cap-card--machining { --qdm-cap-hover-image:url("assets/images/capabilities-cnc-turning-v2.webp"); }
body.home .qdm-cap-card--casting { --qdm-cap-hover-image:url("assets/images/capabilities-casting-foundry.webp"); }
body.home .qdm-cap-card--fabrication { --qdm-cap-hover-image:url("assets/images/capabilities-fabrication.webp"); }
body.home .qdm-cap-card--finishing { --qdm-cap-hover-image:url("assets/images/aluminum-housing-inspection-03.webp"); }
body.home .qdm-cap-card--tooling { --qdm-cap-hover-image:url("assets/images/capabilities-cnc-5axis-v2.webp"); }
body.home .qdm-cap-card--coordination { --qdm-cap-hover-image:url("assets/images/why-cmm-inspection.webp"); }


/* V1.10.12 — Home capability hover clarity + reliable full-card links */
body.home .qdm-cap-card[data-qdm-cap-href] {
  cursor:pointer;
}

/* Make the monochrome process image clearly visible while keeping text readable. */
body.home .qdm-cap-card:hover::before,
body.home .qdm-cap-card:focus-within::before {
  opacity:.92;
  transform:scale(1);
}
body.home .qdm-cap-card::after {
  background:linear-gradient(180deg, rgba(255,255,255,.64) 0%, rgba(255,255,255,.48) 100%);
}

/* 04 uses the real 3D-printer powder-coating photo.
   05 takes the former 04 image, as requested. */
body.home .qdm-cap-card--finishing {
  --qdm-cap-hover-image:url("assets/images/3d-printer-lc-magna/cladding-powder-coating.webp");
}
body.home .qdm-cap-card--tooling {
  --qdm-cap-hover-image:url("assets/images/aluminum-housing-inspection-03.webp");
}


/* V1.10.13 — stronger hover copy on Home capability cards */
body.home .qdm-cap-card:hover p:last-child,
body.home .qdm-cap-card:focus-within p:last-child {
  color:#263b4b !important;
  font-weight:650 !important;
}


/* V1.11.0 — Contact Us / RFQ page */
body.qdm-page-slug-contact-us .qdm-contact-page {
  padding:64px 24px 78px;
  background:linear-gradient(180deg,#f4f7f9 0,#fff 270px);
}
body.qdm-page-slug-contact-us .qdm-contact-page__hero {
  max-width:1120px;
  padding-bottom:34px;
  border-bottom:1px solid #d7e0e6;
}
body.qdm-page-slug-contact-us .qdm-contact-page__kicker,
body.qdm-page-slug-contact-us .qdm-contact-page__eyebrow {
  margin:0 0 10px;
  color:var(--qdm-red);
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  line-height:1.35;
  text-transform:uppercase;
}
body.qdm-page-slug-contact-us .qdm-contact-page__hero h1 {
  margin:0 0 14px;
  color:var(--qdm-ink);
  font-size:54px;
  font-weight:780;
  letter-spacing:-1.5px;
  line-height:1.04;
}
body.qdm-page-slug-contact-us .qdm-contact-page__hero > p:last-child {
  max-width:820px;
  margin:0;
  color:#4b606e;
  font-size:17px;
  line-height:1.72;
}
body.qdm-page-slug-contact-us .qdm-contact-page__grid {
  display:grid;
  grid-template-columns:minmax(280px,.78fr) minmax(0,1.22fr);
  gap:54px;
  max-width:1120px;
  padding-top:38px;
  align-items:start;
}
body.qdm-page-slug-contact-us .qdm-contact-page__intro {
  padding-top:4px;
}
body.qdm-page-slug-contact-us .qdm-contact-page__intro h2,
body.qdm-page-slug-contact-us .qdm-contact-page__form-wrap > h2 {
  margin:0 0 13px;
  color:var(--qdm-ink);
  font-size:28px;
  font-weight:760;
  letter-spacing:-.45px;
  line-height:1.18;
}
body.qdm-page-slug-contact-us .qdm-contact-page__intro > p:not(.qdm-contact-page__eyebrow):not(.qdm-contact-page__note),
body.qdm-page-slug-contact-us .qdm-contact-page__form-wrap > p {
  margin:0;
  color:#536774;
  font-size:15px;
  line-height:1.72;
}
body.qdm-page-slug-contact-us .qdm-contact-page__direct {
  margin:27px 0 24px;
  border-top:1px solid var(--qdm-line);
}
body.qdm-page-slug-contact-us .qdm-contact-page__direct > div {
  display:grid;
  grid-template-columns:72px minmax(0,1fr);
  gap:16px;
  padding:14px 0;
  border-bottom:1px solid var(--qdm-line);
}
body.qdm-page-slug-contact-us .qdm-contact-page__direct span {
  color:#7a8a95;
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body.qdm-page-slug-contact-us .qdm-contact-page__direct a,
body.qdm-page-slug-contact-us .qdm-contact-page__direct strong {
  color:var(--qdm-blue-dark);
  font-size:14px;
  font-weight:720;
  line-height:1.45;
  text-decoration:none;
  word-break:break-word;
}
body.qdm-page-slug-contact-us .qdm-contact-page__direct a:hover {
  color:var(--qdm-blue);
  text-decoration:underline;
}
body.qdm-page-slug-contact-us .qdm-contact-page__note {
  margin:0;
  color:#6b7d88;
  font-size:13px;
  line-height:1.65;
}
body.qdm-page-slug-contact-us .qdm-contact-page__form-wrap {
  padding:30px 32px 32px;
  border:1px solid #d4dee5;
  border-radius:12px;
  background:#fff;
  box-shadow:0 18px 44px rgba(15,42,65,.07);
}
body.qdm-page-slug-contact-us .qdm-contact-page__form-wrap > p {
  margin-bottom:22px;
}
body.qdm-page-slug-contact-us .qdm-contact-form {
  display:grid;
  gap:17px;
}
body.qdm-page-slug-contact-us .qdm-contact-form__row {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
body.qdm-page-slug-contact-us .qdm-contact-form label {
  display:grid;
  gap:7px;
  color:#344b5a;
  font-size:12px;
  font-weight:750;
  line-height:1.35;
}
body.qdm-page-slug-contact-us .qdm-contact-form label > span b {
  color:var(--qdm-red);
  font-weight:800;
}
body.qdm-page-slug-contact-us .qdm-contact-form input[type="text"],
body.qdm-page-slug-contact-us .qdm-contact-form input[type="email"],
body.qdm-page-slug-contact-us .qdm-contact-form textarea {
  width:100%;
  box-sizing:border-box;
  border:1px solid #cdd8df;
  border-radius:6px;
  background:#fff;
  color:var(--qdm-ink);
  font:inherit;
  font-size:15px;
  line-height:1.5;
  outline:none;
  transition:border-color .16s ease, box-shadow .16s ease;
}
body.qdm-page-slug-contact-us .qdm-contact-form input[type="text"],
body.qdm-page-slug-contact-us .qdm-contact-form input[type="email"] {
  min-height:46px;
  padding:0 12px;
}
body.qdm-page-slug-contact-us .qdm-contact-form textarea {
  min-height:142px;
  resize:vertical;
  padding:11px 12px;
}
body.qdm-page-slug-contact-us .qdm-contact-form input:focus,
body.qdm-page-slug-contact-us .qdm-contact-form textarea:focus {
  border-color:#7da0bb;
  box-shadow:0 0 0 3px rgba(23,74,124,.10);
}
body.qdm-page-slug-contact-us .qdm-contact-form__file {
  padding:14px 15px;
  border:1px dashed #bdcbd5;
  border-radius:7px;
  background:#f8fafb;
}
body.qdm-page-slug-contact-us .qdm-contact-form__file input[type="file"] {
  max-width:100%;
  color:#4b606e;
  font-size:13px;
  font-weight:500;
}
body.qdm-page-slug-contact-us .qdm-contact-form__file small {
  color:#71828d;
  font-size:11px;
  font-weight:500;
  line-height:1.5;
}
body.qdm-page-slug-contact-us .qdm-contact-form button {
  justify-self:start;
  min-height:46px;
  padding:0 22px;
  border:0;
  border-radius:6px;
  background:var(--qdm-red);
  color:#fff;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(198,40,47,.18);
}
body.qdm-page-slug-contact-us .qdm-contact-form button:hover {
  background:var(--qdm-red-dark);
}
body.qdm-page-slug-contact-us .qdm-contact-form__privacy {
  margin:-5px 0 0;
  color:#7a8993;
  font-size:11px;
  line-height:1.55;
}
body.qdm-page-slug-contact-us .qdm-contact-form__honeypot {
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
  clip:rect(1px,1px,1px,1px) !important;
  white-space:nowrap !important;
}
body.qdm-page-slug-contact-us .qdm-contact-form__status {
  margin:18px 0 22px;
  padding:12px 14px;
  border-radius:6px;
  font-size:13px;
  line-height:1.55;
}
body.qdm-page-slug-contact-us .qdm-contact-form__status--success {
  border:1px solid #bad8c4;
  background:#f2faf5;
  color:#28583a;
}
body.qdm-page-slug-contact-us .qdm-contact-form__status--error {
  border:1px solid #e1b8ba;
  background:#fff6f6;
  color:#7d2b31;
}
body.qdm-page-slug-contact-us .qdm-contact-form__status a {
  color:inherit;
  font-weight:800;
}

@media (max-width:820px) {
  body.qdm-page-slug-contact-us .qdm-contact-page__grid {
    grid-template-columns:1fr;
    gap:30px;
  }
  body.qdm-page-slug-contact-us .qdm-contact-page__intro {
    max-width:700px;
  }
}
@media (max-width:700px) {
  body.qdm-page-slug-contact-us .qdm-contact-page {
    padding:44px 20px 56px;
  }
  body.qdm-page-slug-contact-us .qdm-contact-page__hero {
    padding-bottom:27px;
  }
  body.qdm-page-slug-contact-us .qdm-contact-page__hero h1 {
    font-size:39px;
    letter-spacing:-.8px;
  }
  body.qdm-page-slug-contact-us .qdm-contact-page__hero > p:last-child {
    font-size:15.5px;
    line-height:1.68;
  }
  body.qdm-page-slug-contact-us .qdm-contact-page__grid {
    padding-top:29px;
  }
  body.qdm-page-slug-contact-us .qdm-contact-page__intro h2,
  body.qdm-page-slug-contact-us .qdm-contact-page__form-wrap > h2 {
    font-size:24px;
  }
  body.qdm-page-slug-contact-us .qdm-contact-page__form-wrap {
    padding:24px 20px 22px;
    border-radius:9px;
  }
  body.qdm-page-slug-contact-us .qdm-contact-form__row {
    grid-template-columns:1fr;
    gap:17px;
  }
  body.qdm-page-slug-contact-us .qdm-contact-page__direct > div {
    grid-template-columns:64px minmax(0,1fr);
  }
  body.qdm-page-slug-contact-us .qdm-contact-form button {
    width:100%;
  }
}


/* V1.11.3 — Center Contact Us content to match the rest of the site */
body.qdm-page-slug-contact-us .qdm-contact-page__hero,
body.qdm-page-slug-contact-us .qdm-contact-page__grid {
  width:100%;
  margin-left:auto !important;
  margin-right:auto !important;
  box-sizing:border-box;
}


/* V1.11.4 — Final audit: no visual redesign; runtime/content cleanup only. */

/* V1.11.7 — Home Representative Work: complete project carousel + tablet reveal. */
body.home .qdm-home-projects { margin-top:0; }
body.home .qdm-home-projects__body { min-width:0; }
body.home .qdm-home-projects__track {
  display:flex !important;
  flex-wrap:nowrap !important;
  gap:20px !important;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  padding:1px 1px 8px;
}
body.home .qdm-home-projects__track::-webkit-scrollbar { display:none; }
body.home .qdm-home-project-card {
  flex:0 0 calc((100% - 40px) / 3);
  min-width:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  scroll-snap-align:start;
  border:1px solid #dce4ea;
  border-radius:9px;
  background:#fff;
  box-shadow:0 8px 22px rgba(16,50,76,.045);
}
body.home .qdm-home-project-card__image {
  display:block;
  overflow:hidden;
  background:#e9eef2;
}
body.home .qdm-home-project-card__image img {
  display:block;
  width:100%;
  aspect-ratio:16 / 10;
  object-fit:cover;
  transition:transform .25s ease;
}
body.home .qdm-home-project-card:hover .qdm-home-project-card__image img { transform:scale(1.025); }
body.home .qdm-home-project-card__body {
  flex:1;
  display:flex;
  flex-direction:column;
  padding:18px 19px 19px;
}
body.home .qdm-home-project-card__body > span {
  margin-bottom:8px;
  color:#174a7c;
  font-size:10px;
  font-weight:800;
  line-height:1.35;
  letter-spacing:.1em;
  text-transform:uppercase;
}
body.home .qdm-home-project-card__body h3 {
  margin:0 0 9px;
  font-size:18px !important;
  line-height:1.3;
}
body.home .qdm-home-project-card__body h3 a { color:#0b1b27; text-decoration:none; }
body.home .qdm-home-project-card__body p {
  margin:0 0 14px;
  color:#60707d;
  font-size:13.5px !important;
  line-height:1.55 !important;
}
body.home .qdm-home-project-card__link {
  margin-top:auto;
  color:#174a7c;
  font-size:11.5px;
  font-weight:800;
  text-decoration:none;
}
body.home .qdm-home-projects__controls {
  display:flex;
  justify-content:center;
  gap:9px;
  margin-top:12px;
}
body.home .qdm-home-projects__controls button,
body.home .qdm-home-projects__reveal {
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #cbd7e0;
  border-radius:50%;
  background:#fff;
  color:var(--qdm-blue);
  box-shadow:0 4px 11px rgba(14,53,91,.1);
  cursor:pointer;
}
body.home .qdm-home-projects__controls button {
  width:36px;
  height:36px;
}
body.home .qdm-home-projects__controls button span {
  width:8px;
  height:8px;
  border-top:2px solid currentColor;
  border-right:2px solid currentColor;
}
body.home .qdm-home-projects__prev span { transform:rotate(-135deg); margin-left:3px; }
body.home .qdm-home-projects__next span { transform:rotate(45deg); margin-right:3px; }
body.home .qdm-home-projects__controls button:disabled { opacity:.32; cursor:default; }
body.home .qdm-home-projects__reveal { display:none; }

@media (max-width:980px) {
  body.home #projects { padding-top:54px !important; padding-bottom:54px !important; }
  body.home #projects .qdm-section-heading { font-size:36px !important; }
  body.home #projects > .wp-block-group > p.has-text-color { margin-bottom:14px !important; }

  body.home .qdm-home-projects__reveal {
    display:flex;
    width:40px;
    height:32px;
    margin:0 auto 0;
    position:relative;
    z-index:3;
    border-radius:999px;
  }
  body.home .qdm-home-projects__reveal span {
    width:8px;
    height:8px;
    border-right:2px solid currentColor;
    border-bottom:2px solid currentColor;
    transform:translateY(-2px) rotate(45deg);
    transition:transform .25s ease;
  }
  body.home .qdm-home-projects__reveal[aria-expanded="true"] span {
    transform:translateY(2px) rotate(225deg);
  }
  body.home .qdm-home-projects.qdm-home-projects--collapsible .qdm-home-projects__body {
    max-height:0;
    overflow:hidden;
    opacity:0;
    margin-top:0;
    transition:max-height .42s ease, opacity .22s ease, margin-top .22s ease;
  }
  body.home .qdm-home-projects.qdm-home-projects--collapsible.is-expanded .qdm-home-projects__body {
    opacity:1;
    margin-top:18px;
  }
  body.home .qdm-home-project-card { flex-basis:calc((100% - 14px) / 2); }
  body.home .qdm-home-projects__track { gap:14px !important; }
  body.home .qdm-home-project-card__body { padding:15px 15px 16px; }
  body.home .qdm-home-project-card__body h3 { font-size:16px !important; }
  body.home .qdm-home-project-card__body p { font-size:12px !important; line-height:1.5 !important; }
}

@media (max-width:560px) {
  body.home #projects { padding-top:38px !important; padding-bottom:38px !important; }
  body.home #projects .qdm-section-heading { font-size:30px !important; }
  body.home .qdm-home-project-card { flex-basis:84%; }
  body.home .qdm-home-projects__track { gap:12px !important; }
  body.home .qdm-home-project-card__body h3 { font-size:15px !important; }
  body.home .qdm-home-project-card__body p { font-size:10.8px !important; line-height:1.48 !important; }
}

/* V1.11.9 — richer Representative Work cards + one control row only. */
body.home #projects .qdm-mobile-carousel-controls { display:none !important; }
body.home .qdm-home-project-card__body h3 {
  margin-bottom:10px;
  font-size:18px !important;
  line-height:1.28;
}
body.home .qdm-home-project-card__body .qdm-home-project-card__challenge {
  margin:0 0 10px;
  color:#0b1b27;
  font-size:14px !important;
  font-weight:750;
  line-height:1.48 !important;
}
body.home .qdm-home-project-card__body .qdm-home-project-card__summary {
  margin:0 0 12px;
  color:#526675;
  font-size:13.5px !important;
  line-height:1.58 !important;
}
body.home .qdm-home-project-card__body .qdm-home-project-card__tags {
  margin:0 0 15px;
  padding-top:11px;
  border-top:1px solid #e4ebf0;
  color:#174a7c;
  font-size:10.5px !important;
  font-weight:700;
  line-height:1.55 !important;
}
body.home .qdm-home-project-card__link { margin-top:auto; }

@media (max-width:980px) {
  body.home .qdm-home-project-card__body .qdm-home-project-card__challenge {
    font-size:13.5px !important;
    line-height:1.46 !important;
  }
  body.home .qdm-home-project-card__body .qdm-home-project-card__summary {
    font-size:12.5px !important;
    line-height:1.55 !important;
  }
  body.home .qdm-home-project-card__body .qdm-home-project-card__tags {
    font-size:10px !important;
    line-height:1.5 !important;
  }
}

@media (max-width:560px) {
  body.home .qdm-home-project-card { flex-basis:88%; }
  body.home .qdm-home-project-card__body { padding:16px 16px 17px; }
  body.home .qdm-home-project-card__body h3 {
    font-size:16px !important;
    line-height:1.32 !important;
  }
  body.home .qdm-home-project-card__body .qdm-home-project-card__challenge {
    font-size:13.2px !important;
    line-height:1.46 !important;
  }
  body.home .qdm-home-project-card__body .qdm-home-project-card__summary {
    font-size:12.6px !important;
    line-height:1.56 !important;
  }
  body.home .qdm-home-project-card__body .qdm-home-project-card__tags {
    font-size:9.8px !important;
    line-height:1.5 !important;
  }
  body.home .qdm-home-project-card__link { font-size:11.5px; }
}

/* V1.11.10 — clearer company locations + simple About Us manufacturing network. */
body.qdm-page-slug-about-us .qdm-about-v105__network {
  max-width:840px;
  margin-top:38px;
  padding-top:30px;
  border-top:1px solid var(--qdm-line);
}
body.qdm-page-slug-about-us .qdm-about-v105__network h2 {
  margin:0 0 12px;
  color:var(--qdm-ink);
  font-size:26px;
  line-height:1.2;
  letter-spacing:-.35px;
}
body.qdm-page-slug-about-us .qdm-about-v105__network > p {
  margin:0 0 18px;
  color:#455a68;
  font-size:17px;
  line-height:1.78;
}
body.qdm-page-slug-about-us .qdm-about-v105__network ul {
  list-style:none;
  margin:0;
  padding:0;
  border-top:1px solid #e4ebef;
}
body.qdm-page-slug-about-us .qdm-about-v105__network li {
  margin:0;
  padding:13px 0;
  border-bottom:1px solid #e4ebef;
  color:#455a68;
  font-size:16px;
  line-height:1.55;
}
body.qdm-page-slug-about-us .qdm-about-v105__network li strong {
  color:#193a51;
  font-weight:750;
}
.qdm-footer .qdm-footer-location-label {
  color:#d9e2e8;
  font-weight:700;
}
@media (max-width:700px) {
  body.qdm-page-slug-about-us .qdm-about-v105__network {
    margin-top:30px;
    padding-top:24px;
  }
  body.qdm-page-slug-about-us .qdm-about-v105__network h2 {
    font-size:23px;
  }
  body.qdm-page-slug-about-us .qdm-about-v105__network > p {
    font-size:15.5px;
    line-height:1.72;
  }
  body.qdm-page-slug-about-us .qdm-about-v105__network li {
    padding:12px 0;
    font-size:14.5px;
  }
}
