body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f4f4f4;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.inner-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    width: calc(33.333% - 20px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}
.inner-card .inner-img-container {
    max-height: 150px;
}

.inner-card img {
    width: 100%;
    height: 100%;
}

.inner-card-content {
    padding: 10px;
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.inner-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inner-card-header h4 {
    margin: 0;
    order: 2;
    color: #fe9850 !important;
}

.inner-card-header h6 {
    margin: 0;
    order: 2;
    color: #fe9850 !important;
}
.inner-card-header h5 {
    margin: 0;
    order: 1;
}

.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.inner-card a {
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 50px;
}

    .inner-card a.primary {
        background-color: #fe9850 !important;
        color: white;
    }

    .inner-card a.secondary {
        background-color: transparent;
        border: 2px solid #fe9850;
        color: #fe9850;
    }

.inner-card:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .inner-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .inner-card {
        width: 100%;
    }
}

#relatedImagesContainer {
    padding: 20px;
    text-align: center;
}

    #relatedImagesContainer .img-container {
        height: 150px; 
        padding: 5px;
        position: relative;
        cursor: pointer;
    }

    #relatedImagesContainer img {
        width: 100%;
        height: 100%; 
        //object-fit: cover; 
        border-radius: 0.5rem;
        transition: transform 0.3s ease;
    }

        #relatedImagesContainer img:hover {
            transform: scale(1.1);
        }

.zoomed-image {
    max-width: 100%;
    max-height: 60vh;
    margin: auto;
    display: block;
}

.row.g-4 {
    margin-right: -1.5rem;
    margin-left: -1.5rem;
}