/* Executive Search page overrides migrated from inline styles. */

.page-executive .exec-overview__icon {
  background-color: var(--color-brand-accent);
}

.page-executive .exec-overview__icon svg {
  stroke: var(--color-brand-primary);
}

/* Alternating section backgrounds - off-white and white after hero */
.page-executive section.section:nth-of-type(odd) {
  background-color: var(--color-off-white);
}

.page-executive section.section:nth-of-type(even) {
  background-color: #ffffff;
}

@media (max-width: 1023px) {
  .page-executive .hero-section-split {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0.5rem !important;
  }

  .page-executive .section {
    padding-top: clamp(1rem, 2vw, 1.25rem) !important;
    padding-bottom: clamp(1rem, 2vw, 1.25rem) !important;
  }
}

.page-executive .section-heading {
  color: var(--color-brand-primary);
}

.page-executive .hero-section-split .section-heading,
.page-executive .cta-card .section-heading {
  color: var(--color-brand-accent);
}

/* "What Differentiates Our Search Process" heading - accent color */
.page-executive .section .container-tight.text-center .section-heading {
  color: var(--color-brand-accent);
}

/* Style the Executive Search card to match Dedicated Recruiter "How It Works" card */
.page-executive .exec-overview__card {
  background: var(--gradient-brand);
  color: #ffffff;
  border: var(--border-width-thin) solid rgba(0, 212, 255, 0.35);
  box-shadow: 0 16px 40px rgba(0, 30, 60, 0.28);
}

.page-executive .exec-overview__card .heading-sm {
  color: var(--color-brand-accent);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  margin-bottom: 0;
}

.page-executive .exec-overview__steps {
  border-top: var(--border-width-thin) solid rgba(255, 255, 255, 0.45);
  padding-top: 1rem;
  gap: 1.25rem;
}

.page-executive .exec-overview__step h4 {
  color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
}

.page-executive .exec-overview__step-time {
  font-size: 0.875em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

.page-executive .exec-overview__step p {
  color: rgba(233, 242, 250, 0.9);
}

.page-executive .exec-overview__step-index {
  background: transparent;
  color: var(--color-brand-accent);
  border: var(--border-width-medium) solid var(--color-brand-accent);
  box-shadow: none;
}

/* Card header with icon and title in same row */
.page-executive .card__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.page-executive .card__header .heading-xs {
  margin: 0;
}

.page-executive .card__icon-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 0.625rem;
  background: var(--color-brand-primary);
}

.page-executive .card__icon-sm .icon svg {
  stroke: var(--color-brand-accent);
  width: 18px;
  height: 18px;
}

@media (min-width: 1024px) {
  .page-executive .exec-overview {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .page-executive .exec-overview__card {
    order: 1;
  }

  .page-executive .exec-overview__copy {
    order: 2;
  }
}
