
/*

COMPANY HEADER

*/


.block.company-header {
    padding: 0;
    overflow: hidden;
}

.company-banner {
    position: relative;
    width: 100%;
    height: 180px;
    margin: 0 0 48px 0;
    overflow: visible; 
    z-index: 1;
}

.company-banner .action-pills {
    position: absolute;
    top: 100%;
    right: 50px;
    transform: translateY(8px);
}

.banner-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}	

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.15);
}

.company-logo-overlay {
    position: absolute;
    left: 9px;
    bottom: -50px;
    z-index: 1000;
    max-width: 75%;
}

.company-logo-overlay .logo-wrapper {
    min-width: auto;
    max-width: fit-content;
    width: auto;
    height: 100px;
    padding: 16px 24px;
    background: white;
    border: none;
    border-radius: 6px;
    box-shadow: none;
    transition: transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.company-logo-overlay img {
    width: auto;
    height: auto;
    max-height: 76px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 2px;
}

.company-header-content {
    position: relative;
    z-index: 1;
    padding: 0 15px 15px;
}





/*

GALLERY

*/

    /* Grid container with equal spacing */
    .thumb-container {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        overflow: hidden;
        background: white;
        padding: 10px;
        height: 140px;
        cursor: pointer;
    }

    /* Thumbnail images with white photo-style border & thin grey outline */
    .thumb-container img {
        max-width: 100%;
        max-height: 100%;
        height: auto;
        width: auto;
        display: block;
        background: white;
        padding: 4px;
        border: 1px solid grey;
    }

    /* Lightbox (fullscreen) */
    .lightbox {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: transparent;
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 1000;
    }

    /* Lightbox Content Wrapper */
    .lightbox-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        margin: auto; 
        background: transparent;
        box-shadow: none;
    }

    /* Image frame container with fixed border width */
    .image-frame {
        background: white;
        padding: 15px;
        box-shadow: 0 5px 35px rgba(0, 0, 0, 0.8);
        display: none;
        box-sizing: border-box;
        text-align: center;
    }

    /* Lightbox Image */
    .lightbox img {
        max-width: 100%;
        max-height: 65vh;
        display: inline-block;
        margin: 0;
        box-shadow: none;
        background: transparent;
        padding: 0;
        vertical-align: top;
    }

    /* Lightbox Caption - padding removed */
    .lightbox-caption {
        background: white;
        padding: 0;
        font-size: 14px;
        font-weight: bold;
        text-align: center;
        margin: 10px auto 0;
        box-sizing: border-box;
        min-width: 50px;
        display: block;
        box-shadow: none;
        border-top: none;
        width: 50%;
        max-width: 300px;
    }

    /* Spinner container - simplified without background */
    .spinner-container {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: none;
        z-index: 1001;
    }

    /* Grey spinner */
    .spinner {
        width: 50px;
        height: 50px;
        border: 5px solid rgba(100, 100, 100, 0.2);
        border-top: 5px solid #444;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

    /* Spinner animation */
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    /* Modified Navigation Arrows - simpler display */
    .nav-arrow {
        position: fixed;
        font-size: 18px;
        color: white;
        background: rgba(0, 0, 0, 0.5);
        width: 30px;
        height: 30px;
        line-height: 30px;
        text-align: center;
        border-radius: 50%;
        cursor: pointer;
        opacity: 0.7;
        transition: opacity 0.2s;
        z-index: 1002;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        transform: none;
        display: none;
    }

    .nav-arrow:hover {
        opacity: 1;
    }

    .nav-prev {
        left: 5px;
    }

    .nav-next {
        right: 5px;
    }

    /* Position arrows relative to the image frame */
    #lightbox .lightbox-content {
        position: relative;
    }

    /* Close button (X) - also adjusted to be proportional */
    .lightbox-close {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 18px;
        color: white;
        background: rgba(0, 0, 0, 0.5);
        width: 25px;
        height: 25px;
        line-height: 25px;
        text-align: center;
        border-radius: 50%;
        cursor: pointer;
        opacity: 0.7;
        transition: opacity 0.3s;
        z-index: 1002;
    }
