/* ── Three.js Band element (threejs_band) ───────────────────────────────────── */

.sm-band-wrap {
    position: relative;
    width: 100%;
    overflow: visible;
}

/* Loading state: spinner visible, cards/logos hidden until JS applies first layout */
.sm-band-loading {
    min-height: 80px;
}
.sm-band-loading .sm-band-card-wrap,
.sm-band-loading .sm-band-ornament {
    opacity: 0;
}
.sm-band-spinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10;
}
.sm-band-loading .sm-band-spinner {
    display: block;
}

/* Cards: JS sets transform (translate) each frame; position must be absolute */
.sm-band-card-wrap {
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    transition: opacity 0.25s ease;
}


.sm-band-card {
    width: 100%;
}

.sm-band-card-img {
    width: 100%;
    overflow: hidden;
}

.sm-band-card-img img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* Panel link overlay */
.sm-band-linked {
    position: relative;
}
.sm-band-card-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.sm-band-linked .uk-card-title a,
.sm-band-linked .sm-band-card-img a {
    position: relative;
    z-index: 2;
}

.sm-band-card-content {
    font-size: 0.78rem;
    line-height: 1.45;
}

/* Logo ornaments: JS sets transform + width/height; position absolute */
.sm-band-ornament {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.sm-band-ornament img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Vertical divider between adjacent band cards */
.sm-band-divider {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    pointer-events: none;
    z-index: 2;
    background: rgba(0, 0, 0, 0.20);
}

