.c2-masonry {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 250px;
    /* Tinggi dasar kotak di website nyata */
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.c2-item {
    border-radius: 20px;
    padding: 30px;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid var(--t-border);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.c2-item:hover {
    transform: scale(0.98);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.15);
}

/* Modifier Warna Background */
.bg-surface {
    background: var(--t-surface);
    color: var(--t-text);
}

.bg-accent {
    background: var(--t-accent);
    color: var(--t-surface);
}

/* Modifier Tinggi Kotak (Masonry Effect) */
.c2-item.tall {
    grid-row: span 2;
}

.c2-item.short {
    grid-row: span 1;
}

/* Tambahan Efek Gambar Transparan (Biar nggak cuma warna polos) */
.c2-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    /* Gambar dibikin pudar biar tulisan/warna pink tetap dominan */
    transition: opacity 0.4s;
    z-index: 1;
}

.c2-item:hover img {
    opacity: 0.4;
}

.c2-item span {
    position: relative;
    z-index: 2;
    /* Tulisan di atas gambar */
}

/* Responsif Masonry */
@media (max-width: 768px) {
    .c2-masonry {
        padding: 20px;
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
}