/* BEGIN b-card-38 */
.b-card-38 {
  display: block;
  color: #fff;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 30px;
}
.b-card-38::before {
  content: '';
  width: 100%;
  height: 100%;
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}
.b-card-38 .b_title {
  width: 80%;
  margin: 0 10%;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  z-index: 2;
  position: absolute;
  bottom: 0;
  -webkit-transform: scale(0.8);
  transform: scale(0.8);
  transition: 500ms all ease;
  font-size: 18px;
  color: var(--color-main);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 30px;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: 'Bai Jamjuree';
  text-align: center;
}
.b-card-38 .b_stt {
  position: absolute;
  width: 50px;
  height: 50px;
  top: 0;
  right: 0;
  z-index: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 25px 0 25px 25px;
  font-size: 24px;
  font-weight: 400;
  font-family: 'Bai Jamjuree';
  opacity: 0;
  transition: 500ms all ease;
  color: #323232;
}
.b-card-38:hover .b_stt{
    opacity: 1;
    top: 20px;
    right: 20px;
}
.b-card-38:hover::before {
  background-color: rgba(0, 0, 0, 0.5);
}
.b-card-38:hover .b_title {
  opacity: 1;
  visibility: visible;
  -webkit-transform: scale(1);
  transform: scale(1);
  bottom: 23px;
  background: rgb(255 255 255 / 75%);
  border-radius: 8px;
  padding: 10px;
}
.b-card-38:hover .b_icon {
  opacity: 1;
  visibility: visible;
  bottom: 0;
}

/* END b-card-38 */