/* Editorial case sequence: one full-width lead case, two follow-ups, then open diagrams. */
.mentor-theme .mentor-hero {
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(42px, 5vw, 66px);
}
.mentor-theme .mentor-hero .mentor-visual {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  max-width: 555px;
}

.mentor-theme .case-studies {
  max-width: 1240px;
  padding-top: clamp(26px, 4vw, 52px);
  padding-bottom: clamp(68px, 7vw, 98px);
}
.mentor-theme .case-studies-head {
  max-width: 930px;
  margin-bottom: clamp(26px, 3vw, 38px);
}
.mentor-theme .case-studies-head h2 {
  background: linear-gradient(100deg, #f4f9ff 10%, #a9c9ff 57%, #b8a8f4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mentor-theme .case-feature {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  grid-template-rows: auto auto auto 1fr auto auto auto;
  grid-template-areas:
    "kicker visual"
    "asset visual"
    "title visual"
    "summary visual"
    "story visual"
    "steps metrics"
    "disclaimer disclaimer";
  column-gap: clamp(27px, 4vw, 55px);
  row-gap: 0;
  padding: clamp(28px, 3.5vw, 48px);
  border-radius: 17px;
  background:
    radial-gradient(ellipse at 90% 4%, #6685d82c, transparent 42%),
    linear-gradient(135deg, #17274c 0%, #1a2b53 47%, #191f43 100%);
  box-shadow: inset 0 1px 0 #dcecff24, 0 27px 72px #05092360;
}
.mentor-theme .case-feature::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: min(40%, 380px);
  height: 2px;
  background: linear-gradient(90deg, #8dd9ff, #a59df3, transparent);
  box-shadow: 0 0 18px #8cc9ff59;
}
.mentor-theme .case-feature > .case-kicker { grid-area: kicker; margin-bottom: 16px; }
.mentor-theme .case-feature > .case-asset { grid-area: asset; }
.mentor-theme .case-feature > .case-title {
  grid-area: title;
  max-width: 600px;
  margin-bottom: 16px;
  font-size: clamp(29px, 3.2vw, 42px);
  line-height: 1.16;
}
.mentor-theme .case-feature > .case-summary {
  grid-area: summary;
  max-width: 580px;
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.76;
}
.mentor-theme .case-feature > .case-learner-story {
  grid-area: story;
  align-self: end;
  margin-bottom: 22px;
  font-size: 13px;
}
.mentor-theme .case-feature > .case-visual {
  grid-area: visual;
  align-self: stretch;
  width: 100%;
  height: auto;
  min-height: 285px;
  margin: 0 0 17px;
  border-radius: 11px;
  background:
    radial-gradient(ellipse at 72% 24%, #4668bc30, transparent 60%),
    linear-gradient(180deg, #0d1b3a, #162748);
}
.mentor-theme .case-feature > .case-metrics {
  grid-area: metrics;
  align-self: start;
  margin: 0;
}
.mentor-theme .case-feature > .case-steps {
  grid-area: steps;
  align-self: stretch;
  margin: 0;
}
.mentor-theme .case-feature > .case-disclaimer {
  grid-area: disclaimer;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid #8ea6d64b;
  color: #aebfdf;
  font-size: 11px;
}
.mentor-theme .case-study-grid { margin-top: clamp(20px, 2.5vw, 28px); }
.mentor-theme .case-study-card { border-radius: 15px; }
.mentor-theme .case-study-card .case-visual { border-radius: 10px; }

/* The retained graphics read as open editorial sections, not rounded mega-cards. */
.mentor-theme .opportunity-examples {
  display: grid;
  gap: 0;
  max-width: 1240px;
  min-width: 0;
  margin: 0 auto;
  padding: 0 24px clamp(80px, 8vw, 112px);
}
.mentor-theme .oe-scene,
.mentor-theme .oe-decision {
  margin: 0;
  padding: clamp(48px, 6vw, 78px) 0;
  overflow: visible;
  border: 0;
  border-top: 1px solid #87a3d352;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.mentor-theme .oe-scene::before { display: none; }
.mentor-theme .oe-scene-head,
.mentor-theme .oe-decision .oe-scene-head {
  max-width: 990px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.mentor-theme .oe-index {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  min-width: 32px;
  padding-top: 4px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #9bcaff;
  font-size: 13px;
}
.mentor-theme .oe-scene-head h2,
.mentor-theme .oe-scene-head h3 {
  font-size: clamp(30px, 3.45vw, 46px);
  background: linear-gradient(103deg, #f7f9ff 14%, #b6d0ff 69%, #bbacf4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mentor-theme .oe-profit-chart,
.mentor-theme .oe-profit-panel {
  border-color: #83a6da65;
  border-radius: 11px;
  background: linear-gradient(145deg, #142748ef, #1a2d52e3);
}
.mentor-theme .oe-source,
.mentor-theme .oe-output { border-radius: 10px; }
.mentor-theme .oe-note { max-width: 100%; }

@media (max-width: 900px) {
  .mentor-theme .mentor-hero {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
    row-gap: 24px;
  }
  .mentor-theme .mentor-hero .hero-copy { grid-column: 1; grid-row: 1; }
  .mentor-theme .mentor-hero .mentor-visual { grid-column: 1; grid-row: 2; }
  .mentor-theme .case-feature {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas:
      "kicker"
      "asset"
      "title"
      "summary"
      "visual"
      "story"
      "metrics"
      "steps"
      "disclaimer";
  }
  .mentor-theme .case-feature > .case-visual { height: clamp(230px, 32vw, 315px); min-height: 0; margin: 0 0 20px; }
  .mentor-theme .case-feature > .case-learner-story { margin-bottom: 18px; }
  .mentor-theme .case-feature > .case-metrics { margin-bottom: 19px; }
}
@media (max-width: 600px) {
  .mentor-theme .mentor-hero { padding-bottom: 34px; }
  .mentor-theme .mentor-hero .mentor-visual { max-width: min(100%, 370px); }
  .mentor-theme .case-studies { padding: 30px 18px 64px; }
  .mentor-theme .case-studies-head h2 { font-size: clamp(30px, 8vw, 39px); }
  .mentor-theme .case-feature { padding: 22px 19px; border-radius: 13px; }
  .mentor-theme .case-feature > .case-title { font-size: clamp(25px, 7vw, 32px); }
  .mentor-theme .case-feature > .case-summary { font-size: 13px; }
  .mentor-theme .case-feature > .case-visual { height: 205px; margin-bottom: 16px; }
  .mentor-theme .case-feature > .case-learner-story { font-size: 12px; }
  .mentor-theme .case-feature > .case-metrics strong { font-size: clamp(14px, 3.9vw, 18px); }
  .mentor-theme .opportunity-examples { padding: 0 18px 24px; }
  .mentor-theme .oe-scene,
  .mentor-theme .oe-decision { padding: 44px 0 52px; }
  .mentor-theme .oe-network { padding-bottom: 16px; }
  .mentor-theme .oe-scene-head,
  .mentor-theme .oe-decision .oe-scene-head { gap: 10px; margin-bottom: 22px; }
  .mentor-theme .oe-scene-head h2,
  .mentor-theme .oe-scene-head h3 { font-size: clamp(24px, 7vw, 31px); }
  .mentor-theme .oe-index { min-width: 23px; font-size: 11px; }
}
@media (max-width: 400px) {
  .mentor-theme .case-feature { padding: 18px 15px; }
  .mentor-theme .case-feature > .case-visual { height: 176px; }
  .mentor-theme .case-feature > .case-metrics > div { padding-inline: 6px; }
  .mentor-theme .case-feature > .case-metrics strong { font-size: 13px; }
  .mentor-theme .case-feature > .case-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .mentor-theme .case-chart-line,
  .mentor-theme .oe-core-halo,
  .mentor-theme .oe-flow::before,
  .mentor-theme .oe-profit-svg .oe-chart-up,
  .mentor-theme .oe-profit-svg .oe-chart-down {
    animation: none;
  }
  .mentor-theme .case-chart-line,
  .mentor-theme .oe-profit-svg .oe-chart-up,
  .mentor-theme .oe-profit-svg .oe-chart-down { stroke-dashoffset: 0; }
}
