/* 1. Variables */
:root {
  --bg: #fffaf6;
  --surface: #ffffff;
  --cream: #fff1e9;
  --cream-soft: #fff7f2;
  --navy: #082b5f;
  --navy-2: #143765;
  --muted: #61708a;
  --muted-2: #7a879d;
  --line: #efe5de;
  --line-strong: #ffd1c1;
  --orange: #f04423;
  --orange-dark: #d93617;
  --blue: #2f73f6;
  --green: #168a55;
  --red: #c82320;
  --amber: #b8670e;
  --shadow-soft: 0 8px 24px rgba(8, 43, 95, 0.035);
}

/* 2. Base/reset */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 1320px;
  background: var(--bg);
  color: var(--navy);
  font-family: "Segoe UI", Aptos, Arial, sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  display: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

/* 3. Shell/layout */
.shell {
  width: min(1840px, calc(100vw - 56px));
  margin: 0 auto;
}

.page-shell {
  padding-bottom: 4px;
}

.page-view {
  display: none;
}

.page-view.active {
  display: block;
}

/* 4. Header */
.site-header {
  height: 70px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(234, 223, 215, 0.42);
}

.header-shell {
  height: 70px;
  display: grid;
  grid-template-columns: 320px 1fr 250px;
  align-items: center;
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 210px;
  max-height: 62px;
  height: auto;
  object-fit: contain;
}

.brand-fallback {
  display: none !important;
  visibility: hidden;
  width: 0;
  height: 0;
  overflow: hidden;
  flex-direction: column;
  line-height: 1;
}

.brand-fallback strong {
  color: #ed1c24;
  font-size: 38px;
  font-weight: 900;
}

.brand-fallback small {
  color: #231f20;
  font-size: 7px;
  font-weight: 800;
}

.main-nav {
  justify-self: center;
  height: 70px;
  display: flex;
  align-items: stretch;
  gap: 38px;
}

.nav-link {
  position: relative;
  min-width: 50px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: #172f57;
  font-size: 13px;
  font-weight: 650;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--orange);
  transform: translateX(-50%);
}

.nav-link.active {
  color: var(--orange);
}

.nav-link.active::after {
  width: 49px;
}

.nav-arrow {
  display: none !important;
}

.header-spacer {
  min-height: 1px;
}

/* 5. Hero */
.hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 10px;
  border: 1px solid #faece4;
  border-radius: 11px;
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(255, 244, 237, 0.99) 0%,
      rgba(255, 244, 237, 0.95) 31%,
      rgba(255, 244, 237, 0.67) 45%,
      rgba(255, 244, 237, 0.13) 63%,
      rgba(255, 244, 237, 0) 100%);
  pointer-events: none;
}

.home-hero {
  height: 222px;
}

.explore-hero {
  height: 268px;
}

.careers-hero {
  height: 260px;
}

.about-hero {
  height: 288px;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.explore-hero .hero-image img,
.careers-hero .hero-image img {
  object-position: center top;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-left: 88px;
}

.home-copy {
  width: 690px;
  padding-top: 27px;
}

.explore-copy {
  width: 690px;
  padding-top: 31px;
}

.career-copy {
  width: 670px;
  padding-top: 31px;
}

.about-copy {
  width: 850px;
  padding-top: 41px;
}

.hero h1 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 35px;
  line-height: 1.09;
  font-weight: 850;
  letter-spacing: 0;
}

.home-hero h1 {
  max-width: 620px;
}

.explore-hero h1 {
  max-width: 620px;
  font-size: 36px;
  line-height: 1.1;
}

.careers-hero h1 {
  max-width: 520px;
  font-size: 35px;
  line-height: 1.1;
}

.about-hero h1 {
  max-width: 840px;
  margin-bottom: 16px;
  font-size: 36px;
  line-height: 1.14;
}

.hero p {
  margin: 0 0 15px;
  max-width: 560px;
  color: #56677f;
  font-size: 14.5px;
  line-height: 1.45;
  font-weight: 550;
}

.about-hero p {
  max-width: 690px;
  margin-bottom: 18px;
  font-size: 16.5px;
  line-height: 1.58;
}

/* 6. Buttons/forms */
.search-bar {
  width: 545px;
  height: 39px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: visible;
  border: 1px solid #cfd8e6;
  border-radius: 7px;
  background: var(--surface);
  box-shadow: 0 2px 9px rgba(8, 43, 95, 0.045);
}

.home-search-wrap {
  position: relative;
  width: 545px;
  z-index: 8;
}

.home-search-wrap .search-bar {
  width: 100%;
}

.career-search-wrap {
  position: relative;
  width: 600px;
  z-index: 30;
}

.career-search-wrap .search-bar {
  width: 100%;
}

.career-search-suggestions {
  width: calc(100% - 98px);
  z-index: 80;
}

.explore-hero .search-bar,
.careers-hero .search-bar {
  width: 600px;
}

.search-bar input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 550;
}

.search-bar input::placeholder {
  color: #76869f;
  opacity: 1;
}

.search-bar > button {
  width: 98px;
  height: 100%;
  border: 0;
  background: var(--orange);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.search-icon {
  position: relative;
  width: 40px;
  height: 100%;
  flex: 0 0 40px;
  display: inline-block;
}

.search-icon::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 12px;
  width: 12px;
  height: 12px;
  border: 1.8px solid #607392;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 25px;
  width: 8px;
  height: 1.8px;
  border-radius: 99px;
  background: #607392;
  transform: rotate(45deg);
}

.small-search {
  width: 24px;
  flex-basis: 24px;
}

.small-search::before {
  left: 4px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-width: 1.4px;
}

.small-search::after {
  left: 14px;
  top: 19px;
  width: 6px;
  height: 1.4px;
}

.primary,
.secondary,
.ghost {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.primary {
  background: var(--orange);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(240, 68, 35, 0.14);
}

.primary:hover,
.search-bar > button:hover {
  background: var(--orange-dark);
}

.secondary {
  background: var(--surface);
  color: var(--navy);
  border-color: #f0d8ce;
}

.ghost {
  height: 30px;
  padding: 0 12px;
  background: #ffffff;
  color: #2c6fe3;
  border-color: #d5e3ff;
  font-size: 10.5px;
}

.small {
  height: 36px;
  padding-inline: 22px;
}

.hero-button {
  height: 43px;
  padding-inline: 24px;
}

.action-icon,
.button-icon {
  position: relative;
  width: 22px;
  height: 22px;
  display: inline-block;
  flex: 0 0 auto;
}

.node-icon::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 3px;
  width: 4px;
  height: 4px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  box-shadow: -8px 12px 0 -2px #fff, -8px 12px 0 0 var(--orange), 8px 12px 0 -2px #fff, 8px 12px 0 0 var(--orange);
}

.node-icon::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  width: 10px;
  height: 10px;
  border-left: 2px solid var(--orange);
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(45deg);
}

.book-icon::before,
.book-mini::before {
  content: "";
  position: absolute;
  inset: 3px 2px;
  border: 2px solid #24406c;
  border-radius: 3px;
}

.book-icon::after,
.book-mini::after {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 50%;
  border-left: 2px solid #24406c;
}

.magnify-icon::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.magnify-icon::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 9px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transform: rotate(45deg);
}

/* 7. Cards */
.callout,
.bottom-cta,
.journey-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 54px;
  padding: 7px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--cream-soft);
  box-shadow: var(--shadow-soft);
}

.callout-action {
  justify-content: space-between;
  margin-bottom: 10px;
}

.callout.thin {
  min-height: 53px;
}

.callout-copy {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 13px;
}

.callout-copy.column {
  display: block;
}

.callout-copy.column strong,
.callout-copy.column span {
  display: block;
}

.callout-copy strong {
  color: var(--navy);
  font-size: 15px;
  font-weight: 850;
}

.callout-copy span {
  color: #52647d;
  font-size: 12.4px;
  line-height: 1.36;
  font-weight: 600;
}

.callout-icon,
.cta-icon {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid #ffb8a6;
  border-radius: 50%;
  background: #fff0e9;
  color: var(--orange);
}

.callout-icon::before,
.callout-icon::after,
.cta-icon::before,
.cta-icon::after {
  content: "";
  position: absolute;
}

.people-icon::before {
  left: 16px;
  top: 9px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow:
    -9px 7px 0 -2px #fff0e9,
    -9px 7px 0 0 currentColor,
    9px 7px 0 -2px #fff0e9,
    9px 7px 0 0 currentColor;
}

.people-icon::after {
  left: 10px;
  top: 24px;
  width: 20px;
  height: 9px;
  border: 2px solid currentColor;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  border-bottom: 0;
}

.info::before {
  inset: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.info::after {
  content: "i";
  inset: 8px;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 800;
  font-family: Georgia, serif;
}

.cap-big::before,
.cap-line::before {
  left: 11px;
  top: 11px;
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  transform: rotate(30deg) skewX(-18deg);
}

.cap-big::after,
.cap-line::after {
  left: 17px;
  top: 26px;
  width: 14px;
  border-top: 2px solid currentColor;
}

.panel,
.stat-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.panel {
  padding: 15px 18px;
}

.panel h3 {
  margin: 0;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.18;
  font-weight: 900;
}

.panel p {
  margin: 4px 0 0;
  color: #63728a;
  font-size: 11.2px;
  line-height: 1.38;
  font-weight: 600;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.panel-head.compact h3 {
  font-size: 13.5px;
}

.info-dot {
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #b8c4d8;
  border-radius: 50%;
  color: #8ca0bd;
  font-size: 9px;
  font-weight: 800;
}

.top-grid {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.home-top-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) 2.65fr 2.1fr;
}

.explore-top-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) 4fr;
}

.home-top-grid > .stat-card,
.home-top-grid > .panel {
  height: 178px;
  min-height: 0;
}

.explore-top-grid > .stat-card,
.explore-top-grid > .panel {
  height: 176px;
  min-height: 0;
}

.stat-card {
  min-height: 176px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 16px 20px;
}

.stat-card strong {
  margin: 10px 0 5px;
  font-size: 29px;
  line-height: 1;
  font-weight: 900;
}

.stat-card span {
  font-size: 12px;
  font-weight: 850;
}

.stat-card small {
  margin-top: 12px;
  color: #7a879d;
  font-size: 11px;
  font-weight: 650;
}

.stat-card.red strong,
.stat-card.red span {
  color: var(--red);
}

.stat-card.green strong,
.stat-card.green span {
  color: var(--green);
}

.stat-card.blue strong,
.stat-card.blue span {
  color: var(--navy);
}

.stat-card.amber strong,
.stat-card.amber span {
  color: var(--amber);
}

.round-icon {
  position: relative;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffe5df;
  color: var(--red);
}

.round-icon::before,
.round-icon::after {
  content: "";
  position: absolute;
}

.round-icon.bank::before {
  left: 13px;
  top: 12px;
  width: 19px;
  height: 15px;
  border: 2px solid currentColor;
  border-top: 0;
}

.round-icon.bank::after {
  left: 10px;
  top: 9px;
  width: 25px;
  height: 12px;
  border-top: 2px solid currentColor;
  transform: perspective(10px) rotateX(18deg);
}

.round-icon.group {
  background: #dff4e6;
  color: #178752;
}

.round-icon.group::before {
  left: 17px;
  top: 11px;
  width: 9px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow:
    -9px 6px 0 -2px #dff4e6,
    -9px 6px 0 0 currentColor,
    9px 6px 0 -2px #dff4e6,
    9px 6px 0 0 currentColor;
}

.round-icon.group::after {
  left: 12px;
  top: 27px;
  width: 21px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

.round-icon.award {
  background: #e9f0ff;
  color: #2d61d6;
}

.round-icon.award::before {
  left: 14px;
  top: 9px;
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.round-icon.award::after {
  left: 17px;
  top: 27px;
  width: 11px;
  height: 9px;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: skewX(-12deg);
}

.round-icon.chart {
  background: #fff0d9;
  color: #f17d20;
}

.round-icon.chart::before {
  left: 13px;
  bottom: 12px;
  width: 4px;
  height: 12px;
  background: currentColor;
  box-shadow: 8px -6px 0 currentColor, 16px -11px 0 currentColor;
}

.round-icon.chart::after {
  right: 11px;
  top: 12px;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.round-icon.data {
  background: #e4f7e7;
  color: #2d9b5f;
}

.round-icon.data::before {
  left: 12px;
  top: 10px;
  width: 21px;
  height: 25px;
  border: 2px solid currentColor;
  border-radius: 50% / 22%;
}

.round-icon.data::after {
  left: 12px;
  top: 18px;
  width: 21px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.round-icon.idea {
  background: #eaf1ff;
  color: #2e73ff;
}

.round-icon.idea::before {
  left: 15px;
  top: 10px;
  width: 15px;
  height: 19px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 44% 44%;
}

.round-icon.idea::after {
  left: 18px;
  top: 31px;
  width: 9px;
  border-top: 2px solid currentColor;
}

.round-icon.creator {
  background: #fff0d9;
  color: #d87615;
}

.round-icon.creator::before {
  left: 16px;
  top: 10px;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.round-icon.creator::after {
  left: 11px;
  top: 26px;
  width: 22px;
  height: 9px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.partner-card {
  min-height: 0;
  overflow: hidden;
  padding-top: 13px;
  padding-bottom: 12px;
}

.partner-body {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 7px 0 4px;
}

.partner-seal {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 4px solid #d8e7f6;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #79c5ef, #0b4a85 70%),
    #0b4a85;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    0 3px 7px rgba(8, 43, 95, 0.08);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.partner-body h2 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.05;
  font-weight: 900;
}

.partner-body p {
  max-width: 250px;
  font-size: 9.8px;
  line-height: 1.25;
}

.partner-stats {
  display: grid;
  gap: 3px;
  margin-top: 2px;
}

.partner-stats span {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--navy);
  font-size: 10.2px;
  font-weight: 750;
}

.partner-stats strong {
  font-size: 10.8px;
}

.ghost.full {
  width: 100%;
  height: 26px;
  margin-top: 5px;
}

/* 8. Maps */
.map-panel {
  overflow: hidden;
}

.map-area {
  position: relative;
  min-height: 130px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-map-card {
  padding-top: 13px;
  padding-bottom: 12px;
}

.home-map-card .map-area {
  min-height: 148px;
  gap: 18px;
}

.home-map-card .sa-map {
  min-width: 230px;
  height: 132px;
  position: relative;
  transform: translateY(-5px);
  transform-origin: center center;
}

.home-map-card .bubbles {
  display: block;
}

.sa-outline-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 3px 3px rgba(8, 43, 95, 0.04));
}

.home-map .legend {
  width: 150px;
  margin-left: 2px;
  font-size: 10.2px;
  line-height: 1.52;
}

.home-map .legend li {
  gap: 8px;
}

.legend {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #6d7c94;
  font-size: 9.3px;
  line-height: 1.62;
  font-weight: 650;
}

.legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.legend i {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
}

.c-red { background: #ff4c62; }
.c-blue { background: #4d8cff; }
.c-green { background: #32b279; }
.c-purple { background: #8a6fd6; }
.c-pink { background: #d979b3; }
.c-teal { background: #54a8ad; }
.c-orange { background: #f4a15e; }
.c-grey { background: #b2b8c0; }
.c-slate { background: #96b3c9; }

.sa-map {
  flex: 1;
  min-width: 175px;
  height: 145px;
  display: grid;
  place-items: center;
}

.sa-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.sa-fill {
  fill: #fffdfb;
  stroke: #d9c9c0;
  stroke-width: 2.2;
  stroke-linejoin: round;
  filter: drop-shadow(0 3px 3px rgba(8, 43, 95, 0.04));
}

.sa-line {
  fill: none;
  stroke: #e6d1c8;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sa-outline {
  fill: none;
  stroke: rgba(136, 145, 161, 0.45);
  stroke-width: 2;
  stroke-linejoin: round;
  filter: drop-shadow(0 3px 3px rgba(8, 43, 95, 0.04));
}

.lesotho {
  fill: #ffffff;
  stroke: #ead7ce;
  stroke-width: 1.2;
}

.lesotho.soft {
  fill: rgba(255, 255, 255, 0.75);
  stroke: rgba(255, 255, 255, 0.9);
}

.dot {
  opacity: 0.92;
  stroke: #fff;
  stroke-width: 2;
}

.dot.purple { fill: #85358d; }
.dot.orange { fill: #f39b67; }
.dot.red { fill: #e75066; }
.dot.green { fill: #57c88a; }
.dot.blue { fill: #4c8bf5; }
.dot.pink { fill: #d871b0; }
.dot.teal { fill: #48a6ad; }
.dot.grey { fill: #bdbdc2; }

.map-bubble {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(8, 43, 95, 0.12);
  transform: translate(-50%, -50%);
}

.map-bubble.gauteng {
  left: 69%;
  top: 44%;
  width: 30px;
  height: 30px;
  background: #ff4c62;
}

.map-bubble.kzn {
  left: 76%;
  top: 58%;
  width: 18px;
  height: 18px;
  background: #4d8cff;
}

.map-bubble.limpopo {
  left: 71%;
  top: 25%;
  background: #32b279;
}

.map-bubble.western-cape {
  left: 22%;
  top: 88%;
  width: 24px;
  height: 24px;
  background: #8a6fd6;
}

.map-bubble.eastern-cape {
  left: 57%;
  top: 76%;
  width: 22px;
  height: 22px;
  background: #d979b3;
}

.map-bubble.mpumalanga {
  left: 76%;
  top: 35%;
  background: #54a8ad;
}

.map-bubble.north-west {
  left: 52%;
  top: 39%;
  width: 13px;
  height: 13px;
  background: #f4a15e;
}

.map-bubble.free-state {
  left: 62%;
  top: 58%;
  width: 17px;
  height: 17px;
  background: #b2b8c0;
}

.map-bubble.northern-cape {
  left: 29%;
  top: 58%;
  width: 14px;
  height: 14px;
  background: #96b3c9;
}

.map-btn {
  position: absolute;
  right: 0;
  bottom: 1px;
}

.page-view[data-page="home"] .home-map-card .map-btn {
  right: 8px;
  bottom: 8px;
  width: auto;
  height: 19px;
  min-height: 0;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 8.6px;
  line-height: 1;
  gap: 0;
  z-index: 3;
}

.page-view[data-page="home"] .home-map-card .map-btn .button-icon {
  display: none;
}

.map-icon::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 13px;
  height: 14px;
  border: 1.7px solid #2c6fe3;
  border-radius: 3px;
}

.map-icon::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 7px;
  height: 10px;
  border-left: 1.7px solid #2c6fe3;
}

.province {
  stroke: #ffffff;
  stroke-width: 2.2;
  stroke-linejoin: round;
  opacity: 0.75;
}

.p-nc { fill: #f6e4ce; }
.p-lp { fill: #dceef1; }
.p-mp { fill: #e9f5f0; }
.p-gp { fill: #f8e0df; }
.p-nw { fill: #d9ebe1; }
.p-fs { fill: #e4e9f8; }
.p-kzn { fill: #d8edf0; }
.p-ec { fill: #f1ddeb; }
.p-wc { fill: #d4e5ec; }

/* 9. Page-specific layout */
.home-lower-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 12px;
  margin-top: 10px;
}

.left-stack {
  display: grid;
  gap: 8px;
}

.journey-card {
  height: 134px;
  min-height: 0;
  overflow: hidden;
  padding-top: 13px;
  padding-bottom: 13px;
}

.journey-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
}

.journey-step {
  position: relative;
  flex: 1;
  min-height: 66px;
  padding: 10px 10px 10px 52px;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  background: #ffffff;
}

.journey-step strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 10.6px;
  font-weight: 900;
}

.journey-step small {
  display: block;
  color: #667891;
  font-size: 8.7px;
  line-height: 1.26;
  font-weight: 650;
}

.mini-icon {
  position: absolute;
  left: 14px;
  top: 17px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f7ea;
  color: #29a45d;
}

.mini-icon::before,
.mini-icon::after {
  content: "";
  position: absolute;
}

.mini-icon.document::before {
  left: 10px;
  top: 7px;
  width: 13px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.mini-icon.document::after {
  right: 8px;
  bottom: 8px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.blue-step .mini-icon {
  background: #eaf1ff;
  color: #2e73ff;
}

.purple-step .mini-icon {
  background: #f3ecff;
  color: #7750d6;
}

.mini-icon.users::before {
  left: 12px;
  top: 8px;
  width: 9px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow:
    -6px 6px 0 -2px #eaf1ff,
    -6px 6px 0 0 currentColor,
    6px 6px 0 -2px #eaf1ff,
    6px 6px 0 0 currentColor;
}

.mini-icon.cap::before {
  left: 8px;
  top: 9px;
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  transform: rotate(30deg) skewX(-18deg);
}

.dotted-arrow {
  position: relative;
  width: 42px;
  flex: 0 0 42px;
  border-top: 3px dotted #1f63e9;
}

.dotted-arrow::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #1f63e9;
  transform: translateY(calc(-50% - 1px));
}

.purple-line {
  border-color: #7b4df3;
}

.purple-line::after {
  border-left-color: #7b4df3;
}

.featured-panel {
  position: relative;
  height: 143px;
  min-height: 0;
  overflow: hidden;
  padding-top: 13px;
  padding-bottom: 13px;
}

.provider-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 9px;
}

.provider-card {
  position: relative;
  min-height: 92px;
  padding: 10px 9px 8px 52px;
  border: 1px solid #edf0f6;
  border-radius: 8px;
  background: #ffffff;
  color: #61708a;
  font-size: 10px;
}

.provider-card strong {
  display: block;
  min-height: 28px;
  margin-bottom: 5px;
  color: var(--navy);
  font-size: 9.5px;
  line-height: 1.22;
  font-weight: 850;
}

.provider-card small {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  font-weight: 650;
}

.provider-card a {
  display: inline-block;
  margin-top: 4px;
  color: #286fe8;
  font-size: 9.8px;
  font-weight: 800;
  text-decoration: none;
}

.provider-logo {
  position: relative;
  overflow: hidden;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 3px solid #eef4ff;
  border-radius: 50%;
  color: #ffffff;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.45),
    0 4px 12px rgba(8, 43, 95, 0.13);
}

.provider-card .provider-logo {
  position: absolute;
  left: 9px;
  top: 10px;
}

.provider-logo b {
  position: relative;
  z-index: 2;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: -0.1px;
}

.provider-logo em {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
}

.provider-logo::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 2px solid rgba(255, 255, 255, 0.64);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-18deg);
}

.provider-logo::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 8px;
  height: 2px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.7);
}

.logo-bcc {
  background:
    linear-gradient(135deg, rgba(255,255,255,.2), transparent 46%),
    radial-gradient(circle at 32% 25%, #516991, #192c55 64%);
}

.logo-oxa {
  color: #082b5f;
  background:
    linear-gradient(135deg, rgba(255,255,255,.55), transparent 42%),
    radial-gradient(circle at 35% 30%, #fff7d3, #e0a829 58%, #2e5790 59%);
}

.logo-ctu {
  color: #064f8b;
  background:
    linear-gradient(135deg, rgba(255,255,255,.65), transparent 42%),
    radial-gradient(circle at 35% 30%, #f4fbff, #d9f2ff 44%, #178ad4 45%, #126aa5 70%);
}

.logo-pc {
  background:
    radial-gradient(circle at center, rgba(255,255,255,.18) 0 34%, transparent 35%),
    conic-gradient(from 30deg, #e64131, #f1c62c, #2da65e, #2f8de0, #e64131);
}

.carousel-arrow {
  position: absolute;
  top: 82px;
  width: 26px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #71819d;
  font-size: 30px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.carousel-arrow::before {
  content: none;
}

.carousel-arrow.left {
  left: 0;
}

.carousel-arrow.left::before {
  left: 6px;
  transform: rotate(45deg);
}

.carousel-arrow.right {
  right: 0;
}

.carousel-arrow.right::before {
  right: 6px;
  transform: rotate(-135deg);
}

.meta-icon {
  position: relative;
  width: 12px;
  height: 12px;
  display: inline-block;
  color: #8a98ae;
}

.meta-icon.pin::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 1px;
  width: 6px;
  height: 6px;
  border: 1.5px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.meta-icon.phone::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  transform: rotate(-25deg);
}

.directory-panel {
  position: relative;
  height: 286px;
  min-height: 0;
  overflow: hidden;
}

.table-head {
  align-items: center;
}

.table-filters {
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-filters label {
  width: 190px;
  height: 32px;
  display: flex;
  align-items: center;
  border: 1px solid #e1e7f1;
  border-radius: 6px;
  background: #ffffff;
}

.table-filters input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--navy);
  font-size: 10px;
}

.table-filters input::placeholder {
  color: #7f8da3;
}

.table-filters select {
  min-width: 130px;
  height: 32px;
  border: 1px solid #e1e7f1;
  border-radius: 6px;
  background: #ffffff;
  color: #61708a;
  font-size: 10.5px;
  font-weight: 600;
  padding: 0 12px;
}

.clean-table {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
  color: #50627f;
  font-size: 10.8px;
}

.clean-table th {
  padding: 8px 4px;
  border-bottom: 1px solid #edf0f6;
  color: var(--navy);
  font-size: 10px;
  font-weight: 900;
  text-align: left;
}

.clean-table td {
  padding: 7px 4px;
  border-bottom: 1px solid #f2f4f8;
  font-weight: 600;
}

.status {
  color: #1fb36f;
  font-weight: 900;
}

.mail {
  position: relative;
  float: right;
  width: 14px;
  height: 11px;
  margin-top: 2px;
  border: 1.6px solid #8797b1;
  border-radius: 2px;
}

.mail::before,
.mail::after {
  content: "";
  position: absolute;
  top: 1px;
  width: 8px;
  border-top: 1.4px solid #8797b1;
}

.mail::before {
  left: 0;
  transform: rotate(34deg);
}

.mail::after {
  right: 0;
  transform: rotate(-34deg);
}

.panel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #1f6ee8;
  font-size: 10.8px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.panel-link.centered {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) 150px;
  gap: 14px;
  align-items: end;
  margin-top: 10px;
  padding: 11px 18px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.filter-bar label > span {
  display: block;
  margin-bottom: 6px;
  color: #74839c;
  font-size: 10px;
  font-weight: 800;
}

.select-like {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid #dce3ee;
  border-radius: 6px;
  background: #ffffff;
  color: #7a879e;
  font-size: 12px;
  font-weight: 650;
}

.select-like b {
  position: relative;
  width: auto;
  height: auto;
  margin-left: auto;
  color: #8fa0b8;
  font-size: 13px;
  line-height: 1;
}

.select-like b::before {
  content: "⌄";
  position: static;
  border: 0;
  transform: none;
}

.select-control {
  position: relative;
  gap: 8px;
  padding-right: 10px;
}

.select-control select {
  min-width: 0;
  width: 100%;
  flex: 1 1 auto;
  border: 0;
  outline: 0;
  background: transparent;
  color: #60708a;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.select-control select:focus {
  color: var(--navy);
}

.select-control b {
  flex: 0 0 auto;
  pointer-events: none;
}

.select-control i {
  flex: 0 0 auto;
}

.select-like i {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: #8fa0b8;
}

.select-like i::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1.7px solid currentColor;
  transform: rotate(45deg);
}

.spark-icon::after,
.star-icon::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 1px;
  width: 2px;
  height: 16px;
  background: currentColor;
  transform: rotate(45deg);
}

.pin-icon::before {
  border-radius: 50% 50% 50% 0;
}

.clear-btn {
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #dfe6ef;
  border-radius: 6px;
  background: #ffffff;
  color: #5c6d89;
  font-size: 11px;
  font-weight: 800;
}

.clear-btn span {
  position: relative;
  width: 15px;
  height: 15px;
  border: 1.7px solid #607392;
  border-radius: 50%;
}

.clear-btn span::before,
.clear-btn span::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 6px;
  width: 8px;
  border-top: 1.5px solid #607392;
}

.clear-btn span::before {
  transform: rotate(45deg);
}

.clear-btn span::after {
  transform: rotate(-45deg);
}

.explore-map-card {
  min-height: 182px;
  display: grid;
  grid-template-columns: 188px 1fr;
  align-items: center;
}

.glance-copy {
  align-self: flex-start;
  padding-top: 4px;
}

.compact-map {
  min-height: 136px;
}

.compact-map .legend {
  width: 116px;
}

.compact-map .sa-map {
  height: 124px;
  transform: translateY(-14px) scale(0.72);
  transform-origin: center top;
}

.map-legend-btn {
  position: absolute;
  left: 0;
  bottom: -2px;
}

.discovery-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr 1.15fr 1.25fr;
  gap: 12px;
  margin-top: 10px;
}

.browse-card {
  height: 186px;
  min-height: 0;
  overflow: hidden;
  padding: 13px 18px;
}

.pill-grid {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.pill-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pill-grid button,
.category-list button {
  min-width: 0;
  height: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  border: 1px solid #edf0f6;
  border-radius: 6px;
  background: #ffffff;
  color: #52647e;
  font-size: 10.5px;
  font-weight: 750;
  text-align: left;
}

.browse-card:first-child .pill-grid.two {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tile-icon {
  position: relative;
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 6px;
}

.tile-icon::before {
  content: "";
  width: 9px;
  height: 9px;
  border: 1.7px solid currentColor;
  border-radius: 2px;
  transform: rotate(45deg);
}

.blue-tile { background: #eaf1ff; color: #2e73ff; }
.amber-tile { background: #fff0e0; color: #ff7a22; }
.purple-tile { background: #f1edff; color: #7e61d5; }
.violet-tile { background: #eeeaff; color: #7651db; }
.red-tile { background: #ffe8e3; color: #ff5535; }
.teal-tile { background: #e2f6f4; color: #23a8a0; }
.green-tile { background: #e6f6ea; color: #229f5f; }
.pink-tile { background: #fde8f1; color: #cc5d95; }
.slate-tile { background: #eef2f7; color: #718097; }

.small-pills button {
  height: 22px;
  font-size: 9.8px;
}

.province-card .pill-grid {
  gap: 5px 8px;
  margin-top: 10px;
}

.tall-pills button {
  position: relative;
  height: 55px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding-left: 44px;
}

.tall-pills .tile-icon {
  position: absolute;
  left: 11px;
  top: 16px;
}

.tall-pills b {
  color: var(--navy);
  font-size: 10.5px;
  line-height: 1.2;
}

.tall-pills small {
  color: #7b8aa2;
  font-size: 10px;
}

.journey-strip {
  display: grid;
  grid-template-columns: 1.65fr repeat(4, 1fr);
  gap: 18px;
  height: 88px;
  min-height: 0;
  overflow: hidden;
  margin-top: 16px;
  padding: 13px 28px;
}

.strip-lead,
.strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 18px;
  border-right: 1px solid #f0ded4;
}

.strip-item:last-child {
  border-right: 0;
}

.strip-lead strong,
.strip-item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.strip-lead span,
.strip-item small {
  display: block;
  color: #556782;
  font-size: 11.4px;
  line-height: 1.35;
  font-weight: 650;
}

.circle-icon {
  position: relative;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #f3ded5;
  border-radius: 50%;
  background: #ffffff;
  color: #587094;
}

.circle-icon::before,
.circle-icon::after {
  content: "";
  position: absolute;
}

.circle-icon.target::before {
  inset: 13px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.circle-icon.target::after {
  left: 23px;
  top: 6px;
  height: 36px;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
}

.circle-icon.path::before {
  left: 14px;
  top: 19px;
  width: 20px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-radius: 14px;
}

.circle-icon.quality::before {
  left: 15px;
  top: 12px;
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 45% 45%;
}

.circle-icon.people::before {
  left: 20px;
  top: 13px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow:
    -8px 7px 0 -2px #ffffff,
    -8px 7px 0 0 currentColor,
    8px 7px 0 -2px #ffffff,
    8px 7px 0 0 currentColor;
}

.careers-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr 0.92fr;
  gap: 12px;
  margin-top: 14px;
}

.categories-card,
.career-map-overview,
.career-partner-card {
  position: relative;
  height: 226px;
  min-height: 0;
  overflow: hidden;
}

.category-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-top: 16px;
}

.category-list button {
  height: 38px;
}

.category-list b {
  position: relative;
  width: 9px;
  height: 9px;
  margin-left: auto;
}

.category-list b::before {
  content: "";
  position: absolute;
  inset: 0;
  border-right: 2px solid #6d7f99;
  border-bottom: 2px solid #6d7f99;
  transform: rotate(-45deg);
}

.phase-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
}

.phase {
  width: 120px;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px solid #edf0f6;
  border-radius: 8px;
  background: #ffffff;
  text-align: center;
}

.phase.active-phase {
  border-color: #ffe0d2;
  background: #fff7f3;
}

.phase-icon {
  position: relative;
  width: 28px;
  height: 28px;
  display: block;
  margin-bottom: 10px;
  color: #2d73ff;
}

.phase-icon::before,
.phase-icon::after {
  content: "";
  position: absolute;
}

.phase-icon.search::before {
  left: 4px;
  top: 4px;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.phase-icon.search::after {
  left: 17px;
  top: 18px;
  width: 9px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
}

.phase-icon.path::before,
.phase-icon.grow::before {
  left: 5px;
  top: 10px;
  width: 17px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-radius: 12px;
}

.phase-icon.qual {
  color: var(--orange);
}

.phase-icon.qual::before {
  left: 7px;
  top: 5px;
  width: 14px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.phase-icon.grow {
  color: #1fa66a;
}

.phase-icon.grow::after {
  left: 18px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.phase strong {
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.phase small {
  color: #65758f;
  font-size: 10.4px;
  line-height: 1.35;
  font-weight: 650;
}

.dotline {
  flex: 1;
  min-width: 38px;
  border-top: 4px dotted #2d73ff;
}

.orange-line {
  border-color: var(--orange);
}

.green-line {
  border-color: #1fa66a;
}

.partner-body.small-seal .partner-seal {
  width: 58px;
  height: 58px;
}

.partner-stats.large {
  gap: 12px;
  margin-top: 18px;
}

.partner-stats.large span {
  font-size: 12px;
}

.partner-stats.large strong {
  font-size: 14px;
}

.family-card,
.popular-careers-card,
.accredited-strip {
  position: relative;
  height: 158px;
  min-height: 0;
  overflow: hidden;
}

.categories-card .panel-link,
.career-map-overview .panel-link,
.career-partner-card .panel-link {
  position: absolute;
  left: 18px;
  bottom: 15px;
  margin: 0;
}

.family-card .panel-link,
.popular-careers-card .panel-link,
.accredited-strip .panel-link {
  position: absolute;
  right: 18px;
  bottom: 13px;
  margin: 0;
}

.family-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 17px;
}

.family-row button {
  min-height: 66px;
  padding: 8px;
  border: 1px solid #eef0f6;
  border-radius: 8px;
  background: #ffffff;
  color: var(--navy);
  font-size: 10.3px;
  line-height: 1.2;
  font-weight: 800;
}

.family-icon {
  position: relative;
  width: 20px;
  height: 20px;
  display: block;
  margin: 0 auto 7px;
  color: #2e73ff;
}

.family-icon::before,
.family-icon::after {
  content: "";
  position: absolute;
}

.family-icon.globe::before {
  inset: 2px;
  border: 1.8px solid currentColor;
  border-radius: 50%;
}

.family-icon.nodes::before,
.family-icon.search::before {
  inset: 4px;
  border: 1.8px solid currentColor;
  border-radius: 50%;
  box-shadow: -7px 7px 0 -2px #ffffff, -7px 7px 0 0 currentColor, 7px 7px 0 -2px #ffffff, 7px 7px 0 0 currentColor;
}

.family-icon.heart::before {
  left: 4px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-left: 2px solid #23a56e;
  border-bottom: 2px solid #23a56e;
  transform: rotate(-45deg);
  border-radius: 0 0 0 4px;
}

.family-icon.chart::before {
  left: 4px;
  bottom: 4px;
  width: 3px;
  height: 8px;
  background: #f2a12d;
  box-shadow: 6px -5px 0 #f2a12d, 12px -9px 0 #f2a12d;
}

.family-icon.cap-small::before {
  left: 4px;
  top: 6px;
  width: 13px;
  height: 13px;
  border: 2px solid #627183;
  transform: rotate(30deg) skewX(-18deg);
}

.family-icon.data::before,
.family-icon.file::before {
  left: 5px;
  top: 3px;
  width: 11px;
  height: 15px;
  border: 1.8px solid #b38b32;
  border-radius: 2px;
}

.family-icon.bolt::before {
  left: 6px;
  top: 2px;
  width: 8px;
  height: 15px;
  border-left: 3px solid #ff9819;
  border-bottom: 3px solid #ff9819;
  transform: skewX(-22deg);
}

.family-icon.design::before {
  inset: 4px;
  border: 1.8px solid var(--orange);
  border-radius: 50%;
}

.right-align {
  float: right;
}

.provider-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.provider-strip > div {
  min-height: 52px;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid #edf0f6;
  border-radius: 8px;
  background: #ffffff;
}

.provider-strip .provider-logo {
  width: 36px;
  height: 36px;
}

.provider-strip strong {
  color: var(--navy);
  font-size: 8.4px;
  line-height: 1.2;
  font-weight: 850;
}

.about-callout {
  min-height: 90px;
  margin-top: 14px;
  padding-left: 86px;
}

.about-callout .callout-icon {
  width: 64px;
  height: 64px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.about-info-card {
  min-height: 360px;
  height: auto;
  display: flex;
  flex-direction: column;
  overflow: visible;
  padding: 24px;
}

.about-info-card .round-icon {
  margin-bottom: 18px;
}

.about-info-card h3 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.18;
  font-weight: 900;
}

.about-info-card p {
  margin: 0 0 14px;
  color: #66738b;
  font-size: 12.8px;
  line-height: 1.48;
  font-weight: 540;
}

.creator-card p {
  margin-bottom: 9px;
  font-size: 11.3px;
  line-height: 1.38;
}

.creator-social-strip {
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  margin-top: 12px;
  padding: 13px 22px;
}

.creator-social-strip h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
}

.creator-social-strip p {
  margin: 0;
  color: #66738b;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}

.external-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--orange);
  font-size: 12.5px;
  font-weight: 900;
  text-decoration: none;
}

.social-row {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-top: 12px;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.social-row b {
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  border-radius: 5px;
  color: #ffffff;
  font-size: 13px;
  font-style: normal;
}

.social-row .linkedin {
  background: #1976c9;
}

.social-row .x-social {
  background: transparent;
  color: #203554;
  font-size: 20px;
}

.social-row .instagram {
  position: relative;
  background: linear-gradient(135deg, #ffcc3c, #f24772, #8d42d6);
}

.social-row .instagram::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px solid #ffffff;
  border-radius: 6px;
}

.social-row .instagram::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  width: 5px;
  height: 5px;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.page-view[data-page="about"] .callout-icon::before,
.page-view[data-page="about"] .round-icon::before,
.page-view[data-page="about"] .cta-icon::before,
.page-view[data-page="about"] .action-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  border: 0;
  border-radius: 0;
  background: currentColor;
  box-shadow: none;
  transform: none;
  -webkit-mask: var(--about-icon) center / contain no-repeat;
  mask: var(--about-icon) center / contain no-repeat;
}

.page-view[data-page="about"] .callout-icon::before {
  width: 30px;
  height: 30px;
}

.page-view[data-page="about"] .round-icon::before {
  width: 23px;
  height: 23px;
}

.page-view[data-page="about"] .cta-icon::before {
  width: 30px;
  height: 30px;
}

.page-view[data-page="about"] .action-icon::before {
  width: 21px;
  height: 21px;
}

.page-view[data-page="about"] .callout-icon::after,
.page-view[data-page="about"] .round-icon::after,
.page-view[data-page="about"] .cta-icon::after,
.page-view[data-page="about"] .action-icon::after {
  display: none;
}

.page-view[data-page="about"] .cap-big {
  --about-icon: var(--ico-cap);
}

.page-view[data-page="about"] .round-icon.bank {
  --about-icon: var(--ico-bank);
}

.page-view[data-page="about"] .round-icon.data {
  --about-icon: var(--ico-database);
}

.page-view[data-page="about"] .round-icon.idea {
  --about-icon: var(--ico-lightbulb);
}

.page-view[data-page="about"] .round-icon.creator {
  --about-icon: var(--ico-user);
}

.page-view[data-page="about"] .handshake {
  --about-icon: var(--ico-handshake);
}

.page-view[data-page="about"] .book-icon {
  --about-icon: var(--ico-node);
}

.page-view[data-page="about"] .magnify-icon {
  --about-icon: var(--ico-search);
}

.page-view[data-page="about"] .about-svg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.page-view[data-page="about"] .about-svg-icon::before,
.page-view[data-page="about"] .about-svg-icon::after {
  display: none;
}

.page-view[data-page="about"] .about-svg-icon svg {
  width: 24px;
  height: 24px;
  display: block;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-view[data-page="about"] .callout-icon.about-svg-icon svg,
.page-view[data-page="about"] .cta-icon.about-svg-icon svg {
  width: 32px;
  height: 32px;
}

.page-view[data-page="about"] .about-bottom-cta-icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 2;
}

.page-view[data-page="about"] .action-icon.about-svg-icon svg {
  width: 22px;
  height: 22px;
}

.creator-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 0;
  flex-wrap: wrap;
}

.creator-socials .social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid #edf0f6;
  border-radius: 8px;
  background: #ffffff;
  color: var(--navy);
  font-size: 10.8px;
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
}

.creator-socials .social-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.creator-socials .social-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
  overflow: visible;
}

.creator-socials .social-instagram .social-icon svg {
  width: 17px;
  height: 17px;
}

.creator-socials .social-linkedin .social-icon {
  color: #0a66c2;
}

.creator-socials .social-x .social-icon {
  color: #111827;
}

.creator-socials .social-instagram .social-icon {
  color: #e4405f;
}

.creator-socials .social-link:hover {
  border-color: #ffb8a6;
  color: var(--orange);
}

/* 10. CTA sections/utilities */
.bottom-cta {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 16px;
  min-height: 66px;
  margin-top: 8px;
  padding: 8px 34px;
}

.bottom-cta h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 900;
}

.bottom-cta p {
  margin: 0;
  color: #62728b;
  font-size: 12.2px;
  font-weight: 600;
}

.cta-icon {
  width: 54px;
  height: 54px;
  display: block;
  background: #fff0e4;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cta-actions button {
  min-width: 176px;
  height: 38px;
}

.cta-actions .primary {
  min-width: 170px;
}

.handshake::before {
  left: 14px;
  top: 20px;
  width: 14px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 4px;
  transform: rotate(38deg);
}

.handshake::after {
  right: 13px;
  top: 20px;
  width: 14px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 4px;
  transform: rotate(-38deg);
}

.about-final {
  min-height: 86px;
  margin-top: 20px;
}

/* Home correction pass: marked icons, Power BI-style map bubbles, clipping fixes */
.page-view[data-page="home"] {
  --za-gauteng: #7b2e8e;
  --za-kzn: #df63b2;
  --za-limpopo: #8c70d6;
  --za-western-cape: #43bf63;
  --za-mpumalanga: #d7b514;
  --za-eastern-cape: #2437a2;
  --za-north-west: #d84d59;
  --za-free-state: #e8733d;
  --za-northern-cape: #1b7f86;
}

.page-view[data-page="home"] .callout-icon::before,
.page-view[data-page="home"] .round-icon::before,
.page-view[data-page="home"] .mini-icon::before,
.page-view[data-page="home"] .cta-icon::before,
.page-view[data-page="home"] .action-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 23px;
  height: 23px;
  margin: auto;
  border: 0;
  border-radius: 0;
  background: currentColor;
  box-shadow: none;
  transform: none;
  -webkit-mask: var(--home-icon) center / contain no-repeat;
  mask: var(--home-icon) center / contain no-repeat;
}

.page-view[data-page="home"] .cta-icon::before {
  width: 34px;
  height: 34px;
}

.page-view[data-page="home"] .action-icon::before {
  width: 24px;
  height: 24px;
}

.page-view[data-page="home"] .callout-icon::after,
.page-view[data-page="home"] .round-icon::after,
.page-view[data-page="home"] .mini-icon::after,
.page-view[data-page="home"] .cta-icon::after,
.page-view[data-page="home"] .action-icon::after {
  display: none;
}

.page-view[data-page="home"] .people-icon,
.page-view[data-page="home"] .round-icon.group {
  --home-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7' r='3'/%3E%3Cpath d='M6.5 21v-1.5a5.5 5.5 0 0 1 11 0V21'/%3E%3Ccircle cx='5.5' cy='10' r='2.3'/%3E%3Cpath d='M2 19a4 4 0 0 1 5-3.9'/%3E%3Ccircle cx='18.5' cy='10' r='2.3'/%3E%3Cpath d='M22 19a4 4 0 0 0-5-3.9'/%3E%3C/svg%3E");
}

.page-view[data-page="home"] .round-icon.bank {
  --home-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M4 10h16'/%3E%3Cpath d='M6 10v8'/%3E%3Cpath d='M10 10v8'/%3E%3Cpath d='M14 10v8'/%3E%3Cpath d='M18 10v8'/%3E%3Cpath d='M12 3 4 8h16z'/%3E%3C/svg%3E");
}

.page-view[data-page="home"] .round-icon.award {
  --home-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='m9.5 12-1.5 8 4-2 4 2-1.5-8'/%3E%3Cpath d='M10 8.2 11.3 9.5 14 6.8'/%3E%3C/svg%3E");
}

.page-view[data-page="home"] .round-icon.chart {
  --home-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19V5'/%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='M8 16v-4'/%3E%3Cpath d='M12 16V9'/%3E%3Cpath d='M16 16V6'/%3E%3Cpath d='m14 8 2-2 3 3'/%3E%3C/svg%3E");
}

.page-view[data-page="home"] .mini-icon.document {
  --home-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l4 4v14H6z'/%3E%3Cpath d='M14 3v5h5'/%3E%3Ccircle cx='11' cy='14' r='2.5'/%3E%3Cpath d='m13 16 2.5 2.5'/%3E%3C/svg%3E");
}

.page-view[data-page="home"] .mini-icon.users {
  --home-icon: var(--home-icon-people, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7' r='3'/%3E%3Cpath d='M6.5 21v-1.5a5.5 5.5 0 0 1 11 0V21'/%3E%3Ccircle cx='5.5' cy='10' r='2.3'/%3E%3Cpath d='M2 19a4 4 0 0 1 5-3.9'/%3E%3Ccircle cx='18.5' cy='10' r='2.3'/%3E%3Cpath d='M22 19a4 4 0 0 0-5-3.9'/%3E%3C/svg%3E"));
}

.page-view[data-page="home"] .mini-icon.cap,
.page-view[data-page="home"] .cap-line {
  --home-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10 12 5 2 10l10 5z'/%3E%3Cpath d='M6 12v5c3 2 9 2 12 0v-5'/%3E%3Cpath d='M22 10v6'/%3E%3C/svg%3E");
}

.page-view[data-page="home"] .node-icon {
  --home-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2.3'/%3E%3Ccircle cx='5' cy='19' r='2.3'/%3E%3Ccircle cx='19' cy='19' r='2.3'/%3E%3Cpath d='M11 7 6 17'/%3E%3Cpath d='m13 7 5 10'/%3E%3Cpath d='M7.3 19h9.4'/%3E%3C/svg%3E");
}

.page-view[data-page="home"] .book-icon {
  --home-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A3.5 3.5 0 0 1 7.5 4H11v16H7.5A3.5 3.5 0 0 0 4 21.5z'/%3E%3Cpath d='M20 5.5A3.5 3.5 0 0 0 16.5 4H13v16h3.5a3.5 3.5 0 0 1 3.5 1.5z'/%3E%3C/svg%3E");
}

.page-view[data-page="home"] .magnify-icon {
  --home-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m16.5 16.5 4 4'/%3E%3C/svg%3E");
}

.page-view[data-page="home"] .home-map .c-red { background: var(--za-gauteng); }
.page-view[data-page="home"] .home-map .c-blue { background: var(--za-kzn); }
.page-view[data-page="home"] .home-map .c-green { background: var(--za-limpopo); }
.page-view[data-page="home"] .home-map .c-purple { background: var(--za-western-cape); }
.page-view[data-page="home"] .home-map .c-pink { background: var(--za-eastern-cape); }
.page-view[data-page="home"] .home-map .c-teal { background: var(--za-mpumalanga); }
.page-view[data-page="home"] .home-map .c-orange { background: var(--za-north-west); }
.page-view[data-page="home"] .home-map .c-grey { background: var(--za-free-state); }
.page-view[data-page="home"] .home-map .c-slate { background: var(--za-northern-cape); }

.page-view[data-page="home"] .home-map-card .sa-map {
  flex: 0 0 230px;
  width: 230px;
  min-width: 0;
  height: auto;
  aspect-ratio: 1000 / 899;
  transform: none;
}

.page-view[data-page="home"] .home-map-card .sa-outline-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-view[data-page="home"] .map-bubble.gauteng { left: 72%; top: 31%; width: 23px; height: 23px; background: var(--za-gauteng); }
.page-view[data-page="home"] .map-bubble.kzn { left: 86%; top: 52%; width: 25px; height: 25px; background: var(--za-kzn); }
.page-view[data-page="home"] .map-bubble.limpopo { left: 79.5%; top: 13%; width: 24px; height: 24px; background: var(--za-limpopo); }
.page-view[data-page="home"] .map-bubble.western-cape { left: 23.5%; top: 86%; width: 25px; height: 25px; background: var(--za-western-cape); }
.page-view[data-page="home"] .map-bubble.eastern-cape { left: 58.5%; top: 79%; width: 22px; height: 22px; background: var(--za-eastern-cape); }
.page-view[data-page="home"] .map-bubble.mpumalanga { left: 84%; top: 29.5%; width: 21px; height: 21px; background: var(--za-mpumalanga); }
.page-view[data-page="home"] .map-bubble.north-west { left: 54.5%; top: 33%; width: 18px; height: 18px; background: var(--za-north-west); }
.page-view[data-page="home"] .map-bubble.free-state { left: 62.5%; top: 51%; width: 20px; height: 20px; background: var(--za-free-state); }
.page-view[data-page="home"] .map-bubble.northern-cape { left: 29%; top: 58%; width: 21px; height: 21px; background: var(--za-northern-cape); }

.page-view[data-page="home"] .province-bubble {
  cursor: pointer;
  transform-origin: center;
  transition: opacity 0.18s ease, filter 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.page-view[data-page="home"] .province-bubble:focus-visible {
  outline: 2px solid #2e73ff;
  outline-offset: 3px;
}

.page-view[data-page="home"] .province-bubble.is-muted {
  opacity: 0.25;
  filter: grayscale(1);
}

.page-view[data-page="home"] .province-bubble.is-selected {
  z-index: 3;
  opacity: 1;
  filter: none;
  transform: translate(-50%, -50%) scale(1.14);
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 8px 18px rgba(8, 43, 95, 0.22);
}

.page-view[data-page="home"] .province-legend-item {
  width: 100%;
  padding: 2px 5px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: opacity 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.page-view[data-page="home"] .province-legend-item:hover,
.page-view[data-page="home"] .province-legend-item:focus-visible {
  background: rgba(15, 47, 102, 0.06);
  outline: none;
}

.page-view[data-page="home"] .province-legend-item.is-muted {
  opacity: 0.45;
}

.page-view[data-page="home"] .province-legend-item.is-selected {
  opacity: 1;
  color: var(--navy);
  font-weight: 850;
  background: rgba(239, 65, 35, 0.07);
}

.page-view[data-page="home"] .home-top-grid > .stat-card,
.page-view[data-page="home"] .home-top-grid > .panel,
.page-view[data-page="home"] .journey-card,
.page-view[data-page="home"] .featured-panel,
.page-view[data-page="home"] .directory-panel {
  height: auto;
  overflow: visible;
}

.page-view[data-page="home"] .home-top-grid > .stat-card,
.page-view[data-page="home"] .home-top-grid > .panel {
  min-height: 178px;
}

.page-view[data-page="home"] .journey-card {
  min-height: 134px;
}

.page-view[data-page="home"] .featured-panel {
  min-height: 153px;
}

.page-view[data-page="home"] .directory-panel {
  min-height: 296px;
  padding-bottom: 20px;
}

.page-view[data-page="home"] .provider-card {
  min-height: 102px;
  display: flex;
  flex-direction: column;
}

.page-view[data-page="home"] .provider-card a {
  margin-top: auto;
  padding-top: 4px;
}

.page-view[data-page="home"] .partner-card {
  display: flex;
  flex-direction: column;
}

.page-view[data-page="home"] .partner-card .ghost.full {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
}

.page-view[data-page="home"] .partner-card .partners-icon {
  display: none;
}

.page-view[data-page="home"] .provider-card .meta-icon.phone::before {
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 0;
  background: currentColor;
  transform: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.4 19.4 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.4 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.4 19.4 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.4 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.page-view[data-page="home"] .clean-table td:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-view[data-page="home"] .clean-table .phone-table-icon {
  float: none;
  width: 14px;
  height: 14px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #7f90aa;
  flex: 0 0 14px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.4 19.4 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.4 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.4 19.4 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.4 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.page-view[data-page="home"] .clean-table .phone-table-icon::before,
.page-view[data-page="home"] .clean-table .phone-table-icon::after {
  display: none;
}

.page-view[data-page="home"] .bottom-cta {
  min-height: 74px;
  overflow: visible;
}

/* Explore map correction: real provinces with approved Home palette */
.page-view[data-page="explore"],
.page-view[data-page="home"] .home-discovery-grid {
  --province-gauteng: #7b2e8e;
  --province-kzn: #df63b2;
  --province-limpopo: #8c70d6;
  --province-western-cape: #43bf63;
  --province-eastern-cape: #2437a2;
  --province-mpumalanga: #d7b514;
  --province-north-west: #d84d59;
  --province-free-state: #e8733d;
  --province-northern-cape: #1b7f86;
  --ico-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m16.5 16.5 4 4'/%3E%3C/svg%3E");
}

.page-view[data-page="explore"] .legend.glance .c-red { background: var(--province-gauteng); }
.page-view[data-page="explore"] .legend.glance .c-blue { background: var(--province-kzn); }
.page-view[data-page="explore"] .legend.glance .c-green { background: var(--province-western-cape); }
.page-view[data-page="explore"] .legend.glance .c-purple { background: var(--province-eastern-cape); }
.page-view[data-page="explore"] .legend.glance .c-pink { background: var(--province-limpopo); }
.page-view[data-page="explore"] .legend.glance .c-orange { background: var(--province-mpumalanga); }
.page-view[data-page="explore"] .legend.glance .c-grey { background: var(--province-free-state); }
.page-view[data-page="explore"] .legend.glance .c-teal { background: var(--province-north-west); }
.page-view[data-page="explore"] .legend.glance .c-slate { background: var(--province-northern-cape); }

.page-view[data-page="explore"] .compact-map {
  align-items: center;
  gap: 16px;
  min-height: 132px;
  overflow: visible;
}

.page-view[data-page="explore"] .compact-map .legend {
  width: 122px;
  margin-left: 12px;
}

.page-view[data-page="explore"] .compact-map .sa-map {
  flex: 0 0 246px;
  min-width: 0;
  max-width: 246px;
  height: 126px;
  transform: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-view[data-page="explore"] .sa-province-img {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 3px 4px rgba(8, 43, 95, 0.08));
}

.page-view[data-page="explore"] .sa-province-svg {
  overflow: visible;
}

.page-view[data-page="explore"] .map-legend-btn {
  left: -188px;
  bottom: 3px;
  height: 28px;
  padding: 0 12px;
  z-index: 2;
}

.page-view[data-page="explore"] .explore-province-shape {
  fill-rule: evenodd;
  stroke: #ffffff;
  stroke-linejoin: round;
  stroke-width: 4;
  cursor: pointer;
  pointer-events: visiblePainted;
  transition: opacity 0.18s ease, filter 0.18s ease;
}

.page-view[data-page="explore"] .explore-province-shape:focus-visible {
  outline: none;
}

.page-view[data-page="explore"] .explore-province-shape.is-muted {
  opacity: 0.28;
  filter: grayscale(1);
}

.page-view[data-page="explore"] .explore-province-shape.is-selected {
  opacity: 1;
  filter: drop-shadow(0 4px 8px rgba(8, 43, 95, 0.24));
  stroke: #ffffff;
  stroke-width: 8;
}

.page-view[data-page="explore"] .explore-province-shape.gauteng { fill: var(--province-gauteng); }
.page-view[data-page="explore"] .explore-province-shape.kzn { fill: var(--province-kzn); }
.page-view[data-page="explore"] .explore-province-shape.limpopo { fill: var(--province-limpopo); }
.page-view[data-page="explore"] .explore-province-shape.western-cape { fill: var(--province-western-cape); }
.page-view[data-page="explore"] .explore-province-shape.eastern-cape { fill: var(--province-eastern-cape); }
.page-view[data-page="explore"] .explore-province-shape.mpumalanga { fill: var(--province-mpumalanga); }
.page-view[data-page="explore"] .explore-province-shape.north-west { fill: var(--province-north-west); }
.page-view[data-page="explore"] .explore-province-shape.free-state { fill: var(--province-free-state); }
.page-view[data-page="explore"] .explore-province-shape.northern-cape { fill: var(--province-northern-cape); }

.page-view[data-page="explore"] .explore-legend-item {
  width: 100%;
  padding: 1px 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: opacity 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.page-view[data-page="explore"] .explore-legend-item:hover,
.page-view[data-page="explore"] .explore-legend-item:focus-visible {
  background: rgba(15, 47, 102, 0.06);
  outline: none;
}

.page-view[data-page="explore"] .explore-legend-item.is-muted {
  opacity: 0.45;
}

.page-view[data-page="explore"] .explore-legend-item.is-selected {
  opacity: 1;
  color: var(--navy);
  font-weight: 850;
  background: rgba(239, 65, 35, 0.07);
}

/* Explore icon correction pass */
.page-view[data-page="explore"],
.page-view[data-page="home"] .home-discovery-grid,
.page-view[data-page="about"] {
  --ico-bank: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M4 10h16'/%3E%3Cpath d='M6 10v8'/%3E%3Cpath d='M10 10v8'/%3E%3Cpath d='M14 10v8'/%3E%3Cpath d='M18 10v8'/%3E%3Cpath d='M12 3 4 8h16z'/%3E%3C/svg%3E");
  --ico-people: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7' r='3'/%3E%3Cpath d='M6.5 21v-1.5a5.5 5.5 0 0 1 11 0V21'/%3E%3Ccircle cx='5.5' cy='10' r='2.3'/%3E%3Cpath d='M2 19a4 4 0 0 1 5-3.9'/%3E%3Ccircle cx='18.5' cy='10' r='2.3'/%3E%3Cpath d='M22 19a4 4 0 0 0-5-3.9'/%3E%3C/svg%3E");
  --ico-award: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='m9.5 12-1.5 8 4-2 4 2-1.5-8'/%3E%3Cpath d='M10 8.2 11.3 9.5 14 6.8'/%3E%3C/svg%3E");
  --ico-chart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19V5'/%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='M8 16v-4'/%3E%3Cpath d='M12 16V9'/%3E%3Cpath d='M16 16V6'/%3E%3Cpath d='m14 8 2-2 3 3'/%3E%3C/svg%3E");
  --ico-lightning: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 5 14h6l-1 8 9-13h-6z'/%3E%3C/svg%3E");
  --ico-scissors: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='7' r='3'/%3E%3Ccircle cx='6' cy='17' r='3'/%3E%3Cpath d='M8.5 8.5 20 20'/%3E%3Cpath d='M8.5 15.5 20 4'/%3E%3C/svg%3E");
  --ico-bag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8h12l-1 13H7z'/%3E%3Cpath d='M9 8a3 3 0 0 1 6 0'/%3E%3Cpath d='M9 13h6'/%3E%3C/svg%3E");
  --ico-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.1 7-12a7 7 0 0 0-14 0c0 5.9 7 12 7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.3'/%3E%3C/svg%3E");
  --ico-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m16.5 16.5 4 4'/%3E%3C/svg%3E");
  --ico-tools: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m14.7 6.3 3-3 3 3-3 3z'/%3E%3Cpath d='M3 21 14 10'/%3E%3Cpath d='m5 4 15 15'/%3E%3C/svg%3E");
  --ico-diamond: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 21 12 12 21 3 12z'/%3E%3C/svg%3E");
  --ico-target: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='7'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3Cpath d='M12 3v3M21 12h-3M12 21v-3M3 12h3'/%3E%3C/svg%3E");
  --ico-laptop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='11' rx='1.5'/%3E%3Cpath d='M3 20h18l-2-4H5z'/%3E%3C/svg%3E");
  --ico-briefcase: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='7' width='16' height='12' rx='2'/%3E%3Cpath d='M9 7V5h6v2M4 12h16M11 12v2h2v-2'/%3E%3C/svg%3E");
  --ico-gear: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19 12a7 7 0 0 0-.1-1l2-1.5-2-3.4-2.4 1a8 8 0 0 0-1.7-1L14.5 3h-5l-.3 3.1a8 8 0 0 0-1.7 1l-2.4-1-2 3.4 2 1.5a7 7 0 0 0 0 2l-2 1.5 2 3.4 2.4-1a8 8 0 0 0 1.7 1l.3 3.1h5l.3-3.1a8 8 0 0 0 1.7-1l2.4 1 2-3.4-2-1.5a7 7 0 0 0 .1-1z'/%3E%3C/svg%3E");
  --ico-doc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l4 4v14H6z'/%3E%3Cpath d='M14 3v5h5'/%3E%3Cpath d='M9 13h6M9 17h6'/%3E%3C/svg%3E");
  --ico-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 8.6c0 5-8.8 10.4-8.8 10.4S3.2 13.6 3.2 8.6A4.6 4.6 0 0 1 12 6a4.6 4.6 0 0 1 8.8 2.6z'/%3E%3C/svg%3E");
  --ico-cap: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10 12 5 2 10l10 5z'/%3E%3Cpath d='M6 12v5c3 2 9 2 12 0v-5'/%3E%3Cpath d='M22 10v6'/%3E%3C/svg%3E");
  --ico-node: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2.3'/%3E%3Ccircle cx='5' cy='19' r='2.3'/%3E%3Ccircle cx='19' cy='19' r='2.3'/%3E%3Cpath d='M11 7 6 17M13 7l5 10M7.3 19h9.4'/%3E%3C/svg%3E");
  --ico-book: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A3.5 3.5 0 0 1 7.5 4H11v16H7.5A3.5 3.5 0 0 0 4 21.5z'/%3E%3Cpath d='M20 5.5A3.5 3.5 0 0 0 16.5 4H13v16h3.5a3.5 3.5 0 0 1 3.5 1.5z'/%3E%3C/svg%3E");
  --ico-palette: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 0 0 0 18h1.2a2 2 0 0 0 1.4-3.4 1.6 1.6 0 0 1 1.1-2.7H17a4 4 0 0 0 0-8 8.9 8.9 0 0 0-5-1.9z'/%3E%3Ccircle cx='7.5' cy='11' r='1'/%3E%3Ccircle cx='10' cy='7.7' r='1'/%3E%3Ccircle cx='14' cy='7.8' r='1'/%3E%3C/svg%3E");
  --ico-utensils: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3v8'/%3E%3Cpath d='M4.5 3v5.5A2.5 2.5 0 0 0 7 11a2.5 2.5 0 0 0 2.5-2.5V3'/%3E%3Cpath d='M7 11v10'/%3E%3Cpath d='M17 3v18'/%3E%3Cpath d='M17 3c2.2 1.4 3.2 3.5 3 6-.1 1.9-1.1 3.2-3 4'/%3E%3C/svg%3E");
  --ico-database: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='5' rx='7' ry='3'/%3E%3Cpath d='M5 5v6c0 1.7 3.1 3 7 3s7-1.3 7-3V5'/%3E%3Cpath d='M5 11v6c0 1.7 3.1 3 7 3s7-1.3 7-3v-6'/%3E%3C/svg%3E");
  --ico-lightbulb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 22h4'/%3E%3Cpath d='M8.5 14.5a6 6 0 1 1 7 0c-.8.6-1.2 1.5-1.2 2.5H9.7c0-1-.4-1.9-1.2-2.5z'/%3E%3Cpath d='M12 2v2M4.9 4.9 6.3 6.3M19.1 4.9l-1.4 1.4'/%3E%3C/svg%3E");
  --ico-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M5 21a7 7 0 0 1 14 0'/%3E%3C/svg%3E");
  --ico-handshake: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 12 3-3 3 3 1-1a3 3 0 0 1 4.2 0l1.8 1.8'/%3E%3Cpath d='m3 12.5 2-2a3 3 0 0 1 4.2 0L12 13'/%3E%3Cpath d='m7 14 4 4a2 2 0 0 0 2.8 0l4.2-4.2'/%3E%3Cpath d='m5 16 3 3M19 16l-3 3'/%3E%3C/svg%3E");
}

.page-view[data-page="explore"] .select-like i::before,
.page-view[data-page="explore"] .round-icon::before,
.page-view[data-page="explore"] .tile-icon::before,
.page-view[data-page="explore"] .cta-icon::before,
.page-view[data-page="explore"] .action-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  border: 0;
  border-radius: 0;
  background: currentColor;
  box-shadow: none;
  transform: none;
  -webkit-mask: var(--explore-icon) center / contain no-repeat;
  mask: var(--explore-icon) center / contain no-repeat;
}

.page-view[data-page="explore"] .select-like i::before {
  width: 15px;
  height: 15px;
}

.page-view[data-page="explore"] .round-icon::before {
  width: 23px;
  height: 23px;
}

.page-view[data-page="explore"] .tile-icon::before {
  width: 13px;
  height: 13px;
}

.page-view[data-page="explore"] .tall-pills .tile-icon::before {
  width: 16px;
  height: 16px;
}

.page-view[data-page="explore"] .cta-icon::before {
  width: 34px;
  height: 34px;
}

.page-view[data-page="explore"] .action-icon::before {
  width: 24px;
  height: 24px;
}

.page-view[data-page="explore"] .select-like i::after,
.page-view[data-page="explore"] .round-icon::after,
.page-view[data-page="explore"] .tile-icon::after,
.page-view[data-page="explore"] .cta-icon::after,
.page-view[data-page="explore"] .action-icon::after {
  display: none;
}

.page-view[data-page="explore"] .pin-icon { --explore-icon: var(--ico-pin); }
.page-view[data-page="explore"] .spark-icon,
.page-view[data-page="explore"] .star-icon { --explore-icon: var(--ico-tools); }
.page-view[data-page="explore"] .hex-icon { --explore-icon: var(--ico-diamond); }
.page-view[data-page="explore"] .target-icon { --explore-icon: var(--ico-target); }
.page-view[data-page="explore"] .select-like b::before { content: ""; display: block; width: 7px; height: 7px; border-right: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.page-view[data-page="explore"] .clear-btn span { border-color: #607392; }

.page-view[data-page="explore"] .clear-btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-view[data-page="explore"] .clear-btn span::before,
.page-view[data-page="explore"] .clear-btn span::after {
  left: 50%;
  top: 50%;
  width: 7px;
  transform-origin: center;
}

.page-view[data-page="explore"] .clear-btn span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.page-view[data-page="explore"] .clear-btn span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.page-view[data-page="explore"] .discovery-grid {
  align-items: stretch;
}

.page-view[data-page="explore"] .browse-card {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 216px;
  overflow: visible;
}

.page-view[data-page="explore"] .browse-card .panel-link {
  margin-top: auto;
  padding-top: 8px;
}

.page-view[data-page="explore"] .province-card {
  padding-bottom: 13px;
}

.page-view[data-page="explore"] .province-card .pill-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 8px;
  margin-top: 9px;
}

.page-view[data-page="explore"] .province-card .pill-grid button {
  min-height: 23px;
  height: auto;
  gap: 8px;
  padding: 2px 9px;
  font-size: 9.4px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: visible;
}

.page-view[data-page="explore"] .province-card .tile-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.page-view[data-page="explore"] .round-icon.bank { --explore-icon: var(--ico-bank); }
.page-view[data-page="explore"] .round-icon.group { --explore-icon: var(--ico-people); }
.page-view[data-page="explore"] .round-icon.award { --explore-icon: var(--ico-award); }
.page-view[data-page="explore"] .round-icon.chart { --explore-icon: var(--ico-chart); }

.page-view[data-page="explore"] .browse-card:first-child .pill-grid button:nth-child(1) .tile-icon { --explore-icon: var(--ico-laptop); }
.page-view[data-page="explore"] .browse-card:first-child .pill-grid button:nth-child(2) .tile-icon { --explore-icon: var(--ico-briefcase); }
.page-view[data-page="explore"] .browse-card:first-child .pill-grid button:nth-child(3) .tile-icon { --explore-icon: var(--ico-gear); }
.page-view[data-page="explore"] .browse-card:first-child .pill-grid button:nth-child(4) .tile-icon { --explore-icon: var(--ico-heart); }
.page-view[data-page="explore"] .browse-card:first-child .pill-grid button:nth-child(5) .tile-icon { --explore-icon: var(--ico-cap); }
.page-view[data-page="explore"] .browse-card:first-child .pill-grid button:nth-child(6) .tile-icon { --explore-icon: var(--ico-utensils); }
.page-view[data-page="explore"] .browse-card:first-child .pill-grid button:nth-child(7) .tile-icon { --explore-icon: var(--ico-palette); }
.page-view[data-page="explore"] .browse-card:first-child .pill-grid button:nth-child(8) .tile-icon { --explore-icon: var(--ico-tools); }
.page-view[data-page="explore"] .province-card .tile-icon { --explore-icon: var(--ico-pin); }
.page-view[data-page="explore"] .pathway-card .tile-icon { --explore-icon: var(--ico-diamond); }
.page-view[data-page="explore"] .pathway-card .tall-pills button:nth-child(1) .tile-icon { --explore-icon: var(--ico-laptop); }
.page-view[data-page="explore"] .pathway-card .tall-pills button:nth-child(2) .tile-icon { --explore-icon: var(--ico-gear); }
.page-view[data-page="explore"] .pathway-card .tall-pills button:nth-child(3) .tile-icon { --explore-icon: var(--ico-briefcase); }
.page-view[data-page="explore"] .pathway-card .tall-pills button:nth-child(4) .tile-icon { --explore-icon: var(--ico-heart); }
.page-view[data-page="explore"] .quals-card .tile-icon { --explore-icon: var(--ico-doc); }

.page-view[data-page="explore"] .province-card .pill-grid button:nth-child(1) .tile-icon { color: var(--province-gauteng); background: #f4eaf6; }
.page-view[data-page="explore"] .province-card .pill-grid button:nth-child(2) .tile-icon { color: var(--province-limpopo); background: #f4f0ff; }
.page-view[data-page="explore"] .province-card .pill-grid button:nth-child(3) .tile-icon { color: var(--province-kzn); background: #fdeaf4; }
.page-view[data-page="explore"] .province-card .pill-grid button:nth-child(4) .tile-icon { color: var(--province-mpumalanga); background: #fff8dc; }
.page-view[data-page="explore"] .province-card .pill-grid button:nth-child(5) .tile-icon { color: var(--province-western-cape); background: #e8f7ec; }
.page-view[data-page="explore"] .province-card .pill-grid button:nth-child(6) .tile-icon { color: var(--province-free-state); background: #fff0e7; }
.page-view[data-page="explore"] .province-card .pill-grid button:nth-child(7) .tile-icon { color: var(--province-eastern-cape); background: #e7eaff; }
.page-view[data-page="explore"] .province-card .pill-grid button:nth-child(8) .tile-icon { color: var(--province-north-west); background: #fdebec; }
.page-view[data-page="explore"] .province-card .pill-grid button:nth-child(9) .tile-icon { color: var(--province-northern-cape); background: #e4f4f5; }

.page-view[data-page="explore"] .cap-line { --explore-icon: var(--ico-cap); }
.page-view[data-page="explore"] .node-icon { --explore-icon: var(--ico-node); }
.page-view[data-page="explore"] .book-icon { --explore-icon: var(--ico-book); }
.page-view[data-page="explore"] .magnify-icon { --explore-icon: var(--ico-search); }

.page-view[data-page="explore"] .bottom-cta .primary .magnify-icon::before {
  width: 21px;
  height: 21px;
}

.page-view[data-page="explore"] .explore-results-panel {
  position: relative;
  margin-top: 10px;
  padding: 15px 22px 18px;
  overflow: visible;
}

.page-view[data-page="explore"] .results-filters {
  gap: 8px;
}

.page-view[data-page="explore"] .results-filters label {
  width: 330px;
}

.page-view[data-page="explore"] .results-filters select {
  min-width: 144px;
}

.page-view[data-page="explore"] .explore-table-scroll {
  margin-top: 14px;
  max-height: 350px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}

.page-view[data-page="explore"] .explore-results-table {
  width: 100%;
  min-width: 1450px;
  border-collapse: collapse;
  color: #50627f;
  font-size: 11px;
}

.page-view[data-page="explore"] .explore-results-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 10px 12px;
  border-bottom: 1px solid #edf0f6;
  background: #ffffff;
  color: var(--navy);
  font-size: 10px;
  font-weight: 850;
  text-align: left;
  white-space: nowrap;
}

.page-view[data-page="explore"] .explore-results-table tbody td {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(15, 47, 102, 0.08);
  line-height: 1.35;
  vertical-align: top;
}

.page-view[data-page="explore"] .explore-results-table tbody tr:hover {
  background: rgba(15, 47, 102, 0.035);
}

.page-view[data-page="explore"] .explore-results-table .status-active {
  color: #059669;
  font-weight: 850;
}

.page-view[data-page="explore"] .explore-results-table .status-expired {
  color: #b45309;
  font-weight: 850;
}

.page-view[data-page="explore"] .explore-results-table .status-neutral {
  color: #50627f;
  font-weight: 800;
}

.page-view[data-page="explore"] .explore-results-table .email-cell,
.page-view[data-page="explore"] .explore-results-table .contact-cell,
.page-view[data-page="explore"] .explore-results-table .nqf-cell {
  white-space: nowrap;
}

.page-view[data-page="home"] .home-discovery-grid {
  align-items: stretch;
}

.page-view[data-page="home"] .home-discovery-grid .browse-card {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 216px;
  overflow: visible;
}

.page-view[data-page="home"] .home-discovery-grid .browse-card .panel-link {
  margin-top: auto;
  padding-top: 8px;
}

.page-view[data-page="home"] .home-discovery-grid .province-card {
  padding-bottom: 13px;
}

.page-view[data-page="home"] .home-discovery-grid .province-card .pill-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 8px;
  min-height: 126px;
  margin-top: 10px;
  align-content: space-between;
}

.page-view[data-page="home"] .home-discovery-grid .province-card .pill-grid button {
  min-height: 26px;
  height: auto;
  gap: 8px;
  padding: 3px 10px;
  font-size: 10.3px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: visible;
}

.page-view[data-page="home"] .home-discovery-grid .province-card .tile-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}

.page-view[data-page="home"] .home-discovery-grid .tile-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 13px;
  height: 13px;
  border: 0;
  border-radius: 0;
  background: currentColor;
  box-shadow: none;
  transform: none;
  -webkit-mask: var(--explore-icon) center / contain no-repeat;
  mask: var(--explore-icon) center / contain no-repeat;
}

.page-view[data-page="home"] .home-discovery-grid .tall-pills .tile-icon::before {
  width: 16px;
  height: 16px;
}

.page-view[data-page="home"] .home-discovery-grid .tile-icon::after {
  display: none;
}

.page-view[data-page="home"] .home-discovery-grid .browse-card:first-child .pill-grid button { line-height: 1.1; }
.page-view[data-page="home"] .home-discovery-grid .browse-card:first-child .pill-grid button:nth-child(1) .tile-icon { --explore-icon: var(--ico-chart); }
.page-view[data-page="home"] .home-discovery-grid .browse-card:first-child .pill-grid button:nth-child(2) .tile-icon { --explore-icon: var(--ico-lightning); }
.page-view[data-page="home"] .home-discovery-grid .browse-card:first-child .pill-grid button:nth-child(3) .tile-icon { --explore-icon: var(--ico-utensils); }
.page-view[data-page="home"] .home-discovery-grid .browse-card:first-child .pill-grid button:nth-child(4) .tile-icon { --explore-icon: var(--ico-heart); }
.page-view[data-page="home"] .home-discovery-grid .browse-card:first-child .pill-grid button:nth-child(5) .tile-icon { --explore-icon: var(--ico-briefcase); }
.page-view[data-page="home"] .home-discovery-grid .browse-card:first-child .pill-grid button:nth-child(6) .tile-icon { --explore-icon: var(--ico-tools); }
.page-view[data-page="home"] .home-discovery-grid .browse-card:first-child .pill-grid button:nth-child(7) .tile-icon { --explore-icon: var(--ico-cap); }
.page-view[data-page="home"] .home-discovery-grid .browse-card:first-child .pill-grid button:nth-child(8) .tile-icon { --explore-icon: var(--ico-scissors); }
.page-view[data-page="home"] .home-discovery-grid .browse-card:first-child .pill-grid button:nth-child(9) .tile-icon { --explore-icon: var(--ico-bag); }
.page-view[data-page="home"] .home-discovery-grid .province-card .tile-icon { --explore-icon: var(--ico-pin); }
.page-view[data-page="home"] .home-discovery-grid .pathway-card .tile-icon { --explore-icon: var(--ico-diamond); }
.page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills button:nth-child(1) .tile-icon { --explore-icon: var(--ico-laptop); }
.page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills button:nth-child(2) .tile-icon { --explore-icon: var(--ico-gear); }
.page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills button:nth-child(3) .tile-icon { --explore-icon: var(--ico-briefcase); }
.page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills button:nth-child(4) .tile-icon { --explore-icon: var(--ico-heart); }
.page-view[data-page="home"] .home-discovery-grid .quals-card .tile-icon { --explore-icon: var(--ico-doc); }

.page-view[data-page="home"] .home-discovery-grid .province-card .pill-grid button:nth-child(1) .tile-icon { color: var(--province-gauteng); background: #f4eaf6; }
.page-view[data-page="home"] .home-discovery-grid .province-card .pill-grid button:nth-child(2) .tile-icon { color: var(--province-limpopo); background: #f4f0ff; }
.page-view[data-page="home"] .home-discovery-grid .province-card .pill-grid button:nth-child(3) .tile-icon { color: var(--province-kzn); background: #fdeaf4; }
.page-view[data-page="home"] .home-discovery-grid .province-card .pill-grid button:nth-child(4) .tile-icon { color: var(--province-mpumalanga); background: #fff8dc; }
.page-view[data-page="home"] .home-discovery-grid .province-card .pill-grid button:nth-child(5) .tile-icon { color: var(--province-western-cape); background: #e8f7ec; }
.page-view[data-page="home"] .home-discovery-grid .province-card .pill-grid button:nth-child(6) .tile-icon { color: var(--province-free-state); background: #fff0e7; }
.page-view[data-page="home"] .home-discovery-grid .province-card .pill-grid button:nth-child(7) .tile-icon { color: var(--province-eastern-cape); background: #e7eaff; }
.page-view[data-page="home"] .home-discovery-grid .province-card .pill-grid button:nth-child(8) .tile-icon { color: var(--province-north-west); background: #fdebec; }
.page-view[data-page="home"] .home-discovery-grid .province-card .pill-grid button:nth-child(9) .tile-icon { color: var(--province-northern-cape); background: #e4f4f5; }

/* Careers approved direction */
.page-view[data-page="careers"],
.career-family-modal {
  --career-orange: #f04423;
  --career-soft: #fff3ee;
  --career-line-monitor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4M9 8l-2 2 2 2M15 8l2 2-2 2'/%3E%3C/svg%3E");
  --career-line-briefcase: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='7' width='16' height='12' rx='2'/%3E%3Cpath d='M9 7V5h6v2M4 12h16M11 12v2h2v-2'/%3E%3C/svg%3E");
  --career-line-gear: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19 12a7 7 0 0 0-.1-1l2-1.5-2-3.4-2.4 1a8 8 0 0 0-1.7-1L14.5 3h-5l-.3 3.1a8 8 0 0 0-1.7 1l-2.4-1-2 3.4 2 1.5a7 7 0 0 0 0 2l-2 1.5 2 3.4 2.4-1a8 8 0 0 0 1.7 1l.3 3.1h5l.3-3.1a8 8 0 0 0 1.7-1l2.4 1 2-3.4-2-1.5a7 7 0 0 0 .1-1z'/%3E%3C/svg%3E");
  --career-line-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 8.6c0 5-8.8 10.4-8.8 10.4S3.2 13.6 3.2 8.6A4.6 4.6 0 0 1 12 6a4.6 4.6 0 0 1 8.8 2.6z'/%3E%3Cpath d='M7 12h3l1.2-2.3 2.1 4.8 1.5-2.5H17'/%3E%3C/svg%3E");
  --career-line-cap: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10 12 5 2 10l10 5z'/%3E%3Cpath d='M6 12v5c3 2 9 2 12 0v-5'/%3E%3Cpath d='M22 10v6'/%3E%3C/svg%3E");
  --career-line-pencil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 5 4 4L8 20H4v-4z'/%3E%3Cpath d='m13 7 4 4'/%3E%3Cpath d='M4 20 3 21'/%3E%3C/svg%3E");
  --career-line-tools: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 5.3a4 4 0 0 0 4.7 4.7L10 19.4a2.2 2.2 0 0 1-3.1-3.1z'/%3E%3Cpath d='m4 4 6 6'/%3E%3Cpath d='m6 2 6 6'/%3E%3Cpath d='m3 5 4-4'/%3E%3Cpath d='m15 15 5 5'/%3E%3C/svg%3E");
  --career-line-cloche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 17h16'/%3E%3Cpath d='M6 17a6 6 0 0 1 12 0'/%3E%3Cpath d='M12 7V5'/%3E%3Cpath d='M9 21h6'/%3E%3C/svg%3E");
  --career-line-chart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19V5'/%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='M8 16v-4'/%3E%3Cpath d='M12 16V9'/%3E%3Cpath d='M16 16V6'/%3E%3Cpath d='m14 8 2-2 3 3'/%3E%3C/svg%3E");
  --career-line-bolt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h7l-1 8 10-13h-7z'/%3E%3C/svg%3E");
  --career-line-book: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A3.5 3.5 0 0 1 7.5 4H11v16H7.5A3.5 3.5 0 0 0 4 21.5z'/%3E%3Cpath d='M20 5.5A3.5 3.5 0 0 0 16.5 4H13v16h3.5a3.5 3.5 0 0 1 3.5 1.5z'/%3E%3C/svg%3E");
  --career-line-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='5' width='12' height='16' rx='2'/%3E%3Cpath d='M9 5.5V4h6v1.5'/%3E%3Cpath d='M9 10h6'/%3E%3Cpath d='M9 14h6'/%3E%3Cpath d='M9 18h4'/%3E%3C/svg%3E");
  --career-line-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='6' height='6' rx='1'/%3E%3Crect x='14' y='4' width='6' height='6' rx='1'/%3E%3Crect x='4' y='14' width='6' height='6' rx='1'/%3E%3Crect x='14' y='14' width='6' height='6' rx='1'/%3E%3C/svg%3E");
  --career-line-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m16.5 16.5 4 4'/%3E%3C/svg%3E");
  --career-line-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.1 7-12a7 7 0 0 0-14 0c0 5.9 7 12 7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.3'/%3E%3C/svg%3E");
  --career-line-map: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18-6 3V6l6-3 6 3 6-3v15l-6 3z'/%3E%3Cpath d='M9 3v15M15 6v15'/%3E%3Ccircle cx='17.5' cy='10' r='1.8'/%3E%3Cpath d='M17.5 12.2v3'/%3E%3C/svg%3E");
  --career-line-route: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='6' r='2.4'/%3E%3Ccircle cx='18' cy='18' r='2.4'/%3E%3Cpath d='M8.4 6h5.1a3.5 3.5 0 0 1 0 7H10a3.5 3.5 0 0 0 0 7h5.6'/%3E%3C/svg%3E");
  --career-line-compass: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='m15.5 8.5-2.1 5-4.9 2.1 2.1-5z'/%3E%3Cpath d='M12 3v2M12 19v2M3 12h2M19 12h2'/%3E%3C/svg%3E");
}

.careers-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 12px;
  margin-top: 14px;
  align-items: stretch;
}

.page-view[data-page="careers"] .careers-info-strip {
  margin-top: 12px;
  min-height: 56px;
  padding: 8px 22px;
}

.page-view[data-page="careers"] .briefcase-callout::before {
  inset: 0;
  width: 22px;
  height: 22px;
  margin: auto;
  border: 0;
  background: currentColor;
  -webkit-mask: var(--career-line-briefcase) center / contain no-repeat;
  mask: var(--career-line-briefcase) center / contain no-repeat;
}

.page-view[data-page="careers"] .briefcase-callout::after {
  display: none;
}

.career-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.career-card-head h3 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
}

.career-card-head .panel-link {
  margin: 0;
  white-space: nowrap;
}

.career-families-panel,
.popular-careers-panel,
.how-careers-work-panel {
  height: 540px;
  min-height: 540px;
  padding: 18px;
  overflow: visible;
}

.popular-careers-panel {
  overflow: hidden;
}

.how-careers-work-panel {
  display: flex;
  flex-direction: column;
}

.career-families-panel {
  overflow: hidden;
}

.career-family-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-height: 466px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 5px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(240, 68, 35, 0.45) rgba(255, 244, 239, 0.9);
}

.career-family-grid::-webkit-scrollbar {
  width: 8px;
}

.career-family-grid::-webkit-scrollbar-track {
  background: rgba(255, 244, 239, 0.9);
  border-radius: 999px;
}

.career-family-grid::-webkit-scrollbar-thumb {
  background: rgba(240, 68, 35, 0.45);
  border-radius: 999px;
}

.career-family-tile {
  min-height: 152px;
  padding: 15px 14px;
  border: 1px solid #edf0f6;
  border-radius: 8px;
  background: #ffffff;
  color: #5d6d86;
  text-align: left;
  cursor: pointer;
}

.career-line-icon {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 10px;
  border: 1px solid #ffd8cd;
  border-radius: 8px;
  background: #fff4ef;
  color: var(--career-orange);
  flex: 0 0 auto;
}

.career-line-icon::before {
  content: "";
  width: 28px;
  height: 28px;
  background: currentColor;
  -webkit-mask: var(--career-icon) center / contain no-repeat;
  mask: var(--career-icon) center / contain no-repeat;
}

.career-family-tile strong,
.career-list strong,
.career-step strong {
  display: block;
  color: var(--navy);
  font-weight: 900;
}

.career-family-tile strong {
  min-height: 32px;
  font-size: 12px;
  line-height: 1.25;
  word-break: normal;
  overflow-wrap: anywhere;
}

.career-family-tile em {
  display: block;
  margin: 5px 0 12px;
  color: var(--orange);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.career-family-tile small {
  display: block;
  color: #65748c;
  font-size: 10.7px;
  line-height: 1.45;
  font-weight: 650;
}

.career-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.popular-careers-panel .career-list-scroll {
  max-height: 466px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 5px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(240, 68, 35, 0.45) rgba(255, 244, 239, 0.9);
}

.popular-careers-panel .career-list-scroll::-webkit-scrollbar {
  width: 8px;
}

.popular-careers-panel .career-list-scroll::-webkit-scrollbar-track {
  background: rgba(255, 244, 239, 0.9);
  border-radius: 999px;
}

.popular-careers-panel .career-list-scroll::-webkit-scrollbar-thumb {
  background: rgba(240, 68, 35, 0.45);
  border-radius: 999px;
}

.popular-careers-panel .career-row {
  width: 100%;
  min-height: 72px;
  height: auto;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 16px;
  align-items: start;
  gap: 11px;
  padding: 10px 10px;
  border: 1px solid #edf0f6;
  border-radius: 8px;
  background: #ffffff;
  color: #63728a;
  text-align: left;
  cursor: pointer;
}

.popular-careers-panel .career-list .career-line-icon {
  width: 34px;
  height: 34px;
  margin: 1px 0 0;
}

.popular-careers-panel .career-list .career-line-icon::before {
  width: 22px;
  height: 22px;
}

.career-row-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 1px;
}

.popular-careers-panel .career-row-copy strong {
  font-size: 12px;
  line-height: 1.18;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.popular-careers-panel .career-row-copy small {
  display: block;
  color: #66758c;
  font-size: 9.9px;
  line-height: 1.24;
  font-weight: 700;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}

.career-chevron {
  align-self: center;
  justify-self: end;
  color: #7b8aa3;
  font-size: 22px;
  line-height: 1;
  font-weight: 500;
}

.career-steps {
  position: relative;
  display: grid;
  gap: 14px;
  margin-top: 8px;
  margin-bottom: 14px;
}

.career-steps::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 40px;
  bottom: 40px;
  border-left: 2px dotted #d3dbe8;
}

.career-step {
  position: relative;
  display: grid;
  grid-template-columns: 42px 48px 1fr;
  align-items: center;
  gap: 12px;
}

.step-number {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #ffd8cd;
  border-radius: 50%;
  background: #fff4ef;
  color: var(--orange);
  font-size: 18px;
  font-weight: 900;
}

.career-step .career-line-icon {
  width: 44px;
  height: 44px;
  margin: 0;
  border-color: transparent;
  background: transparent;
}

.career-step strong {
  font-size: 12.4px;
}

.career-step small {
  display: block;
  margin-top: 5px;
  color: #64738b;
  font-size: 10.8px;
  line-height: 1.4;
  font-weight: 650;
}

.how-tip {
  margin-top: auto;
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  border: 1px solid #ffd8cd;
  border-radius: 8px;
  background: #fff7f2;
}

.how-tip-icon {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid #ffd8cd;
  border-radius: 50%;
  background: #ffe9df;
  color: var(--orange);
}

.how-tip-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 20px;
  height: 20px;
  margin: auto;
  background: currentColor;
  -webkit-mask: var(--career-line-compass) center / contain no-repeat;
  mask: var(--career-line-compass) center / contain no-repeat;
}

.provider-next-step .how-tip-icon::before {
  -webkit-mask: var(--career-line-pin) center / contain no-repeat;
  mask: var(--career-line-pin) center / contain no-repeat;
}

.how-tip strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 900;
}

.how-tip p {
  margin: 0;
  color: #64738b;
  font-size: 10.4px;
  line-height: 1.34;
  font-weight: 650;
}

.how-tip-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  color: #2e73ff;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}

.career-line-icon.monitor { --career-icon: var(--career-line-monitor); }
.career-line-icon.briefcase { --career-icon: var(--career-line-briefcase); }
.career-line-icon.gear { --career-icon: var(--career-line-gear); }
.career-line-icon.heart { --career-icon: var(--career-line-heart); }
.career-line-icon.cap { --career-icon: var(--career-line-cap); }
.career-line-icon.pencil { --career-icon: var(--career-line-pencil); }
.career-line-icon.tools { --career-icon: var(--career-line-tools); }
.career-line-icon.cloche { --career-icon: var(--career-line-cloche); }
.career-line-icon.chart { --career-icon: var(--career-line-chart); }
.career-line-icon.bolt { --career-icon: var(--career-line-bolt); }
.career-line-icon.book { --career-icon: var(--career-line-book); }
.career-line-icon.user { --career-icon: var(--career-line-user); }
.career-line-icon.grid { --career-icon: var(--career-line-grid); }
.career-line-icon.search-small { --career-icon: var(--career-line-search); }
.career-line-icon.pin { --career-icon: var(--career-line-pin); }
.career-line-icon.route { --career-icon: var(--career-line-route); }

.page-view[data-page="careers"] .map-line {
  --home-icon: var(--career-line-compass);
}

.page-view[data-page="careers"] .cta-icon.map-line::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 34px;
  height: 34px;
  margin: auto;
  background: var(--orange);
  -webkit-mask: var(--career-line-compass) center / contain no-repeat;
  mask: var(--career-line-compass) center / contain no-repeat;
}

.page-view[data-page="careers"] .bottom-cta .action-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 23px;
  height: 23px;
  margin: auto;
  border: 0;
  border-radius: 0;
  background: currentColor;
  box-shadow: none;
  transform: none;
  -webkit-mask: var(--career-action-icon) center / contain no-repeat;
  mask: var(--career-action-icon) center / contain no-repeat;
}

.page-view[data-page="careers"] .bottom-cta .action-icon::after {
  display: none;
}

.page-view[data-page="careers"] .bottom-cta .node-icon {
  --career-action-icon: var(--career-line-route);
}

.page-view[data-page="careers"] .bottom-cta .book-icon {
  --career-action-icon: var(--career-line-cap);
}

.page-view[data-page="careers"] .bottom-cta .magnify-icon {
  --career-action-icon: var(--career-line-search);
}

@media (max-width: 1450px) {
  .shell {
    width: calc(100vw - 56px);
  }

  .header-shell {
    grid-template-columns: 290px 1fr 220px;
  }

  .brand img {
    width: 198px;
    max-height: 60px;
  }

  .main-nav {
    gap: 30px;
  }

  .hero-copy {
    padding-left: 56px;
  }

  .home-top-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) 2.35fr 2fr;
  }

  .table-filters {
    transform: scale(0.92);
    transform-origin: right center;
  }

  .phase {
    width: 108px;
  }
}

/* Explore results table spacing refinements */
.page-view[data-page="explore"] .explore-results-panel {
  padding-top: 16px;
}

.page-view[data-page="explore"] .explore-results-panel .table-head {
  display: block;
  margin-bottom: 10px;
}

.page-view[data-page="explore"] .explore-results-panel .table-head h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.15;
}

.page-view[data-page="explore"] .explore-results-panel .table-head p {
  margin-top: 5px;
}

.page-view[data-page="explore"] .explore-table-scroll {
  margin-top: 0;
  max-height: 360px;
}

.page-view[data-page="explore"] .explore-results-table {
  table-layout: fixed;
  min-width: 1540px;
}

.page-view[data-page="explore"] .explore-results-table .col-provider { width: 240px; }
.page-view[data-page="explore"] .explore-results-table .col-province { width: 150px; }
.page-view[data-page="explore"] .explore-results-table .col-career { width: 190px; }
.page-view[data-page="explore"] .explore-results-table .col-qualification { width: 360px; }
.page-view[data-page="explore"] .explore-results-table .col-nqf { width: 86px; }
.page-view[data-page="explore"] .explore-results-table .col-partner { width: 130px; }
.page-view[data-page="explore"] .explore-results-table .col-status { width: 90px; }
.page-view[data-page="explore"] .explore-results-table .col-email { width: 220px; }
.page-view[data-page="explore"] .explore-results-table .col-contact { width: 120px; }

.page-view[data-page="explore"] .explore-results-table th,
.page-view[data-page="explore"] .explore-results-table td {
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-view[data-page="explore"] .explore-results-table th:nth-child(2),
.page-view[data-page="explore"] .explore-results-table td:nth-child(2),
.page-view[data-page="explore"] .explore-results-table th:nth-child(5),
.page-view[data-page="explore"] .explore-results-table td:nth-child(5),
.page-view[data-page="explore"] .explore-results-table th:nth-child(6),
.page-view[data-page="explore"] .explore-results-table td:nth-child(6),
.page-view[data-page="explore"] .explore-results-table th:nth-child(7),
.page-view[data-page="explore"] .explore-results-table td:nth-child(7),
.page-view[data-page="explore"] .explore-results-table th:nth-child(8),
.page-view[data-page="explore"] .explore-results-table td:nth-child(8),
.page-view[data-page="explore"] .explore-results-table th:nth-child(9),
.page-view[data-page="explore"] .explore-results-table td:nth-child(9) {
  white-space: nowrap;
}

.page-view[data-page="explore"] .explore-results-table th:nth-child(3),
.page-view[data-page="explore"] .explore-results-table td:nth-child(3) {
  white-space: normal;
}

.page-view[data-page="explore"] .explore-results-table th:nth-child(4),
.page-view[data-page="explore"] .explore-results-table td:nth-child(4) {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}


/* Explore filter improvements */
.select-control {
  cursor: pointer;
}

.select-control select {
  cursor: pointer;
}

.select-control i,
.select-control b {
  pointer-events: none;
}

/* Search suggestions */
.page-view[data-page="explore"] .explore-search-bar {
  position: relative;
  z-index: 8;
}

.search-suggestions {
  position: absolute;
  left: 0;
  width: calc(100% - 98px);
  top: calc(100% + 8px);
  z-index: 40;
  max-height: 292px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 6px;
  border: 1px solid #dce3ee;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(15, 47, 102, 0.14);
}

.home-search-suggestions {
  width: calc(100% - 98px);
}

.search-suggestion-item {
  width: 100%;
  min-height: 42px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--navy);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.search-suggestion-item:hover,
.search-suggestion-item:focus-visible {
  background: #fff5ef;
  outline: none;
}

.search-suggestion-item span {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
}

.search-suggestion-item small {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 999px;
  background: #eef4ff;
  color: #60708a;
  font-size: 10px;
  font-weight: 850;
}


/* Home SETA / Quality Partner carousel */
.partner-carousel {
  display: flex;
  flex-direction: column;
  min-height: 198px;
}

.partner-carousel-frame {
  position: relative;
  flex: 1 1 auto;
  min-height: 154px;
  margin-top: 2px;
  padding: 0 30px;
  user-select: none;
  touch-action: pan-y;
  cursor: grab;
}

.partner-carousel-frame.is-dragging {
  cursor: grabbing;
}

.partner-slide {
  min-width: 0;
  width: 100%;
  min-height: 154px;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 3px 2px 0;
}

.partner-carousel .partner-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  margin: 3px 0 0;
  min-height: 110px;
  text-align: center;
}

.partner-carousel .partner-body > div:last-child {
  min-width: 0;
  padding-top: 0;
}

.partner-carousel .partner-body h2 {
  max-width: 260px;
  margin: 0 0 3px;
  line-height: 1.08;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
}

.partner-carousel .partner-body p {
  max-width: 260px;
  min-height: 30px;
  margin: 0 auto;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 9.8px;
  line-height: 1.28;
}

.partner-logo-wrap {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
}

.partner-logo-frame {
  width: 170px;
  height: 72px;
  margin: 7px auto 7px;
  padding: 0;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  box-shadow: none;
}

.partner-logo-frame.is-dark-logo {
  background: transparent;
  border-color: transparent;
}

.partner-logo-wrap img {
  width: auto;
  height: auto;
  max-width: 170px;
  max-height: 72px;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 0;
  background: transparent;
}

.partner-logo-frame.logo-wide img {
  max-width: 175px;
  max-height: 58px;
}

.partner-logo-frame.logo-square img {
  max-width: 96px;
  max-height: 72px;
}

.partner-logo-frame.logo-tall img {
  max-width: 76px;
  max-height: 78px;
}

.partner-logo-wrap img[hidden] {
  display: none;
}

.partner-logo-wrap span[hidden] {
  display: none;
}

.partner-logo-wrap span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 48px;
  padding: 6px 10px;
  text-align: center;
  line-height: 1.05;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--navy);
  background: transparent;
  border-radius: 0;
}

.partner-logo-frame.is-dark-logo span {
  color: #ffffff;
  background: transparent;
}

.partner-nav {
  position: absolute;
  top: 62px;
  z-index: 3;
  width: 18px;
  height: 30px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(15, 47, 102, 0.72);
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: color 0.18s ease, transform 0.18s ease;
}

.partner-prev {
  left: 8px;
}

.partner-next {
  right: 8px;
}

.partner-nav:hover,
.partner-nav:focus-visible {
  color: var(--accent);
  transform: translateY(-1px);
  outline: none;
}

.partner-stats {
  align-self: stretch;
  margin-top: auto;
  padding-top: 8px;
  gap: 6px;
}

.partner-stats span {
  gap: 12px;
}

.partner-stats span strong {
  white-space: nowrap;
}

.partner-carousel-status {
  display: none;
}

/* Explore page requested removals/tightening */
.page-view[data-page="explore"] .explore-results-panel {
  padding-top: 14px;
}

.page-view[data-page="explore"] .explore-table-scroll {
  margin-top: 0;
}

.page-view[data-page="explore"] .bottom-cta .cta-actions {
  justify-content: flex-end;
}


.page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills button {
  min-height: 58px;
  height: auto;
  padding-top: 7px;
  padding-bottom: 7px;
}

.page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills b {
  font-size: 10px;
  line-height: 1.15;
}

.page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills small {
  font-size: 9.3px;
  line-height: 1.15;
}

.page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills button {
  min-height: 56px;
  height: auto;
  padding-top: 7px;
  padding-bottom: 7px;
}

.page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills b {
  font-size: 9.7px;
  line-height: 1.15;
}

.page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills small {
  font-size: 9px;
  line-height: 1.15;
}

.page-view[data-page="home"] .home-discovery-grid .quals-card .pill-grid.five-types {
  margin-top: 10px;
}

.page-view[data-page="home"] .home-discovery-grid .quals-card .pill-grid.five-types button:last-child {
  grid-column: 1 / -1;
}

.page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills button:nth-child(1) .tile-icon { --explore-icon: var(--ico-doc); }
.page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills button:nth-child(2) .tile-icon { --explore-icon: var(--ico-award); }
.page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills button:nth-child(3) .tile-icon { --explore-icon: var(--ico-node); }
.page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills button:nth-child(4) .tile-icon { --explore-icon: var(--ico-cap); }
.page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills button:nth-child(5) .tile-icon { --explore-icon: var(--ico-tools); }


.page-view[data-page="home"] .home-discovery-grid .quals-card .pill-grid button:last-child {
  grid-column: auto;
}

.page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills button:nth-child(1) .tile-icon,
.page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills button:nth-child(2) .tile-icon,
.page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills button:nth-child(3) .tile-icon,
.page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills button:nth-child(4) .tile-icon {
  --explore-icon: var(--ico-doc);
}

.page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills button {
  min-height: 58px;
}


/* Search suggestion dropdown visibility and highlight */
.page-view[data-page="home"] .home-hero,
.page-view[data-page="explore"] .explore-hero,
.page-view[data-page="careers"] .careers-hero {
  overflow: visible;
  z-index: 30;
}

.page-view[data-page="home"] .callout-action,
.page-view[data-page="explore"] .thin {
  position: relative;
  z-index: 1;
}

.search-suggestions[hidden] {
  display: none !important;
}

.search-suggestion-item span .suggestion-match {
  display: inline;
  padding: 0 1px;
  border-radius: 3px;
  background: #dbeafe;
  color: #0b4db3;
  font-weight: 950;
}

.search-suggestion-item span .suggestion-muted {
  color: #7d8da6;
}


.career-family-tile {
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.career-family-tile:hover,
.career-family-tile:focus-visible {
  border-color: rgba(240, 68, 35, 0.45);
  box-shadow: 0 12px 24px rgba(15, 47, 102, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.career-family-modal[hidden] {
  display: none;
}

.career-family-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  padding: 22px;
}

.career-family-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 22, 52, 0.42);
  backdrop-filter: blur(3px);
}

.career-family-modal__dialog {
  position: relative;
  width: min(760px, calc(100vw - 44px));
  max-height: min(640px, calc(100vh - 56px));
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid #ffd3c8;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(5, 22, 52, 0.24);
}

.career-family-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid #ffd3c8;
  border-radius: 999px;
  background: #fff7f3;
  color: var(--career-orange);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.career-family-modal__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 42px;
}

.career-family-modal__head h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
}

.career-family-modal__head p {
  margin: 0;
  color: #5d6d86;
  font-size: 12px;
  line-height: 1.4;
}

.career-family-modal__roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: 420px;
  overflow-y: auto;
  padding: 4px 4px 4px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(240, 68, 35, 0.45) rgba(255, 244, 239, 0.9);
}

.career-family-modal__roles::-webkit-scrollbar {
  width: 8px;
}

.career-family-modal__roles::-webkit-scrollbar-track {
  background: rgba(255, 244, 239, 0.9);
  border-radius: 999px;
}

.career-family-modal__roles::-webkit-scrollbar-thumb {
  background: rgba(240, 68, 35, 0.45);
  border-radius: 999px;
}

.career-family-role-card {
  min-height: 70px;
  padding: 12px 13px;
  border: 1px solid #e9edf5;
  border-radius: 13px;
  background: #ffffff;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.career-family-role-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 900;
}

.career-family-role-card small {
  display: block;
  color: #697993;
  font-size: 10px;
  font-weight: 750;
}

.career-family-role-card:hover,
.career-family-role-card:focus-visible {
  border-color: rgba(240, 68, 35, 0.5);
  box-shadow: 0 12px 22px rgba(15, 47, 102, 0.1);
  transform: translateY(-1px);
  outline: none;
}

body.career-family-modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .career-family-modal__roles {
    grid-template-columns: 1fr;
  }
}

.career-family-modal__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0;
  color: var(--career-orange);
}

.career-family-modal__icon::before {
  width: 28px;
  height: 28px;
}

.popular-careers-panel .career-row:hover,
.popular-careers-panel .career-row:focus-visible {
  border-color: rgba(240, 68, 35, 0.45);
  box-shadow: 0 10px 20px rgba(15, 47, 102, 0.07);
  outline: none;
}


.page-view[data-page="careers"] .career-search-wrap,
.page-view[data-page="careers"] .career-search-suggestions {
  z-index: 80;
}

.page-view[data-page="careers"] .callout.thin,
.page-view[data-page="careers"] .career-grid,
.page-view[data-page="careers"] .bottom-cta {
  position: relative;
  z-index: 1;
}

.page-view[data-page="careers"] .career-search-suggestions {
  max-height: 230px;
}

.page-view[data-page="careers"] .bottom-cta .cta-actions {
  justify-content: flex-end;
}


/* Final home Career Families alignment */
.page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills button {
  min-height: 58px;
  justify-content: center;
}

.page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills b {
  font-size: 10px;
  line-height: 1.13;
}

.page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills small {
  margin-top: 3px;
  font-size: 9.5px;
  line-height: 1.1;
  font-weight: 850;
  color: #748198;
}

/* About page text/link balancing */
.page-view[data-page="about"] .about-info-card:first-child {
  padding: 22px 22px 20px;
}

.page-view[data-page="about"] .about-info-card:first-child .round-icon {
  margin-bottom: 14px;
}

.page-view[data-page="about"] .about-info-card:first-child h3 {
  margin-bottom: 14px;
  font-size: 18px;
}

.page-view[data-page="about"] .about-info-card:first-child p {
  margin-bottom: 13px;
  font-size: 12.15px;
  line-height: 1.42;
}

.page-view[data-page="about"] .about-info-card .external-link {
  max-width: 100%;
  line-height: 1.2;
  white-space: normal;
  flex-wrap: wrap;
}

.page-view[data-page="about"] .about-info-card:first-child .external-link {
  font-size: 11.7px;
}

.page-view[data-page="about"] .creator-card p {
  margin-bottom: 13px;
  font-size: 12.45px;
  line-height: 1.48;
}
.page-view[data-page="about"] .seta-system-card p {
  margin-bottom: 12px;
  font-size: 12.45px;
  line-height: 1.46;
}

.page-view[data-page="about"] .about-info-card .external-link {
  margin-top: auto;
}


.page-view[data-page="about"] .creator-card p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   Responsive mobile/tablet layout
   One codebase, same data, automatic layout by viewport width
   ========================================================= */
.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #f2dfd5;
  border-radius: 12px;
  background: #fff7f2;
  color: var(--navy);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1180px) {
  body {
    min-width: 0;
    overflow-x: hidden;
  }

  .shell {
    width: min(100% - 28px, 1080px);
  }

  .header-shell {
    grid-template-columns: 260px 1fr 42px;
    gap: 14px;
  }

  .brand img {
    width: 186px;
    max-height: 58px;
  }

  .main-nav {
    gap: 24px;
  }

  .hero-copy {
    padding-left: 56px;
  }

  .home-top-grid,
  .explore-top-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-map-card,
  .partner-card,
  .explore-map-card {
    grid-column: span 2;
  }

  .home-discovery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .careers-main-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.65fr);
  }

  .how-careers-work-panel {
    grid-column: 1 / -1;
    height: auto;
    min-height: 0;
  }

  .how-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .how-tip-card {
    margin-top: 18px;
  }

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

@media (max-width: 900px) {
  html {
    scroll-padding-top: 74px;
  }

  body {
    min-width: 0;
    background: #fffaf6;
  }

  .shell {
    width: calc(100% - 24px);
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 64px;
  }

  .header-shell {
    position: relative;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .brand img {
    width: 150px;
    max-height: 52px;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    position: relative;
    z-index: 1002;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    height: auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 10px;
    border: 1px solid #f0e2d9;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 38px rgba(8, 43, 95, 0.12);
  }

  body.mobile-nav-open .main-nav {
    display: grid;
  }

  .nav-link {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 14px;
    text-align: left;
  }

  .nav-link.active,
  .nav-link:hover,
  .nav-link:focus-visible {
    background: #fff3ed;
  }

  .nav-link::after {
    display: none;
  }

  .header-spacer {
    display: none;
  }

  .page-shell {
    padding-bottom: 18px;
  }

  .hero,
  .home-hero,
  .explore-hero,
  .careers-hero,
  .about-hero {
    height: auto;
    min-height: 0;
    margin-top: 10px;
    border-radius: 16px;
  }

  .hero::after {
    background:
      linear-gradient(180deg,
        rgba(255, 244, 237, 0.99) 0%,
        rgba(255, 244, 237, 0.96) 42%,
        rgba(255, 244, 237, 0.72) 68%,
        rgba(255, 244, 237, 0.3) 100%);
  }

  .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% center;
    opacity: 0.8;
  }

  .hero-copy,
  .home-copy,
  .explore-copy,
  .career-copy,
  .about-copy {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    padding: 24px 18px 28px;
  }

  .hero h1,
  .home-hero h1,
  .explore-hero h1,
  .careers-hero h1,
  .about-hero h1 {
    max-width: 100%;
    font-size: clamp(27px, 8vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.04em;
  }

  .hero p,
  .home-hero p,
  .explore-hero p,
  .careers-hero p,
  .about-hero p {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.45;
  }

  .home-search-wrap,
  .career-search-wrap,
  .search-bar,
  .home-search-wrap .search-bar,
  .career-search-wrap .search-bar {
    width: 100%;
  }

  .search-bar {
    height: auto;
    min-height: 48px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    overflow: visible;
  }

  .search-bar .search-icon {
    grid-column: 1;
  }

  .search-bar input {
    min-width: 0;
    height: 48px;
    padding-right: 12px;
    grid-column: 2;
  }

  .search-bar > button {
    grid-column: 1 / -1;
    width: 100%;
    height: 44px;
    border-radius: 0 0 7px 7px;
  }

  .search-suggestions,
  .home-search-suggestions,
  .career-search-suggestions,
  .page-view[data-page="explore"] .search-suggestions {
    left: 0;
    right: 0;
    width: 100%;
    top: calc(100% + 8px);
    max-height: 250px;
    z-index: 1200;
  }

  .search-suggestion-item {
    min-height: 44px;
    padding: 11px 12px;
  }

  .callout,
  .callout.thin,
  .callout-action,
  .about-callout {
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: center;
    gap: 12px;
    min-height: 0;
    padding: 14px;
    border-radius: 14px;
  }

  .callout .primary,
  .callout-action .primary {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }

  .callout-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .callout-copy strong {
    font-size: 14px;
    line-height: 1.25;
  }

  .callout-copy span {
    font-size: 12px;
    line-height: 1.35;
  }

  .top-grid,
  .home-top-grid,
  .explore-top-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .stat-card {
    min-height: 160px;
    height: auto;
    padding: 18px 14px;
  }

  .stat-card strong {
    font-size: 28px;
  }

  .stat-card span:not(.round-icon) {
    font-size: 12px;
  }

  .home-map-card,
  .partner-card,
  .explore-map-card {
    grid-column: 1 / -1;
  }

  .home-map-card .map-area,
  .map-area.home-map,
  .compact-map {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-map .legend,
  .legend.glance,
  .legend.no-wrap {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 8px;
    margin: 0;
    font-size: 11px;
  }

  .province-legend-item,
  .explore-legend-item {
    width: 100%;
    min-height: 25px;
    justify-content: flex-start;
  }

  .page-view[data-page="home"] .home-map-card .sa-map,
  .sa-map,
  .sa-map.provinces {
    width: min(100%, 310px);
    flex: none;
    justify-self: center;
    margin: 0 auto;
  }

  .page-view[data-page="home"] .map-bubble.gauteng { width: 20px; height: 20px; }
  .page-view[data-page="home"] .map-bubble.kzn { width: 21px; height: 21px; }
  .page-view[data-page="home"] .map-bubble.limpopo { width: 21px; height: 21px; }
  .page-view[data-page="home"] .map-bubble.western-cape { width: 21px; height: 21px; }
  .page-view[data-page="home"] .map-bubble.eastern-cape { width: 20px; height: 20px; }
  .page-view[data-page="home"] .map-bubble.mpumalanga { width: 19px; height: 19px; }
  .page-view[data-page="home"] .map-bubble.north-west { width: 17px; height: 17px; }
  .page-view[data-page="home"] .map-bubble.free-state { width: 18px; height: 18px; }
  .page-view[data-page="home"] .map-bubble.northern-cape { width: 20px; height: 20px; }

  .partner-carousel-frame {
    min-height: 245px;
  }

  .partner-slide {
    padding: 8px 24px 6px;
  }

  .partner-body {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .partner-logo-frame,
  .partner-logo-wrap {
    width: 118px;
    height: 64px;
    margin: 0 auto;
  }

  .partner-copy h2 {
    font-size: 18px;
  }

  .partner-copy p {
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
  }

  .partner-stats {
    margin-top: 14px;
  }

  .home-discovery-grid,
  .discovery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .browse-card {
    min-height: 0;
  }

  .pill-grid,
  .pill-grid.two,
  .pill-grid.two.tall-pills,
  .page-view[data-page="home"] .home-discovery-grid .province-card .pill-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .pill-grid button,
  .page-view[data-page="home"] .home-discovery-grid .province-card .pill-grid button {
    min-height: 42px;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.2;
  }

  .tall-pills button,
  .page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills button,
  .page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills button {
    min-height: 64px;
  }

  .bottom-cta,
  .page-view[data-page="home"] .bottom-cta,
  .page-view[data-page="careers"] .bottom-cta,
  .about-final {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 12px;
    padding: 14px;
    min-height: 0;
    border-radius: 14px;
  }

  .bottom-cta h3 {
    font-size: 16px;
    line-height: 1.2;
  }

  .bottom-cta p {
    font-size: 12px;
  }

  .cta-actions,
  .bottom-cta .cta-actions,
  .page-view[data-page="careers"] .bottom-cta .cta-actions {
    grid-column: 1 / -1;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cta-actions button,
  .bottom-cta button {
    width: 100%;
    justify-content: center;
  }

  .filter-bar,
  .explore-filter-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  .filter-bar label,
  .explore-filter-bar label,
  .filter-bar .clear-btn {
    width: 100%;
  }

  .select-like {
    width: 100%;
  }

  .page-view[data-page="explore"] .explore-map-card {
    min-height: 0;
    padding: 16px;
  }

  .page-view[data-page="explore"] .compact-map {
    grid-template-columns: 1fr;
  }

  .glance-copy {
    margin-bottom: 10px;
  }

  .page-view[data-page="explore"] .sa-map.provinces {
    width: min(100%, 310px);
  }

  .explore-results-panel {
    padding: 10px;
  }

  .page-view[data-page="explore"] .explore-table-scroll {
    max-height: 440px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .page-view[data-page="explore"] .explore-results-table {
    min-width: 1120px;
    table-layout: fixed;
  }

  .explore-results-table th,
  .explore-results-table td {
    font-size: 11px;
    padding: 8px 10px;
  }

  .page-view[data-page="explore"] .explore-results-table .col-provider { width: 190px; }
  .page-view[data-page="explore"] .explore-results-table .col-province { width: 120px; }
  .page-view[data-page="explore"] .explore-results-table .col-career { width: 145px; }
  .page-view[data-page="explore"] .explore-results-table .col-qualification { width: 280px; }
  .page-view[data-page="explore"] .explore-results-table .col-nqf { width: 70px; }
  .page-view[data-page="explore"] .explore-results-table .col-partner { width: 115px; }
  .page-view[data-page="explore"] .explore-results-table .col-status { width: 80px; }
  .page-view[data-page="explore"] .explore-results-table .col-email { width: 170px; }
  .page-view[data-page="explore"] .explore-results-table .col-contact { width: 120px; }

  .careers-main-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .career-families-panel,
  .popular-careers-panel,
  .how-careers-work-panel {
    height: auto;
    min-height: 0;
    padding: 16px;
  }

  .career-card-head h3 {
    font-size: 17px;
  }

  .career-family-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 440px;
  }

  .career-family-tile {
    min-height: 150px;
    padding: 14px;
  }

  .popular-careers-panel .career-list-scroll {
    max-height: 430px;
  }

  .popular-careers-panel .career-row {
    min-height: 78px;
    align-items: start;
  }

  .how-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .career-step {
    grid-template-columns: 44px 44px 1fr;
    gap: 10px;
  }

  .how-tip-card {
    margin-top: 14px;
  }

  .career-family-modal__dialog {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 80px);
    padding: 16px;
  }

  .career-family-modal__head {
    grid-template-columns: 44px 1fr;
    padding-right: 36px;
  }

  .career-family-modal__roles {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 225px);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-info-card,
  .page-view[data-page="about"] .about-info-card:first-child {
    min-height: 0;
    padding: 18px;
  }

  .about-info-card h3,
  .page-view[data-page="about"] .about-info-card:first-child h3 {
    font-size: 20px;
  }

  .about-info-card p,
  .page-view[data-page="about"] .about-info-card:first-child p,
  .page-view[data-page="about"] .creator-card p {
    font-size: 13px;
    line-height: 1.5;
  }

  .creator-social-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .creator-socials {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .social-link {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .shell {
    width: calc(100% - 18px);
  }

  .site-header,
  .header-shell {
    height: 60px;
  }

  .brand img {
    width: 150px;
    max-height: 52px;
  }

  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .hero-copy,
  .home-copy,
  .explore-copy,
  .career-copy,
  .about-copy {
    padding: 22px 15px 24px;
  }

  .hero h1,
  .home-hero h1,
  .explore-hero h1,
  .careers-hero h1,
  .about-hero h1 {
    font-size: clamp(25px, 9.6vw, 34px);
  }

  .top-grid,
  .home-top-grid,
  .explore-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .stat-card {
    min-height: 138px;
    padding: 14px 12px;
  }

  .round-icon {
    width: 42px;
    height: 42px;
  }

  .stat-card strong {
    font-size: 24px;
  }

  .stat-card small {
    font-size: 10.5px;
  }

  .panel {
    border-radius: 12px;
  }

  .home-map .legend,
  .legend.glance,
  .legend.no-wrap {
    grid-template-columns: 1fr 1fr;
    font-size: 10.5px;
  }

  .pill-grid,
  .pill-grid.two,
  .pill-grid.two.tall-pills,
  .page-view[data-page="home"] .home-discovery-grid .province-card .pill-grid {
    grid-template-columns: 1fr;
  }

  .page-view[data-page="home"] .home-discovery-grid .province-card .pill-grid,
  .page-view[data-page="home"] .home-discovery-grid .quals-card .pill-grid,
  .page-view[data-page="home"] .home-discovery-grid .pathway-card .pill-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills button,
  .page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills button {
    min-height: 78px;
  }

  .career-family-grid {
    grid-template-columns: 1fr;
  }

  .career-family-tile {
    min-height: 126px;
  }

  .career-step {
    grid-template-columns: 42px 36px 1fr;
  }

  .step-number {
    width: 42px;
    height: 42px;
  }

  .page-view[data-page="explore"] .explore-table-scroll {
    max-height: 410px;
  }

  .bottom-cta,
  .page-view[data-page="home"] .bottom-cta,
  .page-view[data-page="careers"] .bottom-cta,
  .about-final {
    grid-template-columns: 44px 1fr;
  }
}

@media (max-width: 390px) {
  .hero h1,
  .home-hero h1,
  .explore-hero h1,
  .careers-hero h1,
  .about-hero h1 {
    font-size: 24px;
  }

  .top-grid,
  .home-top-grid,
  .explore-top-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-height: 120px;
  }

  .home-map .legend,
  .legend.glance,
  .legend.no-wrap,
  .page-view[data-page="home"] .home-discovery-grid .province-card .pill-grid,
  .page-view[data-page="home"] .home-discovery-grid .quals-card .pill-grid,
  .page-view[data-page="home"] .home-discovery-grid .pathway-card .pill-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   Home mobile polish fixes
   ========================================================= */
@media (max-width: 900px) {
  .page-view[data-page="home"] .home-search-wrap {
    width: 100%;
    max-width: 100%;
  }

  .page-view[data-page="home"] .home-search-wrap .search-bar {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 112px;
    min-height: 52px;
    height: 52px;
    overflow: visible;
    border-radius: 10px;
  }

  .page-view[data-page="home"] .home-search-wrap .search-bar .search-icon {
    grid-column: 1;
  }

  .page-view[data-page="home"] .home-search-wrap .search-bar input {
    grid-column: 2;
    height: 52px;
    min-width: 0;
    padding-right: 10px;
    font-size: 14px;
  }

  .page-view[data-page="home"] .home-search-wrap .search-bar > button {
    grid-column: 3;
    width: 100%;
    height: 52px;
    border-radius: 0 10px 10px 0;
  }

  .page-view[data-page="home"] .home-search-suggestions {
    width: 100%;
    right: 0;
  }

  .page-view[data-page="home"] .home-discovery-grid .browse-card {
    height: auto;
    min-height: 0;
    overflow: visible;
    padding: 18px;
  }

  .page-view[data-page="home"] .home-discovery-grid .browse-card h3 {
    font-size: 19px;
    line-height: 1.15;
  }

  .page-view[data-page="home"] .home-discovery-grid .browse-card > p {
    font-size: 13px;
    line-height: 1.35;
  }

  .page-view[data-page="home"] .home-discovery-grid .pill-grid button {
    height: auto;
    white-space: normal;
    overflow: visible;
  }

  .page-view[data-page="home"] .home-discovery-grid .browse-card:first-child .pill-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-view[data-page="home"] .home-discovery-grid .browse-card:first-child .pill-grid button {
    min-height: 54px;
    padding: 8px 10px;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    line-height: 1.18;
  }

  .page-view[data-page="home"] .home-discovery-grid .browse-card:first-child .pill-grid button .tile-icon,
  .page-view[data-page="home"] .home-discovery-grid .province-card .tile-icon {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
  }

  .page-view[data-page="home"] .home-discovery-grid .pathway-card .pill-grid,
  .page-view[data-page="home"] .home-discovery-grid .quals-card .pill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills button,
  .page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills button {
    position: relative;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 2px;
    min-height: 92px;
    height: auto;
    padding: 12px 10px;
    overflow: visible;
  }

  .page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills button {
    min-height: 104px;
  }

  .page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills .tile-icon,
  .page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills .tile-icon {
    position: static;
    grid-column: 1;
    grid-row: 1 / 3;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    align-self: center;
    justify-self: center;
  }

  .page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills b,
  .page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills b,
  .page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills small,
  .page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills small {
    grid-column: 2;
    min-width: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: normal;
    hyphens: none;
  }

  .page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills b,
  .page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills b {
    font-size: 11px;
    line-height: 1.12;
  }

  .page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills small,
  .page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills small {
    font-size: 10px;
    line-height: 1.15;
  }

  .page-view[data-page="home"] .home-discovery-grid .province-card .pill-grid button {
    min-height: 40px;
    font-size: 12px;
    line-height: 1.15;
  }

  .page-view[data-page="home"] .panel-link {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.2;
  }
}

@media (max-width: 560px) {
  .page-view[data-page="home"] .home-copy {
    padding-top: 28px;
    padding-bottom: 30px;
  }

  .page-view[data-page="home"] .home-hero h1 {
    font-size: clamp(30px, 10.5vw, 42px);
    line-height: 1.05;
    letter-spacing: -0.045em;
  }

  .page-view[data-page="home"] .home-hero p {
    font-size: 14.5px;
  }

  .page-view[data-page="home"] .home-discovery-grid .browse-card {
    padding: 18px 16px;
  }

  .page-view[data-page="home"] .home-discovery-grid .browse-card:first-child .pill-grid.two,
  .page-view[data-page="home"] .home-discovery-grid .province-card .pill-grid,
  .page-view[data-page="home"] .home-discovery-grid .pathway-card .pill-grid,
  .page-view[data-page="home"] .home-discovery-grid .quals-card .pill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-view[data-page="home"] .home-discovery-grid .browse-card:first-child .pill-grid button {
    min-height: 58px;
    font-size: 12px;
  }

  .page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills button,
  .page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills button {
    min-height: 100px;
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 9px;
  }

  .page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills button {
    min-height: 112px;
  }
}

@media (max-width: 390px) {
  .page-view[data-page="home"] .home-search-wrap .search-bar {
    grid-template-columns: 42px minmax(0, 1fr);
    height: auto;
    min-height: 48px;
  }

  .page-view[data-page="home"] .home-search-wrap .search-bar > button {
    grid-column: 1 / -1;
    height: 44px;
    border-radius: 0 0 10px 10px;
  }

  .page-view[data-page="home"] .home-discovery-grid .browse-card:first-child .pill-grid.two,
  .page-view[data-page="home"] .home-discovery-grid .province-card .pill-grid,
  .page-view[data-page="home"] .home-discovery-grid .pathway-card .pill-grid,
  .page-view[data-page="home"] .home-discovery-grid .quals-card .pill-grid {
    grid-template-columns: 1fr;
  }

  .page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills button,
  .page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills button {
    min-height: 76px;
  }
}

/* =========================================================
   Home mobile final polish: visible hero image + clean tiles
   ========================================================= */
@media (max-width: 900px) {
  .page-view[data-page="home"] .home-hero {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    overflow: hidden;
    background: #fff4ed;
  }

  .page-view[data-page="home"] .home-hero::after {
    display: none;
  }

  .page-view[data-page="home"] .home-hero .hero-image {
    position: relative;
    inset: auto;
    order: 1;
    width: 100%;
    height: clamp(175px, 45vw, 240px);
    z-index: 0;
  }

  .page-view[data-page="home"] .home-hero .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 74% center;
    opacity: 1;
  }

  .page-view[data-page="home"] .home-hero .home-copy {
    order: 2;
    width: 100%;
    padding: 22px 18px 24px;
    background: linear-gradient(180deg, #fff7f1 0%, #ffffff 100%);
  }

  .page-view[data-page="home"] .home-hero h1 {
    font-size: clamp(30px, 8.7vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.045em;
  }

  .page-view[data-page="home"] .home-hero p {
    max-width: 100%;
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.42;
  }

  .page-view[data-page="home"] .home-search-wrap {
    margin-top: 18px;
  }

  .page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills button,
  .page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills button {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    justify-items: start;
    column-gap: 10px;
    row-gap: 3px;
    min-height: 92px;
    height: auto;
    padding: 12px 12px;
    text-align: left;
    overflow: visible;
  }

  .page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills .tile-icon,
  .page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills .tile-icon {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    grid-column: 1;
    grid-row: 1 / 3;
    width: 30px;
    height: 30px;
    align-self: center;
    justify-self: center;
  }

  .page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills .tile-icon::before,
  .page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills .tile-icon::before {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 15px;
    height: 15px;
  }

  .page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills b,
  .page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills b {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    align-self: end;
    color: var(--navy);
    font-size: 11.4px;
    line-height: 1.13;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills small,
  .page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills small {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    align-self: start;
    font-size: 10.5px;
    line-height: 1.18;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills button {
    min-height: 106px;
  }
}

@media (max-width: 560px) {
  .page-view[data-page="home"] .home-hero .hero-image {
    height: 190px;
  }

  .page-view[data-page="home"] .home-hero .home-copy {
    padding: 20px 16px 22px;
  }

  .page-view[data-page="home"] .home-hero h1 {
    font-size: clamp(28px, 9.2vw, 38px);
  }

  .page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills button,
  .page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills button {
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 9px;
    min-height: 94px;
    padding: 12px 10px;
  }

  .page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills b,
  .page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills b {
    font-size: 11px;
  }

  .page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills small,
  .page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills small {
    font-size: 10.2px;
  }

  .page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills button {
    min-height: 108px;
  }
}

@media (max-width: 390px) {
  .page-view[data-page="home"] .home-hero .hero-image {
    height: 168px;
  }

  .page-view[data-page="home"] .home-hero h1 {
    font-size: 27px;
  }

  .page-view[data-page="home"] .home-discovery-grid .pathway-card .tall-pills button,
  .page-view[data-page="home"] .home-discovery-grid .quals-card .tall-pills button {
    min-height: 82px;
  }
}

/* =========================================================
   Mobile hero overlay for all pages
   Keeps the banner image behind the text while preserving readability.
   ========================================================= */
@media (max-width: 900px) {
  .hero,
  .page-view[data-page="home"] .home-hero,
  .page-view[data-page="explore"] .explore-hero,
  .page-view[data-page="careers"] .careers-hero,
  .page-view[data-page="about"] .about-hero {
    display: block !important;
    position: relative !important;
    height: auto !important;
    min-height: 390px !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    background: #fff4ed !important;
  }

  .page-view[data-page="about"] .about-hero {
    min-height: 430px !important;
  }

  .hero::after,
  .page-view[data-page="home"] .home-hero::after,
  .page-view[data-page="explore"] .explore-hero::after,
  .page-view[data-page="careers"] .careers-hero::after,
  .page-view[data-page="about"] .about-hero::after {
    display: block !important;
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
    background:
      linear-gradient(90deg,
        rgba(255, 244, 237, 0.92) 0%,
        rgba(255, 244, 237, 0.82) 45%,
        rgba(255, 244, 237, 0.34) 74%,
        rgba(255, 244, 237, 0.06) 100%),
      linear-gradient(180deg,
        rgba(255, 244, 237, 0.40) 0%,
        rgba(255, 244, 237, 0.20) 42%,
        rgba(255, 244, 237, 0.58) 100%) !important;
  }

  .hero .hero-image,
  .page-view[data-page="home"] .home-hero .hero-image,
  .page-view[data-page="explore"] .explore-hero .hero-image,
  .page-view[data-page="careers"] .careers-hero .hero-image,
  .page-view[data-page="about"] .about-hero .hero-image {
    position: absolute !important;
    inset: 0 !important;
    order: initial !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
  }

  .hero .hero-image img,
  .page-view[data-page="home"] .home-hero .hero-image img,
  .page-view[data-page="explore"] .explore-hero .hero-image img,
  .page-view[data-page="careers"] .careers-hero .hero-image img,
  .page-view[data-page="about"] .about-hero .hero-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 70% center !important;
    opacity: 1 !important;
  }

  .hero .hero-copy,
  .hero .home-copy,
  .hero .explore-copy,
  .hero .career-copy,
  .hero .about-copy,
  .page-view[data-page="home"] .home-hero .home-copy,
  .page-view[data-page="explore"] .explore-hero .explore-copy,
  .page-view[data-page="careers"] .careers-hero .career-copy,
  .page-view[data-page="about"] .about-hero .about-copy {
    position: relative !important;
    z-index: 2 !important;
    order: initial !important;
    width: 100% !important;
    max-width: none !important;
    min-height: inherit !important;
    padding: 28px 18px 28px !important;
    background: transparent !important;
  }

  .hero h1,
  .home-hero h1,
  .explore-hero h1,
  .careers-hero h1,
  .about-hero h1,
  .page-view[data-page="home"] .home-hero h1,
  .page-view[data-page="explore"] .explore-hero h1,
  .page-view[data-page="careers"] .careers-hero h1,
  .page-view[data-page="about"] .about-hero h1 {
    max-width: 88% !important;
    margin-bottom: 14px !important;
    font-size: clamp(30px, 8.8vw, 43px) !important;
    line-height: 1.06 !important;
    letter-spacing: -0.045em !important;
    color: var(--navy) !important;
  }

  .hero p,
  .home-hero p,
  .explore-hero p,
  .careers-hero p,
  .about-hero p,
  .page-view[data-page="home"] .home-hero p,
  .page-view[data-page="explore"] .explore-hero p,
  .page-view[data-page="careers"] .careers-hero p,
  .page-view[data-page="about"] .about-hero p {
    max-width: 92% !important;
    margin: 0 0 18px !important;
    font-size: 15px !important;
    line-height: 1.42 !important;
    font-weight: 650 !important;
    color: #53657d !important;
  }

  .home-search-wrap,
  .career-search-wrap,
  .hero .search-bar,
  .home-search-wrap .search-bar,
  .career-search-wrap .search-bar,
  .explore-hero .search-bar,
  .careers-hero .search-bar {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero .search-bar,
  .home-search-wrap .search-bar,
  .career-search-wrap .search-bar,
  .explore-hero .search-bar,
  .careers-hero .search-bar {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) 112px !important;
    min-height: 52px !important;
    height: 52px !important;
    overflow: visible !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.96) !important;
  }

  .hero .search-bar .search-icon,
  .home-search-wrap .search-bar .search-icon,
  .career-search-wrap .search-bar .search-icon,
  .explore-hero .search-bar .search-icon,
  .careers-hero .search-bar .search-icon {
    grid-column: 1 !important;
    align-self: center !important;
    justify-self: center !important;
  }

  .hero .search-bar input,
  .home-search-wrap .search-bar input,
  .career-search-wrap .search-bar input,
  .explore-hero .search-bar input,
  .careers-hero .search-bar input {
    grid-column: 2 !important;
    min-width: 0 !important;
    height: 52px !important;
    padding: 0 10px 0 0 !important;
    font-size: 14px !important;
  }

  .hero .search-bar > button,
  .home-search-wrap .search-bar > button,
  .career-search-wrap .search-bar > button,
  .explore-hero .search-bar > button,
  .careers-hero .search-bar > button {
    grid-column: 3 !important;
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    border-radius: 0 10px 10px 0 !important;
  }

  .home-search-suggestions,
  .career-search-suggestions,
  .explore-search-suggestions,
  .search-suggestions {
    width: 100% !important;
    right: auto !important;
  }
}

@media (max-width: 560px) {
  .hero,
  .page-view[data-page="home"] .home-hero,
  .page-view[data-page="explore"] .explore-hero,
  .page-view[data-page="careers"] .careers-hero,
  .page-view[data-page="about"] .about-hero {
    min-height: 408px !important;
  }

  .page-view[data-page="about"] .about-hero {
    min-height: 450px !important;
  }

  .hero .hero-copy,
  .hero .home-copy,
  .hero .explore-copy,
  .hero .career-copy,
  .hero .about-copy,
  .page-view[data-page="home"] .home-hero .home-copy,
  .page-view[data-page="explore"] .explore-hero .explore-copy,
  .page-view[data-page="careers"] .careers-hero .career-copy,
  .page-view[data-page="about"] .about-hero .about-copy {
    padding: 26px 16px 24px !important;
  }

  .hero h1,
  .home-hero h1,
  .explore-hero h1,
  .careers-hero h1,
  .about-hero h1,
  .page-view[data-page="home"] .home-hero h1,
  .page-view[data-page="explore"] .explore-hero h1,
  .page-view[data-page="careers"] .careers-hero h1,
  .page-view[data-page="about"] .about-hero h1 {
    max-width: 94% !important;
    font-size: clamp(29px, 9.6vw, 39px) !important;
    line-height: 1.06 !important;
  }

  .hero p,
  .home-hero p,
  .explore-hero p,
  .careers-hero p,
  .about-hero p,
  .page-view[data-page="home"] .home-hero p,
  .page-view[data-page="explore"] .explore-hero p,
  .page-view[data-page="careers"] .careers-hero p,
  .page-view[data-page="about"] .about-hero p {
    max-width: 96% !important;
    font-size: 14.2px !important;
  }
}

@media (max-width: 390px) {
  .hero,
  .page-view[data-page="home"] .home-hero,
  .page-view[data-page="explore"] .explore-hero,
  .page-view[data-page="careers"] .careers-hero,
  .page-view[data-page="about"] .about-hero {
    min-height: 395px !important;
  }

  .page-view[data-page="about"] .about-hero {
    min-height: 438px !important;
  }

  .hero h1,
  .home-hero h1,
  .explore-hero h1,
  .careers-hero h1,
  .about-hero h1,
  .page-view[data-page="home"] .home-hero h1,
  .page-view[data-page="explore"] .explore-hero h1,
  .page-view[data-page="careers"] .careers-hero h1,
  .page-view[data-page="about"] .about-hero h1 {
    font-size: 28px !important;
  }

  .hero .search-bar,
  .home-search-wrap .search-bar,
  .career-search-wrap .search-bar,
  .explore-hero .search-bar,
  .careers-hero .search-bar,
  .page-view[data-page="home"] .home-search-wrap .search-bar {
    grid-template-columns: 40px minmax(0, 1fr) 92px !important;
    height: 48px !important;
    min-height: 48px !important;
  }

  .hero .search-bar input,
  .home-search-wrap .search-bar input,
  .career-search-wrap .search-bar input,
  .explore-hero .search-bar input,
  .careers-hero .search-bar input,
  .page-view[data-page="home"] .home-search-wrap .search-bar input {
    height: 48px !important;
    font-size: 13px !important;
  }

  .hero .search-bar > button,
  .home-search-wrap .search-bar > button,
  .career-search-wrap .search-bar > button,
  .explore-hero .search-bar > button,
  .careers-hero .search-bar > button,
  .page-view[data-page="home"] .home-search-wrap .search-bar > button {
    grid-column: 3 !important;
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 0 10px 10px 0 !important;
  }
}

/* Mobile fix: keep Explore page South Africa map fully visible */
@media (max-width: 768px) {
  .page-view[data-page="explore"] .explore-map-card {
    min-height: auto;
    overflow: visible;
  }

  .page-view[data-page="explore"] .compact-map {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: auto;
    overflow: visible;
  }

  .page-view[data-page="explore"] .legend.glance {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    margin: 0 0 6px;
  }

  .page-view[data-page="explore"] .compact-map .sa-map,
  .page-view[data-page="explore"] .sa-map.provinces {
    width: min(100%, 340px);
    max-width: 340px;
    height: min(78vw, 305px);
    min-height: 230px;
    aspect-ratio: 1000 / 899;
    justify-self: center;
    align-self: center;
    margin: 0 auto;
    display: grid;
    place-items: center;
    overflow: visible;
    transform: none;
  }

  .page-view[data-page="explore"] .sa-province-img,
  .page-view[data-page="explore"] .sa-province-object {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
  }
}

@media (max-width: 420px) {
  .page-view[data-page="explore"] .compact-map .sa-map,
  .page-view[data-page="explore"] .sa-map.provinces {
    width: min(100%, 315px);
    max-width: 315px;
    height: min(82vw, 284px);
    min-height: 250px;
  }
}


/* Mobile-only Explore simplification: show filters and table only */
@media (max-width: 768px) {
  .page-view[data-page="explore"] .explore-top-grid {
    display: none !important;
  }
}


/* Careers page cleanup: remove header shortcut links and position mobile menu under the button */
.page-view[data-page="careers"] .careers-main-grid .career-card-head .panel-link {
  display: none !important;
}

@media (max-width: 900px) {
  .main-nav {
    left: auto !important;
    right: 0 !important;
    width: min(54vw, 230px) !important;
    min-width: 185px;
    max-width: 240px;
    top: calc(100% + 8px) !important;
    border-radius: 18px;
  }

  body.mobile-nav-open .main-nav {
    display: grid;
  }

  .nav-link {
    justify-content: flex-start;
    padding-left: 18px;
  }
}

@media (max-width: 420px) {
  .main-nav {
    width: min(58vw, 220px) !important;
    min-width: 175px;
  }
}


/* Final careers page link cleanup and mobile menu positioning */
.page-view[data-page="careers"] .career-families-panel .panel-link,
.page-view[data-page="careers"] .popular-careers-panel .panel-link,
.page-view[data-page="careers"] .career-card-head .panel-link {
  display: none !important;
}

@media (max-width: 900px) {
  .header-shell {
    overflow: visible;
  }

  .main-nav {
    left: auto !important;
    right: 6px !important;
    top: calc(100% + 8px) !important;
    width: min(48vw, 220px) !important;
    min-width: 168px !important;
    max-width: 230px !important;
    transform: translateX(-4px);
    padding: 10px !important;
    border-radius: 18px !important;
  }

  body.mobile-nav-open .main-nav {
    display: grid !important;
  }

  .main-nav .nav-link {
    justify-content: flex-start !important;
    min-height: 44px;
    padding-left: 18px !important;
    padding-right: 14px !important;
  }
}

@media (max-width: 420px) {
  .main-nav {
    width: min(50vw, 210px) !important;
    min-width: 168px !important;
    right: 4px !important;
    transform: translateX(-6px);
  }
}


/* Final functional fixes: centered career modal, clickable emails, clickable partner names */
.explore-email-link {
  color: #0b65d8;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.explore-email-link:hover,
.explore-email-link:focus-visible {
  color: #084ba2;
  outline: none;
}

#home-partner-name[role="button"] {
  cursor: pointer;
  display: inline-block;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

#home-partner-name[role="button"]:hover,
#home-partner-name[role="button"]:focus-visible {
  color: #0b65d8;
  text-decoration: underline;
  outline: none;
}

.career-family-modal:not([hidden]) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.career-family-modal__dialog {
  box-sizing: border-box;
  margin: auto;
}

@media (max-width: 900px) {
  .career-family-modal {
    padding: 16px !important;
  }

  .career-family-modal__dialog {
    width: min(92vw, 540px) !important;
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100dvh - 52px) !important;
    margin: auto !important;
    transform: none !important;
  }

  .career-family-modal__roles {
    max-height: calc(100dvh - 245px) !important;
  }
}

@media (max-width: 420px) {
  .career-family-modal {
    padding: 14px !important;
  }

  .career-family-modal__dialog {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
  }
}

/* Final role-card overflow fix: allow long role names to expand safely inside their card */
.page-view[data-page="careers"] .popular-careers-panel .career-list-scroll {
  overflow-y: auto;
  overflow-x: hidden;
}

.page-view[data-page="careers"] .popular-careers-panel .career-row {
  height: auto !important;
  min-height: 82px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 11px;
  padding: 12px 12px;
  overflow: visible;
}

.page-view[data-page="careers"] .popular-careers-panel .career-row-copy {
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}

.page-view[data-page="careers"] .popular-careers-panel .career-row-copy strong {
  display: block;
  max-width: 100%;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.22;
}

.page-view[data-page="careers"] .popular-careers-panel .career-row-copy small {
  display: block;
  max-width: 100%;
  margin-top: 2px;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.28;
}

@media (max-width: 900px) {
  .page-view[data-page="careers"] .popular-careers-panel .career-row {
    min-height: 88px;
    padding: 12px 11px;
  }
}

@media (max-width: 520px) {
  .page-view[data-page="careers"] .popular-careers-panel .career-row {
    grid-template-columns: 38px minmax(0, 1fr) 14px;
    gap: 9px;
    min-height: 92px;
    padding: 12px 10px;
  }

  .page-view[data-page="careers"] .popular-careers-panel .career-list .career-line-icon {
    width: 32px;
    height: 32px;
  }

  .page-view[data-page="careers"] .popular-careers-panel .career-row-copy strong {
    font-size: 11.4px;
    line-height: 1.22;
  }

  .page-view[data-page="careers"] .popular-careers-panel .career-row-copy small {
    font-size: 9.4px;
    line-height: 1.26;
  }
}


/* Final careers wording/layout polish: All careers card and safer long-name rows */
.page-view[data-page="careers"] .popular-careers-panel .career-list-scroll {
  max-height: 466px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 7px;
}

.page-view[data-page="careers"] .popular-careers-panel .career-row {
  height: auto !important;
  min-height: 104px !important;
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) 16px !important;
  align-items: start !important;
  gap: 12px !important;
  padding: 14px 12px !important;
  overflow: hidden !important;
}

.page-view[data-page="careers"] .popular-careers-panel .career-row--long {
  min-height: 132px !important;
}

.page-view[data-page="careers"] .popular-careers-panel .career-row--very-long {
  min-height: 164px !important;
}

.page-view[data-page="careers"] .popular-careers-panel .career-row-copy {
  align-self: start !important;
  min-width: 0 !important;
  display: block !important;
  padding-top: 0 !important;
  overflow: visible !important;
}

.page-view[data-page="careers"] .popular-careers-panel .career-row-copy strong {
  display: block !important;
  margin: 0 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  hyphens: auto !important;
  line-height: 1.22 !important;
}

.page-view[data-page="careers"] .popular-careers-panel .career-row-copy small {
  display: block !important;
  margin-top: 6px !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  hyphens: auto !important;
  line-height: 1.28 !important;
}

.page-view[data-page="careers"] .popular-careers-panel .career-list .career-line-icon {
  margin-top: 2px !important;
}

.page-view[data-page="careers"] .popular-careers-panel .career-chevron {
  align-self: center !important;
}

@media (max-width: 900px) {
  .page-view[data-page="careers"] .popular-careers-panel .career-list-scroll {
    max-height: 470px !important;
  }

  .page-view[data-page="careers"] .popular-careers-panel .career-row {
    min-height: 114px !important;
    padding: 14px 11px !important;
  }

  .page-view[data-page="careers"] .popular-careers-panel .career-row--long {
    min-height: 148px !important;
  }

  .page-view[data-page="careers"] .popular-careers-panel .career-row--very-long {
    min-height: 182px !important;
  }
}

@media (max-width: 520px) {
  .page-view[data-page="careers"] .popular-careers-panel .career-row {
    grid-template-columns: 38px minmax(0, 1fr) 14px !important;
    min-height: 122px !important;
    gap: 10px !important;
    padding: 14px 10px !important;
  }

  .page-view[data-page="careers"] .popular-careers-panel .career-row--long {
    min-height: 160px !important;
  }

  .page-view[data-page="careers"] .popular-careers-panel .career-row--very-long {
    min-height: 198px !important;
  }

  .page-view[data-page="careers"] .popular-careers-panel .career-row-copy strong {
    font-size: 11.2px !important;
    line-height: 1.23 !important;
  }

  .page-view[data-page="careers"] .popular-careers-panel .career-row-copy small {
    font-size: 9.2px !important;
    line-height: 1.28 !important;
  }
}

/* Mobile alignment fix for the About page learnership statement */
@media (max-width: 640px) {
  .page-view[data-page="about"] .about-callout {
    display: grid !important;
    grid-template-columns: 70px minmax(0, 1fr) !important;
    gap: 18px !important;
    align-items: center !important;
    padding: 16px 18px !important;
    padding-left: 18px !important;
  }

  .page-view[data-page="about"] .about-callout .callout-icon {
    width: 58px !important;
    height: 58px !important;
    justify-self: center !important;
  }

  .page-view[data-page="about"] .about-callout .callout-copy {
    min-width: 0 !important;
    gap: 5px !important;
  }
}


/* Gemma AI Assistant */
.ai-assistant-entry {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  margin: 12px 0;
  padding: 18px 20px;
  border-color: rgba(255, 69, 36, 0.22);
  background: linear-gradient(135deg, #fffaf7 0%, #ffffff 72%);
}

.ai-assistant-entry h3 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 1.15rem;
}

.ai-assistant-entry p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.ai-assistant-entry-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff0ea;
  color: var(--orange);
  border: 1px solid #ffc3b5;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.ai-assistant-modal[hidden] {
  display: none;
}

.ai-assistant-open {
  overflow: hidden;
}

.ai-assistant-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.ai-assistant-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 42, 0.56);
  backdrop-filter: blur(7px);
}

.ai-assistant-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100vw - 36px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  margin: 20px auto;
  background: #fff;
  border: 1px solid #ffd0c4;
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(12, 27, 54, 0.28);
  padding: 24px;
}

.ai-assistant-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  border: 1px solid #ffc3b5;
  background: #fff8f4;
  color: var(--orange);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.ai-assistant-modal__head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-right: 48px;
  margin-bottom: 16px;
}

.ai-assistant-modal__head h3 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 1.45rem;
}

.ai-assistant-modal__head p,
.ai-assistant-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.ai-example-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.ai-example-prompts button {
  border: 1px solid #dce7f6;
  background: #f8fbff;
  color: var(--navy);
  border-radius: 999px;
  padding: 8px 11px;
  font-weight: 800;
  cursor: pointer;
}

.ai-assistant-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: stretch;
}

.ai-assistant-form textarea {
  resize: vertical;
  min-height: 92px;
  border: 1px solid #d8e4f3;
  border-radius: 16px;
  padding: 13px 15px;
  color: var(--navy);
  font: inherit;
  line-height: 1.45;
}

.ai-assistant-form button {
  align-self: stretch;
  min-width: 130px;
}

.ai-assistant-status {
  min-height: 22px;
  margin: 12px 0;
  color: var(--muted);
  font-weight: 800;
}

.ai-assistant-status.is-busy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ai-assistant-status.is-busy::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 3px solid rgba(239, 64, 35, 0.18);
  border-top-color: var(--red);
  border-radius: 999px;
  flex: 0 0 auto;
  animation: aiStatusSpin 0.8s linear infinite;
}

@keyframes aiStatusSpin {
  to { transform: rotate(360deg); }
}

.ai-assistant-result {
  border-top: 1px solid #edf2f7;
  padding-top: 14px;
}

.ai-assistant-result h4 {
  margin: 0 0 8px;
  color: var(--navy);
}

.ai-answer {
  white-space: pre-line;
  color: var(--ink);
  line-height: 1.55;
  background: #f8fbff;
  border: 1px solid #e3ecf7;
  border-radius: 18px;
  padding: 14px;
}

.ai-provider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 14px;
}

.ai-provider-card {
  border: 1px solid #e3ecf7;
  border-radius: 16px;
  padding: 12px;
  display: grid;
  gap: 5px;
}

.ai-provider-card strong {
  color: var(--navy);
}

.ai-provider-card span,
.ai-provider-card small {
  color: var(--muted);
  line-height: 1.35;
}


.ai-provider-email {
  color: var(--red);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}

.ai-provider-email:hover,
.ai-provider-email:focus-visible {
  color: #c82415;
}

.ai-explore-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px;
  width: fit-content;
  box-shadow: 0 10px 20px rgba(239, 64, 35, 0.18);
}

.ai-message-template pre {
  white-space: pre-wrap;
  border: 1px solid #ffe1d9;
  background: #fffaf7;
  color: var(--navy);
  border-radius: 16px;
  padding: 13px;
  font-family: inherit;
  line-height: 1.45;
}

.ai-assistant-note {
  margin-top: 14px;
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .ai-assistant-entry {
    grid-template-columns: auto 1fr;
    align-items: flex-start;
    padding: 16px;
  }

  .ai-open-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .ai-assistant-modal__dialog {
    width: calc(100vw - 18px);
    margin: 9px auto;
    max-height: calc(100vh - 18px);
    border-radius: 22px;
    padding: 18px;
  }

  .ai-assistant-form {
    grid-template-columns: 1fr;
  }

  .ai-provider-grid {
    grid-template-columns: 1fr;
  }
}

/* v6 performance guard: keep heavy below-the-fold page sections cheaper on first paint. */
.view:not(.active),
.explore-page,
.careers-page,
.about-page {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

/* v9: clearer Explore table loading state */
.page-view[data-page="explore"] .explore-table-scroll {
  position: relative;
  min-height: 360px;
}

.page-view[data-page="explore"] .explore-table-loading {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
}

.page-view[data-page="explore"] .explore-table-loading[hidden] {
  display: none;
}

.page-view[data-page="explore"] .explore-loading-spinner {
  width: 38px;
  height: 38px;
  border: 4px solid #f1d1c8;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: qcto-spin 0.85s linear infinite;
}

.page-view[data-page="explore"] .explore-table-loading strong {
  font-size: 15px;
}

.page-view[data-page="explore"] .explore-table-loading small {
  max-width: 360px;
  color: #697891;
}

@keyframes qcto-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 720px) {
  .page-view[data-page="explore"] .explore-table-scroll {
    min-height: 330px;
  }
}

/* v10: repaired Explore map visibility and province click targets */
.page-view[data-page="explore"] .explore-map-card {
  overflow: visible;
}

.page-view[data-page="explore"] .compact-map .legend {
  position: relative;
  z-index: 3;
}

.page-view[data-page="explore"] .explore-legend-item {
  cursor: pointer;
}

.page-view[data-page="explore"] .compact-map .sa-map,
.page-view[data-page="explore"] .sa-map.provinces {
  flex: 0 0 300px;
  max-width: 300px;
  width: 300px;
  height: 180px;
  min-height: 180px;
}

.page-view[data-page="explore"] .sa-province-img,
.page-view[data-page="explore"] .sa-province-object {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: auto;
}

.page-view[data-page="explore"] .sa-map.map-load-error::after {
  content: "Map could not load. Use the province names on the left.";
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 12px;
  text-align: center;
  color: #7c2d12;
  background: #fff7ed;
  border: 1px dashed #fed7aa;
  border-radius: 16px;
  font-weight: 700;
  font-size: 12px;
}

/* v10: keep Explore loading state obvious for first-time users */
.page-view[data-page="explore"] .explore-table-scroll {
  min-height: 390px;
}

/* v10: SETA logos should appear immediately from local bundled assets */
.partner-logo-wrap img {
  opacity: 1;
}


/* v11: permanent Explore map sizing and reliable click targets */
.page-view[data-page="explore"] .explore-map-card {
  overflow: hidden !important;
  min-height: 164px;
}

.page-view[data-page="explore"] .compact-map {
  align-items: center;
  gap: 12px;
  min-height: 124px;
  overflow: hidden !important;
}

.page-view[data-page="explore"] .compact-map .legend {
  position: relative;
  z-index: 5;
  width: 128px;
  flex: 0 0 128px;
  margin-left: 0;
}

.page-view[data-page="explore"] .explore-legend-item {
  position: relative;
  z-index: 6;
  pointer-events: auto;
  cursor: pointer;
}

.page-view[data-page="explore"] .compact-map .sa-map,
.page-view[data-page="explore"] .sa-map.provinces {
  flex: 0 0 clamp(190px, 21vw, 230px) !important;
  width: clamp(190px, 21vw, 230px) !important;
  max-width: clamp(190px, 21vw, 230px) !important;
  height: 128px !important;
  min-height: 128px !important;
  transform: none !important;
  overflow: hidden !important;
  position: relative;
  z-index: 1;
}

.page-view[data-page="explore"] .sa-province-img,
.page-view[data-page="explore"] .sa-province-object {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  display: block;
  object-fit: contain;
  pointer-events: auto;
}

/* v11: home SETA logo fallback is instant, image swaps only when already loaded */
.partner-logo-wrap {
  min-height: 72px;
}

.partner-logo-frame.is-loading-logo img,
.partner-logo-frame.logo-load-failed img {
  visibility: hidden;
}

.partner-logo-frame.is-loading-logo .partner-logo-instant,
.partner-logo-frame.logo-load-failed .partner-logo-instant {
  display: grid;
}

.partner-logo-instant {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 10px;
  color: #002b63;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: .02em;
  text-align: center;
  background: #fff;
  border-radius: 0;
  pointer-events: none;
}

.partner-logo-wrap img:not([hidden]) + .partner-logo-instant {
  display: none;
}

@media (max-width: 1100px) {
  .page-view[data-page="explore"] .explore-map-card {
    grid-template-columns: 1fr;
  }
  .page-view[data-page="explore"] .compact-map .legend {
    width: 132px;
    flex-basis: 132px;
  }
}


/* v12: final Explore map and SETA logo stability fixes */
.page-view[data-page="explore"] .explore-map-card {
  overflow: hidden !important;
  min-height: 150px !important;
  max-height: 170px !important;
  grid-template-columns: minmax(170px, 0.82fr) minmax(310px, 1.18fr) !important;
}

.page-view[data-page="explore"] .compact-map {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  min-height: 118px !important;
  max-height: 130px !important;
  overflow: hidden !important;
}

.page-view[data-page="explore"] .compact-map .legend {
  position: relative !important;
  z-index: 20 !important;
  width: 126px !important;
  flex: 0 0 126px !important;
  margin: 0 !important;
  pointer-events: auto !important;
}

.page-view[data-page="explore"] .compact-map .legend li,
.page-view[data-page="explore"] .explore-legend-item,
.page-view[data-page="explore"] .explore-legend-item * {
  pointer-events: auto !important;
}

.page-view[data-page="explore"] .explore-legend-item {
  min-height: 16px !important;
  border-radius: 7px !important;
  user-select: none !important;
}

.page-view[data-page="explore"] .compact-map .sa-map,
.page-view[data-page="explore"] .sa-map.provinces {
  flex: 0 0 188px !important;
  width: 188px !important;
  max-width: 188px !important;
  min-width: 188px !important;
  height: 118px !important;
  min-height: 118px !important;
  max-height: 118px !important;
  transform: none !important;
  overflow: hidden !important;
  display: grid !important;
  place-items: center !important;
}

.page-view[data-page="explore"] .sa-province-img,
.page-view[data-page="explore"] .sa-province-object {
  width: 188px !important;
  height: 118px !important;
  max-width: 188px !important;
  max-height: 118px !important;
  object-fit: contain !important;
}

/* Never show a stale previous SETA logo while the carousel is switching. */
.partner-logo-frame.is-loading-logo img,
.partner-logo-frame.logo-load-failed img,
.partner-logo-wrap img[hidden] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.partner-logo-frame:not(.is-loading-logo):not(.logo-load-failed) img:not([hidden]) {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.partner-logo-instant {
  z-index: 2 !important;
}

.partner-logo-frame:not(.is-loading-logo):not(.logo-load-failed) img:not([hidden]) + .partner-logo-instant {
  display: none !important;
}

@media (max-width: 1100px) {
  .page-view[data-page="explore"] .explore-map-card {
    max-height: none !important;
    grid-template-columns: 1fr !important;
  }
  .page-view[data-page="explore"] .compact-map {
    justify-content: flex-start !important;
    max-height: none !important;
  }
}


/* v13: restore the Explore map to the fuller v10/v11 desktop size without overflowing. */
.page-view[data-page="explore"] .explore-map-card {
  min-height: 182px !important;
  max-height: none !important;
  overflow: hidden !important;
  grid-template-columns: minmax(190px, 0.85fr) minmax(460px, 1.15fr) !important;
}

.page-view[data-page="explore"] .compact-map {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 16px !important;
  min-height: 150px !important;
  max-height: none !important;
  overflow: visible !important;
}

.page-view[data-page="explore"] .compact-map .legend {
  width: 148px !important;
  flex: 0 0 148px !important;
  margin: 0 !important;
  position: relative !important;
  z-index: 20 !important;
}

.page-view[data-page="explore"] .compact-map .legend li {
  line-height: 1.05 !important;
}

.page-view[data-page="explore"] .explore-legend-item {
  min-height: 18px !important;
  width: 100% !important;
  padding: 1px 4px !important;
  line-height: 1.05 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

.page-view[data-page="explore"] .explore-legend-item span {
  white-space: nowrap !important;
  overflow: visible !important;
}

.page-view[data-page="explore"] .compact-map .sa-map,
.page-view[data-page="explore"] .sa-map.provinces {
  flex: 0 0 300px !important;
  width: 300px !important;
  max-width: 300px !important;
  min-width: 300px !important;
  height: 180px !important;
  min-height: 180px !important;
  max-height: 180px !important;
  transform: none !important;
  overflow: hidden !important;
  display: grid !important;
  place-items: center !important;
}

.page-view[data-page="explore"] .sa-province-img,
.page-view[data-page="explore"] .sa-province-object {
  width: 300px !important;
  height: 180px !important;
  max-width: 300px !important;
  max-height: 180px !important;
  object-fit: contain !important;
}

/* v13: SETA carousel displays only one safe state: fallback while loading, then the matching local logo. */
.partner-logo-frame {
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}

.partner-logo-frame.is-loading-logo img,
.partner-logo-frame.logo-load-failed img,
.partner-logo-wrap img[hidden] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.partner-logo-frame:not(.is-loading-logo):not(.logo-load-failed) img:not([hidden]) {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.partner-logo-frame:not(.is-loading-logo):not(.logo-load-failed) img:not([hidden]) + .partner-logo-instant {
  display: none !important;
}

.partner-logo-frame.is-loading-logo .partner-logo-instant,
.partner-logo-frame.logo-load-failed .partner-logo-instant {
  display: grid !important;
}

@media (max-width: 1100px) {
  .page-view[data-page="explore"] .explore-map-card {
    grid-template-columns: 1fr !important;
  }
  .page-view[data-page="explore"] .compact-map {
    justify-content: flex-start !important;
  }
}


/* v14: embedded SETA logos, no stale image and no loading delay */
.partner-logo-frame:not(.logo-load-failed) .partner-logo-instant {
  display: none !important;
}
.partner-logo-frame.logo-load-failed .partner-logo-instant {
  display: grid !important;
}
.partner-logo-frame:not(.logo-load-failed) img#home-partner-logo {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.partner-logo-frame.logo-load-failed img#home-partner-logo,
.partner-logo-wrap img#home-partner-logo[hidden] {
  display: none !important;
}

/* =========================================================
   v16 final wording/layout polish
   Move Explore province legend away from the title copy without
   changing the overall map-card design.
   ========================================================= */
@media (min-width: 769px) {
  .page-view[data-page="explore"] .explore-map-card {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .page-view[data-page="explore"] .compact-map {
    padding-left: 26px;
  }

  .page-view[data-page="explore"] .compact-map .legend {
    margin-left: 0;
  }
}


/* Floating Explore page AI assistant shortcut */
.floating-ai-assistant {
  position: fixed;
  right: 26px;
  bottom: 28px;
  z-index: 850;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 8px 16px 8px 8px;
  border: 1px solid #ffc3b5;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  box-shadow: 0 18px 42px rgba(12, 27, 54, 0.18);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  letter-spacing: -0.02em;
  backdrop-filter: blur(12px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.floating-ai-assistant:hover,
.floating-ai-assistant:focus-visible {
  transform: translateY(-3px);
  border-color: var(--orange);
  box-shadow: 0 22px 48px rgba(255, 69, 36, 0.22), 0 16px 40px rgba(12, 27, 54, 0.14);
}

.floating-ai-assistant:focus-visible {
  outline: 3px solid rgba(255, 69, 36, 0.22);
  outline-offset: 4px;
}

.floating-ai-assistant__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff0ea;
  color: var(--orange);
  border: 1px solid #ffc3b5;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.floating-ai-assistant__text {
  white-space: nowrap;
}

@media (max-width: 680px) {
  .floating-ai-assistant {
    right: 16px;
    bottom: 18px;
    min-height: 54px;
    padding: 6px;
    border-radius: 18px;
  }

  .floating-ai-assistant__text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}


/* v21: larger Explore table modal with compact header */
.page-view[data-page="explore"] .explore-results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.page-view[data-page="explore"] .explore-results-toolbar h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.15;
}

.page-view[data-page="explore"] .explore-results-toolbar p {
  margin: 0;
  color: #6a7894;
  font-size: 12px;
  line-height: 1.35;
}

.view-large-table-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 69, 35, 0.28);
  border-radius: 12px;
  background: #fff7f3;
  color: var(--orange);
  font-weight: 850;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(255, 69, 35, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.view-large-table-button:hover,
.view-large-table-button:focus-visible {
  transform: translateY(-1px);
  background: #fff0ea;
  box-shadow: 0 12px 24px rgba(255, 69, 35, 0.14);
}

.view-large-table-button:focus-visible {
  outline: 3px solid rgba(255, 69, 35, 0.18);
  outline-offset: 2px;
}

.view-large-table-button__icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  color: var(--navy);
  background: #ffffff;
  border: 1px solid rgba(15, 47, 102, 0.08);
  font-size: 13px;
}

.explore-table-modal[hidden] {
  display: none;
}

.explore-table-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 22px;
}

.explore-table-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 28, 48, 0.52);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.explore-table-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(1480px, 96vw);
  height: min(860px, 90vh);
  overflow: hidden;
  border: 1px solid rgba(255, 69, 35, 0.18);
  border-radius: 24px;
  background: #fffaf7;
  box-shadow: 0 34px 90px rgba(10, 24, 44, 0.34);
}

.explore-table-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid rgba(255, 69, 35, 0.14);
  background: linear-gradient(135deg, #fffdfb 0%, #fff5ee 100%);
}

.explore-table-modal__header--compact {
  justify-content: flex-end;
  align-items: center;
  padding: 10px 14px 6px;
  min-height: 46px;
  border-bottom: 0;
  background: rgba(255, 250, 247, 0.96);
}

.explore-table-modal__header--compact .explore-table-modal__close {
  margin-left: auto;
}

.explore-table-modal__eyebrow {
  display: inline-flex;
  margin-bottom: 7px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.explore-table-modal__header h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.1;
}

.explore-table-modal__header p {
  margin: 8px 0 0;
  max-width: 780px;
  color: #687896;
  font-size: 13px;
  line-height: 1.45;
}

.explore-table-modal__close {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 69, 35, 0.22);
  border-radius: 14px;
  background: #fff3ee;
  color: var(--orange);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.explore-table-modal__close:hover,
.explore-table-modal__close:focus-visible {
  background: var(--orange);
  color: #ffffff;
}

.explore-table-modal__close:focus-visible {
  outline: 3px solid rgba(255, 69, 35, 0.24);
  outline-offset: 2px;
}

.explore-table-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 16px 18px 18px;
  background: #fffaf7;
}

.explore-expanded-table-scroll {
  width: 100%;
  height: 100%;
  overflow: auto;
  border: 1px solid rgba(15, 47, 102, 0.10);
  border-radius: 18px;
  background: #ffffff;
}

.explore-table-modal .explore-results-table {
  width: 100%;
  min-width: 1540px;
  table-layout: fixed;
  border-collapse: collapse;
  color: #50627f;
  font-size: 12px;
}

.explore-table-modal .explore-results-table .col-provider { width: 250px; }
.explore-table-modal .explore-results-table .col-province { width: 150px; }
.explore-table-modal .explore-results-table .col-career { width: 200px; }
.explore-table-modal .explore-results-table .col-qualification { width: 390px; }
.explore-table-modal .explore-results-table .col-nqf { width: 86px; }
.explore-table-modal .explore-results-table .col-partner { width: 140px; }
.explore-table-modal .explore-results-table .col-status { width: 100px; }
.explore-table-modal .explore-results-table .col-email { width: 230px; }
.explore-table-modal .explore-results-table .col-contact { width: 130px; }

.explore-table-modal .explore-results-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 12px 14px;
  border-bottom: 1px solid #edf0f6;
  background: #ffffff;
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  text-align: left;
  white-space: nowrap;
}

.explore-table-modal .explore-results-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(15, 47, 102, 0.08);
  line-height: 1.4;
  vertical-align: top;
}

.explore-table-modal .explore-results-table tbody tr:hover {
  background: rgba(255, 69, 35, 0.035);
}

.explore-table-modal .explore-results-table th,
.explore-table-modal .explore-results-table td {
  overflow: hidden;
  text-overflow: ellipsis;
}

.explore-table-modal .explore-results-table th:nth-child(4),
.explore-table-modal .explore-results-table td:nth-child(4),
.explore-table-modal .explore-results-table th:nth-child(3),
.explore-table-modal .explore-results-table td:nth-child(3) {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.explore-table-modal .status-active {
  color: #059669;
  font-weight: 850;
}

.explore-table-modal .status-expired {
  color: #b45309;
  font-weight: 850;
}

.explore-table-modal .status-neutral {
  color: #50627f;
  font-weight: 800;
}

body.large-table-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .page-view[data-page="explore"] .explore-results-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .view-large-table-button {
    justify-content: center;
    width: 100%;
  }

  .explore-table-modal {
    padding: 10px;
  }

  .explore-table-modal__dialog {
    width: 100%;
    height: 94vh;
    border-radius: 18px;
  }

  .explore-table-modal__header {
    padding: 18px 16px 12px;
  }

  .explore-table-modal__body {
    padding: 10px;
  }
}

/* v25: exact supplied QCTO PathFinder logo applied with cache-busted asset path */
.ai-message-template__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 10px;
}

.ai-message-template__head h4 {
  margin: 0;
}

.ai-copy-message-button {
  border: 1px solid #ffd3c8;
  background: #fffaf7;
  color: var(--red);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
  cursor: pointer;
}

.ai-copy-message-button:hover,
.ai-copy-message-button:focus-visible {
  background: #fff0ea;
  outline: none;
}

.ai-message-style-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 12px;
}

.ai-message-style-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ffe1d9;
  background: #fffaf7;
  color: var(--navy);
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.ai-message-style-tabs button span {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #16213a;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
}

.ai-message-style-tabs button.active {
  border-color: rgba(239, 64, 35, 0.45);
  background: #fff1ec;
  box-shadow: 0 8px 18px rgba(239, 64, 35, 0.12);
}

.ai-message-style-tabs button.active span {
  background: var(--red);
}

@media (max-width: 640px) {
  .ai-message-template__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .ai-message-style-tabs button {
    width: 100%;
    justify-content: flex-start;
  }
}
