.halo-grid {
    display: grid;
    grid-template-columns: repeat(3, 360px);
    justify-content: center;
    gap: 28px;
    width: 100%;
}

/* Card container */
.halo-card {
    background: #CB90B0;
    border: 1px solid rgba(111, 52, 85, 0.25);
    border-radius: 12px;
    overflow: hidden;
    padding-bottom: 6px;
    position: relative;
}


/* Video */
.halo-card video {
    width: 100%;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: contain; /* CHANGE THIS */
}

/* Text block */
.halo-info {
    padding: 14px;
}

/* Title */
.halo-info h3 {
    margin: 0 0 10px 0;
    color: #311725;
    font-size: 1.05rem;
}



/* Table styling */
.halo-info table {
    width: 100%;
    min-width: 0; /* IMPORTANT: allows shrinking properly */
    table-layout: fixed;  /* prevents weird overflow */
    border-collapse: collapse;
    background: #F7EEF3;
    border: 1px solid rgba(176, 83, 135, 0.4);
    border-radius: 8px;
    overflow: hidden;
    font-size: 0.85rem;
}

.halo-info td {
    padding: 6px 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(176, 83, 135, 0.15);
}

.halo-info tr:last-child td {
    border-bottom: none;
}

.halo-info td:first-child {
    color: #B05387;
}

.halo-info td:last-child {
    text-align: right;
    font-family: monospace;
}

.halo-info {
    padding: 14px 16px 18px;
}


/* Hover highlight */ 

.halo-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.halo-grid:hover .halo-card {
    opacity: 0.6;
}

.halo-grid .halo-card:hover {
    opacity: 1;
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

/* click to expand a single halo*/

.halo-card.expanded {
    grid-column: 1 / -1;
    z-index: 10;
}

.halo-card {
    transition: all 0.35s ease;
    cursor: pointer;
}



.halo-grid.dimmed .halo-card {
    opacity: 0.25;
}

.halo-grid.dimmed .halo-card.expanded {
    opacity: 1;
}
