/* MJK Electric — CNC & Machine Tool Electrical Troubleshooting page
   (templates/website/services/cnc-machine-troubleshooting.html). Loaded after css/home_v2.css (tokens, nav,
   buttons, section heads, statement and stats, the split "live" section, ask bar, call to action, footer),
   css/services.css (photo header, index strip, check lists, the fault list), css/service_detail.css (photo
   blocks, the two-option block, questions, related services) and css/cnc_install.css (the one-line drawn as
   rows and the numbered steps beside it: .install, .drop, .msteps). See docs/home_v2.md. */

/* ----------------------------------------------------------------- header */
/* the machine, its disconnect and the meter cart sit in the right half of the photo */
.trouble .shero__media img { object-position: 70% 50%; }
@media (min-width: 901px) {
    /* a long second line ("Electrical Troubleshooting"): the same size as the installation page's headline, and
       the photo moved right (its left edge is black, like the page behind it) so the line ends before the machine */
    .trouble .shero__title { font-size: clamp(2.7rem, 5.6vw, 5.6rem); }
    .trouble .shero__media { transform: translateX(12%) scale(1.03); transform-origin: 0 20%; }
}
@media (min-width: 901px) and (max-width: 1200px) {
    .trouble .shero__media { transform: translateX(18%) scale(1.03); }
}
.trouble .stat__n small { letter-spacing: .02em; }

/* ------------------------------------------------------------- 01 problems */
.trb-problems .svc__name { margin-bottom: 0; }
/* the fault list of the services page, one fault to a row */
.trb-problems .faults { grid-template-columns: minmax(0, 1fr); margin: 24px 0 22px; }
.trb-problems .faults li { padding: 12px 0; }
.trb__also { color: #dcd9d4; }

/* --------------------------------------------------- 02 how we troubleshoot */
.trb-method { border-top: 1px solid var(--line); }
.trb-method .oneline__intro p { max-width: 32em; }

/* ---------------------------------------------------------- 03 summer faults */
/* afternoon sun at the shop door on a dark page: held back a little until it is pointed at */
.trb-summer .svc__media img { filter: saturate(.88) brightness(.82); }
.trb-summer .svc__body:hover .svc__media img { filter: saturate(1) brightness(.97); }
.trb-summer .svc__copy .checks { margin-bottom: 22px; }

/* ----------------------------------------------------- 04 where our work ends */
/* the electrician and the disconnect sit in the left half of the photo */
.trb-scope .live__media img { object-position: 34% 50%; }
.trb-scope .live__lede { color: #dcd9d4; }
.trb-scope .opts { margin: 28px 0 0; }
.rootcause { margin-top: 28px; padding: 20px 24px 22px; border-left: 2px solid var(--copper); background: rgba(194, 124, 46, .08); }
.rootcause h3 { margin-bottom: 8px; font-family: var(--display); font-weight: 600; font-size: clamp(1.35rem, 1.7vw, 1.6rem); line-height: 1.1; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.rootcause p { font-size: .98rem; line-height: 1.65; color: #dcd9d4; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 900px) {
    .trouble .shero__media img { object-position: 66% 50%; }
}
@media (max-width: 599px) {
    .rootcause { padding: 18px 18px 20px; }
}
