/*
 * HELEOS partner portal — manual neutral section backgrounds.
 * No nth-child / automatic alternation is used here.
 * Every neutral section is listed explicitly so individual pages can intentionally
 * use two white or two gray sections in a row when the composition needs it.
 * Deliberately blue/orange/dark sections are not overridden.
 */
:root {
  --heleos-section-gray: #f5f7fa;
  --heleos-section-white: #ffffff;
}

/* HOME: all neutral homepage sections are white by default.
 * Individual sections can be switched to gray explicitly later. */
body.page-home .b2b-section-solutions { background: var(--heleos-section-white); }
body.page-home .b2b-section-products { background: var(--heleos-section-gray); }
body.page-home .b2b-production { background: var(--heleos-section-white); }
body.page-home .b2b-import { background: var(--heleos-section-gray); }
body.page-home .b2b-import-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body.page-home .b2b-service { background: var(--heleos-section-white); }
body.page-home .b2b-partners { background: var(--heleos-section-white); }
body.page-home .b2b-resources { background: var(--heleos-section-white); }
body.page-home .b2b-news { background: var(--heleos-section-gray); }
body.page-home .b2b-history { background: var(--heleos-section-white); }
body.page-home .b2b-final { background: var(--heleos-section-white); }

/* PRODUCTION: dark process/final sections retain their native backgrounds. */
body.page-production .production-value { background: var(--heleos-section-white); }
body.page-production .production-advantages { background: var(--heleos-section-gray); }
body.page-production .production-audiences { background: var(--heleos-section-white); }
body.page-production .production-documents { background: var(--heleos-section-gray); }
body.page-production .production-service { background: var(--heleos-section-white); }

/* IMPORT SUBSTITUTION: explicit by semantic block, not by DOM position. */
body.page-import .import-intro { background: var(--heleos-section-white) !important; }
body.page-import .import-logic { background: var(--heleos-section-gray) !important; }
body.page-import .import-model-section { background: var(--heleos-section-white) !important; }
body.page-import .import-production { background: var(--heleos-section-gray) !important; }
body.page-import .import-benefits { background: var(--heleos-section-white) !important; }
body.page-import .import-procurement { background: var(--heleos-section-gray) !important; }
body.page-import .import-documents { background: var(--heleos-section-white) !important; }
body.page-import .import-scenarios { background: var(--heleos-section-gray) !important; }
body.page-import .import-request { background: var(--heleos-section-white) !important; }

/* SOLUTIONS: colored economics/conversion/final sections keep their design. */
body.page-solutions .sb2b-proof-strip { background: var(--heleos-section-gray); }
body.page-solutions .sb2b-distribution-section { background: var(--heleos-section-white); }
body.page-solutions .sb2b-portfolio-section { background: var(--heleos-section-gray); }
body.page-solutions .sb2b-crosssell-section { background: var(--heleos-section-white); }
body.page-solutions .sb2b-types-section { background: var(--heleos-section-gray); }
body.page-solutions .sb2b-support-section { background: var(--heleos-section-white); }
body.page-solutions .sb2b-russia-section { background: var(--heleos-section-gray); }
body.page-solutions .sb2b-customers-section { background: var(--heleos-section-white); }

/* PARTNERS: the dark support block is intentionally excluded. */
body.page-partners .partners-hero { background: var(--heleos-section-white); }
body.page-partners .partners-access-section { background: var(--heleos-section-gray); }
body.page-partners .partners-section-white { background: var(--heleos-section-white); }
body.page-partners main > .partners-section:not(.partners-section-white):not(.partners-section-dark):not(.partners-response-section):not(.partners-form-section) { background: var(--heleos-section-gray); }
body.page-partners .partners-response-section { background: var(--heleos-section-gray); }
body.page-partners .partners-form-section { background: var(--heleos-section-white); }

/* CONTACTS / DOCUMENTS / SERVICE: explicit structural blocks. */
body.page-contacts .page-hero,
body.page-documents .page-hero,
body.page-service .page-hero { background: var(--heleos-section-white); }
body.page-contacts .page-section,
body.page-documents .page-section,
body.page-service main > .section:not(.white) { background: var(--heleos-section-gray); }
body.page-contacts .section.white,
body.page-documents .section.white { background: var(--heleos-section-white); }

/* WARRANTY: these sections are shell-sized by design; keep the page neutral and cards white. */
body.page-warranty main { background: var(--heleos-section-gray); }
body.page-warranty .warranty-hero,
body.page-warranty .warranty-conditions,
body.page-warranty .warranty-contact-panel { background-color: var(--heleos-section-white); }

/* DELIVERY & PAYMENT. */
body.page-delivery main { background: var(--heleos-section-gray); }
body.page-delivery .delivery-intro,
body.page-delivery .delivery-methods,
body.page-delivery .delivery-help-panel { background-color: var(--heleos-section-white); }
body.page-delivery .delivery-payment-section { background: var(--heleos-section-gray); }

/* NEWS / ARTICLES. */
body.page-news .articles-index { background: var(--heleos-section-white); }
body.page-news .articles-digest { background: var(--heleos-section-gray); }
body.page-news .article-more { background-color: var(--heleos-section-white); }

/* CATALOG / PRODUCT. */
body.page-catalog .hub-catalog { background: var(--heleos-section-gray); }
body.page-catalog .pd-page { background-color: var(--heleos-section-white); }
body.page-catalog .pd-content-card { background-color: var(--heleos-section-white); }
body.page-catalog .pd-section { background: var(--heleos-section-gray); }
body.page-catalog .pd-bottom-cta { background: var(--heleos-section-white); }

/* Legal / uncategorized simple pages: do not auto-alternate by position. */
body.page-default .page-hero { background: var(--heleos-section-white); }
body.page-default .page-section { background: var(--heleos-section-gray); }

/* Deliberately colored sections: listed for clarity, never recolored here. */
.production-process,
.production-final,
.sb2b-economics-section,
.sb2b-conversion-strip,
.sb2b-final-section,
.partners-section-dark,
.section.blue {
  /* Native component background remains authoritative. */
}
