.is24-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.is24-card {
    width: calc(33.333% - 20px);
    min-width: 300px;
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

@media (max-width: 432px) {
    .is24-card {
        width: 100%;
    }
}

.is24-card:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.is24-card-image img {
    width: 100%;
    height: auto;
    display: block;
}

.is24-card-info {
    padding: 1rem;
}

.popup-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    overflow: hidden;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    animation: fadeIn 0.3s ease-in-out;
    max-height: 90vh;
    overflow-y: auto;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    color: darkgray;
}

.popup-close:hover {
    background: none;
    color: black;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-10px);}
    to {opacity: 1; transform: translateY(0);}
}