:root {
  --yc-page-surface: #fff;
  --yc-page-surface-alt: #f8f8f8;
  --yc-page-ink: #231815;
}

#main {
  background-color: var(--yc-page-surface);
}

/* Override the default Enfold texture without overriding individual photo sections. */
#main .main_color:not([data-section-bg-repeat]):not(.av-section-color-overlay-active):not([style*="background-image"]) {
  background-color: var(--yc-page-surface);
  background-image: none;
}

:where(#main) .alternate_color,
:where(#main) .alternate_color .site-background {
  background-color: var(--yc-page-surface-alt);
}

/* The legacy project introductions set their panel and copy colors inline. */
:is(.postid-3746, .postid-3622) #av-layout-grid-1 .flex_cell.avia-builder-el-17 {
  background-color: var(--yc-page-surface-alt) !important;
}

:is(.postid-3746, .postid-3622) #av-layout-grid-1 .avia-builder-el-17 :is(.av-special-heading-tag, .avia_textblock) {
  color: var(--yc-page-ink) !important;
}

/* Engineering portfolio and the two legacy project introductions. */
#main :is(.av-lbud3dro-9521828e43669f6e07f180b77fdd7211, .av-1cl29aq-b896f5b6c0aa45739c5692d279a8868c, .av-2jmesg6-e168fe656663b7404ccc2b6925cfe765) {
  background-color: var(--yc-page-ink);
  background-image: url("/brand/project-performance-hero.jpg");
}

/* Public progress index and the two legacy project progress indexes. */
#main :is(.av-2khlgu9-ff67fb9d1f23e3c6e467f7ff319885a8, .av-1re12hq-facd3614284a05481b284d2f09797785, .av-khk2yd-11e0d090e7d3cc7aed66363131c52d5b) {
  background-color: var(--yc-page-ink);
  background-image: url("/wp-content/uploads/2022/12/banner_1.jpg");
}

#main .av-944wv8-0cfd54a7df80ea8065b7a0cc5713a385 {
  background-color: var(--yc-page-ink);
  background-image: url("/brand/contact-hero.jpg");
}

#main .av-944wv8-0cfd54a7df80ea8065b7a0cc5713a385 .av-section-color-overlay {
  opacity: .55;
}

#main .av-lhhbmud9-0640d62c60e375fa2f32f560525bc312 {
  background-color: var(--yc-page-ink);
  background-image: url("/brand/privacy-hero.jpg");
}

#main .yc-jia-progress-card {
  background-color: var(--yc-page-surface-alt);
}

#main #yc-jia .ycj-cta {
  background-color: var(--yc-page-ink);
}
