/* Service colors requested by Columbia; scoped to the service directory. */
.service-directory .directory-card h3 {
  align-self: flex-start;
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-skip-ink: auto;
  line-height: 1.35;
}
.service-directory .directory-card[href="/commercial-electrician/"] h3 { color: #bd2636; }
.service-directory .directory-card[href="/residential-electrician/"] h3 {
  color: #ffdf45;
  background: var(--ink);
  padding: 6px 10px 9px;
  border-radius: 3px;
}
.service-directory .directory-card[href="/wenatchee-solar/"] h3 { color: #147741; }
.service-directory .directory-card[href="/services/"] h3 { color: #81beff; }
.service-directory .directory-card[href="/permanent-outdoor-lighting/"] h3 {
  color: #ffdf45;
  background: var(--ink);
  padding: 6px 10px 9px;
  border-radius: 3px;
  text-decoration: none;
}
.lighting-spectrum {
  --spectrum: linear-gradient(100deg, #ff8d99 0%, #ffc176 18%, #ffeb70 35%, #8ce39e 53%, #80caff 72%, #c6a7ff 87%, #f4a1dc 100%);
  display: inline;
  padding-bottom: 4px;
  color: #ffdf45;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .lighting-spectrum {
    color: transparent;
    text-decoration: none;
    background-image: var(--spectrum), var(--spectrum);
    background-size: 100% 100%, 100% 2px;
    background-position: 0 0, 0 100%;
    background-repeat: no-repeat;
    -webkit-background-clip: text, padding-box;
    background-clip: text, padding-box;
  }
}

/* Five visible steps, with the established hover, tap and keyboard interaction. */
.process-five .process-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.process-five .phase summary { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; padding: 22px 16px; min-height: 180px; gap: 20px 10px; }
.process-five .phase-number { flex: 1; padding-top: 0; }
.process-five .phase-plus { grid-column: 2; grid-row: 1; }
.process-five .phase summary > span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
.process-five .phase strong { font-size: 18px; }
.process-five .phase-bubble { width: 370px; max-width: calc(100vw - 48px); right: auto; padding: 24px; }
.process-five .phase:nth-child(n+4) .phase-bubble { left: auto; right: -1px; }
.process-five .phase-bubble p { font-size: 15px; line-height: 1.6; }
.process-five .phase-bubble p + p { margin-top: 14px; }
.process-five .pricing-note { margin-top: 22px; }
@media (max-width: 1100px) {
  .process-five .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .process-five .phase:last-child { grid-column: span 2; }
  .process-five .phase summary { min-height: 132px; padding: 22px; }
  .process-five .phase-bubble { width: calc(100% + 2px); }
}
@media (max-width: 760px) {
  .process-five .process-grid { grid-template-columns: 1fr; gap: 12px; }
  .process-five .phase:last-child { grid-column: auto; }
  .process-five .phase summary { display: flex; min-height: 104px; gap: 14px; flex-wrap: nowrap; align-items: flex-start; }
  .process-five .phase-number { flex: initial; padding-top: 3px; }
  .process-five .phase summary > span:nth-child(2) { order: initial; flex-basis: auto; }
  .process-five .phase-plus { order: initial; }
  .process-five .phase strong { font-size: 19px; }
  .process-five .phase-bubble { width: 100%; max-width: none; padding: 23px; }
}
@media (forced-colors: active) {
  .service-directory .directory-card h3 { color: LinkText !important; background: Canvas !important; }
  .lighting-spectrum { color: LinkText; background: none; text-decoration: underline; }
}
