:root {
    --hxl-base: 280px;
    --hxl-expanded: 280px;
    --hxl-bar-h: clamp(56px, 21.333vw, 100px);
}

@media (min-width: 768px) {
    :root {
        --hxl-base: max(250px, 16.875vw);
        --hxl-expanded: max(250px, 39.375vw);
        --hxl-bar-h: max(56px, 5.625vw);
    }
}

.sg-hxl {
    position: relative;
    z-index: 900;
    height: var(--hxl-base);
    background: var(--sg-hxl-neutral, #ededed);
}

.sg-hxl__slot {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    line-height: 0;
}

/* Centrado com transform para o criativo se esticar à faixa sem layout shift. */
.sg-hxl__slot > * {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
