.rhDesignSection{
    padding: 0 20px;
}
.rhDesignContainer{
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}
 .rhDesignWrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
 }
 .rhDesignContent{
    position: relative;
    width: 49.2%;
    height: 670px;
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 22px;
    
 }
 
/* .rhDesignContent::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 66.87%, rgba(0, 0, 0, 0.5) 100%);
} */
 .design-card-anchor{
    display: none;
}
 .rhDesignContentImg{
    width: 100%;
    height: 100%;
    transition: all .3s ease-in-out;
     /* filter: blur(14px); */
 }
.rhDesignContent:hover .rhDesignContentImg{
    transform: scale(1.1);
}

 .rhDesignContent:hover .design-card-anchor{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
 }
 .design-card-anchor-img{
    width: 20px;
    height: 20px;
 }
 .design-card-title{
    position: absolute;
    bottom: 41px;   
    /* left: 50%;
    transform: translate(-50%, -50%); */
    font-family: "Playfair Display", serif !important;
    font-weight: 400;
    font-size: 48px;
    line-height: 130%;
    color: #FFFFFF;
    width: 100%;
    text-align: center;

 }
 .design-card-anchor-content{
    position: absolute;
    bottom: 11px;
    text-align: center;
    width: 100%;
     /* left: 50%;
    transform: translate(-50%, -50%); */

 }
 .design-card-anchor-txt{
    font-family: Archivo;
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    color: #FFFFFF;
 }
/* custom css for browse by space section  */
.browse-by-space .rhDesignContent{
max-height: 300px !important;
margin-bottom: 10px;
}
.browse-by-space .design-card-title{
    font-size: 24px;
    line-height: 120%;
    font-weight: 400;
    font-family: Archivo;
    z-index: 11;
    margin-bottom: 0;
}
.browse-by-space .design-card-anchor-txt{
font-weight: 500;
}
.browse-by-space .rhDesignWrapper{
    column-gap: 12px !important;
    row-gap: 0;
    justify-content: center;
}
.browse-by-space .rhDesignContent::after{
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 64.16%, rgba(0, 0, 0, 0.6) 100%);
     position: absolute;
         left: 0;
  bottom: 0;
}
.browse-by-space .design-card-anchor-content{
    z-index: 9;
}
 @media screen and (max-width:992px) {
    .rhDesignSection{
        padding: 0 16px;
    }
    .rhDesignContent{
        width: 100%;
        height: 345px;
        margin-bottom: 0;
    }
    .rhDesignWrapper{
        gap: 10px;
    }
    .design-card-title{
        font-family: Archivo;
        font-weight: 300;
        font-size: 28px;
        line-height: 130%;
        color: #FFFFFF;
        width: 100%;
        text-align: center;
        bottom: 24px;
        margin-bottom: 15px;
    }
    .rhDesignContent:hover .rhDesignContentImg {
        transform: none;
    }
    .rhDesignContent:hover .design-card-anchor {
        display: flex;
      
    }
    .design-card-anchor{
        display: flex;
          align-items: center;
        justify-content: center;
        gap: 3px;
    }
    .design-card-anchor-txt{
        font-size: 12px;
    }
    .design-card-anchor-content{
        bottom: 8px;
    }
    /* custom css for browse by space section  */
    .browse-by-space .rhDesignContent{
        height: 160px !important;
    }
    .browse-by-space .design-card-anchor-content{
    display: block;
    opacity: 0;
    height: 100%;
    width: 100%;
}
    .browse-by-space .design-card-anchor{
        height: 100%;
    }
.browse-by-space .design-card-title{
    font-size: 16px;
    font-weight: 500;
    line-height: 132%;
    width: max-content;
    left: 50%;
    transform: translateX(-50%);
}
.browse-by-space .design-card-title::after {
    content: '';
    position: relative;
    background-image: url(../../../../content/dam/asianpaintsbeautifulhomes/bh-new-home-page-revamp/design-section/design-arrow-right.png);
    width: 18px;
    height: 18px;
    object-fit: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    display: inline-block;
    top: 4px;
    left: 4px;
}
 }
 