/* Division premium hub hero (ported from D3 hub-r3 + QA round 4) */

.page-header.recruit-hero.recruit-hero--division-premium.recruit-hero--hub-r3 {
  --fcp-site-header-height: 80px;
  --fcp-container-max: 1200px;
  --fcp-container-pad: 1.5rem;
  position: relative;
  margin-bottom: 0;
  padding: 0;
  overflow: visible;
  background: #0b1a33;
  text-align: left;
}

.page-header.recruit-hero.recruit-hero--division-premium.recruit-hero--hub-r3::before {
  display: none;
}

.recruit-hero-hub-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0b1a33;
}

.recruit-hero-hub-picture {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

.recruit-hero-hub-img {
  display: block;
  width: 100%;
  height: 100% !important;
  max-height: none;
  object-fit: cover;
  object-position: var(--hero-img-pos, 78% 42%);
  opacity: 1;
  filter: none;
}

.recruit-hero-hub-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Horizontal inset matches global .container (main.css); do not add extra hero-only padding */
.hero-inner.recruit-hero-hub-inner.recruit-hero-hub-inner--align.container {
  width: 100%;
  max-width: var(--fcp-container-max);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  text-align: left;
}

.recruit-hero-hub-copy {
  max-width: 640px;
  width: 100%;
  text-align: left;
  margin: 0;
  padding: 0;
}

.page-header.recruit-hero.recruit-hero--division-premium.recruit-hero--hub-r3 h1 {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  color: #fff;
}

.page-header.recruit-hero.recruit-hero--division-premium.recruit-hero--hub-r3 .page-subtitle,
.page-header.recruit-hero.recruit-hero--division-premium.recruit-hero--hub-r3 .recruit-hero-premium-lead {
  margin: 0 0 1rem !important;
  padding-left: 0 !important;
  text-align: left !important;
  max-width: 640px;
  color: #e2e8f0;
  font-size: 1.125rem;
  line-height: 1.5;
}

.recruit-hero-hub-credit-row {
  background: #0b1a33;
  padding: 8px 0 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.recruit-hero-hub-credit-row--stacked {
  display: none;
}

.recruit-hero-hub-credit-row--below {
  display: block;
}

.recruit-hero-hub-credit-row .container {
  text-align: right;
}

.recruit-hero-hub-credit {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #cbd5e1;
}

.recruit-hero-hub-credit a {
  color: #cbd5e1;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.recruit-hero-hub-credit a:hover {
  color: #fff;
}

.recruit-hero--hub-r3 .recruit-breadcrumb,
.recruit-hero--hub-r3 .recruit-breadcrumb--short {
  display: flex;
  justify-content: flex-start !important;
  text-align: left;
  margin: 0 0 0.65rem;
  padding: 0;
  width: 100%;
}

.recruit-breadcrumb--short {
  font-size: 0.82rem;
  opacity: 0.92;
}

.recruit-hero--hub-r3 .recruit-breadcrumb a,
.recruit-hero--hub-r3 .recruit-breadcrumb span {
  color: rgba(255, 255, 255, 0.82);
}

.recruit-breadcrumb--short .recruit-breadcrumb-sep {
  margin: 0 0.35rem;
  color: rgba(255, 255, 255, 0.55);
}

.recruit-hero-premium-eyebrow {
  margin: 0 0 0.45rem;
  max-width: 640px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f5d78e;
}

.recruit-hero-stat-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  width: 100%;
  max-width: 100%;
  margin-top: 1.15rem;
  box-sizing: border-box;
}

.recruit-hero-stat-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 3.25rem;
  padding: 0.55rem 0.35rem;
  border-radius: 12px;
  background: rgba(8, 18, 40, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-sizing: border-box;
}

.recruit-hero-stat-chip-num {
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.recruit-hero-stat-chip-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #cbd5e1;
  line-height: 1.2;
}

.recruit-hero-premium-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem 1.1rem;
  margin-top: 1.1rem;
  width: 100%;
}

.recruit-hero-premium-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  min-height: 2.75rem;
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  color: #fff;
  background: #b22234;
  border: 2px solid #b22234;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.recruit-hero-premium-cta:hover {
  background: #961b2b;
  border-color: #961b2b;
  color: #fff;
}

.recruit-hero-premium-cta-secondary {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.recruit-hero-premium-cta-secondary:hover {
  color: #fff;
}

.page-content--division-premium-hero {
  padding-top: 1.25rem !important;
}

.page-content--division-premium-hero > .container > section.fade-in:first-child {
  margin-top: 0;
}

/* Desktop: split layout — copy uses the same .container as body; photo on the right */
@media (min-width: 768px) {
  .page-header.recruit-hero.recruit-hero--division-premium.recruit-hero--hub-r3 {
    display: block;
    position: relative;
    min-height: 480px;
    height: auto;
    padding-top: calc(var(--fcp-site-header-height) + 24px);
    padding-bottom: 0;
    background: #0b1a33;
  }

  .page-header.recruit-hero.recruit-hero--division-premium.recruit-hero--hub-r3 h1 {
    font-size: clamp(1.65rem, 1.6vw + 1.15rem, 2.15rem);
    line-height: 1.12;
    max-width: 18ch;
  }

  .recruit-hero-hub-media {
    position: absolute;
    top: 0;
    right: 0;
    width: 52%;
    height: 100%;
    min-height: 480px;
    overflow: hidden;
  }

  .recruit-hero-hub-picture,
  .recruit-hero-hub-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
  }

  /* Soft seam only — keep the photo bright (no full-column dim overlay) */
  .recruit-hero-hub-scrim {
    background: linear-gradient(
      90deg,
      rgba(11, 26, 51, 0.1) 0%,
      rgba(11, 26, 51, 0.04) 8%,
      rgba(11, 26, 51, 0) 12%
    );
  }

  .hero-inner.recruit-hero-hub-inner.recruit-hero-hub-inner--align.container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--fcp-container-max);
    margin-left: auto;
    margin-right: auto;
    padding-top: 0.5rem;
    padding-bottom: 40px;
  }

  .recruit-hero-hub-copy {
    max-width: min(560px, 46%);
    width: 100%;
  }

  .recruit-hero-stat-chips {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 36rem;
  }

  .recruit-hero-stat-chip {
    background: rgba(8, 18, 40, 0.75);
  }

  .recruit-hero-hub-credit-row--stacked {
    display: none !important;
  }

  .recruit-hero-hub-credit-row--below {
    display: block;
  }

  .recruit-hero-premium-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem 0.85rem;
  }

  .recruit-hero-premium-actions.recruit-hero-premium-actions--hub-row .recruit-hero-premium-cta {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    text-align: center;
  }

  .recruit-hero-premium-actions.recruit-hero-premium-actions--hub-row .recruit-hero-premium-cta-secondary {
    display: inline;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    max-width: none;
    text-align: left;
    padding: 0.35rem 0;
    font-size: 0.86rem;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  .page-header.recruit-hero.recruit-hero--division-premium.recruit-hero--hub-r3 {
    min-height: 640px;
    height: 640px;
    max-height: 640px;
    overflow: hidden;
    box-sizing: border-box;
  }

  .recruit-hero-hub-media {
    min-height: 640px;
    height: 100%;
  }

  .recruit-hero-stat-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    max-width: 20.5rem;
  }

  .recruit-hero-stat-chip {
    padding: 0.62rem 0.5rem;
    min-height: 3.4rem;
  }

  .recruit-hero-stat-chip-label {
    font-size: 0.56rem;
    letter-spacing: 0.04em;
    line-height: 1.15;
    white-space: nowrap;
  }
}

/* Mobile: stacked image band + navy copy */
@media (max-width: 767px) {
  .page-header.recruit-hero.recruit-hero--division-premium.recruit-hero--hub-r3 {
    display: flex;
    flex-direction: column;
    padding-top: 0;
    min-height: 0;
    background: #0b1a33;
  }

  .recruit-hero-hub-media {
    margin-top: var(--fcp-site-header-height);
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: calc(100vw * 10 / 16);
    flex: 0 0 auto;
  }

  .recruit-hero-hub-picture {
    position: absolute;
    inset: 0;
  }

  .recruit-hero-hub-img {
    object-position: var(--hero-img-pos-mobile, 55% 40%);
  }

  .recruit-hero-hub-scrim {
    display: none;
  }

  .recruit-hero-hub-credit-row--stacked {
    display: block;
    order: 2;
    padding: 8px 0 0;
    border-top: none;
  }

  .recruit-hero-hub-credit-row--below {
    display: none;
  }

  .recruit-hero-hub-credit-row--stacked .container {
    text-align: right;
  }

  .recruit-hero-hub-inner.recruit-hero-hub-inner--align {
    order: 3;
    padding-top: 8px;
    padding-bottom: 1.35rem;
    background: #0b1a33;
  }

  .recruit-hero-premium-eyebrow {
    font-size: 13px;
    letter-spacing: 0.06em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .recruit-hero-hub-credit-row--stacked {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .recruit-hero-hub-credit-row--stacked .recruit-hero-hub-credit {
    font-size: 11px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .page-header.recruit-hero.recruit-hero--division-premium.recruit-hero--hub-r3 .recruit-hero-premium-lead {
    font-size: 1rem;
  }

  .recruit-hero-stat-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recruit-hero-stat-chip-label {
    white-space: nowrap;
    font-size: 0.58rem;
  }

  .recruit-hero-premium-actions {
    margin-top: 1rem;
    margin-bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .recruit-hero-premium-cta {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .recruit-hero-premium-cta-secondary {
    display: block;
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 0.35rem 0;
  }
}

@media (max-width: 480px) {
  .page-header.recruit-hero.recruit-hero--division-premium.recruit-hero--hub-r3 {
    --fcp-container-pad: 1rem;
  }
}
