.patient-services .hero{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.patient-services .hero h1{max-width:19ch;font-size:clamp(2.2rem,4.2vw,4.5rem)}
.patient-services main{display:grid;gap:1.5rem;padding-top:2rem}
.patient-services main>section{padding:clamp(1.2rem,3vw,2.4rem);margin:0;border:1px solid #ded7c9;border-radius:1rem;background:#fffdf7}
.patient-services main h2{max-width:30ch}
.patient-services #choose-support{background:#edf3ed}
.patient-services #choose-support .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.patient-services #choose-support article{display:flex;flex-direction:column;align-items:flex-start;gap:.65rem;scroll-margin-top:2rem}
.patient-services #choose-support article p{margin:0}
.patient-services #choose-support article .button{margin-top:auto}
.patient-services #independent-counseling{background:#eef3fa;border-top-color:#456985}
.patient-services #health-coaching{background:#f1f8f1;border-top-color:#357565}
.patient-services #service-fit{background:#eef3f7}
.patient-services #service-fit thead{background:#284c60;color:#fff}
.patient-services #service-fit tbody tr:nth-child(odd){background:#fff}
.patient-services #referral-steps{background:#f5eddd}
.patient-services #referral-steps ol{padding-left:1.4rem}
.patient-services #referral-steps li::marker{font-weight:bold;color:#73511e}
.patient-services main>section:last-child{background:#153b33;color:#fffaf0}
@media(max-width:850px){.patient-services .hero{grid-template-columns:1fr}}
@media(max-width:670px){.patient-services #choose-support .grid{grid-template-columns:1fr}}

.patient-services #referral-steps{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);padding:0;overflow:hidden;isolation:isolate}
.referral-content{padding:clamp(1.3rem,4vw,3rem);position:relative;z-index:1}
.patient-services #referral-steps .referral-list{list-style:none;padding:0;margin:1rem 0 1.5rem;display:grid;gap:.6rem}
.referral-list li{display:grid;grid-template-columns:2.2rem minmax(0,1fr);gap:.8rem;padding:.85rem;background:#fffcf3;border-radius:.65rem}
.referral-list li span{background:#245548;color:#fff;display:grid;place-items:center;width:2rem;height:2rem;border-radius:50%;font-weight:700}
.referral-list li:nth-child(2) span{background:#345b79}
.referral-list li:nth-child(3) span{background:#805a29}
.referral-list h3{margin:0 0 .2rem;font-size:1.23rem}
.referral-list p{margin:0;color:#435950}
.referral-photo{position:relative;min-width:0}
.referral-photo img{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;object-position:64% center}
.referral-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f5eddd,transparent 34%)}
@media(max-width:700px){.patient-services #referral-steps{grid-template-columns:1fr}.referral-photo{grid-row:1;min-height:clamp(160px,45vw,280px)}.referral-photo img{object-position:center 42%}.referral-photo::after{background:linear-gradient(0deg,#f5eddd,transparent 34%)}}

.care-wheel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 52rem;
  margin: 1.5rem auto;
  padding: clamp(.75rem, 3vw, 1.5rem);
  border: 1px solid #ded7c9;
  border-radius: 1.5rem;
  background: radial-gradient(ellipse at center, #e2ede4, #fcf8ef 75%);
}
.care-wheel > strong {
  grid-column: 1 / -1;
  justify-self: center;
  width: 8rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  text-align: center;
  padding: .75rem;
  border: 3px solid #e5c48d;
  border-radius: 50%;
  background: #153b33;
  color: #fff;
}
.care-wheel fieldset {
  min-inline-size: 0;
  margin: 0;
  padding: .65rem;
  border: 1px solid var(--topic-ink);
  border-radius: .85rem;
  background: var(--topic-tint);
  color: var(--topic-ink);
}
.care-wheel legend { padding-inline: .3rem; font-weight: 700; }
.care-wheel-topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: .5rem; }
.care-wheel button {
  width: 100%;
  min-height: 48px;
  padding: .6rem .55rem;
  border: 1px solid;
  border-radius: .65rem;
  font-size: 1rem;
  line-height: 1.25;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}
@media (max-width: 650px) {
  .care-wheel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 370px) {
  .care-wheel-topics { grid-template-columns: minmax(0, 1fr); }
}
#care-example p { margin: .75rem 0 0; }
.care-example-details { margin: .8rem 0 0; display: grid; gap: .2rem; }
.care-example-details dt { font-weight: 700; }
.care-example-details dd { margin: 0 0 .75rem; }
.care-example-details dd:last-child { margin-bottom: 0; }

/* Use the same color for each condition group and its detail panels. */
[data-condition-type="organ"] { --topic-ink: #1d5950; --topic-tint: #e7f3ee; }
[data-condition-type="metabolic"] { --topic-ink: #813f5b; --topic-tint: #f9eaf0; }
[data-condition-type="neuro"] { --topic-ink: #453878; --topic-tint: #eeebfa; }
[data-condition-type="support"] { --topic-ink: #744b19; --topic-tint: #faf0df; }
.care-wheel button[data-topic] { background: #fffdf8; color: var(--topic-ink); border-color: var(--topic-ink); }
.care-wheel button[data-topic][aria-pressed="true"] { background: var(--topic-ink); color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.care-wheel button[data-topic]:focus-visible { outline: 2px solid #153b33; outline-offset: 3px; }
#care-example { padding: 0; border: 0; background: transparent; }
#care-example [data-example] { padding: 1rem 1.25rem; border-inline-start: 4px solid var(--topic-ink); border-radius: .5rem; background: var(--topic-tint); }
#care-example h3, #care-example dt { color: var(--topic-ink); }

.care-wheel-key { display: none; }

@media (min-width: 860px) {
  .care-wheel {
    position: relative;
    display: block;
    height: 39rem;
    padding: 0;
    border: 0;
    background: none;
  }
  .care-wheel::before {
    content: "";
    position: absolute;
    inset: 12% 15%;
    border: 2px solid #d6bd8d;
    border-radius: 50%;
    background: radial-gradient(ellipse, #fcf8ef 32%, #e2ede4 100%);
  }
  .care-wheel > strong {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .care-wheel fieldset {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .care-wheel legend {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .care-wheel button[data-topic] {
    position: absolute;
    top: var(--wheel-y);
    left: var(--wheel-x);
    width: 10.25rem;
    min-height: 3.75rem;
    transform: translate(-50%, -50%);
    background: var(--topic-tint);
  }
  .care-wheel button[data-topic][aria-pressed="true"] { background: var(--topic-ink); }
  .care-wheel-key {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
  }
  .care-wheel-key li {
    padding: .25rem .65rem;
    border: 1px solid var(--topic-ink);
    border-radius: 1rem;
    background: var(--topic-tint);
    color: var(--topic-ink);
  }
  .care-wheel [data-topic="0"] { --wheel-x: 50%; --wheel-y: 8%; }
  .care-wheel [data-topic="3"] { --wheel-x: 71%; --wheel-y: 20%; }
  .care-wheel [data-topic="6"] { --wheel-x: 84%; --wheel-y: 34%; }
  .care-wheel [data-topic="8"] { --wheel-x: 87%; --wheel-y: 50%; }
  .care-wheel [data-topic="1"] { --wheel-x: 84%; --wheel-y: 66%; }
  .care-wheel [data-topic="10"] { --wheel-x: 71%; --wheel-y: 80%; }
  .care-wheel [data-topic="11"] { --wheel-x: 50%; --wheel-y: 92%; }
  .care-wheel [data-topic="7"] { --wheel-x: 29%; --wheel-y: 80%; }
  .care-wheel [data-topic="2"] { --wheel-x: 16%; --wheel-y: 66%; }
  .care-wheel [data-topic="9"] { --wheel-x: 13%; --wheel-y: 50%; }
  .care-wheel [data-topic="4"] { --wheel-x: 16%; --wheel-y: 34%; }
  .care-wheel [data-topic="5"] { --wheel-x: 29%; --wheel-y: 20%; }
}
