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

.location-hero,
.location-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);
}

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

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

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

.location-eyebrow { font-size: 0.78rem; }
.location-job-category { margin-bottom: 8px; font-size: 0.7rem; }
.location-directory-count { font-size: 0.67rem; }

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

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

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

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

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

.location-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);
}

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

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

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

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

.location-topic-row a { text-decoration: none; }
.location-category-chip {
  border-color: rgba(111, 74, 173, 0.22);
  background: rgba(111, 74, 173, 0.08);
}

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

.location-insights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 30px;
}

.location-insight-card,
.location-about {
  padding: 24px;
  border: 1px solid rgba(78, 36, 89, 0.09);
  border-radius: 22px;
  background: #fff;
}

.location-insight-card h2,
.location-about h2 { margin: 0 0 12px; }

.location-insight-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.location-insight-links span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  background: #f7f1f9;
  color: #55455b;
  font-size: 0.88rem;
}

.location-insight-links strong { color: #6f4aad; }

.location-opportunities,
.location-directory,
.location-about {
  padding-top: 30px;
  padding-bottom: 42px;
}

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

.location-section-head h2 { margin-bottom: 6px; }
.location-section-head p,
.location-about p {
  margin: 0;
  color: var(--muted, #675e6c);
  line-height: 1.65;
}

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

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

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

.location-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);
}

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

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

.location-directory-card h2 a:hover { color: #6f4aad; }
.location-directory-card p {
  color: var(--muted, #675e6c);
  line-height: 1.5;
}

.location-about { margin-bottom: 40px; }

@media (max-width: 980px) {
  .location-hero-grid { grid-template-columns: 1fr; }
  .location-job-grid,
  .location-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .location-insights { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .location-hero,
  .location-index-hero { padding: 36px 0 28px; }
  .location-stats { grid-template-columns: 1fr; }
  .location-stats > div { min-height: 0; }
  .location-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .location-job-grid,
  .location-directory-grid { grid-template-columns: 1fr; }
  .location-directory-card { min-height: 190px; }
}