/* Center the lathe in the shared background-cover layout. */
.machining-page .bar-service-hero > img { object-position: 50% 50%; }
.machining-page .machining-operations { row-gap: 38px; }
.machining-page .machining-capacity-scroll { overflow-x: auto; border: 1px solid #cbdbe5; background: #fff; }
.machining-page .machining-capacity-scroll:focus-visible { outline: 3px solid #165ba5; outline-offset: 4px; }
.machining-page .machining-capacity-table { border-collapse: collapse; width: 100%; table-layout: fixed; text-align: left; }
.machining-page .machining-capacity-table caption { padding: 23px 26px; background: #142a3a; color: #fff; font-size: 18px; text-align: left; font-weight: 600; }
.machining-page .machining-capacity-table th,
.machining-page .machining-capacity-table td { padding: 24px 26px; vertical-align: top; border-bottom: 1px solid #d5e0e7; line-height: 1.6; }
.machining-page .machining-capacity-table thead th { color: #244c67; background: #e8f0f5; font-size: 15px; }
.machining-page .machining-capacity-table th:first-child { width: 26%; }
.machining-page .machining-capacity-table th:nth-child(2) { width: 29%; }
.machining-page .machining-capacity-table tbody th { font-size: 18px; font-weight: 500; }
.machining-page .machining-capacity-table td { color: #506371; font-size: 16px; }
.machining-page .machining-capacity-table td strong { display: block; color: #165ba5; font-size: 27px; font-weight: 500; line-height: 1.2; margin-bottom: 8px; }
.machining-page .machining-capacity-table td span { display: block; }
.machining-page .machining-capacity-table tr:last-child > * { border-bottom: 0; }
.machining-page .machining-tolerance-note { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 35px; padding-top: 28px; }
.machining-page .machining-tolerance-note h3 { margin: 0; font-size: 23px; font-weight: 400; line-height: 1.35; }
.machining-page .machining-tolerance-note p { margin: 0; font-size: 16px; }
.machining-page .machining-connected { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.machining-page .machining-connected a + a { margin-top: 0; }
.machining-page .machining-photos { background: #eff4f7; }
.machining-page .machining-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.machining-page .machining-photo-grid article { min-width: 0; }
.machining-page .machining-photo-grid h3 { font-size: 22px; font-weight: 400; line-height: 1.3; margin: 20px 0 0; }
.machining-page .machining-photo-slot { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 22px; border: 1px dashed #7892a5; background: #e4edf3; color: #486278; text-align: center; font-size: 15px; }
.machining-page .machining-photo-slot.has-photo { padding: 0; border: 0; overflow: hidden; background: #fff; }
.machining-page .machining-photo-slot img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1000px) {
  .machining-page .machining-capacity-table th,
  .machining-page .machining-capacity-table td { padding: 20px; }
  .machining-page .machining-photo-grid { gap: 18px; }
}
@media (max-width: 760px) {
  .machining-page .machining-capacity-table { min-width: 630px; }
  .machining-page .machining-tolerance-note { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .machining-page .machining-connected,
  .machining-page .machining-photo-grid { grid-template-columns: minmax(0, 1fr); }
  .machining-page .machining-photo-grid { gap: 32px; }
}
@media print {
  .machining-page .machining-photos { display: none; }
  .machining-page .machining-capacity-table { min-width: 0; }
  .machining-page .machining-capacity-table th,
  .machining-page .machining-capacity-table td { padding: 12px; }
  .machining-page .machining-capacity-table tr,
  .machining-page .machining-operations article { break-inside: avoid; }
}
