/* Projects page hero — Figma 686:1030. Headline on the right, Figma's isometric pattern faded on the left. */
.wp-block-post-content > .scico-projects-hero { margin-block-start: 0; }

/* Column: the headline (and the optional description under it) sit on the right, centred vertically. */
.scico-projects-hero { position: relative; display: flex; box-sizing: border-box; min-height: 400px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 20px; margin-block-start: 0; padding: 64px 96px; overflow: hidden; background: var(--projects-hero-backgroundColor, #fff); }

/* Figma frame 801×420 shows the right 57.5% of the pattern at full height; cover + right edge keeps that crop at any size.
   The width is a block setting: 763 here, 696 on the clients page (Figma 731×420, right 52.5%). */
/* Brand pattern «rows» (brand-pattern.css, 2026-11-14): the tile lying down, entering from the left edge and fading before the headline. */
.scico-projects-hero__pattern { top: 50%; left: 0; width: min(var(--projects-hero-patternWidth, 763px), 56%); height: 400px; transform: translateY(-50%); --pattern-row: 200px; }

.scico-projects-hero__title { position: relative; max-width: 640px; margin: 0; color: var(--projects-hero-titleColor, #000); font-size: var(--projects-hero-titleSize, 44px); font-weight: var(--projects-hero-titleWeight, 400); line-height: 1.5; text-align: right; }
.scico-projects-hero__title strong,
.scico-projects-hero__title b { font-weight: var(--projects-hero-titleStrongWeight, 700); }
/* Partners page (Figma 702:3025, 32 Light across 1250px) compacted to a readable 18px paragraph of about two lines. */
.scico-projects-hero__description { position: relative; max-width: 720px; margin: 0; color: var(--projects-hero-descriptionColor, #000); font-size: var(--projects-hero-descriptionSize, 18px); font-weight: var(--projects-hero-descriptionWeight, 300); line-height: 1.8; text-align: right; }
.scico-projects-hero__description strong,
.scico-projects-hero__description b { font-weight: 600; }

@media (max-width: 1100px) {
	.scico-projects-hero { min-height: 320px; padding: 48px 32px; }
	.scico-projects-hero__pattern { width: 60%; height: 320px; }
	.scico-projects-hero__title { max-width: 520px; font-size: min(var(--projects-hero-titleSize, 44px), 36px); }
	.scico-projects-hero__description { max-width: 560px; font-size: min(var(--projects-hero-descriptionSize, 18px), 17px); }
}

@media (max-width: 600px) {
	.scico-projects-hero { min-height: 240px; padding: 40px 16px; }
	.scico-projects-hero__pattern { width: 100%; height: 240px; --pattern-row: 140px; opacity: calc(var(--pattern-opacity, .14) * .7); }
	.scico-projects-hero__title { font-size: min(var(--projects-hero-titleSize, 44px), 28px); line-height: 1.6; }
	.scico-projects-hero { gap: 14px; }
	.scico-projects-hero__description { font-size: min(var(--projects-hero-descriptionSize, 18px), 16px); line-height: 1.75; }
}
