/*
 * Corporate parity layer — odd/tasks/full-site-live-parity.md T2, batch 4 "corporate" (S1-S4).
 *
 * Pages (WordPress page id / slug):
 *   777038 creole-translators   (About Us)
 *   376265 meet-our-team
 *   631126 clients
 *   425763 talent               (voice talent; the audio sources are fixed in content, see report)
 *   752918 press-and-media
 *   444193 privacy-policy
 *   297204 social-responsibility-creole-solutions
 *   572638 resources
 *
 * Every value below is measured on the page's own live source
 * https://www.creolesolutions.com/<slug> at 1440 and 390 — colour/size/weight SETS of the text
 * nodes (HubSpot nests copy in spans, so a wrapper's own computed colour lies), the painted band
 * of each section (colour or gradient), and the live hero band's own background-image. The
 * instruments and raw output are in data/out/full-site-live-parity/batch-corporate/:
 * probe.pre.json / probe.post.json (per text element), bandstyle.json (per section paint),
 * diff-local-pre.txt (before) and diff-local-final.txt (after).
 *
 * Scope contract:
 * - functions.php enqueues this file on the FRONT of exactly these eight page ids and on the edit
 *   screen of exactly those eight posts. Nothing else loads it, and every rule below also carries
 *   an explicit body.page-id-* prefix, so even a mis-enqueue cannot leak: cs-hero-band alone is on
 *   35+ pages, cs-linked-clients on 12, cs-affiliations on 10, frp-recent-posts on 10, and
 *   .creole-hubdb-directory on 6 (/press-and-media/, /resources/ and /talent/ share one renderer).
 * - It declares the two shared sheets as dependencies, so it loads AFTER style.css and
 *   editor-style.css and wins the cascade against their equally-specific rules without editing
 *   them (priority 40, after the indiana/chicago sheets at 20 and states-parity at 30).
 * - Hero bands are painted here, not in content: the live rows are single-background-image bands
 *   and the same approach is already committed for the contact hero (editor-style.css, page
 *   200979). Each URL points at the media-library copy of the live file, because the
 *   `uploads/creole-bundle/` copy of five of these six images is absent from the deployed uploads
 *   bundle (HTTP 404 on Hostinger) while `uploads/<year>/<month>/…-5.png` answers 200 on both
 *   origins. The translators pattern is shipped as a theme asset for the same reason: it exists in
 *   no media-library attachment at all.
 * - No stored content changes: this unit is CSS only (post_content, slugs and post_parent are
 *   untouched; the read-back in data/out/full-site-live-parity/batch-corporate/verify.txt proves
 *   it).
 */

/* ==========================================================================
   1. HERO BANDS (all eight pages carry .cs-hero-band except 297204, which has
   .cs-sr-hero and already paints its own measured photo band).
   Live: 1500×500 photo band, `background-size: cover`, `50% 50%`, copy flush left.
   Ours: no background at all and centred copy. Text colour is white on the dark
   photos (777038/376265/425763/752918) and black on the light ones (631126/572638),
   measured from the live text nodes, not from the band.
   ========================================================================== */

body.page-id-777038 .entry-content > .cs-hero-band,
body.page-id-376265 .entry-content > .cs-hero-band,
body.page-id-631126 .entry-content > .cs-hero-band,
body.page-id-425763 .entry-content > .cs-hero-band,
body.page-id-752918 .entry-content > .cs-hero-band,
body.page-id-572638 .entry-content > .cs-hero-band {
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
}

/* 777038 About Us — navy veve pattern (live hubfs/Blue background.png). */
body.page-id-777038 .entry-content > .cs-hero-band {
	background-image: url("../images/translators-hero-navy.png");
}

body.page-id-376265 .entry-content > .cs-hero-band {
	background-image: url("/wp-content/uploads/2022/07/Meet20Our20Team20Haitian20Creole20Translators-5.png");
}

body.page-id-631126 .entry-content > .cs-hero-band {
	background-image: url("/wp-content/uploads/2022/07/Our20Client_Community-5.png");
}

body.page-id-425763 .entry-content > .cs-hero-band {
	background-image: url("/wp-content/uploads/2022/07/VoiceTalent-Creole-5.png");
}

body.page-id-752918 .entry-content > .cs-hero-band {
	background-image: url("/wp-content/uploads/2025/02/Creole20Solution2020Header20Images20press20and20media-5.png");
}

body.page-id-572638 .entry-content > .cs-hero-band {
	background-image: url("/wp-content/uploads/2022/07/Website20Header20Images2028229-5.png");
}

/* Hero copy: flush left on all six, title and lead alike. */
body.page-id-777038 .cs-hero-band .wp-block-heading,
body.page-id-777038 .cs-hero-band p,
body.page-id-376265 .cs-hero-band .wp-block-heading,
body.page-id-376265 .cs-hero-band p,
body.page-id-631126 .cs-hero-band .wp-block-heading,
body.page-id-631126 .cs-hero-band p,
body.page-id-425763 .cs-hero-band .wp-block-heading,
body.page-id-425763 .cs-hero-band p,
body.page-id-752918 .cs-hero-band .wp-block-heading,
body.page-id-752918 .cs-hero-band p,
body.page-id-572638 .cs-hero-band .wp-block-heading,
body.page-id-572638 .cs-hero-band p {
	text-align: left;
}

/* Live's hero copy sits in a 594px column inside the 1220px page column (measured: h1 x=110,
   w=594 on all six). Ours spans the whole 1404px cover, so every title wraps at a different
   word. The container is centred at the page's own column width and only the copy is capped. */
body.page-id-777038 .cs-hero-band .wp-block-cover__inner-container,
body.page-id-376265 .cs-hero-band .wp-block-cover__inner-container,
body.page-id-631126 .cs-hero-band .wp-block-cover__inner-container,
body.page-id-425763 .cs-hero-band .wp-block-cover__inner-container,
body.page-id-752918 .cs-hero-band .wp-block-cover__inner-container,
body.page-id-572638 .cs-hero-band .wp-block-cover__inner-container {
	max-width: 1220px;
	margin-left: auto;
	margin-right: auto;
}

body.page-id-777038 .cs-hero-band .wp-block-cover__inner-container > *,
body.page-id-376265 .cs-hero-band .wp-block-cover__inner-container > *,
body.page-id-631126 .cs-hero-band .wp-block-cover__inner-container > *,
body.page-id-425763 .cs-hero-band .wp-block-cover__inner-container > *,
body.page-id-752918 .cs-hero-band .wp-block-cover__inner-container > *,
body.page-id-572638 .cs-hero-band .wp-block-cover__inner-container > * {
	max-width: 594px;
}

/* Live hero line heights, measured: h1 1.5 on 777038/376265/631126 (40px→60px, 48px→72px) and
   1.4 on 425763/752918/572638, which already match; the 20px lead is 28px (1.4) on all six
   while ours was 25px or 32px. */
body:is(.page-id-777038, .page-id-376265, .page-id-631126) .cs-hero-band h1 {
	line-height: 1.5;
}

body.page-id-777038 .cs-hero-band h4,
body:is(.page-id-376265, .page-id-631126, .page-id-572638) .cs-hero-band p {
	line-height: 1.4;
}

/* White copy over the dark photo bands. The subtitle carries the core `has-ink-alt-color`
   preset, which core ships as `!important`, so the hero's own white is declared the same way
   (same mechanism as the committed page-736339 hero rules). 425763 is measured #FAFAFA, the
   other three #FFFFFF. */
body.page-id-777038 .cs-hero-band .wp-block-heading,
body.page-id-777038 .cs-hero-band p,
body.page-id-376265 .cs-hero-band .wp-block-heading,
body.page-id-376265 .cs-hero-band p,
body.page-id-752918 .cs-hero-band .wp-block-heading,
body.page-id-752918 .cs-hero-band p {
	color: #ffffff !important;
}

body.page-id-425763 .cs-hero-band .wp-block-heading,
body.page-id-425763 .cs-hero-band p {
	color: #fafafa !important;
}

/* 777038 h1 48px (live), ours 40px; the subtitle is 20px/400 on live, ours 700. */
body.page-id-777038 .cs-hero-band h1 {
	font-size: 48px;
}

body.page-id-777038 .cs-hero-band h4 {
	font-weight: 400;
}

/* 425763 h1 48px (live), ours 40px; 752918 h1 48px (live), ours 40px. */
body.page-id-425763 .cs-hero-band h1,
body.page-id-752918 .cs-hero-band h1 {
	font-size: 48px;
}

/* 376265 subtitle is 20px on live, ours 18px. */
body.page-id-376265 .cs-hero-band p {
	font-size: 20px;
}

/* 631126 / 572638 sit on light photos: live paints the title and the lead #000. */
body.page-id-631126 .cs-hero-band .wp-block-heading,
body.page-id-631126 .cs-hero-band p,
body.page-id-572638 .cs-hero-band .wp-block-heading,
body.page-id-572638 .cs-hero-band p {
	color: #000000 !important;
}

/* 631126 lead is 20px on live (ours 18px); 572638 lead is 20px too. */
body.page-id-631126 .cs-hero-band p,
body.page-id-572638 .cs-hero-band p {
	font-size: 20px;
}

/* 631126 hero CTA: live is 16px white on #D21034 (ours 18px). */
body.page-id-631126 .cs-hero-band .wp-block-button__link {
	font-size: 16px;
}

/* ==========================================================================
   2. 777038 creole-translators — band paints and copy scale.
   Live: "Every word choice matters" and "Our team" sit on #F5F8FA, "Over 75
   million words translated" on #5788EA with white copy, "Company news" on
   #F7849F with white copy. Ours paints all four white.
   ========================================================================== */

/* "Every word choice matters" and "Our team" — the two light bands. */
body.page-id-777038 .entry-content > .wp-block-group:has(.wp-block-buttons):not(.cs-shared-cta),
body.page-id-777038 .entry-content > .wp-block-group:has(.creole-hubdb-directory) {
	background-color: #f5f8fa;
}

/* Live centres this single-heading band (ours is flush left). The band is the page's only
   > .wp-block-group whose direct child is the h2 alone: the icon-card row has a button, "Our
   team" holds the directory, "Company news" the recent posts, and "Over 75 million" hides its
   heading inside columns. */
body.page-id-777038 .entry-content > .wp-block-group:has(> h2.wp-block-heading):not(:has(.wp-block-buttons)):not(:has(.creole-hubdb-directory)):not(:has(.frp-recent-posts)):not(:has(.wp-block-columns)) > h2 {
	text-align: center;
}

/* "Over 75 million words translated" — the only band of this page holding the blue
   illustration of the writer's desk (live: solid #5788EA). */
body.page-id-777038 .entry-content > .wp-block-group:has(img[src*="DAE6VNtB9EQ"]) {
	background-color: #5788ea;
}

body.page-id-777038 .entry-content > .wp-block-group:has(img[src*="DAE6VNtB9EQ"]) .wp-block-heading,
body.page-id-777038 .entry-content > .wp-block-group:has(img[src*="DAE6VNtB9EQ"]) p,
body.page-id-777038 .entry-content > .wp-block-group:has(img[src*="DAE6VNtB9EQ"]) strong {
	color: #fafafa;
}

/* Live body copy inside those bands is 16px; ours inherits the theme's 18px. Narrowed to the
   two light bands and the blue one so the recent-posts band keeps its own scale. */
body.page-id-777038 .entry-content > .wp-block-group:has(.wp-block-buttons):not(.cs-shared-cta) p,
body.page-id-777038 .entry-content > .wp-block-group:has(img[src*="DAE6VNtB9EQ"]) p {
	font-size: 16px;
}

/* "Our team" lead — an h4 on the page: live 24px/400 (ours 18px/700), and live paints this
   band's two headings #000. */
body.page-id-777038 .entry-content > .wp-block-group:has(.creole-hubdb-directory) > h4 {
	font-size: 24px;
	font-weight: 400;
}

body.page-id-777038 .entry-content > .wp-block-group:has(.creole-hubdb-directory) > h2,
body.page-id-777038 .entry-content > .wp-block-group:has(.creole-hubdb-directory) > h4 {
	color: #000000;
}

/* The icon-card rows ("We're focused" etc.) are flush left on live at 390 too; ours centre
   their text cell at that width. */
@media (max-width: 767px) {
	body.page-id-777038 .cs-icon-card .cs-icon-card__title,
	body.page-id-777038 .cs-icon-card .cs-icon-card__text {
		text-align: left;
	}
}

/* "Company news": live #F7849F band with white 48px title, white 20px/400 lead and the
   recent-posts cards inside it (title 20px white, "Read more" #FAFAFA/#000 16px). */
body.page-id-777038 .entry-content > .wp-block-group:has(.frp-recent-posts) {
	background-color: #f7849f;
}

body.page-id-777038 .entry-content > .wp-block-group:has(.frp-recent-posts) .wp-block-heading {
	color: #fafafa;
}

body.page-id-777038 .entry-content > .wp-block-group:has(.frp-recent-posts) h5.wp-block-heading {
	font-size: 20px;
	font-weight: 400;
}

/* The shared recent-posts group carries its own light gradient (editor-style.css) inside the
   pink band, so it has to be cleared for the band to show. */
body.page-id-777038 .frp-recent-posts {
	background: none;
}

body.page-id-777038 .frp-recent-posts .wp-block-post-title {
	font-size: 20px;
	line-height: 1.4;
	color: #fafafa;
}

body.page-id-777038 .frp-recent-posts .wp-block-post-title a {
	color: #fafafa;
}

body.page-id-777038 .frp-recent-posts__button {
	background: #fafafa;
	color: #000000;
	font-size: 16px;
}

body.page-id-777038 .frp-recent-posts__button:hover {
	background: #ffffff;
	color: #000000;
}

/* ==========================================================================
   3. 376265 meet-our-team — "Interested in joining our team?" band.
   Live: navy #00209F band, white copy, body 16px (ours white band, ink copy).
   ========================================================================== */

body.page-id-376265 .entry-content > .wp-block-group:has(.wp-block-buttons):not(.cs-shared-cta) {
	background-color: #00209f;
}

body.page-id-376265 .entry-content > .wp-block-group:has(.wp-block-buttons):not(.cs-shared-cta) .wp-block-heading,
body.page-id-376265 .entry-content > .wp-block-group:has(.wp-block-buttons):not(.cs-shared-cta) p {
	color: #ffffff;
}

body.page-id-376265 .entry-content > .wp-block-group:has(.wp-block-buttons):not(.cs-shared-cta) p {
	font-size: 16px;
}

/* Live: "Meet the Management Team" 38px centred (ours 32px, flush left). */
body.page-id-376265 .entry-content > .wp-block-group:has(.creole-hubdb-directory) h2.wp-block-heading {
	font-size: 38px;
	text-align: center;
}

/* ==========================================================================
   4. 297204 social-responsibility — section headings and hero lead.
   Live: hero lead white (ours crimson), section h3 28px/700, body 16px (ours
   24px and 18px). The "Collaborations…" h2 stays crimson: live paints it
   crimson too.
   ========================================================================== */

/* The theme's own `body.page-id-297204 h2.has-text-color { color: #D21034 !important }` repaints
   this hero lead crimson over its stored white, so the correction has to outrank it. */
body.page-id-297204 .cs-sr-hero h2.has-text-color {
	color: #ffffff !important;
}

body.page-id-297204 .entry-content h3.wp-block-heading {
	font-size: 28px;
}

body.page-id-297204 .entry-content p,
body.page-id-297204 .entry-content li {
	font-size: 16px;
}

/* The two "why we do it" lists are #000 on live; ours inherit the theme's ink #231F20. */
body.page-id-297204 .entry-content li {
	color: #000000;
}

/* "Engagement in Chicago's Business Community" sits on a full-bleed #FAFAFA band on live; ours
   is bare. Same 100vw band mechanism the committed hero rules for this page already use. */
body.page-id-297204 .entry-content > .wp-block-columns:has(img[src*="pexels-rdne"]) {
	background-color: #fafafa;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 60px calc(50vw - 610px);
	box-sizing: border-box;
}

/* The crimson preset on this page's h2/h3 comes from the theme's own
   `.is-style-accent-red`/inline styles. Live keeps "Collaborations with Non-Profit
   Organizations" crimson and the four card captions crimson, so nothing is repainted here. */

/* ==========================================================================
   5. 444193 privacy-policy — legal copy scale.
   Live: h3 28px (ours 24px), paragraphs and list items 16px (ours 18px).
   The cyan band already carries the theme's own measured #0AB0D8; live's band
   measures #05AED7, a five-unit step that is not worth a second paint rule.
   ========================================================================== */

body.page-id-444193 .entry-content h3 {
	font-size: 28px;
}

body.page-id-444193 .entry-content p,
body.page-id-444193 .entry-content li {
	font-size: 16px;
}

/* ==========================================================================
   6. DIRECTORY CARDS (team, talent, press, resources, testimonials).
   One renderer (.creole-hubdb-directory) paints five card kinds. Live on every
   one of these pages: card title 24px/400 (ours 18px/700 from the generic h4),
   sub-line and description 16px (ours 18px). Live button in the press/resources
   cards is #0AB0D8 with white 16px copy (ours #EFEFEF with black copy).
   ========================================================================== */

body:is(.page-id-777038, .page-id-376265, .page-id-631126, .page-id-425763, .page-id-752918, .page-id-572638) .creole-hubdb-directory .textingrid h4 {
	font-size: 24px;
	font-weight: 400;
}

body:is(.page-id-777038, .page-id-376265, .page-id-631126, .page-id-425763, .page-id-752918, .page-id-572638) .creole-hubdb-directory .textingrid > div > p,
body:is(.page-id-777038, .page-id-376265, .page-id-631126, .page-id-425763, .page-id-752918, .page-id-572638) .creole-hubdb-directory .carddesc,
body:is(.page-id-777038, .page-id-376265, .page-id-631126, .page-id-425763, .page-id-752918, .page-id-572638) .creole-hubdb-directory .carddesc p {
	font-size: 16px;
}

/* A link inside a card description: live paints it #000 (ours took the theme link blue). */
body:is(.page-id-777038, .page-id-376265, .page-id-631126, .page-id-425763, .page-id-752918, .page-id-572638) .creole-hubdb-directory .carddesc a {
	color: #000000;
}

body:is(.page-id-752918, .page-id-572638) .creole-hubdb-directory .textingrid button {
	background-color: #0ab0d8;
	color: #ffffff;
	font-size: 16px;
	border: 0;
	border-radius: 0;
}

/* 425763 talent: the library heading is 38px on live (ours 32px); the pink
   "Got a Project in Mind?" band keeps its paint and takes live's 28px/700 white title and
   16px white copy (ours 24px/400 and 18px). */
body.page-id-425763 .entry-content > .wp-block-group:has(.creole-hubdb-directory) h2.wp-block-heading {
	font-size: 38px;
}

body.page-id-425763 .entry-content > .wp-block-group:has(.wp-block-buttons):not(.cs-shared-cta) h3.wp-block-heading {
	font-size: 28px;
	font-weight: 700;
}

body.page-id-425763 .entry-content > .wp-block-group:has(.wp-block-buttons):not(.cs-shared-cta) p {
	font-size: 16px;
}

/* ==========================================================================
   7. 752918 press-and-media — "Explore more Resources" band.
   Live: #D21034 band, 28px white heading, 16px white copy, and a white CTA
   with crimson 16px label (ours: white band, ink copy, crimson CTA).
   ========================================================================== */

body.page-id-752918 .entry-content > .wp-block-group:has(.wp-block-buttons):not(.cs-shared-cta) {
	background-color: #d21034;
}

body.page-id-752918 .entry-content > .wp-block-group:has(.wp-block-buttons):not(.cs-shared-cta) .wp-block-heading,
body.page-id-752918 .entry-content > .wp-block-group:has(.wp-block-buttons):not(.cs-shared-cta) p {
	color: #fafafa;
}

body.page-id-752918 .entry-content > .wp-block-group:has(.wp-block-buttons):not(.cs-shared-cta) .wp-block-heading {
	font-size: 28px;
}

body.page-id-752918 .entry-content > .wp-block-group:has(.wp-block-buttons):not(.cs-shared-cta) p {
	font-size: 16px;
}

body.page-id-752918 .entry-content > .wp-block-group:has(.wp-block-buttons):not(.cs-shared-cta) .wp-block-button__link {
	background-color: #fafafa;
	color: #d21034;
	font-size: 16px;
}

/* ==========================================================================
   8. 572638 resources — "Dive Deeper with Our Blogs" band.
   Live: #D21034 band, 28px/700 white heading, 16px white copy, CTA #FAFAFA with
   crimson 16px label.
   ========================================================================== */

body.page-id-572638 .entry-content > .wp-block-group:has(.wp-block-buttons):not(.cs-shared-cta) {
	background-color: #d21034;
}

body.page-id-572638 .entry-content > .wp-block-group:has(.wp-block-buttons):not(.cs-shared-cta) .wp-block-heading,
body.page-id-572638 .entry-content > .wp-block-group:has(.wp-block-buttons):not(.cs-shared-cta) p {
	color: #fafafa;
}

body.page-id-572638 .entry-content > .wp-block-group:has(.wp-block-buttons):not(.cs-shared-cta) .wp-block-heading {
	font-size: 28px;
	font-weight: 700;
}

body.page-id-572638 .entry-content > .wp-block-group:has(.wp-block-buttons):not(.cs-shared-cta) p {
	font-size: 16px;
}

body.page-id-572638 .entry-content > .wp-block-group:has(.wp-block-buttons):not(.cs-shared-cta) .wp-block-button__link {
	background-color: #fafafa;
	color: #d21034;
	font-size: 16px;
}

/* ==========================================================================
   9. CLIENT ROWS (cs-linked-clients) — labels and the band of 376265.
   Live: the client names are 20px/400 (ours 18px/700) and flush left on every
   page of this batch except 631126, where live centres them. The band behind
   the 376265 row is #FAFAFA (ours white). 631126/425763 already carry #FAFAFA.
   ========================================================================== */

body:is(.page-id-777038, .page-id-376265, .page-id-425763, .page-id-752918, .page-id-572638) .cs-linked-clients .cs-linked-clients__label {
	font-size: 20px;
	font-weight: 400;
	text-align: left;
}

body.page-id-631126 .cs-linked-clients .cs-linked-clients__label {
	font-size: 20px;
	font-weight: 400;
	text-align: center;
}

body.page-id-376265 .cs-linked-clients {
	background-color: #fafafa;
}

/* ==========================================================================
   10. "Affiliations" headings — live paints them ink; the theme's accent-red
   preset paints them crimson on 777038/376265/752918/572638.
   ========================================================================== */

body:is(.page-id-777038, .page-id-376265, .page-id-752918, .page-id-572638) .cs-affiliations .cs-affiliations__title {
	color: #231f20;
}
