.ob-centre-education {
  --ob-education-warm: var(--ob3-gold);
  --ob-education-cool: var(--ob3-blue);
}

.ob-centre-education .ob2-explorer-territory.ob2-territory--education-resp-context {
  border-top-color: var(--ob-education-cool);
}

.ob-centre-education .ob2-explorer-territory.ob2-territory--education-cost-funding {
  border-top-color: var(--ob-education-warm);
}

.ob-centre-education .ob2-territory--education-cost-funding .ob2-territory-mark {
  background: var(--ob-education-warm);
}

.ob-centre-education .ob2-territory--education-resp-context .ob2-territory-mark {
  background: var(--ob-education-cool);
}

.ob-centre-education .ob2-territory--education-resp-context .ob2-explorer-question {
  border-left-color: rgba(105, 185, 198, 0.84);
}

.ob-centre-education .ob2-territory--education-cost-funding .ob2-explorer-question {
  border-left-color: rgba(228, 170, 66, 0.82);
}

.ob-centre-education :is(.ob2-question__dock-copy, .ob2-dock-summary) strong[data-ob2-key-term] {
  color: inherit;
  font-weight: var(--ob2-type-reader-emphasis-weight);
}

.ob-centre-education :is(.ob2-driver-list, .ob2-relationship-contract)[hidden] {
  display: none !important;
}

.ob-centre-education .ob2-question__resources .ob2-resource-type {
  display: none;
}

.ob-centre-education .ob2-planning-context {
  background: var(--ob2-ink);
  border-top: 1px solid var(--ob2-stage-rule);
  color: var(--ob2-resource);
  isolation: isolate;
  overflow: hidden;
  padding: clamp(38px, 5vw, 64px) var(--ob2-page-gutter);
  position: relative;
}

.ob-centre-education .ob2-planning-context__inner {
  max-width: 980px;
  position: relative;
  z-index: 1;
}

.ob-centre-education .ob2-planning-context h2 {
  color: inherit;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.2;
  margin: 0 0 20px;
}

.ob-centre-education .ob2-planning-context p {
  color: rgba(244, 240, 230, 0.84);
  line-height: 1.68;
  margin: 0;
}

.ob-centre-education .ob2-planning-context p + p {
  margin-top: 14px;
}

.ob-centre-education .ob2-index-state {
  margin-bottom: 28px;
}

.ob-centre-education .ob2-index-groups {
  margin-top: 28px;
}

.ob-centre-education .ob2-resource-index,
.ob-centre-education .ob2-educational-boundary {
  padding-bottom: clamp(28px, 3vw, 40px);
  padding-top: clamp(28px, 3vw, 40px);
}

.ob-centre-education:has(.ob2-explorer-question[data-ob2-resource-total="1"].is-selected) .ob2-context-dock .ob2-dock-actions,
.ob-centre-education:has(.ob2-explorer-question[data-ob2-resource-total="2"].is-selected) .ob2-context-dock .ob2-dock-actions,
.ob-centre-education:has(.ob2-explorer-question[data-ob2-resource-total="3"].is-selected) .ob2-context-dock .ob2-dock-actions {
  display: none;
}

@media (min-width: 980px) {
  .ob-centre-education .ob2-map-heading {
    max-width: calc(100% - 56px);
  }

  .ob-centre-education .ob2-dock-territories {
    gap: 6px;
  }

  .ob-centre-education .ob2-dock-territories li {
    align-items: start;
    border-top: 0;
    grid-template-columns: minmax(0, 1fr);
    isolation: isolate;
    overflow: hidden;
    padding: 11px 16px;
    position: relative;
  }

  .ob-centre-education .ob2-dock-territories li::before {
    content: "";
    inset: 0;
    position: absolute;
    z-index: -1;
  }

  .ob-centre-education .ob2-dock-territories li[data-ob2-territory="education-cost-funding"]::before {
    background: linear-gradient(90deg, rgba(228, 170, 66, 0.2), rgba(228, 170, 66, 0.035));
    clip-path: polygon(0 0, 92% 0, 100% 100%, 6% 100%);
  }

  .ob-centre-education .ob2-dock-territories li[data-ob2-territory="education-resp-context"]::before {
    background: linear-gradient(90deg, rgba(105, 185, 198, 0.2), rgba(105, 185, 198, 0.035));
    clip-path: polygon(7% 0, 100% 0, 94% 100%, 0 100%);
  }

  .ob-centre-education .ob2-dock-territories small {
    grid-column: 1;
  }

  .ob-centre-education .ob2-context-dock .ob2-lead-resource-list {
    display: grid;
    gap: 2px;
  }

  .ob-centre-education .ob2-context-dock .ob2-lead-resource-list li {
    border-bottom: 0;
    padding: 3px 0;
  }

  .ob-centre-education .ob2-context-dock .ob2-dock-actions {
    margin-top: 12px;
  }

  .ob-centre-education .ob2-map-field {
    height: 620px;
    min-height: 620px;
  }

  .ob-centre-education .ob2-map-territory {
    height: 205px;
    top: 105px;
  }

  .ob-centre-education .ob2-map-territory--education-cost-funding {
    right: 58px;
  }

  .ob-centre-education .ob2-map-territory--education-resp-context {
    background: linear-gradient(90deg, rgba(105, 185, 198, 0.14), rgba(105, 185, 198, 0.02) 55%, transparent);
    border-color: rgba(105, 185, 198, 0.36);
    border-left-color: var(--ob-education-cool);
    left: 58px;
    right: 24px;
    top: 355px;
  }

  .ob-centre-education .ob2-map-node[data-ob2-territory="education-resp-context"] .ob2-question-code {
    color: var(--ob-education-cool);
  }

  .ob-centre-education .ob2-map-node[data-ob3-geometry="layer-1-left"],
  .ob-centre-education .ob2-map-node[data-ob3-geometry="layer-1-right"] {
    top: 215px;
  }

  .ob-centre-education .ob2-map-node[data-ob3-geometry="layer-2-left"],
  .ob-centre-education .ob2-map-node[data-ob3-geometry="layer-2-center"],
  .ob-centre-education .ob2-map-node[data-ob3-geometry="layer-2-right"] {
    top: 465px;
  }

  .ob-centre-education .ob2-map-node[data-ob3-geometry="layer-2-left"] {
    left: 17%;
    width: min(30%, 265px);
  }

  .ob-centre-education .ob2-map-node[data-ob3-geometry="layer-2-center"] {
    left: 50%;
    width: min(30%, 265px);
  }

  .ob-centre-education .ob2-map-node[data-ob3-geometry="layer-2-right"] {
    left: 83%;
    width: min(30%, 265px);
  }
}

@media (min-width: 1090px) {
  .ob-centre-education.ob2-is-enhanced .ob2-stage {
    grid-template-columns: minmax(0, 1.63fr) minmax(350px, 1fr);
  }

  .ob-centre-education .ob2-context-dock {
    height: 620px;
    min-height: 620px;
  }

  html[lang="fr-CA"] .ob-centre-education .ob2-map-field,
  html[lang="fr-CA"] .ob-centre-education .ob2-context-dock {
    height: 645px;
    min-height: 645px;
  }

  html[lang="fr-CA"] .ob-centre-education .ob2-map-territory--education-resp-context {
    height: 230px;
  }

  html[lang="fr-CA"] .ob-centre-education .ob2-map-node[data-ob3-geometry="layer-2-left"],
  html[lang="fr-CA"] .ob-centre-education .ob2-map-node[data-ob3-geometry="layer-2-center"],
  html[lang="fr-CA"] .ob-centre-education .ob2-map-node[data-ob3-geometry="layer-2-right"] {
    top: 487px;
  }

  .ob-centre-education .ob2-planning-context::before,
  .ob-centre-education .ob2-planning-context::after {
    content: "";
    inset: 0 0 0 52%;
    pointer-events: none;
    position: absolute;
    z-index: 0;
  }

  .ob-centre-education .ob2-planning-context::before {
    background:
      linear-gradient(158deg, rgba(228, 170, 66, 0.11) 0 42%, transparent 42%),
      linear-gradient(158deg, transparent 47%, rgba(105, 185, 198, 0.11) 47% 90%, transparent 90%);
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%, 8% 70%, 2% 39%);
  }

  .ob-centre-education .ob2-planning-context::after {
    background: repeating-radial-gradient(
      ellipse at 100% 48%,
      transparent 0 52px,
      rgba(220, 235, 232, 0.065) 53px 54px,
      transparent 55px 102px
    );
    opacity: 0.72;
  }
}

@media (min-width: 980px) and (max-width: 1089px) {
  .ob-centre-education .ob2-context-dock {
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 979px) {
  .ob-centre-education .ob2-territory--education-resp-context .ob2-question-code {
    border-color: rgba(105, 185, 198, 0.78);
    color: #9bd8e1;
  }

  .ob-centre-education.ob2-is-enhanced .ob2-territory--education-resp-context .ob2-explorer-question.is-selected {
    box-shadow: 0 0 0 2px rgba(105, 185, 198, 0.5), 0 16px 30px rgba(0, 0, 0, 0.24);
  }

  .ob-centre-education.ob2-is-enhanced .ob2-territory--education-resp-context .ob2-explorer-question.is-selected .ob2-explorer-question__button {
    background: rgba(105, 185, 198, 0.13);
  }
}

@media print {
  .ob-centre-education .ob2-planning-context {
    background: #fff !important;
    color: #000 !important;
    padding: 20pt 0 !important;
  }

  .ob-centre-education .ob2-planning-context p {
    color: #000 !important;
  }

  .ob-centre-education .ob2-planning-context::before,
  .ob-centre-education .ob2-planning-context::after {
    display: none !important;
  }

  .ob-centre-education .ob2-territory--education-cost-funding {
    border-top-color: #8a650e;
  }

  .ob-centre-education .ob2-territory--education-resp-context {
    border-top-color: #326f7a;
  }
}
