.bnr_img{
    position: relative;
}
.bnr_img::after{
   content: "";
   clear: both;
   height: 100%;
   width: 100%;
   position: absolute;
   top: 0;
   left: 0;
   background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%);
}


.directors_heading {
    padding: 55px 0;
}


.board_bnt_content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 1;
}



.directors_sec .container{
    padding: 0px 90px 35px;
}

.board_bnt_content h2{
    color: var( --color-light1);
text-align: center;
font-family: var(--font-family-heading);
font-size: var(--font-size-board-h2);
font-style: normal;
font-weight: var(--font-weight-normal);
line-height: var( --line-height-xxl); 
letter-spacing: var(--letter-spacing-xxxxl);
text-transform: uppercase;
}


.directors_grid .row{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 80px;
    row-gap: 65px;
}

.director_name h4{
    color: var(--color-dark2);
text-align: center;
font-family: var(--font-family-heading);
font-size: var(--font-size-result-h5);
font-style: normal;
font-weight: var(--font-weight-normal);
line-height: var( --line-height-journey-h2); 
padding: 12px 0 0 0;
font-size: 1.7vw;
}




.director_name p{
    color: var(--color-dark2);
    text-align: center;
    font-family: var(--font-family-heading);
    font-size: var( --font-size-eco-p);
    font-style: normal;
    font-weight: var(--font-weight-normal);
    line-height: var( --line-height-xl);
}

.director_name .read_more_btn{
    text-align: center;
}

.director_name .read_more_btn a{
   background: var(--color-dark2);

   display: inline-block;
   color: var(--color-light1);
text-align: center;
font-family: var(--fm-montserrat);
font-size: var(--font-size-xxs);
font-style: normal;
font-weight: var(--font-weight-bold);
line-height: normal;
letter-spacing: var( --letter-spacing-sm);
max-width: 120px;
padding: 12.5px 0; 
width: 100%;
transition: all 0.3s linear;
}
.director_name .read_more_btn a:hover{
    box-shadow: inset 10em 0 0 0 var(--color-light1), inset -10em 0 0 0 var(--color-light1);
    color: var(--color-dark2);
    outline: 1px solid var(--color-dark2);
    font-weight: bold;
    background-color: var(--color-dark2);
}



/* CSS for modal */
.popupclose img {
    width: 20px;
}
.director_popup {
    position: fixed; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    /* overflow: auto;  */
    background-color:rgb(0 0 0 / 70%);
    z-index: 99999; 
}

.director_popup_inner {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 1200px;
    position: relative;
    height: 100%;
    align-content: center;
}
.director_dec_inner {
    display: flex;
    background: #F2DDCE;
    padding: 50px;
    align-items: center;
    position: relative;

} 
.director_dec {
    padding-left: 45px;
}

.director_wrap {
   max-height: 280px;
   overflow-y: auto;
   padding: 10px 10px 10px 0;
}

.director_wrap::-webkit-scrollbar {
   width: 3px;
}

.director_wrap::-webkit-scrollbar-track {
   background: #fbceae;
   border-radius: 5px;
}

.director_wrap::-webkit-scrollbar-thumb {
    background-color: var(--color-dark1);
   border-radius: 5px;
}

.director_image {
    min-width: 36%;
}
.director_dec p {
    font-size: 17px;
    line-height: 37px;
    font-family: var(--font-family-heading);
}

.popupclose {
    position: absolute;
    top: 0;
    right: 0px;
    cursor: pointer;
    background: var(--color-dark1);
    padding: 10px;
}

@media screen and (max-width: 768px){

    .board_bnt_content h2{
        font-size: 42px;
    }

    .bnr_img img{
        height: 50vh;
        object-fit: cover;
    }

    .directors_sec .container{
        padding: 0px 30px 35px;
    }

    .board_bnt_content{
        padding: 0 15px;
    }

    .directors_grid .row{
        grid-template-columns: auto;
        column-gap: unset;
        row-gap: unset;
        margin-bottom: 0;
    }

    .directors_grid .slick-dots{
        position: unset;
        padding-top: 35px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .director_dec_inner{
        display: block;
        padding: 20px;
    }

    .director_name h4{
        font-size: var(--font-size-result-h5);
    }

    .director_dec{
        padding: 15px 0 0 0;
    }

    .director_dec p{
        font-size: 14px;
        line-height: 27px;
    }

    .directors_sec .slick-prev:before, .directors_sec .slick-next:before {
        content: none;
    }

    .directors_sec .slick-prev{
        background: url(https://www.vedantfashions.com/wp-content/themes/vedant/images/home-left-arrow.svg);
        background-repeat: no-repeat;
        background-size: cover;
        height: 50px;
        width: 50px;
        display: inline-block;
        z-index: 1;
        top: 35%;
    }

    .directors_sec .slick-next{
        background: url(https://www.vedantfashions.com/wp-content/themes/vedant/images/home-right-arrow.svg);
        background-repeat: no-repeat;
        background-size: cover;
        height: 50px;
        width: 50px;
        display: inline-block;
        z-index: 1;
        top: 35%;
    }

    .director_popup{
        overflow: auto;
    }

    
.popupclose {
    top: -30px;
    right: 0;
    background: none;
    padding: 0;
}
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation : portrait){
    .director_dec_inner{
        padding: 40px;

    }

    .popupclose{
        top: 10px;
        right: 10px;
        padding: 0;
        background: none;
    }

    .popupclose img{
      filter: invert(1);
    }

    .directors_grid .row{
        column-gap: 30px;
    }
}