.xsigns-gallery1 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20pt;
    overflow: hidden;
    justify-content: center;
    padding-top: 10pt;
    padding-bottom: 10pt;
}

.xsigns-gallery1 .xsigns-gallery1-item {
    width: 250px;
    height: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}
    
.xsigns-gallery1 .xsigns-gallery1-item:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    background: #f0f8ff;
}

.xsigns-gallery1 .xsigns-gallery1-item a.image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    width: 100%;
    overflow: hidden;
}

.xsigns-gallery1 .xsigns-gallery1-item img {
    max-height: 180px;
    width: auto;
    object-fit: contain;
}

.xsigns-gallery1 .xsigns-gallery1-item h3 {
    margin: 0;
    padding: 10px;
    text-align: center;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xsigns-gallery1 .xsigns-gallery1-item h3 a {
    text-decoration: none;
    color: inherit;
}

@media (max-width: 500px) {
    .xsigns-gallery1 .xsigns-gallery1-item {
        width: 40%;
    }
}
