.elementor-image-lightbox-widget {
    position: relative;
    text-align: center;
    margin-bottom: 20px;
}

.elementor-image-lightbox-link {
    display: block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.elementor-image-lightbox-link img {
    display: block;
    /*width: 100%;
    height: auto;*/
	width: 100%; /* 360px */
    height: 240px;
    transition: transform 0.3s ease;
}

.elementor-image-caption {
    background-color: #ffffff;
    color: #494a49;
}

.row-img-caption {
    display: flex;
    flex-wrap: wrap;
    padding: 0px;
    margin: auto;
    align-items: center;
}

.column-img-caption img {
    display: block;
    max-width: 100%;
    height: auto;
    cursor: pointer;
}

.text-column-img-caption {
    flex: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    font-size: 1.5rem;
    padding-top: 15px;
    padding-left: 20px;
}

.text-column-img-caption p {
    cursor: default;    
}

.image-column-img-caption {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.image-column-img-caption img {
    max-width: 50px; /* Set a max-width for the image */
    height: auto; /* Maintain aspect ratio */
}

@media (max-width: 768px) {
    .row-img-caption {
        flex-direction: row;
        min-height: auto;
    }
    .image-column-img-caption {
        justify-content: center;
        padding-top: 10px; /* Add some spacing to align nicely on mobile */
    }
}