/* RISE shared theme — LIGHT (Advanced Spine service pages + Peptide Wellness). Matches the home page (V119–V126).
   Loaded after each page's own styles.css. Sections are tagged in the HTML: rise-l = light section, rise-d = dark panel. */
html:has(body.rise-light){background:#edf2f7}
body.rise-light{background:transparent!important;position:relative;overflow-x:clip}
body.rise-light::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:linear-gradient(90deg,rgba(79,168,255,.36) 0%,rgba(95,184,240,.38) 28%,rgba(47,200,190,.46) 50%,rgba(212,170,82,.50) 72%,rgba(222,185,105,.52) 100%);
 -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='138.56' viewBox='0 0 160 138.56'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M40 1.16 79 23.78v45L40 91.4 1 68.78v-45Z'/%3E%3Cpath d='M120 1.16 159 23.78v45L120 91.4 81 68.78v-45Z'/%3E%3Cpath d='M80 47.16 119 69.78v45L80 137.4 41 114.78v-45Z'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='138.56' viewBox='0 0 160 138.56'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M40 1.16 79 23.78v45L40 91.4 1 68.78v-45Z'/%3E%3Cpath d='M120 1.16 159 23.78v45L120 91.4 81 68.78v-45Z'/%3E%3Cpath d='M80 47.16 119 69.78v45L80 137.4 41 114.78v-45Z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask-size:160px 138.56px;mask-size:160px 138.56px}
/* light sections: white glow in the middle, honeycomb toward the edges (seamless: every section uses the same proportions) */
body.rise-light main>section.rise-l{background:radial-gradient(ellipse 72% 70% at 50% 50%,#fff 0%,rgba(255,255,255,.97) 55%,rgba(255,255,255,.72) 80%,rgba(255,255,255,.35) 100%)!important}
/* dark bands become rounded feature panels floating on the light page (like Explore Our Services) */
body.rise-light main>section.rise-d{margin:28px 16px;border-radius:26px;overflow:hidden;box-shadow:0 22px 50px rgba(13,34,64,.22)}
/* the band under the hero ends exactly ON a rising gold line (same as the home hero) */
body.rise-light .rise-band{position:relative;--lb:0px;--lh:44px;padding-bottom:30px;clip-path:polygon(0 0,100% 0,100% calc(100% - var(--lb) - var(--lh) + var(--lh)*2/40 + 3px),72.75% calc(100% - var(--lb) - var(--lh) + var(--lh)*10/40 + 3px),54.5% calc(100% - var(--lb) - var(--lh) + var(--lh)*30/40 + 3px),27.25% calc(100% - var(--lb) - var(--lh) + var(--lh)*27/40 + 3px),0 calc(100% - var(--lb) - var(--lh) + var(--lh)*37/40 + 3px))}
@media(max-width:700px){body.rise-light main>section.rise-d{margin:22px 10px;border-radius:20px}body.rise-light .rise-band{--lh:37px}}

.rise-divider{position:relative;height:44px;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 40' preserveAspectRatio='none'%3E%3Cpolyline points='0,37 109,27 218,30 291,10 400,2' fill='none' stroke='%23C9A24A' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");background-size:100% 100%;background-repeat:no-repeat;filter:drop-shadow(0 0 9px rgba(201,162,74,.45));opacity:.92;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 18%,#000 82%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 18%,#000 82%,transparent 100%)}
.rise-divider-flip{transform:scaleX(-1)}
.rise-edge{position:absolute;left:0;right:0;bottom:0;height:var(--lh);z-index:6;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 40' preserveAspectRatio='none'%3E%3Cpolyline points='0,37 109,27 218,30 291,10 400,2' fill='none' stroke='%23C9A24A' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");background-size:100% 100%;background-repeat:no-repeat;filter:drop-shadow(0 0 9px rgba(201,162,74,.45))}
/* divider takes no space, so the sections above and below meet seamlessly; the line is drawn across the seam */
body.rise-light .rise-divider,body.rise-dark .rise-divider{height:0;overflow:visible;z-index:5;background:none;filter:none;opacity:1;-webkit-mask-image:none;mask-image:none}
body.rise-light .rise-divider::before,body.rise-dark .rise-divider::before{content:"";position:absolute;left:0;right:0;top:-22px;height:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 40' preserveAspectRatio='none'%3E%3Cpolyline points='0,37 109,27 218,30 291,10 400,2' fill='none' stroke='%23C9A24A' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");background-size:100% 100%;background-repeat:no-repeat;filter:drop-shadow(0 0 9px rgba(201,162,74,.45));opacity:.92;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 18%,#000 82%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 18%,#000 82%,transparent 100%)}

/* V128: softer section glows. The white glow is now a separate layer that reaches 70px past each section and fades out
   at its top and bottom, so there are no blocky bands where a section ends (e.g. next to the rounded dark panels). */
body.rise-light main>section.rise-l{background:transparent!important;position:relative;isolation:isolate}
body.rise-light main>section.rise-l::after{content:"";position:absolute;z-index:-1;pointer-events:none;top:-70px;bottom:-70px;left:50%;width:100vw;transform:translateX(-50%);
 background:radial-gradient(ellipse 68% 64% at 50% 50%,#fff 0%,rgba(255,255,255,.97) 52%,rgba(255,255,255,.75) 74%,rgba(255,255,255,0) 100%);
 -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 22%,#000 78%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0%,#000 22%,#000 78%,transparent 100%)}
body.rise-light main>section.rise-d{position:relative;z-index:1}
@media(max-width:700px){body.rise-light main>section.rise-l::after{background:radial-gradient(ellipse 95% 62% at 50% 50%,#fff 0%,rgba(255,255,255,.97) 58%,rgba(255,255,255,.7) 80%,rgba(255,255,255,0) 100%)}}
