
.sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999999;
    background: var(--white);
    box-shadow: 0px -7px 25px 0 #0000001A;
    transition: all .7s;
    overflow: hidden;
}

.sticky-bar a::before {
    content: none;
}
.sticky-bar,
#footer {
    --heightStickyBar: 5rem;
}
.footer-visible .sticky-bar {
    position: static;
}
.sticky-bar .row {
    position: relative;
    align-items: center;
    height: var(--heightStickyBar);
}

.sticky-bar .content-col {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.sticky-bar .content-col :is(a, .first, .middle, .last, .middle-cta) {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    gap: var(--gap);
}
.sticky-bar .content-col a {
    font: inherit;
    color: inherit;
    text-decoration: none;
}
.sticky-bar .content-col p {
    font-size: 1.2rem;
    line-height: 1.5em;
    font-weight: 600;
}
.sticky-bar .content-col [class^="icon-"] {
    content: '';
}
.sticky-bar :is(.first, .middle)::after {
    content: '';
    width: 1px;
    height: 2.3rem;
    position: absolute;
    pointer-events: none;
    top: 50%;
    right: -18%;
    transform: translate(0, -50%);
    background: var(--gray);
}
.sticky-bar :is(.middle, .last) {
    flex: 0 1 25%;
}
.sticky-bar .first {
    color: var(--header-2);
    --gap: 1.2rem;
}
.sticky-bar .first img {
    width: 2.6rem;
    height: auto;
}
.sticky-bar .first p {
    font-size: 1.2rem;
    line-height: 2.6rem;
    font-weight: 500;
    letter-spacing: 0;
}
.sticky-bar .middle {
    color: var(--red);
    --gap: .5rem;
}
.sticky-bar .middle img {
    width: 1.1rem;
    height: auto;
}
.sticky-bar .middle .ai-badges {
    display: flex;
    align-items: center;
    gap: .3rem;
}
.sticky-bar .middle .ai-badges img {
    width: 1.4rem;
    height: 1.4rem;
    object-fit: contain;
}
.sticky-bar .last {
    color: var(--gray);
    --gap: .5rem;
}
.sticky-bar .last img {
    width: 1.1rem;
    height: auto;
}
.sticky-bar .last .icon-calendar::before {
    content: none;
}

.sticky-bar .back-to-top {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
    cursor: pointer;
}
.sticky-bar .back-to-top .icon-top {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background: no-repeat url('assets/icon-top.svg') center center;
    background-size: contain;
    pointer-events: none;
}


body:not(.footer-visible) #footer {
    margin-top: var(--heightStickyBar);
}

@media only screen
and (min-width : 768px) {
}
@media only screen
and (min-width : 0px)
and (max-width : 767px) {
    .sticky-bar,
    #footer {
        --heightStickyBar: 15.9rem;
    }
    .sticky-bar .content-col {
        row-gap: 2.3rem;
        justify-content: center;
    }
    .sticky-bar .content-col .first {
        padding-bottom: 2.3rem;
    }

    .sticky-bar .content-col a {
        padding-block: .5rem;
    }
    .sticky-bar .content-col p {
        font-size: 1.2rem;
        text-align: left;
        text-wrap: balance;
    }
    .sticky-bar .first p {
        font-size: 1.4rem;
        line-height: 1.6rem;
        font-weight: 600;
    }
    .sticky-bar .content-col :is(a, .first, .middle, .last, .middle-cta) {
        --gap: 1rem;
    }
    .sticky-bar :is(.first, .middle, .last) {
        padding-inline: 1.5rem;
    }
    .sticky-bar .first {
        flex: 0 1 100%;
        --gap: 1.5rem;
    }
    .sticky-bar .first img {
        width: 2.97rem;
        height: auto;
    }
    .sticky-bar :is(.middle, .last) {
        flex: 0 1 fit-content;
    }
    .sticky-bar .middle img,
    .sticky-bar .last img {
        width: 1.4rem;
        height: auto;
    }
    .sticky-bar .middle .ai-badges {
        gap: 1rem;
    }
    .sticky-bar .middle .ai-badges img {
        width: 2.2rem;
        height: 2.2rem;
    }
    .sticky-bar .middle {
        --gap: 1.2rem;
    }
    .sticky-bar .middle-cta {
        gap: .5rem;
    }
    /* mobile: horizontal divider under .first, vertical divider between .middle/.last instead of after .first */
    .sticky-bar :is(.first, .middle)::after {
        content: none;
    }
    .sticky-bar .first::after {
        content: '';
        left: 0;
        right: 0;
        bottom: -.2rem;
        top: auto;
        transform: none;
        width: auto;
        height: 1px;
    }
    .sticky-bar .middle::after {
        content: '';
        width: 1px;
        height: 3.3rem;
        position: absolute;
        pointer-events: none;
        top: 50%;
        right: 0;
        transform: translate(0, -50%);
        background: var(--gray);
    }
    .sticky-bar .back-to-top {
        display: none;
    }
}

body:has(.sticky-bar) :is(.sticky-bar, #cookie-notice, .intercom-lightweight-app-launcher) {
    transition: all .3s;
}
body:has(.sticky-bar):not(.footer-visible) #cookie-notice {
    bottom: 5rem;
}
@media only screen
and (min-width : 0px)
and (max-width : 767px) {
    body:has(.sticky-bar):not(.footer-visible) #cookie-notice {
        bottom: 7.5rem;
    }
    body:has(.sticky-bar):not(.footer-visible) .intercom-lightweight-app-launcher {
        bottom: 9rem;
    }
}

/* CUSTOM */
#wrapper:has(.academy-bottom) #sticky-bar {
    display: none;
}
