/* Hide API-driven regions until JS marks them ready (prevents default content flash). */
[data-wscit-capabilities-grid]:not(.is-hydrated),
[data-wscit-capability-page]:not(.is-hydrated),
#vda-pioneering:not(.is-hydrated),
[data-wscit-pioneering-tiles]:not(.is-hydrated),
[data-wscit-solutions]:not(.is-hydrated),
[data-wscit-solutions-page]:not(.is-hydrated),
[data-wscit-system-integrations]:not(.is-hydrated),
[data-wscit-hospitality-projects]:not(.is-hydrated),
#vda-news[data-wscit-blogs]:not(.is-hydrated),
[data-wscit-blog-page]:not(.is-hydrated),
[data-wscit-case-page]:not(.is-hydrated),
[data-wscit-worldwide-offices]:not(.is-hydrated),
[data-wscit-document-center]:not(.is-hydrated),
[data-wscit-training-courses]:not(.is-hydrated),
[data-wscit-careers]:not(.is-hydrated),
[data-wscit-careers-detail]:not(.is-hydrated),
[data-wscit-worldwide-intro]:not(.is-hydrated),
#experience-grid[data-wscit-case-studies]:not(.is-hydrated) .views-infinite-scroll-content-wrapper,
.wscit-hydrate-pending:not(.is-hydrated),
[data-wscit-product-detail]:not(.is-hydrated) .component__banner--hero,
[data-wscit-product-detail]:not(.is-hydrated) .cp-page > main,
[data-wscit-product-detail]:not(.is-hydrated) .rcu-main,
.site-chrome__item--hasmenu .site-chrome__menu:not(.is-hydrated),
.wscit-banner-host:not(.is-hydrated),
.wscit-banner-swap:not(.is-hydrated),
.component__banner--hero:not(.is-hydrated),
.component__banner:not(.is-hydrated),
.page-banner-hero:not(.is-hydrated),
.support-hero:not(.is-hydrated),
.cm-hero:not(.is-hydrated) {
  opacity: 0 !important;
}

[data-wscit-product-detail]:not(.is-hydrated) .component__banner--hero {
  min-height: clamp(220px, 40vw, 560px) !important;
  background-color: #1a1a1a;
}

/* Reserve banner space before image data arrives (avoid height:0 collapse). */
.wscit-banner-host:not(.is-hydrated),
.wscit-banner-swap:not(.is-hydrated),
.component__banner--hero:not(.is-hydrated),
.component__banner:not(.is-hydrated),
.page-banner-hero:not(.is-hydrated),
.support-hero:not(.is-hydrated),
.cm-hero:not(.is-hydrated),
.insights-hero:not(.is-hydrated),
.about-hero:not(.is-hydrated),
.om-hero:not(.is-hydrated),
.sus-hero:not(.is-hydrated),
.laa-hero:not(.is-hydrated),
.ca-hero:not(.is-hydrated),
.cu-hero:not(.is-hydrated),
.cj-hero:not(.is-hydrated),
.svc-hero:not(.is-hydrated),
.trn-hero:not(.is-hydrated),
.doc-hero:not(.is-hydrated),
.sbi-hero:not(.is-hydrated),
.em-hero:not(.is-hydrated),
.wo-banner:not(.is-hydrated),
.hero.hero--with-image:not(.is-hydrated),
section.hero.paragraph--type--hero:not(.hero--no-image):not(.is-hydrated),
.case-study-hero:not(.is-hydrated) {
  min-height: clamp(220px, 40vw, 560px) !important;
  background-color: #1a1a1a;
}

.cm-hero:not(.is-hydrated) {
  min-height: clamp(240px, 38vw, 520px) !important;
}

.page-banner-hero:not(.is-hydrated),
.insights-hero:not(.is-hydrated),
.om-hero:not(.is-hydrated),
.em-hero:not(.is-hydrated),
.sbi-hero:not(.is-hydrated) {
  min-height: clamp(200px, 32vw, 420px) !important;
}

[data-wscit-capabilities-grid].is-hydrated,
[data-wscit-capability-page].is-hydrated,
#vda-pioneering.is-hydrated,
[data-wscit-pioneering-tiles].is-hydrated,
[data-wscit-solutions].is-hydrated,
[data-wscit-solutions-page].is-hydrated,
[data-wscit-system-integrations].is-hydrated,
[data-wscit-hospitality-projects].is-hydrated,
#vda-news[data-wscit-blogs].is-hydrated,
[data-wscit-blog-page].is-hydrated,
[data-wscit-case-page].is-hydrated,
[data-wscit-worldwide-offices].is-hydrated,
[data-wscit-document-center].is-hydrated,
[data-wscit-training-courses].is-hydrated,
[data-wscit-careers].is-hydrated,
[data-wscit-careers-detail].is-hydrated,
[data-wscit-worldwide-intro].is-hydrated,
#experience-grid[data-wscit-case-studies].is-hydrated .views-infinite-scroll-content-wrapper,
.wscit-hydrate-pending.is-hydrated,
[data-wscit-product-detail].is-hydrated .component__banner--hero,
[data-wscit-product-detail].is-hydrated .cp-page > main,
[data-wscit-product-detail].is-hydrated .rcu-main,
.site-chrome__item--hasmenu .site-chrome__menu.is-hydrated,
.wscit-banner-host.is-hydrated,
.wscit-banner-swap.is-hydrated,
.component__banner--hero.is-hydrated,
.component__banner.is-hydrated,
.page-banner-hero.is-hydrated,
.support-hero.is-hydrated,
.cm-hero.is-hydrated {
  opacity: 1 !important;
  background-color: transparent;
  transition: opacity 0.2s ease;
}
