.videoWrapperLink {
    text-decoration: none;
}

.videoOverlay {
    position: absolute; 
    top: 0; 
    background-color: rgba(0,0,0,0.6);
}

.videoOverlayButton {
    width: 60px; 
    height: 60px; 
    display: block; 
    background: #13a0f0; 
    border-radius: 50%; 
    color: white;
}

.videoOverlayButton i {
    font-size: 40px;
}

.gallery-preview {
    border: none; 
    background-color: #f0f0f0; 
    border-radius: 0;
}

.gallery-preview-2 {
    border: none;
}

.gallery-preview-2 img {
    max-width: 150px;
}

/* uses h5 font size */
.gallery-preview-2-title {
    font-family: 'Rubik', sans-serif;
    color: #2e3092;
    font-size: clamp(1.3rem, 2.5vw + 0.125rem, 1.5rem);
    font-weight: 400;
    margin-bottom: 1rem !important;
    text-align: center;
}

.gallery-preview-description {
    font-size: clamp(0.85rem, 1.2vw + 0.5rem, 0.85rem);
}

.gallery-preview-2-description {
    color: #414d6a;
    text-align: center;
}

#mini-accordion .gallery-preview-2-title {
    font-size: clamp(1.1rem, 2.5vw + 0.125rem, 1.35rem);
}

.gallery-popup {
    padding: 44px !important;
    display: none; 
    max-width: 920px !important; 
    background: #fff; 
    position: relative;
}

.gallery-popup-image {
    order: 2;
    position: relative;
}

.gallery-popup-image img {
    max-height: 200px;
    object-fit: cover;
}

.gallery-popup-side-content {
    order: 1;
}

.gallery-popup-side-content span {
    margin-bottom: 5px; 
    line-height: 1.6;
}

.gallery-popup-side-content p {
    margin-bottom: 0;
}

.gallery-popup-side-content .description-title {
    min-width: 150px;
}

.cleanergy-logo {
    width: 60px;
    height: 60px;
    position: absolute;
    right: 21px;
    top: 132px;
}

.gallery-view-more span {
    cursor: pointer;
}

.profile-table-type {
    max-width: 920px !important;
    padding: 44px !important;
    margin: 0;
    display: none;
}

.profile-image-wrapper {
    float: right;
    position: relative;
    width: 45%;
    margin-left: 30px;
}

.profile-image-wrapper img {
    height: 100%;
    width: 100%;
    max-width: 150px;
    max-height: 150px;
    margin: 0 auto;
    margin-right: 0;
    display: block;
}

@media (max-width: 991px) {
    .profile-table-type p {
        font-size: clamp(0.85rem, 0.5rem + 1.2vw, 1rem) !important;
    }
}

@media (max-width: 767px) {
    .gallery-popup {
        padding: 30px 20px !important;
    }
    
    .profile-table-type {
        padding: 30px 20px !important;
    }
}

@media (max-width:639.98px) {
    .gallery-popup-image {
        order: 1;
    }
    
    .gallery-popup-image img {
        max-height: unset;
        object-fit: contain;
    }
    
    .gallery-popup-side-content {
        order: 2;
        margin-top: 15px;
    }
}