.embla {
    position: relative
}

.embla__viewport {
    overflow: hidden;
    max-width: 100%;
}

.embla__container {
    display: flex;
    touch-action: pan-y pinch-zoom
}

.embla__slide {
    min-width: 0
}

.embla__dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px
}

.embla__dot {
    -webkit-tap-highlight-color: rgba(var(--text-high-contrast-rgb-value),.5);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent;
    touch-action: manipulation;
    display: inline-flex;
    text-decoration: none;
    cursor: pointer;
    border: 0;
    padding: 0;
    margin: 0;
    width: 16px;
    height: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background-color: #909090
}

.embla__dot--selected {
    background-color: var(--color-primary)
}

.embla .embla__button {
    -webkit-tap-highlight-color: var(--color-background);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent;
    touch-action: manipulation;
    display: inline-flex;
    text-decoration: none;
    cursor: pointer;
    border: 0;
    padding: 0;
    margin: 0;
    width: 2.25rem;
    height: 2.25rem;
    z-index: 1;
    border-radius: 50%;
    color: var(--color-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-background);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity .2s ease-out
}

.embla__button {
    opacity: 0
}

.embla:hover .embla__button:not(:disabled) {
    opacity: 1
}

.embla:hover .embla__button:disabled {
    opacity: .5;
    cursor: not-allowed
}

.embla__button--prev {
    left: var(--embla-button-offset, 12px )
}

.embla__button--next {
    right: var(--embla-button-offset, 12px )
}

.embla-thumbs .embla__slide {
    border-radius: var(--rounded);
    border: 2px solid var(--color-neutral-50);
    overflow: hidden
}

.embla-thumbs .embla__slide.embla-thumbs__slide--selected {
    border-color: var(--color-primary)
}

.embla__buttons:has([disabled]+[disabled]) {
    display: none
}