@layer components {
  .bod {
    z-index: 199;
  }
  .bod .profile-detail {
    max-height: 0;
    transition: none;
  }
  .bod .profile-detail__title-wrapper {
    display: none;
  }
  .bod .profile-detail__close {
    font-size: 3.6rem;
    line-height: 3.6rem;
    background: transparent;
    border: none;
    color: var(--panel-utility);
    cursor: pointer;
  }
  .bod .profile-detail--visible {
    max-height: 300rem;
    transition: max-height 3s;
    padding-bottom: var(--lg-2);
  }
  .bod .profile-detail__wrapper {
    margin-top: 0;
    padding-top: var(--md-2);
  }
  .bod--popup .popover-modal__header {
    border: none;
    padding: var(--sm-1) var(--sm-1) 0 var(--sm-1);
    justify-content: flex-end !important;
  }
  .bod--popup .popover-modal__content {
    padding: 0;
  }
  .bod--popup .popover-modal .profile-detail__wrapper {
    margin-top: 0;
  }
  .bod--popup .profile-detail {
    max-height: none;
  }
  .bod--popup .profile-detail__title-wrapper {
    display: block;
  }
  .bod--popup .profile-detail__wrapper {
    margin-top: 0;
  }
  .bod--popup .profile-detail__button {
    display: none !important;
  }
  .bod--popup .profile-detail--visible .profile-detail {
    max-height: 100%;
  }
  @media (min-width: 768px) {
    .bod .profile-detail__title-wrapper {
      display: block;
    }
    .bod .profile-detail__wrapper {
      padding-top: 0;
    }
  }
  @media (min-width: 992px) {
    .bod .profile-card__card-link:focus-within .cta--text-link:focus-visible {
      outline: transparent;
    }
  }
}


.profile-card__content:hover{
min-height: 190px !important;
}

.profile-card__content{
transition: all 0.2s ease-in-out !important;}

img.profile-detail__image {
    object-position: center top;
}