.elementor-42 .elementor-element.elementor-element-7efc68e{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-42 .elementor-element.elementor-element-cac85c8{--display:flex;}.elementor-42 .elementor-element.elementor-element-0b11c9a{margin:-38px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}/* Start custom CSS for html, class: .elementor-element-0b11c9a *//* Widget Container Scoping */
.sh-gallery-widget {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    padding: 20px 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.sh-widget-header h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.sh-spacer {
    height: 15px;
}

/* The Grid Layout */
.sh-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 15px;
    margin-bottom: 15px;
}

.sh-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Feature Image Span */
.sh-featured {
    grid-column: span 2;
    grid-row: span 2;
}

.sh-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* Hover & Overlay Effects */
.sh-gallery-item:hover img {
    transform: scale(1.1);
}

.sh-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 12px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.sh-gallery-item:hover .sh-overlay {
    opacity: 1;
}

/* Responsive Tablet/Mobile Adjustment */
@media (max-width: 768px) {
    .sh-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }
    .sh-featured {
        grid-column: span 2;
        grid-row: span 1;
    }
}/* End custom CSS */