.wea-person-box {
  overflow: hidden;
  box-shadow: 0px 3px 6px rgb(0 0 0 / 16%);
}

.wea-person-box-image-box {
  height: 360px;
  width: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
}

.wea-person-box-base-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: 0.3s;
}

.wea-person-box-image-box:hover .wea-person-box-base-image {
  opacity: 1;
}

.wea-person-box-content {
  background-color: #181818;
  position: absolute;
  width: 100%;
  top: 0px;
  z-index: 999;
  height: 100%;
  padding: 15px;
  overflow-y: auto;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.wea-person-box-content.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.wea-person-box-content:not(.hidden) {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wea-person-box-click-tip {
  display: none;
  position: absolute;
  top: 15px;
  right: 15px;
  width: 28px;
  height: 28px;
  z-index: 998;
}

@media (max-width: 991px) {
  .wea-person-box-click-tip {
    display: block;
  }
}

.wea-person-box-content h3 {
  margin: 0px;
  color: #fff;
  font-size: 29px;
  font-family: "Bebas Kai";
  line-height: 1;
  font-weight: 100;
  padding-right: 35px;
  margin-bottom: 10px;
}

.wea-person-box-content p {
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
  height: calc(100% - 67px);
  margin: 0 0 10px;
}

.wea-person-box-close-button {
  color: #fff;
  position: absolute;
  right: 7px;
  top: 2px;
  font-weight: 100;
  font-family: auto;
  font-size: 28px;
  cursor: pointer;
  transition: 0.3s;
  background: transparent;
  border: none;
}

.wea-person-box-bottom-bar {
  background: #fff;
  display: flex;
  padding: 15px;
  align-items: center;
  justify-content: space-between;
}

.wea-person-box-bottom-bar .left h4 {
  color: #181818;
  font-size: 30px;
  font-family: "Bebas Kai", sans-serif;
  font-weight: 200;
  line-height: 1;
  margin: 0px;
  margin-bottom: 0px;
}

.wea-person-box-bottom-bar .left h5 {
  margin-bottom: 0px;
  margin-top: 5px;
  font-size: 18px;
}

.wea-person-box-bottom-bar .right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 0px;
}

.wea-person-box-bottom-bar .right a,
.wea-person-box-bottom-bar .right button {
  width: 36px;
  height: 36px;
  background-color: #fb273c;
  border-radius: 50%;
  background-size: 24px;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.3s ease;
  margin-left: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wea-person-box-bottom-bar .right a:hover,
.wea-person-box-bottom-bar .right button:hover {
  opacity: 0.7;
}

.wea-person-box-bottom-bar .right button {
  border: none;
  cursor: pointer;
  padding: 0;
}

.wea-person-box-bottom-bar .right a i,
.wea-person-box-bottom-bar .right a svg,
.wea-person-box-bottom-bar .right button i,
.wea-person-box-bottom-bar .right button svg {
  color: #fff;
  font-size: 16px;
  width: 16px;
  height: 16px;
}

@keyframes wea-chat-bounce {
  0%,
  100% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.25) rotate(-8deg);
  }
  60% {
    transform: scale(1.1) rotate(5deg);
  }
}

.wea-person-box-open-button .wea-chat-icon-animated {
  display: inline-block;
  animation: wea-chat-bounce 2s ease-in-out infinite;
  transform-origin: bottom center;
}

.wea-person-box-open-button:hover .wea-chat-icon-animated,
.wea-person-box-open-button:focus .wea-chat-icon-animated {
  animation: none;
}
