/* Challenges page: each challenge gets its own colour world, a sticky chapter bar and calmer, larger reading text. */
.challenges-edition { background: #fbf8ee; }

.ch-theme-fast  { --ch-bg: #fbf8ee; --ch-tint: #f3e5cc; --ch-accent: #8a5c1f; --ch-ink: #4a3418; }
.ch-theme-vegan { --ch-bg: #eef3e4; --ch-tint: #dce9bf; --ch-accent: #44702f; --ch-ink: #1f4130; }
.ch-theme-night { --ch-bg: #f2eff7; --ch-tint: #e4ddf2; --ch-accent: #5f5194; --ch-ink: #2e2747; }
.ch-theme-run   { --ch-bg: #fbf0ea; --ch-tint: #f5d9cb; --ch-accent: #9c4227; --ch-ink: #4a2216; }

/* ---------- Hero ---------- */
.challenges-edition .ch-hero .edition-copy p { font-size: 16px; line-height: 1.65; max-width: 52ch; }
.ch-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  margin: 30px 0 0;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px solid #d9eab733;
}
.ch-hero-facts li { display: flex; flex-direction: column; gap: 2px; color: #c9d8c4; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.ch-hero-facts strong { color: var(--edition-lime); font: 500 28px/1.05 var(--edition-serif); letter-spacing: -.03em; }

.challenge-picker { gap: 14px; }
.challenge-picker a.ch-pick {
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 16px;
  min-height: 84px;
  padding: 14px 18px 14px 14px;
  border: 1px solid #ffffff70;
  border-radius: 18px;
  box-shadow: 0 14px 28px #06181260;
  transition: transform .25s ease, box-shadow .25s ease;
}
.challenge-picker a.ch-pick--fast  { background: #f4e7d3; color: #4a3418; }
.challenge-picker a.ch-pick--vegan { background: #e3efc0; color: #1f4130; }
.challenge-picker a.ch-pick--night { background: #e7e1f4; color: #2e2747; }
.challenge-picker a.ch-pick--run   { background: #f6dccd; color: #4a2216; }
.challenge-picker a.ch-pick:hover { transform: translateY(-3px); box-shadow: 0 20px 34px #06181275; }
.ch-pick-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: #ffffff8f; }
.ch-pick-icon svg { width: 30px; height: 30px; }
.ch-pick-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ch-pick-body small { font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; opacity: .78; }
.ch-pick-body strong { font: 500 clamp(19px, 2vw, 23px)/1.15 var(--edition-serif); letter-spacing: -.02em; }
.ch-pick-arrow { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid currentColor; border-radius: 50%; font-size: 15px; transition: transform .25s ease, background .25s ease; }
.challenge-picker a.ch-pick:hover .ch-pick-arrow { transform: translateX(3px); background: #ffffff8f; }

/* ---------- Sticky chapter bar ---------- */
nav.ch-tabs {
  position: sticky;
  top: 78px;
  z-index: 50;
  display: block;
  background: #fbf8eef0;
  border-bottom: 1px solid var(--edition-rule);
  backdrop-filter: blur(12px);
  transition: opacity .25s ease, visibility .25s;
}
nav.ch-tabs.is-past { opacity: 0; visibility: hidden; pointer-events: none; }
.ch-tabs-inner { display: flex; gap: 8px; padding-block: 10px; overflow-x: auto; scrollbar-width: none; }
.ch-tabs-inner::-webkit-scrollbar { display: none; }
.ch-tabs a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 7px;
  border: 1px solid var(--edition-rule);
  border-radius: 100px;
  background: #fffdf6;
  color: var(--edition-ink);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.ch-tabs a span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 11px; }
.ch-tabs a.is-fast span  { background: #f3e5cc; color: #4a3418; }
.ch-tabs a.is-vegan span { background: #dce9bf; color: #1f4130; }
.ch-tabs a.is-night span { background: #e4ddf2; color: #2e2747; }
.ch-tabs a.is-run span   { background: #f5d9cb; color: #4a2216; }
.ch-tabs a:hover { border-color: #b8c6b0; }
.ch-tabs a:is([aria-current="true"], [aria-current="page"]) { background: var(--edition-deep); border-color: var(--edition-deep); color: #fbf8ee; }
.ch-tabs a:is([aria-current="true"], [aria-current="page"]) span { background: var(--edition-lime); color: var(--edition-deep); }
.challenges-edition :is(#fasten, #vegan, #abendritual, #laufen) { scroll-margin-top: 130px; }

/* ---------- Section frame ---------- */
.challenges-edition .ch-section { position: relative; padding: clamp(60px, 8vw, 108px) 0; background: var(--ch-bg); }
.challenges-edition .ch-section + .ch-section { border-top: 1px solid #00000010; }

.challenges-edition .ch-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 40px;
  max-width: none;
  margin-bottom: 40px;
}
.ch-head > :not(.ch-num) { grid-column: 1; max-width: 720px; }
.ch-num {
  grid-column: 2;
  grid-row: 1 / span 5;
  align-self: start;
  color: transparent;
  font: 500 clamp(96px, 13vw, 176px)/.8 var(--edition-serif);
  letter-spacing: -.06em;
  -webkit-text-stroke: 1.5px var(--ch-accent);
  opacity: .45;
  user-select: none;
}
.challenges-edition .ch-head .eyebrow {
  justify-self: start;
  padding: 7px 13px;
  border-radius: 100px;
  background: var(--ch-tint);
  color: var(--ch-ink);
  font-size: 11px;
  letter-spacing: .13em;
}
.challenges-edition .ch-head :is(h1, h2) {
  margin: 18px 0 14px;
  color: var(--edition-ink);
  font: 500 clamp(36px, 5vw, 58px)/1.03 var(--edition-serif);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.challenges-edition .ch-head p { color: #4d5e52; font-size: 16px; line-height: 1.65; }
.challenges-edition nav.ch-breadcrumb {
  position: static;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  background: none;
  color: #5d6c62;
  font-size: 13px;
  font-weight: 600;
}
.ch-breadcrumb a { text-decoration: underline; text-decoration-color: #5d6c6266; text-underline-offset: 3px; }
.ch-breadcrumb a:hover { color: var(--ch-ink); text-decoration-color: currentColor; }
.ch-breadcrumb [aria-current="page"] { color: var(--ch-ink); }
.challenge-page .ch-section { padding-top: clamp(40px, 6vw, 76px); }
.challenges-edition .ch-head .challenge-pdf-download {
  justify-self: start;
  margin-top: 24px;
  padding: 11px 19px;
  border-color: var(--ch-ink);
  border-radius: 100px;
  background: #fffdf8;
  color: var(--ch-ink);
}
.challenges-edition .ch-head .challenge-pdf-download:hover,
.challenges-edition .ch-head .challenge-pdf-download:focus-visible { background: var(--ch-ink); color: #fffdf8; }

/* ---------- Challenge card ---------- */
.challenges-edition .ch-section .challenge {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  margin: 0;
  border: 1px solid #00000010;
  border-radius: 26px;
  background: #fffdf8;
  box-shadow: 0 26px 60px #1b3a2a14;
}
.challenges-edition .ch-section .challenge .challenge-side {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 380px;
  padding: clamp(28px, 3.5vw, 40px);
}
.challenges-edition .ch-theme-fast .challenge .challenge-side  { background: linear-gradient(160deg, #1f4636, #102d24); color: #fbf8ee; }
.challenges-edition .ch-theme-vegan .challenge .challenge-side { background: linear-gradient(155deg, #e2efb8, #b5cf8a); color: #173a29; }
.challenges-edition .ch-theme-night .challenge .challenge-side {
  background:
    radial-gradient(circle at 78% 70%, #ffffff30 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 62% 86%, #ffffff40 0 1px, transparent 2px),
    radial-gradient(circle at 88% 48%, #ffffff35 0 1px, transparent 2px),
    radial-gradient(circle at 18% 92%, #ffffff28 0 1px, transparent 2px),
    linear-gradient(160deg, #3a3462, #1c1a33);
  color: #f1eef9;
}
.challenges-edition .ch-theme-run .challenge .challenge-side { background: linear-gradient(155deg, #c4613f, #6f2a19); color: #fff6f0; }
.challenges-edition .ch-section .challenge-side::after {
  position: absolute;
  z-index: -1;
  right: -150px;
  bottom: -160px;
  width: 340px;
  height: 340px;
  content: "";
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .14;
  box-shadow: 0 0 0 42px #ffffff07, 0 0 0 84px #ffffff05;
}
.ch-side-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.challenges-edition .ch-section .challenge-no { color: currentColor; font: 500 66px/1 var(--edition-serif); letter-spacing: -.05em; opacity: .38; }
.ch-art {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 1px solid #ffffff30;
  border-radius: 26px;
  background: #ffffff18;
  transform: rotate(-7deg);
}
.ch-theme-vegan .ch-art { border-color: #ffffffa0; background: #ffffff70; }
.ch-theme-fast .ch-art { color: #f0cf8e; }
.ch-theme-night .ch-art { color: #d9cffa; }
.ch-theme-run .ch-art { color: #ffe0cd; }
.ch-art svg { width: 54px; height: 54px; }
.challenges-edition .ch-section .challenge-side h3 { margin: 26px 0 12px; font: 500 clamp(28px, 3vw, 36px)/1.1 var(--edition-serif); letter-spacing: -.035em; }
.challenges-edition .ch-section .challenge-side p { font-size: 15px; line-height: 1.6; opacity: .86; }
.challenges-edition .ch-section .pill { margin-top: 28px; padding: 7px 13px; border-radius: 100px; background: #ffffff1c; font-size: 11px; }

.challenges-edition .ch-section .challenge-main { padding: clamp(26px, 4vw, 46px); }
.challenges-edition .ch-section .challenge-main > h4 { margin: 0 0 16px; color: var(--edition-ink); font: 500 25px/1.2 var(--edition-serif); letter-spacing: -.02em; }
.challenges-edition .ch-section .facts { gap: 8px; margin-bottom: 30px; }
.challenges-edition .ch-section .fact { padding: 8px 14px; border-radius: 100px; background: var(--ch-tint); color: var(--ch-ink); font-size: 12px; }

/* Timeline: a vertical path instead of a two-column grid. */
.challenges-edition .ch-section .timeline { display: block; }
.challenges-edition .ch-section .timeline-item { position: relative; padding: 0 0 24px 38px; border: 0; }
.challenges-edition .ch-section .timeline-item::before {
  position: absolute;
  top: 3px;
  left: 0;
  width: 18px;
  height: 18px;
  content: "";
  border: 3px solid var(--ch-accent);
  border-radius: 50%;
  background: #fffdf8;
  box-sizing: border-box;
}
.challenges-edition .ch-section .timeline-item::after { position: absolute; top: 25px; bottom: 3px; left: 8px; width: 2px; content: ""; background: var(--ch-tint); }
.challenges-edition .ch-section .timeline-item:last-child { padding-bottom: 0; }
.challenges-edition .ch-section .timeline-item:last-child::after { display: none; }
.challenges-edition .ch-section .timeline-item strong { margin-bottom: 4px; color: var(--edition-ink); font-size: 14px; }
.challenges-edition .ch-section .timeline-item span { color: #57675c; font-size: 14px; line-height: 1.6; }

.challenges-edition .ch-section .callout {
  position: relative;
  margin-top: 28px;
  padding: 17px 20px 17px 54px;
  border: 0;
  border-radius: 16px;
  background: var(--ch-tint);
  color: var(--ch-ink);
  font-size: 14px;
  line-height: 1.6;
}
.challenges-edition .ch-section .callout::before {
  position: absolute;
  top: 17px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  content: "i";
  border-radius: 50%;
  background: var(--ch-ink);
  color: #fffdf8;
  font: 700 13px/1 Georgia, serif;
}

/* ---------- Notices ---------- */
.challenges-edition .ch-section .notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 16px;
  margin-top: 32px;
  padding: 22px 26px;
  border: 1px solid #ebd6a8;
  border-radius: 20px;
  background: #fff6e3;
  color: #5b4520;
  font-size: 14px;
  line-height: 1.65;
}
.challenges-edition .ch-section .notice::before {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 36px;
  height: 36px;
  content: "!";
  border-radius: 50%;
  background: #e8c271;
  color: #46320e;
  font: 700 18px/1 Georgia, serif;
}
.challenges-edition .ch-section .notice strong { margin: 0; color: #46320e; font-size: 16px; }
.challenges-edition .ch-section .notice.notice--info { border-color: #c7d9b0; background: #f3f8ea; color: #2f4a35; }
.challenges-edition .ch-section .notice.notice--info::before { content: "✓"; background: #b9d38a; color: #173a29; font: 700 16px/1 system-ui, sans-serif; }
.challenges-edition .ch-section .notice.notice--info strong { color: #173a29; }

/* ---------- Fasting benefits ---------- */
.challenges-edition .benefits-block { margin: 64px 0 0; }
.challenges-edition .benefits-heading { margin-bottom: 26px; }
.challenges-edition .benefits-heading .eyebrow,
.challenges-edition .recipe-section > .eyebrow { color: var(--ch-accent); }
.challenges-edition .benefits-heading h3 { color: var(--edition-ink); font: 500 clamp(28px, 3.4vw, 40px)/1.1 var(--edition-serif); letter-spacing: -.035em; }
.challenges-edition .benefits-heading p { font-size: 15px; line-height: 1.65; }
.challenges-edition .benefits-grid { gap: 16px; }
.challenges-edition .benefit-card { padding: 26px; border: 1px solid #00000010; border-radius: 20px; background: #fffdf8; box-shadow: 0 10px 26px #1b3a2a0b; }
.challenges-edition .benefit-index { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--ch-tint); color: var(--ch-ink); font: 600 15px/1 var(--edition-serif); }
.challenges-edition .benefit-card h4 { margin: 16px 0 8px; font-size: 19px; }
.challenges-edition .benefit-card p { font-size: 14px; line-height: 1.65; }
.challenges-edition .evidence-note { margin-top: 18px; padding: 22px 26px; border: 1px dashed #cdb98c; border-radius: 20px; background: #fffdf8; font-size: 14px; line-height: 1.65; }
.challenges-edition .evidence-note strong { font: 500 19px/1.3 var(--edition-serif); }
.challenges-edition .evidence-links { gap: 8px; margin-top: 14px; }
.challenges-edition .evidence-links a { padding: 7px 13px; border-radius: 100px; background: var(--ch-tint); color: var(--ch-ink); font-size: 12px; text-decoration: none; }
.challenges-edition .evidence-links a:hover { background: var(--ch-ink); color: #fffdf8; }

/* ---------- 7-day plan with progress ---------- */
.ch-progress {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--ch-tint);
  color: var(--ch-ink);
}
.ch-progress-text { margin: 0 !important; color: var(--ch-ink) !important; font-size: 14px !important; font-weight: 700; }
.ch-progress-text strong { font: 600 20px/1 var(--edition-serif); }
.ch-progress-bar { flex: 1 1 140px; height: 9px; overflow: hidden; border-radius: 10px; background: #ffffffa8; }
.ch-progress-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--ch-accent); transition: width .45s ease; }
.ch-progress-reset { padding: 6px 12px; border: 1px solid currentColor; border-radius: 100px; background: transparent; color: inherit; font: 700 12px/1.2 "DM Sans", sans-serif; cursor: pointer; }
.ch-progress-reset:hover { background: #ffffff8f; }
.ch-progress-hint { flex-basis: 100%; margin: 0 !important; color: var(--ch-ink) !important; font-size: 12px !important; opacity: .8; }

.challenges-edition .vegan-days { gap: 12px; }
.challenges-edition .day {
  display: flex;
  flex-direction: column;
  padding: 16px 17px 14px;
  border: 1px solid #00000012;
  border-radius: 16px;
  background: #fffdf8;
  transition: background .25s, border-color .25s;
}
.challenges-edition .day:last-child { grid-column: 1 / -1; }
.challenges-edition .day:has(input:checked) { border-color: #b5cf8a; background: #f2f7e6; }
.challenges-edition .day-num { width: 32px; height: 32px; background: var(--ch-tint); color: var(--ch-ink); font-size: 13px; transition: background .25s, color .25s; }
.challenges-edition .day:has(input:checked) .day-num { background: var(--ch-accent); color: #fff; }
.challenges-edition .day strong { font: 500 18px/1.25 var(--edition-serif); letter-spacing: -.01em; }
.challenges-edition .day p { flex: 1; font-size: 14px; line-height: 1.55; }
.day-check {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: 12px;
  padding: 5px 12px 5px 8px;
  border-radius: 100px;
  background: var(--ch-bg);
  color: var(--ch-ink);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.day-check input { width: 17px; height: 17px; margin: 0; accent-color: var(--ch-accent); cursor: pointer; }

/* ---------- Recipes ---------- */
.challenges-edition .recipe-section { margin: 72px 0 0; }
.challenges-edition .recipe-heading { color: var(--edition-ink); font: 500 clamp(30px, 4vw, 46px)/1.08 var(--edition-serif); letter-spacing: -.04em; }
.challenges-edition .recipe-intro { max-width: 640px; margin-bottom: 26px; font-size: 15px; line-height: 1.65; }
.challenges-edition .recipe-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.challenges-edition .recipe-card {
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  padding: 0 22px 22px;
  border: 1px solid #00000010;
  border-radius: 22px;
  background: #fffdf8;
}
.challenges-edition .recipe-card:nth-child(n+4),
.challenges-edition .recipe-card:last-child { grid-column: span 3; }
.challenges-edition .recipe-photo { width: calc(100% + 44px); height: 210px; margin: 0 -22px 20px; border-radius: 0; }
.challenges-edition .recipe-card:nth-child(n+4) .recipe-photo { height: 260px; }
.challenges-edition .recipe-tag { align-self: flex-start; background: var(--ch-tint); color: var(--ch-ink); }
.challenges-edition .recipe-card h4 { font: 500 22px/1.2 var(--edition-serif); letter-spacing: -.025em; }
.challenges-edition .recipe-card h5 { color: var(--ch-accent); letter-spacing: .12em; }
.challenges-edition .recipe-card p { font-size: 14px; line-height: 1.6; }
.challenges-edition .recipe-card details.recipe-method { margin-top: auto; padding-top: 16px; border-top: 0; }
.challenges-edition .recipe-card details.recipe-method summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-radius: 100px;
  background: var(--ch-tint);
  color: var(--ch-ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.challenges-edition .recipe-card details.recipe-method summary::-webkit-details-marker { display: none; }
.challenges-edition .recipe-card details.recipe-method summary::after { content: "+"; font-size: 19px; line-height: 1; }
.challenges-edition .recipe-card details.recipe-method[open] summary::after { content: "−"; }
.challenges-edition .recipe-card details.recipe-method p { margin-top: 14px; color: #4f6254; }
.challenges-edition .photo-credits { margin-top: 16px; }

/* ---------- Challenge 04: running plan ---------- */
.ch-inline-link { display: block; margin-top: 10px; color: var(--ch-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ch-inline-link:hover { text-decoration-thickness: 2px; }
.challenges-edition .run-plan { margin-top: 72px; }
.challenges-edition .run-plan > .eyebrow { color: var(--ch-accent); }
.run-weeks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.week {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid #00000012;
  border-radius: 18px;
  background: #fffdf8;
  transition: background .25s, border-color .25s;
}
.week:has(input:checked) { border-color: #e2a78c; background: #fdf0e8; }
.week-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 12px; }
.week-label { color: var(--ch-accent); font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.week-total { padding: 4px 10px; border-radius: 100px; background: var(--ch-tint); color: var(--ch-ink); font-size: 11px; font-weight: 700; }
.week > strong { color: var(--edition-ink); font: 500 18px/1.25 var(--edition-serif); letter-spacing: -.01em; }
.week > p { flex: 1; margin: 8px 0 0; color: #57675c; font-size: 13.5px; line-height: 1.55; }
.week.week--goal { border: 0; background: linear-gradient(155deg, #c4613f, #6f2a19); color: #fff6f0; }
.week.week--goal .week-label { color: #ffd9c4; }
.week.week--goal .week-total { background: #fff6f0; color: #6f2a19; }
.week.week--goal > strong { color: #fff; }
.week.week--goal > p { color: #fde6da; }
.week.week--goal .day-check { background: #ffffff26; color: #fff; }
.challenges-edition .run-plan .notice { margin-top: 20px; }
.challenges-edition .run-strength, .challenges-edition .run-basics { margin-top: 64px; }
.challenges-edition .run-strength > h3 { margin-bottom: 10px; }
.challenges-edition .run-strength .recipe-intro { margin-bottom: 26px; }
.ex-dose { display: inline-block; margin: 0 0 8px; padding: 4px 11px; border-radius: 100px; background: var(--ch-bg); color: var(--ch-ink); font-size: 12px; font-weight: 700; }
.challenges-edition .run-strength .tip h4 { margin-bottom: 8px; }

/* ---------- Overview cards and "more challenges" ---------- */
.challenges-edition .ch-overview, .challenges-edition .ch-more { padding: clamp(60px, 8vw, 100px) 0; background: #fbf8ee; }
.challenges-edition .ch-more { border-top: 1px solid #00000010; }
.ch-overview-head { max-width: 720px; margin-bottom: 34px; }
.ch-overview .eyebrow, .ch-more .eyebrow { color: #48634f; }
.ch-overview h2, .ch-more h2 { margin: 14px 0 12px; color: var(--edition-ink); font: 500 clamp(34px, 4.6vw, 52px)/1.05 var(--edition-serif); letter-spacing: -.045em; }
.ch-more h2 { margin-bottom: 28px; }
.ch-overview-head p { margin: 0; color: #4d5e52; font-size: 16px; line-height: 1.65; }
.ch-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ch-card-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
a.ch-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 250px;
  padding: 26px;
  border: 1px solid #00000012;
  border-radius: 24px;
  background: var(--ch-bg);
  color: var(--ch-ink);
  box-shadow: 0 14px 34px #1b3a2a10;
  scroll-margin-top: 100px;
  transition: transform .25s ease, box-shadow .25s ease;
}
a.ch-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px #1b3a2a1c; }
.ch-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.ch-card-num { color: transparent; font: 500 46px/1 var(--edition-serif); letter-spacing: -.05em; -webkit-text-stroke: 1.2px var(--ch-accent); }
.ch-card-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 17px; background: var(--ch-tint); color: var(--ch-ink); transform: rotate(-6deg); }
.ch-card-icon svg { width: 32px; height: 32px; }
a.ch-card small { color: var(--ch-accent); font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
a.ch-card strong { color: var(--edition-ink); font: 500 clamp(24px, 2.6vw, 30px)/1.1 var(--edition-serif); letter-spacing: -.03em; }
.ch-card-text { flex: 1; color: #4d5e52; font-size: 14.5px; line-height: 1.6; }
.ch-card-link { align-self: flex-start; margin-top: 14px; padding: 9px 16px; border-radius: 100px; background: var(--ch-ink); color: #fffdf8; font-size: 13px; font-weight: 700; }
.ch-card-link span { display: inline-block; margin-left: 4px; transition: transform .25s ease; }
a.ch-card:hover .ch-card-link span { transform: translateX(3px); }
.ch-more-all { display: inline-block; margin-top: 26px; color: var(--edition-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.ch-more-all:hover { text-decoration-thickness: 2px; }

/* ---------- Tips ---------- */
.challenges-edition .tips { gap: 16px; margin-top: 40px; }
.challenges-edition .tip { padding: 26px; border: 1px solid #00000010; border-radius: 20px; background: #fffdf8; }
.challenges-edition .tip .symbol { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ch-tint); color: var(--ch-ink); font: 600 14px/1 var(--edition-serif); }
.challenges-edition .tip h4 { margin: 16px 0 6px; font-size: 19px; }
.challenges-edition .tip p { font-size: 14px; line-height: 1.6; }

/* ---------- Evening extras ---------- */
.challenges-edition .evening-tips { margin-top: 64px; }
.challenges-edition .evening-tips > h3,
.challenges-edition .supplement-note > h3 { margin-bottom: 24px; color: var(--edition-ink); font: 500 clamp(28px, 3.4vw, 40px)/1.1 var(--edition-serif); letter-spacing: -.035em; }
.challenges-edition .evening-tips .tips { margin-top: 0; }
.challenges-edition .supplement-note { margin-top: 56px; padding: clamp(24px, 3.5vw, 40px); border: 1px solid #00000010; border-radius: 26px; background: #fffdf8; }
.challenges-edition .supplement-grid article { padding: 22px; border: 0; border-radius: 18px; background: var(--ch-bg); }
.challenges-edition .supplement-grid h4 { font-size: 19px; }
.challenges-edition .supplement-grid p { font-size: 14px; line-height: 1.65; }
.challenges-edition .supplement-caution { font-size: 13px; }
.challenges-edition .sources { margin-top: 34px; padding-top: 22px; border-top: 1px solid #0000001a; font-size: 14px; }
.challenges-edition .sources ul { display: grid; gap: 6px; }

/* ---------- Closing CTA ---------- */
.challenges-edition .bottom-cta {
  padding: clamp(60px, 8vw, 100px) 0;
  background: radial-gradient(ellipse at 85% 15%, #38594a, transparent 60%), var(--edition-deep);
  text-align: center;
}
.challenges-edition .bottom-cta h2 { margin-bottom: 14px; font: 500 clamp(34px, 5vw, 56px)/1.05 var(--edition-serif); letter-spacing: -.045em; }
.challenges-edition .bottom-cta p { max-width: 620px; margin: 0 auto; font-size: 16px; line-height: 1.65; }
.challenges-edition .bottom-cta .btn { margin-top: 30px; padding: 15px 26px; border-radius: 100px; background: var(--edition-lime); color: var(--edition-deep); font-size: 14px; }
.challenges-edition .bottom-cta .btn:hover { background: #eaf7be; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .challenges-edition .ch-section .challenge { grid-template-columns: 1fr; }
  .challenges-edition .ch-section .challenge .challenge-side { min-height: 0; }
  .challenges-edition .recipe-grid { grid-template-columns: 1fr 1fr; }
  .challenges-edition .recipe-card,
  .challenges-edition .recipe-card:nth-child(n+4) { grid-column: auto; }
  .challenges-edition .recipe-card:last-child { grid-column: 1 / -1; }
  .challenges-edition .recipe-card:nth-child(n+4) .recipe-photo { height: 210px; }
  .run-weeks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-card-grid--three { grid-template-columns: 1fr; }
  a.ch-card { min-height: 0; }
}

@media (max-width: 760px) {
  nav.ch-tabs { top: 70px; }
  .challenges-edition :is(#fasten, #vegan, #abendritual, #laufen) { scroll-margin-top: 122px; }
}

/* The page's legacy inline rules for the old header menu (nav{…}) also hit these navs: keep them readable and in flow. */
.challenges-edition .seo-context nav { display: block; color: inherit; font-size: inherit; font-weight: inherit; }
.challenges-edition footer nav.legal-footer-links { color: inherit; font-weight: 600; }

@media (max-width: 680px) {
  .challenges-edition .seo-context nav { position: static; padding: 0; background: none; border: 0; }
  .challenges-edition footer nav.legal-footer-links { display: flex; position: static; flex-direction: row; align-items: center; padding: 14px 0 0; background: none; border: 0; }
  .challenges-edition nav.ch-breadcrumb { flex-direction: row; align-items: center; justify-content: flex-start; max-width: calc(100% - 92px); padding: 0; font-size: 12px; }
  nav.ch-tabs { display: block; position: sticky; padding: 0; background: #fbf8eef5; border-bottom: 1px solid var(--edition-rule); }
  .ch-tabs-inner { padding-block: 8px; }
  .ch-tabs a { padding-right: 13px; font-size: 12px; }
  .ch-hero-facts { gap: 10px 26px; }
  .ch-hero-facts strong { font-size: 24px; }
  .challenge-picker a.ch-pick { grid-template-columns: 46px minmax(0, 1fr) auto; min-height: 72px; gap: 13px; padding: 12px 14px 12px 12px; }
  .ch-pick-icon { width: 46px; height: 46px; border-radius: 12px; }
  .ch-pick-icon svg { width: 26px; height: 26px; }
  .ch-pick-arrow { width: 30px; height: 30px; }
  .challenges-edition .ch-head { display: block; margin-bottom: 30px; }
  .ch-head > :not(.ch-num) { max-width: none; }
  .ch-num { position: absolute; top: -18px; right: -4px; font-size: 92px; opacity: .3; }
  .challenges-edition .ch-head .eyebrow { display: inline-block; max-width: calc(100% - 90px); }
  .challenges-edition .ch-head h2 { font-size: clamp(32px, 9vw, 42px); }
  .challenges-edition .ch-head p { font-size: 15px; }
  .challenges-edition .ch-section .challenge { border-radius: 20px; }
  .challenges-edition .ch-section .challenge .challenge-side { padding: 24px; }
  .challenges-edition .ch-section .challenge-no { font-size: 52px; }
  .ch-art { width: 72px; height: 72px; border-radius: 20px; }
  .ch-art svg { width: 42px; height: 42px; }
  .challenges-edition .ch-section .challenge-main { padding: 24px 20px; }
  .challenges-edition .ch-section .notice { grid-template-columns: 1fr; padding: 20px; }
  .challenges-edition .ch-section .notice::before { grid-row: auto; }
  .challenges-edition .day:last-child { grid-column: auto; }
  .challenges-edition .recipe-grid { grid-template-columns: 1fr; }
  .challenges-edition .recipe-card:last-child { grid-column: auto; }
  .challenges-edition .recipe-card { padding: 0 18px 18px; }
  .challenges-edition .recipe-photo,
  .challenges-edition .recipe-card:nth-child(n+4) .recipe-photo { width: calc(100% + 36px); height: 200px; margin: 0 -18px 18px; }
  .challenges-edition .supplement-note { border-radius: 20px; }
  .run-weeks { grid-template-columns: 1fr; }
  .ch-card-grid { grid-template-columns: 1fr; }
  a.ch-card { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .challenge-picker a.ch-pick, .ch-pick-arrow, .ch-progress-bar i, a.ch-card, .ch-card-link span { transition: none; }
  a.ch-card:hover, a.ch-card:hover .ch-card-link span { transform: none; }
  .challenge-picker a.ch-pick:hover, .challenge-picker a.ch-pick:hover .ch-pick-arrow { transform: none; }
}

@media print {
  nav.ch-tabs, .ch-progress, .day-check { display: none; }
}
