/* Dedicated physical painting with a genuine alpha aperture.
   The room photograph stays underneath as an unchanged native image.
   No closed oval mask or duplicated background patch is used. */
.parents-exact .parents-practice-calm {
  position: relative;
  isolation: isolate;
  --room-drop: clamp(16px, 1.5cqw, 26px);
  --room-paint: url(parents-room-continuous-v2.svg);
}
.parents-exact .parents-practice-calm::before {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
  left: 0;
  top: calc(var(--room-drop) - 9.47205cqw);
  width: 100%;
  height: 70.47205cqw;
  background: var(--room-paint) 0 0 / 100% 100% no-repeat;
  mask-image: linear-gradient(#000 64.98205cqw, transparent);
  mask-composite: intersect;
}
.parents-exact .practice-calm-room-photo {
  position: relative;
  width: 51cqw;
  max-width: none;
  height: 38.25cqw;
  margin: calc(var(--room-drop) - 1cqw) 0 0 -3.9cqw;
  overflow: visible;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.parents-exact .practice-calm-room-photo .material-photo-surface {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.parents-exact .practice-calm-room-photo .material-photo-surface > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  mask-image: url(parents-compact-room-corner.svg), linear-gradient(90deg, transparent, #000 2.4%, #000 97.6%, transparent), linear-gradient(transparent, #000 3.2%, #000 95.2%, transparent);
  mask-size:100% 100%;
  mask-repeat:no-repeat;
  mask-composite: intersect;
  filter: none;
}
.parents-exact .practice-calm-room-photo::before,
.parents-exact .practice-calm-room-photo::after {
  content: none;
}
.parents-exact .practice-calm-room-photo .material-photo-surface::before,
.parents-exact .practice-calm-room-photo .material-photo-surface::after,
.parents-exact .practice-calm-room-photo .photo-connection-bead {
  display: none;
}
.parents-exact .practice-calm-room > .text-link {
  position: relative;
  z-index: 4;
  color: #fff4e2;
  text-decoration-color: #fff4e2;
  text-shadow: 0 1px 2px #073c40;
}
@media (max-width: 1050px) {
  .parents-exact .parents-practice-calm::before {
    display: none;
  }
  .parents-exact .practice-calm-room-photo {
    width: 100%;
    height: auto;
    margin: 20px 0 0;
  }
  .parents-exact .practice-calm-room-photo .material-photo-surface > img {
    height: auto;
  }
  .parents-exact .practice-calm-room-photo::before,
  .parents-exact .practice-calm-room-photo::after {
    display: none;
  }
  .parents-exact .practice-calm-room > .text-link {
    color: #153f42;
    text-decoration-color: currentColor;
    text-shadow: none;
  }
}

@media(max-width:1050px){.parents-exact .practice-calm-room-photo .material-photo-surface>img{mask-image:none}}
@media(min-width:1051px){
 .parents-exact .practice-calm-room-photo img{transform:none}
}

@media(min-width:1051px){
 body.parents-exact .parents-practice-calm:has(details[open]) .practice-calm-room>.text-link{color:var(--ink);text-decoration-color:currentColor;text-shadow:none;transform:translateY(3cqw)}
}

@media(min-width:1051px){.parents-exact .parents-practice-calm{min-height:calc(59.4cqw + var(--room-drop))}}
