/* t307u: Where-it-hurts header — Direction A with B's spine icons and navy Call button.
   Scope: #main #where > .wrap > .hf-head only. The .wx-card tool and 3D are untouched. */

.home.r23 #main #where{scroll-margin-top:var(--r23-nav,72px)}
@media (max-width:760px){.home.r23 #main #where{scroll-margin-top:0}}
@media (min-width:1024px){.home.r23 #main #where.sec{padding-top:56px!important}}
@media (max-width:720px){.home.r23 #main #where.sec{padding-top:48px!important}}

.home.r23 #main #where > .wrap > .hf-head{
  --wh-ink:#0D1A2C; --wh-lead-c:#1F2B3C; --wh-body-c:#263244; --wh-small-c:#3A4658;
  --wh-gold:#B8975A; --wh-gold-t:#6A4E16; --wh-line:#D7DEE7; --wh-focus:#284F80;
  --wh-display:clamp(44px, calc(3.4vw + 16px), 68px);
  --wh-lead:clamp(20px, calc(.5vw + 15px), 22px);
  --wh-title:22px; --wh-body:18px; --wh-small:16px; --wh-btn:17px;
  --s1:8px; --s2:16px; --s3:24px; --s4:32px; --s5:48px;
  display:flex; flex-direction:column; align-items:stretch; gap:0!important;
  width:100%; margin:0 auto 24px!important; padding:0; text-align:left;
  -webkit-font-smoothing:auto; -moz-osx-font-smoothing:auto;
}
.home.r23 #main #where > .wrap > .wx-card{margin-top:0}
@media (min-width:1101px){.home.r23 #main #where > .wrap > .wx-card{margin-top:0}}

.home.r23 #main #where > .wrap > .hf-head .wh-top{display:flex;flex-direction:column;align-items:center;text-align:center}
.home.r23 #main #where > .wrap > .hf-head .wx-segmarks{display:block;width:132px;height:24px;margin:0 0 var(--s2)}
.home.r23 #main #where > .wrap > .hf-head .wx-segmarks rect{transition:opacity .2s}
.home.r23 #main #where > .wrap > .hf-head .cap.rule{display:flex;justify-content:center;align-items:center;gap:14px;margin:0;
  color:var(--wh-gold-t);font-size:var(--wh-small)!important;font-weight:600;letter-spacing:.01em!important;line-height:1.25}
.home.r23 #main #where > .wrap > .hf-head .cap.rule:before,
.home.r23 #main #where > .wrap > .hf-head .cap.rule:after{content:"";width:28px;height:1px;background:var(--wh-gold);opacity:.8}
.home.r23 #main #where > .wrap > .hf-head .h2{margin:var(--s1) 0 0;max-width:none;font-size:var(--wh-display);line-height:1.04;letter-spacing:-.032em;
  font-weight:640;color:var(--wh-ink);text-wrap:balance}
.home.r23 #main #where > .wrap > .hf-head .sub{margin:var(--s2) auto 0;max-width:40em;font-size:var(--wh-lead)!important;line-height:1.45!important;
  font-weight:480;color:var(--wh-lead-c);text-wrap:balance}

/* The four ornament segments are the four regions. */
.home.r23 #main #where > .wrap > .hf-head:has(.wx-chip:is(:hover,:focus-visible)) .wx-segmarks rect{opacity:.28}
.home.r23 #main #where > .wrap > .hf-head:has(.wx-chip[data-region="neck"]:is(:hover,:focus-visible)) .wx-segmarks rect:nth-child(1),
.home.r23 #main #where > .wrap > .hf-head:has(.wx-chip[data-region="upper"]:is(:hover,:focus-visible)) .wx-segmarks rect:nth-child(2),
.home.r23 #main #where > .wrap > .hf-head:has(.wx-chip[data-region="lower"]:is(:hover,:focus-visible)) .wx-segmarks rect:nth-child(3),
.home.r23 #main #where > .wrap > .hf-head:has(.wx-chip[data-region="sciatica"]:is(:hover,:focus-visible)) .wx-segmarks rect:nth-child(4){opacity:1}

.home.r23 #main #where > .wrap > .hf-head .wx-steps{list-style:none;margin:var(--s4) 0 0;padding:0;display:grid;grid-template-columns:1.25fr 1fr 1fr;column-gap:var(--s4);row-gap:var(--s3)}
.home.r23 #main #where > .wrap > .hf-head .wh-s{position:relative;margin:0;padding:var(--s2) 0 0;border-top:1px solid var(--wh-line);min-width:0;display:flex;flex-direction:column;gap:var(--s1)}
.home.r23 #main #where > .wrap > .hf-head .wh-s:before{content:"";position:absolute;top:-1px;left:0;width:48px;height:2px;background:var(--wh-gold)}
.home.r23 #main #where > .wrap > .hf-head .wh-hd{max-width:none;display:flex;align-items:baseline;gap:12px;margin:0}
.home.r23 #main #where > .wrap > .hf-head .wh-hd .n{font-size:var(--wh-small);font-weight:600;letter-spacing:.06em;color:var(--wh-gold-t);font-variant-numeric:tabular-nums lining-nums;line-height:1}
.home.r23 #main #where > .wrap > .hf-head .wh-hd .t{font-size:var(--wh-title);font-weight:620;letter-spacing:-.015em;line-height:1.2;color:var(--wh-ink)}
.home.r23 #main #where > .wrap > .hf-head .wh-s .d{margin:0;font-size:var(--wh-body);font-weight:480;line-height:1.45;color:var(--wh-body-c);max-width:32em}

.home.r23 #main #where > .wrap > .hf-head .wx-chips,
.home.r23 #main #where > .wrap > .hf-head .wx-durs{display:grid;gap:var(--s1);margin:4px 0 0}
.home.r23 #main #where > .wrap > .hf-head .wx-chips{grid-template-columns:1fr 1fr}
.home.r23 #main #where > .wrap > .hf-head .wx-durs{grid-template-columns:1fr}
.home.r23 #main #where > .wrap > .hf-head .wx-chip,
.home.r23 #main #where > .wrap > .hf-head .wx-durchip{appearance:none;-webkit-appearance:none;position:relative;display:flex;align-items:center;gap:8px;
  min-height:48px;margin:0;padding:10px 12px;border:1.5px solid #C5CFDB;border-radius:10px;background:#fff;
  color:var(--wh-ink);font:inherit;font-size:var(--wh-btn);font-weight:600;letter-spacing:-.005em;line-height:1.2;text-align:left;cursor:pointer;
  transition:border-color .15s, background-color .15s, box-shadow .15s, transform .15s}
.home.r23 #main #where > .wrap > .hf-head .wx-chip:after,
.home.r23 #main #where > .wrap > .hf-head .wx-durchip:after{content:"\2192";margin-left:auto;padding-left:4px;font-weight:500;color:var(--wh-gold-t);opacity:.75;flex:none;transition:transform .15s, opacity .15s}
.home.r23 #main #where > .wrap > .hf-head .wx-chip:hover:after,
.home.r23 #main #where > .wrap > .hf-head .wx-durchip:hover:after{transform:translateX(2px);opacity:1}
.home.r23 #main #where > .wrap > .hf-head .wx-chip:hover,
.home.r23 #main #where > .wrap > .hf-head .wx-durchip:hover{border-color:var(--wh-gold);background:#FBF8F2;box-shadow:0 2px 0 rgba(184,151,90,.25)}
.home.r23 #main #where > .wrap > .hf-head .wx-chip:hover .wh-ico rect.hi{fill:#9C7A3C}
.home.r23 #main #where > .wrap > .hf-head .wx-chip:active,
.home.r23 #main #where > .wrap > .hf-head .wx-durchip:active{transform:scale(.98)}
.home.r23 #main #where > .wrap > .hf-head .wx-chip:focus-visible,
.home.r23 #main #where > .wrap > .hf-head .wx-durchip:focus-visible,
.home.r23 #main #where > .wrap > .hf-head .wx-hd-cta:focus-visible{outline:2px solid var(--wh-focus);outline-offset:2px}
.home.r23 #main #where > .wrap > .hf-head .wx-chip.on,
.home.r23 #main #where > .wrap > .hf-head .wx-durchip.on{border-color:var(--wh-gold);background:#F7F0E2}
.home.r23 #main #where > .wrap > .hf-head .wh-ico{display:block;flex:none;width:14px;height:21px}
.home.r23 #main #where > .wrap > .hf-head .wh-ico rect{fill:#C9D1DC}
.home.r23 #main #where > .wrap > .hf-head .wh-ico rect.hi{fill:var(--wh-gold)}
.home.r23 #main #where > .wrap > .hf-head .wx-chip .lb,
.home.r23 #main #where > .wrap > .hf-head .wx-durchip .lb{min-width:0}

.home.r23 #main #where > .wrap > .hf-head .wx-hd-call{margin:0;font-size:var(--wh-body);font-weight:480;line-height:1.45;color:var(--wh-body-c);max-width:32em}
.home.r23 #main #where > .wrap > .hf-head .wx-hd-cta{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;
  min-height:52px;margin:4px 0 0;padding:12px 16px;border-radius:10px;background:var(--wh-ink);color:#fff;
  font:inherit;font-size:var(--wh-btn);font-weight:650;letter-spacing:-.005em;line-height:1.2;text-decoration:none;
  box-shadow:0 6px 16px -8px rgba(13,26,44,.5);transition:background-color .15s, transform .15s}
.home.r23 #main #where > .wrap > .hf-head .wx-hd-cta:hover{background:#1B3150;color:#fff;transform:translateY(-1px)}
.home.r23 #main #where > .wrap > .hf-head .wx-hd-cta:active{transform:scale(.98)}
.home.r23 #main #where > .wrap > .hf-head .wh-ph{display:block;flex:none;color:#F2D9A6}

.home.r23 #main #where > .wrap > .hf-head .wx-hd-note{max-width:none;display:flex;flex-wrap:wrap;justify-content:center;gap:var(--s1) var(--s3);margin:var(--s3) 0 0;
  font-size:var(--wh-small);font-weight:520;line-height:1.4;color:var(--wh-small-c)}
.home.r23 #main #where > .wrap > .hf-head .wh-ni{display:inline-flex;align-items:center;gap:8px}
.home.r23 #main #where > .wrap > .hf-head .wh-ni svg{flex:none;color:var(--wh-gold-t)}

@media (max-width:1279px){
  .home.r23 #main #where > .wrap > .hf-head{--wh-title:21px}
  .home.r23 #main #where > .wrap > .hf-head .wx-steps{column-gap:var(--s3)}
  .home.r23 #main #where > .wrap > .hf-head .wx-chip:after{display:none}
  .home.r23 #main #where > .wrap > .hf-head .wx-chip{padding:10px 12px}
}

@media (max-width:1023px){
  .home.r23 #main #where > .wrap > .hf-head .wx-steps{grid-template-columns:1fr 1fr}
  .home.r23 #main #where > .wrap > .hf-head .wh-s1{grid-column:1 / -1}
  .home.r23 #main #where > .wrap > .hf-head .wx-chips{grid-template-columns:repeat(4,1fr)}
}

@media (max-width:720px){
  .home.r23 #main #where > .wrap > .hf-head{--wh-display:36px;--wh-lead:19px;--wh-title:19px;--wh-body:17px;--wh-small:15px;--wh-btn:17px;margin-bottom:16px!important}
  .home.r23 #main #where > .wrap > .hf-head .wx-segmarks{width:110px;height:20px;margin-bottom:12px}
  .home.r23 #main #where > .wrap > .hf-head .h2{letter-spacing:-.028em}
  .home.r23 #main #where > .wrap > .hf-head .sub{margin-top:12px}
  .home.r23 #main #where > .wrap > .hf-head .wx-steps{grid-template-columns:1fr;margin-top:var(--s3);row-gap:var(--s2)}
  .home.r23 #main #where > .wrap > .hf-head .wh-s1{grid-column:auto}
  .home.r23 #main #where > .wrap > .hf-head .wx-chips{grid-template-columns:1fr 1fr}
  .home.r23 #main #where > .wrap > .hf-head .wx-chip,
  .home.r23 #main #where > .wrap > .hf-head .wx-durchip{padding:10px 12px;font-size:16.5px}
  .home.r23 #main #where > .wrap > .hf-head .wx-hd-cta{min-height:52px;width:100%}
  .home.r23 #main #where > .wrap > .hf-head .wx-hd-note{flex-direction:column;align-items:center;gap:6px;margin-top:var(--s2)}
}

@media (prefers-reduced-motion:reduce){
  .home.r23 #main #where > .wrap > .hf-head *{transition:none!important}
  .home.r23 #main #where > .wrap > .hf-head .wx-chip:hover,
  .home.r23 #main #where > .wrap > .hf-head .wx-durchip:hover,
  .home.r23 #main #where > .wrap > .hf-head .wx-chip:active,
  .home.r23 #main #where > .wrap > .hf-head .wx-durchip:active,
  .home.r23 #main #where > .wrap > .hf-head .wx-hd-cta:hover,
  .home.r23 #main #where > .wrap > .hf-head .wx-hd-cta:active{transform:none}
}
