.company-page,
.company-index-page {
  background: var(--surface-soft, #f8f6fa);
  min-height: 70vh;
}

.company-hero,
.company-index-hero {
  padding: 56px 0 38px;
  background: linear-gradient(135deg, rgba(78, 36, 89, 0.08), rgba(111, 74, 173, 0.08));
  border-bottom: 1px solid rgba(78, 36, 89, 0.08);
}

.company-index-hero h1,
.company-hero h1 {
  max-width: 880px;
  margin: 10px 0 14px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.04;
}

.company-index-hero p,
.company-hero p {
  max-width: 820px;
  margin: 0;
  color: var(--muted, #675e6c);
  font-size: 1.05rem;
  line-height: 1.7;
}

.company-eyebrow,
.company-job-category,
.company-directory-count {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6f4aad;
}

.company-eyebrow {
  font-size: 0.78rem;
}

.company-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 0.9rem;
  color: var(--muted, #675e6c);
}

.company-breadcrumbs a,
.company-page-link {
  color: #6f4aad;
  text-decoration: none;
}

.company-breadcrumbs a:hover,
.company-page-link:hover {
  text-decoration: underline;
}

.company-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.7fr);
  gap: 36px;
  align-items: end;
}

.company-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.company-stats > div {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(78, 36, 89, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.company-stats strong,
.company-stats span {
  display: block;
}

.company-stats strong {
  margin-bottom: 7px;
  font-size: 1.65rem;
  color: #4e2459;
}

.company-stats span {
  color: var(--muted, #675e6c);
  font-size: 0.82rem;
  line-height: 1.35;
}

.company-topic-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.company-category-chip {
  border-color: rgba(111, 74, 173, 0.22);
  background: rgba(111, 74, 173, 0.08);
}

.company-ad-break {
  margin: 26px 0;
}

.company-opportunities,
.company-directory,
.company-disclaimer {
  padding-top: 30px;
  padding-bottom: 42px;
}

.company-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.company-section-head h2,
.company-disclaimer h2 {
  margin-bottom: 6px;
}

.company-section-head p,
.company-disclaimer p {
  margin: 0;
  color: var(--muted, #675e6c);
  line-height: 1.65;
}

.company-job-grid,
.company-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.company-job-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.company-job-card .card-actions {
  margin-top: auto;
  padding-top: 18px;
}

.company-job-category {
  margin-bottom: 8px;
  font-size: 0.7rem;
}

.company-directory-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(78, 36, 89, 0.1);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(58, 35, 64, 0.05);
}

.company-directory-card h2 {
  margin: 9px 0 12px;
  font-size: 1.28rem;
}

.company-directory-card h2 a {
  color: inherit;
  text-decoration: none;
}

.company-directory-card h2 a:hover {
  color: #6f4aad;
}

.company-directory-card p {
  color: var(--muted, #675e6c);
  line-height: 1.5;
}

.company-directory-count {
  font-size: 0.67rem;
}

.company-disclaimer {
  margin-bottom: 40px;
}

.company-disclaimer {
  padding: 28px;
  border: 1px solid rgba(78, 36, 89, 0.09);
  border-radius: 22px;
  background: #fff;
}

@media (max-width: 980px) {
  .company-hero-grid {
    grid-template-columns: 1fr;
  }

  .company-job-grid,
  .company-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .company-hero,
  .company-index-hero {
    padding: 36px 0 28px;
  }

  .company-stats {
    grid-template-columns: 1fr;
  }

  .company-stats > div {
    min-height: 0;
  }

  .company-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .company-job-grid,
  .company-directory-grid {
    grid-template-columns: 1fr;
  }

  .company-directory-card {
    min-height: 190px;
  }
}
