/* D2C FINAL ORBIT v7
   Only normalizes the 8-point Biological Blueprint wheels on:
   - Peptide Therapy
   - GLP-1 Therapy
   Both use the same clockwise geometry and every label sits below its icon.
*/

@media (min-width: 992px) {
  /* Give the Peptide Blueprint enough horizontal room without changing other sections. */
  .page-peptide-therapy .blueprint-slide .slide-shell {
    width: min(100%, 1460px) !important;
    max-width: 1460px !important;
  }

  .page-peptide-therapy .blueprint-slide__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 30px 36px !important;
    align-items: start !important;
  }

  .page-peptide-therapy .blueprint-slide__grid > div:first-child {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 980px !important;
    justify-self: center !important;
    padding: 10px 0 0 !important;
    overflow: visible !important;
  }

  .page-peptide-therapy .blueprint-copy,
  .page-peptide-therapy .safety-copy {
    border-left: 0 !important;
    border-top: 1px solid rgba(171,110,44,.26) !important;
    padding-top: 22px !important;
  }

  /* Shared wheel dimensions */
  .page-peptide-therapy .blueprint-wheel,
  .page-glp-1-therapy .glp1-wheel {
    position: relative !important;
    display: block !important;
    width: min(100%, 610px) !important;
    max-width: 610px !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 auto !important;
    overflow: visible !important;
    min-height: 0 !important;
  }

  .page-glp-1-therapy .glp1-wheel-wrap {
    padding: 28px 52px 64px !important;
    overflow: visible !important;
  }

  /* Main ring */
  .page-peptide-therapy .blueprint-wheel::before,
  .page-glp-1-therapy .glp1-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;
    pointer-events: none !important;
  }

  /* Soft inner ring */
  .page-peptide-therapy .blueprint-wheel::after,
  .page-glp-1-therapy .glp1-wheel::after {
    content: '' !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 40% !important;
    height: 40% !important;
    border: 1px solid rgba(185,120,53,.20) !important;
    border-radius: 50% !important;
    transform: translate(-50%, -50%) !important;
    pointer-events: none !important;
  }

  /* Consistent icon buttons */
  .page-peptide-therapy .blueprint-wheel article,
  .page-glp-1-therapy .glp1-wheel article {
    position: absolute !important;
    width: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
    height: 56px !important;
    min-height: 56px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
    z-index: 4 !important;
  }

  .page-peptide-therapy .blueprint-wheel article span,
  .page-glp-1-therapy .glp1-wheel article span {
    display: grid !important;
    place-items: center !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !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-peptide-therapy .blueprint-wheel article span svg,
  .page-glp-1-therapy .glp1-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;
  }

  /* SAME label direction on both pages: always below the icon. */
  .page-peptide-therapy .blueprint-wheel article b,
  .page-glp-1-therapy .glp1-wheel article b {
    position: absolute !important;
    display: block !important;
    left: 50% !important;
    right: auto !important;
    top: calc(100% + 8px) !important;
    bottom: auto !important;
    width: 148px !important;
    max-width: 148px !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
    color: #231d18 !important;
    font-family: var(--font-body) !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;
  }

  /* Exact same clockwise 8-point geometry on both wheels.
     1 top, 2 upper-right, 3 right, 4 lower-right,
     5 bottom, 6 lower-left, 7 left, 8 upper-left. */
  .page-peptide-therapy .blueprint-wheel article:nth-of-type(1),
  .page-glp-1-therapy .glp1-pos-1 { left: 50% !important; top: 8% !important; }

  .page-peptide-therapy .blueprint-wheel article:nth-of-type(2),
  .page-glp-1-therapy .glp1-pos-2 { left: 80% !important; top: 20% !important; }

  .page-peptide-therapy .blueprint-wheel article:nth-of-type(3),
  .page-glp-1-therapy .glp1-pos-3 { left: 92% !important; top: 50% !important; }

  .page-peptide-therapy .blueprint-wheel article:nth-of-type(4),
  .page-glp-1-therapy .glp1-pos-4 { left: 80% !important; top: 80% !important; }

  .page-peptide-therapy .blueprint-wheel article:nth-of-type(5),
  .page-glp-1-therapy .glp1-pos-5 { left: 50% !important; top: 90% !important; }

  .page-peptide-therapy .blueprint-wheel article:nth-of-type(6),
  .page-glp-1-therapy .glp1-pos-6 { left: 20% !important; top: 80% !important; }

  .page-peptide-therapy .blueprint-wheel article:nth-of-type(7),
  .page-glp-1-therapy .glp1-pos-7 { left: 8% !important; top: 50% !important; }

  .page-peptide-therapy .blueprint-wheel article:nth-of-type(8),
  .page-glp-1-therapy .glp1-pos-8 { left: 20% !important; top: 20% !important; }

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

@media (min-width: 992px) and (max-width: 1180px) {
  .page-peptide-therapy .blueprint-slide__grid,
  .page-glp-1-therapy .glp1-blueprint-match__grid {
    grid-template-columns: 1fr !important;
  }

  .page-peptide-therapy .blueprint-slide__grid > div:first-child {
    max-width: 900px !important;
  }

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