.challenge-page {
  --challenge-orange: #f47a20;
}

.challenge-page a:focus-visible,
.challenge-page summary:focus-visible {
  outline: 3px solid #f7c948;
  outline-offset: 4px;
}

.breadcrumb {
  padding: 12px 0;
  border-bottom: 1px solid var(--wm-border);
  background: var(--wm-white);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-block: 0;
  padding: 0;
  color: #53637a;
  font-size: 0.88rem;
  list-style: none;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 10px;
  color: #9aa8ba;
}

.breadcrumb a {
  color: var(--wm-blue);
  font-weight: 800;
  text-decoration: none;
}

.challenge-hero .hero__image {
  background-image: url("assets/images/hero-track.jpeg");
  background-image: image-set(
    url("assets/images/wm-racing-90-ps-challenge-faz-fohnsdorf.webp") type("image/webp"),
    url("assets/images/hero-track.jpeg") type("image/jpeg")
  );
  background-position: center 58%;
}

.challenge-hero h1 {
  max-width: 980px;
  font-size: clamp(2.8rem, 7.2vw, 6.25rem);
}

.hero__support {
  margin-top: 14px;
  color: var(--wm-white);
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-heading--wide {
  max-width: 880px;
}

.article-meta {
  margin: 16px 0 22px;
  color: #5f6f84;
  font-size: 0.92rem;
}

.content-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--wm-blue);
  font-weight: 800;
  text-underline-offset: 4px;
}

.content-link--light {
  color: var(--wm-white);
}

.section--blue .section-heading p:last-child {
  color: #e5edf8;
}

.challenge-figure {
  margin: 0;
}

.challenge-figure picture,
.team-story__media picture,
.result-card picture,
.timing-preview picture,
.operator-image picture,
.club-promotion picture {
  display: block;
}

.challenge-figure img {
  aspect-ratio: 4 / 3;
}

.challenge-figure figcaption {
  padding: 13px 16px;
  color: #53637a;
  background: var(--wm-white);
  font-size: 0.9rem;
}

.notice {
  margin-top: 24px;
  padding: 17px 19px;
  border-left: 5px solid var(--wm-light-blue);
  border-radius: 0 8px 8px 0;
  color: #34445b;
  background: var(--wm-light);
}

.learning-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.learning-grid article {
  padding: 27px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.learning-grid span {
  display: block;
  margin-bottom: 24px;
  color: #bcd8ff;
  font-weight: 800;
}

.learning-grid p {
  color: #e5edf8;
}

.learning-conclusion {
  max-width: 900px;
  margin-top: 30px;
  padding: 22px 24px;
  border-left: 5px solid var(--wm-white);
  border-radius: 0 8px 8px 0;
  color: var(--wm-white);
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.08rem;
  font-weight: 800;
}

.team-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: start;
  gap: 54px;
}

.team-story__copy p:not(.section-label) {
  color: #41516a;
  font-size: 1.07rem;
}

.team-story__media {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: end;
  gap: 14px;
}

.team-story__media > picture,
.result-card {
  border-radius: 8px;
  box-shadow: 0 20px 52px rgba(7, 22, 46, 0.15);
}

.team-story__media > picture {
  overflow: hidden;
}

.team-story__media > picture img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.result-card {
  overflow: hidden;
  background: var(--wm-blue);
  color: var(--wm-white);
}

.result-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.result-card div {
  padding: 20px;
}

.result-card strong,
.result-card span {
  display: block;
}

.result-card span {
  margin-top: 7px;
  color: #d9e7fb;
}

.schedule {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.schedule li {
  display: flex;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--wm-border);
  border-radius: 8px;
  background: var(--wm-white);
}

.schedule > li > span {
  flex: 0 0 auto;
  color: var(--wm-light-blue);
  font-weight: 800;
}

.schedule p {
  color: #4c5d76;
}

.timing-section {
  color: var(--wm-white);
  background: var(--wm-dark);
}

.timing-showcase {
  display: grid;
  grid-template-columns: minmax(330px, 0.85fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}

.timing-preview {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
  background: #f9bf7c;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timing-preview:hover,
.timing-preview:focus {
  transform: translateY(-3px);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.44);
}

.timing-preview img {
  width: 100%;
}

.timing-copy p:not(.section-label) {
  color: #dbe7f8;
  font-size: 1.07rem;
}

.timing-copy .timing-note {
  margin: 22px 0;
  padding-left: 16px;
  border-left: 4px solid var(--wm-light-blue);
  color: #b8c8dc;
  font-size: 0.92rem;
}

.success-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--wm-border);
  border-radius: 8px;
  background: var(--wm-border);
}

.success-grid article {
  padding: 27px;
  background: var(--wm-white);
}

.success-grid p {
  color: #4c5d76;
}

.operator-section {
  color: var(--wm-white);
  background: var(--wm-blue);
}

.operator-section .split__text,
.operator-image {
  min-width: 0;
}

.operator-section h2 {
  overflow-wrap: anywhere;
  word-break: normal;
}

.operator-section .split__text p:not(.section-label) {
  color: #e5edf8;
}

.operator-section .split__text .section-label {
  color: #bcd8ff;
}

.operator-section .button {
  margin-top: 28px;
}

.operator-image {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.operator-image img {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
}

.rules-panel {
  padding: 30px;
  border-radius: 8px;
  color: var(--wm-white);
  background: var(--wm-blue);
  box-shadow: 0 22px 54px rgba(7, 22, 46, 0.14);
}

.rules-panel h3 {
  font-size: 1.7rem;
  text-transform: uppercase;
}

.rules-panel ul {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.rules-panel li {
  position: relative;
  padding-left: 24px;
}

.rules-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 10px;
  height: 10px;
  background: var(--wm-white);
}

.rules-panel p {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: #d9e7fb;
  font-size: 0.93rem;
}

.dates-section strong {
  color: var(--wm-blue);
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button--outline-blue {
  border-color: var(--wm-blue);
  color: var(--wm-blue);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1fr);
  align-items: start;
  gap: 64px;
}

.faq-layout .section-heading {
  position: sticky;
  top: 120px;
}

.faq-list {
  border-top: 1px solid var(--wm-border);
}

.faq-list details {
  border-bottom: 1px solid var(--wm-border);
}

.faq-list summary {
  position: relative;
  padding: 22px 44px 22px 0;
  color: var(--wm-dark);
  font-size: 1.08rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 17px;
  color: var(--wm-blue);
  font-size: 1.6rem;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 44px 22px 0;
  color: #4c5d76;
}

.faq-list a {
  color: var(--wm-blue);
  font-weight: 800;
}

.challenge-contact .contact__inner {
  align-items: flex-end;
}

.challenge-contact .contact__actions {
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .nav__links {
    width: 100%;
  }

  .learning-grid,
  .schedule,
  .success-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-story,
  .timing-showcase,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .team-story__media {
    max-width: 680px;
  }

  .timing-preview {
    max-width: 600px;
    margin-inline: auto;
  }

  .faq-layout .section-heading {
    position: static;
  }
}

@media (max-width: 560px) {
  .challenge-hero .hero__content {
    min-width: 0;
  }

  .challenge-hero .eyebrow,
  .challenge-hero .hero__lead,
  .challenge-hero .hero__support {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .challenge-hero .hero__image {
    background-image: url("assets/images/hero-track.jpeg");
    background-image: image-set(
      url("assets/images/wm-racing-90-ps-challenge-faz-fohnsdorf-mobile.webp") type("image/webp"),
      url("assets/images/hero-track.jpeg") type("image/jpeg")
    );
  }

  .challenge-hero h1 {
    max-width: 11ch;
    font-size: clamp(2.25rem, 11vw, 3rem);
  }

  .hero__support {
    font-size: 0.88rem;
  }

  .learning-grid,
  .schedule,
  .success-grid,
  .team-story__media {
    grid-template-columns: 1fr;
  }

  .learning-grid article,
  .success-grid article,
  .schedule li {
    padding: 22px;
  }

  .team-story__media > picture img {
    aspect-ratio: 16 / 11;
    object-position: center 28%;
  }

  .timing-showcase {
    gap: 38px;
  }

  .operator-image img {
    min-height: 300px;
  }

  .operator-section h2 {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
    hyphens: manual;
  }

  .inline-actions {
    width: 100%;
  }

  .faq-list summary {
    padding-right: 36px;
  }

  .faq-list details p {
    padding-right: 12px;
  }
}
