/* Iteration 16: approved edits. Loaded last to resolve older competing rules. */
#synergy-dark-preview .section-appointment {
  position:relative;
  z-index:2;
  margin-top:32px;
  text-align:center;
}
#synergy-dark-preview .section-appointment .button {
  max-width:100%;
  text-align:center;
}

/* Option 2: one continuous blur gradient across the displayed photograph.
   The duplicate shares the original crop, reflection and edge feathering.
   There are no isolated face or eye-chart masks. */
#synergy-dark-preview .assessment-blur-gradient {
  position:absolute;
  inset:0;
  pointer-events:none;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,transparent 26%,#000 100%);
  mask-image:linear-gradient(to right,transparent 0%,transparent 26%,#000 100%);
}
#synergy-dark-preview .assess-v2-photo .assessment-blur-gradient img {
  filter:blur(3.6px)!important;
}

/* Accessible 01 badge. Scope directly to its trigger rather than nth-child. */
#synergy-dark-preview #clinical-case-1-toggle .acc-num {
  background:#793cad!important;
  color:#fff!important;
  font-weight:700;
}

/* An explicit photograph prevents legacy background shorthand from replacing
   the approved Blue Ridge image. Existing bubbles and their glow are retained. */
#synergy-dark-preview .stories-mosaic-section .stories-backdrop {
  background:none!important;
  opacity:1!important;
  transform:none!important;
  filter:none!important;
  z-index:0!important;
  pointer-events:none;
}
#synergy-dark-preview .stories-backdrop .stories-landscape {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
  object-position:center 46%;
  filter:saturate(.96) contrast(1.04) brightness(.90);
}
#synergy-dark-preview .stories-backdrop::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(9,24,39,.06) 0%,rgba(9,24,39,.12) 24%,rgba(9,24,39,.28) 52%,rgba(9,25,39,.64) 78%,rgba(11,30,45,.92) 100%);
}
#synergy-dark-preview .stories-mosaic-section::after {
  z-index:0!important;
}
#synergy-dark-preview .stories-mosaic-shell {
  position:relative;
  z-index:1;
}

@media(max-width:680px) {
  /* Entire physically rotated photograph fills the mobile hero. Keeping both
     dimensions explicit removes the letterbox bands caused by contain. */
  #synergy-dark-preview .hero .hero-media {
    background-image:url("hero-precision-close-up-mobile-portrait.jpg")!important;
    background-size:100% 100%!important;
    background-position:center!important;
    background-repeat:no-repeat!important;
    transform:none!important;
  }
  #synergy-dark-preview .hero .hero-media::before,
  #synergy-dark-preview .hero .hero-media::after {
    content:none!important;
    display:none!important;
  }
  #synergy-dark-preview .hero .hero-wash {
    background:linear-gradient(180deg,rgba(56,16,104,.70) 0%,rgba(27,25,76,.76) 30%,rgba(13,27,61,.80) 68%,rgba(0,82,87,.68) 100%),linear-gradient(110deg,rgba(77,18,119,.28),rgba(11,34,66,.16) 60%,rgba(0,113,118,.24))!important;
  }
  #synergy-dark-preview .stories-backdrop .stories-landscape {
    height:680px;
    object-position:center top;
  }
  #synergy-dark-preview .stories-backdrop::after {
    background:linear-gradient(180deg,rgba(9,24,39,.10) 0px,rgba(10,28,43,.24) 190px,rgba(9,25,39,.62) 430px,#0b1e2d 680px);
  }
}
