.ppro-y26-c-top-bar {
    display: block;
    position: relative;
    z-index: 60;
    border-bottom: 0.0625rem solid currentColor;
}

.ppro-y26-c-top-bar[hidden] {
    display: none;
}

.ppro-y26-c-top-bar--light {
    background: var(--ppro-color-paper);
}

.ppro-y26-c-top-bar--dark {
    background: var(--ppro-foreground);
    border-bottom: 0;
}

.ppro-y26-c-top-bar .ppro-y26-c-container__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-block: 0.5rem;
}

.ppro-y26-c-top-bar__wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    padding-inline: 2rem;
}

.ppro-y26-c-top-bar__message {
    font-family: var(--ppro-font-body);
    font-size: 0.875rem;
    font-weight: var(--ppro-font-weight-body);
    letter-spacing: var(--ppro-tracking-tight);
    line-height: 1.375;
    text-align: center;
}

.ppro-y26-c-top-bar__cta {
    display: inline-flex;
}

.ppro-y26-c-top-bar__cta .ppro-y26-c-button {
    height: 2.25rem;
    padding-inline: 1rem;
    font-size: 0.875rem;
}

.ppro-y26-c-top-bar__close {
    display: flex;
    position: absolute;
    top: 50%;
    right: var(--ppro-container-padding-x, 1.5rem);
    width: 1.5rem;
    height: 1.5rem;
    margin-top: -0.75rem;
    padding: 0;
    color: inherit;
    background: none;
    border: 0;
    transition: opacity 0.15s ease;
}

.ppro-y26-c-top-bar__close:hover {
    opacity: 0.5;
}

.ppro-y26-c-top-bar__close-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin: auto;
}

@media (max-width: 767px) {
    .ppro-y26-c-top-bar .ppro-y26-c-container__inner {
        justify-content: flex-start;
        padding-right: 2rem;
    }

    .ppro-y26-c-top-bar__wrapper {
        justify-content: flex-start;
        padding-inline: 0;
    }

    .ppro-y26-c-top-bar__message {
        text-align: left;
    }

    .ppro-y26-c-top-bar__close {
        right: var(--ppro-container-padding-x-mobile, 1rem);
    }
}
