.chm-grid {
    display: grid;
    gap: 20px;
    width: 100%;
}

.chm-card {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.chm-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
    pointer-events: none;
}

.chm-main-link {
    position: relative;
    z-index: 2;
    text-decoration: none;
    width: 100%;
}

.chm-card-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

/* Slide in left side menu */
.chm-menu {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 65%;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
    display: flex;
    align-items: center;
    padding: 20px;
}

.chm-card:hover .chm-menu {
    transform: translateX(0);
}

.chm-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.chm-menu-link {
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.chm-menu-link:hover {
    transform: translateX(5px);
}
