/* D2C desktop orbit repair v2
   Clean desktop/tablet orbit geometry for GLP-1, Peptide Therapy and Strength Training.
   Mobile card layout is intentionally untouched (handled by orbit-hotfix-v3.css).
*/

@media (min-width: 992px) {
  /* =========================================================
     SHARED ORBIT RULES
     The icon itself is the radial anchor. Text is positioned
     outside the orbit so long labels cannot pull icons off-line.
  ========================================================== */
  .page-glp-1-therapy .glp1-wheel,
  .page-strength-training .sb-wheel,
  .page-peptide-therapy .blueprint-wheel {
    position: relative !important;
    display: block !important;
    margin: 0 auto !important;
    overflow: visible !important;
    min-height: 0 !important;
  }

  .page-glp-1-therapy .glp1-wheel article,
  .page-strength-training .sb-wheel article,
  .page-peptide-therapy .blueprint-wheel article {
    position: absolute !important;
    width: 54px !important;
    max-width: 54px !important;
    min-width: 54px !important;
    height: 54px !important;
    min-height: 54px !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
    z-index: 4 !important;
  }

  .page-glp-1-therapy .glp1-wheel article span,
  .page-strength-training .sb-wheel article span,
  .page-peptide-therapy .blueprint-wheel article span {
    display: grid !important;
    place-items: center !important;
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    margin: 0 !important;
    border: 1.35px solid #c8863d !important;
    border-radius: 50% !important;
    background: #fbf6ef !important;
    color: #bf762a !important;
    box-shadow: 0 0 0 4px rgba(251,246,239,.72) !important;
  }

  .page-glp-1-therapy .glp1-wheel article span svg,
  .page-strength-training .sb-wheel article span svg,
  .page-peptide-therapy .blueprint-wheel article span svg {
    width: 24px !important;
    height: 24px !important;
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 1.65 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  .page-glp-1-therapy .glp1-wheel article b,
  .page-strength-training .sb-wheel article b,
  .page-peptide-therapy .blueprint-wheel article b {
    position: absolute !important;
    display: block !important;
    width: 136px !important;
    max-width: 136px !important;
    margin: 0 !important;
    color: #231d18 !important;
    font-family: var(--font-body) !important;
    font-size: 12px !important;
    line-height: 1.18 !important;
    font-weight: 500 !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  /* Labels stay centered under their icon so they remain inside the wheel
     and cannot collide with the text columns beside it. */
  .page-glp-1-therapy .glp1-wheel article b,
  .page-strength-training .sb-wheel article b {
    left: 50% !important;
    top: calc(100% + 7px) !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
  }

  /* The lowest item points its label upward so it never hangs into
     the following section. */
  .page-glp-1-therapy .glp1-pos-5 b,
  .page-strength-training .w5 b {
    top: auto !important;
    bottom: calc(100% + 7px) !important;
  }

  /* =========================================================
     GLP-1 BLUEPRINT — 8 points
  ========================================================== */
  .page-glp-1-therapy .glp1-blueprint-match__grid {
    grid-template-columns: minmax(565px, 1.08fr) minmax(320px, .92fr) !important;
    gap: clamp(24px, 3vw, 50px) !important;
    align-items: center !important;
  }

  .page-glp-1-therapy .glp1-wheel-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 28px 34px !important;
    overflow: visible !important;
  }

  .page-glp-1-therapy .glp1-wheel {
    width: min(100%, 560px) !important;
    max-width: 560px !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }

  .page-glp-1-therapy .glp1-wheel::before,
  .page-glp-1-therapy .glp1-wheel::after {
    content: '' !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    border-radius: 50% !important;
    transform: translate(-50%, -50%) !important;
    pointer-events: none !important;
  }

  .page-glp-1-therapy .glp1-wheel::before {
    width: 61% !important;
    height: 61% !important;
    border: 1.35px solid rgba(185,120,53,.72) !important;
  }

  .page-glp-1-therapy .glp1-wheel::after {
    width: 38% !important;
    height: 38% !important;
    border: 1px solid rgba(185,120,53,.30) !important;
  }

  .page-glp-1-therapy .glp1-wheel__center {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 34% !important;
    height: 34% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 14px !important;
    transform: translate(-50%, -50%) !important;
    display: grid !important;
    place-content: center !important;
    border-radius: 50% !important;
    background: #0d0d0d !important;
    color: #d3933f !important;
    text-align: center !important;
    font-size: 17px !important;
    line-height: 1.04 !important;
    box-shadow: 0 0 0 2px rgba(185,120,53,.42), 0 0 0 12px rgba(213,162,98,.09) !important;
    z-index: 2 !important;
  }

  .page-glp-1-therapy .glp1-wheel__center strong {
    font-size: 26px !important;
    line-height: 1.0 !important;
    font-weight: 500 !important;
  }

  .page-glp-1-therapy .glp1-pos-1 { left: 50% !important; top: 9% !important; }
  .page-glp-1-therapy .glp1-pos-2 { left: 80% !important; top: 20% !important; }
  .page-glp-1-therapy .glp1-pos-3 { left: 91% !important; top: 50% !important; }
  .page-glp-1-therapy .glp1-pos-4 { left: 80% !important; top: 80% !important; }
  .page-glp-1-therapy .glp1-pos-5 { left: 50% !important; top: 91% !important; }
  .page-glp-1-therapy .glp1-pos-6 { left: 20% !important; top: 80% !important; }
  .page-glp-1-therapy .glp1-pos-7 { left: 9% !important; top: 50% !important; }
  .page-glp-1-therapy .glp1-pos-8 { left: 20% !important; top: 20% !important; }

  /* =========================================================
     STRENGTH BLUEPRINT — 8 points
     Wheel is kept inside the existing 520px center column.
  ========================================================== */
  .page-strength-training .strength-blueprint-match__grid {
    grid-template-columns: minmax(260px,1fr) minmax(500px,520px) minmax(260px,1fr) !important;
    gap: 18px !important;
    align-items: center !important;
  }

  .page-strength-training .sb-wheel {
    width: min(100%, 500px) !important;
    max-width: 500px !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }

  .page-strength-training .sb-wheel::before {
    content: '' !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 60% !important;
    height: 60% !important;
    border: 1.35px solid rgba(185,120,53,.72) !important;
    border-radius: 50% !important;
    transform: translate(-50%, -50%) !important;
  }

  .page-strength-training .sb-wheel__center {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 36% !important;
    height: 36% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    transform: translate(-50%, -50%) !important;
    display: grid !important;
    place-content: center !important;
    border-radius: 50% !important;
    background: #0c0c0c !important;
    color: #d3933f !important;
    text-align: center !important;
    font-size: 16px !important;
    line-height: 1.06 !important;
    box-shadow: 0 0 0 2px rgba(185,120,53,.42), 0 0 0 10px rgba(213,162,98,.09) !important;
    z-index: 2 !important;
  }

  .page-strength-training .sb-wheel__center strong {
    display: block !important;
    font-size: 40px !important;
    line-height: .94 !important;
  }

  .page-strength-training .w1 { left: 50% !important; top: 9% !important; }
  .page-strength-training .w2 { left: 80% !important; top: 20% !important; }
  .page-strength-training .w3 { left: 91% !important; top: 50% !important; }
  .page-strength-training .w4 { left: 80% !important; top: 80% !important; }
  .page-strength-training .w5 { left: 50% !important; top: 91% !important; }
  .page-strength-training .w6 { left: 20% !important; top: 80% !important; }
  .page-strength-training .w7 { left: 9% !important; top: 50% !important; }
  .page-strength-training .w8 { left: 20% !important; top: 20% !important; }

  /* =========================================================
     PEPTIDE BLUEPRINT — 11 points
     Position order matches the visual reading order from top,
     clockwise, while preserving the original HTML content.
  ========================================================== */
  .page-peptide-therapy .blueprint-slide__grid {
    grid-template-columns: minmax(535px,1.2fr) minmax(300px,.9fr) minmax(235px,.72fr) !important;
    gap: 0 !important;
    align-items: center !important;
    overflow: visible !important;
  }

  .page-peptide-therapy .blueprint-slide__grid > div:first-child {
    padding: 12px 10px 8px 0 !important;
    overflow: visible !important;
  }

  .page-peptide-therapy .blueprint-wheel {
    width: min(100%, 535px) !important;
    max-width: 535px !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }

  .page-peptide-therapy .blueprint-wheel::before {
    content: '' !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 62% !important;
    height: 62% !important;
    border: 1.35px solid rgba(185,120,53,.72) !important;
    border-radius: 50% !important;
    transform: translate(-50%, -50%) !important;
  }

  .page-peptide-therapy .blueprint-wheel::after {
    content: '' !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 39% !important;
    height: 39% !important;
    border: 1px solid rgba(185,120,53,.18) !important;
    border-radius: 50% !important;
    transform: translate(-50%, -50%) !important;
  }

  .page-peptide-therapy .blueprint-wheel__center {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 34% !important;
    height: 34% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    transform: translate(-50%, -50%) !important;
    display: grid !important;
    place-content: center !important;
    border: 1.25px solid rgba(185,120,53,.72) !important;
    border-radius: 50% !important;
    background: #fff9f2 !important;
    color: #201914 !important;
    text-align: center !important;
    font-family: var(--font-heading) !important;
    font-size: 15px !important;
    line-height: 1.05 !important;
    box-shadow: 0 0 0 10px rgba(213,162,98,.08) !important;
    z-index: 2 !important;
  }

  .page-peptide-therapy .blueprint-wheel__center strong {
    display: block !important;
    font-size: 23px !important;
    line-height: 1.0 !important;
    font-weight: 500 !important;
  }

  .page-peptide-therapy .blueprint-wheel__center small {
    display: block !important;
    margin-top: 8px !important;
    font-size: 8px !important;
    line-height: 1.1 !important;
  }

  .page-peptide-therapy .blueprint-wheel article b {
    width: 118px !important;
    max-width: 118px !important;
    font-size: 11px !important;
    line-height: 1.16 !important;
  }

  /* icon centers */
  .page-peptide-therapy .blueprint-wheel article:nth-of-type(1)  { left: 29% !important; top: 15% !important; }
  .page-peptide-therapy .blueprint-wheel article:nth-of-type(2)  { left: 50% !important; top: 8% !important; }
  .page-peptide-therapy .blueprint-wheel article:nth-of-type(3)  { left: 71% !important; top: 15% !important; }
  .page-peptide-therapy .blueprint-wheel article:nth-of-type(4)  { left: 87% !important; top: 32% !important; }
  .page-peptide-therapy .blueprint-wheel article:nth-of-type(5)  { left: 91% !important; top: 55% !important; }
  .page-peptide-therapy .blueprint-wheel article:nth-of-type(6)  { left: 81% !important; top: 77% !important; }
  .page-peptide-therapy .blueprint-wheel article:nth-of-type(7)  { left: 62% !important; top: 90% !important; }
  .page-peptide-therapy .blueprint-wheel article:nth-of-type(8)  { left: 38% !important; top: 90% !important; }
  .page-peptide-therapy .blueprint-wheel article:nth-of-type(9)  { left: 9% !important; top: 55% !important; }
  .page-peptide-therapy .blueprint-wheel article:nth-of-type(10) { left: 13% !important; top: 32% !important; }
  .page-peptide-therapy .blueprint-wheel article:nth-of-type(11) { left: 19% !important; top: 77% !important; }

  /* Peptide labels: mostly centered below the icon. The three top
     positions are split left/center/right to prevent crowding. */
  .page-peptide-therapy .blueprint-wheel article b {
    left: 50% !important;
    top: calc(100% + 7px) !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
  }

  .page-peptide-therapy .blueprint-wheel article:nth-of-type(1) b {
    left: auto !important;
    right: calc(100% + 8px) !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    text-align: right !important;
    width: 105px !important;
  }

  .page-peptide-therapy .blueprint-wheel article:nth-of-type(3) b {
    left: calc(100% + 8px) !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    text-align: left !important;
    width: 105px !important;
  }

  .page-peptide-therapy .blueprint-wheel article:nth-of-type(7) b,
  .page-peptide-therapy .blueprint-wheel article:nth-of-type(8) b {
    top: auto !important;
    bottom: calc(100% + 7px) !important;
  }

  .page-peptide-therapy .blueprint-caption {
    margin-top: 18px !important;
    padding-inline: 18px !important;
    text-align: center !important;
  }
}

/* Desktop-width layouts that have already collapsed to one column. */
@media (min-width: 992px) and (max-width: 1100px) {
  .page-glp-1-therapy .glp1-blueprint-match__grid,
  .page-strength-training .strength-blueprint-match__grid,
  .page-peptide-therapy .blueprint-slide__grid {
    grid-template-columns: 1fr !important;
  }

  .page-glp-1-therapy .glp1-wheel,
  .page-strength-training .sb-wheel,
  .page-peptide-therapy .blueprint-wheel {
    width: min(100%, 560px) !important;
    max-width: 560px !important;
  }

  .page-peptide-therapy .blueprint-slide__grid > div:first-child {
    padding-inline: 18px !important;
  }
}
