/* Dr. Joe — Patient Results Visual-First Page V1 */
.results-page{background:#fff;color:var(--ink,#17242D)}
.results-hero{padding:72px 0 28px;background:#fff}
.results-hero-inner{max-width:1180px}
.results-breadcrumb{display:flex;align-items:center;gap:10px;margin:0 0 24px;color:#2F628D;font-size:.78rem;font-weight:750;line-height:1.4;letter-spacing:.09em;text-transform:uppercase}
.results-breadcrumb a{color:inherit;text-decoration:none;transition:color .18s ease}
.results-breadcrumb a:hover{color:var(--navy,#0A2B45)}
.results-breadcrumb span[aria-hidden="true"]{color:#667783;font-weight:650}
.results-breadcrumb span[aria-current="page"]{color:#2F628D}
.results-breadcrumb a:focus-visible{outline:2px solid var(--blue-2,#4D88AE);outline-offset:3px;border-radius:2px}
.results-hero h1{margin:0 0 14px;font-size:clamp(2.65rem,6vw,5.4rem);line-height:.98;letter-spacing:-.055em;color:var(--navy,#0A2B45)}
.results-hero p{max-width:900px;margin:0;color:var(--muted,#667783);font-size:1.04rem;line-height:1.75}
.results-filter-stack{position:sticky;top:76px;z-index:8;background:rgba(255,255,255,.95);border-bottom:1px solid var(--line,#DCE6EC);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.results-toolbar{position:relative;padding:12px 0 14px;background:transparent}

.results-filters{display:flex;gap:10px;overflow-x:auto;padding:2px 0;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.results-filters::-webkit-scrollbar{display:none}
.results-subfilter-group{margin-top:10px}
.results-subfilter-group--nested{margin-top:8px;padding-top:8px;border-top:1px solid rgba(14,42,64,.07)}
.results-subfilter-group[hidden]{display:none!important}
.results-subfilter-label{margin:0 0 7px;color:#587184;font-size:.68rem;font-weight:750;letter-spacing:.14em;text-transform:uppercase}
.results-subfilters{display:flex;gap:8px;overflow-x:auto;padding:2px 0;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.results-subfilters[hidden]{display:none!important}
.results-subfilters::-webkit-scrollbar{display:none}
.results-subfilter{flex:0 0 auto;min-height:36px;padding:8px 13px;border:1px solid #C9D9E3;border-radius:999px;background:#F7FAFC;color:var(--navy,#0A2B45);font:inherit;font-size:.78rem;font-weight:650;cursor:pointer;transition:background .18s ease,color .18s ease,border-color .18s ease}
.results-subfilter[aria-pressed="true"]{background:#D7EAF5;border-color:#6FA6C8;color:var(--navy,#0A2B45);box-shadow:inset 0 0 0 1px rgba(27,93,136,.06)}
.results-subfilter:focus-visible{outline:3px solid var(--blue-2,#4D88AE);outline-offset:3px}
.results-filter{flex:0 0 auto;min-height:42px;padding:10px 16px;border:1px solid var(--line,#DCE6EC);border-radius:999px;background:#fff;color:var(--navy,#0A2B45);font:inherit;font-size:.83rem;font-weight:650;cursor:pointer;transition:background .18s ease,color .18s ease,border-color .18s ease}
.results-filter[aria-pressed="true"]{background:var(--navy,#0A2B45);border-color:var(--navy,#0A2B45);color:#fff}
.results-filter:focus-visible{outline:3px solid var(--blue-2,#4D88AE);outline-offset:3px}
.results-gallery{padding:34px 0 84px}
.results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 24px;align-items:start}
.result-card{min-width:0}
.result-card[hidden]{display:none!important}
.result-card-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;align-items:start;overflow:hidden;border-radius:22px;background:transparent}
.result-card figure{position:relative;margin:0;min-width:0;background:transparent}
.result-card img{display:block;width:100%;height:auto;object-fit:cover;object-position:center;background:transparent}
.result-card-media.is-stacked{grid-template-columns:1fr;gap:1px}
.result-card-media.is-stacked figure + figure{border-top:1px solid rgba(14,42,64,.08)}
.result-card-media.is-stacked img{aspect-ratio:auto;height:auto;object-fit:cover}
.result-card figcaption{position:absolute;top:12px;left:12px;margin:0;padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.94);color:var(--navy,#0A2B45);font-size:.61rem;font-weight:750;letter-spacing:.06em;text-transform:uppercase}
.result-card-copy{padding:18px 2px 0}
.result-card-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 8px;color:var(--muted,#667783);font-size:.75rem;font-weight:650;letter-spacing:.035em;text-transform:uppercase}
.result-card-meta span+span:before{content:'·';margin-right:9px;color:#A9BAC5}
.result-card h2{margin:0 0 9px;color:var(--navy,#0A2B45);font-size:clamp(1.2rem,2vw,1.55rem);line-height:1.25;letter-spacing:-.025em}
.result-card p{margin:0;color:var(--muted,#667783);font-size:.9rem;line-height:1.65}
.results-coming{display:grid;place-items:center;min-height:360px;border:1px dashed #C7D5DE;border-radius:22px;background:#F7FAFC;text-align:center;padding:32px}
.results-coming-inner{max-width:280px}
.results-coming strong{display:block;margin-bottom:8px;color:var(--navy,#0A2B45);font-size:1rem}
.results-coming span{display:block;color:var(--muted,#667783);font-size:.84rem;line-height:1.6}
.results-note{max-width:760px;margin:58px auto 0;padding-top:26px;border-top:1px solid var(--line,#DCE6EC);text-align:center;color:var(--muted,#667783);font-size:.8rem;line-height:1.7}
.results-closing{padding:72px 0;background:var(--navy,#0A2B45);color:#fff}
.results-closing-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:36px;align-items:end}
.results-closing h2{max-width:700px;margin:8px 0 14px;color:#fff;font-size:clamp(2rem,4vw,3.4rem);line-height:1.06;letter-spacing:-.04em}
.results-closing p{max-width:670px;margin:0;color:#C8D8E3;line-height:1.7}
@media(max-width:900px){.results-hero-inner{max-width:920px}.results-hero p{max-width:720px}.results-grid{grid-template-columns:1fr;gap:40px}.result-card{max-width:720px;width:100%;margin:0 auto}.results-closing-grid{grid-template-columns:1fr;align-items:start}.results-closing-grid .btn{justify-self:start}}
@media(max-width:640px){.results-hero{padding:48px 0 20px}.results-breadcrumb{gap:8px;margin-bottom:18px;font-size:.72rem;letter-spacing:.08em;white-space:nowrap;overflow:hidden}.results-hero h1{font-size:3rem}.results-hero p{font-size:.96rem;line-height:1.7}.results-toolbar{padding:10px 0 11px}.results-filters{margin-right:-20px;padding-right:20px}.results-filter{min-height:40px;padding:9px 14px;font-size:.8rem}.results-subfilter-group{margin-top:9px}.results-subfilter-label{margin-bottom:6px;font-size:.64rem}.results-subfilters{margin-right:-20px;padding-right:20px}.results-subfilter{min-height:34px;padding:7px 12px;font-size:.75rem}.results-gallery{padding:24px 0 64px}.results-grid{gap:34px}.result-card-media{border-radius:18px}.result-card figcaption{top:9px;left:8px;padding:5px 7px;font-size:.55rem}.result-card-copy{padding-top:15px}.result-card h2{font-size:1.35rem}.result-card p{font-size:.86rem}.results-coming{min-height:260px;border-radius:18px}.results-note{margin-top:44px}.results-closing{padding:58px 0}.results-closing-grid .btn{width:100%}}
@media(prefers-reduced-motion:reduce){.results-filter,.results-breadcrumb a{transition:none}}


.results-procedure-sticky-shell[hidden],
.results-brow-sticky-shell[hidden],
.results-subfilter-group[hidden]{display:none!important}

.results-procedure-sticky-shell,
.results-brow-sticky-shell{
  background:rgba(255,255,255,.97);
}

.results-procedure-sticky-shell .results-subfilter-group,
.results-brow-sticky-shell .results-subfilter-group{
  margin-top:0;
}

@media(min-width:901px){
  .results-procedure-sticky-shell,
  .results-brow-sticky-shell{
    padding:0 0 12px;
  }
  .results-brow-sticky-shell .results-subfilter-group{
    padding-top:8px;
  }
}

@media(max-width:900px){
  .results-filter-stack{
    display:contents;
  }

  .results-toolbar,
  .results-procedure-sticky-shell,
  .results-brow-sticky-shell{
    position:relative;
    top:auto;
    z-index:auto;
    background:rgba(255,255,255,.97);
  }

  .results-procedure-sticky-shell{
    padding:0 0 10px;
    border-bottom:1px solid var(--line,#DCE6EC);
  }

  .results-brow-sticky-shell{
    padding:9px 0 10px;
    border-top:1px solid rgba(14,42,64,.07);
    border-bottom:1px solid var(--line,#DCE6EC);
  }

  .results-toolbar.is-deepest-sticky,
  .results-procedure-sticky-shell.is-deepest-sticky,
  .results-brow-sticky-shell.is-deepest-sticky{
    position:sticky;
    top:68px;
    z-index:9;
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
  }

  .results-procedure-sticky-shell .results-subfilter-group,
  .results-brow-sticky-shell .results-subfilter-group{
    margin-top:0;
    padding-top:0;
    border-top:0;
  }
}

@media(max-width:640px){
  .results-toolbar.is-deepest-sticky,
  .results-procedure-sticky-shell.is-deepest-sticky,
  .results-brow-sticky-shell.is-deepest-sticky{
    top:64px;
  }
}


/* Rhinoplasty multi-view case carousel.
   Each case may contain a different number of matched clinical views. */
.result-view-carousel{min-width:0}
.result-view-stage{position:relative;min-width:0;touch-action:pan-y pinch-zoom}
.result-view-slide{display:none;min-width:0}
.result-view-slide.is-active{display:block;animation:result-view-fade .16s ease}
@keyframes result-view-fade{from{opacity:.86}to{opacity:1}}
.result-view-arrow{
  position:absolute;top:50%;z-index:3;display:grid;place-items:center;
  width:40px;height:40px;border:1px solid var(--line,#DCE6EC);border-radius:50%;
  background:rgba(255,255,255,.94);color:var(--navy,#0A2B45);
  font:inherit;font-size:1.05rem;line-height:1;cursor:pointer;
  box-shadow:0 5px 16px rgba(10,43,69,.08);transform:translateY(-50%)
}
.result-view-arrow--prev{left:-12px}
.result-view-arrow--next{right:-12px}
.result-view-arrow:hover{background:#fff}
.result-view-arrow:focus-visible,.result-view-tab:focus-visible{outline:3px solid var(--blue-2,#4D88AE);outline-offset:3px}
.result-view-label{margin:12px 0 0;text-align:center;color:var(--navy,#0A2B45);font-size:.82rem;font-weight:750}
.result-view-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin-top:12px}
.result-view-tab{
  min-height:32px;padding:6px 10px;border:1px solid var(--line,#DCE6EC);border-radius:999px;
  background:#fff;color:var(--muted,#667783);font:inherit;font-size:.7rem;font-weight:700;cursor:pointer
}
.result-view-tab[aria-pressed="true"]{border-color:#6FA6C8;background:#F1F7FA;color:var(--navy,#0A2B45)}
.result-card--multiview .result-card-copy{padding-top:16px}
@media(max-width:640px){
  .result-view-arrow{width:38px;height:38px}
  .result-view-arrow--prev{left:-10px}
  .result-view-arrow--next{right:-10px}
  .result-view-tabs{gap:6px;margin-top:10px}
  .result-view-tab{min-height:30px;padding:6px 9px;font-size:.68rem}
}
@media(prefers-reduced-motion:reduce){.result-view-slide.is-active{animation:none}}

/* Optional second-level navigation for bilateral clinical views.
   Appears only when the active view group contains more than one side. */
.result-view-sides{
  display:flex;justify-content:center;gap:6px;margin-top:7px
}
.result-view-sides[hidden]{display:none!important}
.result-view-side{
  min-height:29px;min-width:62px;padding:5px 12px;border:1px solid #D7E2E9;border-radius:999px;
  background:#F8FAFB;color:#667783;font:inherit;font-size:.67rem;font-weight:700;cursor:pointer
}
.result-view-side[aria-pressed="true"]{
  border-color:#8EB5CD;background:#EAF3F8;color:var(--navy,#0A2B45)
}
.result-view-side:focus-visible{outline:3px solid var(--blue-2,#4D88AE);outline-offset:3px}
@media(max-width:640px){
  .result-view-sides{gap:5px;margin-top:6px}
  .result-view-side{min-height:28px;min-width:58px;padding:5px 10px;font-size:.66rem}
}

