@import "./challenge-card-number.css";
@import "./challenge-card-reveal.css?v=20261125-challenge-reveal";

/* Service PROBLEMS follows Sprint's introduction and two-column card grid. */
body.editorial-site.site-panel.service-panel[data-site-page] #challenge {
  --dark-line: #8a8f95;
  background: var(--site-black);
  color: #f5f5f6;
  padding-block: clamp(64px,7.222222vw,104px) clamp(48px,5.555556vw,80px);
}
body.editorial-site.site-panel.service-panel[data-site-page] #challenge > .wrap {
  display: block;
  width: auto;
  max-width: none;
  margin-inline: var(--panel-gutter);
  padding: 0;
}
body.editorial-site.site-panel.service-panel[data-site-page] #challenge .challenge-stage {
  display: block;
  border: 0;
  padding: 0;
  gap: 0;
}
body.editorial-site.site-panel.service-panel[data-site-page] #challenge .challenge-main {
  position: static;
  display: block;
  height: auto;
  min-height: 0;
  min-width: 0;
  padding: 0;
}
body.editorial-site.site-panel.service-panel[data-site-page] #challenge .sec-head {
  display: block;
  grid-column: auto;
  width: auto;
  flex-shrink: 0;
  padding: 0;
  margin: 0;
  text-align: left;
}
body.editorial-site.site-panel.service-panel[data-site-page] #challenge .sec-head :is(.section-kicker,.snum) {
  display: block;
  font-size: 12px !important;
  line-height: 1.3 !important;
  font-weight: 500;
  letter-spacing: 0;
  color: inherit;
  margin: 0 0 32px;
}
body.editorial-site.site-panel.service-panel[data-site-page] #challenge .sec-head :is(.section-kicker,.snum)::before,
body.editorial-site.site-panel.service-panel[data-site-page] #challenge .snum-icon { display: none; }
body.editorial-site.site-panel.service-panel[data-site-page] #challenge .sec-head h2 {
  --section-role-size: clamp(26px,2.222222vw,32px);
  font-size: var(--section-role-size) !important;
  line-height: 1.5 !important;
  color: inherit;
  font-weight: 500;
  margin: 0;
}
body.editorial-site.site-panel.service-panel[data-site-page] #challenge .sec-head > p:not([data-heading-language]) {
  margin: 24px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: inherit;
}
/* These empty, decorative photo slots belonged to the retired pinned intro. */
body.editorial-site.site-panel.service-panel[data-site-page] #challenge .challenge-photo { display: none; }
body.editorial-site.site-panel.service-panel[data-site-page] #challenge :is(.prob-cards,.challenge-grid) {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  grid-row: auto;
  grid-column: auto;
  align-content: start;
  min-width: 0;
  height: auto;
  gap: 0;
  padding: 0;
  margin: 24px 0 0;
  border: 1px solid var(--dark-line);
}
body.editorial-site.site-panel.service-panel[data-site-page] #challenge :is(.prob-card,.challenge-card) {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  align-content: stretch;
  gap: 20px;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  aspect-ratio: auto;
  margin: 0;
  padding: 48px 24px 28px;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  /* The row and its rules stay fixed; entrance motion belongs to its contents. */
  opacity: 1;
  transform: none;
  transition: none;
}
body.editorial-site.site-panel.service-panel[data-site-page] #challenge :is(.prob-card,.challenge-card):nth-child(odd) { border-right: 1px solid var(--dark-line); }
body.editorial-site.site-panel.service-panel[data-site-page] #challenge :is(.prob-card,.challenge-card):not(:last-child):not(:nth-last-child(2):nth-child(odd)) { border-bottom: 1px solid var(--dark-line); }
body.editorial-site.site-panel.service-panel[data-site-page] #challenge .prob-card::before { content: none; }
@media (min-width:768px) and (prefers-reduced-motion:no-preference) {
  body.editorial-site.site-panel.service-panel[data-site-page] #challenge [data-problem-motion-ready] > :not(.sprint-row-index) {
    animation:service-problem-fade-up 750ms cubic-bezier(.22,1,.36,1) var(--problem-reveal-delay,0ms) both paused;
  }
  body.editorial-site.site-panel.service-panel[data-site-page] #challenge [data-problem-motion-ready] > .sprint-row-index {
    animation:service-problem-index-fade 750ms cubic-bezier(.22,1,.36,1) var(--problem-reveal-delay,0ms) both paused;
  }
  body.editorial-site.site-panel.service-panel[data-site-page] #challenge [data-problem-motion-ready].sprint-row-visible > * {
    animation-play-state:running;
  }
  @keyframes service-problem-fade-up {
    from { opacity:0; transform:translateY(20px); }
    to { opacity:1; transform:translateY(0); }
  }
  @keyframes service-problem-index-fade {
    from { opacity:0; }
    to { opacity:1; }
  }
}
@media print {
  body.editorial-site.site-panel.service-panel[data-site-page] #challenge [data-problem-motion-ready] > * {
    animation:none;
  }
}
body.editorial-site.site-panel.service-panel[data-site-page] #challenge :is(.prob-card-illu,.ch-icon,.sprint-problem-icon) {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  max-height: none;
  min-height: 0;
  aspect-ratio: 1;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
}
body.editorial-site.site-panel.service-panel[data-site-page] #challenge .service-problem-raster { mix-blend-mode: lighten; }
body.editorial-site.site-panel.service-panel[data-site-page] #challenge .service-problem-raster > img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: translate(-50%,-50%) translateY(var(--problem-image-y,0%));
  filter: contrast(1.25) brightness(.9);
  mix-blend-mode: lighten;
  mask-image: radial-gradient(ellipse at center,#000 45%,transparent 73%);
  opacity: 1;
  transition: none;
}
body.editorial-site.site-panel.service-panel[data-site-page] #challenge :is(.prob-card-txt,.challenge-card h3) {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  min-height: 0;
  max-width: none;
  margin: 0;
  color: inherit;
  font-size: clamp(18px,1.25vw,20px);
  line-height: 1.6;
  letter-spacing: 0;
  font-weight: 400;
  text-align: left;
}
body.editorial-site.site-panel.service-panel[data-site-page] #challenge .prob-card-em { font-size: inherit; line-height: inherit; font-weight: 500; }
body.editorial-site.site-panel.service-panel[data-site-page] #challenge .challenge-card h3::after { content: none; }
body.editorial-site.site-panel.service-panel[data-site-page] #challenge .prob-card-txt br { display: block; }
body.editorial-site.site-panel.service-panel[data-site-page] #challenge .challenge-card { grid-template-rows: auto auto 1fr; }
body.editorial-site.site-panel.service-panel[data-site-page] #challenge .ch-cause {
  grid-column: 1;
  grid-row: 3;
  display: block;
  width: auto;
  margin: 0;
  padding: 20px 0 0;
  border: 0;
  border-top: 1px solid var(--dark-line);
  background: transparent;
}
body.editorial-site.site-panel.service-panel[data-site-page] #challenge .ch-cause::before { content: none; }
body.editorial-site.site-panel.service-panel[data-site-page] #challenge .ch-cause-text { font-size: 15px; line-height: 1.8; color: #c2c6cd; margin: 0; padding: 0; }
body.editorial-site.site-panel.service-panel[data-site-page] #challenge :is(.gap,.prob-close,.challenge-foot) { margin: 0; }
@media (min-width:768px) {
  /* Close the grid at the navigation rail and the section's right edge. */
  body.editorial-site.site-panel.service-panel[data-site-page] #challenge :is(.prob-cards,.challenge-grid) {
    margin-inline: calc(-1 * var(--panel-gutter));
    border-inline: 0;
  }
  body.editorial-site.site-panel.service-panel[data-site-page] #challenge :is(.prob-card,.challenge-card):nth-child(odd) { padding-left: var(--panel-gutter); }
  body.editorial-site.site-panel.service-panel[data-site-page] #challenge :is(.prob-card,.challenge-card):nth-child(even) { padding-right: var(--panel-gutter); }
}
/* An odd item closes the last row rather than leaving an unruled empty cell. */
body.editorial-site.site-panel.service-panel[data-site-page] #challenge :is(.prob-card,.challenge-card):last-child:nth-child(odd) {
  grid-column: 1 / -1;
  border-right: 0;
}
body.editorial-site.site-panel.service-panel[data-site-page] #challenge .gap::before {
  left: calc(-1 * var(--panel-gutter));
  right: calc(-1 * var(--panel-gutter));
}
@media (max-width:680px) {
  body.editorial-site.site-panel.service-panel[data-site-page] #challenge :is(.prob-cards,.challenge-grid) {
    grid-template-columns: minmax(0,1fr);
  }
  body.editorial-site.site-panel.service-panel[data-site-page] #challenge :is(.prob-card,.challenge-card):nth-child(odd) {
    border-right: 0;
  }
  body.editorial-site.site-panel.service-panel[data-site-page] #challenge :is(.prob-card,.challenge-card):not(:last-child) {
    border-bottom: 1px solid var(--dark-line);
  }
  body.editorial-site.site-panel.service-panel[data-site-page] #challenge .sec-head h2 { --section-role-size: 26px; font-size: var(--section-role-size) !important; }
  body.editorial-site.site-panel.service-panel[data-site-page] #challenge :is(.prob-card,.challenge-card) { padding: 40px var(--panel-gutter) 20px; gap: 16px; }
  body.editorial-site.site-panel.service-panel[data-site-page] #challenge :is(.prob-card-txt,.challenge-card h3) { font-size: 18px; }
  body.editorial-site.site-panel.service-panel[data-site-page] #challenge .ch-cause-text { font-size: 14px; }
}

@media (min-width:681px) and (max-width:767px) {
  body.editorial-site.site-panel.service-panel[data-site-page] #challenge :is(.prob-card,.challenge-card) { padding-inline: var(--panel-gutter); }
}

/* The small chapter icon and its breathing room match the Sprint introduction. */
body.editorial-site.site-panel.service-panel[data-site-page] #challenge .sec-head.sprint-icon-heading {
  position: relative;
  padding-top: 140px;
}
