/* Modern desktop top bar and mathematically seamless loop overrides. */
.abrtb-bar {
    --abrtb-shift: -600px;
    background-image:
        radial-gradient(circle at 16% -180%, rgba(255,255,255,.15), transparent 48%),
        linear-gradient(100deg, rgba(255,255,255,.025), transparent 42%, rgba(255,255,255,.035));
    border-bottom: 1px solid rgba(255,255,255,.13);
    box-shadow: 0 5px 18px rgba(5,18,34,.18);
}

.abrtb-integrated {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    z-index: 10020;
    width: 100%;
    border-radius: 0;
    margin-top: var(--abrtb-top-correction, 0px);
}

body.admin-bar .abrtb-integrated { top: auto; }
.abrtb-integrated + .gdp-signature-header { margin-top: 0; }

/* Keep the header logo artwork above the top-bar layer when they overlap. */
.elementor-widget-ab-clinic-header .gdp-signature-header,
.elementor-widget-ab-clinic-header .gdp-nav-shell,
.elementor-widget-ab-clinic-header .gdp-nav-inner {
    position: relative;
    z-index: 10025;
}

.elementor-widget-ab-clinic-header .gdp-sticky-brand,
.elementor-widget-ab-clinic-header .gdp-sticky-brand img,
.elementor-widget-ab-clinic-header .gdp-brand-logo {
    position: relative;
    z-index: 10030;
}

.abrtb-integrated::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
    pointer-events: none;
}

.abrtb-integrated .abrtb-ticker {
    mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 34px), transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 34px), transparent);
}

.abrtb-integrated .abrtb-right {
    border-left: 1px solid rgba(255,255,255,.16);
    box-shadow: -20px 0 30px rgba(8,27,49,.34), inset 1px 0 rgba(255,255,255,.035);
}

.abrtb-integrated .abrtb-info-link {
    position: relative;
    transition: color .24s ease, transform .24s ease;
}

.abrtb-integrated .abrtb-info-link:hover {
    color: #d7a94f;
    transform: translateY(-1px);
}

.abrtb-integrated .abrtb-info-icon {
    color: currentColor;
    transition: transform .24s ease;
}

.abrtb-integrated .abrtb-info-link:hover .abrtb-info-icon {
    transform: scale(1.08);
}

.abrtb-track {
    animation-name: abrtb-seamless-scroll;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes abrtb-seamless-scroll {
    from { transform: translate3d(0,0,0); }
    to { transform: translate3d(var(--abrtb-shift),0,0); }
}

@media (max-width: 1024px) {
    .elementor-widget-ab-clinic-header .abrtb-integrated { display: none; }
    .abrtb-integrated + .gdp-signature-header { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .abrtb-track { animation-play-state: paused; }
}
