@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.ownersInfoSection{
    width: 100%;
    height: 100%;
}
.ownersInfoCon>h1{
    text-transform: uppercase;
    font-size: 2rem;
    padding-bottom: 1rem;
}
.ownersItems{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    height: auto;
    max-width: 80vw;
    width: fit-content;

}
.imgDiv1{
    width: 100%;       /* Takes full width of the grid cell */
    height: 380px;     /* Set YOUR desired uniform height here */
    overflow: hidden; 
}
/* .ownerInfoItemCon .imgDiv{
    width: 100%;
    overflow: hidden;
} */
.ownersInfoCon{
    margin: 4rem auto;
    width: fit-content;
}

.ownerInfoItemCon{
    width: 500px;
    background-color: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 14px 24px rgba(0,0,0,.20);
    padding: 1rem auto;
    transition: 0.1s;
}
.ownerInfoItem{
    display: flex;
    justify-content: center;
    align-items: center;
}
.ownerInfoItem img{
    width: 100%;
    object-fit: cover;
}
.ownerInfoItemCon .detail{
    padding: 2rem;
    display: flex;
    text-align: center;
    font-weight: bold;
    flex-direction: column;
    gap: 1rem;
}

.ownerInfoItem a{
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
}
.ownerInfoItemCon:hover{
    transform: scale(1.02);
}
.ownerInfoItem a:hover{
    color: var(--secondary-color);
}
body{
    background-color: #eef8f5;
}
@media screen and (max-width:768px){
    .ownersInfoCon {
        margin: 2rem auto;
        width: fit-content;
        margin-bottom: 4rem;
    }
    .ownersItems {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 3rem;
        max-width: 90vw;
        width: fit-content;
    }
    /* .ownerInfoItemCon {
        width: auto;
        
    } */
    .ownersInfoCon>h1 {
        font-size: 2.5rem;
        text-align: center;
        padding-bottom: 1.5rem;
        padding-top: 1rem;
    }

}
@media screen and (max-width:450px) {
    
    .ownersItems {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 3rem;
        max-width: 95vw;
        width: fit-content;
        justify-content: center;
    }
    .ownerInfoItemCon {
        width: auto;
        background-color: var(--white-color);
        
    }
    
    .ownersInfoCon {
        margin: 0rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 4rem;
        width: 100%;
    }
    .ownersInfoCon>h1 {
        text-transform: uppercase;
        font-size: 2rem;
        padding: 2rem 0 1rem 0;
        text-align: center;
    }

}

