/* Custom Machinery & Turnkey Engineering — page-specific additions only. */
.solution-custom-machinery-page .custom-engineering-kicker { color: #0787B5; }
.solution-custom-machinery-page .custom-engineering-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.solution-custom-machinery-page .custom-engineering-project-figure { min-width: 0; margin: 0; }
.solution-custom-machinery-page .custom-engineering-project-figure img {
  display: block; width: 100%; height: auto; max-height: 390px; object-fit: cover;
  border-radius: 1rem; border: 1px solid rgba(74,98,138,.22);
  box-shadow: 0 14px 36px rgba(23,32,51,.16);
}
.solution-custom-machinery-page .custom-engineering-project-figure figcaption {
  margin-top: .65rem; color: #41536B; font-size: .83rem; line-height: 1.5;
}
.solution-custom-machinery-page .custom-engineering-inline-link {
  display: inline-flex; gap: .4rem; align-items: center; margin-top: 1.2rem;
  color: #087EAC; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(8,126,172,.45); padding-bottom: .2rem;
}
.solution-custom-machinery-page .custom-engineering-inline-link:hover { color: #075F80; border-bottom-color: #FFD052; }
.solution-custom-machinery-page .custom-engineering-inline-link:focus-visible { outline: 2px solid #087EAC; outline-offset: 4px; }
.solution-custom-machinery-page .custom-engineering-card-index { display: inline-block; margin-bottom: .65rem; color: #0787B5; font-size: .78rem; font-weight: 800; letter-spacing: .1em; }
.solution-custom-machinery-page .custom-engineering-capability .solution-capability { min-height: 10.2rem; }
.solution-custom-machinery-page .custom-engineering-process-section { overflow: hidden; }
.solution-custom-machinery-page .custom-engineering-timeline {
  position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .9rem; list-style: none; margin: 2rem 0 0; padding: 0;
}
.solution-custom-machinery-page .custom-engineering-timeline::before {
  content: ""; position: absolute; top: 1.225rem; left: 1.425rem; right: calc(20% - 2.15rem); height: 2px;
  background: linear-gradient(90deg, rgba(8,126,172,.35), #08A8D2 62%, #E1B43A);
  border-radius: 999px;
}
.solution-custom-machinery-page .custom-engineering-timeline li {
  min-width: 0; position: relative; padding: 0 .2rem .25rem; border-radius: .7rem;
  transition: background-color .22s ease;
}
.solution-custom-machinery-page .custom-engineering-timeline-index,
.solution-custom-machinery-page .custom-engineering-timeline h3 {
  transition: color .22s ease, background-color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.solution-custom-machinery-page .custom-engineering-timeline li:hover,
.solution-custom-machinery-page .custom-engineering-timeline li:focus-within {
  background-color: rgba(8,126,172,.055);
}
.solution-custom-machinery-page .custom-engineering-timeline li:hover .custom-engineering-timeline-index,
.solution-custom-machinery-page .custom-engineering-timeline li:focus-within .custom-engineering-timeline-index {
  background: #087EAC; color: #fff; border-color: #087EAC;
  box-shadow: 0 0 0 5px rgba(8,126,172,.13), 0 5px 16px rgba(8,126,172,.2);
  transform: scale(1.06);
}
.solution-custom-machinery-page .custom-engineering-timeline li:hover h3,
.solution-custom-machinery-page .custom-engineering-timeline li:focus-within h3 {
  color: #087EAC;
}
.solution-custom-machinery-page .custom-engineering-timeline-index {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
  width: 2.45rem; height: 2.45rem; margin: 0 0 .9rem; border-radius: 50%;
  background: #F8FAFC; border: 2px solid #0AA6D2; color: #087EAC; font-size: .82rem; font-weight: 800;
  box-shadow: 0 0 0 5px rgba(248,250,252,.8);
}
.solution-custom-machinery-page .custom-engineering-timeline li:last-child .custom-engineering-timeline-index { border-color: #D4A62C; color: #6C5310; }
.solution-custom-machinery-page .custom-engineering-timeline li:last-child:hover .custom-engineering-timeline-index,
.solution-custom-machinery-page .custom-engineering-timeline li:last-child:focus-within .custom-engineering-timeline-index {
  background: #087EAC; color: #fff; border-color: #087EAC;
}
.solution-custom-machinery-page .custom-engineering-timeline h3 { margin: 0 0 .45rem; font-size: 1.02rem; line-height: 1.35; color: #172033; }
.solution-custom-machinery-page .custom-engineering-timeline p { margin: 0; color: #41536B; font-size: .91rem; line-height: 1.6; }
.solution-custom-machinery-page .custom-engineering-model-grid .solution-capability { min-height: 9.4rem; }
@media (prefers-reduced-motion: reduce) {
  .solution-custom-machinery-page .custom-engineering-timeline li,
  .solution-custom-machinery-page .custom-engineering-timeline-index,
  .solution-custom-machinery-page .custom-engineering-timeline h3 { transition: none; }
}
@media (max-width: 1000px) {
  .solution-custom-machinery-page .custom-engineering-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.6rem; }
  .solution-custom-machinery-page .custom-engineering-timeline::before { display: none; }
}
@media (max-width: 900px) {
  .solution-custom-machinery-page .custom-engineering-overview-grid { grid-template-columns: minmax(0, 1fr); }
  .solution-custom-machinery-page .custom-engineering-project-figure img { max-height: 360px; }
}
@media (max-width: 767.98px) {
  .solution-custom-machinery-page .custom-engineering-timeline { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; padding-left: .2rem; }
  .solution-custom-machinery-page .custom-engineering-timeline li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); column-gap: .8rem; align-items: start; padding: 0; }
  .solution-custom-machinery-page .custom-engineering-timeline-index { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
  .solution-custom-machinery-page .custom-engineering-timeline h3 { grid-column: 2; margin-top: .25rem; }
  .solution-custom-machinery-page .custom-engineering-timeline p { grid-column: 2; }
  .solution-custom-machinery-page .custom-engineering-timeline::before {
    display: block; top: 1.6rem; bottom: 1.8rem; left: 1.22rem; right: auto; width: 2px; height: auto;
    background: linear-gradient(180deg, rgba(8,126,172,.25), #08A8D2 50%, #E1B43A);
  }
}
