.album-slider-block {
    /* Do not set width:100% — it locks alignwide/alignfull to the content
       column even when the theme sets max-width + breakout margins. */
    max-width: 100%;
    box-sizing: border-box;
    user-select: none;
}
/* Theme handles .alignwide / .alignfull margins and max-width. */
.album-slider-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
}
.album-strip-wrap {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    cursor: grab;
    touch-action: pan-y;
    box-sizing: border-box;
}
.album-strip-wrap.is-dragging {
    cursor: grabbing;
}
.album-strip {
    display: flex;
    width: max-content;
    min-width: 100%;
    align-items: flex-start;
    /* Position with margin-left — not transform. */
    transition: margin-left 0.4s ease;
    box-sizing: border-box;
}
.album-strip-spacer {
    flex: 0 0 auto;
    flex-shrink: 0;
    align-self: stretch;
    pointer-events: none;
}
.album-strip-track {
    display: flex;
    /* gap overridden by inline style from groupGap attribute (default 24) */
    gap: 24px;
    align-items: flex-start;
    flex: 0 0 auto;
    min-width: 0;
}
.album-group {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}
.album-group-label {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 2px;
}
.album-group-slides {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.album-slide {
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    overflow: hidden;
    background: #222;
    position: relative;
}
.album-slide > * {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
}

/* Natural height: width from inline style, height from shortcode content */
.album-slider-block--natural .album-slide {
    aspect-ratio: auto;
    height: auto;
    overflow: hidden;
    background: transparent;
}
.album-slider-block--natural .album-slide > * {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
}

.album-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s;
    padding: 0;
    line-height: 1;
}
.album-arrow:hover { background: rgba(0,0,0,0.75); }
.album-arrow.prev  { left: -40px; }
.album-arrow.next  { right: -40px; }
/* Only tuck arrows inside on full-bleed — outside would sit off-screen. */
.album-slider-block.alignfull .album-arrow.prev  { left: 8px; }
.album-slider-block.alignfull .album-arrow.next  { right: 8px; }
.album-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}
.album-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #aaa;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}
.album-dot.active { background: #000; }
