/* Wellness Tips page */

.page-node-86 {
  /*.page-hero__content {
    min-height: 400px;
  }*/

  @media (max-width: 768px) {
    .page-hero__content, .page-hero {
      min-height: 242px;
    }
    .page-hero__content h1:only-child {
      margin-top: 25px;
    }
  }
  @media (min-width: 769px) {
    .page-hero,
    .page-hero__content {
      min-height: 392px !important;
    }
  }
}

.wellness-videos {
  padding-block: 80px 80px;
}

.wellness-videos > .container--narrow > p,
.wellness-bio p {
  color: #333333;
  font-size: 20px;
  line-height: 28px;
}

.wellness-video-frame {
  position: relative;
  margin-top: 30px;
}

/*.wellness-video-frame::before,
.wellness-video-frame::after {
  position: absolute;
  top: -15px;
  bottom: -15px;
  z-index: 1;
  width: 25px;
  border-block: 5px solid #f02ed3;
  pointer-events: none;
  content: "";
}

.wellness-video-frame::before {
  left: -15px;
  border-left: 5px solid #f02ed3;
}

.wellness-video-frame::after {
  right: -15px;
  border-right: 5px solid #f02ed3;
}*/

.wellness-bio {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  background: #F8E8D9;
}

.page-node-86 .portrait-callout::before {
  background: #fff;
}

.wellness-bio__portrait {
  position: absolute;
  bottom: -16px;
  left: max(24px, calc((100% - 1070px) / 2));
  width: 350px;
  height: 330px;
  /*background-image: url("../img/types-of-treatment/carolyn-headshot.png");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
  @media (min-width: 768px) {
    background-size: cover;
  }*/
}

.wellness-bio .container {
  width: min(100% - 30px, 1142px);
  max-width: 1200px;
  padding-inline: 0;
  margin-inline: auto;
}

.wellness-bio__content {
  width: 62%;
  margin-left: auto;
  padding-block: 60px 60px;
  margin-bottom: 22px;
}

.wellness-bio .section-heading {
  color: var(--nsai-green);
}

.wellness-care-planning {
  padding-block: 80px;
}

.wellness-care-planning .resource-card {
  width: min(100%, 730px);
  min-height: 145px;
  margin-inline: auto;
  padding: 30px 20px;
  @media (min-width: 768px) {
    padding: 30px 25px 30px 30px;
  }
}

.wellness-care-planning .resource-card__icon {
  width: 108px;
  height: 108px;
}

@media (max-width: 768px) {
  .wellness-videos {
    padding-block: 60px 60px;
  }

  .wellness-video-frame {
    margin-top: 30px;
  }

  .wellness-bio {
    display: flex;
    min-height: 650px;
    margin-bottom:  0px;
    margin-top: 0px;
    flex-direction: column-reverse;
  }

  .wellness-bio__content {
    width: 100%;
    padding-block: 60px 30px;
  }

  .wellness-bio__portrait {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    height: 300px;
    margin-top: auto;
    text-align: center;
  }

  .wellness-care-planning {
    padding-block: 60px;
  }
}

@media (max-width: 768px) {
  .wellness-videos .section-heading { font-size: 38px; line-height: 38px; }
}
