/* =========================================================
   D2C — FINAL BIOLOGICAL BLUEPRINT ORBIT ALIGNMENT v11
   Scope: GLP-1, Strength Training, Peptide Therapy, Nutrition
   Goal: every icon sits evenly around the orbit line and every
   label stays directly below its icon, close to the line.
   Mobile/card layouts are intentionally untouched.
========================================================= */

@media (min-width: 821px) {
  /* Keep all four wheel shells geometrically clean. */
  .page-glp-1-therapy .glp1-wheel,
  .page-strength-training .sb-wheel,
  .page-peptide-therapy .blueprint-wheel,
  .page-nutrition .nut-wheel {
    overflow: visible !important;
  }

  /* Same footprint for every orbit node. */
  .page-glp-1-therapy .glp1-wheel > article,
  .page-strength-training .sb-wheel > article,
  .page-peptide-therapy .blueprint-wheel > article,
  .page-nutrition .nut-wheel > .nut-orbit-item {
    position: absolute !important;
    right: auto !important;
    bottom: auto !important;
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    height: 58px !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
    z-index: 4 !important;
  }

  /* Labels: one consistent direction, just below each icon. */
  .page-glp-1-therapy .glp1-wheel > article > b,
  .page-strength-training .sb-wheel > article > b,
  .page-peptide-therapy .blueprint-wheel > article > b,
  .page-nutrition .nut-wheel > .nut-orbit-item > span {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: calc(100% + 7px) !important;
    bottom: auto !important;
    display: block !important;
    width: 150px !important;
    max-width: 150px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateX(-50%) !important;
    font-size: 12px !important;
    line-height: 1.18 !important;
    font-weight: 500 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  /* Cream-background blueprint pages. */
  .page-glp-1-therapy .glp1-wheel > article > b,
  .page-strength-training .sb-wheel > article > b,
  .page-peptide-therapy .blueprint-wheel > article > b {
    color: #2a2018 !important;
  }

  /* Nutrition wheel lives on the dark hero; keep its labels readable. */
  .page-nutrition .nut-wheel > .nut-orbit-item > span {
    color: #f4eee6 !important;
  }

  /*
     Eight equal points, clockwise, with node centers just outside
     the orbit line (the same visual relationship as the supplied
     black-background reference). Radius ~= 42% of the wheel.
  */
  .page-glp-1-therapy .glp1-pos-1,
  .page-strength-training .w1,
  .page-nutrition .nut-o1 {
    left: 50% !important;
    top: 8% !important;
  }

  .page-glp-1-therapy .glp1-pos-2,
  .page-strength-training .w2,
  .page-nutrition .nut-o2 {
    left: 79.7% !important;
    top: 20.3% !important;
  }

  .page-glp-1-therapy .glp1-pos-3,
  .page-strength-training .w3,
  .page-nutrition .nut-o3 {
    left: 92% !important;
    top: 50% !important;
  }

  .page-glp-1-therapy .glp1-pos-4,
  .page-strength-training .w4,
  .page-nutrition .nut-o4 {
    left: 79.7% !important;
    top: 79.7% !important;
  }

  .page-glp-1-therapy .glp1-pos-5,
  .page-strength-training .w5,
  .page-nutrition .nut-o5 {
    left: 50% !important;
    top: 92% !important;
  }

  .page-glp-1-therapy .glp1-pos-6,
  .page-strength-training .w6,
  .page-nutrition .nut-o6 {
    left: 20.3% !important;
    top: 79.7% !important;
  }

  .page-glp-1-therapy .glp1-pos-7,
  .page-strength-training .w7,
  .page-nutrition .nut-o7 {
    left: 8% !important;
    top: 50% !important;
  }

  .page-glp-1-therapy .glp1-pos-8,
  .page-strength-training .w8,
  .page-nutrition .nut-o8 {
    left: 20.3% !important;
    top: 20.3% !important;
  }

  /* Peptide page now has 8 nodes as well; reset old 11-node leftovers. */
  .page-peptide-therapy .blueprint-wheel > article:nth-of-type(n) {
    right: auto !important;
    bottom: auto !important;
  }

  .page-peptide-therapy .blueprint-wheel > article:nth-of-type(1) { left: 50% !important; top: 8% !important; }
  .page-peptide-therapy .blueprint-wheel > article:nth-of-type(2) { left: 79.7% !important; top: 20.3% !important; }
  .page-peptide-therapy .blueprint-wheel > article:nth-of-type(3) { left: 92% !important; top: 50% !important; }
  .page-peptide-therapy .blueprint-wheel > article:nth-of-type(4) { left: 79.7% !important; top: 79.7% !important; }
  .page-peptide-therapy .blueprint-wheel > article:nth-of-type(5) { left: 50% !important; top: 92% !important; }
  .page-peptide-therapy .blueprint-wheel > article:nth-of-type(6) { left: 20.3% !important; top: 79.7% !important; }
  .page-peptide-therapy .blueprint-wheel > article:nth-of-type(7) { left: 8% !important; top: 50% !important; }
  .page-peptide-therapy .blueprint-wheel > article:nth-of-type(8) { left: 20.3% !important; top: 20.3% !important; }

  /* Prevent the bottom labels from being clipped by section spacing. */
  .page-glp-1-therapy .glp1-wheel-wrap,
  .page-strength-training .strength-blueprint-match__grid,
  .page-peptide-therapy .blueprint-slide__grid {
    overflow: visible !important;
  }
}
