.custm-story_card .content {
  height: auto;
  width: 472px;
  transition: all 0.4s ease-in-out 0s;
}

.custm-story_card .contain {
  position: static;
  display: grid;
  height: auto;
  width: 100%;
  min-height: auto;
  justify-content: center;
}

.custm-story_card .img_wrap {
  transition: all 0.4s ease-in-out 0s;
  width: 404px;
  height: 404px;
  margin: 11px 0px -114px 0;
  position: relative;
  grid-area: 1 / 1 / 2 / 2;
}

.custm-story_card .content_wrap {
  width: 404px;
  margin: 0px 0px 53px 0;
  position: relative;
  background-color: rgb(43,43,60);
  grid-area: 2 / 1 / 3 / 2;
}

.custm-story_card .content_wrap .title {
  transition: all 0.2s ease-out 0s;
  width: 309px;
  position: relative;
  margin: 25px 0px 7px 0;
  margin-left: auto;
  margin-right: auto;
}

.custm-story_card .content_wrap .title h2 {
  font-size: 12px;
  line-height: 1.2em;
  text-align: center;
  letter-spacing: 0.35em;
  color: #FFFFFF;
  margin: 0;
  transition: all 0.2s ease-out 0s, visibility 0s;
  font-family: avenir-lt-w01_35-light1475496,sans-serif;
}

.custm-story_card .content_wrap .subtitle {
  margin: 0px 0px 27px 0;
  width: 325px;
  margin-left: auto;
  margin-right: auto;
}

.custm-story_card .content_wrap .subtitle h2 {
  color: #5BBB57;
  transition: all 0.2s ease-out 0s, visibility 0s;
  font-size: 28px;
  text-align: center;
  line-height: normal;
}

.custm-story_card .btn_wrap {
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease-in-out 0s;
  width: 404px;
  min-height: 40px;
  position: relative;
  margin: 45px 0px 10px 0;
  grid-area: 2 / 1 / 3 / 2;
  justify-self: start;
  align-self: start;
  justify-content: center;
}

.custm-story_card .btn_wrap a {
  transition: all 0.4s ease-in-out 0s, visibility 0s;
  background: #5BBB57;
  color: #fff;
  display: block;
  min-height: 10px;
  width: 142px;
  height: 100%;
  font-size: 17px;
  font-family: avenir-lt-w01_85-heavy1475544,sans-serif;
  text-align: center;
  white-space: nowrap;
  min-width: 1.8em;
  margin: 0 auto;
  min-height: 40px
}

.custm-story_card .content:hover {
  z-index: 1;
  transform: translateX(0)translateY(0)scaleX(1.1)scaleY(1.1)rotate(0deg)skewX(0deg)skewY(0deg);
}

.custm-story_card .content:hover .btn_wrap {
  opacity: 1;
  visibility: visible;
  transform: translateX(0)translateY(0)scaleX(1)scaleY(1)rotate(0deg)skewX(0deg)skewY(0deg);
}

.custm-story_card .content:hover .title {
  opacity: 0;
  visibility: hidden;
}

.custm-story_card .content:hover .subtitle {
  opacity: 0;
  visibility: hidden;
}

.custm-story_card .btn_wrap a .btn {
  display: flex;
  flex-basis: auto;
  justify-content: center;
  flex-direction: row;
  flex-grow: 1;
  align-items: center;
  overflow: hidden;
  height: 100%;
  width: 100%;
  min-height: 40px;
}

.custm-story_card .btn_wrap a .btn span {
  margin: 0px 4px 0px 0px;
  display: initial;
  font-size: 17px;
  font-family: avenir-lt-w01_85-heavy1475544,sans-serif;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  white-space: nowrap;
  min-width: 1.8em;
  max-width: 100%;
}

.custm-story_card .btn_wrap a:hover {
  border: 1px solid #000000;
  background: #FFFFFF;
  transition: all 0.4s ease-in-out 0s, visibility 0s;
  color: #5BBB57;
}





@media (min-width: 768px) and (max-width: 900px){
  .custm-story_card .contain {
    grid-template-rows: min-content 1fr;
    grid-template-columns: 100%;
  }
  .custm-story_card .img_wrap {
    width: 100%;
  }
  .custm-story_card .content {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  .custm-story_card .content_wrap {
    width: 100%;
  }
  .custm-story_card .btn_wrap {
    width: 100%;
  }
}

@media (max-width: 767px){
  .custm-story_card .content:hover {
    transform: unset;
  }
  .custm-story_card .img_wrap {
    width: 100%;
    height: 100%;
    min-height: 280px;
    margin: 0px 0px -56px 0;
  }
  .custm-story_card .content {
    width: 100%;
  }
  .custm-story_card .content_wrap {
    width: 100%;
    margin-bottom: 21px;
  }
  .custm-story_card .btn_wrap {
    width: 100%;
  }
  .custm-story_card .content_wrap .title {
    width: 216px;
    margin-top: 21px;
  }
  .custm-story_card .content_wrap .subtitle {
    width: 260px;
  }
  .custm-story_card .content_wrap .title h2 {
    font-size: 14px;
  }
  .custm-story_card .content_wrap .subtitle h2 {
    font-size: 20px;
  }
  
  .custm-story_card .content:hover .btn_wrap,.custm-story_card .content .btn_wrap {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .custm-story_card .content:hover .title,.custm-story_card .content:hover .subtitle {
    opacity: 1;
    visibility: visible;
  }
}




