#himage-wrap {
  position: relative;
  overflow: hidden; }
  #himage-wrap #main_heading_wrap {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 2;
    margin-bottom: 40px; }
    #himage-wrap #main_heading_wrap #main_heading {
      color: #fff;
      margin: auto;
      padding: 0 30px;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box; }
      @media (min-width: 0px) and (max-width: 575px) {
        #himage-wrap #main_heading_wrap #main_heading {
          text-align: center; } }
      @media (min-width: 576px) and (max-width: 767px) {
        #himage-wrap #main_heading_wrap #main_heading {
          text-align: center; } }

#himage {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 40vw;
  max-height: 620px;
  min-height: 420px;
  z-index: 1; }
  #himage .item {
    background-position: center;
    background-size: cover;
    position: relative;
    width: 100%;
    height: 100%; }
    #himage .item picture {
      width: 100%;
      height: 100%;
      display: flex; }
      #himage .item picture img {
        object-fit: cover;
        height: auto;
        width: 100%; }
    #himage .item:before, #himage .item:after {
      content: '';
      width: 100%;
      height: 50%;
      position: absolute;
      left: 0;
      z-index: 2; }
    #himage .item:before {
      top: 0;
      background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 100%); }
    #himage .item:after {
      bottom: 0;
      background: linear-gradient(0deg, #000000 0%, rgba(0, 0, 0, 0) 100%); }

@media (min-width: 768px) {
  .has_inhead_heading {
    display: none; } }

@media (min-width: 0px) and (max-width: 575px) {
  #himage-wrap #main_heading_wrap {
    display: none; } }

@media (min-width: 576px) and (max-width: 767px) {
  #himage-wrap #main_heading_wrap {
    display: none; } }
