.quiqqer-tabsAdvanced-control {
    --_buttonBar-borderWidth: var(--qui-menu-controls-tabs-buttonBar-borderWidth, 1px);
    --_buttonBar-borderColor: var(--qui-menu-controls-tabs-buttonBar-borderColor, color-mix(in srgb, currentColor 12%, transparent));
    --_buttonBar-radius: var(--qui-menu-controls-tabs-buttonBar-radius, var(--qui-btn-border-radius, 0.5rem));
    --_tabular-borderWidth: var(--qui-menu-controls-tabs-tabular-borderWidth, 1px);
    --_tabular-borderColor: var(--qui-menu-controls-tabs-tabular-borderColor, color-mix(in srgb, currentColor 12%, transparent));
    --_tabular-radius: var(--qui-menu-controls-tabs-tabular-radius, var(--qui-btn-border-radius, 0.5rem));
    --_tabular-contentPadding: var(--qui-menu-controls-tabs-tabular-contentPadding, 2rem);

    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.quiqqer-tabsAdvanced-nav-inner,
.quiqqer-tabsAdvanced-content-inner {
    list-style: none;
    padding: 0;
}

.quiqqer-tabsAdvanced-nav-item,
.quiqqer-tabsAdvanced-content-item {
    margin: 0;
    padding: 0;
}

/*******/
/* nav */
/*******/
.quiqqer-tabsAdvanced-nav-inner {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    position: relative;
    margin: 0;
    gap: 1rem;
}

@media screen and (max-width: 767px) {
    .quiqqer-tabsAdvanced-nav-inner {
        overflow: scroll;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* Internet Explorer 10+ */
    }

    .quiqqer-tabsAdvanced-nav-inner::-webkit-scrollbar { /* WebKit */
        width: 0;
        height: 0;
    }
}

.quiqqer-tabsAdvanced-nav-inner--navFillSpace {
    min-width: 100%;
}

.quiqqer-tabsAdvanced-nav-inner--navFillSpace .quiqqer-tabsAdvanced-nav-item {
    flex: 1;
    justify-content: center;
}

.quiqqer-tabsAdvanced-nav-inner--navFillSpace .quiqqer-tabsAdvanced-nav-link {
    justify-content: center;
}

.quiqqer-tabsAdvanced-nav--center {
    justify-content: center;
    display: flex;
}

.quiqqer-tabsAdvanced-nav-link {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.quiqqer-tabsAdvanced-nav-linkContent {
    display: flex;
    gap: 0.75em;
    align-items: center;
}

.quiqqer-tabsAdvanced-nav-linkContent img {
    height: var(--_qui-menu-controls-tabs-navImgHeight, 20px);
    vertical-align: middle;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.quiqqer-tabsAdvanced-nav-linkContent .fa {
    display: block;
    font-size: var(--_qui-menu-controls-tabs-navImgHeight, 20px);
}

.quiqqer-tabsAdvanced-nav-linkLabel.navText__noWrap {
    white-space: nowrap;
}

/* progress bar */
.quiqqer-tabsAdvanced-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    border-radius: 2px;
    background-color: color-mix(in srgb, var(--qui-colors-body, rgb(0 0 0)) 8%, transparent); /* Track */
    overflow: hidden;
}

.quiqqer-tabsAdvanced-progress__bar {
    display: block;
    width: 0;
    height: 100%;
    background: var(--_qui-menu-controls-tabs-accentColor, currentColor);
}

@keyframes quiqqer-tab-progress {
    from { width: 0; }
    to   { width: 100%; }
}

/* aktive Animation, wird per JS als Klasse gesetzt */
.quiqqer-tabsAdvanced-progress--active .quiqqer-tabsAdvanced-progress__bar {
    animation-name: quiqqer-tab-progress;
    animation-duration: var(--progress-duration, 5000ms);
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    animation-play-state: var(--progress-state, running); /* running|paused */
}

.quiqqer-tabsAdvanced-nav-link--autoplayToggle {
    cursor: pointer;
}

.quiqqer-tabsAdvanced-nav-feedback {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    pointer-events: none;
    opacity: 0;
    color: var(--_qui-menu-controls-tabs-accentColor, currentColor);
    background: color-mix(in srgb, var(--qui-sheet-background, var(--qui-colors-background, rgb(255 255 255))) 94%, transparent);
    border: 1px solid color-mix(in srgb, var(--_qui-menu-controls-tabs-accentColor, currentColor) 28%, transparent);
    box-shadow: 0 0.15rem 0.4rem color-mix(in srgb, currentColor 12%, transparent);
    transform: translate3d(0, -0.15rem, 0) scale(0.85);
    transition: opacity 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.quiqqer-tabsAdvanced-nav-feedback .fa-play,
.quiqqer-tabsAdvanced-nav-feedback .fa-pause {
    display: none;
    font-size: 0.75rem;
    line-height: 1;
}

.quiqqer-tabsAdvanced-nav-feedback.is-play .fa-play,
.quiqqer-tabsAdvanced-nav-feedback.is-pause .fa-pause {
    display: block;
}

.quiqqer-tabsAdvanced-nav-feedback.is-pressed {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(0.92);
    box-shadow: 0 0.18rem 0.5rem color-mix(in srgb, currentColor 14%, transparent);
}

@media screen and (hover: hover) and (pointer: fine) {
    .active > .quiqqer-tabsAdvanced-nav-link--autoplayToggle:hover .quiqqer-tabsAdvanced-nav-feedback,
    .active > .quiqqer-tabsAdvanced-nav-link--autoplayToggle:focus-visible .quiqqer-tabsAdvanced-nav-feedback {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        box-shadow: 0 0.25rem 0.65rem color-mix(in srgb, currentColor 18%, transparent);
    }
}

/*************/
/* nav style */
/*************/
/* img left */
.navTabStyle__imgLeft.quiqqer-tabsAdvanced-nav-linkContent > picture {
    width: max-content;
    min-width: max-content;
}

/* img top */
.navTabStyle__imgTop.quiqqer-tabsAdvanced-nav-linkContent {
    flex-direction: column;
    gap: 0.25em;
}

.navTabStyle__imgTop.quiqqer-tabsAdvanced-nav-linkContent > picture {
    width: max-content;
    min-width: max-content;
    margin-inline: auto;
}

/***********/
/* content */
/***********/
.quiqqer-tabsAdvanced-content-itemWrapper {
    --min-image-container-width: 200px;
    display: grid;
    gap: var(--qui-spacing-xl, 2rem);
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
}

.quiqqer-tabsAdvanced-content-itemWrapper.no-image {
    gap: 0;
    grid-template-areas: "content";
}

@media screen and (min-width: 768px) {

    .quiqqer-tabsAdvanced-content-itemWrapper:not(.no-image).left {
        grid-template-areas: "image content";
        grid-template-columns: 1fr auto;
    }

    .quiqqer-tabsAdvanced-content-itemWrapper:not(.no-image).right {
        grid-template-areas: "content image";
        grid-template-columns: auto 1fr;
    }

    .quiqqer-tabsAdvanced-content-itemWrapper:not(.no-image).top {
        grid-template-areas: "image" "content";
        width: max-content;
        margin-inline: auto;
    }

    .quiqqer-tabsAdvanced-content-itemWrapper:not(.no-image).bottom {
        grid-template-areas: "content" "image";
        width: max-content;
        margin-inline: auto;
    }

    .quiqqer-tabsAdvanced-content-itemWrapper.top {
        width: max-content;
        margin-inline: auto;
    }

    .quiqqer-tabsAdvanced-content-itemWrapper.bottom {
        width: max-content;
        margin-inline: auto;
    }
}

.quiqqer-tabsAdvanced-content-image {
    grid-area: image;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quiqqer-tabsAdvanced-content-image-inner {
    min-width: max(var(--_qui-menu-controls-tabs-contentImgMinWidth, 200px), 100%);
    max-width: var(--_qui-menu-controls-tabs-contentImgMaxWidth, 400px);
}

.quiqqer-tabsAdvanced-content-image img {
    display: block;
}

.quiqqer-tabsAdvanced-content-body {
    grid-area: content;
    display: flex;
    align-items: var(--_qui-menu-controls-tabs-contentPos);
}

.quiqqer-tabsAdvanced-content-body-inner {
    max-width: var(--_qui-menu-controls-tabs-contentTextWidth, 600px);
    margin-inline: auto;
}

@media screen and (max-width: 767px) {
    .quiqqer-tabsAdvanced-content-itemWrapper {
        display: block;
    }

    .quiqqer-tabsAdvanced-content-image {
        margin-bottom: var(--qui-spacing-xl, 2rem);
    }

    .quiqqer-tabsAdvanced-content-image {
        text-align: center;
    }
}

/**
 * Layout: tabular
 */
.quiqqer-tabsAdvanced-control--tabular {
    border: var(--_tabular-borderWidth) solid var(--_tabular-borderColor);
    border-radius: var(--_tabular-radius);
    gap: 0;
    overflow: hidden;
}

.quiqqer-tabsAdvanced-control--tabular .quiqqer-tabsAdvanced-content-item {
    padding: var(--_tabular-contentPadding);
}
