/* Mechanism-of-action pages (technology section) */
#kgm .mech-eq {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 280px; padding: 32px 24px; text-align: center;
  background: #f6f9fc; border: 1px solid #dfe7f0; border-radius: 12px;
}
#kgm .mech-eq-line { font-size: 24px; font-weight: 600; line-height: 1.3; color: #16181d; overflow-wrap: anywhere; }
#kgm .mech-eq-arrow { font-size: 30px; line-height: 1; color: #c30d23; display: flex; align-items: center; gap: 10px; }
#kgm .mech-eq-arrow span { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: #c30d23; }
#kgm .mech-eq p { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: #5d6b82; }

#kgm .mech-step {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin-bottom: 14px; border-radius: 50%;
  background: #c30d23; color: #fff; font-size: 16px; font-weight: 700;
}

#kgm .mech-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
#kgm .mech-cmp { padding: 28px; border-radius: 12px; border: 1px solid #dfe7f0; border-left-width: 5px; background: #fff; }
#kgm .mech-cmp h4 { margin: 0 0 10px; font-size: 19px; font-weight: 700; }
#kgm .mech-cmp p { margin: 0; font-size: 19px; line-height: 1.55; color: #3a4558; }
#kgm .mech-cmp-bad { border-left-color: #c30d23; background: #fff6f7; }
#kgm .mech-cmp-bad h4 { color: #c30d23; }
#kgm .mech-cmp-good { border-left-color: #2e8b57; background: #f2faf5; }
#kgm .mech-cmp-good h4 { color: #1f6b41; }

#kgm .mech-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

#kgm .mech-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
#kgm .mech-products-1 { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
#kgm .mech-product {
  display: flex; flex-direction: column; background: #fff; border: 1px solid #dfe7f0; border-radius: 12px;
  overflow: hidden; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s;
}
#kgm .mech-product:hover { border-color: #c30d23; box-shadow: 0 2px 5px rgba(0,0,0,.12); transform: translateY(-3px); }
#kgm .mech-product-img { display: block; aspect-ratio: 16 / 10; padding: 14px; background: #fff; }
#kgm .mech-product-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
#kgm .mech-product-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 24px 24px; border-top: 1px solid #eef2f7; }
#kgm .mech-product-name { font-size: 24px; font-weight: 700; line-height: 1.25; color: #16181d; }
#kgm .mech-product-desc { font-size: 16px; line-height: 1.55; color: #5d6b82; }
#kgm .mech-product-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; color: #c30d23; }
#kgm .mech-product-link svg { width: 18px; height: 18px; fill: currentColor; }
#kgm .mech-more { margin: 24px 0 0; }
#kgm .mech-more a { color: #c30d23; font-weight: 600; text-decoration: none; }
#kgm .mech-more a:hover { text-decoration: underline; }

#kgm .specs-table thead th { background: #f6f9fc; text-align: left; font-weight: 700; padding: 14px 18px; }
#kgm .specs-table td { vertical-align: top; }

@media (max-width: 1100px) { #kgm .mech-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) {
  #kgm .mech-compare, #kgm .mech-products { grid-template-columns: minmax(0, 1fr); }
  #kgm .mech-eq { min-height: 0; }
  #kgm .mech-eq-line { font-size: 19px; }
}
@media (max-width: 560px) { #kgm .mech-grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* Links from the NUE technology page to the mechanism pages */
#kgm .nue-more { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 0 !important; }
#kgm .nue-more a { display: inline-flex; align-items: center; gap: 6px; color: #c30d23; font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: none; }
#kgm .nue-more a:hover { text-decoration: underline; }
#kgm .nue-more svg { width: 16px; height: 16px; flex-shrink: 0; fill: currentColor; }
#kgm .mech-note { margin: 18px 0 0; font-size: 15px; line-height: 1.6; color: #5d6b82; }
#kgm .mech-table4 { margin-top: 32px; }
#kgm .mech-table4 .specs-table thead th { width: auto !important; }
#kgm .mech-table4 .specs-table tbody th { width: 22% !important; }
#kgm .mech-refs { margin: 24px 0 0 22px; padding: 0; display: grid; gap: 14px; }
#kgm .mech-refs li { list-style: decimal; font-size: 15px; line-height: 1.6; color: #5d6b82; overflow-wrap: anywhere; }
#kgm .mech-refs a { color: #c30d23; }
#kgm .mech-refs a:hover { text-decoration: underline; }
#kgm .mech-more a svg { width: 16px; height: 16px; fill: currentColor; vertical-align: -2px; margin-left: 6px; }
#kgm .benefit-text .mech-more { margin: 10px 0 0; }
#kgm .mech-products-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { #kgm .mech-products-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { #kgm .mech-products-3 { grid-template-columns: minmax(0, 1fr); } }
