.gallery-demo {
    display: grid;
    gap: 10px;
    margin: 20px 0;
}

.gallery-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    padding: 20px;
    color: white;
    text-align: center;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

@media (orientation: portrait) {
    .gallery-demo {
        grid-template-columns: 1fr 1fr;
    }
}

@media (orientation: landscape) {
    .gallery-demo {
        grid-template-columns: repeat(4, 1fr);
    }
}