/* wandelbar exercises — matches the theme's studio-dark tokens */

.wx-crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 12px; }
.wx-crumbs a { color: var(--muted); text-decoration: none; }
.wx-crumbs a:hover { color: var(--yellow); }

.wx-intro { color: var(--muted); max-width: var(--w-prose); font-size: 1.05rem; line-height: 1.65; }

.wx-exercise .container,
.wx-archive .container { max-width: var(--w-content); }

.wx-media video {
  width: 100%; aspect-ratio: 16 / 9; height: auto;
  object-fit: contain; display: block;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: #fff;
  margin: 8px 0 26px;
}

.wx-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px; margin: 0 0 34px;
}
.wx-facts div {
  background: var(--ink-raised); border: 1px solid var(--line);
  border-radius: 18px; padding: 13px 15px;
}
.wx-facts span { display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: lowercase; color: var(--muted); margin-bottom: 4px; }
.wx-facts strong { font-size: 0.95rem; color: var(--text); font-weight: 600; }

.wx-exercise h2 { font-family: var(--font-display); font-size: 1.25rem; margin: 34px 0 14px; }

.wx-steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 10px; max-width: var(--w-prose); }
.wx-steps li {
  counter-increment: step; position: relative; padding: 0 0 14px 52px;
  color: var(--text); line-height: 1.6;
}
.wx-steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--yellow-soft); color: var(--yellow);
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.wx-tips { list-style: none; padding: 0; margin: 0 0 10px; max-width: var(--w-prose); }
.wx-tips li { position: relative; padding: 0 0 10px 26px; color: var(--muted); line-height: 1.6; }
.wx-tips li::before { content: "•"; position: absolute; left: 6px; color: var(--yellow); }

.wx-photo { margin: 30px 0; }
.wx-photo img {
  width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: contain;
  border-radius: var(--radius-card); border: 1px solid var(--line); background: #fff;
}
.wx-photo figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 8px; }

.wx-similar, .wx-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  margin-bottom: 20px;
}
.wx-card {
  display: block; text-decoration: none;
  background: var(--ink-raised); border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.wx-card:hover { transform: translateY(-2px); border-color: var(--yellow); }
.wx-card img {
  width: 100%; aspect-ratio: 16 / 9; height: auto;
  object-fit: contain; display: block; background: #fff;
}
.wx-card span { display: block; padding: 11px 14px 3px; color: var(--text); font-weight: 600; font-size: 0.95rem; }
.wx-card small { display: block; padding: 0 14px 12px; color: var(--muted); font-size: 0.78rem; }

.wx-app-cta {
  margin-top: 44px; padding-top: 8px;
  border-top: 1px solid var(--line);
}
.wx-app-cta > p { max-width: var(--w-prose); color: var(--muted); line-height: 1.65; }

/* Apple/Google store badges are standardized marks — never restyle them
   (the theme's .article img prose rule would round their corners). */
.wx-exercise .store-badges img,
.wx-archive .store-badges img {
  border-radius: 0;
}
