/* GC Hero Banner 3 — split hero: eyebrow, colour-highlighted heading, lead, actions, image. */

@keyframes gc-hb3-reveal { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }

.gc-hb3 {
  --gc-hb3-ink: #14212B;
  --gc-hb3-blue: #5BA7DB;
  --gc-hb3-card-ratio: 0.97;
  padding: 100px 64px;
  overflow: hidden;
  position: relative;
  color: var(--gc-hb3-ink);
  font-family: var(--gc-font-body, 'Inter', system-ui, sans-serif);
  line-height: 1.6;
  box-sizing: border-box;
}

.gc-hb3 *,
.gc-hb3 *::before,
.gc-hb3 *::after { box-sizing: border-box; }

/* Edge to edge band plus a cap on the content inside it. */
.gc-hb3--full { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.gc-hb3-inner { width: 100%; max-width: var(--gc-hb3-max, none); margin-inline: auto; }


.gc-hb3 [data-reveal] {
  opacity: 0;
  translate: 0 28px;
  animation: gc-hb3-reveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--reveal-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  .gc-hb3 [data-reveal] { opacity: 1; translate: none; animation: none; }
}

.gc-hb3-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  align-items: center;
  gap: 64px;
}

.gc-hb3--img-left .gc-hb3-inner { grid-template-columns: 0.82fr 1fr; }
.gc-hb3--img-left .gc-hb3-media { order: -1; }

/* Grid items default to min-width:auto. A fixed media height plus an image
   with an intrinsic ratio gives the item a transferred minimum width of
   height x ratio, which a 1fr track cannot shrink below, so the column ends
   up wider than the section and the content runs off the right edge. */
.gc-hb3-inner > * { min-width: 0; }
.gc-hb3-media img { min-width: 0; }

.gc-hb3-eyebrow {
  display: block;
  font-family: var(--gc-font-body, 'Inter', system-ui, sans-serif);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--gc-hb3-blue);
  margin: 0 0 18px;
}

.gc-hb3-title {
  font-family: var(--gc-font-heading, 'Manrope', system-ui, sans-serif);
  font-weight: 800;
  color: var(--gc-hb3-ink);
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  margin: 0 0 24px;
}

.gc-hb3-title em {
  font-style: normal;
  color: var(--gc-hb3-blue);
}

.gc-hb3-sub {
  font-family: var(--gc-font-body, 'Inter', system-ui, sans-serif);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  color: var(--gc-hb3-ink);
  max-width: 460px;
  margin: 0 0 36px;
}

.gc-hb3-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.gc-hb3-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--gc-font-body, 'Inter', system-ui, sans-serif);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 28px;
  border-radius: var(--gc-radius-sm, 10px);
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.gc-hb3-btn:hover { transform: translateY(-2px); }

.gc-hb3-btn-primary {
  background: var(--gc-hb3-blue);
  color: #fff;
  border: none;
}

/* --gc-hb3-btn2 is deliberately NOT declared on .gc-hb3: left undefined, every
   reference falls back to the accent, so the outline button keeps its original
   look on every existing page. The Secondary button control only sets it when
   given a value. */
.gc-hb3-btn-secondary {
  background: transparent;
  color: var(--gc-hb3-btn2, var(--gc-hb3-blue));
  border: 1px solid color-mix(in srgb, var(--gc-hb3-btn2, var(--gc-hb3-blue)) 40%, transparent);
}

.gc-hb3-btn-secondary:hover { border-color: var(--gc-hb3-btn2, var(--gc-hb3-blue)); }

.gc-hb3-media {
  position: relative;
  aspect-ratio: var(--gc-hb3-card-ratio);
  border-radius: var(--gc-radius-md, 20px);
  overflow: hidden;
  border: 2px solid color-mix(in srgb, var(--gc-hb3-blue) 60%, transparent);
}

.gc-hb3-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .gc-hb3 { padding: 64px 24px; }
  .gc-hb3-inner { grid-template-columns: 1fr; gap: 40px; }
  .gc-hb3--img-left .gc-hb3-inner { grid-template-columns: 1fr; }
  .gc-hb3-media { aspect-ratio: 4/3; order: -1; }
  .gc-hb3-sub { max-width: none; }
}

@media (max-width: 640px) {
  .gc-hb3 { padding: 48px 20px; }
  .gc-hb3-inner { gap: 26px; }
  .gc-hb3-media { aspect-ratio: 16/9; border-radius: var(--gc-radius-sm, 12px); border-width: 1px; }
  .gc-hb3-eyebrow { font-size: 11px; letter-spacing: 0.14em; margin: 0 0 10px; }
  .gc-hb3-title { font-size: clamp(1.7rem, 7.5vw, 2.1rem); margin: 0 0 14px; }
  .gc-hb3-sub { font-size: 15px; line-height: 1.5; margin: 0 0 22px; }
  .gc-hb3-actions { gap: 10px; }
  .gc-hb3-btn { width: 100%; justify-content: center; min-height: 44px; padding: 13px 20px; letter-spacing: 0.06em; }
}

@media (max-width: 480px) {
  .gc-hb3 { padding: 40px 16px; }
  .gc-hb3-inner { gap: 22px; }
  .gc-hb3-title { font-size: clamp(1.5rem, 7vw, 1.85rem); }
  .gc-hb3-sub { font-size: 14.5px; margin: 0 0 18px; }
}


/* ---- Careers / About treatment (moved out of page-scoped CSS) ---- */

.gc-hb3-eyebrow::before { display: none;
}

.gc-hb3-title {
	font-family: var(--gc-font-heading, "Manrope", system-ui, sans-serif);
	font-weight: 800;
	font-size: var(--gcab-h1);
	line-height: 1.08;
	letter-spacing: -.024em;
	margin: 0 0 20px;
}

.gc-hb3 { padding: var(--gcab-pad-y) 0;
}

.gc-hb3-media {
	aspect-ratio: auto;
	height: var(--gcab-media-h);
}

.gc-hb3-btn-secondary {
	color: var(--gcab-accent, var(--gc-blue-dark, #3D82B3));
	border: 1px solid color-mix(in srgb, var(--gcab-accent, var(--gc-blue-dark, #3D82B3)) 32%, transparent);
}

.gc-hb3-btn-secondary:hover {
	border-color: var(--gcab-accent, var(--gc-blue-dark, #3D82B3));
	background: color-mix(in srgb, var(--gcab-glow) 8%, transparent);
}


/* Self-contained design tokens. Everything this widget needs is declared on
   its own root, so it styles itself wherever it is dropped: no page class, no
   body class, no shared stylesheet. The accent follows the widget's own
   Elementor colour control. */
.gc-hb3 {
	--gcab-accent: var(--gc-hb3-blue, #5BA7DB);
	--gcab-glow: var(--gc-hb3-blue, #5BA7DB);
	--gcab-line: var(--gc-line, #E1E9EE);
	--gcab-shadow: var(--gc-shadow-card, 0 10px 28px -8px rgba(20, 33, 43, 0.12));
	--gcab-radius: var(--gc-radius-md, 16px);
	--gcab-pad-y: 64px;
	--gcab-gutter: 48px;
	--gcab-eyebrow-size: 11.5px;
	--gcab-eyebrow-gap: 14px;
	--gcab-eyebrow-mb: 14px;
	--gcab-h1: clamp(2rem, 1.55rem + 2.1vw, 3rem);
	--gcab-h2: clamp(1.6rem, 1.35rem + 1vw, 2.25rem);
	--gcab-lead: 16px;
	--gcab-media-h: 420px;
	--gcab-tile-h: 236px;
	--gcab-staff-h: 230px;
	--gcab-glow-edge: 1px solid color-mix(in srgb, var(--gc-hb3-blue, #5BA7DB) 70%, transparent);
	--gcab-glow-ring:
		0 0 0 1px color-mix(in srgb, var(--gc-hb3-blue, #5BA7DB) 22%, transparent),
		0 0 34px color-mix(in srgb, var(--gc-hb3-blue, #5BA7DB) 48%, transparent),
		0 0 82px color-mix(in srgb, var(--gc-hb3-blue, #5BA7DB) 19%, transparent);
	--gcab-glow-ring-hover:
		0 0 0 1px color-mix(in srgb, var(--gc-hb3-blue, #5BA7DB) 34%, transparent),
		0 0 46px color-mix(in srgb, var(--gc-hb3-blue, #5BA7DB) 48%, transparent),
		0 0 102px color-mix(in srgb, var(--gc-hb3-blue, #5BA7DB) 24%, transparent);
}

@media (max-width: 640px) {
	.gc-hb3 {
		--gcab-pad-y: 42px;
		--gcab-gutter: 20px;
		--gcab-eyebrow-size: 10.5px;
		--gcab-eyebrow-gap: 10px;
		--gcab-eyebrow-mb: 12px;
		--gcab-h1: clamp(1.75rem, 7vw, 2.1rem);
		--gcab-h2: 1.6rem;
		--gcab-lead: 15px;
		--gcab-radius: 14px;
		--gcab-media-h: 240px;
		--gcab-tile-h: 200px;
		--gcab-staff-h: 190px;
	}
}

/* Eyebrow: one spec across every Gencore widget. Inter 11.5/600/.16em,
   uppercase, no trailing rule. */
.gc-hb3-eyebrow {
	display: block;
	font-family: var(--gc-font-body, "Inter", system-ui, sans-serif);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	line-height: 1.4;
	margin-bottom: 14px;
}

.gc-hb3-eyebrow::before,
.gc-hb3-eyebrow::after { display: none; }

@media (max-width: 640px) {
	.gc-hb3-eyebrow { font-size: 10.5px; margin-bottom: 12px; }
}

@media (max-width: 900px) {
	.gc-hb3 { --gcab-media-h: 320px; }
}

@media (max-width: 640px) {
	.gc-hb3 { --gcab-media-h: 240px; }
}

@media (max-width: 480px) {
	.gc-hb3 { --gcab-media-h: 210px; }
}
