/* Lazy Loading Styles */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.lazy.loaded {
    opacity: 1;
}

/* Placeholder styles */
.lazy-placeholder {
    background-color: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.lazy-placeholder::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    from {
        left: -100%;
    }

    to {
        left: 100%;
    }
}

@media (min-width: 1024px) {
    .lg\:w-1\/2 {
        width: 50%;
    }
}