/**
 * Practice areas / whisky process — white background, black copy, gold numbers.
 * Sand/gold labels stay gold.
 */

.sc-whis-process,
.sc-post-type-process {
  --process-section-bg: #ffffff;
  --process-section-ink: #101929;
  --process-section-muted: rgba(16, 25, 41, 0.72);
  --process-section-gold: #ba9d4e;

  background-color: var(--cl-widget-bg, var(--process-section-bg)) !important;
  color: var(--cl-widget-text, var(--process-section-ink));
}

.sc-whis-process .whis-process-title,
.sc-whis-process .whis-proc-step-txt,
.sc-whis-process .whis-proc-main-step-title,
.sc-whis-process .whis-proc-main-step-title a,
.sc-whis-process .heading:not(.whis-proc-item-inner-value):not(.home-invest-item-step-txt),
.sc-post-type-process .whis-process-title,
.sc-post-type-process .whis-proc-step-txt,
.sc-post-type-process .whis-proc-main-step-title,
.sc-post-type-process .whis-proc-main-step-title a,
.sc-post-type-process .heading:not(.whis-proc-item-inner-value):not(.home-invest-item-step-txt) {
  color: var(--cl-widget-heading, var(--process-section-ink)) !important;
  -webkit-text-fill-color: var(--cl-widget-heading, var(--process-section-ink)) !important;
}

/* Sticky TOC: inactive names stay navy; active name is gold */
.sc-whis-process .whis-proc-step-wrap,
.sc-post-type-process .whis-proc-step-wrap {
  color: var(--process-section-ink);
}

.sc-whis-process .whis-proc-step-wrap.active,
.sc-post-type-process .whis-proc-step-wrap.active {
  color: var(--process-section-gold);
}

.sc-whis-process .whis-proc-step-wrap.active .whis-proc-step-txt,
.sc-post-type-process .whis-proc-step-wrap.active .whis-proc-step-txt {
  color: var(--process-section-gold) !important;
  -webkit-text-fill-color: var(--process-section-gold) !important;
}

.sc-whis-process .whis-process-sub,
.sc-whis-process .whis-proc-main-sub-step-txt,
.sc-whis-process .txt:not(.whis-proc-step-num):not(.txt-label):not(.whis-process-label),
.sc-post-type-process .txt:not(.whis-proc-step-num):not(.txt-label):not(.whis-process-label) {
  color: var(--cl-widget-text, var(--process-section-muted)) !important;
}

/* Sand / gold labels stay gold */
.sc-whis-process .txt-label,
.sc-whis-process .whis-process-label,
.sc-post-type-process .txt-label,
.sc-post-type-process .whis-process-label {
  color: var(--cl-widget-label, var(--process-section-gold)) !important;
  -webkit-text-fill-color: var(--cl-widget-label, var(--process-section-gold)) !important;
}

/* 01 / 02 / … step numbers + plus line */
.sc-whis-process .whis-proc-step-num,
.sc-whis-process .whis-proc-item-inner-value,
.sc-post-type-process .whis-proc-step-num,
.sc-post-type-process .whis-proc-item-inner-value,
.sc-how-steps .home-invest-item-step-txt,
.home-pre-invest-wrap .home-invest-item-step-txt,
.home-pre-invest-wrap .home-process-step__num,
.sc-invest-how .home-invest-item-step-txt {
  color: #ba9d4e !important;
  -webkit-text-fill-color: #ba9d4e !important;
}

.sc-whis-process .home-invest-step-line,
.sc-post-type-process .home-invest-step-line,
.sc-how-steps .home-invest-step-line,
.home-pre-invest-wrap .home-invest-step-line,
.sc-invest-how .home-invest-step-line {
  background-color: #ba9d4e !important;
}

body:has(.sc-home-hero.mod-law-banner) .sc-whis-process,
body:has(.sc-home-hero.mod-law-banner) .sc-post-type-process {
  background-color: var(--cl-widget-bg, var(--process-section-bg)) !important;
  color: var(--cl-widget-text, var(--process-section-ink));
}
