/* Gallery Section Block Styles */

.gallery-section {
    padding: 60px 0;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.gallery-section .container-1230 {
    width: 100%;
}

.gallery-description {
    margin-top: 16px;
    max-width: 800px;
}

.gallery-description p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #5f6368;
}

.gallery-wrapper {
    position: relative;
    margin-top: 40px;
}

.gallery-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    padding: 10px 0;
    -webkit-user-select: none;
    user-select: none;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-track.gallery-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 200px;
    text-align: center;
}

.gallery-image-wrapper {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f0f0;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover .gallery-image-wrapper {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    /* height: 100%; */
    height: auto;
    object-fit: cover;
    pointer-events: none;
}

.gallery-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-name {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 700;
    color: #202124;
    line-height: 1.3;
}

.gallery-position {
    margin: 0;
    font-size: 14px;
    color: #5f6368;
    line-height: 1.4;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    z-index: 10;
}

.gallery-arrow:hover {
    background: #ffb703;
    border-color: #ffb703;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 183, 3, 0.3);
}

.gallery-arrow-left {
    left: -24px;
}

.gallery-arrow-right {
    right: -24px;
}

/* Responsive Design */
@media screen and (max-width: 991px) {
    .gallery-section {
        padding: 50px 30px;
    }

    .gallery-wrapper {
        margin-top: 30px;
    }

    .gallery-arrow-left {
        left: -15px;
    }

    .gallery-arrow-right {
        right: -15px;
    }

    .gallery-arrow {
        width: 40px;
        height: 40px;
    }
}

@media screen and (max-width: 767px) {
    .gallery-section {
        padding: 40px 0;
        overflow: visible;
    }

    .gallery-section .container-1230 {
        overflow: hidden;
    }

    .gallery-wrapper {
        width: 100%;
        padding-bottom: 60px;
        overflow: visible;
    }

    .gallery-track {
        gap: 0;
        padding: 10px 20px;
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
    }

    .gallery-item {
        width: 160px;
    }

    .gallery-image-wrapper {
        width: 120px;
        height: 120px;
    }

    .gallery-name {
        font-size: 14px;
    }

    .gallery-position {
        font-size: 13px;
    }

    .gallery-arrow {
        position: absolute;
        top: auto;
        bottom: 0;
        transform: none;
        width: 44px;
        height: 44px;
    }

    .gallery-arrow-left {
        left: calc(50% - 52px);
    }

    .gallery-arrow-right {
        right: calc(50% - 52px);
    }
}
